Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver

2005-11-07 Thread Gerardo Lisboa
Hi,

Have you a separate boot partition using a ext2 fs?

I found that to be the best way to boot using yaboot.

I don't use it mounted on boot time but it is on fstab as /boot.

The root fs is then anything you compiled statically on the kernel (or
the initrd supports).

Best luck.
G.

2005/11/7, Charles Trois [EMAIL PROTECTED]:
 Michael Hanselmann a écrit :
 
  You should set CONFIG_BLK_DEV_IDEDMA_PCI, see drivers/ide/ide-dma.c.
 
 Thanks. I did that and the kernel compiled without trouble, but, at
 boot, I still get the error cannot open root device. However, there is
   a difference: whereas the message said unknown-block(0,0), it now
 says  unknown-block(3,15). So it would seem that the device numbers
 have changed.

 The result is the same, whether config BLK_DEV_IDE_PMAC_ATA100FIRST is
 on or not.

 I take the liberty to attach a copy of my .config and yaboot.conf files
 for your inspection.

 Charles


 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12-gentoo-r6
 # Mon Nov  7 12:08:15 2005
 #
 CONFIG_MMU=y
 CONFIG_GENERIC_HARDIRQS=y
 CONFIG_RWSEM_XCHGADD_ALGORITHM=y
 CONFIG_GENERIC_CALIBRATE_DELAY=y
 CONFIG_HAVE_DEC_LOCK=y
 CONFIG_PPC=y
 CONFIG_PPC32=y
 CONFIG_GENERIC_NVRAM=y
 CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y

 #
 # Code maturity level options
 #
 CONFIG_EXPERIMENTAL=y
 CONFIG_CLEAN_COMPILE=y
 CONFIG_BROKEN_ON_SMP=y
 CONFIG_INIT_ENV_ARG_LIMIT=32

 #
 # General setup
 #
 CONFIG_LOCALVERSION=
 CONFIG_SWAP=y
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_BSD_PROCESS_ACCT=y
 # CONFIG_BSD_PROCESS_ACCT_V3 is not set
 CONFIG_SYSCTL=y
 # CONFIG_AUDIT is not set
 CONFIG_HOTPLUG=y
 CONFIG_KOBJECT_UEVENT=y
 CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
 # CONFIG_EMBEDDED is not set
 CONFIG_KALLSYMS=y
 # CONFIG_KALLSYMS_EXTRA_PASS is not set
 CONFIG_PRINTK=y
 CONFIG_BUG=y
 CONFIG_BASE_FULL=y
 CONFIG_FUTEX=y
 CONFIG_EPOLL=y
 CONFIG_SHMEM=y
 CONFIG_CC_ALIGN_FUNCTIONS=0
 CONFIG_CC_ALIGN_LABELS=0
 CONFIG_CC_ALIGN_LOOPS=0
 CONFIG_CC_ALIGN_JUMPS=0
 # CONFIG_TINY_SHMEM is not set
 CONFIG_BASE_SMALL=0

 #
 # Loadable module support
 #
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y
 # CONFIG_MODULE_FORCE_UNLOAD is not set
 CONFIG_OBSOLETE_MODPARM=y
 # CONFIG_MODVERSIONS is not set
 # CONFIG_MODULE_SRCVERSION_ALL is not set
 CONFIG_KMOD=y

 #
 # Processor
 #
 CONFIG_6xx=y
 # CONFIG_40x is not set
 # CONFIG_44x is not set
 # CONFIG_POWER3 is not set
 # CONFIG_POWER4 is not set
 # CONFIG_8xx is not set
 # CONFIG_E500 is not set
 CONFIG_PPC_FPU=y
 CONFIG_ALTIVEC=y
 # CONFIG_TAU is not set
 # CONFIG_CPU_FREQ is not set
 # CONFIG_PPC601_SYNC_FIX is not set
 # CONFIG_PM is not set
 CONFIG_PPC_STD_MMU=y

 #
 # Platform options
 #
 CONFIG_PPC_MULTIPLATFORM=y
 # CONFIG_APUS is not set
 # CONFIG_KATANA is not set
 # CONFIG_WILLOW is not set
 # CONFIG_CPCI690 is not set
 # CONFIG_PCORE is not set
 # CONFIG_POWERPMC250 is not set
 # CONFIG_CHESTNUT is not set
 # CONFIG_SPRUCE is not set
 # CONFIG_HDPU is not set
 # CONFIG_EV64260 is not set
 # CONFIG_LOPEC is not set
 # CONFIG_MCPN765 is not set
 # CONFIG_MVME5100 is not set
 # CONFIG_PPLUS is not set
 # CONFIG_PRPMC750 is not set
 # CONFIG_PRPMC800 is not set
 # CONFIG_SANDPOINT is not set
 # CONFIG_RADSTONE_PPC7D is not set
 # CONFIG_ADIR is not set
 # CONFIG_K2 is not set
 # CONFIG_PAL4 is not set
 # CONFIG_GEMINI is not set
 # CONFIG_EST8260 is not set
 # CONFIG_SBC82xx is not set
 # CONFIG_SBS8260 is not set
 # CONFIG_RPX8260 is not set
 # CONFIG_TQM8260 is not set
 # CONFIG_ADS8272 is not set
 # CONFIG_PQ2FADS is not set
 # CONFIG_LITE5200 is not set
 # CONFIG_MPC834x_SYS is not set
 CONFIG_PPC_CHRP=y
 CONFIG_PPC_PMAC=y
 CONFIG_PPC_PREP=y
 CONFIG_PPC_OF=y
 CONFIG_PPCBUG_NVRAM=y
 # CONFIG_SMP is not set
 # CONFIG_PREEMPT is not set
 # CONFIG_HIGHMEM is not set
 CONFIG_BINFMT_ELF=y
 CONFIG_BINFMT_MISC=y
 CONFIG_PROC_DEVICETREE=y
 # CONFIG_PREP_RESIDUAL is not set
 # CONFIG_CMDLINE_BOOL is not set
 CONFIG_ISA_DMA_API=y

 #
 # Bus options
 #
 # CONFIG_ISA is not set
 CONFIG_GENERIC_ISA_DMA=y
 CONFIG_PCI=y
 CONFIG_PCI_DOMAINS=y
 # CONFIG_PCI_LEGACY_PROC is not set
 # CONFIG_PCI_NAMES is not set

 #
 # PCCARD (PCMCIA/CardBus) support
 #
 # CONFIG_PCCARD is not set

 #
 # Advanced setup
 #
 # CONFIG_ADVANCED_OPTIONS is not set

 #
 # Default settings for advanced configuration options are used
 #
 CONFIG_HIGHMEM_START=0xfe00
 CONFIG_LOWMEM_SIZE=0x3000
 CONFIG_KERNEL_START=0xc000
 CONFIG_TASK_SIZE=0x8000
 CONFIG_BOOT_LOAD=0x0080

 #
 # Device Drivers
 #

 #
 # Generic Driver Options
 #
 CONFIG_STANDALONE=y
 CONFIG_PREVENT_FIRMWARE_BUILD=y
 CONFIG_FW_LOADER=y

 #
 # Memory Technology Devices (MTD)
 #
 # CONFIG_MTD is not set

 #
 # Parallel port support
 #
 # CONFIG_PARPORT is not set

 #
 # Plug and Play support
 #

 #
 # Block devices
 #
 CONFIG_BLK_DEV_FD=y
 # CONFIG_MAC_FLOPPY is not set
 # CONFIG_BLK_CPQ_DA is not set
 # CONFIG_BLK_CPQ_CISS_DA is not set
 # CONFIG_BLK_DEV_DAC960 is not set
 # CONFIG_BLK_DEV_UMEM is not set
 

Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver

2005-11-07 Thread Charles Trois

Gerardo Lisboa a écrit :


Hi,

Have you a separate boot partition using a ext2 fs?


No. The opinions that I read so far are rather against it, so that I did 
 not plan to use one.


Thanks all the same for your suggestion; I shall keep it in mind, just 
in case.


Cheers.

Charles


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



Re: [gentoo-user] About sed

2005-11-07 Thread Alexander Skwar
Rafael Barreto wrote:
 Hi,
 
 I'm learning about the use of the sed command and I have some questions.
 I'm trying to read in /etc/conf.d/clock the CLOCK variable with:
 
 sed '/^CLOCK=*$/p' /etc/conf.d/clock
 
 This command, in principe, must print in screen the line that contains
 CLOCK= in the begin, contains anything between double quotes and ends.

No, that's not what it does. It matches CLOCK at beginning
of line (^) followed by = followed by any number of  followed
by another , which is the last character of the line.

You forgot the . before the *.

 Other thing... if i put:
 
 sed '/^CLOCK=*/p' /etc/conf.d/clock
 
 the return will be anything that contains CLOCK. Why?

No, it will return all lines, that start with CLOCK, followed
by any numbers of =. You again missed the . before the *.

 Thanks a lot and sorry by my english...

No problem at all, but please do not send HTML junk to
the list. That's not so much excusable (well, that's of
course an exaggeration by me...).

Alexander Skwar
-- 
Men of quality are not afraid of women for equality.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Emerge Problem

2005-11-07 Thread Gentoo Voyager
Dear All,

I'm very new to Gentoo.When i emerge, it will not functioning, also there is no any reply longtime, while this proble, even i can't Ctrl+C. Please help me on this matter..
Thanks..
-- Try tobe a Buddhist..!! 


Re: [gentoo-user] Visited web sites

2005-11-07 Thread Nick Rout
On Sat, 5 Nov 2005 20:40:02 -0800
Mark Knecht [EMAIL PROTECTED] wrote:

 On 11/5/05, Nick Rout [EMAIL PROTECTED] wrote:
  On Sat, 5 Nov 2005 19:48:04 -0800
  Mark Knecht [EMAIL PROTECTED] wrote:
 
   On 11/5/05, gentuxx [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
   
Mark Knecht wrote:
   
Hi,
 My wife is asking if there is an easy way to keep a list of all web
sites visited on a specific computer in the house. I don't know about
such stuff. Is there any way to do that for either Mozilla or Firefox?

Thanks,
Mark

It would depend on how your home network is set up.  A squid proxy
could work for you.  What are you trying to accomplish?
   
   Thanks. I'll look into squid. I guess with squid all of that machine's
   requests go to this machine and then it forwards stuff on, keeping a
   record? Is that the basic idea?
  
   If so, does that mean that all traffic for the machine in question
   actually does through the squid machine? If so that might mean too
   much wireless traffic the way we are set up.
 
  yes thats the point of squid it is a proxy.
 
 OK, but that's like using the word in the definition to a guy who's
 never used a proxy. ;-)
 
 I'm still unclear though, and I'm sure I'll find this out either
 through reading or use. do all packets for the machine using the proxy
 go through the proxy? Or is it more like a DNS server where just the
 URL's go through the proxy to figure out what to do?
 
 Right now the machine under observation is on one wireless leg. The
 one machine that's on all the time is on anothe wireless leg. Neither
 is directly tied to the cable modem. If the traffic pattern looks like
 
 M_OBSERVE - router - M_SQUID - router - Internet - router -
 M_SQUID - router - M_OBSERVE

I use ipcop as my internet gateway/router, so all traffic goes through
it, and thats where I run squid. ipcop does it all for you, and you
might be interested in the copplus addon or the squidguard addon from
http://firewalladdons.sourceforge.net/

 
 The I created a lot of extra wireless traffic, especially since the
 machine being observed seems to like to watch a lot of gaming videos.
 If it's just addresses, then no big deal. If it's the whole data
 stream then it's not going to work well.
 
 On the other hand I have a MythTV frontend that is not always turned
 on but could be, I suppose, which is on the router, as are a few of my
 audio machines. I'm loath to start putting this stuff on machines in
 my studio
 
 
 
 
  
   Or is it just the addresses that are proxied?
  
   As for purpose, as I said earlier my wife wants to know all web sites
   that a certain computer on our network visits over time.
 
  trouble with the kids?
 
 :-)
 
 Thanks,
 Mark
 
 -- 
 gentoo-user@gentoo.org mailing list
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr/local/portage does not seem to have a valid PORTDIR structure.

2005-11-07 Thread Nagatoro

Neil Bothwick wrote:

On Sun, 6 Nov 2005 15:01:27 -0300, Norberto Bensa wrote:



I've found the problem. Portage doesn't like packge-0.0.1beta. Instead
you must name it like package-0.0.1_beta. Now I need to do some magic
inside the ebuild to s/_// 



Something along the lines of
 
My_P=$(P/beta/_beta}


and use ${My_P} instead of ${P} throughout the ebuild.




Or better look at
http://dev.gentoo.org/~plasmaroo/devmanual/ebuild-writing/

since _beta is a recogniced suffix there should be built in methods to 
deal with it.


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



Re: [gentoo-user] cups printing error

2005-11-07 Thread Qv6
On Monday 31 October 2005 06:43 am, brullo nulla wrote:
 problem 1: can no longer access my block devices from Konqueror. From

  Konqueror I get a Protocol not supported error when I click on
  the devices tab. So I can't access my usb disk or even view my
  partitions from Konqueror.

 It seems you lack the correct kioslaves. When you emerged the split
 ebuilds, what did you emerge?


This is an aspect of Gentoo that I don't understand very well. the 
various kioslaves block other packages and vice-versa. For example, 
kdepim blocks kdepim-kioslaves, and kdebase blocks kdebase-kioslaves. 
Same goes for kdemultimedia and kdemultimedia-kioslaves.
 
As a test, I unmerged kdepim and emerged kdepim-kioslaves and now my 
kmail is messed up. Thing is I cannot emerge both at the same time.

Any ideas?

TIA

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge Problem

2005-11-07 Thread Heinz Sporn
Am Montag, den 07.11.2005, 14:03 +0600 schrieb Gentoo Voyager:
 Dear All,
  
 I'm very new to Gentoo.When i emerge, it will not functioning, also
 there is no any reply longtime, while this proble, even i can't Ctrl
 +C. Please help me on this matter..
 

I'd be glad to help you if I knew a little more about your actual
problem.

Has your machine already been installed or are you in the middle of an
installation stage?
Do you have internet access at all?
Are you talking about an emerge --sync or about emerging an application?

etc. etc.

 Thanks..
 
 -- 
 Try to  be a Buddhist..!! 
-- 
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile:  ++43 (0)699 / 127 827 07
Email:   [EMAIL PROTECTED]
 [EMAIL PROTECTED]
Website: http://www.sporn-it.com
Snail:   Steyrer Str. 20
 A-4540 Bad Hall
 Austria / Europe

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems with mysql 4.1 upgrade

2005-11-07 Thread Catalin Trifu




 Hi,

 What does the mysql log say ? /var/lib/mysql/host.err

Catalin


Kevin Philp wrote:

  Last week I upgraded to mysql 4.1.14. I carefully followed every line
of the upgrade guide inlcuding the revdep-rebuild and at the end I had
a lovely new mysql 4.1 and all my databases had imported with no
problems, phpmyadmin also worked fine. Nowabout a week later I
can't start mysql:

/etc/init.d/mysql start - says mysql has already started but it hasn't
(ps aux | grep -i my* shows nothing)

mysql shows
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)

I have checked permissions on var/run/mysqld as recommended in another
post and they are correct. I am running out of ideasanyone any
further ideas??

Thanks

Kevin.

  





[gentoo-user] Re: Problems with mysql 4.1 upgrade

2005-11-07 Thread Remy Blank
Kevin Philp wrote:
 /etc/init.d/mysql start - says mysql has already started but it hasn't
 (ps aux | grep -i my* shows nothing)

If you are sure mysql isn't started, try:

/etc/init.d/mysql zap

Then start it again:

/etc/init.d/mysql start

BTW, this is not mysql-specific. If a service crashes for any reason,
the initscript framework may think it is still running (e.g. if it
didn't clean up its pid file). zap cleans that up, so that it can be
started again.

HTH.
-- Remy


Remove underscore and suffix in reply address for a timely response.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems with mysql 4.1 upgrade

2005-11-07 Thread Kevin Philp
I don't seem to have the log file you mention but this is in the
mysqld.err file.

/var/log/mysql/mysqld.err
InnoDB: Error: log file ./ib_logfile0 is of different size 0 8388608 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
051107  9:13:17 [ERROR] Can't init databases
051107  9:13:17 [ERROR] Aborting

I did read that innodb was a use flag (its not in my make.conf) and
emerge -pv mysql doesn't show it up.

On 07/11/05, Catalin Trifu [EMAIL PROTECTED] wrote:
  Hi,

  What does the mysql log say ? /var/lib/mysql/host.err

  Catalin



  Kevin Philp wrote:
  Last week I upgraded to mysql 4.1.14. I carefully followed every line
 of the upgrade guide inlcuding the revdep-rebuild and at the end I had
 a lovely new mysql 4.1 and all my databases had imported with no
 problems, phpmyadmin also worked fine. Nowabout a week later I
 can't start mysql:

 /etc/init.d/mysql start - says mysql has already started but it hasn't
 (ps aux | grep -i my* shows nothing)

 mysql shows
 ERROR 2002 (HY000): Can't connect to local MySQL server through socket
 '/var/run/mysqld/mysqld.sock' (2)

 I have checked permissions on var/run/mysqld as recommended in another
 post and they are correct. I am running out of ideasanyone any
 further ideas??

 Thanks

 Kevin.




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems with mysql 4.1 upgrade

2005-11-07 Thread Kevin Philp
I edited the my.cnf file and changed

innodb_log_file_size= 5M

to

innodb_log_file_size= 8M

and now it works again.

Kevin.


On 07/11/05, Kevin Philp [EMAIL PROTECTED] wrote:
 I don't seem to have the log file you mention but this is in the
 mysqld.err file.

 /var/log/mysql/mysqld.err
 InnoDB: Error: log file ./ib_logfile0 is of different size 0 8388608 bytes
 InnoDB: than specified in the .cnf file 0 5242880 bytes!
 051107  9:13:17 [ERROR] Can't init databases
 051107  9:13:17 [ERROR] Aborting

 I did read that innodb was a use flag (its not in my make.conf) and
 emerge -pv mysql doesn't show it up.

 On 07/11/05, Catalin Trifu [EMAIL PROTECTED] wrote:
   Hi,
 
   What does the mysql log say ? /var/lib/mysql/host.err
 
   Catalin
 
 
 
   Kevin Philp wrote:
   Last week I upgraded to mysql 4.1.14. I carefully followed every line
  of the upgrade guide inlcuding the revdep-rebuild and at the end I had
  a lovely new mysql 4.1 and all my databases had imported with no
  problems, phpmyadmin also worked fine. Nowabout a week later I
  can't start mysql:
 
  /etc/init.d/mysql start - says mysql has already started but it hasn't
  (ps aux | grep -i my* shows nothing)
 
  mysql shows
  ERROR 2002 (HY000): Can't connect to local MySQL server through socket
  '/var/run/mysqld/mysqld.sock' (2)
 
  I have checked permissions on var/run/mysqld as recommended in another
  post and they are correct. I am running out of ideasanyone any
  further ideas??
 
  Thanks
 
  Kevin.
 
 
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems with mysql 4.1 upgrade

2005-11-07 Thread Catalin Trifu




 Hi,

 The default log size changed between 4.0 and 4.1 and when u upgraded
the /etc/mysql/my.cnf was overwriten.
 One solution would be to either remove the logs from /var/lib/mysql
and restart the
server and let mysql rebuild the log files.
 Second is to edit the /etc/mysql/my.cnf and make the log size 8M
for innodb (innodb_log_file_size)
 InnoDB is no longer a use flag, it is compiled by default.
 If you don't want to use innodb engine you can tell mysql in the
conf file to skip_innodb.
 In case it still doesn't want to start, check the error log again.

Catalin

Kevin Philp wrote:

  I don't seem to have the log file you mention but this is in the
mysqld.err file.

/var/log/mysql/mysqld.err
InnoDB: Error: log file ./ib_logfile0 is of different size 0 8388608 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
051107  9:13:17 [ERROR] Can't init databases
051107  9:13:17 [ERROR] Aborting

I did read that innodb was a use flag (its not in my make.conf) and
emerge -pv mysql doesn't show it up.

On 07/11/05, Catalin Trifu [EMAIL PROTECTED] wrote:
  
  
 Hi,

 What does the mysql log say ? /var/lib/mysql/host.err

 Catalin



 Kevin Philp wrote:
 Last week I upgraded to mysql 4.1.14. I carefully followed every line
of the upgrade guide inlcuding the revdep-rebuild and at the end I had
a lovely new mysql 4.1 and all my databases had imported with no
problems, phpmyadmin also worked fine. Nowabout a week later I
can't start mysql:

/etc/init.d/mysql start - says mysql has already started but it hasn't
(ps aux | grep -i my* shows nothing)

mysql shows
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)

I have checked permissions on var/run/mysqld as recommended in another
post and they are correct. I am running out of ideasanyone any
further ideas??

Thanks

Kevin.




  
  
  





Re: [gentoo-user] Convert windows-1250 database to UTF-8

2005-11-07 Thread Bruno Lustosa
On 11/7/05, Khan [EMAIL PROTECTED] wrote:
I'm trying to convert my windows-1250 database to Unicode, UTF-8. Isthere any script that can do the job?What kind of database is it?
If it's something the likes of postgresql or mysql, you could dump the
database to a text file, use recode or iconv to change the file
encoding, and then import it into a new unicode database.-- Bruno Lustosa, aka Lofofora| Email: [EMAIL PROTECTED]Network Administrator/Web Developper | ICQ: 1406477
Rio de Janeiro - Brazil|


Re: [gentoo-user] Convert windows-1250 database to UTF-8

2005-11-07 Thread Khan

Bruno Lustosa wrote:

On 11/7/05, *Khan* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

I'm trying to convert my windows-1250 database to Unicode, UTF-8. Is
there any script that can do the job?


What kind of database is it?
If it's something the likes of postgresql or mysql, you could dump the 
database to a text file, use recode or iconv to change the file 
encoding, and then import it into a new unicode database.


Yes, that's just what I want to do. Database is MySQL. Can you PLS 
explain procedure, I have never done that before.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Abysmally slow 2D performance using proprietary Nvidia driver on dual Xeon system (EMT64)

2005-11-07 Thread brullo nulla
 However, after about 10
 minutes the system load on one processor sharply increases to 100% when
 performing a simple task such as clicking on a button in Firefox, launching
 a new gnome-terminal window or clicking on the Applications menu at the
 top of the screen.

I have not understood if the system load increases to 100% during the
action of clicking and only during the action or if it goes up and
remains stable.

In the second case you should launch top from a shell and see what
process chews up your processor.

m.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cups printing error

2005-11-07 Thread brullo nulla
 This is an aspect of Gentoo that I don't understand very well. the
 various kioslaves block other packages and vice-versa. For example,
 kdepim blocks kdepim-kioslaves, and kdebase blocks kdebase-kioslaves.
 Same goes for kdemultimedia and kdemultimedia-kioslaves.

 As a test, I unmerged kdepim and emerged kdepim-kioslaves and now my
 kmail is messed up. Thing is I cannot emerge both at the same time.

Well, by looking on the forums it seems you have a mixed system.
kdepim is a  monolithic package. kdepim-kioslaves is a package of the
kde split packages. Try unmerging kdepim and emerging kdepim-meta, and
anyways be sure of having a kde relying on split packages (that's the
way to go in the future)

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

m.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kernel 2.6.14 Nvidia

2005-11-07 Thread Petteri Räty
Philip Webb wrote:
 Has anyone got Nvidia to work with Kernel 2.6.14 ?
 I had it working with 2.6.12 , but got an error with 2.6.14 :
 can't initialise Nvidia module, no qualified screen available
 (or words to that effect).  I have recompiled Nvidia etc.
 

No problems here with the latest ~x86 stuff. I have a Geforce 4 Ti-4600.

Regards,
Petteri Räty



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Richard Fish

John Green wrote:


Nick Rout wrote:

 


To everyone in this thread: it would probably help if you specified
which version of portage you are running!


On Sun, 06 Nov 2005 16:34:00 +0100
Jarry wrote:



   


Still running portage 2.0.51.22-r3 here, which is why the speed
variation was puzzling.
 



I'm on 2.0.53_rc7 (~x86), and it is still fast for me, although I am 
using the cdb cache module as well.


-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Convert windows-1250 database to UTF-8

2005-11-07 Thread Hans-Werner Hilse
Hi,

On Mon, 07 Nov 2005 12:25:22 +0100
Khan [EMAIL PROTECTED] wrote:

 Bruno Lustosa wrote:
  On 11/7/05, *Khan* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
  
  I'm trying to convert my windows-1250 database to Unicode, UTF-8. Is
  there any script that can do the job?
  
  What kind of database is it?
  If it's something the likes of postgresql or mysql, you could dump the 
  database to a text file, use recode or iconv to change the file 
  encoding, and then import it into a new unicode database.
 
 Yes, that's just what I want to do. Database is MySQL. Can you PLS 
 explain procedure, I have never done that before.

$ mysqldump -u root -p MyDataBase | iconv -f WINDOWS-1250 -t UTF-8  mydump.sql

But beware, this might have big influence or lead to an application not
working anymore depending on the assumptions that application makes.

E.g., for some of my PHP applications store serialized data in
dedicated fields. This depends on the binary content of those fields
not being modified due to string length information stored within those
fields. When converting to UTF-8, the multi byte sequences would
corrupt each of these serialized strings. If I were to convert this to
another charset, I had to do it programmatically by using functions of
the application, not the DB itself.

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



[gentoo-user] boot new splash Image?

2005-11-07 Thread James
Hello,

I use the /boot/grub/splash.xpm.gz image at boot time, without issues.

However, I'm looking for some variety now. Maybe (3) penguins?
Animation? or a variety of different images at boot time?

Any ideas or archives with lots of choices are most welcome.
For somebody with zero artistic skills, I have to find something
cool.


James




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kernel 2.6.14 Nvidia

2005-11-07 Thread Philip Webb
051107 Petteri R?ty wrote:
 Philip Webb wrote:
 Has anyone got Nvidia to work with Kernel 2.6.14 ?
 I had it working with 2.6.12 , but got an error with 2.6.14 :
 can't initialise Nvidia module, no qualified screen available
 (or words to that effect).  I have recompiled Nvidia etc.
 No problems here with the latest ~x86 stuff. I have a Geforce 4 Ti-4600.

In case anyone has advice, the lines I get are:

  (EE) NVIDIA(0): Failed to initialise NVIDIA kernel module!
  (EE) NVIDIA(0): *** aborting ***
  (EE) Screen(s) found, but none have usable configuration

The cause may be a kernel configuration line which I changed
without realising its whole effect.  I'm using Nvidia version 6629 .

Thanks to everyone who has replied: I will investigate further myself.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kernel 2.6.14 Nvidia

2005-11-07 Thread Catalin Grigoroscuta

Had same problem today with 2.6.13-r5.
Turned out that nvidia module was not loaded :)  - so a simple modprobe 
nvidia fixed the problem.


Philip Webb wrote:


051107 Petteri R?ty wrote:
 


Philip Webb wrote:
   


Has anyone got Nvidia to work with Kernel 2.6.14 ?
I had it working with 2.6.12 , but got an error with 2.6.14 :
can't initialise Nvidia module, no qualified screen available
(or words to that effect).  I have recompiled Nvidia etc.
 


No problems here with the latest ~x86 stuff. I have a Geforce 4 Ti-4600.
   



In case anyone has advice, the lines I get are:

 (EE) NVIDIA(0): Failed to initialise NVIDIA kernel module!
 (EE) NVIDIA(0): *** aborting ***
 (EE) Screen(s) found, but none have usable configuration

The cause may be a kernel configuration line which I changed
without realising its whole effect.  I'm using Nvidia version 6629 .

Thanks to everyone who has replied: I will investigate further myself.

 



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [Fwd: Frozen Video]

2005-11-07 Thread Drew Tomlinson

On 11/5/2005 9:12 PM Nick Rout wrote:


On Sat, 05 Nov 2005 16:15:37 -0800
Drew Tomlinson [EMAIL PROTECTED] wrote:

 

I have a box running kernel version 2.6.13-r5, and MythTV 0.18.2 built 
from portage. I'm using a video card with the nvidia nv18 chipset 
(6600?). I also have a custom xorg modeline for my widescreen HDTV. My 
video card is connected via a VGA to component converter. The screen 
looks good and regular desktop mode works fine. The mouse moves. MythTV 
menus are displayed and the cursor moves around

when I hit the arrow keys.

The problem is when I switch to a video mode. The video freezes at the 
first frame. The audio continues and plays just fine. The freezing 
problem occurs whether I'm viewing LiveTV, previously recorded shows, 
and even video files via MythVideo (uses mplayer). All of this used to 
work until I upgraded hardware and rebuilt my system.


I have no idea what the cause might be or where to start looking. Any ideas?

Drew
   



try running mplayer from the command line and see what error messages
are given.

also look in the standard places like dmesg and /var/log/Xorg*.log.

You can also run mythfrontend from the command line with verbose
logging.
 



Thanks for your reply.  mplayer did not indicate any errors, nor did 
dmesg.  I didn't think to look in Xorg.log before I fixed the problem.


In upgrading my system to use a component to VGA converter, I copied a 
xorg.conf file I found on the web as a starting point.  One of the 
modules it loaded was fbdevhw which I have no idea what it does.  
Judging by the name, I guess frame buffer from fb and development 
from dev?  I could not find any info on Google about what modules are 
included for X and what they do.  But this module just seemed like it 
might be interfering and it wasn't included in my old xorg.conf so I 
commented it out and restarted X.  Now the video works fine.


I'd appreciate any link that describes X modules so I could learn more 
about them.


Cheers,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Ruby Rails and Rake - strange error on Gentoo...

2005-11-07 Thread Steve [Gentoo]
I've recently started playing around with Ruby and rails under Gentoo.  
I've installed everything using emerge as opposed to the using ruby gems.


While I seem to be able to use my rails application, I get a puzzling 
error message when I try to verify it using the default generated 
rakefile and rake:


--
$ rails myapp
$ cd myapp
$ rake
/usr/lib/ruby/site_ruby/1.8/rake.rb:658:in `private': undefined method 
`have_opt

ion?' for class `Object' (NameError)
   from /usr/lib/ruby/site_ruby/1.8/rake.rb:658
   from /usr/lib/ruby/site_ruby/1.8/rake.rb:657
   from /usr/bin/rake:3
