Re: [gentoo-user] unable to login to user account or do su - username
On Monday 04 May 2009 06:04:16 Valmor de Almeida wrote: Alan McKinnon wrote: On Sunday 03 May 2009 04:53:41 Mike Kazantsev wrote: On Sat, 02 May 2009 20:52:39 -0400 I don't know about motd, but the rest looks like pam problem to me, if you're using pam, of course. Try 'euse -i pam' to see if it's enabled. If that's the case, first of all I'd suggest to check etc-update. Then look through /etc/pam.d, especially system-* files. There you can remove some of the required (for successfull authentication) modules, so their failure won't affect the process. And read the elogs. There's been some pam updates come through on my machines the last few weeks/months. I re-emerged pam and following this message: -- LOG: postinst Starting from version 20080801, pambase optionally enables SHA512-hashed passwords. For this to work, you need sys-libs/pam-1.0.1 built against sys-libs/glibc-2.7 or later. I imagine this constraint is satisfied on your machines, otherwise that pam would not have been emerged due to blockers in the ebuild [snip] since I find this in /etc/pam.d/system-auth passwordrequiredpam_unix.so try_first_pass use_authtok nullok sha512 shadow -- After these changes (do I need to reboot? I am doing this remotely so I will have to wait till I can sit on the console) still can't login or su to 3 of the accounts. Also created a new account and no luck login to to it nor using su. Apparently newly created accounts definitely are affected. Older accounts still work (???) You don't need to reboot - pam config is dynamic. Here's a quick go/no-go experiment to see if it's the new hashes that are doing it. Find an account that can sudo to root on the affected machines and examine the shadow file. See what kind of hashes the affected accounts are using. md5 is 34 characters long and sha512 is 98 in this format: $x$salt$hash x is 1 for md5 and 6 for sha512. salt is 8 characters for both If the affected account is sha512, run openssl passwd -1 to generate an md5 hash, and copy paste it back into field 2 of your account in shadow. You might want to comment out a copy of the original line just in case. See if sudo now works. If so, hashes are the problem. If not, we should look further, especially at the pam config for sudo. Here's mine which works: authinclude system-auth account include system-auth passwordinclude system-auth session include system-auth And you did confirm that sudo checks for wheel group membership, and that you are still in this group? -- alan dot mckinnon at gmail dot com
[gentoo-user] root-nfs question
Dear list, I posted this on gentoo forums but maybe you guys could help me out as well. So I wanted to play around with building my own diskless node. Yes, I know there are easier ways to do this. Automated tools like Caos Linux, etc. etc. Anyway, I wanted to use gentoo and learn from the ground up. So I booted a box via pxe, tftp and dhcp. it boots--- but can't seem to find NFS. And yes, i've googled. none have worked. I don't know what I'm missing. I get this: rpcbind: server 192.168.2.1 not responding, timed out Root-NFS: Unable to get nfsd port number from server, using default Looking up port of RPC 15/1 on 192.168.2.1 rpcbind: server 192.168.2.1 not responding, timed out Root-NFS: Unable to get mountd port number from server, using default Root-NFS: Server returned error -5 while mounting /diskless/192.168.2.11 VFS: Unable to mount root fs via NFS, tryi9ng floppy. VFS: Cannot open root device nfs or unknown-block(2,0) Kernel Panic - not syncing: VFS unable to mount root fs on unknown- block(2,0) Both client and server have root nfs turned on it their respective kernel. i have turned off the firewall on the server and still get the same error. pxelinux.cfg is this: DEFAULT /kernel8 APPEND root=/dev/nfs rw nfsroot=192.168.2.1:/diskless/192.168.2.11 init=sbin/init this is rpcinfo: talon dhcp # rpcinfo -p 192.168.2.1 program vers proto port 104 tcp111 portmapper 103 tcp111 portmapper 102 tcp111 portmapper 104 udp111 portmapper 103 udp111 portmapper 102 udp111 portmapper 1000241 udp 45975 status 1000241 tcp 57882 status 151 udp 57290 mountd 151 tcp 50765 mountd 152 udp 57290 mountd 152 tcp 50765 mountd 153 udp 57290 mountd 153 tcp 50765 mountd 132 udp 2049 nfs 133 udp 2049 nfs 1000211 udp 57739 nlockmgr 1000213 udp 57739 nlockmgr 1000214 udp 57739 nlockmgr 1000211 tcp 45392 nlockmgr 1000213 tcp 45392 nlockmgr 1000214 tcp 45392 nlockmgr 132 tcp 2049 nfs 133 tcp 2049 nfs ps -aef | grep rpc is this: alon conf.d # ps -aef | grep rpc root 1101 2 0 18:14 ?00:00:00 [rpciod/0] root 1102 2 0 18:14 ?00:00:00 [rpciod/1] root 8332 1 0 18:15 ?00:00:00 /sbin/rpcbind nobody8356 1 0 18:15 ?00:00:00 /sbin/rpc.statd --no- notify root 8379 1 0 18:15 ?00:00:00 /usr/sbin/rpc.mountd root 8587 8560 0 18:22 pts/000:00:00 grep --colour=auto rpc tcpdump: 17), length 57) master.talon.11978 node01.talon.57100: UDP, length 29 17:39:47.683582 IP (tos 0x0, ttl 64, id 53556, offset 0, flags [DF], proto UDP (17), length 52) master.talon.11974 node01.talon.57099: UDP, length 24 17:39:48.451700 IP (tos 0x0, ttl 64, id 54326, offset 0, flags [DF], proto UDP (17), length 57) master.talon.11976 node01.talon.57100: UDP, length 29 17:39:49.665576 IP (tos 0x0, ttl 64, id 63547, offset 0, flags [DF], proto UDP (17), length 57) master.talon.11978 node01.talon.57100: UDP, length 29 17:39:49.762700 IP (tos 0x0, ttl 64, id 55637, offset 0, flags [DF], proto UDP (17), length 57) master.talon.11975 node01.talon.57100: UDP, length 29 17:39:50.661534 arp who-has node01.talon tell master.talon 17:39:51.662530 arp who-has node01.talon tell master.talon 17:39:52.401575 IP (tos 0x0, ttl 64, id 58276, offset 0, flags [DF], proto UDP (17), length 57) master.talon.11977 node01.talon.57100: UDP, length 29 17:39:52.662526 arp who-has node01.talon tell master.talon 17:39:54.471660 arp who-has node01.talon tell master.talon arp--- that's the point where kernel panic occurs. this is my /etc/exports file: #/etc/exports: NFS file systems being exported. See exports(5). /diskless/192.168.2.11 *(rw,no_root_squash,no_all_squash,no_subtree_check) /opt192.168.2.0/24(ro,no_root_squash,no_all_squash,no_subtree_check) /usr192.168.2.0/24(ro,no_root_squash,no_all_squash,no_subtree_check) /home 192.168.2.0/24(rw,no_root_squash,no_all_squash,no_subtree_check) /var/log 192.168.2.11(rw,no_root_squash,no_all_squash,no_subtree_check) my dhcp configuration is this: # my dhcpd.conf for diskless clients allow booting; #allow bootp; #tftp next-server 192.168.2.1; #option root-path /diskless/192.168.2.11; option space PXE; option PXE.mtftp-ip code 1 = ip-address; option PXE.mtftp-cportcode 2 = unsigned integer 16; option PXE.mtftp-sportcode 3 = unsigned integer 16; option PXE.mtftp-tmoutcode 4 = unsigned integer 8; option PXE.mtftp-delaycode 5 = unsigned integer 8; option PXE.discovery-control code 6 = unsigned integer 8; option
[gentoo-user] Re: nanosleep broken on ~amd64?
Arttu V. wrote: walt wrote: Could someone else compile the test and confirm that it returns 119 on ~amd64 instead of 0? It returns 119 on an semi-ancient Athlon64 3200+ box here as well. Could kernel HZ-settings affect the outcome? This box has CONFIG_HZ=250, but tomorrow I can try on another amd64 which runs a 1000HZ kernel IIRC. 119 here on AMD64 with a not-so-ancient Core 2 Duo and a kernel timer of 1000Hz (gentoo-sources-2.6.28-r5).
Re: [gentoo-user] Canon PowerShot A400 Gentoo [SOLVED]
Thanks all, camera works well :) Short summary: 1. Search your camera in supported camera list http://gphoto.org/proj/libgphoto2/support.php 2. Install photo manager gtkam, gphoto2 or F-Spot (by manual http://www.gentoo-wiki.info/F-Spot that is my favourite manager). 3. Add your user to groups usb, haldaemon and plugdev (may be you will need group camera too). 4. Start your photo manager and if it cannot see your camera, download and install the latest version of libgphoto from http://gphoto.org/ (2.4.5 now). Enjoy! -- Alexander Pilipovsky aka Engraver
Re: [gentoo-user] root-nfs question
Hi, rpcbind: server 192.168.2.1 not responding, timed out Root-NFS: Unable to get nfsd port number from server, using default Looking up port of RPC 15/1 on 192.168.2.1 rpcbind: server 192.168.2.1 not responding, timed out Root-NFS: Unable to get mountd port number from server, using default Root-NFS: Server returned error -5 while mounting /diskless/192.168.2.11 VFS: Unable to mount root fs via NFS, tryi9ng floppy. VFS: Cannot open root device nfs or unknown-block(2,0) Kernel Panic - not syncing: VFS unable to mount root fs on unknown- block(2,0) Both client and server have root nfs turned on it their respective kernel. Make sure the client also has CONFIG_IP_PNP_DHCP=y and the necessary NIC drivers compiled in (not as module). pxelinux.cfg is this: DEFAULT /kernel8 APPEND root=/dev/nfs rw nfsroot=192.168.2.1:/diskless/192.168.2.11 init=sbin/init Add ip=dhcp to APPEND so that the kernel does DHCP again for an IP. Otherwise it might not be connected to the network when it boots and be unable to reach the NFS server. Greetings, Sascha signature.asc Description: This is a digitally signed message part.
[gentoo-user] Removing Packages with Portage
Hello all! I am a Gentoo n00b. I have question about what the 'expected behaviour' is/should be when removing packages under Gentoo package management. So I read this document: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?style=printablefull=1#book_part2 And it says, to remove software, use 'emerge --unmerge'. Cool, yeah that seems to do what I expect... So, I have a package madwifi-ng, which contains some kernel modules. I want to emerge --unmerge that package, because I want to make those drivers go away. That seems to go well, as when I search for it in portage it show all non-installed and stuff: prometheus ~ # emerge --search madwifi-ng Searching... [ Results for search key : madwifi-ng ] [ Applications found : 2 ] * net-wireless/madwifi-ng Latest version available: 0.9.4 Latest version installed: [ Not Installed ] Size of files: 3,403 kB Homepage: http://www.madwifi-project.org/ Description: Next Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards License: atheros-hal || ( BSD GPL-2 ) Buuut, there are still kernel modules there, which are owned by that package: prometheus ~ # ls -lah /lib/modules/2.6.28-gentoo-r5/net/ath_pci.ko -rw-r--r-- 1 root root 77K May 3 20:43 /lib/modules/2.6.28-gentoo-r5/net/ath_pci.ko prometheus ~ # and of course they still load. Sooo, my question. What is the expected behaviour here? Are the ebuilds intended to maintain knowledge of the files they put on a system, so they can remove the binaries when --unmerge'd? Are kernel modules handled differently because of the possibility of damaging a working system? Thanks! -- Matt
Re: [gentoo-user] Removing Packages with Portage
On Mon, 4 May 2009 10:45:00 +0100, Matt Causey wrote: Sooo, my question. What is the expected behaviour here? Are the ebuilds intended to maintain knowledge of the files they put on a system, so they can remove the binaries when --unmerge'd? Are kernel modules handled differently because of the possibility of damaging a working system? The latter. The user programs will be gone but the kernel modules stay. With more normal packages, the only files that are not removed are those in CONFIG_PROTECTed directories and those that have been modified since installation. -- Neil Bothwick Out of body, be back in five minutes. signature.asc Description: PGP signature
Re: [gentoo-user] root-nfs question
hi, pxelinux.cfg is this: DEFAULT /kernel8 APPEND root=/dev/nfs rw nfsroot=192.168.2.1:/diskless/192.168.2.11 init=sbin/init Add ip=dhcp to APPEND so that the kernel does DHCP again for an IP. Otherwise it might not be connected to the network when it boots and be unable to reach the NFS server. Greetings, Sascha Thanks! did this and it worked! Cheers! Cocoy www.twitter.com/cocoy People who are really serious about software should make their own hardware -- Alan Kay
[gentoo-user] Re: gnome-terminal GNU screen
On Sun, Apr 5, 2009 at 21:25, Ward Poelmans wpoel...@gmail.com wrote: I've got a problem running screen in a gnome-terminal: all the usual keystroks (for example: ^a c) don't work. When i press ctrl+a d, i just get a d on the terminal. Screen works perfectly when i start it in a xterm. I haven't got a clue where to search for the problem. Any ideas? A small follow up: i've discoverd the source of the problem: the a en q key are switched. When i use ^q everything works as it should. But i my screenrc it says: escape ^aa. My keyboard layout is azerty (using evdev hal). In every other program, ^a (select-all) works as it should. Any idea why in gnome-terminal, ^a and ^q are switched? Thanks, Ward
Re: [gentoo-user] Removing Packages with Portage
Neil Bothwick schrieb: On Mon, 4 May 2009 10:45:00 +0100, Matt Causey wrote: Sooo, my question. What is the expected behaviour here? Are the ebuilds intended to maintain knowledge of the files they put on a system, so they can remove the binaries when --unmerge'd? Are kernel modules handled differently because of the possibility of damaging a working system? The latter. The user programs will be gone but the kernel modules stay. With more normal packages, the only files that are not removed are those in CONFIG_PROTECTed directories and those that have been modified since installation. Anyway you also might want to run an emerge --depclean -av after unmerging. Maybe there are othere programs not needed anymore at now. kh
Re: [gentoo-user] What's the deal with CAMERAS anyway?
I have compiled libgphoto by ./configure, make, make install way. Us I understand, it does not use settings from make.conf? (If I understand question with my bad English :D) Arttu V. wrote: Hello, Inspired by the other digicam thread I took a quick look at an older problem of mine, namely getting libgphoto2 to compile drivers for all cameras. Anyone got a clue why *not* setting CAMERAS won't build drivers for all cameras as claimed several times in the libgphoto2 ebuild? All I see is that CAMERAS variable is not handled directly by the ebuild (but maybe libgphoto2's Makefiles or build scripts do something with it?), and when I comment out CAMERAS=canon line from /etc/make.conf, then *poof* libgphoto2 plans to drop even that only driver I currently have compiled: [ebuild R ] media-libs/libgphoto2-2.4.3 USE=exif hal nls -bonjour -doc CAMERAS=-adc65 -agfa_cl20 -aox -barbie -canon* -casio_qv -clicksmart310 -digigr8 -digita -dimagev -dimera3500 -directory -enigma13 -fuji -gsmart300 -hp215 -iclick -jamcam -jd11 -jl2005a -kodak_dc120 -kodak_dc210 -kodak_dc240 -kodak_dc3200 -kodak_ez200 -konica -konica_qm150 -largan -lg_gsm -mars -mustek -panasonic_coolshot -panasonic_dc1000 -panasonic_dc1580 -panasonic_l859 -pccam300 -pccam600 -polaroid_pdc320 -polaroid_pdc640 -polaroid_pdc700 -ptp2 -ricoh -ricoh_g3 -samsung -sierra -sipix_blink -sipix_blink2 -sipix_web2 -smal -sonix -sony_dscf1 -sony_dscf55 -soundvision -spca50x -sq905 -stv0674 -stv0680 -sx330z -template -topfield -toshiba_pdrm11 5,052 kB Something's fishy with this and I just haven't had the time to investigate further. A quick glance-comparison shows libgphoto2 ebuild missing the critical lines actually doing something with the CAMERAS variable -- while for similar variable settings lines exists for, e.g., lirc (LIRC_DEVICES) and alsa-driver (ALSA_CARDS) in their respective ebuilds. After taking a two-minute look at the ebuilds I just have the question: is it supposed to work, does leaving it empty work for someone? -- Alexander Pilipovsky aka Engraver
[gentoo-user] What's the deal with CAMERAS anyway?
Hello, Inspired by the other digicam thread I took a quick look at an older problem of mine, namely getting libgphoto2 to compile drivers for all cameras. Anyone got a clue why *not* setting CAMERAS won't build drivers for all cameras as claimed several times in the libgphoto2 ebuild? All I see is that CAMERAS variable is not handled directly by the ebuild (but maybe libgphoto2's Makefiles or build scripts do something with it?), and when I comment out CAMERAS=canon line from /etc/make.conf, then *poof* libgphoto2 plans to drop even that only driver I currently have compiled: [ebuild R ] media-libs/libgphoto2-2.4.3 USE=exif hal nls -bonjour -doc CAMERAS=-adc65 -agfa_cl20 -aox -barbie -canon* -casio_qv -clicksmart310 -digigr8 -digita -dimagev -dimera3500 -directory -enigma13 -fuji -gsmart300 -hp215 -iclick -jamcam -jd11 -jl2005a -kodak_dc120 -kodak_dc210 -kodak_dc240 -kodak_dc3200 -kodak_ez200 -konica -konica_qm150 -largan -lg_gsm -mars -mustek -panasonic_coolshot -panasonic_dc1000 -panasonic_dc1580 -panasonic_l859 -pccam300 -pccam600 -polaroid_pdc320 -polaroid_pdc640 -polaroid_pdc700 -ptp2 -ricoh -ricoh_g3 -samsung -sierra -sipix_blink -sipix_blink2 -sipix_web2 -smal -sonix -sony_dscf1 -sony_dscf55 -soundvision -spca50x -sq905 -stv0674 -stv0680 -sx330z -template -topfield -toshiba_pdrm11 5,052 kB Something's fishy with this and I just haven't had the time to investigate further. A quick glance-comparison shows libgphoto2 ebuild missing the critical lines actually doing something with the CAMERAS variable -- while for similar variable settings lines exists for, e.g., lirc (LIRC_DEVICES) and alsa-driver (ALSA_CARDS) in their respective ebuilds. After taking a two-minute look at the ebuilds I just have the question: is it supposed to work, does leaving it empty work for someone? -- Arttu V.
Re: [gentoo-user] Removing Packages with Portage
On Monday 04 May 2009 11:45:00 Matt Causey wrote: Hello all! I am a Gentoo n00b. I have question about what the 'expected behaviour' is/should be when removing packages under Gentoo package management. So I read this document: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?style=printablefull =1#book_part2 And it says, to remove software, use 'emerge --unmerge'. Cool, yeah that seems to do what I expect... So, I have a package madwifi-ng, which contains some kernel modules. I want to emerge --unmerge that package, because I want to make those drivers go away. That seems to go well, as when I search for it in portage it show all non-installed and stuff: prometheus ~ # emerge --search madwifi-ng Searching... [ Results for search key : madwifi-ng ] [ Applications found : 2 ] * net-wireless/madwifi-ng Latest version available: 0.9.4 Latest version installed: [ Not Installed ] Size of files: 3,403 kB Homepage: http://www.madwifi-project.org/ Description: Next Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards License: atheros-hal || ( BSD GPL-2 ) Buuut, there are still kernel modules there, which are owned by that package: prometheus ~ # ls -lah /lib/modules/2.6.28-gentoo-r5/net/ath_pci.ko -rw-r--r-- 1 root root 77K May 3 20:43 /lib/modules/2.6.28-gentoo-r5/net/ath_pci.ko prometheus ~ # and of course they still load. Sooo, my question. What is the expected behaviour here? Are the ebuilds intended to maintain knowledge of the files they put on a system, so they can remove the binaries when --unmerge'd? That's the general idea. Except for *this* case :-) Are kernel modules handled differently because of the possibility of damaging a working system? Out of tree kernel modules are a maintenance pain in the ass, and cause severely non-obvious problems like this. Every time you upgrade your kernel, you must rebuild the out-of-tree modules, and you do that by re-running emerge madwifi-ng. This builds a new modules that matches the currently configured kernel (/usr/src/linux/) and puts the module in /lib/modules/version Upgrade your kernel a few times and you have various versions of modules floating around. Portage remembers the modules installed by the most recent emerge, but AFAIK forgets all the previous ones. This is expected of course - when you upgrade firefox-2 to firefox-3 you would not expect the system to remember the firefox-2 files (as they are supposed to not be there anymore) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Removing Packages with Portage
Out of tree kernel modules are a maintenance pain in the ass, and cause severely non-obvious problems like this. Every time you upgrade your kernel, you must rebuild the out-of-tree modules, and you do that by re-running emerge madwifi-ng. This builds a new modules that matches the currently configured kernel (/usr/src/linux/) and puts the module in /lib/modules/version Upgrade your kernel a few times and you have various versions of modules floating around. Portage remembers the modules installed by the most recent emerge, but AFAIK forgets all the previous ones. This is expected of course - when you upgrade firefox-2 to firefox-3 you would not expect the system to remember the firefox-2 files (as they are supposed to not be there anymore) Your explanation is extremely helpful here. Thanks! As long as I know the expectation, I can plan for it when troubleshooting. I can certainly see the 'pain in the ass' factor there. :-) I was originally chasing a panic caused by ath_pci - but now that I've looked more closely at the issue that you describe here, I see that I did manage to get 2 incompatible interdependent modules installed in the system...grrr. I'll be doing some more-than-casual tinkering with ath_pci vs ath5k in the coming weeks, so I'll probably just plan not to use that ebuild for the present moment. :-) Althoughwould it be non-trivial for me to try and extend the ebuild to make it clean up after itself on unmerge? Along the same lines, how does the ebuild know what to remove on --unmerge? For example I'm wandering around and looking at ebuilds: prometheus ethtool # pwd /usr/portage/sys-apps/ethtool prometheus ethtool # ls ChangeLog Manifest ethtool-6.ebuild metadata.xml prometheus ethtool # I see nothing in that ebuild which describes the files that ethtool put on the system. Yet an --unmerge removes the binaries and sourceinteresting. So I found a CONTENTS file: prometheus ethtool-6 # pwd /var/db/pkg/sys-apps/ethtool-6 prometheus ethtool-6 # cat CONTENTS dir /usr dir /usr/sbin obj /usr/sbin/ethtool e830749ff2f81cc25b6629b19e93e3e7 1241002052 dir /usr/share dir /usr/share/doc dir /usr/share/doc/ethtool-6 obj /usr/share/doc/ethtool-6/NEWS.bz2 8757829b0fb19bb74c968c203fc76b68 1241002049 obj /usr/share/doc/ethtool-6/AUTHORS.bz2 11b48a9d12c1cebcb2ae6bb29e80d1e1 1241002049 obj /usr/share/doc/ethtool-6/ChangeLog.bz2 08b981d7a1afb29bbac1636ae81026c2 1241002049 obj /usr/share/doc/ethtool-6/README.bz2 3188a9ad571f7e4e4d0c1df4479db6d4 1241002049 dir /usr/share/man dir /usr/share/man/man8 obj /usr/share/man/man8/ethtool.8.bz2 71a609e8a269cc9dcc0e813e77675ab6 1241002049 prometheus ethtool-6 # Based on this, it looks like portage internally records the files which get installed.and then can retrieve this information later (qfile might want this information, --unmerge might want it...etc.). Is this the correct way to understand how portage maintains sanity? Thanks! -- Matt
[gentoo-user] Resizing ext3 Partition
Hi all, I am new to gentoo and so far I really like it. But now, I am running out of disk space on my root partition (10 GB), although I have a rather small system with fluxbox (no KDE, GNOME,...). Thought gentoo would not waste my resources that much. Now I am thinking about how to resize my ext3 partitions. Bellow is the output of fdisk: fdisk -l Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xbbc58b91 Device Boot Start End Blocks Id System /dev/sda1 1 893 7168000 1c Hidden W95 FAT32 (LBA) Partition 1 does not end on cylinder boundary. /dev/sda2 * 8935968407654407 HPFS/NTFS /dev/sda3 10622 1945870975488f W95 Ext'd (LBA) /dev/sda5 10622 13575237199727 HPFS/NTFS /dev/sda6 13575 13581 54819 83 Linux /dev/sda7 13582 13831 2008093+ 82 Linux swap / Solaris /dev/sda8 13832 1507710008463+ 83 Linux /dev/sda9 15078 1945835182990 83 Linux sda8 is my root partition and sda9 is my home partition where there is plenty of space. Is there any safe way to resize with Linux tools? The descriptions found on google did not help me a lot... Thanks for your help! -- Regards, Marco
[gentoo-user] Re: gentoo older versions
Nitin Kanaskar nitinvk04 at gmail.com writes: Thank you so much Dale again - but i would try to follow links given by Neil - thank you Neil - and chk in the cvs repositories. Really appreciate your willingness to help. Hello Nitin, After reading your thread, you seem to be a bit flexible in what you pursue as opportunities for security analysis. Just a suggestion, but, in lieu of pursuing a very 'well worn path' of vulnerability assessments, might you be interested in exploring an alternative? If so, consider testing for security vulnerabilities on a variety of embedded (Gentoo) linux devices/architectures? You'll find embedded linux on a variety of hardware, very rich in opportunities for exploits. There are far fewer folks to test and fix problems, and many of the builds are barely able to support the arch, let alone robust security analysis. You could easily distinguish your self and provide a huge service to the gentoo community, not to mention working with some very sharp minds who inhabit this space. For example, you could test the vulnerability difference between the various C libraries, with all else being the same. Or look at vulnerability differences between soft-float and using builds based on hardware, just to name a few. Certainly with a quick survey of the space, you can come up with lots of ideas that would yield lots of uniquely interesting information, and blaze a new path. Gentoo on ARM is a HUGE opportunity for distinction. Here are a few links for your perusal: http://www.gentoo.org/proj/en/base/embedded/index.xml http://www.gentoo.org/proj/en/base/embedded/handbook/ http://tinderbox.dev.gentoo.org/ http://slonopotamus.org/gentoo-on-n8x0 http://en.gentoo-wiki.com/wiki/TinyGentoo http://wiki.debian.org/ArmEabiPort http://www.codesourcery.com/sgpp/lite/arm/portal/target_arc...@template=faq#q_gnu_linux_long_long http://martinwguy.co.uk/martin/tech/Maverick/ Just a suggestion hth, James
Re: [gentoo-user] Resizing ext3 Partition
On Do shanbe 14 Ordibehesht 1388 18:22:19 Neil Bothwick wrote: On Mon, 4 May 2009 12:56:05 +, Marco wrote: I am new to gentoo and so far I really like it. But now, I am running out of disk space on my root partition (10 GB), although I have a rather small system with fluxbox (no KDE, GNOME,...). Thought gentoo would not waste my resources that much. Now I am thinking about how to resize my ext3 partitions. I'd look to see what is filling up the root partition, 10GB should be more than enough. Try to remount route on another directory and check which directory is using so much. I had a similar problem asked this a couple of month before on this mailing list. They gave this commands: #mount -o bind / /mnt/root #du -max-dep=1 bests
Re: [gentoo-user] Canon PowerShot A400 Gentoo [SOLVED]
On Mon, May 4, 2009 at 3:27 AM, Alexander Pilipovsky alexander.pilipov...@gmail.com wrote: Thanks all, camera works well :) Short summary: Search your camera in supported camera list http://gphoto.org/proj/libgphoto2/support.php Install photo manager gtkam, gphoto2 or F-Spot (by manual http://www.gentoo-wiki.info/F-Spot that is my favourite manager). Add your user to groups usb, haldaemon and plugdev (may be you will need group camera too). Start your photo manager and if it cannot see your camera, download and install the latest version of libgphoto from http://gphoto.org/ (2.4.5 now). You may also be interested in media-libs/gphotofs which is in sunrise overlay. It lets you mount a camera as filesystem (for those of us who have cameras which don't support USB mass storage mode).
[gentoo-user] Which mobile (cell) phone manager?
Hi All, There seems to be a long list of mobile phone managers out there: kmobiletools gnokii wammu/gammu There's probably more (gnome-phone-manager?) but I do not have Gnome on this machine. I have a Nokia phone and I am not sure of the pros + cons of each application for managing it. Have you used any of these and what would you recommend? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Which mobile (cell) phone manager?
On Mon, May 4, 2009 at 9:25 AM, Mick michaelkintz...@gmail.com wrote: Hi All, There seems to be a long list of mobile phone managers out there: kmobiletools gnokii wammu/gammu There's probably more (gnome-phone-manager?) but I do not have Gnome on this machine. I have a Nokia phone and I am not sure of the pros + cons of each application for managing it. Have you used any of these and what would you recommend? I use Nokia PC Suite for Windows in a virtual machine. :) But, really, I don't use any of them. The only real use I've seen from them is easier entry of contacts, and I only have about 10 contacts so it is not a problem for me to type them on the phone. For backups, I use the phone's internal backup function to make a backup onto the memory card.
Re: [gentoo-user] Removing Packages with Portage
On Monday 04 May 2009 14:11:02 Matt Causey wrote: Out of tree kernel modules are a maintenance pain in the ass, and cause severely non-obvious problems like this. Every time you upgrade your kernel, you must rebuild the out-of-tree modules, and you do that by re-running emerge madwifi-ng. This builds a new modules that matches the currently configured kernel (/usr/src/linux/) and puts the module in /lib/modules/version Upgrade your kernel a few times and you have various versions of modules floating around. Portage remembers the modules installed by the most recent emerge, but AFAIK forgets all the previous ones. This is expected of course - when you upgrade firefox-2 to firefox-3 you would not expect the system to remember the firefox-2 files (as they are supposed to not be there anymore) Your explanation is extremely helpful here. Thanks! As long as I know the expectation, I can plan for it when troubleshooting. I can certainly see the 'pain in the ass' factor there. :-) I was originally chasing a panic caused by ath_pci - but now that I've looked more closely at the issue that you describe here, I see that I did manage to get 2 incompatible interdependent modules installed in the system...grrr. Love gotta love gentoo - break it, you get to keep both pieces :-) I'll be doing some more-than-casual tinkering with ath_pci vs ath5k in the coming weeks, so I'll probably just plan not to use that ebuild for the present moment. :-) Althoughwould it be non-trivial for me to try and extend the ebuild to make it clean up after itself on unmerge? Portage keeps it's house-keeping in /var/db/pkg with subdirectories in the form category/package-version. There's interesting stuff in there, like a file called CONTENTS. It has the files installed by the ebuild, plus their md5sums, and that's how portage knows what to rm when you unmerge. man ebuild lists the functions you can override in ebuilds, including unmerge. It calls pkg_postrm (a simple bash function) so you could in theory insert a call to find /lib/modules to find all the modules in question and delete them. You'd have to think this through carefully though as the potential for destruction is vast... Along the same lines, how does the ebuild know what to remove on --unmerge? For example I'm wandering around and looking at ebuilds: prometheus ethtool # pwd /usr/portage/sys-apps/ethtool prometheus ethtool # ls ChangeLog Manifest ethtool-6.ebuild metadata.xml prometheus ethtool # I see nothing in that ebuild which describes the files that ethtool put on the system. Yet an --unmerge removes the binaries and sourceinteresting. Portage runs the ebuild in a restricted directory - /var/tmp/portage/category/package/work/ and all the built files end up there, in a directory structure that mirrors the root filesystem layout. man ebuild has all the gory details. Try this: run ebuild /usr/portage/sys-apps/ethtool-6.ebuild install and examine /var/tmp/portage/sys-apps/ethtool/work. Note that you emerge a *package name* but ebuild an ebuild *file* (much the same way yum install and rpm -ivh do it). That command will run all the ebuild steps up to and including install, but the files are not yet on the lie filesystem. ebuild file merge does that, skipping all steps already completed. It then locates every file in the tmp directory and moves them onto the live filesystem, recording what it finds. This list is what goes in CONTENTS. Simple, hey? Virtually every tool out there which gives you information on installed packages (except eix, that also uses huge chunks of voodoo), looks in /var/db/pkg/, which explains why it's so slow - 1462 directories and 35847 files on this box is a lot of stuff to stat and read -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Removing Packages with Portage
On Mon, 4 May 2009 13:11:02 +0100 Matt Causey matt.cau...@gmail.com wrote: --snip-- Along the same lines, how does the ebuild know what to remove on --unmerge? For example I'm wandering around and looking at ebuilds: prometheus ethtool # pwd /usr/portage/sys-apps/ethtool prometheus ethtool # ls ChangeLog Manifest ethtool-6.ebuild metadata.xml prometheus ethtool # I see nothing in that ebuild which describes the files that ethtool put on the system. Yet an --unmerge removes the binaries and sourceinteresting. So I found a CONTENTS file: prometheus ethtool-6 # pwd /var/db/pkg/sys-apps/ethtool-6 prometheus ethtool-6 # cat CONTENTS dir /usr dir /usr/sbin --snip-- Another way to check which files are installed by a given package and to which package a given file belongs. emerge app-portage/portage-utils (if you haven't already) Example: ~ $ qlist ethtool /usr/share/man/man8/ethtool.8.bz2 /usr/share/doc/ethtool-6/AUTHORS.bz2 /usr/share/doc/ethtool-6/ChangeLog.bz2 /usr/share/doc/ethtool-6/NEWS.bz2 /usr/share/doc/ethtool-6/README.bz2 /usr/sbin/ethtool ~ $ ~ $ qfile ethtool sys-apps/ethtool (/usr/sbin/ethtool) ~ $ ~ $ qlist nvidia-drivers | grep /lib/modules /lib/modules/2.6.28-core2/video/nvidia.ko ~ $ HTH -- Best regards, Daniel
Re: [gentoo-user] Resizing ext3 Partition
On Mon, May 4, 2009 at 9:51 AM, Marco listwo...@gmail.com wrote: On Mon, May 4, 2009 at 1:52 PM, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 4 May 2009 12:56:05 +, Marco wrote: [..] I'd look to see what is filling up the root partition, 10GB should be more than enough. Good tip! cd /usr/src/linux and make clean gave me back 2 GB. Also unmerge old unneeded kernels and remove leftovers from old kernels found in /usr/src and /lib/modules (or /lib64/modules)
[gentoo-user] Re: nanosleep broken on ~amd64?
Nikos Chantziaras wrote: Arttu V. wrote: walt wrote: Could someone else compile the test and confirm that it returns 119 on ~amd64 instead of 0? It returns 119 on an semi-ancient Athlon64 3200+ box here as well. Could kernel HZ-settings affect the outcome? This box has CONFIG_HZ=250, but tomorrow I can try on another amd64 which runs a 1000HZ kernel IIRC. 119 here on AMD64 with a not-so-ancient Core 2 Duo and a kernel timer of 1000Hz (gentoo-sources-2.6.28-r5). OK, compiling with gcc -m32 nanotest.c (-m32 compiles it as 32-bit on multilib Gentoo) returns 0. Maybe a bug in glibc?
Re: [gentoo-user] Resizing ext3 Partition
On Mon, May 4, 2009 at 1:52 PM, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 4 May 2009 12:56:05 +, Marco wrote: [..] I'd look to see what is filling up the root partition, 10GB should be more than enough. Good tip! cd /usr/src/linux and make clean gave me back 2 GB.
Re: [gentoo-user] nanosleep broken on ~amd64?
On Sun, 03 May 2009 14:14:38 -0700 walt w41...@gmail.com wrote: Could someone else compile the test and confirm that it returns 119 on ~amd64 instead of 0? 119, x86_64 Intel(R) Xeon(R) CPU L5420 @ 2.50GHz GenuineIntel -- Mike Kazantsev // fraggod.net signature.asc Description: PGP signature
Re: [gentoo-user] Resizing ext3 Partition
Marco listwo...@gmail.com writes: Hi all, I am new to gentoo and so far I really like it. But now, I am running out of disk space on my root partition (10 GB), although I have a rather small system with fluxbox (no KDE, GNOME,...). Thought gentoo would not waste my resources that much. Now I am thinking about how to resize my ext3 partitions. Bellow is the output of fdisk: fdisk -l Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xbbc58b91 Device Boot Start End Blocks Id System /dev/sda1 1 893 7168000 1c Hidden W95 FAT32 (LBA) Partition 1 does not end on cylinder boundary. /dev/sda2 * 8935968407654407 HPFS/NTFS /dev/sda3 10622 1945870975488f W95 Ext'd (LBA) /dev/sda5 10622 13575237199727 HPFS/NTFS /dev/sda6 13575 13581 54819 83 Linux /dev/sda7 13582 13831 2008093+ 82 Linux swap / Solaris /dev/sda8 13832 1507710008463+ 83 Linux /dev/sda9 15078 1945835182990 83 Linux sda8 is my root partition and sda9 is my home partition where there is plenty of space. Is there any safe way to resize with Linux tools? The descriptions found on google did not help me a lot... Try this article: http://www.howtoforge.com/linux_resizing_ext3_partitions Regards, Masood Ahmed -- Chaos is King and Magic is loose in the world.
Re: [gentoo-user] Resizing ext3 Partition
On Monday 04 May 2009 16:57:06 Paul Hartman wrote: On Mon, May 4, 2009 at 9:51 AM, Marco listwo...@gmail.com wrote: On Mon, May 4, 2009 at 1:52 PM, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 4 May 2009 12:56:05 +, Marco wrote: [..] I'd look to see what is filling up the root partition, 10GB should be more than enough. Good tip! cd /usr/src/linux and make clean gave me back 2 GB. Also unmerge old unneeded kernels and remove leftovers from old kernels found in /usr/src and /lib/modules (or /lib64/modules) You'd be amazed how much junk collects in /var/log/portage over time -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Resizing ext3 Partition
On Mon, May 4, 2009 at 1:44 PM, Andrew MacKenzie amack...@edespot.com wrote: +++ Marco [gentoo-user] [Mon, May 04, 2009 at 12:56:05PM +]: [...] Just to be sure you checked - Gentoo keeps temporary files in /var/tmp/portage/ (build temp location, sometimes things get left here) and /usr/portage/distfiles/ (download location). /usr/portage/distfiles can get pretty large over time. I cleaned this directory frequently, but still running low on disk space... -- Regards, Marco
Re: [gentoo-user] Resizing ext3 Partition
+++ Marco [gentoo-user] [Mon, May 04, 2009 at 12:56:05PM +]: I am new to gentoo and so far I really like it. But now, I am running out of disk space on my root partition (10 GB), although I have a rather small system with fluxbox (no KDE, GNOME,...). Thought gentoo would not waste my resources that much. Now I am thinking about how to resize my ext3 partitions. Bellow is the output of fdisk: Just to be sure you checked - Gentoo keeps temporary files in /var/tmp/portage/ (build temp location, sometimes things get left here) and /usr/portage/distfiles/ (download location). /usr/portage/distfiles can get pretty large over time. -- // Andrew MacKenzie | http://www.edespot.com // GPG public key: http://www.edespot.com/~amackenz/public.key // The best book on programming for the layman is Alice in Wonderland; // but that's because it's the best book on anything for the layman. // - Alan Perlis pgpQqGhykOMP6.pgp Description: PGP signature
Re: [gentoo-user] Resizing ext3 Partition
On Mon, 2009-05-04 at 17:02 +0200, Alan McKinnon wrote: I'd look to see what is filling up the root partition, 10GB should be more than enough. Good tip! cd /usr/src/linux and make clean gave me back 2 GB. Also unmerge old unneeded kernels and remove leftovers from old kernels found in /usr/src and /lib/modules (or /lib64/modules) You'd be amazed how much junk collects in /var/log/portage over time Or in /var/log. Logrotate helps there and /var/log/portage can be cleaned up by a script that compresses everything older than 1 day (the test helps not to disturb a running portage or get ugly split logs). Philipp
Re: [gentoo-user] Resizing ext3 Partition
on Monday 05/04/2009 Philipp Riegger(li...@anderedomain.de) wrote On Mon, 2009-05-04 at 17:02 +0200, Alan McKinnon wrote: I'd look to see what is filling up the root partition, 10GB should be more than enough. Good tip! cd /usr/src/linux and make clean gave me back 2 GB. Also unmerge old unneeded kernels and remove leftovers from old kernels found in /usr/src and /lib/modules (or /lib64/modules) You'd be amazed how much junk collects in /var/log/portage over time Or in /var/log. Logrotate helps there and /var/log/portage can be cleaned up by a script that compresses everything older than 1 day (the test helps not to disturb a running portage or get ugly split logs). What I would really like to do is get rid of everything except the most recent compile of each program in /var/log/portage -- anyone have a script to do that? -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] Which mobile (cell) phone manager?
On Monday 04 May 2009, Paul Hartman wrote: On Mon, May 4, 2009 at 9:25 AM, Mick michaelkintz...@gmail.com wrote: Hi All, There seems to be a long list of mobile phone managers out there: kmobiletools gnokii wammu/gammu There's probably more (gnome-phone-manager?) but I do not have Gnome on this machine. I have a Nokia phone and I am not sure of the pros + cons of each application for managing it. Have you used any of these and what would you recommend? I use Nokia PC Suite for Windows in a virtual machine. :) But, really, I don't use any of them. The only real use I've seen from them is easier entry of contacts, and I only have about 10 contacts so it is not a problem for me to type them on the phone. For backups, I use the phone's internal backup function to make a backup onto the memory card. Thanks Paul, I use an old Nokia 6021 which does not have a memory card. I have more than 10 contacts but I do not need to edit these often. However, I find typing text messages on the phone tiresome, compared with typing on the laptop. So SMS functionality which these managers offer is a benefit for me. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Resizing ext3 Partition
On Mon, 4 May 2009 12:56:05 +, Marco wrote: I am new to gentoo and so far I really like it. But now, I am running out of disk space on my root partition (10 GB), although I have a rather small system with fluxbox (no KDE, GNOME,...). Thought gentoo would not waste my resources that much. Now I am thinking about how to resize my ext3 partitions. I'd look to see what is filling up the root partition, 10GB should be more than enough. -- Neil Bothwick Puritanism: The haunting fear that someone, somewhere may be happy. signature.asc Description: PGP signature
Re: [gentoo-user] Resizing ext3 Partition
On 5/4/09, Marco listwo...@gmail.com wrote: On Mon, May 4, 2009 at 1:44 PM, Andrew MacKenzie amack...@edespot.com wrote: +++ Marco [gentoo-user] [Mon, May 04, 2009 at 12:56:05PM +]: [...] Just to be sure you checked - Gentoo keeps temporary files in /var/tmp/portage/ (build temp location, sometimes things get left here) and /usr/portage/distfiles/ (download location). /usr/portage/distfiles can get pretty large over time. I cleaned this directory frequently, but still running low on disk space... I may have missed something of your configuration or partitions (did you have a separate /usr?), but check old and useless kernel sources from under /usr/src (and under /lib/modules if you've compiled and installed modules). Clean out old and unused ones. Compiled kernel sources directories can be over 800 MB *each*. For example for my current /usr/src/linux (which points to ./linux-2.6.28-gentoo-r5) du says 818MB. You don't need too many of these to fill up a 10GB partition. -- Arttu V.
Re: [gentoo-user] What's the deal with CAMERAS anyway?
On Mon, May 4, 2009 at 6:43 AM, Arttu V. arttu...@gmail.com wrote: Hello, Inspired by the other digicam thread I took a quick look at an older problem of mine, namely getting libgphoto2 to compile drivers for all cameras. Anyone got a clue why *not* setting CAMERAS won't build drivers for all cameras as claimed several times in the libgphoto2 ebuild? src_configure() in the libgphoto2 ebuild looks like it handles the none=all logic.
[gentoo-user] NX Tip
Hi, A quick tip if anyone else out there uses NX. Lately I've been experiencing slower and slower session negotiationtimes, and eventually it go to the point where it would timeout during the connection more often than not, and reattaching a disconnected session would always fail. Well, I finally solved it. In my user directory on the host machine (the box into which I am connecting), I found dozens of session directories in my ~/.nx/ directory. I deleted everything except for the config directory from ~/.nx/ and now my connections happen instantly and reliably. I just thought I would pass it on in case someone else has the same problem. Thanks, Paul
Re: [gentoo-user] Resizing ext3 Partition
On Monday 04 May 2009, John covici wrote: on Monday 05/04/2009 Philipp Riegger(li...@anderedomain.de) wrote You'd be amazed how much junk collects in /var/log/portage over time Or in /var/log. Logrotate helps there and /var/log/portage can be cleaned up by a script that compresses everything older than 1 day (the test helps not to disturb a running portage or get ugly split logs). What I would really like to do is get rid of everything except the most recent compile of each program in /var/log/portage -- anyone have a script to do that? Check man emerge and read (carefully) --clean --depclean and --prune options. Use any of these judiciously because you can easily hose your box (if you get rid of your compiler for example). -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Resizing ext3 Partition
Am Montag, 4. Mai 2009 16:02:39 schrieb Platoali: Try to remount route on another directory and check which directory is using so much. I had a similar problem asked this a couple of month before on this mailing list. They gave this commands: #mount -o bind / /mnt/root #du -max-dep=1 Or just forget about the useless bind-mount and add -x to the du command. Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Resizing ext3 Partition
on Monday 05/04/2009 Mick(michaelkintz...@gmail.com) wrote On Monday 04 May 2009, John covici wrote: on Monday 05/04/2009 Philipp Riegger(li...@anderedomain.de) wrote You'd be amazed how much junk collects in /var/log/portage over time Or in /var/log. Logrotate helps there and /var/log/portage can be cleaned up by a script that compresses everything older than 1 day (the test helps not to disturb a running portage or get ugly split logs). What I would really like to do is get rid of everything except the most recent compile of each program in /var/log/portage -- anyone have a script to do that? Check man emerge and read (carefully) --clean --depclean and --prune options. Use any of these judiciously because you can easily hose your box (if you get rid of your compiler for example). -- Regards, Mick I was only talking about getting rid of log files in /var/log/portage where it keeps a record of each build of every program. Seems to me only the most recent one is significant. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] What's the deal with CAMERAS anyway?
On 5/4/09, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Mon, May 4, 2009 at 6:43 AM, Arttu V. arttu...@gmail.com wrote: Anyone got a clue why *not* setting CAMERAS won't build drivers for all cameras as claimed several times in the libgphoto2 ebuild? src_configure() in the libgphoto2 ebuild looks like it handles the none=all logic. That was the same part I glimpsed over earlier in wonder, and the ebuild didn't really answer my question as it doesn't even touch the CAMERAS variable (only the local lower case cameras and also IUSE_CAMERAS). But after a fair bit of grepping around portage's sources I have now come up with a theory that satisfies my curiosity for now. I think the problem is my poor brain not understanding the somewhat misleading printout from emerge -p libgphoto2. It has a minus sign in front of all CAMERAS drivers listed, so trying to be logical I assumed it wouldn't emerge any of them. emerge -p lirc does something similar with LIRC_DEVICES. It is another example of these USE_EXPANDed (learned a new word of gentoo-eeze while grepping :) ) variables, *does* show the string all amongst its list of LIRC_DEVICES while the actual device driver names are also still preceded by minuses. But now I've found out that that's just due to all being an extra option specifically listed in /usr/portage/desc/lirc_devices.desc. /usr/portage/desc/cameras.desc doesn't have such an all line, so emerge won't print all for CAMERAS, only all the drivers' names with minuses in front. Ergo, my confusion follows from the premises? Sorry about the confusion and thanks for the replies. But is this a bug or a feature? Am I the only one who has fallen for this? -- Arttu V.
[gentoo-user] 'buntu -- gentoo -- eeepc
Hi group, Using xubuntu on a usb stick to install gentoo on a eeepc, 4g, 900A. I've gotten as far as kernel config(Quick-install Guide - Kernel Configuration) but when I try to emerge gentoo-sources portage can't resolve any of the addresses and the process fails. Does it have something to do with the previous section, Set your host name and domain name? I followed the model given: hosts: 127.0.0.1 eeebox.at.eeeplace eeebox localhost hostname: HOSTNAME=eeebox BTW, it took 22mins for the portage snapshot to be unpacked, is that similar to anybody else's experience? BTW2, I'm using dialup via a serial/usb cable to complete the job at home, whereas the stage3-i686-20090422 and portage-20090502 were downloaded over wireless at the Wifi-Cafe. Don't tell me the numbers must match exactly! mw __ Make your browsing faster, safer, and easier with the new Internet Explorer® 8. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/
Re: [gentoo-user] Which mobile (cell) phone manager?
On Mon, May 4, 2009 at 10:56 AM, Mick michaelkintz...@gmail.com wrote: On Monday 04 May 2009, Paul Hartman wrote: On Mon, May 4, 2009 at 9:25 AM, Mick michaelkintz...@gmail.com wrote: Hi All, There seems to be a long list of mobile phone managers out there: kmobiletools gnokii wammu/gammu There's probably more (gnome-phone-manager?) but I do not have Gnome on this machine. I have a Nokia phone and I am not sure of the pros + cons of each application for managing it. Have you used any of these and what would you recommend? I use Nokia PC Suite for Windows in a virtual machine. :) But, really, I don't use any of them. The only real use I've seen from them is easier entry of contacts, and I only have about 10 contacts so it is not a problem for me to type them on the phone. For backups, I use the phone's internal backup function to make a backup onto the memory card. Thanks Paul, I use an old Nokia 6021 which does not have a memory card. I have more than 10 contacts but I do not need to edit these often. However, I find typing text messages on the phone tiresome, compared with typing on the laptop. So SMS functionality which these managers offer is a benefit for me. Ah, okay. I have not tried it, but I know for sure Gnokii can do all kinds of SMS functions from the PC, including sending, receiving, and even pictures (multimedia messages). I believe you can make phone calls and stuff, too.
Re: [gentoo-user] Re: gentoo older versions
James... I would definitely give this a thought - sounds interesting and challenging. Thanks a lot, Nitin On Mon, May 4, 2009 at 8:56 AM, James wirel...@tampabay.rr.com wrote: Nitin Kanaskar nitinvk04 at gmail.com writes: Thank you so much Dale again - but i would try to follow links given by Neil - thank you Neil - and chk in the cvs repositories. Really appreciate your willingness to help. Hello Nitin, After reading your thread, you seem to be a bit flexible in what you pursue as opportunities for security analysis. Just a suggestion, but, in lieu of pursuing a very 'well worn path' of vulnerability assessments, might you be interested in exploring an alternative? If so, consider testing for security vulnerabilities on a variety of embedded (Gentoo) linux devices/architectures? You'll find embedded linux on a variety of hardware, very rich in opportunities for exploits. There are far fewer folks to test and fix problems, and many of the builds are barely able to support the arch, let alone robust security analysis. You could easily distinguish your self and provide a huge service to the gentoo community, not to mention working with some very sharp minds who inhabit this space. For example, you could test the vulnerability difference between the various C libraries, with all else being the same. Or look at vulnerability differences between soft-float and using builds based on hardware, just to name a few. Certainly with a quick survey of the space, you can come up with lots of ideas that would yield lots of uniquely interesting information, and blaze a new path. Gentoo on ARM is a HUGE opportunity for distinction. Here are a few links for your perusal: http://www.gentoo.org/proj/en/base/embedded/index.xml http://www.gentoo.org/proj/en/base/embedded/handbook/ http://tinderbox.dev.gentoo.org/ http://slonopotamus.org/gentoo-on-n8x0 http://en.gentoo-wiki.com/wiki/TinyGentoo http://wiki.debian.org/ArmEabiPort http://www.codesourcery.com/sgpp/lite/arm/portal/target_arc...@template=faq#q_gnu_linux_long_long http://martinwguy.co.uk/martin/tech/Maverick/ Just a suggestion hth, James
Re: [gentoo-user] Resizing ext3 Partition
On Mon, 4 May 2009 18:31:06 +0200, Dirk Heinrichs wrote: #mount -o bind / /mnt/root #du -max-dep=1 Or just forget about the useless bind-mount and add -x to the du command. That won't pick up space wasted by files occupying space in directories that are used as mount points. -- Neil Bothwick Idaho - It's not the end of the world, but you can see it from there. signature.asc Description: PGP signature
Re: [gentoo-user] 'buntu -- gentoo -- eeepc
On Mon, 4 May 2009 10:26:58 -0700 (PDT), maxim wexler wrote: Using xubuntu on a usb stick to install gentoo on a eeepc, 4g, 900A. I've gotten as far as kernel config(Quick-install Guide - Kernel Configuration) but when I try to emerge gentoo-sources portage can't resolve any of the addresses and the process fails. Slightly off the point, but I use tuxonice-sources on my Eee. It's gentoo-sources with better suspend. BTW2, I'm using dialup via a serial/usb cable to complete the job at home, Does the dialup work at all. Can you ping any of the gentoo mirrors? Did mirrorselect work? -- Neil Bothwick Talk is cheap because supply exceeds demand. signature.asc Description: PGP signature
Re: [gentoo-user] Resizing ext3 Partition
On Mon, 4 May 2009 11:54:18 -0400, John covici wrote: What I would really like to do is get rid of everything except the most recent compile of each program in /var/log/portage -- anyone have a script to do that? Why not delete everything over a week or two old? Once the package is installed and working, you don't need the elog any more. -- Neil Bothwick Make it idiot proof and someone will make a better idiot. signature.asc Description: PGP signature
Re: [gentoo-user] 'buntu -- gentoo -- eeepc
maxim wexler bliss...@yahoo.com writes: Hi group, Using xubuntu on a usb stick to install gentoo on a eeepc, 4g, 900A. I've gotten as far as kernel config(Quick-install Guide - Kernel Configuration) but when I try to emerge gentoo-sources portage can't resolve any of the addresses and the process fails. Can you browse from your xubuntu? Looks like you are not connected to internet. If you are able to browse from xubuntu, then copy the /etc/resolv.conf file from xubuntu to gentoo partition: cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf Does it have something to do with the previous section, Set your host name and domain name? I followed the model given: hosts: 127.0.0.1 eeebox.at.eeeplace eeebox localhost hostname: HOSTNAME=eeebox Nope. Nothing to do with this. BTW, it took 22mins for the portage snapshot to be unpacked, is that similar to anybody else's experience? 22 mins is very long time. Generally stage3 tarball should take longer than portage, probably have to do with the verbose flag of tar command (it slows the process when using a slow terminal). BTW2, I'm using dialup via a serial/usb cable to complete the job at home, whereas the stage3-i686-20090422 and portage-20090502 were downloaded over wireless at the Wifi-Cafe. Don't tell me the numbers must match exactly! No the numbers don't matter. Regards, Masood Ahmed -- Sometimes it's better to light a flamethrower than curse the darkness. -- (Terry Pratchett, Men at Arms)
[SOLVED] Re: [gentoo-user] unable to login to user account or do su - username
Alan McKinnon wrote: experiment to see if it's the new hashes that are doing it. Find an account that can sudo to root on the affected machines and examine the shadow file. See what kind of hashes the affected accounts are using. md5 is 34 characters long and sha512 is 98 in this format: $x$salt$hash x is 1 for md5 and 6 for sha512. salt is 8 characters for both Thanks for spending time with this. After looking at the shadow file, I have accounts with both md5 and sha512. In particular affected accounts that have md5 and sha512. I looked closely at the .bashrc (used echo made to here marks to follow the login sequence) of the bad accounts and they were all sourcing a script from a third-party package that went bad after the OS update. Luckily this was not in all accounts and specially not in the root account. Otherwise I would have been locked outside the machine. After getting rid of that line in the users .bashrc all returned to normal. One more thing to do was to uncomment the line PrintMotd no PrintLastLog no in /etc/sshd_config to avoid the double motd/last log messages upon login.I guess after the portage update, pam is now printing that. Here's mine which works: authinclude system-auth account include system-auth passwordinclude system-auth session include system-auth And you did confirm that sudo checks for wheel group membership, and that you are still in this group? This is exactly like mine. Thanks for all the help. -- Valmor
Re: [gentoo-user] Resizing ext3 Partition
Am Montag, 4. Mai 2009 19:47:45 schrieb Neil Bothwick: On Mon, 4 May 2009 18:31:06 +0200, Dirk Heinrichs wrote: #mount -o bind / /mnt/root #du -max-dep=1 Or just forget about the useless bind-mount and add -x to the du command. That won't pick up space wasted by files occupying space in directories that are used as mount points. How often does that happen? Bye... Dirk signature.asc Description: This is a digitally signed message part.
[gentoo-user] Gpodder doesn't start
I'm having a problem getting gpodder to start, whenever I try to start it from a terminal (yes, I'm in X) I get this error: [~]% gpodder Traceback (most recent call last): File /usr/bin/gpodder, line 185, in module sys.exit( main()) File /usr/bin/gpodder, line 140, in main from gpodder import console File /usr/lib/python2.6/site-packages/gpodder/console.py, line 20, in module from gpodder import util File /usr/lib/python2.6/site-packages/gpodder/util.py, line 35, in module import gtk ImportError: No module named gtk I have pygtk installed, along with the other dependencies that gpodder needs (afaik). Anyone else have this problem, or know what's wrong?
[gentoo-user] NVidia setup instructions?
Hi, Is this the right page to follow for up-to-date installation instructions for a 6200-based card? http://www.gentoo.org/doc/en/nvidia-guide.xml If it is then is it at all out of date in terms of xorg.conf setup for the newer xorg-server/hald setup, or is it OK? Thanks, Mark
Re: [gentoo-user] Gpodder doesn't start
Jake Todd wrote: I'm having a problem getting gpodder to start, whenever I try to start it from a terminal (yes, I'm in X) I get this error: [~]% gpodder Traceback (most recent call last): File /usr/bin/gpodder, line 185, in module sys.exit( main()) File /usr/bin/gpodder, line 140, in main from gpodder import console File /usr/lib/python2.6/site-packages/gpodder/console.py, line 20, in module from gpodder import util File /usr/lib/python2.6/site-packages/gpodder/util.py, line 35, in module import gtk ImportError: No module named gtk I have pygtk installed, along with the other dependencies that gpodder needs (afaik). Anyone else have this problem, or know what's wrong? I had a similar problem when I upgraded to python2.6. Consider running python-updater as root, as this will go through which python packages need updating. At least, that's what it looks like to me.
[gentoo-user] emacs vs. gnome and xorg-1.5.3
G'day, I'm now running xorg-1.5.3 and emacs no longer works! I've got emacs-22.3.1 installed. Normally I can start it from the Gnome start menu or from a gnome terminal. Now it seems that nothing happens when I start it from the start menu. When I start it from a gnome terminal, emacs reports No fonts match '8x13'. Anybody know how to fix this? Thanks. David
Re: [gentoo-user] NVidia setup instructions?
On Mon, 2009-05-04 at 14:25 -0700, Mark Knecht wrote: Hi, Is this the right page to follow for up-to-date installation instructions for a 6200-based card? http://www.gentoo.org/doc/en/nvidia-guide.xml If it is then is it at all out of date in terms of xorg.conf setup for the newer xorg-server/hald setup, or is it OK? I have the PCI version of the 6200, and I can confirm that 180.29 (stable for my arch) work great as well as the vesa framebuffer. I had problems with the uvesa framebuffer a few kernels back, and never got it to work, though I haven't tried since. The rest of the nvidia guide looks good, though I do not use the same options as the guide for my xorg.conf configuration. For example, I've never had to set the VideoRam option in the device section, and set things such as NoLogo, RenderAccel, etc in the screen section. Take a look at [1] for all the options. That's the amd64 version, though it should be similar if not the same for other architectures. I don't use hal, so I cannot comment on that. I would recommend using the nvidia-xconfig utility to configure another xorg.conf once you get a basic X display running. It works pretty well, particularly regarding 3D settings and multiple monitors, so it's a good starting point from which to customize. [1]: http://us.download.nvidia.com/XFree86/Linux-x86_64/180.29/README/appendix-b.html Regards, Brandon Vargo
Re: [gentoo-user] NVidia setup instructions?
On Mon, May 4, 2009 at 2:58 PM, Brandon Vargo brandon.va...@gmail.com wrote: On Mon, 2009-05-04 at 14:25 -0700, Mark Knecht wrote: Hi, Is this the right page to follow for up-to-date installation instructions for a 6200-based card? http://www.gentoo.org/doc/en/nvidia-guide.xml If it is then is it at all out of date in terms of xorg.conf setup for the newer xorg-server/hald setup, or is it OK? I have the PCI version of the 6200, and I can confirm that 180.29 (stable for my arch) work great as well as the vesa framebuffer. I had problems with the uvesa framebuffer a few kernels back, and never got it to work, though I haven't tried since. The rest of the nvidia guide looks good, though I do not use the same options as the guide for my xorg.conf configuration. For example, I've never had to set the VideoRam option in the device section, and set things such as NoLogo, RenderAccel, etc in the screen section. Take a look at [1] for all the options. That's the amd64 version, though it should be similar if not the same for other architectures. I don't use hal, so I cannot comment on that. I would recommend using the nvidia-xconfig utility to configure another xorg.conf once you get a basic X display running. It works pretty well, particularly regarding 3D settings and multiple monitors, so it's a good starting point from which to customize. [1]: http://us.download.nvidia.com/XFree86/Linux-x86_64/180.29/README/appendix-b.html Regards, Brandon Vargo Thanks Brandon. I'm up in X now on the 6200 AGP so it's functional. glxgears seems sort of slow at about 230FPS but I probably don't have things set up right yet. I had questions about the setup instructions as I went through it. 1) Do you completely drop out DRI support in the kernel? Seems this document says not to load the dri driver in xconf and it wasn't shown in the kernel options so I took it out. Maybe that should be enabled? 2) I used to have /dev/agpgart and framebuffer suppport as modular but this setup doc seemed to go with built-in so I switched to that. I do have the Intel chipset AGP GART support as modular and it does load OK. Not sure if I should use that or NVidia's? No problems getting the card up and running. Now it's a matter of figuring out how to do it right. I am using hald but it wouldn't load the nvidia driver automatically, opting for the nv driver. Do you have that problem? Should I put it in modules.autoload? Again, thanks for the pointers. Cheers, Mark
Re: [gentoo-user] Resizing ext3 Partition
On Mon, 4 May 2009 22:12:17 +0200, Dirk Heinrichs wrote: That won't pick up space wasted by files occupying space in directories that are used as mount points. How often does that happen? Not very often, but it happens in a significant proportion of the times the root partition fills up, particularly hen running a small root. All it needs is for an NFS mount to fail unnoticed when you boot. -- Neil Bothwick If such a program has not crashed yet, it is waiting for a critical moment before it crashes. -- Murphy's Computer Laws n°6 signature.asc Description: PGP signature
Re: [gentoo-user] NVidia setup instructions?
On Mon, 2009-05-04 at 15:24 -0700, Mark Knecht wrote: Thanks Brandon. I'm up in X now on the 6200 AGP so it's functional. glxgears seems sort of slow at about 230FPS but I probably don't have things set up right yet. I had questions about the setup instructions as I went through it. 1) Do you completely drop out DRI support in the kernel? Seems this document says not to load the dri driver in xconf and it wasn't shown in the kernel options so I took it out. Maybe that should be enabled? I do not have direct rendering enabled in my kernel, and I have never heard of it being needed for nvidia cards. The nvidia kernel module takes care of that as far as I know. 2) I used to have /dev/agpgart and framebuffer suppport as modular but this setup doc seemed to go with built-in so I switched to that. I do have the Intel chipset AGP GART support as modular and it does load OK. Not sure if I should use that or NVidia's? I have always compiled the framebuffer support into the kernel so that I can use it for the console when the system starts booting, before any modules are loaded. I've never tried to compile it as a module. Regardless, if the module is going to be loaded anyways every time you boot, and you don't have any special options to pass to the module, it's usually best to compile into the kernel. I'm not familiar with AGP, as my system does not support it, nor have I ever used Intel graphics in conjunction with any other graphics chips, sorry. No problems getting the card up and running. Now it's a matter of figuring out how to do it right. I am using hald but it wouldn't load the nvidia driver automatically, opting for the nv driver. Do you have that problem? Should I put it in modules.autoload? I had this problem with a NVidia 9600 GSO in a machine I was setting up as part of a computational cluster when trying to use X's autoconfiguration (no xorg.conf at all). X would try to load the nv driver, even though I had not even compiled it. Creating a simple xorg.conf and specifying the nvidia driver in a device section loaded the nvidia driver fine. modules.autoload should not be necessary. The nvidia module should be automatically loaded when X starts with the nvidia driver. Regards, Brandon Vargo
Re: [gentoo-user] NVidia setup instructions?
On Dienstag 05 Mai 2009, Mark Knecht wrote: On Mon, May 4, 2009 at 2:58 PM, Brandon Vargo brandon.va...@gmail.com wrote: On Mon, 2009-05-04 at 14:25 -0700, Mark Knecht wrote: Hi, Is this the right page to follow for up-to-date installation instructions for a 6200-based card? http://www.gentoo.org/doc/en/nvidia-guide.xml If it is then is it at all out of date in terms of xorg.conf setup for the newer xorg-server/hald setup, or is it OK? I have the PCI version of the 6200, and I can confirm that 180.29 (stable for my arch) work great as well as the vesa framebuffer. I had problems with the uvesa framebuffer a few kernels back, and never got it to work, though I haven't tried since. The rest of the nvidia guide looks good, though I do not use the same options as the guide for my xorg.conf configuration. For example, I've never had to set the VideoRam option in the device section, and set things such as NoLogo, RenderAccel, etc in the screen section. Take a look at [1] for all the options. That's the amd64 version, though it should be similar if not the same for other architectures. I don't use hal, so I cannot comment on that. I would recommend using the nvidia-xconfig utility to configure another xorg.conf once you get a basic X display running. It works pretty well, particularly regarding 3D settings and multiple monitors, so it's a good starting point from which to customize. [1]: http://us.download.nvidia.com/XFree86/Linux-x86_64/180.29/README/appendix -b.html Regards, Brandon Vargo Thanks Brandon. I'm up in X now on the 6200 AGP so it's functional. glxgears seems sort of slow at about 230FPS but I probably don't have things set up right yet. I had questions about the setup instructions as I went through it. 1) Do you completely drop out DRI support in the kernel? Seems this document says not to load the dri driver in xconf and it wasn't shown in the kernel options so I took it out. Maybe that should be enabled? no. Nvidia uses its own stuff. No need for dri in kernel. 2) I used to have /dev/agpgart and framebuffer suppport as modular but this setup doc seemed to go with built-in so I switched to that. I do have the Intel chipset AGP GART support as modular and it does load OK. Not sure if I should use that or NVidia's? no, you should use the kernel agpgart. Nvagp is a remnant from former times when there were bugs with certain chipsets and agpgart versions. Times long gone. Even nvidia devs tell you on nvnews to use agpgart and only switch to nvagp if that really does not work. No problems getting the card up and running. Now it's a matter of figuring out how to do it right. I am using hald but it wouldn't load the nvidia driver automatically, opting for the nv driver. Do you have that problem? Should I put it in modules.autoload? no. Just put the nvidia module in xorg.conf. Also make sure you set the right opengl version with eselect. At the end don't forget that the 6200 is a very slow card. glxinfo and nvidia-settings can help you detect problems.
Re: [gentoo-user] NVidia setup instructions?
On Mon, May 4, 2009 at 4:07 PM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Dienstag 05 Mai 2009, Mark Knecht wrote: On Mon, May 4, 2009 at 2:58 PM, Brandon Vargo brandon.va...@gmail.com wrote: On Mon, 2009-05-04 at 14:25 -0700, Mark Knecht wrote: Hi, Is this the right page to follow for up-to-date installation instructions for a 6200-based card? http://www.gentoo.org/doc/en/nvidia-guide.xml If it is then is it at all out of date in terms of xorg.conf setup for the newer xorg-server/hald setup, or is it OK? I have the PCI version of the 6200, and I can confirm that 180.29 (stable for my arch) work great as well as the vesa framebuffer. I had problems with the uvesa framebuffer a few kernels back, and never got it to work, though I haven't tried since. The rest of the nvidia guide looks good, though I do not use the same options as the guide for my xorg.conf configuration. For example, I've never had to set the VideoRam option in the device section, and set things such as NoLogo, RenderAccel, etc in the screen section. Take a look at [1] for all the options. That's the amd64 version, though it should be similar if not the same for other architectures. I don't use hal, so I cannot comment on that. I would recommend using the nvidia-xconfig utility to configure another xorg.conf once you get a basic X display running. It works pretty well, particularly regarding 3D settings and multiple monitors, so it's a good starting point from which to customize. [1]: http://us.download.nvidia.com/XFree86/Linux-x86_64/180.29/README/appendix -b.html Regards, Brandon Vargo Thanks Brandon. I'm up in X now on the 6200 AGP so it's functional. glxgears seems sort of slow at about 230FPS but I probably don't have things set up right yet. I had questions about the setup instructions as I went through it. 1) Do you completely drop out DRI support in the kernel? Seems this document says not to load the dri driver in xconf and it wasn't shown in the kernel options so I took it out. Maybe that should be enabled? no. Nvidia uses its own stuff. No need for dri in kernel. Without DRI in the kernel I got an error message when running glxinfo | grep direct. Once I put nvidia in xorg.conf it loaded automatically. That seems inconsistent with this new push to use hald and no xorg.conf. 2) I used to have /dev/agpgart and framebuffer suppport as modular but this setup doc seemed to go with built-in so I switched to that. I do have the Intel chipset AGP GART support as modular and it does load OK. Not sure if I should use that or NVidia's? no, you should use the kernel agpgart. Nvagp is a remnant from former times when there were bugs with certain chipsets and agpgart versions. Times long gone. Even nvidia devs tell you on nvnews to use agpgart and only switch to nvagp if that really does not work. No problems getting the card up and running. Now it's a matter of figuring out how to do it right. I am using hald but it wouldn't load the nvidia driver automatically, opting for the nv driver. Do you have that problem? Should I put it in modules.autoload? no. Just put the nvidia module in xorg.conf. Also make sure you set the right opengl version with eselect. At the end don't forget that the 6200 is a very slow card. Very slow? Compared to a 9600? Yes. Compared to a Riva? No. It's all relative. I just require it to work and play MythTV for my wife. Nothing more. glxinfo and nvidia-settings can help you detect problems. emerge word going on now. I'll try out nvidia-settings soon. Thanks, Mark
Re: [gentoo-user] NVidia setup instructions?
On Dienstag 05 Mai 2009, Mark Knecht wrote: On Mon, May 4, 2009 at 4:07 PM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Dienstag 05 Mai 2009, Mark Knecht wrote: On Mon, May 4, 2009 at 2:58 PM, Brandon Vargo brandon.va...@gmail.com wrote: On Mon, 2009-05-04 at 14:25 -0700, Mark Knecht wrote: Hi, Is this the right page to follow for up-to-date installation instructions for a 6200-based card? http://www.gentoo.org/doc/en/nvidia-guide.xml If it is then is it at all out of date in terms of xorg.conf setup for the newer xorg-server/hald setup, or is it OK? I have the PCI version of the 6200, and I can confirm that 180.29 (stable for my arch) work great as well as the vesa framebuffer. I had problems with the uvesa framebuffer a few kernels back, and never got it to work, though I haven't tried since. The rest of the nvidia guide looks good, though I do not use the same options as the guide for my xorg.conf configuration. For example, I've never had to set the VideoRam option in the device section, and set things such as NoLogo, RenderAccel, etc in the screen section. Take a look at [1] for all the options. That's the amd64 version, though it should be similar if not the same for other architectures. I don't use hal, so I cannot comment on that. I would recommend using the nvidia-xconfig utility to configure another xorg.conf once you get a basic X display running. It works pretty well, particularly regarding 3D settings and multiple monitors, so it's a good starting point from which to customize. [1]: http://us.download.nvidia.com/XFree86/Linux-x86_64/180.29/README/appen dix -b.html Regards, Brandon Vargo Thanks Brandon. I'm up in X now on the 6200 AGP so it's functional. glxgears seems sort of slow at about 230FPS but I probably don't have things set up right yet. I had questions about the setup instructions as I went through it. 1) Do you completely drop out DRI support in the kernel? Seems this document says not to load the dri driver in xconf and it wasn't shown in the kernel options so I took it out. Maybe that should be enabled? no. Nvidia uses its own stuff. No need for dri in kernel. Without DRI in the kernel I got an error message when running glxinfo | grep direct. Once I put nvidia in xorg.conf it loaded automatically. That seems inconsistent with this new push to use hald and no xorg.conf. you need to have consolekit running before X starts to have working direct rendering.
Re: [gentoo-user] NVidia setup instructions?
On Mon, May 4, 2009 at 4:23 PM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Dienstag 05 Mai 2009, Mark Knecht wrote: SNIP Thanks Brandon. I'm up in X now on the 6200 AGP so it's functional. glxgears seems sort of slow at about 230FPS but I probably don't have things set up right yet. I had questions about the setup instructions as I went through it. 1) Do you completely drop out DRI support in the kernel? Seems this document says not to load the dri driver in xconf and it wasn't shown in the kernel options so I took it out. Maybe that should be enabled? no. Nvidia uses its own stuff. No need for dri in kernel. Without DRI in the kernel I got an error message when running glxinfo | grep direct. Once I put nvidia in xorg.conf it loaded automatically. That seems inconsistent with this new push to use hald and no xorg.conf. you need to have consolekit running before X starts to have working direct rendering. The Gentoo page I am following makes no mention of 'consolekit': http://www.gentoo.org/doc/en/nvidia-guide.xml It is installed but it's not set in rc-update to run at all. Should this be boot or default? dragonfly ~ # eix -I consolekit [I] sys-auth/consolekit Available versions: 0.2.3 0.2.10 ~0.2.10-r1 ~0.3.0 ~0.3.0-r1 {debug doc pam policykit} Installed versions: 0.2.10(02:17:12 PM 04/20/2009)(pam -debug) Homepage:http://www.freedesktop.org/wiki/Software/ConsoleKit Description: Framework for defining and tracking users, login sessions and seats. dragonfly ~ # Thanks, Mark
Re: [gentoo-user] NVidia setup instructions?
On Dienstag 05 Mai 2009, Mark Knecht wrote: On Mon, May 4, 2009 at 4:23 PM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Dienstag 05 Mai 2009, Mark Knecht wrote: SNIP Thanks Brandon. I'm up in X now on the 6200 AGP so it's functional. glxgears seems sort of slow at about 230FPS but I probably don't have things set up right yet. I had questions about the setup instructions as I went through it. 1) Do you completely drop out DRI support in the kernel? Seems this document says not to load the dri driver in xconf and it wasn't shown in the kernel options so I took it out. Maybe that should be enabled? no. Nvidia uses its own stuff. No need for dri in kernel. Without DRI in the kernel I got an error message when running glxinfo | grep direct. Once I put nvidia in xorg.conf it loaded automatically. That seems inconsistent with this new push to use hald and no xorg.conf. you need to have consolekit running before X starts to have working direct rendering. The Gentoo page I am following makes no mention of 'consolekit': http://www.gentoo.org/doc/en/nvidia-guide.xml It is installed but it's not set in rc-update to run at all. Should this be boot or default? dragonfly ~ # eix -I consolekit [I] sys-auth/consolekit Available versions: 0.2.3 0.2.10 ~0.2.10-r1 ~0.3.0 ~0.3.0-r1 {debug doc pam policykit} Installed versions: 0.2.10(02:17:12 PM 04/20/2009)(pam -debug) Homepage: http://www.freedesktop.org/wiki/Software/ConsoleKit Description: Framework for defining and tracking users, login sessions and seats. dragonfly ~ # Thanks, Mark default. And it is a recent development.
Re: [gentoo-user] NVidia setup instructions?
On Mon, May 4, 2009 at 5:10 PM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Dienstag 05 Mai 2009, Mark Knecht wrote: On Mon, May 4, 2009 at 4:23 PM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Dienstag 05 Mai 2009, Mark Knecht wrote: SNIP Thanks Brandon. I'm up in X now on the 6200 AGP so it's functional. glxgears seems sort of slow at about 230FPS but I probably don't have things set up right yet. I had questions about the setup instructions as I went through it. 1) Do you completely drop out DRI support in the kernel? Seems this document says not to load the dri driver in xconf and it wasn't shown in the kernel options so I took it out. Maybe that should be enabled? no. Nvidia uses its own stuff. No need for dri in kernel. Without DRI in the kernel I got an error message when running glxinfo | grep direct. Once I put nvidia in xorg.conf it loaded automatically. That seems inconsistent with this new push to use hald and no xorg.conf. you need to have consolekit running before X starts to have working direct rendering. The Gentoo page I am following makes no mention of 'consolekit': http://www.gentoo.org/doc/en/nvidia-guide.xml It is installed but it's not set in rc-update to run at all. Should this be boot or default? dragonfly ~ # eix -I consolekit [I] sys-auth/consolekit Available versions: 0.2.3 0.2.10 ~0.2.10-r1 ~0.3.0 ~0.3.0-r1 {debug doc pam policykit} Installed versions: 0.2.10(02:17:12 PM 04/20/2009)(pam -debug) Homepage: http://www.freedesktop.org/wiki/Software/ConsoleKit Description: Framework for defining and tracking users, login sessions and seats. dragonfly ~ # Thanks, Mark default. And it is a recent development. Thanks. glxgears now does 2500FPS instead of 230 so that's a nice improvement. MythTV once again works after the Intel driver got messed up forcing me to switch to a newer card. WAF (Wife Acceptance Factor) once again high after a 3 week low point in her years on Gentoo. I appreciate your help, Mark
[gentoo-user] OpenOffice 3.0.0 with dead keys
I´m trying to get OpenOffice 3.0.0 to recognize and enter French accented characters (e.g., ´ + e or ^ + a , etc.) I´ve set up KDE keyboard layouts and can get the proper characters displayed on console, xterm, kmail and other windows, but the dead key combinations in OpenOffice are simply dead--no characters produced at all. When switching back to the US layout without dead keys, the same key presses to OpenOffice produce two characters, as one would expect. I do this all the time with OpenOffice on my laptop with openSUSE 10.3. Is there something I´ve not setup correctly on my gentoo system? -- Jim signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] OpenOffice 3.0.0 with dead keys
Jim Cunning wrote: I´m trying to get OpenOffice 3.0.0 to recognize and enter French accented characters (e.g., ´ + e or ^ + a , etc.) I´ve set up KDE keyboard layouts and can get the proper characters displayed on console, xterm, kmail and other windows, but the dead key combinations in OpenOffice are simply dead--no characters produced at all. When switching back to the US layout without dead keys, the same key presses to OpenOffice produce two characters, as one would expect. I do this all the time with OpenOffice on my laptop with openSUSE 10.3. Is there something I´ve not setup correctly on my gentoo system? Did you remember to compile OpenOffice with LINGUAS=fr? May be something to consider adding to your make.conf to get around language/localization issues.
Re: [gentoo-user] OpenOffice 3.0.0 with dead keys
Jim Cunning wrote: I´m trying to get OpenOffice 3.0.0 to recognize and enter French accented characters (e.g., ´ + e or ^ + a , etc.) I´ve set up KDE keyboard layouts and can get the proper characters displayed on console, xterm, kmail and other windows, but the dead key combinations in OpenOffice are simply dead--no characters produced at all. When switching back to the US layout without dead keys, the same key presses to OpenOffice produce two characters, as one would expect. I do this all the time with OpenOffice on my laptop with openSUSE 10.3. Is there something I´ve not setup correctly on my gentoo system? (Resending, due to SMTP failure notice) Did you remember to compile OpenOffice with LINGUAS=fr? May be something to consider adding to your make.conf to get around language/localization issues.
Re: [gentoo-user] 'buntu -- gentoo -- eeepcFIXED
Does the dialup work at all. Can you ping any of the gentoo mirrors? Did mirrorselect work? emerge mirrorselect is further down the page under Last configuration touches. Which is a puzzlement. Before failing portage tried connecting to a long list of sites. How did portage know where to look? make.conf has only the CFLAGS and CHOST lines. Nothing about where to look for files. Yeah, the weird thing is I could download stuff onto the Desktop but not emerge or even wget from the chrooted environment. So I shut everything down and rebooted. The only thing I did different this time was to neglect to set up or start ssh. Mounted the drives, chrooted and emerged gentoo-sources. Worked fine. BTW, I followed the advice on the eeepc forum not to install a swap partition. I wonder if that is why the portage tarball took so long to unpack. IIRC tuxonice's wifi wouldn't work so I used xubuntu, wifi starts up automaticamente on this model. mw __ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/