Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I have compiled Kernel 2.4, made a root file system and it worked fine. (on a powerpc of Xilinx FPGA). Now, I'm trying Kernel 2.6. I'm using exactly the ...
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    6

    Kernel 2.4 vs 2.6 boot - /dev stuff

    Hi,

    I have compiled Kernel 2.4, made a root file system and it worked fine. (on a powerpc of Xilinx FPGA).

    Now, I'm trying Kernel 2.6.

    I'm using exactly the same root file system - which is nothing but a few scripts, directories and compiled BusyBox. BusyBox compiling works OK for both 2.4 and 2.6 Kernel.

    However, I have trouble in booting 2.6 kernel up. I get warnings and errors like "unable to open an initial console" ... can't find "/dev/null" ...

    In my root file system, the /dev directory is almost empty - only ./pts and ./shm are there. The 2.4 kernel automatically build other /dev/* stuff and it boots up OK.

    For the 2.6 kernel, I manually "mknod" for /dev/console and /dev/null, now the kernel boots up. However, still a lot of stuff is missing in /dev.

    Is this a difference between Kernel 2.4 and 2.6? In kernel 2.4 configuration, there are the following options in "File System"[*] /dev file system support (EXPERIMENTAL)[*] Automatically mount at boot

    While I do not find such options in 2.6 configuration. These options might play the role of "creating /dev/* stuff automatically"?

    Thanks in advance for helping me with this newbie question.

  2. #2
    Just Joined!
    Join Date
    Jul 2009
    Posts
    6
    Is here the right place for my thread?
    Or may sb help me forward my thread to somewhere more proper?

  3. #3
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    this is because kernel 2.6 introduced the use of udev
    udev

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...