--

I would not expect this error message. I get the same error message if 
I've introduced controllers and views (as suggested in the tutorials) 
before running make.  I've asked on both the ruby and rails mailing 
lists without any suggestions arising... it seems this might be peculiar 
to Gentoo.  Do other users (more familiar than I am with Ruby, rails and 
rake)  have the same problems?  Is this a problem with my generated 
application, Rails - or (as the error message suggests) an error in the 
implementation of rake?



--
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] Simple and lightweight SMTP server

2005-11-07 Thread Alexander Skwar
Hi.

I'm looking for a very lightweight SMTP server. It
should (in order):

- Support TLS or SSL for outgoing/incoming connections
- Be VERY light on CPU usage
- Store mails in Maildir format (or hand it off to an
  MDA like procmail/maildrop, for them to store the
  mails)
- Relay mail to only one smart host

It is important, that the system isn't too heavy on
the CPU, as I've only got a MIPSel MIPS 4Kc V0.10.

What can you recommend?

On normal systems, I always use Postfix, but that's
not really lightweight :)

Thanks,

Alexander Skwar
-- 
The debate rages on: Is PL/I Bachtrian or Dromedary?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Simple and lightweight SMTP server

2005-11-07 Thread Mauro Faccenda
On Monday 07 November 2005 13:38, Alexander Skwar wrote:
 Hi.

 I'm looking for a very lightweight SMTP server. It
 should (in order):

 - Support TLS or SSL for outgoing/incoming connections
 - Be VERY light on CPU usage
 - Store mails in Maildir format (or hand it off to an
   MDA like procmail/maildrop, for them to store the
   mails)
 - Relay mail to only one smart host

 It is important, that the system isn't too heavy on
 the CPU, as I've only got a MIPSel MIPS 4Kc V0.10.

 What can you recommend?

 On normal systems, I always use Postfix, but that's
 not really lightweight :)

qmail

[]'s
Mauro
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Simple and lightweight SMTP server

2005-11-07 Thread kashani

Alexander Skwar wrote:

Hi.

I'm looking for a very lightweight SMTP server. It
should (in order):

- Support TLS or SSL for outgoing/incoming connections
- Be VERY light on CPU usage
- Store mails in Maildir format (or hand it off to an
  MDA like procmail/maildrop, for them to store the
  mails)
- Relay mail to only one smart host

It is important, that the system isn't too heavy on
the CPU, as I've only got a MIPSel MIPS 4Kc V0.10.

What can you recommend?

On normal systems, I always use Postfix, but that's
not really lightweight :)


	Unfortunately it's as light as you're going to find for the features 
you want. And I suspect TLS and SSL to use far more of the CPU than the 
MTA itself.


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



[gentoo-user] Big problem with module-rebuild

2005-11-07 Thread Holly Bostick
.. and that problem is, in short, that the rebuild unmerges the previous
version, in the currently-running (or previous) kernel modules folder,
breaking the previous kernel.

And my question is, how to get it to stop doing that. If Portage has a
FEATURES setting that prevents the previous version being unmerged this
way, I don't know what it is.

Example:

I'm currently using 2.6.13-gentoo-r4, and am compiling 2.6.14-gentoo.

/usr/src/linux points to 2.6.14-gentoo.

module-rebuild rebuild
** Preparing to merge modules:
** Packages which I will emerge are:
=sys-fs/submount-0.9-r2
=media-libs/svgalib-1.9.23
=media-video/ati-drivers-8.18.8-r1

Now, taking the most important of these modules, let's look at what
happens with ati-drivers (it's most important because X is set to
use it, and naturally X won't start if the driver is not found).

| emerge (3 of 3) media-video/ati-drivers-8.18.8-r1 to /
snip
 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found sources for kernel version:
 * 2.6.14-gentoo
 * Checking for MTRR support enabled ...

 [ ok ]
 * Checking for AGP support enabled ...

 [ ok ]
 * Checking for DRM support disabled ...

 [ ok ]
* X11 implementation is xorg-x11.

So, the drivers are going to compile against 2.6.14, which is what I
want, and correct. So far so good.

|  Unpacking source...
 * Unpacking Ati drivers ... [ ok ]
 * Applying fglrx-2.6.14-access_ok.patch ...   [ ok ]
| Source unpacked.
 * Building the DRM module...
make: Entering directory `/usr/src/linux-2.6.14-gentoo'
 snip
make: Leaving directory `/usr/src/linux-2.6.14-gentoo'
| Test phase [not enabled]: media-video/ati-drivers-8.18.8-r1

| Install ati-drivers-8.18.8-r1 into
/var/tmp/portage/ati-drivers-8.18.8-r1/image/ category media-video
 * Installing fglrx module
snip
--- /lib/modules/
--- /lib/modules/2.6.14-gentoo/
--- /lib/modules/2.6.14-gentoo/video/
| /lib/modules/2.6.14-gentoo/video/fglrx.ko
snip
| /usr/lib/opengl/ati/lib/libGL.so.1 - libGL.so.1.2

And the drivers build and install fine... then this:

| Safely unmerging already-installed instance...
snip
==--- cfgpro obj /lib/modules/2.6.13-gentoo-r4/video/fglrx.ko
==--- cfgpro dir /lib/modules/2.6.13-gentoo-r4/video
==--- cfgpro dir /lib/modules/2.6.13-gentoo-r4
snip
Switching to ati OpenGL interface... done
| original instance of package unmerged safely.
Switching to ati OpenGL interface... done

So the rebuild process has *removed* the kernel modules for what will be
the previous kernel when I reboot--- and if my new kernel doesn't boot,
well neither will my previous one, depending on how critical the modules
are (in this case, I just won't have X, but depending on one's setup,
one might have lost something really necessary).

In any case this is really not correct behaviour (I want both the
currently-running kernel module and the future-kernel module to be
installed).

The only way I can see to avoid this is to step through the emerges with
the 'ebuild' command, stopping after 'install', and not performing
'postinst' or 'unmerge' (whichever one is performed at the end to remove
the previously-existing package).

I don't see SLOTs as being precisely appropriate, but I don't see what
other method *might* resolve this, since the previously-installed
package is in this case (in most cases?) *not* the same as the
re-emerged package, because they are compiled against different kernels.

Is there a way to SLOT external kernel modules against the kernel
version it's being compiled against?

This seems to definitely be a bug, but I have not the first clue how to
submit it, nor what against

help, help, help and hope 2.6.14 works, because if it doesn't,
I've got no modules for my previous kernel

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



Re: [gentoo-user] [OT] Simple and lightweight SMTP server

2005-11-07 Thread Rumen Yotov
On Mon, 2005-11-07 at 17:38 +0100, Alexander Skwar wrote:
 Hi.
 
 I'm looking for a very lightweight SMTP server. It
 should (in order):
 
 - Support TLS or SSL for outgoing/incoming connections
 - Be VERY light on CPU usage
 - Store mails in Maildir format (or hand it off to an
   MDA like procmail/maildrop, for them to store the
   mails)
 - Relay mail to only one smart host
 
 It is important, that the system isn't too heavy on
 the CPU, as I've only got a MIPSel MIPS 4Kc V0.10.
 
 What can you recommend?
 
 On normal systems, I always use Postfix, but that's
 not really lightweight :)
 
 Thanks,
 
 Alexander Skwar
 -- 
 The debate rages on: Is PL/I Bachtrian or Dromedary?
Hi,
Another vote for qmail, IMO most CPU power goes to filter spam|virus
(if used with perl or other interpreted lang).
Rumen


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


Re: [gentoo-user] Ruby Rails and Rake - strange error on Gentoo...

2005-11-07 Thread Preston Hagar
I have the exact same issue and as yet have been unable to solve it. My emerged versions are as follows:

dev-lang/ruby-1.8.3 *
dev-ruby/rubygems-0.8.11 *
dev-ruby/activerecord-1.11.1
dev-ruby/activesupport-1.1.1-r2 *
dev-ruby/rake-0.5.3 *
dev-ruby/rails-0.13.1 *

My error when running rake:
/usr/lib/ruby/site_ruby/1.8/rake.rb:658:in `private': undefined method `have_option?' for class `Object' (NameError)
 from /usr/lib/ruby/site_ruby/1.8/rake.rb:658
 from /usr/lib/ruby/site_ruby/1.8/rake.rb:657
 from /usr/bin/rake:3

If I find a solution I will post it.On 11/7/05, Steve [Gentoo] [EMAIL PROTECTED] wrote:
I've recently started playing around with Ruby and rails under Gentoo.I've installed everything using emerge as opposed to the using ruby gems.
While I seem to be able to use my rails application, I get a puzzlingerror message when I try to verify it using the default generatedrakefile and rake:--$ rails myapp$ cd myapp$ rake
/usr/lib/ruby/site_ruby/1.8/rake.rb:658:in `private': undefined method`have_option?' for class `Object' (NameError)from /usr/lib/ruby/site_ruby/1.8/rake.rb:658from /usr/lib/ruby/site_ruby/1.8/rake.rb:657
from /usr/bin/rake:3--I would not expect this error message. I get the same error message ifI've introduced controllers and views (as suggested in the tutorials)before running make.I've asked on both the ruby and rails mailing
lists without any suggestions arising... it seems this might be peculiarto Gentoo.Do other users (more familiar than I am with Ruby, rails andrake)have the same problems?Is this a problem with my generated
application, Rails - or (as the error message suggests) an error in theimplementation of rake?--gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ruby Rails and Rake - strange error on Gentoo...

2005-11-07 Thread Abap
On 11/7/05, Steve [Gentoo] [EMAIL PROTECTED] wrote:
I've recently started playing around with Ruby and rails under Gentoo.I've installed everything using emerge as opposed to the using ruby gems.While I seem to be able to use my rails application, I get a puzzling
error message when I try to verify it using the default generatedrakefile and rake:--$ rails myapp$ cd myapp$ rake/usr/lib/ruby/site_ruby/1.8/rake.rb:658:in `private': undefined method`have_opt
ion?' for class `Object' (NameError)from /usr/lib/ruby/site_ruby/1.8/rake.rb:658from /usr/lib/ruby/site_ruby/1.8/rake.rb:657from /usr/bin/rake:3--I would not expect this error message. I get the same error message if
I've introduced controllers and views (as suggested in the tutorials)before running make.I've asked on both the ruby and rails mailinglists without any suggestions arising... it seems this might be peculiar
to Gentoo.Do other users (more familiar than I am with Ruby, rails andrake)have the same problems?Is this a problem with my generatedapplication, Rails - or (as the error message suggests) an error in the
implementation of rake?--gentoo-user@gentoo.org mailing list
I have the same error. Since I can not find the solution to the
error, I upgraded rake (~x86). This version of rake worked
properly, but it was downgraded on the next emerge. I have not
bothered looking any further at the issue so far.

Cheers,

Kevin


Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Qian Qiao
On 11/6/05, Jarry [EMAIL PROTECTED] wrote:
 Nick Rout wrote:
  To everyone in this thread: it would probably help if you specified
  which version of portage you are running!

 Do you really think it is important? Because since I'm using Gentoo,
 I do not take care about versions, portage does it instead of me.
 All I do is running this set of commands every night from crontab:

 emerge --sync
 emerge --update --deep --newuse world
 emerge --depclean
 revdep-rebuild

 So my portage is also always updated, to the last stable version.
 Now it is 2.0.51.22-r3...

Omg, you have emerge --deep --newuse --update world as a *cron* job?

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Holly Bostick
Qian Qiao schreef:
 On 11/6/05, Jarry [EMAIL PROTECTED] wrote:
 
 All I do is running this set of commands every night from
 crontab:
 
 emerge --sync emerge --update --deep --newuse world emerge
 --depclean revdep-rebuild
 
 So my portage is also always updated, to the last stable version. 
 Now it is 2.0.51.22-r3...
 
 
 Omg, you have emerge --deep --newuse --update world as a *cron* job?
 

 and just when you thought it couldn't get any worse, comes a
depclean

 every night.

Ciaran said it best:

 I really hope you don't want your system to carry on working...

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



[gentoo-user] java-config issues

2005-11-07 Thread James
Hello,

Top-posting filter avoidance on gmane
  -ignore line

When performing a routine update 
(after emerge sync) 
I ran into a problem with java-config.

emerge -uDp listed about 8 packages for update. 


Problem
snip
 md5 src_uri ;-) php-4.4.0.tar.bz2
 md5 src_uri ;-) php-4.3.6-includepath.diff
 md5 src_uri ;-) php-pcrelib-new-secpatch.tar.bz2
 Unpacking source
  If you have both freetds and 
mssql in your USE flags, 
parts of PHP
  may not behave correctly, or
may give strange warnings. 
You have been warned! It's recommended 
that you pick ONE of them. 
For sybase
  support, chose 'freetds'. 
For mssql support choose 'mssql'.
 Unpacking php-4.4.0.tar.bz2 to 
/var/tmp/portage/php-4.4.0-r4/work
  uclibctoolize() is depreciated, 
please just use elibtoolize()
  Running elibtoolize in: php-4.4.0
Applying portage-1.4.1.patch ...
Applying sed-1.4.3.patch ...
Applying uclibc-conf-1.2.0.patch ...
 Applying php4.4.0-pspell-ext-segf.patch ...   
  Applying php4.4.0-gd_safe_mode.patch ...  
  Applying php4.4.0-curl_safemode.patch ... 
  Applying php4.4.0-globals_overwrite.patch ... 
  Applying php4.4.0-phpinfo_xss.patch ...   
  Applying php4.4.0-fopen_wrappers.patch ...
  Applying php4.4.0-session_save_path-segf.patch ...
 Unpacking php-pcrelib-new-secpatch.tar.bz2 
to / var/tmp/portage/php-4.4.0-r4/work
  Applying php4.4.0-pcre-security.patch ... 
 [ ok ]
  Updating bundled PCRE library
 Source unpacked.
Traceback (most recent call last)
  File /usr/bin/java-config, line 14, in ?
from java_config import jc_options
ImportError: No module named java_config
  You need to use java-config 
to set your JVM to a JDK!

!!! ERROR: dev-php/php-4.4.0-r4 failed.
!!! Function php-sapi_check_java_config, 
Line 201, Exitcode 0
!!! You need to use java-config 
to set your JVM to a JDK!

 java-config
Traceback (most recent call last)
  File /usr/bin/java-config, line 14, in ?
from java_config import jc_options
ImportError: No module named java_config
snip

I tried to run /usr/bin/java-config:

Traceback (most recent call last):
  File /usr/bin/java-config, line 14, in ?
from java_config import jc_options
ImportError: No module named java_config

I tried to unmerge and then 'emerge php'
did not fix

Looking at the above message I see
'you have both freetds and mssql in your USE flags'

I have no idea what freetds is or where it gets set,
as it's not in 'make.conf', but, mysql is set there.

It looks to me as though I need to 
loose 'freetds' so I tried:
USE=-freetds emerge dev-php/php  
and got this error message

  Updating bundled PCRE library
Source unpacked.
Traceback (most recent call last)
  File /usr/bin/java-config, line 14, in ?
from java_config import jc_options
ImportError: No module named java_config
  You need to use java-config to set your JVM to a JDK!

Which brings me back to java-config, which is broken.

Any help or ideas are most welcome.

James



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Ruby Rails and Rake - strange error on Gentoo...

2005-11-07 Thread Francesco Talamona
On Monday 07 November 2005 17:27, Steve [Gentoo] wrote:
 I've recently started playing around with Ruby and rails under
 Gentoo. I've installed everything using emerge as opposed to the
 using ruby gems.

 While I seem to be able to use my rails application, I get a puzzling
 error message when I try to verify it using the default generated
 rakefile and rake:

 --
 $ rails myapp
 $ cd myapp
 $ rake
 /usr/lib/ruby/site_ruby/1.8/rake.rb:658:in `private': undefined
 method `have_opt
 ion?' for class `Object' (NameError)
 from /usr/lib/ruby/site_ruby/1.8/rake.rb:658
 from /usr/lib/ruby/site_ruby/1.8/rake.rb:657
 from /usr/bin/rake:3
 --

 I would not expect this error message. I get the same error message
 if I've introduced controllers and views (as suggested in the
 tutorials) before running make.  I've asked on both the ruby and
 rails mailing lists without any suggestions arising... it seems this
 might be peculiar to Gentoo.  Do other users (more familiar than I am
 with Ruby, rails and rake)  have the same problems?  Is this a
 problem with my generated application, Rails - or (as the error
 message suggests) an error in the implementation of rake?

I don't know it is helpful, but my instiki wiki recentlystopped working, 
so I googled a bit with the error message provided, and discovered that 
I had to downgrade ruby, as ruby-1.8.3 has some incompatibilities I 
can't remeber now.

I added the line =dev-lang/ruby-1.8.3 in /etc/portage/package.mask and 
emerged dev-lang/ruby-1.8.2-r2

HTH
Francesco

-- 
Linux Version 2.6.12-gentoo-r9, Compiled #2 Wed Aug 24 18:43:16 CEST 
2005
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4325.37 Bogomips Total
aemaeth
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Jarry
Holly Bostick wrote:
 Qian Qiao schreef:
On 11/6/05, Jarry [EMAIL PROTECTED] wrote:

All I do is running this set of commands every night from
crontab:
emerge --sync emerge --update --deep --newuse world emerge
--depclean revdep-rebuild

Omg, you have emerge --deep --newuse --update world as a *cron* job?
 
  and just when you thought it couldn't get any worse, comes a
 depclean  every night.
 
 Ciaran said it best:
I really hope you don't want your system to carry on working...

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=1#doc_chap3
 copypaste=
Updating your System
To keep your system in perfect shape (and not to mention install the
latest security updates) you need to update your system regularly. Since
Portage only checks the ebuilds in your Portage tree you first have to
update your Portage tree.

Code Listing 2: Updating the Portage tree
# emerge --sync

 When your Portage tree is updated, you can update your system with
emerge --update world
...
Code Listing 16: Removing orphaned dependencies
# emerge --update --deep --newuse world
# emerge --depclean
# revdep-rebuild


Could some of you, gentoo-wizards, be kind enough and explain, what
is wrong in doing the things the way gentoo handbook recommends it?
Without offensive language, if I may ask...

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



Re: [gentoo-user] java-config issues

2005-11-07 Thread Michael Sullivan
On Mon, 2005-11-07 at 18:20 +, James wrote:
 Hello,
 
 Top-posting filter avoidance on gmane
   -ignore line
 
 When performing a routine update 
 (after emerge sync) 
 I ran into a problem with java-config.
 
 emerge -uDp listed about 8 packages for update. 
 
 
 Problem
 snip
  md5 src_uri ;-) php-4.4.0.tar.bz2
  md5 src_uri ;-) php-4.3.6-includepath.diff
  md5 src_uri ;-) php-pcrelib-new-secpatch.tar.bz2
  Unpacking source
   If you have both freetds and 
 mssql in your USE flags, 
 parts of PHP
   may not behave correctly, or
 may give strange warnings. 
 You have been warned! It's recommended 
 that you pick ONE of them. 
 For sybase
   support, chose 'freetds'. 
 For mssql support choose 'mssql'.
  Unpacking php-4.4.0.tar.bz2 to 
 /var/tmp/portage/php-4.4.0-r4/work
   uclibctoolize() is depreciated, 
 please just use elibtoolize()
   Running elibtoolize in: php-4.4.0
 Applying portage-1.4.1.patch ...
 Applying sed-1.4.3.patch ...
 Applying uclibc-conf-1.2.0.patch ...
  Applying php4.4.0-pspell-ext-segf.patch ...   
   Applying php4.4.0-gd_safe_mode.patch ...  
   Applying php4.4.0-curl_safemode.patch ... 
   Applying php4.4.0-globals_overwrite.patch ... 
   Applying php4.4.0-phpinfo_xss.patch ...   
   Applying php4.4.0-fopen_wrappers.patch ...
   Applying php4.4.0-session_save_path-segf.patch ...
  Unpacking php-pcrelib-new-secpatch.tar.bz2 
 to / var/tmp/portage/php-4.4.0-r4/work
   Applying php4.4.0-pcre-security.patch ... 
  [ ok ]
   Updating bundled PCRE library
  Source unpacked.
 Traceback (most recent call last)
   File /usr/bin/java-config, line 14, in ?
 from java_config import jc_options
 ImportError: No module named java_config
   You need to use java-config 
 to set your JVM to a JDK!
 
 !!! ERROR: dev-php/php-4.4.0-r4 failed.
 !!! Function php-sapi_check_java_config, 
 Line 201, Exitcode 0
 !!! You need to use java-config 
 to set your JVM to a JDK!
 
  java-config
 Traceback (most recent call last)
   File /usr/bin/java-config, line 14, in ?
 from java_config import jc_options
 ImportError: No module named java_config
 snip
 
 I tried to run /usr/bin/java-config:
 
 Traceback (most recent call last):
   File /usr/bin/java-config, line 14, in ?
 from java_config import jc_options
 ImportError: No module named java_config
 
 I tried to unmerge and then 'emerge php'
 did not fix
 
 Looking at the above message I see
 'you have both freetds and mssql in your USE flags'
 
 I have no idea what freetds is or where it gets set,
 as it's not in 'make.conf', but, mysql is set there.
 
 It looks to me as though I need to 
 loose 'freetds' so I tried:
 USE=-freetds emerge dev-php/php  
 and got this error message
 
   Updating bundled PCRE library
 Source unpacked.
 Traceback (most recent call last)
   File /usr/bin/java-config, line 14, in ?
 from java_config import jc_options
 ImportError: No module named java_config
   You need to use java-config to set your JVM to a JDK!
 
 Which brings me back to java-config, which is broken.
 
 Any help or ideas are most welcome.
 
 James

I had this problem last week.  Running 'python-updater' fixed it.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread b.n.

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=1#doc_chap3
 copypaste=
Updating your System
To keep your system in perfect shape (and not to mention install the
latest security updates) you need to update your system regularly. Since
Portage only checks the ebuilds in your Portage tree you first have to
update your Portage tree.

Code Listing 2: Updating the Portage tree
# emerge --sync

 When your Portage tree is updated, you can update your system with
emerge --update world
...
Code Listing 16: Removing orphaned dependencies
# emerge --update --deep --newuse world
# emerge --depclean
# revdep-rebuild


Could some of you, gentoo-wizards, be kind enough and explain, what
is wrong in doing the things the way gentoo handbook recommends it?
Without offensive language, if I may ask...


Jarry is quite arrogant (why in the hell should we people use offensive 
language with you, unless you give us occasion to do it? and, hey, a bit 
of self-irony should help), but I was wondering too why all this fuss 
about updating regularly the system.
I update by hand and I always see what's going on with the help of 
--pretend, to see if there's some nasty issue. But I --deep --update my 
desktop about twice a week and nothing bad is happening here.


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



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Jarry
Qian Qiao wrote:

 But for Jarry, he probably need 2 variables:
 BRAVE_YET_DUMB=1
 I_WILL_NOT_BLAME_THE_DEVS_IF_MY_SYSTEM_GETS_BORKED=1

Satisfied? Carry on, if it makes you feel better...
Anyway, I'll not fight back to this primitive insultation. It is
under my level, and imho under level of this mailing list too...

Jarry

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Big problem with module-rebuild

2005-11-07 Thread Holly Bostick
Neil Bothwick schreef:
 On Mon, 07 Nov 2005 18:26:02 +0100, Holly Bostick wrote:
 
 
 And my question is, how to get it to stop doing that. If Portage
 has a FEATURES setting that prevents the previous version being
 unmerged this way, I don't know what it is.
 
 
 Doesn't AUTOCLEAN=no do this?
 
 It is a separate setting, not a FEATURE.
 
 

Yes, I see that, but since the description of it is not exactly clear, I
don't know if setting it to no would help, except by testing, which
I'm not prepared to do atm:

(from man make.conf)

 AUTOCLEAN = [yes | no]
  Automatically cleans the system by removing outdated
packages which will not remove functionalities or prevent your  system  from
  working.  On  major ABI changes this may need to be set to
off to ensure that the system can be rebuilt using the new libs before
  the old ones are removed. Downgrading with this option
turned off may result in missing symlinks and an inoperable system.
  Defaults to yes.


In this respect, am I to assume that the outdated package is the
previously-installed version? I don't think so; I think this is a
separate process.

I just reinstalled Wine (unrelated, but perhaps appropriate for an
example) and the output does the clean process well after the previous
version (which is in this case the same version) was removed:


| Safely unmerging already-installed instance...
--- !mtime obj /usr/share/wine/wine.inf
snip
--- !targe sym /usr/lib/libwine.so
--- !targe sym /usr/bin/wineg++
--- !targe sym /usr/bin/winecpp
| original instance of package unmerged safely.
 * ~/.wine/config is now deprecated.  For configuration either use
 * winecfg or regedit HKCU\Software\Wine
| Regenerating /etc/ld.so.cache...
| app-emulation/wine-0.9 merged.

| clean: No packages selected for removal.
| Auto-cleaning packages ...

But I could most certainly be reading this all wrong; it would certainly
be an easy solution if that was the case.

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



[gentoo-user] Re: Big problem with module-rebuild

2005-11-07 Thread Remy Blank
Holly Bostick wrote:
 And the drivers build and install fine... then this:
 
 | Safely unmerging already-installed instance...
 snip
 ==--- cfgpro obj /lib/modules/2.6.13-gentoo-r4/video/fglrx.ko
 ==--- cfgpro dir /lib/modules/2.6.13-gentoo-r4/video
 ==--- cfgpro dir /lib/modules/2.6.13-gentoo-r4
 snip
 Switching to ati OpenGL interface... done
 | original instance of package unmerged safely.
 Switching to ati OpenGL interface... done
 
 So the rebuild process has *removed* the kernel modules for what will be
 the previous kernel when I reboot

I don't think so. cfgpro means the modules are *not* removed on
unmerge. Have a look, they should still be there. At least, they are on
my machines, although I don't use module-rebuild but a custom script (a
one-liner, actually). I have always had the messages as you describe
above, and the modules have always stayed around. If they don't, then
something is wrong with your configuration.

It's kinda the same as /etc on unmerge. The files just stick around.

-- Remy


Remove underscore and suffix in reply address for a timely response.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] two ati-drivers packages using --deep --update

2005-11-07 Thread Mark Knecht
Hi,
   Is the following expected with recent ati-drivers? Is this slotted?
If so, and if I did the --deep --update command, then how do I know
which one I'm using when I load fglrx?

Thanks,
Mark


lightning ~ # emerge -pv  ati-drivers ati-drivers-extra

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

Calculating dependencies ...done!
[ebuild U ] media-video/ati-drivers-8.18.8-r1 [8.14.13-r2] +opengl 52,237 kB
[ebuild  N] media-video/ati-drivers-extra-8.14.13  +qt 0 kB

Total size of downloads: 52,237 kB
lightning ~ # emerge -pv --deep --update ati-drivers ati-drivers-extra

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

Calculating dependencies ...done!
[ebuild U ] media-video/ati-drivers-8.18.8-r1 [8.14.13-r2] +opengl 52,237 kB
[ebuild U ] media-video/ati-drivers-8.14.13-r5 [8.14.13-r2]
-dlloader +opengl 0 kB
[ebuild  N] media-video/ati-drivers-extra-8.14.13  +qt 0 kB

Total size of downloads: 52,237 kB
lightning ~ #

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Jarry
b.n. wrote:

 Jarry is quite arrogant...

Could you please be more specific? Who did I insulted, or what
makes you think I am arrogant? Copypaste please, if you find
something...

Jarry

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Qian Qiao
On 11/7/05, Jarry [EMAIL PROTECTED] wrote:
 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=1#doc_chap3
  copypaste=
 Updating your System
 To keep your system in perfect shape (and not to mention install the
 latest security updates) you need to update your system regularly. Since
 Portage only checks the ebuilds in your Portage tree you first have to
 update your Portage tree.

 Code Listing 2: Updating the Portage tree
 # emerge --sync

  When your Portage tree is updated, you can update your system with
 emerge --update world
 ...
 Code Listing 16: Removing orphaned dependencies
 # emerge --update --deep --newuse world
 # emerge --depclean
 # revdep-rebuild
 

 Could some of you, gentoo-wizards, be kind enough and explain, what
 is wrong in doing the things the way gentoo handbook recommends it?
 Without offensive language, if I may ask...

The idea is very simple: some upgrades are not compatible with what
you have previously installed.

A very good example will be the recent change to Apache. The
configuration files moved. A lot of people who blindly upgraded due to
either seeing but not reading, or cron jobs had their system borked.
To make things worse, they started whining, in the forums, on the ML,
and probably other places.

When maintaining a system, it is good to know what each upgrade does,
and take necessary precautions. The devs can have the ebuild to print
out warning messages, but will your cron be able to catch it?

To elabrate even more:
Redhat, suse and possibly other distro users can do cron upgrades, as
those distros never give out in-compatible upgrades to a release.
Those upgrades will wait until the next release, where everything is
upgraded, and the users will need to re-install the whole system and
possible pay more for the next release.

Things are done differently here in Gentoo, everything is dynamic, a
carefully carried out upgrade can bring a 1.4 to current, which is
amazing I have to say. Because of this, it is inevitable that some
upgrades will not be compatible. Whilst the devs made every effort to
keep you warned/informed, it is *your* responsibility to carry out the
upgrades properly. And a cron job simply isn't the proper way.

Hope I made the reason clear enough.

Finally, please don't get offended. We were not meant to do that. Try
dig out your sense of humour, :P

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Abysmally slow 2D performance using proprietary Nvidia driver on dual Xeon system (EMT64)

2005-11-07 Thread Greg Bur
On 11/7/05, brullo nulla [EMAIL PROTECTED] wrote:
 However, after about 10 minutes the system load on one processor sharply increases to 100% when performing a simple task such as clicking on a button in Firefox, launching a new gnome-terminal window or clicking on the Applications menu at the
 top of the screen.I have not understood if the system load increases to 100% during theaction of clicking and only during the action or if it goes up andremains stable.
My apologies for not making this more clear. The system load
spike begins with the click and it hovers at or near 100% until the new
task (opening a program, displaying a menu, etc) has completed.
Even moving a window causes this to happen and the load only jumps on
one processor, the other is idle or nearly so. When the nvidia
driver is working correctly (assuming the driver is to blame) the load
seems to be balanced evenly across both processors.
In the second case you should launch top from a shell and see what
process chews up your processor.m.
top is telling me that X is the guilty party. I can renice X to a
lower priority and get some responsiveness back but again, there are
times when everything performs as expected. The problem is
intermittant although it happens more often than not.


--gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Holly Bostick
Jarry schreef:
 Holly Bostick wrote:
 
 Qian Qiao schreef:
 
 On 11/6/05, Jarry [EMAIL PROTECTED] wrote:
 
 
 All I do is running this set of commands every night from 
 crontab: emerge --sync emerge --update --deep --newuse world
 emerge --depclean revdep-rebuild
 
 Omg, you have emerge --deep --newuse --update world as a *cron*
 job?
 
  and just when you thought it couldn't get any worse, comes a 
 depclean  every night.
 
 Ciaran said it best:
 
 I really hope you don't want your system to carry on working...
 
 
 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=1#doc_chap3
   copypaste= Updating
 your System To keep your system in perfect shape (and not to mention
 install the latest security updates) you need to update your system
 regularly. Since Portage only checks the ebuilds in your Portage tree
 you first have to update your Portage tree.
 
 Code Listing 2: Updating the Portage tree # emerge --sync
 
 When your Portage tree is updated, you can update your system with 
 emerge --update world ... Code Listing 16: Removing orphaned
 dependencies # emerge --update --deep --newuse world # emerge
 --depclean # revdep-rebuild 
 
 
 Could some of you, gentoo-wizards, be kind enough and explain, what 
 is wrong in doing the things the way gentoo handbook recommends it?

The Gentoo Handbook does *not* recommend you do these procedures
*unattended*, the way you are doing them.

And a depclean-- which should 1) always be run with --pretend first, and
2) should be checked for sanity before running without --pretend,
certainly should not be run both unattended and unchecked, every night.

I suppose you've never seen this message:


emerge -p depclean

*** WARNING *** : DEPCLEAN CAN  SERIOUSLY  IMPAIR YOUR SYSTEM. USE CAUTION.
*** WARNING *** : (Cancel: CONTROL-C) -- ALWAYS VERIFY ALL PACKAGES IN THE
*** WARNING *** : CANDIDATE LIST FOR  SANITY  BEFORE  ALLOWING DEPCLEAN TO
*** WARNING *** : UNMERGE ANY PACKAGES.
*** WARNING *** :
*** WARNING *** : USE FLAGS MAY HAVE AN EXTREME EFFECT ON THE OUTPUT.
*** WARNING *** : SOME LIBRARIES MAY BE USED BY PACKAGES BUT ARE NOT
*** WARNING *** : CONSIDERED TO BE A DEPEND DUE TO USE FLAG SETTINGS.
*** WARNING *** : emerge --update --deep --newuse world TO VERIFY
*** WARNING *** : SANITY IN THIS REGARD.
*** WARNING *** :
*** WARNING *** : Packages  in the list  that are  desired  may be added
*** WARNING *** : directly to the world file to cause them to be ignored
*** WARNING *** : by depclean and maintained in the future. BREAKAGES DUE
*** WARNING *** : TO UNMERGING AN  ==IN-USE LIBRARY==  MAY BE REPAIRED BY
*** WARNING *** : MERGING  *** THE PACKAGE THAT COMPLAINS ***  ABOUT THE
*** WARNING *** : MISSING LIBRARY.


emerge -uDN world... well, it's not so much that anything is wrong
with doing that every night, but ... unattended? So you have no idea
what USE flags you're using, what versions of anything you're using, and
when something else breaks (because you updated a dependency but the
program that depends on it isn't able to use the update as yet, which
happens a lot)-- you have no idea what broke the program, or why.

If you have an nVidia card, but the new drivers don't support your
particular card, and you just upgrade blindly, how are you going to know
why X doesn't work all of a sudden?

If you suddenly wake up to find that you have no disk space, because you
have installed Evolution and Evolution Data Server (which you don't use,
but there is a new USE flag for many GNOME programs-- eds-- that will
install those applications unless you turn the flag off)-- who do you
have to blame but yourself? And how are you going to determine what is
suddenly eating your disk space and prevent it from happening again?

With great power comes great responsibility, and Gentoo gives you a lot
of power to configure and manage your system. However, you are
responsible for paying attention to what is happening and keeping
everything under control.

Which you are not doing, and frankly, you're pretty lucky that something
hasn't blown up up to now.

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



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread b.n.

Jarry wrote:

b.n. wrote:



Jarry is quite arrogant...



Could you please be more specific? Who did I insulted, or what
makes you think I am arrogant? Copypaste please, if you find
something...


Just read the three lines quoted above and you'll find what I mean.

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



Re: [gentoo-user] Re: Big problem with module-rebuild [SOLVED]

2005-11-07 Thread Holly Bostick
Remy Blank schreef:
 Holly Bostick wrote:
 
 And the drivers build and install fine... then this:
 
 | Safely unmerging already-installed instance... snip ==---
 cfgpro obj /lib/modules/2.6.13-gentoo-r4/video/fglrx.ko ==---
 cfgpro dir /lib/modules/2.6.13-gentoo-r4/video ==--- cfgpro dir
 /lib/modules/2.6.13-gentoo-r4 snip Switching to ati OpenGL
 interface... done | original instance of package unmerged
 safely. Switching to ati OpenGL interface... done
 
 So the rebuild process has *removed* the kernel modules for what
 will be the previous kernel when I reboot
 
 
 I don't think so. cfgpro means the modules are *not* removed on 
 unmerge. Have a look, they should still be there. At least, they are
 on my machines, although I don't use module-rebuild but a custom
 script (a one-liner, actually). I have always had the messages as you
 describe above, and the modules have always stayed around. If they
 don't, then something is wrong with your configuration.
 
 It's kinda the same as /etc on unmerge. The files just stick around.
 
 -- Remy

Thank you, Remy-- you're right:

la /lib/modules/2.6.13-gentoo-r4/video/
totaal 317
drwxr-xr-x  2 root root 72 nov  7 18:00 .
drwxr-xr-x  6 root root496 nov  7 18:30 ..
-rw-r--r--  1 root root 321951 nov  7 18:00 fglrx.ko

OK, so I'm panicking over nothing, which is good to know, but now I'm a
little P.O.'d that I should have had *cause* to panic (I've gotta be a
bit P.O'd about something, since I've made a fool of myself ;-) ).

Seems to me that someone even less technically adept than I am (and I'm
not really all that, after all), could really lose their cool under
these circumstances, all because of that little cfgpro that they might
not know what it means, even if they saw it.

I'm really glad to know that the files are not in fact removed, but I
have this feeling that it should have been clearer that they really
weren't removed, despite the fact that that section of the operation was
removing files. Ah well, I know Portage isn't perfect, but it usually
doesn't scare the pants off me just during normal operation like that
(which tends to scare me more than just normal Portage scary-stuff).

Anyway, thanks again.

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



Re: [gentoo-user] two ati-drivers packages using --deep --update

2005-11-07 Thread Holly Bostick
Mark Knecht schreef:
 Hi, Is the following expected with recent ati-drivers? Is this 
 slotted?

No, and no.
 If so, and if I did the --deep --update command, then how do I know 
 which one I'm using when I load fglrx?

fglrxinfo would tell you the version of the ati-drivers in use.

But... there can be only one (the package is not slotted).

 
 Thanks, Mark
 
 
 lightning ~ # emerge -pv  ati-drivers ati-drivers-extra
 
 These are the packages that I would merge, in order:
 
 Calculating dependencies ...done! [ebuild U ] 
 media-video/ati-drivers-8.18.8-r1 [8.14.13-r2] +opengl 52,237 kB 
 [ebuild  N] media-video/ati-drivers-extra-8.14.13  +qt 0 kB
 
 Total size of downloads: 52,237 kB lightning ~ # emerge -pv --deep 
 --update ati-drivers ati-drivers-extra
 
 These are the packages that I would merge, in order:
 
 Calculating dependencies ...done! [ebuild U ] 
 media-video/ati-drivers-8.18.8-r1 [8.14.13-r2] +opengl 52,237 kB 
 [ebuild U ] media-video/ati-drivers-8.14.13-r5 [8.14.13-r2] 
 -dlloader +opengl 0 kB [ebuild  N] 
 media-video/ati-drivers-extra-8.14.13  +qt 0 kB
 

Problem here-- afaik-- is that the drivers-extra package is hooked to
the drivers package of the same version.

The --deep update of the drivers-extra package requires the 'same'
version of the drivers package as it itself is numbered.

What I don't understand is why you are not getting drivers-extra-8.18.8,
but only 8.14.13.

And I definitely don't know how the double upgrade would work, except
that it would likely be an upgrade/downgrade (but not shown as such
because the upgrade has not yet been performed).

emerge -p ati-drivers ati-drivers-extra

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

Calculating dependencies ...done!
[ebuild   R   ] media-video/ati-drivers-8.18.8-r1
[ebuild   R   ] media-video/ati-drivers-extra-8.18.8

Do you maybe have a mask on ati-drivers-extra?

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



[gentoo-user] Re: Big problem with module-rebuild

2005-11-07 Thread Marc Christiansen
Holly Bostick [EMAIL PROTECTED] wrote:
 .. and that problem is, in short, that the rebuild unmerges the previous
 version, in the currently-running (or previous) kernel modules folder,
 breaking the previous kernel.

Did you check if the files are really gone?

[...]
 | Safely unmerging already-installed instance...
 snip
 ==--- cfgpro obj /lib/modules/2.6.13-gentoo-r4/video/fglrx.ko
 ==--- cfgpro dir /lib/modules/2.6.13-gentoo-r4/video
 ==--- cfgpro dir /lib/modules/2.6.13-gentoo-r4
 ^^
The '---' mean that no action was taken and the following word gives the
reason, in this case CONFIG_PROTECT (at least it should be this way and
for me it is).

 This seems to definitely be a bug, but I have not the first clue how to
 submit it, nor what against

If the modules are indeed gone, I'd say it is a bug in emerge or
portage.

 help, help, help and hope 2.6.14 works, because if it doesn't,
 I've got no modules for my previous kernel

For me the switch to 2.6.14 went without much problems and I did use
module-rebuild. My modules are still there for 2.6.13-r5. Most of
the problems were my own fault, I decided to cleanup my kernel config
and deselected too much... Except for a problem with the owner-module
for iptables, it no longer supports cmd-owner, pid-owner or sid-owner
although the help still says it does, you have to look at dmesg to find
out. But this is a minor problem which I'll solve when needed. So,
enough of my ramblings they don't help you.

Marc

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Convert windows-1250 database to UTF-8

2005-11-07 Thread Renat Golubchyk
On Mon, 07 Nov 2005 12:25:22 +0100 Khan [EMAIL PROTECTED] wrote:
 Bruno Lustosa wrote:
  On 11/7/05, *Khan* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  wrote:
  
   I'm trying to convert my windows-1250 database to Unicode,
   UTF-8. Is there any script that can do the job?
  
  What kind of database is it?
  If it's something the likes of postgresql or mysql, you could dump
  the database to a text file, use recode or iconv to change the file 
  encoding, and then import it into a new unicode database.
 
 Yes, that's just what I want to do. Database is MySQL. Can you PLS 
 explain procedure, I have never done that before.

As far as I know you can change the character set directly in  MySQL.
The data will be converted automagically. For example,

ALTER TABLE foo DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci

You can create a new table and test it with some garbage data before you
do this. And create a backup ;-)


Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)


pgpinTfj1QFyc.pgp
Description: PGP signature


Re: [gentoo-user] /usr/local/portage does not seem to have a valid PORTDIR structure.

2005-11-07 Thread Neil Bothwick
On Mon, 07 Nov 2005 11:24:19 +0100, Nagatoro wrote:

  Something along the lines of
   
  My_P=$(P/beta/_beta}
  
  and use ${My_P} instead of ${P} throughout the ebuild.
  
  
 
 Or better look at
 http://dev.gentoo.org/~plasmaroo/devmanual/ebuild-writing/
 
 since _beta is a recogniced suffix there should be built in methods to 
 deal with it.

_beta is a recognised suffix, beta is not. Actually, the above line
should be

MyP=${P/_beta/beta}


-- 
Neil Bothwick

Virtue is it's own punishment.


signature.asc
Description: PGP signature


Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Jarry
b.n. wrote:
 Jarry wrote:
 b.n. wrote:
 Jarry is quite arrogant...

 Could you please be more specific? Who did I insulted, or what
 makes you think I am arrogant? Copypaste please, if you find
 something...
 
 Just read the three lines quoted above and you'll find what I mean.

Yes, I have read it. Two question and one request. Polite and
respectful. Does that make me arrogant? Well, I knew my english is
far from being perfect, bud did not know it is actually THAT bad...

BTW, I think it could not be reason for you calling me arrogant,
because I posted it AFTER your statement...

 m.

Strange, when someone who signs his emails with just one character
wants to give me lessons about being arrogant...

Jarry

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] two ati-drivers packages using --deep --update

2005-11-07 Thread Mark Knecht
On 11/7/05, Holly Bostick [EMAIL PROTECTED] wrote:
 Mark Knecht schreef:


 Problem here-- afaik-- is that the drivers-extra package is hooked to
 the drivers package of the same version.

 The --deep update of the drivers-extra package requires the 'same'
 version of the drivers package as it itself is numbered.

 What I don't understand is why you are not getting drivers-extra-8.18.8,
 but only 8.14.13.

Nor I, also eix is only showing these:

lightning ~ # eix ati-drivers-extra
* media-video/ati-drivers-extra
 Available versions:  8.14.13 *8.16.20
 Installed:   none
 Homepage:http://www.ati.com
 Description: Ati precompiled drivers extra application


Found 1 matches
lightning ~ #

I had been assuming 8.16.20 goes with ati-drivers-8.18.8, but maybe not...


 And I definitely don't know how the double upgrade would work, except
 that it would likely be an upgrade/downgrade (but not shown as such
 because the upgrade has not yet been performed).

 emerge -p ati-drivers ati-drivers-extra

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

 Calculating dependencies ...done!
 [ebuild   R   ] media-video/ati-drivers-8.18.8-r1
 [ebuild   R   ] media-video/ati-drivers-extra-8.18.8

 Do you maybe have a mask on ati-drivers-extra?

 Holly

No masking here. The only package I've masked is Wine as per your
suggestion the other day. These are entries in
/etc/portage/package.keywords. Nothing in portage.use.

media-video/ati-drivers ~amd64
media-video/ati-drivers-extra ~amd64

From someone on the LKML I found out that the ATI binary drivers won't
work on a 64-bit kernel so this is suddently not such an issue for me.

Thanks Holly!

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread kashani

Qian Qiao wrote:

To elabrate even more:
Redhat, suse and possibly other distro users can do cron upgrades, as
those distros never give out in-compatible upgrades to a release.


heh, if only this were truly the case. However the sentiment is still 
correct, my beef being with the word *never*.


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



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Jarry
Holly Bostick wrote:

 The Gentoo Handbook does *not* recommend you do these procedures
 *unattended*, the way you are doing them.

