View previous topic :: View next topic |
Author |
Message |
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Tue Jan 22, 2013 12:57 am Post subject: |
|
|
id suggest going to kernel.org and getting 3.7.4 and running uname -a to verify your running the kernel your installing.... |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Tue Jan 22, 2013 1:06 am Post subject: |
|
|
666threesixes666 wrote: | id suggest going to kernel.org and getting 3.7.4 and running uname -a to verify your running the kernel your installing.... |
Kernel's menuconfig:
General setup ---> <*> Kernel .config support
Then you have /proc/config.gz available in the running kernel and you can:
Code: |
# zgrep DEVTMPFS /proc/config.gz
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
|
It's much more reliable than reading /usr/src/linux/.config. I don't understand why people don't use it more.
Also:
Code: |
# grep devtmpfs /proc/filesystems
nodev devtmpfs
|
|
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Tue Jan 22, 2013 1:46 am Post subject: |
|
|
its .config built into your kernel.... i dont use it as i keep hard records of it in /boot i have used it and did advocate it in the past, just ive found other methods to the same ends, easier to cat than zcat... copy once and be done with it.... i actually have 2 records of it /boot/config.kernel-3.6.7 for kernel-3.6.7 and /usr/src/linux-3.6.7/.config 1s generally unmounted and 1s hidden, 3rd copy is a bit excessive, but i do agree, its the .config that the kernel is running, and known working.... i do keep a stale 3.5.4 and 3.6.2 kernel & config set around too incase 3.7.4 makes my old dv9000 hardware flip out and unbootable..... lol after re reading your post i realized your directing that to the other posters on the thread..... |
|
Back to top |
|
|
Duncan Mac Leod Guru
Joined: 02 May 2004 Posts: 312 Location: Germany
|
Posted: Tue Jan 22, 2013 2:48 am Post subject: |
|
|
udev-197 is up and running! sorry, for bothering you with my problems.
It was my fault!!!
Building Gentoo kernels since 2004 with genkernel, but it seems that something has changed in the past.
I always used "genkernel --menuconfig all", made my config and saved the config file to my home-directory using the save-option in the kernel menu (for later use, if I have to rebuild the kernel). This has worked in the past. But if I load the config file via the kernel menu and start compiling, my loaded config file is not used. Instead it uses the .config in /usr/src/linux !
Now, kernel is compiled properly and everything works !
Sorry, again! |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Tue Jan 22, 2013 3:15 am Post subject: |
|
|
so gedit $HOME/.config
ctrl + f (or alt+ f) to find "DEVTMPFS" set =y....
then
sudo cp $HOME/.config /usr/src/linux
or if your system is totally voodoo and doesnt have sudo
su -c 'cp $HOME/.config /usr/src/linux'
for future references |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Tue Jan 22, 2013 7:28 am Post subject: |
|
|
666threesixes666 wrote: | so gedit $HOME/.config |
Warning 666threesixes666, editing the kernel config file is not a good practice at all!
Quote: | acoswt@PrimaPratica /usr/src/linux $ more .config
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 3.6.11-ck Kernel Configuration
#
... |
You are... not under FreeBSD ! _________________
|
|
Back to top |
|
|
iandoug l33t
Joined: 11 Feb 2005 Posts: 832 Location: Cape Town, South Africa
|
Posted: Wed Jan 23, 2013 9:16 pm Post subject: my solution |
|
|
hi
I was able to fix this problem without going the rescue-disk way ... during boot I switched to Interactive boot, did not let udev load, and let the rest proceed normally. Then I used make menuconfig to fix the option and proceeded as per normal after such editing.
cheers, Ian _________________ Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram |
|
Back to top |
|
|
modnaruved Apprentice
Joined: 21 Mar 2011 Posts: 160
|
Posted: Thu Jan 24, 2013 6:06 am Post subject: Re: my solution |
|
|
iandoug wrote: | hi
I was able to fix this problem without going the rescue-disk way ... during boot I switched to Interactive boot, did not let udev load, and let the rest proceed normally. Then I used make menuconfig to fix the option and proceeded as per normal after such editing.
cheers, Ian |
In my case I tried npress "I" before start init but this not help. But will be good If you post some steps how you resolve this. |
|
Back to top |
|
|
iandoug l33t
Joined: 11 Feb 2005 Posts: 832 Location: Cape Town, South Africa
|
Posted: Fri Feb 01, 2013 2:59 pm Post subject: Re: my solution |
|
|
devurandom wrote: | iandoug wrote: | hi
I was able to fix this problem without going the rescue-disk way ... during boot I switched to Interactive boot, did not let udev load, and let the rest proceed normally. Then I used make menuconfig to fix the option and proceeded as per normal after such editing.
cheers, Ian |
In my case I tried npress "I" before start init but this not help. But will be good If you post some steps how you resolve this. |
I found out the hard way (when my OTHER box would not boot) that there is a setting in /etc/conf.d/rc which enables this ... if it is set to no then you can't ....
Still trying to fix broken box ... the Live DVD fails to complete booting ( total waste of a 4GB download ... we need a small rescue disk please...) so trying with a minimal install CD which did complete booting ...
Think the live DVD fails because it doesn't like my LG blu-ray writer drive.
Cheers, Ian _________________ Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Fri Feb 01, 2013 7:21 pm Post subject: |
|
|
the huge post i was using a usb flash rescue disk, my usb flash rescue disk was generated using these isos (only if your 64 will they work for you)
http://distfiles.gentoo.org/releases/amd64/autobuilds/current-iso/
i generated documentation by hand in a note book so i could do gentoo installs with no net to see documentation (ie terminal only) and just a flash thumb drive. i still have links in terminal but its a pain to try to read the handbook as it has too many explanations and is far too verbose to do that. well i had net but was only using it to pull sources for emerge --sync and emerging goodies.
fair warning, these iso images are TERMINAL ONLY... so generate a notebook of documentation if you intend to use them. i use unetbootin if you go through the thread again you can find links to this to generate flash thumb drive rescue boot disks. |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2573 Location: Here and Away Again
|
Posted: Wed Feb 06, 2013 2:14 pm Post subject: Re: my solution |
|
|
iandoug wrote: | Still trying to fix broken box ... the Live DVD fails to complete booting ( total waste of a 4GB download ... we need a small rescue disk please...) so trying with a minimal install CD which did complete booting ... |
I do believe that neither the LiveDVDs nor the Minimal Installation CDs are intended to be used as a 'rescue disk'.
Correct me if I'm wrong. ^^;
If you have not before, you might like to take a peek at the SystemRescueCd. That's what I always recommend at least, sometimes even for doing the initial installation of Gentoo. I used the Minimal Installation CD myself (which, I think, gives the realer experience, and that is an important part to include in the recommendation). Not that I even knew about the sysresccd existing back when I was taking my first steps...
It's very easy to put into a USB-stick, too! _________________ Kindest of regardses. |
|
Back to top |
|
|
boyan7640 n00b
Joined: 07 Jun 2010 Posts: 4
|
Posted: Tue Jun 18, 2013 9:06 pm Post subject: CONFIG_DEVTMPFS vs. CONFIG_IDE (or both?) |
|
|
Hi all,
I decided to upgrade to sys-fs/udev-200, so as usually happens I broke my system. So, fun , I lost 3 hours to fix it .
I was very careful following the instructions on http://www.gentoo.org/doc/en/udev-guide.xml . The following part of it broke my system ending with "kernel panic - not syncing: VFS: Unable to mount root fs on unknown block (0,0) Pid 1, comm: swapper Not tainted...":
Quote: | Code Listing 2.2: Required kernel options
Device Drivers --->
(Make sure the following item is *not* enabled)
< > ATA/ATAPI/MFM/RLL support (DEPRECATED)
(This is *absolutely* necessary for /dev to populate)
Generic Driver Options --->
[*] Maintain a devtmpfs filesystem to mount at /dev (NEW) |
It seems that the root cause is my old system and especially my old IBM ATA 30.7 GB hard disk (IC35L030AVVN07-0).
So, I set both CONFIG_DEVTMPFS=y and CONFIG_DEVTMPFS_MOUNT=y + CONFIG_IDE (ATA/ATAPI/MFM/RLL support (DEPRECATED)) was not set as advised above. Unfortunately my system ended with kernel panic.
I was not able to boot my old non-devtmpfs kernel with sys-fs/udev-200 as well. Finally, thanks to this topic I succeed to boot the old kernel like that:
Code: | root (hd0,0)
kernel /boot/vmlinuz.old root=/dev/hda3 init=/bin/bash rw |
Afterwards I rebuilt the kernel with CONFIG_IDE=y (+other sub parameters, see below) and CONFIG_DEVTMPFS=y and CONFIG_DEVTMPFS_MOUNT=y:
Quote: | [hostname] boot # diff config-3.8.13-gentoo_bad config-3.8.13-gentoo
682c682,748
< # CONFIG_IDE is not set
---
> CONFIG_IDE=y
>
> #
> # Please see Documentation/ide/ide.txt for help/info on IDE drives
> #
> CONFIG_IDE_XFER_MODE=y
> CONFIG_IDE_TIMINGS=y
> CONFIG_IDE_ATAPI=y
> # CONFIG_BLK_DEV_IDE_SATA is not set
> CONFIG_IDE_GD=y
> CONFIG_IDE_GD_ATA=y
> CONFIG_IDE_GD_ATAPI=y
> CONFIG_BLK_DEV_IDECD=y
> CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y
> # CONFIG_BLK_DEV_IDETAPE is not set
> CONFIG_BLK_DEV_IDEACPI=y
> # CONFIG_IDE_TASK_IOCTL is not set
> CONFIG_IDE_PROC_FS=y
>
> #
> # IDE chipset support/bugfixes
> #
> CONFIG_IDE_GENERIC=y
> # CONFIG_BLK_DEV_PLATFORM is not set
> CONFIG_BLK_DEV_CMD640=y
> # CONFIG_BLK_DEV_CMD640_ENHANCED is not set
> # CONFIG_BLK_DEV_IDEPNP is not set
> CONFIG_BLK_DEV_IDEDMA_SFF=y
>
> #
> # PCI IDE chipsets support
> #
> CONFIG_BLK_DEV_IDEPCI=y
> CONFIG_IDEPCI_PCIBUS_ORDER=y
> # CONFIG_BLK_DEV_OFFBOARD is not set
> CONFIG_BLK_DEV_GENERIC=y
> # CONFIG_BLK_DEV_OPTI621 is not set
> CONFIG_BLK_DEV_RZ1000=y
> CONFIG_BLK_DEV_IDEDMA_PCI=y
> # CONFIG_BLK_DEV_AEC62XX is not set
> # CONFIG_BLK_DEV_ALI15X3 is not set
> # CONFIG_BLK_DEV_AMD74XX is not set
> # CONFIG_BLK_DEV_ATIIXP is not set
> # CONFIG_BLK_DEV_CMD64X is not set
> # CONFIG_BLK_DEV_TRIFLEX is not set
> # CONFIG_BLK_DEV_CS5520 is not set
> # CONFIG_BLK_DEV_CS5530 is not set
> # CONFIG_BLK_DEV_CS5535 is not set
> # CONFIG_BLK_DEV_CS5536 is not set
> # CONFIG_BLK_DEV_HPT366 is not set
> # CONFIG_BLK_DEV_JMICRON is not set
> # CONFIG_BLK_DEV_SC1200 is not set
> CONFIG_BLK_DEV_PIIX=y
> # CONFIG_BLK_DEV_IT8172 is not set
> # CONFIG_BLK_DEV_IT8213 is not set
> # CONFIG_BLK_DEV_IT821X is not set
> # CONFIG_BLK_DEV_NS87415 is not set
> # CONFIG_BLK_DEV_PDC202XX_OLD is not set
> # CONFIG_BLK_DEV_PDC202XX_NEW is not set
> # CONFIG_BLK_DEV_SVWKS is not set
> # CONFIG_BLK_DEV_SIIMAGE is not set
> # CONFIG_BLK_DEV_SIS5513 is not set
> # CONFIG_BLK_DEV_SLC90E66 is not set
> # CONFIG_BLK_DEV_TRM290 is not set
> # CONFIG_BLK_DEV_VIA82CXXX is not set
> # CONFIG_BLK_DEV_TC86C001 is not set
> CONFIG_BLK_DEV_IDEDMA=y
[hostname] boot # |
I changed only tmpfs to devtmpfs in /etc/fstab:
Code: | shm /dev/shm devtmpfs nodev,nosuid,noexec 0 0 |
Reboot and my kernel and my system became live again, luckily .
Just wanted to share that. I hope that it can help somebody.
Best Regards,
Boyan Boychev
Bulgaria |
|
Back to top |
|
|
boyan7640 n00b
Joined: 07 Jun 2010 Posts: 4
|
Posted: Fri Jun 21, 2013 8:25 am Post subject: CONFIG_IDE vs CONFIG_ATA |
|
|
Hi all,
That's a continuation of my previous thread (see above). The package >=sys-fs/udev-200 recommends to unset CONFIG_IDE (ATA/ATAPI/MFM/RLL support (DEPRECATED)) as it's deprecated. In its place I should use CONFIG_ATA (Serial ATA and Parallel ATA drivers) kernel parameters as I use ATA disk and Intel IDE Controller (82801BA IDE U100 Controller). So, I disabled CONFIG_IDE (ATA/ATAPI/MFM/RLL support (DEPRECATED)) and enabled CONFIG_ATA (Serial ATA and Parallel ATA drivers) and "SCSI device support" kernel parameters.
Here are the details:
Quote: |
Device Drivers --->
< > ATA/ATAPI/MFM/RLL support (DEPRECATED)
[so nothing enabled under it]
<*> Serial ATA and Parallel ATA drivers --->
[*] Verbose ATA error reporting
[*] ATA ACPI Support
[*] ATA SFF support (for legacy IDE and PATA)
[*] ATA BMDMA support
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
<*> Intel PATA old PIIX support
<*> Intel SCH PATA support
<*> Intel PATA MPIIX support
<*> ACPI firmware driver for PATA
<*> Generic ATA support
SCSI device support --->
-*- SCSI device support
[*] legacy /proc/scsi/ support
<*> SCSI disk support
<M> SCSI CDROM support
<M> SCSI generic support
[*] SCSI low-level drivers --->
[nothing enabled under it]
|
Do not forget to set SCSI device support ---> SCSI disk support otherwise you will end with kernel panic.
Do not forget to change /boot/grub/menu.lst - from hda* to sda* (especially root parameter), e.g.
Code: | title=Gentoo Linux (3.8.13-gentoo)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda3 gentoo=udev ro quiet splash |
Do not forget to change /etc/fstab - from hda* to sda*, e.g.
Code: | /dev/sda1 /boot ext3 noauto,noatime 1 2
/dev/sda3 / ext3 noatime 0 1
/dev/sda2 none swap sw 0 0
|
Reboot and my kernel and my system became live again, luckily .
Just wanted to share that. I hope that it can help somebody.
Best Regards,
Boyan Boychev
Bulgaria |
|
Back to top |
|
|
jecepede Apprentice
Joined: 19 Nov 2002 Posts: 239
|
Posted: Sun Jul 21, 2013 4:06 pm Post subject: Fixed It... |
|
|
Aloha !
I can't believe I fell for this issue. I read about but BANG.... did it wrong never the less...
So I did what is described in this thread and it solvend my problem.
I Booted from my live CD and compiled a new kernel.
I did however use make menuconfig. Like lots of you, I'm lazy to edit .config directly.
Besides, in my humble opinion is it safer...
Cheeeeeeeeeeeeers and thank you for the help everyone.
Jecepede _________________ I've got that retro-feeling :
http://instagram.com/jecepede
Check out my YouTube channel
https://www.youtube.com/jecepede |
|
Back to top |
|
|
|