Comment 21 for bug 239458

Revision history for this message
Luke J Militello (kilahurtz) wrote :

Well I have successfully updated to Hardy on sparc architecture. Had a few issues that were somewhat easily solvable. First, I could not get a virgin install of Gutsy to install (I figured out why later). So I installed a virgin install of Feisty. I then upgraded to Gutsy at which time I could not get kernel 2.6.22 to boot properly (was getting a UUID error). Thus I booted with kernel 2.6.20 and the system came up installed with Gutsy. I swapped the 'UUID' parameters for old style '/dev/foo/bar' and that got me to the point where the kernel was not loading the correct modules. Here is what was going on (also why a virgin Gutsy install would not work). Through some extensive research, it would appear the developer who wrote the 'esp' module for the kernel trashed it and re-wrote it as 'sun_esp' in kernel 2.6.22, which now depends on 'esp_scsi'. This seemed like and easy fix, just add it to '/etc/modules', however this did not work and I could only assume this was because of an order of operations. Since the module in question was the SCSI bus, the kernel could not read the drives and thus could not read '/etc/modules'. After a short timeout during the kernel load, once it dropped to a shell, I could issue 'modprobe esp_scsi' and 'modprobe sun_esp' and the system would come up. This was the workaround I came up with...

[root@Lazarus ~]# echo esp_scsi >> /etc/initramfs-tools/modules
[root@Lazarus ~]# echo sun_esp >> /etc/initramfs-tools/modules
[root@Lazarus ~]# update-initramfs -k all -u

This made the system boot up and become stable, however reverting back to the 'UUID' format rendered the system un-bootable again. So I left it with the '/dev/foo/bar' format and proceeded to upgrade to Hardy. Once Hardy was installed along with kernel 2.6.24, I was able to get the system to boot with the 'UUID' format w/ my workaround for the SCSI modules. In the end I believe the root cause was hw-detect not seeing the ESP SCSI bus and/or the new modules that needed to be installed to the kernel. Hardy works fine now with the workaround and kernel 2.6.24, however with the 'UUID' problem in kernel 2.6.22, I believe 2.6.22 to be a bad kernel choice for the sparc architecture. Although, if one was to recompile it, it may work.