Andrei Pelinescu - Onciul wrote: > make clean > make oldconfig dep bzImage > > and bzImage is in arch/i386/boot/bzImage. > > How exactly did you try to build your kernel? Did you get any error > message? > > The kernel build process has nothing to do with Debian or any other > distribution. It just needs make, gcc etc. > > Andrei
"make bzImage" helped to create arch/i386/boot/bzImage as you stated. I used before make zImage which in fact had put the file in arch/i386/boot/compressed/. So the size of about 0.6MB is valid. I was just wondering because the 2.0.38 kernel I recently compiled was not much smaller (~0.5MB), but contained raid features. Here's what I did: make dep make clean make bzImage make modules make modules_install which differs from what you suggested by not using "make oldconfig". Why should I have done this since I didn't alter anything and all settings are in ../.config from the previous "make xconfig"? Anyhow I copied system.map and bzImage as "vmlinuz" into /boot and changed the old system.map and kernel into bak files. Then edited lilo.conf and executed lilo. Something must have gone wrong because the system now complains about "unresoloved symboles" after the phrase " calculating module dependancies". Unfortunatly these unresolved errors are not stored into any /var/log file so I cannot attach them to this mail. What do I have to change to get these reports into a file? Is the syslogd responseble for this? The only thing I can provide is part of /var/log/messages and the ls -l listing in the attached file named "files_in_boot". To make the day perfect, lilo refuses to accept any key (the old kernel is supposed to be booted with alias 2) and boots by default the new kernel remarking alias 1.... Lilo.conf is aswell attached to this mail. This really beates me down. Robert
Nov 8 18:19:28 MINI kernel: Linux NET4.0 for Linux 2.2 Nov 8 18:19:28 MINI kernel: Based upon Swansea University Computer Society NET3.039 Nov 8 18:19:28 MINI kernel: NET4: Unix domain sockets 1.0 for Linux NET4.0. Nov 8 18:19:28 MINI kernel: NET4: Linux TCP/IP 1.0 for NET4.0 Nov 8 18:19:28 MINI kernel: IP Protocols: ICMP, UDP, TCP Nov 8 18:19:28 MINI kernel: TCP: Hash tables configured (ehash 65536 bhash 65536) Nov 8 18:19:28 MINI kernel: Starting kswapd v 1.5 Nov 8 18:19:28 MINI kernel: parport0: PC-style at 0x378 [SPP,PS2,EPP] Nov 8 18:19:28 MINI kernel: Detected PS/2 Mouse Port. Nov 8 18:19:28 MINI kernel: Serial driver version 4.27 with no serial options enabled Nov 8 18:19:28 MINI kernel: pty: 256 Unix98 ptys configured Nov 8 18:19:28 MINI kernel: lp0: using parport0 (polling). Nov 8 18:19:28 MINI kernel: PIIX4: IDE controller on PCI bus 00 dev 39 Nov 8 18:19:28 MINI kernel: PIIX4: not 100% native mode: will probe irqs later Nov 8 18:19:28 MINI kernel: ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA Nov 8 18:19:28 MINI kernel: ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA Nov 8 18:19:28 MINI kernel: hda: ST32140A, ATA DISK drive Nov 8 18:19:28 MINI kernel: hdc: QUANTUM BIGFOOT1280A, ATA DISK drive Nov 8 18:19:28 MINI kernel: hdd: STINGRAY 8422 IDE 8X CD-ROM 7-27-95, ATAPI CDROM drive Nov 8 18:19:28 MINI kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Nov 8 18:19:28 MINI kernel: ide1 at 0x170-0x177,0x376 on irq 15 Nov 8 18:19:28 MINI kernel: hda: ST32140A, 2015MB w/128kB Cache, CHS=1023/64/63 Nov 8 18:19:28 MINI kernel: hdc: QUANTUM BIGFOOT1280A, 1226MB w/87kB Cache, CHS=2492/16/63, DMA Nov 8 18:19:28 MINI kernel: hdd: ATAPI 2X CD-ROM drive, 240kB Cache Nov 8 18:19:28 MINI kernel: Uniform CD-ROM driver Revision: 3.11 Nov 8 18:19:28 MINI kernel: Floppy drive(s): fd0 is 1.44M Nov 8 18:19:28 MINI kernel: FDC 0 is a post-1991 82077 Nov 8 18:19:28 MINI kernel: PPP: version 2.3.7 (demand dialling) Nov 8 18:19:28 MINI kernel: TCP compression code copyright 1989 Regents of the University of California Nov 8 18:19:28 MINI kernel: PPP line discipline registered. Nov 8 18:19:28 MINI kernel: rtl8139.c:v1.07 5/6/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/rtl8139.html Nov 8 18:19:28 MINI kernel: eth0: RealTek RTL8139 Fast Ethernet at 0xec00, IRQ 11, 00:00:21:d9:37:b2. Nov 8 18:19:28 MINI kernel: Partition check: Nov 8 18:19:28 MINI kernel: hda: hda1 hda2 < hda5 hda6 > Nov 8 18:19:28 MINI kernel: hdc: [PTBL] [623/64/63] hdc1 < hdc5 hdc6 > Nov 8 18:19:28 MINI kernel: VFS: Mounted root (ext2 filesystem) readonly. Nov 8 18:19:28 MINI kernel: Freeing unused kernel memory: 40k freed Nov 8 18:19:28 MINI kernel: Adding Swap: 114876k swap-space (priority -1) Nov 8 18:19:28 MINI kernel: NTFS version 000607 Nov 8 18:19:28 MINI kernel: Linux video capture interface: v1.00
lilo.conf
Description: application/unknown-content-type-conf_auto_file
total 2148 -rw-r--r-- 1 root root 209206 Nov 8 18:01 System.map -rw-r--r-- 1 root root 265635 Oct 20 16:53 System.map-2.2.17.bak -rw-r--r-- 1 root root 512 Oct 20 17:07 boot.0302 -rw-r--r-- 1 root root 4568 Oct 20 17:05 boot.b -rw-r--r-- 1 root root 612 Oct 20 17:05 chain.b -rw-r--r-- 1 root root 12648 Oct 20 16:53 config-2.2.17 -rw------- 1 root root 21504 Nov 8 18:04 map -rw-r--r-- 1 root root 512 Oct 20 17:05 mbr.b -rw-r--r-- 1 root root 640 Oct 20 17:05 os2_d.b -rw-r--r-- 1 root root 590364 Nov 8 18:00 vmlinuz -rwxr-xr-x 1 root root 1042807 Oct 20 16:53 vmlinuz-2.2.17.bak