Re: [gentoo-user] logrotate desn't create new empty files
On 8/5/07, Mick [EMAIL PROTECTED] wrote: I am not sure I understand that doesn't work: It does not rotate the message log file at all? It rotates it but does not create a new empty message log file after rotation? Thanks for your reply and sorry for answering so late. rotating the logs woks fine, the problem was that it didn't create new empty log. and because of size 5M it rotated the logs every day after it reached the size 5M and didn't create new empty files. I thinkl the problem was the copy parameter, it seems to work now. Thanks to all people who helped me. Regards Jakob -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] logrotate desn't create new empty files
Look for a dead.letter file in /root which may contain any errors of the logrotate script. In my system there is /etc/logrotate.d/syslog-ng which contains: === # $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate,v 1.2 2004/07/18 02:25:02 dragonheart Exp $ # # Syslog-ng logrotate snippet for Gentoo Linux # contributed by Michael Sterrett # /var/log/messages { sharedscripts postrotate /etc/init.d/syslog-ng reload /dev/null 21 || true endscript } === It seems to rotate the messages log file fine and create compressed backups within /var/log. If you have both scripts then there may be a conflict which would probably be captured in dead.letter. HTH. -- Regards, Mick Thanks for that hint, but there was nothing about logrotate in dead.letter. logrotate itself works fine for me but I want the messages file erased after rotating and start with a new file and that doesn't work. any more ideas? Regards Jakob -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] logrotate desn't create new empty files
from LOGROTATE(8): Here is more information on the directives which may be included in a logrotate configuration file: [...] copy Make a copy of the log file, but don't change the original at all. This option can be used, for instance, to make a snapshot of the current log file, or when some other utility needs to truncate or pare the file. When this option is used, the create option will have no effect, as the old log file stays in place. -- [EMAIL PROTECTED] mailing list Thanks for that, I deleated copy, but it seams that the problem stays :-( -- [EMAIL PROTECTED] mailing list
[gentoo-user] logrotate desn't create new empty files
Hi all, I'm running logrotate on my homeserver and the logs are rotated correctly but after rotating it should create new empty log files and that doesnt work. here are my confs: /etc/logrotate.conf: # $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/files/logrotate.conf,v 1.2 2004/07/18 01:58:24 dragonheart Exp $ # # Logrotate default configuration file for Gentoo Linux # # See man logrotate for details # rotate log files weekly weekly #daily # keep 4 weeks worth of backlogs rotate 10 # create new (empty) log files after rotating old ones create # uncomment this if you want your log files compressed compress # packages can drop log rotation information into this directory include /etc/logrotate.d notifempty nomail noolddir # no packages own lastlog or wtmp -- we'll rotate them here /var/log/wtmp { monthly create 0664 root utmp rotate 1 } # system-specific logs may be also be configured here. and /etc/logrotate.d/syslog-ng: # $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate,v 1.2 2004/07/18 02:25:02 dragonheart Exp $ # # Syslog-ng logrotate snippet for Gentoo Linux # contributed by Michael Sterrett # /var/log/messages { dateext olddir /var/log/ copy create 0600 root root size 5000k sharedscripts postrotate /etc/init.d/syslog-ng reload /dev/null 21 || true endscript } I thought create will do this but it doesn't work and my logs getting bigger and bigger. What did I do wron? Regards Jakob -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] NIC problems after MS Windows update
Hi Mike, I don't know if this helps but I have a Realtek 8169 in my box and if I hibernate windows and then boot up gentoo my card isn't working. If I boot windows again and shut it down (not hibernate) and then boot up gentoo again the card is working. it seems that windows reserves the card when hibernating and only give it back to normal state with a normal shutdown. regards jakob -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] NIC problems after MS Windows update
Anything else I could try? How do I troubleshoot it? Have a look at the log files is always a good way to troubleshoot ;-) what does dmesg and /var/log/messages say about eth0 or 8139? -- [EMAIL PROTECTED] mailing list
[gentoo-user] Asus P5B Deluxe RAID not recognized
Hello List, I'm trying to set up an server with a RAID 5 but its not recognized by the system. Mainboard: Asus P5B Deluxe CPU: Core2Duo 6600 2,40 GHz Storage: 3x 320GB Hitachi SATA2 I've setup the RAID 5 withe the onboard Intel Matrix Storage Controller I've tried about 5 different livecd's but none of them recognized the RAID5, I always have /dev/sda sdb sdc with each 320GB but no RAID. After several tryouts I managed to install gentoo to an new attached IDE drive and built my own kernel (2.6.19-r5 gentoo sources) because I thought maybe the kernels from the livecds are to old but I still have the problem that the RAID isnt recognized. for now I think the problem is the Intel Matrix Storage controller. Did someone managed to get the RAID recognized with this controller? Do I have to use an newer kernel version? thisis the output of lspci: 00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02) 00:01.0 PCI bridge: Intel Corporation 82P965/G965 PCI Express Root Port (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #2 (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02) 00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02) 00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2) 00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02) 00:1f.2 SATA controller: Intel Corporation 82801HB (ICH8) SATA AHCI Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02) 02:00.0 Ethernet controller: Marvell Technology Group Ltd. Unknown device 4364 (rev 12) 03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02) 03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02) 05:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) 05:04.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 14) the livecds I've tried are: gentoo 2006.1 livecd gentoo-small x86 from kernel of truth gentoo-small amd64 from kernel of truth knoppix 5.1.1 DVD fedora core 6 DVD I've also flashed the bios to the newest version. I hope someone could help me. thanks in advance Kind regards Jakob -- gentoo-user@gentoo.org mailing list
[gentoo-user] [Way OT] Kernel Symlink use or not use?
hi @ all I considered switching to LFS a while ago as this would be the only Linux distribution fulfilling my requirements (besides Gentoo, of course). So when reading the LFS Book there was a warning saying Quote from LFS Book 6.2: Some kernel documentation recommends creating a symlink from /usr/src/linux pointing to the kernel source directory. This is specific to kernels prior to the 2.6 series and must not be created on an LFS system as it can cause problems for packages you may wish to build once your base LFS system is complete. The Gentoo Documentation however says: Quote from http://www.gentoo.org/doc/en/kernel-upgrade.xml Gentoo requires that the /usr/src/linux symbolic link points to the sources of the kernel you are running. Quote from http://www.gentoo.org/doc/en/alsa-guide.xml Note: The above example assumes that /usr/src/linux symlink points to the kernel sources you want to use. Please ensure the same before proceeding. But the $KERNEL_DIR/README says: Quote from $KERNEL_DIR/README Do NOT use the /usr/src/linux area! This area has a (usually incomplete) set of kernel headers that are used by the library header files. They should match the library, and not get messed up by whatever the kernel-du-jour happens to be. So after reading this I searched groups.google.com and the forums about this issue and found a different approach, which can be used instead of the /usr/src/linux symlink. It's as follows: In /etc/profile Set $KERNEL_DIR to /kernel/src/current (symlink) Set $KBUILD_OUTPUT to /dir/to/store/output/files So what's the best way and _why_? Does it even matter? Cheers, Jay -- Join Linuxfriendlyhardware.org project on irc.freenode.org#lfh (german) Registered Linux User #373457 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] package seems to block itself
On 3/10/07, John covici [EMAIL PROTECTED] wrote: [ebuild U ] app-crypt/gnupg-1.9.21 [1.9.20-r3] USE=X ldap nls -gpg2-experimental (-selinux) -smartcard (-caps%) 1,858 kB [blocks B ] app-crypt/gnupg (is blocking app-crypt/gnupg-1.9.20-r3) It seems that the installed version (1.9.20-r3) blocks the new one (1.9.21). it should work with emerge --unmerge gnupg and than emerge -av gnupg I m not sure if it removes you gnupg setting, so its on you own risc. -- gentoo-user@gentoo.org mailing list
[gentoo-user] ALSA_CARDS Variable in-kernel drivers?
Hi! I just read about the required ALSA_CARDS variable when using in-kernel drivers in the Gentoo Newsletter. Since I am using in-kernel ALSA drivers I would like to know what changed and why this is required? Is this explained somewhere? I am using vanilla-sources (not gentoo-sources). So do I need to set ALSA_CARDS when using vanilla-sources too? Cheers, Jay -- My system configuration (Gentoo Linux): http://www.linux-stats.org/index.php?c=userpagesys=810 Registered Linux User #373457 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA_CARDS Variable in-kernel drivers?
b.n. wrote: Jakob Buchgraber ha scritto: Hi! I just read about the required ALSA_CARDS variable when using in-kernel drivers in the Gentoo Newsletter. Since I am using in-kernel ALSA drivers I would like to know what changed and why this is required? Is this explained somewhere? I am using vanilla-sources (not gentoo-sources). So do I need to set ALSA_CARDS when using vanilla-sources too? The GWN seems clear: for users using the in-kernel drivers, they should now properly set that variable I think that the other alsa packages must be aware of it. Anyway I think setting it shouldn't harm. m. Thank you for your reply! It's clear to me that setting the variable doesn't harm however I'd like to know why exactly. Does anybody have in-detail informations? Cheers, Jay -- My system configuration (Gentoo Linux): http://www.linux-stats.org/index.php?c=userpagesys=810 Registered Linux User #373457 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Bon Echo (why?)
Gyuszk wrote: Dear gentoo users, As you all know, Firefox 2.0.0.2 is stable on x86 in Portage. When one emerges it, Gnome menu call, and the software calls itself (in about box) Bon Echo (the codename of Firefox 2 development tree). Why? Is really development version of Firefox in Portage, or what? Thanks a lot Check out the article about Bon Echo on Wikipedia: http://en.wikipedia.org/wiki/Mozilla_Firefox#Trademark_and_logo_issues Cheers, Jay -- My system configuration (Gentoo Linux): http://www.linux-stats.org/index.php?c=userpagesys=810 Registered Linux User #373457 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - Some miscellanous questions about hack attacks and dealing with them
Whenever I see someone trying the break in in the logsentry reports, I add their IP to the deny_hosts.conf file and restart ipkungfu so that the changes will take effect. maybe you want to have a look at sshdfilter http://www.csc.liv.ac.uk/~greg/sshdfilter/ jakob -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Delete or bksp?
Jamie Harr wrote: Hello I've been using redhat forever Switch to GenToo a week or so ago WOW!! I'm really impressed! The only problem I have is the delete key doesn't work like it did with redhat. I hit delete and it acts like back space.I've google'd and searched mailing lists but the solution eludes me still. So how might I make the delete key act like it did in redhat? Jamie -- gentoo-user@gentoo.org mailing list Under X or in the shell? - jay -- My system configuration (Gentoo Linux): http://www.linux-stats.org/index.php?c=userpagesys=810 Registered Linux User #373457 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] X-Forwarding over wireless
Did you try to export the display manually? I also got some problems using -X but it works perfect by using export DISPLAY=your ip:0 maybe that helps. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Recommendation
failed to load /usr/lib/xorg/modules/extentsions/libGLcore.so failed to load module GLcore (loader failed, 7) failed to load module VESA (module does not exist, 0) failed to load module kbd (module does not exist, 0) failed to load module 'mouse (module does not exist, 0) No Drivers Available First you have to decide if you want to use the free or the closed nvidia driver. note: the closed source driver is only necessary if you need 3d support e.g. for games. Then set your VIDEO_CARDS variable in /etc/make.conf to the driver you want to use, this should pull in the driver you need as an dependency of xorg-server. nano -w /etc/make.conf add the line VIDEO_CARDS=nv #for open source driver or VIDEO_CARDS=nvidia #for the binary nvidia driver hit ctrl+x to exit and y to apply the changes then emerge -av xorg-server and see if the driver you want to use is pulled in as dependency after emerge is finished run xorgconfig. hope this helps. greez Jakob -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Keymap for Spanish laptop
Grant wrote: My girlfriend is from Spain as is her laptop and many of the keys I press don't coincide with the characters printed on the screen. I changed /etc/conf.d/keymap to: KEYMAP=es and rebooted but the keymap behavior doesn't seem to have changed. Does anyone know how to fix this? - Grant You also need to add the keymaps init script to your boot runlevel rc-update add keymaps boot So that updates my keymap for the console? It must default to us then? - Grant As far as I am informed the keymaps init script sets the console keymap to the value of the KEYMAP variable. Cheers, Jay -- My system configuration (Gentoo Linux): http://www.linux-stats.org/index.php?c=userpagesys=810 Registered Linux User #373457 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Keymap for Spanish laptop
Grant wrote: My girlfriend is from Spain as is her laptop and many of the keys I press don't coincide with the characters printed on the screen. I changed /etc/conf.d/keymap to: KEYMAP=es and rebooted but the keymap behavior doesn't seem to have changed. Does anyone know how to fix this? - Grant You also need to add the keymaps init script to your boot runlevel rc-update add keymaps boot Cheers, Jay -- My system configuration (Gentoo Linux): http://www.linux-stats.org/index.php?c=userpagesys=810 Registered Linux User #373457 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge sys-apps/hwinfo-13.0 fails, missing function dbus_connection_disconnect in sys-apps/dbus-1.0.2
Håkon Alstadheim wrote: Emerge sys-apps/hwinfo-13.0 fails, missing function dbus_connection_disconnect ( should be in sys-apps/dbus-1.0.2 ?) I'm not really a C programmer but I tried replacing disconnect with close in that one call from hal.c in hwinfo. That makes it compile ok, but running it makes dbus complain that I'm not allowed to close a shared connection. The most logical explanation AFAICT is that this version of hwinfo expects some other version of dbus. Anybody have any hints ? Coming from SuSE I'm sort-of lost when I don't have hwinfo, I go there all the time to double-check what drivers I should use for disks, X (drm) and all manner of other things. The obvious replacement for hwinfo --cpu is cat /proc/cpuinfo, but for the other stuff I feel like I'm stumbling in the dark... hwinfo also doesn't compile on my notebook. Try downgrading to an older version of dbus and checkout the changelog and the README file. However there are a lot of other ways to get informations about your hardware. Just to name a few: lspci cat /proc/meminfo cat /proc/modules /proc/acpi/* cat /proc/filesystems cat /proc/sys/dev/cdrom/info /proc/scsi/* ... You can also find a lot of information under /sys/ Cheers, Jay -- My system configuration (Gentoo Linux): http://www.linux-stats.org/index.php?c=userpagesys=810 Registered Linux User #373457 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] revdep-rebuild question
Mark Knecht wrote: Hi, I'm not clear why revdep-rebuild is showing lots of broken linkages but then telling me everything is in order and there is no work to do to clean up the system. I haven't seen this before. What's causing it? What's the process to get this cleaned up and down to no messages about broken things? Thanks, Mark gandalf ~ # revdep-rebuild -p Configuring search environment for revdep-rebuild Checking reverse dependencies... Packages containing binaries and libraries broken by a package update will be emerged. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... broken /usr/bin/avibench (requires libaviplay-0.7.so.0) broken /usr/bin/avicap (requires libaviplay-0.7.so.0 libqavm-0.7.so.0) broken /usr/bin/avicat (requires libaviplay-0.7.so.0) SNIP broken /usr/lib/transcode/filter_preview.la (requires /usr/lib/libdv.la) broken /usr/lib/transcode/filter_preview.la (requires /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la) done. (/root/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... done. (/root/.revdep-rebuild.4_ebuilds) Evaluating package order... done. (/root/.revdep-rebuild.5_order) Dynamic linking on your system is consistent... All done. gandalf ~ # All options being passed to revdep-rebuild are also passed to emerge. So write only revdep-rebuild instead of revdep-rebuild -p (pretend) Cheers, jay -- My system configuration (Gentoo Linux): http://www.linux-stats.org/index.php?c=userpagesys=810 Registered Linux User #373457 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Portage world update fails because of masked beryl-plugins
Jan Stępień wrote: Hi everyone, # emerge -avDu world These are the packages that would be merged, in order: Calculating world dependencies | !!! All ebuilds that could satisfy ~x11-plugins/beryl-plugins-0.1.99.2 have been masked. !!! One of the following masked packages is required to complete your request: - x11-plugins/beryl-plugins-0.1.99.2 (masked by: missing keyword) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. (dependency required by x11-wm/beryl-core-0.1.99.2 [ebuild]) !!! Problem resolving dependencies for x11-wm/emerald !!! Depgraph creation failed. Maybe snippets from my /etc/portage/package.* files will be helpful: keywords x11-wm/beryl x11-wm/beryl-core x11-plugins/beryl-plugins x11-plugins/beryl-dbus x11-misc/beryl-manager x11-misc/beryl-settings unmask x11-wm/beryl x11-wm/beryl-core x11-plugins/beryl-plugins x11-plugins/beryl-dbus x11-plugins/beryl-vidcap x11-misc/beryl-manager x11-misc/beryl-settings I'm not very familiar with unmasking system, so most probably an answer to the question I'm asking is more than just obvious - if so, accept my apologies. Nevertheless, I would be grateful for your support. Best regards, Jan Stępień Hey! There is one interesting part in the output of emerge x11-plugins/beryl-plugins-0.1.99.2 (masked by: missing keyword) This means that the package hasn't been tested yet. So you need to replace the following in package.keywords x11-plugins/beryl-plugins by x11-plugins/beryl-plugins ~x86 If you are using another architecture than x86 (like amd64) you need to write ~amd64 instead Cheers, Jay -- My system configuration (Gentoo Linux): http://www.linux-stats.org/index.php?c=userpagesys=810 Registered Linux User #373457 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Short history in terminal (without X)
Roman Naumann wrote: Hi, does someone know, how to increase the history-buffer's size of the terminal? (and I mean the pure terminal, without an X-Server) I mean, if I use some commands producing plenty of output, I cannot scroll to the beginning of the text quite often, because the history buffer is to small. Another inconvenient thing is that the buffer seems to forget everything except the last screen of text, if I switch to another terminal. (alt + F2 for instance). How can I make the history buffer larger, or - if possible - set it infinitely large. (Just as the Konsole of KDE.) Thanks, Roman Naumann. To make it infinitely large you can set the variable HISTSIZE to some huge value like export HISTSIZE=1 You could try setting the history to infinitely in Konsole and then do echo $HISTSIZE Cheers, Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Short history in terminal (without X)
FuziOK wrote: Jakob Buchgraber wrote: Roman Naumann wrote: Hi, does someone know, how to increase the history-buffer's size of the terminal? (and I mean the pure terminal, without an X-Server) I mean, if I use some commands producing plenty of output, I cannot scroll to the beginning of the text quite often, because the history buffer is to small. Another inconvenient thing is that the buffer seems to forget everything except the last screen of text, if I switch to another terminal. (alt + F2 for instance). How can I make the history buffer larger, or - if possible - set it infinitely large. (Just as the Konsole of KDE.) Thanks, Roman Naumann. To make it infinitely large you can set the variable HISTSIZE to some huge value like export HISTSIZE=1 You could try setting the history to infinitely in Konsole and then do echo $HISTSIZE Cheers, Jay HISTSIZE is used in shell as the number of commands to save in a history list, but cannot increase the history-buffer's size of the terminal. Yes. I was just reading too fast. I noticed this myself after already having sent the e-mail. I am sorry. Cheers, Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: [kernel 2.6.19-r4] DVD Drive extremely slow
Nelson, David (ED, PARD) wrote: David Nelson, Early Development Chemist, PARD F13 Lab Block, Macclesfield, Cheshire 01625 518518 (ext 28518) -Original Message- From: Michael Schreckenbauer [mailto:[EMAIL PROTECTED] Sent: 05 February 2007 12:42 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: [kernel 2.6.19-r4] DVD Drive extremely slow I don't think, that matters. UDMA33 should be enough for every DVD-Drive out there. Michael -- gentoo-user@gentoo.org mailing list Yes, see my earlier post on the subject. I highly doubt any DVD drive will even come close to 33MB/s. -- djn I do not represent anyone else in emails I send to this list. Thanks for all the replies. I've been on skiing vacation this week, so I apologize that I didn't respond sooner. It worked perfectly with 2.6.18, however completely sucks with 2.6.19. So there has nothing changed in the BIOS Cheers, Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: [kernel 2.6.19-r4] DVD Drive extremely slow
Hey! I just found out that this is a bug in kernel 2.6.19 (http://linuxforen.de/forums/showthread.php?t=230939) and no patches have been offered yet. So if anyone knows a patch for this issue, it would be nice if you could offer a link to the patch. Cheers, Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] deleted ._cfg files
Kamen TOMOV wrote: Hi, I accedentally deleted a few ._cfg files. Is there a way to get them back? I tryed preinstalling the corresponding packages but with no avail. Thanks! Try: emerge --unmerge package emerge package If this doesn't work just unmerge the package delete the corresponding /etc directory and then reemerge the package. This worked for me having trouble with dbus. If none of the above techniques work, just emerge the older package and then emerge the new again. If you don't know the version of the old package, use genlop. Cheers, Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: [kernel 2.6.19-r4] DVD Drive extremely slow
Nelson, David (ED, PARD) wrote: -Original Message- From: Jakob Buchgraber [mailto:[EMAIL PROTECTED] Sent: 01 February 2007 19:16 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: [kernel 2.6.19-r4] DVD Drive extremely slow ... snip ... Hey everybody! I've upgraded to kernel 2.6.19 (gentoo sources) a few days ago however I can't get my DVD Drive working correctly. ... snip ... Btw.: It worked perfectly well under openSUSE 10.2 (don't have it installed anymore, so I can't check which drivers were used) and gentoo kernel 2.6.18-r6 (I also used the ATA_PIIX driver there). Any hints? Cheers, Jay -- gentoo-user@gentoo.org mailing list When you say you cant get it working correctly what exactly do you mean? Do you mean it's slow when reading or writing CDs/DVDs? Or do you mean you can't access it at all? What sort of methods did you use to test its speed? AFAIK 33MB/s should be fine for a DVD drive - 16x is approx 21MB/s, *theoretically* so I doubt it will ever even reach that. -- djn Hi, thanks for replying! I get 2x DVD writing speed I get 500KB/s to 1,5 MB/s reading speed. I can mount and access it, but it's just SLOW. Any hints? Cheers, Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help with emerge package recompile
Fei Liu wrote: Hello, I was going to install 'webalizer' (apache monitoring software) by 'emerge -kv webalizer', I got the following error: !!! ERROR: app-admin/webalizer-2.01.10-r12 failed. Call stack: ebuild.sh, line 1555: Called dyn_setup ebuild.sh, line 668: Called pkg_setup webalizer-2.01.10-r12.ebuild, line 45: Called die !!! recompile gd with USE=png !!! If you need support, post the topmost build error, and the call stack if relevant. I tried to do 'USE=png emerge -update gd', and I got a scary list of package ebuilds: [ebuild N] media-libs/gd-2.0.33 USE=png* [ebuild N] media-libs/freetype-2.1.10-r2 [ebuild N] media-libs/libpng-1.2.12 [ebuild N] sys-devel/libtool-1.5.22 skipped What should I do in this case? How exactly should I update my 'gd' package? Sorry, I am still new to the emerge system. Thanks, Fei You should add png to /etc/make.conf or /etc/portage/package.use and then reemerge gd lib (emerge --newuse gd). Cheers, Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help with emerge package recompile
Fei Liu wrote: Fei Liu wrote: Hello, I was going to install 'webalizer' (apache monitoring software) by 'emerge -kv webalizer', I got the following error: !!! ERROR: app-admin/webalizer-2.01.10-r12 failed. Call stack: ebuild.sh, line 1555: Called dyn_setup ebuild.sh, line 668: Called pkg_setup webalizer-2.01.10-r12.ebuild, line 45: Called die !!! recompile gd with USE=png !!! If you need support, post the topmost build error, and the call stack if relevant. I tried to do 'USE=png emerge -update gd', and I got a scary list of package ebuilds: [ebuild N] media-libs/gd-2.0.33 USE=png* [ebuild N] media-libs/freetype-2.1.10-r2 [ebuild N] media-libs/libpng-1.2.12 [ebuild N] sys-devel/libtool-1.5.22 skipped What should I do in this case? How exactly should I update my 'gd' package? Sorry, I am still new to the emerge system. Thanks, Fei Hello, I am just reporting back, I have this fixed (by trying with -p flag): USE=png jpeg emerge -vkp gd These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-libs/gd-2.0.33 USE=jpeg* png* truetype -fontconfig -xpm 0 kB One thing I am curious is, it seems a lot of source code packages are cached on my local machine, what should I do to remove them from my hard drive? Fei This cached packages as you call them are termed distfiles (distfiles.gentoo.org) and located in /usr/portage/distfiles because if you want to re-emerge a package you won't need to download it again. If you run out of diskspace, just mount /usr/portage/distfiles on another partition or harddisk. Best Regards Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] help with emerge package recompile
Fei Liu wrote: Jakob Buchgraber wrote: Fei Liu wrote: Hello, I was going to install 'webalizer' (apache monitoring software) by 'emerge -kv webalizer', I got the following error: !!! ERROR: app-admin/webalizer-2.01.10-r12 failed. Call stack: ebuild.sh, line 1555: Called dyn_setup ebuild.sh, line 668: Called pkg_setup webalizer-2.01.10-r12.ebuild, line 45: Called die !!! recompile gd with USE=png !!! If you need support, post the topmost build error, and the call stack if relevant. I tried to do 'USE=png emerge -update gd', and I got a scary list of package ebuilds: [ebuild N] media-libs/gd-2.0.33 USE=png* [ebuild N] media-libs/freetype-2.1.10-r2 [ebuild N] media-libs/libpng-1.2.12 [ebuild N] sys-devel/libtool-1.5.22 skipped What should I do in this case? How exactly should I update my 'gd' package? Sorry, I am still new to the emerge system. Thanks, Fei You should add png to /etc/make.conf or /etc/portage/package.use and then reemerge gd lib (emerge --newuse gd). Cheers, Jay Hi Jay, thank you, please see my other thread, I used 'USE=png emerge -kv gd' to fix this problem. But it's good to learn the --newuse flag. Do you know what I should do to remove all the cached source code packages? Fei Hey! See my e-mail or Boyed Stephen Smith Jr.'s mail. Don't use USE=blabla emerge package or ACCEPT_KEYWORDS=.., because these settings are just temporary and when will only be applied to this one emerge. I haven't used -k (--usepkg) yet however the man page tells me that -k means, that precompiled packages should be used. So your USE flag does not take any effect. Btw.: You shouldn't say that this problem is fixed as you just have used something precompiled and preconfigured. You should better digg deeper into emerge and USE flags. Otherwise you will never understand portage which is _essential_ for understanding and using Gentoo Linux. This is just and advice... Best Regards Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: vlc win32codecs on amd64
James wrote: Jakob Buchgraber jakob.buchgraber at googlemail.com writes: As far as I am informed the win32codecs are not related to any archticture, they just provide codecs used on Windows Systems. Which errrors do you get? Hello Jakob Despite including 'win32codecs' in my USE flags and in the /etc/portage/package.use (for vlc) it shows win32codecs as not being a compiled in option. I just discovered that you can emerge 'win32codes', so is that what I have to do to use win32codecs with vlc on amd64 ? emerge -pv vlc [ebuild R ] media-video/vlc-0.8.6-r1 USE=X snip (-win32codecs) ??? James Yes. Try emerging the win32 codecs. They should actually be installed automatically as a dependency. I don't think that there is a special package for 64bit. Just use emerge --search or gentoo-portage.com to find out if there are special amd64 packages available. Maybe win64codecs ... :-) Cheers, Jay -- gentoo-user@gentoo.org mailing list
[gentoo-user] [kernel 2.6.19-r4] DVD Drive extremely slow
Hey everybody! I've upgraded to kernel 2.6.19 (gentoo sources) a few days ago however I can't get my DVD Drive working correctly. I got an Dell Inspiron 9400 Royal. lspci tells me that I have an *ICH7* Chipset [00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 01)] Here is all my relevant kernel configuration: *Serial ATA (prod) and Parallel ATA (experimental) drivers* * ATA device support * AHCI SATA support * Intel PIIX/ICH SATA support *ATA/ATAPI/MFM/RLL support* ATA/ATAPI/MFM/RLL support *SCSI device support* * SCSI disk support * SCSI CDROM support * SCSI generic support *DMA Engine support* [*] Support for DMA engines [*] Network: TCP receive copy offload Intel I/OAT DMA support My SATA DVD Drive is configured as an *UDMA/33* Drive as dmesg | grep DMA tells me ... ata2.00: ATAPI, max UDMA/33 ata2.00: configured for UDMA/33 ... Btw.: It worked perfectly well under openSUSE 10.2 (don't have it installed anymore, so I can't check which drivers were used) and gentoo kernel 2.6.18-r6 (I also used the ATA_PIIX driver there). Any hints? Cheers, Jay
[gentoo-user] Re: [kernel 2.6.19-r4] DVD Drive extremely slow
I am sorry for sending an HTML mail. Here is the plain text version :-) Hey everybody! I've upgraded to kernel 2.6.19 (gentoo sources) a few days ago however I can't get my DVD Drive working correctly. I got an Dell Inspiron 9400 Royal. lspci tells me that I have an ICH7 Chipset [00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 01)] Here is all my relevant kernel configuration: Serial ATA (prod) and Parallel ATA (experimental) drivers * ATA device support * AHCI SATA support * Intel PIIX/ICH SATA support ATA/ATAPI/MFM/RLL support ATA/ATAPI/MFM/RLL support SCSI device support * SCSI disk support * SCSI CDROM support * SCSI generic support DMA Engine support [*] Support for DMA engines [*] Network: TCP receive copy offload Intel I/OAT DMA support My SATA DVD Drive is configured as an UDMA/33 Drive as dmesg | grep DMA tells me ... ata2.00: ATAPI, max UDMA/33 ata2.00: configured for UDMA/33 ... Btw.: It worked perfectly well under openSUSE 10.2 (don't have it installed anymore, so I can't check which drivers were used) and gentoo kernel 2.6.18-r6 (I also used the ATA_PIIX driver there). Any hints? Cheers, Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [kernel 2.6.19-r4] DVD Drive extremely slow
Thanks for your reply! Any good reason you've chosen to disable .../ATAPI/... support above? Yap. My DVD Drive is SATA. Cheers, Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Monolingual Dictionary
Willie Wong wrote: On Tue, Jan 30, 2007 at 09:04:51PM +0100, Penguin Lover Jakob Buchgraber squawked: Is there any excellent monolingual dictionary available for (Gentoo) Linux? What do you mean by monoligual? (English to English? or other languages?) Anycase, I have on my desktop 'sdcv' installed. The last time I checked (about 18 months ago) it is not in portage. Not quite sure if it is now. http://sdcv.sourceforge.net/ It is a commandline interface for StarDict, and so can just use stardict's dictionaries. (Speaking of which, if you are willing to have a GUI, you can just emerge stardict; you would also need to emerge the dictionaries that you need, they are all under app-dicts with a stardict- prefix. There are also additional dictionaries that you can download on http://stardict.sourceforge.net/) On my laptop, I just run a dictd server (emerge dictd). You also need to install dictionary files, again, all under app-dicts/dictd-* For English to English, I suggest the WordNet dictionary. You can also, alternatively, just emerge wordnet. Personally, if you just need an English-English dictionary, I would suggest using wordnet. Dictd is a bit fancier, but you might not find it more useful (I personally find the elements database quite useful every now and then). If you need support for other languages, I would suggest StarDict. Also, you can just look into the portage tree under app-dicts and app-text HTH, W Thanks for your reply! Yeah, I am looking for an English to English dictionary. I already tried all available dictionaries in portage however nothing really satisfied my needs ... Does anybody know something similar to the Cambridge dictionary? Because this is really a great monolingual dictionary only available for Windows, tough ... Cheers, Jakob -- gentoo-user@gentoo.org mailing list
[gentoo-user] Monolingual Dictionary
Hey! I know this not related to Gentoo so I apologize for writing this e-mail. Is there any excellent monolingual dictionary available for (Gentoo) Linux? I know a few on the web however I travel a lot (up to 5 hours a day) by train so I got no Internet access there. It would be nice if anybody could recommend me some good software. Thanks in advance! Cheers, Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] My harddisk doesn't want to spin down permanently
Hey! The maintainer of laptop-mode has contacted me directly. After a few mails we (or he) came to the conclusion that my drive is not supported yet properly. He will try to fix this issues and support newer harddisks as soon as possible (probably within the next month). Thanks to all of you for replying and helping me with my problem. Cheers, Jay -- gentoo-user@gentoo.org mailing list
[gentoo-user] My harddisk doesn't want to spin down permanently
Hello! I've been trying to get the standby of my harddisk work for hours. I am actually really frustrated :-) . My problem is that whenever I but my hdd to standby, it stays there for a few seconds and then comes back to work again. So I first thought that there must be any program accessing the harddisk on a regular basis. So I ran lm-profiler - but nothin'. There is no program accessing my hdd. I tried both. laptop-mode and hdparm to get my hdd to standby. */etc/init.d/laptop-mode start (default configuration)* and *hdparm -S 5 /dev/sda* I don't get any error messages. My hdd just doesn't want to spin down permanently... It's an SATA drive (/dev/sd*). Any hint? Cheers, Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] My harddisk doesn't want to spin down permanently
Kent Fredric wrote: n 1/26/07, Jakob Buchgraber [EMAIL PROTECTED] wrote: Hello! I've been trying to get the standby of my harddisk work for hours. I am actually really frustrated :-) . My problem is that whenever I but my hdd to standby, it stays there for a few seconds and then comes back to work again. So I first thought that there must be any program accessing the harddisk on a regular basis. So I ran lm-profiler - but nothin'. If the drive is mounted, yeah, I'd expect to be spinning up, but if its not mounted then I dont see a reason for it to be spinning up. If its mounted the kernel will most probably be doing disk-caching in ram, and will probably be randomly probing the drive for data to stick in the cache ( Ok, tbh, i dont know a lot about the internals of disk caching, I'm just saying its feasible ). If its unmounted I think its feasable that the SATA HOTSWAPability function could be tripping the sata socket to see if theres anything still there and waking it up *shrugs* Mostly Uneducated guesses, but suppose it gives others a starting point to look for possibilities :) Thanks for your reply! The drive is mounted (contains the / partition). If no program access the harddisk, this actually shouldn't matter as otherwise the whole concept of laptop-mode etc. is nuts (or I completely misunderstood it :-) ). So does it only work if no partition of the harddisk is mounted? Help is greatly appreciated! Cheers, Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [UDEV] No network on startup
Richard Fish wrote: On 1/22/07, Jakob Buchgraber [EMAIL PROTECTED] wrote: Hello! So I downgraded to udev-103 again and now I get the error message (on startup) that /lib/udev/net.sh cannot be executed, because this file doesn't exist! I also tried reemerging udev, but it didn't help. What kernel version are you using. I suspect the problem with -104 may be due to using an older kernel version. Also downgrading udev can be tricky, because it may leave orphaned files around (which seems to be the problem you are having with -103). A guideline when upgrading udev: - be sure to run etc-update/dispatch-conf and accept any file modifications for /etc/udev/rules.d/. The only file you should modify in here is 10-local.rules, and udev shouldn't touch it. A guideline when downgrading udev: - run etc-update/dispatch-conf just as when upgrading - Also check each file in /etc/udev/rules.d with equery belongs to find any orphans and consider removing them. Again, your rules in 10-local.rules should be ok to keep. -Richard Thanks for your reply! I already fixed the problem with the udev error messages by simply deleting /et/udev/rules.d/70-persistent-net.rules (and reemerging udev) as this file was not update correctly despite running etc-update! I am now running udev-104 which works fine for me :-) Thanks! Best Regards Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Firefox VERY slow on launch
Gabriel Rossetti wrote: Hello, I just reinstalled everything and Firefox takes about 3-5 mins to load the first time. After that it is very fast. Does anyone have an idea as of why this is happening? I tried deleting my ~/.mozilla directory but that doesn't help. This is not the firefox binary ebuild/install but the regular ebuild. Thank you, Gabriel Hey! Try starting firefox in the shell and paste the output you get. I had a similar problem as firefox couldn't load some libs properly. Best Regards Jay -- gentoo-user@gentoo.org mailing list
[gentoo-user] [UDEV] No network on startup
Hello! I have updated my gentoo box by typing emerge --update world. This also updated udev and now I don't get any network on startup. If I want to get a network connection, I'll have to first delete /var/run/dhcpcd-eth0.pid and then run 'dhcpcd eth0'. On startup I get some udev related error messages: Letting udev process events ... udevd-event[668]: wait_for_sysfs: waiting for '/sys/class/net/lo/device/driver' failed udevd-event[1371]: wait_for_sysfs: waiting for '/sys/class/net/eth1/device/driver' failed Finalizing udev configuration ... However when entering runlevel 3 and dhcpcd is being started it successfully assigns an (correct) ip address to eth0. The only problem is that the resolv.conf is then empty and so I get no network connection at all. I didn't change any configuration files, I just updated udev. My version of udev is 104 (latest stable version available) and ifconfig eth0 tells me eth0 Link encap:Ethernet HWaddr 00:15:C5:3A:EB:EB inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:615 errors:0 dropped:0 overruns:0 frame:0 TX packets:368 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:412119 (402.4 Kb) TX bytes:45958 (44.8 Kb) Interrupt:17 Please don't tell me to downgrade udev as I unfortunately don't know which version was my previous merged version :-(. Please let me know if you need any further informations regarding my system. Thanks in advance for any help! Best Regards Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [UDEV] No network on startup
Hello Richard! Thanks for your fast reply! Could you post your current /etc/conf.d/net? The content of /etc/conf.d/net is config_eth0=( dhcp ) dhcp_eth0=nodns nontp nonis Could it help to delete resolv.conf so that it is then created properly on next startup? (I am just careful since I don't want to ruin my system :-)). Did you also update baselayout at the same time...or dhcpcd? I'd suspect these would be more likely to cause the problem you describe. I am not quite sure, but I think that I have updated baselayout. Thanks for your help! Best Regards Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [UDEV] No network on startup
Hello! Thanks a lot! My internet connection now works perfectly, but the error messages are still there :-( Some wise guy told me that there is a tool called genlop, and so I now know exactly what I have emerged. There were just some apps like adobe reader, x11-server. The only program that actually matters is udev (upgraded from 103 to 104) So I downgraded to udev-103 again and now I get the error message (on startup) that /lib/udev/net.sh cannot be executed, because this file doesn't exist! I also tried reemerging udev, but it didn't help. I didn't find anything about this issue in the gentoo udev guide or google. I appreciate every help! Best Regards Jay -- gentoo-user@gentoo.org mailing list
[gentoo-user] [ALSA] Can't use FF and Amarok together as sound driver fails
Hey! When I watch some videos on youtube and after that want to watch a move wie kaffeine or listen to some music using amarok. I always get the error message that xine was unable to initialize any sound drivers. So this means that I can't use 2 applications using sound. Why is that? Did you experience similar problems and know how to fix this? If you need additional information, please let me know! Best Regards Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [ALSA] Can't use FF and Amarok together as sound driver fails
Mauro Faccenda wrote: On Friday 19 January 2007 17:33, b.n. wrote: Jakob Buchgraber ha scritto: Hey! When I watch some videos on youtube and after that want to watch a move wie kaffeine or listen to some music using amarok. I always get the error message that xine was unable to initialize any sound drivers. So this means that I can't use 2 applications using sound. Why is that? Did you experience similar problems and know how to fix this? I'm experiencing the reverse annoyance. That is, most apps will play without a hitch, but if I try to get sound from FF *after* I've opened amarok or xine etc. FF will give me only silence. edit: /usr/bin/firefox and add aoss after exec in the last line. like this: exec aoss /usr/libexec/mozilla-launcher $@ []'s .m Ok that helped! I first had to emerge alsa-oss and then to edit /usr/bin/firefox. Gentoo is not only the best linux it also has a great community! Thanks a lot. Best Regards Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] wpa-supplicant download?
What about emerge -av (or --fetchonly) wpa_suplicant? and if you need the tarball itself just go to /usr/portage/distfiles and copy it from there -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Asus F3JV AS022P installation tips
Hi, maybe someone would be glad if you post your experiences on the gentoo-wiki.com. I did this for mine (F3JM) its far from beeing complete til now, but maybe it helps someone. On 1/14/07, Mihamina Rakotomandimby (R12y) [EMAIL PROTECTED] wrote: Hi, For people intending to buy an Asus F3JV-x: http://www.asso-polyvalente.fr/workspaces/members/mihamina/public/asus-f3jv-as022p Cheers -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Asus F3JV AS022P installation tips
On 1/15/07, Nelson, David (ED, PARD) [EMAIL PROTECTED] wrote: -Original Message- From: Mihamina Rakotomandimby (R12y) [mailto:[EMAIL PROTECTED] Sent: 14 January 2007 18:25 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Asus F3JV AS022P installation tips Hi, For people intending to buy an Asus F3JV-x: http://www.asso-polyvalente.fr/workspaces/members/mihamina/pub lic/asus-f3jv-as022p Cheers Could you possibly add that info to the Gentoo Wiki? Slightly more accessable there, and of course you could cite your site (pun not intended) as the source. David Note: These views are my own, advice is provided with no guarantee of success. I do not represent anyone else in any emails I send to this list. -- gentoo-user@gentoo.org mailing list hehe same thoughts at the same time :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Telling emerge to continue when something goes wrong
On 1/15/07, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: On Sunday 14 January 2007 19:08, Iván Pérez Domínguez [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Telling emerge to continue when something goes wrong': Boyd Stephen Smith Jr. wrote: I've also attached a longer system update script that I use, for reference. I've been taking a look at the script. I wonder why using emerge --sync at the beginning and update-eix at the end instead of an eix-sync. I want the information returned by eix after the script completes to take into account the package updates that may occur during the portage or world updates. I also want those updates to take into account the most recent portage tree. So, I need a sync operation before the updates and a eix-update after them. Thus, I can't combine the two operations into a single eix-sync. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh Hi, have a look at this http://www.gentoolinux.org/news/en/gwn/20061204-newsletter.xml section 3, maybe its what you want or you could modify it to suit your needs. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] compiling r1000 module
On 1/12/07, Mihamina Rakotomandimby (R12y) [EMAIL PROTECTED] wrote: On Fri, 2007-01-12 at 23:04 +0100, Hans-Werner Hilse wrote: Hi, On Fri, 12 Jan 2007 22:46:02 +0100 Mihamina Rakotomandimby (R12y) [EMAIL PROTECTED] wrote: I try to compile the r1000 module for my laptop. [...] make[2]: *** No rule to make target `modules'. Stop. You don't compile 2.6 kernel modules with make modules. Just use make, then probably sudo make install. asus ~ # cd r1000_v1.05 asus r1000_v1.05 # make make -C src/ clean make[1]: Entering directory `/root/r1000_v1.05/src' rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions make[1]: Leaving directory `/root/r1000_v1.05/src' make -C src/ modules make[1]: Entering directory `/root/r1000_v1.05/src' make -C /lib/modules/2.6.18-xen/build SUBDIRS=/root/r1000_v1.05/src modules make[2]: Entering directory `/lib64/modules/2.6.18-xen/build' make[2]: *** No rule to make target `modules'. Stop. make[2]: Leaving directory `/lib64/modules/2.6.18-xen/build' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/root/r1000_v1.05/src' make: *** [modules] Error 2 Anyway, I am following this howto: http://gentoo-wiki.com/HARDWARE_RTL8168 And this method worked on my normal kernel... -- gentoo-user@gentoo.org mailing list I use the driver shown in this link and it works for me. but I don´t know if its in the xen kernel. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] compiling r1000 module
On 1/13/07, Jakob [EMAIL PROTECTED] wrote: On 1/12/07, Mihamina Rakotomandimby (R12y) [EMAIL PROTECTED] wrote: On Fri, 2007-01-12 at 23:04 +0100, Hans-Werner Hilse wrote: Hi, On Fri, 12 Jan 2007 22:46:02 +0100 Mihamina Rakotomandimby (R12y) [EMAIL PROTECTED] wrote: I try to compile the r1000 module for my laptop. [...] make[2]: *** No rule to make target `modules'. Stop. You don't compile 2.6 kernel modules with make modules. Just use make, then probably sudo make install. asus ~ # cd r1000_v1.05 asus r1000_v1.05 # make make -C src/ clean make[1]: Entering directory `/root/r1000_v1.05/src' rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions make[1]: Leaving directory `/root/r1000_v1.05/src' make -C src/ modules make[1]: Entering directory `/root/r1000_v1.05/src' make -C /lib/modules/2.6.18-xen/build SUBDIRS=/root/r1000_v1.05/src modules make[2]: Entering directory `/lib64/modules/2.6.18-xen/build' make[2]: *** No rule to make target `modules'. Stop. make[2]: Leaving directory `/lib64/modules/2.6.18-xen/build' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/root/r1000_v1.05/src' make: *** [modules] Error 2 Anyway, I am following this howto: http://gentoo-wiki.com/HARDWARE_RTL8168 And this method worked on my normal kernel... -- gentoo-user@gentoo.org mailing list I use the driver shown in this link and it works for me. but I don´t know if its in the xen kernel. oops sorry I forgot the link, I shall go to bed now http://gentoo-wiki.com/HARDWARE_Asus_F3JM#LAN -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] lspci missing ATI details
On 1/10/07, James [EMAIL PROTECTED] wrote: Hello, I'm not sure when it happened, but lspci (lspci -vvv) does not report on the details of my ATI 1900 video card, like it did a few weeks ago, when I last checked. Any ideas which upgrades/packages could be affecting this, lack of detail? I rebuilt the lastest stable release of pciutils, but that did not restore the information on the card, nor did installing version (~)2.2.4 fix the problem. Any ideas or suggestions? James -- gentoo-user@gentoo.org mailing list I think pciutils was updated same days ago, maybe it helps to downgrade to the version before. -- gentoo-user@gentoo.org mailing list
[gentoo-user] CFLAGS Core2Duo
Hi all, I have a Core2Duo T5600 1,83 MHz in my notebook. Today I read on the GentooWeeklyNewsletter to use -march=nocona (and an amd64 profile) for Core 2 Solo/Duo Currently I'm using: CFLAGS=-O2 -march=pentium-m -pipe CHOST=i686-pc-linux-gnu CXXFLAGS=${CFLAGS} MAKEOPTS=-j3 and /usr/portage/profiles/default-linux/x86/2006.1/desktop/ as profile and gcc -v told me I'm using 4.1.1-r1 Now my questions: 1. What wold be the benefits of chanching the CFLAGS? 2. After chanching do I have to emerge everithing again? or what should I do? 3. They mentiont to use a amd64 profile, does this mean to use 64bit? because I would like to stay with 32bit. 4. I used gcc -v to check the gcc verison I'm using, is this the rigth command? Thanks for any help Jakob
Re: [gentoo-user] Nvidia + glxgears slower than before
On 12/19/06, Raymond Lewis Rebbeck [EMAIL PROTECTED] wrote: On Tuesday, 19 December 2006 9:42, Jakob wrote: Hi all, I have a strage problem, some month ago I bougth a new laptop (Core2duo 1,83 Ghz + Geforce 7600). The first thing I did was installing gentoo, and after X was finished I installed the nvidia-driver an run glxgears to see the difference between my old desktop and my new laptop. I got about 1.000 FPS and was happy. I continued installing the system and built some new kernels to get all the things working like wlan etc. some days later I run glxgears again and was shocked of the glxgears output: 31189 frames in 5.0 seconds = 6237.635 FPS 31163 frames in 5.0 seconds = 6232.600 FPS 31178 frames in 5.0 seconds = 6235.511 FPS since this time I never got more than 6400.000 FPS, I `ve tried to install newer versions of nvidia-driver and the nvidia-driver from the nvidia page but its not going over 6400.000 FPS. After some time I thougth maybe it didnt run faster the first time and I was remembering wrong but than I saw a forum entry from someone with the same notebook running fedoracore and he postet his putput of glxgears and got about 1.000 FPS. Has anyone any ideas what the problem could be??? I dont want to install gentoo again because everything else works fine. Thanks and Regards Jakob The problem is that glxgears is not a benchmark. Run some real programs and if you have performance problems with those, then you have something to worry about. -- Raymond Lewis Rebbeck -- gentoo-user@gentoo.org mailing list Hmm ok, I still think its very strange that I didnt get that much FPS than the first time an someone with the same notebook still does. does someone know a benchmak tool for opengl? I searched in portage but I didnt find one. Regard Jakob
Re: [gentoo-user] CFLAGS Core2Duo
On 12/19/06, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: On Tuesday 19 December 2006 13:18, Jakob [EMAIL PROTECTED] wrote about '[gentoo-user] CFLAGS Core2Duo': I have a Core2Duo T5600 1,83 MHz in my notebook. Today I read on the GentooWeeklyNewsletter to use -march=nocona (and an amd64 profile) for Core 2 Solo/Duo 3. They mentiont to use a amd64 profile, does this mean to use 64bit? because I would like to stay with 32bit. Yes. If you want to stick with 32-bit, your settings seem fine, although there may be a better -march setting available to you. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh Thaks for the quick reply. On http://gentoo-wiki.com/Safe_Cflags they say for 32bit use: CFLAGS=-march=prescott -O2 -pipe -fomit-frame-pointer Is this wat you meant for better -march settings? I was confused by the GWN because they didnt say its for 64bit only. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CFLAGS Core2Duo
On 12/19/06, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: On Tuesday 19 December 2006 13:48, Jakob [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] CFLAGS Core2Duo': Thaks for the quick reply. On http://gentoo-wiki.com/Safe_Cflags they say for 32bit use: CFLAGS=-march=prescott -O2 -pipe -fomit-frame-pointer Is this wat you meant for better -march settings? Specifically, I meant that -march=prescott is probably better than -march=pentium-m. If you use Konqueror, hit URL: info:/gcc/i386 and x86-64 Options ; or just use your favorite infotext reader to look at the x86(_64) machine specific options, so you are generating code tuned particularly to your processor. I was confused by the GWN because they didnt say its for 64bit only. Well, a lot of people assume that buying a 64-bit processor means you actually want to use the extra bits (and registers). Of course, it's getting harder and harder to buy a non-64 bit chip. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh Its funny till yesterday I didnt even know It supports 64bit ;-) I think I will change to -march=prescott and stick with 32bit. do I have to run emerge -avuD world after changing to -march=prescott? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CFLAGS Core2Duo
On 12/19/06, Jakob [EMAIL PROTECTED] wrote: On 12/19/06, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: On Tuesday 19 December 2006 13:48, Jakob [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] CFLAGS Core2Duo': Thaks for the quick reply. On http://gentoo-wiki.com/Safe_Cflags they say for 32bit use: CFLAGS=-march=prescott -O2 -pipe -fomit-frame-pointer Is this wat you meant for better -march settings? Specifically, I meant that -march=prescott is probably better than -march=pentium-m. If you use Konqueror, hit URL: info:/gcc/i386 and x86-64 Options ; or just use your favorite infotext reader to look at the x86(_64) machine specific options, so you are generating code tuned particularly to your processor. I was confused by the GWN because they didnt say its for 64bit only. Well, a lot of people assume that buying a 64-bit processor means you actually want to use the extra bits (and registers). Of course, it's getting harder and harder to buy a non-64 bit chip. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh Its funny till yesterday I didnt even know It supports 64bit ;-) I think I will change to -march=prescott and stick with 32bit. do I have to run emerge -avuD world after changing to -march=prescott? for now I will stick with 32bit, I think I will Install 64bit to another partition in some weeks -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CFLAGS Core2Duo
On 12/19/06, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: On Tuesday 19 December 2006 14:46, Andrew Gaydenko [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] CFLAGS Core2Duo': What is your strategical vision to this (use C2D as 32-bit or 64-bit) alternatives? All (well, very nearly all) the software I need is available in 64-bit versions, partially because I disdain proprietary software, so running 64-bit gives better performance with little cost. Is it smart to hope Gentoo AMD64 FAQ will be thiner and thiner during upcoming months? :-) Yes, it will. There will be fewer and fewer issues as 64-bit operation becomes the norm. My current advice is to read the FAQ and if anything mentioned is an issue for you, go with 32-bit. You lose some, but also gain some ease of use. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh Thanks for your help, I´ll change it tomorrow when I´m back home. Jakob -- gentoo-user@gentoo.org mailing list
[gentoo-user] Nvidia + glxgears slower than before
Hi all, I have a strage problem, some month ago I bougth a new laptop (Core2duo 1,83 Ghz + Geforce 7600). The first thing I did was installing gentoo, and after X was finished I installed the nvidia-driver an run glxgears to see the difference between my old desktop and my new laptop. I got about 1.000 FPS and was happy. I continued installing the system and built some new kernels to get all the things working like wlan etc. some days later I run glxgears again and was shocked of the glxgears output: 31189 frames in 5.0 seconds = 6237.635 FPS 31163 frames in 5.0 seconds = 6232.600 FPS 31178 frames in 5.0 seconds = 6235.511 FPS since this time I never got more than 6400.000 FPS, I `ve tried to install newer versions of nvidia-driver and the nvidia-driver from the nvidia page but its not going over 6400.000 FPS. After some time I thougth maybe it didnt run faster the first time and I was remembering wrong but than I saw a forum entry from someone with the same notebook running fedoracore and he postet his putput of glxgears and got about 1.000 FPS. Has anyone any ideas what the problem could be??? I dont want to install gentoo again because everything else works fine. Thanks and Regards Jakob
Re: [gentoo-user] DHCP and deny clients
On 12/11/06, Neil Bothwick [EMAIL PROTECTED] wrote: On Mon, 11 Dec 2006 09:39:14 +0800, Ow Mun Heng wrote: I have a gentoo server and a laptop both running dhcp (server) at home. the server serves clients at home. the laptop, serves client at NON-home places. when I plug my laptop into the home, clients will get to my laptop's dhcp server instead of the home server's dhcp. You could use the postup(0 function in /etc/conf.d/net to shutdown the DHCP server if you are connected to the home network. -- Neil Bothwick Windows - software package to turn a 486 into an Etch-A-Sketch! Maybe this helps: (from dhcpd.conf.sample) # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. authoritative; I think this one schould prefer your local dhcp to the clients at home instead of using your notebook. correct me if I'm wrong. Jakob
Re: [gentoo-user] ipw3945d no longer starting when wifi switch is set to on with udev-103 (without coldplug now)
On 12/5/06, Gabriel Rossetti [EMAIL PROTECTED] wrote: Hello Jakommo, I use testing (~x86), I see the startup script, but before coldplug took care of running it when I switched on my wifi, I'd like that same convenient way of doing things if possible. Regards, Gabriel jak gentoo wrote: On 12/5/06, *Gabriel Rossetti* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hello everyone, I updated my system and the new udev-103 didn't like coldplug (since it is now able to do it itself). My problem is that now ipw3945d is no longer started when I switch on the wifi switch on my laptop, like it was when coldplug was installed. Any ideas on how to achieve this functionality now? Thank you, Gabriel -- gentoo-user@gentoo.org mailto:gentoo-user@gentoo.org mailing list Hi Gabriel, do you use ipw3945d stable or testing? it seems the stable release has problems with udev 103, mybe try to use the testing ipw3945d. I use testing and i didn´ t had any problems after the update of udev. also testing comes with an rc-start-script now. greez jakommo -- gentoo-user@gentoo.org mailing list ok , I don't have a solution for this one. I let the script start at bootup and if I need wifi I turn the switch on and if I'm finished I turn it off and ipw3945d runs all the time if I need it or not, but I think it doesn't take that much capacity from my system.
Re: [gentoo-user] Grub set default for next reboot?
On 12/6/06, Flophouse Joe [EMAIL PROTECTED] wrote: On lilo there is the command lilo -R ... whitch tells lilo to use the specified system for the next reboot and than switch back to the default after that. There does not appear to be a quick-and-easy way to get grub to boot an entry in a one-off test run as you described. Yes there is, grub-set-default. It takes a single numeric argument, which overrides the default in menu.lst for the next boot only. Really? I included a link to the Booting once-only node of the grub info page in my previous post, and I didn't get that impression from reading it. My interpretation is that grub-set-default-- by itself-- isn't capable of overriding the default boot entry in grub.conf for just one time. Instead, the info page recommends using grub-set-default to set your desired boot entry for the next boot only, and then *also* specifying your normal default with a savedefault directive in each of your boot stanzas in order to reset it to what you really want to boot from next time. It seems like if you used grub-set-default and omitted the savedefault directive from whatever you were booting, grub would never have its default boot entry reset to its normal value. If you used grub-set-default and did nothing else, then you'd always boot the new kernel. On the other hand, if grub-set-default were able to set a for-this-boot-only boot entry by itself, then why would the info page describe this sillier workaround? Joe -- gentoo-user@gentoo.org mailing list thanks for your help I will try that one. regards jakob