New illumos kernel
illumos kernel finally (after more that a year) is compiled from sources.
Sources are at state of October 2012 with these fixes:
Sources are at state of October 2012 with these fixes:
- 3443 Missing curly-braces in one ixgbe file.
- 995 boot message: No randomness provider enabled for /dev/random
Note that old zfsutils will not work on new kernel,
and new zfsutils will not work on old kernel.
- There are warnings about multiple defined symbols in kmdbmod
- Closed source drivers are missed (more warnings from scsi drivers)
Discuss at dyson-devel@osdyson.org or #osdyson at irc.freenode.net.
- Create a shapshot of your VM !
- Update APT repository:
apt-get update
- Make sure you have new bootadm:
apt-get install bootadm
- Create a new "BE":
zfs snapshot dyson/root@new zfs clone dyson/root@new dyson/new
- Mount devices under the new BE:
mount -F lofs /devices /dyson/new/devices
- Sweep out old kernel and its configs - FROM JUST CREATED BE!:
chroot /dyson/new apt-get purge illumos-kernel rm -f /dyson/new/etc/devlink.tab rm -f /dyson/new/etc/minor_perm rm -f /dyson/new/etc/driver_aliases rm -f /dyson/new/etc/driver_classes rm -f /dyson/new/etc/name_to_major rm -f /dyson/new/etc/security/device_policy rm -f /dyson/new/etc/security/extra_privs rm -f /dyson/new/etc/path_to_inst
- Install new packages into new "BE"
chroot /dyson/new apt-get install illumos-kernel zfsutils
- install 32-bit libraries for componentents which are still 32-bit:
chroot /dyson/new apt-get install lib32zfs1
- Create boot archive:
bootadm update-archive -R /dyson/new
- Add a new GRUB entry:
vim /dyson/boot/grub/menu.lst
- Add these lines (copy previous and edit bootfs and title):
title New Kernel findroot (pool_dyson,0,a) bootfs dyson/new kernel$ /platform/i86pc/kernel/amd64/unix -B $ZFS-BOOTFS -m verbose -k module$ /platform/i86pc/amd64/boot_archive
- Reboot and remember to choose New Kernel in GRUB menu:
sync reboot
Comments