Re: [gentoo-user] OT: Filesystem permissions
On Friday 04 July 2008, Florian Philipp wrote: Hmm, good point. I will monitor the situation. If there are any occurrences of wrong permissions, I think it will be sufficient to make an if-clause before setting the umask but maybe it proves unneccessary. I think what you really want in this case is to set the umask to 0007 for human users and leave it as is for system users. You could either check for UID 1000 in /etc/profile, or explicitly add the umask setting to each existing user's .bashrc. Also add it to /etc/skel to enable it for any new users in the future. Which is starting to get more complex than a simple acl :-) Experience has taught me that these general principles apply to Unix permissions pretty much always: - the normal /user/group/rwx scheme works just fine 99% of the time - 1% of the time you have an unusual need that the above doesn't cater for, but a simple unobtrusive acl does. These cases are usually obvious. - if you are using acl's a lot, there's probably something wrong with your permission scheme -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: segfaults with php and cacti
Matt Harrison iwasinnamuknow at genestate.com writes: The problem is, trying to access the cacti interface through a browser causes a segfault with php. I've also tried running the index.php from the CLI and it still segfaults. You may want to try JFFNMS in lieu of Cacti? http://www.gentoo.org/doc/en/jffnms.xml http://www.jffnms.org/ There is a very good/active support group too. hth, James -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Grub on a new disk
On Thu, 3 Jul 2008 17:48:38 +0200 Florian Philipp [EMAIL PROTECTED] wrote: Hi! I've recently moved /boot from /dev/hda to /dev/hdd. Then I've installed grub with for i in /dev/hd{a,b,d}; do grub-install --recheck $i; done Now the system boots correctly but it takes ages (10sec) to come from Grub loading Stage1.5 to Grub loading, please wait... and then another 10sec or more to open the menu. I think I had this problem a long time ago but I can't remember the solution. Can anyone help? Thanks in advance! Florian Philipp By the way: I noticed that the HDD-LED is constantly on while Grub is loading. signature.asc Description: PGP signature
[gentoo-user] Anybody using a JavaStation (krupps) with gentoo?
Hi, I have this working but can't get a 2.6 (gentoo-sources) kernel to boot. Help from anybody who has this working would be greatly appreciated. Regards, Konstantin -- Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: [EMAIL PROTECTED] Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185 Captain, this ship will not survive the forming of the cosmos. B'Elana Torres -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Grub on a new disk
On Saturday 05 July 2008, Florian Philipp wrote: On Thu, 3 Jul 2008 17:48:38 +0200 Florian Philipp [EMAIL PROTECTED] wrote: Hi! I've recently moved /boot from /dev/hda to /dev/hdd. Then I've installed grub with for i in /dev/hd{a,b,d}; do grub-install --recheck $i; done Now the system boots correctly but it takes ages (10sec) to come from Grub loading Stage1.5 to Grub loading, please wait... and then another 10sec or more to open the menu. I think I had this problem a long time ago but I can't remember the solution. Can anyone help? Thanks in advance! Florian Philipp By the way: I noticed that the HDD-LED is constantly on while Grub is loading. As far as I can understand the problem arises because you have installed grub everywhere. When your BIOS kicks in it goes to the first disk's MBR, reads the GRUB boot code, which starts probing each and every device where a GRUB file system exists. Perhaps it also checks each MBR? Eventually it arrives at /dev/hdd and GRUB loads up its boot menu. You can tweak the /boot/grub/device.map file to change the order of the devices and bring up /dev/hdd sooner. Alternatively and probably easier would be to change the boot order of your drives in your BIOS menu. Since you have installed GRUB in each drive's MBR you should be able to boot straight off your hdd drive. HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] emerge -avC cdrkit emerge -av cdrtools
Hi, after reading some emails from the list I have been trying to unmerge cdrkit and to emerge cdrtools. I aslo hat to unmerge dvd+rw-tools and kino. Anyway I am still not able to emerge cdrtools. !!! Cannot write to '/usr/include/scsilib/scg'. !!! Please check permissions and directories for broken symlinks. !!! You may start the merge process again by using ebuild: !!! ebuild /usr/portage/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild merge !!! And finish by running this: env-update than there is a very long list I can post if needed. ls -lah /usr/include/scsilib/scg lrwxrwxrwx 1 root root 25 Jun 25 12:48 /usr/include/scsilib/scg - /usr/include/scsilib/usal on my xterm there is red highlighting under the output. What can I do to install cdrtools correctly to a working standard? Will I be able to emerge kino again, without cdrkit? Thanks for any help kh -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools
* KH ([EMAIL PROTECTED]) [05.07.08 13:24]: Hi, after reading some emails from the list I have been trying to unmerge cdrkit and to emerge cdrtools. I aslo hat to unmerge dvd+rw-tools and kino. Anyway I am still not able to emerge cdrtools. !!! Cannot write to '/usr/include/scsilib/scg'. !!! Please check permissions and directories for broken symlinks. !!! You may start the merge process again by using ebuild: !!! ebuild /usr/portage/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild merge !!! And finish by running this: env-update than there is a very long list I can post if needed. ls -lah /usr/include/scsilib/scg lrwxrwxrwx 1 root root 25 Jun 25 12:48 /usr/include/scsilib/scg - /usr/include/scsilib/usal on my xterm there is red highlighting under the output. What can I do to install cdrtools correctly to a working standard? If I'm not mistaken, it means there is a dangling symlink. if # ls -lah /usr/include/scsilib/usal shows something like no such file or directory, then # rm /usr/include/scsilib/scg and continue as above mentioned with # ebuild /usr/portage/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild merge HTH Sebastian P.S.: I don't use kino so just try a # emerge -pvt kino afterwards, to look what it tries to pull in. -- Religion ist das Opium des Volkes. Karl Marx [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED] pgpP3khPPwzHI.pgp Description: PGP signature
Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools
On Saturday 05 July 2008, Sebastian Günther wrote: P.S.: I don't use kino so just try a # emerge -pvt kino afterwards, to look what it tries to pull in. I don't have cdrkit on my systems and it does not seem to have a dependency for kino: # emerge -pvt kino These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N] media-video/kino-1.2.0 USE=alsa dvdr gstreamer quicktime vorbis -gpac -lame -sox 10,388 kB [ebuild N] media-sound/rawrec-0.9.98 60 kB [ebuild N] media-libs/libiec61883-1.1.0 USE=-examples 359 kB [ebuild N] sys-libs/libavc1394-0.5.3 0 kB [ebuild N] media-libs/libdv-1.0.0-r2 USE=sdl xv -debug 0 kB [ebuild N] sys-libs/libraw1394-1.2.1 0 kB Total: 6 packages (6 new), Size of downloads: 10,806 kB A revdep-rebuild -X -p -v would probably resolve the OP's problem. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools
KH schrieb: Hi, after reading some emails from the list I have been trying to unmerge cdrkit and to emerge cdrtools. I aslo hat to unmerge dvd+rw-tools and kino. Anyway I am still not able to emerge cdrtools. !!! Cannot write to '/usr/include/scsilib/scg'. !!! Please check permissions and directories for broken symlinks. !!! You may start the merge process again by using ebuild: !!! ebuild /usr/portage/app-cdr/cdrtools/cdrtools-2.01.01_alpha34.ebuild merge !!! And finish by running this: env-update than there is a very long list I can post if needed. ls -lah /usr/include/scsilib/scg lrwxrwxrwx 1 root root 25 Jun 25 12:48 /usr/include/scsilib/scg - /usr/include/scsilib/usal on my xterm there is red highlighting under the output. What can I do to install cdrtools correctly to a working standard? Will I be able to emerge kino again, without cdrkit? Thanks for any help kh So you successfully unmerged cdrkit, dvd+rw-tools and kino. The installation of cdrtools fails because of a broken symlink. I guess the /usr/include/scsilib/scg symlink to usr/include/scsilib/usal has not been removed with cdrkit and is now broken and the cdrtools installation can not overwrite the link. If the output is really red it is indeed a broken symlink and you can safely remove it, then try to install cdrtools again or use the proposed commands. It should be no problem to install kino again as cdrkit provides the same functionality like cdrtools, besides the different amount of development that happens on both projects. But i think there was no need to remove kino at all when switching to cdrtools, because it has no dependency on both apps. I find it a bit sad that cdrkit is the preferred cd burning application because it satisfies the cdrtools virtual first. This means when you have neither cdrkit nor cdrtools installed cdrkit is preferred. However i could not find out why. There is nothing in the profiles which defines how cdrkit is favored. Maybe someone can point me to the right location. I think cdrtools should be preferred and not the fork cdrkit! My make profile points to /media/system/repositories/portage/profiles/default/linux/x86/2008.0. Regards, Daniel -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Printing to an HPD7400 Series Printer
Hi Jeff, On Sunday 29 June 2008, Jeff Cranmer wrote: Can anyone help me with the correct CUPs settings to print to an HP D7400 series printer over a wireless network? I can access the printer's home page via the IP address, but when I set up CUPS with the printer option socket://192.168.2.4, the job fails, and the printer screen returns the error /usr/libexec/cups/filter/foomatic-rip failed. I'm using the HP PhotoSmart D7400 Foomatic/hpijs driver. Any suggestions gratefully received. Have you tried setting your CUPS (use localhost:631) to connect to: ipp://192.168.2.4/ipp/port1 -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] segfaults with php and cacti
On 4 Jul 2008, at 20:38, Matt Harrison wrote: ... I want to add the cacti application to the same server but on a separate vhost. The problem is, trying to access the cacti interface through a browser causes a segfault with php. I've also tried running the index.php from the CLI and it still segfaults. I don't know anything about cacti but IIRC PHP4 PHP5 are a bit different (in terms of Apache modules stuff). Is it possible you're running the wrong one? Maybe this release of cacti is only stable on the one version? When posting try to give us as much information as possible. You need to give versions of stuff, confirm that you've run revdep-rebuild on your system and also tell us that you've checked the system logs. Since you don't mention debug or logging options for cacti I'll assume it doesn't have any, but you really need to state that, to prove to us that you've checked and to save us suggesting looking at them. Stroller. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Grub on a new disk
Florian Philipp writes: I've recently moved /boot from /dev/hda to /dev/hdd. Then I've installed grub with for i in /dev/hd{a,b,d}; do grub-install --recheck $i; done Now the system boots correctly but it takes ages (10sec) to come from Grub loading Stage1.5 to Grub loading, please wait... and then another 10sec or more to open the menu. I think I had this problem a long time ago but I can't remember the solution. Can anyone help? I don't know what happens here... but I also don't know why you need to install grub on every drive. I have four IDE drives /dev/hd[abef], grub stage 1 is installed in the MBR of hda, but stage 2 in in the /boot partition located on hde. I installed like this: # grub root (hd2,0) setup (hd0) quit Wonko -- gentoo-user@lists.gentoo.org mailing list
[SOLVED] Re: [gentoo-user] segfaults with php and cacti
Stroller wrote: On 4 Jul 2008, at 20:38, Matt Harrison wrote: ... I want to add the cacti application to the same server but on a separate vhost. The problem is, trying to access the cacti interface through a browser causes a segfault with php. I've also tried running the index.php from the CLI and it still segfaults. I don't know anything about cacti but IIRC PHP4 PHP5 are a bit different (in terms of Apache modules stuff). Is it possible you're running the wrong one? Maybe this release of cacti is only stable on the one version? When posting try to give us as much information as possible. You need to give versions of stuff, confirm that you've run revdep-rebuild on your system and also tell us that you've checked the system logs. Since you don't mention debug or logging options for cacti I'll assume it doesn't have any, but you really need to state that, to prove to us that you've checked and to save us suggesting looking at them. Stroller. Ack, I had forgotten to import the db schema before accessing the web interface. I just wish the cacti people had found a way to make this more obvious. I will send them a message and maybe they can make this a little clearer in the future. Thanks for the replies everyone. Matt -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools
On Samstag, 5. Juli 2008, Daniel Pielmeier wrote: I find it a bit sad that cdrkit is the preferred cd burning application because it satisfies the cdrtools virtual first. This means when you have neither cdrkit nor cdrtools installed cdrkit is preferred. However i could not find out why. k is before t in the alphabet? -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Grub on a new disk
On Sat, 5 Jul 2008 12:18:28 +0100 Mick [EMAIL PROTECTED] wrote: As far as I can understand the problem arises because you have installed grub everywhere. When your BIOS kicks in it goes to the first disk's MBR, reads the GRUB boot code, which starts probing each and every device where a GRUB file system exists. Perhaps it also checks each MBR? Eventually it arrives at /dev/hdd and GRUB loads up its boot menu. You can tweak the /boot/grub/device.map file to change the order of the devices and bring up /dev/hdd sooner. Alternatively and probably easier would be to change the boot order of your drives in your BIOS menu. Since you have installed GRUB in each drive's MBR you should be able to boot straight off your hdd drive. HTH. I think I've already written that I've installed Grub on every disk because I didn't know whether the BIOS allows booting from secondary slave and I didn't want to risk an unbootable system. I've already changed the BIOS boot order to look at /dev/hdd's MBR first but that didn't help. signature.asc Description: PGP signature
Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools
Volker Armin Hemmann schrieb: On Samstag, 5. Juli 2008, Daniel Pielmeier wrote: I find it a bit sad that cdrkit is the preferred cd burning application because it satisfies the cdrtools virtual first. This means when you have neither cdrkit nor cdrtools installed cdrkit is preferred. However i could not find out why. k is before t in the alphabet? Probably :-) In the 2007.0 desktop profile it was the default application, but i can not find something similar for the 2008.0 profile Here are the contents of /media/system/repositories/portage/profiles/default-linux/x86/2007.0/desktop/virtuals # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 # $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/x86/2007.0/desktop/virtuals,v 1.1 2007/04/13 22:02:31 wolf31o2 Exp $ virtual/cdrtoolsapp-cdr/cdrkit virtual/fam app-admin/gamin -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools
Daniel Pielmeier [EMAIL PROTECTED] wrote: So you successfully unmerged cdrkit, dvd+rw-tools and kino. The installation of cdrtools fails because of a broken symlink. I guess the /usr/include/scsilib/scg symlink to usr/include/scsilib/usal has not been removed with cdrkit and is now broken and the cdrtools installation can not overwrite the link. If the output is really red it is indeed a broken symlink and you can safely remove it, then try to install cdrtools again or use the proposed commands. Mmmm, cdrtools may create a directory /usr/include/scg/ but the text /scsilib/ is nowhere in cdrtools. It should be no problem to install kino again as cdrkit provides the same functionality like cdrtools, besides the different amount of There is no active development in cdrkit, so cdrkit does not provide new features. If cdrkit did not change libscg in a way that prevents some usage, you could treat cdrkit like a 3 year old version of cdrtools. development that happens on both projects. But i think there was no need to remove kino at all when switching to cdrtools, because it has no dependency on both apps. This is correct. I don't know kino but from looking at freshmeat, it seems that kino has no relation to cdrtools. Or does kino call mkisofs? Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED](uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Gentoo Bug Day
Just as a reminder: http://www.gentoo.org/news/20080701-bugday.xml What: Gentoo contributors get together to help each other fix bugs Where: irc.freenode.net, #gentoo-bugs When: Saturday, July 5, in a timezone near you What do you need to bring? * A Gentoo system, an Internet connection and an IRC client * Your bug. If you don't have one, we will find you one to suit your area of interest and your skills * Your favorite editor * A way to test that your bug is fixed (asking people counts!) * You don't need to know C, C++, or bash What's a bug? Gentoo's way of tracking change requests. A change request can be anything from I've found a typo in foo to I've built this really useful program called bar but there's no ebuild for it. Bugs have various levels of helpfulness, from identifying the existence of a problem to localizing the problem to providing the patch to fix it. There are bugs in documentation such as man pages as well as ebuilds and the source code that Gentoo distributes. These bugs are problem reports. Bugs for things Gentoo doesn't do yet but you think should be done are feature requests. Bugday is more about fixing problems than adding features, but you won't be turned away if you want help with a new feature. Want to know more about Bugday? It's held on the first Saturday of every month. It's an opportunity for everyone to contribute to making Gentoo better, and eventually you might even become a Gentoo developer. See the Bugday project page for more details. Bugday is about community spirit. Gentoo is a community—there is no me and them, there is only we, so instead of lobbying for them to fix your particular bug, work together to fix it! Bugday is an opportunity to get help to help yourself. If you've been wanting to get involved but weren't sure how, Bugday is a great way for you to see what goes on in making a distribution and get involved in Gentoo. -- Ricardo Saffi Marques http://www.rsaffi.com == Laboratory of System Administration and Security - LAS Institute of Computing - IC P.O. Box: 6176 University of Campinas - UNICAMP 13083-852, Campinas, SP, Brazil == -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Grub on a new disk
On Saturday 05 July 2008, Florian Philipp wrote: On Sat, 5 Jul 2008 12:18:28 +0100 Mick [EMAIL PROTECTED] wrote: As far as I can understand the problem arises because you have installed grub everywhere. When your BIOS kicks in it goes to the first disk's MBR, reads the GRUB boot code, which starts probing each and every device where a GRUB file system exists. Perhaps it also checks each MBR? Eventually it arrives at /dev/hdd and GRUB loads up its boot menu. You can tweak the /boot/grub/device.map file to change the order of the devices and bring up /dev/hdd sooner. Alternatively and probably easier would be to change the boot order of your drives in your BIOS menu. Since you have installed GRUB in each drive's MBR you should be able to boot straight off your hdd drive. HTH. I think I've already written that I've installed Grub on every disk because I didn't know whether the BIOS allows booting from secondary slave and I didn't want to risk an unbootable system. You should be able to boot and reinstall GRUB in which ever MBR you choose with a LiveCD. I've already changed the BIOS boot order to look at /dev/hdd's MBR first but that didn't help. Right, have you checked your device.map to see if there's anything untoward in there? Now the system boots correctly but it takes ages (10sec) to come from Grub loading Stage1.5 to Grub loading, please wait... Stage1.5 contains the filesystem driver which will allow GRUB to be able to read the fs of hdd on which the /boot/grub/stage2 file is stored. Since 10 seconds to read a relatively small file is rather excessive, could it be a drive cable/ribbon fault? and then another 10sec or more to open the menu. Ditto. If it were that the GRUB code in the bootloader went into a loop or something, scanning all drives, then by this step it would not need to probe or access any other device. The fact that it takes so long points towards a hardware rather than a configuration issue. Other than that could it be a fs corruption problem? /clutching at straws Unless better ideas are proposed you may want to remerge grub, then re-install it manually in the first disk MBR using a grub prompt (as per the handbook) and point it's root to your hdd disk. HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools
Joerg Schilling schrieb: Daniel Pielmeier [EMAIL PROTECTED] wrote: So you successfully unmerged cdrkit, dvd+rw-tools and kino. The installation of cdrtools fails because of a broken symlink. I guess the /usr/include/scsilib/scg symlink to usr/include/scsilib/usal has not been removed with cdrkit and is now broken and the cdrtools installation can not overwrite the link. If the output is really red it is indeed a broken symlink and you can safely remove it, then try to install cdrtools again or use the proposed commands. Mmmm, cdrtools may create a directory /usr/include/scg/ but the text /scsilib/ is nowhere in cdrtools. In Gentoo scg is installed under /usr/include/scsilib Here a snippet from the ebuild: insinto /usr/include/scsilib/scg doins include/scg/*.h /usr/include/scsilib/scg - /usr/include/scsilib/usal is a symlink used by cdrkit. It was not removed when the package manager uninstalled cdrkit. At least I think so, as this does not happen here but maybe with older versions I don't use. When installing cdrtools the package manager wants to create the directory /usr/include/scsilib/scg which fails as the broken symlink is still in place. It should be no problem to install kino again as cdrkit provides the same functionality like cdrtools, besides the different amount of There is no active development in cdrkit, so cdrkit does not provide new features. If cdrkit did not change libscg in a way that prevents some usage, you could treat cdrkit like a 3 year old version of cdrtools. I don't know how much work really happens with cdrkit as I don't follow the progress there. It seems however you have done more work on cdrtools than what happened on cdrkit besides finalizing star 1.5. By the way I for myself say many thanks for cdrtools. I don't care much about the license as long it is not closed source and I can use it within my OS. I just care about the quality of the code. development that happens on both projects. But i think there was no need to remove kino at all when switching to cdrtools, because it has no dependency on both apps. This is correct. I don't know kino but from looking at freshmeat, it seems that kino has no relation to cdrtools. Or does kino call mkisofs? You are right, it depends on dvd+rw-tools maybe because of this the OP has removed it from his system temporarily along with cdrkit and dvd+rw-tools. Regards, Daniel -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools
Daniel Pielmeier [EMAIL PROTECTED] wrote: Joerg Schilling schrieb: Daniel Pielmeier [EMAIL PROTECTED] wrote: So you successfully unmerged cdrkit, dvd+rw-tools and kino. The installation of cdrtools fails because of a broken symlink. I guess the /usr/include/scsilib/scg symlink to usr/include/scsilib/usal has not been removed with cdrkit and is now broken and the cdrtools installation can not overwrite the link. If the output is really red it is indeed a broken symlink and you can safely remove it, then try to install cdrtools again or use the proposed commands. Mmmm, cdrtools may create a directory /usr/include/scg/ but the text /scsilib/ is nowhere in cdrtools. In Gentoo scg is installed under /usr/include/scsilib Here a snippet from the ebuild: insinto /usr/include/scsilib/scg doins include/scg/*.h /usr/include/scsilib/scg - /usr/include/scsilib/usal is a symlink used by cdrkit. It was not removed when the package manager uninstalled cdrkit. At least I think so, as this does not happen here but maybe with older versions I don't use. This is a really bad idea. /usr/include/scg/ is a planned directory that is known to be unique. cdrkit does not deliver anything that is even approximately useful as a replacement for libscg. Installing the includefiles from libscg into /usr/include/scsilib/scg makes them unusable as there is no software that is aware of this location. It seems that the only result is that it makes it harder to install cdrtools instread of cdrkit. Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED](uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] DMRAID and complex setups
On Sat, 28 Jun 2008 22:24:46 +0300 Daniel Iliev [EMAIL PROTECTED] wrote: On Sat, 28 Jun 2008 14:02:23 +0200 Florian Philipp [EMAIL PROTECTED] wrote: Hi list! I a PC of mine I've got two 160GB and a 320GB disk. I'd like to create a JBOD (a.k.a. Concatenation) of the two 160GB disks and create a RAID1 out of that JBOD and the 320GB disk. Can dmraid / mdadm handle such setups? Is there anything I have to take care of? Would a mixed setup of fake-RAID (NVidia MoBo-controller) and Linux softRAID fare better? Thanks in advance! Florian Philipp Hi, Never tried this myself but I think you should have no problems with mdadm. AFAIK JBOD is called linear mode in kernel and mdadm terms. Given that you have compiled the necessary modules you'll have to do something like: mdadm --create /dev/md0 --level=linear --raid-devices=2 /dev/sd{a,b}1 mdadm --create /dev/md0 --level=mirror --raid-devices=2 /dev/{md0,sdc} HTH Just a small update: No, it does not work. At bootup the RAID1 is created but with only the single disk. I'm now thinking about my options: a) Never reboot ;) b) Put mdadm -I /dev/md0 into /etc/conf.d/local.start c) Use LVM for mirroring Neither b nor c are very pleasant: b) gives me 37 minutes with high disk activity and no working RAID; c) doesn't allow online resizing (AFAIK) but there are workarounds (degrading to linear - resizing - upgrading to mirror; unpleasant, but working). At least there is some hope that the issue with c) will be solved in a future version. However, there might be other options: - Could I disable the kernel auto-detection and instead add a custom init-script prior to checkfs and localmount? - Baselayout2 uses an init-script for mdraid. Does that mean it doesn't rely on kernel auto-detection? If so, could it work with baselayout2 or at least, would it be easier to get it working? signature.asc Description: PGP signature
Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools
On Samstag, 5. Juli 2008, Joerg Schilling wrote: Installing the includefiles from libscg into /usr/include/scsilib/scg makes them unusable as there is no software that is aware of this location. wrong. It is easy to tell software which needs/wants that headers the right directory. If there is a problem, a bug is opened. Easy. I am sure all software in gentoo needing this headers is fully aware of the location. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Ekiga not finding v4l
For some reason when I run Ekiga it doesn't detect any v4l or v4l2 drivers...Only picture... [EMAIL PROTECTED] ~ % ekiga -d 4 2008/07/05 12:26:35.597 0:00.090ekiga Detected audio plugins: ALSA 2008/07/05 12:26:35.598 0:00.091ekiga Detected video plugins: Picture 2008/07/05 12:26:35.598 0:00.091ekiga Detected audio plugins: ALSA 2008/07/05 12:26:35.598 0:00.091ekiga Detected video plugins: Picture 2008/07/05 12:26:35.600 0:00.093ekiga Detected the following audio input devices: Default,HDA Intel with plugin ALSA 2008/07/05 12:26:35.600 0:00.093ekiga Detected the following audio output devices: Default,HDA Intel with plugin ALSA 2008/07/05 12:26:35.600 0:00.093ekiga Detected the following video input devices: StaticPicture,MovingLogo with plugin Picture 2008/07/05 12:26:35.600 0:00.093ekiga Detected the following audio input devices: Default,HDA Intel with plugin ALSA 2008/07/05 12:26:35.600 0:00.093ekiga Detected the following audio output devices: Default,HDA Intel with plugin ALSA 2008/07/05 12:26:35.600 0:00.093ekiga Detected the following video input devices: StaticPicture,MovingLogo with plugin Picture 2008/07/05 12:26:35.833 0:00.326ekiga Ekiga version 2.0.11 2008/07/05 12:26:35.834 0:00.329ekiga OPAL version 2.2.11 2008/07/05 12:26:35.839 0:00.332ekiga PWLIB version 1.10.10 2008/07/05 12:26:35.839 0:00.332ekiga GNOME support disabled 2008/07/05 12:26:35.842 0:00.335ekiga Fullscreen support enabled 2008/07/05 12:26:35.844 0:00.338ekiga DBUS support enabled 2008/07/05 12:26:35.848 0:00.341ekiga Set TCP port range to 3:30010 2008/07/05 12:26:35.850 0:00.345ekiga Set RTP port range to 5000:5059 2008/07/05 12:26:35.853 0:00.346ekiga Set UDP port range to 5060:5100 -- If programmers deserve to be rewarded for creating innovative programs, by the same token they deserve to be punished if they restrict the use of these programs. - Richard Stallman pgpGGvG0xrITj.pgp Description: PGP signature
Re: [gentoo-user] Grub on a new disk
On Sat, 5 Jul 2008 15:06:31 +0100 Mick [EMAIL PROTECTED] wrote: I've already changed the BIOS boot order to look at /dev/hdd's MBR first but that didn't help. Right, have you checked your device.map to see if there's anything untoward in there? (fd0) /dev/fd0 (hd0) /dev/hda (hd1) /dev/hdb (hd2) /dev/hdd Looks clean to me. Now the system boots correctly but it takes ages (10sec) to come from Grub loading Stage1.5 to Grub loading, please wait... Stage1.5 contains the filesystem driver which will allow GRUB to be able to read the fs of hdd on which the /boot/grub/stage2 file is stored. Since 10 seconds to read a relatively small file is rather excessive, could it be a drive cable/ribbon fault? And then the system works flawlessly? I don't think so. Badblocks doesn't report anything on /dev/hdd1 right now and I've checked the rest of the disk before I moved the system there. and then another 10sec or more to open the menu. Ditto. If it were that the GRUB code in the bootloader went into a loop or something, scanning all drives, then by this step it would not need to probe or access any other device. The fact that it takes so long points towards a hardware rather than a configuration issue. Other than that could it be a fs corruption problem? /clutching at straws e2fsck -f /dev/hdd1 shows no problem. dd can read the MBR of all disks easily. Unless better ideas are proposed you may want to remerge grub, then re-install it manually in the first disk MBR using a grub prompt (as per the handbook) and point it's root to your hdd disk. Reemerged grub, installed it with grub-install into /dev/hdd and (just to be sure) /dev/hdd1, let the BIOS boot from /dev/hdd - didn't help. Then I've installed grub into hda's MBR. Then something odd happened: Stage1.5 loads quiet fast but then Grub hangs once again of ~20sec with: Grub loading, please wait ... Since that is the moment when Grub accesses /dev/hdd for the first time, I think it could really be a problem with the hard disk, however, one that doesn't affect anything else. Maybe an automatic SMART self-test at boot-up? I'll investigate and as a workaround I'll get an SD-card or cheap USB-stick for Grub, since - unfortunately - the kernel is too big to fit on a floppy. signature.asc Description: PGP signature
Re: [gentoo-user] Ekiga not finding v4l
On Sat, 2008-07-05 at 12:28 -0400, Michael Pobega wrote: For some reason when I run Ekiga it doesn't detect any v4l or v4l2 drivers...Only picture... Does the OS detect your device? I.E: 1. Do you see it in dmesg? 2. Does a device get created (e.g. /dev/video0) 3. Can you read from the device: e.g: $ ffmpeg -f video4linux2 -s 800x600 -r 10 -i /dev/video0 test.avi Likely your problem is one of the 3. -a -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: where is emacs-cvs-23.0.60 ?
Allan Gottlieb [EMAIL PROTECTED] writes: Which really just means the latest cvs code committed. Thank you. I had guessed something like that, but . wouldn't compile for me. I submitted a bug report via M-x report-emacs-bug and it was promptly fixed. Then . compiled and I am running .60 without problems. There is quite a bit going on with 23. You can check out some of the subjects on the emacs devel list. Also available on gmane where it is called gmane.emacs.devel. Lots of troubles going on with fonts it appears. Glad to here it installed for you. I think I'll try it again now. I had reported a problem here in this message: From: [EMAIL PROTECTED] Subject: emacs-cvs problem or gentoo problem with emacs-cvs Newsgroups: gmane.linux.gentoo.user To: gentoo-user@lists.gentoo.org Date: Sun, 22 Jun 2008 09:18:07 -0500 Message-ID: [EMAIL PROTECTED] I didn't get a response but didn't bother them on the devel list since it appeared to be gentoo specific. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] [Solved] rsync problem with local rsync server
On Sat, Jul 05, 2008 at 09:20:26AM +0400, Vladimir Rusinov wrote It seems you have rsync://yourhost/ instead of rsync://yourhost/gentoo-portage/ on your make.conf Thank you very much. That was the exact mistake I made. It's working properly now after I corrected it. -- Walter Dnes [EMAIL PROTECTED] -- gentoo-user@lists.gentoo.org mailing list
SCG (was: Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools)
Joerg Schilling schrieb: Daniel Pielmeier [EMAIL PROTECTED] wrote: Joerg Schilling schrieb: Daniel Pielmeier [EMAIL PROTECTED] wrote: So you successfully unmerged cdrkit, dvd+rw-tools and kino. The installation of cdrtools fails because of a broken symlink. I guess the /usr/include/scsilib/scg symlink to usr/include/scsilib/usal has not been removed with cdrkit and is now broken and the cdrtools installation can not overwrite the link. If the output is really red it is indeed a broken symlink and you can safely remove it, then try to install cdrtools again or use the proposed commands. Mmmm, cdrtools may create a directory /usr/include/scg/ but the text /scsilib/ is nowhere in cdrtools. In Gentoo scg is installed under /usr/include/scsilib Here a snippet from the ebuild: insinto /usr/include/scsilib/scg doins include/scg/*.h /usr/include/scsilib/scg - /usr/include/scsilib/usal is a symlink used by cdrkit. It was not removed when the package manager uninstalled cdrkit. At least I think so, as this does not happen here but maybe with older versions I don't use. This is a really bad idea. /usr/include/scg/ is a planned directory that is known to be unique. cdrkit does not deliver anything that is even approximately useful as a replacement for libscg. Installing the includefiles from libscg into /usr/include/scsilib/scg makes them unusable as there is no software that is aware of this location. It seems that the only result is that it makes it harder to install cdrtools instread of cdrkit. Jörg Out of curiosity I tried a manual install and /usr/include/scg/ was not created at all. The command i used was ./Gmake INS_BASE=/home/billie/cdrtools-test/ install -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools
On Sat, 05 Jul 2008 14:14:17 +0200, Daniel Pielmeier wrote: I find it a bit sad that cdrkit is the preferred cd burning application because it satisfies the cdrtools virtual first. This means when you have neither cdrkit nor cdrtools installed cdrkit is preferred. However i could not find out why. There is nothing in the profiles which defines how cdrkit is favored. Maybe someone can point me to the right location. It is defined in the virtuals file in your profile. I think cdrtools should be preferred and not the fork cdrkit! It depends on the profile, some default to cdrkit, some to cdrtools: grep virtual/cdrtools /usr/portage/profiles/**/virtuals -- Neil Bothwick We are Pentium of Borg. You will be approximated. Resistance may or may not be futile, except on every other Tuesday when it is a definite maybe. signature.asc Description: PGP signature
Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools
Neil Bothwick schrieb: On Sat, 05 Jul 2008 14:14:17 +0200, Daniel Pielmeier wrote: I find it a bit sad that cdrkit is the preferred cd burning application because it satisfies the cdrtools virtual first. This means when you have neither cdrkit nor cdrtools installed cdrkit is preferred. However i could not find out why. There is nothing in the profiles which defines how cdrkit is favored. Maybe someone can point me to the right location. It is defined in the virtuals file in your profile. I think cdrtools should be preferred and not the fork cdrkit! It depends on the profile, some default to cdrkit, some to cdrtools: grep virtual/cdrtools /usr/portage/profiles/**/virtuals grep virtual/cdrtools /media/system/repositories/portage/profiles/**/virtuals /media/system/repositories/portage/profiles/base/virtuals:virtual/cdrtools app-cdr/cdrkit That was what i am looking for, thanks! Why they did choose cdrkit in favor of cdrtools is a miracle to me! Maybe I will ask the maintainer about this! Regards, Daniel -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user]
i can not build gnome-keyring-manager. it tries to download templates from www.open-oasis.org but times out. how can i resolve this so that i can continue to build gnome? _ The i’m Talkaton. Can 30-days of conversation change the world? http://www.imtalkathon.com/?source=EML_WLH_Talkathon_ChangeWorld
Re: [gentoo-user] Grub on a new disk
On Saturday 05 July 2008, Florian Philipp wrote: On Sat, 5 Jul 2008 15:06:31 +0100 Then I've installed grub into hda's MBR. Then something odd happened: Stage1.5 loads quiet fast but then Grub hangs once again of ~20sec with: Grub loading, please wait ... Since that is the moment when Grub accesses /dev/hdd for the first time, I think it could really be a problem with the hard disk, however, one that doesn't affect anything else. Maybe an automatic SMART self-test at boot-up? I'll investigate and as a workaround I'll get an SD-card or cheap USB-stick for Grub, since - unfortunately - the kernel is too big to fit on a floppy. I know what I would have done - right from the start. Not used grub-install. Not installed it in every single disk. Not installed it in any partition, unless I intended to chainload separately the GRUB bootloader of the said partition. Now, I know that this doesn't help and won't resolve your issue, but perhaps next time . . . I am not sure how GRUB goes about probing and reading boot sectors at boot time. As I understand it at the time it is installed in an MBR, the position of the grub fs is also written in there right after the boot code. At boot time the boot code (stage1) jumps to the block device where grub's root fs is stored to read and execute stage1.5 which can read the /boot device fs and then read the stage2 files, which finally go and load the main OS kernel image. Assuming this is correct, then what you have installed in the MBR of hdb and hdd and the partition boot sector of hdd1 is irrelevant and it *should not* make grub take so long. That's the reason why I said something hardware-wise may be amiss, although I can see that your checks and reasoning are sound. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[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 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 -- Regards, Mick signature.asc Description: This is a digitally signed message part.
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
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 -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] grub boot problem
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 Hi, Another thing you can try is tab completion in the grub menu. Just hit the e key twice and let grub help you with what kernels it can see. Hope that helps. Dale :-) :-) -- 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
one question: why don't you use 'make install' and have a 'vmlinuz' and 'vmlinuz.old' entry in menu.lst/grub.conf? that solves/prevents lots of errors. -- 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] Ekiga not finding v4l
On Sat, Jul 05, 2008 at 11:41:49AM -0500, Albert Hopkins wrote: On Sat, 2008-07-05 at 12:28 -0400, Michael Pobega wrote: For some reason when I run Ekiga it doesn't detect any v4l or v4l2 drivers...Only picture... Does the OS detect your device? I.E: 1. Do you see it in dmesg? 2. Does a device get created (e.g. /dev/video0) 3. Can you read from the device: e.g: $ ffmpeg -f video4linux2 -s 800x600 -r 10 -i /dev/video0 test.avi Likely your problem is one of the 3. -a ackbar pobega # ffmpeg -f video4linux2 -s 800x600 -r 10 -i /dev/video0 test.avi FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-static --enable-shared --cc=x86_64-pc-linux-gnu-gcc --disable-altivec --disable-debug --disable-audio-oss --disable-v4l --disable-v4l2 --disable-dv1394 --disable-network --disable-opts --enable-libmp3lame --enable-libvorbis --enable-libogg --enable-x11grab --enable-libogg --enable-gpl --enable-pp --disable-strip libavutil version: 49.4.0 libavcodec version: 51.40.4 libavformat version: 51.12.1 built on Jul 2 2008 19:42:30, gcc: 4.1.2 (Gentoo 4.1.2 p1.1) Unknown input or output format: video4linux2 Apparently ffmpeg can't use v4l2 either...Perhaps there is a package I've failed to emerge? -- If programmers deserve to be rewarded for creating innovative programs, by the same token they deserve to be punished if they restrict the use of these programs. - Richard Stallman pgpoIPRb98f3d.pgp Description: PGP signature