Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel upgrade problems...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
FBorges22
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2007
Posts: 98
Location: Earth Orbit

PostPosted: Sat Mar 15, 2008 8:56 pm    Post subject: Kernel upgrade problems... Reply with quote

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


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Mar 15, 2008 9:47 pm    Post subject: Re: Kernel upgrade problems... Reply with quote

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
View user's profile Send private message
FBorges22
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2007
Posts: 98
Location: Earth Orbit

PostPosted: Sun Mar 16, 2008 2:43 am    Post subject: Continuing... Reply with quote

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


Joined: 01 Jul 2004
Posts: 7336
Location: almost Mile High in the USA

PostPosted: Sun Mar 16, 2008 3:54 pm    Post subject: Reply with quote

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@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Mar 16, 2008 8:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
FBorges22
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2007
Posts: 98
Location: Earth Orbit

PostPosted: Sun Mar 16, 2008 9:54 pm    Post subject: Reply with quote

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


Joined: 28 Jun 2006
Posts: 56
Location: Probably at the solar car shop in St. Paul

PostPosted: Sun Mar 16, 2008 10:05 pm    Post subject: Reply with quote

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


Joined: 28 Jun 2006
Posts: 56
Location: Probably at the solar car shop in St. Paul

PostPosted: Mon Mar 17, 2008 12:13 am    Post subject: Reply with quote

Fixed my problem! Make sure that "Packet Socket" under networking options is compiled in.
Back to top
View user's profile Send private message
FBorges22
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2007
Posts: 98
Location: Earth Orbit

PostPosted: Mon Mar 17, 2008 1:01 am    Post subject: Reply with quote

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


Joined: 17 Mar 2008
Posts: 10
Location: Germany

PostPosted: Mon Mar 17, 2008 5:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
FBorges22
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2007
Posts: 98
Location: Earth Orbit

PostPosted: Mon Mar 17, 2008 8:51 pm    Post subject: Reply with quote

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


Joined: 15 Nov 2004
Posts: 700
Location: Hellsinki

PostPosted: Mon Mar 17, 2008 10:01 pm    Post subject: Reply with quote

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 :wink:
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
View user's profile Send private message
FBorges22
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2007
Posts: 98
Location: Earth Orbit

PostPosted: Tue Mar 18, 2008 2:11 am    Post subject: Reply with quote

It did not work... The symlink is ok and the same error continues to occur. What else could be wrong?
Back to top
View user's profile Send private message
FBorges22
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2007
Posts: 98
Location: Earth Orbit

PostPosted: Wed Mar 19, 2008 2:37 pm    Post subject: Reply with quote

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


Joined: 15 Nov 2004
Posts: 700
Location: Hellsinki

PostPosted: Wed Mar 19, 2008 7:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
FBorges22
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2007
Posts: 98
Location: Earth Orbit

PostPosted: Thu Mar 20, 2008 4:02 am    Post subject: Reply with quote

Done... Upgrade successfully!
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
Page 1 of 1

 
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