Re: [gentoo-user] Linux Kernel 3.2.0 USB Mouse
On Sat, 7 Jan 2012 18:53:30 -0800, Hilco Wijbenga wrote: I'm trying to upgrade the kernel on my desktop from 3.1.6 to 3.2.0(-r1). Unfortunately, my Logitech USB trackball does not work in 3.2.0. It is listed in the lsusb output so it is being recognized but neither GPM nor X responds to it. Which trackball? Mine works fine with no changes % lsusb Bus 001 Device 005: ID 046d:c408 Logitech, Inc. Marble Mouse (4-button) % uname -r 3.2.0-gentoo-r1 % cat /etc/X11/xorg.conf.d/40-evdev.conf Section InputClass Identifier evdev pointer catchall MatchIsPointer on MatchDevicePath /dev/input/event* Driver evdev Option ButtonMapping 3 2 1 4 5 6 7 2 9 Option Emulate3Buttons True Option EmulateWheel True Option EmulateWheelButton 9 EndSection -- Neil Bothwick Age and treachery will always overcome youth and skill. signature.asc Description: PGP signature
[gentoo-user] Re: Linux Kernel 3.2.0 USB Mouse
On 01/07/2012 06:53 PM, Hilco Wijbenga wrote: Hi all, I'm trying to upgrade the kernel on my desktop from 3.1.6 to 3.2.0(-r1). Unfortunately, my Logitech USB trackball does not work in 3.2.0. It is listed in the lsusb output so it is being recognized but neither GPM nor X responds to it. I have tried to make sure that the .config files are as identical as possible. The differences that I see do not seem relevant to my problem. Any ideas? IIRC the kernel config choices for HID were reorganized recently. I remember that my keyboard stopped working and I had to set some HID selection that I can't recall now, but it's worth a look.
Re: [gentoo-user] Linux Kernel 3.2.0 USB Mouse
On 01/08/2012 07:29 AM, Neil Bothwick wrote: On Sat, 7 Jan 2012 18:53:30 -0800, Hilco Wijbenga wrote: I'm trying to upgrade the kernel on my desktop from 3.1.6 to 3.2.0(-r1). Unfortunately, my Logitech USB trackball does not work in 3.2.0. It is listed in the lsusb output so it is being recognized but neither GPM nor X responds to it. Which trackball? Mine works fine with no changes Mine works too. Did you rebuild the xord input driver when you switched kernels? -- G.Wolfe Woodbury aka redwolfe
Re: [gentoo-user] How to get raid
On 01/07/2012 11:20 AM, Jeff Cranmer wrote: On Sat, 2012-01-07 at 10:11 -0500, Jeff Cranmer wrote: What am I missing? have you set the type to linux raid autodetect? have you tried mdadm --assemble? mdadm --assemble /dev/md0 didn't make any difference. Where do I set the type? after assembling, results of cat/proc/mdstat personalities : [linear] [raid0] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty] md0 : inactive sdb1[0](S) sdd1[3](S) sdc1[1](S) 4395409608 blocks super 1.2 unused devices: none results of mdadm --detail /dev/md0 mdadm: md device /dev/md0 does not appear to be active. results of /etc/init.d/mdadm status * status: started fstab line /dev/md0 /data xfs noatime 0 0 Is there a raid option I need to add to the fstab entry? Is there another service that needs to run, other than mdam? Thanks Jeff I tried changing the type of each array element in fdisk to fd (linux raid autodetect. The array is still not being recognised at boot, with the same 'cannot read superblock' error. I also tried re-running mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1 I get the error mdadm: device /dev/sdb1 not suitable for any style of array. What is going on here? (I didn't read this whole thread, sorry if I'm repeating someone else's advice) kernel autodetection only works on old superblock version 0.90, you're using 1.2. Not a big deal, we use mdadm to do it. Define your arrays in /etc/mdadm.conf and start /etc/init.d/mdadm in your boot runscripts with rc-update add mdadm boot, it will bring up the array at boot time. In my mdadm.conf i have a line like this: ARRAY /dev/md1 metadata=1.01 name=black:1 UUID=8e653e72:9d5df6ba:bb66ea8b:02f1c317 (might be word-wrapped, should be all one line) That's all that was needed to bring it up automatically at boot time. Also AFAIR there was a gotcha about the hostname stored in the array's metadata must match your machine's hostname or else mdadm auto-assemble won't accept it (to protect you in case you're plugging disks from another machine for recovery, you don't want it to use them as your main drives), so in that case you must specify it explicitly or set the AUTO parameter in mdadm.conf to accept this condition. If you created the array from within a LiveCD or on another machine, the hostname might not match your system. See the mdadm manpage for more info.
[gentoo-user] [OT] Using mutt instead of kmail
Hi All, There are a few mutt users here so I thought of asking here first. I've tried setting up mutt to use as a mail client instead of kmail. Having spent some time now I am not sure it will do what I expect of a mail client, at least not with the ease that I hoped. The basic requirements for my typical use cases are to be able to handle gpg/pgp and s/mime signed and occasionally encrypted messages and to auto- complete addresses. I have several different s/mime certificates and gpg keys for two different mail accounts. Of course only one certificate for each account is valid at any time (the others are expired or revoked) and only one gpg public/private key pair. However, the old keys are still necessary and available in my system to be able to decrypt old emails that I have received over the years. With kmail I do not have to specify gpg keys, or certificate IDs, to be able to decrypt messages. The mail client itself reads the key/certificate and calls gpgsm/kgpg which asks for my passphrase. Also, when I want to send an encrypted message it knows from the Crypto settings of the recipient in the Address Book which public key/certificate to use to encrypt a message. if the recipient has both gpg and s/mime certificates available in the Address Book it asks me which to use on each occasion. Finally, kmail has an auto-completion feature for the recipient address and it suggests as I type the person to send to. Down arrow and enter is all that I need to press. Unlike kmail, with mutt I can't even start using certificates because I am getting errors importing SSL certs like these: 3075245704:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1319: 3075245704:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec.c:381:Type=PKCS12 Mutt asks for s/mime ID Nos, on each message, which with the number of certificates that I have amassed over the years I do not happen to have at hand and it is a pain to type manually each time. Mutt also does not seem to auto-complete any addresses. It uses aliases, but that implies that I must set up such aliases and use these every time I want to enter a particular address. This creates the problem of having to remember each and every alias, rather than typing fre and getting a list of Freds, Freddies, Frederics, etc. or part of the Surname, or part of the email address itself. The other difficulty is the key shortcuts in mutt do not behave as I would like them to, but this is that something I could recode so less of a problem. Is there anything that I could do to automate the digital signing and encryption to a level similar to kmail and the auto-completion of email addresses? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] How to get raid
On Sun, 2012-01-08 at 12:31 -0600, Paul Hartman wrote: What is going on here? (I didn't read this whole thread, sorry if I'm repeating someone else's advice) kernel autodetection only works on old superblock version 0.90, you're using 1.2. Not a big deal, we use mdadm to do it. Define your arrays in /etc/mdadm.conf and start /etc/init.d/mdadm in your boot runscripts with rc-update add mdadm boot, it will bring up the array at boot time. In my mdadm.conf i have a line like this: ARRAY /dev/md1 metadata=1.01 name=black:1 UUID=8e653e72:9d5df6ba:bb66ea8b:02f1c317 (might be word-wrapped, should be all one line) That's all that was needed to bring it up automatically at boot time. Also AFAIR there was a gotcha about the hostname stored in the array's metadata must match your machine's hostname or else mdadm auto-assemble won't accept it (to protect you in case you're plugging disks from another machine for recovery, you don't want it to use them as your main drives), so in that case you must specify it explicitly or set the AUTO parameter in mdadm.conf to accept this condition. If you created the array from within a LiveCD or on another machine, the hostname might not match your system. See the mdadm manpage for more info. mdadm was added to the default level, not boot. My /etc/mdadm.conf file has two active lines DEVICE /dev/sd[bcd]1 ARRAY dev/md0 metadata=1.2 spares=1 name=office-desktop:0 devices=/dev/sdb1,dev/sdc1,/dev/sdd1 It looks like I'm having trouble with a faulty /dev/sdc1, so what I'd like to do is wipe out the existing array and try starting a RAID1 array just with sdb1 and sdd1. I got rid of the old array by using the commands mdadm --manage --fail /dev/md0 mdadm --manage --stop /dev/md0 I then used mdadm --verbose --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdd1 The result of this command was dadm: /dev/sdb1 appears to be part of a raid array: level=raid5 devices=3 ctime=Sat Jan 7 08:16:00 2012 mdadm: partition table exists on /dev/sdb1 but will be lost or meaningless after creating array mdadm: Note: this array has metadata at the start and may not be suitable as a boot device. If you plan to store '/boot' on this device please ensure that your boot-loader understands md/v1.x metadata, or use --metadata=0.90 mdadm: /dev/sdd1 appears to be part of a raid array: level=raid5 devices=3 ctime=Sat Jan 7 08:16:00 2012 mdadm: size set to 1465136400K Continue creating array? y mdadm: Defaulting to version 1.2 metadata mdadm: array /dev/md0 started. The results of cat /proc/mdstat are Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] md0 : active raid1 sdd1[1] sdb1[0] 1465136400 blocks super 1.2 [2/2] [UU] [] resync = 2.1% (31838144/1465136400) finish=269.7min speed=88551K/sec unused devices: none Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] md0 : active raid1 sdd1[1] sdb1[0] 1465136400 blocks super 1.2 [2/2] [UU] [] resync = 2.1% (31838144/1465136400) finish=269.7min speed=88551K/sec unused devices: none The results of mdadm --detail /dev/md0 are /dev/md0: Version : 1.2 Creation Time : Sun Jan 8 14:47:43 2012 Raid Level : raid1 Array Size : 1465136400 (1397.26 GiB 1500.30 GB) Used Dev Size : 1465136400 (1397.26 GiB 1500.30 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Sun Jan 8 14:48:54 2012 State : active, resyncing Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Rebuild Status : 2% complete Name : office-desktop:0 (local to host office-desktop) UUID : bfc16c6e:4e8cb910:96ff7ed2:6fec32bc Events : 1 Number Major Minor RaidDevice State 0 8 170 active sync /dev/sdb1 1 8 491 active sync /dev/sdd1 When I try to mount this drive, however, I get mount: /dev/md0: can't read superblock What do I need to do to complete the process? Thanks Jeff
Re: [gentoo-user] Managing rDNS with BIND
On Sat, 7 Jan 2012 09:45:44 -0600 Carlos Sura carlos.su...@googlemail.com wrote: Hello mates, I have a problem, my provider does not want to set rDNS to my IP's since I have 5 IP's rotating for my server, I don't know why. So he told me I can do this manually. So I've added this as a master zone: $ttl 38400 80.236.109.in-addr.arpa. IN SOA dominio.dominio.com. abuse.dominio.com. (notice that last digits are miss) 1325905990 10800 3600 604800 38400 ) 80.236.109.in-addr.arpa. IN NS dominio.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR ns1.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR ns2.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. But it does not reflect any change in any machine, just in the local machine I get the answer, when I try in any other machine, it still showing me the rDNS of my provider. The reason is quite simple and most sane ISPs will do it that way. rDNS is NOT your A records in reverse, and you have no right of access to the zone. in-addr.arpa serves an entirely different purpose, it documents the layout of the ISPs address space. Your 5 IPs have not been delegated to you and you do not own them per whois, they still belong to your ISP and are merely recorded in the ISP record as assigned for your use. Therefore the ISP will use their own documentation standards to determine what is in the rDNS zone. Additionally, delegating out a /29 is a gigantic pain in the arse and leads to an unmaintainable mess in very short order (so says the poor sucker that's had to fix it...). At work we never sub-delegate out rDNS to customers; but we do do it for downstream re-sellers as they are ISPs in the in own right. So your ISP is quite correct in what they are saying. However, I would like to see a clarification of what your support contact means when he says do it manually - that doesn't make any sense -- Alan McKinnon
Re: [gentoo-user] Linux Kernel 3.2.0 USB Mouse
On 8 January 2012 04:29, Neil Bothwick n...@digimed.co.uk wrote: On Sat, 7 Jan 2012 18:53:30 -0800, Hilco Wijbenga wrote: I'm trying to upgrade the kernel on my desktop from 3.1.6 to 3.2.0(-r1). Unfortunately, my Logitech USB trackball does not work in 3.2.0. It is listed in the lsusb output so it is being recognized but neither GPM nor X responds to it. Which trackball? Mine works fine with no changes Logitech Wireless Trackball M570 http://www.logitech.com/mice-pointers/trackballs/devices/7365 % lsusb Bus 001 Device 005: ID 046d:c408 Logitech, Inc. Marble Mouse (4-button) centaur ~ # lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 059f:1018 LaCie, Ltd Bus 002 Device 002: ID 0518:0001 EzKEY Corp. USB to PS2 Adaptor v1.09 Bus 002 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver % uname -r 3.2.0-gentoo-r1 % cat /etc/X11/xorg.conf.d/40-evdev.conf Section InputClass Identifier evdev pointer catchall MatchIsPointer on MatchDevicePath /dev/input/event* Driver evdev Option ButtonMapping 3 2 1 4 5 6 7 2 9 Option Emulate3Buttons True Option EmulateWheel True Option EmulateWheelButton 9 EndSection I don't have a /etc/X11/xorg.conf.d/40-evdev.conf. My evdev works fine without any extra rules. So far, anyway. :-) I'll see if this makes any difference.
Re: [gentoo-user] Re: Linux Kernel 3.2.0 USB Mouse
On 8 January 2012 05:15, walt w41...@gmail.com wrote: On 01/07/2012 06:53 PM, Hilco Wijbenga wrote: Hi all, I'm trying to upgrade the kernel on my desktop from 3.1.6 to 3.2.0(-r1). Unfortunately, my Logitech USB trackball does not work in 3.2.0. It is listed in the lsusb output so it is being recognized but neither GPM nor X responds to it. I have tried to make sure that the .config files are as identical as possible. The differences that I see do not seem relevant to my problem. Any ideas? IIRC the kernel config choices for HID were reorganized recently. I remember that my keyboard stopped working and I had to set some HID selection that I can't recall now, but it's worth a look. Yes, I noticed that when I compared the old and new configs. The only entries that seemed relevant were CONFIG_USB_MOUSE and CONFIG_USB_KEYBOARD. The documentation is quite specific, though: you don't want this. I tried them anyway but no luck. If you remember more details, I'd be very interested.
Re: [gentoo-user] Re: Linux Kernel 3.2.0 USB Mouse
On Sun, 8 Jan 2012 14:57:49 -0800 Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 8 January 2012 05:15, walt w41...@gmail.com wrote: On 01/07/2012 06:53 PM, Hilco Wijbenga wrote: Hi all, I'm trying to upgrade the kernel on my desktop from 3.1.6 to 3.2.0(-r1). Unfortunately, my Logitech USB trackball does not work in 3.2.0. It is listed in the lsusb output so it is being recognized but neither GPM nor X responds to it. I have tried to make sure that the .config files are as identical as possible. The differences that I see do not seem relevant to my problem. Any ideas? IIRC the kernel config choices for HID were reorganized recently. I remember that my keyboard stopped working and I had to set some HID selection that I can't recall now, but it's worth a look. Yes, I noticed that when I compared the old and new configs. The only entries that seemed relevant were CONFIG_USB_MOUSE and CONFIG_USB_KEYBOARD. The documentation is quite specific, though: you don't want this. I tried them anyway but no luck. If you remember more details, I'd be very interested. You definitely do not want to set those, they are not for mouses and keyboards as normally used. They are for small embedded systems that do not support the full HID setup. You must disable those settings and just use the regular HID stuff.
Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3
On Sat, Jan 07, 2012 at 12:44:36PM +0100, pk wrote Hm... I also use a radeon (w/ KMS) and needs this binary blob but I compile that into the kernel*. *Device Drivers --- Generic Driver Options --- [*] Include in-kernel firmware blobs in kernel binary If you don't have it compiled in I can see why you would need udev... Disclaimer: I assume it's not needed in my case - haven't tested though but fail to see any technical reason for calling libudev, in this case. I also have that. To test it out, I moved R600_rlc.bin from /lib/firmware/radeon, and X still comes up. So it has been pulled into the kernel. But wait, whilst screwing around, I noticed that the compile pulls in every blob in the /lib/firmware/radeon directory... BARTS_mc.binCAYMAN_pfp.bin JUNIPER_pfp.bin SUMO2_me.bin BARTS_me.binCAYMAN_rlc.bin JUNIPER_rlc.bin SUMO2_pfp.bin BARTS_pfp.bin CEDAR_me.bin PALM_me.bin SUMO_me.bin BTC_rlc.bin CEDAR_pfp.binPALM_pfp.bin SUMO_pfp.bin CAICOS_mc.bin CEDAR_rlc.binR600_rlc.bin SUMO_rlc.bin CAICOS_me.bin CYPRESS_me.bin R700_rlc.bin TURKS_mc.bin CAICOS_pfp.bin CYPRESS_pfp.bin REDWOOD_me.bin TURKS_me.bin CAYMAN_mc.bin CYPRESS_rlc.bin REDWOOD_pfp.bin TURKS_pfp.bin CAYMAN_me.bin JUNIPER_me.bin REDWOOD_rlc.bin I removed all but R600_rlc.bin (the one the laptop graphics chip requires) from /lib/firmware/radeon, rebuilt the kernel, and rebooted, and now X comes up fine without the libudev files. This is weird. The only thing I can think of is... * with only one binary blob. it just works * multiple blobs should not be included in the kernel, otherwise it gets confused. If multiple blobs are included, there's a fallback mechanism that uses udev to figure out exactly which graphics chip the laptop has, and which of the built-in blobs to use. So my laptop is now entirely udev-free. -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] Re: xpdf - missing fonts
On Fri, Jan 06, 2012 at 08:40:04PM -0700, Joseph wrote On 01/06/12 13:51, walt wrote: Try turning the NLS useflag on for your installed font packages that use NLS. Not all font packages use NLS, dunno why. To see which installed fonts use NLS: #eix -IU nls | grep fonts Aparenlty none of them: eix -IU nls | grep fonts [I] media-fonts/font-misc-misc Description: X.Org miscellaneous fonts I have a suggestion that goes in the opposite direction. It's part of bug https://bugs.gentoo.org/show_bug.cgi?id=368335 For some reason, the default is now to generate Unicode encoding only (I believe it's iso10646), not iso8859-1 or any of the other local encodings. I ran into this when xfreecell refused to start, due to missing a specific iso8859-1 font. The bug can be worked around by editing the file /usr/portage/eclass/xorg-2.eclass I'm attaching my edited version. * Rename your current /usr/portage/eclass/xorg-2.eclass * substitute the version attached to this post * re-emerge all your fonts ***NOTE*** This eclass file tries to produce iso8859-1 only. Modify it if you want other iso code files. File attached... -- Walter Dnes waltd...@waltdnes.org # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.51 2011/11/01 13:51:05 chithanh Exp $ # @ECLASS: xorg-2.eclass # @MAINTAINER: # x...@gentoo.org # @AUTHOR: # Author: Tom Chvtal scarab...@gentoo.org # Author: Donnie Berkholz dberkh...@gentoo.org # @BLURB: Reduces code duplication in the modularized X11 ebuilds. # @DESCRIPTION: # This eclass makes trivial X ebuilds possible for apps, fonts, drivers, # and more. Many things that would normally be done in various functions # can be accessed by setting variables instead, such as patching, # running eautoreconf, passing options to configure and installing docs. # # All you need to do in a basic ebuild is inherit this eclass and set # DESCRIPTION, KEYWORDS and RDEPEND/DEPEND. If your package is hosted # with the other X packages, you don't need to set SRC_URI. Pretty much # everything else should be automatic. GIT_ECLASS= if [[ ${PV} == ** ]]; then GIT_ECLASS=git-2 XORG_EAUTORECONF=yes fi # If we're a font package, but not the font.alias one FONT_ECLASS= if [[ ${PN} == font* \ ${CATEGORY} = media-fonts \ ${PN} != font-alias \ ${PN} != font-util ]]; then # Activate font code in the rest of the eclass FONT=yes FONT_ECLASS=font fi inherit autotools-utils eutils libtool multilib toolchain-funcs flag-o-matic autotools \ ${FONT_ECLASS} ${GIT_ECLASS} EXPORTED_FUNCTIONS=src_unpack src_compile src_install pkg_postinst pkg_postrm case ${EAPI:-0} in 3|4) EXPORTED_FUNCTIONS=${EXPORTED_FUNCTIONS} src_prepare src_configure ;; *) die EAPI=${EAPI} is not supported ;; esac # exports must be ALWAYS after inherit EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS} IUSE= HOMEPAGE=http://xorg.freedesktop.org/; # @ECLASS-VARIABLE: XORG_EAUTORECONF # @DESCRIPTION: # If set to 'yes' and configure.ac exists, eautoreconf will run. Set # before inheriting this eclass. : ${XORG_EAUTORECONF:=no} # @ECLASS-VARIABLE: XORG_BASE_INDIVIDUAL_URI # @DESCRIPTION: # Set up SRC_URI for individual modular releases. If set to an empty # string, no SRC_URI will be provided by the eclass. : ${XORG_BASE_INDIVIDUAL_URI=http://xorg.freedesktop.org/releases/individual} # @ECLASS-VARIABLE: XORG_MODULE # @DESCRIPTION: # The subdirectory to download source from. Possible settings are app, # doc, data, util, driver, font, lib, proto, xserver. Set above the # inherit to override the default autoconfigured module. if [[ -z ${XORG_MODULE} ]]; then case ${CATEGORY} in app-doc) XORG_MODULE=doc/ ;; media-fonts) XORG_MODULE=font/;; x11-apps|x11-wm) XORG_MODULE=app/ ;; x11-misc|x11-themes) XORG_MODULE=util/;; x11-base)XORG_MODULE=xserver/ ;; x11-drivers) XORG_MODULE=driver/ ;; x11-proto) XORG_MODULE=proto/ ;; x11-libs)XORG_MODULE=lib/ ;; *) XORG_MODULE= ;; esac fi # @ECLASS-VARIABLE: XORG_PACKAGE_NAME # @DESCRIPTION: # For git checkout the git repository might differ from package name. # This variable can be used for proper directory specification : ${XORG_PACKAGE_NAME:=${PN}} if [[ -n ${GIT_ECLASS} ]]; then : ${EGIT_REPO_URI:=git://anongit.freedesktop.org/git/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME} http://anongit.freedesktop.org/git/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME}} elif [[ -n ${XORG_BASE_INDIVIDUAL_URI} ]]; then SRC_URI=${XORG_BASE_INDIVIDUAL_URI}/${XORG_MODULE}${P}.tar.bz2 fi : ${SLOT:=0} # Set the license for the
[gentoo-user] Question kernel upgrades for dracut users
Howdy, I'm about to upgrade my kernel. Do I have to update the init thingy too or should it work without updating with each kernel upgrade? I would be going from a 3.1.5 to a 3.2.0-r1. While I am at it, I version my bzImages. Can I version my init thinys too? Have one for each version of kernel in other words? That would be assuming I need to have it updated as asked above. Thanks. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
Re: [gentoo-user] [OT] Using mutt instead of kmail
On Sun, Jan 08, 2012 at 06:32:07PM +, Mick wrote Is there anything that I could do to automate the digital signing and encryption to a level similar to kmail and the auto-completion of email addresses? I'm not familiar with the encryption. There is a sort of auto-completion. Type the first 2 or 3 characters(or enough to be unique) and then hit the {TAB} key. It should finish the address. For encryption or gpg signing, see https://kb.wisc.edu/middleware/page.php?id=4091 Mutt has crypt and smime USE flags, which may be required for your needs. -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] Question kernel upgrades for dracut users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09.01.2012 01:34, Dale wrote: Howdy, I'm about to upgrade my kernel. Do I have to update the init thingy too or should it work without updating with each kernel upgrade? I would be going from a 3.1.5 to a 3.2.0-r1. While I am at it, I version my bzImages. Can I version my init thinys too? Have one for each version of kernel in other words? That would be assuming I need to have it updated as asked above. Thanks. Dale :-) :-) Hi Dale, You can use your old init thingy if you don't need any modules inside it. The other stuff normally doesn't change. Since most setups use modules, you could experience troubles... The other way would be - as you already proposed - to create an init thingy per kernel, eg initramfs-3.2.0-r1. If you use grub2 the grub2-mkconfig script searches for these (matching the name for your kernel image) and normally it works out of the box. FOr grub legacy (and lilo, i assume) you would need to make matching entries manually. With kind regards, Hinnerk -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPCj4LAAoJEJwwOFaNFkYcA80IAIuYdR8nBiEKdZnUj5TyT/Oz /oYdw7Kn8bwqsMvBMF8WhEbQlwzy/W/7QaMhU1MOUjFHHHkcFkNe6240gfkbhEEg J52xj2vsUeT9YjgWEcrhmbFjZi3QNa9NxqVqpEXTFotfKcrX5ym0wdWQ7sW5VhHZ a4TNtoTu/Kt0pCjyi9ex9j3s1iJKxGG3vwJPrPwT3cc7+1adOE53rgpwjl9avklD IL72XmhDrii/C3Im78TqrqBZ1fjjRgEmzwGmdBp2Hduk7w5iEW5dXh4nGq/4+8Xi C1/o+y8acC1+IXRJBbAGMSoVdkmU9difo33CtnjMyjwPjHpkq16TWGj0w12eD8s= =lP1r -END PGP SIGNATURE-
Re: [gentoo-user] Linux Kernel 3.2.0 USB Mouse
On 8 January 2012 06:51, G.Wolfe Woodbury redwo...@gmail.com wrote: On 01/08/2012 07:29 AM, Neil Bothwick wrote: On Sat, 7 Jan 2012 18:53:30 -0800, Hilco Wijbenga wrote: I'm trying to upgrade the kernel on my desktop from 3.1.6 to 3.2.0(-r1). Unfortunately, my Logitech USB trackball does not work in 3.2.0. It is listed in the lsusb output so it is being recognized but neither GPM nor X responds to it. Which trackball? Mine works fine with no changes Mine works too. Did you rebuild the xord input driver when you switched kernels? You mean x11-drivers/xf86-input-evdev? Yes, I did. Mind you, I don't think that's necessary. I usually only run module-rebuild and that's enough. Still, I was desperate so I also rebuilt everything in qlist -IC x11-drivers. :-) Come to think of it, I don't believe this is X related. As I wrote originally, GPM doesn't work either. That seems to imply my problem is with the kernel, right?
[gentoo-user] [Solved] Linux Kernel 3.2.0 USB Mouse
On 7 January 2012 18:53, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: I'm trying to upgrade the kernel on my desktop from 3.1.6 to 3.2.0(-r1). Unfortunately, my Logitech USB trackball does not work in 3.2.0. It is listed in the lsusb output so it is being recognized but neither GPM nor X responds to it. I have tried to make sure that the .config files are as identical as possible. The differences that I see do not seem relevant to my problem. Any ideas? All right, I found the problem. I needed to add support for Logitech Unifying receivers full support: Device Drivers - HID Devices (HID_SUPPORT) - Special HID drivers - Logitech devices (HID_LOGITECH) - Logitech Unifying receivers full support Thanks all!
Re: [gentoo-user] Question kernel upgrades for dracut users
Hinnerk van Bruinehsen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09.01.2012 01:34, Dale wrote: Howdy, I'm about to upgrade my kernel. Do I have to update the init thingy too or should it work without updating with each kernel upgrade? I would be going from a 3.1.5 to a 3.2.0-r1. While I am at it, I version my bzImages. Can I version my init thinys too? Have one for each version of kernel in other words? That would be assuming I need to have it updated as asked above. Thanks. Dale :-) :-) Hi Dale, You can use your old init thingy if you don't need any modules inside it. The other stuff normally doesn't change. Since most setups use modules, you could experience troubles... The other way would be - as you already proposed - to create an init thingy per kernel, eg initramfs-3.2.0-r1. If you use grub2 the grub2-mkconfig script searches for these (matching the name for your kernel image) and normally it works out of the box. FOr grub legacy (and lilo, i assume) you would need to make matching entries manually. With kind regards, Hinnerk -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPCj4LAAoJEJwwOFaNFkYcA80IAIuYdR8nBiEKdZnUj5TyT/Oz /oYdw7Kn8bwqsMvBMF8WhEbQlwzy/W/7QaMhU1MOUjFHHHkcFkNe6240gfkbhEEg J52xj2vsUeT9YjgWEcrhmbFjZi3QNa9NxqVqpEXTFotfKcrX5ym0wdWQ7sW5VhHZ a4TNtoTu/Kt0pCjyi9ex9j3s1iJKxGG3vwJPrPwT3cc7+1adOE53rgpwjl9avklD IL72XmhDrii/C3Im78TqrqBZ1fjjRgEmzwGmdBp2Hduk7w5iEW5dXh4nGq/4+8Xi C1/o+y8acC1+IXRJBbAGMSoVdkmU9difo33CtnjMyjwPjHpkq16TWGj0w12eD8s= =lP1r -END PGP SIGNATURE- I'm on the old Grub. I keep saying I'm going to switch but . . . . . . . If you are using the new grub, how difficult is the switch? Scale from one to ten would be fine. 1 being pulling teeth and 10 a walk in the park and your eyes were closed. o_O I always keep a older boot line available so I will test this but I may version them anyway, just to be safe. At least I know there is a chance that it would work if the init thingy didn't build correctly. I tend to skip versions of kernels too. Sometimes I go several versions. Plus, honestly, I'm not even 100% sure I am booting the init thingy. I posted a thread about it but no replies. I'm about 95% sure tho that is is booting the init do hicky. Can you tell I'm not really liking the init thingy yet? Does the dracut init mount /usr if it is on a separate partition or do I have to set something to tell it too? Right now it's not but I do plan to redo my set up. I'm planning to put everything on LVM except / and its friends. Thanks. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
Re: [gentoo-user] How to get raid
On Sun, 2012-01-08 at 15:03 -0500, Jeff Cranmer wrote: On Sun, 2012-01-08 at 12:31 -0600, Paul Hartman wrote: What is going on here? (I didn't read this whole thread, sorry if I'm repeating someone else's advice) kernel autodetection only works on old superblock version 0.90, you're using 1.2. Not a big deal, we use mdadm to do it. Define your arrays in /etc/mdadm.conf and start /etc/init.d/mdadm in your boot runscripts with rc-update add mdadm boot, it will bring up the array at boot time. In my mdadm.conf i have a line like this: ARRAY /dev/md1 metadata=1.01 name=black:1 UUID=8e653e72:9d5df6ba:bb66ea8b:02f1c317 (might be word-wrapped, should be all one line) That's all that was needed to bring it up automatically at boot time. Also AFAIR there was a gotcha about the hostname stored in the array's metadata must match your machine's hostname or else mdadm auto-assemble won't accept it (to protect you in case you're plugging disks from another machine for recovery, you don't want it to use them as your main drives), so in that case you must specify it explicitly or set the AUTO parameter in mdadm.conf to accept this condition. If you created the array from within a LiveCD or on another machine, the hostname might not match your system. See the mdadm manpage for more info. mdadm was added to the default level, not boot. My /etc/mdadm.conf file has two active lines DEVICE /dev/sd[bcd]1 ARRAY dev/md0 metadata=1.2 spares=1 name=office-desktop:0 devices=/dev/sdb1,dev/sdc1,/dev/sdd1 It looks like I'm having trouble with a faulty /dev/sdc1, so what I'd like to do is wipe out the existing array and try starting a RAID1 array just with sdb1 and sdd1. I got rid of the old array by using the commands mdadm --manage --fail /dev/md0 mdadm --manage --stop /dev/md0 I then used mdadm --verbose --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdd1 The result of this command was dadm: /dev/sdb1 appears to be part of a raid array: level=raid5 devices=3 ctime=Sat Jan 7 08:16:00 2012 mdadm: partition table exists on /dev/sdb1 but will be lost or meaningless after creating array mdadm: Note: this array has metadata at the start and may not be suitable as a boot device. If you plan to store '/boot' on this device please ensure that your boot-loader understands md/v1.x metadata, or use --metadata=0.90 mdadm: /dev/sdd1 appears to be part of a raid array: level=raid5 devices=3 ctime=Sat Jan 7 08:16:00 2012 mdadm: size set to 1465136400K Continue creating array? y mdadm: Defaulting to version 1.2 metadata mdadm: array /dev/md0 started. The results of cat /proc/mdstat are Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] md0 : active raid1 sdd1[1] sdb1[0] 1465136400 blocks super 1.2 [2/2] [UU] [] resync = 2.1% (31838144/1465136400) finish=269.7min speed=88551K/sec unused devices: none Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] md0 : active raid1 sdd1[1] sdb1[0] 1465136400 blocks super 1.2 [2/2] [UU] [] resync = 2.1% (31838144/1465136400) finish=269.7min speed=88551K/sec unused devices: none The results of mdadm --detail /dev/md0 are /dev/md0: Version : 1.2 Creation Time : Sun Jan 8 14:47:43 2012 Raid Level : raid1 Array Size : 1465136400 (1397.26 GiB 1500.30 GB) Used Dev Size : 1465136400 (1397.26 GiB 1500.30 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Sun Jan 8 14:48:54 2012 State : active, resyncing Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Rebuild Status : 2% complete Name : office-desktop:0 (local to host office-desktop) UUID : bfc16c6e:4e8cb910:96ff7ed2:6fec32bc Events : 1 Number Major Minor RaidDevice State 0 8 170 active sync /dev/sdb1 1 8 491 active sync /dev/sdd1 When I try to mount this drive, however, I get mount: /dev/md0: can't read superblock What do I need to do to complete the process? Thanks Jeff Success - I managed to get a raid1 device operating. I created the final filesystem by using mkfs.xfs -f /dev/md0, then waited for the rebuild to complete before rebooting the system. It appears to be created successfully. Now I'll try the same sequence with sdb and sdc to see if sdc is a good disk. If that works, I'll retry a raid5 array tomorrow night. Jeff
[gentoo-user] removal of esound
Greetings, 'emerge -pv -uDN world' just showed me this: !!! The following installed packages are masked: - media-sound/esound-0.2.41::gentoo (masked by: package.mask) /usr/portage/profiles/package.mask: # Nirbheek Chauhan nirbh...@gentoo.org (04 Jan 2012) # Outdated and unused sound daemon. Why is this still in the tree? # Removal of esd and deps in 30 days. # In exceptional cases, you may use Pulseaudio's esound wrapper. Now, installation of esound was necessary for my SeaMonkey to be able to notify of new mail with a custom sound file. I do *not* want pulseaudio, so, do you know of an replacement for esound which could work with SeaMonkey? Hartmut -- Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/ Von Usern fuer User :-)
Re: [gentoo-user] [OT] Using mutt instead of kmail
On Sun, Jan 08, 2012 at 06:32:07PM +, Mick wrote: Hi All, There are a few mutt users here so I thought of asking here first. I've tried setting up mutt to use as a mail client instead of kmail. I actually did the change from KMail to Mutt after my KDEPIM kicked the bucket with 4.7.3. […] GPG questions […] Though I myself have set up a simple GPG key, ther is currently only one person in my list of contacts who does, too. So I don’t have any relevant experience concerning mutt+gpg besides signing my own messages, except for when I’m in certain folders, which can be achieved with: folder-hook . set pgp_autosign folder-hook +some_folder unset pgp_autosign Finally, kmail has an auto-completion feature for the recipient address and it suggests as I type the person to send to. Down arrow and enter is all that I need to press. […] Mutt also does not seem to auto-complete any addresses. It uses aliases, but that implies that I must set up such aliases and use these every time I want to enter a particular address. This creates the problem of having to remember each and every alias, rather than typing fre and getting a list of Freds, Freddies, Frederics, etc. or part of the Surname, or part of the email address itself. Mutt has a completion feature; when you enter an address, you can press ^t to trigger autocompletion. Now the trick is to get mutt to use your contacts. For that you need to install lbdb, which is a contacts management thingy, featuring a number of storage backends (almost like what akonadi was originally intended to do, lol). I simply set lbdb up to use KAddressBook’s std.vcf file and then I can query it using lbdbq. Like so: - file: ~/.lbdbrc --- METHODS=m_inmail m_vcf m_abook m_muttalias MUTT_DIRECTORY=$HOME/.mutt MUTTALIAS_FILES=aliases VCF_FILES=$HOME/.kde4/share/apps/kabc/std.vcf Now, using lbdbq, I can query the VCF file, my mutt aliases and some other stuff (inmail is an lbdb-internal database to which you can feed addresses from incoming mail, IIRC, and abook is a textbased address book I tried). In order to use lbdbq for autocompletion in mutt, add the following to muttrc: set query_command=lbdbq '%s' The other difficulty is the key shortcuts in mutt do not behave as I would like them to, but this is that something I could recode so less of a problem. Keyboard shortcuts are always a question of personal preference and of what tutorials/howtos/introductions to mutt you found, read and consider useful. For example, since I converted to vi last year, I added some shortcuts to use m and , (which are below j and k, respectively, to move the pager content up and down, whereas j and k switch messages). -- Gruß | Greetings | Qapla' I forbid any use of my email addresses with Facebook services. The duration of a minute is relative. It depends on the side of the toilet door you are standing on. pgpQnP7GTPxJe.pgp Description: PGP signature
Re: [gentoo-user] removal of esound
Hartmut Figge wrote: Greetings, 'emerge -pv -uDN world' just showed me this: !!! The following installed packages are masked: - media-sound/esound-0.2.41::gentoo (masked by: package.mask) /usr/portage/profiles/package.mask: # Nirbheek Chauhannirbh...@gentoo.org (04 Jan 2012) # Outdated and unused sound daemon. Why is this still in the tree? # Removal of esd and deps in 30 days. # In exceptional cases, you may use Pulseaudio's esound wrapper. Now, installation of esound was necessary for my SeaMonkey to be able to notify of new mail with a custom sound file. I do *not* want pulseaudio, so, do you know of an replacement for esound which could work with SeaMonkey? Hartmut I don't have esound enabled on my Seamonkey and it plays a sound when I get new mail. It did stop working for a while but it started working in the later part of version 1 and has worked in Seamonkey 2 from the start. I did read some of the thread on -dev about this. I think there was only a couple packages that uses esound and I don't recall Seamonkey being one of them. Are you sure it needs esound? It doesn't show up here as a option. I'm on amd64 on my main rig and x86 on my back up. It doesn't show esound anywhere on either of them. [ebuild R] www-client/seamonkey-2.4.1-r1 USE=alsa chatzilla dbus ipc libnotify methodjit roaming startup-notification webm -crypt -custom-cflags -custom-optimization -debug -system-sqlite -wifi I do have alsa enabled tho. Would that work for you too? Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
Re: [gentoo-user] removal of esound
On Sun, Jan 8, 2012 at 9:51 PM, Hartmut Figge h.fi...@gmx.de wrote: Greetings, 'emerge -pv -uDN world' just showed me this: !!! The following installed packages are masked: - media-sound/esound-0.2.41::gentoo (masked by: package.mask) /usr/portage/profiles/package.mask: # Nirbheek Chauhan nirbh...@gentoo.org (04 Jan 2012) # Outdated and unused sound daemon. Why is this still in the tree? # Removal of esd and deps in 30 days. # In exceptional cases, you may use Pulseaudio's esound wrapper. Now, installation of esound was necessary for my SeaMonkey to be able to notify of new mail with a custom sound file. I do *not* want pulseaudio, so, do you know of an replacement for esound which could work with SeaMonkey? I'm not even sure how you're seeing this. 'esd' and 'esound' don't show up anywhere in /usr/portage/www-client/seamonkey, for me. FWIW, I've got the 'alsa' USE flag enabled. -- :wq
[gentoo-user] Re: removal of esound
Dale: Hartmut Figge wrote: Now, installation of esound was necessary for my SeaMonkey to be able to notify of new mail with a custom sound file. I do *not* want pulseaudio, so, do you know of an replacement for esound which could work with SeaMonkey? I don't have esound enabled on my Seamonkey and it plays a sound when I get new mail. Nice. And what sound demon is responsible for that? ;) I did read some of the thread on -dev about this. I think there was only a couple packages that uses esound and I don't recall Seamonkey being one of them. Are you sure it needs esound? I know, that i didn't have the notification without esound. There may be other solutions. It doesn't show up here as a option. I'm on amd64 on my main rig and x86 on my back up. It doesn't show esound anywhere on either of them. I am using x86_64 without a desktop like KDE, Gnome or XFCE. Only icewm. Probably most of you uses some kind desktop and it is likely that a sound demon is installed in this way. [ebuild R] www-client/seamonkey-2.4.1-r1 USE=alsa chatzilla dbus ipc libnotify methodjit roaming startup-notification webm -crypt -custom-cflags -custom-optimization -debug -system-sqlite -wifi I do have alsa enabled tho. Would that work for you too? Ehm, look at my user agent. I am not using Gentoo to build SM, instead i am pulling the source from hg.mozilla.org. Nearly every day i have a new SM. :) Hartmut -- Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/ Von Usern fuer User :-)
[gentoo-user] Re: removal of esound
Michael Mol: On Sun, Jan 8, 2012 at 9:51 PM, Hartmut Figge h.fi...@gmx.de wrote: Now, installation of esound was necessary for my SeaMonkey to be able to notify of new mail with a custom sound file. I do *not* want pulseaudio, so, do you know of an replacement for esound which could work with SeaMonkey? I'm not even sure how you're seeing this. 'esd' and 'esound' don't show up anywhere in /usr/portage/www-client/seamonkey, for me. I am not using Gentoo for my SM. I am using hg.mozilla.org and applying some private patches to this source. FWIW, I've got the 'alsa' USE flag enabled. Opening the custom sound file with the browser worked fine here. Only the mail notification required esound. Or another sound demon. But which one. :) Hartmut -- Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/ Von Usern fuer User :-)
[gentoo-user] Re: removal of esound
Hartmut Figge: Now, installation of esound was necessary for my SeaMonkey to be able to notify of new mail with a custom sound file. I have now verified this. Without esound i am getting Timestamp: 09.01.2012 07:18:12 Error: uncaught exception: [Exception... Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsISound.play] nsresult: 0x80040111 (NS_ERROR_NOT_AVAILABLE) location: JS frame :: chrome://communicator/content/pref/preferences.js :: PlaySound :: line 99 data: no] in the error console. The next step could be trying if the notification is working for you with my current build of SM. In case someone is recklessly enough to do so. *g* This build is for x86_64. Do NOT use it with your current profile! One way to do so is by renaming ~/.mozilla to ~/.mozilla-s. SM will create a new ~/.mozilla when it starts. No configuration is needed except by inserting a path to a .wav. pref.png shows where to insert. Then click on 'Play'. http://www.triffids.de/pub/sm/120109/ Unpack the .tar.bz2 in e.g. ~/seam, cd to ~/seam/seamonkey and issue ./seamonkey to start SM. After the test delete ~/.mozilla and rename ~/.mozilla-s to ~/.mozilla. Hartmut -- Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/ Von Usern fuer User :-)