From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,f073a11734a16079,start X-Google-Attributes: gid111c93,public From: mott@mathworks.com (Peter Mott) Subject: How does one determine the kernel's configuration... Date: 1998/11/30 Message-ID: #1/1 X-Deja-AN: 417184769 Organization: The MathWorks, Inc. Newsgroups: comp.os.linux.alpha I am trying to build and boot a new kernel for my DECaxpPCI33. I am running a 2.0.34 kernel install with debian disks for noname from debian/dists/sid/main/disks-alpha/1998-07-02 I'd like to find out how the present kernel is configured, as in what would the .config file contain to build it. It there a way to determine this when there is no .config file to look at? I am building with sources from ftp://ftp.digital.com/pub/DEC/Linux- Alpha/Kernels/alpha-sources-2.0.35-0.2.tar.gz I have successfully built a kernel: make mrproper make menuconfig Choosing noname make dep make boot When I boot the kernel it gets an unable to mount root file system error. This is because it is it is not configured with support for the DECaxpPCI33's SCSI controller, which is not an available option from menuconfig. I went into the .config created from my successful build and found the line for the SCSI controller. I changed it to '...=y'. (I can't be more specific 'cause the machine is at home and I don't remember the exact controller name.) Having done this and executing: make clean make dep make boot I get errors in the build. Again, I can remember the exact messages, but I'm hoping to have an answer to the subject, 'How does one determine the kernel's configuration...', and maybe get lucky with a kernel building expert recognizing something wrong with what I've tried to do. I am interested in making my kernel as close to the configuration of the 2.0.34 kernel I am running as possible, but I don't know how to determine that configuration. I'll play around the configuration I have learn how to build and boot something, anything, successfully. Thanks. - Peter Mott