Hi folks,
Building LiveCD on BLFS 6.1
Preliminary steps;
Formating /dev/hda7 (a spare partition for building LiveCD) and duplicating /dev/hda6 (BLFS 6.1) on it. Rebooted to LiveCD making sure it working the same way as /dev/hda6 (BLFS 6.1). Rebooted again and started FC3. Following;
Beginners Guide To Creating A Live CD With LFS 6.0
http://www.linuxfromscratch.org/hint...-udev-nptl.txt
to build LiveCD
After recompiling kernel rebooted FC3 and started LiveCD to continue building LiveCD.
Now the problem came. "loop" and "sound" seemingly can't co-exist as "module". I almost spent half day to recompile kernel meeting certain difficulty
Steps performed
# make clean/distclean (tried both)
# make mrproper
# make menuconfig
# make
# make modules_install
The .config file seemed not storing data saved.
$ ls -al /usr/src/linux-2.6.11.12/ | grep config
Code:
-rw-r--r-- 1 root root 29707 Oct 22 16:40 .config
-rw-r--r-- 1 root root 5146 Oct 22 16:40 .config.cmd
-rw-r--r-- 1 root root 29707 Oct 22 16:40 .config.old
-rw------- 1 root root 29322 Oct 22 15:50 .config.save.1
Each time on running "make menuconfig" I have to select all follwing items again.
1)
File systems --> Miscellaneous filesystems -->
<*> SquashFS 2.2 - Squashed file system support(NEW)
2)
Device drivers --> Block devices -->
<*> RAM disk support[*] Initial RAM disk (initrd) support
3)
Device drivers --> Block devices -->
<M> Loopback device support
(not <*> as suggested)
(Remark: it must be enabled as Module. <*> did not work)
4)
To enable PPP support
Device Drivers ---> Networking support --->
<*> PPP (point-to-point protocol) support
5)
Sound
Device Drivers --> Sound --> Adcance Linux Sound Architecture
(On selecting "Adcanced Linux Sound Architecture as <M> all following <M> prompted
<M> Advanced Linux Sound Architecture
<M> Sequencer support
< > Sequencer dummy client
<M> OSS Mixer API
<M> OSS PCM (digital audio) API[*] OSS Sequencer API
6)
Device Drivers --> Sound --> Adcance Linux Sound Architecture --->
PCI ---> <M> VIA 82C686A/B, 8233/8235 AC97 Controller
7)
Processor type and features ---> Processor family (Athlon/Duron/K7)
--->
---> (X) Athlon/Duron/K7
(Remark: it is only allowed to select one item here)[*] Generic x86 support
On running;
# make modules_install
Code:
INSTALL drivers/acpi/ibm_acpi.ko
INSTALL drivers/acpi/video.ko
INSTALL drivers/base/firmware_class.ko
INSTALL drivers/block/loop.ko
INSTALL drivers/char/agp/intel-mch-agp.ko
INSTALL drivers/net/dummy.ko
INSTALL drivers/net/s2io.ko
INSTALL drivers/scsi/dpt_i2o.ko
INSTALL drivers/scsi/ipr.ko
INSTALL drivers/scsi/sata_sis.ko
INSTALL drivers/scsi/sata_sx4.ko
INSTALL drivers/usb/input/touchkitusb.ko
INSTALL drivers/usb/misc/cytherm.ko
INSTALL drivers/usb/misc/phidgetservo.ko
INSTALL lib/libcrc32c.ko
INSTALL net/ipv4/netfilter/ipt_NOTRACK.ko
INSTALL net/ipv4/netfilter/iptable_raw.ko
INSTALL sound/core/oss/snd-mixer-oss.ko
INSTALL sound/core/oss/snd-pcm-oss.ko
INSTALL sound/core/seq/oss/snd-seq-oss.ko
INSTALL sound/core/seq/snd-seq-device.ko
INSTALL sound/core/seq/snd-seq-midi-event.ko
INSTALL sound/core/seq/snd-seq-midi.ko
INSTALL sound/core/seq/snd-seq.ko
INSTALL sound/core/snd-page-alloc.ko
INSTALL sound/core/snd-pcm.ko
INSTALL sound/core/snd-rawmidi.ko
INSTALL sound/core/snd-timer.ko
INSTALL sound/core/snd.ko
INSTALL sound/drivers/mpu401/snd-mpu401-uart.ko
INSTALL sound/pci/ac97/snd-ac97-codec.ko
INSTALL sound/pci/snd-intel8x0.ko
INSTALL sound/pci/snd-via82xx.ko
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.11.12-sound; fi
Then
# cp arch/i386/boot/bzImage /boot/lfscdkernel && cp System.map /boot/
# depmod -a
# modprobe loop
Code:
FATAL: Error inserting loop (/lib/modules/2.6.11.12-sound/kernel/drivers/block/loop.ko): Invalid module format
# modprobe snd-pcm-oss
Code:
WARNING: Error inserting snd (/lib/modules/2.6.11.12-sound/kernel/sound/core/snd.ko): Invalid module format
WARNING: Error inserting snd_mixer_oss (/lib/modules/2.6.11.12-sound/kernel/sound/core/oss/snd-mixer-oss.ko): Invalid module format
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.11.12-sound/kernel/sound/core/snd-page-alloc.ko): Invalid module format
WARNING: Error inserting snd_timer (/lib/modules/2.6.11.12-sound/kernel/sound/core/snd-timer.ko): Invalid module format
WARNING: Error inserting snd_pcm (/lib/modules/2.6.11.12-sound/kernel/sound/core/snd-pcm.ko): Invalid module format
FATAL: Error inserting snd_pcm_oss (/lib/modules/2.6.11.12-sound/kernel/sound/core/oss/snd-pcm-oss.ko): Invalid module format
# modprobe snd-seq-oss
Code:
WARNING: Error inserting snd (/lib/modules/2.6.11.12-sound/kernel/sound/core/snd.ko): Invalid module format
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.11.12-sound/kernel/sound/core/seq/snd-seq-device.ko): Invalid module format
WARNING: Error inserting snd_timer (/lib/modules/2.6.11.12-sound/kernel/sound/core/snd-timer.ko): Invalid module format
WARNING: Error inserting snd_seq (/lib/modules/2.6.11.12-sound/kernel/sound/core/seq/snd-seq.ko): Invalid module format
WARNING: Error inserting snd_seq_midi_event (/lib/modules/2.6.11.12-sound/kernel/sound/core/seq/snd-seq-midi-event.ko): Invalid module format
FATAL: Error inserting snd_seq_oss (/lib/modules/2.6.11.12-sound/kernel/sound/core/seq/oss/snd-seq-oss.ko): Invalid module format
I tried to discover the cause of unabling saving .config without reult.
Any suggestion? TIA
(Remark: "squashfs2.2-r2" has been installed and patched to the kernel. Would it be the cause?)
BR
satimis