From: Max <ma...@al...> - 2004-04-17 21:20:24
|
Jaroslaw Kowalski wrote: >Hi guys! > >Here are some ideas: > >1. Compile everything statically. > >2. Provide a way to automatically install "vmlinux-modules.tar.gz" under >"/lib/modules/kernel-version". This would require some smart script on the >linux side, but I think it's doable. The only problem I see is passing the >vmlinux-modules.tar.gz down to the linux guest. I think we'd need something >like /dev/cocd (character device as opposed to /dev/cobd). > >3. Provide a mini-partition that would contain the modules instead of the >tar.gz. This can could be mounted in fstab under "/lib/modules". > >What do you think? > > I like solutions 1 and 3. However, I think long term, it might be better to boot the kernel out of the image, using some grub-like magic to read the file system. I realize this would be a pain right now since the kernel changes daily. However, this would also allow us to patch and compile the kernel within linux and just leave it there. Eg, more like grub than loadlin. Or we can give up on modules. Since the hardware in the guest is pretty much always the same, there's no need for modules. >Jarek > > Max |