View previous topic :: View next topic |
Author |
Message |
FBorges22 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Gordon_Freeman2.gif)
Joined: 14 Feb 2007 Posts: 98 Location: Earth Orbit
|
Posted: Sat Mar 15, 2008 8:56 pm Post subject: Kernel upgrade problems... |
|
|
Greetings,
Recently I performed a upgrade in my kernel to the 2.6.19 to the 2.6.24 version. However, when I try to boot my system with the new version the following error occurs during the boot process:
Code: | * Mounting proc at /proc... [ok]
* Mounting sysfs at sys... [ok]
* Mounting dev for /udev... [oops]
* The mount command failed with error:
wrong fs type, bad option, bad superblock on udev,
missing code page or other error
In some cases useful info is found in syslog - try
Dmesg | tail or so
* Since this is a critical task, startup cannot continue. |
I do not understand why this is happening. Because I compiled the full ext2, ext3 and reiserfs support. And I check the dmesg command and the system successfully recognized my hard disks and partitions.
Any ideas?
Thanks,
FBorges22 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cyrillic Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/8174739453e52fd5e9aef6.jpg)
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Mar 15, 2008 9:47 pm Post subject: Re: Kernel upgrade problems... |
|
|
FBorges22 wrote: | I compiled the full ext2, ext3 and reiserfs support. |
Udev normally uses tmpfs. This is the kernel option you want to select.
Code: | File systems --->
Pseudo filesystems --->
[*] Virtual memory file system support (former shm fs) |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
FBorges22 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Gordon_Freeman2.gif)
Joined: 14 Feb 2007 Posts: 98 Location: Earth Orbit
|
Posted: Sun Mar 16, 2008 2:43 am Post subject: Continuing... |
|
|
Ok I done that and now another error occurred:
Code: |
* Mounting proc at /proc... [ok]
* Mounting sysfs at /sys... [ok]
* Mounting /dev for udev... [ok]
* Seeding /dev with needed nodes... [ok]
* Starting udevd ...
udevd[1218]: ini_udevd_socket: error getting socket: Address family not supported by protocol
error initializing udevd socket
udevd[1218]: main: error initializing udevd socket [!!]
* Populating /dev with existing devices through uevents... [ok]
* Letting udev process events... [!!]
* Finalizing udev configuration [ok]
* Mounting devpts at /dev/pts [ok]
* Checking root filesystem...
fsck.ext3: No such file or directory while trying to open /dev/sdb7
/dev/sdb7:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
* File system couldn't be fixed
|
It seems that the kernel is having trouble with ext2 filesystem. Again I continue to not understanding why this is happening. Because the old kernel is working fine and in the new kernel I compiled all ext related resources...
Any ideas?
Thanks,
FBorges22 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eccerr0r Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 01 Jul 2004 Posts: 9890 Location: almost Mile High in the USA
|
Posted: Sun Mar 16, 2008 3:54 pm Post subject: |
|
|
Sorry for not knowing the specific answer to your problem, but the issue is still in udev and its kernel counterpart. The particular error that needs to be addressed is:
Code: | udevd[1218]: ini_udevd_socket: error getting socket: Address family not supported by protocol
error initializing udevd socket
udevd[1218]: main: error initializing udevd socket [!!]
|
My suspicion is that you have some networking or IPC options disabled in your kernel. Perhaps diffing your configs for the kernels would be a start.
[update]
I just saw https://forums.gentoo.org/viewtopic-t-675482.html which is showing signs of a more devious problem than expected... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cyrillic Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/8174739453e52fd5e9aef6.jpg)
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Mar 16, 2008 8:59 pm Post subject: |
|
|
Yeah, now it looks like a networking problem.
Make sure you have this one compiled-in (not a module)
Code: | Networking --->
Networking options --->
<*> Unix domain sockets |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
FBorges22 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Gordon_Freeman2.gif)
Joined: 14 Feb 2007 Posts: 98 Location: Earth Orbit
|
Posted: Sun Mar 16, 2008 9:54 pm Post subject: |
|
|
Well almost there...
The system booted successfully. However, the service net.eth0 failed to start.
Here is the error message:
Code: |
* Starting eth0
* Bringin up eth0
* dhcp
* Running dhcpcd ...
Error, eth0: socket: Address family not supported by protocol |
Here is my "Networking configuration" in the kernel
Code: |
Networking options --->
<*> Unix domain sockets
[*] TCP/IP networking
[*] IP: multicasting
[*] IP: kernel level autoconfiguration
[*] IP: DHCP support
[*] IP: BOOTP support
[*] IP: RARP support
<M> IP: tunneling
<*> IP: IPsec transport mode
<*> IP: IPsec tunnel mode
<*> IP: IPsec BEET mode
<*> INET: socket monitoring interface
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
theholymac n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Jun 2006 Posts: 56 Location: Probably at the solar car shop in St. Paul
|
Posted: Sun Mar 16, 2008 10:05 pm Post subject: |
|
|
FBorges22, I'm getting that exact error on a Compaq DL360 that I'm trying to install Gentoo on, 2.6.24-gentoo-r3 kernel.
Code: |
* Starting eth0
* Bringin up eth0
* dhcp
* Running dhcpcd ...
Error, eth0: socket: Address family not supported by protocol
|
I'm 99% sure that it's mis-configured kernel options, but I haven't been able to find it; I think it's just DHCP. I'm building this as a home server/router, and the second NIC that has a statically assigned IP comes up just fine. I have not yet tested wether I can set up eth0 with a static IP; I will when I get home. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
theholymac n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Jun 2006 Posts: 56 Location: Probably at the solar car shop in St. Paul
|
Posted: Mon Mar 17, 2008 12:13 am Post subject: |
|
|
Fixed my problem! Make sure that "Packet Socket" under networking options is compiled in. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
FBorges22 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Gordon_Freeman2.gif)
Joined: 14 Feb 2007 Posts: 98 Location: Earth Orbit
|
Posted: Mon Mar 17, 2008 1:01 am Post subject: |
|
|
All right... The network problem was solved successfully.
Now I am having a new problem:
When I tried to run the module-rebuild rebuild command the compiler displayed a error message concerning something called DRM Module. Look the error output:
Code: |
* Portage could not build the DRM modules. If you see an ACCESS DENIED error,
* this could mean that you were using an unsupported kernel build system. All
* 2.4 kernels are supported, but only 2.6 kernels at least as new as 2.6.6
* are supported.
*
* ERROR: x11-base/x11-drm-20060608 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3729: Called die_error
* environment, line 1138: Called die
* The specific snippet of code:
* die "Unable to build DRM modules."
* The die message:
* Unable to build DRM modules.
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-base/x11-drm-20060608/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-base/x11-drm-20060608/temp/environment'.
*
|
Because of this error I cannot start the X Server in this new kernel version.
Any ideas?
Thanks,
FBorges22 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mmeier n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Mar 2008 Posts: 10 Location: Germany
|
Posted: Mon Mar 17, 2008 5:55 pm Post subject: |
|
|
Did you compile your kernel with DRM support? It's located in
Device Drivers
--> Character Devices
--> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
You can either compile it into the kernel or use the module from Portage.
Hope that helps
PS: ToDo List: Renew my english writing abilities...my goodness writing this small post was definetaly hard...hope the University Paderborn has rather good English courses.*g* |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
FBorges22 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Gordon_Freeman2.gif)
Joined: 14 Feb 2007 Posts: 98 Location: Earth Orbit
|
Posted: Mon Mar 17, 2008 8:51 pm Post subject: |
|
|
It did not work. When I enabled the DRI in the kernel this error below appears when I use the module-rebuild rebuild command...
Code: |
*
* Messages for package x11-base/x11-drm-20060608:
*
* ERROR: x11-base/x11-drm-20060608 failed.
* Call stack:
* ebuild.sh, line 49: Called pkg_setup
* x11-drm-20060608.ebuild, line 50: Called die
* The specific snippet of code:
* linux_chkconfig_builtin "DRM" && \
* die "Please disable or modularize DRM in the
* kernel config. (CONFIG_DRM = n or m)"
* The die message:
* Please disable or modularize DRM in the kernel config.
* (CONFIG_DRM = n or m)
*
* If you need support, post the topmost build error, and the
* call stack if relevant.
* A complete build log is located at
* '/var/tmp/portage/x11-base/x11-drm-20060608/temp/build.log'.
* The ebuild environment file is located at
* '/var/tmp/portage/x11-base/x11-drm-20060608/temp/die.env'.
*
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxtuxhellsinki l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/108586992641e91ddb64c5a.gif)
Joined: 15 Nov 2004 Posts: 700 Location: Hellsinki
|
Posted: Mon Mar 17, 2008 10:01 pm Post subject: |
|
|
For your 1st problem you'd check that your symlink is pointing to current Kernel and try to run ....
Code: | echo "x11-base/x11-drm" >> /etc/portage/package.keywords && emerge -v x11-base/x11-drm |
And for the 2nd one I think you can figure it out
Quote: | * Please disable or modularize DRM in the kernel config.
* (CONFIG_DRM = n or m) |
_________________ 1st use 'Search' & lastly add [Solved] to
the subject of your first post in the thread. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
FBorges22 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Gordon_Freeman2.gif)
Joined: 14 Feb 2007 Posts: 98 Location: Earth Orbit
|
Posted: Tue Mar 18, 2008 2:11 am Post subject: |
|
|
It did not work... The symlink is ok and the same error continues to occur. What else could be wrong? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
FBorges22 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Gordon_Freeman2.gif)
Joined: 14 Feb 2007 Posts: 98 Location: Earth Orbit
|
Posted: Wed Mar 19, 2008 2:37 pm Post subject: |
|
|
Recently a DRI update was released in the portage, and this version solved my problem somehow...
Now I have one last issue:
How I can enhance my console resolution to 640x480 pixels? I remember that in the 2.6.19 version had an option that allowed the user to set this, but this new version don't have this option. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linuxtuxhellsinki l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/108586992641e91ddb64c5a.gif)
Joined: 15 Nov 2004 Posts: 700 Location: Hellsinki
|
Posted: Wed Mar 19, 2008 7:58 pm Post subject: |
|
|
uvesafb or some other framebuffer device. _________________ 1st use 'Search' & lastly add [Solved] to
the subject of your first post in the thread. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
FBorges22 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Gordon_Freeman2.gif)
Joined: 14 Feb 2007 Posts: 98 Location: Earth Orbit
|
Posted: Thu Mar 20, 2008 4:02 am Post subject: |
|
|
Done... Upgrade successfully! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|