Re: [gentoo-user] silly daylight saving
On Wed, Feb 17, 2010 at 6:55 PM, Alex Schuster wrote: > Enrico Weigelt writes: > > > Neil Bothwick wrote: > > > What with their greenhouse gas emissions and insistence on their > > > farmers working at unearthly hours, those cows have a lot to answer > > > for. When are they going to start considering the environment? > > > > What frakk'in greenhouse gases ? Is anyone stupid enough to still > > believe in that synthetic religion of men-made-global-warming ? > > I am stupid enough. > >Wonko > > ++me The only open question seems to be whether we can do much about it. -- Kevin O'Gorman, PhD
[gentoo-user] KDE? Get me out of here!
I've been using KDE for a long time, for reasons that are no longer important to me. I have remained out of pure inertia. I use gnome happily at work, both on Fedora and Ubuntu. All I need from any of them is a panel with some favorites, and a pager for multiple desktops. I spend most of my time in vim, in the C program and documentation toolchains or in a browser. The reason I bring this up is that my account just froze on me from running out of disk space. A little research showed that an odd-sounding thing called nepomuk was using 7.2 G (SEVEN GIGS) in some dotfiles. It turns out to be a KDE client - whatever that is. I've got a lot of space here and there, but my /home partition was never near full before. I'd like to just nuke nepomuk, but fear the consequences. I'm seriously entertaining ideas about a more efficient way to run my Gentoo system, although I'll probably keep kdelibs because I like a few of their games. Similarly for gnome. But I wonder what I should do about the rest. Ideas? -- Kevin O'Gorman, PhD
Re: [gentoo-user] KDE? Get me out of here!
On Tue, Feb 23, 2010 at 6:36 PM, Volker Armin Hemmann < volkerar...@googlemail.com> wrote: > On Mittwoch 24 Februar 2010, Kevin O'Gorman wrote: > > I've been using KDE for a long time, for reasons that are no longer > > important to me. I have remained out of pure inertia. > > I use gnome happily at work, both on Fedora and Ubuntu. All I need from > > any of them is a panel with some favorites, and a pager for multiple > > desktops. I spend most of my time in vim, in the C program and > > documentation toolchains or in a browser. > > > > The reason I bring this up is that my account just froze on me from > running > > out of disk space. A little research showed that an odd-sounding thing > > called nepomuk was using 7.2 G (SEVEN GIGS) in some dotfiles. It turns > out > > to be a KDE client - whatever that is. I've got a lot of space here and > > there, but my /home partition was never near full before. > > > > I'd like to just nuke nepomuk, but fear the consequences. I'm seriously > > entertaining ideas about a more efficient way to run my Gentoo system, > > although I'll probably keep kdelibs because I like a few of their games. > > Similarly for gnome. But I wonder what I should do about the rest. > > > > Ideas? > > just deactivate it. > > But one thing surprises me - I have 400gb of data in /home. And nepomuk > just > needs 600mb... > > Okay, but I don't really know what it is, let alone how to deactivate it. I'll search around. Thanks. -- Kevin O'Gorman, PhD
Re: [gentoo-user] KDE? Get me out of here!
On Tue, Feb 23, 2010 at 9:41 PM, ubiquitous1980 wrote: > Kevin O'Gorman wrote: > > > > > > On Tue, Feb 23, 2010 at 6:36 PM, Volker Armin Hemmann > > mailto:volkerar...@googlemail.com>> wrote: > > > > On Mittwoch 24 Februar 2010, Kevin O'Gorman wrote: > > > I've been using KDE for a long time, for reasons that are no longer > > > important to me. I have remained out of pure inertia. > > > I use gnome happily at work, both on Fedora and Ubuntu. All I > > need from > > > any of them is a panel with some favorites, and a pager for > multiple > > > desktops. I spend most of my time in vim, in the C program and > > > documentation toolchains or in a browser. > > > > > > The reason I bring this up is that my account just froze on me > > from running > > > out of disk space. A little research showed that an > > odd-sounding thing > > > called nepomuk was using 7.2 G (SEVEN GIGS) in some dotfiles. > > It turns out > > > to be a KDE client - whatever that is. I've got a lot of space > > here and > > > there, but my /home partition was never near full before. > > > > > > I'd like to just nuke nepomuk, but fear the consequences. I'm > > seriously > > > entertaining ideas about a more efficient way to run my Gentoo > > system, > > > although I'll probably keep kdelibs because I like a few of > > their games. > > > Similarly for gnome. But I wonder what I should do about the rest. > > > > > > Ideas? > > > > just deactivate it. > > > > But one thing surprises me - I have 400gb of data in /home. And > > nepomuk just > > needs 600mb... > > > > Okay, but I don't really know what it is, let alone how to deactivate > > it. I'll search around. > > > > Thanks. > > > > > > -- > > Kevin O'Gorman, PhD > > > Kevin > > To deactivate it: > > System Settings > Desktop Search > [De-select] Enable Nepomuk Semantic > Desktop > > In my case, on the same page, I disabled Strigi also. > > Damien Sticklen > > Thanks. My having research work with a few hundred thousand small files and a couple of terrabytes of storage and backups could account for the size. Some occasional sluggishness too. It makes no sense to index any of this, so ditching it feels good. For anyone else in the same boat, I would amend the instructions thus: System Settings > Advanced > Desktop Search > [De-select] Enable Nepomuk Semantic Desktop Again, thanks. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: KDE? Get me out of here!
On Wed, Feb 24, 2010 at 8:59 AM, Nikos Chantziaras wrote: > On 02/24/2010 06:43 PM, Mike Edenfield wrote: > >> On 2/24/2010 8:41 AM, Zeerak Mustafa Waseem wrote: >> >>> On Wed, Feb 24, 2010 at 03:38:09PM +0200, Nikos Chantziaras wrote: >>> >>>> On 02/24/2010 04:27 AM, Kevin O'Gorman wrote: >>>> >>>>> I've been using KDE for a long time, for reasons that are no longer >>>>> important to me. I have remained out of pure inertia. >>>>> I use gnome happily at work, both on Fedora and Ubuntu. All I need >>>>> from >>>>> any of them is a panel with some favorites, and a pager for multiple >>>>> desktops. >>>>> I spend most of my time in vim, in the C program and documentation >>>>> toolchains or in a browser. >>>>> >>>>> The reason I bring this up is that my account just froze on me from >>>>> running out of disk space. A little research showed that an >>>>> odd-sounding thing called nepomuk was using 7.2 G (SEVEN GIGS) in some >>>>> dotfiles. It turns out to be a KDE client - whatever that is. I've >>>>> got >>>>> a lot of space here and there, but my /home partition was never near >>>>> full before. >>>>> >>>> >>>> Put "-semantic-desktop" in your make.conf. emerge -auDN world. emerge >>>> -a --depclean. That should do it. >>>> >>>> >>>> >>> Is that even possible? Won't a number of KDE apps demand the >>> semantic-desktop use flag set? >>> >>> >> For KDE 4.4, +semantic-desktop is mandatory, though you can still turn >> off the services after installing them. >> >> Honestly, for what the OP appears to need out of a desktop environment, >> he'd be more than happy with Xfce or something and save a ton of disk >> space. >> > > How do you know what he needs? He probably wants KDE but without the whole > "Semantic Desktop" thingy. > > > Bingo! I'm OP, and kind of like the KDE look, and I'm used to where things are (except for the new K menu which I'm slowly adapting to). I know how to find things already, but indexing my gigabytes of game records is just silly. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: KDE? Get me out of here!
On Wed, Feb 24, 2010 at 8:17 PM, Kevin O'Gorman wrote: > > > On Wed, Feb 24, 2010 at 8:59 AM, Nikos Chantziaras wrote: > >> On 02/24/2010 06:43 PM, Mike Edenfield wrote: >> >>> On 2/24/2010 8:41 AM, Zeerak Mustafa Waseem wrote: >>> >>>> On Wed, Feb 24, 2010 at 03:38:09PM +0200, Nikos Chantziaras wrote: >>>> >>>>> On 02/24/2010 04:27 AM, Kevin O'Gorman wrote: >>>>> >>>>>> I've been using KDE for a long time, for reasons that are no longer >>>>>> important to me. I have remained out of pure inertia. >>>>>> I use gnome happily at work, both on Fedora and Ubuntu. All I need >>>>>> from >>>>>> any of them is a panel with some favorites, and a pager for multiple >>>>>> desktops. >>>>>> I spend most of my time in vim, in the C program and documentation >>>>>> toolchains or in a browser. >>>>>> >>>>>> The reason I bring this up is that my account just froze on me from >>>>>> running out of disk space. A little research showed that an >>>>>> odd-sounding thing called nepomuk was using 7.2 G (SEVEN GIGS) in some >>>>>> dotfiles. It turns out to be a KDE client - whatever that is. I've >>>>>> got >>>>>> a lot of space here and there, but my /home partition was never near >>>>>> full before. >>>>>> >>>>> >>>>> Put "-semantic-desktop" in your make.conf. emerge -auDN world. emerge >>>>> -a --depclean. That should do it. >>>>> >>>>> >>>>> >>>> Is that even possible? Won't a number of KDE apps demand the >>>> semantic-desktop use flag set? >>>> >>>> >>> For KDE 4.4, +semantic-desktop is mandatory, though you can still turn >>> off the services after installing them. >>> >>> Honestly, for what the OP appears to need out of a desktop environment, >>> he'd be more than happy with Xfce or something and save a ton of disk >>> space. >>> >> >> How do you know what he needs? He probably wants KDE but without the >> whole "Semantic Desktop" thingy. >> >> >> > Bingo! I'm OP, and kind of like the KDE look, and I'm used to where things > are (except for the new K menu which I'm slowly adapting to). I know how to > find things already, but indexing my gigabytes of game records is just > silly. > > -- > Kevin O'Gorman, PhD > > Oh, and I'll add that I have no use for KMail. My mail is hosted elsewhere in Zimbra, yahoo and gmail, depending on the kind of mail, and I'm satisfied with the UIs that come with those. I access them from a large number of hosts, so don't want POP or similar access that makes local copies. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: KDE4 applications are spamming stderr to death
> > problem on my end. Can you confirm that this happens on your system too? > > Happens here too. My error file is 38M > > -- > alan dot mckinnon at gmail dot com > > > I wanted to make sure first that this isn't some sort of configuration Me++ -- Kevin O'Gorman, PhD
Re: [gentoo-user] i cannot browser if the system is up too long
I get something like this, but just logging off and on again seems to fix it. For me, anyway. it's 2x Xeon, Kde 4 On Thu, Apr 15, 2010 at 4:48 AM, Xi Shen wrote: > hi, > > if you system is up for many days, sometimes i will not be able to > browser web site. but the BT download still works. i can also ping the > web site. i really have no idea how to troubleshoot this. even 'curl' > cannot get the web page. it feels like all tcp connections are > blocked. > > my system is gentoo amd64, kde 4.4. > > > -- > Best Regards, > David Shen > > http://twitter.com/davidshen84/ > > -- Kevin O'Gorman, PhD
[gentoo-user] Gentoo decapitated
About a week ago, my Gentoo box was in a bad state where there were some packages that would not install, so I was carefully emerging what I could and filed a bug about one in particular that I could not emerge. Then I got a new kernel, 2.6.32-gentoo-r7, and I booted from it. Eeeek. No X11 at all. The logs informed me about some things to do, and I did them, re-emerging a number of things. I paid particular attention to emerging anything with x11 or xorg in its name. Long wait. I got to a point somewhere in there where X11 started, but would recognize neither keyboard nor mouse. I kept going. The keyboard started to work. I could actually log in, but that's not all that useful without a mouse. Then I started getting complaints about USE flags needed to make some particular packages support some other packages. I did those too. Now I'm at the state where "emerge -aDNvu" denies there's any work to do, and revdep-rebuild reports health. Still no mouse. Fortunately, I have a laptop that can ssh into the box and I can work with it, but it's still essentially headless. Anybody run into this state recently? If there's a quick fix, I'd rather not make another bug. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Gentoo decapitated
On Mon, May 10, 2010 at 10:12 PM, Kaddeh wrote: > have you tried emergeing x11-drivers/xf86-input-evdev and > x11-drivers/xf86-input-mouse on their own without xorg? > > Cheers > > Kad > > I'm not quite sure what that means. If you mean emerging them while X is down, I had to do that when X would not come up at all, but I'll try again. It will be a while before I have everything backed up the way I want it to be before I try switching to Ubuntu. If you mean something else, please clue me in. ++ kevin
Re: [gentoo-user] Gentoo decapitated
On Tue, May 11, 2010 at 9:28 PM, Kevin O'Gorman wrote: > On Mon, May 10, 2010 at 10:12 PM, Kaddeh wrote: > >> have you tried emergeing x11-drivers/xf86-input-evdev and >> x11-drivers/xf86-input-mouse on their own without xorg? >> >> Cheers >> >> Kad >> >> I'm not quite sure what that means. If you mean emerging them while X is > down, I had to do that when X would not come up at all, > but I'll try again. It will be a while before I have everything backed up > the way I want it to be before I try switching to Ubuntu. > > If you mean something else, please clue me in. > > ++ kevin > > In any event, no joy. It's still mouseless. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Gentoo decapitated
On Wed, May 12, 2010 at 7:56 AM, Dale wrote: > Kevin O'Gorman wrote: > >> About a week ago, my Gentoo box was in a bad state where there were some >> packages that would not install, so I was carefully emerging what I could >> and filed a bug about one in particular that I could not emerge. >> >> Then I got a new kernel, 2.6.32-gentoo-r7, and I booted from it. Eeeek. >> No X11 at all. >> The logs informed me about some things to do, and I did them, re-emerging >> a number of things. I paid particular attention to emerging anything with >> x11 or xorg in its name. >> Long wait. >> I got to a point somewhere in there where X11 started, but would recognize >> neither keyboard nor mouse. >> I kept going. The keyboard started to work. I could actually log in, but >> that's not all that useful without a mouse. >> Then I started getting complaints about USE flags needed to make some >> particular packages support some other packages. I did those too. >> Now I'm at the state where "emerge -aDNvu" denies there's any work to do, >> and revdep-rebuild reports health. >> Still no mouse. >> Fortunately, I have a laptop that can ssh into the box and I can work with >> it, but it's still essentially headless. >> Anybody run into this state recently? >> If there's a quick fix, I'd rather not make another bug. >> -- >> Kevin O'Gorman, PhD >> >> > Have you tried this: > > emerge -1a $(qlist -I -C x11-drivers/) > > I have upgraded my kernel before without rebuilding these but they are > small and only take a few minutes. Your mileage may vary. > > The mouse drivers should be in that list. If not, then something is > missing in your set up. > > Dale > > As I think I explained, I have re-emerged *everything* installed that had "x11" or "xorg" in its name. And the mouse driver was definitely there. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Gentoo decapitated
On Wed, May 12, 2010 at 2:26 PM, Mick wrote: > On Wednesday 12 May 2010 21:21:25 Dale wrote: > > Kevin O'Gorman wrote: > > > On Wed, May 12, 2010 at 7:56 AM, Dale > > <mailto:rdalek1...@gmail.com>> wrote: > > > > > > > Have you tried this: > > > > > > emerge -1a $(qlist -I -C x11-drivers/) > > > > > > I have upgraded my kernel before without rebuilding these but they > > > are small and only take a few minutes. Your mileage may vary. > > > > > > The mouse drivers should be in that list. If not, then something > > > is missing in your set up. > > > > As I think I explained, I have re-emerged *everything* installed that > > > had "x11" or "xorg" in its name. And the mouse driver was definitely > > > there. > > > > That usually works so I'm clueless. I assume the mouse works somewhere > > else? I think you mentioned it working somewhere so I'm out of ideas. > > > Sorry to persist, but the drivers usually have "xf86-*" in their name not > "x11" or "xorg", e.g. xf86-input-evdev. > > (The category of those packages is of course x11-drivers/ ; i.e. x11- > drivers/xf86-input-evdev) > > Other than that could it be a udev issue and some permanent rule for a USB > type of mouse, which you should remove and restart udev? Don't know, just > an > idea. > > I'll try any idea. Where would such a permanent rule reside? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Gentoo decapitated
On Wed, May 12, 2010 at 3:33 PM, Dale wrote: > > > Mine has xf86-* drivers as well. OP, do you have your setting in make.conf > correctly? Mine looks like this: > > INPUT_DEVICES="keyboard mouse evdev" > > I do NOT use hal so your settings may need to be different but you do need > the line tho. > > I have INPUT_DEVICES="evdev", and adding either of the others makes X go back to not starting at all. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Gentoo decapitated
On Sat, May 15, 2010 at 9:58 AM, Dale wrote: > Kevin O'Gorman wrote: > >> On Wed, May 12, 2010 at 2:26 PM, Mick > michaelkintz...@gmail.com>> wrote: >> >>On Wednesday 12 May 2010 21:21:25 Dale wrote: >>> Kevin O'Gorman wrote: >> >> >> > >> > As I think I explained, I have re-emerged *everything* >>installed that >>> > had "x11" or "xorg" in its name. And the mouse driver was >>definitely >>> > there. >>> >>> That usually works so I'm clueless. I assume the mouse works >>somewhere >>> else? I think you mentioned it working somewhere so I'm out of >>ideas. >> >> >>Sorry to persist, but the drivers usually have "xf86-*" in their >>name not >>"x11" or "xorg", e.g. xf86-input-evdev. >> >>(The category of those packages is of course x11-drivers/ ; i.e. x11- >>drivers/xf86-input-evdev) >> >> Yes, so I picked up all of those driver files on account of the x11. >Other than that could it be a udev issue and some permanent rule >>for a USB >>type of mouse, which you should remove and restart udev? Don't >>know, just an >>idea. >> >> There's not much there, and none of it is anything I put there. The files are treat rules.d # wc * 3 12174 10-virtualbox.rules 1 3 44 30-svgalib.rules 149691 8415 55-hpmud.rules 13 41495 56-hpmud_support.rules 26 54 1104 64-device-mapper.rules 1062 5588 136720 70-libgphoto2.rules 23105 1799 70-persistent-cd.rules 10 55490 70-persistent-net.rules 2 9 83 90-hal.rules 1289 6558 149324 total And the word "mouse" does not appear in any of them. I'll do as you suggest -- drop then reemerge udev. > I have been known to back that directory up, delete all the rules and then > re-emerge udev. Sometimes that works, sometimes it doesn't. If you have > rules you made yourself, do back them up first. > > Of course you may be able to check in the rule files and see if there is > something obviously wrong too. > > Dale > > :-) :-) > > -- Kevin O'Gorman, PhD
Re: [gentoo-user] Gentoo decapitated
On Sun, May 16, 2010 at 12:11 AM, Mick wrote: > On Sunday 16 May 2010 02:24:10 Kevin O'Gorman wrote: > > On Wed, May 12, 2010 at 3:33 PM, Dale wrote: > > > Mine has xf86-* drivers as well. OP, do you have your setting in > > > make.conf correctly? Mine looks like this: > > > > > > INPUT_DEVICES="keyboard mouse evdev" > > > > > > I do NOT use hal so your settings may need to be different but you do > > > need the line tho. > > > > > > I have INPUT_DEVICES="evdev", and adding either of the others makes X > go > > > > back to not starting at all. > > That's right, you will also then need to install the appropriate x86 > driver; > e.g. x11-drivers/xf86-input-mouse > > You mean like this, the way it's always been? Or is there something more specific I have to do? treat src # eix x11-drivers/xf86-input-mouse [I] x11-drivers/xf86-input-mouse Available versions: 1.5.0{tbz2} {debug} Installed versions: 1.5.0{tbz2}(09:38:05 PM 05/11/2010)(-debug) Homepage:http://xorg.freedesktop.org/ Description: X.Org driver for mouse input devices treat src # BTW, the most recent boot started X without the mouse working, but these two lines appear in /var/log/Xorg.0.log line 44-47: (==) |-->Input Device "evdev" (==) |-->Input Device "" (==) The core pointer device wasn't specified explicitly in the layout. Using the first mouse device. line 457: (==) MACH64(0): Silken mouse enabled (MACH64 is my video card) (My mouse is a Microsoft optical with a USB cord that I use with a PS/2 adapter and a KVM switch, which works with Live disks. I have no idea what Silken is) These are the only lines with the word "mouse" in them. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Gentoo decapitated
On Sun, May 16, 2010 at 8:43 AM, Kevin O'Gorman wrote: > On Sun, May 16, 2010 at 12:11 AM, Mick wrote: > >> On Sunday 16 May 2010 02:24:10 Kevin O'Gorman wrote: >> > On Wed, May 12, 2010 at 3:33 PM, Dale wrote: >> > > Mine has xf86-* drivers as well. OP, do you have your setting in >> > > make.conf correctly? Mine looks like this: >> > > >> > > INPUT_DEVICES="keyboard mouse evdev" >> > > >> > > I do NOT use hal so your settings may need to be different but you do >> > > need the line tho. >> > > >> > > I have INPUT_DEVICES="evdev", and adding either of the others makes X >> go >> > >> > back to not starting at all. >> >> That's right, you will also then need to install the appropriate x86 >> driver; >> e.g. x11-drivers/xf86-input-mouse >> >> > You mean like this, the way it's always been? Or is there something more > specific I have to do? > treat src # eix x11-drivers/xf86-input-mouse > [I] x11-drivers/xf86-input-mouse > Available versions: 1.5.0{tbz2} {debug} > Installed versions: 1.5.0{tbz2}(09:38:05 PM 05/11/2010)(-debug) > Homepage:http://xorg.freedesktop.org/ > Description: X.Org driver for mouse input devices > > treat src # > > BTW, the most recent boot started X without the mouse working, but these > two lines appear in /var/log/Xorg.0.log > > line 44-47: (==) |-->Input Device "evdev" > (==) |-->Input Device "" > (==) The core pointer device wasn't specified explicitly in the > layout. > Using the first mouse device. > > > line 457: (==) MACH64(0): Silken mouse enabled > > (MACH64 is my video card) > (My mouse is a Microsoft optical with a USB cord that I use with a PS/2 > adapter and a KVM switch, which works with Live disks. I have no idea what > Silken is) > > > These are the only lines with the word "mouse" in them. > > Oh, and one more thing showed up last night. I reemerged udev, and noticed that the ebuild printed a message to the effect that if it doesn't work, I should try emerging hal first. Leaving aside the non-effective language, I tried that and although hal is installed, I can no longer build it. This may turn out to be the most important thing. It turns out I can't compile the latest wireshark either. Maybe something is hosed deep down. It may be time to go down the "emptytree" road again, but it took 2 weeks last time, and was a major PITA. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Gentoo decapitated
On Sun, May 16, 2010 at 9:03 AM, Mick wrote: > On Sunday 16 May 2010 16:43:48 Kevin O'Gorman wrote: > > On Sun, May 16, 2010 at 12:11 AM, Mick > wrote: > > > On Sunday 16 May 2010 02:24:10 Kevin O'Gorman wrote: > > > > On Wed, May 12, 2010 at 3:33 PM, Dale wrote: > > > > > Mine has xf86-* drivers as well. OP, do you have your setting in > > > > > make.conf correctly? Mine looks like this: > > > > > > > > > > INPUT_DEVICES="keyboard mouse evdev" > > > > > > > > > > I do NOT use hal so your settings may need to be different but you > do > > > > > need the line tho. > > > > > > > > > > I have INPUT_DEVICES="evdev", and adding either of the others makes > X > > > > > > go > > > > > > > back to not starting at all. > > > > > > That's right, you will also then need to install the appropriate x86 > > > driver; > > > e.g. x11-drivers/xf86-input-mouse > > > > You mean like this, the way it's always been? Or is there something more > > specific I have to do? > > treat src # eix x11-drivers/xf86-input-mouse > > [I] x11-drivers/xf86-input-mouse > > Available versions: 1.5.0{tbz2} {debug} > > Installed versions: 1.5.0{tbz2}(09:38:05 PM 05/11/2010)(-debug) > > Homepage:http://xorg.freedesktop.org/ > > Description: X.Org driver for mouse input devices > > > > treat src # > > > > BTW, the most recent boot started X without the mouse working, but these > > two lines appear in /var/log/Xorg.0.log > > > > line 44-47: (==) |-->Input Device "evdev" > > (==) |-->Input Device "" > > (==) The core pointer device wasn't specified explicitly in > the > > layout. > > Using the first mouse device. > > > > > > line 457: (==) MACH64(0): Silken mouse enabled > > > > (MACH64 is my video card) > > (My mouse is a Microsoft optical with a USB cord that I use with a PS/2 > > adapter and a KVM switch, which works with Live disks. I have no idea > what > > Silken is) > > > > > > These are the only lines with the word "mouse" in them. > > Kevin, what I would try first is to set INPUT_DEVICES="evdev mouse" in your > /etc/make.conf, then emerge x11-drivers/xf86-input-mouse and finally > reboot. > Unless your mouse needs some special driver it will just work. > > I've been down this road (with simpler hardware than yours it seems) and my > machine would not start xorg if I did not have INPUT_DEVICES="evdev mouse > keyboard". On my laptops I had to also add synaptics. > > Well, that breaks kind of badly. X never even starts. But for a peculiar reason... Here's what I find in the log file (==) Using config file: "/etc/X11/xorg.conf" Data incomplete in file /etc/X11/xorg.conf Undefined InputDevice "evdev mouse" referenced by ServerLayout "X.org Configured". (EE) Problem parsing the config file (EE) Error parsing the config file Fatal server error: no screens found So I tried the same thing with two statements Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 #InputDevice"Mouse0" "CorePointer" #InputDevice"Keyboard0" "CoreKeyboard" InputDevice "evdev" InputDevice "mouse" EndSection And I got (==) Using config file: "/etc/X11/xorg.conf" Data incomplete in file /etc/X11/xorg.conf Undefined InputDevice "mouse" referenced by ServerLayout "X.org Configured". (EE) Problem parsing the config file (EE) Error parsing the config file Fatal server error: no screens found So I'm thinking it just doesn't like "mouse" all of a sudden. Say what? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Gentoo decapitated
On Sun, May 16, 2010 at 11:23 AM, Mick wrote: > On Sunday 16 May 2010 18:18:09 Kevin O'Gorman wrote: > > On Sun, May 16, 2010 at 8:43 AM, Kevin O'Gorman > wrote: > > > > Oh, and one more thing showed up last night. I reemerged udev, and > noticed > > that the ebuild printed a message to the effect that if it doesn't work, > I > > should try emerging hal first. Leaving aside the non-effective language, > I > > tried that and although hal is installed, I can no longer build it. > This > > may turn out to be the most important thing. It turns out I can't compile > > the latest wireshark either. Maybe something is hosed deep down. It may > > be time to go down the "emptytree" road again, but it took 2 weeks last > > time, and was a major PITA. > > I don't know if you have been following the "libpng12 is missing" thread, > but > for good measure you may want to try lafilefixer --justfixit and revdep- > rebuild -p -v -i a number of times first. On two machines of mine (x86) > there > was no problem. On another (amd64) I had to go through the pain of emerge > -e > world. > > I just did the lafixer thing and was astonished at how many .la files it said it was fixing. Seems like my system should have been dead outright Now I'm off to a bunch of revdep-rebuilds. Hope this works, because I really *do not* want to emerge -e world (again). -- Kevin O'Gorman, PhD
Re: [gentoo-user] Gentoo decapitated
On Sun, May 16, 2010 at 2:43 PM, Kevin O'Gorman wrote: > > > On Sun, May 16, 2010 at 11:23 AM, Mick wrote: > >> On Sunday 16 May 2010 18:18:09 Kevin O'Gorman wrote: >> > On Sun, May 16, 2010 at 8:43 AM, Kevin O'Gorman >> wrote: >> >> > > >> > Oh, and one more thing showed up last night. I reemerged udev, and >> noticed >> > that the ebuild printed a message to the effect that if it doesn't work, >> I >> > should try emerging hal first. Leaving aside the non-effective >> language, I >> > tried that and although hal is installed, I can no longer build it. >> This >> > may turn out to be the most important thing. It turns out I can't >> compile >> > the latest wireshark either. Maybe something is hosed deep down. It >> may >> > be time to go down the "emptytree" road again, but it took 2 weeks last >> > time, and was a major PITA. >> >> I don't know if you have been following the "libpng12 is missing" thread, >> but >> for good measure you may want to try lafilefixer --justfixit and revdep- >> rebuild -p -v -i a number of times first. On two machines of mine (x86) >> there >> was no problem. On another (amd64) I had to go through the pain of emerge >> -e >> world. >> >> I just did the lafixer thing and was astonished at how many .la files it > said it was > fixing. Seems like my system should have been dead outright > > Now I'm off to a bunch of revdep-rebuilds. > > Hope this works, because I really *do not* want to emerge -e world (again). > > > I've got to ask, though, what good a revdep-rebuild does with the -p (pretend) flag. Am I missing something here? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Gentoo decapitated
On Sun, May 16, 2010 at 3:00 PM, Mick wrote: > On Sunday 16 May 2010 22:45:55 Kevin O'Gorman wrote: > > On Sun, May 16, 2010 at 2:43 PM, Kevin O'Gorman > wrote: > > > On Sun, May 16, 2010 at 11:23 AM, Mick > wrote: > > >> On Sunday 16 May 2010 18:18:09 Kevin O'Gorman wrote: > > >> > On Sun, May 16, 2010 at 8:43 AM, Kevin O'Gorman > > > >> > > >> wrote: > > >> > > >> > > >> > > >> > Oh, and one more thing showed up last night. I reemerged udev, and > > >> > > >> noticed > > >> > > >> > that the ebuild printed a message to the effect that if it doesn't > > >> > work, > > >> > > >> I > > >> > > >> > should try emerging hal first. Leaving aside the non-effective > > >> > > >> language, I > > >> > > >> > tried that and although hal is installed, I can no longer build it. > > >> > > >> This > > >> > > >> > may turn out to be the most important thing. It turns out I can't > > >> > > >> compile > > >> > > >> > the latest wireshark either. Maybe something is hosed deep down. > It > > >> > > >> may > > >> > > >> > be time to go down the "emptytree" road again, but it took 2 weeks > > >> > last time, and was a major PITA. > > >> > > >> I don't know if you have been following the "libpng12 is missing" > > >> thread, but > > >> for good measure you may want to try lafilefixer --justfixit and > revdep- > > >> rebuild -p -v -i a number of times first. On two machines of mine > (x86) > > >> there > > >> was no problem. On another (amd64) I had to go through the pain of > > >> emerge -e > > >> world. > > >> > > >> I just did the lafixer thing and was astonished at how many .la files > it > > > > > > said it was > > > fixing. Seems like my system should have been dead outright > > > > > > Now I'm off to a bunch of revdep-rebuilds. > > > > > > Hope this works, because I really *do not* want to emerge -e world > > > (again). > > > > > > > > > I've got to ask, though, what good a revdep-rebuild does with the -p > > > > (pretend) flag. > > Am I missing something here? > > You're not missing anything. It's a cautionary step only. If you are > about > to do something with the machine and remerging the whole universe would be > inconvenient at this moment in time, or you may want to reconsider/change > some > of your settings, then --pretend will give you this chance. I've made the > habit of using it almost without thinking, but you can of course not use > it, > or substitute it with -a. > -- > Regards, > Mick > Well, it just told me it will rebuild clisp and m4, neither of which strike me as essential to Xorg, but I'll give it a try. Thanks, ++ kevin -- Kevin O'Gorman, PhD
SOLVED: Re: [gentoo-user] Re: Gentoo decapitated
On Sun, May 16, 2010 at 11:25 AM, walt wrote: > On 05/16/2010 08:43 AM, Kevin O'Gorman wrote: > >> On Sun, May 16, 2010 at 12:11 AM, Mick > michaelkintz...@gmail.com>> wrote: >> >> On Sunday 16 May 2010 02:24:10 Kevin O'Gorman wrote: >> > On Wed, May 12, 2010 at 3:33 PM, Dale > rdalek1...@gmail.com>> wrote: >> > > Mine has xf86-* drivers as well. OP, do you have your setting in >> > > make.conf correctly? Mine looks like this: >> > > >> > > INPUT_DEVICES="keyboard mouse evdev" >> > > >> > > I do NOT use hal so your settings may need to be different but you >> do >> > > need the line tho. >> > > >> > > I have INPUT_DEVICES="evdev", and adding either of the others >> makes X go >> > >> > back to not starting at all. >> >>That's right, you will also then need to install the appropriate x86 >> driver; >>e.g. x11-drivers/xf86-input-mouse >> >> >> You mean like this, the way it's always been? Or is there something more >> specific I have to do? >> treat src # eix x11-drivers/xf86-input-mouse >> [I] x11-drivers/xf86-input-mouse >> Available versions: 1.5.0{tbz2} {debug} >> Installed versions: 1.5.0{tbz2}(09:38:05 PM 05/11/2010)(-debug) >> Homepage: http://xorg.freedesktop.org/ >> Description: X.Org driver for mouse input devices >> >> treat src # >> >> BTW, the most recent boot started X without the mouse working, but these >> two lines appear in /var/log/Xorg.0.log >> >> line 44-47: (==) |-->Input Device "evdev" >> (==) |-->Input Device "" >> (==) The core pointer device wasn't specified explicitly in >> the layout. >> Using the first mouse device. >> >> >> line 457: (==) MACH64(0): Silken mouse enabled >> >> (MACH64 is my video card) >> (My mouse is a Microsoft optical with a USB cord that I use with a PS/2 >> adapter and a KVM switch, which works with Live disks. I have no idea what >> Silken is) >> >> >> These are the only lines with the word "mouse" in them. >> > > I just did the experiment of building xorg-server with the hal useflag > *off*, and > found that neither keyboard nor mouse worked until I restored the two > InputDevice > sections that I commented out when I switched to evdev+hal: > > Section "ServerLayout" >Identifier "X.org Configured" >Screen 0 "Screen0" 0 0 >Option "AIGLX""false" >InputDevice"Mouse0" "CorePointer" <-- restored these two > lines >InputDevice"Keyboard0" "CoreKeyboard" <--- > EndSection > > Section "InputDevice" >Identifier "Keyboard0" >Driver "evdev" >Option "Device" "/dev/input/event3" > EndSection > > Section "InputDevice" >Identifier "Mouse0" >Driver "evdev" >Option "Protocol" "auto" >Option "Device" "/dev/input/event4" >Option "Emulate3Buttons" "True" > EndSection > > Note those "Device" entries. I found those devices in /dev/input/by-path/: > > $ls -l /dev/input/by-path/ > lrwxrwxrwx 1 root root 9 2010-05-16 10:40 > platform-i8042-serio-0-event-kbd -> ../event3 > lrwxrwxrwx 1 root root 9 2010-05-16 10:40 > platform-i8042-serio-1-event-mouse -> ../event4 > lrwxrwxrwx 1 root root 9 2010-05-16 10:40 platform-i8042-serio-1-mouse -> > ../mouse0 > > "evdev" uses "event-devices", hence the name. I don't use the mouse0 > device at > all but I'm guessing I would if I used the "mouse" driver instead of > "evdev". > > Starting with xorg-server-1.8 the mouse and keyboard Inputdevice sections > are no > longer needed (not sure about synaptics, though), because the server uses > evdev > automatically (no manual configuration like cited above) and ignores hal > completely. > > Using the evdev driver alone, and xorg-server built without hal, I get > this: > > (**) Option "CorePointer" > (**) Mouse0: always reports core events > (**) Mouse0: Device: "/dev/input/event4" > (II) Mouse0: Found 9 mouse buttons > (II) Mouse0: Found scroll wheel(s) > (II) Mouse0: Found relative axes > (II) Mouse0: Found x and y relative axes > (II) Mouse0: Configuring as mouse > (**) Option "Emulate3Buttons" "True" > (II) Mouse0: Forcing middle mouse button emulation on. > (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE) > (**) Mouse0: (accel) keeping acceleration scheme 1 > (**) Mouse0: (accel) acceleration profile 0 > (II) Mouse0: initialized for relative axes. > (**) Option "CoreKeyboard" > (**) Keyboard0: always reports core events > (**) Keyboard0: Device: "/dev/input/event3" > (II) Keyboard0: Found keys > (II) Keyboard0: Configuring as keyboard > (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD) > (**) Option "xkb_rules" "evdev" > (**) Option "xkb_model" "evdev" > (**) Option "xkb_layout" "us" > > > > GENIUS. It worked! That which has been dead for 2 weeks is risen! Many thanks. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Gentoo decapitated
On Sun, May 16, 2010 at 2:43 PM, Kevin O'Gorman wrote: > > > On Sun, May 16, 2010 at 11:23 AM, Mick wrote: > >> On Sunday 16 May 2010 18:18:09 Kevin O'Gorman wrote: >> > On Sun, May 16, 2010 at 8:43 AM, Kevin O'Gorman >> wrote: >> >> > > >> > Oh, and one more thing showed up last night. I reemerged udev, and >> noticed >> > that the ebuild printed a message to the effect that if it doesn't work, >> I >> > should try emerging hal first. Leaving aside the non-effective >> language, I >> > tried that and although hal is installed, I can no longer build it. >> This >> > may turn out to be the most important thing. It turns out I can't >> compile >> > the latest wireshark either. Maybe something is hosed deep down. It >> may >> > be time to go down the "emptytree" road again, but it took 2 weeks last >> > time, and was a major PITA. >> >> I don't know if you have been following the "libpng12 is missing" thread, >> but >> for good measure you may want to try lafilefixer --justfixit and revdep- >> rebuild -p -v -i a number of times first. On two machines of mine (x86) >> there >> was no problem. On another (amd64) I had to go through the pain of emerge >> -e >> world. >> >> I just did the lafixer thing and was astonished at how many .la files it > said it was > fixing. Seems like my system should have been dead outright > > Now I'm off to a bunch of revdep-rebuilds. > > Hope this works, because I really *do not* want to emerge -e world (again). > > > Well, it was an interesting excercise, but I'm no closer to a runnable Xorg (it won't start at all as long as I have InputDevice "mouse" in there. I think I'll start exploring the ideas around what happens when you have Xorg -hal, as I do. Actually, I did that, and problem SOLVED!. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Remotely working on Gentoo systems
On Fri, Jun 11, 2010 at 2:33 AM, AG wrote: > Il 11/06/2010 11:00, SpaceCake ha scritto: > > You may give a chance to this. I'm not using every day, but it is a very >> promising remote access solution. I think this is based on VNC as well >> >> [I] net-misc/nx >> Available versions: 3.3.0-r1 ~3.3.0-r4 ~3.3.0-r5 3.4.0 [M]~3.4.0-r1 >> {rdesktop vnc} >> Installed versions: 3.4.0(17.29.52 2010-05-12) >> Homepage: http://www.nomachine.com/developers.php >> Description: NX compression technology core libraries >> > > NX is very simple to install > free for few simultaneous connections > efficient in low bandwidth situations > scalable to enterprise level > secured by https > available clients for almost every platform > > andrea > > Request for more information: 1) Exactly what client-side and server-side flags are you telling us to set. The names have me somewhat overwhelmed. 2) Is there a connection between NX and SSH? Could you point me at some setup docs (if they don't come automatically). -- Kevin O'Gorman, PhD
[gentoo-user] Grub2 and use-flags
I'm running grub 2 it seems. I don't know when that started, or what difference it makes compared to legacy grub. I guess I don't need to know. But a recent post had me looking at use-flags, and I was a bit surprised to find (ncurses -static). If this refers to the part of grub that I run when setting up or tweaking while Linux is already running, I guess that's sensible. But does it have any effect on the boot sequence (because both of those would strike me as badly broken). I also wonder what -custom-cflags would be used for, and I don't get any sensible answer from flagedit(1). Just an inquiring mind... [I] sys-boot/grub Available versions: 0.92-r1 0.94-r1 0.96-r1 0.96-r2 ~0.96-r3 ~0.97 0.97-r2 0.97-r3 0.97-r4 0.97-r5 0.97-r6 ~0.97-r8 0.97-r9 **1.98 ** {custom-cflags debug multislot ncurses netboot static truetype} Installed versions: 0.97-r9(06:16:18 AM 03/03/2010)(ncurses -custom-cflags -netboot -static) Homepage:http://www.gnu.org/software/grub/ Description: GNU GRUB 2 boot loader -- Kevin O'Gorman, PhD
[gentoo-user] p7zip-4.65-r1 considered obnoxious
For some reason, the latest x86 stable p7zip wants to force me to remove 'odbc' from wxGTK. This seems wrong, and I'm masking it out for the moment, but I'm wondering what justification there is. -- Kevin O'Gorman, PhD
Re: [gentoo-user] KDE? Get me out of here!
ndow with multiple tabs. > > - Dolphin no longer opens maximized. > > - Ark no longer opens the home directory with dolphin when extracting > files. > > - And Akonadi starts without errors! Except for the last login, when again > no resource agents were found. Did not happen again (yet). > > KDE4 Problems that still happen: > > - Strigi scans already indexed files, then crashes. Repeats a cuple of > times, then exits. Syslog shows sefgaults in nepomukservices. > > - Dolphin FTP does not work with Umlauts. And I have to enter the password > twice. > > - Konsole profiles have to be activated in the profile dialog before they > show up in the menu. > > - Kmail did not save this e-mail, I lost my edits when my whole system > just crashed. Now I wonder what _this_ was. > > - Sessions are often saved incorrectly. Then some konquerors are missing, > a dolphin is on the wrong desktop. > > - At session startup, konqueror always complains it dies unexpectedly and > offers to restore the session, unless I close every instance before > logout. > > - This session restore of konquereror works sometimes, and sometimes not. > And all konqueror windows it opens belong to the same process, so when one > window dies, all die. > > - No automatic spell checking in kmail. And no English language to select, > only German. > > - When the desktop is locked, the password dialog sometimes does not > accept the password. It is all lowercase letters, letter position > independent of keyboard layout. Switching to a text console and back > helped. Oh, did I already mention that sometimes when switching back into > graphics mode, I get an empty screen, and have to reboot then? > > - Under heavy load, when switching to a locked desktop, it sometimes takes > quite a while until it blanks and the password dialog appears. In the > meantime, it probably cannot be used, but at least everything is clearly > visible. > > - Trying to move a plasmoid from the panel onto the desktops crashes > plasma. > > - This plasma stuff has its problems. Sometimes plasmoids have the wrong > position, or refuse to be dragged or changed in size (they return to the > former state after the operation). > > - I thought it was gone... but then again the mouse only worked in parts > of the active window. When I close it via keyboard, the next active > windows becomes partially responsive to the mouse. I have to log out then. > > - KDE4 eats A LOT of memory. I have about 30 tabs open in konquerors, this > alone is 1 GB after a while. And X is not much less. > > - nspluginviewer processes often eat a lot of CPU power. So I frequently > kill them with killall nspluginviewer, I have a little button for this > purpose in the panel. And system loads gets much lower. It's still quite > high, though. > > - I'm sure I forgot some. > > Other frequent problems: > > - This repeating key problem I mentioned. And sometimes I have some sort > of caps lock feature, but for Ctrl or Alt. I can remove it by pressing all > those meta keys at once. > > - After using the fullscreen mode of VMware, modifier keys like alt, shift > and ctrl stopped working, except inside an NX session I had also running. > > - Starting a specific program that ready 1.5 GB of data just made the > system hang for two times. The Magic SysRq stuff worked, although I did > not get out of graphics mode, so I had to reboot. > > - Suspending to RAM does not work at all. > > - Hibernating with TuxOnIce works sometimes, but sometimes resuming stops > with some "Opening LUKS. Killed." message, or the suspend image is ignored > and a normal boot happens. > > - I have a Radeon HD 3200. I tried the radeon drivers instead of ati- > drivers (fglrx), but did not get acceleration ([dri] RADEONDRIGetVersion > failed (libdri too old)). But thats's still be best result I ever got with > tose drivers. I removed the blocking ati-drivers and updated to xorg 1.8, > then radeon worked with acceleration. But when I move the mouse onto the > panel in KDE4, X dies instantly without anything in syslog except for a 'X > server for display :0 terminated unexpectedly' message. > > - mplayer sometimes play videos with colors totally messed up, like if > some parameter like brightness or gamme was set realyl really high, so > sometimes nothing at all can be seen. > >Wonko > > -- Kevin O'Gorman, PhD
Re: [gentoo-user] p7zip-4.65-r1 considered obnoxious
On Sun, Jun 20, 2010 at 10:19 AM, Renat Golubchyk wrote: > On Sun, 20 Jun 2010 08:44:41 -0700 "Kevin O'Gorman" > wrote: > > For some reason, the latest x86 stable p7zip wants to force me to > > remove 'odbc' from wxGTK. This seems wrong, and I'm masking it out > > for the moment, but I'm wondering what justification there is. > > Well, you could check the ChangeLog in app-arch/p7zip directory for > yourself, but since I've already done it just look at bug #267698. > > Thanks. So it's a WONTFIX because upstream is dropping ODBC anyway to make room for Unicode. Standards are SO wonderful -- there are so many to choose from. ++ kevin -- Kevin O'Gorman, PhD
[gentoo-user] Firefox + gentoo scrolling like a snail
It's weird. Sometimes, but not always, when I click in the Firefox scrollbar, it starts heading in the right direction in fits and starts of 5 pixels or so until it (finallly) reaches the end. I've mostly observed this in the downward direction, but I mostly scroll in that direction anyway so it might not mean anything. What's wrong about this is that a single click should not do this, and does not do this, on any other scrollbar on my machine. A single click moves the "thumb" thingie a fixed amount which depends on where you click. The worst part is that the application won't do anything else until the scrolling is finished, and the scrolling for a very tall page can take a couple of minutes. I keep trying to remember that dragging the "thumb" still works as expected, but clicking is an old habit that's hard to drop. Am I the only one seeing this? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Firefox + gentoo scrolling like a snail
On Sat, Jun 26, 2010 at 8:51 AM, Alan McKinnon wrote: > On Saturday 26 June 2010 17:44:42 Kevin O'Gorman wrote: > > It's weird. > > > > Sometimes, but not always, when I click in the Firefox scrollbar, it > starts > > heading in the right direction in fits and starts of 5 pixels or so until > > it (finallly) reaches the end. I've mostly observed this in the downward > > direction, but I mostly scroll in that direction anyway so it might not > > mean anything. > > > > What's wrong about this is that a single click should not do this, and > does > > not do this, on any other scrollbar on my machine. A single click moves > > the "thumb" thingie a fixed amount which depends on where you click. The > > worst part is that the application won't do anything else until the > > scrolling is finished, and the scrolling for a very tall page can take a > > couple of minutes. > > > > I keep trying to remember that dragging the "thumb" still works as > > expected, but clicking is an old habit that's hard to drop. > > > > Am I the only one seeing this? > > I don't see that. What settings do you have for scrolling? > > Firefox config dialog -> Advanced -> General > Firefox-3.6.3 -> Edit -> Preferences -> Advanced -> General checked: - Always use the cursor keys to navigate within pages - Use autoscrolling - Always check to see if Firefox is the default browser on startup I guess both of the first two are suspects, but AFAICR I've never touched these. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Firefox + gentoo scrolling like a snail
On Sat, Jun 26, 2010 at 10:15 AM, Alan McKinnon wrote: > On Saturday 26 June 2010 19:08:58 Kevin O'Gorman wrote: > > On Sat, Jun 26, 2010 at 8:51 AM, Alan McKinnon > wrote: > > > On Saturday 26 June 2010 17:44:42 Kevin O'Gorman wrote: > > > > It's weird. > > > > > > > > Sometimes, but not always, when I click in the Firefox scrollbar, it > > > > > > starts > > > > > > > heading in the right direction in fits and starts of 5 pixels or so > > > > until it (finallly) reaches the end. I've mostly observed this in > the > > > > downward direction, but I mostly scroll in that direction anyway so > it > > > > might not mean anything. > > > > > > > > What's wrong about this is that a single click should not do this, > and > > > > > > does > > > > > > > not do this, on any other scrollbar on my machine. A single click > > > > moves the "thumb" thingie a fixed amount which depends on where you > > > > click. The worst part is that the application won't do anything else > > > > until the scrolling is finished, and the scrolling for a very tall > > > > page can take a couple of minutes. > > > > > > > > I keep trying to remember that dragging the "thumb" still works as > > > > expected, but clicking is an old habit that's hard to drop. > > > > > > > > Am I the only one seeing this? > > > > > > I don't see that. What settings do you have for scrolling? > > > > > > Firefox config dialog -> Advanced -> General > > > > Firefox-3.6.3 -> Edit -> Preferences -> Advanced -> General checked: - > > Always use the cursor keys to navigate within pages > > - Use autoscrolling > > - Always check to see if Firefox is the default browser on startup > > > > I guess both of the first two are suspects, but AFAICR I've never touched > > these. > > My setup is similar, so I don't know where to go from here :-) > > And someone else reported that heir konqueror does it too. If these things > are > related that would cancel out Firefox itself and move over to the video > system > > Maybe. It's also possible I'm seeing it when working with email. I do that in several ways, though, and I'll have to figure out which combination(s) actually give me trouble. Then I guess it will be bug-writing time. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Mailing list policy on reply
On Fri, Jul 2, 2010 at 1:14 AM, Neil Bothwick wrote: > On Fri, 2 Jul 2010 02:54:33 +0200, Nicolas Sebrecht wrote: > > > It is usually better and prefer the "answer to all" policy as it permit > > to be notified of an answer without having to track the whole mailing > > list. > > If I post to the list, I expect a reply via the list. Getting two replies > is annoying, especially if I don't realise the private one is a duplicate > and reply to it before checking the list. One of the main points of a list > is that it is a public discussion, archived for all to see, fragmenting > conversations into private mail defeats that point. > Precisely, except that I'm not as annoyed as some of you seem to be. Part of the way a mailing list works is that there is always discontent about the way the mailing list works. This hasn't changed much, if at all, since I started using mailing lists around 1985. -- Kevin O'Gorman, PhD
[gentoo-user] vim(1) barks at root, and no other
For some reason, when I use vim as 'root' I get sporadic messages "no protocol specified" that show up on the console, in such a way that I think it's going to /dev/console. It gets into the text I'm editing, but isn't really there because ^L clears it. Save for some abbreviations related to the account, there's no differrence between /root/.vimrc and the one in my home directory, but only root sees this behavior. Even strings(1) does not find that message in /usr/bin/vim. It happens twice to the console before vim takes over the window, and sporadically during editing. I haven't seen any pattern to what I'm doing when it happens. Anybody have a clue where it's coming from? -- Kevin O'Gorman, PhD
[gentoo-user] /etc/motd and /etc/issue just error out....
I have created/edited /etc/motd and /etc/issue. At first they did nothing at all, but I found /etc/login.defs and followed the hint there. So now it has the line MOTD_FILE /etc/motd for instance. But instead of displaying the file on running login as root, I get configuration error - unknown item 'MOTD_FILE' (notify administrator), and something similar if I attempt to use /etc/issue. Looking at /bin/login with strings(1), I find a format string that would produce this output. Does anyone know how to correctly enable the message of the day and the greeting? -- Kevin O'Gorman, PhD
[gentoo-user] Re: /etc/motd and /etc/issue just error out....
On Thu, Jul 8, 2010 at 9:29 AM, Kevin O'Gorman wrote: > I have created/edited /etc/motd and /etc/issue. At first they did nothing > at all, but I found /etc/login.defs and followed the hint there. > So now it has the line > MOTD_FILE /etc/motd > for instance. But instead of displaying the file on running login as root, > I get > configuration error - unknown item 'MOTD_FILE' (notify administrator), and > something > similar if I attempt to use /etc/issue. > > Looking at /bin/login with strings(1), I find a format string that would > produce this output. > > Does anyone know how to correctly enable the message of the day and the > greeting? > > Mmmm. I should add that despite these complaints, login is still possible, and what's especially surprising is that the messages are actually displayed. This suggests that I'm not very far from having it right, but /bin/login wants to complain anyway. -- Kevin O'Gorman, PhD
Re: [gentoo-user] /etc/motd and /etc/issue just error out....
On Thu, Jul 8, 2010 at 12:45 PM, Alan McKinnon wrote: > On Thursday 08 July 2010 21:25:03 David W Noon wrote: > > >Is sshd configured to use login, or to do all that itself? > > >/etc/issue doesn't show up on console logins, it is for ancient stuff > > >like telnet and rlogin, never for console login. > > > > I thought /etc/issue was for the *getty programs to emit a pre-login > > greeting/warning/whatever, and was unrelated to login. > > Yes, you are right. The one for network logins is /etc/netissue or > issue-net > or some such. > > It's been years since I went anywhere near that stuff, and wetware RAM is > notoriously bad ;-) > > Well, I mostly wanted to make the stuff work, then sort out which piece was which. I have only 3 kinds of login: consoles (Ctl-Alt-F1, etc), ssh logins, and window manager logins. For the window manager, I imagine I'm stuck with tweaking /etc/profile, or some such, depending on the shell (always bash on this machine). It just seemed perverse that the one way I found to make them work also makes something emit error messages. Grrr. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Cairo XCB
On Fri, Jul 23, 2010 at 1:56 PM, David W Noon wrote: > On Fri, 23 Jul 2010 20:50:01 +0200, Mick wrote about [gentoo-user] > Cairo XCB: > > >I have seen messages similar to these: > > > > * Messages for package x11-libs/cairo-1.8.10: > > > > * You have enabled the Cairo XCB backend which is used only by > > * a select few apps. The Cairo XCB backend is presently > > * un-maintained and needs a lot of work to get it caught up > > * to the Xrender and Xlib backends, which are the backends used > > * by most applications. See: > > * http://lists.freedesktop.org/archives/xcb/2008-December/004139.html > [snip] > >which means that it's the default. What should I do with it, wait > >until the default profile gets rid of it, or do something different? > > My take is that the warning is against writing new applications that > might use the XCB back-end. Unless you are writing expressly X Window > (i.e. low level) applications, just ignore it. > -- > Regards, > > Dave [RLU #314465] > == > dwn...@ntlworld.com (David W Noon) > == > I put -xcb in the USE variable of /etc/make.conf, and did an emerge -aDNvu. Everything works, and cairo no longer complains. Ignoring it would probably have worked for me too, but it would have left me worrying. -- Kevin O'Gorman, PhD
[gentoo-user] KDE control center missing?
I'm using KDE 4 on Gentoo, and I want to add a few items to the "K" (application launcher) menu. I thought the control center was the thing to use, and the online help manual says it should exist on the "K" menu, or as the program "kcontrol". It doesn't, and the list of files for "kcontrol" contains *no* files of that name, and only one directory (under HTML) of that name. So how to I run the darned thing? -- Kevin O'Gorman, PhD
[gentoo-user] Ever since a recent update, vim misbehaves when run as root
I'm not exactly sure when, but starting a month or so ago, vim has been acting weird when I run it as root. For one thing, there are messages Xlib: connection to ":0.0" refused by server on the console. I presume this is an X authority thing, but I'm not sure why it became an issue when it wasn't before, and I've completely forgotten what to do about it. I'm generally running a gnome-terminal 2.26.3.1 under KDE on plain Gento. It's weird, I know, but I've been doing this for ages. Moreover, in spite of weirdness, the editing session works. Except that there are messages Xlib: No protocol specified overlaid on the document scattered more or less randomly. They can be cleaned off by control-L. This is barely workable, and leaves me with a WTF sort of feeling. Fortunately, I don't do a whole lot of editing as root, but there's always something... Any clues out there? -- Kevin O'Gorman, PhD
[gentoo-user] All of a sudden, no apache2. No clue why.
As of today, my apache2 web server seems to refuse to start. I've tried a system reboot, to no avail -- connections are refused on port 80. In /etc/init.d it looks like this: if I try to start it, it says it's already started. netstat says there's no listener on port 80. If I try to restart it, it cannot start a listener. I'm really bummed. Any ideas how to get this going again? Here's a short look at what I was doing in /etc/init.d treat init.d # ./apache2 start * WARNING: apache2 has already been started. treat init.d # ./apache2 restart * Stopping apache2 ... httpd (no pid file) not running [ ok ] * Starting apache2 ... (98)Address already in use: make_sock: could not bind to address 64.166.164.49:80 no listening sockets available, shutting down Unable to open logs [ ok ] treat init.d # ./apache2 start * WARNING: apache2 has already been started. treat init.d # netstat -l --inet Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 *:printer *:* LISTEN tcp0 0 *: *:* LISTEN tcp0 0 t:domain*:* LISTEN tcp0 0 treat.kosmanor.c:domain *:* LISTEN tcp0 0 localhost:domain*:* LISTEN tcp0 0 *:ipp *:* LISTEN tcp0 0 *:smtp *:* LISTEN tcp0 0 localhost:rndc *:* LISTEN netstat: no support for `AF INET (sctp)' on this system. treat init.d # netstat -l --inet -n Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 0.0.0.0:515 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:0.0.0.0:* LISTEN tcp0 0 192.168.1.149:530.0.0.0:* LISTEN tcp0 0 64.166.164.49:530.0.0.0:* LISTEN tcp0 0 127.0.0.1:530.0.0.0:* LISTEN tcp0 0 0.0.0.0:631 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:25 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:953 0.0.0.0:* LISTEN netstat: no support for `AF INET (sctp)' on this system. treat init.d # Any ideas? What else could I look at? -- Kevin O'Gorman, PhD
Re: [gentoo-user] All of a sudden, no apache2. No clue why.
On Thu, Jul 29, 2010 at 3:12 PM, Tomas Krasnican wrote: > Kevin O'Gorman wrote: > > As of today, my apache2 web server seems to refuse to start. I've tried > > a system reboot, to no avail -- > > connections are refused on port 80. > > I think that apache will try to create listener on address:port, which have > already created (because it is possibly defined that). > After this fail apache will die and you can't see any active listener on > this port in netstat -l, thats correct. > > Try to check for twice definition of the same listener. > > Or, example, if you have listener for 0.0.0.0:80 and you trying to create > listener for 1.2.3.4.80. > > ...or dubble include of the same configuration file? I don't know, if is it > possible... > > Regards, > Tomas Krasnican > Thanks, but... Grepping for Listen, all I see is hexDirs.conf:Listen 64.166.164.49:80 hexDirs.conf:Listen localhost:80 And grepping for Includes, I find nothing suspicious or cyclic. -- Kevin O'Gorman, PhD
Re: [gentoo-user] All of a sudden, no apache2. No clue why.
On Thu, Jul 29, 2010 at 3:14 PM, Kyle Bader wrote: > > * Starting apache2 ... > > (98)Address already in use: make_sock: could not bind to address > > 64.166.164.49:80 > > no listening sockets available, shutting down > > Unable to open > > logs [ > ok > > ] > > Make sure an interface is listening on that address: > > ip a |grep 64.166.164.49 > > treat apache2 # ip a | grep 64.166.164.49 inet 64.166.164.49/29 brd 64.166.164.55 scope global eth0 treat apache2 # That's no listener. Check for bound processes: > > lsof -i @64.166.164.49 > treat apache2 # lsof -i @64.166.164.49 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME named 4725 named 21u IPv4 8406 0t0 TCP treat.kosmanor.com:domain (LISTEN) named 4725 named 513u IPv4 8405 0t0 UDP treat.kosmanor.com:domain ntpd5117 ntp 18u IPv4 9045 0t0 UDP treat.kosmanor.com:ntp firefox 7832 kevin 27u IPv4 29522 0t0 TCP treat.kosmanor.com:57043 ->nuq04s01-in-f83.1e100.net:https (ESTABLISHED) firefox 7832 kevin 56u IPv4 29352 0t0 TCP treat.kosmanor.com:57034 ->nuq04s01-in-f83.1e100.net:https (ESTABLISHED) firefox 7832 kevin 58u IPv4 29453 0t0 TCP treat.kosmanor.com:54324 ->nuq04s01-in-f18.1e100.net:https (ESTABLISHED) firefox 7832 kevin 63u IPv4 29536 0t0 TCP treat.kosmanor.com:59436 ->nuq04s01-in-f102.1e100.net:http (ESTABLISHED) firefox 7832 kevin 66u IPv4 29538 0t0 TCP treat.kosmanor.com:56773 ->74.125.164.30:http (ESTABLISHED) firefox 7832 kevin 72u IPv4 29475 0t0 TCP treat.kosmanor.com:37415 ->mg201a.mail.vip.mud.yahoo.com:http (CLOSE_WAIT) treat apache2 # And that's a DNS listener, an NTP listener, and firefox as a client, not a listener. Though it makes me want to track down 1e100.net and find out who they are. I'll see about strace. > If that fails I'd strace the startup manually. > > -- > > Kyle > -- Kevin O'Gorman, PhD
Re: [gentoo-user] All of a sudden, no apache2. No clue why.
> On Thu, 2010-07-29 at 14:24 -0700, Kevin O'Gorman wrote: > > As of today, my apache2 web server seems to refuse to start. I've > > tried a system reboot, to no avail -- > > connections are refused on port 80. > > > > In /etc/init.d it looks like this: if I try to start it, it says it's > > already started. netstat says there's no listener > > on port 80. If I try to restart it, it cannot start a listener. I'm > > really bummed. > > > > Any ideas how to get this going again? > > > > Here's a short look at what I was doing in /etc/init.d > > > > treat init.d # ./apache2 start > > * WARNING: apache2 has already been started. > > treat init.d # ./apache2 restart > > * Stopping apache2 ... > > httpd (no pid file) not running > > [ ok ] > > * Starting apache2 ... > > (98)Address already in use: make_sock: could not bind to address > > 64.166.164.49:80 > > no listening sockets available, shutting down > > Unable to open logs > > [ ok ] > > > > On Thu, Jul 29, 2010 at 4:27 PM, William Kenworthy wrote: There is an "Unable to open logs" in there ... are you doing some fancy remote logging that cant start? - I cant see anything that says its specifically port 80 thats causing the problem, just no listening sockets available. syslog is udp port 514, and then there is ssl on 443. BillK I'm doing nothing fancy, but I did have a nearly full root directory. I flushed out some old portage stuff an I'm back to 19 GB free. I still get the same result messages during a reboot. It is true I modified the local apache config /etc/apache2/kosmanor/hexDirs.conf slightly just before. I added a /HexData alias, like a few others that I have. I've attached the config file in case you can find any unintended change. Looking at the logs, there does not seem to be logging going on since July 16, and things were working then, I thought. List of log directory follows. I do seem to have two different styles of log rotation going on simultaneously, but that seems to have been the case for quite a while now; I'll find that later. treat apache2 # ls -l total 4368 -rw-rw-rw- 1 root root 0 Jul 16 03:10 access_log -rw-rw-rw- 1 root root 191438 Jun 15 2009 access_log.1.gz -rw-rw-rw- 1 root root 678879 Jun 25 03:10 access_log-20100625.gz -rw-rw-rw- 1 root root 693424 Jul 2 03:10 access_log-20100702.gz -rw-rw-rw- 1 root root 701307 Jul 9 03:10 access_log-20100709.gz -rw-rw-rw- 1 root root 840730 Jul 16 03:10 access_log-20100716.gz -rw-rw-rw- 1 root root 234663 Jun 8 2009 access_log.2.gz -rw-rw-rw- 1 root root 270349 Jun 1 2009 access_log.3.gz -rw-rw-rw- 1 root root 277761 May 25 2009 access_log.4.gz -rw-rw-rw- 1 root root 0 Jul 16 03:10 error_log -rw-rw-rw- 1 root root 117611 Jun 15 2009 error_log.1.gz.out -rw-rw-rw- 1 root root 61608 Jun 25 03:10 error_log-20100625.gz -rw-rw-rw- 1 root root 69397 Jul 2 03:10 error_log-20100702.gz -rw-rw-rw- 1 root root 118085 Jul 9 03:10 error_log-20100709.gz -rw-rw-rw- 1 root root 114433 Jul 16 03:10 error_log-20100716.gz -rw-rw-rw- 1 root root 5706 Jun 8 2009 error_log.2.gz -rw-rw-rw- 1 root root 5628 Jun 1 2009 error_log.3.gz -rw-rw-rw- 1 root root 6344 May 25 2009 error_log.4.gz -rw-rw-rw- 1 root root 0 Feb 3 2008 ssl_access_log -rw-rw-rw- 1 root root 0 Feb 3 2008 ssl_error_log -rw-rw-rw- 1 root root 0 Feb 3 2008 ssl_request_log treat apache2 # pwd /var/log/apache2 treat apache2 # The ownership may seem odd, but agrees with backups. That July 16 log ends with something familiar: [Fri Jul 16 03:10:07 2010] [notice] SIGUSR1 received. Doing graceful restart (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs treat apache2 # So I guess my page has been down for a while. A nuisance at most because it's just my personal stuff, which a handful of people care about. But I want it back up, not to mention the logging. -- Kevin O'Gorman, PhD # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses (0.0.0.0) # #Listen 12.34.56.78:80 # Listen 80 # no need to listen promiscuously (I think) Listen 64.166.164.49:80 Listen localhost:80 # # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. # # User/Group: The name (or #number) of the user/group to run httpd as. # . On SCO (ODT 3) use "User nouser" and "Group nogroup". # . On HPUX you may not be able to use shared memory as nobody, and the #suggested workaround is to create a u
Re: [gentoo-user] Ever since a recent update, vim misbehaves when run as root
On Fri, Jul 30, 2010 at 6:43 AM, Bill Longman wrote: > On 07/29/2010 08:58 PM, Walter Dnes wrote: > > > 2) If you really really need the X-integration features, you can use the > > "xhost" command to enable all users on your machine to run X apps on > > your X session. E.g. my machine is 192.168.123.249 so I ran... > > > > xhost +192.168.123.249 > > > > ...to allow a 32-bit QEMU-KVM guest to run an X program on the 64-bit > > host's Xwindows session. > > What you probably want here instead is: > > xhost +local: > > then the X app is not limited to using only IP but can choose whichever > transport it deems best. Of course the usual safety caveats apply. If > others are on your host, they'll have X access. If you're concerned > about that, then just give root permission: > > xhost SI:localuser:root > > Thanks -- that was what I was trying to remember, so I just emerged it. Looks like something I should be able to do in my .bashrc and just forget about. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Ever since a recent update, vim misbehaves when run as root
On Fri, Jul 30, 2010 at 7:59 AM, Kevin O'Gorman wrote: > > >> then the X app is not limited to using only IP but can choose whichever >> transport it deems best. Of course the usual safety caveats apply. If >> others are on your host, they'll have X access. If you're concerned >> about that, then just give root permission: >> >> xhost SI:localuser:root >> >> xhost +local: > Thanks -- that was what I was trying to remember, so I just emerged it. > > Looks like something I should be able to do in my .bashrc and just forget > about. > > Actually, it doesn't work. ke...@treat ~ $ xhost si:localhost:root localhost:root being added to access control list X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 109 (X_ChangeHosts) Value in failed request: 0xe Serial number of failed request: 7 Current serial number in output stream: 9 ke...@treat ~ $ xhost SI:localhost:root localhost:root being added to access control list X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 109 (X_ChangeHosts) Value in failed request: 0xe Serial number of failed request: 7 Current serial number in output stream: 9 ke...@treat ~ $ What's worse, the xhost man page refers me to Xauthority(7) which does not exist, and I did not find it with a quick check by eix. What did work was xhost +r...@localhost -- Kevin O'Gorman, PhD
Re: [gentoo-user] All of a sudden, no apache2. No clue why.
On Fri, Jul 30, 2010 at 9:12 AM, Kyle Bader wrote: > >> > * Starting apache2 ... > >> > (98)Address already in use: make_sock: could not bind to address > >> > 64.166.164.49:80 > >> > no listening sockets available, shutting down > >> > Unable to open > >> > logs > [ > > Strace will probably reveal which log file can't be opened, something > like this will probably do the trick: > > strace /path/to/apache2 -D -d /path/to/apache2dir > > > And that's a DNS listener, an NTP listener, and firefox as a client, not > a > > listener. Though it makes me want to track down 1e100.net and find out > who > > they are. > > Google: > > I should have known that. 1e100 is a mathematical/programming synonym for google. Amusing. I do most of this in gmail, so those connections look normal. I don't know what the usual module list is, so I guess I have to go trolling throught the init.d scripts to figure it out, unless somebody knows a better way. -- Kevin O'Gorman, PhD
[gentoo-user] Progress made, not done yet Re: All of a sudden, no apache2. No clue why.
On Fri, Jul 30, 2010 at 9:12 AM, Kyle Bader wrote: > >> > * Starting apache2 ... > >> > (98)Address already in use: make_sock: could not bind to address > >> > 64.166.164.49:80 > >> > no listening sockets available, shutting down > >> > Unable to open > >> > logs > [ > > Strace will probably reveal which log file can't be opened, something > like this will probably do the trick: > > strace /path/to/apache2 -D -d /path/to/apache2dir > > It took some bash tracing to fill out that command, but once that was done, it was obvious that the server was doing exactly what had been suggested above: trying to listen (bind(2) call) on 0.0.0.0:80 as well as my.host:80. I had not touched my configs in ages, so I guess some default snuck in there somehow; I suspect something to do with virtual hosts (which I do not need), but it was easy to find and fix. Now it comes up and serves my pages. However, my configs contain a few ScriptAlias directories, which are full of python programs. They are not being executed, but served up in source code form, even though they have an initial shebang and remain executable by all. So there must be some new thing to do besides defining a ScriptAlias directory. Anybody know what it is? -- Kevin O'Gorman, PhD
[gentoo-user] Re: Progress made, not done yet Re: All of a sudden, no apache2. No clue why.
On Tue, Aug 3, 2010 at 3:23 PM, Kevin O'Gorman wrote: [snip] > However, my configs contain a few ScriptAlias directories, which are full > of python programs. They are not being executed, but > served up in source code form, even though they have an initial shebang and > remain executable by all. So there must be some new thing to do besides > defining a ScriptAlias directory. Anybody know what it is? > > I see the same rules wherever I search, so I'm mystified. So here's the essential bit of the config, without even erasing the evidence that I was never able to get mod_python to work. I've tried all combinations of with/without slashes at the end of directory names. The usual starting point to see this stuff is http://hex.kosmanor.com/hex-bin/board, which is likely to show you some python code as things stand. ScriptAlias /hex-bin/ /hex/bin/ Options FollowSymLinks #AddHandler mod_python .py #PythonHandler hexscript #PythonDebug On Order allow,deny Allow from all ScriptAlias /my-bin/ /hex/hexTest/ AuthUserFile /etc/apache2/kosmanor/passwords AuthGroupFile /dev/null AuthName "OHex Advanced" AuthType Basic Require valid-user Options FollowSymLinks -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: Progress made, not done yet Re: All of a sudden, no apache2. No clue why.
On Tue, Aug 3, 2010 at 4:16 PM, Kyle Bader wrote: > Heyo Kevin, > > > > > AuthUserFile /etc/apache2/kosmanor/passwords > > AuthGroupFile /dev/null > > AuthName "OHex Advanced" > > AuthType Basic > > Require valid-user > > Options FollowSymLinks > > > > Try adding one of these in there: > > AddHandler cgi-script cgi pl > > Thanks, Kyle, you've been getting me closer and closer. If I'm starting to "get" the new stuff, AddHandler declares certain extensions. Up until last month, extensions were not required, and in fact my CGI programs have never had them. It used to be enough to use ScriptAlias, and put an executable in the directory. If it was a script with a shebang, or a compiled ELF program all was well. If I were going to use extensions, it would be .py or possibly .python, not .cgi or .pl. I see hints that the same sort of thing can still be accomplished, and I'd rather do that than break my RCS version sequence because of a name change. I'll report back. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: Progress made, not done yet Re: All of a sudden, no apache2. No clue why.
On Wed, Aug 4, 2010 at 10:04 AM, Kyle Bader wrote: > >> AddHandler cgi-script cgi py > >> > > Thanks, Kyle, you've been getting me closer and closer. > > If I'm starting to "get" the new stuff, AddHandler declares certain > > extensions. Up until last month, extensions were not required, and in > fact > > my CGI programs have never had them. It used to be enough to use > > ScriptAlias, and put an executable in the directory. If it was a script > > with a shebang, or a compiled ELF program all was well. If I were going > to > > use extensions, it would be .py or possibly .python, not .cgi or .pl. > > I totally meant to have it be py instead of pl, I guess pounding away > at perl all day yesterday warped my mind. > > It can have that effect :o) As near as I can tell from the logs, my problems started during a re-emerge of apache, not a new version (reasons unknown -- portage seems to be doing that more than I'm used to). I've started to wonder if I didn't just screw up the usual config file stuff I do with dispatch-conf, not realizing zapping the new would be best. Anyway, I'm going to be exploring. Do you have cgi working on apache2 (2.2.15), and if so, how things are arranged? I'll be trying to make a cgi out of a hello world in C, to see if my current config can CGI at all. If not, I'll be trying to back out config changes. What a mess! -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: Progress made, not done yet Re: All of a sudden, no apache2. No clue why.
I may have found the root of the problem: examine the following output of an eix query on apache, and note that the cgi stuff seems to be turned off in the installed version. [I] www-servers/apache Available versions: (2) 2.2.14-r1 2.2.15 {apache2_modules_actions apache2_modules_alias apache2_modules_asis apache2_modules_auth_basic apache2_modules_auth_digest apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbd apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_cern_meta apache2_modules_cgi apache2_modules_cgid apache2_modules_charset_lite apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_dbd apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_dumpio apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_ident apache2_modules_imagemap apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_log_forensic apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_proxy apache2_modules_proxy_ajp apache2_modules_proxy_balancer apache2_modules_proxy_connect apache2_modules_proxy_ftp apache2_modules_proxy_http apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_substitute apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_version apache2_modules_vhost_alias apache2_mpms_event apache2_mpms_itk apache2_mpms_peruser apache2_mpms_prefork apache2_mpms_worker debug doc ldap selinux ssl static suexec threads} Installed versions: 2.2.15(2)(04:01:06 PM 07/13/2010)(apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_auth_digest apache2_modules_authn_anon apache2_modules_authn_dbd apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_dbd apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_ident apache2_modules_imagemap apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_proxy apache2_modules_proxy_ajp apache2_modules_proxy_balancer apache2_modules_proxy_connect apache2_modules_proxy_http apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias doc ssl threads -apache2_modules_asis -apache2_modules_authn_alias -apache2_modules_cern_meta -apache2_modules_cgi -apache2_modules_cgid -apache2_modules_charset_lite -apache2_modules_dumpio -apache2_modules_log_forensic -apache2_modules_proxy_ftp -apache2_modules_substitute -apache2_modules_version -apache2_mpms_event -apache2_mpms_itk -apache2_mpms_peruser -apache2_mpms_prefork -apache2_mpms_worker -debug -ldap -selinux -static -suexec) Homepage:http://httpd.apache.org/ Description: The Apache Web Server. The installed version seems to have CGI turned off completely (notice "-" in installed version). I cannot find any reason either in /etc/portage/package.use nor in /usr/portage/profiles or its subdirectories. Is there someplace else to look? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: Progress made, not done yet Re: All of a sudden, no apache2. No clue why.
See SOLVED thread [snip all] -- Kevin O'Gorman, PhD
SOLVED: Re: [gentoo-user] Progress made, not done yet Re: All of a sudden, no apache2. No clue why.
On Thu, Aug 5, 2010 at 10:29 AM, Kevin O'Gorman wrote: > I may have found the root of the problem: examine the following output of > an eix query on apache, and note that the cgi stuff seems to be turned off > in the installed version. > [snip snip] > The installed version seems to have CGI turned off completely (notice "-" > in installed version). I cannot find any reason either in > /etc/portage/package.use nor in /usr/portage/profiles or its > subdirectories. > > Is there someplace else to look? > Well, I took the easy way out, and added those two options to /etc/portage/package.use for apache: www-servers/apache threads -ldap doc apache2_modules_cgi apache2_modules_cgid After a recompile and restart, my CGI scripts are running again. -- Kevin O'Gorman, PhD
[gentoo-user] GDBM incompatibility woes; any experts out there?
Around 2002, I started working on a project that involved a few simple database tables, and I wanted it simple, so I used python and the gdbm module. Since then, all has been well. Now I find that not only do the gdbm modules of python and perl reject my files, but so does a C program that uses the distributed libgdbm. Okay, so you think I broke my files somehow. I was afraid that was true, so I used the gdbm source I had in distfiles, configured it with default setup but did not install it. Instead I compiled it with my C test program, and set out to find the problem in the data, more or less expecting to spend a long time in the debugger. But lo and behold, it worked just fine. Now I'm suspecting that the ebuild does something (Large File support?) to the GDBM that it didn't used to do. I did not know when I started how much configuration information I was going to need, and so there's a configuation database. As it happens, I never put more than one record in it, so it's perfect for simple testing. The database is called dbhex.control, and the single record key is "control". I've attached it. I used this Makefile, with no targets or rules, just to get the flags I want: I have my testfile 'testgdbm.c' in the same directory with the makefile, and a gdbm-1.8.3 directory. I make testgdbm, run "testgdbm dbhex.control" and get exactly what I should. If I link against the Gentoo gdbm distribution, I get error 22 "invalid argument". Not knowing much about ebuilds, I'm not sure how to tell what has changed. Can anybody help me with: 1) why it fails now with Gentoo tools. 2) the best way to get it working again, preferably with both python and C. I expect there's either a compatibility flag, or I may need to do a file conversion. Overall, my databases run to about 3 gigabytes, so it's doable either way. Thanks in advance for any help. # Makefile for tests CC=gcc CFLAGS=-Wall -g -m32 -ansi LDFLAGS=-m32 gdbm-1.8.3/global.o gdbm-1.8.3/gdbmopen.o gdbm-1.8.3/gdbmerrno.o gdbm-1.8.3/gdbmclose.o gdbm-1.8.3/update.o gdbm-1.8.3/falloc.o gdbm-1.8.3/bucket.o gdbm-1.8.3/gdbmfetch.o gdbm-1.8.3/findkey.o gdbm-1.8.3/version.o gdbm-1.8.3/gdbmseq.o gdbm-1.8.3/hash.o My test file: /** * @file * * Program to test minimal functionality of the gdbm library on a known gdbm file. * * Last Modified: Mon Aug 9 12:01:32 PDT 2010 * @author Kevin O'Gorman */ #include #include #include #include #include #include void fatal(void) { fprintf(stderr, "Fatal function called\n"); fprintf(stderr, "Errno is %d\n", errno); exit(EXIT_FAILURE); } /** The main thing. * @param argc the number of tokens on the input line. * @param argv an array of tokens. * @return 0 on success, 1-255 on failure */ int main(int argc, char *argv[]) { datum key; datum value; datum nextkey; char longbucket[4096]; printf("Running with GDBM: %s\n", gdbm_version); if (argc !=2) { fprintf(stderr, "Usage:\n %s filename\n", argv[0]); exit(EXIT_FAILURE); } errno = 0; GDBM_FILE control = gdbm_open(argv[1], 1024, GDBM_READER, 0666, fatal); if (control == NULL) { perror("gdbm"); fprintf(stderr, "Open returned NULL\n"); fprintf(stderr, "Errno is %d\n", errno); exit(EXIT_FAILURE); } printf("is open\n"); key = gdbm_firstkey(control); while (key.dptr) { memcpy(longbucket, key.dptr, key.dsize); longbucket[key.dsize] = '\0'; printf("Key: %s", longbucket); value = gdbm_fetch(control, key); memcpy(longbucket, value.dptr, value.dsize); longbucket[value.dsize] = '\0'; printf(", val: \"%s\"\n", longbucket); free(value.dptr); nextkey = gdbm_nextkey(control, key); free(key.dptr); key = nextkey; } gdbm_close(control); printf("That's all, folks...\n"); return EXIT_SUCCESS; } /* vim: set et ai sts=2 sw=2: */ -- Kevin O'Gorman, PhD dbhex.control Description: Binary data Makefile Description: Binary data /** * @file * * Program to test minimal functionality of the gdbm library on a known gdbm file. * * Last Modified: Mon Aug 9 12:01:32 PDT 2010 * @author Kevin O'Gorman */ #include #include #include #include #include #include #define DBFILE "dbgames/ogdb-" void fatal(void) { fprintf(stderr, "Fatal function called\n"); fprintf(stderr, "Errno is %d\n", errno); exit(EXIT_FAILURE); } /** The main thing. * @param argc the number of tokens on the input line. * @param argv an array of tokens. * @return 0 on success, 1-255 on failure */ int main(int argc, char *argv[]) { datum key; datum value; datum nextkey; char longbucket[4096]; printf("Running with GDBM: %s\n", gdbm_version); if (argc !=2) { fprintf(stde
Re: [gentoo-user] Rooted/compromised Gentoo, seeking advice
On Mon, Aug 9, 2010 at 1:20 PM, Bill Longman wrote: > On 08/09/2010 01:08 PM, Robert Bridge wrote: > > On Mon, Aug 9, 2010 at 8:09 PM, Mick wrote: > >> There have been discussions on this list why sudo is a bad idea and sudo > on > >> *any* command is an even worse idea. You might as well be running > everything > >> as root, right? > > > > sudo normally logs the command executed, and the account which > > executes it, so while not relevant for single user systems, it STILL > > has benefits over running as root. > > ...excepting, of course, "sudo bash -l" which means you've given away > the keys to the kingdom. > > I actually prefer "sudo su -" -- as long as I'm giving it away! :o) -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: GDBM incompatibility woes; any experts out there?
On Mon, Aug 9, 2010 at 2:49 PM, walt wrote: > On 08/09/2010 12:33 PM, Kevin O'Gorman wrote: > > > ... > > Now I find that not only >> do the gdbm modules of python and perl reject my files, but so does a C >> program that uses the distributed >> libgdbm. >> > > You didn't say how long ago the problem started, but looking at the > files in sys-libs/gdbm I see nothing newer than March 20. Is your > problem newer than March 20? > > Have you tried running your test program with strace? > > I hadn't done anything with that application in over a year, so I did not have any way to narrow it down. As it happens, I had a sudden rush of brains to the head and read the ewarn message that comes out when you compile gdbm, to the effect that 32-bit systems may have to rebuild, etc, etc. As I suspected, it was LFS-related. Write it off as a case of RTFLog. Now all I have to do is discover why an ewarn wasn't emailed to me -- I thought I had that set up. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Rooted/compromised Gentoo, seeking advice
On Mon, Aug 9, 2010 at 6:18 PM, William Hubbs wrote: > On Mon, Aug 09, 2010 at 05:30:40PM -0700, Kevin O'Gorman wrote: > > On Mon, Aug 9, 2010 at 1:20 PM, Bill Longman > wrote: > > > I actually prefer "sudo su -" -- as long as I'm giving it away! :o) > > Afaik, there is no reason for "sudo su -" It should be either > > su - > > or, if you are using sudo, > > sudo -i > > The disadvantage of "su -" is that it requires the user to know the root > password. But, "sudo -i" does the same thing without requiring the user > to know the root password. > > You either didn't think or didn't actually try it. "sudo su -" needs a password, but it's the user password. Running su as root never needs a password. Accordingly, this works on a stock Ubuntu with no root password. "su -" requires the root password unless you're already root, and the root password may or may not exist. I didn't know about "sudo -i" (thanks), but when I tried "sudo -i" it immediately asked for a password, for which the user password was sufficient. So it's entirely equivalent to but slightly shorter than my version. I'll stick with mine because it's made of parts I already know and won't forget. I think that if sudoers don't need to enter passwords, they're still equivalent, but I have not tried this. -- Kevin O'Gorman, PhD
Re: [gentoo-user] python modules
On Wed, Aug 11, 2010 at 1:40 PM, Stéphane Guedon wrote: > Hi > > Is there a way to safely install python modules ? Except from portage > itself > (or do I need an overlay ?) > > Thanks > -- > > The ones in portage are best (that is, most likely to work and keep working). You can use an overlay for ones you cannot otherwise find, but then all maintenance is yours to do. -- Kevin O'Gorman, PhD
[gentoo-user] Help interpreting firefox e-log message
Firefox just re-emerged. I dunno why, but it's usually benign. But I get this message. LOG: install Fallback PaX marking -m /var/tmp/portage/www-client/firefox-3.6.8/image///usr/lib/mozilla-firefox/firefox LOG: postinst What in the world does this mean? pax is not in flagedit. I understand there's a kernel patch of the same name, but it's not in the source tree (AFAIK). -- Kevin O'Gorman, PhD
[gentoo-user] Handbrake: Is it is or is it ain't in portage
There's a program I really want to use, and I was hoping it existed in Gentoo. It's called handbrake. eix can't find it. equery cannot find it. But there's a bug (#89432) filed against it, with the last comment (#111) just 4 days ago. So where in the portage is handbrake-0.9.4.ebuild<http://bugs.gentoo.org/attachment.cgi?id=229397> ? WTF? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage
On Sun, Aug 15, 2010 at 6:45 PM, Stroller wrote: > > On 16 Aug 2010, at 01:43, Kevin O'Gorman wrote: > > There's a program I really want to use, and I was hoping it existed in >> Gentoo. >> It's called handbrake. eix can't find it. equery cannot find it. But >> there's >> a bug (#89432) filed against it, with the last comment (#111) just 4 days >> ago. >> >> So where in the portage is handbrake-0.9.4.ebuild? >> > > To expand on Dale's answer, Handbrake is unlikely ever to be in Portage. > I don't have that yet. Maybe it wasn't sent to the list. But thanks for that info. [snippage: why Gentoo does not like handbrake, plus how to try it anyway] > > I would have thought you'd already know this if you had fully read bug > #89432. > I might have, but reading 111 comments about a package I've never seen is more than my brain can do, but I had suspected something like the result: not gonna happen. I know that transcoding is a bit of a black art, but I'm not convinced > Handbrake is actually that good. Well, I'm a newb in video, but it was suggested to me by someone who uses it, so I wanted to try. My underling thing, if anyone can make other suggestions, is that my camera broke, and I had to get one in a hurry, and didn't really know what to look for. I wound up with a fairly good Sanyo 1080p camera and video recorder that's super light, and not too expensive. The problem is that its videos are MP4s, which are definitely not ready to put on a web site, and I know nothing about transcoding. My previous camera took acceptable .avi videos, which had worked with most folks browsers. The MP4s are huge and in a weakly supported format. I'm somewhere on the learning curve, obviously, but having trouble getting coherent advice. Kevin O'Gorman, PhD
[gentoo-user] Kernel 2.6.30 gets no network
I'm just trying kernel 2.6.30-gentoo-r6 and having the same trouble I had with 2.56.30-r4, so now I need to ask if I'm alone in this. I copied my .config from my 2.6.28-gentoo-r5, did "make oldconfig" and took the default action on everything (none of which seemed related to this problem). It boots okay and recognizes everything except my network interfaces (on the motherboard, but they're Intel chipset thingies:) Here's what "lspci" says about them on the good kernel: 07:02.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0d) 07:03.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0d) The 2.6.30-gentoo-r6 kernel does not bring them up, and a manual attempt to do so in /etc/init.d errors out with a claim the interfaces do not exist. Anybody else seen this or can give guidance? -- Kevin O'Gorman, PhD
[gentoo-user] Re: Kernel 2.6.30 gets no network
On Sun, Sep 13, 2009 at 3:42 AM, Kevin O'Gorman wrote: > I'm just trying kernel 2.6.30-gentoo-r6 and having the same trouble I had > with 2.56.30-r4, so now I need to ask if I'm alone in this. > > I copied my .config from my 2.6.28-gentoo-r5, did "make oldconfig" and took > the default action on everything (none of which seemed related to this > problem). It boots okay and recognizes everything except my network > interfaces (on the motherboard, but they're Intel chipset thingies:) > > Here's what "lspci" says about them on the good kernel: > > 07:02.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro > 100 (rev 0d) > 07:03.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro > 100 (rev 0d) > > The 2.6.30-gentoo-r6 kernel does not bring them up, and a manual attempt to > do so in /etc/init.d errors out with a claim the interfaces do not exist. > > Anybody else seen this or can give guidance? > > Umm. I just looked at the .config files, and it appears the interfaces are supported by the config option CONFIG_EEPRO100=y which is not even present in the 2.6.30 file. Eeeek! Is my system now unsupportable? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: Kernel 2.6.30 gets no network
On Sun, Sep 13, 2009 at 4:36 AM, Dirk Heinrichs wrote: > Am Sonntag 13 September 2009 13:04:37 schrieb Arttu V.: > > On 9/13/09, Nikos Chantziaras wrote: > > > On 09/13/2009 01:48 PM, Kevin O'Gorman wrote: > > >> On Sun, Sep 13, 2009 at 3:42 AM, Kevin O'Gorman > >> <mailto:kogor...@gmail.com>> wrote: > > >> Umm. I just looked at the .config files, and it appears the > interfaces > > >> are supported by the config option CONFIG_EEPRO100=y > > >> which is not even present in the 2.6.30 file. Eeeek! Is my system now > > >> unsupportable? > > > > > > It's CONFIG_E100: > > > > > Yes, a different(?) driver is to be used apparently (code duplication > > reductions?): > > > > "e100: add support for 82552 10/100 adapter" > > Yep. It's these kind of changes that make me go through make menuconfig > once > after major version upgrades. > > BTW: There's no need for "make oldconfig" in this case. > > Maybe things have changed since the dark ages when I started using Gentoo. Back then, occasional mayhem would ensue if you tried using an old .config. Sometimes. So I'm keeping this habit -- it also gives me a heads-up about new features. > Bye... > >Dirk > > -- Kevin O'Gorman, PhD
Re: [gentoo-user] Fed up with Xorg + hal mess
On Tue, Oct 6, 2009 at 10:22 AM, Florian Philipp < li...@f_philipp.fastmail.net> wrote: > alain.didierj...@free.fr schrieb: > > Definitly, an update shouldn't break an existing working configuration! > This > > happens these days only too often with the Xorg + hal mess. > > I happen to use linux as a working tool and 3 days without being able to > launch > > a working X is a source of problems! This is the second time. As for hal > config, > > the author should remember that ol'saying:KISS for Keep It Simple, > Stupid. > > Now, with or without /etc/X11/xorg.conf, my machine (amd64), updated to > > libxcb-1.4, xorg-1.6 and hal last version launches X all right, only > mouse and > > keyboard are not working ! > > A line in /var/log/Xorg.0.log says: > > (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or > 'vmmouse' > > will be disabled. > > Where is that b. AllowEmptyOption ? certainly not in xorg.conf. > > How do I get back some input on X screen ? > > I also get (with xorg.conf) > > (EE) Failed to load module "type1" (module doesn't exist, 0) > > (EE) Failed to load module "evdev" (module doesn't exist, 0) > > Please help before I turn crazy (it might be too late) > > > > With 'launches X' do you mean your desktop environment (login -> startx) > or xdm/kdm/gdm? > > In any case, try to add > > Option "AllowEmptyInput" "false" > > to your xorg.conf Section "ServerLayout" > > However, for me this has tripled any key press and also messed up some > other things. > > You (and anyone else, actually) might also want to add > > Option "XkbOptions" "terminate:ctrl_alt_bksp" > > to the Section "InputDevice" of your keyboard. This will reenable > Ctrl+Alt+Backspace for killing X. > > This is interesting, and I'd like to try it, but my xorg.conf does not have an "InputDevice" section, or anything specific about keyboards or mice. How should I add this safely? ++ kevin > For me, X started to work again after removing ~/.Xauthority. > > -- Kevin O'Gorman, PhD
[gentoo-user] Large update blocked
I may put this off until Xmas break (I cannot afford to wedge this system right now), but I'm worried by the results of an emerge --pretend: It looks like 20 packages or so want eselect-1.2.3, but it's blocked by eselect-news which is required by world. Is there a sane way through this update? Details below. ++ kevin [blocks B ] app-admin/eselect-news ("app-admin/eselect-news" is blocking app-admin/eselect-1.2.3) Total: 61 packages (56 upgrades, 5 new), Size of downloads: 41,445 kB Conflict: 1 block (1 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. ('ebuild', '/', 'app-admin/eselect-1.2.3', 'merge') pulled in by >=app-admin/eselect-1.0.2 required by ('installed', '/', 'app-admin/eselect-python-20090824', 'nomerge') >=app-admin/eselect-1.0.10 required by ('installed', '/', 'app-admin/eselect-ecj-0.3', 'nomerge') app-admin/eselect required by ('installed', '/', 'app-office/openoffice-3.1.1', 'nomerge') (and 18 more) ('installed', '/', 'app-admin/eselect-news-20080320', 'nomerge') pulled in by app-admin/eselect-news required by world For more information about Blocked Packages, please refer to the following section of the Gentoo Linux x86 Handbook (architecture is irrelevant): http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: Large update blocked
On Wed, Oct 7, 2009 at 7:40 AM, Doug Hunley wrote: > On Tue, Oct 6, 2009 at 23:15, Frank Steinmetzger wrote: > >> Is there a sane way through this update? > > > > Just remove eselect-news. From looking at eselect's ebuild I deduce that > its > > functionality is taken over by eselect itself. > > I had the same thing a while back. The above is correct. Remove > eselect-news as the functionality is now in eselect. > > The sleep deprivation must have been worse than I thought. I was interpreting 'world' as if it were 'system'. My bad. ++ kevin -- Kevin O'Gorman, PhD
[gentoo-user] Desperately seeking modelines; xorg 1.6.3.901-r2 bleeds off the edges
I normally stay logged in forever, even after updates. I'm both busy and lazy. However, the Xorg flurry seemed to have died down, so I took the plunge and rebooted. Oops. It had not re-emerged xf86-input-* for me, a case that I think should be handled automatically -- I use a source distro because I want to be able to tweak it, not so that it can force me to do so at arbitrary, inconvenient and unpredictable intervals. That was easily solved by searching my gmail archive, which in my case contains only the contents of technical mailing lists. Gmail seemed to me perfect for that. Others had already solved that problem, and I re-emerged. The bigger problem is that now Xorg is trying to display things off the left and right edges of my monitor. By adjusting the monitor I see that there are 24 pixels of stuff bleeding off the edge -- enough to lose a close box, for instance. My Xorg.conf does specify some details about the monitor, but no modeline. I had to put that stuff in there originally to get my preferred 1280x1024 resolution. Do I need to go back to the days of modlines? Xorg.conf is attached. ++ kevin -- Kevin O'Gorman, PhD xorg.conf Description: Binary data
Re: [gentoo-user] Desperately seeking modelines; xorg 1.6.3.901-r2 bleeds off the edges
On Sat, Oct 17, 2009 at 11:03 AM, Dirk Heinrichs wrote: > Am Samstag 17 Oktober 2009 19:21:46 schrieb Kevin O'Gorman: > > My Xorg.conf does specify some details about the monitor, but no > modeline. > > I had to put that stuff in there originally to get my preferred 1280x1024 > > resolution. Do I need to go back to the days of modlines? Xorg.conf is > > attached. > > Did you try X -configure? Or even without xorg.conf? > > Bye... > >Dirk > I did. I was forced to by the behavior of X without them. That whole thing started out as the results of X -configure. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Desperately seeking modelines; xorg 1.6.3.901-r2 bleeds off the edges
On Sat, Oct 17, 2009 at 10:29 AM, Volker Armin Hemmann < volkerar...@googlemail.com> wrote: > On Samstag 17 Oktober 2009, Kevin O'Gorman wrote: > > I normally stay logged in forever, even after updates. I'm both busy and > > lazy. However, the Xorg flurry seemed to have died down, so I took the > > plunge and rebooted. Oops. > > > > > > It had not re-emerged xf86-input-* for me, a case that I think should be > > handled automatically -- I use a source distro because I want to be able > to > > tweak it, not so that it can force me to do so at arbitrary, inconvenient > > and unpredictable intervals. > > > > > > gentoo is about 'doing it yourself' and 'emancipation of the user' and not > about 'holding your hand'. It is not gentoo's fault if you act stupid. > > > > > My Xorg.conf does specify some details about the monitor, but no > modeline. > > I had to put that stuff in there originally to get my preferred 1280x1024 > > resolution. Do I need to go back to the days of modelines? Xorg.conf is > > attached. > > Section "Monitor" >Identifier "Monitor0" >VendorName "WDE" >ModelName"LCM-20v5" >Option "DPMS" > EndSection > > ? > Opinions differ about what constitutes stupidity. I'm not much interested in yours and I don't speak about mine, in part because neither one clarifies anything. Opinions about usefulness are another matter. Why not dispense with portage and have everyone compile their own from tarballs -- just publish a list of packages and patches; then you'd really not be holding hands. It seems to be a matter of degrees and judgement. Modifying the monitor section made no noticeable change. There's still a 24-pixel bleed off the right edge to begin with. I can fool with settings to make it bleed left instead, but there's no setting that affects pixel spacing. I like the cleaner monitor section, though. I'm back to thinking about modelines. Any better ideas? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Desperately seeking modelines; xorg 1.6.3.901-r2bleeds off the edges
On Sat, Oct 17, 2009 at 11:57 AM, Richard Marza wrote: > > > - Original Message - > *From:* Kevin O'Gorman > *To:* gentoo-user@lists.gentoo.org > *Sent:* Saturday, October 17, 2009 2:42 PM > *Subject:* Re: [gentoo-user] Desperately seeking modelines; xorg > 1.6.3.901-r2bleeds off the edges > > On Sat, Oct 17, 2009 at 11:03 AM, Dirk Heinrichs > wrote: > >> Am Samstag 17 Oktober 2009 19:21:46 schrieb Kevin O'Gorman: >> > My Xorg.conf does specify some details about the monitor, but no >> modeline. >> > I had to put that stuff in there originally to get my preferred >> 1280x1024 >> > resolution. Do I need to go back to the days of modlines? Xorg.conf is >> > attached. >> >> Did you try X -configure? Or even without xorg.conf? >> >> Bye... >> >>Dirk >> > > > I did. I was forced to by the behavior of X without them. That whole > thing started out as the results of X -configure. > > -- > Kevin O'Gorman, PhD > > -- > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.421 / Virus Database: 270.14.20/2441 - Release Date: 10/16/09 > 18:39:00 > > > > > Just use gtf to get your desired modeline. > > That was a complete bust. I added the one I wanted and one for 1024x768 as a fallback. "xdm restart" and black screen forever, including trying to get to the fallback. Here's what gtf gave me: # 1280x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 108.88 MHz Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync # 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync I put them in the Display section of Screen with depth 24. Comment them out and all is okay. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Desperately seeking modelines; xorg 1.6.3.901-r2 bleeds off the edges
On Sat, Oct 17, 2009 at 12:18 PM, Alan McKinnon wrote: > On Saturday 17 October 2009 20:58:00 Kevin O'Gorman wrote: > > > Modifying the monitor section made no noticeable change. There's still a > > 24-pixel bleed off the right edge to begin with. I can fool with > settings > > to make it bleed left instead, but there's no setting that affects pixel > > spacing. I like the cleaner monitor section, though. > > > > I'm back to thinking about modelines. Any better ideas? > > I'd try adjust the frequencies first, then try modelines. > > -- > alan dot mckinnon at gmail dot com > > I'd try that too if I had a clue how to do it, let alone do it safely. Got any pointers to FMs? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Desperately seeking modelines; xorg 1.6.3.901-r2bleeds off the edges
On Sat, Oct 17, 2009 at 12:22 PM, Richard Marza wrote: > > > - Original Message - > *From:* Kevin O'Gorman > *To:* gentoo-user@lists.gentoo.org > *Sent:* Saturday, October 17, 2009 2:58 PM > *Subject:* Re: [gentoo-user] Desperately seeking modelines; xorg > 1.6.3.901-r2bleeds off the edges > > On Sat, Oct 17, 2009 at 10:29 AM, Volker Armin Hemmann < > volkerar...@googlemail.com> wrote: > >> On Samstag 17 Oktober 2009, Kevin O'Gorman wrote: >> > I normally stay logged in forever, even after updates. I'm both busy >> and >> > lazy. However, the Xorg flurry seemed to have died down, so I took the >> > plunge and rebooted. Oops. >> > >> > >> > It had not re-emerged xf86-input-* for me, a case that I think should be >> > handled automatically -- I use a source distro because I want to be able >> to >> > tweak it, not so that it can force me to do so at arbitrary, >> inconvenient >> > and unpredictable intervals. >> > >> > >> >> gentoo is about 'doing it yourself' and 'emancipation of the user' and not >> about 'holding your hand'. It is not gentoo's fault if you act stupid. >> >> > >> > My Xorg.conf does specify some details about the monitor, but no >> modeline. >> > I had to put that stuff in there originally to get my preferred >> 1280x1024 >> > resolution. Do I need to go back to the days of modelines? Xorg.conf >> is >> > attached. >> >> Section "Monitor" >>Identifier "Monitor0" >>VendorName "WDE" >>ModelName"LCM-20v5" >>Option "DPMS" >> EndSection >> >> ? >> > > Opinions differ about what constitutes stupidity. I'm not much interested > in yours and I don't speak about mine, in part because neither one clarifies > anything. Opinions about usefulness are another matter. Why not dispense > with portage and have everyone compile their own from tarballs -- just > publish a list of packages and patches; then you'd really not be holding > hands. It seems to be a matter of degrees and judgement. > > Modifying the monitor section made no noticeable change. There's still a > 24-pixel bleed off the right edge to begin with. I can fool with settings > to make it bleed left instead, but there's no setting that affects pixel > spacing. I like the cleaner monitor section, though. > > I'm back to thinking about modelines. Any better ideas? > > > -- > Kevin O'Gorman, PhD > > -- > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.421 / Virus Database: 270.14.20/2441 - Release Date: 10/16/09 > 18:39:00 > > > > > > Let's not rule-out the possibility that this might be an issue with a bad > video card. I once thought I had a bad monitor because of horizontal and > vertical bleeding and it turned out to be the video card. Try the modelines, > if it does not work, swap video cards. Below is a section pertaining to > modelines from my config. User gtf to generate proper modelines for your > monitor. > > you can omit the identifier if you don't have a 22 inch minitor. > > Section "Modes" > Identifier "16:10" > # > # Modelines for attached projectors. > # Occasionally in town halls you meet ancient donated projectors > # that can cope only with low resolutions. > # > # HorxVer @ clock hsync = clock * Vtotpclk = hsync * Htot > # ModeLine"HorxVer" pclk Hor Hstart Hend Htot Ver Vstart Vend > Vtot [Interlace] > # > # 640x480 @ 60.00 Hz (GTF) hsync: 31.50 kHz; pclk: 25.20 MHz > # ModeLine"640x480" 25.20 640 664 760 800 480 491 493 525 > # > # 800x600 @ 60.00 Hz (GTF) hsync: 37.68 kHz; pclk: 39.79 MHz > # ModeLine"800x600" 39.79 800 856 1040 1056 600 600 616 628 > # > # 1024x768 @ 60.00 Hz (GTF) hsync: 48.36 kHz; pclk: 65.00 MHz > # ModeLine"1024x768" 65.00 1024 1032 1176 1344 768 771 777 > 806 > # > # 1024x768 @ 60.00 Hz (GTF) hsync: 29.97 kHz; pclk: 37.88 MHz > # ModeLine"1024x768" 37.88 1024 1048 1208 1264 768 776 784 > 999 Interlace > # > # Modelines for the native 16:10 LCD screen. > # > # 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz > ModeLine"1280x800" 83.46 1280 1344 1480 1680 800 801 804 > 828 > # > # 1680x1050 @ 60.00 Hz (GTF)
Re: [gentoo-user] Desperately seeking modelines; xorg 1.6.3.901-r2 bleeds off the edges
On Sat, Oct 17, 2009 at 12:34 PM, Alan McKinnon wrote: > On Saturday 17 October 2009 21:26:41 Kevin O'Gorman wrote: > > On Sat, Oct 17, 2009 at 12:18 PM, Alan McKinnon > wrote: > > > On Saturday 17 October 2009 20:58:00 Kevin O'Gorman wrote: > > > > Modifying the monitor section made no noticeable change. There's > still > > > > a 24-pixel bleed off the right edge to begin with. I can fool with > > > > > > settings > > > > > > > to make it bleed left instead, but there's no setting that affects > > > > pixel spacing. I like the cleaner monitor section, though. > > > > > > > > I'm back to thinking about modelines. Any better ideas? > > > > > > I'd try adjust the frequencies first, then try modelines. > > > > > > -- > > > alan dot mckinnon at gmail dot com > > > > > > I'd try that too if I had a clue how to do it, let alone do it safely. > > > Got > > > > any pointers to FMs? > > Safe frequency ranges are in the monitor's documentation. Do you have docs > for > your monitor (I'm using it's a CRT). > > You can safely reduce either horiz or vert range. As the electronics[1] > age, > the monitor's ability to correctly sync the start of the picture with the > start of the display area deteriorates, especially at the upper bound. If > reducing the upper bound of the horiz setting improves matters, that is > indicative of this happening. > > [1] more specifically, electrolytic capacitors. They are temperature- > sensitive. Silicon does not "wear out" as such. > > -- > alan dot mckinnon at gmail dot com > > I have docs. They are not very informative. When I start it up, the left edge is fine, which is the sync edge. Because of that and because I can adjust positioning left and right, and because the problem arose abruptly with the reboot to a new Xorg, I rate the probability of hardware problems low (but not zero of course). It appears to be a problem of horizontal spacing of the pixels. At it stands there is not room for the last 24. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Desperately seeking modelines; xorg 1.6.3.901-r2bleeds off the edges
On Sat, Oct 17, 2009 at 12:39 PM, Richard Marza wrote: > > > - Original Message - > *From:* Kevin O'Gorman > *To:* gentoo-user@lists.gentoo.org > *Sent:* Saturday, October 17, 2009 3:26 PM > *Subject:* Re: [gentoo-user] Desperately seeking modelines; xorg > 1.6.3.901-r2bleeds off the edges > > On Sat, Oct 17, 2009 at 12:18 PM, Alan McKinnon > wrote: > >> On Saturday 17 October 2009 20:58:00 Kevin O'Gorman wrote: >> >> > Modifying the monitor section made no noticeable change. There's still >> a >> > 24-pixel bleed off the right edge to begin with. I can fool with >> settings >> > to make it bleed left instead, but there's no setting that affects pixel >> > spacing. I like the cleaner monitor section, though. >> > >> > I'm back to thinking about modelines. Any better ideas? >> >> I'd try adjust the frequencies first, then try modelines. >> >> -- >> alan dot mckinnon at gmail dot com >> >> I'd try that too if I had a clue how to do it, let alone do it safely. > Got any pointers to FMs? > > > > If you have a flat panel it will not mess up your monitor because they have > safeguards against that and also modelines don't go in the monitor or > screens section...they go in the modes section...did u try what i mentioned > in my last post. > > > > It's a flat panel. I did not know what to do with your last post, as the modelines were not acceptable. The actual rates the monitor is showing now are 54.2KHz and 60.2Hz, which are well within specs. I chose the section from memory. In the pre-Xorg-pre-XFree days I seem to recall using different modelines at different depths. Modes section all by itself, not a subsection? I'll try that. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Desperately seeking modelines; xorg 1.6.3.901-r2bleeds off the edges
On Sat, Oct 17, 2009 at 12:56 PM, Richard Marza wrote: > Original Message - > > *From:* Kevin O'Gorman > *To:* gentoo-user@lists.gentoo.org > *Sent:* Saturday, October 17, 2009 3:42 PM > *Subject:* Re: [gentoo-user] Desperately seeking modelines; xorg > 1.6.3.901-r2bleeds off the edges > > On Sat, Oct 17, 2009 at 12:34 PM, Alan McKinnon > wrote: > >> On Saturday 17 October 2009 21:26:41 Kevin O'Gorman wrote: >> > On Sat, Oct 17, 2009 at 12:18 PM, Alan McKinnon >> wrote: >> > > On Saturday 17 October 2009 20:58:00 Kevin O'Gorman wrote: >> > > > Modifying the monitor section made no noticeable change. There's >> still >> > > > a 24-pixel bleed off the right edge to begin with. I can fool with >> > > >> > > settings >> > > >> > > > to make it bleed left instead, but there's no setting that affects >> > > > pixel spacing. I like the cleaner monitor section, though. >> > > > >> > > > I'm back to thinking about modelines. Any better ideas? >> > > >> > > I'd try adjust the frequencies first, then try modelines. >> > > >> > > -- >> > > alan dot mckinnon at gmail dot com >> > > >> > > I'd try that too if I had a clue how to do it, let alone do it safely. >> > > Got >> > >> > any pointers to FMs? >> >> Safe frequency ranges are in the monitor's documentation. Do you have docs >> for >> your monitor (I'm using it's a CRT). >> >> You can safely reduce either horiz or vert range. As the electronics[1] >> age, >> the monitor's ability to correctly sync the start of the picture with the >> start of the display area deteriorates, especially at the upper bound. If >> reducing the upper bound of the horiz setting improves matters, that is >> indicative of this happening. >> >> [1] more specifically, electrolytic capacitors. They are temperature- >> sensitive. Silicon does not "wear out" as such. >> >> -- >> alan dot mckinnon at gmail dot com >> >> I have docs. They are not very informative. > > When I start it up, the left edge is fine, which is the sync edge. Because > of that and because I can adjust positioning left and right, and because the > problem arose abruptly with the reboot to a new Xorg, I rate the probability > of hardware problems low (but not zero of course). > > It appears to be a problem of horizontal spacing of the pixels. At it > stands there is not room for the last 24. > > -- > Kevin O'Gorman, PhD > > -- > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.421 / Virus Database: 270.14.20/2441 - Release Date: 10/16/09 > 18:39:00 > > > What type of monitor do you have? > > How old is it? > > What is the screen size? > > What exactly do you mean by bleeding edges? Does the gui scroll when you > move you mouse towards the edges? is that what you mean by bleeding? > > Another thing; Do you have the monitor manual? It will tell you the proper > H and V sync rates at certain resolutions. > > Are you sure it supports that resolution? > > > It's as listed in the xorg.conf above: I can be sure because it's Westinghouse. It's a flat-screen. It's a couple of years old, I guess. It's new enough to talk to X and report: (II) MACH64(0): clock: 121.8 MHz Image Size: 410 x 308 mm which agrees with my ruler. In inches a little over 16" x 12" visible. The video card is sending all 1280 dot columns. I have a control on the monitor called "H position" and I can scroll one pixel at a time to change which 1256 dot columns I want to see of the 1280 that are sent. The image does not scroll with mouse movement. I have the manual. You are way over-optimistic about its contents. I had no better luck on the web site. The limits I've posted were acquired by X from the monitor itself. The monitor did fine until I rebooted yesterday. Its on-screen display shows it thinks it's doing 1280x1...@60hz. It's close of course, but not quite there. -- Kevin O'Gorman, PhD
SOLVED Re: [gentoo-user] Desperately seeking modelines; xorg 1.6.3.901-r2bleeds off the edges
SOLVED On Sat, Oct 17, 2009 at 1:57 PM, Keith Dart wrote: > === On Sat, 10/17, Kevin O'Gorman wrote: === > > It's a flat panel. > === > > In that case I'd first try the monitor's own auto-adjust feature. > Usually this is available by pressing some "menu" key on your monitor. > > Okay, I just tried anything that might be such a feature. And the winner is "reset". > If that doesn't work then make sure you have DDC support in your driver > and enable it. You monitor is new enough that it should just work after > being queried by DDC. > > Good thing the above worked. I would have been a while figuring out how to do that one. > > > -- Keith Dart > > -- > -- > Keith Dart > > === > > -- Kevin O'Gorman, PhD
Re: [gentoo-user] Desperately seeking modelines; xorg 1.6.3.901-r2bleeds off the edges
SOLVED On Sat, Oct 17, 2009 at 1:57 PM, Keith Dart wrote: > === On Sat, 10/17, Kevin O'Gorman wrote: === > > It's a flat panel. > === > > In that case I'd first try the monitor's own auto-adjust feature. > Usually this is available by pressing some "menu" key on your monitor. > > If that doesn't work then make sure you have DDC support in your driver > and enable it. You monitor is new enough that it should just work after > being queried by DDC. > > > > -- Keith Dart > > -- > -- > Keith Dart > > === > > -- Kevin O'Gorman, PhD
[gentoo-user] OT? How to capture error messages from glibc
This may be OT, inasmuch as it's not gentoo-specific. It's here because my system runs Gentoo and I don't know where else to ask. If it annoys, just point me in the right direction to where it will not be OT, please. I'm trying to write scripts to help me grade student submissions in a systems programming course. Students are just learning about malloc/free and some are floundering. I'm seeing lots of errors that are caught by glibc (with some help from compiling with -D_FORTIFY_SOURCE=2), but I would like instead to capture those messages in a file. It appears that glibc does not use stdin or stderr for these messages, since I cannot redirect them. I suspect they are being sent to /dev/tty. Is there any wizardry that would allow capture of these messages? I know that somehow the script(1) command captures such stuff, but it's not useable since I want all of this scripted and ironically script(1) does not seem to play nice with scripts. I also know that this is about to tip me into the abyss of session leaders and controlling terminals, but I'll try to be brave. -- Kevin O'Gorman, PhD
[gentoo-user] portage sends faulty emails
I've just finished a massive amount of emerging, and a funny thing has happened -- portage has started to send me messages. This seems like a good idea, but they are all bouncing. I'm not sure where it's happening, but "localhost" is being glued onto the real sender domain to form localhost.kosmanor.com -- which does not exist -- causing a bounce from my email provider. It's better than nothing, because the headers tell me which package is at issue, and I can look up the elog entry. But it could be better. Anybody have a fix? -- Kevin O'Gorman, PhD
[gentoo-user] X86 stable emerged a bunch of KDE 4 things. How to use them?
Having just emerged what looked like a couple of hundred things, many of them KDE-4 related, I'm surprised that on reboot I'm still running KDE 3.5. Moreover, there's only /usr/kde/3.5, no 4*. The only change I noticed was in the background of the login dialog. One guess is that the flood of newly-stable things in incomplete. But I have not been watching the news, so I don't know. Should I just wait, or is there something I should be doing? ++ kevin
Re: [gentoo-user] portage sends faulty emails
On Sun, Oct 25, 2009 at 11:13 AM, Neil Bothwick wrote: > On Sun, 25 Oct 2009 10:46:19 -0700, Kevin O'Gorman wrote: > > > This seems like a good idea, but they are all bouncing. I'm not sure > > where it's happening, but "localhost" is being glued onto the real > > sender domain to form localhost.kosmanor.com -- which does not exist -- > > causing a bounce from my email provider. > > > Are you using ssmtp to send them? If so, you need to set hostname > in /etc/ssmtp/ssmtp.conf. > > > -- > Neil Bothwick > > "I need your clothes, your boots, and your tagline!" > I have no idea how they are being sent. This just started autonomously. I don't even know off hand what ssmtp is. ++ kevin -- Kevin O'Gorman, PhD
Re: [gentoo-user] portage sends faulty emails
On Sun, Oct 25, 2009 at 3:24 PM, Mick wrote: > On Sunday 25 October 2009 18:13:19 Neil Bothwick wrote: > > On Sun, 25 Oct 2009 10:46:19 -0700, Kevin O'Gorman wrote: > > > This seems like a good idea, but they are all bouncing. I'm not sure > > > where it's happening, but "localhost" is being glued onto the real > > > sender domain to form localhost.kosmanor.com -- which does not exist > -- > > > causing a bounce from my email provider. > > > > Are you using ssmtp to send them? If so, you need to set hostname > > in /etc/ssmtp/ssmtp.conf. > > Have a look at: > > http://www.destr0yr.com/article.php/Gmail_and_sSMTP > > to get an idea how to set up yours. > -- > Regards, > Mick > I use gmail for mailing lists that I subscribe to. Their archiving is a perfect feature for me. However, I do not wish to use it for anything else. The email headers do not indicate that the offending traffic went through google, but prodigy.net does appear. I do have a postfix instance running, but the only thing I expect it to do is a bit of spam filtering on the odd email that comes to me directly, and then send it to my ISP. The traffic seems to originate on my system, is sent (SMTP?) to my ISP (because of the TO: address), and then the story gets a bit muddy, because I'm not sure which entity objects to the sender address. -- Kevin O'Gorman, PhD
Re: [gentoo-user] portage sends faulty emails
On Sun, Oct 25, 2009 at 5:04 PM, Neil Bothwick wrote: > On Sun, 25 Oct 2009 15:58:53 -0700, Kevin O'Gorman wrote: > > > > Are you using ssmtp to send them? If so, you need to set hostname > > > in /etc/ssmtp/ssmtp.conf. > > > I have no idea how they are being sent. This just started > > autonomously. I don't even know off hand what ssmtp is. > > What does "emerge --info -v | grep ELOG" show. > > ssmtp is a minimal mail relay server, installed as part of @system. > > > -- > Neil Bothwick > > The people who are wrapped up in themselves are overdressed. > It shows the below. So it appears I've been asking for email all along, but only just now was it even working enough to fail visibly. But: there is no /etc/ssmtp directory, let alone a config file. That could explain a lot, but I need some help fixing it. PORTAGE_ELOG_CLASSES="info, warn, error, log" PORTAGE_ELOG_MAILFROM="port...@localhost" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="root" PORTAGE_ELOG_SYSTEM="save mail" -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug
On Wed, Dec 2, 2009 at 5:45 AM, Nikos Chantziaras wrote: > On 12/02/2009 12:51 PM, Alan McKinnon wrote: > >> On Tuesday 01 December 2009 18:02:48 Nikos Chantziaras wrote: >> >>> Everyone should read the following and follow the advice given: >>> >>> >>> http://blog.flameeyes.eu/2009/12/01/gentoo-service-announcement-keep-clear- >>> of-gnu-patch-2-6 >>> >>> >> >> >> I emerged patch-2.60 when it hit ~amd64 then downgraded it 10 days later >> when >> a report on b.g.o. showed it was affecting OOo. >> >> Right in the middle of those 10 days, I ran this: >> >> emerge -e world >> >> >> > > Yep, this bug was a major annoyance for me too. I emerged patch-2.6 on > November 15 and since then, being on ~amd64, a *lot* of other packages. > After downgrading, I needed to rebuild about 300 packages, including all of > KDE4, Qt, Firefox and OpenOffice. > > Quite amazing how much damage a bug in a small package like this can have > on a source-based distro... > For which reason I'm quite happy to be running stable except for specific package releases that I put in package.unmask. Patch-2.6 has been ~x86 all along, so I've been running 2.5.9 continuously since March of 2008. -- Kevin O'Gorman, PhD
[gentoo-user] What's happening to six-0.5.3?
I've been playing with this game (hex) using six through many revisions. It now appears that the latest version has been hard masked. I wonder why. I don't see anything wrong in its function, even under KDE 4, although it does not show up in my menus without help. It has not undergone an upgrade in a few years, but it was still entered in the Computer Olympiad in 2009. It didn't win, but made a fair showing. -- Kevin O'Gorman, PhD
[gentoo-user] Where oh where has my vol_id gone
I used to have a vol_id command to discover the UUIDs of my partitions. I just connected some new SATA drives and I cannot find that utility. Did I just imagine it, or has something else happened? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Where oh where has my vol_id gone
On Sun, Jan 24, 2010 at 2:40 AM, Mick wrote: > On Sunday 24 January 2010 03:53:21 Kevin O'Gorman wrote: > > I used to have a vol_id command to discover the UUIDs of my partitions. > I > > just connected some new SATA drives and I cannot find that utility. Did > I > > just imagine it, or has something else happened? > > > > Hmm, perhaps udev-tools or whichever package that command belonged to has > changed? > > Can you run: blkid and see what you get? > > BINGO! Thank you very much. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Where oh where has my vol_id gone
On Sun, Jan 24, 2010 at 6:31 AM, Stroller wrote: > > On 24 Jan 2010, at 03:53, Kevin O'Gorman wrote: > > I used to have a vol_id command to discover the UUIDs of my partitions. >> I just connected some new SATA drives and I cannot find that utility. Did I >> just imagine it, or has something else happened? >> > > Sorry if this is a dumb response, but have you partitioned &/or formatted > them? > > Here I would use `ls -lG /dev/disk/by-uuid/` to find UUIDs. A drive that > was hot-swapped in, partitioned & formatted since the system was booted is > showing. > > Please excuse me if I'm misunderstanding your question. > > Stroller. > > As it happens, these were Fantom Green drives, which come with NTFS, but I had just reformatted with ext4. Thanks, though, I didn't know about that /dev/disk thing either... -- Kevin O'Gorman, PhD
[gentoo-user] Python kerflooie = portage kaboom; need help or advice
I think the portage here just died of a python bite. Skipping to the bottom line, Python is complaining there's no package named "path". However, I can "import os.path" which is what I usually do. So I'm not sure what's actually broken, or how to fix it. Help please? I've put some brief details below. ++ kevin I did my usual emerge -aDvu world and there was nothing to do, so I said "no", and expected a prompt. Nope. I hit control-C and got the following: > Nothing to merge; do you want me to auto-clean packages? [Yes/No] no > > Quitting. > > > > treat root # !!! global name 'portageexit' is not defined in //etc/make.conf > !!! Incorrect multiline literals can cause this. Do not use them. > > treat root # I didn't (and still don't) know what that really means. I didn't worry about it too much. But later, I went to do the same command, and it died almost immediately, telling me that Python had bit the dust (or just bit portage). I haven't explored much else yet. > treat root # emerge -aDvu world; etc-update > > These are the packages that I would merge, in order: > > Calculating world dependencies ...done! > > Total size of downloads: 0 kB > > Nothing to merge; do you want me to auto-clean packages? [Yes/No] no > > Quitting. > > > treat root # 'import site' failed; use -v for traceback > > > !!! Failed to complete python imports. There are internal modules for > !!! python and failure here indicates that you have a problem with python > !!! itself and thus portage is no able to continue processing. > > !!! You might consider starting python with verbose flags to see what has > !!! gone wrong. Here is the information we got for this exception: >No module named path -- Go back to the top: I almost always top-post Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Python kerflooie = portage kaboom; need help or advice
Nevermind. It seems to have fixed itself. I have no idea how, because I did not emerge anything and I did not reboot or restart anything. Go figure. ++ kevin On 5/26/05, Kevin O'Gorman <[EMAIL PROTECTED]> wrote: > I think the portage here just died of a python bite. Skipping to the > bottom line, > Python is complaining there's no package named "path". However, I can > "import os.path" which is what I usually do. So I'm not sure what's actually > broken, or how to fix it. > > Help please? I've put some brief details below. > > ++ kevin > > I did my usual > emerge -aDvu world > and there was nothing to do, so I said "no", and expected a prompt. Nope. > I hit control-C and got the following: > > > Nothing to merge; do you want me to auto-clean packages? [Yes/No] no > > > > Quitting. > > > > > > > > treat root # !!! global name 'portageexit' is not defined in //etc/make.conf > > !!! Incorrect multiline literals can cause this. Do not use them. > > > > treat root # > > I didn't (and still don't) know what that really means. I didn't > worry about it too much. > But later, I went to do the same command, and it died almost > immediately, telling > me that Python had bit the dust (or just bit portage). I haven't > explored much else > yet. > > > treat root # emerge -aDvu world; etc-update > > > > These are the packages that I would merge, in order: > > > > Calculating world dependencies ...done! > > > > Total size of downloads: 0 kB > > > > Nothing to merge; do you want me to auto-clean packages? [Yes/No] no > > > > Quitting. > > > > > > treat root # 'import site' failed; use -v for traceback > > > > > > !!! Failed to complete python imports. There are internal modules for > > !!! python and failure here indicates that you have a problem with python > > !!! itself and thus portage is no able to continue processing. > > > > !!! You might consider starting python with verbose flags to see what has > > !!! gone wrong. Here is the information we got for this exception: > >No module named path > > > > > > -- > Go back to the top: I almost always top-post > Kevin O'Gorman, PhD > -- Go back to the top: I almost always top-post Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list
[gentoo-user] Emerge suddenly blocked
This morning I can no longer emerge world. It says (in part) > treat root # emerge -aDvu world && etc-update > > These are the packages that I would merge, in order: > > Calculating world dependencies ...done! > [blocks B ] <=x11-themes/gnome-themes-2.8.2 (is blocking > x11-themes/gtk-engines-2.6.3) and later > Total size of downloads: 45,079 kB > > !!! Error: The above package list contains packages which cannot be installed > !!!on the same system. > > treat root # Now since my package.mask and package.keywords are both empty, I don't think it's anything I did. How can I get this working again, or is this a momentary glitch that will go away by itself? ++ kevin -- Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Emerge suddenly blocked
On 6/7/05, Robert Crawford <[EMAIL PROTECTED]> wrote: > On Tuesday 07 June 2005 12:24 pm, Kevin O'Gorman wrote: > > This morning I can no longer emerge world. It says (in part) > > > > > treat root # emerge -aDvu world && etc-update > > > > > > These are the packages that I would merge, in order: > > > > > > Calculating world dependencies ...done! > > > [blocks B ] <=x11-themes/gnome-themes-2.8.2 (is blocking > > > x11-themes/gtk-engines-2.6.3) > > > > and later > > > > > Total size of downloads: 45,079 kB > > > > > > !!! Error: The above package list contains packages which cannot be > > > installed !!!on the same system. > > > > > > treat root # > > > > Now since my package.mask and package.keywords are both empty, I don't > > think it's anything I did. How can I get this working again, or is this a > > momentary glitch > > that will go away by itself? > > > > ++ kevin > > Remove the blocking package (emerge -C =(the blocking package), then do emerge > -aDvu world again. This is a very common procedure. Afterwards, if needed, > remerge the package you unmerged. Sometimes an updated package for the one > you removed shows up in the list AFTER the blocked package is emerged. > > I'd question doing the && etc-update, as if it runs etc-update automatically > with the -5 option, you might be screwed. I always back up my entire /etc > directory (at the very least) before a major emerge system or world. Then I > always go through etc-update manually. If you know what to look for, and > don't blindly update files that don't need it, it doesn't take that long. > > Robert Crawford > -- > gentoo-user@gentoo.org mailing list > > Thanks. I'll try it this way; I've not had to deal with this before. Not to fear. This is not in a script, it's in the console. It's just a way to make sure I don't *forget* to do etc-update. This way, when it's all done and I finally go back to the desktop where it was happening, it's sitting there reminding me to play with my config files again. I'm a disorganized person in general, but I cope by having procedures with the important reminders in place. ++ kevin -- Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list
[gentoo-user] Uncluttering my world file
My world file seems remarkably long to me at 129 lines. I know I've added some stuff, but many of these entries ring no bells in my memory. I think a big part of what has happened is that in various throes of dealing with portage, I've emerged particular things without the --oneshot flag -- I had this system for quite a while before I even knew about that flag. So: is there an easy way to find out if a package can be removed from world because it is already in there as a dependency or because of the profile? I'd like to pare world down to just the things that make a difference. ++ kevin -- Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list
[gentoo-user] Java java java, I miss my java
It's been about 9 months now that Java 1.5 has been an official release from Sun and I see no ebuilds, masked or not. I'm going to be teaching this puppy starting in September, and I need to start using it. This raises two questions: 1) Is there a simple way to install the current release without damaging the ebuild-installed ones I have, or should I just blunder ahead and mangle my own PATH and such in .bashrc_local (or whereever -- this is a one-user machine). 2) Better yet, is there a way to integrate such a release with java-config. I took a very brief look at the Python, and java-config is just cryptic and undocumented enough for me to prefer to *not* learn it well enough to answer this myself. -- Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Java java java, I miss my java
To answer several questions from several people: 1) I thought java 1.5 wasn't there because it was not found by emerge -s java emerge -s jre emerge -s blackdown At that point I just figured it wasn't there. I'm glad to discover I was wrong. 2) I'm not so much itching to use the features, as I am required to teach them. But the significant ones seem to be - Scanner class which smooths one of the major bumps for beginning Java programmers: how to do input without learning the whole language first. - Autoboxing which allows a looser typing of functionally similar entities (the primitives and their wrapper classes). - Generics (type-safe containers) (not really an intro topic, but I'll be teaching a second course too). - True enum - C-style printf, and varargs (ya!) ++ kevin - Iterator for-loop -- Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Java java java, I miss my java
Bottom line: I still cannot get these. Details at the bottom. On 6/13/05, Kevin O'Gorman <[EMAIL PROTECTED]> wrote: > To answer several questions from several people: > 1) I thought java 1.5 wasn't there because it was not found by > emerge -s java > emerge -s jre > emerge -s blackdown > > At that point I just figured it wasn't there. I'm glad to discover > I was wrong. > > 2) I'm not so much itching to use the features, as I am required > to teach them. But the significant ones seem to be > - Scanner class which smooths one of the major bumps for > beginning Java programmers: how to do input without learning > the whole language first. > - Autoboxing which allows a looser typing of functionally similar > entities (the primitives and their wrapper classes). > - Generics (type-safe containers) (not really an intro topic, but > I'll be teaching a second course too). > - True enum > - C-style printf, and varargs (ya!) > > ++ kevin > - Iterator for-loop What's more, I just retried looking for the jdk, and got (in part): * dev-java/sun-jdk Latest version available: 1.4.2.08 Latest version installed: [ Not Installed ] Size of downloaded files: 35,576 kB Homepage:http://java.sun.com/j2se/1.4.2/ Description: Sun's J2SE Development Kit License: sun-bcla-java-vm This surely doesn't look like 1.5 to me. So I tried 'etcat' (which is new to me) and got it. I had to unmask it before emerge -s would show it. Weird, because it shows other masked packages. Anyway, I still cannot load it. This in spite of efforts to unmask: My package.keywords and package.unmask: > treat 1.5-bundles # cat /etc/portage/package.keywords > app-office/gnucash quotes > dev-java/sun-jdk ~x86 > dev-java/sun-jre-bin ~x86 > treat 1.5-bundles # cat /etc/portage/package.unmask > >=dev-java/sun-jdk-1.4.99 > >=dev-java/sun-sdk-docs-1.4.99 Here's what it looks like: treat 1.5-bundles # emerge -av sun-jdk sun-sdk-docs These are the packages that I would merge, in order: Calculating dependencies - !!! All ebuilds that could satisfy "=dev-java/java-sdk-docs-1.5.0*" have been masked. !!! One of the following masked packages is required to complete your request: - dev-java/java-sdk-docs-1.5.0 (masked by: package.mask, ~x86 keyword) # <[EMAIL PROTECTED]> # lotsa things in the tree don't compile with 1.5 yet # 1.5 defaults too -target 1.5 making downgrading to a 1.4(/1.3) # impossible, see bug 65937 for more information/discussion For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 "Software Availability" in the Gentoo Handbook. !!!(dependency required by "dev-java/sun-jdk-1.5.0.03" [ebuild]) -- Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Java java java, I miss my java
As I pointed out before, I already did those. Again, here are 'cat's of the files, which nevertheless do not allow an emerge: treat 1.5-bundles # cat /etc/portage/package.keywords app-office/gnucash quotes dev-java/sun-jdk ~x86 dev-java/sun-jre-bin ~x86 treat 1.5-bundles # cat /etc/portage/package.unmask >=dev-java/sun-jdk-1.4.99 >=dev-java/sun-sdk-docs-1.4.99 treat 1.5-bundles # Did I miss something? On 6/13/05, Holly Bostick <[EMAIL PROTECTED]> wrote: > Zac Medico schreef: > > Kevin O'Gorman wrote: > > > >>Here's what it looks like: > >> > >>treat 1.5-bundles # emerge -av sun-jdk sun-sdk-docs > >> > >>These are the packages that I would merge, in order: > >> > >>Calculating dependencies - > >>!!! All ebuilds that could satisfy "=dev-java/java-sdk-docs-1.5.0*" > >>have been masked. > >>!!! One of the following masked packages is required to complete your > >>request: > >>- dev-java/java-sdk-docs-1.5.0 (masked by: package.mask, ~x86 keyword) > >># <[EMAIL PROTECTED]> > >># lotsa things in the tree don't compile with 1.5 yet > >># 1.5 defaults too -target 1.5 making downgrading to a 1.4(/1.3) > >># impossible, see bug 65937 for more information/discussion > >> > >> > >>For more information, see MASKED PACKAGES section in the emerge man page or > >>section 2.2 "Software Availability" in the Gentoo Handbook. > >>!!!(dependency required by "dev-java/sun-jdk-1.5.0.03" [ebuild]) > >> > >> > > > > > > They're hard masked inside /usr/portage/profiles/package.mask. For the > > full story see http://bugs.gentoo.org/show_bug.cgi?id=65937. > > > > Short story: > > > > echo ">=dev-java/sun-jdk-1.4.99" >> /etc/portage/package.unmask > > echo ">=dev-java/java-sdk-docs-1.4.99" >> /etc/portage/package.unmask > > emerge sun-jdk sun-sdk-docs > > You also have to echo to /etc/portage/package.keywords-- both packages > are twice-masked. > > So in addition to the above: > > echo "dev-java/sun-jdk ~x86" >> /etc/portage/package.keywords > echo "dev-java/java-sdk-docs ~x86" >> /etc/portage/package.keywords > > You can unmask just the specific version using Zac's syntax, but you can > just unmask this and all future versions on general principle. > > > > > After that you may want to use java-config to set java-1.4 as the default > > system compiler. > > > > Zac > > On my system, the previously-installed system default VM did not change > when I installed a new one-- what you might want to do is change the > *user* VM with java-config, in order to actually use the newly-installed > one. I'm sure there's a way to set the user VM permanently, but I don't > know what it is, and it doesn't seem to 'stick' (once I close the > program using Java, the user VM seems to go back to the default). > > Holly > -- > gentoo-user@gentoo.org mailing list > > -- Go back to the top: I almost always top-post Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Java java java, I miss my java
On 6/13/05, Zac Medico <[EMAIL PROTECTED]> wrote: > Kevin O'Gorman wrote: > > As I pointed out before, I already did those. Again, here are 'cat's > > of the files, > > which nevertheless do not allow an emerge: > > > > treat 1.5-bundles # cat /etc/portage/package.keywords > > app-office/gnucash quotes > > dev-java/sun-jdk ~x86 > > dev-java/sun-jre-bin ~x86 > > treat 1.5-bundles # cat /etc/portage/package.unmask > > > >>=dev-java/sun-jdk-1.4.99 > >>=dev-java/sun-sdk-docs-1.4.99 > > > > treat 1.5-bundles # > > > > Did I miss something? > > > > echo "dev-java/sun-sdk-docs ~x86" >> /etc/portage/package.keywords > > You have sun-jre-bin in there instead of sun-sdk-docs :P > > Zac Thanks, I *did* miss that. Unfortunately, it doesn't fix the problem. Below, I try an emerge, then dump the files again. Maybe I missed two things? ++ kevin treat 1.5-bundles # emerge -av sun-jdk sun-sdk-docs These are the packages that I would merge, in order: Calculating dependencies - !!! All ebuilds that could satisfy "=dev-java/java-sdk-docs-1.5.0*" have been masked. !!! One of the following masked packages is required to complete your request: - dev-java/java-sdk-docs-1.5.0 (masked by: package.mask, ~x86 keyword) # <[EMAIL PROTECTED]> # lotsa things in the tree don't compile with 1.5 yet # 1.5 defaults too -target 1.5 making downgrading to a 1.4(/1.3) # impossible, see bug 65937 for more information/discussion For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 "Software Availability" in the Gentoo Handbook. !!!(dependency required by "dev-java/sun-jdk-1.5.0.03" [ebuild]) treat 1.5-bundles # cat /etc/portage/package.unmask >=dev-java/sun-jdk-1.4.99 >=dev-java/sun-sdk-docs-1.4.99 treat 1.5-bundles # cat /etc/portage/package.keywords app-office/gnucash quotes dev-java/sun-jdk ~x86 dev-java/sun-jre-bin ~x86 dev-java/sun-sdk-docs ~x86 treat 1.5-bundles # -- Go back to the top: I almost always top-post Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list
[gentoo-user] Firefox 1.0.4 certificate problem
I'm having trouble with the Java Forums site, because Firefox cannot deal with a certificate it gets. Try the "login" link on http://forum.java.sun.com/forum.jspa?forumID=57 or any of the other fora. If somebody can point me to the place to report Firefox problems, I'll tell them too... ++ kevin -- Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list