[gentoo-user] ps shows pegasus process running - what is it?
Hi there, I have just found a process called pegasus running on my machine. Does anyone know what it is, please? # ps -e | grep peg 816 ?00:00:00 pegasus # A Google suggested I might be able to find it's path thusly: # ps -e -o pid,args | grep peg 816 [pegasus] 13927 grep --colour=auto peg # But as you can see, no joy. What do the [square brackets] mean, please? `locate pegasus` only finds source files to a kernel driver - they appear to relate to a USB network adaptor, as they're in /usr/ src/...drivers/net/usb/ however I can't say I've used one of those on this system since it was last rebooted 2 weeks ago. I don't believe this driver is loaded: # lsmod | wc -l 49 # lsmod | grep peg # Obviously one is slightly paranoid when one encounters an unknown process running on one's system, with the thought that one has been hacked. I'm sure this isn't the case, but if someone could tell me what this is it would reassure me and I would be grateful. TIA, Stroller.
Re: [gentoo-user] ps shows pegasus process running - what is it?
On Samstag 07 November 2009, Stroller wrote: Hi there, I have just found a process called pegasus running on my machine. Does anyone know what it is, please? # ps -e | grep peg 816 ?00:00:00 pegasus # A Google suggested I might be able to find it's path thusly: # ps -e -o pid,args | grep peg 816 [pegasus] 13927 grep --colour=auto peg # But as you can see, no joy. What do the [square brackets] mean, please? afaik it is a kernel process.
Re: [gentoo-user] WiFi access point with iwl3945
Mike Mazur schrieb: Hi, I'm trying to set up my laptop to be a wireless access point. It has an iwl3945 card. I followed the Atheros Ath5k Wireless Access Point article on gentoo-wiki.com[1] before realizing that it was Atheros specific. Part of the setup uses hostapd[2]. Looking at this, it's not immediately clear that iwlwifi is supported. Does anyone know whether it's possible to use hostapd with iwlwifi drivers? Is there an alternative access point software I can use? Thanks, Mike [1] http://en.gentoo-wiki.com/wiki/Atheros_Ath5k_Wireless_Access_Point [2] http://hostap.epitest.fi/hostapd/ Sorry, your hardware doesn't support working as an access point. Except of buying new hardware, I think your only chance is to run in ad-hoc mode. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Strange iwl3945 behavior (possibly wpa_supplicant related?)
On Saturday 07 November 2009 04:20:09 Mike Edenfield wrote: Thanks to some good advice from here, I've narrowed down my wireless problems to one specific configuration. Unfortunately it's the one I really need to work (of course). My laptop has an Intel 3954, using the iwlwifi driver, which I am trying to get working with NetworkManager. At home and on the few public AP's I've connected to, everything works fine. At work, if I run wpa_supplicant via Gentoo's init script, or if wicd runs it, everything works there as well. When using NetworkManager on my work network, however, things go horribly wrong. I get tons of this in my kernel logs: wlan0: authenticate with AP 00:1e:58:04:1e:ec wlan0: authenticated wlan0: associate with AP 00:1e:58:04:1e:ec wlan0: RX AssocResp from 00:1e:58:04:1e:ec (capab=0x411 status=12 aid=1) wlan0: AP denied association (code=12) wlan0: associate with AP 00:1e:58:04:1e:ec wlan0: RX AssocResp from 00:1e:58:04:1e:ec (capab=0x411 status=12 aid=1) wlan0: AP denied association (code=12) wlan0: associate with AP 00:1e:58:04:1e:ec wlan0: RX AssocResp from 00:1e:58:04:1e:ec (capab=0x411 status=12 aid=1) wlan0: AP denied association (code=12) wlan0: association with AP 00:1e:58:04:1e:ec timed out wlan0: authenticate with AP 00:1e:58:04:1e:ec wlan0: authenticated wlan0: associate with AP 00:1e:58:04:1e:ec wlan0: RX AssocResp from 00:1e:58:04:1e:ec (capab=0x411 status=0 aid=1) wlan0: associated Once associated, it stays connected for about a minute, then : wlan0: disassociated (Reason: 14) wlan0: deauthenticated (Reason: 6) and the cycle starts again. Does anyone recognize those error codes or what they're trying to tell me is wrong with the network? So far, the only notable difference between nm and the working configurations is wpa_supplicant. Both Gentoo's init script and wicd run wpa_supplicant directly on the interface, passing a configuration file. NetworkManager launches wpa_supplicant with a -u parameter, which makes it run in the background and accept configuration data from DBus. Should this really make that much difference? If it works everywhere else and not at home, the difference is obviously with your home router. What config does it have and how does it differ from what everywhere else has? -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Intel GMA 4500MHD
On Fri, 2009-11-06 at 17:18 +, James wrote: Hello, I'm looking at a Dell Vostro 1720 Laptop with this Intel video chip: Intel® Integrated Graphics Media Accelerator 4500MHD Anyone with any experience or comments as to Intel's video offerings, as far as it related to (X)/Gentoo on the laptop are most welcome. Here's an old review, best I could find. http://www.phoronix.com/scan.php?page=articleitem=intel_x4500hdnum=1 Maybe some can point me to a forum where the Intel video chip issues are discussed by folks on the front line of those support issues for X. The aforementioned review seemed to dissuade me from the Intel video chip, but those issue may be overcome with video chip comparison, used in Laptops if anyone has a url for that sort of thing, or experience. The software support for Intel graphics itself is pretty good. They have in-tree DRI drivers and X drivers and support for GEM and XRANDR 1.3. IIRC Keith Packard works both on X11 development and the Intel drivers so you get a lot of support software-wise. As some have reported Intel Graphics cards don't perform as well as other competitors in 3D graphics. It's fine though for people like me who aren't gamers and need powerful graphics hardware. I use GNOME/Compiz and things work pretty exceptional (except for the Blur plugin in Compiz; there's no hardware rendering support; you'll want to disable that).
Re: [gentoo-user] xorg won't start on intel iMac
2009/11/6 Roger Mason rma...@mun.ca: Hello, I have an intel iMac Core 2 Duo with an ATI radeon HD 2400 XT video card. I have not been able to get X working. I'm also running on an apple machine (macbook), so I might be able to help. My video card is intel, so my settings won't be exactly the same. The first point I suggest is to re-emerge all your x11-drivers/xf86 files. Sometimes after an xorg update these need to be re-installed (although it sounds like you are running on a clean install. Your make.conf settings look okay, but I wonder about /etc/X11/xorg.conf and hal. Is hal installed and running (to run it /etc/init.d/hald start or to add it to default rc-update add hal default). hal should take care of the keyboard and mouse without any extra configuration (special keys and trackpad scrolling extra features aside. check out pommed for hotkey support in apple). I recall that in xorg.conf the driver for my video card device was a bit picky over what I told it. For me this was more an intel graphics issue compared with xorg changes (it used to be under i810 and then it was changed to intel, and so there is some mismatching sometimes in my experience). Try a few options for this variable when you startx. Try these things (and shoot along xorg.conf) and let me know how it goes. I might not respond right away, but I'll keep an eye out. Regards, daid
Re: [gentoo-user] Re: Unclaimed display?
On Wednesday 04 November 2009 07:29:03 Nicolas Sebrecht wrote: On Sun, Sep 27, 2009 at 01:29:26PM +0100, Mick wrote: I am looking at the lshw of a compaq desktop with pci-express and a Radeon X600 and see that it's VGA and secondary dispalyes are unclaimed. What does this mean? http://ezix.org/project/wiki/HardwareLiSter#Howtointerpretlshwsoutput Have I got the kernel config wrong? Maybe. Or it comes from lshw. You could look at the lspci output to compare. The lspci output does not show a driver either ... 01:00.0 VGA compatible controller: ATI Technologies Inc RV380 0x3e50 [Radeon X600] 01:00.1 Display controller: ATI Technologies Inc RV380 [Radeon X600] (Secondary) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Usb keyboard automatic layout
Hello, I often need to use unicode characters when I'm writing in Spanish. For that purpose I've set up my .Xmodmap in the following way: clear Lock keycode 66 = Multi_key After running xmodmap ~/.Xmodmap I can use the caps lock as a multi key in my laptop keyboard. However, whenever I plug an external usb keyboard, it doesn't have the desired layout, and I'm forced to run xmodmap again. How can I do to modify automatically the keyboard layout of an inserted usb keyboard? (running xmodmap from udev is not an option because it has no effect at all). Thanks in advance, Damian.
Re: [gentoo-user] kernel build - back in the soup.
2009/11/4 Harry Putnam rea...@newsguy.com: I'll say right from the start, that building a new kernel, has always been a problem for me. I don't remember ever not having a problem, in 10+ yrs.. Many people here seem to find it completely easy... not me. I tried closely comparing the current working kernel with newly built one. I mean side by side with `make menuconfig' running in both sources. I cannot tell what it is I'm overlooking. Please do not do this. Instead emerge kccmp to compare kernel configurations! It is much easier...trust me, I tried brute-force as well! Regards, daid
Re: [gentoo-user] ps shows pegasus process running - what is it?
On 7 Nov 2009, at 10:01, Volker Armin Hemmann wrote: On Samstag 07 November 2009, Stroller wrote: Hi there, I have just found a process called pegasus running on my machine. Does anyone know what it is, please? # ps -e | grep peg 816 ?00:00:00 pegasus # A Google suggested I might be able to find it's path thusly: # ps -e -o pid,args | grep peg 816 [pegasus] 13927 grep --colour=auto peg # But as you can see, no joy. What do the [square brackets] mean, please? afaik it is a kernel process. Yes, on a second look I find other processes bracketed similarly - e.g. rt2500pci and reiserfs. I'd love to know what the name of the kernel module is so I can unload it: $ zcat /proc/config.gz | grep -i pegasus CONFIG_USB_PEGASUS=y $ Stroller.
Re: [gentoo-user] ps shows pegasus process running - what is it?
On Samstag 07 November 2009, Stroller wrote: On 7 Nov 2009, at 10:01, Volker Armin Hemmann wrote: On Samstag 07 November 2009, Stroller wrote: Hi there, I have just found a process called pegasus running on my machine. Does anyone know what it is, please? # ps -e | grep peg 816 ?00:00:00 pegasus # A Google suggested I might be able to find it's path thusly: # ps -e -o pid,args | grep peg 816 [pegasus] 13927 grep --colour=auto peg # But as you can see, no joy. What do the [square brackets] mean, please? afaik it is a kernel process. Yes, on a second look I find other processes bracketed similarly - e.g. rt2500pci and reiserfs. I'd love to know what the name of the kernel module is so I can unload it: $ zcat /proc/config.gz | grep -i pegasus CONFIG_USB_PEGASUS=y it is not a module, but compiled in. You have to rebuild your kernel. And probably decrapify your config a lot.
[gentoo-user] {OT?} What happened to iexplore in wine?
I haven't used wine's /usr/bin/iexplore to test a website in IE for a while, and now it looks like that binary is no longer installed. Does anyone know how to get it, or if there is a replacement of some sort? I looked at the files installed by wine in /usr/bin but didn't see anything. - Grant
Re: [gentoo-user] {OT?} What happened to iexplore in wine?
On Sat, Nov 7, 2009 at 7:02 AM, Grant emailgr...@gmail.com wrote: I haven't used wine's /usr/bin/iexplore to test a website in IE for a while, and now it looks like that binary is no longer installed. Does anyone know how to get it, or if there is a replacement of some sort? I looked at the files installed by wine in /usr/bin but didn't see anything. I'm not sure what you mean by 'test in IE', but I, if you haven't heard of it, browsershots.org is pretty cool for showing what your site looks like in various browsers, including IE. This way you can avoid wine and IE all together. - Grant
Re: [gentoo-user] {OT?} What happened to iexplore in wine?
On Sat, 7 Nov 2009 05:02:54 -0800, Grant emailgr...@gmail.com wrote: I haven't used wine's /usr/bin/iexplore to test a website in IE for a while, and now it looks like that binary is no longer installed. Does anyone know how to get it, or if there is a replacement of some sort? I looked at the files installed by wine in /usr/bin but didn't see anything. Wine never included IE by default so I have no idea what are you talking about, probably some custom setup. Look into ies4wine for an easy way to install IE on wine, I guess that's what you need. -- Jesús Guerrero
Re: [gentoo-user] {OT?} What happened to iexplore in wine?
On Sat, Nov 7, 2009 at 4:02 PM, Grant emailgr...@gmail.com wrote: I haven't used wine's /usr/bin/iexplore to test a website in IE for a while, and now it looks like that binary is no longer installed. Does anyone know how to get it, or if there is a replacement of some sort? I looked at the files installed by wine in /usr/bin but didn't see anything. - Grant It seems like there is a loadable module for iexpolre. I found it in my /usr/lib32/wine/. It's name is iexplore.exe.so, so I think you need to load this module... I just don't know how - I haven't even do it.
Re: [gentoo-user] {OT?} What happened to iexplore in wine?
I haven't used wine's /usr/bin/iexplore to test a website in IE for a while, and now it looks like that binary is no longer installed. Does anyone know how to get it, or if there is a replacement of some sort? I looked at the files installed by wine in /usr/bin but didn't see anything. Great site, I will use that a lot. The nice thing about iexplore is it lets you interact with the browser, and some pages I need to test are the result of a POST. My memory failed me before. iexplore is run like this: wine iexplore www.example.com For me the window it loads is blank though. Is it working for anyone else? - Grant I'm not sure what you mean by 'test in IE', but I, if you haven't heard of it, browsershots.org is pretty cool for showing what your site looks like in various browsers, including IE. This way you can avoid wine and IE all together. - Grant
Re: [gentoo-user] {OT?} What happened to iexplore in wine?
On Sat, Nov 7, 2009 at 14:28, Grant emailgr...@gmail.com wrote: I haven't used wine's /usr/bin/iexplore to test a website in IE for a while, and now it looks like that binary is no longer installed. Does anyone know how to get it, or if there is a replacement of some sort? I looked at the files installed by wine in /usr/bin but didn't see anything. Great site, I will use that a lot. The nice thing about iexplore is it lets you interact with the browser, and some pages I need to test are the result of a POST. My memory failed me before. iexplore is run like this: wine iexplore www.example.com For me the window it loads is blank though. Is it working for anyone else? I didn't know this command, it works well for me. Boris - Grant I'm not sure what you mean by 'test in IE', but I, if you haven't heard of it, browsershots.org is pretty cool for showing what your site looks like in various browsers, including IE. This way you can avoid wine and IE all together. - Grant -- 42
Re: [gentoo-user] {OT?} What happened to iexplore in wine?
I haven't used wine's /usr/bin/iexplore to test a website in IE for a while, and now it looks like that binary is no longer installed. Does anyone know how to get it, or if there is a replacement of some sort? I looked at the files installed by wine in /usr/bin but didn't see anything. Great site, I will use that a lot. The nice thing about iexplore is it lets you interact with the browser, and some pages I need to test are the result of a POST. My memory failed me before. iexplore is run like this: wine iexplore www.example.com For me the window it loads is blank though. Is it working for anyone else? I didn't know this command, it works well for me. Boris It's working for me now too. I just needed to wait a while for it to fully load. - Grant
Re: [gentoo-user] WiFi access point with iwl3945
Hi, On Sat, Nov 7, 2009 at 18:08, Florian Philipp li...@f_philipp.fastmail.net wrote: Mike Mazur schrieb: I'm trying to set up my laptop to be a wireless access point. It has an iwl3945 card. I followed the Atheros Ath5k Wireless Access Point article on gentoo-wiki.com[1] before realizing that it was Atheros specific. [...] Does anyone know whether it's possible to use hostapd with iwlwifi drivers? Is there an alternative access point software I can use? Sorry, your hardware doesn't support working as an access point. Thanks for clarifying. No wonder I couldn't find any tutorials specific to the iwlwifi driver. Mike
Re: [gentoo-user] Strange iwl3945 behavior (possibly wpa_supplicant related?)
On Sat, 2009-11-07 at 12:09 +0200, Alan McKinnon wrote: On Saturday 07 November 2009 04:20:09 Mike Edenfield wrote: When using NetworkManager on my work network, however, things go horribly wrong. I get tons of this in my kernel logs: wlan0: authenticate with AP 00:1e:58:04:1e:ec wlan0: authenticated wlan0: associate with AP 00:1e:58:04:1e:ec wlan0: RX AssocResp from 00:1e:58:04:1e:ec (capab=0x411 status=12 aid=1) wlan0: AP denied association (code=12) wlan0: associate with AP 00:1e:58:04:1e:ec wlan0: RX AssocResp from 00:1e:58:04:1e:ec (capab=0x411 status=12 aid=1) wlan0: AP denied association (code=12) wlan0: associate with AP 00:1e:58:04:1e:ec wlan0: RX AssocResp from 00:1e:58:04:1e:ec (capab=0x411 status=12 aid=1) wlan0: AP denied association (code=12) wlan0: association with AP 00:1e:58:04:1e:ec timed out wlan0: authenticate with AP 00:1e:58:04:1e:ec wlan0: authenticated wlan0: associate with AP 00:1e:58:04:1e:ec wlan0: RX AssocResp from 00:1e:58:04:1e:ec (capab=0x411 status=0 aid=1) wlan0: associated If it works everywhere else and not at home, the difference is obviously with your home router. What config does it have and how does it differ from what everywhere else has? Well, it works at home but not at work, so I don't have much information beyond what they can tell me. I'll try to find someone who knows more, but as far as I can tell it's nearly identical to what I have at home: a single WAP with a broadcast SSID using WPA Personal, even using the same (cheap) Linksys hardware. What really confuses me is that the NIC works fine at work *if* I run wpa_supplicant manually; it only seems to fail when NetworkManager is controlling the NIC. So, yeah, it seems like the difference is with NetworkManager and/or wpa_supplicant, but I have no idea what that difference is. (Also, to head off the upcoming just don't use NetworkManager: this laptop is eventually going to someone who'll be roaming a lot more than I do, for whom constantly editing wpa_supplicant.conf isn't really an option. Wicd doesn't support VPN connections, so NetworkManager seems to be my only option :\) --Mike
[gentoo-user] deleted inode referenced
In the course of trying to get X to work on my ASUS 1005HA netbook, I had to power the machine off several times. In the course of this, some damage seems to have occurred to the file system. There are files in /var /tmp which I can't remove: the msg is EXT2-fs error: ext2_lookup: deleted inode referenced: 16388. I got round the problem by creating new dirs, copying everything else renaming the dirs, but that leaves me with /bad1 , which I can't remove as it contains a reference to an inode which no longer exists. NB this is not the more common problem of a bad file name, which cb dealt with simply by removing the inode (which still exists). Can anyone help ? BTW is Ext2 the best fs for this machine ? Might Ext3 or Ext4 be better ? -- I use Reiserfs on my desktop machines. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
[gentoo-user] ipsec-tools-0.7.3 fails to build
Like so: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec - D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc - I./src/include-glibc -I./../../src/racoon/missing -D_GNU_SOURCE -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc - I../../src/include-glibc -DSYSCONFDIR=\/etc\ - DADMINPORTDIR=\/var/lib/racoon\ -O2 -march=pentium3 -fomit-frame-pointer - msse -mmmx -pipe -Wall -Wno-unused -MT session.o -MD -MP -MF .deps/session.Tpo -c -o session.o session.c mv -f .deps/session.Tpo .deps/session.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec - D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc - I./src/include-glibc -I./../../src/racoon/missing -D_GNU_SOURCE -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc - I../../src/include-glibc -DSYSCONFDIR=\/etc\ - DADMINPORTDIR=\/var/lib/racoon\ -O2 -march=pentium3 -fomit-frame-pointer - msse -mmmx -pipe -Wall -Wno-unused -MT isakmp.o -MD -MP -MF .deps/isakmp.Tpo -c -o isakmp.o isakmp.c In file included from ../../src/include- glibc/linux/byteorder/little_endian.h:12, from /usr/include/asm/byteorder.h:79, from ../../src/include-glibc/linux/ip.h:20, from isakmp.c:115: ../../src/include-glibc/linux/swab.h:6:22: error: asm/swab.h: No such file or directory make[4]: *** [isakmp.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3/src/racoon' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3/src/racoon' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3' make: *** [all] Error 2 * * ERROR: net-firewall/ipsec-tools-0.7.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4014: Called die * The specific snippet of code: * emake -j1 || die * The die message: * (no error message) Has anyone managed to build it? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] xorg won't start on intel iMac
Hello David, daid kahl daid...@gmail.com writes: 2009/11/6 Roger Mason rma...@mun.ca: I have an intel iMac Core 2 Duo with an ATI radeon HD 2400 XT video card. I have not been able to get X working. I'm also running on an apple machine (macbook), so I might be able to help. My video card is intel, so my settings won't be exactly the same. The first point I suggest is to re-emerge all your x11-drivers/xf86 files. Sometimes after an xorg update these need to be re-installed (although it sounds like you are running on a clean install. Yes, a clean install. Your make.conf settings look okay, but I wonder about /etc/X11/xorg.conf and hal. Is hal installed and running (to run it /etc/init.d/hald start or to add it to default rc-update add hal default). hal should take care of the keyboard and mouse without any extra configuration (special keys and trackpad scrolling extra features aside. check out pommed for hotkey support in apple). I recall that in xorg.conf the driver for my video card device was a bit picky over what I told it. For me this was more an intel graphics issue compared with xorg changes (it used to be under i810 and then it was changed to intel, and so there is some mismatching sometimes in my experience). Try a few options for this variable when you startx. Try these things (and shoot along xorg.conf) and let me know how it goes. I unmerged ati-drivers and removed fglrx from make.conf then rebuilt xorg-server without hal. I was then able to generate an xorg.conf file using Xorg -configure. The generated file chose the vesa driver but after editing that to radeon it now works. I am not sure quite which step in the above was effective in providing a cure. Now that I have a working xorg.conf to which I can revert I will try again with hal and fglrx. I can't send the xorg.conf as I don't have access to the machine today. Many thanks for your help. Roger
Re: [gentoo-user] ipsec-tools-0.7.3 fails to build
On Sat, Nov 7, 2009 at 8:10 PM, Mick michaelkintz...@gmail.com wrote: Like so: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec - D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc - I./src/include-glibc -I./../../src/racoon/missing -D_GNU_SOURCE -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc - I../../src/include-glibc -DSYSCONFDIR=\/etc\ - DADMINPORTDIR=\/var/lib/racoon\ -O2 -march=pentium3 -fomit-frame-pointer - msse -mmmx -pipe -Wall -Wno-unused -MT session.o -MD -MP -MF .deps/session.Tpo -c -o session.o session.c mv -f .deps/session.Tpo .deps/session.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec - D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc - I./src/include-glibc -I./../../src/racoon/missing -D_GNU_SOURCE -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc - I../../src/include-glibc -DSYSCONFDIR=\/etc\ - DADMINPORTDIR=\/var/lib/racoon\ -O2 -march=pentium3 -fomit-frame-pointer - msse -mmmx -pipe -Wall -Wno-unused -MT isakmp.o -MD -MP -MF .deps/isakmp.Tpo -c -o isakmp.o isakmp.c In file included from ../../src/include- glibc/linux/byteorder/little_endian.h:12, from /usr/include/asm/byteorder.h:79, from ../../src/include-glibc/linux/ip.h:20, from isakmp.c:115: ../../src/include-glibc/linux/swab.h:6:22: error: asm/swab.h: No such file or directory make[4]: *** [isakmp.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3/src/racoon' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3/src/racoon' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3' make: *** [all] Error 2 * * ERROR: net-firewall/ipsec-tools-0.7.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4014: Called die * The specific snippet of code: * emake -j1 || die * The die message: * (no error message) Has anyone managed to build it? -- Regards, Mick Why don't you try to compile it with another version of gcc, selecting another version with 'gcc-config'? May be it'll help?
Re: [gentoo-user] services on ASUS 1005HA
091106 Florian Philipp wrote: Philip Webb schrieb: Can anyone who uses one of these machine advise me how far the usual services are relevant for a netbook ? -- hald (+dbus) vixie-cron slocate run on my desktop machine, but don't seem necessary for a netbook which I wb using only occasionally; I have installed sysklogd , which seems useful in case of problems. Also, what do people use to monitor the battery ? And what's best for the webcam ? Better replace vixie-cron with fcron. fcron is more suitable for PCs that don't run 24/7. Alternatively use anacron with vixie-cron. I'll look into them. I'd trash slocate completely. Especially when your toy has a cheap SSD. No, 'H' stands for 'hard drive', as in a 160 GB HDD. If not, it all depends on whether you use locate regularly. If not, trash it. If you use it, replace it with mlocate which should be a bit faster on updating its DB. I'll look into these. I wouldn't run any kind of syslog unless you are currently debugging your system. It will only spin up the disk/wear out the SSD. It's not an SSD. I've been using the X log to get X working. Have a look at app-laptop/laptop-mode-tools and sys-power/powertop if you haven't already. No, I haven't, but will. hald might be useful/necessary for plug'n'play. It might also help with external displays. dbus will most certainly be used by some desktop application/environment. Both are required for X , which I found out after sending in my msg. Hope this helps Yes, it's very useful: thanks as usual. BTW I'm surprised how fast the little machine is compiling stuff: it's faster than my 2003 machine approaches my 2007 Core 2 Duo. Also, there's a reference in a Gentoo Wiki article to hyperthreading, which advises to configure multiple processing into the kernel. Is this correct ? Is it safe ? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] ipsec-tools-0.7.3 fails to build
On Saturday 07 November 2009 17:16:48 alex ponomarev wrote: On Sat, Nov 7, 2009 at 8:10 PM, Mick michaelkintz...@gmail.com wrote: Like so: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec - D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc - I./src/include-glibc -I./../../src/racoon/missing -D_GNU_SOURCE -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc - I../../src/include-glibc -DSYSCONFDIR=\/etc\ - DADMINPORTDIR=\/var/lib/racoon\ -O2 -march=pentium3 -fomit-frame-pointer - msse -mmmx -pipe -Wall -Wno-unused -MT session.o -MD -MP -MF .deps/session.Tpo -c -o session.o session.c mv -f .deps/session.Tpo .deps/session.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec - D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc - I./src/include-glibc -I./../../src/racoon/missing -D_GNU_SOURCE -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc - I../../src/include-glibc -DSYSCONFDIR=\/etc\ - DADMINPORTDIR=\/var/lib/racoon\ -O2 -march=pentium3 -fomit-frame-pointer - msse -mmmx -pipe -Wall -Wno-unused -MT isakmp.o -MD -MP -MF .deps/isakmp.Tpo -c -o isakmp.o isakmp.c In file included from ../../src/include- glibc/linux/byteorder/little_endian.h:12, from /usr/include/asm/byteorder.h:79, from ../../src/include-glibc/linux/ip.h:20, from isakmp.c:115: ../../src/include-glibc/linux/swab.h:6:22: error: asm/swab.h: No such file or directory make[4]: *** [isakmp.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3/src/racoon' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3/src/racoon' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3' make: *** [all] Error 2 * * ERROR: net-firewall/ipsec-tools-0.7.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4014: Called die * The specific snippet of code: * emake -j1 || die * The die message: * (no error message) Has anyone managed to build it? -- Regards, Mick Why don't you try to compile it with another version of gcc, selecting another version with 'gcc-config'? May be it'll help? Thanks, but I currently only have i686-pc-linux-gnu-4.3.4 on this machine (stable x86). -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: terminal settings
On 06/11/09 Harry Putnam said: Some examples would be helpful. echo $SHELL for sure. It's /bin/bash. Damn, this actually seems inconsistent. I did a fresh login and background jobs with output to stdout aren't hanging. Oh wait, one just did. It started fine... msoul...@anton:~$ backup_pa.sh [1] 15388 msoul...@anton:~$ Backup up remote dirs etc/httpd usr/local/etc git var/www home/pawsitiveapproach to local file pa_backup.20091107.tar.gz... msoul...@anton:~$ jobs [1]+ Running backup_pa.sh and then [1]+ Stopped backup_pa.sh but if I bring it to the foreground... msoul...@anton:~$ fg backup_pa.sh Hmm, it doesn't seem to be running actually, it looks like it's still sleeping... All it's doing is running a remote tar over ssh. My at jobs tend to hang for the same reason, but only on that box. I can't explain it, and I don't know what would control that. Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpl1YZweSfPH.pgp Description: PGP signature
Re: [gentoo-user] ipsec-tools-0.7.3 fails to build
Mick schrieb am 07.11.2009 18:10: Like so: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec - D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc - I./src/include-glibc -I./../../src/racoon/missing -D_GNU_SOURCE -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc - I../../src/include-glibc -DSYSCONFDIR=\/etc\ - DADMINPORTDIR=\/var/lib/racoon\ -O2 -march=pentium3 -fomit-frame-pointer - msse -mmmx -pipe -Wall -Wno-unused -MT session.o -MD -MP -MF .deps/session.Tpo -c -o session.o session.c mv -f .deps/session.Tpo .deps/session.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec - D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc - I./src/include-glibc -I./../../src/racoon/missing -D_GNU_SOURCE -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc - I../../src/include-glibc -DSYSCONFDIR=\/etc\ - DADMINPORTDIR=\/var/lib/racoon\ -O2 -march=pentium3 -fomit-frame-pointer - msse -mmmx -pipe -Wall -Wno-unused -MT isakmp.o -MD -MP -MF .deps/isakmp.Tpo -c -o isakmp.o isakmp.c In file included from ../../src/include- glibc/linux/byteorder/little_endian.h:12, from /usr/include/asm/byteorder.h:79, from ../../src/include-glibc/linux/ip.h:20, from isakmp.c:115: ../../src/include-glibc/linux/swab.h:6:22: error: asm/swab.h: No such file or directory make[4]: *** [isakmp.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3/src/racoon' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3/src/racoon' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3' make: *** [all] Error 2 * * ERROR: net-firewall/ipsec-tools-0.7.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4014: Called die * The specific snippet of code: * emake -j1 || die * The die message: * (no error message) Has anyone managed to build it? Take a look at this bug: http://bugs.gentoo.org/264233 -- Daniel Pielmeier signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: kernel build - back in the soup.
daid kahl daid...@gmail.com writes: 2009/11/4 Harry Putnam rea...@newsguy.com: I'll say right from the start, that building a new kernel, has always been a problem for me. I don't remember ever not having a problem, in 10+ yrs.. Many people here seem to find it completely easy... not me. I tried closely comparing the current working kernel with newly built one. I mean side by side with `make menuconfig' running in both sources. I cannot tell what it is I'm overlooking. Please do not do this. Instead emerge kccmp to compare kernel configurations! It is much easier...trust me, I tried brute-force as well! Thanks for the tip... that tool does look useful. At least for kernel comparison I think it might beat the poop out of the ediff mode in emacs. Although the emacs tools are better in general. I managed to get the kernel figured out... (with plenty of help here) but I think I'll tinker with kccmp, see how it works, and be ready for next time. Really though, the whole problem was due to my foolish failure to put the old .config into the new sources, before running `make oldconfig. I think it would have gone off nice and smooth if I had. Answering a dozen or so questions on the cmdline beats the poop out of flopping around in menuconfig, or even worse, 2 instances of menuconfig. What is really maddening is that I once knew how to do the stuff with .config and `make oldconfig'. Here lately I seem to forget things I once knew if I don't use the knowledge for a mnth or two.
[gentoo-user] help with tinydns setup
All, I'm trying to set up a DNS server here for a lab environment. - hijacking a TLD (linux.com let's say, as an example) - trying to point several Linux boxen in a sandbox with no internet connectivity So, here's a copy of my tinydns data file: .linux.com:172.18.109.125:a:259200 =server1.linux.com:14.17.108.241:86400 =server2.linux.com:14.17.108.242:86400 I've been following instructions on the following two pages in order to get some guidance on where I'm going with this: http://www.fredshack.com/docs/djbdns.html http://wiki.vpslink.com/HOWTO:_Setup_a_DNS_server_with_tinydns Inside of /etc/dnscache/root/servers/linux.com I have 127.0.0.1 so that the server knows to query the tinydns daemon running. Unfortunately, however, a dig @ipAddr server1.linux.com doesn't seem to work. Thoughts? Ideas? Thanks! -j
Re: [gentoo-user] ipsec-tools-0.7.3 fails to build
On Saturday 07 November 2009 18:30:16 Daniel Pielmeier wrote: Mick schrieb am 07.11.2009 18:10: Like so: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec - D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc - I./src/include-glibc -I./../../src/racoon/missing -D_GNU_SOURCE -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc - I../../src/include-glibc -DSYSCONFDIR=\/etc\ - DADMINPORTDIR=\/var/lib/racoon\ -O2 -march=pentium3 -fomit-frame-pointer - msse -mmmx -pipe -Wall -Wno-unused -MT session.o -MD -MP -MF .deps/session.Tpo -c -o session.o session.c mv -f .deps/session.Tpo .deps/session.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec - D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc - I./src/include-glibc -I./../../src/racoon/missing -D_GNU_SOURCE -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc - I../../src/include-glibc -DSYSCONFDIR=\/etc\ - DADMINPORTDIR=\/var/lib/racoon\ -O2 -march=pentium3 -fomit-frame-pointer - msse -mmmx -pipe -Wall -Wno-unused -MT isakmp.o -MD -MP -MF .deps/isakmp.Tpo -c -o isakmp.o isakmp.c In file included from ../../src/include- glibc/linux/byteorder/little_endian.h:12, from /usr/include/asm/byteorder.h:79, from ../../src/include-glibc/linux/ip.h:20, from isakmp.c:115: ../../src/include-glibc/linux/swab.h:6:22: error: asm/swab.h: No such file or directory make[4]: *** [isakmp.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3/src/racoon' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3/src/racoon' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-firewall/ipsec- tools-0.7.3/work/ipsec-tools-0.7.3' make: *** [all] Error 2 * * ERROR: net-firewall/ipsec-tools-0.7.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4014: Called die * The specific snippet of code: * emake -j1 || die * The die message: * (no error message) Has anyone managed to build it? Take a look at this bug: http://bugs.gentoo.org/264233 Thanks Daniel, I found this after I posted and remembered that I had contributed to it ... back then still on version net-firewall/ipsec- tools-0.7.1 -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: decrapify your kernel config WAS: ps shows pegasus process running - what is it?
On 7 Nov 2009, at 11:32, Volker Armin Hemmann wrote: ... I'd love to know what the name of the kernel module is so I can unload it: $ zcat /proc/config.gz | grep -i pegasus CONFIG_USB_PEGASUS=y it is not a module, but compiled in. You have to rebuild your kernel. And probably decrapify your config a lot. Doh! I was fairly tired when I wrote that, sorry. I tend to just occasionally copy the kernel .config from that used on the latest Knoppix disk, and `make oldconfig` between times. I figure I don't know enough about the kernel that I'm likely to be able to select a better set of options than that, and learning what to change will surely not produce improvements worth the time expended. I would love a recommended default kernel .config - either for Gentoo or Linux in general, but based towards on small server use - but I'm not aware of anyone publishing one. I like the notion of a small, minimal and sleek kernel, but with lots of modules available to load as necessary, should I install a new PCI card. If anyone has any low-overhead suggestions, I would love to hear them. Stroller.
Re: [gentoo-user] Re: decrapify your kernel config WAS: ps shows pegasus process running - what is it?
On Sonntag 08 November 2009, Stroller wrote: On 7 Nov 2009, at 11:32, Volker Armin Hemmann wrote: ... I'd love to know what the name of the kernel module is so I can unload it: $ zcat /proc/config.gz | grep -i pegasus CONFIG_USB_PEGASUS=y it is not a module, but compiled in. You have to rebuild your kernel. And probably decrapify your config a lot. Doh! I was fairly tired when I wrote that, sorry. I tend to just occasionally copy the kernel .config from that used on the latest Knoppix disk, and `make oldconfig` between times. I figure I don't know enough about the kernel that I'm likely to be able to select a better set of options than that, and learning what to change will surely not produce improvements worth the time expended. I would love a recommended default kernel .config - either for Gentoo or Linux in general, but based towards on small server use - but I'm not aware of anyone publishing one. I like the notion of a small, minimal and sleek kernel, but with lots of modules available to load as necessary, should I install a new PCI card. If anyone has any low-overhead suggestions, I would love to hear them. Stroller. using a livecds kernel is probably the worst decision out there. http://www.kroah.com/lkn/ as you can see, you don't have to download it. Or just do it step for step, reading help files. seccomp? Except Andrea Arcangeli nobody uses it. Can be deactivated. I2O? Almost nobody uses it. Especially not 'commodity' hardware, out it goes. Numa? Do you have a multi-socket system? No? Then you don't need it. ... you can remove a lot of cruft that way. Namespaces - you don't need it? Kick 'em out. Group scheduling? Sure, a great way to reduce performance... ...
Re: [gentoo-user] WiFi access point with iwl3945
On 7 Nov 2009, at 05:21, Mike Mazur wrote: ... I'm trying to set up my laptop to be a wireless access point. It has an iwl3945 card. I followed the Atheros Ath5k Wireless Access Point article on gentoo-wiki.com[1] before realizing that it was Atheros specific. Gentoo-wiki is a mess. :( If only the people who wrote their separate articles about building APs with madwifi [1] and ath5k [2] had thought to improve and contribute to the pre-existing wireless access point article: http://en.gentoo-wiki.com/wiki/Wireless/Access_point That explains very clearly (as has Florian) that the hardware needs to support master mode and also why. The explanation of setting up the iptables / bridging / dhcpd / c should not need to be repeated on multiple pages. I started that page originally, but this was perhaps as much as 5 years ago. At that time it documented how to produce a basic installation with simple explanations in order to make it easy for someone who was even just a little command-line literate. It has actually changed remarkably little in some respects, but I doubt it is any longer consistent or fully accurate. It actually claims that the ipw3945 does do master mode - I assume this is a different driver for your card? - but Googling leaves me dubious; I see the claim repeated other places without the poster actually appearing to succeed. Stroller. [1] http://en.gentoo-wiki.com/wiki/Madwifi_Wireless_Access_Point [2] http://en.gentoo-wiki.com/wiki/Atheros_Ath5k_Wireless_Access_Point
Re: [gentoo-user] Re: decrapify your kernel config WAS: ps shows pegasus process running - what is it?
On 8 Nov 2009, at 00:10, Volker Armin Hemmann wrote: ... using a livecds kernel is probably the worst decision out there. http://www.kroah.com/lkn/ as you can see, you don't have to download it. Or just do it step for step, reading help files. seccomp? Except Andrea Arcangeli nobody uses it. Can be deactivated. I2O? Almost nobody uses it. Especially not 'commodity' hardware, out it goes. Numa? Do you have a multi-socket system? No? Then you don't need it. ... you can remove a lot of cruft that way. Namespaces - you don't need it? Kick 'em out. Group scheduling? Sure, a great way to reduce performance... But Volker, if it takes me an hour to decrapify my kernel config and make it faster, it will probably take 1000 years for those speed improvements to pay off. If I had unlimited time then I would love to read that book. I really LIKE the idea of decrapifying my kernel config. But realistically, any time I spend on it is time wasted, for which no difference will be appreciable. Stroller.
Re: [gentoo-user] deleted inode referenced
On 7 Nov 2009, at 17:05, Philip Webb wrote: ... There are files in /var /tmp which I can't remove: the msg is EXT2-fs error: ext2_lookup: deleted inode referenced: 16388. I got round the problem by creating new dirs, copying everything else renaming the dirs, but that leaves me with /bad1 , which I can't remove as it contains a reference to an inode which no longer exists. ... Have you tried running fsck on the filesystem? Stroller.
Re: [gentoo-user] Re: decrapify your kernel config WAS: ps shows pegasus process running - what is it?
On Sonntag 08 November 2009, Stroller wrote: On 8 Nov 2009, at 00:10, Volker Armin Hemmann wrote: ... using a livecds kernel is probably the worst decision out there. http://www.kroah.com/lkn/ as you can see, you don't have to download it. Or just do it step for step, reading help files. seccomp? Except Andrea Arcangeli nobody uses it. Can be deactivated. I2O? Almost nobody uses it. Especially not 'commodity' hardware, out it goes. Numa? Do you have a multi-socket system? No? Then you don't need it. ... you can remove a lot of cruft that way. Namespaces - you don't need it? Kick 'em out. Group scheduling? Sure, a great way to reduce performance... But Volker, if it takes me an hour to decrapify my kernel config and make it faster, it will probably take 1000 years for those speed improvements to pay off. If I had unlimited time then I would love to read that book. I really LIKE the idea of decrapifying my kernel config. But realistically, any time I spend on it is time wasted, for which no difference will be appreciable. Stroller. I am not you, but I need maybe 5min for a config ;) and there are more benefits. Smaller binary, more cpu cache free for real data. Better performance lies that way. Also, you don't have to wonder about processes you did not start. Security is also a point. A smaller codebase in use is a saver codebase in use. A lot of bugs only affect kernels with certain features turned on - it is very relaxing if you don't have that feature...
[gentoo-user] Suncom FX2000 Joystick: Buttons but not analog working...
I have an old Suncom FX200 Joystick which I recently tried to get working with my gentoo system. I tried using various methods, with outcomes varying from epic fail to almost success, and finally got results after following the guide at http://en.gentoo-wiki.com/wiki/Joystick I did what it said in the Kernel Configuration and Gameport Joysticks sections (the one uses the parallel port on my sound card), and chose the Classic Analog joystick driver, as there is not one for my specific model (or manufacturer). I compiled, installed, and booted into the new kernel, and continued with the testing and calibration. After emerging the joystick package, I ran the dmesg | grep -i Joystick command, and this was the output: [4.329910] input: Analog 4-axis 4-button joystick as /devices/pci:00/:00:1e.0/:02:07.0/gameport0/input/input5 Which was more or less correct, except that it is a 3-axis stick. I ran cat /dev/input/js0, which produced the desired garbage data, but new data appeared only on button presses, not stick movements, which was where I first noticed problems. Anyway, I ran jstest /dev/input/js0, which showed that axes 0 and 1 were always at 0 (regardless of actual stick position), and 2 and 3 were always -32767, regardless of the position of the throttle wheel. I ran jscal -c /dev/input/js0 to calibrate the joystick, and when I run it now without the -c option, it outputs: Joystick has 4 axes and 4 buttons. Correction for axis 0 is broken line, precision is 0. Coeficients are: 1789, 2299, 419758, 419758 Correction for axis 1 is broken line, precision is 0. Coeficients are: 700, 900, 1073741, 1073741 Correction for axis 2 is broken line, precision is 0. Coeficients are: 1422, 1422, 377546, 377546 Correction for axis 3 is broken line, precision is 0. Coeficients are: 1422, 1422, 377546, 377546 Ok, so now you all know the facts. Can anyone tell me what I'm doing wrong? Thanks in advance, and for all your previous help with the ethernet card drivers! Marcus
Re: [gentoo-user] deleted inode referenced
On Sat, 2009-11-07 at 12:05 -0500, Philip Webb wrote: In the course of trying to get X to work on my ASUS 1005HA netbook, I had to power the machine off several times. In the course of this, some damage seems to have occurred to the file system. There are files in /var /tmp which I can't remove: the msg is EXT2-fs error: ext2_lookup: deleted inode referenced: 16388. I got round the problem by creating new dirs, copying everything else renaming the dirs, but that leaves me with /bad1 , which I can't remove as it contains a reference to an inode which no longer exists. NB this is not the more common problem of a bad file name, which cb dealt with simply by removing the inode (which still exists). Can anyone help ? BTW is Ext2 the best fs for this machine ? Might Ext3 or Ext4 be better ? -- I use Reiserfs on my desktop machines. Have you tried fsk on it? - man e2fsck The last question is a bit of a how long is a piece of string question. My personal experience is ext2 is only for those occasions you dont value the data at all :) ext3 isnt much better unless you use data=journal to get some basic protection. But instead of fiddling with such (deleted disparaging comment) file systems, use reiserfs though this may need a complete reinstall . Updates are still occuring to the reiserfs code in the kernel, so reiserfs is not abandoned by any means. ext4, reiserfs4, btfs and the like are too new for me, though I like the look of btfs. I have read some interesting articles in the past about the ext filesystem devs and their inside track on rieserfs in the kernel and the war of words that surrounds it. My personal experience with ext2/3 supports the view that the ext filesystems didn't fairly win the argument based on performance and data protection. Enough said. Unfortunately, filesystems are a very complex and emotive subject with no one choice fits all solution. My suggestion is you have lost data and have problems with what you are using ... time to move on, try ext3 (with data=journal) next - because you can fix ext2 with e2fsck (though probably lose some data in the process, but ...), convert to ext3 then mount with data=journal without having to reinstall. Google for the commands needed ... worked for me. Have fun :) BillK
[gentoo-user] Re: Intel GMA 4500MHD
Albert Hopkins marduk at letterboxes.org writes: As some have reported Intel Graphics cards don't perform as well as other competitors in 3D graphics. It's fine though for people like me who aren't gamers and need powerful graphics hardware. I use GNOME/Compiz and things work pretty exceptional (except for the Blur plugin in Compiz; there's no hardware rendering support; you'll want to disable that). Thanks for the comments. I think I'll keep looking, as Intel graphics does not seem to be what I want. thx, James
Re: [gentoo-user] deleted inode referenced
On Sunday 08 November 2009 04:46:50 William Kenworthy wrote: On Sat, 2009-11-07 at 12:05 -0500, Philip Webb wrote: BTW is Ext2 the best fs for this machine ? Might Ext3 or Ext4 be better ? -- I use Reiserfs on my desktop machines. Have you tried fsk on it? - man e2fsck The last question is a bit of a how long is a piece of string question. My personal experience is ext2 is only for those occasions you dont value the data at all :) ext3 isnt much better unless you use data=journal to get some basic protection. That turns on the journal which will wear out an SSD in short order, so ext2 is indeed the better file system But instead of fiddling with such (deleted disparaging comment) file systems, use reiserfs though this may need a complete reinstall . Updates are still occuring to the reiserfs code in the kernel, so reiserfs is not abandoned by any means. I use reiser everywhere else but not on my netbook. Have you used it on an SSD and if so, what results did you get ext4, reiserfs4, btfs and the like are too new for me, though I like the look of btfs. All conventional filesystems are built in such a way as to suit rotating disk media. Not surprising, as those were the only disks available for many a year. SSDs however, are very different, especially the cheap nasty controllers that go into netbooks. I think one should be willing to experiment with those, see what comes up. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: decrapify your kernel config WAS: ps shows pegasus process running - what is it?
Volker Armin Hemmann wrote: On Sonntag 08 November 2009, Stroller wrote: On 8 Nov 2009, at 00:10, Volker Armin Hemmann wrote: ... using a livecds kernel is probably the worst decision out there. http://www.kroah.com/lkn/ as you can see, you don't have to download it. Or just do it step for step, reading help files. seccomp? Except Andrea Arcangeli nobody uses it. Can be deactivated. I2O? Almost nobody uses it. Especially not 'commodity' hardware, out it goes. Numa? Do you have a multi-socket system? No? Then you don't need it. ... you can remove a lot of cruft that way. Namespaces - you don't need it? Kick 'em out. Group scheduling? Sure, a great way to reduce performance... But Volker, if it takes me an hour to decrapify my kernel config and make it faster, it will probably take 1000 years for those speed improvements to pay off. If I had unlimited time then I would love to read that book. I really LIKE the idea of decrapifying my kernel config. But realistically, any time I spend on it is time wasted, for which no difference will be appreciable. Stroller. I am not you, but I need maybe 5min for a config ;) and there are more benefits. Smaller binary, more cpu cache free for real data. Better performance lies that way. Also, you don't have to wonder about processes you did not start. Security is also a point. A smaller codebase in use is a saver codebase in use. A lot of bugs only affect kernels with certain features turned on - it is very relaxing if you don't have that feature... I agree. When I first installed Gentoo I had never built a kernel or even run make menuconfig. It took me three tries to get a bootable kernel but it was worth it. I don't put something in my kernel that isn't needed or that I use, well except for NTFS support. I may have to rescue my brother one day. Point being, you only have to build one good kernel then you can copy and run make oldconfig after that. I'm with Volker on this, 5 minutes at most once you get a good build. If you know your system really well, you may can start from scratch and config one in that time. You really need to learn to make your own kernel. After all, it's the first file your computer loads when the OS starts booting up. It's also the first level of security. It is what deals with all the hardware on the most basic level. You also get to see your head swell when you get a lean kernel and say I did that. Dale :-) :-)
Re: [gentoo-user] Strange iwl3945 behavior (possibly wpa_supplicant related?)
On Saturday 07 November 2009 18:11:05 Mike Edenfield wrote: controlling the NIC. So, yeah, it seems like the difference is with NetworkManager and/or wpa_supplicant, but I have no idea what that difference is. (Also, to head off the upcoming just don't use NetworkManager: this laptop is eventually going to someone who'll be roaming a lot more than I do, for whom constantly editing wpa_supplicant.conf isn't really an option. Wicd doesn't support VPN connections, so NetworkManager seems to be my only option :\) That's a pity. Using wicd instead of nm was going to be my next suggestion :-) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] services on ASUS 1005HA
On Saturday 07 November 2009 19:51:10 Philip Webb wrote: Yes, it's very useful: thanks as usual. BTW I'm surprised how fast the little machine is compiling stuff: it's faster than my 2003 machine approaches my 2007 Core 2 Duo. Also, there's a reference in a Gentoo Wiki article to hyperthreading, which advises to configure multiple processing into the kernel. Is this correct ? Is it safe ? Be very careful with hyperthreading. It's one of those things that looked like a good idea at the time and didn't really work out in practice. There's a reason why so many CPUs these days are multi-core. I always advise to disable hyper-threading first unless it's proven to be beneficial. And the signal-to-noise ratio is gentoo-wiki is nowhere near as high as some folks think -- alan dot mckinnon at gmail dot com