Height of stupidity ?
Posted by Sayamindu 5 years, 7 months ago
Today, we reformatted the IBM pSeries box at the West Bengal University of Technology, and started a clean install of Gentoo (from stage 1) on it. This time, things were a lot faster, since we already had the sources of most of the required packages – it was simply q question of putting the source tarballs in /usr/portage/distfiles. Things went quite smoothly (well, apart from a couple of kernel panics while running the live CD), and after sometime, I installed yaboot (the bootloader for PowerPC systems), and started a reboot sequence. I wasn’t very confident at this stage, since I had messed up real bad the last time, and finally had to resort to inserting the OpenFirmWare SCSI device name by hand at the boot prompt. …and trust me, a SCSI device name (as OpenFirmWare sees it) does not look very pretty. Anyway, the pSeries takes around 10 minutes to start up (it apparently conducts a lot of internal checks on the system – and a during this 10 minutes, a lot of messages (mostly Hex numbers) are displayed on the small LCD panel attached to the main box). While it did all the verification and checking, I sat there, rubbing my hands and biting off my nails. Finally, the boot prompt came up, and to my delight, I saw that yaboot had managed to probe the disks and detect its configuration file correctly. I hit enter, and saw – “Booting Linux…..” A lot of high-fives, middle-fives, low-fives and what not (general rejoicement – you should get the idea). The system came up smoothly – and soon I faced the login prompt. Then it struck me, I had forgot to set the <expletive> root password. After some attempts to kick myself on the posterior, I again rebooted, and after a couple more kernel panics with the Live CD, and an hour later, I finally managed to mount the disks, chroot into them, and set the root password.
Anyway, the system is running really well now – plan is to run the University’s digital library system (based on Koha), and probably the University’s proposed student/teacher/staff community portal (based on OpenGroupware) will also run on that system. We managed to setup Apache/MySQL/PHP in that system (all of them 64 bit binaries – unlike RHEL/SLES). Setting PHP was slightly painful, since probably no one (except us) has yet tried to compile PHP on the Gentoo pSeries till date (at least that’s what I could gather from looking at the PHP ebuild files and the Gentoo bugzilla), and we only managed to suceed after I did some ugly hackery on the freetype-1 ebuild file. I’ll file a bug at the Gentoo bugzilla tomorrow. Throughout the next week, Koha will be setup on the box, and after that, the existing data will be transferred to the new system. While this happens, we will also be running a few bioinformatics/biotech related software packages on the system ( sequence database handling and other fancy stuff), just to get an idea about how well the box performs under heavy load.
