Skip to contentSkip to conversation

problem when booting 2.4.2

DISCUSSION sri gg 2 participants 2 messages May 6, 2001

lore
Share & tools
lore

sri gg

author
#0 lore raw

Hello,
I recently compiled the 2.4.2 kernel on x86,
and installed it. when booting off it, it fails to open the /dev/tty's and dumps the following messages..
=========================================

May  6 02:32:40 localhost /sbin/mingetty[786]:
/dev/tty4: No such file or direct
ory
May  6 02:32:40 localhost /sbin/mingetty[785]:
/dev/tty3: No such file or direct
ory
May  6 02:32:40 localhost /sbin/mingetty[787]:
/dev/tty5: No such file or direct
ory
May  6 02:32:40 localhost /sbin/mingetty[788]:
/dev/tty1: No such file or direct
ory
May  6 02:32:40 localhost /sbin/mingetty[789]:
/dev/tty2: No such file or direct
ory
May  6 02:32:40 localhost /sbin/mingetty[790]:
/dev/tty3: No such file or direct
ory
May  6 02:32:40 localhost /sbin/mingetty[793]:
/dev/tty6: No such file or direct
ory
May  6 02:32:40 localhost /sbin/mingetty[794]:
/dev/tty1: No such file or direct
ory
May  6 02:32:40 localhost /sbin/mingetty[791]:
/dev/tty4: No such file or direct
ory
May  6 02:32:40 localhost /sbin/mingetty[795]:
/dev/tty2: No such file or direct
ory
May  6 02:32:40 localhost /sbin/mingetty[797]:
/dev/tty5: No such file or direct
ory
May  6 02:32:40 localhost /sbin/mingetty[796]:

/dev/tty3: No such file or direct
============================================
Because of that, it is not able to get the keyboard
or the mouse.. and everything is hung. It does accept the ctrl+alt+del to shutdown..

Another question which i wanted to ask was, how does the new kernel know where to find the new compiled modules in the /lib/modules directoy? I have my old modules in /lib/modules/2.2.16, and my new modules under /lib/modules/2.4.2.

Any help or suggestions would be greatly appreciated. Thanks.
srimg.

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

#1 lore raw
Quoted 8 lines · sri gg

Hello,
I recently compiled the 2.4.2 kernel on x86,
and installed it. when booting off it, it fails to open the /dev/tty's and dumps the following messages..
=========================================

May  6 02:32:40 localhost /sbin/mingetty[786]:

/dev/tty4: No such file or direct
ory

I think you may have compiled in devfs support. You need to run devfsd so it can map the old device names so programs like mingetty don't freak out. I don't have the url handy but you can search for it on freshmeat.net

Quoted 6 lines

Another question which i wanted to ask was, how does the new kernel know where to find the new compiled modules in the /lib/modules directoy? I have my old modules in /lib/modules/2.2.16, and my new modules under /lib/modules/2.4.2.

The kernel will automagically look for modules in /lib/modules/<kernel version>/. <kernel version> will be whatever the output of uname -r is on your currently running kernel.

Signature · 8 lines
=====================================================================
Mohammad A. Haque                              http://www.haque.net/
                                               [email protected]

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               [email protected]
=====================================================================