[gentoo-user] Memory stick problem
All - I am having a problem with my USB thumb drive. If the drive is connected to the system on boot, the device file /dev/sdb is created, and I'm able to mount and use my thumb drive normally. If I remove the thumb drive and then replace it, or attach the thumb drive after the system has booted, the device file is not created. Does anyone have any ideas as to what may be causing this? I have tried a kernel with the USB drivers compiled into the kernel and compiled as modules, and I get the same thing. The output of dmesg is as follows: usb 1-4: new high speed USB device using ehci_hcd and address 4 ehci_hcd :00:1d.7: port 4 high speed ehci_hcd :00:1d.7: GetStatus port 4 status 001005 POWER sig=se0 PE CONNECT usb 1-4: config 1 interface 0 altsetting 0 endpoint 0x83 has an invalid bInterval 200, changing to 11 usb 1-4: default language 0x0409 usb 1-4: new device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-4: Product: Actions Mtp Device 01 usb 1-4: Manufacturer: Actions Semiconductor Co., Ltd. usb 1-4: SerialNumber: 6D621ABF495E2A428FBF6E6C854E549D DEV: registering device: ID = '1-4' PM: Adding info for usb:1-4 bus usb: add device 1-4 usb 1-4: uevent usb: Matched Device 1-4 with Driver usb usb: Probing driver usb with device 1-4 usb 1-4: usb_probe_device DEV: registering device: ID = 'usbdev1.4_ep00' PM: Adding info for No Bus:usbdev1.4_ep00 usb 1-4: configuration #1 chosen from 1 choice usb 1-4: adding 1-4:1.0 (config #1, interface 0) DEV: registering device: ID = '1-4:1.0' PM: Adding info for usb:1-4:1.0 bus usb: add device 1-4:1.0 usb 1-4:1.0: uevent usb 1-4:1.0: uevent DEV: registering device: ID = 'usbdev1.4_ep01' PM: Adding info for No Bus:usbdev1.4_ep01 DEV: registering device: ID = 'usbdev1.4_ep82' PM: Adding info for No Bus:usbdev1.4_ep82 DEV: registering device: ID = 'usbdev1.4_ep83' PM: Adding info for No Bus:usbdev1.4_ep83 DEV: registering device: ID = 'usbdev1.4' PM: Adding info for No Bus:usbdev1.4 drivers/usb/core/inode.c: creating file '004' bound device '1-4' to driver 'usb' usb: Bound Device 1-4 to Driver usb Any help with this issue would be greatly appreciated. Regards, James -- [EMAIL PROTECTED] mailing list
[gentoo-user] Upgrading from Beryl to Compiz-fusion
All - Does anyone know if there is an upgrade path from Beryl to Compiz-Fusion. I am currently running Beryl on my laptop and would like to try out the new Compiz-Fusion. Do I need to unmerge the Beryl packages before I install Compiz-Fusion? Thanks for any help that you may be able to give. -James -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Upgrading from Beryl to Compiz-fusion
On Thu, Sep 13, 2007 at 04:37:48PM -0500, Whitt Madden wrote: > I will second Albert's message. I didn't unmerge Beryl, and unlike Albert I > did have some issues. > > On 9/13/07, Albert Hopkins <[EMAIL PROTECTED]> wrote: > > > > On Thu, 2007-09-13 at 15:47 -0400, James Colby wrote: > > > All - > > > > > > Does anyone know if there is an upgrade path from Beryl to > > > Compiz-Fusion. I am currently running Beryl on my laptop and would > > > like to try out the new Compiz-Fusion. Do I need to unmerge the Beryl > > > packages before I install Compiz-Fusion? > > > > I didn't unmerge Beryl first and it worked. > > > > Nevertheless, I would still recommend: > > > > $ emerge -C beryl > > $ emerge -va --depclean > > $ # install fusion Thanks, I used the above procedure and it compiled and runs well. The only complaint that I have is that I have no windows decorations unless I open up a shell and manually execute emerald &. Any ideas on how to get emerald to run on login? It seems to me like it should be started automatically. Thanks again for the help, James -- [EMAIL PROTECTED] mailing list
[gentoo-user] Suspend questions
List Members - I have trying to set up Suspend on my Dell Latitude D620 laptop. The laptop is currently running a 2.6.19-gentoo-r5 kernel. I emerged the suspend2 sources, copied the .config from the 2.6.19 directory and ran make oldconfig. I then configured the suspend options in the kernel via the docs in the wiki. When I try to boot the suspend kernel, the system fails to boot because it can't find any of the filesystems located in my /etc/fstab. The reason for that is because the suspend kernel is configuring my hard disk as /dev/hda and my standard kernel is configuring it as /dev/sda. Does anyone know how I can get the suspend kernel to assign my hard disk as /dev/sda? Thanks, James -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Suspend questions
On Tue, Oct 02, 2007 at 10:32:14PM -0400, Ben Kelly wrote: > > The best solution I found was to add the following to the boot line in > grub: > > hda=noprobe hda=none > > Hope that helps. That did the trick for me as well. Thank you very much. I have another Suspend question though. I am running KDE 3.5.7 and I was wondering if anyone knew how to add a Suspend option to the KDE logout menu? Thanks for the help, James -- [EMAIL PROTECTED] mailing list
[gentoo-user] Portage through a proxy
List members - Does anyone know if it possible to configure emerge to use the value of $http_proxy as my proxy? I use my laptop both at home and at work, I have a script that sets the $http_proxy env variable depending on where I am, and I would like to have emerge use that value. I have tried setting http_proxy in make.conf to $http_proxy but that did not work. Thanks for any advice that you may be able to give, James -- [EMAIL PROTECTED] mailing list
[gentoo-user] Network Monitoring
List Members - I am looking for some advice. We have a user on our network that we belive may be making inappropriate forum posts, violating our TOS for internet usage. I am looking for some recommendations of software that I can install on Gentoo server to help us monitor these posts. Can anyone recommend a proxy package that could help me to monitor this. I would prefer to do this transparently but we do have access to configure a proxies on the users browser. Is this something that Squid can do? Thanks for any recommendations. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Network Monitoring
On Wed, Oct 17, 2007 at 04:57:54PM +0200, Uwe Thiem wrote: > > I have no recommendation but would like to remind you of one thing: What you > are trying to achieve is a serious breach of privacy. > All users of this network are made aware of the Acceptable use policy of this network, and understand that we have reserved the right to monitor this network to ensure compliance with that policy. Until now we have not felt the need for monitoring, but certain violations have been brought to out attention, and we feel as though we need to do something about it. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Xorg -configure fails
List members - I am trying to install gentoo on an older HP pc. I am at the point in the handbook when I'm trying to configure X. When I run the command Xorg -configure it is failing with the following error message: (II) Bus 1 non-prefetchable memory range: [0] -1 0 0xe100 - 0xe27f (0x180) MX[B] (II) Bus 1 prefetchable memory range: [0] -1 0 0xe3f0 - 0xe7ff (0x410) MX[B] (II) PCI-to-ISA bridge: (II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set) (--) PCI: (0:2:0) Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device rev 1, Mem @ 0xe800/27, 0xe300/19 (--) PCI:*(1:9:0) ATI Technologies Inc Rage 128 PP/PRO TMDS [Xpert 128] rev 0, Mem @ 0xe400/26, 0xe200/14, I/O @ 0xb800/8, BIOS @ 0xe3fe/17 Backtrace: 0: Xorg(xf86SigHandler+0x85) [0x80bfdf5] 1: Xorg(InitOutput+0x650) [0x809df85] Fatal server error: Caught signal 11. Server aborting Does anyone have any ideas as to what may be causing it? Below are the contents of my make.conf file: CFLAGS="-O2 -mtune=pentium4 -pipe -fomit-frame-pointer" CHOST="i386-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" GENTOO_MIRRORS=http://mirrors.tds.net/gentoo INPUT_DEVICES="keyboard mouse" VIDEO_CARDS="fglrx" USE="-gtk -gnome qt3 qt4 kde dvd alsa cdr -ipv6 kdeenablefinal" Thanks for any suggestions you may have in helping me resolve the problem, James -- gentoo-user@gentoo.org mailing list
[gentoo-user] IPtables question
List members - I have a small home server that I have connected to the internet through a linksys router and cable modem. The linksys router is currently forwarding all ssh traffic to my gentoo box. What I would like to do is set up iptables to only allow ssh logins from a small number of internet hosts, and to reject and log all other ssh attempts. Can someone please help me out with this. All of the tutorials and documentation that I have found are setting up a fully functioning firewall / NAT / proxy, and I think that is a little overkill for my needs. Thanks for any help that you may be able to provide, James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Xorg -configure fails
Try the r128 VIDEO_CARDS="vesa r128" That did the trick...thanks for the hint. This very modest box is just screaming now that Gentoo is running on it. It was running XP and the performance of this machine has increased dramatically -- gentoo-user@gentoo.org mailing list
[gentoo-user] OT: Postfix and procmail
List members - I am running the Postfix MTA on my gentoo server. Postfix is receiving mail for multiple domains using the virtual_mailbox_domains directive. I was wondering if it was possible to use procmail to sort and deliver mail to my virtual_mailboxes. If so, any suggestion or documentation on how to set it up would be very much appreciated. Thanks, James -- gentoo-user@gentoo.org mailing list
[gentoo-user] Firefox fonts
List members - I am trying to run Firefox on my Gentoo laptop, and I am having trouble with the fonts. Everything else in my KDE desktop looks fine except for Firefox. I believe that it has something to do Firefox using GTK instead of QT. From my research I have found that one way to fix it is to adjust the "GTK Styles and Fonts" options in the KDE control center. I do not have that option available to me. I installed KDE using the split ebuilds and emerging the kdebase-startkde package. Is there a use flag or a separate package that needs to be installed to get the "GTK Styles and Fonts" option in Kcontrol? Is there a config file located somewhere that I can edit to change the fonts in GTK apps? Thanks, James -- gentoo-user@gentoo.org mailing list
[gentoo-user] Emerge fails - Can't stat a file
List Members - I am trying emerge media-video/transcode. One of the dependencies is media-libs/jpeg-mmx and when emerge tries to compile it, it fails with the following error: /bin/install -c -m 644 ./jinclude.h /var/tmp/portage/jpeg-mmx-0.1.6-r1/image//usr/include/jpeg-mmx/jinclude.h cp: cannot stat `.libs/cjpeg': No such file or directory !!! ERROR: media-libs/jpeg-mmx-0.1.6-r1 failed. Call stack: ebuild.sh, line 1546: Called dyn_install ebuild.sh, line 1020: Called src_install jpeg-mmx-0.1.6-r1.ebuild, line 46: Called die I have verified that /var/tmp/portage/jpeg-mmx-0.1.6-r1/image//usr/include/jpeg-mmx/jinclude.h file exists. Does anyone have any ideas what might be causing this error? Kindest Regards, James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Emerge fails - Can't stat a file
Based on bugs.gentoo.org this is a CFLAGS issue. What are your CFLAGS? -- Bo Andresen My CFLAGS are pretty safe: CFLAGS="-march=athlon -O3 -mcpu=athlon -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" Do you see any issues with these? Thanks, James -- gentoo-user@gentoo.org mailing list
[gentoo-user] OpenSSH security
List members - I am running OpenSSH on my home gentoo server. I was examining the log files for OpenSSH and I noticed multiple login attempts from the same IP address but with different user names. Is there a simple way that I can block an IP address from attempting to log in after something like 3 failed login attempts? My Gentoo box is connected to a linksys router connected to my cable modem, the linksys is doing port forwarding to my gentoo box. Also, I would like to avoid limiting which IP addresses can log into my SSH server Thanks for any ideas, James -- gentoo-user@gentoo.org mailing list
[gentoo-user] sys-fs/device-mapper
All - I am trying to emerge sys-fs/device-mapper on an older piece of hardware (AMD Duron 800, with 512Mb of Ram). The package has been compiling for something like 8 hours already. Is this normal? It seems like an awfully long time to me. As a comparison, I was able to compile the kernel in about 15 minutes. If this isn't normal, any ideas as to what the problem could be. I didn't see anything on bugs.gentoo.org. Thanks, James In case it matters my make.conf looks like this: CFLAGS="-mtune=athlon -O3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" USE="-arts -ipv6 apache2 mysql pam ssl xml xml2 -gnome -gtk alsa oss nvidia -cups mmx -ldap -kde -qt -kde nptl nptlonly" -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sys-fs/device-mapper
I modified my make.conf file to: CFLAGS="-mtune=athlon -O2 -fomit-frame-pointer" and the emerge has been running for about 1/2 hour and is still going (..and going, and going) Any other ideas??? The output of emerge --info is below: gentoo portage # emerge --info Portage 2.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r5 i686) = System uname: 2.6.17-gentoo-r5 i686 AMD Duron(tm) Processor Gentoo Base System version 1.12.1 app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox:1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=athlon -O2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-mtune=athlon -O2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.tds.net/gentoo"; PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 alsa apache2 berkdb bitmap-fonts cli cracklib crypt dlloader dri fortran gdbm gpm iconv isdnlog libg++ mmx mysql ncurses nls nptl nptlonly nvidia oss pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode xml xml2 xorg zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY On 11/13/06, Alan McKinnon <[EMAIL PROTECTED]> wrote: On Monday 13 November 2006 17:31, James Colby wrote: > All - > > I am trying to emerge sys-fs/device-mapper on an older piece of > hardware (AMD Duron 800, with 512Mb of Ram). The package has been > compiling for something like 8 hours already. Is this normal? It > seems like an awfully long time to me. As a comparison, I was able > to compile the kernel in about 15 minutes. If this isn't normal, any > ideas as to what the problem could be. I didn't see anything on > bugs.gentoo.org. That looks awfully long to me: [EMAIL PROTECTED] /usr/share/downloads/onyx $ genlop -t device-mapper * sys-fs/device-mapper Mon Jul 24 00:56:16 2006 >>> sys-fs/device-mapper-1.02.07 merge time: 10 seconds. Sun Sep 3 19:30:30 2006 >>> sys-fs/device-mapper-1.02.07 merge time: 20 seconds. Thu Sep 21 12:54:37 2006 >>> sys-fs/device-mapper-1.02.09 merge time: 20 seconds. Mon Sep 25 18:51:05 2006 >>> sys-fs/device-mapper-1.02.10 merge time: 42 seconds. Wed Nov 8 16:51:18 2006 >>> sys-fs/device-mapper-1.02.12 merge time: 45 seconds. > In case it matters my make.conf looks like this: > > CFLAGS="-mtune=athlon -O3 -fomit-frame-pointer" make that -O2 -O3 uses some insane optimizations which in the grand scheme of things don't make much difference speed-wise but can be very unstable > CHOST="i686-pc-linux-gnu" > CXXFLAGS="${CFLAGS}" > USE="-arts -ipv6 apache2 mysql pam ssl xml xml2 -gnome -gtk alsa oss > nvidia -cups mmx -ldap -kde -qt -kde nptl nptlonly" -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sys-fs/device-mapper
Interrupt it and post the last 100 lines or so of the output. -Richard My apologies, for the top posting. I interrupted the compile and below is some of the output from the emerge: make[1]: Leaving directory `/var/tmp/portage/device-mapper-1.02.12/work/device-mapper.1.02.12/lib' make[1]: Entering directory `/var/tmp/portage/device-mapper-1.02.12/work/device-mapper.1.02.12/lib' make[1]: Warning: File `ioctl/libdm-iface.c' has modification time 1.7e+08 s in the future set -e; \ FILE=`echo ioctl/libdm-iface.d | sed 's/\\//\\//g;s/\\.d//g'`; \ DEPS=`echo ../make.tmpl ../VERSION Makefile ../include/.symlinks_created | sed -e 's/\\//\\//g'`; \ i686-pc-linux-gnu-gcc -MM -Iioctl -I. -I../include -DHAVE_CONFIG_H -DDM_IOCTLS -mtune=athlon -O2 -fomit-frame-pointer -mtune=athlon -O2 -fomit-frame-pointer -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 -DDEVICE_UID=0 -DDEVICE_GID=0 -DDEVICE_MODE=0600 -mtune=athlon -O2 -fomit-frame-pointer -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 ioctl/libdm-iface.c | \ sed "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" > ioctl/libdm-iface.d; \ [ -s ioctl/libdm-iface.d ] || rm -f ioctl/libdm-iface.d set -e; \ FILE=`echo mm/pool.d | sed 's/\\//\\//g;s/\\.d//g'`; \ DEPS=`echo ../make.tmpl ../VERSION Makefile ../include/.symlinks_created | sed -e 's/\\//\\//g'`; \ i686-pc-linux-gnu-gcc -MM -Iioctl -I. -I../include -DHAVE_CONFIG_H -DDM_IOCTLS -mtune=athlon -O2 -fomit-frame-pointer -mtune=athlon -O2 -fomit-frame-pointer -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 -DDEVICE_UID=0 -DDEVICE_GID=0 -DDEVICE_MODE=0600 -mtune=athlon -O2 -fomit-frame-pointer -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 mm/pool.c | \ sed "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" > mm/pool.d; \ [ -s mm/pool.d ] || rm -f mm/pool.d set -e; \ FILE=`echo mm/dbg_malloc.d | sed 's/\\//\\//g;s/\\.d//g'`; \ DEPS=`echo ../make.tmpl ../VERSION Makefile ../include/.symlinks_created | sed -e 's/\\//\\//g'`; \ i686-pc-linux-gnu-gcc -MM -Iioctl -I. -I../include -DHAVE_CONFIG_H -DDM_IOCTLS -mtune=athlon -O2 -fomit-frame-pointer -mtune=athlon -O2 -fomit-frame-pointer -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 -DDEVICE_UID=0 -DDEVICE_GID=0 -DDEVICE_MODE=0600 -mtune=athlon -O2 -fomit-frame-pointer -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 mm/dbg_malloc.c | \ sed "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" > mm/dbg_malloc.d; \ [ -s mm/dbg_malloc.d ] || rm -f mm/dbg_malloc.d set -e; \ FILE=`echo libdm-string.d | sed 's/\\//\\//g;s/\\.d//g'`; \ DEPS=`echo ../make.tmpl ../VERSION Makefile ../include/.symlinks_created | sed -e 's/\\//\\//g'`; \ i686-pc-linux-gnu-gcc -MM -Iioctl -I. -I../include -DHAVE_CONFIG_H -DDM_IOCTLS -mtune=athlon -O2 -fomit-frame-pointer -mtune=athlon -O2 -fomit-frame-pointer -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 -DDEVICE_UID=0 -DDEVICE_GID=0 -DDEVICE_MODE=0600 -mtune=athlon -O2 -fomit-frame-pointer -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 libdm-string.c | \ sed "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" > libdm-string.d; \ [ -s libdm-string.d ] || rm -f libdm-string.d set -e; \ FILE=`echo libdm-deptree.d | sed 's/\\//\\//g;s/\\.d//g'`; \ DEPS=`echo ../make.tmpl ../VERSION Makefile ../include/.symlinks_created | sed -e 's/\\//\\//g'`; \ i686-pc-linux-gnu-gcc -MM -Iioctl -I. -I../include -DHAVE_CONFIG_H -DDM_IOCTLS -mtune=athlon -O2 -fomit-frame-pointer -mtune=athlon -O2 -fomit-frame-pointer -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 -DDEVICE_UID=0 -DDEVICE_GID=0 -DDEVICE_MODE=0600 -mtune=athlon -O2 -fomit-frame-pointer -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -O2 libdm-deptree.c | \ sed "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" > libdm-deptree.d; \ [ -s libdm-deptree.d ] || rm -f libdm-deptree.d set -e; \ FILE=`echo libdm-file.d | sed 's/\\//\\//g;s/\\.d//g'`; \ DEPS=`echo ../make.tmpl ../VERSION Makefile ../include/.symlinks_created | sed -e 's/\\//\\//g'`; \ i686-pc-linux-gnu-gcc -MM -Iioctl -I. -I../include -DHAVE_CONFIG_H -DDM_IOCTLS -mtune=athlon -O2 -fomit-frame-pointer -mtune=athlon -O2 -fomit-frame-pointer -fPIC -Wall -Wundef -W
Re: [gentoo-user] sys-fs/device-mapper
Also, try unpacking the source somewhere and doing a manual compile. Then at least you'll know if it's portage making the difference or not. alan -- Alan, thanks for the suggestion. I tried this and the compile failed with an error related to the system time. I checked the system date and it was *WAY* off...after fixing the date / time the emerge of device-mapper took about 1.5 minutes. Thanks for all the help everyone. James (off to install ntp) -- gentoo-user@gentoo.org mailing list
[gentoo-user] Accidentally deleted contents of /sbin
List Members - I was trying to delete some files from my /sbin directory and with an unfortunate use of a wildcard accidentally deleted the entire contents on the /sbin directory. I have recovered the contents of the /sbin directory from a stage 3 tarball. I was thinking about doing an emerge world, just to make sure that everything is consistent. Do you all think that this is necessary? Thanks, James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Accidentally deleted contents of /sbin
# cd /var/db/pkg && emerge -va1 $(for pkg in */*; do cut -d' ' -f2 "${pkg}"/CONTENTS | grep -q '^/sbin/' && echo "=${pkg}" done) -- Thanks for the advice everybody. I ran this command and it just finished successfully. I had one file in /etc that needed updating, and when I tried to run etc-update it was missing. Should I try to emerge world? Thanks, James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Accidentally deleted contents of /sbin
If it were me, I would still do a emerge -e world, just to be sure. Dale Does emerge -e world add anything to the world file? Do I need to add the --oneshot option to this to keep my world file clean Thanks, James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Nagios emerge failure
/data/usr/i686-pc-linux-gnu/gcc-bin/4.1.1/../../../lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libdl.a(dlerror.o): In function `dlerror': : undefined reference to `__dlerror' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/var/tmp/portage/nagios-core-1.4.1/work/nagios-1.4.1/base' make: *** [nagios] Error 2 Have you tired to emerge the ~arch ebuild? Nagios version 1.4.1 is a fairly old version, and you would probably want to install a newer version anyway. James -- gentoo-user@gentoo.org mailing list
[gentoo-user] KDE without ARTS
List Members - I have been looking through the list archives and haven't found an answer to my question. I have compiled KDE 3.5 with "alsa -arts" in my make.conf. Now is it possible to hear System Notifications, by using an external audio player. I have set up an external audio player in Kcontrol, but I still can not hear System Notifications. Thanks, James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE without ARTS
Thanks for the link. I just gave in and re-enable arts for KDE. Sound is working now. On 1/22/06, Ian <[EMAIL PROTECTED]> wrote: > This is exactly what I am wanting to do. But I see that it will end up not > allowing me to use system notifications. I found this link on the bug > report. > But I am not at all sure how to apply it. > Thanks very much! > > The genkdesvn ebuilds use a patch that allows notifications and sounds > through external player even when kdelibs is compiled with --without-arts. > Some of us(atleast one person other than me) have been using the patch since > 2 months and have experienced no problems. Mario(the author of the ebuilds) > even modified the patch to allow simultaneous sounds(the new kernels support > this). Here is a link to the patch. > > http://svn.berlios.de/wsvn/genkdesvn/trunk/kde-base/kdelibs/files/kdelibs-7-knotify-noarts.patch?op=file&rev=0&sc=0 > > ~Ian > -- gentoo-user@gentoo.org mailing list
[gentoo-user] Detecting when a USB device is attached
List members - I was wondering if anybody knew of a package or a method that I could use to detect when a USB mass storage device is attached to my PC. What I would like to be able to do is to write a small script that would mount my USB mass storage device, sync up a directory, and then unmount the device everytime I plug my USB drive into the computer. I know this isn't exactly a gentoo question, but my PC is running gentoo linux so I thought that I would try to ask here. Thanks for any suggestion that you might have. Warm Regards, James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Error Emerging PHP 4.3.11
I am getting the same error, so you are not the only one. If anyone has any suggestions I would love to hear them. Thanks, James On Apr 12, 2005 1:23 PM, Tommy Young <[EMAIL PROTECTED]> wrote: > When doing my emarge -uavD world, and letting it upgrade from php > 4.3.10 to php 4.3.11, I get the following build error. Has anyone else > seen it or know how to fix it? > libtool: link: cannot find the library > `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' > make: *** [sapi/cli/php] Error 1 > > !!! ERROR: dev-php/php-4.3.11 failed. > !!! Function php-sapi_src_compile, Line 544, Exitcode 2 > !!! compile problem > !!! If you need support, post the topmost build error, NOT this status > message. > > lemonaid root # > Thanks, > Tommy > > -- gentoo-user@gentoo.org mailing list
[gentoo-user] Dependency Question
Hello everyone - I apologize if this has been covered before, but I have not been able to find an answer through searching. My question, when I do an emerge -p --deep --update world emerge tells me that it wants to install kde-base and kde-libs for version 3.3.2. I have upgraded my KDE to version 3.4 and have uninstalled all the KDE 3.3 packages. I assume that emerge wants to install those packages because I have a package installed that depends on them. Is there a command that I can run to find out which package that is? Thanks everyone, James -- gentoo-user@gentoo.org mailing list
[gentoo-user] KDE 3.4.2
Good afternoon - Does anybody know when the split ebuilds for KDE 3.4.2 will move into ~x86? Is there a date set? Is there a list or webpage that I can use to check for myself? Thanks, James -- gentoo-user@gentoo.org mailing list
[gentoo-user] nxserver-personal install errors
Hello Everyone - I am trying to emerge nxserver-personal and I am getting the following error: /usr/lib/portage/bin/ebuild.sh: line 1495: nxserver-1.4_src_install: command not found. I have searched BGO and didn't not see any errors similar to this. Does anyone know what might be causing it? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Portage question...
Yann - I'm not sure about the downgrade from 3.3.6 to 3.3.5, but I had the same problem with libungif. I fixed it by unmerging giflib (emerge --ask --unmerge media-libs/giflib). Then re-running the update, which actually re-installed giflib for me. HTHOn 9/14/05, Yann GARNIER <[EMAIL PROTECTED]> wrote: Hi all,I did an "emerge -vuD world" last week and, among other thing, it updated GCC from 3.3.5 to 3.3.6 (which seemed to be a good thing..)Today after an "emerge --sync" I wanted to re-update my system ... and I'm wondering why portage 'wants' to downgrade my version of GCC from 3.3.6to 3.3.5... but also wondering why it suddenly wants to install giflib (which is blocked because of libungif...)The only thing I can do now to update the system is to add "-gif" in my make.conf file.Is there any other way to solve the giflib/libungif conflict ?What makes portage want to install giflib ?Can someone tell me what I missed ?In advance thank you.Yann Garnier --gentoo-user@gentoo.org mailing list
[gentoo-user] Shell through the web
Hi All - I am wondering if anyone has any suggestions of a way to get to a shell over the web using only port 80 or port 443. I would like to be able to open up a shell on my gentoo box from , but I am behind a firewall. I have searched sourcforge and freshmeat and have not had any luck. Is anyone doing this that may have a suggestion/advice for me? Thanks for your replies, James
[gentoo-user] Apache configuration files
All - I recently upgraded my apache2 to use the new layout. I was wondering about which configuration files that I now have to concern myself with. If I understand correctly the only configuration file is now /etc/apache2/httpd.conf, is this correct? Would it be safe to delete the configuration files located in the /etc/apache2/conf directory? Any assistance you can give me is greatly appreciated. Thanks, James
Re: [gentoo-user] Apache configuration files
On 11/8/05, Stuart Herbert <[EMAIL PROTECTED]> wrote: On Tue, 2005-11-08 at 16:28 -0500, James Colby wrote:> All ->> If I understand correctly the only configuration file is> now /etc/apache2/httpd.conf, is this correct?Yes.> Would it be safe to delete the configuration files located in > the /etc/apache2/conf directory?Yes. Thank you for your quick and informative response. Warm Regards, James
[gentoo-user] revdep-rebuild fails
List members - I am trying to run revdep-rebuild and it is failing. It is trying to re-compile a package that is no longer has an ebuild available (kdelibs-3.3.2-r7). I have tried running revdep-rebuild -X and revdep-rebuild --package-names, but it is still trying to compile the package. Does anybody have any suggestions? Also I am running KDE 3.4, is there an easy way that I can find out what package is using kde3 libs? *** Start Error Message *** All prepared. Starting rebuild... emerge --oneshot --nodeps =kde-base/kdelibs-3.3.2-r7 .. Calculating dependencies emerge: there are no ebuilds to satisfy "=kde-base/kdelibs-3.3.2-r7". *** End Error Message *** Thanks so much, James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] revdep-rebuild fails
On 11/19/05, b.n. <[EMAIL PROTECTED]> wrote: > James Colby wrote: > > List members - > > > > I am trying to run revdep-rebuild and it is failing. It is trying to > > re-compile a package that is no longer has an ebuild available > > (kdelibs-3.3.2-r7). I have tried running revdep-rebuild -X and > > revdep-rebuild --package-names, but it is still trying to compile the > > package. Does anybody have any suggestions? Also I am running KDE > > 3.4, is there an easy way that I can find out what package is using > > kde3 libs? > > Obvious question... Is your system up to-date? your last sync? Yes, I sync my tree every night. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] revdep-rebuild fails
On 11/19/05, Arturo 'Buanzo' Busleiman <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > James Colby wrote: > > 3.4, is there an easy way that I can find out what package is using > > kde3 libs? > > > > *** Start Error Message *** > > All prepared. Starting rebuild... > > emerge --oneshot --nodeps =kde-base/kdelibs-3.3.2-r7 > > Remove all .revdep* and run revdep-rebuild again. It will provide a list of > files that do not > dynamic link. Get that list. Then use "equery belongs FILENAME" and see what > package has that file. > Thanks, revdep-rebuild did give me the list of files that would not link, and equery belongs FILENAME tells me that the files are part of the kde-base/kdelibs-3.3.2-r7 package. Is there a way for me to find out which packages on my system depend on kdelibs-3.3.2-r7? Thanks, James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] revdep-rebuild fails
> > I just ran into this problem last night. I ran > equery depends kdelibs > made sure NONE of them specifically depended on kdelibs-3.3.2 (in my > case they were all compiled against kdelibs-3.4.x during a few of the > past update cycles). > then I just > emerge unmerge =kde-base/kdelibs-3.3.2-r7 > and revdep-rebuild stops complaining. > > W > > -- > "Another world, another day, another dawn. " > Sortir en Pantoufles: up 7 days, 20:10 > -- > gentoo-user@gentoo.org mailing list List - Thank you everyone for all of your help, unmerging the package fixed my problem. -James -- gentoo-user@gentoo.org mailing list
[gentoo-user] divx4linux
List Members - I have another question. I can't seem to find the divx4linux package anymore. I am trying to install it and emerge can't find it. It also does not appear to be available as a use flag for mplayer any more. Did the package change names, or am I just really tired and missing something here? Thanks again for everything, James -- gentoo-user@gentoo.org mailing list
[gentoo-user] MythTV compile error
List - Thanks for all of your help this weekend. I am having another issue. When I try to upgrade mythTV I am getting the attached error (I hope the attachment comes through). Does anyone have any ideas on what could be causing this? Thanks Again, James lcddevice.cpp: At global scope: lcddevice.cpp:564: error: `QPtrList' was not declared in this scope lcddevice.cpp:564: error: syntax error before `>' token lcddevice.cpp: In member function `void LCD::outputText(...)': lcddevice.cpp:569: error: `QPtrListIterator' undeclared (first use this function) lcddevice.cpp:569: error: syntax error before `>' token lcddevice.cpp:578: error: `it' undeclared (first use this function) lcddevice.cpp: In member function `void LCD::assignScrollingText(QString, QString, int)': lcddevice.cpp:676: warning: comparison between signed and unsigned integer expressions lcddevice.cpp:711: error: no matching function for call to `QTimer::start(int, bool)' /usr/include/qt4/QtCore/qtimer.h:58: error: candidates are: void QTimer::start(int) /usr/include/qt4/QtCore/qtimer.h:60: error: void QTimer::start() lcddevice.cpp: In member function `void LCD::startMusic(QString, QString)': lcddevice.cpp:720: error: no matching function for call to `QTimer::start(int, bool)' /usr/include/qt4/QtCore/qtimer.h:58: error: candidates are: void QTimer::start(int) /usr/include/qt4/QtCore/qtimer.h:60: error: void QTimer::start() lcddevice.cpp: In member function `void LCD::startChannel(QString, QString, QString)': lcddevice.cpp:747: error: no matching function for call to `QTimer::start(int, bool)' /usr/include/qt4/QtCore/qtimer.h:58: error: candidates are: void QTimer::start(int) /usr/include/qt4/QtCore/qtimer.h:60: error: void QTimer::start() lcddevice.cpp: At global scope: lcddevice.cpp:752: error: `QPtrList' was not declared in this scope lcddevice.cpp:752: error: syntax error before `>' token lcddevice.cpp: In member function `void LCD::startGeneric(...)': lcddevice.cpp:755: error: syntax error before `>' token lcddevice.cpp:768: error: `textItems' undeclared (first use this function) lcddevice.cpp:771: error: no matching function for call to `QTimer::start(int, bool)' /usr/include/qt4/QtCore/qtimer.h:58: error: candidates are: void QTimer::start(int) /usr/include/qt4/QtCore/qtimer.h:60: error: void QTimer::start() lcddevice.cpp: At global scope: lcddevice.cpp:792: error: `QPtrList' was not declared in this scope lcddevice.cpp:792: error: syntax error before `>' token lcddevice.cpp: In member function `void LCD::startMenu(...)': lcddevice.cpp:796: error: `menuItems' undeclared (first use this function) lcddevice.cpp:809: error: `app_name' undeclared (first use this function) lcddevice.cpp:811: error: syntax error before `>' token lcddevice.cpp:843: error: `popMenu' undeclared (first use this function) lcddevice.cpp:844: error: no matching function for call to `QTimer::start(int&, bool)' /usr/include/qt4/QtCore/qtimer.h:58: error: candidates are: void QTimer::start(int) /usr/include/qt4/QtCore/qtimer.h:60: error: void QTimer::start() lcddevice.cpp:848: error: syntax error before `>' token lcddevice.cpp:851: error: `itTemp' undeclared (first use this function) lcddevice.cpp:871: warning: comparison between signed and unsigned integer expressions lcddevice.cpp:873: error: no matching function for call to `QTimer::start(int, bool)' /usr/include/qt4/QtCore/qtimer.h:58: error: candidates are: void QTimer::start(int) /usr/include/qt4/QtCore/qtimer.h:60: error: void QTimer::start() lcddevice.cpp:965: error: no matching function for call to `QTimer::start(int, bool)' /usr/include/qt4/QtCore/qtimer.h:58: error: candidates are: void QTimer::start(int) /usr/include/qt4/QtCore/qtimer.h:60: error: void QTimer::start() lcddevice.cpp: In member function `void LCD::beginScrollingMenuText()': lcddevice.cpp:978: error: syntax error before `>' token lcddevice.cpp:989: warning: comparison between signed and unsigned integer expressions lcddevice.cpp:1003: error: no matching function for call to `QTimer::start(int, bool)' /usr/include/qt4/QtCore/qtimer.h:58: error: candidates are: void QTimer::start(int) /usr/include/qt4/QtCore/qtimer.h:60: error: void QTimer::start() lcddevice.cpp: In member function `void LCD::scrollMenuText()': lcddevice.cpp:1012: error: syntax error before `>' token lcddevice.cpp:1047: warning: comparison between signed and unsigned integer expressions lcddevice.cpp:1051: error: no matching function for call to `QTimer::start(int, bool)' /usr/include/qt4/QtCore/qtimer.h:58: error: candidates are: void QTimer::start(int) /usr/include/qt4/QtCore/qtimer.h:60: error: void QTimer::start() lcddevice.cpp:1058: warning: comparison between signed and unsigned integer expressions lcddevice.cpp:1094: warning: comp
Re: [gentoo-user] divx4linux
On 11/20/05, Nick Rout <[EMAIL PROTECTED]> wrote: > Here is the relevant gentoo-dev thread. > > http://marc.theaimsgroup.com/?l=gentoo-dev&m=112940871726601&w=2 > > Excellent, thanks for the link. Very helpful -- gentoo-user@gentoo.org mailing list
[gentoo-user] PHP files not being executed in aliased directory
List Members - I recently ran an emerge update that upgraded my apache2 installation. I am now having a problem with PHP pages located in an aliased directory. Instead of showing me the correctly rendered page I am only seeing the PHP code. PHP pages located in the DocumentRoot folder are being correctly executed. Any ideas? Thanks, James -- gentoo-user@gentoo.org mailing list
[gentoo-user] VMWare Server beta on Gentoo
List members - Does anyone on the list have any experience with installing vmware-server on a gentoo box. I followed the directions found at http://diaryproducts.net/about/operating_systems/unix/installing_vmware_server_on_gentoo_linux_part_2 but I can't get the vmware service to start. Any help or suggestions any one might have would be greatly appreciated. Thanks, James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] VMWare Server beta on Gentoo
Thank you everyone for your suggestions. I was able to get it installed thanks! Get the ebuilds via svn as written at http://bugs.gentoo.org/show_bug.cgi?id=122500#123 I installed it on a AMD64 in 32 and 64 Bit mode. One thing i had to do is to re-emerge vmware-modules after vmware-server. regards Petric -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] Software suspend 2
List members - I am trying to to set up software suspend 2 on my laptop using the instructions found on gentoo-wiki.com. I am at the section where I need to configure my boot loader (I'm using lilo) and when I add the following entry to my lilo.conf: image=/boot/gentoo-suspend2 label=gentoo-suspend2 append = resume2=swap:/dev/hda7 read-only root=/dev/hda8 I get the following error when running lilo: Syntax error at or above line 14 in file '/etc/lilo.conf'. Line 14 is the append line. Does anyone have any idea as to what may be causing this? Thanks, James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Software suspend 2
Well, no idea, but you can skip that append, if you set a default suspend "device" in the kernel configuration. Alexander Skwar -- Alexander - Thanks for the tip...that worked for me. Kind regards, James -- gentoo-user@gentoo.org mailing list
[gentoo-user] Logitech cordless
List members - I am trying to use a Logitech cordless keyboard and mouse with my gentoo based laptop. When I try to boot into linux the cordless receiver is never enabled. After doing some research on google it appears that the easiest solution is to use a USB to PS2 adapter for the usb connection, but unfortunately that will not work for me as I only have one ps2 slot. Does anyone know if there is a kernel option or a third party driver that I could install to enable my cordless keyboard and mouse. Thanks everyone for all of your help over the last few days. regards, James -- gentoo-user@gentoo.org mailing list
[gentoo-user] System Suspend...kind of OT
List members - I have a laptop that I dual boot with windows and gentoo. My gentoo installation has software suspend working. When I run the hibernate script the system hibernates and then powers down. When I press the power button on my laptop I am then presented with my lilo boot menu and I can choose Gentoo, and resume my session. Now when I boot into windows and I suspend my session...the session suspends and my system powers off. When I press the power button the system automatically resumes my windows session and I am never presented with the lilo menu. Is there a change that I could make to my windows suspend options so that when I press the power button I am presented with the lilo boot menu and I can choose to resume either windows or gentoo. Thanks for any input that you may have, and I apologize if this is too off topic for this list. -James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] System Suspend...kind of OT
On 6/1/06, Anthony E. Caudel <[EMAIL PROTECTED]> wrote: When Windows _SUSPENDS_ (we're not talking hibernate right?), it never relaay stops running. It shuts down the display and the hard drives and sort of goes to sleep. So when you "power" back up, it simply resumes. It does not reboot. Tony -- Tony - The option that I choose in windows is stand-by. Is there another option that I can enable for hibernate. Would hibernate give me what I'm looking for. Thanks for the help, James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] System Suspend...kind of OT
On 6/1/06, Daniel da Veiga <[EMAIL PROTECTED]> wrote: On 6/1/06, James Colby <[EMAIL PROTECTED]> wrote: > On 6/1/06, Anthony E. Caudel <[EMAIL PROTECTED]> wrote: > Yes, the system would hibernate and at the next power up the system would effectively boot, not just wake up, and you would get the lilo boot. > All - Thanks for the tips...I went into the power control settings in the control panel and enabled hibernation. Now when I shutdown there is an option to hibernate. Thanks for the help everyone. Please return to your regularly scheduled Linux discussions :) -- gentoo-user@gentoo.org mailing list
[gentoo-user] / becomes read only
List members - I have a Gentoo install running inside of a vmware ESX server virtual machine. I am having a very strange issue though. Every few days the root filesystem will become read only and the only way that I can fix it is to reboot or power down the virual machine. Does anyone have any ideas as to what might be causing this? I have searched through the logs and the only errors tha I see regarding my root device (/dev/sda3) seem to be coming from the FSCK that is done on reboot of the sever. Any suggestions would be greatly appreciated. Thanks, James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] / becomes read only
A disk timeout error could cause a filesystem to be remounted read-only. And if /var is on the same disk, you wouldn't necessarily see the errors (since, after all, it is now read-only!). I would start by making /var a separate filesystem if you haven't already. Heck, put it on a different virtual disk if you have to... -Richard -- Richard - Thanks for the suggestion. I have moved /var to a separate virtual disk. Hopefully this will give me some clue as to why the root filesystem keeps becoming read only. If it does turnout to be a disk timeout do you have any suggestions as how to fix the problem? Thanks, James -- gentoo-user@gentoo.org mailing list