Tuesday, June 22, 2010

Chapter 8 revisited

Looking at my notes, I seemed to have skipped this step and ran "make oldconfig" instead. This is due to my lack of familiarity with configuration using menuconfig. I am mostly familiar with the ./configure,make and make install that I had been doing through Chapters 5 and 6.

root#make LANG=nl_NL LC_ALL= menuconfig

Well, a menu appears!
This is nice.

#
# using defaults found in arch/x86/configs/i386_defconfig
#
#
# configuration written to .config
#


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.
Tail end of output of make
Root device is (8, 22)
Setup is 11756 bytes (padded to 11776 bytes).
System is 4048 kB
CRC 5ffe0f2f
Kernel: arch/x86/boot/bzImage is ready  (#1)
  Building modules, stage 2.
  MODPOST 2 modules
  CC      arch/x86/kernel/test_nx.mod.o
  LD [M]  arch/x86/kernel/test_nx.ko
  CC      drivers/scsi/scsi_wait_scan.mod.o
  LD [M]  drivers/scsi/scsi_wait_scan.ko


root:/sources/linux-2.6.32.8# make modules_install
INSTALL arch/x86/kernel/test_nx.ko
INSTALL drivers/scsi/scsi_wait_scan.ko
DEPMOD 2.6.32.8


Did all the other stuff in this section as well, with no errors. Reboot but first unmount everything.

1 comment:

  1. re-make with ATA support (did not run mrproper, hope to speed things up)

    Root device is (8, 22)
    Setup is 11756 bytes (padded to 11776 bytes).
    System is 4053 kB
    CRC 4f137a8b
    Kernel: arch/x86/boot/bzImage is ready (#2)
    Building modules, stage 2.
    MODPOST 4 modules
    CC drivers/ide/ide-core.mod.o
    LD [M] drivers/ide/ide-core.ko
    CC drivers/ide/ide-gd_mod.mod.o
    LD [M] drivers/ide/ide-gd_mod.ko

    root:/sources/linux-2.6.32.8# make modules_install
    INSTALL arch/x86/kernel/test_nx.ko
    INSTALL drivers/ide/ide-core.ko
    INSTALL drivers/ide/ide-gd_mod.ko
    INSTALL drivers/scsi/scsi_wait_scan.ko
    DEPMOD 2.6.32.8

    ReplyDelete