Find the answer to your Linux question:
Results 1 to 6 of 6
Hey there! I've a problem on a own-made kernel =P. No, it's not a kernel panic, but i do get the following: Code: /bin/cat: /sys/block/sda/dev: No such file or directory ...
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Location
    Rosario, Argentina
    Posts
    55

    Question booting kernel error (no panic)

    Hey there! I've a problem on a own-made kernel =P. No, it's not a kernel panic, but i do get the following:
    Code:
    /bin/cat: /sys/block/sda/dev: No such file or directory
    Waiting 1 seconds for /sys/block/sda/dev to show up
    /bin/cat: /sys/block/sda/dev: No such file or directory
    Waiting 2 seconds for /sys/block/sda/dev to show up
    /bin/cat: /sys/block/sda/dev: No such file or directory
    Waiting 4 seconds for /sys/block/sda/dev to show up
    And so and so... Any help? T_T if u wonder how did i compile this, i've followed the steps in this webpage: http://www.howtoforge.com/kernel_compilation_debian

    thanks for help!

  2. #2
    Just Joined!
    Join Date
    May 2007
    Location
    In a city called Chennai in India
    Posts
    17

    Post

    Hi,

    Why would you need this kernel ?? Is this kernel for any embedded application or just for use in your PC. !!??

    If it is just for a PC, then just do the following step:

    1. Goto the folder where you have the kernel source.
    (eg., /usr/src/linux-2.6.18/)
    2. Give "make clean" to clean up the previous compilations
    3. Give "make menuconfig" where you will see the configuration page. Just Pressing "Esc" Key will ask you if you need to save the configuration. Give "Yes" and it will drop you back to the shell. You can otherwise give "make defconfig" also if you could deal with the default configuration that linux holds.
    4. Give "make", "make modules", "make modules_install", "make install" each one by one after each steps completes. I mean, give "make" and when it completes and gives you the shell, give the next command.
    5. Once all the above steps are over, just reboot and you can find the new kernel imprinted in the GRUB also.

    If you want it for a custom embedded board where you would have to strip up the kernel, then in the step of "make menuconfig", you would have to select the drivers, your filesystem (for any flash type) etc. and then do the steps as given above.

    Regards
    Visu

  3. #3
    Linux User
    Join Date
    Aug 2005
    Posts
    408
    Pixelsize, here's a note from the page you posted:

    Next make sure you enable the Fusion MPT device drivers under Device Drivers --> Fusion MPT device support. I don't know if this is necessary on all platforms; at least it is on mine (Debian Sarge on a VMware Server) because otherwise you'll get this error message when you boot your new kernel:

    /bin/cat: /sys/block/sda/dev: No such file or directory

    which results in a kernel panic.

  4. #4
    Just Joined!
    Join Date
    Jul 2006
    Location
    Rosario, Argentina
    Posts
    55

    ooh

    oooh now i get it! the problem wasnt the kernel panic! the problem was that i'm a completely idiot now i see it! =D xD haha xD omg so embarrased xD thx guys xD

  5. #5
    Just Joined!
    Join Date
    Jul 2006
    Location
    Rosario, Argentina
    Posts
    55
    err no, wait, hold on... that is already activated in my kernel T_T as a matter of fact, i never touched it T_T
    Code:
    <M> Fusion MPT ScsiHost drivers for SPI
    <M> Fusion MPT ScsiHost drivers for FC
    <M> Fusion MPT ScsiHost drivers for SAS
    (40) Maximum number of scatter gather entries (16 - 128)
    <M> Fusion MPT misc device (ioctl) driver
    <M> Fusion MPT LAN driver
    Any1 else? =/

    (note: i'll try setting the maximum to 128 as in the tutorial, who knows! i'll tell the result later...

  6. #6
    Just Joined!
    Join Date
    Jul 2006
    Location
    Rosario, Argentina
    Posts
    55
    no, that didnt work either... r u out of ideas? =P

Posting Permissions

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