Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
System frozen -- can't boot [UDEV] -- urgent
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1237
Location: 42.68n 85.41w

PostPosted: Tue Jan 22, 2013 12:57 am    Post subject: Reply with quote

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
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2129
Location: Finland

PostPosted: Tue Jan 22, 2013 1:06 am    Post subject: Reply with quote

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
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1237
Location: 42.68n 85.41w

PostPosted: Tue Jan 22, 2013 1:46 am    Post subject: Reply with quote

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
View user's profile Send private message
Duncan Mac Leod
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 178
Location: Germany

PostPosted: Tue Jan 22, 2013 2:48 am    Post subject: Reply with quote

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 8) !

Sorry, again!
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1237
Location: 42.68n 85.41w

PostPosted: Tue Jan 22, 2013 3:15 am    Post subject: Reply with quote

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 :twisted:
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Tue Jan 22, 2013 7:28 am    Post subject: Reply with quote

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 ! :wink:
_________________
Back to top
View user's profile Send private message
iandoug
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 294
Location: Cape Town, South Africa

PostPosted: Wed Jan 23, 2013 9:16 pm    Post subject: my solution Reply with quote

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 M3A78 64, X2 6000+, PX9800 GT, 4GB Ram | Asus M4A77TD PRO, X2 245, HD4350, 4GB RAM
Back to top
View user's profile Send private message
modnaruved
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2011
Posts: 86

PostPosted: Thu Jan 24, 2013 6:06 am    Post subject: Re: my solution Reply with quote

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
View user's profile Send private message
iandoug
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 294
Location: Cape Town, South Africa

PostPosted: Fri Feb 01, 2013 2:59 pm    Post subject: Re: my solution Reply with quote

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 M3A78 64, X2 6000+, PX9800 GT, 4GB Ram | Asus M4A77TD PRO, X2 245, HD4350, 4GB RAM
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1237
Location: 42.68n 85.41w

PostPosted: Fri Feb 01, 2013 7:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Chiitoo
l33t
l33t


Joined: 28 Feb 2010
Posts: 856
Location: Here and Away Again

PostPosted: Wed Feb 06, 2013 2:14 pm    Post subject: Re: my solution Reply with quote

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!
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
boyan7640
n00b
n00b


Joined: 07 Jun 2010
Posts: 3

PostPosted: Tue Jun 18, 2013 9:06 pm    Post subject: CONFIG_DEVTMPFS vs. CONFIG_IDE (or both?) Reply with quote

Hi all,

I decided to upgrade to sys-fs/udev-200, so as usually happens I broke my system. So, fun :D, I lost 3 hours to fix it :x.
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 :D :!: .

Just wanted to share that. I hope that it can help somebody.

Best Regards,
Boyan Boychev
Bulgaria
Back to top
View user's profile Send private message
boyan7640
n00b
n00b


Joined: 07 Jun 2010
Posts: 3

PostPosted: Fri Jun 21, 2013 8:25 am    Post subject: CONFIG_IDE vs CONFIG_ATA Reply with quote

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 :D :!: .

Just wanted to share that. I hope that it can help somebody.

Best Regards,
Boyan Boychev
Bulgaria
Back to top
View user's profile Send private message
jecepede
Apprentice
Apprentice


Joined: 19 Nov 2002
Posts: 170

PostPosted: Sun Jul 21, 2013 4:06 pm    Post subject: Fixed It... Reply with quote

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
_________________
With all this technology they can't even make a computer that bounces....
http://garfield.wabbit-wion.nl
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum