Re: [gentoo-user] handbrake fails to compile
tu...@posteo.de writes: On 05/24 11:12, R wrote: `cat /usr/portage/media-video/handbrake/handbrake-1.3.0-r2.ebuild` Also, do you have media-video/handbrake-1.3.2-*r2* ? then *r2 has been released secongs after my syincing...h... o_O My bad! I was too hasty and mis-typed. It was actually *1.3.0-r2* I checked. Soz. R
Re: [gentoo-user] handbrake fails to compile
tu...@posteo.de writes: media-video/handbrake-1.3.2:0/0::gentoo fails to compile (I am on "unstable"). Message was: * ERROR: media-video/handbrake-1.3.2::gentoo failed (compile phase): * emake failed Funny, when I `cat` the ebuild, it has a few TODO items. And it says documentation building is broken; in the compile phase. `cat /usr/portage/media-video/handbrake/handbrake-1.3.0-r2.ebuild` ... src_compile(){ ... # TODO: Documentation building is currently broken, try to fix it. # # if use doc ; then # emake -C build doc # fi Also, do you have media-video/handbrake-1.3.2-*r2* ? You might want to trying syncing up again, if you don't. How can I fix that? Maybe try: `USE="-doc" emerge -av1 media-video/handbrake` Or: `emerge --sync && #command above` Regards, Roger
[gentoo-user] Xorg-server start on VT07
I'm trying to get a display manager (slim) and Xorg-server working in a LXC container. I'm using systemd. I can successfully ssh into the container and: systemctl start slim.service with everything working as desired. However, when slim.service is started as part of the container's startup, the Xserver fails to start because: Oct 02 07:54:57 XorgContainer slim[37]: Fatal server error: Oct 02 07:54:57 XorgContainer slim[37]: (EE) xf86OpenConsole: Cannot open virtual console 7 (Operation not permitted) The permissions on tty7: # ls -l /dev/tty7 crw--w 1 root tty 4, 7 Oct 2 07:52 /dev/tty The server's log has: [ 138.732]ABI class: X.Org Video Driver, version 23.0 [ 138.732] (II) LoadModule: "evdev" [ 138.732] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so [ 138.732] (II) Module evdev: vendor="X.Org Foundation" [ 138.732]compiled for 1.19.5, module version = 2.10.6 [ 138.732]Module class: X.Org XInput Driver [ 138.732]ABI class: X.Org XInput driver, version 24.1 [ 138.732] (II) LoadModule: "kbd" [ 138.732] (II) Loading /usr/lib64/xorg/modules/input/kbd_drv.so [ 138.732] (II) Module kbd: vendor="X.Org Foundation" [ 138.732]compiled for 1.19.5, module version = 1.9.0 [ 138.732]Module class: X.Org XInput Driver [ 138.732]ABI class: X.Org XInput driver, version 24.1 [ 138.732] (II) vmware: driver for VMware SVGA: vmware0405, vmware0710 [ 138.732] (EE) Fatal server error: [ 138.732] (EE) xf86OpenConsole: Cannot open virtual console 7 (Operation not permitted) /etc/slim.conf has: xserver_arguments -nolisten tcp -br -deferglyphs 16 -keeptty vt07 The use flags and Xorg driver specification in make.conf are: USE="X acpi fontconfig gallium gtk icu inotify jpeg lcms libkms mpi png policykit rdp smp sockets svg symlink syslog systemd threads tiff truetype udev usb vmware xft xorg -consolekit -dbis -fortran -ipv6 -nls -sendmail" VIDEO_CARDS="vmware" INPUT_DEVICES="evdev" There is one package specific use flag: # package.use# required by x11-drivers/xf86-video-vmware-13.3.0::gentoo # required by x11-base/xorg-drivers-1.19::gentoo[video_cards_vmware] # required by x11-base/xorg-server-1.19.5-r2::gentoo[xorg] # required by x11-drivers/xf86-input-keyboard-1.9.0::gentoo # required by @selected # required by @world (argument) >=media-libs/mesa-18.1.6 xa The LXC container is a privileged container. The software is up-to-date as of this AM. I'm not sure how to debug this. -- John R. Shannon j...@johnrshannon.com smime.p7s Description: S/MIME Cryptographic Signature
[gentoo-user] Re: Programm for Floor Plans
On Tue, 05 Mar 2013 00:56:57 +0100, Silvio Siefke wrote: Hello, know someone a program for draw floor plans? I has use normal Visio for it, but unter Linux? http://www.sweethome3d.com/index.jsp I've been using it happily for a couple of years and it is very good anc capable. Just download it, extract and use. No installation required. Provided you have Java in any form installed.
Re: [gentoo-user] problems with the web browsers
On Sun, 2009-08-16 at 18:49 +0200, Ward Poelmans wrote: On Sun, Aug 16, 2009 at 18:40, M Daniel R M4.maga...@gmail.com wrote: firefox: Here the problem is very very annoying, I've run firefox before with many other Linux flavours and never..., never got to this status of inability; once you've got about six tabs opened on the same frame window, firefox gets close to hang, and you become unable to manage it anymore, unless you have an infinite patience. Doing top from a CLI shows a %CPU _over_ 100%, amazing!. At the end, you'll have to kill the process from console. Have you tried running firefox with all your extensions and plugins disabled? Which version of firefox are you running and what use flags do you use? Ward Yes, after your suggestion ;-) I had those extensions, until today: babelfish, boost for facebook, foxlingo, suggestmeyes. They are not on my firefox web browser any more. Then I tried once again, and the problem continued there, exactly the same. Well, I didn't want to touch the next, but.. Now I just have two more extensions left, the most used for me: pdf download, and clickweather. I just disabled them. Tried again several tabs and now... it's OK. Everything seems to be running pretty stably. Mozilla Firefox Version: 3.0.11 USE flags I use are pasted here on my first mail, man. Thank you very much, the problem seems to be located. Now I ask to myself whether there is anything I could do in order to have enabled those two extensions, working and without leave stability on firefox, or maybe this is, at the moment, not possible. Daniel Rguez. Magarzo
Re: [gentoo-user] problems with the web browsers
On Sun, 2009-08-16 at 19:09 +0200, Jesús Guerrero wrote: I am not into konqueror these days, so no idea about that. As for firefox, most problems comes from corrupted profiles, silly extensions, etc. So, first I would try using a clean profile, the easiest way to do that is to create a new user to test with. If the problem goes away then you know that there's something wrong in your profile, try disabling every extension and plugin before doing anything else. Yes, as I said just before, extensions (but not silly..) were the problem; not much convincing to me this solution, but facts were clear: after removing or disabling them, firefox run smoothly again. BTW, sorry but I didn't understood what you meant when saying about profile, (I'm not much got into tech issues, sorry :-) Daniel R. Magarzo
Re: [gentoo-user] Re: problems with the web browsers
On Sun, 2009-08-16 at 20:16 +0300, Nikos Chantziaras wrote: On 08/16/2009 07:40 PM, M Daniel R M wrote: firefox: Here the problem is very very annoying, I've run firefox before with many other Linux flavours and never..., never got to this status of inability; once you've got about six tabs opened on the same frame window, firefox gets close to hang, and you become unable to manage it anymore, unless you have an infinite patience. Doing top from a CLI shows a %CPU _over_ 100%, amazing!. At the end, you'll have to kill the process from console. I don't know, either, why firefox gets to this status; preferences are as usual, etc. Maybe the problem roots from the flags when compiling, but I haven't received any message from the system, IIRC... Is there any flag wrong on my system? I remember Firefox was biting me with this too at some time. The solution for me was to go to Edit-Preferences, and in the Security tab uncheck the Block reported attack sites and Block reported web forgeries checkboxes. The issue was that those features use sqlite to update internal databases of thousands of malware sites, and updates to these lists were bringing my CPU to its knees. So try that and see if it helps. Originally they both were checked. Then, unchecked and re-cheched again, it seems that there were no difference here. Disabling add-ons on firefox seems to have been the provisional solution. CFLAGS=-march=nocona -O2 -pipe CXXFLAGS=${CFLAGS} Btw, if you're on a Core2 and a recent GCC, you might want to change that to -march=core2 or -march=native. Yes, I'm on a Core2, a laptop (Thinkpad T61), here you are a cat over cpuinfo: proc # cat cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz stepping: 6 cpu MHz : 2101.000 cache size : 3072 KB physical id : 0 siblings: 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm ida tpr_shadow vnmi flexpriority bogomips: 4189.76 clflush size: 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz stepping: 6 cpu MHz : 2100.000 cache size : 3072 KB physical id : 0 siblings: 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm ida tpr_shadow vnmi flexpriority bogomips: 4189.28 clflush size: 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: -- Here you are the GCC version: proc # gcc --version gcc (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 4.3.2 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - I already knew about that possibility indeed; Actually, I got to have it some time ago (months) here, on this unit, when I made my first install of Gentoo (bad end then :-)) Now, I've just leaved it as is 'cause of laziness, just laziness, man. Apart from that, I'm not much sure there would be any significant difference..., would be it? Thanks a lot. Daniel
Re: [gentoo-user] problems with the web browsers
On Sun, 2009-08-16 at 20:01 +0200, Alan McKinnon wrote: On Sunday 16 August 2009 18:40:12 M Daniel R M wrote: Konqueror: very stable indeed, but it couldn't be at another way since it's a key piece of the KDE environment... The problem comes when I want to fill in forms (you know... web pages for registering, etc.). It stops many times without giving us an alert message or some kind of explanation, so you have to deduce that the problem is not from the website, but the browser instead. I don't know whether problems come from java or whatever..., I've checked my konqueror preferences and I'd bet they are all OK.. javascript support in konqueror sucks. I always thought that here it isn't my fault (that is, incomplete installs and so on..) For everything else it's actually OK. One of these days it will use webkit as the backend and then things might improve. Until then, I'm afraid you are SOL. ASAP, please! I think konqueror lacks of such abilities, and they are practically essential nowadays, but apart from that..., other capabilities are fine IMHO (speed, stability, ...). Ops! In addition, I realize now that sometimes konqueror renders (shows) some webpages badly (you know, things placed in the frame where they shouldn't, etc.) Regards, Daniel R. Magarzo
[gentoo-user] problems with the web browsers
Hello list, Sadly, I'm pretty much disappointed with both web browser installed on my system: konqueror and firefox. Konqueror: very stable indeed, but it couldn't be at another way since it's a key piece of the KDE environment... The problem comes when I want to fill in forms (you know... web pages for registering, etc.). It stops many times without giving us an alert message or some kind of explanation, so you have to deduce that the problem is not from the website, but the browser instead. I don't know whether problems come from java or whatever..., I've checked my konqueror preferences and I'd bet they are all OK.. firefox: Here the problem is very very annoying, I've run firefox before with many other Linux flavours and never..., never got to this status of inability; once you've got about six tabs opened on the same frame window, firefox gets close to hang, and you become unable to manage it anymore, unless you have an infinite patience. Doing top from a CLI shows a %CPU _over_ 100%, amazing!. At the end, you'll have to kill the process from console. I don't know, either, why firefox gets to this status; preferences are as usual, etc. Maybe the problem roots from the flags when compiling, but I haven't received any message from the system, IIRC... Is there any flag wrong on my system? This is my /etc/conf.d: ~ # more /etc/make.conf # These settings were set by the catalyst build script that automatically # built this stage. # Please consult /etc/make.conf.example for a more detailed example. CFLAGS=-march=nocona -O2 -pipe CXXFLAGS=${CFLAGS} # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. CHOST=x86_64-pc-linux-gnu ## # These are the USE flags that were used in addition to what is provided by the # profile used for building. USE=symlink mmx sse sse2 sse3 alsa cdr dvdr qt3 qt4 kde -gnome acpi wifi usb unicode objc bash-completion ## MAKEOPTS=-j3 GENTOO_MIRRORS=http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.lagis.a t/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aac hen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirro r/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/p ub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.un i-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mir rors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http:/ /mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de /pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http:// gentoo.mneisen.org/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp .spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.udc.es/gentoo/ ftp://ftp.udc .es/gentoo/ http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/ge ntoo SYNC=rsync://rsync.gentoo.org/gentoo-portage ## INPUT_DEVICES=evdev VIDEO_CARDS=nvidia vesa ### FEATURES=ccache parallel-fetch userfetch CCACHESIZE=2G ### LINGUAS=en es ## Please, I'd like to have your comments and to solve the problem once and forever. Thanks in advance, Daniel R. Magarzo
Re: [gentoo-user] installation / grub boot problem
Heping He wrote: Hi, I tried to install gentoo on my AMD 64 dual core machine. It has four 500 GB HDs. I followed the instruction on http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml. I replaced /dev/md4 with raid5 instead of raid0. Here is the list of each HD's partitiion: /dev/sda: partition #, boot startend type 1 *118 fd 2 19 361 fd 3362 end fd /dev/sdb partition #, boot startend type 1 1361 82 2 362 endfd /dev/sdc is the same to /dev/sda, and /dev/sdd = /dev/sdb I created /dev/md1, /dev/md3 and /dev/md4: mknod /dev/md1 b 9 1 mknod /dev/md3 b 9 3 mknod /dev/md4 b 9 4 and then form raid: mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sda1 /dev/sdc1 mdadm --create /dev/md3 --level=1 --raid-devices=2 /dev/sda2 /dev/sdc2 mdadm --create /dev/md4 --level=5 --raid-devices=4 /dev/sda3 /dev/sdb2 /dev/sdc3 /dev/sdd2 /dev/sdb1 and /dev/sdd1 forms the swap space mount: mount /dev/md3 /mnt/gentoo mount /dev/md1 /mnt/gentto/boot /dev/md4 is for lvm2 and /usr, /home, /opt and other common unix dir are created there after chroot and emerge, I issued emerge grub and modified /boot/grub/grub.conf default 0 timeout 10 title gentoo root (hd0,0) kernel /boot/kernel root=/dev/md3 and issue grub grub root (hd0,0) grub setup (hd0) grub root (hd2,0) . grub setup (hd2) . grub quit When I reboot, the kernel issued a panic msg: it says can't read /dev/md/3 or (hd2,0) is invalid device. Any idea what went wrong? Thanks in advance for any suggestion. --HH I'm running a similar RAID setup and I found that I must add root=/dev/md3 md=3,sda3,sdb3,hda3 .It seems that md3 must be defined. At least I had kernel panics until I added this. Chuck
[gentoo-user] Installation problems on AMD64 box
I use Ubuntu for every day but as my box has a spare 40GB hard disk I decided to have a go at installing Gentoo on it for evaluation Using the handbook documentation for AMD64 I burned a basic installation CD, booted it up, and followed the instructions for installation on the spare drive. Everything went fine; I partitioned the disk with a 32MB ext2 sector for /boot, a 512MB swap sector, 10GB for root and the rest for /home. I had no trouble with the network, successfully downloaded everything that needed to be downloaded and unpacked it, successfully chrooted to the new system, and reached the compiling the kernel section without a glitch. And the then the trouble began. I emerged gentoo-sources, and it ran fine for about five minutes, and then (choosing the moment when I decided all was well to go and make a pot of tea, the system rebooted itself. I booted up the disk again and went through the chrooting process. When I went to emerge gentoo-sources again, emerge looked for the dependencies and then the whole system froze solid with one of those this is NOT our fault kernel panic messages. Not to worry. I can be very patient on occasions. I cold booted the box and started all over again, deleting the new partitions and going through the instructions from the beginning incase I'd missed anything. Again I got to emerging gentoo-sources. Again it ran for about five minutes before the system rebooted itself. Again I went through the chrooting process and went to emerge gentoo-sources. Again the system froze. I rebooted and rechrooted and tried it again. Same result. I'm reluctant to believe that this is down to an arbitrary hardware fault, since everything else works fine. It does seem to have something to do with emerging gentoo-sources. Is anybody able to rescue this maiden in distress and throw some light on my problem? Rosie signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Installation problems on AMD64 box
On Friday 28 November 2008 11:56:52 Iain Buchanan wrote: ah, who says Ubuntu isn't good for anything? Good to see you're trying a real distribution :) /flame Toto, I don't think we're in Kansas anymore... Typically now you'd prove me wrong and say how you've been using dieHardLinux for years... anyhoo welcome! First tasted Slackware about 12 years ago. Long before that I used to make VAXes sing and dance. We'll draw a veil over the MVS/TSO/CICS years, except to say that I know bloated systems when I see them. [snip excellent problem report] blush No offence, but I doubt an Ubuntu install would tax your resources as much as compiling your system as you have just done. No, one can have it up and running in the time it takes to compile, say, Firefox from scratch. Sometimes I like a quiet life. Other times I like to live on the edge :) but girls don't exist on tha interwebz! So it seems - look at all those pizza boxes and old beer cans all over the floor. Rosie -- CURRENTLY READING: The Rainbow, by DH Lawrence Pie'n'Mushies: Barrow Day-by-Day http://pieandmushies.wordpress.com I am not young enough to know everything signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Installation problems on AMD64 box
On Friday 28 November 2008 12:55:06 Andrea Momesso wrote: An easy way to find out if this is a gentoo related problem is to avoid using the livecd. You can easily chroot into the gentoo drive from your ubuntu installation and try to emerge gentoo-sources from there. Ok, I've done this. gentoo-sources emerged without any problems. I've set it compiling a genkernel (if I am convinced by what I get when it's all working, I'll try compiling a custom kernel. It's currently running without mishap. If you still get a failure you can be almost sure this is an hardware problem. I haven't had a problem yet so I can't say anything. I'm going out for a couple of hours later so I'll run a memtest while I'm gone. Rosie -- CURRENTLY READING: The Rainbow, by DH Lawrence Pie'n'Mushies: Barrow Day-by-Day http://pieandmushies.wordpress.com I am not young enough to know everything signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Installation problems on AMD64 box
On Friday 28 November 2008 12:29:23 Florian Philipp wrote: By the way: Can you post some parameters of your system (CPU, age, ...) and tell us, whether you use 64bit or 32bit versions of Ubuntu and Gentoo? I had the box built for me a year ago. Processor is ADM Athlon 64 X2 Dual Core Processor 6000+ (two of them) I'm running 64-bit Ubuntu on the main disk and attempting to install ADM64 2008.0 Gentoo PCI listing: 00:00.0 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge 00:00.1 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge 00:00.2 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge 00:00.3 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge 00:00.4 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge 00:00.5 PIC: VIA Technologies, Inc. K8M890CE I/O APIC Interrupt Controller 00:00.7 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge 00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South] 00:02.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller 00:03.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller 00:0f.0 IDE interface: VIA Technologies, Inc. VT8237A SATA 2-Port Controller (rev 80) 00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07) 00:10.0 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev a0) 00:10.1 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev a0) 00:10.2 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev a0) 00:10.3 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev a0) 00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) 00:11.0 ISA bridge: VIA Technologies, Inc. VT8237A PCI to ISA Bridge 00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c) 00:13.0 Host bridge: VIA Technologies, Inc. VT8237A Host Bridge 00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 02:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS (rev a1) 80:01.0 Audio device: VIA Technologies, Inc. VIA High Definition Audio Controller (rev 10) Anything else? Rosie -- CURRENTLY READING: The Rainbow, by DH Lawrence Pie'n'Mushies: Barrow Day-by-Day http://pieandmushies.wordpress.com I am not young enough to know everything signature.asc Description: This is a digitally signed message part.
[gentoo-user] sound hosed after running python-updater
Yesterday I was having problems with a few packages, like openoffice, because of java issues. The advice I found to correct the problem was to run python-updater, which I did. It reemerged 33 packages one of which was alsa-libs. It reemerged alsa-lib, it did not upgrade it. All the emerges finished without errors, but now the sound doesn't work. I've tried reemerging all the alsa stuff but no joy. I have the alsa drivers in the kernel and I'm using alsa-libs-1.0.16 When I try running madplay -v Music/Megamix/19.mp3 I get the following error: MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al. ALSA lib dlmisc.c:118:(snd_dlsym_verify) unable to verify version for symbol _snd_pcm_plug_open ALSA lib pcm.c:2108:(snd_pcm_open_conf) symbol _snd_pcm_plug_open is not defined inside [builtin] audio: No such device or address I found a thread on the gentoo forums discussing this problem. It seems some pcm plugins need to be specified. So I specified all of them! reemerged alsa-libs and tools, utils, etc. Still the same error message! I've run out of ideas, anybody know what the problem is? Thanks Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%%
Re: [gentoo-user] Re: sound hosed after running python-updater
On Monday 01 September 2008 12:23:03 Nikos Chantziaras wrote: Matthew R. Lee wrote: Yesterday I was having problems with a few packages, like openoffice, because of java issues. The advice I found to correct the problem was to run python-updater, which I did. It reemerged 33 packages one of which was alsa-libs. It reemerged alsa-lib, it did not upgrade it. This should fix it: revdep-rebuild -X -i --ask the problem seems to be a link problem with the ALSA lib. When you hear link problem, revdep-rebuild is the solution most of the time. It will rebuild packages that use the ALSA lib. I ran revdep-rebuild last night after the big reemerge it didn't pick anything up. Just to be sure I re-ran it when I got your email. I doesn't want to rebuild anything. Thanks Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%%
Re: [gentoo-user] googleearth
On Monday 11 August 2008 19:46:22 Dale wrote: Matthew R. Lee wrote: Google earth upgraded over the weekend to version 4.2.205.5730. It installed fine but it runs like shit. The rendering is so slow as to be completely unusable. The previous version worked fine so I tried to go back to it but it's gone, at least according to eix. Anybody else having the same problem? Nobody's mentioned it on this list or on the forums sofar. Where do I start to find a solution? Hardware: Compaq Presario V5000 laptop Precessor: Celeron M 1.46GHz RAM: 2GB Graphics: Intel 945GM/GMS Express Integrated Graphics Controller Saludos Matt Well, I'm not going to lock myself into a agreement but you can try starting here: http://earth.google.com/download-earth.html I would start close to the bottom where it says this: Download the previous version. That may help. It may go back a little farther or you may want to try moving to a even newer version where your issue may be fixed. Hope that helps. Just wish I could get off this stinking dial-up so I can play with it too. :-( Dale :-) :-) Just a follow up to this short thread. Sorry it's been a couple of weeks but I've been away doing field work. The problem with the new version of google earth is the atmosphere. Rendering thin air appears to be a resource hog. To restore normal function, deselect Atmosphere in the view menu. Saludos Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%%
[gentoo-user] googleearth
Google earth upgraded over the weekend to version 4.2.205.5730. It installed fine but it runs like shit. The rendering is so slow as to be completely unusable. The previous version worked fine so I tried to go back to it but it's gone, at least according to eix. Anybody else having the same problem? Nobody's mentioned it on this list or on the forums sofar. Where do I start to find a solution? Hardware: Compaq Presario V5000 laptop Precessor: Celeron M 1.46GHz RAM: 2GB Graphics: Intel 945GM/GMS Express Integrated Graphics Controller Saludos Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%%
[gentoo-user] what qt package?
I'm doing a clean up of my system, getting rid of stuff I never use. Some time ago, for reasons I can't remember, I installed a qt development package which provided Qt linguist, Qt designer and Qt assistant. I want to unmerge them but I can't remember, or figure out which package they're from. I've tried variations on the names, I've looked at the gentoo-portage web page and 'searched' the database, I've been to the trolltech pages. But I can't work it out! I think they all came in one package together. Does anyone know what it's called. It will be obvious when you tell me :-) Cheers Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%%
Re: [gentoo-user] what qt package?
On Sunday 03 August 2008 18:51:43 Daniel Pielmeier wrote: Matthew R. Lee schrieb am 04.08.2008 00:28: I'm doing a clean up of my system, getting rid of stuff I never use. Some time ago, for reasons I can't remember, I installed a qt development package which provided Qt linguist, Qt designer and Qt assistant. I want to unmerge them but I can't remember, or figure out which package they're from. I've tried variations on the names, I've looked at the gentoo-portage web page and 'searched' the database, I've been to the trolltech pages. But I can't work it out! I think they all came in one package together. Does anyone know what it's called. It will be obvious when you tell me :-) Cheers Matt Linguist, Designer and Assistant are part of x11-libs/qt and I don't think you can get rid of them by use flag. You have to unmerge qt but this is surely not what you want or can. Only if no package from your system depends on qt anymore. Is that true? I could of sworn I didn't always have them, and I've always used kde. But then again it might explain why I can't find specific packages for them. Thanks Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%%
[gentoo-user] Dell Linux desktop
I'm thinking of buying a dell Ubuntu desktop (Inspiron 530MT) for my lab. The university has an arrangement that can get me a discount. I have a question, has anyone bought one of these and installed gentoo on it? I sure it will work, I'm just wondering if there are any tweaks that dell have made to the Ubuntu install to make certain components work, that may be more difficult to replicate with the gentoo install. I'm going for the default set-up plus extra memory, that's a Pentium dual-core processor E2180 1MB 2GHz, 2GB RAM, 250GB SATA, 20 widescreen, Integrated Intel Graphics Media Accelerator 3100, Integrated 7.1 Channel Audio Any comments would be appreciated Saludos Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] grub boot problem
I've just compiled a new kernel, but when I reboot grub will not load the new kernel. I get error 15 (file not found). But the file is there. Yes grub is install properly and yes the boot partition was mounted when I copied the new kernel across and changed the grub.conf. What's really confusing me is there's no syntax error in the grub.conf that I can see, and the first kernel on the list boots fine. Anyone got any cluse as to why grub can't see the second kernel? [grub.conf] default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo 2.6.22-r2 root (hd0,0) kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] title=Gentoo 2.6.24-r8 root (hd0,0) kernel /boot/kernel-2.6.24-r8 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] grub boot problem
On Saturday 05 July 2008 19:15:05 Mick wrote: On Sunday 06 July 2008, Matthew R. Lee wrote: I've just compiled a new kernel, but when I reboot grub will not load the new kernel. I get error 15 (file not found). But the file is there. Yes grub is install properly and yes the boot partition was mounted when I copied the new kernel across and changed the grub.conf. What's really confusing me is there's no syntax error in the grub.conf that I can see, and the first kernel on the list boots fine. Anyone got any cluse as to why grub can't see the second kernel? [grub.conf] default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo 2.6.22-r2 root (hd0,0) kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] title=Gentoo 2.6.24-r8 root (hd0,0) kernel /boot/kernel-2.6.24-r8 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] Could you please show us: $ mount and # ls -la /boot /dev/sda3 on / type ext3 (rw,noatime) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) udev on /dev type tmpfs (rw,nosuid) devpts on /dev/pts type devpts (rw,nosuid,noexec) shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) /dev/sda1 on /boot type ext2 (rw) total 17256 drwxr-xr-x 5 root root1024 Jul 5 18:28 . drwxr-xr-x 21 root root4096 Dec 29 2007 .. drwxr-xr-x 4 root root1024 Aug 16 2007 boot -rw-r--r-- 1 root root 37395 Dec 25 2006 config-2.6.18-r5 -rw-r--r-- 1 root root 35286 Dec 28 2006 config-2.6.18-r6 -rw-r--r-- 1 root root 29907 Jul 19 2007 config-2.6.21-r4 -rw-r--r-- 1 root root 39449 Aug 4 2007 config-2.6.22-r2 -rw-r--r-- 1 root root 44583 Jul 5 18:48 config-2.6.24-r8 -rw-r--r-- 1 root root 44541 Jun 23 18:25 config-2.6.25-r5 drwxr-xr-x 2 root root1024 Jun 23 17:02 grub -rw-r--r-- 1 root root 486761 Oct 7 2006 initrd.img-2.6.17-sata -rw-r--r-- 1 root root 1637016 Dec 25 2006 kernel-2.6.18-r5 -rw-r--r-- 1 root root 1606118 Dec 28 2006 kernel-2.6.18-r6 -rw-r--r-- 1 root root 1916280 Jul 19 2007 kernel-2.6.21-r4 -rw-r--r-- 1 root root 1740624 Aug 4 2007 kernel-2.6.22-r2 -rw-r--r-- 1 root root 1847000 Jul 5 18:48 kernel-2.6.24-r8 -rw-r--r-- 1 root root 2952220 Jun 23 18:24 kernel-2.6.25-r5 drwx-- 2 root root 12288 Dec 27 2007 lost+found -rw-r--r-- 1 root root 738926 Dec 25 2006 system.map-2.6.18-r5 -rw-r--r-- 1 root root 712206 Dec 28 2006 system.map-2.6.18-r6 -rw-r--r-- 1 root root 813409 Jul 19 2007 system.map-2.6.21-r4 -rw-r--r-- 1 root root 810321 Aug 4 2007 system.map-2.6.22-r2 -rw-r--r-- 1 root root 870491 Jul 5 18:48 system.map-2.6.24-r8 -rw-r--r-- 1 root root 1183038 Jun 23 18:25 system.map-2.6.25-r5 I should probably give /boot a clean, but could this be the problem? -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] grub boot problem
On Saturday 05 July 2008 19:47:10 Matt Harrison wrote: Matthew R. Lee wrote: On Saturday 05 July 2008 19:15:05 Mick wrote: On Sunday 06 July 2008, Matthew R. Lee wrote: I've just compiled a new kernel, but when I reboot grub will not load the new kernel. I get error 15 (file not found). But the file is there. Yes grub is install properly and yes the boot partition was mounted when I copied the new kernel across and changed the grub.conf. What's really confusing me is there's no syntax error in the grub.conf that I can see, and the first kernel on the list boots fine. Anyone got any cluse as to why grub can't see the second kernel? [grub.conf] default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo 2.6.22-r2 root (hd0,0) kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] title=Gentoo 2.6.24-r8 root (hd0,0) kernel /boot/kernel-2.6.24-r8 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] Could you please show us: $ mount and # ls -la /boot /dev/sda3 on / type ext3 (rw,noatime) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) udev on /dev type tmpfs (rw,nosuid) devpts on /dev/pts type devpts (rw,nosuid,noexec) shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) /dev/sda1 on /boot type ext2 (rw) total 17256 drwxr-xr-x 5 root root1024 Jul 5 18:28 . drwxr-xr-x 21 root root4096 Dec 29 2007 .. drwxr-xr-x 4 root root1024 Aug 16 2007 boot -rw-r--r-- 1 root root 37395 Dec 25 2006 config-2.6.18-r5 -rw-r--r-- 1 root root 35286 Dec 28 2006 config-2.6.18-r6 -rw-r--r-- 1 root root 29907 Jul 19 2007 config-2.6.21-r4 -rw-r--r-- 1 root root 39449 Aug 4 2007 config-2.6.22-r2 -rw-r--r-- 1 root root 44583 Jul 5 18:48 config-2.6.24-r8 -rw-r--r-- 1 root root 44541 Jun 23 18:25 config-2.6.25-r5 drwxr-xr-x 2 root root1024 Jun 23 17:02 grub -rw-r--r-- 1 root root 486761 Oct 7 2006 initrd.img-2.6.17-sata -rw-r--r-- 1 root root 1637016 Dec 25 2006 kernel-2.6.18-r5 -rw-r--r-- 1 root root 1606118 Dec 28 2006 kernel-2.6.18-r6 -rw-r--r-- 1 root root 1916280 Jul 19 2007 kernel-2.6.21-r4 -rw-r--r-- 1 root root 1740624 Aug 4 2007 kernel-2.6.22-r2 -rw-r--r-- 1 root root 1847000 Jul 5 18:48 kernel-2.6.24-r8 -rw-r--r-- 1 root root 2952220 Jun 23 18:24 kernel-2.6.25-r5 drwx-- 2 root root 12288 Dec 27 2007 lost+found -rw-r--r-- 1 root root 738926 Dec 25 2006 system.map-2.6.18-r5 -rw-r--r-- 1 root root 712206 Dec 28 2006 system.map-2.6.18-r6 -rw-r--r-- 1 root root 813409 Jul 19 2007 system.map-2.6.21-r4 -rw-r--r-- 1 root root 810321 Aug 4 2007 system.map-2.6.22-r2 -rw-r--r-- 1 root root 870491 Jul 5 18:48 system.map-2.6.24-r8 -rw-r--r-- 1 root root 1183038 Jun 23 18:25 system.map-2.6.25-r5 I should probably give /boot a clean, but could this be the problem? According to your grub.conf your default is the top entry, but the kernel image for that doesn't exist in your boot partition. kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 should probably be kernel /boot/kernel-2.6.22-r2 root=/dev/sda3 Thats if 2.6.22-r2 is the kernel your trying to boot. HTH Matt This is wierd, I hadn't noticed that, but that's not causing the problem. I'm running the 2.6.22-r2 kernel now, that's the one that boots, the 2.6.24-r8 is the one grub can't find. Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] grub boot problem
On Saturday 05 July 2008 20:13:20 Matthew R. Lee wrote: On Saturday 05 July 2008 19:47:10 Matt Harrison wrote: Matthew R. Lee wrote: On Saturday 05 July 2008 19:15:05 Mick wrote: On Sunday 06 July 2008, Matthew R. Lee wrote: I've just compiled a new kernel, but when I reboot grub will not load the new kernel. I get error 15 (file not found). But the file is there. Yes grub is install properly and yes the boot partition was mounted when I copied the new kernel across and changed the grub.conf. What's really confusing me is there's no syntax error in the grub.conf that I can see, and the first kernel on the list boots fine. Anyone got any cluse as to why grub can't see the second kernel? [grub.conf] default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo 2.6.22-r2 root (hd0,0) kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] title=Gentoo 2.6.24-r8 root (hd0,0) kernel /boot/kernel-2.6.24-r8 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] Could you please show us: $ mount and # ls -la /boot /dev/sda3 on / type ext3 (rw,noatime) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) udev on /dev type tmpfs (rw,nosuid) devpts on /dev/pts type devpts (rw,nosuid,noexec) shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) /dev/sda1 on /boot type ext2 (rw) total 17256 drwxr-xr-x 5 root root1024 Jul 5 18:28 . drwxr-xr-x 21 root root4096 Dec 29 2007 .. drwxr-xr-x 4 root root1024 Aug 16 2007 boot -rw-r--r-- 1 root root 37395 Dec 25 2006 config-2.6.18-r5 -rw-r--r-- 1 root root 35286 Dec 28 2006 config-2.6.18-r6 -rw-r--r-- 1 root root 29907 Jul 19 2007 config-2.6.21-r4 -rw-r--r-- 1 root root 39449 Aug 4 2007 config-2.6.22-r2 -rw-r--r-- 1 root root 44583 Jul 5 18:48 config-2.6.24-r8 -rw-r--r-- 1 root root 44541 Jun 23 18:25 config-2.6.25-r5 drwxr-xr-x 2 root root1024 Jun 23 17:02 grub -rw-r--r-- 1 root root 486761 Oct 7 2006 initrd.img-2.6.17-sata -rw-r--r-- 1 root root 1637016 Dec 25 2006 kernel-2.6.18-r5 -rw-r--r-- 1 root root 1606118 Dec 28 2006 kernel-2.6.18-r6 -rw-r--r-- 1 root root 1916280 Jul 19 2007 kernel-2.6.21-r4 -rw-r--r-- 1 root root 1740624 Aug 4 2007 kernel-2.6.22-r2 -rw-r--r-- 1 root root 1847000 Jul 5 18:48 kernel-2.6.24-r8 -rw-r--r-- 1 root root 2952220 Jun 23 18:24 kernel-2.6.25-r5 drwx-- 2 root root 12288 Dec 27 2007 lost+found -rw-r--r-- 1 root root 738926 Dec 25 2006 system.map-2.6.18-r5 -rw-r--r-- 1 root root 712206 Dec 28 2006 system.map-2.6.18-r6 -rw-r--r-- 1 root root 813409 Jul 19 2007 system.map-2.6.21-r4 -rw-r--r-- 1 root root 810321 Aug 4 2007 system.map-2.6.22-r2 -rw-r--r-- 1 root root 870491 Jul 5 18:48 system.map-2.6.24-r8 -rw-r--r-- 1 root root 1183038 Jun 23 18:25 system.map-2.6.25-r5 I should probably give /boot a clean, but could this be the problem? According to your grub.conf your default is the top entry, but the kernel image for that doesn't exist in your boot partition. kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 should probably be kernel /boot/kernel-2.6.22-r2 root=/dev/sda3 Thats if 2.6.22-r2 is the kernel your trying to boot. HTH Matt This is wierd, I hadn't noticed that, but that's not causing the problem. I'm running the 2.6.22-r2 kernel now, that's the one that boots, the 2.6.24-r8 is the one grub can't find. Matt Ok, I figured out the problem, but no why it's happened. If you look at the output of ls -la /boot there is another folder /boot and within this a symlink /boot (./) By copying the kernel to this folder and modifiying the grub.conf in the associated /grub folder the the new kernel boots. Question is how did I come to have a cascade of boot folders and how do I get things back the way they should be? Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] GRUB question
On Thursday 19 June 2008 06:07:27 dhk wrote: Matthew R. Lee wrote: On Wednesday 18 June 2008 17:54:28 Florian Philipp wrote: On Wed, 18 Jun 2008 17:34:35 -0400 Matthew R. Lee [EMAIL PROTECTED] wrote: I've just compiled a new kernel. I then mounted the boot partition, copied the new bzimage across, along with .config and system.map. I then edited the grub.conf But when I reboot it offers me the same options as in the old grub.conf not the new one. I must have missed a step somewhere, but I can't think where. Can anyone point me in the right direction Thanks Matt Did you check whether you've really overwritten the old grub.conf? Is the file in the right directory (/boot/grub/)? Is there a symlink menu.lst on grub.conf? Do you really boot from that partition? the file /boot/grub/grub.conf has the new config. menu.lst is a symlink to grub.conf /boot is the mount point for /dev/sda1 the boot partition the only thing that I changed is to replace the oldest kernel with the newest. The order shouldn't make any difference, I want the default to be my current working kernel. I want to test the new kernel before I make it the default. Point is that this setup was working previously and has done so since I started using gentoo. I have checked to make sure that /dev/sda1 was really mounted at /boot when I copied everything across, and it was. So I don't know what has gone wrong. Matt Did you run grub-install? No, and before I do, given the warnings in the manual, I want to make sure I don't screw up I have a standard partition layout with three partitions sda1 (boot) sda2 (swap) sda3 (the rest). sda1 is the bootable partition So I issue the command grub-instal /dev/sda Correct?? Thanks Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] GRUB question
On Monday 23 June 2008 16:55:08 Miika Linnapuomi wrote: Mon, 23 Jun 2008 15:00:41 -0400 Matthew R. Lee [EMAIL PROTECTED] wrote: On Thursday 19 June 2008 06:07:27 dhk wrote: Matthew R. Lee wrote: On Wednesday 18 June 2008 17:54:28 Florian Philipp wrote: On Wed, 18 Jun 2008 17:34:35 -0400 Matthew R. Lee [EMAIL PROTECTED] wrote: I've just compiled a new kernel. I then mounted the boot partition, copied the new bzimage across, along with .config and system.map. I then edited the grub.conf But when I reboot it offers me the same options as in the old grub.conf not the new one. I must have missed a step somewhere, but I can't think where. Can anyone point me in the right direction Thanks Matt Did you check whether you've really overwritten the old grub.conf? Is the file in the right directory (/boot/grub/)? Is there a symlink menu.lst on grub.conf? Do you really boot from that partition? the file /boot/grub/grub.conf has the new config. menu.lst is a symlink to grub.conf /boot is the mount point for /dev/sda1 the boot partition the only thing that I changed is to replace the oldest kernel with the newest. The order shouldn't make any difference, I want the default to be my current working kernel. I want to test the new kernel before I make it the default. Point is that this setup was working previously and has done so since I started using gentoo. I have checked to make sure that /dev/sda1 was really mounted at /boot when I copied everything across, and it was. So I don't know what has gone wrong. Matt Did you run grub-install? No, and before I do, given the warnings in the manual, I want to make sure I don't screw up I have a standard partition layout with three partitions sda1 (boot) sda2 (swap) sda3 (the rest). sda1 is the bootable partition So I issue the command grub-instal /dev/sda Correct?? Thanks Matt Yes, grub-install /dev/sda should do it. Just make sure /boot is mounted Thanks Miika Well I ran grub-install, but I've run into a problem. When I reboot the splash and menu do not appear, so I can't select which kernel to boot. If I press return the the first kernel in the list is loaded. After a screen full of gibberish the normal list of processes etc intitating fill the screen until X starts. I've included my grub.conf below. Anybody know what the problem is? Thanks Matt default 0 timeout 30 splashimage=(hd0,0) /boot/grub/splash.xpm.gz title=Gentoo 2.6.22-r2 root (hd0,0) kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] title=Gentoo 2.6.25-r5 root (hd0,0) kernel /boot/kernel-2.6.25-r5 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] GRUB question
On Monday 23 June 2008 17:41:30 Miika Linnapuomi wrote: Mon, 23 Jun 2008 17:17:31 -0400 Matthew R. Lee [EMAIL PROTECTED] wrote: Well I ran grub-install, but I've run into a problem. When I reboot the splash and menu do not appear, so I can't select which kernel to boot. If I press return the the first kernel in the list is loaded. After a screen full of gibberish the normal list of processes etc intitating fill the screen until X starts. I've included my grub.conf below. Anybody know what the problem is? Thanks Matt default 0 timeout 30 splashimage=(hd0,0) /boot/grub/splash.xpm.gz title=Gentoo 2.6.22-r2 root (hd0,0) kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] title=Gentoo 2.6.25-r5 root (hd0,0) kernel /boot/kernel-2.6.25-r5 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] Loading a non-existent splash can do that. You could try without the splash, or with splashimage /boot/grub/splash.xpm.gz Thanks Miika So I should comment out the line splashimage=(hd0,0) /boot/grub/splash.xpm.gz The file splash.xpm.gz does exist though Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] GRUB question
On Monday 23 June 2008 18:11:09 Neil Walker wrote: Matthew R. Lee wrote: So I should comment out the line splashimage=(hd0,0) /boot/grub/splash.xpm.gz The file splash.xpm.gz does exist though Maybe it does - but the path you have entered in grub.conf doesn't. ;) There should not be a space after (hd0,0). Be lucky, Neil -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Thanks that sorted it However, looking at old, backup, versions of grub.conf that I have; they all have the same space and before the grub-install the splash appeared when booting. Saludos Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: digital camera - Longshot!
On Friday 20 June 2008 11:02:28 James wrote: Matthew R. Lee gentoo at matthewlee.org writes: Dear All, I've just taken delivery of a shiny new microscope with a digital imaging system. Essentially a fancy usb webcam. As usual out of the box there is no Linux support. The model is a Q Imaging Go-3. Their website doesn't mention linux support except in the context of the firewire models. http://www.qimaging.com/products/cameras/documentation/ Says: The Go Series use superior CMOS sensors which take advantage of USB 2.0 plug-n-play interfaces under Windows supported operating systems. The MicroPublisher cameras use CCD technology combined with the sustained data performance of FireWire to offer superior color imaging and performance for Windows, Mac and Linux based operating systems. Both the Go and MicroPublisher series cameras come with QCapture Suite and QCapture Pro software designed for high speed performance preview and capture functions. A Software Development Kit is available for easy interfacing with custom software. QImaging cameras are compatible with a large selection of life science and industrial software for microscope, machine vision and video streaming applications. Oh by the way, in my previous post I mentioned classes of usb drivers. Take a look here: http://www.usb.org/developers/defined_class A generic class driver under linux just might work for your device, since it is bascially a web cam. Vendors most often try to get their products to use the generic class drivers, so they work out of the box with the various operating systems. Surely there is a way to make one of their microscopes work with linux? I'd be interested in this, if they do not cost too much. James Thanks for the info, I haven't got time to do anything about this until the weekend. Hopefully it will just work. As for the cost, it is excessivly spendy. The cost was around 2.3 million chilean pesos, that's about £2300 or $4600 US. Yeah! seemed exhorbitant to me, but I'm not paying for it. Saludos Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] digital camera - Longshot!
Dear All, I've just taken delivery of a shiny new microscope with a digital imaging system. Essentially a fancy usb webcam. As usual out of the box there is no Linux support. The model is a Q Imaging Go-3. Their website doesn't mention linux support except in the context of the firewire models. I've done a lsusb and got the following info: Bus 001 Device 003: ID 5354:80e3 [no model or manufacturer info] I've looked through various webcam, gentoo-wiki, and V4L sites to see if those IDs mean anything, but no luck sofar. I even tried googling them. Truth is I'm not sure what they actually refer to. Longshot, has anybody got this camera and got it working. The alternative I suppose is to run it through XP which I'm going to install in a virtual machine later. I've got other software I need to use which I can't persuade Wine to run. -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] GRUB question
I've just compiled a new kernel. I then mounted the boot partition, copied the new bzimage across, along with .config and system.map. I then edited the grub.conf But when I reboot it offers me the same options as in the old grub.conf not the new one. I must have missed a step somewhere, but I can't think where. Can anyone point me in the right direction Thanks Matt New grub.conf: default 0 timeout 30 splashimage=(hd0,0) /boot/grub/splash2.xpm.gz title=Gentoo 2.6.22-r2 root (hd0,0) kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] title=Gentoo 2.6.25-r5 root (hd0,0) kernel /boot/kernel-2.6.25-r5 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] Old grub.conf: default 0 timeout 30 splashimage=(hd0,0) /boot/grub/splash2.xpm.gz title=Gentoo 2.6.22-r2 root (hd0,0) kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] title=Gentoo 2.6.18-r6 root (hd0,0) kernel /boot/kernel-2.6.18-r6 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] GRUB question
On Wednesday 18 June 2008 17:54:28 Florian Philipp wrote: On Wed, 18 Jun 2008 17:34:35 -0400 Matthew R. Lee [EMAIL PROTECTED] wrote: I've just compiled a new kernel. I then mounted the boot partition, copied the new bzimage across, along with .config and system.map. I then edited the grub.conf But when I reboot it offers me the same options as in the old grub.conf not the new one. I must have missed a step somewhere, but I can't think where. Can anyone point me in the right direction Thanks Matt Did you check whether you've really overwritten the old grub.conf? Is the file in the right directory (/boot/grub/)? Is there a symlink menu.lst on grub.conf? Do you really boot from that partition? the file /boot/grub/grub.conf has the new config. menu.lst is a symlink to grub.conf /boot is the mount point for /dev/sda1 the boot partition the only thing that I changed is to replace the oldest kernel with the newest. The order shouldn't make any difference, I want the default to be my current working kernel. I want to test the new kernel before I make it the default. Point is that this setup was working previously and has done so since I started using gentoo. I have checked to make sure that /dev/sda1 was really mounted at /boot when I copied everything across, and it was. So I don't know what has gone wrong. Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] possible gentoo-sources stuff-up
I just ran emerge --depclean and missed that it was going to remove gentoo-sources-2.6.22-r2, the sources for the kernel I'm currently using. Now what I'm not sure about is, do I need the sources, or is the kernel image in /boot sufficient. Do I need to build myself a new working kernel before I reboot again? I can't reemerge 2.6.22-r2 becuase it's no longer available. Thanks Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] possible gentoo-sources stuff-up
On Wednesday 14 May 2008 18:42:05 Alan McKinnon wrote: On Thursday 15 May 2008, Matthew R. Lee wrote: I just ran emerge --depclean and missed that it was going to remove gentoo-sources-2.6.22-r2, the sources for the kernel I'm currently using. Now what I'm not sure about is, do I need the sources, or is the kernel image in /boot sufficient. Do I need to build myself a new working kernel before I reboot again? I can't reemerge 2.6.22-r2 becuase it's no longer available. Thanks Hi Matt, The answer to why this happens is in a thread from earlier today when this happened to mark Knecht. Summary: This is a new thing that --depclean does. Just remerge the sources you want, put them in world if you want to guarantee that --depclean won't be overly helpful in future. As for the sources themselves, they are only needed to build a kernel or out-of-tree modules (ati drivers, ndiswrapper, vmware-modules, etc etc). You already have a working kernel, so you are safe. Gentoo does not require anything in /usr/src - unlike most binary distros it doesn't keep kernel headers there, they are somewhere else and completely unaffected by the presence or absence of full sources. If you do need to remerge the original sources, you can grab the original ebuild from the gentoo attic. Google will find it for you -- Alan McKinnon alan dot mckinnon at gmail dot com Thanks for the info. I'm really not in the mood for building a new kernel. And I'll pay more attention in future, to --depclean and the list. Too much work at the moment Saludos Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] DVD Problems...
Mark Knecht wrote: On Sat, May 10, 2008 at 2:16 PM, Benjamen R. Meyer [EMAIL PROTECTED] wrote: I recently got a couple seasons of Star Gate SG-1, and can read nearly all the DVDs except the 3rd DVD of Season 2, which under Kernel 2.6.24-gentoo-r4 yielded the following error messags to dmesg: hdc: media error (bad sector): status=0x51 { DriveReady SeekComplete Error } hdc: media error (bad sector): error=0x30 { LastFailedSense=0x03 } ide: failed opcode was: unknown ATAPI device hdc: Error: Medium error -- (Sense key=0x03) (reserved error code) -- (asc=0x11, ascq=0x05) The failed Read 10 packet command was: 28 00 00 00 47 c0 00 00 02 00 00 00 00 00 00 00 end_request: I/O error, dev hdc, sector 73472 Buffer I/O error on device hdc, logical block 9184 npviewer.bin[10182]: segfault at 4 rip f6febd54 rsp ff833c70 error 4 hdc: packet command error: status=0x51 { DriveReady SeekComplete Error } hdc: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 } ide: failed opcode was: unknown ATAPI device hdc: Error: Illegal request -- (Sense key=0x05) Invalid field in command packet -- (asc=0x24, ascq=0x00) The failed Read CD packet command was: be 00 00 00 00 96 00 00 01 58 00 00 00 00 00 00 typesconfig[18298]: segfault at 0 rip 4010eb rsp 7fffb31012b0 error 4 typesconfig[18299]: segfault at 0 rip 4010a1 rsp 7fffb31012b0 error 6 PCI: Setting latency timer of device :01:00.0 to 64 NVRM: loading NVIDIA UNIX x86_64 Kernel Module 169.09 Fri Jan 11 14:04:37 PST 2008 cdrom: This disc doesn't have any tracks I recognize! First thing I did was verify it was a good disc by putting it in my Windows laptop I use for work and running WinDVD. It played just fine, so I know it has to be some part of the linux system not understanding the disk. I also ran 'xine' with the verbose flag. You can find the output at http://www.geocities.com/bm_witness/gentoo/xinedvd.txt.gz FYI: /dev/dvd points to hdc. Trying to open '/dev/hdc' yields the same results - though no information in the logs. :- I'd very much like to find a solution to this problem. I've run into this problem a number of times on my Linux systems. In a couple of cases what where essentially scratched disks played on both my HT DVD player as well as Windows but would not play in xine. I talked with the xine guys and they said (at the time maybe 3-4 years ago) that their error recovery wasn't nearly as good as they wanted it to be. At that time xine was the best around. A READ10 issue is potentially a firmware issue in the drive since it's the drive's processor formatting up data to send over the cable. My suggestion would be try it on every system you have there. Some drives read around problems better or do better correction at the drive. Maybe you can find a firmware upgrade for the specific drive. Not specific to these READ10 errors but some folks using 1394 peripherals have improved performance in this sort of situation. So I started watching the disc in question on my Windows laptop and it hung during one of the episodes. Restarting WinDVD and playing with where I was in the stream got past it; but with that I called it bad disc and got a swap'd out set today. So it seems the first issue (likely a header issue) was able to be gotten around easily, but with the second hang there seemed to be multiple issues.I confirmed all new discs are readable by Xine - at least to load the disc. Now I (joyfully) get to watch them all again to confirm they are all 100% good discs . Any how...would be nice for a little better error correction too; I wasn't quite ready to call it a bad disc with just the header issue; but with a second issue there was definitely something wrong at the disc level. Thanks for all the help and tips. Ben -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] DVD Problems...
I recently got a couple seasons of Star Gate SG-1, and can read nearly all the DVDs except the 3rd DVD of Season 2, which under Kernel 2.6.24-gentoo-r4 yielded the following error messags to dmesg: hdc: media error (bad sector): status=0x51 { DriveReady SeekComplete Error } hdc: media error (bad sector): error=0x30 { LastFailedSense=0x03 } ide: failed opcode was: unknown ATAPI device hdc: Error: Medium error -- (Sense key=0x03) (reserved error code) -- (asc=0x11, ascq=0x05) The failed Read 10 packet command was: 28 00 00 00 47 c0 00 00 02 00 00 00 00 00 00 00 end_request: I/O error, dev hdc, sector 73472 Buffer I/O error on device hdc, logical block 9184 npviewer.bin[10182]: segfault at 4 rip f6febd54 rsp ff833c70 error 4 hdc: packet command error: status=0x51 { DriveReady SeekComplete Error } hdc: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 } ide: failed opcode was: unknown ATAPI device hdc: Error: Illegal request -- (Sense key=0x05) Invalid field in command packet -- (asc=0x24, ascq=0x00) The failed Read CD packet command was: be 00 00 00 00 96 00 00 01 58 00 00 00 00 00 00 typesconfig[18298]: segfault at 0 rip 4010eb rsp 7fffb31012b0 error 4 typesconfig[18299]: segfault at 0 rip 4010a1 rsp 7fffb31012b0 error 6 PCI: Setting latency timer of device :01:00.0 to 64 NVRM: loading NVIDIA UNIX x86_64 Kernel Module 169.09 Fri Jan 11 14:04:37 PST 2008 cdrom: This disc doesn't have any tracks I recognize! First thing I did was verify it was a good disc by putting it in my Windows laptop I use for work and running WinDVD. It played just fine, so I know it has to be some part of the linux system not understanding the disk. Second thing I did was upgrade to the latest kernel - 2.6.24-gentoo-r7 - to see if that would solve the problem since it seemed like the DVD driver was not able to recognize the disk at all. It successfully got rid of the error from 'dmesg'; however, xine (0.99.5) is still unable to play the disk - complaining about not being able to load the plug-in for the MRL. Other DVDs from the same boxset (even the two discs after it) play just fine under both kernels. Also, I can't mount the disc. I also ran 'xine' with the verbose flag. You can find the output at http://www.geocities.com/bm_witness/gentoo/xinedvd.txt.gz (sorry, for some reason Yahoo/Geocities didn't want to accept a standard text file, so I had to gzip it.) I'm not afraid to do some kernel hacking to resolve this if someone would point me in the right direction to do so - or at least to providing some help to it. FYI: /dev/dvd points to hdc. Trying to open '/dev/hdc' yields the same results - though no information in the logs. :- I'd very much like to find a solution to this problem. Any help, tips, etc. would be very much appreciated. TIA, Ben -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] installation cd for P1 P2
I'd recommend 2007 based on the below. I put 2007.0 on my PII 233 last fall. It does take a while, but it really didn't take that much longer than my AMD64 build - though, I don't think I put KDE on it, which I did on the AMD64. YMMV. FYI - you can always upgrade the 2007 profile to 2008. I just did that on my AMD64. And its a pretty smooth and slick process - I had always rebuilt a box to change distros before (usually after a few years of use and upgrades and not rebuilding just to change the distro either) so it was a first for me. So don't be afraid to use the 2007. Ben deface wrote: 2008 is still in beta, but it should still work. I'd use 2007.0. Also, i sure hope you have a box setup for distcc. compiling gentoo on these old/slow procs could take days. deface On May 8, 2008, at 12:03 PM, James wrote: Hello, I have an assortment of p1, p2 and old amd K6 (586) class machines. Do the 2008.0 iso beta 2 cover this arch? If not, what is the recommend minimal cd to use to install these machines? James -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] [OT]batch processing html files
I have a folder full of .html files and I need to go through and replace in each and every one of them a couple of bits of info. I know I can do this using the following from the command line: sed 's/VV, ppp-ppp/81, 51-67/' file.html newfile.html | mv newfile.html file.html Problem is I need to do this on nearly 200 files. I assume it could be done with a script, but I have zero experience in writing scripts. I've looked through a few how-to's but haven't found anything I understand sofar. I want to learn how to script, but my Prof want's this done yesterday as the associated paper has just been published. Cheers Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] [OT]batch processing html files
On Wednesday 30 April 2008 12:00:13 Johann Schmitz wrote: This should work (untested!): for x in $(find YOUR-DIR-WITH-HTML-FILE -name *.htm*); do ~ tmp=$(mktemp); ~ sed 's/VV, ppp-ppp/81, 51-67/' $x $tmp mv $tmp $x; ~ rm $tmp; done Matthew R. Lee schrieb: | I have a folder full of .html files and I need to go through and replace | in each and every one of them a couple of bits of info. I know I can do | this using the following from the command line: | sed 's/VV, ppp-ppp/81, 51-67/' file.html newfile.html | mv newfile.html | file.html | Problem is I need to do this on nearly 200 files. I assume it could be | done with a script, but I have zero experience in writing scripts. I've | looked through a few how-to's but haven't found anything I understand | sofar. I want to learn how to script, but my Prof want's this done | yesterday as the associated paper has just been published. | Cheers | Matt -- Johann Schmitz http://www.j-schmitz.net Thanks, job done. All the variations suggested worked, I tried them all :-) I love the command line, I really need to learn how to make the most of it. Saludos from Chile Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
RE: [gentoo-user] root password on 2008.1-i686 minimal install
Switch to another VTTY (Ctrl+Atl+F1 for instance), 'passwd', specify the desired password, switch to Xorg again (Ctrl+Alt+F7 if I am not wrong), 'su' and that's it. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: quarta-feira, 23 de abril de 2008 13:50 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] root password on 2008.1-i686 minimal install I'm unable to log in as root on the installer OS for 2008.1_beta iso. I see nothing telling me what the root password is but the installer prompts me for a username and password. When logging in as root fails I'm eventually logged in as user `gentoo' but can do none of the things necessary to create an install. This seem pretty ridiculous so I'm pretty sure I'm missing some note or something. Starting the install with or without framebuffer appears to make no difference in the end result. I get a sorry little xfce desktop with no way to get to a root terminal. How can I ditch the sorry little desktop and use text mode and get logged in with the necessary root premissions? There is a `help' option on the boot screen but when I select it I get a very fast scroll thru a massive file then jumps back to login screen. Absolutely useless for any help. This install is inside a vmware as guest so maybe some of this works better in a normal install... I hope so. -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Please file a bug for module?
Hi there, During boot I am receiving some messages like please file a bug for module, it needs a modules.d/modprobe.conf (just recalling from my head, I am at work now). Is this a real problem or there is something that I have to do at my setup? Thanks in advance. Renato -- gentoo-user@lists.gentoo.org mailing list
RE: [gentoo-user] Nvidia drivers
Did you try the nv and nouveau drivers for your current card? -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of James Sent: terça-feira, 1 de abril de 2008 16:11 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Nvidia drivers hello, I have a couple of old 32bit amd athlon XP systems: They have very old, no longer supported nvidia cards: NV11 [GeForce2 MX/MX 400] NV34 [GeForce FX 5200] All ebuilds that could satisfy x11-drivers/nvidia-drivers have been masked These systems are used to run jffnms, postgresql rrdtool to show network devices and their status. Nothing fancy just 2D and kde. These cards were supported by the Nvidia legacy driver but now that's gone there is no support for these cards. So I guess I'd like to replace them with something that is open source on the driver, so as to keep support a long time. (perhaps an old ATI card?) I think they are AGP 4 motherboards. I intend to use them for a long time as to drive a graphical display for network monitoring and management. Any low cost suggestions are most welcome, particularly something that is open source on the driver, so I can keep them useful for a long time. James -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Creating an initrd for loading...
I'm working on a Sparc system (SunBlade 2000 Desktop Server) that needs an initrd image to load (due to having a QLA 2200 SCSI controller); but I am having some trouble with the initrd image. (I had tried the gentoo-sparc list, but it is slow - I'm not getting responses - and I need to finish this server by Friday. And the issue right now is solely the initrd image.) The problem I am having is that the kernel is complaining about not having the initrd image. I have SILO (sparc equiv of LILO) installed, and have told it of the initrd image, but the kernel doesn't seem to find it. (SILO reports all is well, so I can only assume it is finding the initrd image without a problem.) My main question comes down to this: I am using the 'genkernel' package to build install the kernel and initrd image. Both show up in /boot. How much can I rely on genkernel to build a valid initrd image? How can I mount the initrd image to verify it has the modules, etc. and verify it is a valid image? TIA, Ben -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Creating an initrd for loading...
Florian Philipp wrote: On Thu, 2008-03-27 at 12:35 -0400, Benjamen R. Meyer wrote: My main question comes down to this: I am using the 'genkernel' package to build install the kernel and initrd image. Both show up in /boot. How much can I rely on genkernel to build a valid initrd image? Try genkernel menuconfig all to check for a valid kernel config before genkernel builds it. Refer to genkernel's man-page for further options. Yes, I did that. I ran genkernel, and generated it all. The initrd just doesn't seem to be working. How can I mount the initrd image to verify it has the modules, etc. and verify it is a valid image? There is a wiki-entry about it: http://gentoo-wiki.com/HOWTO_Initramfs Ok, so I used zcat to decompress the image, and then cpio to extract the data to a temporary folder. (The instructions on the wiki didn't work for some reason...complaints about finding cpio and zcat complaining about arguments). Any how... I snooped around the extracted files and was unable to find either the qla2xxx module (or the qla2200 modules, or any modules for that matter) or the qla2200 firmware. The firmware is on the hard drive (/dev/sda1 - /lib/firmward/qla2200_fw.bin), and so is the module - /lib/modules/2.6.24-gentoo-r3/kernel/drivers/scsi/qla2xxx/qla2xxx.ko. Is the initrd image invalid?? Or are they stored somehow in the files non-obviously? How could I easily add them to the initrd image? (This is really my first time playing with initrd images...) Thanks, Ben -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Creating an initrd for loading...
Florian Philipp wrote: On Thu, 2008-03-27 at 14:31 -0400, Benjamen R. Meyer wrote: Florian Philipp wrote: On Thu, 2008-03-27 at 12:35 -0400, Benjamen R. Meyer wrote: How can I mount the initrd image to verify it has the modules, etc. and verify it is a valid image? There is a wiki-entry about it: http://gentoo-wiki.com/HOWTO_Initramfs Ok, so I used zcat to decompress the image, and then cpio to extract the data to a temporary folder. (The instructions on the wiki didn't work for some reason...complaints about finding cpio and zcat complaining about arguments). Any how... I snooped around the extracted files and was unable to find either the qla2xxx module (or the qla2200 modules, or any modules for that matter) or the qla2200 firmware. The firmware is on the hard drive (/dev/sda1 - /lib/firmward/qla2200_fw.bin), and so is the module - /lib/modules/2.6.24-gentoo-r3/kernel/drivers/scsi/qla2xxx/qla2xxx.ko. Is the initrd image invalid?? Or are they stored somehow in the files non-obviously? How could I easily add them to the initrd image? (This is really my first time playing with initrd images...) They are in lib/modules. I think it should work if you just copy the modules to their respective folder and add their names to the respective file in etc/modules. Okay, I tried this two ways: 1) touched files in /etc/modules with the module names. (Probably not right) - didn't work. 2) added all the files in /lib/modules/2.6.24-gentoo-r3/kernel/drivers/scsi and sub-directories to /etc/modules/scsi - didn't work. Perhaps I need to add the information for the firmware??? To create a initrd new initrd, use the following command: find . | cpio --quiet --dereference -o -H newc | gzip -9 /boot/initrd Okay, used this instead of the lengthy process I was doing before: find ./ | cpio -H newc -o /boot/initrd.bmeyer.cpio gzip /boot/initrd.bmeyer.cpio mv /boot/initrd.bmeyer.cpio.gz /boot/initrd.bmeyer Any how...still stuck. Think I'm further along..but don't know. FYI - right after it runs 'mdev' there is a line saying it can't find 'ls'...not sure if that is an error with mdev, or an error after mdev. Either way, I can't find out since the system goes unusable until I reboot manually (cycle power). TIA, Ben -- gentoo-user@lists.gentoo.org mailing list
RE: [gentoo-user] problem with 2 partition installation from gent oo minimal system
I had this problem too... the problem was SCSI not being compiled in my kernel alongside the SATA driver. Remember to ensure none of them are being built into modules. Renato Borges A. Prado Product Engineer - Software Validation Team Visteon Automotive Systems - MSX International [EMAIL PROTECTED] +55 (11) 6465-9144 -Original Message- From: Fei Liu [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 26 de março de 2008 12:40 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] problem with 2 partition installation from gentoo minimal system Hello Group, I spend a whole day trying to get this to work. Here is my setup /dev/sda1 / ext3 noatime 0 1 /dev/sda2 swap grub is installed using the 'root (hd0,0)' and 'setup (hd0)', no problem. emerge kernel-sources worked fine. However everytime the system boots, it reports the VFS panic (no root system found problem). The kernel has built in ext2 and ext3 support. The error hint is to supply root option during boot, but my boot command is this kernel /boot/kernel root=/dev/sda1 Is there something missing that I didn't think of that's causing the failures? I followed the steps outlined here: http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml except I am using a 2 partition setup. Fei -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Sharing a printer to XP: Samba vs IPP
David Blamire-Brown wrote: Hi, This is a question about a small home network set-up for printing. I can't tell if this is OT for this list, but that doesn't seem to be a firm restriction in this part of the world in any case! I have a locally attached printer on a Gentoo machine. I have a Windows XP laptop. I would like to print from my XP laptop over the network to the printer. I have followed the guide on gentoo.org. I've sort of got printing working via Samba, but haven't been able to configure it for XP users to print without having to login to Samba. So I'm looking back at using IPP on the XP laptop. Anyway, the main question is, is Samba a preferred option, or is it just more complicated than using IPP? There are a couple of brief lines about printing via IPP in the Gentoo Printing Guide, but a whole separate guide on using Samba. I can't find any information on use of IPP vs Samba via a brief Google, but maybe I'm just not searching very well. I would think Samba would be more an option for when you already have a Windows/Samba domain running for the network that everyone authenticates through. Granted, as another poster provided, you can enable public/guest access, which would make it like a Win9x/Me printer share though XP should do fine with it. However, I think CUPS/IPP would be a better option. It's very easy to configure (I just followed the Gentoo guide for it). And it makes it very easy to install on any Windows system. If you have CUPS configured properly, you can even have it provide the drivers automatically to the Windows systems - I haven't tried that yet. It really impressed me how quick and easy it was to install CUPS - both on other Linux systems and on Windows. There is a Samba/CUPS guide, so I think you can even mix the two a bit. There is also one other issue to consider - AFAIK, the SMB protocol does not do spooling - so you could get job conflicts, while IPP makes the printer a true network printer running via a print server (e.g. CUPS) so it has spooling inherent to it. (Someone please correct me if I am wrong on this.) So you'll be safer using IPP. I have worked in environments where printers were shared similarly - no print server - and it causes problems when two people try to print something at near the same time; the printer will ignore one job, or switch jobs in the middle - never predictable what it would do, though I think ignoring jobs was what primarily happened. It's a pain - and that's even with printers that had built in network interfaces. Just something to consider. Ben -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] To x86_64 or not to x86_64
Alex Schuster wrote: Anthony E. Caudel wrote: I have an AMD 64x2 that I have been using only in x86 mode since I got it. I have been thinking of going to x86_64 mode but I'm wondering if it's worth the trouble with multilib, chroot'ing, firefox-bin and other compromises (admittedly some minor). I realize I should see some speed increase but probably only in certain areas such as compiling. So, for those users who have used both, is it worth it overall? Next thing I would never have thought of: the root file system was too small. I made it 500 MB bis, as /usr, /var, /opt, /tmp and /home are on LVM. A little small because of /root/.ccache, but I usually symlink that to somewhere else. But why is /lib/modules larger than 300 MB? I would expect this to be around 30 MB, which is double the size of these directories on my other system, but even ten times more than that? Is something wrong here? The installation handbook does not mention this, and also suggest a small root partition. The examplee shows 132 MB used there, this looks okay to me. Here's my FS setup from df: FilesystemSize Used Avail Use% Mounted on /dev/hdb1 9.4G 7.2G 1.8G 81% / /dev/hdb2 471M 27M 420M 7% /boot /dev/hda2 31G 3.7G 25G 13% /usr/portage /dev/mapper/vg_tmp4.0G 154M 3.6G 5% /tmp /dev/mapper/vg_var 11G 518M 9.8G 5% /var /dev/mapper/vg_usr9.9G 151M 9.2G 2% /usr/local /dev/mapper/vg_opt9.9G 505M 8.9G 6% /opt /dev/mapper/vg_home30G 26G 2.1G 93% /home I have a few other partitions for things too, but the above covers the normal and essential. Additionally I have a couple gigs of swap space. YMMV I also checked my lib size - which is about 53MB for /lib64, and 4.3MB for /lib32. /usr (including sub-mounts, e.g. local and portage) comes out to 11GB. /opt is 335 MB, and /var is 309 MB. So I don't know what went wrong for you. Flash does not work (yet). I emerged netscape-flash and and nspluginwrapper, but firefox and konqueror do not have flash working. Did not investigate this further yet. I've only really been able to get Flash working with the 32-bit Firefox binary. It will randomly work in the 64-bit Firefox build for some reason, but nothing consistent - and when it does, only one web page can use it at a time - not multi-tabs each with their own flash. Perhaps that's just a result of the nswrapper-plugin to make the 32-bit and 64-bit work together...not sure. Any how...overall, it runs really well. I can't offer any advice on the video issues. Ben -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] load too high
On Monday 11 February 2008, James wrote: Hello, One of the workstations (amd64 2gig ram) has a load that never drops below 1.0, as seen by top. Looking at a ps nothing stands out. I did notice that 'X' is at the top of the list, even when the machine is quiescent (nobody doing anything). Suspiciaous. Clearly I have a run away or hidden process using resources. Although all my system run kde 3.5.8 only one shows this problem. None of my other Gentoo system suffer this fate. Any ideas on finding the culprit(proccess)? James What processes have the most on cpu time as reported by a 'ps ax' ? --James -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Which arch do I have ?
Wael Nasreddine wrote: On Mon, Feb 11, 2008 at 10:31:30PM -0500, Benjamen R. Meyer [EMAIL PROTECTED] wrote: As you have an Intel Core Duo, you should have the EMT64E version - Intel's version of the AMD64 instruction set - thus x86-64 compatible. Best place to check is Intel's website - here's what I found: http://processorfinder.intel.com/details.aspx?sspec=sl9dv http://developer.intel.com/design/mobile/core/duodocumentation.htm With EMT64E, you will be able to compile for 64-bit mode using the x86-64 builds. (You can only use Intel64 if you have the Itanium procs if memory serves.) However, unless you specifically install the x86-64/AMD64/64-bit version, you will have a 32-bit x86 environment and kernel. You can upgrade if you like...see other threads for that info. HTH, Ben Let's say this processor supports 64 bits, what whould I gain from migrating to x86_64 I mean would it be faster??? I've never owned/worked on a 64bit machine before so excuse my lack of knowledge :) The primary advantage is larger memory space, and more native use of the entire processor. I'm running it b/c I want to be - not b/c I need the memory space, I'm not pushing 4GB for Physical RAM which is primarily what it is about. From my understanding, you won't gain much if any in speed. The processor is still the same clock rate. 64-bit programs may (not sure, someone verify?) be bigger as the opcodes are larger. You can run any of the following configs: 1) pure 32-bit 2) pure 64-bit 3) mixed 32-64 bit (multi-lib) #3 will be the largest install as you have a lot of duplications since you are hosting both a 32-bit and 64-bit environment. However, with #2 you might not get a lot of programs since there are quite a few that have not been fully ported to 64-bit modes. You're running #1 now. So not much is gained for now. Ben Wael Nasreddine wrote: Hello, It's been like 6 months I'm using the arch i686, but today I saw on this page[1] something that confused me, saying that I have an x86_64 arch I have a Toshiba A135-S4427 with Intel dual core 1.73Ghz here's the output of /proc/cpuinfo CUT processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 14 model name : Genuine Intel(R) CPU T2250 @ 1.73GHz stepping: 8 cpu MHz : 800.000 cache size : 2048 KB physical id : 0 siblings: 2 core id : 0 cpu cores : 2 fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts pni monitor est tm2 xtpr bogomips: 3460.63 clflush size: 64 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 14 model name : Genuine Intel(R) CPU T2250 @ 1.73GHz stepping: 8 cpu MHz : 800.000 cache size : 2048 KB physical id : 0 siblings: 2 core id : 1 cpu cores : 2 fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts pni monitor est tm2 xtpr bogomips: 3457.55 clflush size: 64 CUT So which arch do I really have?? [1]: http://docs.fedoraproject.org/install-guide/f8/en_US/sn-which-arch.html -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Which arch do I have ?
As you have an Intel Core Duo, you should have the EMT64E version - Intel's version of the AMD64 instruction set - thus x86-64 compatible. Best place to check is Intel's website - here's what I found: http://processorfinder.intel.com/details.aspx?sspec=sl9dv http://developer.intel.com/design/mobile/core/duodocumentation.htm With EMT64E, you will be able to compile for 64-bit mode using the x86-64 builds. (You can only use Intel64 if you have the Itanium procs if memory serves.) However, unless you specifically install the x86-64/AMD64/64-bit version, you will have a 32-bit x86 environment and kernel. You can upgrade if you like...see other threads for that info. HTH, Ben Wael Nasreddine wrote: Hello, It's been like 6 months I'm using the arch i686, but today I saw on this page[1] something that confused me, saying that I have an x86_64 arch I have a Toshiba A135-S4427 with Intel dual core 1.73Ghz here's the output of /proc/cpuinfo CUT processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 14 model name : Genuine Intel(R) CPU T2250 @ 1.73GHz stepping: 8 cpu MHz : 800.000 cache size : 2048 KB physical id : 0 siblings: 2 core id : 0 cpu cores : 2 fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts pni monitor est tm2 xtpr bogomips: 3460.63 clflush size: 64 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 14 model name : Genuine Intel(R) CPU T2250 @ 1.73GHz stepping: 8 cpu MHz : 800.000 cache size : 2048 KB physical id : 0 siblings: 2 core id : 1 cpu cores : 2 fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts pni monitor est tm2 xtpr bogomips: 3457.55 clflush size: 64 CUT So which arch do I really have?? [1]: http://docs.fedoraproject.org/install-guide/f8/en_US/sn-which-arch.html -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Viewing BBC videos on Gentoo
On Sunday 10 February 2008 15:00:38 Ian Lee wrote: Jeff Cranmer wrote: Has anyone had any luck viewing videos on news.bbc.co.uk using gentoo? I have Firefox and mplayerplug-in installed, however I cannot view videos, either with the embedded player or the standalone. Jeff It's a flash based player mplayer wont work I can watch the videos without any problem with konqueror, it appears to launch an embeded version of kmplayer. Saludos Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Viewing BBC videos on Gentoo
On Sunday 10 February 2008 16:28:12 Jerry McBride wrote: On Sunday 10 February 2008 01:04:28 pm Matthew R. Lee wrote: On Sunday 10 February 2008 15:00:38 Ian Lee wrote: Jeff Cranmer wrote: Has anyone had any luck viewing videos on news.bbc.co.uk using gentoo? I have Firefox and mplayerplug-in installed, however I cannot view videos, either with the embedded player or the standalone. Jeff It's a flash based player mplayer wont work I can watch the videos without any problem with konqueror, it appears to launch an embeded version of kmplayer. Saludos Matt That makes sense as it's the kde frontend for mplayer. I had some real problems with kmplayer and mplayer not playing nice. Kmplayer was sending commandline parameters that the latest versions of mplayer didn't understand. Try the realplayer plugin ans see if it works. -- From the Desk of: Jerome D. McBride I can use realplayer aswell, I use it to stream BBC radio, though it works better if you click launch as a stand-alone player, the embeded version tends to skip a bit -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Default sound card for output...
My system has two sound-cards - one on the motherboard (snd_intel8x0) and an one via PCI (SB Audigy/snd_emu10k1). I don't mind having the driver compiled for the snd_intel8x0 card, but I want the Audigy as my default card chosen for playback. Some applications (e.g. Rosegarden) let me select the card. Others (e.g. embedded flash) do not. I'm running KDE 3.5.8, but can't see something that will let me set the default card beyond choosing ALSA. Is there any way that I can set the Audigy to be the default card? Both drivers are loaded by udev - so I guess there's something I could do there to control order...but I'm not that familiar with writing udev rules. I've figured out how to identify them somewhat using udev rules; however, the Audigy is not unique enough across the types of devices (e.g. audio, admmidi, amidi, etc.)... So what's the easiest way to set the Audigy as my default sound card? If I have to use uDev, then what's the easiest way to identify and order the devices and be able to capture all their sub-devices as well? TIA, Ben -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Default sound card for output...
Marc Joliet wrote: Am Wed, 06 Feb 2008 10:03:01 -0500 schrieb Benjamen R. Meyer [EMAIL PROTECTED]: My system has two sound-cards - one on the motherboard (snd_intel8x0) and an one via PCI (SB Audigy/snd_emu10k1). I don't mind having the driver compiled for the snd_intel8x0 card, but I want the Audigy as my default card chosen for playback. [SNIP] So what's the easiest way to set the Audigy as my default sound card? If I have to use uDev, then what's the easiest way to identify and order the devices and be able to capture all their sub-devices as well? Hi, there's a HOWTO for this on the Gentoo wiki site (gentoo-wiki.com). I'd link to it, but I can't reach the site right now as it won't load. There's also some info and an example (albeit for Debian) on the ALSA project wiki: http://alsa.opensrc.org/index.php/MultipleCards#Multiple_Sound_Cards_--_Example_on_Debian_GNU.2FLinux Thanks that did the trick. I was unable to get to the Gentoo Wiki site too, but Google's cache of the ALSA docums worked just fine: http://64.233.169.104/search?q=cache:jt--8lMDQMsJ:gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix+gentoo+wiki+multiple+sound+cardshl=enct=clnkcd=2gl=usclient=firefox-a Now it all works! :- Thanks. Ben -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Gentoo Firewall UPNP
I would like to be able to fully participate in Torrents for downloading ISO, such as the Gentoo ISOs. However, since my gentoo/iptables firewall currently is not forwarding any ports to my client systems, so I appear as a torrent leech - I'd like to try to change that. I'm using kTorrent under Gentoo/KDE, which supports interfacing via UPNP to enable specific forwarding, which I would like to try to take advantage of for security reasons. http://gentoo-wiki.com/HOWTO_Setup_UPnP_with_IPTables I noticed the URL above on how to do UPNP via linux-igd, but I'm not sure that's what I want. I searched emerge for UPNP and saw a number of packages in the list. I was wondering if anyone here has had any experience (good/bad/otherwise) on setting up a Gentoo-based ipTables Firewall for UPNP, or what packages people might recommend for it. While I am mostly concerned with having kTorrent work on my Gentoo Desktop, I might also be interested in using BitTorrent on a Win2k Laptop too - I don't know if it supports UPnP or not (possible), but if it was easy to support, I might be inclined to. (If not, no big loss.) So I'd welcome thoughts on that as well towards the above questions. TIA, Ben -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] openexr vs. ilmbase
I went to update my system (emerge world -vuDNp) and noticed a block by openexr (being updated) on ilmbase (new package). So, I was wondering what they are and which one I should be using. media-libs/openexr-1.6.1 [1.4.0a] Update! media-libs/ilmbase-1.0.1New! media-libs/openexr-1.5.0 blocking ilmbase-1.0.1 URL: http://www.openexr.com/ I noticed they are both ILM (Industrial Light Magic) file format stuff, and that OpenEXR split back in December 2006 into three packages: ilmbase 0.9, OpenEXR 1.5, OpenEXRViewers 0.9. And then in August everything upgraded to 1.0, 1.6, 1.0 respectively; with a further update in October to 1.0.1, 1.6.1, 1.0.1 respectively. So okay - openexr 1.4.0a needs to be removed and openexr 1.6.1 installed instead with ilmbase 1.0.1 also installed, no? But then why is emerge wanting to install openexr 1.5 too? But what's the best way to do the update? I could just unmerge (emerge -C) openexr and then do the update, and remerge openexr afterwards if need be. Or is there a better way? TIA, Ben -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Ant-Core Failed Build due to Sun-SDK?
Emerging (1 of 32) dev-java/ant-core-1.7.0-r1 to / * ant-1.7.0-gentoo.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * apache-ant-1.7.0-src.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking apache-ant-1.7.0-src.tar.bz2 ;-) ... [ ok ] * checking ant-1.7.0-gentoo.tar.bz2 ;-) ... [ ok ] * Using: sun-jdk-1.6 Unpacking source... Unpacking apache-ant-1.7.0-src.tar.bz2 to /var/tmp/portage/dev-java/ant-core-1.7.0-r1/work Unpacking ant-1.7.0-gentoo.tar.bz2 to /var/tmp/portage/dev-java/ant-core-1.7.0-r1/work removed `lib/xercesImpl.jar' removed `lib/xml-apis.jar' Source unpacked. Compiling source in /var/tmp/portage/dev-java/ant-core-1.7.0-r1/work/apache-ant-1.7.0 ... ... Bootstrapping Ant Distribution ... Compiling Ant Classes /opt/sun-jdk-1.6.0.04/bin/javac: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory ... Failed compiling Ant classes ! Bootstrap FAILED * * ERROR: dev-java/ant-core-1.7.0-r1 failed. * Call stack: * ebuild.sh, line 46: Called src_compile * environment, line 3855: Called die * The specific snippet of code: * ./build.sh ${bsyscp} jars-core $(use_doc javadocs) || diefunc $FUNCNAME $LINENO $? build failed * The die message: * build failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-java/ant-core-1.7.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/ant-core-1.7.0-r1/temp/environment'. * !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH= JAVA_HOME=/opt/sun-jdk-1.6.0.04 JAVACFLAGS=-source 1.4 -target 1.4 COMPILER= and of course, the output of emerge --info * Messages for package dev-java/ant-core-1.7.0-r1: * * ERROR: dev-java/ant-core-1.7.0-r1 failed. * Call stack: * ebuild.sh, line 46: Called src_compile * environment, line 3855: Called die * The specific snippet of code: * ./build.sh ${bsyscp} jars-core $(use_doc javadocs) || diefunc $FUNCNAME $LINENO $? build failed * The die message: * build failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-java/ant-core-1.7.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/ant-core-1.7.0-r1/temp/environment'. * -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Apache build error...
I'm trying to update the software on my system, among which is Apache, going from 2.2.6-r5 to 2.2.6-r7. However, I am running into a problem with it. Apparently the old install was using the apache2-builtin-mods file; so I followed the documentation at http://www.gentoo.org/doc/en/apache-upgrading.xml to convert it over to the APACHE2_MODULES and APACHE2_MPMS - but it is still giving me the same error - that mime, dir, and host_authz are disabled. After searching on-line, I found the post below which the user solved the issue by adding mime, dir, and host_authz to their package.use flag for apache2. However, that did not solve it for me. Below is the output of emerge -vuDN captured via script, where I stopped via CTRL+C after it posted its message claiming that the build would be unsupported. After that I cat'd my /etc/make.conf file in its entirely (not long yet), and also ran: cat /etc/portage/package.use | grep apache2 To try to add the relevant lines from /etc/portage/package.use. I'm at a loss of what to do. Any help or direction would be greatly appreciated. TIA, Ben Script started on Sat Jan 26 17:43:06 2008 ]0;[EMAIL PROTECTED]:~/emerge-to-run[?1034h[01;31mwitness[01;34m emerge-to-run #[00m emerge - world -VUDN vud DNp ]0;Started emerge on: Jan 26, 2008 17:43:23]0; *** emerge --newuse --deep --update --verbose world [32mThese are the packages that would be merged, in order:[39;49;00m Calculating world dependencies - | - | - \ \ \ \ / | - | - | | - | - / - / / - \ \ - | \ - / \ / \ / / - \ | - \ | / - \ | / - | - / \ - / \ / | - | - | - \ / - | - \ | - | - / | - | \ - | / - \ | / \ | - | / - \ | - / | \ / | \ - / \ - / | / \ / - \ / - \ | / - \ | \ - / \ - / | \ - \ / | / \ | - \ | / \ / \ | - / \ / | - | - | / \ / \ | / \ | / - | \ / \ - / | - | \ - / | - \ \ \ | - - / \ | \ \... done! [[32mebuild[39;49;00m [36;01mU[39;49;00m ] [32mwww-servers/apache-2.2.6-r7[39;49;00m [34;01m[2.2.6-r5][39;49;00m USE=[31;01mssl[39;49;00m [32;01mthreads[39;49;00m* [34;01m-debug[39;49;00m [34;01m-doc[39;49;00m [34;01m-ldap[39;49;00m ([34;01m-selinux[39;49;00m) [33;01m-sni[39;49;00m% [33;01m-static[39;49;00m% [33;01m-suexec[39;49;00m% ([33;01m-mpm-event[39;49;00m%) ([33;01m-mpm-itk[39;49;00m%) ([33;01m-mpm-peruser[39;49;00m%) ([33;01m-mpm-prefork[39;49;00m%) ([33;01m-mpm-worker[39;49;00m%) ([33;01m-no-suexec[39;49;00m%) ([33;01m-static-modules[39;49;00m%) APACHE2_MODULES=[33;01m-actions[39;49;00m% [33;01m-alias[39;49;00m% [33;01m-asis[39;49;00m% [33;01m-auth_basic[39;49;00m% [33;01m-auth_digest[39;49;00m% [33;01m-authn_alias[39;49;00m% [33;01m-authn_anon[39;49;00m% [33;01m-authn_dbd[39;49;00m% [33;01m-authn_dbm[39;49;00m% [33;01m-authn_default[39;49;00m% [33;01m-authn_file[39;49;00m% [33;01m-authz_dbm[39;49;00m% [33;01m-authz_default[39;49;00m% [33;01m-authz_groupfile[39;49;00m% [33;01m-authz_host[39;49;00m% [33;01m-authz_owner[39;49;00m% [33;01m-authz_user[39;49;00m% [33;01m-autoindex[39;49;00m% [33;01m-cache[39;49;00m% [33;01m-cern_meta[39;49;00m% [33;01m-charset_lite[39;49;00m% [33;01m-dav[39;49;00m% [33;01m-dav_fs[39;49;00m% [33;01m-dav_lock[39;49;00m% [33;01m-dbd[39;49;00m% [33;01m-deflate[39;49;00m% [33;01m-dir[39;49;00m% [33;01m-disk_cache[39;49;00m% [33;01m-dumpio[39;49;00m% [33;01m-env[39;49;00m% [33;01m-expires[39;49;00m% [33;01m-ext_filter[39;49;00m% [33;01m-file_cache[39;49;00m% [33;01m-filter[39;49;00m% [33;01m-headers[39;49;00m% [33;01m-ident[39;49;00m% [33;01m-imagemap[39;49;00m% [33;01m-include[39;49;00m% [33;01m-info[39;49;00m% [33;01m-log_config[39;49;00m% [33;01m-log_forensic[39;49;00m% [33;01m-logio[39;49;00m% [33;01m-mem_cache[39;49;00m% [33;01m-mime[39;49;00m% [33;01m-mime_magic[39;49;00m% [33;01m-negotiation[39;49;00m% [33;01m-proxy[39;49;00m% [33;01m-proxy_ajp[39;49;00m% [33;01m-proxy_balancer[39;49;00m% [33;01m-proxy_connect[39;49;00m% [33;01m-proxy_ftp[39;49;00m% [33;01m-proxy_http[39;49;00m% [33;01m-rewrite[39;49;00m% [33;01m-setenvif[39;49;00m% [33;01m-speling[39;49;00m% [33;01m-status[39;49;00m% [33;01m-unique_id[39;49;00m% [33;01m-userdir[39;49;00m% [33;01m-usertrack[39;49;00m% [33;01m-version[39;49;00m% [33;01m-vhost_alias[39;49;00m% APACHE2_MPMS=[33;01m-event[39;49;00m% [33;01m-itk[39;49;00m% [33;01m-peruser[39;49;00m% [33;01m-prefork[39;49;00m% [33;01m-worker[39;49;00m% 0 kB [[32mebuild[39;49;00m [32;01mN[39;49;00m] [32mapp-admin/eselect-fontconfig-1.0[39;49;00m 0 kB [[32mebuild[39;49;00m
[gentoo-user] problem printing photos
I'm having a real problem getting photos to print. I'm using HP Deskjet 3845, with the hpijs driver set to (600dpi, photo, full bleed, photo + color cartridge, photo paper) and CUPS 1.2.12. I've been trying to print from digikam, but I've had the same problem from other software. The problem is that the printer starts printing the photo but gives up at some point during the printing, never the same point twice! No error messages that I can see, it just stops and the light on the front of the printer starts flashing. I've tried leaving it to see if it was just a case of it taking its time to process the image but it never starts again. I've tried various mailing lists, googling etc, but I can't find the answer Any one out there no what the problem is? Saludos Matt -- %%% Dr. Matthew R. Lee Instituto Biologia Marina 'Jurgen Winter' Universidad Austral de Chile Campus Isla Teja Valdivia [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] moving my instalation to new hard drive
Dear All, Thanks for the advice. I just successfully completed the transfer of my gentoo installation to the new hard drive. I was able to install grub on the external drive successfully, obviating the need to boot with the live cd after swaping the drives. I did however have one problem with the dev/ being a little messed up, but I followed the instructions in the /etc/issue file and that fix the problem, as far as I can tell :-) Cheers Matt -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] moving my instalation to new hard drive
On Monday 24 December 2007 19:36:13 Neil Bothwick wrote: On Mon, 24 Dec 2007 21:28:37 +, Stroller wrote: It might be as simple as completing the `dd if=/dev/sda of=/dev/sdb` and then using `fdisk` to delete the last partition, then recreate it with the same start point (and a later end point). The filesystem would then need to be resized. But I don't know if this will work, It will, I've done it myself. The main disadvantages are that you can only resize the last partition,and it is very slow (because dd copies every byte of the source drive, not jut the ones in use). Although I have used this method, I wouldn't do it again, I'd set up the partitions, copy with rsync and run grub to install it on the new drive. Right I'm going to do it this way, in the morning, so if I'm wrong please feel free to shout at me over night: 1. make the new partitions and file systems on the new drive /dev/sdb 2. mount sdb1 (boot) and sdb3 (root) 3. copy sda1 to sdb1 and sda3 to sdb3 using rsync (I use rsync all the time to do backups so I'll stick with what I know) 4. swap the drives 5. boot with Live CD 6. (not sure about this bit) mount the boot partition (will this be sda1 or sdb1?) and root partition 7. chroot to the new disk 8. do env-update and source /etc/profile 9. install grub (I'm assuming I wont have to change my grub.conf as everything is in the same place as before, relatively speaking) 10. reboot and get on with the rest of my day -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
[gentoo-user] moving my instalation to new hard drive
Dear All, I'm running out of space on my laptop (Compaq Presario V5000) so I've decided to intall a bigger hard disk. Currently I have an 80GB SATA drive, I'm also going to add more RAM (from 1GB to 2GB) as RAM is so cheap at the moment. I've been through various howto's online, including the one in the gentoo-wiki, but I'm not completely clear on a couple of things. I need this to go quickly and smoothly, I'm about to move house and job and I don't have too much time for messing around. My current partition table looks like this: Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 5 40131 83 Linux /dev/sda2 6 68506047+ 82 Linux swap / Solaris /dev/sda3 699729 77601982+ 83 Linux I intend to keep the same partition layout on the new disk, but with /sda3 being a lot bigger. So here's how I think I'll do this, please feel free to correct me if I'm wrong. 1. place the new 160GB SATA drive in an external housing and create the partitions using fdisk, make the file systems, etc. Question 1: Should I keep the swap partition the same size or increase it? 2. Copy all the partitions from the old disk to the new disk using cp Question 2: (This is the main one!) The MBR? As the new disk is a direct replacement for the old one, with the same partitions etc, do I need to change anything in my grub.conf? or should it just work without modification? Here's my current grub.conf: default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash2.xpm.gz title=Gentoo 2.6.22-r2 root (hd0,0) kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] title=Gentoo 2.6.18-r6 root (hd0,0) kernel /boot/kernel-2.6.18-r6 root=/dev/sda3 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] 3. Shutdown, replace the old drive with the new drive, reboot and cross my fingers :-) Will it work? Any comments, as always, greatly appreciated Matt -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] moving my instalation to new hard drive
On Monday 24 December 2007 15:06:36 Dale wrote: Dale wrote: cp- a should work fine. I have used that several times and no problems yet. You can add the -v if you like to see the files scrolling by. If you have the same partitions on the new drive as the old drive, your grub.conf and fstab should be fine. You will need to install grub on the new drive tho. I usually do that from the Gentoo CD myself. Hope it all goes well. Dale :-) :-) Me and my sucky typing. Make that cp -a instead. That may work better. Dale :-) :-) Right, so when I've finished copying the partitions to the new disk, I swap the disks and boot with the Gentoo live CD and follow the instructions from the install handbook: Default: Setting up GRUB using grub-install To install GRUB you will need to issue the grub-install command. However, grub-install won't work off-the-shelf since we are inside a chrooted environment. We need to create /etc/mtab which lists all mounted filesystems. Fortunately, there is an easy way to accomplish this - just copy over /proc/mounts to /etc/mtab, excluding the rootfs line if you haven't created a separate boot partition. The following command will work in both cases: Code Listing 5: Creating /etc/mtab # grep -v rootfs /proc/mounts /etc/mtab Now we can install GRUB using grub-install: Code Listing 6: Running grub-install # grub-install --no-floppy /dev/hda If you have more questions regarding GRUB, please consult the GRUB FAQ or the GRUB Manual. Continue with Rebooting the System. Cheers! -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] VMWare server + Win 98 = VGA only?
On Saturday 22 December 2007, Kevin O'Gorman wrote: I did nothing to install the tools. I could not find them. There's an ebuild for workstation tools, but not for player or server. I didn't see anything helpful on the download page, or in the results from a query for tools on the VMWare web site. Nevertheless, I'm sure that since you ask, there's a simple way to find them that I just missed. I'm not near my VMs at the moment, but if memory serves: from the VMware Server menu bar, choose VM --Install VMware Tools while the guest is running. HTH, --James -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Mounting Question...
Galevsky wrote: On Dec 20, 2007 10:31 PM, Mick [EMAIL PROTECTED] wrote: Unlike commonly perceived wisdom I don't think that LVM is a panacea for all ills, or a necessity as such. It is however bloody convenient, especially on a growing fs. A server that is not expected to change much in size, probably does not need it. On the other hand some servers (file, mail, news servers) are bound to continue to accumulate data and their fs will increase in time. I would argue that the former type of server can happily live in a few primary partitions + 1 extended with a number of logical partitions, if you are going for a multi-partitioned scheme, while the latter type of server will greatly benefit from LVM. Of course, if hard drive redundancy is necessary, then I can't see how you could live without LVM + RAID. I understand you on LVM is not a must for very stable servers, but since I can't see any good reason not to use LVM, I see no reason to limit your abilities to extended partitions. We have the opportunity to be more flexible with LVM, why should we not get it ? To loose the ability to extend a partition by adding a new HD without any pain ? I mean, if you don't know how to use it, I understand that you may skip installing a LVM system, but when you did it once, I see no reason to install your new systems without. So, I am interested in your advice about LVM is not the universal solution for partitions management, since I am sure I have something to learn from you experience. Agreed. As I said in another e-mail on the list, I use to use extended partitions - at one point I had about 10 or so partitions on a single drive (3 primary, the rest from an extended partition). This worked well under Windows 9x, but was a pain after moving to Linux. It wasn't that I had mis-scoped the size of the data for those partitions, just that my needs changed (mainly user related needs, not system related needs), and managing extended partitions is a lot of work. I very much understand LVM and what would do for me, and would very much like to hear why simple extended partitions would be better for any scenario but the most limited of scenarios where LVM was just not possible (e.g. the system could not run a kernel that supported LVM; or RAM on the system was too limited to support running LVM; etc.)...I'm not sure I agree that they would be. Ben -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] vmware-server requires a serial number, but is free? how does this work
Kevin O'Gorman wrote: I've emerged and partly configured vmware-server-1.0.4, but it is asking for a 20-digit serial number to complete the configuration. I understood this to be a free product, as it says on the VMware site. But I didn't notice anything about a serial number. Do I just make it up, or did I miss something on vmware.com http://vmware.com? ++ kevin -- Kevin O'Gorman, PhD Kevin, You will need to register in order to acquire your free serial numbers: http://register.vmware.com/content/registration.html --James -- The innocent shall suffer... big time. -Ignignokt -- [EMAIL PROTECTED] mailing list
[gentoo-user] Mounting Question...
I set up a server system a little while ago, and in performing updates to portage it ran out of disk space as I didn't quite allow enough space on the root partition (3.8 GB). As a result, I took a partition that I had cleaned up (this was from a rebuild of a system that was a different distro in the past) and moved over /usr/portage to it. It's a 47 GB partition (as reported by df -h) and the system works fine. I do realize that if the mount command got screwed up, I'd probably have issues recovering the system, but that is that system. I am now thinking of converting my desktop over to Gentoo as well, and was wondering whether what I did above on the server was wise or not. I will be using the server as the portage provider for my desktop too. Otherwise, what is the recommended space to have available for the portage tree in /usr/portage so I can have root as an appropriately sized partition? TIA, Ben -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Mounting Question...
Dirk Heinrichs wrote: On Thursday 20 December 2007 10:50:33 Benjamen R. Meyer wrote: I set up a server system a little while ago, and in performing updates to portage it ran out of disk space as I didn't quite allow enough space on the root partition (3.8 GB). That's way too much. 256M is enough. / is the primary drive for the OS; I typically only off-load to other partitions for user stuff. On the server, I initially only offloaded /home and /usr/local; but in the crisis of the out of diskspace issue, I ended up also offloading /var/tmp and /usr/portage. As a result, I took a partition that I had cleaned up (this was from a rebuild of a system that was a different distro in the past) and moved over /usr/portage to it. It's a 47 GB partition (as reported by df -h) and the system works fine. I do realize that if the mount command got screwed up, I'd probably have issues recovering the system, but that is that system. I am now thinking of converting my desktop over to Gentoo as well, and was wondering whether what I did above on the server was wise or not. I think it is not. You'll undoubtedly get different answers about this, but IMHO it is best (regardless what kind of system) to use small, special purpose logical volumes. This way you can add space when needed, use the filesystem that fits best for the kind of data you store on this volume and have a certain degree of safety against volume corruption. Here is what I would recommend for a normal linux system: [hs]da1: /boot, 64M, ext2 [hs]da2: /, 256M, ext3 or xfs [hs]da3: LVM Then, create a volume group spawning [hs]da3 with name vg00 (you can choose the name freely) and create logical volumes inside: /dev/vg00/swap: size as needed, swapfs # can be omitted if enough RAM /dev/vg00/usr: /usr, 2-5G (dep. on number of pkgs), ext3 or xfs /dev/vg00/var: /var, 512M-1G, ext3 or xfs For /home, I prefer to have one LV per user, like /dev/vg00/john_doe, /dev/vg00/jane_doe and have the kernel automounter mount them on demand (at login time). I will be using the server as the portage provider for my desktop too. Otherwise, what is the recommended space to have available for the portage tree in /usr/portage so I can have root as an appropriately sized partition? Here again, I use the kernel automounter to mount three different LVs under /gentoo when needed: /dev/vg00/build (5.5G to be able to build OO.org), /dev/vg00/distfiles for the source packages and /dev/vg00/overlays for overlays, incl. the portage tree. On the desktop machine, you should be able to mount distfiles and overlays from the server via NFS. The build volume I would leave locally on the desktop to get faster build times (unless your network connection to your server is faster than harddisc access). I don't like using NFS much...guess I'll have to change that as I would like to centralize my server as a one-stop shop for usernames and passwords for the few systems on my network - server, desktop, and a laptop at present, but there will also be a few others shortly too. The laptop runs Windows 2k, so it'll just auth against Samba...any how...to get back to this issue... I haven't played with LVM yet. It's been something that's intrigued me, but I haven't ever researched it much to play with it. What you guys propose above and in this thread is quite interesting, so I'll follow up with this question: Right now I have the server configured per drives as follows: /dev/hda1 /3.8 GB 4096.19 MB /dev/hda2 /home 15.0 GB 15356.60 MB /dev/hda3 SWAP 2.6 GB 2665.00 MB /dev/hda4 /usr/local 4.9 GB 5255.96 MB /dev/hdb1 EMPTY 66.3 GB 67875.02 MB /dev/hdb2 /var/tmp28.0 GB 30721.43 MB /dev/hdb3 /usr/portage47.0 GB 51202.37 MB /dev/hdb4 SWAP10.0 GB 10240.48 MB It's only got a 192 MB of RAM - a PII/233, so I'm giving it generous swap space. (My desktop is an AMD64 with a gig of RAM.) I seem to have a sizable partition free (hdb1), so this just might work - but how would you guys propose I transition from the above setup to an LVM setup? All partitions are currently ext3 (my preferred fs for linux). I don't think I'd be able to do that on my desktop right now...namely in that rebuilding it from Slackware to Gentoo is going to be trying enough, but I think I can manage it - namely from the side of downtime, but I'd also like to try to fully utilize the AMD64 in the system - meaning 64-bit where possible. Any how...for now, I'd like to hear about the LVM conversion for the server; I'll bring up the other issues later in different threads when I have the time to address them, but the LVM stuff is intriguing enough that I might be able to squeeze it in in short order if I can do it without risking data, or having to rebuild the system. Thanks, Ben -- [EMAIL PROTECTED] mailing
Re: [gentoo-user] Mounting Question...
Dale wrote: Mick wrote: SNIP With regards to your 47G /usr/portage partition I think that it is a waste of space. It won't harm you other than the fact that the 3.8G OS partition is in all likelihood too small. This is what I would do: tar the contents of /usr/portage elsewhere (even in the 3.8G partition - it should fit if you clear any cruft and, or use bzip). Delete the 47G partition and use gparted to enlarge the 3.8G partition to say, 8-10G. Then create a new partition say another 8-10G for /usr/portage. Then create anymore separate partitions you may need (for /home and what have you). mkfs as required, modify your /etc/fstab and move your data in your respective new partitions. If you think your fs is/are going to grow use LVM instead, otherwise primaries and if you need more than 4 then (extended + logical). Well, I'm no expert but this has worked for me and this is a 4 or 5 year old install. Your mileage may vary. From cfdisk: snip As you can see, I have plenty of space available for future additions, like a space hogging KDE 4.0. :-) The fullest one is /usr/portage which I clean up on occasion with eclean. If I ever change them around again, I will put /var on a separate partition but other than that, it works pretty well. May make root smaller then as well. A lot of this depends on what you are doing with the box tho. It's just something you have to sort of work out as you go which may be why some recommend EVMS or LVM. I have read up on it but just never got up the nerve to try it yet. This is a desktop mostly used to surf the net and run foldingathome on. Hope this helps tho. Thanks for the info guys. Yeah - the server has been pretty steady. I use to run it on a P90 with an 8.4 GB (7.6 formatted) hard drive running Slackware and just upgraded to the P2 with Gentoo, namely so I can keep it up to date more. I run Gentoo at work, but the firewall prevents me from getting portage updates there as they block RSYNC and FTP, and the HTTP is authenticated which causes me a lot of pain under *nix. So in some respects I am pretty new to some of this stuff per Gentoo. LVM is certainly not out of the question, I just don't have the time to rebuild the system again - especially since I just built it. So I'd need a path to getting to it. As per the the suggestion of blasting away the 47 GB partition - I'm not sure that's an option. I got away from using Logical partitions a long time ago after I moved to Linux as I found them to be too problematic - I'd never have enough space on the partition I needed space on and to rework it to have enough would require moving around others too. And, as you can see from my other e-mail, I already have 4 primary partitions on each drive (swap included); so I would certainly go to LVM instead of logical partitions. That said, the system itself won't change much, but the current drive layout is probably not the best for where space needs to really be. So I really am open to changing it, but need to do so on the fly with a few reboots and (most importantly) without reinstalling. I do realize Linux makes it pretty easy to move around from partition to partition, which I have done, just not sure how LVM plays into it - thus my other e-mail asking about a path to getting there. (FYI - I did check and LVM2's device-mapper is enabled in the kernel, so it should be pretty straight forward.) Thanks, Ben -- [EMAIL PROTECTED] mailing list
[gentoo-user] korganiser problem
I'm having trouble with the To-do-List in Kontact. When I try to mark a to-do complete a message pops up saying Unable to edit item: it is locked by another process. I've tried shutting down kontact and killing all processes associated with kontact/korganiser and then relaunching kontact, but it makes no difference. Anybody got any ideas, I don't want to have to redo my calender and to-do list again from the start. I've pasted the output from ps x below Thanks Matt PID TTY STAT TIME COMMAND 4957 ?Ss 0:00 /bin/sh /usr/kde/3.5/bin/startkde 5026 ?S 0:00 dbus-launch --sh-syntax --exit-with-session 5033 ?Ss 0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session 5050 ?Ss 0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session 5051 ?S 0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session 5517 ?Ss 0:00 kdeinit Running... 6010 ?S 0:01 dcopserver [kdeinit] --nosid 6125 ?S 0:00 klauncher [kdeinit] --new-startup 6315 ?S 0:05 kded [kdeinit] --new-startup 6583 ?S 0:00 kwrapper ksmserver 6585 ?S 0:00 ksmserver [kdeinit] 6586 ?S 0:02 kwin [kdeinit] -session 106d65696f0001160297791008988_1197248206_483363 6588 ?S 0:01 kdesktop [kdeinit] 6590 ?S 0:03 kicker [kdeinit] 6595 ?S 0:01 /usr/kde/3.5/bin/artsd -F 10 -S 4096 -a alsa -d -s 60 -m artsmessage -c drkonqi -l 3 -f 6597 ?S 0:00 kaccess [kdeinit] 6599 ?S 0:00 knetstats -session 1014cd7d2d400011751109460058650054_1197248206_457883 6601 ?S 0:01 kget -session 1014cd7d2d400011797792560058820042_1197248206_458044 6603 ?S 0:00 kmix [kdeinit] -session 1014cd7d2d400011890235880065390012_1197248206_458121 6604 ?R 0:00 klamav -session 1014cd7d2d400011952153240066220014_1197248206_458744 6611 ?S 0:39 konqueror [kdeinit] --preload 6614 ?S 0:00 /home/matt/.kde/Autostart/xbindlink 6616 ?S 0:00 knotify [kdeinit] 6618 ?S 0:00 klipper [kdeinit] 6621 ?R 0:05 konqueror [kdeinit] --preload 6680 ?Ss 0:05 clamd -c /home/matt/klammailfZTiql 6795 ?R 0:01 konsole 6796 pts/1Ss 0:00 /bin/bash 8533 ?SLl1:46 amarokapp 8546 ?S 0:00 ruby /usr/share/apps/amarok/scripts/score_default/score_default.rb 8547 ?S 0:00 ruby /home/matt/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/amarok/pluginsmanager.rb 8586 ?S 0:00 konqueror [kdeinit] --preload 8587 ?S 0:52 tellico -caption Tellico -icon tellico -miniicon tellico 31094 ?S 0:00 ispell -a -S -C -d british 31100 ?S 0:00 kio_uiserver [kdeinit] 31213 ?S 0:00 kio_file [kdeinit] file /tmp/ksocket-matt/klauncher8pUWpc.slave-socket /tmp/ksocket-matt/amarok0hLNVa.slave-socket 31567 pts/1S+ 0:00 mplayer -dumpstream rtsp://rmv8.bbc.net.uk/bbc7/2200_sun.ra 31743 ?SN 0:00 kio_thumbnail [kdeinit] thumbnail /tmp/ksocket-matt/klauncher8pUWpc.slave-socket /tmp/ksocket-matt/konquerorQgTO9b.slave-socket 31782 pts/2Ss 0:00 /bin/bash 31797 pts/2R+ 0:00 ps x -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
[gentoo-user] Video Overlay Software API
All, This may not be the right place for this question, if so please direct me. I am looking for a software API that I can use to develop a UI that will display an analog video stream on the screen with overlaid controls (buttons, indicators, etc.). I have looked into a few options, but haven't found a satisfactory solution. The latency for the video display must be less than 1/4 second to meet the design requirements, so something that can be programmed in separate threads (a video thread and an overlay thread) may be the best option. If the indicators lag slightly, that is okay, as long as the video feed doesn't. If anyone has any ideas, suggestions, or solutions, that would be great. Thanks for the help! -- Jonathan R. Haws Student Engineer Space Dynamics Laboratory [EMAIL PROTECTED] (435)797-4629 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] grub hell
Why not go Seamless with a VM? That works great for me. That way you can forget about the dual boot. Just set the VM to run on startup and you can access any Windows program from within Gentoo. Works great, speed is just as fast as when booting to XP. http://ubuntuforums.org/showthread.php?t=433359highlight=seamless Yes the how to is for ubuntu, but its the same across all platforms. The only difference really is setting up the bridge. If you do it, make sure you set permissions correctly on the folder containing the seamlessshell.exe program (i gave everyone full control). -jrh maxim wexler wrote: http://supergrub.forjamari.linex.org/ I use this cd image and it works like a treat. Not for me. Same problem: grub can get the HDs straight. I quit. Not a great biggee; I only use XP for one proprietary program that has yet to be linux-fied. I'll just tell the BIOS to boot from that drive whenever I have to use it again, which is rarely. Outtahere, -mw Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/ -- Jonathan R. Haws Student Engineer Space Dynamics Laboratory [EMAIL PROTECTED] (435)797-4629 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] apache wont start when there is no network available
On Thursday 11 October 2007 09:46:25 Neil Bothwick wrote: On Thu, 11 Oct 2007 09:17:40 -0400, Matthew R. Lee wrote: Question, why does apache2 need net.eth1 to be running? How can I get apache2 going without a network connection? Surely everything it needs is on the laptop (localhost) Set RC_NET_STRICT_CHECKING=lo in /etc/conf.d/rc That did the trick, thanks. Sorry I didn't respond sooner but I was in a workshop all day yesterday Matt -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
[gentoo-user] apache wont start when there is no network available
Yesterday I installed Apache2 Mysql 5 and php 5 along with tikiwiki 1.9.8 on my laptop (localhost). The idea is to play with and learn how to use tikiwiki before I install it on my webhost and revamp my website. Everything was working fine and is working fine here in the office where I have online access. But when I got home last night with the intention of playing with tikiwiki I couldn't because apache wouldn't start. I wouldn't start because net.eth1 couldn't connect to anything. net.eth1 is my wireless connection, net.eth0 is my wired connection. Neither will start at home because I don't have internet at home. Question, why does apache2 need net.eth1 to be running? How can I get apache2 going without a network connection? Surely everything it needs is on the laptop (localhost) I've looked at the httpd.conf but I can't see anything relevant I'm clearly new to this apache stuff, any help would be appreciated Matt -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Upgrading the kernel
On Wed, 3 Oct 2007 22:19:39 +0200 Bo Ørsted Andresen [EMAIL PROTECTED] wrote: reusing old configs). So after digging a bit it turns out dsd has an explanation in his devspace.. ;) http://dev.gentoo.org/~dsd/make_oldconfig.htm Bo, good job digging this up. Thanks for the link :) -- [EMAIL PROTECTED] mailing list
[gentoo-user] Upgrading the kernel
Do you guys have a trick that will update a new kernel quickly? I'm using 2.6.21-gentoo-r4 right now, and have foregone upgrading to 2.6.22-gentoo-r5 and -r8 because I read somewhere that I can't just use my old .config file for a new kernel version if it's *not* a revision-upgrade and I can only upgrade safely between 2 revisions. I don't want to go through all those kernel settings one by one. Do you just remember a few key things that you need (framebuffer, video, usb, etc) and just use the default settings? Thanks. \|||/ (o o) ooO-(_)-Ooo http://jed.sitesled.com 0x81E575A3 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT: Mplayer question
On Thu, 27 Sep 2007 14:14:58 -0500 Anthony E. Caudel [EMAIL PROTECTED] wrote: Thinking about ordering a DVD from Amazon.uk (not available here in the US). It is a region 2 DVD and is in PAL format unlike the NTSC here in the states. Will the DVD play in Mplayer? Tony try emerging media-libs/libdvdcss if it doesn't. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Upgrading the kernel
On Mon, 1 Oct 2007 22:07:08 -0700 Hex Star [EMAIL PROTECTED] wrote: It is quite simple, take this config file which is the default distro config: http://esc69.midphase.com/~moiress/good_config (compiles most I don't really need the config files. As I've said I've been doing the make oldconfig way before and I'm just wondering with the change of kernel versions if this is still safe in any way. Thanks. When smashing monuments, save the pedstals -- they always come in handy. -- Stanislaw J. Lem, Unkempt Thoughts -- [EMAIL PROTECTED] mailing list
[gentoo-user] keyboard layout
I had a few problems with an update of Xorg over the weekend which I have sorted out, however I've been left with one niggle. The keyboard layout isn't being recognized. I have a laptop with a British keyboard layout The xorg.conf has the following: Section InputDevice Identifier Keyboard0 Driver kbd Option XkbLayout uk EndSection This used to work fine, but now it's not working I'm using xorg-server-1.3.0.0 Any suggestions as to why it's ignoring the .conf? Matt -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] keyboard layout
On Monday 10 September 2007 15:24:06 Liviu Andronic wrote: Hello, I use x11-base/xorg-server [1.1.1-r3]. In my xorg.conf, I have the following: Driver keyboard ..and.. Option XkbLayout gb,fr,ru,ro Try to change uk to gb. Regards, Liviu On 9/10/07, Matthew R. Lee [EMAIL PROTECTED] wrote: I had a few problems with an update of Xorg over the weekend which I have sorted out, however I've been left with one niggle. The keyboard layout isn't being recognized. I have a laptop with a British keyboard layout The xorg.conf has the following: Section InputDevice Identifier Keyboard0 Driver kbd Option XkbLayout uk EndSection This used to work fine, but now it's not working I'm using xorg-server-1.3.0.0 Any suggestions as to why it's ignoring the .conf? Matt -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list -- Liviu Already tried changing it to gb but it didn't change anything -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] linux desktop search engines are ugly!
just a different tool. nothing breakthrough about dse's. breakthrough is web2.0. dse has it's place (or users). but for people who know how to organize and has been on the terminal, then the old tools suffice.but as data and storage gets multiplied everyday i guess it will find its way into mainstream usage. but for me it's not a need tho. it's a luxury wasting my time and my already slow cpu cycles. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] DVD burner recomendation
On Wednesday 29 August 2007 14:27:33 Garry Smith wrote: Hi James Also, I have a series of files as a result of starting and stopping a sony video camera at football games: At the very least, I need to be be able to combine them: M2U1.MPG . M2U00043.MPG into a single image How about, e.g.: [EMAIL PROTECTED] /tmp $ cat m2u00068.mpg new.mpg [EMAIL PROTECTED] /tmp $ cat m2u00058.mpg new.mpg You could script this for a large number of files of course. regards Garry You can also use media-video/mpgtx which works from the command line Use mpgjoin to join mpg files, very easy -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] linux desktop search engines are ugly!
On Tuesday 28 August 2007 08:00:17 Alan McKinnon wrote: On Tuesday 28 August 2007, Stroller wrote: On 28 Aug 2007, at 08:11, Alan McKinnon wrote: If you know how to use them, you'll have a lot of fun. What is this desktop search engine thingy whereof the OP speaks? I do not know of such a thing... It's like locate, except it indexes the contents of files (rather than just the names) and it does so immediately the file is saved, rather than as a cron job. Seems like a lot of folks are being very helpful and want to assist me in understanding what these Beagle-esque apps do :-) I do know what they are, I just never use them - I prefer grep find locate etc. I was being slightly sarcastic with my comment, with my tongue very firmly planted in both cheeks :-) But hey, maybe some other user who would use such things now know more about them and maybe emerge them A place for everything and everything in its place. If you are as anally retentive about it as me you don't need a desktop search engine. I had beagle for a while but I never used it so I decided to take the space back. Also for specific types of files there are specific types of database programs. So all my music is in amarok, all my research papers (pdfs) are in tellico, as are all my videos/dvds, all my photos are in digikam. That's the majority of my files. The rest is mostly work which is in a folder called work with a sub-folder for each experiment/project. It's not hard. It's only a big job if you've got thousands of files with random file names scattered across your file system. Saludos Matt -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Server Network Configuration
kashani wrote: Mark Shields wrote: eth0 gives you the default gw via DHCP, and you're trying to set a default gw for eth1, right? If so, you can't do that. There can only be one default gateway (hence the name). What are the functions of the NICs on the private networks (eth1/eth2)? router geek hat on You can have as many default gateways or perhaps gateway of last resort or the least specific gateway are better names as your routing engine can support. There is nothing special about a default gateway. It's just a route like all other routes, just far less specific. By default Linux uses the first 0.0.0.0/0 route you set. However by turning on advanced routing in the kernel you can configure more than one. Unfortunately Linux will do per packet instead of the fancier per TCP stream that most routers do by default these days. Per packet round robins between your gateways and can cause packets to arrive out of order in some cases. Per stream, this isn't quite the right terminology but you get the idea, has the downside that one large connection like your db backing up to a remote server can swamp a single gateway. Going back to the original question I don't you're having a routing problem though I'm not sure I understand exactly what you're doing. Once a packet reaches any interface of your route/firewall the Linux should be aware of all local networks. Unless you're routing specific non connected networks to various interfaces you shouldn't need any additional routes. A netstat -rn should look roughly like this: Kernel IP routing table Destination GatewayGenmask Flags MSS Window irtt Iface 24.x.x.43 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 127.0.0.1 255.0.0.0 UG0 0 0 lo 10.x.11.1 0.0.0.0 255.255.255.0 U 0 0 0 eth1 10.x.12.1 0.0.0.0 255.255.255.0 U 0 0 0 eth1:0 10.x.21.1 0.0.0.0 255.255.255.0 U 0 0 0 eth2 10.x.22.1 0.0.0.0 255.255.255.0 U 0 0 0 eth2:0 0.0.0.024.x.x.10.0.0.0 UG0 0 0 eth0 However unless you have enabled ip_forward on your router, Linux is unlikely to route packets from one interface to another. I'm betting that's your problem. kashani Here's the routing tables as I have them now: Routing table on the old server: Kernel IP routing table DestinationGateway Genmask Flags Metric RefUseIface public ip net 0.0.0.0 255.255.252.0 U 0 00 eth1 172.16.0.0 0.0.0.0255.255.0.0 U 0 00 eth2 192.168.0.0 0.0.0.0255.255.0.0 U 0 00 eth0 127.0.0.0 0.0.0.0255.0.0.0 U 0 00 lo 0.0.0.0 public ip 0.0.0.0 UG0 00 eth1 Routing table on the new server: Kernel IP routing table Destination GatewayGenmask Flags Metric RefUse Iface 192.168.7.0 0.0.0.0255.255.255.0 U 0 00 eth1 192.168.6.0 0.0.0.0255.255.255.0 U 0 00 eth1 192.168.5.0 0.0.0.0255.255.255.0 U 0 00 eth1 192.168.4.0 0.0.0.0255.255.255.0 U 0 00 eth1 192.168.2.0 0.0.0.0255.255.255.0 U 0 00 eth1 192.168.9.0 0.0.0.0255.255.255.0 U 0 00 eth1 192.168.9.0 0.0.0.0255.255.255.0 U 0 00 eth2 192.168.8.0 0.0.0.0255.255.255.0 U 0 00 eth1 192.168.0.0 0.0.0.0255.255.0.0 U 0 00 eth0 127.0.0.0 0.0.0.0255.0.0.0 U 0 00 lo 0.0.0.0 public ip 0.0.0.0 UG0 00 eth0 This was only after I removed the route_eth1() and route_eth2() entries from /etc/conf.d/net.. Perhaps that is the right way...given the similarities...before I was also getting G entries for eth1 and eth2. (The IP usage on my old server was weird for some historic reasons. So there are differences in IP ranges simply because I am correcting what contributed to the weirdnesses and using a more correct usage. The old server also is not showing the aliases in the routing table - I hadn't added specific routing commands for them.) I've been a bit busy this weekend, so I didn't get to try iproute2 yet, but will be as soon as I get a chance. Will post the results when I do. Ben -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] kdelibs wont compile
On Sunday 19 August 2007 08:50:26 Mick wrote: On Saturday 18 August 2007, Volker Armin Hemmann wrote: NO! don't mask expat! There is some reason why it got stable. expats current form is out for ages. emerge latest expat, emerge fontconfig, emerge qt and everything else broken. Do as Volker says. After you run revdep-rebuild you will eventually come up to the XML error as you described. There's a whole thread about it in this ML (search for it in Gmane). The solution is to emerge -C XML-Parser emerge -uaDv XML-Parser before you continue. If I recall you may have to do the same with gettext. HTH. I did as I was told and all is fine now, it was a marathon compile weekend, 180 packages. I didn't run into the XML error stuff, am I storing up problems for the future? Thanks Matt -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pendrive mounting problem
On Thursday 16 August 2007 06:11, Hans-Werner Hilse wrote: Please give us the output of grep NLS /lib/modules/$(uname -r)/source/.config in order to verify that you really have cp437 support compiled into your kernel. ok the grep indicated that cp 437 support isn't there. So I'm recompiling the kernel so it is. I maybe missed it because it has the (USA Canada) label next to it and I've everything set up for europe. I assume if everybody needs it, it is set as default? I don't remember unclicking it. Anyway, hopefully the recompile will sort it out. Thanks for the help. Matt Add: The recompile worked. Sometimes you can't see what's wrong for looking Thanks again for all the help Matt -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
[gentoo-user] pendrive mounting problem
A friend of mine recently put a pdf on my pendrive using windows vista. When I plugged it into my laptop it wouldn't mount. I got the following output from dmesg: sd 4:0:0:0: [sdb] 1984000 512-byte hardware sectors (1016 MB) sd 4:0:0:0: [sdb] Write Protect is off sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00 sd 4:0:0:0: [sdb] Assuming drive cache: write through sd 4:0:0:0: [sdb] 1984000 512-byte hardware sectors (1016 MB) sd 4:0:0:0: [sdb] Write Protect is off sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00 sd 4:0:0:0: [sdb] Assuming drive cache: write through sdb: sdb1 Unable to identify CD-ROM format. Unable to load NLS charset cp437 FAT: codepage cp437 not found NTFS-fs error (device sdb1): read_ntfs_boot_sector(): Primary boot sector is invalid. NTFS-fs error (device sdb1): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover. NTFS-fs error (device sdb1): ntfs_fill_super(): Not an NTFS volume. VFS: Can't find ext3 filesystem on dev sdb1. VFS: Can't find an ext2 filesystem on dev sdb1. Now when I put an SD card into the external card reader I get exacly the same problem even though the SD card has been nowhere near vista Any clues as to what is going on? Matt -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pendrive mounting problem
On Wednesday 15 August 2007 11:45, Hans-Werner Hilse wrote: Hi, On Wed, 15 Aug 2007 11:34:31 -0400 Matthew R. Lee [EMAIL PROTECTED] wrote: A friend of mine recently put a pdf on my pendrive using windows vista. When I plugged it into my laptop it wouldn't mount. I got the following output from dmesg: [...] How is it mounted? fstab entry? CLI? please provide the options you're using. BTW, it's not all that common that those media types are NTFS. In most cases, VFAT is in use (is that compiled into your kernel? NLS support is currently missing from your kernel -- or not loaded automatically if compiled as a module). -hwh I'm using udev-104-r13 Said pendrive worked fine prior to being inserted into the vista laptop I recently compiled a new kernel 2.6.22-gentoo-r2 with all the same support for file systems as the previous kernel, with the exception that I compiled in support for ntfs. -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pendrive mounting problem
On Wednesday 15 August 2007 11:55, Matthew R. Lee wrote: On Wednesday 15 August 2007 11:45, Hans-Werner Hilse wrote: Hi, On Wed, 15 Aug 2007 11:34:31 -0400 Matthew R. Lee [EMAIL PROTECTED] wrote: A friend of mine recently put a pdf on my pendrive using windows vista. When I plugged it into my laptop it wouldn't mount. I got the following output from dmesg: [...] How is it mounted? fstab entry? CLI? please provide the options you're using. BTW, it's not all that common that those media types are NTFS. In most cases, VFAT is in use (is that compiled into your kernel? NLS support is currently missing from your kernel -- or not loaded automatically if compiled as a module). -hwh I'm using udev-104-r13 Said pendrive worked fine prior to being inserted into the vista laptop I recently compiled a new kernel 2.6.22-gentoo-r2 with all the same support for file systems as the previous kernel, with the exception that I compiled in support for ntfs. I've just checked the kernel config and all the NLS support is compiled in -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pendrive mounting problem
On Wednesday 15 August 2007 13:53, Hans-Werner Hilse wrote: Hi, On Wed, 15 Aug 2007 12:06:50 -0400 Matthew R. Lee [EMAIL PROTECTED] wrote: I'm using udev-104-r13 Hm, but udev doesn't do the mount, does it? I would really be interested whether there is a fstab entry (and what it is) and what mount command you use, if any. Some software actually must be responsible for the mount, right? fstab doesn't mention /dev/sdb1 normally I just plug the pendrive in, the icon pops up in media:/ in konqueror, I click on it and do what I need to do The output you have cited was from the kernel log and it looks as if Said pendrive worked fine prior to being inserted into the vista laptop I recently compiled a new kernel 2.6.22-gentoo-r2 with all the same support for file systems as the previous kernel, with the exception that I compiled in support for ntfs. So I guess the stick, or at least the card, is not NTFS but FAT (since it worked before), right? Correct it is, was, FAT What would be interesting is the output of file -s /dev/sdb1. It should print some details about the partition (you need to run it as root). /dev/sdb1: x86 boot sector, code offset 0x3c, OEM-ID MSDOS5.0, sectors/cluster 16, root entries 512, Media descriptor 0xf8, sectors/FAT 248, heads 255, hidden sectors 32, sectors 1015776 (volumes 32 MB) , serial number 0xb465569d, unlabeled, FAT (16 bit) I've just checked the kernel config and all the NLS support is compiled in Do you have automatic module loading enabled? Otherwise you might need to probe the NLS module for cp437 manually before mounting (I really think it is just a warning in the kernel log, but I'm not sure -- especially, if you have autofs in the action, which it also looks like, since the probing of all the file systems). Try modprobe nls_cp437. I do have automatic module loading enabled All the file system stuff including NLS is compiled into the kernel, not as modules. modprobe mls_cp437 returns FATAL: Module nls cp437 not found -hwh -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pendrive mounting problem
On Wednesday 15 August 2007 16:32, Hans-Werner Hilse wrote: Since I got no idea how to debug the KDE part, all I can suggest is issuing the following as root: mount -t vfat /dev/sdb1 /mnt and see if it gets mounted beneath /mnt. That way, you can exclude media and kernel issues. If errors show up, post them and the new lines in the kernel log. -hwh trying to mount it from the command line didn't work, here's the output from dmesg usb 1-4.4: new high speed USB device using ehci_hcd and address 10 usb 1-4.4: configuration #1 chosen from 1 choice hub 1-4.4:1.0: USB hub found hub 1-4.4:1.0: 1 port detected usb 1-4.4.1: new high speed USB device using ehci_hcd and address 11 usb 1-4.4.1: configuration #1 chosen from 1 choice scsi6 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 11 usb-storage: waiting for device to settle before scanning scsi 6:0:0:0: Direct-Access Corsair Flash Voyager1.00 PQ: 0 ANSI: 0 CCS sd 6:0:0:0: [sdb] 1015808 512-byte hardware sectors (520 MB) sd 6:0:0:0: [sdb] Write Protect is off sd 6:0:0:0: [sdb] Mode Sense: 00 26 00 00 sd 6:0:0:0: [sdb] Assuming drive cache: write through sd 6:0:0:0: [sdb] 1015808 512-byte hardware sectors (520 MB) sd 6:0:0:0: [sdb] Write Protect is off sd 6:0:0:0: [sdb] Mode Sense: 00 26 00 00 sd 6:0:0:0: [sdb] Assuming drive cache: write through sdb: sdb1 sd 6:0:0:0: [sdb] Attached SCSI removable disk sd 6:0:0:0: Attached scsi generic sg1 type 0 usb-storage: device scan complete Unable to identify CD-ROM format. Unable to load NLS charset cp437 FAT: codepage cp437 not found NTFS-fs warning (device sdb1): is_boot_sector_ntfs(): Invalid boot sector checksum. NTFS-fs error (device sdb1): read_ntfs_boot_sector(): Primary boot sector is invalid. NTFS-fs error (device sdb1): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover. NTFS-fs error (device sdb1): ntfs_fill_super(): Not an NTFS volume. VFS: Can't find ext3 filesystem on dev sdb1. VFS: Can't find an ext2 filesystem on dev sdb1. -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pendrive mounting problem
On Wednesday 15 August 2007 18:38, Xav' wrote: You can see here that codepage cp437, which is needed by FAT to mount your key, is not found. So you have to compile it in your kernel as module or builtin, as you wish, by activating the option under File Systems -- Native Language Support -- M Codepage 437 (United States, Canada) After recompile your kernel,reboot and enjoy mounting your key ;) As I stated in earlier posts, the NIS support is compiled into my current kernel, atleast that's what the .config states -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] pendrive mounting problem
On Wednesday 15 August 2007 18:09, Mick wrote: Can you still mount it with WinXP/Vista? What do they report as a fs (under admin tools/Computer Management/Disk manager)? Don't know. I don't have a windows machine and it's a public holiday here, there's no one else in the lab You may want to try pmount /dev/sda and, or /dev/sda1. Didn't work. Same problem Also give ntfs-3g a try (especially if you need to write to this device). Finally, I have had two boxen with hald problems after recent updates (it would not start). Check that dbus and hald are actually running. dbus and hald are both running HTH. Matt -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
[gentoo-user] wireless setup bcm4311
I'm having problems getting the wifi on my laptop to work. The laptop is a Compaq Presario V5214ea The wifi card is a Broadcom 4311 (rev 1) I've been looking at the Gentoo Wiki page: http://gentoo-wiki.com/HARDWARE_BCM43xx The problem I've run into is with the kernel setup (kernel linux-2.6.21-gentoo-r4) Under Device Drivers -- Network device support -- Wireless LAN drivers Broadcom BCM43xx wireless support does not appear. Has it been removed from the kernel for some reason? Do I need to enable some other option in order to make this option available? I have enabled the PCI express support. Any clues would be most welcome Thanks Matt -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] wireless setup bcm4311
On Saturday 04 August 2007 12:59, Mick wrote: On Saturday 04 August 2007 16:55, Matthew R. Lee wrote: I'm having problems getting the wifi on my laptop to work. The laptop is a Compaq Presario V5214ea The wifi card is a Broadcom 4311 (rev 1) I've been looking at the Gentoo Wiki page: http://gentoo-wiki.com/HARDWARE_BCM43xx The problem I've run into is with the kernel setup (kernel linux-2.6.21-gentoo-r4) Under Device Drivers -- Network device support -- Wireless LAN drivers Broadcom BCM43xx wireless support does not appear. Has it been removed from the kernel for some reason? Do I need to enable some other option in order to make this option available? I have enabled the PCI express support. Any clues would be most welcome Try: Location: - Device Drivers - Network device support - Network device support (NETDEVICES [=y]) - Wireless LAN (non-hamradio) - Wireless LAN drivers (non-hamradio) Wireless Extension - Broadcom BCM43xx wireless support (BCM43XX [=m]) It's not there, it's not on the list I have Network device support and Wireless LAN drivers (non-hamradio) Wireless Extension checked -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Best virtual machine for my needs
On 7/27/07, Florian Philipp [EMAIL PROTECTED] wrote: Hi! I need a way to use Napster or iTunes on Linux. (I don't like DRM but it's not my PC and not my decision) I think my best bet would be a virtual machine with Windows 2000 (I can spare the licence). The PC is an older AMD64 without AMD-V. Therefore I need something that a) is free or at least not expensive b) works without AMD-V and Intel-V c) works with Win2k d) simulates a CD recorder for burning the music (or do you know a better way to get rid of DRM again?) I hope my English was good enough to explain myself and you can help me. Thanks in advance! Florian Philipp The only thing I can think of is wine (an emulator), which is in the portage tree: emerge -va wine After that, there is a very good site for using wine with several programs: http://frankscorner.org/ I know nothing on how to avoid all that DRM fiasco. HTH - AR -- One should die proudly when it is no longer possible to live proudly. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] print to pdf
On Sunday 24 June 2007 23:11, Urs Schuetz wrote: On Sun, 24 Jun 2007, Matthew R. Lee wrote: On Sunday 24 June 2007 04:36, Mick wrote: On Sunday 24 June 2007 01:13, Christian wrote: Ok, I have found the solution of my problem: emerge --unmerge ghostscript-gpl emerge ghostscript-esp That solves my problem. Maybe it helps you too. It seems that soon they will be merged: http://www.cups.org/articles.php?L463 Am Freitag, 22. Juni 2007 22:28 schrieb Matthew R. Lee: I'm having problems with printing to pdf, both with kprint system and cups-pdf. The fonts are a right mess, see attached example. Now I know one work-around is to print to postscript than do a ps2ps followed by ps2pdf, but this is a less than perfect solution, though the only one I've come across so far. Has anyone else had this problem? And if so, how did you solve it? Comments greatly received Matt Swaping ghostscript-gpl for ghostscript-esp improved the situation, at least now the pdf is readable. However the fonts are still a little ugly and I can't see any option in the cups interface under set printer options for embeding the fonts. I'm offered pdf-general, pdf-banners, pdf-policies Try to use the ghostpdf.ppd printer description with your cups-pdf printer to get the options to embed the fonts. You should have this file already on your system, on mine it is /usr/share/ghostscript/8.15/lib/ghostpdf.ppd. The steps are: Webbrowser http://localhost:631 Printers tab, search for the cups-pdf printer Modify Printer Continue Continue paste the location of your ghostpdf.ppd in the field Or Provide a PPD File:, press Modify Printer Now you can set the printer options. urs Excelente, that fixed it. Thanks alot Matt -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] print to pdf
On Sunday 24 June 2007 04:36, Mick wrote: On Sunday 24 June 2007 01:13, Christian wrote: Ok, I have found the solution of my problem: emerge --unmerge ghostscript-gpl emerge ghostscript-esp That solves my problem. Maybe it helps you too. It seems that soon they will be merged: http://www.cups.org/articles.php?L463 Am Freitag, 22. Juni 2007 22:28 schrieb Matthew R. Lee: I'm having problems with printing to pdf, both with kprint system and cups-pdf. The fonts are a right mess, see attached example. Now I know one work-around is to print to postscript than do a ps2ps followed by ps2pdf, but this is a less than perfect solution, though the only one I've come across so far. Has anyone else had this problem? And if so, how did you solve it? Comments greatly received Matt Swaping ghostscript-gpl for ghostscript-esp improved the situation, at least now the pdf is readable. However the fonts are still a little ugly and I can't see any option in the cups interface under set printer options for embeding the fonts. I'm offered pdf-general, pdf-banners, pdf-policies Matt -- %%% Dr. Matthew R. Lee CASEB ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- [EMAIL PROTECTED] mailing list