Re: [gentoo-user] Permissions of files in /sys/
-BEGIN PGP MESSAGE- Version: GnuPG v2.0.9 (GNU/Linux) Comment: http://getfiregpg.org owFFU81r1EAUT1stGhFa8CQUHj34gWmy2a3IRim2guxWWynspSedJG83Y+cjZCYb c/MieFDwKD0oeLXgzaN4F09F8OpN8eR/4EtsLSQE5v3e74vJq/Nzzuzi9u+lcz++ f1ye+fIrdoaiO+O6DxSMSvRgkykIex50O50+MAthN7q+CutbHmwjF7ChbVbxZA+g KrTFyF0D2tzSyiNku9wuhv0o7EW9LlzrhJ2ORwCJxmhYV2mB7P+uu7YGAyml7/sw YFOuJqC0hQITPsUUmKrpNRUWBiSfZBYkkoLNyJeswZQmx8QaYAU2TEULYSolBBYI 3BAbVKwGqyEhXYs0hTLFKRSlQBjrouVJdI5+4+ZkZk4WUlBMEpg3p1xBQBgfRhnW UBpSUUQjmeVawbjQEgJTG6KKSwupVpctpeVE1HryXXeUkS968AlLrKihatIMQSGm FJmc7ildEa4tZ0hrXO3Rt+JCQMam2IbJmJo0lJoM5FhIbgzpU0tMlUwQK3HGmqq0 XGKbbFeXNK0hpkgxZaeikozj9LPf8JCfitsMGAzW70OuBU/qtgevzcFIUVcqSDKp UyJrWkCbBIlWYz8NhE6YaDJRQ4ZMGiNam1zmAiUq25S7i8Y7zjHRR5qspqTuygq4 xzfkykjnlGhw9eiuuJm1eRQEtj3O/Fjoicm19RMt3U0Wx1hE8G/4MGOFwPr24/bU 18XEHd7ZiaDbXQ1v9Hv9EEjr+d1TzuKsM396trn3jnt24fhneOE4by69vPXzwtvl D48Gh38u8tdf77lPbzr7c4cbBwfvtr7xMwvB/vtPO0vzz3p/AQ== =PgWp -END PGP MESSAGE-
Re: [gentoo-user] Re: how to extract driver info from genkernel
Joshua Murphy wrote: > On Mon, Jan 12, 2009 at 5:07 PM, Harry Putnam wrote: > >> Denis writes: >> >> You can use the "lspci" command, its in the pciutils package (if I'm not mistaken) to get your system hardware information. >>> Just like magic :-) Thank you so much! >>> >> If you liked lspci you will really like lspci -v. >> Pointed out to me recently here: >> >> From: Dale >> Subject: Re: Re: kernel config hell >> Message-ID: <4956dfa4.5050...@gmail.com> >> >> The last thing in each listing is the actual name of the kernel module. >> (if required) >> > > And for the drivers list only --> lspci -k > Cuts out all the extras that you're very unlikely to need :D > > You the man! Very nice information there. Dale :-) :-)
[gentoo-user] Problems with IcyBox external HD with Cypress Chipset
Hi, Rates of the datatransfers to and from my IceBox external HD (USB to IDE) with Cypress Chipset sometimes (relative often) breaks down to a view kBytes/sec. Simultaneously, mousemovements (USB mouse/Logitech) also start to stutter. The only way out of this scenario is a reboot. Unloading the according modules leads to various unwanted sideeffects like total freezes and being unable to reboot because the shutdown process is not able sync/unmount anymore. At the time of buying the IcyBox this one was declared to be able to work with Linux. Since then I had that problems... My hardware: IcyBox (USB->IDE, Cypress chipset) Asus AV8 (Via Chipset) Linux 2.6.27.10 (vanilla) kernel config attached Datatransfers via USB High speed to a for example 4GB UsbStick work without problems. Is there any way to circumvent these issues or anything known around this? Thank you very much in advance for any help! 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. config.gz Description: application/gunzip
Re: [gentoo-user] Re: how to extract driver info from genkernel
On Mon, Jan 12, 2009 at 5:07 PM, Harry Putnam wrote: > Denis writes: > >>> You can use the "lspci" command, its in the pciutils package (if I'm >>> not mistaken) to get your system hardware information. >> >> Just like magic :-) Thank you so much! > > If you liked lspci you will really like lspci -v. > Pointed out to me recently here: > > From: Dale > Subject: Re: Re: kernel config hell > Message-ID: <4956dfa4.5050...@gmail.com> > > The last thing in each listing is the actual name of the kernel module. > (if required) And for the drivers list only --> lspci -k Cuts out all the extras that you're very unlikely to need :D -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] Re: how to extract driver info from genkernel
Harry Putnam wrote: > Denis writes: > > >>> You can use the "lspci" command, its in the pciutils package (if I'm >>> not mistaken) to get your system hardware information. >>> >> Just like magic :-) Thank you so much! >> > > If you liked lspci you will really like lspci -v. > Pointed out to me recently here: > > From: Dale > Subject: Re: Re: kernel config hell > Message-ID: <4956dfa4.5050...@gmail.com> > > The last thing in each listing is the actual name of the kernel module. > (if required) > > > > > Yea, if that module don't work, you know what to kick to the curb and then try something else. Dale :-) :-)
Re: [gentoo-user] Permissions of files in /sys/
On Mon, 12 Jan 2009 19:13:32 +0100, Momesso Andrea wrote: > Hmmm... Having not recived any answers might mean that my suspects are > right and there is no way to create an udev rule for my scope. udev rules create and name files in /dev. They use information from /sys but don't write there. > I think I will have to change those permissions manually at boot time You may be able t achieve this with a HAL policy rule, but a chown/chmod in /etc/conf.d/local is less hassle to implement. -- Neil Bothwick It may be that your sole purpose in life is simply to serve as a warning to others. signature.asc Description: PGP signature
Re: [gentoo-user] Oops when mounting (some) XFS volumes
On Mon, Jan 12, 2009 at 4:42 PM, Eric Martin wrote: > I'm at the end of my rope with this problem and I'm hoping that people > here can help. I have a few boxes that are Oops'ing on startup due to > mounting some xfs volumes. I created a machine with the 2008.0 live > cd and the stage3-i686-hardened tarball. I'm using xfs on top of lvm2 > and some xfs volumes will mount while others won't. I first noticed > this in 2.6.27-hardened-r3, but I've since compiled > > 2.6.24-gentoo-r8 (same kernel as livecd) > 2.6.27-gentoo-r7 > 2.6.27.10 (vanilla) > > and they all have the same problem. home, tmp, usr, and var are all > xfs volumes (on top of lvm) but only var refuses to mount. I'm using > the same kernel config (albeit churned through make oldconfig) to > eliminate and discrepancies but I don't think it's kernel related as > they all do it (or I'm configuring the kernel incorrectly). Here's a > quick summary of the relevant livecd utils and what I currently have > on my box: > > > livecd > xfs 2.9.7 > lvm libary 2.02.28 > lvm library version 1.02.22 > lvm driver version 4.12.0 > > my box > xfs 2.10.1 > lvm libary 2.02.36 > lvm library version 1.02.24 > lvm driver version 4.12.0 > > I've looked through b.g.o, gmane and google but I couldn't find > anything relevant. I'm attaching a trimmed version of dmesg with the > errors and my emerge --info. > > Thanks! > BTW, I just used a different fs on another machine with this problem > but either something is broken and should be fixed, or I'm doing > something incorrectly and need to be educated. > That's really strange. It looks like a memory leak or something... I would suspect corrupt partition or bad hardware, but if it happens to multiple machines that seems highly unlikely. If you boot from a non-gentoo liveCD can you mount them without the oops? Perhaps you can file an XFS bug on http://oss.sgi.com/bugzilla/ or query the XFS mailing list: http://oss.sgi.com/mailman/listinfo/xfs Good luck, Paul
[gentoo-user] Oops when mounting (some) XFS volumes
I'm at the end of my rope with this problem and I'm hoping that people here can help. I have a few boxes that are Oops'ing on startup due to mounting some xfs volumes. I created a machine with the 2008.0 live cd and the stage3-i686-hardened tarball. I'm using xfs on top of lvm2 and some xfs volumes will mount while others won't. I first noticed this in 2.6.27-hardened-r3, but I've since compiled 2.6.24-gentoo-r8 (same kernel as livecd) 2.6.27-gentoo-r7 2.6.27.10 (vanilla) and they all have the same problem. home, tmp, usr, and var are all xfs volumes (on top of lvm) but only var refuses to mount. I'm using the same kernel config (albeit churned through make oldconfig) to eliminate and discrepancies but I don't think it's kernel related as they all do it (or I'm configuring the kernel incorrectly). Here's a quick summary of the relevant livecd utils and what I currently have on my box: livecd xfs 2.9.7 lvm libary 2.02.28 lvm library version 1.02.22 lvm driver version 4.12.0 my box xfs 2.10.1 lvm libary 2.02.36 lvm library version 1.02.24 lvm driver version 4.12.0 I've looked through b.g.o, gmane and google but I couldn't find anything relevant. I'm attaching a trimmed version of dmesg with the errors and my emerge --info. Thanks! BTW, I just used a different fs on another machine with this problem but either something is broken and should be fixed, or I'm doing something incorrectly and need to be educated. EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 6140k freed ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 3 PCI: setting IRQ 3 as level-triggered i801_smbus :00:1f.3: PCI INT B -> Link[LNKB] -> GSI 3 (level, low) -> IRQ 3 r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded r8169 :01:02.0: PCI INT A -> Link[LNKB] -> GSI 3 (level, low) -> IRQ 3 eth1: RTL8110s at 0xf881ef00, 00:14:6c:33:50:14, XID 0400 IRQ 3 EXT3 FS on hda3, internal journal Filesystem "dm-3": Disabling barriers, trial barrier write failed XFS mounting filesystem dm-3 Ending clean XFS mount for filesystem: dm-3 Filesystem "dm-0": Disabling barriers, trial barrier write failed XFS mounting filesystem dm-0 allocation failed: out of vmalloc space - use vmalloc= to increase size. xfs_buf_get_noaddr: failed to map pages allocation failed: out of vmalloc space - use vmalloc= to increase size. xfs_buf_get_noaddr: failed to map pages Ending clean XFS mount for filesystem: dm-0 Filesystem "dm-1": Disabling barriers, trial barrier write failed XFS mounting filesystem dm-1 allocation failed: out of vmalloc space - use vmalloc= to increase size. xfs_buf_get_noaddr: failed to map pages allocation failed: out of vmalloc space - use vmalloc= to increase size. xfs_buf_get_noaddr: failed to map pages allocation failed: out of vmalloc space - use vmalloc= to increase size. xfs_buf_get_noaddr: failed to map pages allocation failed: out of vmalloc space - use vmalloc= to increase size. xfs_buf_get_noaddr: failed to map pages allocation failed: out of vmalloc space - use vmalloc= to increase size. xfs_buf_get_noaddr: failed to map pages Ending clean XFS mount for filesystem: dm-1 Filesystem "dm-2": Disabling barriers, trial barrier write failed XFS mounting filesystem dm-2 allocation failed: out of vmalloc space - use vmalloc= to increase size. xfs_buf_get_noaddr: failed to map pages BUG: unable to handle kernel NULL pointer dereference at IP: [] down_trylock+0x3/0x12 *pde = Oops: [#1] Modules linked in: r8169 i2c_i801 Pid: 2224, comm: mount Not tainted (2.6.27-hardened-r3 #3) EIP: 0060:[] EFLAGS: 00010046 CPU: 0 EIP is at down_trylock+0x3/0x12 EAX: EBX: ECX: f6add500 EDX: 0246 ESI: 5000 EDI: f6e86c00 EBP: f7ba49c0 ESP: f6e95d7c DS: 0068 ES: 0068 FS: GS: 0033 SS: 0068 Process mount (pid: 2224, ti=f6e94000 task=f79fbb80 task.ti=f6e94000) Stack: c08f2703 c08de57a f6acf660 f6acf660 f6e86c00 c0b81ae5 f6e95da4 c08f9af3 c0b81ae5 f692a040 f6e86c00 f6e86c00 5000 c08ddc45 00500020 5000 c0c4818c f6e86c20 0040 f6e86c00 00500020 Call Trace: [] xfs_buf_cond_lock+0x5/0x16 [] xlog_alloc_log+0x15a/0x24d [] cmn_err+0x6f/0x7f [] xfs_log_mount+0x54/0x113 [] xfs_mountfs+0x323/0x5ec [] kmem_zalloc+0xb/0x32 [] xfs_mru_cache_create+0xf7/0x143 [] xfs_fs_cmn_err+0x17/0x1a [] xfs_fs_fill_super+0x1c4/0x359 [] disk_name+0x1f/0x5b [] get_sb_bdev+0xbb/0xf9 [] alloc_vfsmnt+0x32/0xa7 [] xfs_fs_get_sb+0x12/0x16 [] xfs_fs_fill_super+0x0/0x359 [] vfs_kern_mount+0x37/0x6e [] do_kern_mount+0x29/0x5e [] do_new_mount+0x57/0x84 [] do_mount+0x1a3/0x1ca [] __alloc_pages_internal+0x92/0x353 [] strncpy_from_user+0x2c/0x35 [] sys_mount+0x76/0xb0 [] sysenter_do_call+0x12/0x25 === Code: 53 9d 5b 89 c8 c3 53 89 c2 31 c9 9c 5b fa 8b 00 85 c0 74 05 48 89 02 eb 09 89 d0 e8 2e ba 25 00 89 c1 53 9d 5b 89 c8 c3 9c 5a fa <8b> 08 49 78 02 89 08 52 9d c1 e9 1
[gentoo-user] Re: kqemu with 2.6.26 causes qemu segfault
On 2008-12-26, Willie Wong wrote: > On Fri, Dec 26, 2008 at 04:58:26AM +, Penguin Lover Grant Edwards > squawked: >> AFAICT, kqemu 1.3.0_pre11 is not compatible with 2.6.26 >> kernels. It seems to work fine with 2.6.25, but with 2.6.26 it >> causes qemu to crash with a segfault. I've seen other reports >> of similar problems on other distros as well. >> >> Anybody aware of a solution? > > My guess is that you'll have better luck at the qemu-devel mailing > list. > > I just want to thank you for bringing this to my attention: > I'll wait a bit before putting 2.6.26+ kernels on my laptop. FWIW, here's one suggested fix (I haven't tried it yet). http://qemu-forum.ipi.fi/viewtopic.php?f=16&t=4572 -- Grant Edwards grante Yow! I know how to do at SPECIAL EFFECTS!! visi.com
[gentoo-user] Re: how to extract driver info from genkernel
Denis writes: >> You can use the "lspci" command, its in the pciutils package (if I'm >> not mistaken) to get your system hardware information. > > Just like magic :-) Thank you so much! If you liked lspci you will really like lspci -v. Pointed out to me recently here: From: Dale Subject: Re: Re: kernel config hell Message-ID: <4956dfa4.5050...@gmail.com> The last thing in each listing is the actual name of the kernel module. (if required)
[gentoo-user] Re: nfs failing to start
Harry Putnam writes: > I've apparently forgotten whatever little I may have know about > setting up nfs from having used it long ago. [...] > After setting all nfs related kernel items and booting the kernel. > Checking that mods appears to be installed and running. Making sure > portmapper is running. > > Then when I try to start nfs service if it fails. > > Producing these messages in syslogd: > Jan [...] nfsd[29077]: nfssvc: Protocol not supported > Jan [...' : RPC: failed to contact local rpcbind server (errno 5). [...] > kernel: > # grep 'NFS\|RPC' .config > > # CONFIG_AF_RXRPC is not set > CONFIG_NFS_FS=m > CONFIG_NFS_V3=y > CONFIG_NFS_V3_ACL=y > CONFIG_NFS_V4=y > CONFIG_NFSD=m > CONFIG_NFSD_V2_ACL=y > CONFIG_NFSD_V3=y > CONFIG_NFSD_V3_ACL=y > CONFIG_NFSD_V4=y > CONFIG_NFS_ACL_SUPPORT=m > CONFIG_NFS_COMMON=y > CONFIG_SUNRPC=m > CONFIG_SUNRPC_GSS=m > CONFIG_SUNRPC_REGISTER_V4=y > CONFIG_RPCSEC_GSS_KRB5=m > # CONFIG_RPCSEC_GSS_SPKM3 is not set [...] Answering my own question for the sake of any searches for nfs here It appears I've compiled too many versions of rpc stuff, and maybe nfs too. Anyway commenting out all reference in the above list to version 4 of either nfs or rpc items... recompile reboot. nfs starts nicely as expected.
Re: [gentoo-user] Postfix and Domainkeys
> On 12.01.2009 17:33, Jason Carson wrote: > [...] >> I don't understand what this part below means... >> >> Make sure you add these parameters to your dk-filter command line: >> -b sv -d your-domain.com -H -s /etc/mail/dk-filter/default.private >> -S default >> >> I tried the following two commands with no luck >> >> dk-filter -b sv -d jasoncarson.ca -H -s >> /etc/mail/dk-filter/default.private -S default >> >> ...and... >> >> /etc/init.d/dk-filter -b sv -d jasoncarson.ca -H -s >> /etc/mail/dk-filter/default.private -S default >> >> ...any other suggestions or am I doing something wrong? > > It's been awhile but: > > Make the necessary changes: > vi /etc/mail/dk-filter/dk-filter.conf > > and start the milter: > /etc/init.d/dk-filter start > > -- > Eray ok, the file is /usr/portage/mail-filter/dk-milter/files/dk-filter.conf or /etc/conf.d/dk-filter (they both look the same when you open them up)so I modified /etc/conf.d/dk-filter and started the milter but Postfix still isn't signing emails. The only two options I was told to add to the postfix main.cf file was... smtpd_milters = unix:/var/run/dk-filter/dk-filter.sock non_smtpd_milters = unix:/var/run/dk-filter/dk-filter.sock
[gentoo-user] madwifi "Stuck beacon" causes mpd to skip
Whenever I get the following message in dmesg: wifi0: ath_bstuck_tasklet: Stuck beacon; resetting (beacon miss count: 11) the music playing on mpd skips. Does anyone know more about this? - Grant
Re: [gentoo-user] after installing and running Xorg, my LCD colors in text mode are all wrong
Willie Wong ha scritto: > On Mon, Jan 12, 2009 at 01:42:22PM -0500, Denis wrote: >> I just installed Xorg on the older Dell machine, for which I have a >> 17-inch Sony LCD screen. Before I did anything with X, my screen >> colors were just like I'm used to. Now, I fired up X, got it to work >> fine, and the colors are fine, but then I kill X and go back to text >> mode, and the colors in text mode are all wrong, like I'm using a >> dying CRT that's not firing right. I go back to X, and the colors are >> fine again. Back to text mode - same deal. Is X setting some >> variable wrong when it shuts off, or do I need to tweak something? >> Using manual controls on the LCD menu don't help at all. Anyone run >> into this before and might know what to do about this? > > Maybe the video card? > > I had something similar to this happening on my desktop with an old > nvidia card. Throughout the years, shutting down X may give one of the > following: > > a) business as usual, nothing wrong. > b) the computer thinking the screen is bigger than it actually is: > the upper left corner is okay, but the 3 right most columns and the > bottom row (of my 80x25 text display) is off the screen. The text is a > bit bigger than it ought to be. > c) blank screen. The computer still responds: I can "type" xinit > without seeing anything and get back into an X session. Just nothing > is displayed on the screen. > d) funky colors on the screen, which may also accompany b). > > I never did figure out what is wrong. The behaviour is transient: if I > just start X again, and then shut-off, it not always give the same > problem. I suspect it is the video card because I remember noting that > it behaved better after a certain version of nVidia driver. But I > can't be certain because the bug is awfully un-reproducible. > > This probably doesn't help much... but I just want to throw in my two > cents. Could it be funny stuff remaining in the video card memory? I've seen such eerie things happen in some occasions, with ATI cards. I also remember that old cards had the habit of displaying a "ghost" of the last X desktop, for a fraction of a second, just when X starts. I think it can only be driver and/or X fault. m.
Re: [gentoo-user] non-PHP webmail in portage?
Does anyone know of a good (or OK) webmail client in portage that doesn't use PHP? I use squirrelmail now but I have PHP installed only for that and I think PHP slows apache2 down a bit. - Grant >>> I don't think you'll find anything faster except maybe written in C, >>> which >>> is doubtful. The only other language you might find webmail written in is >>> Perl/CGI and that is definitely not faster in my experience. PHP is about >>> as >>> good as you will get IMHO. >> >> I actually don't mean to speed up squirrelmail and PHP. The main >> function of that system is to run a website in perl, and I thought I >> might be bogging down apache2 a bit just by opening it up to PHP >> interpretation (-D PHP). Is that the case? It would also be nice not >> to be exposed to PHP exploits. It just seems kind of silly to >> maintain and run PHP just for webmail. >> >> - Grant >> > >Adding -D PHP makes your memory footprint larger, but unless you're > actually using PHP that's the only side affect of loading it. If you're Maybe PHP isn't so bad then. > concerned about security, make sure you're using the sushosin USE variable > and keeping PHP and Squirrelmail up to date. Regardless of which language or > mail package you use you're going to have to keep them updated. A daily 'emerge --sync && emerge -avDuN world' is on my list of favorite things to do. >One other thing to think about is whether or not finding a Perl > webmail system is going to make your life any easier. Say you do find one > and it installs a ton of Perl modules like all Perl applications. Some of > those will be updates of Perl modules that your actual site depends on which > may or may not break the site. Now you've got two applications to QA when > you update any Perl module that is a dependency of both. > > kashani Thanks for the advice and it sounds like running PHP isn't so bad after all. - Grant
Re: [gentoo-user] Postfix and Domainkeys
On 12.01.2009 17:33, Jason Carson wrote: [...] > I don't understand what this part below means... > > Make sure you add these parameters to your dk-filter command line: > -b sv -d your-domain.com -H -s /etc/mail/dk-filter/default.private > -S default > > I tried the following two commands with no luck > > dk-filter -b sv -d jasoncarson.ca -H -s > /etc/mail/dk-filter/default.private -S default > > ...and... > > /etc/init.d/dk-filter -b sv -d jasoncarson.ca -H -s > /etc/mail/dk-filter/default.private -S default > > ...any other suggestions or am I doing something wrong? It's been awhile but: Make the necessary changes: vi /etc/mail/dk-filter/dk-filter.conf and start the milter: /etc/init.d/dk-filter start -- Eray
Re: [gentoo-user] Network printing
Norman Rieß schrieb: > When i am home from work i will be able to provide some screenshots to > make things clearer. > > Regards > Norman > > > So here is the screenshot. http://www.smash-net.org/bilder/cups.png Notice: loki is the client and asgard is the server connected to the printer. The upper left shell shows the configuration cupsd.conf on the _server_. You see the "Allow " statements in the "Location"-tags. These statements configure which IP's shall be allowed to print and browse the configuration-webpage. In the browser you see the webpage on the server. I am sorry it is in german, but i guess you will get the point. You see the printer connected and configured there. That is all on the serverside. Bottom left you see a cat of the client.conf with its only statement, the cupsserver. You do _not_ configure printers here! You see the lpstat sees the printer on the server. And you see the gedit printingdialog sees the printer. Norman
Re: [gentoo-user] after installing and running Xorg, my LCD colors in text mode are all wrong
That certainly is of interest - I never had this happen before, and I always used nvidia cards (when possible). This one is an older Dell with Radeon 7500 in it... Maybe it's a sign that it's dying or something. Or maybe it's something else entirely.
Re: [gentoo-user] after installing and running Xorg, my LCD colors in text mode are all wrong
On Mon, Jan 12, 2009 at 01:42:22PM -0500, Denis wrote: > I just installed Xorg on the older Dell machine, for which I have a > 17-inch Sony LCD screen. Before I did anything with X, my screen > colors were just like I'm used to. Now, I fired up X, got it to work > fine, and the colors are fine, but then I kill X and go back to text > mode, and the colors in text mode are all wrong, like I'm using a > dying CRT that's not firing right. I go back to X, and the colors are > fine again. Back to text mode - same deal. Is X setting some > variable wrong when it shuts off, or do I need to tweak something? > Using manual controls on the LCD menu don't help at all. Anyone run > into this before and might know what to do about this? Maybe the video card? I had something similar to this happening on my desktop with an old nvidia card. Throughout the years, shutting down X may give one of the following: a) business as usual, nothing wrong. b) the computer thinking the screen is bigger than it actually is: the upper left corner is okay, but the 3 right most columns and the bottom row (of my 80x25 text display) is off the screen. The text is a bit bigger than it ought to be. c) blank screen. The computer still responds: I can "type" xinit without seeing anything and get back into an X session. Just nothing is displayed on the screen. d) funky colors on the screen, which may also accompany b). I never did figure out what is wrong. The behaviour is transient: if I just start X again, and then shut-off, it not always give the same problem. I suspect it is the video card because I remember noting that it behaved better after a certain version of nVidia driver. But I can't be certain because the bug is awfully un-reproducible. This probably doesn't help much... but I just want to throw in my two cents. W -- Willie W. Wong ww...@math.princeton.edu 408 Fine Hall, Department of Mathematics, Princeton University, Princeton A mathematician's reputation rests on the number of bad proofs he has given.
[gentoo-user] after installing and running Xorg, my LCD colors in text mode are all wrong
Hello again, I just installed Xorg on the older Dell machine, for which I have a 17-inch Sony LCD screen. Before I did anything with X, my screen colors were just like I'm used to. Now, I fired up X, got it to work fine, and the colors are fine, but then I kill X and go back to text mode, and the colors in text mode are all wrong, like I'm using a dying CRT that's not firing right. I go back to X, and the colors are fine again. Back to text mode - same deal. Is X setting some variable wrong when it shuts off, or do I need to tweak something? Using manual controls on the LCD menu don't help at all. Anyone run into this before and might know what to do about this? Thanks, Denis
Re: [gentoo-user] tif libraries being ignored
Ted Miller wrote: > Dale wrote: >> Ted Miller wrote: >> > Yes, I missed that, and it did the trick (after re-emerging 11 >> > packages, including kde-libs). >> > >> > Where was it hidden, that I missed it? Or is it just one of those >> > things "you have to learn"? Seems like the tif package should add it, >> > or tell me to consider adding it, when the package is installed. >> >> >> Since you are new to Gentoo, use the -v and either -a or -p first. > What command do I use those with -- emerge, euse? So far I learned > about flags with equery. > > Ted Miller That would be emerge. Sorry. Should have been more clear on that. Should look something like this: r...@smoker / # emerge -pv gimp These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-gfx/gimp-2.4.6 USE="alsa curl dbus exif hal mmx pdf png python sse svg tiff wmf -aalib (-altivec) -debug -doc -gnome -gtkhtml -lcms -mng -smp" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB r...@smoker / # You may want to consider using a profile that is most closely to what you are doing. I think eselect is what most folks use to set theirs. I do mine manually but may as well learn the right way while you are learning. There are a few of them but desktop may be the one you want. It has a lot of USE flags already enabled. Dale :-) :-)
Re: [gentoo-user] Permissions of files in /sys/
On Fri, Jan 09, 2009 at 05:28:40PM +0100, Andrea Momesso wrote: > On Wed, Jan 7, 2009 at 9:47 PM, Paul Hartman > wrote: > > On Wed, Jan 7, 2009 at 8:29 AM, Momesso Andrea > > wrote: > >> I'd like to make the file /sys/class/backlight/asus-laptop/brightness > >> writeable for users, so that I don't need to be root anymore to change > >> the brightness. > >> > >> Of course I can chown or chmod ot in local.start but I'm asking if there > >> is a cleaner way. > > > > I guess you need to use udevinfo to get the important information > > about /sys/class/backlight/asus-laptop/brightness and then write up a > > rule, slap it into a file in /etc/udev/rules.d/ and enjoy your new > > permissions. :) I don't have that device on my system so I can't > > really suggest anything more specific. > > > > Here's a udev rules HOWTO that might help: > > > > http://www.reactivated.net/writing_udev_rules.html > > > > (specifically "Controlling permissions and ownership") > > > > Good luck :) > > Paul > > > > > > It looks like I cannot simply write a rule to change that permission... > After experiencing some failures I guess that udev rules can change > permissions on /dev/ files, but not on /sys/ files... > > This is my case: > > # udevadm info -a -p /sys/class/backlight/asus-laptop/ > > looking at device '/class/backlight/asus-laptop': > KERNEL=="asus-laptop" > SUBSYSTEM=="backlight" > DRIVER=="" > ATTR{bl_power}=="0" > ATTR{brightness}=="5" > ATTR{actual_brightness}=="5" > ATTR{max_brightness}=="15" > > And this is the rule I added in /etc/udev/rules.d/10-local.rules > > KERNEL=="asus-laptop", SUBSYSTEM=="backlight", GROUP="video", MODE="0660" > > After a reboot I still get this: > > # ls -la /sys/class/backlight/asus-laptop > total 0 > drwxr-xr-x 3 root root0 2009-01-09 15:18 . > drwxr-xr-x 3 root root0 2009-01-09 15:18 .. > -r--r--r-- 1 root root 4096 2009-01-09 15:18 actual_brightness > -rw-r--r-- 1 root root 4096 2009-01-09 15:19 bl_power > -rw-r--r-- 1 root root 4096 2009-01-09 17:02 brightness > -r--r--r-- 1 root root 4096 2009-01-09 15:18 max_brightness > drwxr-xr-x 2 root root0 2009-01-09 15:19 power > lrwxrwxrwx 1 root root0 2009-01-09 15:18 subsystem -> ../../backlight > -rw-r--r-- 1 root root 4096 2009-01-09 15:18 uevent > > Googling a bit I found some solutions [1] [2], but all of them are > changing the permissions at every > boot. It works, but it looks to me a bit unclean... > [1] > http://wiki.laptop.org/go/Xfce_keybindings#Adjust_screen_brightness_buttons > [2] http://www.thinkwiki.org/wiki/Automatically_reduce_brightness > Hmmm... Having not recived any answers might mean that my suspects are right and there is no way to create an udev rule for my scope. I think I will have to change those permissions manually at boot time Thanks anyway for help -- Momesso (TopperH) Andrea http://topperh.blogspot.com Jabber: topper_har...@jabber.org ICQ: 224179391 pgpxMdXZBC8Ui.pgp Description: PGP signature
Re: [gentoo-user] how to extract driver info from genkernel
> You can use the "lspci" command, its in the pciutils package (if I'm > not mistaken) to get your system hardware information. Just like magic :-) Thank you so much! Denis
Re: [gentoo-user] Postfix and Domainkeys
> On 12.01.2009 00:13, Jason Carson wrote: >> Greetings, >> >> I am trying to setup postfix with domainkeys. I installed dk-milter and >> ran the following as I was told to do after emerging it ... > > DomainKeys is deprecated and is replaced by DKIM. You are much better > off using mail-filter/dkim-milter. If you are using amavisd-new with > your postfix, I suggest you use amavisd-new to check and sign your mail > and do not use milters at all. > > [...] >> * After you configured your MTA, publish your key by adding this TXT >> record to your domain: >> * default._domainkey IN TXT "g=; k=rsa; t=y; o=~; p=keygoeshere" >> >> * t=y signifies you only test the DK on your domain. >> * See the DomainKeys specification for more info. >> >> but I don't understand what this part mean... I don't understand what this part below means... Make sure you add these parameters to your dk-filter command line: -b sv -d your-domain.com -H -s /etc/mail/dk-filter/default.private -S default I tried the following two commands with no luck dk-filter -b sv -d jasoncarson.ca -H -s /etc/mail/dk-filter/default.private -S default ...and... /etc/init.d/dk-filter -b sv -d jasoncarson.ca -H -s /etc/mail/dk-filter/default.private -S default ...any other suggestions or am I doing something wrong? > http://www.dkim.org/ > http://en.wikipedia.org/wiki/DomainKeys > http://www.ijs.si/software/amavisd/amavisd-new-docs.html#dkim > http://www.postfix.org/MILTER_README.html Thanks for the links, I will check them out.
Re: [gentoo-user] how to extract driver info from genkernel
On Mon, Jan 12, 2009 at 13:08, Denis wrote: > Hello, > > This will probably sound simplistic to most... I'm setting up an > older Dell PC, and I used genkernel to get it up and running, but how > do I figure out which drivers I actually need without knowing for sure > which hardware I have in the machine? Genkernel loads a lot of > drivers, and the kernel takes a very long time to compile - I > understand why, and I'm not complaining about that. But suppose I now > wanted to set up the X server, and I don't know which graphics driver > I need to choose. Or, suppose I wanted to compile the kernel myself, > and I don't really know which drivers I *must* select (since I don't > know which chips the machine has). Does anyone have any tips on this? > You can use the "lspci" command, its in the pciutils package (if I'm not mistaken) to get your system hardware information. If you use it with the "-v" flag it will tell you the driver the kernel is using for it. -- Daniel da Veiga
[gentoo-user] how to extract driver info from genkernel
Hello, This will probably sound simplistic to most... I'm setting up an older Dell PC, and I used genkernel to get it up and running, but how do I figure out which drivers I actually need without knowing for sure which hardware I have in the machine? Genkernel loads a lot of drivers, and the kernel takes a very long time to compile - I understand why, and I'm not complaining about that. But suppose I now wanted to set up the X server, and I don't know which graphics driver I need to choose. Or, suppose I wanted to compile the kernel myself, and I don't really know which drivers I *must* select (since I don't know which chips the machine has). Does anyone have any tips on this? Many thanks, Denis
Re: [gentoo-user] Network printing
- Original Message From: Peter Humphrey To: gentoo-user@lists.gentoo.org Sent: Monday, January 12, 2009 5:44:52 AM Subject: Re: [gentoo-user] Network printing > On Saturday 10 January 2009 12:56:29 Norman Rieß wrote: > > You say you configured both printers on one server with CUPS-Webpage. I > > assume this works and you can print a testpage with the Webpage. > > Then you wrote "ServerName yourserver" in /etc/cups/client.conf . You > > can now choose both printers in the applicationspecific printmenus, > > right? > > Are you telling me that the printers the server knows of should appear in > the client's cups web page automatically? That certainly doesn't happen, > which is why I've been trying to tell the client where to find its > printers. No. He's refering to the dialog that pops up when you go File->Print in a program, like OpenOffice Writer. > > If this is the case and it still does not work, please provide some > > logentries. > > This looks important (trimming time & date etc.): > cupsdAcceptClient: 8 from 192.168.2.6:631 (IPv4) > cupsdReadClient: 8 POST / HTTP/1.1 > cupsdAuthorize: No authentication data provided. > cupsdSendError: 8 code=403 (Forbidden) > cupsdCloseClient: 8 > > (The log is taken from the server after running lpstat -a on the client; the > IPv4 address shown is the client.) > What kind of authentication data does that mean? User ID confirmation? SSH > keys? As far as I know I haven't done anything particular to SSH or SSL. The > Gentoo printing guide doesn't mention gnutls or ldap, so I haven't set them > up, or even installed them. You need to check the CUPS configuration on the server. By default, it only allows localhost to access it under the Browse directive. Example: http://www.linuxprinting.org/~till/printing-tutorial/tut.html#1_3_1 You need to have a line like: BrowseAllow 192.168.* or BrowseAllow @LOCAL I prefer the first method myself. Info from the URL: ""BrowseAdress" tells to which CUPS clients information about the queues on your machine is broadcasted. "@LOCAL" means all local networks, but not PPP, or dialed connections, so you printers will not get broadcasted into the internet and no costly dial-on-demand connections will be triggered. Yo can also specify an address range ("192.168.100.*") or several "BrowseAddress" lines with address ranges or even the IP addresses of single machines." This acts as the authentication agent. Typically, if you can see the web page from the machine, then you can also use the printer. If that is not the case, then there may be some other authentication agent in place, and I would highly recommend contacting the CUPS people. Ben
[gentoo-user] Re: tif libraries being ignored
In <496b3d63.3040...@yahoo.com>, Ted Miller wrote: > As a new user, what I need to know is: How do I find out that there > is such a thing as a 'tiff' flag? I could just as easily have > checked for a 'tif' flag, and not known that it was 'tiff'. Nothing > told me that installing the library didn't do anything until I set > the related flag. There are use flag editors which will display entire list of flags (along with their descriptions) and let you select or deselect the ones you want. I use ufed, but there are some others in portage. One approach is to go through the list once (there are a lot of them) and at least select the ones you're sure you want. Then if ever some feature you wanted doesn't seem to be in place for a package, check its use flags. -- »Q« Kleeneness is next to Gödelness.
Re: [gentoo-user] tif libraries being ignored
Shawn Haggett wrote: On Mon, 12 Jan 2009 02:59:47 pm Ted Miller wrote: Dale wrote: Ted Miller wrote: [snip] Things work pretty well EXCEPT that the KDE based applications cannot handle *.tif files. I have the media-libs/tiff package emerged, but for some reason the KDE subsystem does not seem to be using it. I have run emerge --update --deep --newuse world revdep-rebuild with no improvement Any insight into what I need to do to get this working will be greatly appreciated. Please be explicit (or include links to documentation) if I have to do anything unusual, but I will be glad to send any needed information to help you diagnose my problem. Ted Miller Indiana, USA I would assume you have tiff in your USE line in make.conf? [snip] Just in case you missed that little detail. ;-) Yes, I missed that, and it did the trick (after re-emerging 11 packages, including kde-libs). Where was it hidden, that I missed it? Or is it just one of those things "you have to learn"? Seems like the tif package should add it, or tell me to consider adding it, when the package is installed. Ted Miller Have a look at the documentation about USE flags. It's part of the Gentoo Handbook, in the section about working with Gentoo: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2 I found that, and think I understand how it works, having had to put in several flags to get things working already. However, most of what I have done so far has been in response to messages like (roughly): "Sorry, I can't compile Package A unless Package B is compiled with the XYZ flag. Please set flag, recompile B, then recompile A." Because you had the tiff flag turned off, Gentoo assumed you didn't want all those packages on your system to be linked against the tiff libraries (for whatever various reason). Therefore even though you installed the libraries, the packages themselves hadn't linked against them. As a new user, what I need to know is: How do I find out that there is such a thing as a 'tiff' flag? I could just as easily have checked for a 'tif' flag, and not known that it was 'tiff'. Nothing told me that installing the library didn't do anything until I set the related flag. Seems like either: 1. The library should set the flag itself (which not everyone wants to happen, as they may only want it for one package, not all) or 2. There should be a message after the emerge, kind of like the one that says (roughly) "You have 3 configuration files in /etc which need attention" or 3. There should be a list somewhere that is automatically maintained that says something like: "You have installed packages related to these flags. To get full benefit from these packages, consider adding these flags to either make.conf or to the make instructions for individual packages", and then list all the flags, maybe one package to a line, with that package's flags listed on the line after that package name, kind of like qt-3: qt3 qt-4: qt4 You might want to check your use flags for other media related flags, depending on which file formats you'll be using (off the top of my head there are a couple of flags for various picture formats). Currently my make.conf contains: USE="-gtk -gnome qt3 qt4 kde dvd alsa cdr hal exif -ipv6 X samba openexr tiff", but I wonder what else is missing, and how do I find out? I just ran 'equery uses gimp' and find flags like dbus lcms mmx mng pdf png sse svg and wmf that MAYBE I should set. And how do I figure out which are gimp-only and which are widely used flags, and exactly what they do, without running 'equery hasuse dbus' for each flag on that list? slightly confused, Ted Miller Shawn
Re: [gentoo-user] tif libraries being ignored
Dale wrote: Ted Miller wrote: > Yes, I missed that, and it did the trick (after re-emerging 11 > packages, including kde-libs). > > Where was it hidden, that I missed it? Or is it just one of those > things "you have to learn"? Seems like the tif package should add it, > or tell me to consider adding it, when the package is installed. Since you are new to Gentoo, use the -v and either -a or -p first. What command do I use those with -- emerge, euse? So far I learned about flags with equery. Ted Miller It will show you what USE flags it will build with because of the -v. If you are not sure what they are, just do a euse -i and see what it says. Some make sense but some don't. I'm sure it is documented somewhere but I have just learned the steps in doing things over the years. Most of them the hard way but learned them still. Glad you got it working tho. It was all I could think of that would keep it from it. Dale :-) :-)
Re: [gentoo-user] Network printing
Peter Humphrey schrieb: > Are you telling me that the printers the server knows of should appear in > the client's cups web page automatically? That certainly doesn't happen, > which is why I've been trying to tell the client where to find its > printers. > > No the webpage only runs on the server which is connected to the printers. On that page, you should be able to see all printers connected to that server. If not, then you have to add them. The only thing you have to tell the clients is the name of your server the printers are connected to in the client.conf file. The applications on the client should see all printers on the server automatically then. The cupsd doesn't even need to be started on the clients. > This looks important (trimming time & date etc.): > cupsdAcceptClient: 8 from 192.168.2.6:631 (IPv4) > cupsdReadClient: 8 POST / HTTP/1.1 > cupsdAuthorize: No authentication data provided. > cupsdSendError: 8 code=403 (Forbidden) > cupsdCloseClient: 8 > > (The log is taken from the server after running lpstat -a on the client; the > IPv4 address shown is the client.) > > What kind of authentication data does that mean? User ID confirmation? SSH > keys? As far as I know I haven't done anything particular to SSH or SSL. The > Gentoo printing guide doesn't mention gnutls or ldap, so I haven't set them > up, or even installed them. > > I assume the printers are not configured correctly on the server. When i am home from work i will be able to provide some screenshots to make things clearer. Regards Norman
Re: [gentoo-user] Network printing
On Saturday 10 January 2009 12:56:29 Norman Rieß wrote: > You say you configured both printers on one server with CUPS-Webpage. I > assume this works and you can print a testpage with the Webpage. > Then you wrote "ServerName yourserver" in /etc/cups/client.conf . You > can now choose both printers in the applicationspecific printmenus, > right? Are you telling me that the printers the server knows of should appear in the client's cups web page automatically? That certainly doesn't happen, which is why I've been trying to tell the client where to find its printers. > If this is the case and it still does not work, please provide some > logentries. This looks important (trimming time & date etc.): cupsdAcceptClient: 8 from 192.168.2.6:631 (IPv4) cupsdReadClient: 8 POST / HTTP/1.1 cupsdAuthorize: No authentication data provided. cupsdSendError: 8 code=403 (Forbidden) cupsdCloseClient: 8 (The log is taken from the server after running lpstat -a on the client; the IPv4 address shown is the client.) What kind of authentication data does that mean? User ID confirmation? SSH keys? As far as I know I haven't done anything particular to SSH or SSL. The Gentoo printing guide doesn't mention gnutls or ldap, so I haven't set them up, or even installed them. > As one who uses linux for 15 years you should know that cups != linux. Indeed. Perhaps I should withdraw that remark - it shows just what depth of frustration can build up over a period of several months of repeated failure in a straightforward task. -- Rgds Peter
Re: [gentoo-user] Postfix and Domainkeys
On 12.01.2009 00:13, Jason Carson wrote: > Greetings, > > I am trying to setup postfix with domainkeys. I installed dk-milter and > ran the following as I was told to do after emerging it ... DomainKeys is deprecated and is replaced by DKIM. You are much better off using mail-filter/dkim-milter. If you are using amavisd-new with your postfix, I suggest you use amavisd-new to check and sign your mail and do not use milters at all. [...] > * After you configured your MTA, publish your key by adding this TXT > record to your domain: > * default._domainkey IN TXT "g=; k=rsa; t=y; o=~; p=keygoeshere" > > * t=y signifies you only test the DK on your domain. > * See the DomainKeys specification for more info. > > but I don't understand what this part mean... You need to publish your public key in your DNS server so that others can check your signature. > * Make sure you add these parameters to your dk-filter command line: > * -b sv -d your-domain.com -H -s /etc/mail/dk-filter/default.private -S > default > > ...Anyone know what to do? You need to read up on DKIM (or domainkeys if you want to go that way). Links below should get you started: http://www.dkim.org/ http://en.wikipedia.org/wiki/DomainKeys http://www.ijs.si/software/amavisd/amavisd-new-docs.html#dkim http://www.postfix.org/MILTER_README.html -- Eray