[gentoo-user] Re: nvidia warning comes a tad late
In 20090101213152.77d30...@krikkit, Neil Bothwick n...@digimed.co.uk wrote: On Thu, 1 Jan 2009 14:14:16 -0600, »Q« wrote: I guess I'm in the camp that thinks the administrator should know what modules are needed for the hardware, and portage should keep working as it does now. Then why the test and warning? I haven't advocated a test and warning. But why not? -- »Q« Kleeneness is next to Gödelness.
Re: [gentoo-user] Re: nvidia warning comes a tad late
On Thu, 1 Jan 2009 16:39:53 -0600, »Q« wrote: I guess I'm in the camp that thinks the administrator should know what modules are needed for the hardware, and portage should keep working as it does now. Then why the test and warning? I haven't advocated a test and warning. But why not? That's the point of this thread, the ebuild does perform a test before installation, but goes ahead straight after the warning. Unless you are watching the screen at that exact moment, you won't know your system was broken until you read the post-emerge messages - and they won't appear in the terminal if a subsequent, unconnected, emerge fails. While it's better than no warning at all, it's completely arse-about-face. -- Neil Bothwick Talk is cheap because supply exceeds demand. signature.asc Description: PGP signature
Re: [gentoo-user] Re: nvidia warning comes a tad late
Am Donnerstag, 1. Januar 2009 23:39:53 schrieb »Q«: Then why the test and warning? I haven't advocated a test and warning. But why not? There _is_ a test and warning. See very first mail in this thread. Bye... Dirk signature.asc Description: This is a digitally signed message part.
[gentoo-user] xorg-server update: Keyboard and mouse dead
Hi, This morning I updated xorg-server. I reemerged nvidia-drivers and mouse and keyboard drievers as suggested by einfo. I started X and keyboard and mouse were dead - but sysrq-key works and keyboard and mouse works on the console, so the problem is X not the hardware. I removed x86-input-evdev driver as suggested if keyboard is dead, but this does not help. My xorg.conf for the relevant sections is as follows: Section InputDevice # Identifier and driver Identifier Mouse1 Driver mouse # Option Protocol NetMousePS/2 Option Protocol IMPS/2 #Option Device/dev/input/mouse0 Option Device/dev/input/mice Option Buttons 5 Option ZAxisMapping 4 5 # When using XQUEUE, comment out the above two lines, and uncomment # the following line. #Option Protocol Xqueue # Baudrate and SampleRate are only for some Logitech mice. In # almost every case these lines should be omitted. #Option BaudRate 9600 #Option SampleRate 150 # Emulate3Buttons is an option for 2-button Microsoft mice # Emulate3Timeout is the timeout in milliseconds (default is 50ms) #Option Emulate3Buttons #Option Emulate3Timeout50 # ChordMiddle is an option for some 3-button Logitech mice Option ChordMiddle EndSection Section InputDevice Identifier Keyboard1 Driver kbd # For most OSs the protocol can be omitted (it defaults to Standard). # When using XQUEUE (only for SVR3 and SVR4, but not Solaris), # uncomment the following line. #Option Protocol Xqueue Option AutoRepeat 500 30 # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) # Option Xleds 1 2 3 Option LeftAlt Meta Option RightAltModeShift Option ScrollLock Compose Option RightCtlControl Option XkbOptions lv3:win_switch,ctrl:nocaps,compose:rwin # To customise the XKB settings to suit your keyboard, modify the # lines below (which are the defaults). For example, for a non-U.S. # keyboard, you will probably want to use: #Option XkbModelpc102 # If you have a US Microsoft Natural keyboard, you can use: #Option XkbModelmicrosoft # # Then to change the language, change the Layout setting. # For example, a german layout can be obtained with: #Option XkbLayout de # or: #Option XkbLayout de #Option XkbVariant nodeadkeys # # If you'd like to switch the positions of your capslock and # control keys, use: #Option XkbOptions ctrl:swapcaps # These are the default XKB settings for XFree86 #Option XkbModelpc101 #Option XkbLayout us #Option XkbVariant #Option XkbOptions #Option XkbDisable Option XkbModel pc102 Option XkbLayout de Option XkbVariant nodeadkeys EndSection # ** # ServerLayout sections. # ** # Any number of ServerLayout sections may be present. Each describes # the way multiple screens are organised. A specific ServerLayout # section may be specified from the X server command line with the # -layout option. In the absence of this, the first section is used. # When now ServerLayout section is present, the first Screen section # is used alone. Section ServerLayout # After 20 minutes of idle time: Shutdown Option OffTime 20 # The Identifier line must be present Identifier Simple Layout # Each Screen line specifies a Screen section name, and optionally # the relative position of other screens. The four names after # primary screen name are the screens to the top, bottom, left and right # of the primary screen. In this example, screen 2 is located to the # right of screen 1. Screen Screen 1 # Each InputDevice line specifies an InputDevice section name and # optionally some options to specify the way the device is to be # used. Those options include CorePointer, CoreKeyboard and # SendCoreEvents. InputDevice Mouse1 CorePointer InputDevice Keyboard1 CoreKeyboard EndSection Since the box is dead after starting X (I only can reboot with sysrq keys) I see no way of retrieving a logfile for the xorg-server. How can I get back a functional X? Thank you very much in advance! Kind regards, Meino Cramer -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] xorg-server update: Keyboard and mouse dead
On Friday 02 January 2009 13:36:33 meino.cra...@gmx.de wrote: Hi, This morning I updated xorg-server. I reemerged nvidia-drivers and mouse and keyboard drievers as suggested by einfo. I started X and keyboard and mouse were dead - but sysrq-key works and keyboard and mouse works on the console, so the problem is X not the hardware. I removed x86-input-evdev driver as suggested if keyboard is dead, but this does not help. My xorg.conf for the relevant sections is as follows: [snip] Since the box is dead after starting X (I only can reboot with sysrq keys) I see no way of retrieving a logfile for the xorg-server. How can I get back a functional X? - boot into maintenance mode / runlevel 1 / single-user mode - move xorg.conf out of the way - reboot and restart X Recent X.org servers should autodetect stuff giving you a working X and allowing you access that that nice man with answers who works at Google -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] xorg-server update: Keyboard and mouse dead
On Friday 02 January 2009 15:11:07 meino.cra...@gmx.de wrote: Since the box is dead after starting X (I only can reboot with sysrq keys) I see no way of retrieving a logfile for the xorg-server. How can I get back a functional X? - boot into maintenance mode / runlevel 1 / single-user mode - move xorg.conf out of the way - reboot and restart X Recent X.org servers should autodetect stuff giving you a working X and allowing you access that that nice man with answers who works at Google -- alan dot mckinnon at gmail dot com From the rhetorical point of view an interesting answer, Alan. Nonetheless: Not working: Are you using evdev and hal? hal is the important one for autodetect to work. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] xorg-server update: Keyboard and mouse dead
On Friday 02 January 2009 16:37:53 Alan McKinnon wrote: Are you using evdev and hal? hal is the important one for autodetect to work. BTW, is evdev usable already? Some time ago I have tried it, but have not found (or didn't understand) alternatives for Option Sensitivity 0.25 for mouse, and Option XkbLayout us,ru(winkeys) Option XkbOptionsgrp:menu_toggle,grp_led:scroll for keyboard. The only way to make x11 work properly was to unmerge evdev at all and use old way approach.
Re: [gentoo-user] xorg-server update: Keyboard and mouse dead
Alan McKinnon alan.mckin...@gmail.com [09-01-02 14:39]: On Friday 02 January 2009 15:11:07 meino.cra...@gmx.de wrote: Since the box is dead after starting X (I only can reboot with sysrq keys) I see no way of retrieving a logfile for the xorg-server. How can I get back a functional X? - boot into maintenance mode / runlevel 1 / single-user mode - move xorg.conf out of the way - reboot and restart X Recent X.org servers should autodetect stuff giving you a working X and allowing you access that that nice man with answers who works at Google -- alan dot mckinnon at gmail dot com From the rhetorical point of view an interesting answer, Alan. Nonetheless: Not working: Are you using evdev and hal? hal is the important one for autodetect to work. -- alan dot mckinnon at gmail dot com I deinstalled xorg-server and reinstalled xorg-server-1.4.2 and all drivers and it wiorks like a charm. No changes to any other configuration was made. -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
[gentoo-user] Re: nvidia warning comes a tad late
On Fri, 2 Jan 2009 12:35:15 +0100 Dirk Heinrichs dirk.heinri...@online.de wrote: Am Donnerstag, 1. Januar 2009 23:39:53 schrieb »Q«: Then why the test and warning? I haven't advocated a test and warning. But why not? There _is_ a test and warning. See very first mail in this thread. I've followed it all, and I know there's a test and warning. Just wasn't sure why Neil was asking *me* about why there's a warning. -- »Q« Kleeneness is next to Gödelness.
[gentoo-user] Re: xorg-server update: Keyboard and mouse dead
On Fri, 02 Jan 2009 12:36:33 +0100, meino.crame wrote: This morning I updated xorg-server. I reemerged nvidia-drivers and mouse and keyboard drievers as suggested by einfo. I started X and keyboard and mouse were dead - but sysrq-key works and keyboard and mouse works on the console, so the problem is X not the hardware. If you are talking about xorg-server-1.5.3: http://bugs.gentoo.org/show_bug.cgi?id=251093 Just add the mentioned section to the xorg.conf, worked for me. -h
[gentoo-user] Re: nvidia warning comes a tad late
On Fri, 2 Jan 2009 11:26:20 + Neil Bothwick n...@digimed.co.uk wrote: On Thu, 1 Jan 2009 16:39:53 -0600, »Q« wrote: I guess I'm in the camp that thinks the administrator should know what modules are needed for the hardware, and portage should keep working as it does now. Then why the test and warning? I haven't advocated a test and warning. But why not? That's the point of this thread, the ebuild does perform a test before installation, but goes ahead straight after the warning. AFAIAC, the post-install log is exactly where the message belongs -- that's where I'd look if I'd broken my system. The fact that I don't think portage should prevent people from installing stuff doesn't mean I think there shouldn't be any information about what they've just installed. But you snipped without comment what I think was a better idea, just making the 177.x series no longer be an upgrade to the 173.x series. -- »Q« Kleeneness is next to Gödelness.
[gentoo-user] software for editing mp3 songs
Hi folks, I mentioned in another thread that I recently got me a new cell phone. I would like to know what software a person can use to take a mp3 song and edit it down. You know, pick out the 15 or 20 seconds that you want to use as a ring tone. I found Audacity and a couple others but don't want to have to wait several hours for a download then find out it will not do what I need. Also, needs to be a GUI one as well. I found mp3splt but it appears to be command line only. Thanks for the help. Dale :-) :-)
Re: [gentoo-user] software for editing mp3 songs
Dale rdalek1...@gmail.com [09-01-02 17:42]: Hi folks, I mentioned in another thread that I recently got me a new cell phone. I would like to know what software a person can use to take a mp3 song and edit it down. You know, pick out the 15 or 20 seconds that you want to use as a ring tone. I found Audacity and a couple others but don't want to have to wait several hours for a download then find out it will not do what I need. Also, needs to be a GUI one as well. I found mp3splt but it appears to be command line only. Thanks for the help. Dale :-) :-) Hi Dale! For me mp3splt/mp3splt-gtk does the job. It cuts without reencoding mp3. Good luck! mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] software for editing mp3 songs
meino.cra...@gmx.de wrote: Dale rdalek1...@gmail.com [09-01-02 17:42]: Hi folks, I mentioned in another thread that I recently got me a new cell phone. I would like to know what software a person can use to take a mp3 song and edit it down. You know, pick out the 15 or 20 seconds that you want to use as a ring tone. I found Audacity and a couple others but don't want to have to wait several hours for a download then find out it will not do what I need. Also, needs to be a GUI one as well. I found mp3splt but it appears to be command line only. Thanks for the help. Dale :-) :-) Hi Dale! For me mp3splt/mp3splt-gtk does the job. It cuts without reencoding mp3. Good luck! mcc Thanks, I didn't see the gtk part that makes it a GUI. Will give that a try. THANKS again!! Dale :-) :-)
[gentoo-user] Genkernel: non-standard crypto setup
Hi, how can I achieve the following with minimal manual intervention based on genkernel's default linuxrc script? 1) Scan for physical volumes, setup volume groups (I guess that is what startVolumes does). 2) Do (the equivalent of) cryptsetup luksOpen /dev/mapper/vg1-crypt crypt_pv. First, with passphrase, later, key from USB would be nice. 3) Rescan for PVs (= recognize /dev/mapper/crypt_pv as a physical volume), setup the new volume group contained therein. 4) Add rootfs and swap from /dev/mapper/vg2-root and /dev/mapper/vg2-swap Thanks a lot Bye, Jens
Re: [gentoo-user] Genkernel: non-standard crypto setup
Am Freitag, 2. Januar 2009 18:50:09 schrieb Jens Müller: Hi, how can I achieve the following with minimal manual intervention based on genkernel's default linuxrc script? 1) Scan for physical volumes, setup volume groups (I guess that is what startVolumes does). 2) Do (the equivalent of) cryptsetup luksOpen /dev/mapper/vg1-crypt crypt_pv. First, with passphrase, later, key from USB would be nice. 3) Rescan for PVs (= recognize /dev/mapper/crypt_pv as a physical volume), setup the new volume group contained therein. 4) Add rootfs and swap from /dev/mapper/vg2-root and /dev/mapper/vg2-swap Just to make sure I understand what you want to do: You have encrypted physical volumes which you want to combine into an LVM volume group and then put logical volumes into this VG? Bye... Dirk signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: Genkernel: non-standard crypto setup
Dirk Heinrichs schrieb: Just to make sure I understand what you want to do: You have encrypted physical volumes which you want to combine into an LVM volume group and then put logical volumes into this VG? Raid part 1 \ Raid part 2 - Raid5 - /dev/md127 = PV1 Raid part 3 / ...(possibly others)... PV1 --LVM-- VG1 ---LV1: \dev\mapper\vg1-crypt LV1: \dev\mapper\vg1-crypt --cryptsetup-- \dev\mapper\crypt_pv \dev\mapper\crypt_pv = PV2 --LVM-- VG1 --- (all the partitions) Basically, I have one encrypted physical volume, but I want to be flexible ...
[gentoo-user] file collision media-fonts/terminus-font-4.28
I do not have collision-protect in my make.conf. Emerging media-fonts/terminus-font-4.28 gives me: = * This package will overwrite one or more files that may belong to other * packages (see list below). You can use a command such as `portageq * owners / filename` to identify the installed package that owns a * file. If portageq reports that only one package owns a file then do * NOT file a bug report. A bug report is only useful if it identifies at * least two or more packages that are known to install the same file(s). * If a collision occurs and you can not explain where the file came from * then you should simply ignore the collision since there is not enough * information to determine if a real problem exists. Please do NOT file * a bug report at http://bugs.gentoo.org unless you report exactly which * two packages install the same file(s). Once again, please do NOT file * a bug report unless you have completely understood the above message. * * Detected file collision(s): * * /usr/share/fonts/terminus/encodings.dir * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * None of the installed packages claim the file(s). * * Package 'media-fonts/terminus-font-4.28' merged despite file * collisions. If necessary, refer to your elog messages for the whole * content of the above message. Auto-cleaning packages... No outdated packages were found on your system. * GNU info directory index is up-to-date. = Could you please remind me what am I supposed to do with this? Should I rm /usr/share/fonts/terminus/encodings.dir and remerge media-fonts/terminus-font-4.28 ? I am not clear on the process, since I never had to deal with this manually in the past. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Genkernel: non-standard crypto setup
Am Freitag, 2. Januar 2009 19:36:28 schrieb Jens Müller: Dirk Heinrichs schrieb: Just to make sure I understand what you want to do: You have encrypted physical volumes which you want to combine into an LVM volume group and then put logical volumes into this VG? Raid part 1 \ Raid part 2 - Raid5 - /dev/md127 = PV1 Raid part 3 / ...(possibly others)... PV1 --LVM-- VG1 ---LV1: \dev\mapper\vg1-crypt LV1: \dev\mapper\vg1-crypt --cryptsetup-- \dev\mapper\crypt_pv \dev\mapper\crypt_pv = PV2 --LVM-- VG1 --- (all the partitions) Basically, I have one encrypted physical volume, but I want to be flexible ... If you have one encrypted PV from which you build a VG, then every LV inside it will automatically be encrypted. So where's the flexibility? Means: PV1 --cryptsetup-- PV1_crypt --vgcreate-- VG1 --lvcreate-- LVx To be able to choose wether to encrypt each LV or not, you need to encrypt at LV level, like: PV1 --vgcreate-- VG1 --lvcreate-- LVx --cryptsetup-- LVx_crypt For the latter I have some scripts ready to create an initramfs which can be combined with the kernel (It's for EVMS, but it should be easy to adapt to LVM. HTH... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] file collision media-fonts/terminus-font-4.28
On Fri, 2 Jan 2009 19:02:15 + Mick michaelkintz...@gmail.com wrote: I do not have collision-protect in my make.conf. Emerging media-fonts/terminus-font-4.28 gives me: = * This package will overwrite one or more files that may belong to other * packages (see list below). You can use a command such as `portageq * owners / filename` to identify the installed package that owns a * file. If portageq reports that only one package owns a file then do * NOT file a bug report. A bug report is only useful if it identifies at * least two or more packages that are known to install the same file(s). * If a collision occurs and you can not explain where the file came from * then you should simply ignore the collision since there is not enough * information to determine if a real problem exists. Please do NOT file * a bug report at http://bugs.gentoo.org unless you report exactly which * two packages install the same file(s). Once again, please do NOT file * a bug report unless you have completely understood the above message. * * Detected file collision(s): * * /usr/share/fonts/terminus/encodings.dir * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * None of the installed packages claim the file(s). This line tells you it's an orphaned file. * Package 'media-fonts/terminus-font-4.28' merged despite file * collisions. If necessary, refer to your elog messages for the whole * content of the above message. Auto-cleaning packages... No outdated packages were found on your system. * GNU info directory index is up-to-date. = Could you please remind me what am I supposed to do with this? Should I rm /usr/share/fonts/terminus/encodings.dir and remerge media-fonts/terminus-font-4.28 ? I am not clear on the process, since I never had to deal with this manually in the past. As no installed package claims the file, simply remove it and remerge the fonts. RobbieAB. signature.asc Description: PGP signature
[gentoo-user] Re: Genkernel: non-standard crypto setup
Dirk Heinrichs schrieb: Am Freitag, 2. Januar 2009 19:36:28 schrieb Jens Müller: Dirk Heinrichs schrieb: Just to make sure I understand what you want to do: You have encrypted physical volumes which you want to combine into an LVM volume group and then put logical volumes into this VG? Raid part 1 \ Raid part 2 - Raid5 - /dev/md127 = PV1 Raid part 3 / ...(possibly others)... PV1 --LVM-- VG1 ---LV1: \dev\mapper\vg1-crypt LV1: \dev\mapper\vg1-crypt --cryptsetup-- \dev\mapper\crypt_pv \dev\mapper\crypt_pv = PV2 --LVM-- VG1 --- (all the partitions) Basically, I have one encrypted physical volume, but I want to be flexible ... If you have one encrypted PV from which you build a VG, then every LV inside it will automatically be encrypted. So where's the flexibility? I meant it's more flexible than encrypting /dev/md127 itself. E.g., I can create a snapshot of an LV which is still encrypted. Means: PV1 --cryptsetup-- PV1_crypt --vgcreate-- VG1 --lvcreate-- LVx To be able to choose wether to encrypt each LV or not, you need to encrypt at LV level, like: PV1 --vgcreate-- VG1 --lvcreate-- LVx --cryptsetup-- LVx_crypt For the latter I have some scripts ready to create an initramfs which can be combined with the kernel (It's for EVMS, but it should be easy to adapt to LVM. Well, the genkernel default script can be given a crypt_root, can load the key from a USB device, etc. ...
Re: [gentoo-user] file collision media-fonts/terminus-font-4.28
On Friday 02 January 2009, Robert Bridge wrote: On Fri, 2 Jan 2009 19:02:15 + Mick michaelkintz...@gmail.com wrote: I do not have collision-protect in my make.conf. Emerging media-fonts/terminus-font-4.28 gives me: = * Detected file collision(s): * * /usr/share/fonts/terminus/encodings.dir * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * None of the installed packages claim the file(s). This line tells you it's an orphaned file. * Package 'media-fonts/terminus-font-4.28' merged despite file * collisions. If necessary, refer to your elog messages for the whole * content of the above message. Auto-cleaning packages... No outdated packages were found on your system. * GNU info directory index is up-to-date. = Could you please remind me what am I supposed to do with this? Should I rm /usr/share/fonts/terminus/encodings.dir and remerge media-fonts/terminus-font-4.28 ? I am not clear on the process, since I never had to deal with this manually in the past. As no installed package claims the file, simply remove it and remerge the fonts. Thanks RobbieAB. Actually, it showed that the file was owned by the installed package: # portageq owners / /usr/share/fonts/terminus/encodings.dir media-fonts/terminus-font-4.28 /usr/share/fonts/terminus/encodings.dir Either way, I removed the file and reinstalled media-fonts/terminus-font-4.28. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] file collision media-fonts/terminus-font-4.28
On Fri, Jan 2, 2009 at 2:15 PM, Mick michaelkintz...@gmail.com wrote: On Friday 02 January 2009, Robert Bridge wrote: On Fri, 2 Jan 2009 19:02:15 + Mick michaelkintz...@gmail.com wrote: I do not have collision-protect in my make.conf. Emerging media-fonts/terminus-font-4.28 gives me: = * Detected file collision(s): * * /usr/share/fonts/terminus/encodings.dir * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * None of the installed packages claim the file(s). This line tells you it's an orphaned file. * Package 'media-fonts/terminus-font-4.28' merged despite file * collisions. If necessary, refer to your elog messages for the whole * content of the above message. Auto-cleaning packages... No outdated packages were found on your system. * GNU info directory index is up-to-date. = Could you please remind me what am I supposed to do with this? Should I rm /usr/share/fonts/terminus/encodings.dir and remerge media-fonts/terminus-font-4.28 ? I am not clear on the process, since I never had to deal with this manually in the past. As no installed package claims the file, simply remove it and remerge the fonts. Thanks RobbieAB. Actually, it showed that the file was owned by the installed package: # portageq owners / /usr/share/fonts/terminus/encodings.dir media-fonts/terminus-font-4.28 /usr/share/fonts/terminus/encodings.dir Either way, I removed the file and reinstalled media-fonts/terminus-font-4.28. -- Regards, Mick I use 'protect-owned' in my make.conf FEATURES so it will abort on collision with a file known to be owned by an installed package, and otherwise overwrite unknown/orphaned files that shouldn't be there anyway...
Re: [gentoo-user] Re: Genkernel: non-standard crypto setup
Am Freitag, den 02.01.2009, 20:03 +0100 schrieb Dirk Heinrichs: Am Freitag, 2. Januar 2009 19:36:28 schrieb Jens Müller: Raid part 1 \ Raid part 2 - Raid5 - /dev/md127 = PV1 Raid part 3 / ...(possibly others)... PV1 --LVM-- VG1 ---LV1: \dev\mapper\vg1-crypt LV1: \dev\mapper\vg1-crypt --cryptsetup-- \dev\mapper\crypt_pv \dev\mapper\crypt_pv = PV2 --LVM-- VG1 --- (all the partitions) ^ backslashes - hihi ;-) Basically, I have one encrypted physical volume, but I want to be flexible ... If you have one encrypted PV from which you build a VG, then every LV inside it will automatically be encrypted. So where's the flexibility? I think it's a good idea. I have (nearly) my hole disk (except /boot and 1xNTFS) as a partition which is encrypted. Unencrypted it is a PV for a VG in which all my Linux-partitions lives. Nicely transparent setup for me, except for the fact, that now I cannot install anything unencrypted anymore (for guests for example) or use a different key for different LVs. I don't know if the added LVM-layer costs notable CPU-time - but I'd be easy for you to test :) For the latter I have some scripts ready to create an initramfs which can be combined with the kernel (It's for EVMS, but it should be easy to adapt to LVM. I'm pretty sure genkernel can do it. I have observed that _before_ it asks me for my crypt-password it does a lvm-scan, and also _after_. The latter is the only one I need, but for Jens the first one will make your LV for decryption accessible, and the latter will then reveal your LV for your root. BTW: I have compiled the modules I need for booting (incl. crypto-stuff) into the kernel, so I can use this initrd with every new kernel. As it now contains no modules, there is no need not to use genkernel anymore. The genkernel-docs tell you to use on the kernel command line: root=/dev/vg0/gentoo-root (unencrypted dev - for /proc/cmdline) real_root=/dev/vg0/gentoo-root(unencrypted dev - for initrd-script) crypt_root=/dev/sda2 (encrypted dev - for initrd-script) dolvm (do LVM scans- for initrd-script) keymap=de (if not US-kbd - for initrd-script) There is also real_swap and real_resume and other nice stuff :) Bye, Daniel signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
Re: [gentoo-user] xorg-server update: Keyboard and mouse dead
Andrew Gaydenko wrote: BTW, is evdev usable already? Some time ago I have tried it, but have not found (or didn't understand) alternatives for Option Sensitivity 0.25 for mouse, and Option XkbLayout us,ru(winkeys) Option XkbOptionsgrp:menu_toggle,grp_led:scroll for keyboard. The only way to make x11 work properly was to unmerge evdev at all and use old way approach. I believe you have to continue to use the old way for specifying special options. One thing that has been an issue recently is Xorg by default marking AllowEmptyInput as true, which leaves this gem in the Xorg log: (WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled. (WW) Disabling Mouse0 (WW) Disabling Keyboard0 If you do not have evdev and this is enabled, your mouse and keyboard are disabled. Adding the following to the ServerLayout section should fix this: Option AllowEmptyInput false To the OP, glad your Xorg is working now. In the future I suggest you look for and post relevant sections of your Xorg log file, as that is most likely where the issue will be viewable.
[gentoo-user] Motorola Razr V3i and moto4lin, not working yet.
Hi, I emerged moto4lin and it seems to try to connect, after a little help with finding the right device. This is what it gives me: [info] Phone pluged as AT [info] Phone is unpluged [info] Switching device /dev/bus/usb/002/031 to P2K mode... [error] Unable to open device [error] Check preferences [info] Switching device /dev/bus/usb/002/032 to P2K mode... [info] Phone pluged as P2K Try to connect [info] Phone connected as P2K [error] Unable to get phone model [error] Unable to get drive name [error] Unable to get file count [error] Unable to get drive name Getting file list [info] Found drives: [ q¨·Ì)· ] [info] Search request: [ q¨·Ì)·/|*] [debug] Unable to execute search request Complete I admit I have never used moto4lin before and this is my first fancy phone. I'm wanting to transfer some ring tones. What I am doing with moto4lin is to have the USB cable hooked directly to the phone. I also have a adapter that I can put the MicroSD card into and hook that to the USB without the phone. I just want them on there, not picky about how that happens. I have tried to have the phone set up as both a data connection and a memory card connection. The data one seems to get further to me. Also, when I put the card in the adapter and mount it manually, I can see files but the phone doesn't seem to see them when I put the card back in the phone. Anybody got one of these and know how to get this to work? Maybe share some settings or something? Thanks. Dale :-) :-)
Re: [gentoo-user] xorg-server update: Keyboard and mouse dead
On Fri, Jan 2, 2009 at 8:04 AM, Andrew Gaydenko a...@gaydenko.com wrote: On Friday 02 January 2009 16:37:53 Alan McKinnon wrote: Are you using evdev and hal? hal is the important one for autodetect to work. BTW, is evdev usable already? Some time ago I have tried it, but have not found (or didn't understand) alternatives for Option Sensitivity 0.25 for mouse, and Option XkbLayout us,ru(winkeys) Option XkbOptionsgrp:menu_toggle,grp_led:scroll for keyboard. The only way to make x11 work properly was to unmerge evdev at all and use old way approach. I think you should be able to specific it in your keyboard HAL rules at /etc/hal/fdi/policy/ Add something like: merge key=input.x11_options.Sensitivity type=string0.25/merge etc... in the appropriate place.
Re: [gentoo-user] Re: nvidia warning comes a tad late
On Fri, 2 Jan 2009 09:09:23 -0600, »Q« wrote: That's the point of this thread, the ebuild does perform a test before installation, but goes ahead straight after the warning. AFAIAC, the post-install log is exactly where the message belongs -- that's where I'd look if I'd broken my system. Would it be better if your system wasn't broken? The fact that I don't think portage should prevent people from installing stuff doesn't mean I think there shouldn't be any information about what they've just installed. There is another option,and it's already used in other ebuilds. Warn and abort emerging that package unless the user has specified that it should be installed. But you snipped without comment what I think was a better idea, just making the 177.x series no longer be an upgrade to the 173.x series. Making different packages is one idea, but will still cause problems in the future. The latest package,whatever you name it, would be the correct one for7/8/9xxx cards,but at some time it would drop support for 7xxx cards. Maybe a better option would be a make.conf variable, like NVIDIA_VIDEO_CARD, that ebuilds would respect in deciding which versionto use. -- Neil Bothwick The trouble with doing something right the first time is that nobody appreciates how difficult it was. signature.asc Description: PGP signature
Re: [gentoo-user] file collision media-fonts/terminus-font-4.28
On Fri, 2 Jan 2009 20:15:20 + Mick michaelkintz...@gmail.com wrote: Thanks RobbieAB. Actually, it showed that the file was owned by the installed package: # portageq owners / /usr/share/fonts/terminus/encodings.dir media-fonts/terminus-font-4.28 /usr/share/fonts/terminus/encodings.dir That shows that portage is only aware of one package owning the file (as it should be). However, if media-fonts/terminus-font-4.28 is not installed, it cannot be the package owning the file, and the line I marked shows that portage was not aware of ANY installed packages claiming the file. Hence the problem: Portage was installing a package which wanted to install that file, but was not prepared to overwrite a pre-existing file. Either way, I removed the file and reinstalled media-fonts/terminus-font-4.28. Which in the event of an orphaned file is the only sane thing to do. RobbieAB. signature.asc Description: PGP signature
[gentoo-user] Re: nvidia warning comes a tad late
In 20090102224554.57ea4...@krikkit, Neil Bothwick n...@digimed.co.uk wrote: On Fri, 2 Jan 2009 09:09:23 -0600, »Q« wrote: That's the point of this thread, the ebuild does perform a test before installation, but goes ahead straight after the warning. AFAIAC, the post-install log is exactly where the message belongs -- that's where I'd look if I'd broken my system. Would it be better if your system wasn't broken? Yes, but I continue not to believe that it should be portage's job to prevent me from installing things that break my system. The fact that I don't think portage should prevent people from installing stuff doesn't mean I think there shouldn't be any information about what they've just installed. There is another option,and it's already used in other ebuilds. Warn and abort emerging that package unless the user has specified that it should be installed. Is it only aborted if the command was --update world, or would it also be aborted if the problem package was part of some other set? (I hope the question makes sense -- I haven't followed all the newish stuff about sets of packages.) But you snipped without comment what I think was a better idea, just making the 177.x series no longer be an upgrade to the 173.x series. Making different packages is one idea, but will still cause problems in the future. The latest package,whatever you name it, would be the correct one for7/8/9xxx cards,but at some time it would drop support for 7xxx cards. Don't nVidia give it a new major version number when they drop support, so that the latest new package at that time would get a new name? If they *do* drop support even within a major version, my idea wouldn't stand a chance of working well. Maybe a better option would be a make.conf variable, like NVIDIA_VIDEO_CARD, that ebuilds would respect in deciding which versionto use. I like that idea better than mine. -- »Q« Kleeneness is next to Gödelness.
[gentoo-user] Re: nvidia warning comes a tad late
On 2009-01-02, ?Q? boxc...@gmx.net wrote: In 20090102224554.57ea4...@krikkit, Neil Bothwick n...@digimed.co.uk wrote: On Fri, 2 Jan 2009 09:09:23 -0600, ?Q? wrote: That's the point of this thread, the ebuild does perform a test before installation, but goes ahead straight after the warning. AFAIAC, the post-install log is exactly where the message belongs -- that's where I'd look if I'd broken my system. Would it be better if your system wasn't broken? Yes, but I continue not to believe that it should be portage's job to prevent me from installing things that break my system. You must be pretty unhappy with Gentoo, because portage seems to go to a great deal of effort to avoid breaking things (what with all that dependancy stuff it does). Several times a month it refuses to update because of blockages alone. -- Grant
[gentoo-user] nwmouse
Hi! I wonder if anyone can provide a url for me to fetch *nwmouse* The issue is already stated on bugs: http://bugs.gentoo.org/show_bug.cgi?id=251379 But I still need a working link to get the cursors.tar.gz. Thank ya!
Re: [gentoo-user] xorg-server update: Keyboard and mouse dead
Paul Hartman paul.hartman+gen...@gmail.com [09-01-03 03:54]: On Fri, Jan 2, 2009 at 8:04 AM, Andrew Gaydenko a...@gaydenko.com wrote: On Friday 02 January 2009 16:37:53 Alan McKinnon wrote: Are you using evdev and hal? hal is the important one for autodetect to work. BTW, is evdev usable already? Some time ago I have tried it, but have not found (or didn't understand) alternatives for Option Sensitivity 0.25 for mouse, and Option XkbLayout us,ru(winkeys) Option XkbOptionsgrp:menu_toggle,grp_led:scroll for keyboard. The only way to make x11 work properly was to unmerge evdev at all and use old way approach. I think you should be able to specific it in your keyboard HAL rules at /etc/hal/fdi/policy/ Add something like: merge key=input.x11_options.Sensitivity type=string0.25/merge etc... in the appropriate place. I tried that according to what einfo tells me and failed. I am the opposite of an HAL-guru. Currently I have not the time to learn HAL since other things are currently more important, I remove the HAL-flag from the USE-flags of the xorg-server, reinstalled the whole stuff and it works. An ugly solution, but a solution. -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] xorg-server update: Keyboard and mouse dead
Steven Susbauer stupendousst...@hotmail.com [09-01-03 03:54]: Andrew Gaydenko wrote: BTW, is evdev usable already? Some time ago I have tried it, but have not found (or didn't understand) alternatives for Option Sensitivity 0.25 for mouse, and Option XkbLayout us,ru(winkeys) Option XkbOptionsgrp:menu_toggle,grp_led:scroll for keyboard. The only way to make x11 work properly was to unmerge evdev at all and use old way approach. I believe you have to continue to use the old way for specifying special options. One thing that has been an issue recently is Xorg by default marking AllowEmptyInput as true, which leaves this gem in the Xorg log: (WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled. (WW) Disabling Mouse0 (WW) Disabling Keyboard0 If you do not have evdev and this is enabled, your mouse and keyboard are disabled. Adding the following to the ServerLayout section should fix this: Option AllowEmptyInput false To the OP, glad your Xorg is working now. In the future I suggest you look for and post relevant sections of your Xorg log file, as that is most likely where the issue will be viewable. I did this: See initial posting. -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
[gentoo-user] Motorola Razr V3i and moto4lin, connected, now what?
Hi, I'm not sure how this will appear as far as threading. Gmail doesn't send me a copy of my own emails so I can't reply to myself. I found the solution to the previous problem. I didn't have acm compiled in my kernel so it was seeing it as a external hard drive instead of a phone. Moto4lin now connects after pointing it to the right device. I got the mp3s uploaded but it seems I have to open each one and tell it to apply as ring tone. Is there a easier way to do this? Maybe from within moto4lin or the phone itself? Thanks. Dale :-) :-)
[gentoo-user] Any advice on using postgresql-{base,server} ebuilds?
I've looked around a bit and various sources, and some experimentation, seem to say that the new postgresql-{base,server}-8.3.5 ebuilds for 8.3.5 don't play well with some packages, particularly, php-5.2.8-r1 seems to be unable to run or build against it when called with postgres flag. I'm considering manually rolling out postgresql (I've already downloaded source) if at the very least just to check which files it can't find. === trying to run php-cli madum...@trixie /usr/portage/sys-kernel $ php php: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory === /trying to run php-cli Now libpq is part of the old postgres packages and they seemed to work out just fine, so I wondered, maybe I should just make overlay ebuilds using the postgresql/libpq form, then just version bump them to 8.3.5? That's probably going to take me a while though to compile though, so I wonder if anyone has done this? === emerging php madum...@trixie /usr/portage/sys-kernel $ tail -n 40 /var/tmp/portage/dev-lang/php-5.2.8-r1/temp/build.log /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c: In function '_php_pgsql_notice_handler': /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:362: warning: passing argument 2 of '_php_pgsql_trim_message' from incompatible pointer type /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:366: warning: cast from pointer to integer of different size /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c: In function 'php_pgsql_do_connect': /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:747: error: 'PG_VERSION' undeclared (first use in this function) /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:747: error: (Each undeclared identifier is reported only once /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:747: error: for each function it appears in.) /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:770: warning: cast from pointer to integer of different size /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c: In function 'php_pgsql_get_link_info': /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:958: error: 'PG_VERSION' undeclared (first use in this function) /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c: In function 'php_pgsql_get_field_info': /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:1863: warning: comparison is always false due to limited range of data type /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c: In function 'zif_pg_lo_create': /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:2559: error: 'INV_READ' undeclared (first use in this function) /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:2559: error: 'INV_WRITE' undeclared (first use in this function) /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:2563: warning: comparison is always false due to limited range of data type /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c: In function 'zif_pg_lo_open': /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:2707: error: 'INV_READ' undeclared (first use in this function) /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:2709: error: 'INV_WRITE' undeclared (first use in this function) /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c: In function 'zif_pg_lo_import': /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:2947: warning: comparison is always false due to limited range of data type /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c: In function 'php_pgsql_result2array': /var/tmp/portage/dev-lang/php-5.2.8-r1/work/php-5.2.8/ext/pgsql/pgsql.c:5791: warning: passing argument 3 of 'php_addslashes' from incompatible pointer type make: *** [ext/pgsql/pgsql.lo] Error 1 * * ERROR: dev-lang/php-5.2.8-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4483: Called src_compile_normal * environment, line 4602: Called php5_2-sapi_src_compile * environment, line 3516: Called die * The specific snippet of code: * emake || die make failed * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-lang/php-5.2.8-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-5.2.8-r1/temp/environment'. * === /emerging php Or maybe it's the php ebuild that needs some help. I've recently had some trouble getting it to compile against readline-5.
[gentoo-user] random mouse movements + kdebase 3.5.9-r3 + qt-4.3.3 + gcc-4.3.2 problems
Hi, guys. Happy new year! I'm facing some problems. It all began with some weird random mouse movements and clicks once in a while, and also sometimes the graphical interface locks up so that I cannot start nor close any program, even kde itself. I have to turn off the computer and turn it on again (resembles another operating system, doesn't it? - but all the rest of the system still works ok including ACPI power button, so I can get a clean reboot) and then I had the idea of re-emerging several packages. And now I'm having trouble while re-building kde-base/kdebase-3.5.9-r3, kde-base/kdelibs-3.5.9-r4 and x11-libs/qt-4.3.3 - none of them compiles without errors. I'm using a ~x86 gcc ( sys-devel/gcc-4.3.2-r2 ) so that I may use the -march=core2 CFLAG and just emerged and installed a 2.6.27-r7 kernel. Also I've re-emerged several qt and kde dependencies, including Xorg - as long as several of its dependencies, too - and a long list of libraries, and all went ok. For Qt, the errors keep pointing test phases, which are not enabled here, messages like theese: MySQL (thread-unsafe) disabled. MySQL support cannot be enabled due to functionality tests! Turn on verbose messaging (-v) to ./configure to see the final report. If you believe this message is in error you may use the continue switch (-continue) to ./configure to continue. * * ERROR: x11-libs/qt-4.3.3 failed. Then I have masked MySQL, and then another USE flag points out the same kind of error. For kdebase, it points out a compilation error, as it seems, against a kernel header, like this: In file included from handler.h:13, from kdesud.cpp:74: secure.h: At global scope: secure.h:19: error: redefinition of 'struct ucred' /usr/include/bits/socket.h:321: error: previous definition of 'struct ucred' make[3]: ** [kdesud.o] Erro 1 In file included from secure.cpp:23: secure.h:19: error: redefinition of 'struct ucred' /usr/include/bits/socket.h:321: error: previous definition of 'struct ucred' But kdelibs re-emerged like a charm... Any ideas? Thanks in advance Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] Re: nvidia warning comes a tad late
Grant Edwards wrote: On 2009-01-02, ?Q? boxc...@gmx.net wrote: In 20090102224554.57ea4...@krikkit, Neil Bothwick n...@digimed.co.uk wrote: On Fri, 2 Jan 2009 09:09:23 -0600, ?Q? wrote: That's the point of this thread, the ebuild does perform a test before installation, but goes ahead straight after the warning. AFAIAC, the post-install log is exactly where the message belongs -- that's where I'd look if I'd broken my system. Would it be better if your system wasn't broken? Yes, but I continue not to believe that it should be portage's job to prevent me from installing things that break my system. You must be pretty unhappy with Gentoo, because portage seems to go to a great deal of effort to avoid breaking things (what with all that dependancy stuff it does). Several times a month it refuses to update because of blockages alone. I bet with all the good work the devs do, this could be dealt with pretty easily. After all, they made portage so they can move mountains. LOL I do think that emerging a package that will knowingly break something is a bad idea. I still say that if this was baselayout or some critical package needed to boot, this would have to be dealt with quickly. I just don't think the devs would intentionally release a bad critical package that is known to break something. Dale :-) :-)