[gentoo-user] Apache upgrade to 2.4 error AH00027: Buggy authn provider failed to set user
I've just upgraded to 2.4 and am using mod_access_compat, so I can use the existing auth config in the short term. I've fixed a few things and now the daemon loads cleanly, however, when i try to get the anonymously available front page, it returns a 500 and error.log shows; [Tue Apr 03 16:13:33.595505 2012] [core:error] [pid 20896:tid 139858125358848] [client u.x.y.z:16567] AH00027: Buggy authn provider failed to set user for / At a password protected directory (there's an .htaccess) it also returns 500 and the log is; [Tue Apr 03 16:15:50.244851 2012] [core:alert] [pid 20895:tid 139858125358848] [client u.x.y.z:20702] /blah/blah/.htaccess: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration Shouldn't Require from the .htaccess file be recognised by mod_access_compat? Any ideas about the AH00027 error?
Re: [gentoo-user] Re: trouble understanding a slot conflict
On Mon, 02 Apr 2012 23:13:43 -0400, Allan Gottlieb wrote: Yes indeed I have it masked for exactly that reason. I will be going to a combined / + /usr when the semester ends. I use this machine for my lectures and assignments so prefer to break it from late may through august. I just tried masking the -r2 (and higher) pciutils. But this conflicts with a newly-required hwids-2012-0401. The later is required by a new usbutils-005-r1 This led me to mask =usbutils-005-r1. Now the proposed update world leaves portage happy, but me worried. I haven't actually done the update world. It is reasonably to have so much masking? Yes. What has happened is that the ID data has been moved out of pciutils and usbutils, so hwids blocks the older versions. If you want to stick with the older udev, you need the older pciutils and this means you need a matching version of usbutils. All this will disappear when you unmask udev, as it did for me yesterday. -- Neil Bothwick Good Enough is the death knell of progress. signature.asc Description: PGP signature
Re: [gentoo-user] Re: trouble understanding a slot conflict
Am 03.04.2012 09:53, schrieb Neil Bothwick: Yes. What has happened is that the ID data has been moved out of pciutils and usbutils, so hwids blocks the older versions. If you want to stick with the older udev, you need the older pciutils and this means you need a matching version of usbutils. All this will disappear when you unmask udev, as it did for me yesterday. It didn't for me. I did: emerge -C usbutils emerge -C pciutils emerge hwids emerge usbutils pciutils Not the most elegant approach, sure.
Re: [gentoo-user] Re: trouble understanding a slot conflict
On Tue, 03 Apr 2012 10:59:22 +0200, Stefan G. Weichinger wrote: Yes. What has happened is that the ID data has been moved out of pciutils and usbutils, so hwids blocks the older versions. If you want to stick with the older udev, you need the older pciutils and this means you need a matching version of usbutils. All this will disappear when you unmask udev, as it did for me yesterday. It didn't for me. Now I think about it, I'd already forced the update to the latest pciutils, then hit the reverse problem, udev wanting to downgrade. That's what fixed itself when I unmasked udev-18*. -- Neil Bothwick How is it one careless match can start a forest fire, but it takes a whole box to start a campfire? signature.asc Description: PGP signature
Re: [gentoo-user] Nginx with PHP-FPM
Hello, nginx list dialog: On Tue, 3 Apr 2012 04:02:14 -0400 (EDT) locojohn nginx-fo...@nginx.us wrote: mkdir -p /var/run/fastcgi/php-fpm.sock php-fpm.conf: ;listen = 127.0.0.1:9000 ;listen.allowed_clients = 127.0.0.1 listen = /var/run/fastcgi/php-fpm.sock listen.owner = nginx listen.group = nginx nginx.conf: location \.php$ { include fastcgi_params; fastcgi_pass unix:/var/run/fastcgi/php-fpm.sock; } Thx for advice. But will not run. When i start nginx it come only gentoo-desk ~ # /etc/init.d/nginx start * Checking nginx' configuration ... nginx: [emerg] invalid host in upstream /var/run/fastcgi/php-fpm.sock in /etc/nginx/nginx.conf:35 nginx: configuration file /etc/nginx/nginx.conf test failed nginx: [emerg] invalid host in upstream /var/run/fastcgi/php-fpm.sock in /etc/nginx/nginx.conf:35 nginx: configuration file /etc/nginx/nginx.conf test failed * failed, please correct errors above[ !! ] * ERROR: nginx failed to start error_log 2012/04/03 12:44:52 [emerg] 2062#0: invalid host in upstream /var/run/fastcgi/php-fpm.sock in /etc/nginx/nginx.conf:35 2012/04/03 12:44:52 [emerg] 2063#0: invalid host in upstream /var/run/fastcgi/php-fpm.sock in /etc/nginx/nginx.conf:35 2012/04/03 12:45:02 [emerg] 2073#0: invalid host in upstream /var/run/fastcgi/php-fpm.sock in /etc/nginx/nginx.conf:35 2012/04/03 12:45:02 [emerg] 2074#0: invalid host in upstream /var/run/fastcgi/php-fpm.sock in /etc/nginx/nginx.conf:35 /error_log Mmh can it be that nginx and / or php not right build with emerge? Regards Silvio
[gentoo-user] Re: Advice about ati-drivers? [50% SOLVED]
On 03/04/12 03:16, Michael Hampicke wrote: However, now that the firmware loading problem is fixed, my screen still goes black on bootup. But now it's instantaneous instead of 60 seconds delayed :( I'm back to functioning vesa mode if I boot with radeon.memset=0, but that's not really my goal...yet :p Last time I reinstalled gentoo, I tried kms too (with my Radeon HD2600 card). And I had lots of problems with it - in combination with ati-drivers fglrx module (blank on boot, freeze while starting X, generell crashes and kernel panics, low performence...,...). So I finally decided not to use kms disable everything related to kms. Since then everything is running smoothly. Two weeks ago, I purchased an new video card (Radeon HD7770) and gave kms another shot. And again, everything went down the crapper. So disabled it. I can live without it for the time being. But still, I would be interested in the why?. You cannot use two drivers at once. Either use the kernel driver (which does KMS), or ati-drivers. You cannot mix drivers. Not in Linux, and not in any other OS I'm aware of.
Re: [gentoo-user] InitRAMFS - boot expert sought
On Thu, 29 Mar 2012 04:43:16 -0400 Allan Gottlieb gottl...@nyu.edu wrote: I forgot one of the commands alan wanted to see. Here it is. allan I really did want to look at this thoroughly for you, but I've been flat on my back with some illness or other for a few days. Do you still need my eyeballs on this problem? ajglap gottlieb # fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x4f809fec Device Boot Start End Blocks Id System /dev/sda1 63 80324 40131 de Dell Utility /dev/sda2 * 819203080191915367 HPFS/NTFS/exFAT /dev/sda330801920 11466751941932800 7 HPFS/NTFS/exFAT /dev/sda4 114667520 976768064 431050272+ 5 Extended /dev/sda5 114667583 125162414 5247416 83 Linux /dev/sda6 125162478 146143304 10490413+ 82 Linux swap / Solaris /dev/sda7 146143368 355871879 104864256 8e Linux LVM /dev/sda8 355873928 46073152752428800 83 Linux Disk /dev/mapper/vg-usr: 21.5 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mapper/vg-usr doesn't contain a valid partition table Disk /dev/mapper/vg-local: 10.7 GB, 10737418240 bytes 255 heads, 63 sectors/track, 1305 cylinders, total 20971520 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mapper/vg-local doesn't contain a valid partition table Disk /dev/mapper/vg-var: 16.1 GB, 16106127360 bytes 255 heads, 63 sectors/track, 1958 cylinders, total 31457280 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mapper/vg-var doesn't contain a valid partition table Disk /dev/mapper/vg-tmp: 5368 MB, 5368709120 bytes 255 heads, 63 sectors/track, 652 cylinders, total 10485760 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mapper/vg-tmp doesn't contain a valid partition table Disk /dev/mapper/vg-opt: 5368 MB, 5368709120 bytes 255 heads, 63 sectors/track, 652 cylinders, total 10485760 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mapper/vg-opt doesn't contain a valid partition table Disk /dev/mapper/vg-a: 37.6 GB, 37580963840 bytes 255 heads, 63 sectors/track, 4568 cylinders, total 73400320 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mapper/vg-a doesn't contain a valid partition table -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
On 4/2/2012 11:12 PM, Dale wrote: Canek Peláez Valdés wrote: Actually, the initramfs finished without a single error: between [1.962007] dracut: + source_conf /etc/conf.d and [2.395576] dracut: Switching root there is not a single error. The initramfs did what it needed to do; the user space failed *after* initramfs switched root. Did you recreated the initramfs after the kernel recompilation? 1st rule of non-trivial initramfs: you need to recreate it everytime you change kernels. Which partition is the LVM one? /home or /data? Either way, either partition should not matter to boot the system correctly. We need to see the errors *after* the initramfs switched root; maybe you can delete /var/log/messages, reboot, and post it? Regards. So the init thingy is going to print all that stuff each time? Or is that the debug stuff you had me add to the grub line? Please say it is so. It's one reason I checked my email. I was counting and realized the debug stuff that was added may haver done all that. Taking a deep breath helped tho. ;-) I still want my hands on that neck tho. lol It was the debug stuff; every line that look like dracut: + stuff here was debugging information; AFAICT dracut mounted /dev/sda3 as root then it mounted the two other partitions it found. But this could be a problem (from your other email): root@fireball / # dracut -H -f /boot/init-thingy E: Dracut module lvm cannot be found. E: Dracut module lvm cannot be found. dracut couldn't find it's lvm module, even though your USE flags are set correctly. Can you try re-emerging dracut with its current USE flags? You should have a folder in /usr/lib/dracut/modules named 'lvm' that has a 'module-setup.sh' script in it, plus probably some other support files, if everything got installed correctly. --Mike
Re: [gentoo-user] InitRAMFS - boot expert sought
On Tue, Apr 03 2012, Alan McKinnon wrote: On Thu, 29 Mar 2012 04:43:16 -0400 Allan Gottlieb gottl...@nyu.edu wrote: I forgot one of the commands alan wanted to see. Here it is. allan I really did want to look at this thoroughly for you, but I've been flat on my back with some illness or other for a few days. Do you still need my eyeballs on this problem? First and most important. Get well soon. I am fairly confident that it is a safe policy either with new partitions or new pv added to my vg and then pvmove. So you should save your efforts to more important tasks, first on that list is getting better. Sincerely, allan gottlieb
Re: [gentoo-user] Re: trouble understanding a slot conflict
On Tue, Apr 03 2012, Neil Bothwick wrote: On Mon, 02 Apr 2012 23:13:43 -0400, Allan Gottlieb wrote: Yes indeed I have it masked for exactly that reason. I will be going to a combined / + /usr when the semester ends. I use this machine for my lectures and assignments so prefer to break it from late may through august. I just tried masking the -r2 (and higher) pciutils. But this conflicts with a newly-required hwids-2012-0401. The later is required by a new usbutils-005-r1 This led me to mask =usbutils-005-r1. Now the proposed update world leaves portage happy, but me worried. I haven't actually done the update world. It is reasonably to have so much masking? Yes. What has happened is that the ID data has been moved out of pciutils and usbutils, so hwids blocks the older versions. If you want to stick with the older udev, you need the older pciutils and this means you need a matching version of usbutils. All this will disappear when you unmask udev, as it did for me yesterday. Thank you. allan gottlieb
Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
Mike Edenfield wrote: It was the debug stuff; every line that look like dracut: + stuff here was debugging information; AFAICT dracut mounted /dev/sda3 as root then it mounted the two other partitions it found. But this could be a problem (from your other email): root@fireball / # dracut -H -f /boot/init-thingy E: Dracut module lvm cannot be found. E: Dracut module lvm cannot be found. dracut couldn't find it's lvm module, even though your USE flags are set correctly. Can you try re-emerging dracut with its current USE flags? You should have a folder in /usr/lib/dracut/modules named 'lvm' that has a 'module-setup.sh' script in it, plus probably some other support files, if everything got installed correctly. --Mike I have re-emerged dracut several times and it still gives the same error. I even tried changing versions once to see if it was a bug or something. I found others with errors for other modules but no one posted a fix. It's a head scratcher for sure. Since lvm is not needed for booting YET, I think my main problem is the kernel and lvm. Now, even if I boot with the old kernel and no init thingy, I have to restart lvm before it will let me mount my /data partition. I think when I added the needed stuff for dracut and the init thingy, it messed up something for lvm. I can't put my finger on what yet tho. The directory you mentions is there and there is all sorts of goodies in there. I'm not sure why dracut is not finding it. I'm gonna be gone for a while but will be back as soon as I can. I got to take a friend to court. :-( Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
Re: [gentoo-user] Re: Advice about ati-drivers? [50% SOLVED]
Am 03.04.2012 13:28, schrieb Nikos Chantziaras: On 03/04/12 03:16, Michael Hampicke wrote: However, now that the firmware loading problem is fixed, my screen still goes black on bootup. But now it's instantaneous instead of 60 seconds delayed :( I'm back to functioning vesa mode if I boot with radeon.memset=0, but that's not really my goal...yet :p Last time I reinstalled gentoo, I tried kms too (with my Radeon HD2600 card). And I had lots of problems with it - in combination with ati-drivers fglrx module (blank on boot, freeze while starting X, generell crashes and kernel panics, low performence...,...). So I finally decided not to use kms disable everything related to kms. Since then everything is running smoothly. Two weeks ago, I purchased an new video card (Radeon HD7770) and gave kms another shot. And again, everything went down the crapper. So disabled it. I can live without it for the time being. But still, I would be interested in the why?. You cannot use two drivers at once. Either use the kernel driver (which does KMS), or ati-drivers. You cannot mix drivers. Not in Linux, and not in any other OS I'm aware of. Seems like there have been some changes on that subject in time. Keep in mind, up until a few months ago I was running Windows7 on my workstation. I'm not new to linux, as I've been using linux on servers since a very long time, but the whole X stuff is kinda new for me. In the past I always experimented with linux in dual boot, and I vaguely recall that there were (or are?) different kinds of video drivers on linux. You had the drivers provided by the kernel, the drivers of Xorg - like xf86-video-ati - and third party drivers like ati-drivers fglrx. And now there's kms too, which I understand is not a driver, but a means for the kernel to setup the driver itself (resolution, color depth). So, if I now use the kernels radeon driver, i could use kms, but cannot use xf86-video-ati or fglrx, if I use xf86-video-ati or fglrx, I cannot use kms? It would be great if someone could link me to some reading material on that subject. Something that explains, the difference between kernel video drivers, framebuffer console, Xorg video drivers and 3rd party drivers.
[gentoo-user] libblas question (a propos digikam)
hello list, on my ~amd64 system, digikam (2.5.0) now fails to start with: digikam: error while loading shared libraries: libblas.so.0: cannot open shared object file: No such file or directory searching for libblas, i found these two orphaned files, not belonging to any installed package: /usr/lib64/libblas.a /usr/lib64/libblas.so (no libblas.so.0) libblas.so is a dead link to a non-existent blas/reference/libblas.so the same with libblas.a i have sci-libs/blas-reference and virtual/blas installed, but i really don't understand how they work. i googled for this problem, and searched bugs.gentoo.org also, but i couldn't find anything that could help me understand and solve the problem. now i can't rebuild digikam-2.5.0 that i have installed, and older versions fail also. any ideas? TIA, lj
Re: [gentoo-user] Re: Advice about ati-drivers? [50% SOLVED]
On Tue, Apr 3, 2012 at 9:54 AM, Michael Hampicke gentoo-u...@hadt.biz wrote: Am 03.04.2012 13:28, schrieb Nikos Chantziaras: On 03/04/12 03:16, Michael Hampicke wrote: However, now that the firmware loading problem is fixed, my screen still goes black on bootup. But now it's instantaneous instead of 60 seconds delayed :( I'm back to functioning vesa mode if I boot with radeon.memset=0, but that's not really my goal...yet :p Last time I reinstalled gentoo, I tried kms too (with my Radeon HD2600 card). And I had lots of problems with it - in combination with ati-drivers fglrx module (blank on boot, freeze while starting X, generell crashes and kernel panics, low performence...,...). So I finally decided not to use kms disable everything related to kms. Since then everything is running smoothly. Two weeks ago, I purchased an new video card (Radeon HD7770) and gave kms another shot. And again, everything went down the crapper. So disabled it. I can live without it for the time being. But still, I would be interested in the why?. You cannot use two drivers at once. Either use the kernel driver (which does KMS), or ati-drivers. You cannot mix drivers. Not in Linux, and not in any other OS I'm aware of. Seems like there have been some changes on that subject in time. Keep in mind, up until a few months ago I was running Windows7 on my workstation. I'm not new to linux, as I've been using linux on servers since a very long time, but the whole X stuff is kinda new for me. In the past I always experimented with linux in dual boot, and I vaguely recall that there were (or are?) different kinds of video drivers on linux. You had the drivers provided by the kernel, the drivers of Xorg - like xf86-video-ati - and third party drivers like ati-drivers fglrx. And now there's kms too, which I understand is not a driver, but a means for the kernel to setup the driver itself (resolution, color depth). So, if I now use the kernels radeon driver, i could use kms, but cannot use xf86-video-ati or fglrx, if I use xf86-video-ati or fglrx, I cannot use kms? It would be great if someone could link me to some reading material on that subject. Something that explains, the difference between kernel video drivers, framebuffer console, Xorg video drivers and 3rd party drivers. Just noticed this, and thought of you and this thread: https://www.osadl.org/Single-View.111+M5afc75f7e68.0.html Also, if you really want to be able to dig in and do interesting things without the aid of GNOME, KDE or XFCE, I highly recommend X Power Tools. The book predates KMS, but then so will anything resembling a thorough treatment. http://shop.oreilly.com/product/9780596101954.do But a quick rundown regarding the difference between kernel video drivers, framebuffer, Xorg and 3rd-party drivers: There are two halves to the story. The kernel and userland. Both sides have their own halves of drivers for whatever functionality you need. Kernel: 1) Console drivers. These typically access the video adapter's built-in text display mode. They don't provide for graphics outside the glyphs built into the video cards. These are typically *incredibly* fast for text-mode usage, in comparison to framebuffer drivers. Enough that if you don't silence build output, you can measure differences in compile times of a large program that come from the compiler waiting to flush its stdout stream buffer. 2) Framebuffer drivers. These are simple drivers taking advantage of basic raster graphics capabilities in the video adapter. The kernel framebuffer drivers treat the display as a giant image, and draw text glyphs and other graphics onto them. 3) Direct Rendering Management (DRM) drivers. These have traditionally been how X has been allowed low-level access to 3D graphics accelerators. (I'm simplifying here a bit). The DRM subsystem has undergone at least two major revisions. It's also specific to Linux, and isn't available (AFAIK) on other systems which can run X. DRM in this context has nothing to do with 'Digital Rights Management'. 4) Kernel Mode Setting (KMS). Historically, once X launched, X used its own hardware drivers (unless you had it talk to a kernel framebuffer driver) to talk to video devices. Once X started, the kernel gave control over graphics hardware to X, and depended on X to hand it back if you wanted to switch to a virtual terminal for a plain console. That meant that if X crashed, your video setup was left pretty much in complete disarray, and you had to use a SysRq sequence to get it back. (I swear, I'll need to add that to my email signature before I'll remember it...) KMS is supposed to keep that responsibility with the kernel, with the kernel telling the video adapter which display modes to use. 3rd-party drivers from AMD and NVidia have generally hung out in the DRM area. I don't know if either AMD or NVidia have been adding support for KMS to their drivers. And that's just the
Re: [gentoo-user] tracking IT work
Am 20.03.2012 18:47, schrieb Stefan G. Weichinger: hamster-windows[25671] general protection ip:7f69819dfa5f sp:7fff9adcf3d8 error:0 in libc-2.14.1.so[7f69818c7000+181000] I couldn't find matching bugs in their project-bugzilla. Could it be that my libc.so is too new? Does anyone of you run that stuff? update on this: on my ~am64 thinkpad it works ... on my ~amd64 desktop it does not work. I even tried a new user, still no hamster-overview in Gnome3. recompiling piles of stuff already ;-)
Re: [gentoo-user] libblas question (a propos digikam)
On 04/03/2012 05:27:45 PM, luis jure wrote: hello list, on my ~amd64 system, digikam (2.5.0) now fails to start with: digikam: error while loading shared libraries: libblas.so.0: cannot open shared object file: No such file or directory searching for libblas, i found these two orphaned files, not belonging to any installed package: /usr/lib64/libblas.a /usr/lib64/libblas.so (no libblas.so.0) libblas.so is a dead link to a non-existent blas/reference/libblas.so the same with libblas.a i have sci-libs/blas-reference and virtual/blas installed, but i really don't understand how they work. i googled for this problem, and searched bugs.gentoo.org also, but i couldn't find anything that could help me understand and solve the problem. now i can't rebuild digikam-2.5.0 that i have installed, and older versions fail also. any ideas? you can check with eselect blas list if the right (installed) package is in use. Helmut.
Re: [gentoo-user] Re: Advice about ati-drivers? [50% SOLVED]
Am 03.04.2012 17:37, schrieb Michael Mol: On Tue, Apr 3, 2012 at 9:54 AM, Michael Hampicke gentoo-u...@hadt.biz wrote: Am 03.04.2012 13:28, schrieb Nikos Chantziaras: On 03/04/12 03:16, Michael Hampicke wrote: However, now that the firmware loading problem is fixed, my screen still goes black on bootup. But now it's instantaneous instead of 60 seconds delayed :( I'm back to functioning vesa mode if I boot with radeon.memset=0, but that's not really my goal...yet :p Last time I reinstalled gentoo, I tried kms too (with my Radeon HD2600 card). And I had lots of problems with it - in combination with ati-drivers fglrx module (blank on boot, freeze while starting X, generell crashes and kernel panics, low performence...,...). So I finally decided not to use kms disable everything related to kms. Since then everything is running smoothly. Two weeks ago, I purchased an new video card (Radeon HD7770) and gave kms another shot. And again, everything went down the crapper. So disabled it. I can live without it for the time being. But still, I would be interested in the why?. You cannot use two drivers at once. Either use the kernel driver (which does KMS), or ati-drivers. You cannot mix drivers. Not in Linux, and not in any other OS I'm aware of. Seems like there have been some changes on that subject in time. Keep in mind, up until a few months ago I was running Windows7 on my workstation. I'm not new to linux, as I've been using linux on servers since a very long time, but the whole X stuff is kinda new for me. In the past I always experimented with linux in dual boot, and I vaguely recall that there were (or are?) different kinds of video drivers on linux. You had the drivers provided by the kernel, the drivers of Xorg - like xf86-video-ati - and third party drivers like ati-drivers fglrx. And now there's kms too, which I understand is not a driver, but a means for the kernel to setup the driver itself (resolution, color depth). So, if I now use the kernels radeon driver, i could use kms, but cannot use xf86-video-ati or fglrx, if I use xf86-video-ati or fglrx, I cannot use kms? It would be great if someone could link me to some reading material on that subject. Something that explains, the difference between kernel video drivers, framebuffer console, Xorg video drivers and 3rd party drivers. Just noticed this, and thought of you and this thread: https://www.osadl.org/Single-View.111+M5afc75f7e68.0.html Also, if you really want to be able to dig in and do interesting things without the aid of GNOME, KDE or XFCE, I highly recommend X Power Tools. The book predates KMS, but then so will anything resembling a thorough treatment. http://shop.oreilly.com/product/9780596101954.do But a quick rundown regarding the difference between kernel video drivers, framebuffer, Xorg and 3rd-party drivers: There are two halves to the story. The kernel and userland. Both sides have their own halves of drivers for whatever functionality you need. Kernel: 1) Console drivers. These typically access the video adapter's built-in text display mode. They don't provide for graphics outside the glyphs built into the video cards. These are typically *incredibly* fast for text-mode usage, in comparison to framebuffer drivers. Enough that if you don't silence build output, you can measure differences in compile times of a large program that come from the compiler waiting to flush its stdout stream buffer. 2) Framebuffer drivers. These are simple drivers taking advantage of basic raster graphics capabilities in the video adapter. The kernel framebuffer drivers treat the display as a giant image, and draw text glyphs and other graphics onto them. 3) Direct Rendering Management (DRM) drivers. These have traditionally been how X has been allowed low-level access to 3D graphics accelerators. (I'm simplifying here a bit). The DRM subsystem has undergone at least two major revisions. It's also specific to Linux, and isn't available (AFAIK) on other systems which can run X. DRM in this context has nothing to do with 'Digital Rights Management'. 4) Kernel Mode Setting (KMS). Historically, once X launched, X used its own hardware drivers (unless you had it talk to a kernel framebuffer driver) to talk to video devices. Once X started, the kernel gave control over graphics hardware to X, and depended on X to hand it back if you wanted to switch to a virtual terminal for a plain console. That meant that if X crashed, your video setup was left pretty much in complete disarray, and you had to use a SysRq sequence to get it back. (I swear, I'll need to add that to my email signature before I'll remember it...) KMS is supposed to keep that responsibility with the kernel, with the kernel telling the video adapter which display modes to use. 3rd-party drivers from AMD and NVidia have generally hung out in the DRM area. I don't know
[gentoo-user] MTS player
Hello, My new Sony camcorder produces MTS and CPI video output files. So far I have found that Dragon Player works OK replaying the files. I just notices that there is mplayer and mplayer2; not sure what the differences are between the two. mplayer2 failed to compile; so now it's off to debug that failure, as I'm assuming that mplayer2 is better than mplayer What I do is copy the files from the embedded flash memory onto my gentoo drives and them play them natively and store video for the long term. What gentoo software do other folks use to replay and organize your HD video files? Any discussion or recommendations is welcome. James
Re: [gentoo-user] MTS player
On Tue, Apr 3, 2012 at 1:09 PM, James wirel...@tampabay.rr.com wrote: Hello, My new Sony camcorder produces MTS and CPI video output files. So far I have found that Dragon Player works OK replaying the files. I just notices that there is mplayer and mplayer2; not sure what the differences are between the two. mplayer2 failed to compile; so now it's off to debug that failure, as I'm assuming that mplayer2 is better than mplayer mplayer2 is a fork of mplayer. I use mplayer2 (instead of mplayer) because it has better stream seeking behavior for my use cases. I don't remember what all the differences are, though. Both are actively-maintained projects. -- :wq
Re: [gentoo-user] sys-boot/plymouth could not work
On Tue, Apr 3, 2012 at 12:43 AM, 张春江 zhangchunjian...@126.com wrote: Does anybody in the list have used plymouth. I do, but I also use systemd. And GRUB2. I installed and configured plymouth as http://dev.gentoo.org/~aidecoe/doc/en/plymouth.xml told. my grub.conf is title Gentoo Linux root (hd0,13) kernel /boot/kernel-3.2.1-gentoo-r2 root=/dev/sda10 video=radeon:1366x768 quiet splash initrd /boot/initramfs-3.2.1-gentoo-r2.img Seems correct. While I rebooting my machine, it shows [plymouth] could not create /run/plymouth and there is no splash. Then I created /run/plymouth directory in the initrd file system manually, but it seems that this doesn't change anything. And then I created /run/plymouth in my root file system, while this time system shows plymouthd could not start boot splash: No such file or directory. The /run directory should be created when installing dbus; it's a tmpfs: # mount | grep /run tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755) And then it's bind-mounted in /var/run. At least that's how it happens with systemd, and that's the expected behaviour. Did you created your initramfs with dracut? I checked my Ubuntu virtual machine, which plymouth works well, there is no /run/plymouth directory in initram file system or real root file system. My initramfs doesn't have a /run directory either: # mkdir kk # cd kk # zcat /boot/initrd-3.2.12 | cpio -i 21514 blocks # ls bin dev etc init lib lib64 proc root run sbin shutdown sys sysroot tmp usr var However, inside /var, there is a symbolic link to /run: # ls -l var total 4 lrwxrwxrwx 1 root root9 Apr 3 12:15 lock - /run/lock drwxr-xr-x 2 root root 4096 Apr 3 12:15 log lrwxrwxrwx 1 root root4 Apr 3 12:15 run - /run So the problem it's not the existance (or not) of the run directory, I believe; it's the fact that it's mounted really early in the boot process as a tmpfs. So, did you use dracut to generate your initramfs, or did you use genkernel? Or you did it by hand? Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
On Tue, Apr 3, 2012 at 8:21 AM, Dale rdalek1...@gmail.com wrote: Mike Edenfield wrote: It was the debug stuff; every line that look like dracut: + stuff here was debugging information; AFAICT dracut mounted /dev/sda3 as root then it mounted the two other partitions it found. But this could be a problem (from your other email): root@fireball / # dracut -H -f /boot/init-thingy E: Dracut module lvm cannot be found. E: Dracut module lvm cannot be found. dracut couldn't find it's lvm module, even though your USE flags are set correctly. Can you try re-emerging dracut with its current USE flags? You should have a folder in /usr/lib/dracut/modules named 'lvm' that has a 'module-setup.sh' script in it, plus probably some other support files, if everything got installed correctly. --Mike I have re-emerged dracut several times and it still gives the same error. I even tried changing versions once to see if it was a bug or something. I found others with errors for other modules but no one posted a fix. It's a head scratcher for sure. Since lvm is not needed for booting YET, I think my main problem is the kernel and lvm. Now, even if I boot with the old kernel and no init thingy, I have to restart lvm before it will let me mount my /data partition. I think when I added the needed stuff for dracut and the init thingy, it messed up something for lvm. I can't put my finger on what yet tho. The directory you mentions is there and there is all sorts of goodies in there. I'm not sure why dracut is not finding it. I do. I don't use LVM, so i didn't had neither USE=device-mapper, nor DRACUT_MODULES=lvm, so I add them. Then I tried to create my initramfs with LVM, and like in your case, it failed. Using the --debug option for dracut, it *seems* (it's really verbose and I didn't read everything), it seems that it doesn't find the lvm module not because it's not there, but because I actually don't have any LVM volumes. So I removed the -H option for dracut to stop looking at my host status, and lo and behold, it included the LVM module. So please, try that. If it works, then there is two options: 1. Dracut has a bug that stops it from detecting your host LVM status; maybe it only checks the important or standard partitions, or maybe the checking process itself has a bug. 2. Your LVM configuration (while it works) it's not canonically detectable. Either case, please try re-creating your dracut initramfs without the -H option. I think that's the last problem (the other problem was that you got scared with the humongous debug output that dracut generates with dr.debug), and so we can then finally put this case to rest. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] Apache upgrade to 2.4 error AH00027: Buggy authn provider failed to set user
On Tue, Apr 3, 2012 at 1:40 AM, Adam Carter adamcart...@gmail.com wrote: I've just upgraded to 2.4 and am using mod_access_compat, so I can use the existing auth config in the short term. I've fixed a few things and now the daemon loads cleanly, however, when i try to get the anonymously available front page, it returns a 500 and error.log shows; [Tue Apr 03 16:13:33.595505 2012] [core:error] [pid 20896:tid 139858125358848] [client u.x.y.z:16567] AH00027: Buggy authn provider failed to set user for / At a password protected directory (there's an .htaccess) it also returns 500 and the log is; [Tue Apr 03 16:15:50.244851 2012] [core:alert] [pid 20895:tid 139858125358848] [client u.x.y.z:20702] /blah/blah/.htaccess: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration Shouldn't Require from the .htaccess file be recognised by mod_access_compat? Any ideas about the AH00027 error? Possibly related? https://issues.apache.org/bugzilla/show_bug.cgi?id=52950
[gentoo-user] Re: MTS player
Michael Mol mikemol at gmail.com writes: My new Sony camcorder produces MTS and CPI video output files. mplayer2 is a fork of mplayer. I use mplayer2 (instead of mplayer) because it has better stream seeking behavior for my use cases. I don't remember what all the differences are, though. OK I'll check out mplayer2. On another note, I have always transferred files form the sony camcorders to my linux systems, via cp or scp, without issues. Now, the new sony (HDR-PJ760V) is giving me troubles. I plugged the usb on the sony camcorder into my gentoo system. The usb was auto discovered. I am able to use Dragon player to watch the individual files, such as 1.MTS via Dragon player and the camcorder being mounted (96 G of flash). Ok so I was then initially able to use cp to copy the files off onto the gentoo hard drive. After I did a few this way, the mount point now drops almost immediately. I can re-discover the sony camcorder and automount via the file-manager. I can see the files and play them one at a time via Dragon Player. But, when I go to copy them with: cp *.MTS /usr/local/video/jeff/basketball/TR or cp 0.MTS /usr/local/video/jeff/basketball/TR I get Erno 5 as the mount is lost evey time now. The mount drops. I never had this problem before, but it is a different camera. What really has me stumped is it worked for a while for a few files, now it drops the mount every time. I even power cycled the camcorder, to no avail. Any ideas? Sony evil? ideas? James
Re: [gentoo-user] Anyone Else Ping-Ponging with fltk?
fltk-1.3 will handle what fltk-2.0 handled, unless you have some very hard-coded software. -- Walter Dnes waltd...@waltdnes.org Thanks Walter for the description of what the real problem is here. from update -p world console o/p: ... [ebuild NS] x11-libs/fltk-1.3.0 [2.0_pre6970-r1] USE=threads -cairo -debug -doc -examples -games -opengl -pdf -xft -xinerama 0 kB ... Now portage is repeating itself. This is what I saw last update last week. Getting big yawns on irc #gentoo. Does this mean nobody knows or nobody cares what's going on? Or is there a third alternative I haven't considered? MW
[gentoo-user] anybody have math extension working on mediawiki-1.18.2?
Hi, all, I have just upgraded mediawiki from 1.16.5 to 1.18.2. Everything works well except the math extension. When I try to display a page with math on it, I get the following error message: Failed to parse (PNG conversion failed; check for correct installation of latex and dvipng (or dvips + gs + convert)): I've gone through the recommendations in http://www.mediawiki.org/wiki/Manual:Enable_TeX and http://www.mediawiki.org/wiki/Manual:Troubleshooting_math_display_errors without any success. Dvips, gs, and convert are all installed with permissions that enable the apache user to execute them, latex is installed (via texlive), and I even threw in the mathtex package, thinking that it sounded as if it must be useful without knowing whether it is actually used. Anybody have this working? Care to share how you did it, or suggest debugging techniques? Thanks, John Blinka
[gentoo-user] Re: MTS player
James wireless at tampabay.rr.com writes: My new Sony camcorder produces MTS and CPI video output files. I get Erno 5 as the mount is lost evey time now. The mount drops. Update: ok this camcorder uses exFAT file system. Could that be the problem? Workaround for copying the files off of the camcorder flash onto my Gentoo harddrive (reiserfs currently)? James
[gentoo-user] *Simple* guide to implementing digest-auth combined with IP based whitelist?
I've never had a need to protect a site like this so am totally new to it... I've been reading, and everything says that digest-auth is preferred to basic-http-auth (yes, I know that this isn't a very sophisticated level of protection, but it is all we need for this site), but is there also a way to whitelist certain static IP address so people on those don't get prompted for a username/password? Thanks for any pointers to tfm...
Re: [gentoo-user] Anyone Else Ping-Ponging with fltk?
* Maxim Wexler maxim.wex...@gmail.com [120403 14:55]: fltk-1.3 will handle what fltk-2.0 handled, unless you have some very hard-coded software. -- Walter Dnes waltd...@waltdnes.org Thanks Walter for the description of what the real problem is here. from update -p world console o/p: ... [ebuild NS] x11-libs/fltk-1.3.0 [2.0_pre6970-r1] USE=threads -cairo -debug -doc -examples -games -opengl -pdf -xft -xinerama 0 kB ... Now portage is repeating itself. This is what I saw last update last week. Getting big yawns on irc #gentoo. Does this mean nobody knows or nobody cares what's going on? Or is there a third alternative I haven't considered? MW Hi Maxim, Do you need fltk-2.0_pre6970-r1? If your emerge -C it then everything should be happy with just fltk-1.3.0 (which is actually *more recent* than 2.0_pre6970-r1 according to Walter.) Regards, Todd
Re: [gentoo-user] libblas question (a propos digikam)
on 2012-04-03 at 18:02 Helmut Jarausch wrote: you can check with eselect blas list if the right (installed) package is in use. aha! funny, i had no blas selected. never had to do that before, is this new? whatever, thanks for the hint. perhaps i advanced a little i selected reference (the only blas i had installed), but now when i try to rebuild digikam, it fails thus: In file included from /var/tmp/portage/media-gfx/digikam-2.5.0/work/digikam-2.5.0/core/libs/threadimageio/pgfutils.cpp:49:0: /var/tmp/portage/media-gfx/digikam-2.5.0/work/digikam-2.5.0_build/digikam/utils/config-digikam.h:64:0: warning: PGFCodecVersionID redefined /usr/include/libpgf/PGFtypes.h:50:0: note: this is the location of the previous definition so here i am, stuck again...
Re: [gentoo-user] Apache upgrade to 2.4 error AH00027: Buggy authn provider failed to set user
On 04/03/12 02:40, Adam Carter wrote: I've just upgraded to 2.4 and am using mod_access_compat, so I can use the existing auth config in the short term. I've fixed a few things and now the daemon loads cleanly, however, when i try to get the anonymously available front page, it returns a 500 and error.log shows; [Tue Apr 03 16:13:33.595505 2012] [core:error] [pid 20896:tid 139858125358848] [client u.x.y.z:16567] AH00027: Buggy authn provider failed to set user for / At a password protected directory (there's an .htaccess) it also returns 500 and the log is; [Tue Apr 03 16:15:50.244851 2012] [core:alert] [pid 20895:tid 139858125358848] [client u.x.y.z:20702] /blah/blah/.htaccess: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration Shouldn't Require from the .htaccess file be recognised by mod_access_compat? Any ideas about the AH00027 error? https://bugs.gentoo.org/show_bug.cgi?id=410607
Re: [gentoo-user] *Simple* guide to implementing digest-auth combined with IP based whitelist?
On 04/03/12 15:06, Tanstaafl wrote: I've never had a need to protect a site like this so am totally new to it... I've been reading, and everything says that digest-auth is preferred to basic-http-auth (yes, I know that this isn't a very sophisticated level of protection, but it is all we need for this site), but is there also a way to whitelist certain static IP address so people on those don't get prompted for a username/password? Thanks for any pointers to tfm... From http://httpd.apache.org/docs/2.2/mod/core.html#satisfy, For example, if you wanted to let people on your network have unrestricted access to a portion of your website, but require that people outside of your network provide a password, you could use a configuration similar to the following: See also: http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html for the Allow from... docs.
Re: [gentoo-user] Anyone Else Ping-Ponging with fltk?
On Tue, 3 Apr 2012 12:48:59 -0600, Maxim Wexler wrote: Now portage is repeating itself. This is what I saw last update last week. Getting big yawns on irc #gentoo. Does this mean nobody knows or nobody cares what's going on? Or is there a third alternative I haven't considered? Have you removed it from your world file? -- Neil Bothwick Only an idiot actually READS taglines. signature.asc Description: PGP signature
Re: [gentoo-user] Nginx with PHP-FPM
Hello, Could someone possibly provide me the USE flags available if someone has run Nginx, PHP and Fpm. It were nice. Regards Silvio
Re: [gentoo-user] Anyone Else Ping-Ponging with fltk?
On Tue, Apr 03, 2012 at 12:48:59PM -0600, Maxim Wexler wrote from update -p world console o/p: ... [ebuild NS] x11-libs/fltk-1.3.0 [2.0_pre6970-r1] USE=threads -cairo -debug -doc -examples -games -opengl -pdf -xft -xinerama 0 kB ... Now portage is repeating itself. This is what I saw last update last week. Getting big yawns on irc #gentoo. Does this mean nobody knows or nobody cares what's going on? Or is there a third alternative I haven't considered? That's what should be happening. fltk-1.3 is newer than fltk-2.0, notwithstanding the screwy version numbering. Do the following... emerge --ask --deep --update world unmerge =x11-libs/fltk-2.0_pre6970-r1 revdep-rebuild Assuming you've done a recent emerge --sync, your next update will *NOT* attempt to pull in fltk-2.0 -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] tracking IT work
Am 03.04.2012 17:53, schrieb Stefan G. Weichinger: on my ~am64 thinkpad it works ... on my ~amd64 desktop it does not work. pragmatic approach (again): quickpkg on thinkpad, copy over, emerge -k ... works.
[gentoo-user] Re: Advice about ati-drivers? [50% SOLVED]
On 04/03/2012 04:28 AM, Nikos Chantziaras wrote: You cannot use two drivers at once. Either use the kernel driver (which does KMS), or ati-drivers. Thanks Nikos, that's the part that (apparently) the gentoo wiki doesn't emphasize enough, because my googling has found dozens of us confused gentoo Radeon users making the same mistakes over and over. (And along the way I discovered that you've been saying the same thing over and over :) Just two more comments, now that I have the ati-drivers working: First, I forgot to use eselect opengl to select the ati version instead of the xorg version. That helped a lot :p Second, although I realize now that I didn't need kernel drm support in the first place, there is definitely a bug in the drm kernel code somewhere. Even after I finally got the firmware to load properly I still got a EDID not available error in dmesg, and hence the black screen during boot. A real problem was that the EDID error was not clearly flagged as an error, so I overlooked it until I stumbled across a post from years ago in this mailing list from someone who didn't miss it. (Thanks to that person, who's name I've forgotten already.) Now that I have the ati-drivers working I, of course, am losing interest in kernel drm support and how to prod someone into fixing it. Shame on me...
Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
Canek Peláez Valdés wrote: I do. I don't use LVM, so i didn't had neither USE=device-mapper, nor DRACUT_MODULES=lvm, so I add them. Then I tried to create my initramfs with LVM, and like in your case, it failed. Using the --debug option for dracut, it *seems* (it's really verbose and I didn't read everything), it seems that it doesn't find the lvm module not because it's not there, but because I actually don't have any LVM volumes. So I removed the -H option for dracut to stop looking at my host status, and lo and behold, it included the LVM module. So please, try that. If it works, then there is two options: 1. Dracut has a bug that stops it from detecting your host LVM status; maybe it only checks the important or standard partitions, or maybe the checking process itself has a bug. 2. Your LVM configuration (while it works) it's not canonically detectable. Either case, please try re-creating your dracut initramfs without the -H option. I think that's the last problem (the other problem was that you got scared with the humongous debug output that dracut generates with dr.debug), and so we can then finally put this case to rest. Regards. Not so fast there Tex. This ain't over but the fat lady may be clearing her throat. Riddle me this Batman. I tried it without the -H. That was much better. No boo boos. But wait. This is me you know. ;-) When I boot, lvm fails to start. After it boots to a console and I login, I can restart lvm and it works fine. So, when I boot, the drive that is set up for lvm isn't working. It's not a big deal right now but it is about to be when /usr gets put on lvm. If I put /usr on lvm, Houston, we have a problem. May not boot right at all. At this point, this fails regardless of the kernel. I may try some older kernels in a bit tho. Also, it no longer matters if I use the init thingy either. It fails either way. Looks like the init thingy is working, until I break it anyway. Give me time. lol Canek, I know you don't use lvm so, anybody have any ideas? Maybe a new thread since this may not be init thingy related. Well, I rebooted and wrote down the errors then searched a bit. I found this: http://speeves.erikin.com/2012/01/root-your-box-and-mount-lvm-partitions.html So, it seems that / needs to be mounted rw so that lvm can start. How do I fix this you reckon? Doesn't the init thingy do that or is that done after the init thingy is done? sighs Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
[gentoo-user] lvm failed to start
This is an ~amd64 machine, up to date as of today. The strange thing is that lvm did *not* fail to start -- it's working perfectly. Now, being an Incorrigible Old Fart(TM) I'm still using openrc, and who knows what evil lurks in that paleolithic package? :p Anyone else getting this (false) alarm during boot?
Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
On Tue, 2012-04-03 at 19:02 -0500, Dale wrote: Canek Peláez Valdés wrote: I do. I don't use LVM, so i didn't had neither USE=device-mapper, nor DRACUT_MODULES=lvm, so I add them. Then I tried to create my initramfs with LVM, and like in your case, it failed. Using the --debug option Dale, with genkernel you have to tell it to start LVM on the kernel commandline (dolvm) which triggers a script within the initramfs - do you have to do the same thing with dracut? BillK
Re: [gentoo-user] lvm failed to start
walt wrote: This is an ~amd64 machine, up to date as of today. The strange thing is that lvm did *not* fail to start -- it's working perfectly. Now, being an Incorrigible Old Fart(TM) I'm still using openrc, and who knows what evil lurks in that paleolithic package? :p Anyone else getting this (false) alarm during boot? Well, for me its not a false alarm, sort of. Mine fails to start and then works later on or after I restart lvm, sort of iffy here. This is what mine looks like: Setting up the Logical Volume Manager . . . File-based locking initialisation failed *Failed to setup the LVM [!!] * Error: lvm failed to start After all that, it's downhill sort of. Me, I get that with or without a init thingy. I'm on Gentoo kernel 3.2.11. I'm using lvm2-2.02.95-r1. From what I found, it does this because / is mounted ro. It can't write the locking file. I thought those were in /var but . . . Also, If I restart lvm after it boots, it starts fine and all the lvm stuff shows up. Maybe this one isn't just me. o_O Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
William Kenworthy wrote: On Tue, 2012-04-03 at 19:02 -0500, Dale wrote: Canek Peláez Valdés wrote: I do. I don't use LVM, so i didn't had neither USE=device-mapper, nor DRACUT_MODULES=lvm, so I add them. Then I tried to create my initramfs with LVM, and like in your case, it failed. Using the --debug option Dale, with genkernel you have to tell it to start LVM on the kernel commandline (dolvm) which triggers a script within the initramfs - do you have to do the same thing with dracut? BillK Well, I dunno. I know how to find out tho. dale adds dolvm to his kernel line and is about to reboot If I ain't back in a few minutes, send help. . . quick. lol Also, see the other new thread. I think Walt has the same thing. BRB Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
Dale wrote: William Kenworthy wrote: On Tue, 2012-04-03 at 19:02 -0500, Dale wrote: Canek Peláez Valdés wrote: I do. I don't use LVM, so i didn't had neither USE=device-mapper, nor DRACUT_MODULES=lvm, so I add them. Then I tried to create my initramfs with LVM, and like in your case, it failed. Using the --debug option Dale, with genkernel you have to tell it to start LVM on the kernel commandline (dolvm) which triggers a script within the initramfs - do you have to do the same thing with dracut? BillK Well, I dunno. I know how to find out tho. dale adds dolvm to his kernel line and is about to reboot If I ain't back in a few minutes, send help. . . quick. lol Also, see the other new thread. I think Walt has the same thing. BRB Dale :-) :-) I'm back. I tried and it did the same. Worth a shot tho. I noticed this. It mounts / ro then tries to start lvm. Then just a few lines later, it mounts / rw. So, it appears that it needs to mount / rw then start lvm. I dunno. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
On Tue, Apr 3, 2012 at 10:12 PM, Dale rdalek1...@gmail.com wrote: Dale wrote: William Kenworthy wrote: On Tue, 2012-04-03 at 19:02 -0500, Dale wrote: Canek Peláez Valdés wrote: I do. I don't use LVM, so i didn't had neither USE=device-mapper, nor DRACUT_MODULES=lvm, so I add them. Then I tried to create my initramfs with LVM, and like in your case, it failed. Using the --debug option Dale, with genkernel you have to tell it to start LVM on the kernel commandline (dolvm) which triggers a script within the initramfs - do you have to do the same thing with dracut? BillK Well, I dunno. I know how to find out tho. dale adds dolvm to his kernel line and is about to reboot If I ain't back in a few minutes, send help. . . quick. lol Also, see the other new thread. I think Walt has the same thing. BRB Dale :-) :-) I'm back. I tried and it did the same. Worth a shot tho. I noticed this. It mounts / ro then tries to start lvm. Then just a few lines later, it mounts / rw. So, it appears that it needs to mount / rw then start lvm. I dunno. Dale, could yo please add again rd.debug to your kernel command line, boot with the initramfs, and post the output from dmesg (without you manually mounting your LVM volume)? Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] Apache upgrade to 2.4 error AH00027: Buggy authn provider failed to set user
Possibly related? https://issues.apache.org/bugzilla/show_bug.cgi?id=52950 Yep saw that, but i didnt help.
Re: [gentoo-user] Apache upgrade to 2.4 error AH00027: Buggy authn provider failed to set user
https://bugs.gentoo.org/show_bug.cgi?id=410607 I already put in all the fixes mentioned in there to get the clean start.
Re: [gentoo-user] sys-boot/plymouth could not work
On 2012-04-04 01:19:39,Canek Peláez Valdés can...@gmail.com wrote: I do, but I also use systemd. And GRUB2. I use OpenRC0.9.8.4 and GNU GRUB0.97-r10, maybe that's the difference. The /run directory should be created when installing dbus; it's a tmpfs: I have installed dbus, while I don't have a /run tmpfs. So the problem it's not the existance (or not) of the run directory, I believe; it's the fact that it's mounted really early in the boot process as a tmpfs. So, did you use dracut to generate your initramfs, or did you use genkernel? Or you did it by hand? I don't know how to mount /run before the boot process, I used dracut to generate my initramfs: # dracut -H -f I: *** Including module: dash *** I: *** Including module: i18n *** I: *** Including module: plymouth *** I: *** Including module: kernel-modules *** I: *** Including module: resume *** I: *** Including module: rootfs-block *** I: *** Including module: terminfo *** I: *** Including module: udev-rules *** I: Skipping udev rule: 50-udev.rules I: Skipping udev rule: 95-late.rules I: *** Including module: usrmount *** I: *** Including module: base *** I: *** Including module: fs-lib *** I: *** Including module: shutdown *** I: Skipping program kexec as it cannot be found and is flagged to be optional I: *** Including modules done *** I: Wrote /boot/initramfs-3.2.1-gentoo-r2.img: I: -rw-r--r-- 1 root root 2773237 Apr 4 11:52 /boot/initramfs-3.2.1-gentoo-r2.img
Re: [gentoo-user] sys-boot/plymouth could not work
On Tue, Apr 3, 2012 at 11:01 PM, 张春江 zhangchunjian...@126.com wrote: On 2012-04-04 01:19:39,Canek Peláez Valdés can...@gmail.com wrote: I do, but I also use systemd. And GRUB2. I use OpenRC0.9.8.4 and GNU GRUB0.97-r10, maybe that's the difference. The /run directory should be created when installing dbus; it's a tmpfs: I have installed dbus, while I don't have a /run tmpfs. So the problem it's not the existance (or not) of the run directory, I believe; it's the fact that it's mounted really early in the boot process as a tmpfs. So, did you use dracut to generate your initramfs, or did you use genkernel? Or you did it by hand? I don't know how to mount /run before the boot process, I used dracut to generate my initramfs: # dracut -H -f I: *** Including module: dash *** I: *** Including module: i18n *** I: *** Including module: plymouth *** I: *** Including module: kernel-modules *** I: *** Including module: resume *** I: *** Including module: rootfs-block *** I: *** Including module: terminfo *** I: *** Including module: udev-rules *** I: Skipping udev rule: 50-udev.rules I: Skipping udev rule: 95-late.rules I: *** Including module: usrmount *** I: *** Including module: base *** I: *** Including module: fs-lib *** I: *** Including module: shutdown *** I: Skipping program kexec as it cannot be found and is flagged to be optional I: *** Including modules done *** I: Wrote /boot/initramfs-3.2.1-gentoo-r2.img: I: -rw-r--r-- 1 root root 2773237 Apr 4 11:52 /boot/initramfs-3.2.1-gentoo-r2.img Please add rd.debug to your grub kernel command line: title Gentoo Linux root (hd0,13) kernel /boot/kernel-3.2.1-gentoo-r2 root=/dev/sda10 video=radeon:1366x768 quiet splash rd.debug initrd /boot/initramfs-3.2.1-gentoo-r2.img Reboot, and immediately do dmesg output.txt Please post the contents of output.txt. We need to know what exactly is failing with the initramfs. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México