Well, gentoo says ...update your system regularly I thought
it means really regularly, not when root finds some spare time
to do it. And things, which must be done on my server regularly,
I usually put into crontab...

 when something else breaks (because you updated a dependency but the

Personally, I prefer rather breaking some dependencies in my system,
over leaving some security hole in it. I am fully aware of the
possibility that some services might be unavailable, but logsentry
and monit will inform me about it...

 If you suddenly wake up to find that you have no disk space

Again, logsentryquota would inform me, I think. And 2x160GB is plenty
of space. BTW, no X/KDE/Gnome on my server...

 Which you are not doing, and frankly, you're pretty lucky that something
 hasn't blown up up to now.

That might happen, sooner o later. But still I think it is still better
than leaving some hole for uninvited visitors.
Thanks for your constructive explanation.

Jarry

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kernel 2.6.14 Nvidia

2005-11-07 Thread Philip Webb
051107 Catalin Grigoroscuta wrote:
 Philip Webb wrote:
 Has anyone got Nvidia to work with Kernel 2.6.14 ?
 I had it working with 2.6.12 , but got an error with 2.6.14 :
   (EE) NVIDIA(0): Failed to initialise NVIDIA kernel module!
   (EE) NVIDIA(0): *** aborting ***
   (EE) Screen(s) found, but none have usable configuration
 Had same problem today with 2.6.13-r5.
 Turned out that nvidia module was not loaded
 so a simple modprobe nvidia fixed the problem.

I don't think that's the problem here:

  root: root modprobe -l
  ...
  /lib/modules/2.6.14-gentoo/video/nvidia.ko

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] two ati-drivers packages using --deep --update

2005-11-07 Thread Martins Steinbergs


 emerge -p ati-drivers ati-drivers-extra

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

 Calculating dependencies ...done!
 [ebuild   R   ] media-video/ati-drivers-8.18.8-r1
 [ebuild   R   ] media-video/ati-drivers-extra-8.18.8

 Do you maybe have a mask on ati-drivers-extra?

 Holly

maybe -amd64 is reason:
- media-video/ati-drivers-extra-8.18.8 (masked by: -amd64 keyword) 


martins
-- 
Linux 2.6.13 AMD Athlon(tm) 64 Processor 3200+
 22:08:09 up 11:49,  5 users,  load average: 0.10, 0.11, 0.40
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] two ati-drivers packages using --deep --update

2005-11-07 Thread Manuel McLure

Mark Knecht wrote:

From someone on the LKML I found out that the ATI binary drivers won't
work on a 64-bit kernel so this is suddently not such an issue for me.


The 32-bit drivers won't work on a 64-bit kernel, but ATI does provide 
64-bit binary drivers as well (and the ebuild should download the 
correct one depending on whether you're on a 64-bit or 32-bit Gentoo 
install.)


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: java-config issues

2005-11-07 Thread James
Michael Sullivan michael at espersunited.com writes:


You need to use java-config to set your JVM to a JDK!
  Which brings me back to java-config, which is broken.
  Any help or ideas are most welcome.

 I had this problem last week.  Running 'python-updater' fixed it.


Well using 'python-updater'
env-update  source /etc/profile  etc-update
and 'emerge -uD world'

everything is fine now.

Where does one read about python-updater ?

thanks,
James






-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Qian Qiao
On 11/7/05, Jarry [EMAIL PROTECTED] wrote:
 That might happen, sooner o later. But still I think it is still better
 than leaving some hole for uninvited visitors.

You'd rather having a b0rked system, than some uninvited visitors... Hmmm.

One piece of advice: turn that system off.

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Alsa for Kernel2.4

2005-11-07 Thread David Harel

Hi all,

I understand I can have ALSA on kernel 2.4 (I can't shift to 2.6 - 
display driver issue) so how do I do it?


--
Thanks.

David Harel,

==

Home office +972 77 4422234
Fax:+972 77 4422234
Cellular:   +972 54 4534502
Snail Mail: Amuka
D.N Merom Hagalil
13802
Israel
Email:  [EMAIL PROTECTED]

--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Kernel 2.6.14 Nvidia

2005-11-07 Thread Bob Young


-Original Message-
From: Philip Webb [mailto:[EMAIL PROTECTED]
Sent: Monday, November 07, 2005 12:06 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Kernel 2.6.14  Nvidia

051107 Catalin Grigoroscuta wrote:
 Philip Webb wrote:
 Has anyone got Nvidia to work with Kernel 2.6.14 ?
 I had it working with 2.6.12 , but got an error with 2.6.14 :
   (EE) NVIDIA(0): Failed to initialise NVIDIA kernel module!
   (EE) NVIDIA(0): *** aborting ***
   (EE) Screen(s) found, but none have usable configuration
 Had same problem today with 2.6.13-r5.
 Turned out that nvidia module was not loaded
 so a simple modprobe nvidia fixed the problem.

I don't think that's the problem here:

  root: root modprobe -l
  ...
  /lib/modules/2.6.14-gentoo/video/nvidia.ko


Don't know if it's relevant to 2.6.14 but there was an issue with 2.6.13 and
the nvidia drivers:
Thread from another user who experienced problems.

http://www.usenetlinux.com/archive/topic.php/t-495527.html


The bug on it posted b.g.o:
http://bugs.gentoo.org/show_bug.cgi?id=104369

May not be your problem, but maybe worth investigating.

--
Bob Young





-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread kashani

Jarry wrote:

Could some of you, gentoo-wizards, be kind enough and explain, what
is wrong in doing the things the way gentoo handbook recommends it?
Without offensive language, if I may ask...


	Being a server guy I'll throw this one out as it hasn't happened yet, 
though I expect a fair amount of chaos when it hits.


When Postfix 2.2 goes live anyone doing virtual mail serving with a 
database backend will break because the sql syntax is different (and 
more powerful) in 2.2 than 2.0/2.1. Unless of course you change your 
configs to match.


	If you're looking for an older example some combination of updates from 
Postfix 2.0.x to 2.1.x would cause queue corruption. The recommended way 
to update was to shut Postfix down while emerging.


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



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Qian Qiao
On 11/7/05, Jarry [EMAIL PROTECTED] wrote:
 Personally, I prefer rather breaking some dependencies in my system,
 over leaving some security hole in it. I am fully aware of the
 possibility that some services might be unavailable, but logsentry
 and monit will inform me about it...

If your server a production server?

Tell me how log entries are gonna inform you if the init scripts can't
even start the service?

Maintain servers includes maintaining *usability* as well as security.
Some of the updates aren't security updates, they are merely feature
additions, might in fact introduce more security issues.

Furthermore, if you can't even maintain usability of the system, I
don't see how or why you need to keep it secure, that system won't
work anyways.

Let me just give you one more example:
A upgrade to the PAM library might require you to restart sshd,
otherwise new connections may not auth. That information will be
printed on the screen after the new PAM library is merged. However
that will not appear in the emerge.log. Tell me, how you are gonna
know that you should restart your sshd if that upgrade was carried out
by a cron job. To make things worse, just imagine, that system is a
remote system, and is maintained through ssh. Pfff.

Anyway, good luck with being an admin.

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Nick Rout

On Mon, 07 Nov 2005 20:49:40 +0100
Jarry wrote:

 b.n. wrote:
  Jarry wrote:
  b.n. wrote:
  Jarry is quite arrogant...
 
  Could you please be more specific? Who did I insulted, or what
  makes you think I am arrogant? Copypaste please, if you find
  something...
  
  Just read the three lines quoted above and you'll find what I mean.
 
 Yes, I have read it. Two question and one request. Polite and
 respectful. Does that make me arrogant? Well, I knew my english is
 far from being perfect, bud did not know it is actually THAT bad...
 
 BTW, I think it could not be reason for you calling me arrogant,
 because I posted it AFTER your statement...
 
  m.
 
 Strange, when someone who signs his emails with just one character
 wants to give me lessons about being arrogant...
 
 Jarry

Frankly back off or bugger off.

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: java-config issues

2005-11-07 Thread Qian Qiao
On 11/7/05, James [EMAIL PROTECTED] wrote:
 Well using 'python-updater'
 env-update  source /etc/profile  etc-update
 and 'emerge -uD world'

 everything is fine now.

 Where does one read about python-updater ?

It was printed on the screen when you update your python package. Did
you do your upgrades through a cron? Or did you do it non-attended?

Please don't do that...

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Jarry
b.n. wrote:

 Polite and respectful. 
 They don't look that much.

Well, I always thought that using the words like please is a sign
of respect to others. On the other side, some of replies included
phrases like ...it bloody matters!... or how the hell would we
know...! or Jarry needs variable BRAVE_YET_DUMB=1. Although
such words do not sound good to me, I would never dare to say their
authors are arrogant...

 have told/added something like anyway please sorry if I looked
 arrogant, I didn't meant to. Then we could have agreed.

Not problem for me, just did not find any reason to do it...
But what about those who do not look arrogant, but are arrogant?

 For example (you wanted examples, so I give you):
 which version of portage you are running!
 Do you really think it is important? Because since I'm using Gentoo,
 I do not take care about versions, portage does it instead of me.

I asked the question seriously. When I switched to gentoo, everybody
told me ...c'mon, come'n'try gentoo, there are no versions like in
redhat, suse or debian, it is always updated! Suddenly there are
versions...

(BTW, I wrote I was impressed by portage speed last week, during
 upgrade. It means I could not have old portage version)

 Taking a simple joke this seriously doesn't make you look superior. In
 fact you look much more childish than the original poster. If you were
 really a superior intelligence, you would have at least asked yourself
 *why* so much people were laughing at your post.

Aha, now I understand! I should have probably answer:
AND_YOU_ARE_EVEN_BIGGER_FOOL_LOL=1
That would have been probably even better simple joke, huh? :-)
now THIS is sarcasm from me, I would never write something like that

 You copy-and-paste the manual (implicitly stating we're all
 morons that have never read it)

I copypasted it to let you know where I got that idea...

 Strange, when someone who signs his emails with just one character
 wants to give me lessons about being arrogant...
 ?
 And that's two characters, BTW (a letter and a dot :P )
 m.

OK, that's cool, I will use it from now! :-)
J.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Jarry
Qian Qiao wrote:

 Tell me how log entries are gonna inform you if the init scripts can't
 even start the service?

I'm not sure, probably in ~30min I would get email, if completely
broken server would not make it impossible. I thought either monit
or logsentry would notice it and inform me...

 Let me just give you one more example:
 A upgrade to the PAM library might require you to restart sshd,

Well, this will be probably criticised, but after every upgrade
(independently of what was really updated) I restart sshd, named,
sendmail and apache, even with old config-files. I thought that way
not only my system is updated, but also new versions of those
daemons are running. Rest (I thought) is not important...

 Anyway, good luck with being an admin.

I know, I'm far from being it. But thanks for answer...

Jarry

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Holly Bostick
Jarry schreef:
 Holly Bostick wrote:
 
 
 The Gentoo Handbook does *not* recommend you do these procedures 
 *unattended*, the way you are doing them.
 
 
 Well, gentoo says ...update your system regularly I thought it 
 means really regularly, not when root finds some spare time to do 
 it. And things, which must be done on my server regularly, I usually
  put into crontab...

Hmmm, interesting concept. What else does root have to do but administer
the server?

Why exactly does root, whose job is to run the server, have no time to
schedule the actual running of the server, which includes:

checking whether updates are available;

checking whether updates are *appropriate*;

making sure that available, appropriate updates don't interrupt the
running of the server for which root is responsible?

If it was a desktop system, I could understand. I hate to take time out
from a good run of AisleRiot to do a glsa-check, myself (and why isn't
*that* one of your cron jobs?).

But a server is something else entirely.

 
 
 when something else breaks (because you updated a dependency but 
 the
 
 
 Personally, I prefer rather breaking some dependencies in my system,
  over leaving some security hole in it. I am fully aware of the 
 possibility that some services might be unavailable, but logsentry 
 and monit will inform me about it...

You would rather have your server not work than have a security hole in it.

What difference does it make if there's a security hole if the server
itself doesn't work?

Not that I'm advocating security holes, but this just doesn't make sense
(the security hole in X package can't be exploited if the program
segfaults when you try to start it because its dependencies are broken).

 
 
 If you suddenly wake up to find that you have no disk space
 
 
 Again, logsentryquota would inform me, I think. And 2x160GB is 
 plenty of space. BTW, no X/KDE/Gnome on my server...

So you have time to fix the errors, but not time to prevent them before
they occur?

And of course, somehow you are going to be able to fix the errors
without taking the server down, without any interruption to your users?

I don't get it, but more power to you.

 
 
 Which you are not doing, and frankly, you're pretty lucky that 
 something hasn't blown up up to now.
 
 
 That might happen, sooner o later. But still I think it is still 
 better than leaving some hole for uninvited visitors.

The invited vistors (ordinary users of the server) are on their own,
apparently.

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



Re: [gentoo-user] Alsa for Kernel2.4

2005-11-07 Thread Christoph Eckert

 I understand I can have ALSA on kernel 2.4 (I can't shift to 2.6 -
 display driver issue) so how do I do it?

in 2.4 ALSA is completely outside the kernel, so you need the following 
packages:

* ALSA-lib
* ALSA-driver
* ALSA-utils (optional but recommended)


Best regards


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



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Qian Qiao
On 11/7/05, Jarry [EMAIL PROTECTED] wrote:
 b.n. wrote:

  Polite and respectful.
  They don't look that much.

 Well, I always thought that using the words like please is a sign
 of respect to others. On the other side, some of replies included
 phrases like ...it bloody matters!... or how the hell would we
 know...! or Jarry needs variable BRAVE_YET_DUMB=1. Although
 such words do not sound good to me, I would never dare to say their
 authors are arrogant...

You are just brave and dumb. Take a look at how many people explained
or attempted to explain why running upgrades as cron jobs is a dumb
thing do to, and you simply neglected them. To make things worse, you
stated: I prefer rather breaking some dependencies in my system, over
leaving some security hole in it. Which is plain bs.

 I asked the question seriously. When I switched to gentoo, everybody
 told me ...c'mon, come'n'try gentoo, there are no versions like in
 redhat, suse or debian, it is always updated! Suddenly there are
 versions...

 (BTW, I wrote I was impressed by portage speed last week, during
  upgrade. It means I could not have old portage version)

As well as brave and dumb, you are also ignorant. There are versions,
and it is clearly mentioned in the documentations. It's always
up-to-date doesn't mean there are no versions. There are no
*releases*, but there are versions.

Back to the arrogance bit, people give you advices or suggestions, in
the hope that you could maintain your system better, you are perfectly
entitled to stick to your no-so-bright way, but you can't stop us
thinking that defending those *wrong* ways are somewhat arrogant.

Again, good luck with your server maintenance.

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] two ati-drivers packages using --deep --update

2005-11-07 Thread Mark Knecht
On 11/7/05, Manuel McLure [EMAIL PROTECTED] wrote:
 Mark Knecht wrote:
  From someone on the LKML I found out that the ATI binary drivers won't
  work on a 64-bit kernel so this is suddently not such an issue for me.

 The 32-bit drivers won't work on a 64-bit kernel, but ATI does provide
 64-bit binary drivers as well (and the ebuild should download the
 correct one depending on whether you're on a 64-bit or 32-bit Gentoo
 install.)

 --

Manuel,
   Hi. Are you able to make this work? I'm not. (so far...)

1) I emerged ati-drivers-8.18.8-r1. Is that new enough?

lightning ~ # emerge -pv ati-drivers

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

Calculating dependencies ...done!
[ebuild   R   ] media-video/ati-drivers-8.18.8-r1  +opengl 0 kB

