LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel boot (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-boot-230620/)

defy 09-14-2004 04:34 PM

Kernel boot
 
Hi

i have suse 9.1 Pro and i was having the standard suse's kernel 2.6.4-smp.

I downloaded the latest kernel 2.6.8.1 and after compiling it, installing the kernel and copying the bzImage and the System.map to /boot, when i boot the system it prints many messages like
Code:

Loaded 26025 symbols from /boot/System.map-2.6.8.1.
Symbols match kernel version 2.6.8.
No module symbols loaded - kernel modules not enabled.

klogd 1.4.1, log source = ksyslog started.
y SeekComplete DataRequest Error }
<4>hda: read_intr: error=0x04 { DriveStatusError }
<4>hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
<4>hda: read_intr: error=0x04 { DriveStatusError }
<4>hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
<4>hda: read_intr: error=0x04 { DriveStatusError }
<4>ide0: reset: success
<4>hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
<4>hda: read_intr: error=0x04 { DriveStatusError }
<4>hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
... and so on

After that it boots but i can't access my dvd or cd-r. It says that
mount: fs type subfs not supported by kernel

I think that it has to do something with the command mkinitrd. The output is
Code:

Root device:    /dev/sda2 (mounted on / as reiserfs)
Module list:    ata_piix sata_promise reiserfs

Kernel image:  /boot/vmlinuz-2.6.4-52-smp
Initrd image:  /boot/initrd-2.6.4-52-smp
Shared libs:    lib/ld-2.3.3.so lib/libc.so.6 lib/libselinux.so.1

Cannot determine dependencies of module ide-disk. Is modules.dep up to date?
Cannot determine dependencies of module ide-floppy. Is modules.dep up to date?
Cannot determine dependencies of module ide-disk. Is modules.dep up to date?
Cannot determine dependencies of module ide-floppy. Is modules.dep up to date?
Modules:        kernel/drivers/scsi/scsi_mod.ko kernel/drivers/scsi/sd_mod.ko kernel/drivers/scsi/libata.ko kernel/drivers/scsi/ata_piix.ko kernel/drivers/scsi/sata_promise.ko kernel/fs/reiserfs/reiserfs.ko kernel/drivers/cdrom/cdrom.ko kernel/drivers/ide/ide-cd.ko
Bootsplash:    SuSE (1024x768)

Kernel image:  /boot/vmlinuz-2.6.7
Initrd image:  /boot/initrd-2.6.7
Shared libs:    lib/ld-2.3.3.so lib/libc.so.6 lib/libselinux.so.1

Cannot determine dependencies of module ide-disk. Is modules.dep up to date?
Cannot determine dependencies of module ide-floppy. Is modules.dep up to date?
Cannot determine dependencies of module ide-disk. Is modules.dep up to date?
Cannot determine dependencies of module ide-floppy. Is modules.dep up to date?
Modules:        kernel/drivers/scsi/scsi_mod.ko kernel/drivers/scsi/sd_mod.ko kernel/drivers/scsi/libata.ko kernel/drivers/scsi/ata_piix.ko kernel/drivers/scsi/sata_promise.ko kernel/fs/reiserfs/reiserfs.ko kernel/drivers/cdrom/cdrom.ko kernel/drivers/ide/ide-cd.ko
Bootsplash:    SuSE (1024x768)

Kernel image:  /boot/vmlinuz-2.6.8.1
Initrd image:  /boot/initrd-2.6.8.1
Shared libs:    lib/ld-2.3.3.so lib/libc.so.6 lib/libselinux.so.1

Cannot determine dependencies of module reiserfs. Is modules.dep up to date?
Cannot determine dependencies of module ide-disk. Is modules.dep up to date?
Cannot determine dependencies of module ide-floppy. Is modules.dep up to date?
Modules:        kernel/drivers/scsi/libata.ko kernel/drivers/scsi/ata_piix.ko kernel/drivers/scsi/sata_promise.ko kernel/drivers/cdrom/cdrom.ko kernel/drivers/ide/ide-cd.ko
Bootsplash:    SuSE (1024x768)

I have checked in make xconfig my filesystem and everything that had to do with fs.

How can i make up to date the modules.dep?
Any ideas?

Thanks!
:)

CroMagnon 09-14-2004 05:12 PM

Those DriveStatusError messages usually mean your hard drive is on it's last legs. Start backing up all your data immediately!

Also, did you enable kernel modules in the xconfig (it's under the first option)?

defy 09-14-2004 05:59 PM

Yes, i have enabled kernel modules.

When i boot with the standard kernel, no messages are being shown and everything is ok, so i don't think that is something with the drive.
What do you think?

Thanks!:)

CroMagnon 09-14-2004 07:18 PM

If your other kernel doesn't give these messages (check your logfiles just to be safe - you *really* want to be sure on this one ;)), then it's probably ok.

Did you also do 'make modules_install' after building the kernel? I'm not sure if this step is handled automatically with the new 2.6 builds, but I do it every time to be sure (superstition I guess).

Sohni 01-06-2005 11:05 AM

Vanilla kernels do not include subfs support. You have to download it from sourceforge (or freshmeat).

You have to compile it in working kernel. The process is very simple and covered in readme. You have to restart your system after that.

Sohni 01-06-2005 11:10 AM

/sbin/depmod -ae -F /boot/System.map-xxx
to test module dependencies and register them properly


All times are GMT -5. The time now is 11:38 PM.