Re: [gentoo-user] HD device becomes SD device
thanks both of you. On Thu, Jul 2, 2009 at 12:54 PM, Wyatt Eppwyatt@gmail.com wrote: On Wed, Jul 1, 2009 at 11:04 PM, David Shen davidshe...@googlemail.com wrote: I install gentoo 2008 amd64 in a virtual box virtual machine. I configured the controller to us IDE controller, and if I boot from livecd, it DID get a hda device under /dev. But after I finished setting up the system, I cannot find the HD device, instead, I found a SD device. Maybe there are something wrong with the kernel I compiled, but I do not know how to troubleshoot this. No, to my knowledge, that's the proper behavior. The disparity between the LiveCD and actual installs is...a little unfortunate. But anyway, movement to more widespread use of libata has renamed all /dev/hd* to /dev/sd* equivalents. It should not impact you in any significant way. See http://www.gentoo.org/doc/en/kernel-config.xml#doc_chap3 for a little more information. As far as making it work, really, just change /dev/hd* to /dev/sd* in your /etc/fstab and /boot/grub/grub.conf (or whatever the LILO equivalent is) and you should be fine. Cheers, Wyatt -- Best Regards, David Shen http://twitter.com/davidshen84
Re: [gentoo-user] Overlay with JGR?
Paul Hartman schrieb: On Wed, Jul 1, 2009 at 4:45 PM, Neil Bothwickn...@digimed.co.uk wrote: On Wed, 1 Jul 2009 14:21:01 -0700, Mark Knecht wrote: How do I determine if the application JGR (Java GUI for R) is in an overlay somewhere? If you use eix, update-eix-remote -q update will add the contents of layman overlays to the eix database. Or you can use update-eix-layman to add or remove specific overlays from inclusion in the eix database, add a line containing a * to /etc/eix-sync.conf, and it'll automatically run layman -S and include the overlays in your eix database when you run eix-sync :) Or just visit this website http://gpo.zugaina.org/ signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Is grep broken?
Peter Humphrey a écrit : Hello list, Can anyone explain this to me? $ /bin/grep -r hmenu *html index.html: div id=hmenu master.html:div id=hmenu pictures.html: div id=hmenu $ /bin/grep -r hmenu pages/*html pages/community.html: div id=hmenu pages/contacts.html:div id=hmenu pages/history.html: div id=hmenu pages/music.html: div id=hmenu pages/news.html:div id=hmenu pages/people.html: div id=hmenu pages/pictures.html:div id=hmenu Grep is clearly disobeying the recursion command. I started noticing this a few days ago, and it's making maintenance of this directory hard work. As other have pointed out, the behaviour of grep is correct in the examples above. You could use the --include directive : grep -r --include=*html hmenu . Basically, this tells grep to recursive look for hmenu in any files that include *html starting from the current directory (* would be equally fine if you didn't want to search in 'hidden' dot directories). Regards, Carlos
Re: [gentoo-user] [OT] Toggling wireless on eee without fn+f2
On Wed, 1 Jul 2009 19:40:27 -0600, Maxim Wexler wrote: I recall a reference, which I can't find anymore, to a method of toggling the wireless on/off for a EEE-PC that involved first, disabling wireless in the BIOS, and then echo'ing a 1 or a 0 to some file or other. Does anybody know the method I refer to? I can't remember the file or the complete command, just that it involves echo'ing a 1 or 0 somewhere. There's a script to do this on the Wiki http://en.gentoo-wiki.com/wiki/Asus_Eee_PC_701#Wireless -- Neil Bothwick RAM DISK is NOT an installation procedure! signature.asc Description: PGP signature
[gentoo-user] Can't mask a package
Hello everybody, i'm having troubles with the policykit package, and i've discovered that the new version (0.92) has broken all APIs and this causes some packages to not compile anymore (network manager in my case). So i tried to mask it and keep the 0.9-r1 version instead, but with no result. I've added it to /etc/portage/package.mask and tried this forms: =sys-auth/policykit-0.92 =sys-auth/policykit-0.92 and also sys-auth/policykit-0.92 that should prenvet any version of it being merged, right? none of those attempts worked for me, and emerge keeps trying to merge it... i'm running a x86 system with no accept keywords set. any ideas? Thanks in advance. Davide
Re: [gentoo-user] Can't mask a package
Pupino wrote: Hello everybody, i'm having troubles with the policykit package, and i've discovered that the new version (0.92) has broken all APIs and this causes some packages to not compile anymore (network manager in my case). So i tried to mask it and keep the 0.9-r1 version instead, but with no result. I've added it to /etc/portage/package.mask and tried this forms: =sys-auth/policykit-0.92 =sys-auth/policykit-0.92 and also sys-auth/policykit-0.92 that should prenvet any version of it being merged, right? none of those attempts worked for me, and emerge keeps trying to merge it... i'm running a x86 system with no accept keywords set. any ideas? Thanks in advance. Davide Well, actually all policykit packages are masked and keyworded by portage already. [-P-] [M~] sys-auth/policykit-0.9 (0) [-P-] [M~] sys-auth/policykit-0.9-r1 (0) [-P-] [M~] sys-auth/policykit-0.92 (0) So I would think you need to unmask the version you do want to install and then leave the rest alone. Basically remove everything policykit from mask and just add =sys-auth/policykit-0.9-r1 to unmask and keyword files. If it ever goes stable, it will upgrade at that time as well. I hope that helps. Dale :-) :-)
Re: [gentoo-user] Can't mask a package
On Donnerstag 02 Juli 2009, Pupino wrote: Hello everybody, i'm having troubles with the policykit package, and i've discovered that the new version (0.92) has broken all APIs and this causes some packages to not compile anymore (network manager in my case). So i tried to mask it and keep the 0.9-r1 version instead, but with no result. I've added it to /etc/portage/package.mask and tried this forms: =sys-auth/policykit-0.92 =sys-auth/policykit-0.92 and also sys-auth/policykit-0.92 that should prenvet any version of it being merged, right? none of those attempts worked for me, and emerge keeps trying to merge it... i'm running a x86 system with no accept keywords set. any ideas? Thanks in advance. Davide have you unmasked policykit? because if you did - package.unmask always overrules package.mask. So you have to be very specific when unmasking stuff.
Re: [gentoo-user] Problem with emerge --update
Thank you Alan. Just as an information, if it happens to something else: I've installed successfully the split ebuilds. However, after the upgrade, I had to disable UXA: with UXA Xorg didn't even start (it crashes). However (as glxgears says), FPS jumped from 500 to 1300... Thank you all, Massimiliano
Re: [gentoo-user] Can't mask a package
Dale wrote: Pupino wrote: Hello everybody, i'm having troubles with the policykit package, and i've discovered that the new version (0.92) has broken all APIs and this causes some packages to not compile anymore (network manager in my case). So i tried to mask it and keep the 0.9-r1 version instead, but with no result. I've added it to /etc/portage/package.mask and tried this forms: =sys-auth/policykit-0.92 =sys-auth/policykit-0.92 and also sys-auth/policykit-0.92 that should prenvet any version of it being merged, right? none of those attempts worked for me, and emerge keeps trying to merge it... i'm running a x86 system with no accept keywords set. any ideas? Thanks in advance. Davide Well, actually all policykit packages are masked and keyworded by portage already. [-P-] [M~] sys-auth/policykit-0.9 (0) [-P-] [M~] sys-auth/policykit-0.9-r1 (0) [-P-] [M~] sys-auth/policykit-0.92 (0) So I would think you need to unmask the version you do want to install and then leave the rest alone. Basically remove everything policykit from mask and just add =sys-auth/policykit-0.9-r1 to unmask and keyword files. If it ever goes stable, it will upgrade at that time as well. I hope that helps. Dale :-) :-) Is hal trying to pull it in? emerge -pv hal [ebuild R ] sys-apps/hal-0.5.12_rc1-r6 USE=X acpi consolekit crypt policykit -apm -debug -dell -disk-partition -doc -laptop (-selinux) 0 kB -- Powered by Gentoo GNU/Linux http://linuxcrazy.com
Re: [gentoo-user] Is grep broken?
On Thursday 02 July 2009 08:23:19 Carlos wrote: You could use the --include directive : grep -r --include=*html hmenu . Nice idea - thanks. -- Rgds Peter
[gentoo-user] xen 3.0 do not support nvidia sata controller?
Hi, I have just compiled the xen 2.6.18-r12 on my gentoo 2008 amd64 system. The compilation goes fine, but I cannot boot my system. According to the error message, the system cannot find my SATA hard disk. My M/B is nvidia's, and in the kernel configuration menu, I have found and compiled the kernel with nvidia sata support. On 'http://hcl.xensource.com/' web site, I found that xen officially support 3ware's sata controller only. So what are the options about nvidia in the kernel configuration for? Is there any way to get my sata disk work in xen? -- Best Regards, David Shen http://twitter.com/davidshen84
[gentoo-user] KDE4: network interfaces list is empty. Why?
I use pptp client. ifconfig out is (real IPs replaced with *.*.*.*): eth0 Link encap:Ethernet HWaddr 00:18:f3:04:74:75 inet addr:*.*.*.* Bcast:*.*.*.* Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:178471 errors:0 dropped:0 overruns:0 frame:0 TX packets:200455 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:103859282 (99.0 MiB) TX bytes:111379773 (106.2 MiB) Interrupt:27 Base address:0x8000 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:388980 errors:0 dropped:0 overruns:0 frame:0 TX packets:388980 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:119037976 (113.5 MiB) TX bytes:119037976 (113.5 MiB) ppp0 Link encap:Point-to-Point Protocol inet addr:*.*.*.* P-t-P:*.*.*.* Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:118317 errors:0 dropped:0 overruns:0 frame:0 TX packets:133556 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:95383216 (90.9 MiB) TX bytes:101969846 (97.2 MiB)
Re: [gentoo-user] Encrypting everything
Am Mittwoch 01 Juli 2009 12:40:20 schrieb Alex Schuster: The last two PCs (A and B) I installed are fully encrypted. I used different methods. I used genkernel --luks --lvm --install all to create kernel and initramfs. First, see one of my replies to David Shen's thread Self created initramfs cannot work from last saturday. It has my init(ram)fs creation scripts attached. I like to have everything as kernel modules, but the crypto stuff has to be directly in the kernel, unless I put these modules into the initramfs by hand. It doesn't make much sense to compile things as module which are needed right after (or even for) booting. The reason distributions do this is to give the most possible flexibility and useability on as much different systems as possible. having said that, you can even do w/o initramfs, just put everything into /boot (which should be a separate partition, then). Again, see my reply to David for the details. A: LVM - LUKS Many partitions make two volume groups with many LVMs. Each LVM is LUKS- encrypted. This gives me maximum flexibility, who knows what other OSes I might need to install on that drive. The boot partition is on a USB stick and also holds the key. Why? LUKS means Linux Unified Key Storage. No need to store the key elsewhere. Put a password based key on the root LV and encrypt everything else with a random key you put somewhere into /etc (I use /etc/crypt/keyfile). This did not work out of the box, I had to modify /lib/rcscripts/addons/dm-crypt-start.sh in order to open the other partitions than swap and root. Then you did something wrong. It works out of the box. I need to add something to close them when shutting down, but it seems to work fine without this for the moment. Do you know if there already is a solution for this? Well, it works fine here, so yes, there is. B: LUKS - LVM A simpler approach. sda1 is a small boot partition, sda2 (the rest of the drive) is a LUKS-formatted LVM physical volume with volume group 'pvcrypt' on it. This does not work yet, the initramfs does not find the LVM. Because in Gentoo, only A is implemented/supported. HTH... Dirk signature.asc Description: This is a digitally signed message part.
[gentoo-user] ATI-Driver 9.6 support?
So any news on the ATI Front or will I have to rool my own and submit it? -- Hazen Valliant-Saunders IT/IS Consultant (613) 355-5977
Re: [gentoo-user] ATI-Driver 9.6 support?
On Thu, Jul 2, 2009 at 1:52 PM, Hazen Valliant-Saundershaze...@gmail.com wrote: So any news on the ATI Front or will I have to rool my own and submit it? There is an ebuild for them in the sabayon overlay
[gentoo-user] mythfilldatabase
Hi Can anyone help me. A newly installed gentoo amd64 system, using funtoo, and mythtv database and setting imported from a backup. When i run mythfilldatabase i got the following error. 2009-07-02 19:22:46.122 Connected to database 'mythconverg' at host: localhost 2009-07-02 19:22:46.147 XMLTV config file is: /home/martin/.mythtv/DVB.xmltv Empty String at /usr/bin/tv_grab_se_swedb line 348 2009-07-02 19:22:46.946 FAILED: xmltv returned error code 2304. 2009-07-02 19:22:46.956 Error in 1:1: unexpected end of file And thats all. I can't understand where the problems lie. I have perl 5.10 and xmltv 0.5.50 Happy if anyone could help me. Regards Martin
Re: [gentoo-user] ATI-Driver 9.6 support?
Am Donnerstag 02 Juli 2009 20:52:38 schrieb Hazen Valliant-Saunders: So any news on the ATI Front or will I have to rool my own and submit it? well, it is in the tree this is from the Changelog: *ati-drivers-9.6 (25 Jun 2009) 25 Jun 2009; Tomáš Chvátal scarab...@gentoo.org +files/kernel/2.6.29.patch, +files/kernel/2.6.30-enable_msi.patch, +files/kernel/2.6.30-irqreturn_t.patch, +files/kernel/2.6.30-rt_compat.patch, +files/kernel/2.6.30-tlb_flush.patch, +ati-drivers-9.6.ebuild: Add new version of ati drivers (9.6). Since now it follows the upstream versioning scheme. Kernels .29 and .30 are not supported, but patched to work somehow in this release.
[gentoo-user] Re: ATI-Driver 9.6 support?
Matthias Krebs matthias.krebs at gmail.com writes: So any news on the ATI Front or will I have to rool my own and submit it? I had to remove tons of fonts from my xorg.conf but now have ati-drivers-9.6 and a 2.6.29-gentoo-r5 kernel working. I use email via seamonkey and that is not working. Is that related to fonts that disappeared? Seamonkey is ok to surf and such, but when I fire up email (via seamonkey) buttons stop working. Just upgraded late last night. Is my problem related to fonts issue with ATI-drivers-9.6? Ideas? James
Re: [gentoo-user] Can't mask a package
2009/7/2 David da...@pythontoo.com: Dale wrote: Pupino wrote: Hello everybody, i'm having troubles with the policykit package, and i've discovered that the new version (0.92) has broken all APIs and this causes some packages to not compile anymore (network manager in my case). So i tried to mask it and keep the 0.9-r1 version instead, but with no result. I've added it to /etc/portage/package.mask and tried this forms: =sys-auth/policykit-0.92 =sys-auth/policykit-0.92 and also sys-auth/policykit-0.92 that should prenvet any version of it being merged, right? none of those attempts worked for me, and emerge keeps trying to merge it... i'm running a x86 system with no accept keywords set. any ideas? Thanks in advance. Davide Well, actually all policykit packages are masked and keyworded by portage already. [-P-] [M~] sys-auth/policykit-0.9 (0) [-P-] [M~] sys-auth/policykit-0.9-r1 (0) [-P-] [M~] sys-auth/policykit-0.92 (0) So I would think you need to unmask the version you do want to install and then leave the rest alone. Basically remove everything policykit from mask and just add =sys-auth/policykit-0.9-r1 to unmask and keyword files. If it ever goes stable, it will upgrade at that time as well. I hope that helps. Dale :-) :-) Is hal trying to pull it in? emerge -pv hal [ebuild R ] sys-apps/hal-0.5.12_rc1-r6 USE=X acpi consolekit crypt policykit -apm -debug -dell -disk-partition -doc -laptop (-selinux) 0 kB -- Powered by Gentoo GNU/Linux http://linuxcrazy.com Dale is right, the package was listed in both package.unmask and package.keywords, and that has been made by autounmask to satisfy some kde4 dependencies, that's why i didn't know it... Deleted it from there and network manager is compiling fine again. Thanks to all and sorry for the stupid question... Davide
Re: [gentoo-user] Re: ATI-Driver 9.6 support?
On Donnerstag 02 Juli 2009, James wrote: Matthias Krebs matthias.krebs at gmail.com writes: So any news on the ATI Front or will I have to rool my own and submit it? I had to remove tons of fonts from my xorg.conf but now have ati-drivers-9.6 and a 2.6.29-gentoo-r5 kernel working. I use email via seamonkey and that is not working. Is that related to fonts that disappeared? Seamonkey is ok to surf and such, but when I fire up email (via seamonkey) buttons stop working. Just upgraded late last night. Is my problem related to fonts issue with ATI-drivers-9.6? Ideas? James there are no font issues with ati-drivers.
RE: [gentoo-user] ATI-Driver 9.6 support?
So any news on the ATI Front or will I have to rool my own and submit it? Add x11-drivers/ati-drivers ~x86 (or ~amd64) to /etc/portage/package.keywords and you will be able to install 9.6. It now appears to be asking for xorg-server-1.5.3-r7 (but i'm running it fine with xorg-server-1.5.3-r6, which is currently the stable package for ~amd64. Not sure why that wasnt picked up when i installed 9.6). FWIW i'm still on 2.6.28. I was doing the dodgy with 9.5 and 9.6 (before the ebuild was out) and just running the ati installer. It worked. Rgs, Adam.
[gentoo-user] new system, printing suddenly fails for all printers
I've been wrangling with a new gentoo install, on an AMD X2 64 bit machine. It's been a problematic experience, but when the system works right, it works really right. Printing has suddenly failed. I had installed foo2zjs in support of an HP P1005 printer, but it was masked by ~amd64. Then foomatic-db collided, so I upped that to ~amd64. Meanwhile, and I'm not sure this was the problem, the printer that had been working, and the deskjet that had also been working both started to fail. I've been wrestling with many issues, including alsa. There isn't any sound, and Ive finally compiled a genkernel but the sound isn't working, neither is printing. I've seen a plethora of messages about failure to print, often cups. I have reinstalled cups, new useflags, restarted, done several things, no change. The printers are ok. Ubuntu's install disk has sound. I thought maybe alsasound was causing a problem, because when I stop the machine, it stalls on stopping alsa. I need to print. Maybe tonight I'll get on irc. Meanwhile, can someone suggest anything? Print jobs show up both in the localhost:631 and the gnome cups interfaces. They show up, and show as having printed. No such luck. I'll try to # emerge -ua --newuse world after adding ~amd64 to make.conf. maybe I don't belong with gentoo. I have to USE the computer. I can't find a distro I want, though, that I feel confident I can install quickly and be up to speed. I've cherried out this system with most of the tools I need. Maybe gotten too crazy with USE flags: ngs were set by the catalyst build script that automatically # built this stage. # Please consult /etc/make.conf.example for a more detailed example. CFLAGS=-march=k8 -O2 -pipe CXXFLAGS=-O2 -pipe MAKEOPTS=-j3 # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. CHOST=x86_64-pc-linux-gnu # These are the USE flags that were used in addition to what is provided by the # profile used for building. USE=mmx sse sse2 kpathsea gnome svg X avahi gtk hal dbus \ startup-notification xinerama cups xscreensaver nvidia usb truetype jpeg png \ raw tiff faac faad mp3 theora v4l2 vorbis x264 xvid encode \ pdf exif xml consolekit embedded kde qt3support ACCEPT_KEYWORDS=~amd64 VIDEO_CARDS=nvidia INPUT_DEVICES=keyboard mouse FOO2ZJS_DEVICES=hpp1005 LINGUAS=en # Does it work to have layman sourced after?AED PORTDIR_OVERLAY=/usr/local/portage source /usr/local/portage/layman/make.conf GENTOO_MIRRORS=ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/; SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage Some use flages in package.use net-print/foo2zjs foomaticdb net-print/hplip cupsddk app-editors/emacs-cvs gif jpeg png tiff xft net-print/cups ppds dbus X net-dns/avahi mdnsresponder-compat app-text/texlive doc dvipdfm graphics png x11-base/xorg-x11 bitmap-fonts truetype-fonts type1-fonts app-editors/emacs-cvs xft gnome-base/gnome-volume-manager automount media-video/transcode dvd net-p2p/deluge libnotify net-dns/avahi qt3 dbus media-gfx/gimp pdf I am using a few overlays: science, dev-zero, emacs. Thank you for any ideas on now to troubleshoot this. Also with Alsa. Alan Davis ...can the human soul be glimpsed through a microscope? Maybe, but you'd definitely need one of those very good ones with two eyepieces. -- Woody Allen, quoted by B. A. Palevitz
[gentoo-user] ATI 9.6 with 2.6.29-r5 issues
Unmasked and emerged 9.6 with xorg-server 1.6.1.901-r4 Signal 11 on startx.
RE: [gentoo-user] ATI 9.6 with 2.6.29-r5 issues
Unmasked and emerged 9.6 with xorg-server 1.6.1.901-r4 Signal 11 on startx. From Matthias post earlier today Kernels .29 and .30 are not supported, but patched to work somehow in this release. So try it with a 2.6.28 kernel, and let us know if it helps.