Total size of downloads: 0 kB
lightning ~ #

2) I ran the app referenced in the emerge output to set up xrog.config:

aticonfig --initial --input=/etc/X11/xorg.conf

3) I looked at xorg.conf. It looks OK, if a bit confusing. Now it
appears that the developers are attempting to make a single xorg.conf
that works with either the radeon driver or the fglrx driver? That
would be nice.

4) I switched to fglrx in /etc/modules.audtoload.d/kernel.2.6 and rebooted.

5) fglrx did not load:
lightning ~ # lsmod | grep fglrx
lightning ~ #

6) Xorg.0.log results:

NOTE: There is no DRI for PCI Express cards yet. 2.6.15 I'm told.

lightning ~ # cat /var/log/Xorg.0.log | grep EE
Current Operating System: Linux lightning 2.6.14-rt6 #2 PREEMPT Fri
Nov 4 15:49:09 PST 2005 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) fglrx(0): === [R200DALSetControllerConfigForRemap] === CWDDC
ControllerSetConfig failed: 6 - 1
lightning ~ # cat /var/log/Xorg.0.log | grep WW
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): ***
(WW) fglrx(0): * DRI initialization failed!  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available*
(WW) fglrx(0): * *
(WW) fglrx(0): Failed to set up write-combining range (0xd700,0xff)
(WW) fglrx(0): Failed to set up write-combining range (0xd600,0x1ff)
(WW) fglrx(0): Failed to set up write-combining range (0xd400,0x3ff)
(WW) fglrx(0): Failed to set up write-combining range (0xd000,0x7ff)
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
lightning ~ #

7) mtrr problems:

dmesg
SNIP
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
eth0: no IPv6 routers present
lightning ~ #
lightning ~ # cat /proc/mtrr
reg00: base=0x (   0MB), size= 512MB: write-back, count=1
reg01: base=0xd7fe (3455MB), size=  64KB: write-combining, count=1
reg02: base=0xd7fc (3455MB), size= 128KB: write-combining, count=1
reg03: base=0xd7f8 (3455MB), size= 256KB: write-combining, count=1
reg04: base=0xd7f0 (3455MB), size= 512KB: write-combining, count=1
reg05: base=0xd7e0 (3454MB), size=   1MB: write-combining, count=1
reg06: base=0xd7c0 (3452MB), size=   2MB: write-combining, count=1
reg07: base=0xd780 (3448MB), size=   4MB: write-combining, count=1
lightning ~ #

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OTAnn] Feedback

2005-11-07 Thread Holly Bostick
shenanigans schreef:
 
 We have mirrored your mail list in a new application

Is this permitted? (a mirror of the mail list that is unaffiliated with
the Gentoo organization and administration? or is this affiliated?)

And is there something wrong with me that it rather gives me the creeps
if it is (permitted, but not affiliated)?

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



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Jeff Smelser
On Monday 07 November 2005 02:04 pm, Jarry wrote:
  Which you are not doing, and frankly, you're pretty lucky that something
  hasn't blown up up to now.

 That might happen, sooner o later. But still I think it is still better
 than leaving some hole for uninvited visitors.
 Thanks for your constructive explanation.

Yeah, but your not restarting anything anyway, so your point is moot.. The 
service is still running with a big fat hole in it regardless..

Jeff


pgpr1tHRlSmXt.pgp
Description: PGP signature


Re: [gentoo-user] [OT] Accessing Linux filesystems from Windows with Crossmeta

2005-11-07 Thread Billy Holmes

Heinz Sporn wrote:

Noone's interested in this? Are you kidding me? ;-)


haha.. I don't run windows in a situation where I have to access files 
from a physical drive. I rarely run windows at all, actually.



Well, in the end I got this thing running and I now have read and
*write* access to an XFS partition from Windows.


I *do* think this is very cool. Perhaps you should create a wiki entry 
with this information?


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread John Jolet
On Monday 07 November 2005 15:22, Qian Qiao wrote:
 On 11/7/05, Jarry [EMAIL PROTECTED] wrote:
  b.n. wrote:
   Polite and respectful.
  
   They don't look that much.
 
  Well, I always thought that using the words like please is a sign
  of respect to others. On the other side, some of replies included
  phrases like ...it bloody matters!... or how the hell would we
  know...! or Jarry needs variable BRAVE_YET_DUMB=1. Although
  such words do not sound good to me, I would never dare to say their
  authors are arrogant...

 You are just brave and dumb. Take a look at how many people explained
 or attempted to explain why running upgrades as cron jobs is a dumb
 thing do to, and you simply neglected them. To make things worse, you
 stated: I prefer rather breaking some dependencies in my system, over
 leaving some security hole in it. Which is plain bs.
At the risk of of adding to the flames here, perhaps an example is in 
order I once worked as a sysadmin for a guy who firmly believed in 
security.  To prevent any security holes from lingering, he did an apt-get 
update out of cron every friday nighton production servers (we were 
running debian).  The instance of us having to spend monday fixing what broke 
friday was about 10%.  Unacceptable on a server.  I don't even do that on my 
test systems.

  I asked the question seriously. When I switched to gentoo, everybody
  told me ...c'mon, come'n'try gentoo, there are no versions like in
  redhat, suse or debian, it is always updated! Suddenly there are
  versions...
 
  (BTW, I wrote I was impressed by portage speed last week, during
   upgrade. It means I could not have old portage version)

 As well as brave and dumb, you are also ignorant. There are versions,
 and it is clearly mentioned in the documentations. It's always
 up-to-date doesn't mean there are no versions. There are no
 *releases*, but there are versions.

 Back to the arrogance bit, people give you advices or suggestions, in
 the hope that you could maintain your system better, you are perfectly
 entitled to stick to your no-so-bright way, but you can't stop us
 thinking that defending those *wrong* ways are somewhat arrogant.

 Again, good luck with your server maintenance.

 -- Joe

 --
 There are 3 kinds of people in the world:
 Those who can count, and those who can't.

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Jarry
Holly Bostick wrote:

 Hmmm, interesting concept. What else does root have to do but administer
 the server?

Well, in this case it is not some serious server, just for funplay.
And sometimes I really do not have time to take care of it for a couple
of days, week or two. I have a different job...

 What difference does it make if there's a security hole if the server
 itself doesn't work?

Let us say, if server is down, it can not be misused for further
attacks, spam-sending, ddos, etc. That could easily happen, if someone
gained root-access (I think)...

 So you have time to fix the errors, but not time to prevent them before
 they occur?

As I said previously: fixing errors later is my problem. But if I do
not close some security leak, it would be then problem for me and maybe
someone else too. There are too many unpatched and vulnerable computers
on the net, I did not want to cotribute to it...

But there is definitely something in what you are saying. Maybe I will
think over it again...

Jarry

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread b.n.
Polite and respectful. 


They don't look that much.



Well, I always thought that using the words like please is a sign
of respect to others. 


Sometimes it looks more like sarcasm.
Yours is a bit autistic way to deal with human language. It is not 
like using please in a sentence means an automatic grep turns on a 
RESPECTFUL_LANGUAGE=1 flag in response.



On the other side, some of replies included
phrases like ...it bloody matters!... or how the hell would we
know...! or Jarry needs variable BRAVE_YET_DUMB=1. Although
such words do not sound good to me, I would never dare to say their
authors are arrogant...


These people are treating you with confidence. They're kidding with you 
because they assume you're understanding we're just kidding and we're 
all respectful of each other, at a deeper level. They assume you have a 
life and you don't have to feel hurt by every little single humour is 
done at you.



which version of portage you are running!
Do you really think it is important? Because since I'm using Gentoo,
I do not take care about versions, portage does it instead of me.



I asked the question seriously. When I switched to gentoo, everybody
told me ...c'mon, come'n'try gentoo, there are no versions like in
redhat, suse or debian, it is always updated! Suddenly there are
versions...


Ehm... They were asking about a Portage version, not a Gentoo version. 
It's TRUE you don't have to deal with your distro versions more (that's 
the thing I love more about Gentoo), but your packages still have 
version numbers...



Taking a simple joke this seriously doesn't make you look superior. In
fact you look much more childish than the original poster. If you were
really a superior intelligence, you would have at least asked yourself
*why* so much people were laughing at your post.



Aha, now I understand! I should have probably answer:
AND_YOU_ARE_EVEN_BIGGER_FOOL_LOL=1
That would have been probably even better simple joke, huh? :-)
now THIS is sarcasm from me, I would never write something like that


Ok, I assume your sense of humour is hopeless :-D


You copy-and-paste the manual (implicitly stating we're all
morons that have never read it)


I copypasted it to let you know where I got that idea...


Yes, I figured it out. But it's the impression you give that's quite bad.


And that's two characters, BTW (a letter and a dot :P )
m.



OK, that's cool, I will use it from now! :-)


?

I just don't see what's odd or wrong or cool with signing with just my 
name initial... who cares about my name,anyway?


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



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Mark
OK, can y'all just drop it? Filling my inbox with bickering is not why
I subscribe to such a fine technical list


On 11/7/05, Qian Qiao [EMAIL PROTECTED] wrote:
 On 11/7/05, Jarry [EMAIL PROTECTED] wrote:
  b.n. wrote:
 
   Polite and respectful.
   They don't look that much.
 
  Well, I always thought that using the words like please is a sign
  of respect to others. On the other side, some of replies included
  phrases like ...it bloody matters!... or how the hell would we
  know...! or Jarry needs variable BRAVE_YET_DUMB=1. Although
  such words do not sound good to me, I would never dare to say their
  authors are arrogant...

 You are just brave and dumb. Take a look at how many people explained
 or attempted to explain why running upgrades as cron jobs is a dumb
 thing do to, and you simply neglected them. To make things worse, you
 stated: I prefer rather breaking some dependencies in my system, over
 leaving some security hole in it. Which is plain bs.

  I asked the question seriously. When I switched to gentoo, everybody
  told me ...c'mon, come'n'try gentoo, there are no versions like in
  redhat, suse or debian, it is always updated! Suddenly there are
  versions...
 
  (BTW, I wrote I was impressed by portage speed last week, during
   upgrade. It means I could not have old portage version)

 As well as brave and dumb, you are also ignorant. There are versions,
 and it is clearly mentioned in the documentations. It's always
 up-to-date doesn't mean there are no versions. There are no
 *releases*, but there are versions.

 Back to the arrogance bit, people give you advices or suggestions, in
 the hope that you could maintain your system better, you are perfectly
 entitled to stick to your no-so-bright way, but you can't stop us
 thinking that defending those *wrong* ways are somewhat arrogant.

 Again, good luck with your server maintenance.

 -- Joe

 --
 There are 3 kinds of people in the world:
 Those who can count, and those who can't.

 --
 gentoo-user@gentoo.org mailing list




--
Mark
[unwieldy legal disclaimer would go here - feel free to type your own]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Alsa for Kernel2.4

2005-11-07 Thread David Harel

Thanks for your reply,

Du you know if there is a kernel configuration I should do to have ALSA 
on 2.4? for example should I have OSS set or midi loopback device?


Christoph Eckert wrote:

I understand I can have ALSA on kernel 2.4 (I can't shift to 2.6 -
display driver issue) so how do I do it?



in 2.4 ALSA is completely outside the kernel, so you need the following 
packages:


* ALSA-lib
* ALSA-driver
* ALSA-utils (optional but recommended)


Best regards


ce


--
Thanks.

David Harel,

==

Home office +972 77 4422234
Fax:+972 77 4422234
Cellular:   +972 54 4534502
Snail Mail: Amuka
D.N Merom Hagalil
13802
Israel
Email:  [EMAIL PROTECTED]

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Qian Qiao
On 11/7/05, Jarry [EMAIL PROTECTED] wrote:
trim
doh, everything is trimmed. :D
/trim

Let's leave the brave, dumb, ignorance, arrogance out, and concentrate
on maintaining a server, especially production servers with clients.

First of all, I should point out that maintaining a server is far more
than just keeping everything up to date, it is more about providing
all of the clients consistent and stable services.

To provide such services of such quality, down times should be kept
minimal. Thus, b0rked system with no security holes mean no value to
clients as they need a working system.

Also, major changes should be kept minimal, some software make major
configuration file changes once in a while, and that should be
avoided. Having your clients to change their file/code to match your
setting will leave you with unhappy clients who may just leave.

System restarts, hmmm, a few times in a year is probably a lot. Some
software restarts should also be avoided. For example, a webserver
restart will cause all http clients to lose their session, and all the
data stored in the session. There may well be important data in the
session, thus doing so is just irresponsible.

So now the ultimate question: when should updates by applied to the
system, and what shall be applied.
1. Security fixes. Gentoo provides emerge --security, which prints out
security advices based on the packages installed on your system. You
should keep an eye on that, rather than upgrading everything.
2. Popular feature request. If most of you clients request MySQL 4.1
while you are running 4.0, you should probably upgrade.
3. Bug fixes. For example, a few clients run into a well known bug in
PHP3, you should probably take the opportunity to upgrade it to PHP4.

As to how there upgrades shall be applied:
1. Upgrades that are transparent can be applied immediately.
Transparent means no configuration change, no service interruption
expected.
2. Inform everyone about the upgrades that will cause down time, and
give them an estimated time of when these upgrades are applied, and
roughly how long the down time is expected.
3. Schedule maintenance slots.

You clients should always know what to expect from you.

With all the above considerations in mind, I'm pretty sure that a cron
job for the updates is a brave yet not-so-bright move, and should be
avoided.

BTW, the above short guild is in no way official or complete, it is
just my personal experience. There maybe other people who wants to
amend, or there may well be special considerations from your side.

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Holly Bostick
Jeff Smelser schreef:
 On Monday 07 November 2005 02:04 pm, Jarry wrote:
 
 Which you are not doing, and frankly, you're pretty lucky that 
 something hasn't blown up up to now.
 
 That might happen, sooner o later. But still I think it is still 
 better than leaving some hole for uninvited visitors. Thanks for 
 your constructive explanation.
 
 
 Yeah, but your not restarting anything anyway, so your point is 
 moot.. The service is still running with a big fat hole in it 
 regardless..

No, no, Jeff, that is apparently where you are wrong:

Jarry schreef:

 Well, this will be probably criticised, but after every upgrade 
 (independently of what was really updated) I restart sshd, named, 
 sendmail and apache, even with old config-files. I thought that way 
 not only my system is updated, but also new versions of those daemons
  are running. Rest (I thought) is not important...

So you see, the mail server, ssh server and web server *are* restarted.

Whether or not they were the services actually updated (or needing
update), and without regard to
whether the change required an updated *configuration* file, which--
since etc-update was not run-- did not take place. But we all know that
fixing a security hole never has any relationship to the application's
config files, ever. Don't we? And of course restarting those four
servers, even with old config files, constitutes a full and complete
update, patching all relevant security holes covered by the emerge -uDN
world. *Ob*viously. Because *ob*viously, emerge -uDNworld updates to the
version of whatever containing the patch for the hole. No matter what
your ACCEPT_KEYWORDS is set to, no matter what USE flags are enabled.

I mean, *really*, Jeff. What *are* you thinking? Why on earth should we
need to pay attention to any of that stuff? Don't you know Gentoo
manages your server(s) for you? (Wonder why it takes two days to a week
to install, if it does all this automatic management so well?!)

I hope you see how mistaken you are and are duly chastened.

