Procedure
1. Download the source code. kernel 3.0.4 2. Unompress and open the archive. bunzip2 linux-3.0.4.tar.bz2 tar -xvvf linux-3.0.4.tar 3. cd linux-3.0.4 4. Read the README File. 5. make allmodconfig To be continued....
1. Download the source code. kernel 3.0.4 2. Unompress and open the archive. bunzip2 linux-3.0.4.tar.bz2 tar -xvvf linux-3.0.4.tar 3. cd linux-3.0.4 4. Read the README File. 5. make allmodconfig To be continued....
$grep -r setup * boot/head.s: call setup_idt boot/head.s: call setup_gdt boot/head.s: mov %ax,%es # reloaded in 'setup_gdt' boot/head.s: * setup_idt boot/head.s:setup_idt: boot/head.s: * setup_gdt boot/head.s:setup_gdt: boot/head.s: jmp setup_paging boot/head.s:setup_paging: include/linux/sys.h:extern int sys_setup(); include/linux/sys.h:fn_ptr sys_call_table[] = { sys_setup, sys_exit, sys_fork, sys_read, include/unistd.h:#define __NR_setup 0 /* used only by init, to get system going */ init/main.c:static inline _syscall0(int,setup) init/main.c: * Interrupts are still disabled. Do necessary setups, then init/main.c: setup(); kernel/hd.c:int sys_setup(void)
$apt-cache search bochs grub-firmware-qemu - GRUB firmware image for QEMU vgabios - VGA BIOS software for the Bochs and Qemu emulated VGA card bochs - IA-32 PC emulator bochs-doc - Bochs upstream documentation bochs-sdl - SDL plugin for Bochs bochs-svga - SVGA plugin for Bochs bochs-term - Terminal (ncurses-based) plugin for Bochs bochs-wx - WxWindows plugin for Bochs bochs-x - X11 plugin for Bochs bochsbios - BIOS for the Bochs emulator bximage - Disk Image Creation Tool for Bochs
Setting up libasound2 (1.0.24.1-2) ... Setting up libasound2-dev (1.0.24.1-2) ... Setting up lib32asound2 (1.0.24.1-2) ... Setting up libltdl7 (2.4-2) ... Setting up libltdl-dev (2.4-2) ... Setting up bochsbios (2.4.6-3) ... Setting up vgabios (0.6c-3) ... Setting up bximage (2.4.6-3) ... Setting up bochs-wx (2.4.6-3) ... Setting up bochs (2.4.6-3) ... Processing triggers for menu ... $