Re: [gentoo-user] Post-Installation Problem
On Fri, 9 May 2014, at 7:01 pm, Hunter Jozwiak hunter.t@gmail.com wrote: … After genkernel all? Because I cannot find the module in the menuconfig kernel. In menuconfig press the forward-slash key (/), type speakup and press enter. Stroller.
Re: [gentoo-user] problems getting systemd to work
2014-05-12 4:15 GMT-06:00 cov...@ccs.covici.com: How can I do this, genkernel looks for its init before it mounts /usr and genkernel-next will not mount the separate /usr at all. My latest initrd is from the very latest genkernel. But how to get a complete history of systemd actions in the order that they are done, I thought the confirm_spawn would do this for me -- at least for my initial debugging. I have had this trouble too, and a very similar setup than you, and after a few workarounds I got to boot with a genkernel and a dracut generated initramfs, so it can be done both ways, but i would recommend dracut, since is more straight forward in practice, and you can setup once and then just generate initramfs that surely will work. The most important part is your kernel boot comand line, giving instructions so your system specific lvm volumes (root, usr and var if separated). mine looks like this rd.lvm rd.lvm.vg=gentoovg rd.lvm.lv=gentoovg/root rd.lvm.lv=gentoovg/usr root=/dev/mapper/gentoovg-root ccinit=/usr/lib/systemd/systemd quiet A little too long in my opinion, but works, and the rd.lvm.lv parts result redundant if rd.lvm.vg is already set, i think, it worked when I tested, but I kept the redundancy just in case. this can be setup in sevaral ways, directly when compiling the kernel, using dracut the config file, or the bootloader, I used dracut since I wanted to centralize the boot process configuration as much as possible. Also be sure that the lvm binaries are included in the initramfs, if you will be using dracut you would need to add to /etc/dracut.conf: use_fstab=yes host_cmdline=yes kernel_cmdline=your_cmd_line
[gentoo-user] Can't Get Systemd to Work
Hi all. I am having issues with Systemd as well. I added to the GRUB2 configuration file the needed command line to get Systemd to start, but for whatever reason, the kernel is adamant that I must use OrenRC. I recompiled with Genkernel-next a new kernel and initramfs, and that, for whatever reason, doesn't automount my /boot partition. Is there a fix to this?
[gentoo-user] Re: udev update
Rich Freeman rich0 at gentoo.org writes: Of course, nothing prevents anybody from creating a preconfigured kernel for Gentoo. There is genkernel of course, though I think we probably could do better. Most seem to be happy just managing their own kernel configurations, and I think that is why nobody has bothered to spend much time perfecting a canned kernel. Rich https://github.com/canek-pelaez/kerninst Although Canek has created a nice system that addresses not only new kernels, but also the other critical steps one has to at least consider for a successful kernel upgrade, his solution is targeted at a bit more complex situation than the average user's needs, such as Francisco situation. The old usage of : make oldconfig make menuconfig Is probably is in need of some extra syntax_strokes to create a copy and paste style of kernel upgrade, should genkernel not be sufficient. There's grub2 to consider, (u)efi bios, mbr, initramfs and probably other things to think about. Maybe somebody smarter than me (not really hard to find on this list) could modify Canek's script for the general user case of simply upgrading gentoo-sources. It could be put on the gentoo-wiki for folks to try out or packaged as an overlay?. Feedback would (eventually) result in a version quite cool and moderized, without messing with genkernel. Once it becomes robust it would be up to Sven company to decide if it makes the handbook, as a replacement or alternative to genkernel. Just a thought, but we get this sort of problem, quite often on this list I think we should at least have a gentoo wiki page that folks can read and learn about the general idea on different methods and the caveats therein to kernel upgrades on Gentoo. (pist) there could even be a link to all the systemd and openrc pages that come into play? James
[gentoo-user] Re: gentoo livedvd kernel
James wireless at tampabay.rr.com writes: email at missionaccomplish.com email at missionaccomplish.com writes: The livedvd kernel sources are in /etc/kernels which is where genkernel puts them. Likewhoa Just the .config file, not the actual kernel. Acutally, this was from the media, when booted up. James
Re: [gentoo-user] wireless interface problem in new installation
Hm, does wireless device require firmware? Have you installed firmware properly? I dont think so. I have installed gentoo on it before and back then I just used the genkernel and it was working.
Re: [gentoo-user] wireless interface problem in new installation
On Mon, Nov 17, 2014 at 3:32 PM, behrouz khosravi bz.khosr...@gmail.com wrote: Hm, does wireless device require firmware? Have you installed firmware properly? I dont think so. I have installed gentoo on it before and back then I just used the genkernel and it was working. What's the output of 'lspci -k'?
[gentoo-user] Returning to chrooted environment?
During installation, just before running genkernel all, pressed something by mistake in screen and that got me out of chroot. I have screen split up horizontally and now whatever I type appears on two terminals simultaneously. How do I enter in a stage where I left off and try to finish installation? Thanks a lot
Re: [gentoo-user] Re: Question about genkernel's default kernel config
On Sunday, August 14, 2016 08:38:42 PM Mike Gilbert wrote: > On Sun, Aug 14, 2016 at 4:29 PM, J. Roeleveld <jo...@antarean.org> wrote: > > On August 14, 2016 8:55:32 PM GMT+02:00, Neil Bothwick <n...@digimed.co.uk> wrote: > >>On Sun, 14 Aug 2016 11:48:08 -0700, Ian Zimmerman wrote: > >>> Don't you still need genkernel if you want to build an initramfs? > >> > >>No, dracut. > >> > >>> The handbook (amd64) seems to imply you do, and I don't know of an > >> > >>easy > >> > >>> way to build an initramfs just with the bare kernel source. > >> > >>Dracut. > >> > > Dracut if you just want something quick and easy. > > If you want something small and reliable, build your own. > > A homegrown initramfs created by a novice is going to be more reliable > than one created by dracut or genkernel? Seems unlikely. The ones created by genkernel or dracut always need a few iterations before they work semi-reliably and are not flexible enough. I have 2 disks in my laptop. Both are encrypted using LUKS and the same passphrase. Neither genkernel nor dracut have the intelligence to ask me once and try the key on both, only asking for a 2nd key when the provided one doesn't work for both. I ended up writing my own, which has proven more reliable and stable. The reduced size also makes maintenance less of an issue. -- Joost
Re: [gentoo-user] Question about genkernel's default kernel config
On 08/15/2016 03:27 AM, Azamat Hackimov wrote: I suggest to read https://wiki.gentoo.org/wiki/Genkernel for final enlightenment. From Siberia with Love! As well as:: https://wiki.gentoo.org/wiki/Initramfs/Guide hth, James
Re: [gentoo-user] Rear & Genkernel
On 06/03/2017 23:55, White, Phil wrote: > Hi, > > I'm not sure if this needs submitting as a bug, or if I just need a > little help in configuring... > > I have set up a new install of Gentoo. I use genkernel to create my > kernel and initrd. > The resulting /boot directory gives: > kernel-genkernel-x86-4.9.6-gentoo-r1 > > My chost is i686-pc-linux-gnu. > > Now, I also have installed rear (relax-and-recover) v2, from git > (app-backup/rear is 1.17.1) > > Problem: rear is looking for a kernel, and it expects it to be named: > kernel-genkernel-i686-4.9.6-gentoo-r1 > Since the name doesn't match, it bails out with an error. (This only > fails with my i686 machine. Running the same configuration on a 64-bit > machine works fine) > > Question: How am I going to fix this? I don't want to hard code anything > in the config file, as this will break when I update the kernel... Is > this a 'bug'? Please clarify what version of rear has this problem, and how you installed it. Either way, from the problem description one can see that rear needs patching, however: If it was installed by ortage from an ebuild, then you have a bug to be reported to b.g.o. If you installed from git outside of portage, the you get to patch rear yourself Or, perhaps a third option. Does rear have a config file where you can define the naming template for the kernel used? (I don't use rear and can't be bothered googling it, the idea just occurred to me) -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] can genkernel install files with different names?
On Friday, 18 October 2019 14:02:58 BST Caveman Al Toraboran wrote: > what one doesn't use grub? I don't, for one. Oh, except for grub-legacy on an old 32-bit, single-core atom box. I won't touch grub-2 for love nor money. -- Regards, Peter.
Re: [gentoo-user] Is Gentoo dead?
* con...@ftml.net: > Still you have to manually configure things. And I know that Gentoo is > about choice, but configuring kernel is hard. It may be hard for you personally, but it is not hard for everyone, so I object to the generalisation. You can choose between learning more about the Linux kernel (it is not a Gentoo-specific subject) or opt to go with Genkernel instead. I see nothing "dead" in that. -Ralph
Re: [gentoo-user] Is Gentoo dead?
On Tue, Apr 21, 2020 at 08:10:33PM +0100, Neil Bothwick wrote: > No it's not. It may be time consuming, especially the first time, but > it is not difficult because the handbook explains it well. It's pretty > much a once only job too as once you have a working config you can use > it as the base for all upgrades. Aha. YAMA appeared in genkernel something about two months ago :)
[gentoo-user] Realtek r8169 realtek.ko not loaded.
Hi there I just upgraded an older notebook with r8169 network chip to new kernel 5.4 (sys-kernel/gentoo-sources-5.4.28) with genkernel. After booting the new kernel the network adapter was not initialized, no network interface eth0. Dmesg says [6.390973] r8169 :08:00.0: realtek.ko not loaded, maybe it needs to be added to initramfs? [6.392864] r8169: probe of :08:00.0 failed with error -2 After searching with google I found a thread in the kernel mailing list https://bugzilla.kernel.org/show_bug.cgi?id=204343 The cause is a soft depencency to module realtek.ko, which needs to be loaded first. Doing this manually, i.e. rmmod r8169 && modprobe realtek && modprobe r8169 works fine; network interface eth0 gets configured and is operating. Since the kernel loads the network module before systemd is running, it has to be configured in initrd somehow. So, the final question is, how to get that into initrd with genkernel? I need to add something like this cat /etc/modprobe.d/realtek Softdep r8169 pre: realtek How do I get this into initrd with genkernel-next? Thanks in advance Alex PS Profile: default/linux/amd64/17.0/desktop/plasma/systemd Relevant packages: sys-apps/gentoo-systemd-integration-7 sys-apps/kmod-26-r5 sys-apps/systemd-244.3 sys-kernel/genkernel-next-69 sys-kernel/gentoo-sources-5.4.28 Lspci 08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
Re: [gentoo-user] system won't boot - --no-bootloader set; Skipping bootloader update ...
you didn't specify grub2 on the command line or (my preference) in /etc/genkernel.conf. So genkernel assumes you don't want it to fix your boot loader. If the kernel and ramdisk are all built, you can fix grub's config with grub-mkconfig -o /boot/grub/grub.cfg. For future kernel builds, read the paramaters in man genkernel so you know how to specify the boot loader, or just edit /etc/genkernel.conf and set the bootloader from none to grub2. On 12/11/2020 12:54 AM, the...@sys-concept.com wrote: My system will not boot. I installed sys-power/acpid and wanted to double check the kernel configuration. I run: genkernel --menuconfig all The ACPI option was enabled so I exit the menu but it started to compile the kernel so I press CTRL-C (to stop it). Upon rebooting the X will not start no root login, just a screen with login: "joseph (none)" I bootstrap the PC and run: genkernel --menuconfig all and finish compiling, and I get a message: - * Kernel compiled successfully! * * --no-bootloader set; Skipping bootloader update ... * * Required kernel parameter: * * root=/dev/$ROOT * * Where $ROOT is the device node for your root partition as the * one specified in /etc/fstab --- What went wrong? Here is my fstab: LABEL=boot /boot vfatnoauto,noatime 1 2 UUID=d32946b3-2236-4998-80dd-68b7d78e0c7b / ext4noatime 0 1 LABEL=swap noneswapsw 0 0 -- Dan Egli From my Test Server
Re: [gentoo-user] system won't boot - --no-bootloader set; Skipping bootloader update ...
On 12/11/2020 03:15 AM, Dan Egli wrote: > you didn't specify grub2 on the command line or (my preference) in > /etc/genkernel.conf. So genkernel assumes you don't want it to fix your > boot loader. If the kernel and ramdisk are all built, you can fix grub's > config with grub-mkconfig -o /boot/grub/grub.cfg. For future kernel > builds, read the paramaters in man genkernel so you know how to specify > the boot loader, or just edit /etc/genkernel.conf and set the bootloader > from none to grub2. > > On 12/11/2020 12:54 AM, the...@sys-concept.com wrote: >> My system will not boot. >> >> I installed sys-power/acpid and wanted to double check the kernel >> configuration. >> I run: genkernel --menuconfig all >> The ACPI option was enabled so I exit the menu but it started to >> compile the kernel so I press CTRL-C (to stop it). >> >> Upon rebooting the X will not start no root login, just a screen with >> login: >> "joseph (none)" >> >> I bootstrap the PC and run: genkernel --menuconfig all >> and finish compiling, and I get a message: >> - >> * Kernel compiled successfully! >> * >> * --no-bootloader set; Skipping bootloader update ... >> * >> * Required kernel parameter: >> * >> * root=/dev/$ROOT >> * >> * Where $ROOT is the device node for your root partition as the >> * one specified in /etc/fstab >> --- >> >> What went wrong? >> >> Here is my fstab: >> LABEL=boot /boot vfat noauto,noatime 1 2 >> UUID=d32946b3-2236-4998-80dd-68b7d78e0c7b / ext4 noatime >> 0 1 >> LABEL=swap none swap sw 0 0 Now, when I boot I get a message: Block device UUID=d32946b3-2236-4998-80dd-68b7d78e0c7b is not a valid root device. I did not change anything in /etc/fstab
[gentoo-user] Re: [gentoo-user] Re: [gentoo-user] Re: [gentoo-user] boot hangs forever at “Loading initial ramdisk...”
On 14/5/21 2:35 pm, John Covici wrote: > On Thu, 13 May 2021 21:58:25 -0400, > John Blinka wrote: >> [1 ] >> On Thu, May 13, 2021 at 9:12 PM Jack >> wrote: >> >>> Given you say the UUID is for the boot partition, then both the linux and >>> initrd should just have the name of the kernel and initrd files (without >>> leading "/boot",) which sounds like what you've got. I'd next wonder if >>> something is missing from the kernel/initrd combination, such as a kernel >>> module necessary for some early part of the boot process or a file system >>> (per Dale's suggestion.) Assuming that you ran genkernel after booting a >>> live image and chrooting into the new system, then we know the hardware can >>> boot a good kernel/image combo. Mainly I'm just thinking out loud here, >>> trying to coax someone's little gray cells into action. >>> >> In my early linux days, I thought it would be clever to include kernel >> support for my root filesystem in a module. Whose code resided on the root >> filesystem... That didn’t work, of course, but at least the kernel started >> to boot and threw out an error message. Here, I just get complete >> silence. So, I doubt that file system support is an issue. >> >> John > I would look in the grub.cfg and give us exactly what is in the stanza > you are using, including where it thinks the root file system is, > etc. Also, see if there is any genkernel option to get some debugging > info out of the initrd, I know using dracut you can get breakpoints > during the process and see how its doing. > Try https://wiki.ubuntu.com/DebuggingKernelBoot ... I am not sure genkernel uses that exact name but I did need to find the initramfs boot log to diagnose a failure in a genkernel initramfs at one time. BillK
Re: [gentoo-user] why do I need cargo to make an initramfs?
On 5/14/22 12:52, Stefan Schmiedl wrote: Samstag, 14. Mai 2022 11:37: I don't get it. Why should something built with rust require a boot packaging tool that also requires rust? That's like saying, if a facility has a python component, the whole facility needs to be distributed with pip. Can anyone tell me where the initramfs staging area or configuration file is? How are you building your initramfs? dracut, genkernel, other? Are you sure that cargo is going to be included in the initramfs and not just required to build it? s. Well, I'm not, that's what I'm trying to do. But I'd like to do it the way I've done it for years rather using some new facility. Can genkernel do it? I built my kernel just now according to https://wiki.gentoo.org/wiki/Kernel/Upgrade, as I always have. Maybe I should start over and use genkernel? Okay, I see genkernel has a initramfs action. I'll try that. It probably uses cargo under the hood. SMH. Building an initramfs isn't all that difficult once you know what's got to go into it. Are we gratuitously adding dependencies? We should strive to keep things simple.
Re: [gentoo-user] Re: Slightly corrupted file systems when resuming from hibernation
On 4/16/24 7:15 AM, Michael wrote: On Tuesday, 16 April 2024 11:55:20 BST Dale wrote: If you update often, it shouldn't take long answer the questions. If you do like me and don't update often, it may take longer but no more time than it would if you updated often and added all the time together. As far as I know, if one manually updates their kernel, make oldconfig is the safest and recommended method. You are prompted for new drivers/options and can see if they apply to you or not. If you don't want to update that way, I think there is a kernel that does it's own thing. I think it is sort of like boot media uses. If the time needed to answer all the questions isn't there, that may be a option to look into. It's called genkernel. I've never used it but read it works. The sys-kernel/genkernel package will automatically build & install your kernel and initramfs in /boot, but it will NOT prepare a kernel configuration tuned to your hardware and desired options. It uses a generic default configuration safe for most circumstances. The user can tweak the default configuration to suit their needs and genkernel will use that. I manually run make xconfig (after running make olddefconfig) and have genkernel set to not use it's default config, sticking to the .config in the kernel tree (/usr/src/linux.) That's been working fine for me for many years.
Re: Re: [gentoo-user] /dev/sda* missing at boot
On Fri, Aug 19, 2011 at 9:12 AM, fra...@gmail.com wrote: Em 19/08/2011 07:09, Mick michaelkintz...@gmail.com escreveu: On Friday 19 Aug 2011 03:27:23 Mark Knecht wrote: On Thu, Aug 18, 2011 at 11:59 AM, fra...@gmail.com wrote: Hi, guys It is a shame, I know, but after several years using Gentoo, it is the first time I try to build a kernel without genkernel. And now I can't boot to that new kernel, it does not find (and really do not have a) /dev/sda* root partition (real-root); during the boot it stops, complaining about that, gives me the option to get a shell, from which I am able to see that there is no /dev/sda* . I have included everything SATA, so it looks like that is not a kernel problem, but a initramfs issue, I guess. What am I missing? Thanks a lot Francisco P.S.: my boot partition is sda2, sda3 is a swap partition, and everything else is in sda4. sda1 is not used (up to now) and this is my grub.conf : title Gentoo Linux 2.6.39-gentoo-r3 root (hd0,1) kernel /boot/kernel-genkernel-x86_64-2.6.39-gentoo-r3 ro root=/dev/ram0 init=/linuxrc real_root=/dev/sda4 vga=0x318 video=uvesafb:1024x768-32 nodevfs udev devfs=nomount quiet CONSOLE=/dev/tty1 initrd /boot/initramfs-genkernel-x86_64-2.6.39-gentoo-r3 Maybe I'm missing the obvious here but have you taken a copy of whatever config file was used/generated by genkernel and used that as a jumping off point for building your own kernel. kernel's a kernel's a kernel. What it is capable of doing is in the .config file. If genkernel doesn't give you a .config file - I've never used genkernel so I don't know what it does - then assuming you have the feature turned on you can get the running config using zcat /proc/config.gz. Save that to a new .config file, put it in the kernel source directory and you should be good to go. You can also use zcat /proc/config.gz on the install CD kernel if yuo boot from that. Save it to a disk and use it as the basis for creating your own config. If you no longer use genkernel it is likely that you do not need an initram. Build chipset and fs modules into the kernel. Other drivers you can choose if you want to build as modules. I the case I don't need a initram, I guess that the grub line for parameter passing to the kernel would be empty. Am I wrong? I was just looking on how to build my own initram. What is it supposed to do anyway? The initramfs is a container for modules and stuff need to bring up the system before the mounts of / and /boot.If all the drivers are built-in to the kernel (or at least the minimum required drivers are built-in) then the initramfs isn't necessary. Passing parameters to the kernel is a different issue entirely. My grub.conf line is: kernel /vmlinuz-3.0.3-gentoo root=/dev/sda2 pata_it821x.noraid=1 with the pata_it821x driver built-in for the kenel to find a set of older IDE drives on the IT8212 card I have installed. IIRC the initramfs is built with the mkinitrd command. I haven't had to use it so I could be wrong.
Re: [gentoo-user] genkernel vs kernel manual compilation
On 8/30/07, Volker Armin Hemmann [EMAIL PROTECTED] wrote: On Donnerstag, 30. August 2007, Arnau Bria wrote: Hi, I used genkernel for compiling kernel in my home server. Yesterday I wanted to compile a new kernel, but this time by hand, so I did: 1.-) moved config.gz to .config in new /usr/src/linux link yeah, that won't work - gunzip it first. 2.-) make oldconfig 3.-) make all make modules_install make all modules_install install 4.-) mkinitrd initrm.2.6.21 2.6.21-gentoo-r4 why not compile everything needed for boot into the kernel? you could skip this step?. 5.-) Edited menu.lst (just copied genkernel entry and modified to my new bzimage and initram files) menu.lst with vmlinuz and vmlinuz.old is all what you need, when you use make install and don't use an initrd. but my new kernel did not start, and gave me a kernel panic... what type of panic? root fs not found? So I wonder what differences could be between my compilation and genkernel one... I don't know - but I know that genkernel's config sucks. Why do you say that? I've been using genkernel for a long time and never had any problems at all. In fact it has proven to be totally compatible, you just have to use the menuconfig option and tune the kernel config just as you would do with the normal compiling, except it is only one command... I use initrd because I love my gensplash. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Boot situation
Benno Schulenberg wrote: Colleen Beamer wrote: 5) I did the step: zcat /proc/config.gz /usr/share/genkernel/x86/kernel-conf-2.6 This grabs the configuration from the running kernel (the one from the CD you booted from), not the configuration you may have had earlier on the system you chrooted into. Did you tweak that earlier configuration? Do you have a backup of that config somewhere? I doubt that it grabs the kernel running from the CD, 'cause when I run 'genkernel --menuconfig all' the kernel config that is brought up does *not* have any AMD stuff in it. I removed that from the kernel because I don't have an AMD system. In this process, I followed the relevant steps in the Handbook, but I *didn't* emerge any software. For instance, I didn't emerge genkernel or gentoo-sources because they are already on the hard drive. I can try re-emerging these to see if it will help. I will point out the /usr/src/linux symlink points to the right sources. The ran 'genkernel --menuconfig all' Does this also install the kernel onto the /boot partition? (Just asking, as I don't know genkernel.) Are name and version numbers in /boot/grub/menu.lst exactly the same as the kernel and initrd stored in /boot? I'll check this. Output from e2fsck for /dev/sda3 is: It said /dev/sda3 was not cleanly unmounted, check forced? If you run the same command again, is /dev/sda3 now clean? Yes. Although the fstab and grub.conf are exactly what they were before hitting that damned Media Direct button. But since then a new kernel source tree might have been installed, which you might not have compiled and installed yet. No, I use gentoo-sources and I have the latest stable version. I did an emerge --sync and the an emerge --pretend --update --deep world in the chroot'd environment and the list of files returned did not include an updated gentoo-sources ebuild Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] udev recent genkernel + gentoo-sources
Dmitry S. Makovey wrote: I recently updated portage tree kernel and using usual genkernel --menuconfig --save-config all produced unbootable system :( Symptoms point most probably to udev being used by default etc. Here's what I have in grub.conf: title Gentoo linux (updated) root (hd0,0) kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n root=/dev/ram0 real_root=/dev/hda11 init=/linuxrc video=vesafb:[EMAIL PROTECTED] splash=verbose gentoo=nodevfs udev devfs=nomount initrd /initramfs-genkernel-x86-2.6.12-gentoo-r4n I've tried to follow those: http://www.gentoo.org/doc/en/udev-guide.xml http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html http://gentoo-wiki.com/HOWTO_Migrate_to_UDEV http://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ But it doesn't look like it applies to my case or maybe I jumped too far ahead and udev is not fully supported yet? Well, udev is most definitly supported, since as of 2.6.12 devfs has been officially removed from the kernel. Ok, technically only the config option was removed, but you can expect that 2.6.13 will be released without any devfs at all. Here's what I get booting (I'm writing it from memory mostly so don't think it's exact output): -install: applet not found /init: 41: ln: not found /init: 45: cat: not found It looks to me like your /initramfs is completely screwed. Whatever created that missed copying a bunch of necessary utilities (or more likely, a dependant library) to the /initramfs. The /init messages you see are almost certainly from the /init script in the initramfs. Every line indicates it went to run a command, and either the command or a library wasn't found. I'm with Aj here...you need to skip genkernel and configure a kernel from scratch. Compile everything you need to boot (disk drivers, root filesystem driver, etc) into the kernel statically (not as a module!). Then get rid of the initrd line in grub, lose the real_root=, init=, splash=, gentoo=, and devfs= options on the kernel command line, and change the root= option to root=/dev/hda11. What a freakin' mess! -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] kernel panic on manually built kernel
On 11/04/2010 12:52 PM, Alan McKinnon wrote: Apparently, though unproven, at 18:34 on Thursday 04 November 2010, dhk did opine thusly: I've always used the genkernel, but now am trying to make a manual one. I think the kernel is alright since all the default setting seemed reasonable and the build was easy enough. However, when I boot to it I get a kernel panic and it complains about the root device /dev/hda3. So I think the problem has to do with my parameters or syntax in grub.conf. Below are three grub menu options. The first two have the problem and the third is the genkernel that works fine. Is there something wrong with the way the first two are? Thanks. Why did you think it a good idea to NOT post the *actual* error? Your grub entries are correct. I'll bet money that you built one or more of your chipset drivers, libata, or root filesystem driver as a module. These must not be modules, they must be built-in (otherwise you need an initrd) # This is a Manually built kernel with default settings. kernel panic title Gentoo Linux x86 2.6.34-r12 root (hd0,0) kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3 # This is a Manually built kernel with default settings. kernel panic title Gentoo Linux x86 2.6.34-r12 root (hd0,0) kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3 vga=791 splash=verbose video=vesafb:mtrr,ywrap udev # From Documentation: video=uvesafb:mtrr:3,ywrap,1024x768...@85 # This a genkernel and works title Gentoo Linux x86 2.6.34-r6 root (hd0,0) kernel /boot/kernel-genkernel-x86_64-2.6.34-gentoo-r6 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 vga=791 splash=verbose video=vesafb:mtrr,ywrap udev initrd /boot/initramfs-genkernel-x86_64-2.6.34-gentoo-r6 --dhk Thanks all, I check those suggestions and get back to you. The reason I didn't include the exact error is that I can't capture it. I'd have to write it on paper and then reboot to the working kernel. By then it doesn't seem to be in any of the logs. I'll see what I can do about that. Thanks again. --dhk
Re: [gentoo-user] /dev/sda* missing at boot
pk wrote: On 2011-09-09 13:35, Alex Schuster wrote: When I switched to using an initramfs, it was not very complicated. I simply use genkernel. With CLEAN=no and MRPROPER=no, it uses my /usr/src/linux/.config and does not change the kernel options. Then comes genkernel --install --lvm -luks all, and I have kernel and initramfs And for those that like to do without genkernel? Again, adding another layer for things to go wrong. I tried genkernel. All I got was a kernel that wouldn't boot. Heck, it barely even started to boot. The kernel wouldn't even finish loading. After several tries, I put genkernel in the trash. It worked a LOT better there for me. It was out of sight and mind. ;-) I don't get this one. Why do you want to copy an existing /usr partition to another one? He said he wishes to move his /usr to a spare partition (the part about KDE4)... I assume his /usr currently resides on / (or maybe a smaller partition that he cannot easily expand). You hit it, for some reason I put /usr on the root partition without thinking. This is where I am now: rootfs19534436 10693048 8841388 55% / Over half full. When I have a critical partition get over 60%, I start looking for expansion. Moving /usr was my plan but someone stole that from me I guess. Now I got to figure out what I want to do next. Yes, I also feel sorry for guys like Alan. But for us desktop users I think's it's not such a big deal. I'm a desktop and a (personal server) user and I think it's quite a big deal. I want simplicity; adding layers increases complexity. I think it's the same for Dale and most other people objecting to this. To me it's a very big deal (this is a deal breaker, or close to it). I've been using Linux continously since around 1998 (well, I did my first install on my amiga 4000 in 1995 using 9 floppy disks, don't remember the distro) and I've been using (not much administration though) Solaris, AIX and HP-UX since around that time as well (at school at work). It seems some developers are hell bent on inventing Windows all over again (this goes not only for udev but also for Gnome and their supporting libraries)... Best regards Peter K I'm a desktop user to and I'm not liking this one bit. Dale :-) :-)
Re: [gentoo-user] genkernel assistance building initramfs
On Tue, Apr 24, 2012 at 11:35 AM, Dale rdalek1...@gmail.com wrote: Michael Mol wrote: On Tue, Apr 24, 2012 at 11:06 AM, Dale rdalek1...@gmail.com wrote: [snip] I might also add, genkernel is stable and has been for ages. It's been a while since I tried it but the last time I did, it failed miserably. It 'claimed' everything worked fine but when I booted, it failed. I got the old blinky keyboard lights treatment. :/ Just because something isn't marked stable doesn't mean it doesn't work. I would guess that half the stuff on my system as I type, is not stable. That would include all of KDE, portage and related tools plus no telling how many other deps that got pulled in. Oh, certainly. Sometimes, I have to unmask packages (or versions thereof) because I know of upstream fixes I want or need. As a general rule, though, I avoid doing it unless I have specific, strong and compelling need. This could be one of those times. The trouble I ran into became clear later on. I had tried to build a init thingy that was built into the kernel. It didn't work right so I left it behind. Thing is, I forgot to disable that in the kernel config. So, I was building a kernel with a broken init thingy and telling grub to use the init thingy built by dracut. Can you imagine the fist fight that was being had? I followed the thread; there's very little on this list I don't read, or at least skim. :) I type all that to say this, unmask dracut, run dracut, add the init thingy to your grub line. I'm more sure that it will work than I am of genkernel. I'm pretty stubborn, and I tend to follow a depth-first search algorithm while debugging, backtracking only when I hit a dead end. It can take me longer than, say, a distro-hopper, but I like that I come out with a better understanding of whatever it is I've been banging my head on. The genkernel docs say that if static versions of the requisite packages don't exist, it will build them. If adding the 'static' USE flags under /etc/portage/package.use fixes this use case of genkernel, then I've got a valid bug to report, and the thing can get fixed. -- :wq
[gentoo-user] grub2 or kernel config - unable to properly boot
Hi, After a few solved problems, I am still unable to completely boot using grub:2, and now I just can't find anything else to fiddle with. So I would really appreciate if someone could take a look at my configuration: - system is amd64; - hard disk partitioning: - two first primary partitions, unused (for now); - third (/dev/sda3) is /boot partition, kernel built and in place; - extended partition as fourth partition; - logical partition (/dev/sda5) is / linux partition, ext4 formated; - emerged the following, before building kernel; - genkernel ; - media-gfx/splashutils-1.5.4.4-r1; - media-gfx/splash-themes-gentoo-20101212-r1 ; - sys-apps/v86d-0.1.10; - genkernel command line: genkernel all \ --color --menuconfig --splash=natural_gentoo \ --splash-res=1024x768,1280x1024,1366x768,1440x900 \ --mountboot --install --unionfs --real-root=/dev/sda5 \ --ramdisk-modules --postclear - kernel built with: - CONFIG_FB_UVESA=y - CONFIG_INITRAMFS_SOURCE=/usr/share/v86d/initramfs - CONFIG_EXT4_FS=y - CONFIG_EXT4_FS_POSIX_ACL=y - CONFIG_EXT4_FS_SECURITY=y - grub2 defaults (/etc/defaults/grub2) only difference from original: GRUB_CMDLINE_LINUX=init=/linuxrc real_root=/dev/sda5 video=uvesafb,mtrr:3,ywrap splash=silent,fadein,theme:natural_gentoo nodevfs udev devfs=nomount CONSOLE=/dev/tty1 quiet - sample extract from grub:0 config file, used in a working (a bit older) system: title=Gentoo Linux (3.8.13-gentoo) root (hd0,1) kernel /boot/kernel-genkernel-x86_64-3.8.13-gentoo ro root=/dev/ram0 \ init=/linuxrc real_root=/dev/sda4 vga=791 splash=silent,theme:natural_gentoo \ console=tty1 verbose nodevfs udev devfs=nomount CONSOLE=/dev/tty1 quiet initrd /boot/initramfs-genkernel-x86_64-3.8.13-gentoo Now the boot stops showing the messages (after the Tux logos appeared): Can't open cfg file //etc/splash/natural_gentoo/640x480.cfg No verbose picture specified in the theme No silent picture specified in the theme No verbose picture specified in the theme Can't open cfg file //etc/splash/natural_gentoo/640x480.cfg No verbose picture specified in the theme No silent picture specified in the theme !! Block device /dev/sda5 is not a valid root device The last line explains the ones preceding it. Any hints on where to look at? Thanks Francisco
Re: [gentoo-user] Rear & Genkernel
Hi Alan, Thanks for the reply. First attempt at install was using emerge. This installs version 1.17.1. This didn't work, so I removed it, and installed version 2.00 from Git, in an attempt to fix the problem. BOTH produce the same error - unable to find a kernel due to the naming issue described previously. So firstly I need to know whether Genkernel is incorrectly naming the kernel, or whether Rear is looking for the wrong name. Cheers, Phil On 6 March 2017 at 22:25, Alan McKinnon <alan.mckin...@gmail.com> wrote: > On 06/03/2017 23:55, White, Phil wrote: > > Hi, > > > > I'm not sure if this needs submitting as a bug, or if I just need a > > little help in configuring... > > > > I have set up a new install of Gentoo. I use genkernel to create my > > kernel and initrd. > > The resulting /boot directory gives: > > kernel-genkernel-x86-4.9.6-gentoo-r1 > > > > My chost is i686-pc-linux-gnu. > > > > Now, I also have installed rear (relax-and-recover) v2, from git > > (app-backup/rear is 1.17.1) > > > > Problem: rear is looking for a kernel, and it expects it to be named: > > kernel-genkernel-i686-4.9.6-gentoo-r1 > > Since the name doesn't match, it bails out with an error. (This only > > fails with my i686 machine. Running the same configuration on a 64-bit > > machine works fine) > > > > Question: How am I going to fix this? I don't want to hard code anything > > in the config file, as this will break when I update the kernel... Is > > this a 'bug'? > > > Please clarify what version of rear has this problem, and how you > installed it. > > Either way, from the problem description one can see that rear needs > patching, however: > > If it was installed by ortage from an ebuild, then you have a bug to be > reported to b.g.o. > > If you installed from git outside of portage, the you get to patch rear > yourself > > Or, perhaps a third option. Does rear have a config file where you can > define the naming template for the kernel used? (I don't use rear and > can't be bothered googling it, the idea just occurred to me) > > > -- > Alan McKinnon > alan.mckin...@gmail.com > > >
Re: [gentoo-user] How to fix license error during install?
On Fri, 20 Mar 2020 21:16:10 -0400, Jeffrey Walton wrote: > > Hi Everyone, > > I'm having trouble installing Gentoo in a Virtual Box VM for testing. > It is a x86_64 guest. I selected a hardened profile to test PaX, which > means I selected 18 in 'eselect profile'. > > I'm at "Configuring the Linux kernel" in the Handbook > (https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Alternative:_Using_genkernel). > The part "emerge --ask sys-kernel/gentoo-sources" seems OK and does > not report errors. The genkernel part fails. > > The specific error is: > > $ LICENSE_ACCEPT="*" emerge --ask --autounmask-write > sys-kernel/genkernel 2>&1 | tee kernel.txt > $ cat kernel.txt > > * IMPORTANT: 6 config files in '/etc/portage' need updating. > Calculating dependencies * See the CONFIGURATION FILES and > CONFIGURATION FILES UPDATE TOOLS > * sections of the emerge man page to learn how to update config files. > ... done! > [ebuild N ] app-arch/cpio-2.12-r1 USE="nls" > [ebuild N ] sys-kernel/linux-firmware-20200316 > USE="redistributable -initramfs -savedconfig (-unknown-license)" > [ebuild N ] sys-kernel/genkernel-4.0.4 USE="firmware (-ibm)" > > The following license changes are necessary to proceed: > (see "package.license" in the portage(5) man page for more details) > # required by sys-kernel/genkernel-4.0.4::gentoo[firmware] > # required by genkernel (argument) > =sys-kernel/linux-firmware-20200316 linux-fw-redistributable no-source-code > > Autounmask changes successfully written. > > * IMPORTANT: 7 config files in '/etc/portage' need updating. > * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS > * sections of the emerge man page to learn how to update config > files.Here is the > > Here is the portage(5) man page: > https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html. Here > is the part about package.license: > > This will allow ACCEPT_LICENSE (see make.conf(5)) to be augmented > for a single package. > > Format: > > - comment lines begin with # (no inline comments) > - one DEPEND atom per line followed by additional licenses or groups > > Removing LICENSE_ACCEPT="*" and --autounmask-write does not help. > > The information provided in portage(5) and package.license leaves a > lot to be desired. > > What is the problem and how do I fix it? > Well, you need to change your config files as portage asked you to do before proceeding. There are several utilities to do that, I use etc-update, but there are several others. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com
[gentoo-user] How to fix license error during install?
Hi Everyone, I'm having trouble installing Gentoo in a Virtual Box VM for testing. It is a x86_64 guest. I selected a hardened profile to test PaX, which means I selected 18 in 'eselect profile'. I'm at "Configuring the Linux kernel" in the Handbook (https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Alternative:_Using_genkernel). The part "emerge --ask sys-kernel/gentoo-sources" seems OK and does not report errors. The genkernel part fails. The specific error is: $ LICENSE_ACCEPT="*" emerge --ask --autounmask-write sys-kernel/genkernel 2>&1 | tee kernel.txt $ cat kernel.txt * IMPORTANT: 6 config files in '/etc/portage' need updating. Calculating dependencies * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS * sections of the emerge man page to learn how to update config files. ... done! [ebuild N ] app-arch/cpio-2.12-r1 USE="nls" [ebuild N ] sys-kernel/linux-firmware-20200316 USE="redistributable -initramfs -savedconfig (-unknown-license)" [ebuild N ] sys-kernel/genkernel-4.0.4 USE="firmware (-ibm)" The following license changes are necessary to proceed: (see "package.license" in the portage(5) man page for more details) # required by sys-kernel/genkernel-4.0.4::gentoo[firmware] # required by genkernel (argument) =sys-kernel/linux-firmware-20200316 linux-fw-redistributable no-source-code Autounmask changes successfully written. * IMPORTANT: 7 config files in '/etc/portage' need updating. * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS * sections of the emerge man page to learn how to update config files.Here is the Here is the portage(5) man page: https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html. Here is the part about package.license: This will allow ACCEPT_LICENSE (see make.conf(5)) to be augmented for a single package. Format: - comment lines begin with # (no inline comments) - one DEPEND atom per line followed by additional licenses or groups Removing LICENSE_ACCEPT="*" and --autounmask-write does not help. The information provided in portage(5) and package.license leaves a lot to be desired. What is the problem and how do I fix it?
Re: [gentoo-user] How to fix license error during install?
On Fri, Mar 20, 2020 at 10:16 PM John Covici wrote: > > On Fri, 20 Mar 2020 21:16:10 -0400, > Jeffrey Walton wrote: > > > > Hi Everyone, > > > > I'm having trouble installing Gentoo in a Virtual Box VM for testing. > > It is a x86_64 guest. I selected a hardened profile to test PaX, which > > means I selected 18 in 'eselect profile'. > > > > I'm at "Configuring the Linux kernel" in the Handbook > > (https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Alternative:_Using_genkernel). > > The part "emerge --ask sys-kernel/gentoo-sources" seems OK and does > > not report errors. The genkernel part fails. > > > > The specific error is: > > > > $ LICENSE_ACCEPT="*" emerge --ask --autounmask-write > > sys-kernel/genkernel 2>&1 | tee kernel.txt > > $ cat kernel.txt > > > > * IMPORTANT: 6 config files in '/etc/portage' need updating. > > Calculating dependencies * See the CONFIGURATION FILES and > > CONFIGURATION FILES UPDATE TOOLS > > * sections of the emerge man page to learn how to update config files. > > ... done! > > [ebuild N ] app-arch/cpio-2.12-r1 USE="nls" > > [ebuild N ] sys-kernel/linux-firmware-20200316 > > USE="redistributable -initramfs -savedconfig (-unknown-license)" > > [ebuild N ] sys-kernel/genkernel-4.0.4 USE="firmware (-ibm)" > > > > The following license changes are necessary to proceed: > > (see "package.license" in the portage(5) man page for more details) > > # required by sys-kernel/genkernel-4.0.4::gentoo[firmware] > > # required by genkernel (argument) > > =sys-kernel/linux-firmware-20200316 linux-fw-redistributable no-source-code > > > > Autounmask changes successfully written. > > > > * IMPORTANT: 7 config files in '/etc/portage' need updating. > > * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS > > * sections of the emerge man page to learn how to update config > > files.Here is the > > > > Here is the portage(5) man page: > > https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html. Here > > is the part about package.license: > > > > This will allow ACCEPT_LICENSE (see make.conf(5)) to be augmented > > for a single package. > > > > Format: > > > > - comment lines begin with # (no inline comments) > > - one DEPEND atom per line followed by additional licenses or groups > > > > Removing LICENSE_ACCEPT="*" and --autounmask-write does not help. > > > > The information provided in portage(5) and package.license leaves a > > lot to be desired. > > > > What is the problem and how do I fix it? > > > > Well, you need to change your config files as portage asked you to do > before proceeding. There are several utilities to do that, I use > etc-update, but there are several others. Thanks John. The Handbook does not say to make any configuration changes. That seems safe to me since I have no idea what changes to make. Jeff
Re: [gentoo-user] kernel panic - not syncing: VFS: unable to mount root fs on unknown-block (0, 0)
On Wed, Nov 25, 2020 at 12:15 PM wrote: > > On 11/25/2020 02:50 AM, Michael wrote: > > On Wednesday, 25 November 2020 06:30:05 GMT the...@sys-concept.com wrote: > > > >> On 11/24/2020 10:08 PM, the...@sys-concept.com wrote: > >>> I'm getting a kernel panic when booting a new system. > >>> > >>> kernel panic - not syncing: VFS: unable to mount root fs on unknown-block > >>> (0,0) > >>> > >>> fstab: > >>> LABEL=boot /boot vfat > > noauto,noatime1 2 > >>> root=UUID=d32946b3-2236-4998-80dd-68b7d78e0c7b / > > ext4noatime 0 1 > >>> LABEL=swap noneswap > > sw0 0 > >>> > >>> I even use: emerge --ask sys-kernel/genkernel > >>> genkernel all > >>> > >>> So all the driver are compile-in (nothing should be missing) > >>> > >>> ls -al /boot/vmlinu* /boot/initramfs* > >>> -rwxr-xr-x 1 root root 11221820 Nov 24 21:30 > >>> /boot/initramfs-5.4.72-gentoo-x86_64.img -rwxr-xr-x 1 root root 9036672 > >>> Nov 24 10:56 /boot/vmlinuz-5.4.72-gentoo -rwxr-xr-x 1 root root 8513920 > >>> Nov 24 21:18 /boot/vmlinuz-5.4.72-gentoo-x86_64 > >> This problem is solved, it seems to me I was booting old kernel. > >> Removing old kernel and re-running: > >> grub-mkconfig -o /boot/grub/grub.cfg > >> > >> Solved the problem. > > > > Glad you got your new disk booting. > > > > Worth mentioning your fstab syntax is not entirely correct. According to > > 'man > > fstab' you can specify a device with LABEL=, as long as you have set > > up a filesystem label with e.g. mkfs, or tune2fs. So, your "LABEL=boot" is > > correct. > > > > UUID on the other hand is meant to be specified like so: > > > > UUID= > > > > In your case it would be: > > > > UUID=d32946b3-2236-4998-80dd-68b7d78e0c7b > > > > instead of it being preceded by "root=". > > The "genkernel all" is working but I need to find out which option is it > that allow booting the drive. The genkernel.conf is different from > standard kernel .config > > Removing options from genkernel is not easy. With most initramfs you just pass root=UUID=foo on the kernel command line. In the past genkernel has been quirky - I use dracut and you'd definitely just use root=UUID=foo there. -- Rich
[gentoo-user] 7. Configuring the Kernel
I'm currently getting error 15 from GRUB, of the Code Listing 4.2: Grub Output - Booting an Entry variety. I can boot into either Gentoo or Fedora, but not into Gentoo with the new kernel. The Gentoo doc's say to First, verify that the root and setup lines you have used are correct. I don't know how to verify that the root and setup lines are correct. The only difference between entries for the two Gentoo kernels are the kernels specified in GRUB. The /boot/ partition would look to be (hd1,0) and the root partition would look to be /dev/ hdb3; at a minimum these work for the genkernel so should work for the new kernel. Perhaps it's a naming convention? I gave the kernel a name meaningful to me, not knowing what other name to give it version wise. I can always recompile the kernel if necessary. Could it be a modules issue? I didn't understand that step of configuring the kernel. However, it might be something else, as it would seem to me that it would still at least *start* to boot and not give this particular error: Code Listing 4.2: Grub Output - Booting an Entry Booting 'gentoo Linux' root (hd0,0) Filesystem type is ext2fs, partition type 0x83 kernel (hd0,0)/boot/kernel-2.4.20 root=/dev/hda3 vga=792 Error 15: File not found Press any key to continue... although some of the particulars are different. Here's what I have so far: arrakis ~ # arrakis ~ # cat /boot/grub/grub.conf default 0 timeout 30 splashimage=(hd1,0)/grub/splash.xpm.gz title=Gentoo Linux with ALSA root (hd1,0) kernel /kernel-has-alsa root=/dev/hdb3 title=Gentoo Linux root (hd1,0) kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hdb3 initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5 title Fedora (2.6.21-1.3228.fc7) root (hd0,1) kernel /vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.21-1.3228.fc7.img arrakis ~ # arrakis ~ # cat /boot/grub/grub.conf.1 default 0 timeout 30 splashimage=(hd1,0)/grub/splash.xpm.gz title=Gentoo Linux root (hd1,0) kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0 init=/ linuxrc ramdisk=8192 real_root=/dev/hdb3 initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5 title=Gentoo Linux 2 root (hd1,0) kernel /kernel-has-alsa root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hdb3 initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5 title Fedora (2.6.21-1.3228.fc7) root (hd0,1) kernel /vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.21-1.3228.fc7.img arrakis ~ # arrakis ~ # arrakis ~ # ll /boot/ total 11033 -rw-r--r-- 1 root root 980149 Apr 21 2007 System.map-genkernel- x86-2.6.19-gentoo-r5 lrwxrwxrwx 1 root root 1 Jul 26 02:45 boot - . drwxr-xr-x 2 root root1024 Nov 17 01:21 grub -rw-r--r-- 1 root root 5455004 Apr 21 2007 initramfs-genkernel- x86-2.6.19-gentoo-r5 -rw-r--r-- 1 root root 2137705 Apr 21 2007 kernel-genkernel-x86-2.6.19- gentoo-r5 -rw-r--r-- 1 root root 2658736 Nov 16 23:52 kernel-with-alsa drwx-- 2 root root 12288 Jul 26 02:36 lost+found arrakis ~ # arrakis ~ # arrakis ~ # mount /dev/hdb3 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) /dev/hdb1 on /boot type ext2 (rw) none on /dev/shm type tmpfs (rw) /dev/mapper/VolGroup00-LogVol00 on /mnt/VolGroup00/LogVol00 type ext3 (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) arrakis ~ # arrakis ~ # cat /etc/gentoo-release Gentoo Base System release 1.12.9 arrakis ~ # arrakis ~ # date Sat Nov 17 03:49:42 PST 2007 arrakis ~ # arrakis ~ # thanks, Thufir -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Nvidia 169.09-r1 problem
the genkernel all alone could work did you modify config file when you use genkernel ? how do you build a kernel else where ? I don't use genkernel, I directly select my option in menuconfig just try like you said, it should work Le Thursday 06 March 2008 12:00:21 Amar Cosic, vous avez écrit : So : cd /usr/src/linux cp ../linux-`uname -r`/.config genkernel all ?? Thanks On Thu, Mar 6, 2008 at 11:42 AM, cypherstrong [EMAIL PROTECTED] wrote: ok just use your genkernel with the new kernel, and let's go Le Thursday 06 March 2008 11:30:43 Amar Cosic, vous avez écrit : Thanks for your answer. I use genkernel for kernel caompiling. Is this changing anything? Do I have to change grub.conf then .. ? On Thu, Mar 6, 2008 at 11:14 AM, cypherstrong [EMAIL PROTECTED] wrote: Answer is simple: You have upgrade your kernel (gentoo-sources perhaps) with the use symlinks. Here the error : echo ERROR: Kernel configuration is invalid.; \ echo include/linux/autoconf.h or include/config/auto.conf are missing.; \ echo Run 'make oldconfig make prepare' on kernel src to fix it.; \ so, do this : cd /usr/src/linux cp ../linux-`uname -r`/.config . make oldconfig make make modules_install install Now you can emerge nvidia and reboot when success you will boot on new kernel with nvidia module installed Le Thursday 06 March 2008 11:04:31 Amar Cosic, vous avez écrit : On Thu, Mar 6, 2008 at 10:55 AM, cypherstrong [EMAIL PROTECTED] wrote: Le Thursday 06 March 2008 10:51:54 Amar Cosic, vous avez écrit : On Thu, Mar 6, 2008 at 10:48 AM, Neil Bothwick [EMAIL PROTECTED] wrote: On Thu, 6 Mar 2008 10:34:38 +0100, Amar Cosic wrote: I just ran emerge --sync and world and I see nvidia driver update is available. However I have problems emerging it. This is what I got: * ERROR: x11-drivers/nvidia-drivers-169.09-r1 failed. * If you need support, post the topmost build error, Please post the output before this, that contains the actual errors. -- Neil Bothwick If the pen is mightier than the sword, and a picture is worth a thousand words, how dangerous is a fax? I pasted all .. hmm . Here is pastebin link,maybe I missed something http://pastebin.ca/930139 Post the build.log as indicate in log message Hello Here is the link to build .log http://rafb.net/p/s0UMiy64.html signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Nvidia 169.09-r1 problem
It's emerged :D . Thank you very much. Thing is am remote to my mychine so I cannot acctualy see if driver works :). But I gues its gonna be OK. Thanky again On Thu, Mar 6, 2008 at 12:13 PM, cypherstrong [EMAIL PROTECTED] wrote: the genkernel all alone could work did you modify config file when you use genkernel ? how do you build a kernel else where ? I don't use genkernel, I directly select my option in menuconfig just try like you said, it should work Le Thursday 06 March 2008 12:00:21 Amar Cosic, vous avez écrit : So : cd /usr/src/linux cp ../linux-`uname -r`/.config genkernel all ?? Thanks On Thu, Mar 6, 2008 at 11:42 AM, cypherstrong [EMAIL PROTECTED] wrote: ok just use your genkernel with the new kernel, and let's go Le Thursday 06 March 2008 11:30:43 Amar Cosic, vous avez écrit : Thanks for your answer. I use genkernel for kernel caompiling. Is this changing anything? Do I have to change grub.conf then .. ? On Thu, Mar 6, 2008 at 11:14 AM, cypherstrong [EMAIL PROTECTED] wrote: Answer is simple: You have upgrade your kernel (gentoo-sources perhaps) with the use symlinks. Here the error : echo ERROR: Kernel configuration is invalid.; \ echo include/linux/autoconf.h or include/config/auto.conf are missing.; \ echo Run 'make oldconfig make prepare' on kernel src to fix it.; \ so, do this : cd /usr/src/linux cp ../linux-`uname -r`/.config . make oldconfig make make modules_install install Now you can emerge nvidia and reboot when success you will boot on new kernel with nvidia module installed Le Thursday 06 March 2008 11:04:31 Amar Cosic, vous avez écrit : On Thu, Mar 6, 2008 at 10:55 AM, cypherstrong [EMAIL PROTECTED] wrote: Le Thursday 06 March 2008 10:51:54 Amar Cosic, vous avez écrit : On Thu, Mar 6, 2008 at 10:48 AM, Neil Bothwick [EMAIL PROTECTED] wrote: On Thu, 6 Mar 2008 10:34:38 +0100, Amar Cosic wrote: I just ran emerge --sync and world and I see nvidia driver update is available. However I have problems emerging it. This is what I got: * ERROR: x11-drivers/nvidia-drivers-169.09-r1 failed. * If you need support, post the topmost build error, Please post the output before this, that contains the actual errors. -- Neil Bothwick If the pen is mightier than the sword, and a picture is worth a thousand words, how dangerous is a fax? I pasted all .. hmm . Here is pastebin link,maybe I missed something http://pastebin.ca/930139 Post the build.log as indicate in log message Hello Here is the link to build .log http://rafb.net/p/s0UMiy64.html -- Amar Ćosić [EMAIL PROTECTED] [EMAIL PROTECTED] +38761240095 http://www.amar.co.ba
Re: [gentoo-user] Nvidia 169.09-r1 problem [SOLVED]
Great :) It's a pleasure Le Thursday 06 March 2008 12:43:01 Amar Cosic, vous avez écrit : It's emerged :D . Thank you very much. Thing is am remote to my mychine so I cannot acctualy see if driver works :). But I gues its gonna be OK. Thanky again On Thu, Mar 6, 2008 at 12:13 PM, cypherstrong [EMAIL PROTECTED] wrote: the genkernel all alone could work did you modify config file when you use genkernel ? how do you build a kernel else where ? I don't use genkernel, I directly select my option in menuconfig just try like you said, it should work Le Thursday 06 March 2008 12:00:21 Amar Cosic, vous avez écrit : So : cd /usr/src/linux cp ../linux-`uname -r`/.config genkernel all ?? Thanks On Thu, Mar 6, 2008 at 11:42 AM, cypherstrong [EMAIL PROTECTED] wrote: ok just use your genkernel with the new kernel, and let's go Le Thursday 06 March 2008 11:30:43 Amar Cosic, vous avez écrit : Thanks for your answer. I use genkernel for kernel caompiling. Is this changing anything? Do I have to change grub.conf then .. ? On Thu, Mar 6, 2008 at 11:14 AM, cypherstrong [EMAIL PROTECTED] wrote: Answer is simple: You have upgrade your kernel (gentoo-sources perhaps) with the use symlinks. Here the error : echo ERROR: Kernel configuration is invalid.; \ echo include/linux/autoconf.h or include/config/auto.conf are missing.; \ echo Run 'make oldconfig make prepare' on kernel src to fix it.; \ so, do this : cd /usr/src/linux cp ../linux-`uname -r`/.config . make oldconfig make make modules_install install Now you can emerge nvidia and reboot when success you will boot on new kernel with nvidia module installed Le Thursday 06 March 2008 11:04:31 Amar Cosic, vous avez écrit : On Thu, Mar 6, 2008 at 10:55 AM, cypherstrong [EMAIL PROTECTED] wrote: Le Thursday 06 March 2008 10:51:54 Amar Cosic, vous avez écrit On Thu, Mar 6, 2008 at 10:48 AM, Neil Bothwick [EMAIL PROTECTED] wrote: On Thu, 6 Mar 2008 10:34:38 +0100, Amar Cosic wrote: I just ran emerge --sync and world and I see nvidia driver update is available. However I have problems emerging it. This is what I got: * ERROR: x11-drivers/nvidia-drivers-169.09-r1 failed. * If you need support, post the topmost build error, Please post the output before this, that contains the actual errors. -- Neil Bothwick If the pen is mightier than the sword, and a picture is worth a thousand words, how dangerous is a fax? I pasted all .. hmm . Here is pastebin link,maybe I missed something http://pastebin.ca/930139 Post the build.log as indicate in log message Hello Here is the link to build .log http://rafb.net/p/s0UMiy64.html signature.asc Description: This is a digitally signed message part.
[gentoo-user] : [?? Probable Spam] [gentoo-user] : [gentoo-user] how to activate the network
-- : Rumen Yotov [mailto:[EMAIL PROTECTED] : 2005521 14:21 : gentoo-user@lists.gentoo.org : Re: [?? Probable Spam] [gentoo-user] : [gentoo-user] how to activate the network jerry wrote: I am a newbie, and so simply generate the kernel with the command genkernel all without any modification of the .config file. Maybe I should compile the driver into the kernel, but which option corresponds to my eth0 device? I am confused. Thank you. -- : Rumen Yotov [mailto:[EMAIL PROTECTED] : 2005521 12:38 : gentoo-user@lists.gentoo.org : Re: [gentoo-user] how to activate the network jerry wrote: Hi, all Its my first time to setup a gentoo system on my pc. I use genkernel all to build the kernel, but failed to bring up the eth0 device when rebooting. Despite I ran modprobe e100, the ifconfig eth0 reports no such device found. Then what should I do to setup my eth0 device? BTW, following is the output of dmesg|grep e100: Intel(r) PRO/100 Network Driver 3.3.6-k2-NAPI Copyright (c) 1999-2004 Intel corporation Thank you. Hi, Check if e100 is compiled as module or is build-in (the kernel). Run lsmod as root to see available modules and then to load modprobe e100. Have you customized your kernel-config or just used the default one (genkernel). HTH. Rumen Hi, In the beginning suggest not to top-post when replying to a message (unofficial policy here). Never done that (using generic config), i always config my own kernel and genkernel options (when using it ;) Running genkernel --menuconfig --install --udev --bootsplash all, but you may choose less options, just leave '--menuconfig --install all' for the config,compile,install part. Or just manually config/build your kernel (in the docs). The initial config file is taken from /usr/share/genkernel/x86/kernel-config-2.6 and the used/resulting (at the end) config in /etc/kernels/ dir. Think that netcard config is somewhere under Networking options,... - don't be afraid, to get more out of your box you'll have to do some changes yourself, take your time read the help check the options etc. HTH. Rumen Thank you for your advice. So far I've decided to compile the kernel manually and have tried many of those options but in vain. BTW, following is the output of dmesg|grep e100: Intel(r) PRO/100 Network Driver 3.3.6-k2-NAPI Copyright (c) 1999-2004 Intel corporation Does information from these lines not imply the type of my net-card? What else should I do then? Thank you. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Initramfs or move /usr to /, oh my...
Tanstaafl writes: On 2012-03-17 12:11 AM, Bruce Hill, Jr. da...@happypenguincomputers.com wrote: An initramfs which does this is created by =sys-kernel/genkernel-3.4.25.1 or =sys-kernel/dracut-017-r1. If you do not want to use these tools, be sure any initramfs you create pre-mounts /usr. Ok, I have never used genkernel, and have no desire to... I started using it when I encrypted my whole hard drive, so I needed an initramfs. It worked just fine. I had to set MENUICONFIG=yes and CLEAN=no in genkernel.conf, if not I think genkernel generates a new .config which is not what I wanted. genkernel --install --lvm --luks all was all that is needed then. Yes, I read that you don't want to use it, but I thought I'd mention it just in case. I have no idea what dracut is or how to use it... I also did not use that yet. I have a remote system that has /usr on a separate partition. So... How do I find out if I am actually *using* an initramfs right now (I know it is built into the kernel), and I'd say if there is no initrd line in you grub.conf, and no corresponding file in /boot, you don't use one. And you're using Gentoo, where there is no automatic setup of initramfs stuff, so it is highly unlikely you are using one without knowing. If I am not, how do I do this without using genkernel? Is dracut the *only* other option? No, but probably the easiest. Is it easy/trivial to set one up manually? Hmm, not really. I did some experiments, but it was too much work for me, and I decided to use one of the tools (genkernel) that are available. You'd have to create a gzipped cpio archive containing all the needed stuff, binaries, libraries, kernel modules, and an init script which handles everything that needs be done, like mounting /usr. I cannot imagine that gentoo is just going to throw me to the wolves like this without providing *in-depth* instructions on how to make sure my system will boot after this update, like they did with the baselayout-2 update... I'm also wondering. Personally, I have no problem with not having a separate /usr any more, except that I have 3 remote systems that I manage right now that already *have* a separate /usr... On that note - is it possible, and if so, does anyone have any decent detailed How-to's on how I might be able to convert a separate /user to one on directly on / on a running system? Is your root partition large enough? Then just copy the stuff over: mount -o bind / /mnt # makes / available in /mnt, without other # partitions like /usr showing up there cp -a /usr /mnt/ And remove /usr from /etc/fstab before rebooting. If there's not enough space, you need to enlarge the partition. Very easy with LVM, but if you were using it on your root file system, you'd already be using an initramfs. If not, you need to take the machine down anyway and use gparted or something from a live-cd to adjust your partitions. Wonko
Re: [gentoo-user] grub2 or kernel config - unable to properly boot
Hi, Michael, thanks for you reply. Please forgive me for not having mentioned grub2-mkconfig and grub2-install. The mentioned grub.cfg was a sample from a working system, with legacy grub:0, from which I have recovered parts of the kernel command line parameters. After genkernel finished to build the kernel, I've issued: grub2-mkconfig -o /boot/grub2/grub.cfg grub2-install /dev/sda Sorry for this. Francisco 2013/8/26 Michael Hampicke m...@hadt.biz Am 26.08.2013 17:41, schrieb Francisco Ares: Hi, After a few solved problems, I am still unable to completely boot using grub:2, and now I just can't find anything else to fiddle with. So I would really appreciate if someone could take a look at my configuration: - system is amd64; - hard disk partitioning: - two first primary partitions, unused (for now); - third (/dev/sda3) is /boot partition, kernel built and in place; - extended partition as fourth partition; - logical partition (/dev/sda5) is / linux partition, ext4 formated; - emerged the following, before building kernel; - genkernel ; - media-gfx/splashutils-1.5.4.4-r1; - media-gfx/splash-themes-gentoo-20101212-r1 ; - sys-apps/v86d-0.1.10; - genkernel command line: genkernel all \ --color --menuconfig --splash=natural_gentoo \ --splash-res=1024x768,1280x1024,1366x768,1440x900 \ --mountboot --install --unionfs --real-root=/dev/sda5 \ --ramdisk-modules --postclear - kernel built with: - CONFIG_FB_UVESA=y - CONFIG_INITRAMFS_SOURCE=/usr/share/v86d/initramfs - CONFIG_EXT4_FS=y - CONFIG_EXT4_FS_POSIX_ACL=y - CONFIG_EXT4_FS_SECURITY=y - grub2 defaults (/etc/defaults/grub2) only difference from original: GRUB_CMDLINE_LINUX=init=/linuxrc real_root=/dev/sda5 video=uvesafb,mtrr:3,ywrap splash=silent,fadein,theme:natural_gentoo nodevfs udev devfs=nomount CONSOLE=/dev/tty1 quiet - sample extract from grub:0 config file, used in a working (a bit older) system: title=Gentoo Linux (3.8.13-gentoo) root (hd0,1) kernel /boot/kernel-genkernel-x86_64-3.8.13-gentoo ro root=/dev/ram0 \ init=/linuxrc real_root=/dev/sda4 vga=791 splash=silent,theme:natural_gentoo \ console=tty1 verbose nodevfs udev devfs=nomount CONSOLE=/dev/tty1 quiet initrd /boot/initramfs-genkernel-x86_64-3.8.13-gentoo Now the boot stops showing the messages (after the Tux logos appeared): Can't open cfg file //etc/splash/natural_gentoo/640x480.cfg No verbose picture specified in the theme No silent picture specified in the theme No verbose picture specified in the theme Can't open cfg file //etc/splash/natural_gentoo/640x480.cfg No verbose picture specified in the theme No silent picture specified in the theme !! Block device /dev/sda5 is not a valid root device The last line explains the ones preceding it. Any hints on where to look at? Thanks Francisco Have you tried generating a grub2 config file via grub2-mkconfig. You should try that and see if you can boot. Then adjust the configuration to your needs. On first glance, everything in your setup looks the way it's supposed to be, but I suspect your customized grub2 cfg.
Re: [gentoo-user] difficulties with lvm2+systemd+grub2
Michael Mair-Keimberger m.mairkeimber...@gmail.com wrote: Hi List, Today I've started to play around with systemd but so far I couldn't get it to boot. I've followed the how to from the gentoo wiki [1], but I stuck somehow. My configuration: rootfs is on lvm2 (no encryption or raid). I just use it for being able creating snapshot/backups of the running system. Grub is on /dev/sda2 which is a simple ext2 partition with a custom grub.cfg. A Grub entry looks like that: ### menuentry 'gentoo amd64 gnome' { linux /gentoo-3.16.5-n lvm=gentoo_amd64_gnome initrd /initrd.cpio.gz } ### Don't get confused about the lvm flag. This just get passed to my very simple custom initramfs which looks like this: ### #!/bin/busybox sh cmdline() { local value value= $(cat /proc/cmdline) value=${value##* $1=} value=${value%% *} [ $value != ] echo $value } # Mount the /proc and /sys filesystems. mount -t proc none /proc mount -t sysfs none /sys mount -t devtmpfs none /dev lvm vgscan lvm vgchange -ay vg0 lvm vgscan --mknodes # Mount the root filesystem. mount -o ro /dev/mapper/vg0-$(cmdline lvm) /mnt/root # Clean up. umount /proc umount /sys umount /dev # Boot the real thing. exec switch_root /mnt/root /sbin/init ### So far this works great for me. However, with systemd I had some difficulties how to correctly configure the system and grub2 in order to boot with systemd. This is what i did so far: For systemd i've created a new initramfs with genkernel and changed the grub config like the following entry: ### menuentry 'gentoo amd64 gnome systemd' { linux /gentoo-3.16.5-n root=UUID=1eb94a2b-40d7-4556-9102-0320efd04adc init=/usr/lib/systemd/systemd initrd /initramfs-genkernel-x86_64-3.16.5-gentoo } ### Systemd installation went without problems (it's a base system without any wm's installed atm), but even though the grub2 changes were quite easy and I've used the genkernel initramfs instead of mine I still get a kernel panic on boot (have a look at the attached picture). I've also checked the kernel config for having the required systemd configurations enabled. Anyone has some ideas what might be wrong? Furthermore I've also have some questions about lvm2+systemd. Hope someone can give me some answers :) First of all, with systemd installed I can't install lvm2 with the static use flag anymore, which is mandatory for being able using it for a initramfs. Why isn't that possible? How can I use the lvm binaries for my initramfs? This lead me to my second question. At the wiki, the only way to create an initramfs for systemd was with genkernel (genkernel --udev --lvm). While the command itself is pretty useless (it's `genkernel --udev --lvm initramfs` if you want to create the initramfs - is this a bug??) i also would like to use my own initramfs. What changes do i have to make in my own initramfs for being able booting systemd from it? I would use dracut to generate the initramfs and use rd.lvm.vg= to activate your volume group and specify the init as the exact location of the systemd binary -- then you don't need static or anything, dracut will automatically put in the appropriate libraries, and also check the file systems upon boot. Much better if you need to use systemd. Hope this helps. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] Re: installation failure
On 2015-08-17 17:20, Martin Vaeth wrote: jfmxl jf...@sdf.org wrote: I wrote a coupla days ago, using the guest interface at the website ... I do not know what you mean by guest interface. One right place for your support question would be the gentoo forum Installing Gentoo: https://forums.gentoo.org/viewforum-f-14.html Thanks for the speedy reply. I got to the 'wrong' place by clicking the link to under 'Where to go from here' at https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Finalizing after the machine failed to boot. That led me to https://www.gentoo.org/get-involved/mailing-lists/, where the big, purple, and welcome 'Post to Gentoo User' button caught my eye. It looked inviting, and so I used it. but the kernel failed to mount root. This can have many reasons. More informations are needed. According to this: looked at /etc/fstab, but found a /dev/ram0 and a /proc and nothing like what I'd entered ... you are probably using an initrd which you must have built and entered into grub (or grub2?) somewhere. Are you perhaps using genkernel to build such an initrd? https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Optional:_Building_an_initramfs To install an initramfs, install sys-kernel/genkernel first, then have it generate an initramfs: root #emerge genkernel root #genkernel --install initramfs So yes, that's what I did, apparently. I was working from one enormously long Handbook, and the one I find now is broken into sections, but it looks generally the same. I remembered I had used genkernel only once many years ago, and remember that you have to specify your root filesystem with the kernel parameter real_root=... If you do not use genkernel, you should pass the correct root partition with the kernel parameter root=... In the latter case, be sure that you have the filesystem support as well as the disk processor code compiled into the kernel (i.e. not as a module). Since I installed the whole system to a qemu 'partition' inside a binary file I have no access to what I've done or failed to do. So I guess I'm just out of luck? I guess I will make a real DVD from the .iso and go through the whole drill again on real hardware when I get it set up tomorrow. It is a very long process only to come to ought, though. One more chance is probably my last. that is if I'm not already blackballed for somehow not holding my mouth right. Why do you think that it should be problem to ask a support question, especially in a friendly way? There is no reason to stay anonymous. Well, I pushed the big friendly purple button and sent off my plea for help, and waited and waited, and still have not seen my original post appear on this list. You should remove that button if no one bothers to moderate the posts it generates. The people who push it get their first impression of the 'community' when they are in trouble and are ignored. You know what they say about first impressions. Get rid of that button! Or read and moderate the posts it generates.
Re: [gentoo-user] installation failure
On Mon, 17 Aug 2015, jfmxl wrote: but no joy. When I rebooted the machine I saw the grub and a bunch of initializations whizzed by ... but the kernel failed to mount root. Sounds pretty much like grub is passing the wrong root parameter. I opened a shell and looked at /etc/fstab, but found a /dev/ram0 and a /proc and nothing like what I'd entered ... I'd followed the program in the handbook. Would that be the rescue shell within the initramfs? In that case that's fine, I see the same thing in a genkernel initramfs. When I tried to unmount the /mnt/gentoo (formerly) chroot partition at the end the complaint was that something using it ... I couldn't discover what that was, If you did mount --rbind on sys and dev and then tried to umount than I can tell you I always fail to unmount these properly. Rebooting (software reboot) is fine. after waiting an retrying several times, I just shut the vm down and restarted ... with the result above. Is there any hope of rescuing this? Should be entirely salvageable. Since I installed the whole system to a qemu 'partition' inside a binary file I have no access to what I've done or failed to do. So I guess I'm just out of luck? You can simply reboot the livecd within the VM and just go to the 'chroot` step. You could also mount the binary disk image on the host; depending on what type of image you're using the instructions are both here https://en.wikibooks.org/wiki/QEMU/Images#Mounting_an_image_on_the_host The only thing you're missing is the proper bootloader/initramfs configuration, so go back to this part. To install an initramfs, install sys-kernel/genkernel first, then have it generate an initramfs: root #emerge genkernel root #genkernel --install initramfs So yes, that's what I did, apparently. Without knowing the specifics of your setup, here's the steps I would take to fix it: 1. regenerate genkernel initramfs; you can try to specify a default real_root by executing genkernel --real-root, or in /etc/genkernel.conf. But it seems to me that if the correct root parameter from grub is passed then things should work. 2. grub2-mkconfig again; check the created grub.cfg to see that sane flags are being passed to the kernel. 3. try booting 4. if you don't have a freaky partition setup and the filesystem/block device controller modules are built-into the kernel, you can try to launch the kernel directly from grub-cmdline. Something like set root='hd0,2' linux /boot/vmlinuz-whatever root=/dev/sda4 boot should work (plug in the right partition numbers). This is actually what I would do, initramfs only as a last resort. if these don't work then you still have step 5: 5. generate a dracut initramfs and redo steps 2 and 3. Dracut can generate and save a kernel cmdline within itself which should fix any problems. ... Ill give it another shot, but I won't stick around on this damn list any longer. Seems pretty rash to run away after one email, don't you think?
Re: [gentoo-user] Realtek r8169 realtek.ko not loaded.
Here is one of mine: its part of openrc - if you don't have it you might be using systemd which should have something similar. moriah ~ # cat /etc/conf.d/modules # Linux users can define a list of modules for a specific kernel version, # a released kernel version, a main kernel version or all kernel versions. # The most specific versioned variable will take precedence. # FreeBSD users can only use the modules="foo bar" setting. #modules_2_6_23_gentoo_r5="ieee1394 ohci1394" #modules_2_6_23="tun ieee1394" #modules_2_6="tun" #modules_2="ipv6" #modules="ohci1394" # Linux users can give modules a different name when they load - the new name # will also be used to pick arguments below. # This is not supported on FreeBSD. #modules="dummy:dummy1" # Linux users can give the modules some arguments if needed, per version # if necessary. # Again, the most specific versioned variable will take precedence. # This is not supported on FreeBSD. #module_ieee1394_args="debug" #module_ieee1394_args_2_6_23_gentoo_r5="debug2" #module_ieee1394_args_2_6_23="debug3" #module_ieee1394_args_2_6="debug4" #module_ieee1394_args_2="debug5" # You should consult your kernel documentation and configuration # for a list of modules and their options. modules="forcedeth nouveau" On 17/5/20 7:29 pm, Alexander Puchmayr wrote: > Am Sonntag, 17. Mai 2020, 10:24:00 CEST schrieb William Kenworthy: >> Easiest would be to put it in /etc/conf.d/modules and rebuild the >> initrd. Genkernel picks it up from there. You could also ask genkernel >> to add all built modules to the initrd via its config file. >> > Whats the format of that file? > > Alex > > > >> BillK >> >> On 17/5/20 4:07 pm, Alexander Puchmayr wrote: >>> Hi there >>> >>> I just upgraded an older notebook with r8169 network chip to new kernel >>> 5.4 >>> (sys-kernel/gentoo-sources-5.4.28) with genkernel. >>> After booting the new kernel the network adapter was not initialized, no >>> network interface eth0. >>> Dmesg says >>> [6.390973] r8169 :08:00.0: realtek.ko not loaded, maybe it needs >>> to be added to initramfs? >>> [6.392864] r8169: probe of :08:00.0 failed with error -2 >>> >>> After searching with google I found a thread in the kernel mailing list >>> https://bugzilla.kernel.org/show_bug.cgi?id=204343 >>> The cause is a soft depencency to module realtek.ko, which needs to be >>> loaded first. >>> >>> Doing this manually, i.e. rmmod r8169 && modprobe realtek && modprobe >>> r8169 >>> works fine; network interface eth0 gets configured and is operating. >>> >>> Since the kernel loads the network module before systemd is running, it >>> has to be configured in initrd somehow. >>> So, the final question is, how to get that into initrd with genkernel? >>> I need to add something like this >>> >>> cat /etc/modprobe.d/realtek >>> Softdep r8169 pre: realtek >>> >>> How do I get this into initrd with genkernel-next? >>> >>> Thanks in advance >>> >>> Alex >>> >>> PS >>> Profile: >>> default/linux/amd64/17.0/desktop/plasma/systemd >>> >>> Relevant packages: >>> sys-apps/gentoo-systemd-integration-7 >>> sys-apps/kmod-26-r5 >>> sys-apps/systemd-244.3 >>> sys-kernel/genkernel-next-69 >>> sys-kernel/gentoo-sources-5.4.28 >>> >>> Lspci >>> 08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. >>> RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03) > pEpkey.asc Description: application/pgp-keys
[gentoo-user] emerge consistently 'hangs' on kernel/gentoo-sources
Hi all, I've tried googling and didn't get very far so am afraid this might not be a common thing... Since a number of months, emerge hangs when doing a upgrade as soon as it gets to the package gentoo-sources: Installing (23 of 27) sys-kernel/gentoo-sources-6.1.67::gentoo * If you are upgrading from a previous kernel, you may be interested * in the following document: * - General upgrade guide: https://wiki.gentoo.org/wiki/Kernel/Upgrade * For more info on this patchset, and how to report problems, see: * https://dev.gentoo.org/~mpagano/genpatches WARNING: Will unset existing variable 'TMPDIR' to avoid clashing with genkernel config ... WARNING: Will unset existing variable 'CHOST' to avoid clashing with genkernel config ... * Gentoo Linux Genkernel; Version 4.3.6 * Using genkernel configuration from '/etc/genkernel.conf' ... * Running with options: --kernel-config=/etc/kernels/kernel-config-6.1.19-gentoo-x86_64 all * Working with Linux kernel 6.1.67-gentoo for x86_64 * Using kernel config file '/etc/kernels/kernel-config-6.1.19-gentoo-x86_64' ... * * Note: The version above is subject to change (depends on config and status of kernel sources). * kernel: >> Initializing ... * >> Running 'make mrproper' ... * >> Running 'make oldconfig' ... * >> Kernel version has changed (probably due to config change) since genkernel start: *We are now building Linux kernel 6.1.67-gentoo-x86_64 for x86_64 ... * >> Compiling 6.1.67-gentoo-x86_64 bzImage ... * >> Compiling 6.1.67-gentoo-x86_64 modules ... * >> Installing 6.1.67-gentoo-x86_64 modules (and stripping) ... * >> Generating module dependency data ... * >> Compiling out-of-tree module(s) ... It is consistent every time and at the same point. It has been stuck there for 24 hours now. Pressing Ctrl-C takes me back to the command line with no error indication. Computer load is low, and this is the process tree for emerge: root 19590 0.0 0.0 7916 4264 pts/5S09:15 0:00 | \_ bash root 19936 0.6 1.9 322620 314152 pts/5 SN+ 09:16 1:17 | \_ /usr/bin/python3.11 /usr/lib/python-exec/python3.11/emerge --ask --update --newuse --de ep @world root 8996 0.1 1.8 324220 308860 pts/5 SN+ 09:40 0:20 | \_ /usr/bin/python3.11 /usr/lib/python-exec/python3.11/emerge --ask --update --newuse --deep @world root 9142 0.0 0.0 10892 7148 pts/5SN+ 09:40 0:00 | \_ bash /usr/lib/portage/python3.11/ebuild.sh postinst root 9153 0.0 0.0 10892 5992 pts/5SN+ 09:40 0:00 | \_ bash /usr/lib/portage/python3.11/ebuild.sh postinst root 9196 0.0 0.0 12724 9024 pts/5SN+ 09:40 0:00 | \_ /bin/bash /usr/bin/genkernel --kernel-config=/etc/kernels/kernel-config -6.1.19-gentoo-x86_64 all root 31236 0.0 0.4 71804 67416 pts/5SN+ 10:03 0:00 | \_ /usr/bin/python3.11 /usr/lib/python-exec/python3.11/emerge --ignore -default-opts --buildpkg=n --usepkg=n --quiet-build=y @module-rebuild Anyone has any ideas what might be wrong?
Re: [gentoo-ppc-user] hda/hdc
On Mon, 2007-01-15 at 11:03 +0100, Michael Hanselmann wrote: Yes, netconsole as described in Documentation/networking/netconsole.txt. OK - now I'm really baffled - I've tried again but this time I used genkernel. However, even the genkerneled kernel can't seem to detect my hard drive! This time I was allowed to drop to a shell and the only hd* was hda, my cdrom. The thing that's killing me is that the gentoo boot cd is obviously able to do it, and I even copied the config from that cd over as per the genkernel instructions, still to no avail. Nathan, you mentioned having just installed on a bluewhite - I assume that these machines are enough similar that the config that you used should be good enough to work for me too - do you think you could send me your .config off list so I can try that out? Randy Barlow http://www.electronsweatshop.com The most remarkable thing about my mother is that for thirty years she served the family nothing but leftovers. The original meal has never been found. -- Calvin Trillin -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] hda/hdc
On Mon, 2007-01-15 at 11:37 -0500, Randy Barlow wrote: OK - now I'm really baffled - I've tried again but this time I used genkernel. However, even the genkerneled kernel can't seem to detect my hard drive! This time I was allowed to drop to a shell and the only hd* was hda, my cdrom. The thing that's killing me is that the gentoo boot cd is obviously able to do it, and I even copied the config from that cd over as per the genkernel instructions, still to no avail. Here is another clue that may be found to be interesting by you ppcers - when I boot into the live CD and dmesg, hdc (hard drive) is the last thing to be discovered, and of course happens right after the IDE interface is discovered. I'm wondering why it takes the boot process so long to see my IDE controller... Randy Barlow http://www.electronsweatshop.com The most remarkable thing about my mother is that for thirty years she served the family nothing but leftovers. The original meal has never been found. -- Calvin Trillin -- gentoo-ppc-user@gentoo.org mailing list
Re: [gentoo-ppc-user] hda/hdc
Hello Randy On Mon, Jan 15, 2007 at 11:37:25AM -0500, Randy Barlow wrote: OK - now I'm really baffled - I've tried again but this time I used genkernel. However, even the genkerneled kernel can't seem to detect my hard drive! This time I was allowed to drop to a shell and the only hd* was hda, my cdrom. Can you please post the kernel output, which you gather using netconsole, on an http server? I guess your kernel is missing some option, but I'm not sure which. Did you only check /dev/hd* or also what dmesg said? The thing that's killing me is that the gentoo boot cd is obviously able to do it, and I even copied the config from that cd over as per the genkernel instructions, still to no avail. You copied the actually running config from /proc/config.gz? Greets, Michael -- Gentoo Linux developer, http://hansmi.ch/, http://forkbomb.ch/ pgpKoPuFHS7d8.pgp Description: PGP signature
Re: [gentoo-user] Re: Installing via GRML
On Tue, 2008-01-15 at 14:13 +0100, Michael Schmarck wrote: Grüezi! On Jan 15, 2008 2:05 PM, Dirk Heinrichs [EMAIL PROTECTED] wrote: make menuconfig make make modules_install, maybe? This always works, on any distribution. I still wonder why they all invent their own, special way of compiling a kernel. Nice thing about genkernel (and other such tools in other distributions) is, that they also create an initrd. what about mkinitrd? I suppose the initrd is the driving factor for developing genkernel-like tools. really? -- Iain Buchanan iaindb at netspace dot net dot au Unix gives you just enough rope to hang yourself -- and then a couple of more feet, just to be sure. -- Eric Allman ... We make rope. -- Rob Gingell on Sun Microsystem's new virtual memory. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Creating an initrd for loading...
I'm working on a Sparc system (SunBlade 2000 Desktop Server) that needs an initrd image to load (due to having a QLA 2200 SCSI controller); but I am having some trouble with the initrd image. (I had tried the gentoo-sparc list, but it is slow - I'm not getting responses - and I need to finish this server by Friday. And the issue right now is solely the initrd image.) The problem I am having is that the kernel is complaining about not having the initrd image. I have SILO (sparc equiv of LILO) installed, and have told it of the initrd image, but the kernel doesn't seem to find it. (SILO reports all is well, so I can only assume it is finding the initrd image without a problem.) My main question comes down to this: I am using the 'genkernel' package to build install the kernel and initrd image. Both show up in /boot. How much can I rely on genkernel to build a valid initrd image? How can I mount the initrd image to verify it has the modules, etc. and verify it is a valid image? TIA, Ben -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Update World situation (again)
Denis wrote: And I still think nvidia cards are crap! First, *Denis* did NOT write that Nvidia cards are crap - quite the opposite actually. So don't anybody dare pinning this statement on me in the future replies! ;) Maybe it was some incompatibility with the 2.6.21-r4 kernel (I'm using genkernel, not vanilla sources)?? I have nvidia-drivers-100.14.09 running under kernel 2.6.21-gentoo-r4 (manually configured vanilla sources), on both machines actually, and not a single problem getting those running. I didn't have any special options for nvidia enabled in the kernel either. Usually the main thing is to disable a certain nvidia framebuffer option in the kernel (and perhaps use VESA framebuffer instead), since it conflicts with the nvidia driver, and enable MTRR, if I remember correctly. Nothing else special. I never used genkernel, so I wouldn't be able to say anything about that ;) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] possible MBR corruption?
Am Montag, den 27.08.2007, 11:58 +0100 schrieb Neil Bothwick: On Fri, 24 Aug 2007 22:29:58 +0200, Marc Joliet wrote: Yeah, I should have set noauto the instant I found out about it. Any other recommended mount options? Right now they are defaults,noauto,user_xattr 1 2 The trouble with using noauto is that sooner or later you will forget to mount /boot before installing a new kernel. I prefer to us ro instead, so /boot is mounted read-only. It still removes the possibility of corruption, but gives a clear error if you try to install a kernel without remounting rw. That's why I made a tiny script for Genkernel that does the mounting and unmounting. This also has the advantage of me not having to remember the Genkernel options ;). Alternatively, ditch a separate /boot altogether, it really isn't needed with modern hardware. I use lvm, so that wouldn't yield good results :-/. -- Marc Joliet -- Of course, I could switch back to Windows. At least there, if I have a problem, I don't suffer under the illusion that I could ever fix it. - Unknown (paraphrased) signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
Re: [gentoo-user] genkernel vs kernel manual compilation
On 8/31/07, Steen Eugen Poulsen [EMAIL PROTECTED] wrote: an idiot using it wrong. so viciously done in this thread is nothing but FUD. change is great that it sucks again in the future. Plus it doesn't really make things easier, does it? All the rest of his hate drivel ... made up FUD you see this hate FUD being spread all Please stop using inflammatory language. Everyone. If you must have an argument, start a new thread or take it off list. It's perfectly fine for someone to criticize genkernel, or portage, or a hammer, or a car, or any other tool. It's also fine if you disagree with their criticisms, that's what's so great about a diverse community like gentoo; so many viewpoints. Daniels reply to your post is well said, and a perfectly valid objection to Volker's crticism, words like hate drivel FUD and such are *not*. The authors deserve intelligent feedback on their creations, which can be negative, but not inflammatory. It *really* isn't worth calling each other names, so PLEASE STOP. -- Ryan W Sims -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] A pared down kernel config
On Sat, 2008-01-05 at 19:06 +0200, Alan McKinnon wrote: trial-and-error is probably your best bet. Get it working with a full genkernel setup. Note which modules get used in real life, start removing them in batches and make notes when stuff breaks There's a reason for the existence of genkernel - it's so that you don't have to go through all this pain and suffering, and can instead remove stuff a bit at a time with reasonable confidence it won;t blow up in your face :-) There is a fairly easy trick to get rid of pointless options like unused drivers even if you are not sure about your hardware or the kernel options themselves: Compile them as modules, then boot the new kernel. If the modules don't get loaded (lsmod is your friend) and everything works fine, throw them out of your configuration. signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] Using root=LABEL=xxxx in grub.conf
On 9 Feb 2009, at 10:32, Michael Hampicke wrote: It would appear that you need an initrd/initramfs to use this. Ah! Many thanks. I will live without this shortcut, then, I think. If you, like me, prefere to compile your own kernel, there's still an easy way to create a initrd for your kernel: with genkernel I use this command to compile my pre-configured kernel genkernel --no-clean --no-mrproper \ --makeopts=-j2 --loglevel=5 --install --symlink all To include support for disk labels use the switch --disklabel I am resistant to the idea of using an initrd, because IIRC it's an extra file that has to be stored in /boot, creating extra clutter in there. I'm kinda thinking that using the label prevents failed boots in the event that the drives are recognised in a different order in the future, but nevertheless I don't like initrd and the longer kernel lines in grub.conf that they require. I appreciate this is somewhat irrational. Stroller.
Re: [gentoo-user] Newbie Kernel question.
On Sun, 2009-05-31 at 23:33 -0400, James Homuth wrote: I'm curious as to whether or not, when using genkernel, one still needs to add hardware modules to /etc/modules.autoload.d/kernel-2.6. That depends on the amount of modules genkernel puts in your initrd. Later, when udev starts, it loads more modules, and your hardware should be 99% set up then. But when you notice, that you still need to load even more modules, then these are the only ones that need to go into /etc/modules.autoload.d/kernel-2.6 (as all others have been automatically loaded). So my suggestion is: just try it out, and use modules.autoload.d only for the remaining stuff :) Bye, Daniel -- PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887op=get # gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887 signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
On 2/16/06, Frino Klauss [EMAIL PROTECTED] wrote: On 2/16/06, Holly Bostick [EMAIL PROTECTED] wrote: My impression is that you haven't yet run make install. Can't you use genkernel instead ? Yes, if you want, if you use it with --install it will copy the latest kernel, map and initrd to /boot... I only use genkernel, but of course with --menuconfig. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] fbsplash starting after local and not during boot
On 17 February 2006 11:16, Marco Calviani wrote: Hi Uwe, It makes sure the splash screen start as early as possible (don't forget the quiet option). On my systems, it starts immediately after the kernel and the initrd are loaded. Kernel panic ... hm ... How did you generate your initrd? Maybe, it doesn't contain linuxrc which does all the magic before it hands over to the real init process. i've created the initrd as indicated in the howto mentioned above, that is with: # splash_geninitramfs -g /boot/fbsplash-emergence-1024x768 -v -r 1024x768 emergence Try: genkernel --gensplash=emergence --gensplash-res=1024x768 initrd genkernel puts all those nifty little things in your initrd. You could add --menuconfig if you want to check your kernel options. Look up the exact name of the generated initrd in /boot and adjust your grub entry accordingly. Uwe -- Why do consumers keep buying products they will live to curse? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Advice about setting up split home directory
Quoting Josh Cepek [EMAIL PROTECTED]: Personally I'd suggest using LVM for this ++ 1) ++ 2) ++ 3) You can easily migrate between hard drives while the system is online by moving LV's from one Physical Volume (PV) (eg: a hard disk) to another. --!! Have you ever tried that? I've almost killed both hard drives doing an on-line migration to a bigger HD. I wouldn't recommend it. 4) ++ LVM is worth a look, ++!!! /tmp, but I use tmpfs for that.) It's possible to do LVM on the / partition, but that requires an initrd to work properly. Josh You can use genkernel for that. Just configure your kernel as always, adding initrd features and then: genkernel --lvm [your-options] Easy. Regards, Norberto This message was sent using IMP, the Internet Messaging Program.
[gentoo-user] Add drivers to kernel source?
Hi, Does anyone know how I can add the rtl8180 driver (http://sourceforge.net/project/showfiles.php?group_id=114161package_id=123638release_id=320500 - rtl8180-0.21.tar.gz) to a kernel source, and making it work so I can compile the driver (as module) with for example genkernel? All other drivers I needed to add had a kernel patch, which just had to be run to add the driver to the source (so I can compile the kernel - for use on a live CD - with the driver, with for example genkernel), but this one just contains some source files... I figured that I have to copy the driver to the /drivers/net/wireless folder, and that I have to add some stuff to the Kconfig file, I only don't know what I have to add exactly, and which other files I have to edit. Could anyone please help me? Thanks in advance!!! Jan.
[gentoo-user] Re: make menuconfig
vetrocemento at gmail.com writes: Hi people :) can anyone help me setting the kernel with only the strictly needed modules for the my laptop's hardware? Well, Here is a very basic url to help you get started: http://gentoo-wiki.com/HOWTO_Detailed_Kernel_Configuration There is another method using 'genkernel' but, I would not recommend that (many others will disagree)... I brought up the subject, recently, about this very issue, but it seems no many believe folks need a wiki (which is maintained) related to kernel building that does not involve genkernel. From Gmane.org you can find this tread: From: James wireless at tampabay.rr.com Subject: make oldconfig Newsgroups: gmane.linux.gentoo.user Date: 2008-08-04 21:04:44 GMT (4 weeks, 1 day, 20 hours and 59 minutes ago) It seems your posting validates my previous concerns. (ouch, now that's going to leave a mark) imho, James
Re: [gentoo-user] broken splash screen and / or init?
Marc Blumentritt wrote: I have since 2 months a problem with my boot up splash. Splash is working, but the init messages (like starting daemon foh ... [ok]) are written an screen above (for lack of a better word) my splash. When the messages reach the bottom of the screen, the splash is moving upwards with every new line printed. When the messages reach Starting XDM the screen is not switched to the 7th terminal, where X is running. I have to switch manually by pressing alt-F7. The problem is with your linuxrc file in the initrd (you are using genkernel to build your initrd, right?) There's a mistake in the section which parses the kernel command line so that it misses the CONSOLE=tty1 bit... causing it to write all over the splash screen. There's already a bug report (#232012) on this filed in july and I've supplied information about how to work around this bug: http://bugs.gentoo.org/show_bug.cgi?id=232012 Let's hope the genkernel developers get the time to fix this. -- Regards, Gregory.
[gentoo-user] Re: broken splash screen and / or init?
Gregory Shearman schrieb: Marc Blumentritt wrote: I have since 2 months a problem with my boot up splash. Splash is working, but the init messages (like starting daemon foh ... [ok]) are written an screen above (for lack of a better word) my splash. When the messages reach the bottom of the screen, the splash is moving upwards with every new line printed. When the messages reach Starting XDM the screen is not switched to the 7th terminal, where X is running. I have to switch manually by pressing alt-F7. The problem is with your linuxrc file in the initrd (you are using genkernel to build your initrd, right?) There's a mistake in the section which parses the kernel command line so that it misses the CONSOLE=tty1 bit... causing it to write all over the splash screen. There's already a bug report (#232012) on this filed in july and I've supplied information about how to work around this bug: http://bugs.gentoo.org/show_bug.cgi?id=232012 Let's hope the genkernel developers get the time to fix this. Well thanks to point this out. Seems like it has been fixed. Now let's wait for the new version to get stable. Marc
Re: [gentoo-user] next step X
So, that begs the question of where the module.ko file *might* be. Should genkernel have created an agpgart module somewhere under /lib/modules/kernel/2.6.11-gentoo-r8/drivers? If /dev/agpgart support was not configured to be modular then it won't exist anywhere. You must look in the kernel config file to figure this out. However, I say this again, I do not beleive that this is required for X to work. agpgart didn't happen until AGP devices came along. X works with standard PCI graphics adapters and they don't use agpgart at all. I havent found anything that looks promising. I guess I was assuming that 'genkernel' would get me far enough to let the X window system work, but I guess I must be wrong here. You are not wrong. The kernel certainly has enough support to get X running. Something else is going on. However you haven't posted any results. What happens when you try to start X? Post the results? What happens when you try to run xorgconfig? Post the results. No one here can help by saying the same thing in 5 messages but then you don't follow the direction. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] kernel tuning
Sane defaults? Sounds a bit redundant to me. You will have to tweak the kernel sources since your not using genkernel (my experience with Redhat is minimal, I assume they use a type of generic kernel?). There's no way around it. Short story, if you want sane defaults, stick with the genkernel.On 10/1/05, John Jolet [EMAIL PROTECTED] wrote: I've got a farm of 32-bit redhat 7 web servers that we're about to startmigrating to gentoo on amd64 servers.One question my boss had that I can't seem to answer is this.Redhat kernels are supposedly tuned for sanedefaults and I've done no tuning at all on the gentoo boxes.Using gentoosources and NOT genkernel, can anyone give me some hints about what I need to look at?I'd be very embarrased if I replaced older 32-bit redhat 7 boxeswith 64-bit gentoo boxes and the migration failed because I didn't changesome parameter to tweak these guys for apache/zope.-- John Jolet Your On-Demand IT Department512-762-0729www.jolet.net[EMAIL PROTECTED]--gentoo-user@gentoo.org mailing list-- - Mark Shields
[gentoo-user] Re: Kernel build no update grub
Updating the kernel today, I referenced that piece of the documentation and borrowed this command from it: I'm pretty sure I need some new kind of grub.conf but what should it look like.. I've just appended what I think might be adequate to the original lines yeah I saved a backup.. default 1 timeout 05 splashimage=(hd0,0)/grub/splash.xpm.gz Title=gentoo root (hd0,0) kernel (hd0,0)/kernel-2.6.12-gentoo-r9 root=/dev/ram0 linux-2.6.12-gentoo-r9 init=/linux ramdisk=8192 real_root=/dev/hda5 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] initrd (hd0,0)/initramfs-2.6.12-gentoo-r9 Typos in original message corrected below Title=gentoo-2.6.14-r2 root (hd0,0) kernel (hd0,0)/kernel-2.6.14-gentoo-r2 root=/dev/ram0 ^kernel-genkernel-x86-2.6.14-gentoo-r2 linux-2.6.12-gentoo-r9 init=/linux ramdisk=8192 real_root=/dev/hda5 video=vesafb:mtrr,ywrap,[EMAIL PROTECTED] initramfs (hd0,0)/initramfs-2.6.14-gentoo-r2 ^initramfs-genkernel-x86-2.6.14-gentoo-r2 So am I in the ball park? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] genkernal refuses to finish - no initrd
On Fri, 09 Dec 2005 04:24:26 -0600, Harry Putnam wrote: Or alternatively it seems one could just use /proc/config.gz as /usr/src/linux/.config and run it manually. Except I'm at a loss as to how an intitrd is built manually from a kernel compile. You don't need an initrd when compiling your own kernel. genkernel uses it because it needs modules for everything, including the kitchen sink, available to the kernel before mounting the root filesystem. Compiling them into the kernel would make it bloated. When you compile a kernel manually, you choose which modules you need in the kernel, build those in and either leave the rest out or compile them as separate modules. Genkernel is intended to make things easier, and it may do when things work as they should, but I find it makes life more difficult when anything goes wrong. Building a kernel manually is not rocket science, it is easier in the long run. -- Neil Bothwick An expert is nothing more than an ordinary person away from home. signature.asc Description: PGP signature
Re: [gentoo-user] raid1 + lvm2
Richard Fish wrote: One thing you need is a initrd or initramfs setup to get all this stuff up and running during boot. I found the easiest way to do this was to use genkernel. Here's are some quick notes on how I got this working using the gentoo-sources-2.6.14-r2 kernel: Or just compile everything you need into the kernel. Something genkernel is perfectly capable of doing. While you can compile all of the necessary modules into the kernel, it is not possible to have root on LVM2 without an initrd/initramfs. And even if it is possible, LVM2 installation guide says it is not recommended, so I will not try it... One more thing I'm interested in: what impact does lvm2 have on disk i/o, compared to common partitions? Probably lvm2 will make disk operations a little slower, but how much? Or does it cause higher cpu-load too? Jarry -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Add a module post kernel config/build
On Wednesday 18 April 2007 11:15, [EMAIL PROTECTED] wrote: Summary: How can I add an additional module once I've configured/built a kernel? Details: After looking thru the handbook, especially section about kernel config, I don't see information about how to add a module once a kernel is built and running. Using `genkernel all' on latest sources (linux-2.6.20-gentoo-r6) I ended up with no `fuse' module. Far as I know I've been getting a fuse module when using `genkernal' on previous kernels. What is proceedure for adding that module now? I never used genkernel, but if you have the kernel source tree available, you can just cd into it, adjust your configuration (using make *config), then do make make modules_install. Only the new stuff you added will be rebuilt and installed (ie, the fuse module in your case), assuming you did not delete the already compiled object files inside the tree. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Add a module post kernel config/build
On Wednesday 18 April 2007 10:15:12 [EMAIL PROTECTED] wrote: Summary: How can I add an additional module once I've configured/built a kernel? Details: After looking thru the handbook, especially section about kernel config, I don't see information about how to add a module once a kernel is built and running. Using `genkernel all' on latest sources (linux-2.6.20-gentoo-r6) I ended up with no `fuse' module. Far as I know I've been getting a fuse module when using `genkernal' on previous kernels. What is proceedure for adding that module now? genkernel --menuconfig all You can also add --no-clean and --no-menuconfig to stop it clearing out already compiled code, but you run the risk to getting symbols messed up (quite unlikely though). -- Mike Williams -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] upgrade kernel
On 7/10/07, Luigi Pinna [EMAIL PROTECTED] wrote: I think the problem is on PATA drivers! It seems that it doesn't load any chipset driver... I used the old config as suggested without changes... Or must I change something in fstab??? You should change your kernel's config e.g. with menuconfig (if you are using genkernel, type genkernel --menuconfig all). In you config you should enable some drivers in Device DriversATA/ATAPI/ (this is old IDE drivers, which have been used in =2.6.18) or use new libata drivers in Device DriversSATA and PATA (this PATA drivers are only available in =2.6.19). oldconfig doesn't work just because option's names have changed in 2.6.19. PS: sorry for my English. I think google speaks English better. -- Vladimir Rusinov GreenMice Solutions: IT-решения на базе Linux http://greenmice.info/
[gentoo-user] grub chainloader
I've read the GRUB documentation, but still don't understand why the following worked: localhost ~ # localhost ~ # cat /boot/grub/grub.conf default 0 timeout 30 splashimage=(hd1,0)/grub/splash.xpm.gz title=Gentoo Linux root (hd1,0) kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hdb3 initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5 title Fedora (2.6.21-1.3228.fc7) root (hd0,1) kernel /vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.21-1.3228.fc7.img localhost ~ # localhost ~ # date Tue Jul 17 22:48:12 UTC 2007 localhost ~ # I would've thought that the chainloader +1 statement would be required -- that's my experience at least. -Thufir -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] newbie livecd installation dual boot problems
Sarpy Sam wrote: I am assuming the kernel is built with JFS support compiled in and not as a module. I am not a genkernel user but couldn't you boot the machine like this, root (hd0,1) kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/hda2 This will test if it's a kernel problem or a boot splash problem. Kirby I gave that a go , but still no luck. I'm having one of those days. I think I'll reinstall using reiser - I thought that jfs would be fine since the installer gave me the option. I assume that had I done a network install that I probably would've got a kernel with jfs ? My install was completely from the live cd. thanks! Send instant messages to your online friends http://au.messenger.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: core packages for a dual-boot system
On 3/21/06, Robert Welz [EMAIL PROTECTED] wrote: .. So, just replace /boot/grub/grub.conf with /root/grub.conf ,yes? Yes, but make shure the menu menu.lst sybolic ling is pointing to grub (ls -s menu.lst grub.conf.) Robert .. I looked for menu.1st and couldn't find it :( However, changing /boot/grub/grub.conf to the following workded :) [EMAIL PROTECTED] ~ $ [EMAIL PROTECTED] ~ $ cat /boot/grub/grub.conf -n 1 default 0 2 timeout 30 3 splashimage=(hd0,1)/grub/splash.xpm.gz 4 title=Gentoo Linux 5 root (hd0,1) 6 kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda4 7 initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5 8 9 title Windows 10rootnoverify (hd0,0) 11chainloader +1 12 [EMAIL PROTECTED] ~ $ date Fri Mar 24 14:26:52 GMT 2006 [EMAIL PROTECTED] ~ $ thanks, Thufir -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Help : need grub,conf file : kernel wouldn't boot
Rohit and Bhavana wrote: Hi all, I have built my kernel 2.6.15-r5 [not the latest I know but should support all that I have]. I am unable to boot it. It stops looking for root device when booting. Corresponding line from my grub,conf is title Linux-latest kernel (hd0,2)/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 real_root=/dev/hda2 init=/linuxrc vga=7 CONSOLE=/dev/tty1 initrd (hd0,2)/initramfs-genkernel-x86-2.6.15-gentoo-r5 I have both root= and real_root= title Gentoo kernel (hd0,0)/vmlinuz real_root=/dev/sda5 root=/dev/sda5 gentoo=nodevfs vga=0x317 initrd (hd0,0)/initramfs-gentoo Good luck, -- Régis -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Bad mem, over heat and games
Richard Fish wrote: Speedstep should definitely work out-of-the-box here. My 3 mo old Core Duo processor works great with the speedstep-centrino module. And my previous 6mo old laptop on Sonoma also worked great. Maybe you are missing some ACPI options? (ACPI processor is the big one I can think of that you might need.) Speaking of ACPI, you should also enable and load the 'fan' module. Some laptops will _not_ run the CPU fan unless this is built and loaded!!! Did you use genkernel? I have always built my own kernel and compile the minimum needed. I may have left something out. I will give genkernel a try and build almost everything. Thanks, Jim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There's no place like 127.0.0.1 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= JimD Central FL, USA, Earth, Sol -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] System.map not found - unable to check symbols
On Tue, 2006-05-09 at 21:19 +0530, Mrugesh Karnik wrote: On Tuesday 09 May 2006 19:26, de Almeida, Valmor F. wrote: I tried the make all option and it added a /boot - . Inside /boot. Also, a menu.lst file was created inside /boot/grub that points to grub.conf. Other than that there no changes/additions we made. I rebooted and had the same problem occurring: System.map not found -- unable to check symbols Thanks for your inputs. -- Valmor I have the same problem. Does anyone know the solution? Genkernel copies the file into /boot/ BUT names the System.map as System.map-genkernel-x86-2.6.xx-gentoo-rx so all you need to do is copy/rename this file as System.map (note the capital S) and everything should be fine. I'm not sure what impacts/problems arise out of not having a System.map file but having fixed the problem on my own computers I haven't noticed any differences. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] System.map not found - unable to check symbols
Steven Gill wrote: Genkernel copies the file into /boot/ BUT names the System.map as System.map-genkernel-x86-2.6.xx-gentoo-rx so all you need to do is copy/rename this file as System.map (note the capital S) and everything should be fine. The kernel should be able to find System.map whether it is named System.map or System.map-2.6.15-gentoo-r5 or whatever your kernel is. Each kernel usually has it's own different System.map so the latter naming scheme is preferred. I have tried both on different (but only) gentoo kernels and still they complain about not finding it. The kernel itself should not need the file as it should be aware of it's own symbols memory addresses, but some programs like ps do need it. So these are the questions to people wiser than me: 1. Is this a vanilla or gentoo kernel specific issue? 2. Does the kernel itself actually need the file? 3. Are programs like ps able to find the file themselves as they seem to work? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] New to Gentoo. Having trouble getting it started for the first time
Rafael Barrera Oro wrote: Hello! here is my grub.conf in order to compare, the only thing that i notice is missing is the initrd line, i am no Linux expert either so maybe that is not a must have. Anyway, my machine works, so i hope you can comparte this file to yours and find out whats missing, hope it helps. default 0 timeout 30 splashimage=(hd0,0)/grub/splash.xpm.gz title=Gentoo Linux root (hd0,0) kernel /kernel-genkernel-x86_64-2.6.17-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 initrd /initramfs-genkernel-x86_64-2.6.17-gentoo-r5 Hi Rafael, Thanks for your reply :) I actually managed to get it up and running. Turns out my grub.conf was good, but was missing my IDE chipset in the kernel. With a bit of playing around I managed to get it up and running. Thanks again for trying to help though, I appreciate it! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] EVMS root partition and udev, anyone?
Am Montag, 11. Dezember 2006 17:00 schrieb ext Kevin Hanson: Has anyone gotten their system to boot with an evms root volume on a purely udev system? If so, can you tell me how you did it. Yes. The problem I am having is the initrd from the evms site expects a kernel that understands devfs. The problem I'm having with genkernel --evms2 is that it complains that it cannot find /dev/evms/root. When I drop into the shell from this point, there is nothing except /dev/evms/dm. Don't use genkernel. I use a self-made initramfs, compiled into the kernel directly. I have scoured the web and I am at a loss. I really want to use evms, but it looks like I'm going to have to punt on this. I can sent you my scripts for creating the initramfs. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Hambornerstraße 55 | Web: http://www.capgemini.com D-40472 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net pgpXCokKrl8yJ.pgp Description: PGP signature
Re: [gentoo-user] genkernel: pre load a module
On 13 December 2006 01:08, Norberto Bensa wrote: Hello Hans, Hans-Werner Hilse wrote: Hi, On Mon, 11 Dec 2006 21:09:00 -0300 Norberto Bensa [EMAIL PROTECTED] wrote: Hans-Werner Hilse wrote: I believe that if I load piix first (the PATA driver for Intel chipset) I will not get this delay. I'm not sure about that. Are you sure that it's really ata_piix causing the delay? Well... I've tried this config: CONFIG_IDE=y CONFIG_IDE_MAX_HWIFS=4 CONFIG_BLK_DEV_IDE=y CONFIG_BLK_DEV_IDEDISK=y CONFIG_IDEDISK_MULTI_MODE=y CONFIG_BLK_DEV_IDECD=y CONFIG_BLK_DEV_IDEPCI=y CONFIG_BLK_DEV_IDEDMA_PCI=y CONFIG_BLK_DEV_PIIX=y CONFIG_BLK_DEV_IDEDMA=y CONFIG_ATA=m CONFIG_ATA_PIIX=m CONFIG_SATA_INTEL_COMBINED=y Ahh, I see. So if you were compiling this stuff all into the kernel (I guess it was like this before, i.e. w/ the 15sec delay), Nope. As modules. I use genkernel. Well, the snipped of your config above indicates they are built into the kernel. Uwe -- Mark Twain: I rather decline two drinks than a German adjective. http://www.SysEx.com.na -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Iptables
Alan IPTables support must be compiled into the kernel. I am not in front of my gentoo system so cannot help you find the location in make menuconfig but if you poke around you should be able to locate it. Pete On 1/19/07, Alan McKinnon [EMAIL PROTECTED] wrote: On Thursday 18 January 2007 17:58, Fabrício L. Ribeiro wrote: How can I install and run iptables (with conntrack and all other modules) in a Gentoo 2006.1 box with kernel generated by genkernel? I tried emerge iptables, but when I type iptables -F I get something like this: FATAL: Module ip_tables not found. iptables v1.3.5: can't initialize iptables table `filter': iptables who? (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. genkernel uses a standard .config the first time you use it on a kernel version. In the kernel sources, all the netfilter options are disabled by default, and you MUST enable them via menuconfig. Did you perhaps omit this step? alan -- gentoo-user@gentoo.org mailing list -- Pete Pardoe
Re: [gentoo-user] I think I messed up USE flag by using -alsa as Gnome has no sound
On Tuesday 12 July 2005 01:12, Richard Watson wrote: Hi - I've just finished compiling Gnome and have no sound whatsoever. Looking at my USE flags I noticed I had inadvertently set -alsa as a flag. At this stage I've changed the flag to alsa and re-run genkernel. But still no sound. Do I have to recompile everything from scratch or have I made an incorrect diagnosis of the problem? As always any help would be appreciated -- Regards, Richard ECRM Imaging Systems -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.8.12/46 - Release Date: 11/07/2005 genkernel, which problem should it solve? try emerge --newuse world, to see what has to recompile. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] udev recent genkernel + gentoo-sources
On July 13, 2005 02:47 pm, Richard Fish wrote: Not quite, its an initramfs. Slightly different rules apply for initramfs vs initrd, so you also have to remove the initrd line from grub if you want to eliminate it. So if I understand correctly something like: title Gentoo linux (update) root (hd0,0) kernel /kernel-genkernel-x86-2.6.12-gentoo-r4 root=/dev/hda11 init=/linuxrc video=vesafb:[EMAIL PROTECTED] splash=verbose should produce desired results (i.e. bootable system)? If yes - I've got quite a few error messages about missing symbols in kernel modules on boot :( But I've tries so many combinations already that it could've been attributed to other changes I've made. So I'll try it again and come back if problem persists (or if you'll tell me my assumptions are wrong). -- Dmitry Makovey Web Systems Administrator Athabasca University (780) 675-6245 pgpbWx32LOIKz.pgp Description: PGP signature
Re: [gentoo-user] udev recent genkernel + gentoo-sources
Dmitry S. Makovey wrote: finally I've got to optimum (in my opinion) combination: title Gentoo linux (update) root (hd0,0) kernel /kernel-genkernel-x86-2.6.12-gentoo-r4 real_root=/dev/hda11 video=vesafb:[EMAIL PROTECTED] splash=verbose You should also change real_root= to just root=. But I've got new problem - for some reason KDE (3.4.1) now hangs after login doing initialize peripherals or something like that... and it happens only when I switch to 2.6.12, weird... anybody seen symptoms like that? First time since I've switched to 2.6.x kernels I've got so many issues with simple kernel upgrade, is there something going on I should be aware of? Have not seen this. Might be related to DBUS or HAL support though. Do you get anything odd in ~/.xsession-errors? FYI, some scary looking messages in that file are completely normal! Also, on this list it is the standard to reply only to the list, and not to CC someone privately, unless specifically requested to do so. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problems installing
On Thursday 04 August 2005 04:41 pm, Daniel da Veiga wrote: Well, if you use genkernel, it should automatically place the initrd and the kernel image at your /boot (at least it does for me). Maybe check your genkernel command to compile the kernel. Whats wrong with compiling a kernel the normal way ? emerge gentoo-sources (or whatever flavor you prefer) cd /usr/src/linux zcat /proc/config.gz .config make oldconfig make menuconfig * tweak it to your liking make install modules modules_install update your boot loader umount /boot exit chroot reboot Isn't that covered in the Install guide ? -- Chris Linux 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 17:02:36 up 1 day, 22:09, 6 users, load average: 0.17, 0.12, 0.09 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] multiple kernels in grub
On Thu, 11 Aug 2005 23:15:38 -0400 John Dangler [EMAIL PROTECTED] wrote: In /boot, I have both linux-2.6.12-gentoo-r6 and kernel-genkernel-x86-2.6.12-gentoo-r6. In /boot/grub/grub.conf, only the genkernel is listed Just edit /boot/grub/grub.conf. You can read about how in the - Configuring the Bootloader section of the installation manual - http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1chap=10 Just add the 3 lines necessary with the definition of the second kernel. Something like - -- title=Gentoo 2.6.12-r4 root (hd0,0) kernel /vmlinuz-2.6.12-gentoo-r4 root=/dev/hda3 title=Gentoo 2.6.11-r11 root (hd0,0) kernel /vmlinuz-2.6.11-gentoo-r11 root=/dev/hda3 Bob - -- gentoo-user@gentoo.org mailing list
[gentoo-user] network driver
With the laptop base build running, I took my old file server (P3 running old m$) and decided to convert this to a test server for web dev. I just went with a stage 3 and genkernel (never tried this before), and the basics went fine. I'm up to chap 7.e (looking for .ko), and I need to make sure that the nic comes up on reboot. The card is a Linksys NC100 (NetworkEverywhere) card. From what I've read googling and such - a) I couldn't find a driver, except for win (network-drivers.com) b) I think the windows wrapper is tulip, but am not sure One of the google threads I found talked about someone using 'tulip', and another part of that thread mentioned ndiswrappers. I would like to think that coldplug and the genkernel way of compiling would just 'see' the nic card and come up, but I've been wrong before about that. Any input is appreciated. (I also have an ATI video card in here [Radeon RT100 QY (Radeon 7000 VE), so if there's some similar homework I need to do on this one, please share) John D -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] network driver
On Thu, 25 Aug 2005, John Dangler wrote: With the laptop base build running, I took my old file server (P3 running old m$) and decided to convert this to a test server for web dev. I just went with a stage 3 and genkernel (never tried this before), and the basics went fine. I'm up to chap 7.e (looking for .ko), and I need to make sure that the nic comes up on reboot. The card is a Linksys NC100 (NetworkEverywhere) card. From what I've read googling and such - a) I couldn't find a driver, except for win (network-drivers.com) b) I think the windows wrapper is tulip, but am not sure One of the google threads I found talked about someone using 'tulip', and another part of that thread mentioned ndiswrappers. I would like to think that coldplug and the genkernel way of compiling would just 'see' the nic card and come up, but I've been wrong before about that. Any input is appreciated. What happens if you do modprobe tulip ??? -- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [asking again] keyboard/mouse woes on 2.6 kernel
mouse support is built into kernel (now in 2.6.13-rc7), not module, xorg has correct entry ill try live_cd, maybe find something interesting martins On Friday 26 August 2005 16:41, inferno wrote: Hi, I had that problem also ( mouse going crazy and keyboard was not responding ( my chipset was nForce 2 on the motherboard )) and there are to ways to fix it:( from my point of view). First try with the live cd and see if you still get the same problems and if not probably you have something done wrong you could try a genkernel and see if with the new kernel is doing the same thing and if not and you do not like the genkernel see what modules are enabled and try to build your kernel with manual. In xorg I have the mouse device : Option Device /dev/input/mice Hope it helps since with my computer it worked with a new kernel emerged and manually configured. Best regards -- gentoo-user@gentoo.org mailing list
[gentoo-user] Recent booting problems
Hi, i rebooted my firewall yesterday, and it stopped just after the initrd, when trying to fsck the root filesystem, because it had failed to remount the / filesystem read-only because it was busy, and thus fsck was warning about checking a live filesystem i rebooted from livecd, and fsck'ed my partitions manually, to make sure they were ok, and then rebooted and said yes to fsck the live FS, and it carried on and booted ok i suspected i had baselayout out of sync or some such, so did emerge sync and then upgraded baselayout. that didn't help, so i tried emerge -e system, and also upgrade of world, and then i also rebuilt my initrd with genkernel, in case something had changed in there. still the same, so now i'm quite stuck anyone else had this recently? my kernels and ramdisk are always built with genkernel, and as i say above i'm bang up to date now any help greatly appreciated cheers, Dunc -- gentoo-user@gentoo.org mailing list
[gentoo-user] recent booting problems
Hi, i rebooted my firewall yesterday, and it stopped just after the initrd, when trying to fsck the root filesystem, because it had failed to remount the / filesystem read-only because it was busy, and thus fsck was warning about checking a live filesystem i rebooted from livecd, and fsck'ed my partitions manually, to make sure they were ok, and then rebooted and said yes to fsck the live FS, and it carried on and booted ok i suspected i had baselayout out of sync or some such, so did emerge sync and then upgraded baselayout. that didn't help, so i tried emerge -e system, and also upgrade of world, and then i also rebuilt my initrd with genkernel, in case something had changed in there. still the same, so now i'm quite stuck anyone else had this recently? my kernels and ramdisk are always built with genkernel, and as i say above i'm bang up to date now any help greatly appreciated cheers, Dunc -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Software Suspend swsusp2 and genkernel initrd initramfs?
William Kenworthy schrieb: If you compile the neccessary modules into the kernel you do not have to use an initrd (which is all the initrd is doing - making the modules available at boot time). That's not correct. The initrd is doing more. See below. With suspend2, make sure you also compile in the LZF option in the crypt section. It defaults to not selected at all, often leading to resume failures. I do not use LVM for root, Ah. So you don't know. but other partitions to avoid such problems, but there is no reason why it shouldnt work. Yes, there is. For LVM to work, it needs to be setup properly. This involves calling dmsetup, pvscan, vgchange and others. How, if not through a linuxrc, should this be done? Further, the genkernel linuxrc only works with an initramfs, doesn't it? If so, how can the linuxrc be used, if not with an initrd? But you're right in so far, as that an *initrd* wouldn't be necessary. A properly working linuxrc is reqd. Alexander Skwar Alexander Skwar -- If you can, help others. If you can't, at least don't hurt others. -- the Dalai Lama -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help with nvidia fake raid.
Allan Spagnol Comar wrote: Hi list, I have been trying for 5 days now to install a gentoo system on a nvidia mother board with fake raid, I already have a windows system on the machine that needs the raid and I want to install gentoo on it. I have followed instructions on http://gentoo-wiki.com/HOWTO_Install_Gentoo_with_NVRAID_using_dmraid I was succeeded on installing gentoo base system and grub :-), but, when I boot the systems ask for real_root /dev/mapper/nv_ device I had try the hard way, open a shell when it ask for real_root and on /dev/mapper is just control. I had try with genkernel and on the same situation on /dev/mapper/ has control and my disk, but none of the partitions. I am so close of making this work, but is really frustrating get stuck in something like that for so long. Thanks for attention, Allan Hi, No experience with RAID but do you have a separate /boot partition. Assume you're also using an initrd (with genkernel ... --dmraid ...). HTH.Rumen smime.p7s Description: S/MIME Cryptographic Signature
[gentoo-user] Creating a LiveCD
List,Been following http://gentoo-wiki.com/HOWTO_build_a_LiveCD_from_scratch for the past couple days trying to assemble my own custom livecd. Have one problem I cannot get past. Kernel outputs:No filesystem could mount root: tried ext3 ext2 jfs xfs squashfs vfat iso9660 udfKernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)My /boot/grub/menu.lst is as follows: default 0timeout 30title=LiveCD root (cd) kernel (cd)/boot/vmlinuz-2.6.17-ck1-r3 root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/livecd.squashfs udev nodevfs cdroot dodmraid real_root=/dev/loop/0 My kernel configuration on the LiveCD includes a genkernel all with manual patches for SquashFS 3.1 and Reiser4. I did my own make menuconfig after the genkernel config, so it didn't miss compiling them in. SquashFS tools version is 3.1, kernel squashfs is 3.1. Pleae give me a hint or two :)Thanks!-- Jason Weisberger[EMAIL PROTECTED]
Re: [gentoo-user] Rebuild video drivers after kernel compile?
On Thursday 07 September 2006 08:34, A. R. wrote: With modular Xorg, do you still need to re-build your video drivers after every time you re-compile a kernel? You have to rebuild those drivers that have been obtained outside the standard kernel source tree. This applies to all types of drivers, not only video drivers, for example: ati-drivers (video) nvidia-drivers (video) ipw2100 (wireless) ivtv (pvr card) This is is independent from modular X. better yet - get a habbit of using module-rebuild every time after you run genkernel ;) References: sys-kernel/module-rebuild sys-kernel/genkernel -- Dmitry Makovey Web Systems Administrator Athabasca University (780) 675-6245 pgpT11goMQ9zr.pgp Description: PGP signature
Re: [gentoo-user] Grub error 15: file not found
On Tuesday 28 July 2009 02:16:49 Brenton wrote: Hi, When I try to edit the /dev/sda to /dev/hda I'm not sure how to save my change when I edit in grub. I make a change then go back to check and it never saves. I'm only trying to follow the Gentoo Linux x86 Handbook. Thanks, Brenton. Is /boot a separate partition? Then it's not kernel /boot/kernel-genkernel-x86... it is kernel /kernel-genkernel-x86... and grub.conf is a conventional file. Boot properly (off a Live CD if you have to), edit the file as root, save like any other time. Then check if your kernel file on disk really is the name you have in grub.conf. It's highly likely it isn't and you just blindly copy-pasted an example. I don't think you have a 2.6.24 kernel on a recent box. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] fixing raid1 /boot
beta ~ # /sbin/mdadm /dev/md0 --fail /dev/sdb1 --remove /dev/sdb1 mdadm: cannot get array info for /dev/md0 beta ~ # cat /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md0 : inactive dm-0[0](S) 104320 blocks super non-persistent unused devices: none --- On Sat, 8/8/09, Volker Armin Hemmann volkerar...@googlemail.com wrote: From: Volker Armin Hemmann volkerar...@googlemail.com Subject: Re: [gentoo-user] fixing raid1 /boot To: gentoo-user@lists.gentoo.org Date: Saturday, August 8, 2009, 2:19 PM On Samstag 08 August 2009, Kevin Haddock wrote: For the life of me I can't figure out the canonical way to rebuild my mirrored /boot. The second disk (/dev/sdb1) got corrupted and it is interfering with my rebuilding the kernel (genkernel can't mount /boot). forget genkernel. put in correctly partitioned disk. read man mdadm /sbin/mdadm /dev/md0 –fail /dev/sdb1 –remove /dev/sdb1 /sbin/mdadm /dev/md0 –add /dev/sdb1 as example. Found on google in less than 2 minutes. Seriously, google is your friend ;)
Re: [gentoo-user] Re: Error emergin mkinitrd
As Jocob says, I don't use genkernel Do you think I should reopen the bug? Thanks, Massimiliano On Fri, Sep 11, 2009 at 7:31 PM, Jacob Todd jaketodd...@gmail.com wrote: On Fri, Sep 11, 2009 at 12:23:23PM -0700, walt wrote: On 09/11/2009 08:58 AM, Massimiliano Ziccardi wrote: Hi all. I've a problem trying to emerge mkinitrd. Everytime I try, I get: * ERROR: sys-apps/mkinitrd-3.5.7-r3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2212: Called die * The specific snippet of code: * emake || die nash compile failed.; A search at bugs.gentoo.org turned up this bug report, filed in June and solved almost a month ago: http://bugs.gentoo.org/show_bug.cgi?id=268285 So why is package still broken? Good question. Why are more people not complaining? Dunno. I don't use that package and it seems that very few others do. Just out of curiosity, why are you trying to install mkinitrd? Because making a initrd is a pain in the ass, and he probably doesn't want to use genkernel. -- Jake Todd // If it isn't broke, tweak it!
Re: [gentoo-user] Re: kernel build - back in the soup.
Daniel da Veiga wrote: On Sun, Nov 8, 2009 at 08:45, Dale rdalek1...@gmail.com wrote: daid kahl wrote: Sounds like he may as well use that genkernel thingy that Gentoo has. It never has worked for me but he may have better luck. It may even work on the first try. LOL I've been using genkernel for 4+ years, of course had some problema along the way, nothing that couldn't be handle. I find it really easy to use. Yeah, it worked first time, some tweaking later and BANG! It was perfect! I tried that thing several times in its early days, it never made a kernel that would even boot up. I did better doing mine by hand. I have not tried it recently so I am sure it has improved a lot by now. It may build a mighty fine kernel now but I can do the same thing with oldconfig and know for sure what I am getting. Dale :-) :-)