Holly
;-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread A. Khattri
On Mon, 7 Nov 2005, John Jolet wrote:

 At the risk of of adding to the flames here, perhaps an example is in
 order I once worked as a sysadmin for a guy who firmly believed in
 security.  To prevent any security holes from lingering, he did an apt-get
 update out of cron every friday nighton production servers (we were
 running debian).  The instance of us having to spend monday fixing what broke
 friday was about 10%.  Unacceptable on a server.  I don't even do that on my
 test systems.

I can understand the paranoia of having your servers hacked but there is
usually a middle ground that works reasonably well. I run a script nightly
via cron but all it does is do a portage sync and then *prebuild* binary
packages for any important updates before sending an email in them
morning. I have to apply the updates manually but this gives you a chance
to test and/or rollback if need be. The only downside is that manual
intervention is required - can't have everything I suppose.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Qian Qiao
On 11/7/05, Qian Qiao [EMAIL PROTECTED] wrote:

Oh, I left out an important note: major upgrades, feature upgrades
should always be tested on a test server before applying to
production.

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: emerge R

2005-11-07 Thread Ian Porter
Hi,

On Thursday 27 October 2005 12:30, Ian Porter wrote:
 Hi,

  You should definitely use these drivers - they're excellent. I'm sure
  that once you `emerge rt2500` your problems will be resolved. The name
  of the interface will change from wlan0 to ra0, so you'll need to
  rename your init.d script  edit /etc/conf.d/net or
  /etc/conf.d/wireless

 Thanks, the rt2500 will be installed once I am back online at home.

Just to say thanks for all of the help and advice on this problem, once I had 
done an module-rebuild rebuild and also re-emerge wpa_supplicant, everything 
is working fine :). thanks again

I did try to get the rt2500, but
 * Checking for suitable kernel configuration options:
 *   SMP Processors and Kernels are currently not supported
.config file = 
CONFIG_SMP=y

I am going to stay with the ndiswrapper at present and keep on checking out 
the rt2500 driver in the future.

Thanks again 
Ian


 Thanks again.
 Ian

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



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Jarry
b.n. wrote:

 phrases like ...it bloody matters!... or how the hell would we
 know...! or Jarry needs variable BRAVE_YET_DUMB=1. Although
 such words do not sound good to me, I would never dare to say their
 authors are arrogant...
 
 These people are treating you with confidence. They're kidding with you
 because they assume you're understanding we're just kidding and we're
 all respectful of each other, at a deeper level. They assume you have a
 life and you don't have to feel hurt by every little single humour is
 done at you.

Believe me, or not, but I really did not know this was kidding (and it
is the most surprising info I got today). Respect to you all, but in my
country and culture we do not call something like that kidding...

Thanks for all replies, subject closed!

Jarry

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OTAnn] Feedback

2005-11-07 Thread Thomas Tuttle
On November 07 at 16:49 EST, Mark Knecht hastily scribbled:
 I received an email from these guys and decided it was spam. Is it?
 
 - Mark
It sounded to me either like spam or a humorous imitation of all the
Web 2.0 stuff going around (a Web 2.01 app?)

Either way, I'd ignore it.

 On 11/7/05, Holly Bostick [EMAIL PROTECTED] wrote:
  shenanigans schreef:
  
   We have mirrored your mail list in a new application
 
  Is this permitted? (a mirror of the mail list that is unaffiliated with
  the Gentoo organization and administration? or is this affiliated?)
 
  And is there something wrong with me that it rather gives me the creeps
  if it is (permitted, but not affiliated)?
 
  Holly
  --
  gentoo-user@gentoo.org mailing list
 
 
 
 -- 
 gentoo-user@gentoo.org mailing list
 

-- 
Thomas Tuttle
Your ad here! Discount rates for OSS projects. (Email for details.) ;-)
email: thinkinginbinary.com | www: http://thinkinginbinary.webhop.net/
aim: thinkinginbinary | jabber: thinkinginbinary.org


pgpJutOyo4Ezi.pgp
Description: PGP signature


Re: [gentoo-user] LTSP vs. Diskless Nodes

2005-11-07 Thread A. Khattri
On Tue, 1 Nov 2005, Bob Sanders wrote:

 Why not 4P with dual cores?  While they work, the need is  i/o and memory 
 bandwidth.
 4 sockets does that while 2 sockets and 2 dual-cores cores is only half the 
 bandwidth.

Its very expensive, but you can now go up to 16 Opeteron cores in a single
machine. Meanwhile, AMD are working on quad-core processors ;-)


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread kashani

Jarry wrote:

As I said previously: fixing errors later is my problem. But if I do
not close some security leak, it would be then problem for me and maybe
someone else too. There are too many unpatched and vulnerable computers
on the net, I did not want to cotribute to it...

But there is definitely something in what you are saying. Maybe I will
think over it again...


	Your assumption works if your only line of defense is the software 
itself. This is why your smart security book recommends a layered 
defense such as a firewall, system acls or capabilities, dropping 
privileges, chrooting services, configurations done with security in 
mind, selinux, stack protection, etc. Ideally you'd be able to schedule 
an update in the window of your choosing because your other defenses are 
in place protecting you until you can update your software in a 
controlled sensible way without downtime. It's not always the case, but 
the odds are much more in your favor in this scenerio.


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



Re: [gentoo-user] two ati-drivers packages using --deep --update

2005-11-07 Thread Manuel McLure

Mark Knecht wrote:

On 11/7/05, Manuel McLure [EMAIL PROTECTED] wrote:



The 32-bit drivers won't work on a 64-bit kernel, but ATI does provide
64-bit binary drivers as well (and the ebuild should download the
correct one depending on whether you're on a 64-bit or 32-bit Gentoo
install.)

--



Manuel,
   Hi. Are you able to make this work? I'm not. (so far...)



1) I emerged ati-drivers-8.18.8-r1. Is that new enough?


I had this working with the 8.14.13 drivers and kernel 
2.6.12-mumblemumbe. My Gentoo64 installation has gone byebye, so I 
haven't tested with newer versions.



lightning ~ # emerge -pv ati-drivers


Make sure that /usr/src/linux points to /usr/src/linux-version, where 
version is the exact version that uname -a reports. Also, when you 
upgrade kernels, you *must* remerge ati-drivers, since they need to 
build against the current kernel sources.



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

Calculating dependencies ...done!
[ebuild   R   ] media-video/ati-drivers-8.18.8-r1  +opengl 0 kB

Total size of downloads: 0 kB
lightning ~ #

2) I ran the app referenced in the emerge output to set up xrog.config:

aticonfig --initial --input=/etc/X11/xorg.conf

3) I looked at xorg.conf. It looks OK, if a bit confusing. Now it
appears that the developers are attempting to make a single xorg.conf
that works with either the radeon driver or the fglrx driver? That
would be nice.

4) I switched to fglrx in /etc/modules.audtoload.d/kernel.2.6 and rebooted.


This shouldn't be needed - the fglrx X module should autoload the fglrx 
module for you.



5) fglrx did not load:
lightning ~ # lsmod | grep fglrx
lightning ~ #


Any messages in /var/log/messages or dmesg output?


6) Xorg.0.log results:


[SNIP]


(WW) fglrx(0): Failed to set up write-combining range (0xd700,0xff)
(WW) fglrx(0): Failed to set up write-combining range (0xd600,0x1ff)
(WW) fglrx(0): Failed to set up write-combining range (0xd400,0x3ff)
(WW) fglrx(0): Failed to set up write-combining range (0xd000,0x7ff)
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
lightning ~ #

7) mtrr problems:

dmesg
SNIP
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
eth0: no IPv6 routers present
lightning ~ #
lightning ~ # cat /proc/mtrr
reg00: base=0x (   0MB), size= 512MB: write-back, count=1
reg01: base=0xd7fe (3455MB), size=  64KB: write-combining, count=1
reg02: base=0xd7fc (3455MB), size= 128KB: write-combining, count=1
reg03: base=0xd7f8 (3455MB), size= 256KB: write-combining, count=1
reg04: base=0xd7f0 (3455MB), size= 512KB: write-combining, count=1
reg05: base=0xd7e0 (3454MB), size=   1MB: write-combining, count=1
reg06: base=0xd7c0 (3452MB), size=   2MB: write-combining, count=1
reg07: base=0xd780 (3448MB), size=   4MB: write-combining, count=1
lightning ~ #



From what I see here, it looks like the MTRR stuff is the problem. 
Possibly some of the patchsets in the -rt kernels (as opposed to the 
-gentoo kernels) are causing problems. I'd try manually doing a 
modprobe fglrx and see if there are any useful messages. Also, you 
might try to use fglrxconfig instead of aticonfig to create the 
configuration.


--
Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Jeff Smelser
On Monday 07 November 2005 03:52 pm, Holly Bostick wrote:
 No, no, Jeff, that is apparently where you are wrong:

Heh, I missed this tidbit..

 Jarry schreef:
  Well, this will be probably criticised, but after every upgrade
  (independently of what was really updated) I restart sshd, named,
  sendmail and apache, even with old config-files. I thought that way
  not only my system is updated, but also new versions of those daemons
   are running. Rest (I thought) is not important...

 So you see, the mail server, ssh server and web server *are* restarted.

 Whether or not they were the services actually updated (or needing
 update), and without regard to
 whether the change required an updated *configuration* file, which--
 since etc-update was not run-- did not take place. But we all know that
 fixing a security hole never has any relationship to the application's
 config files, ever. Don't we? And of course restarting those four
 servers, even with old config files, constitutes a full and complet
 update, patching all relevant security holes covered by the emerge -uDN
 world. *Ob*viously. Because *ob*viously, emerge -uDNworld updates to the
 version of whatever containing the patch for the hole. No matter what
 your ACCEPT_KEYWORDS is set to, no matter what USE flags are enabled.

 I mean, *really*, Jeff. What *are* you thinking? Why on earth should we
 need to pay attention to any of that stuff? Don't you know Gentoo
 manages your server(s) for you? (Wonder why it takes two days to a week
 to install, if it does all this automatic management so well?!)

Heh, well, I stand corrected. I am sure we should all be doing this, because 
its obviously the right thing to do..

Well, i have been bitten on upgrades I was watching, he will be bit 
eventually, then he will come crying here.

Jff


pgpv0blZH9zF9.pgp
Description: PGP signature


Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Jeff Smelser
On Monday 07 November 2005 03:38 pm, Jarry wrote:

 As I said previously: fixing errors later is my problem. But if I do
 not close some security leak, it would be then problem for me and maybe
 someone else too. There are too many unpatched and vulnerable computers
 on the net, I did not want to cotribute to it...

 But there is definitely something in what you are saying. Maybe I will
 think over it again...

I am curious, what program recently has been biting you that your so worried 
about remote attackers? 

Besides that, if you have your firewall and so forth set right, this should 
keep the problem pretty limited.. Considering its a play machine, what would 
you really need open to the entire world?

Jeff


pgpdUjWcyjwj8.pgp
Description: PGP signature


Re: [gentoo-user] Kernel 2.6.14 Nvidia

2005-11-07 Thread Peper
 Has anyone got Nvidia to work with Kernel 2.6.14 ?
 I had it working with 2.6.12 , but got an error with 2.6.14 :
   (EE) NVIDIA(0): Failed to initialise NVIDIA kernel module!
   (EE) NVIDIA(0): *** aborting ***
   (EE) Screen(s) found, but none have usable configuration

Have you really tried running /sbin/NVmakedevices.sh
 as root before starting xorg?

-- 
Best Regards,
Peper
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Qian Qiao
On 11/7/05, A. Khattri [EMAIL PROTECTED] wrote:
 I can understand the paranoia of having your servers hacked but there is
 usually a middle ground that works reasonably well. I run a script nightly
 via cron but all it does is do a portage sync and then *prebuild* binary
 packages for any important updates before sending an email in them
 morning. I have to apply the updates manually but this gives you a chance
 to test and/or rollback if need be. The only downside is that manual
 intervention is required - can't have everything I suppose.

Unless we have a tool with enough intelligence to read the message
spit out by the ebuild during the upgrade, and handle them correctly,
I'd guess system administration is still a manual job.

I do have cron jobs, but what they do are: emerge --sync, emerge
--security. and do monthly/nightly backup.

For software upgrades, I do them by hand, and most of the time,
one-by-one. Just to ensure everything is working as intended.

Hmmm, working as intended, no one here play WoW on EU realms right, :P

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread Billy Holmes

Holly Bostick wrote:

world. *Ob*viously. Because *ob*viously, emerge -uDNworld updates to the
version of whatever containing the patch for the hole. No matter what
your ACCEPT_KEYWORDS is set to, no matter what USE flags are enabled.


I also wanted to add something: sometimes patches are submitted and they 
don't fix the entire problem. Sometimes, they are just bad patches that 
somehow made it into the release. Humans after all control the versions, 
push the changes, and update keywords. We make mistakes. Computer just 
propogate that mistake at lightening speeds.


So in a production environment, to update immediately is not always the 
best advice. There should always be some $delay between when the patch 
is released, and it's applied to production. $delay being defined by 
your local policies, commitments, and need to CYA.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread A. Khattri
On Mon, 7 Nov 2005, Qian Qiao wrote:

 3. Schedule maintenance slots.

That's the best way to manage updates.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kernel 2.6.14 Nvidia

2005-11-07 Thread Thierry de Coulon
On Monday, 7 November 2005 22:31, Peper wrote:
  Has anyone got Nvidia to work with Kernel 2.6.14 ?
  I had it working with 2.6.12 , but got an error with 2.6.14 :
(EE) NVIDIA(0): Failed to initialise NVIDIA kernel module!
(EE) NVIDIA(0): *** aborting ***
(EE) Screen(s) found, but none have usable configuration

 Have you really tried running /sbin/NVmakedevices.sh
  as root before starting xorg?

 --
 Best Regards,
 Peper

I did. It worked.

Thierry

-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kernel 2.6.14 Nvidia [SOLVED]

2005-11-07 Thread Philip Webb
051107 Peper wrote:
 Has anyone got Nvidia to work with Kernel 2.6.14 ?
 I had it working with 2.6.12 , but got an error with 2.6.14 :
   (EE) NVIDIA(0): Failed to initialise NVIDIA kernel module!
   (EE) NVIDIA(0): *** aborting ***
   (EE) Screen(s) found, but none have usable configuration
 Have you tried running  /sbin/NVmakedevices.sh  before starting xorg?

No, I hadn't, but that would solve the problem.
The solution was to be found in the Forum (as often)
 it seems that the problem arises from a combination of kernel + NV version.
Some people have solved it by emerging the ~86 NV version 7676 ,
others -- incl me -- by adding some lines to  /etc/conf.d/local.start , ie

  for i in 0 1 2 3 4 5 6 7; do
node=/dev/nvidia$i
rm -f $node
mknod $node c 195 $i  || echo mknod \$node\
chmod 0660 $node  || echo chmod \$node\
chown :video $node|| echo chown \$node\
  done
   
  node=/dev/nvidiactl
  rm -f $node
  mknod $node c 195 255   || echo mknod \$node\
  chmod 0666 $node|| echo chmod \$node\
  chown :video $node  || echo chown \$node\

This is simpler than  NVmakedevices.sh , which also could disappear:
in fact, someone claimed not to have it with some version combination.

Thanks to everyone who offered advice.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



  1   2   >