Re: [slackware-sparcdevel] Updates, updates, updates

From: Hank Leininger (hlein@progressive-comp.com)
Date: Sun Jan 07 2001 - 22:55:43 PST


On Thu, 4 Jan 2001, David Cantrell wrote:

> OK, I threw out PCI and PS/2 support in the sun4cdm and sun4dm_smp
> kernels. It turns out that it's to support PS/2 keyboards and mice on

Cool!

I finally got things installed, and everything(?) seems to be working so
far.

But I really didn't think I would; two or three or four or five times I
almost gave up, and each time added another paragraph to what would be
my log-of-what-i've-tried-so-far-and-plea-for-help. Instead, since it
eventually worked, I'll include it all to maybe help the next person who
gets stuck along the way. Or at least, give someone a few laughs... ;)

#####

Um... but... um...

I didn't see new kernel images in sparc/slackware-current/images/ or
kernels/sun4cdm/. I've pulled down and burned iso/install.iso; the
other ISO hasn't changed since Dec 20.

Tried to boot a box via CD, failed to mount the initrd image as root.
(The kernel apparently doesn't realize that the initrd image is gzipped,
and goes through trying to mount it directly as FAT and UFS before
giving up.) Had this problem before; may be issues booting off my
(Sun!) cdrom drive. Nbd, net-booting works.

Slap the images from /images on the new CD into /tftpboot and do a
'boot net'. Bootup is successful... but the keyboard is still fscked!
Take a closer look, realize that the /images/*.img files haven't been
updated.

Find the new kernels on the CD in /boot. Slap the new kernel from
boot/vmlinux.sun4cdm in place in /tftpboot, do a boot net. PROM
downloads the file, then says "the file just loaded does not appear to
be executable" and quits. Scratch head. Realize that the initrd image
isn't included in this kernel image, duh. Then realize that things are
failing before that would matter/be noticed, duh^2. Lookit
/usr/src/linux/arch/sparc/boot/Makefile; realize that the PROM can't
netboot an ELF image; smack forehead cuz this is old news. Find
elftoaout, crossed fingers that it'd compile and run on x86. Seemed to.
Build piggyback in /usr/src/linux/arch/sparc/boot/, which now insists
that the elftoaout'd kernel image isn't a valid a.out file. Sigh.

The elftoaout'd kernel *does* boot, but of course it blows up trying
to mount a root FS since there isn't one. It seems that piggyback no
workie on x86, probably endian issues? One of the few references I can
find is:
http://marc.theaimsgroup.com/?l=linux-sparc&m=92048335612584&w=2
Which is a bit dated, but confirms that someone else had problems
w/piggyback on non-sparcs...

Ooh, ooh. MARC strikes out. Dejanews strikes out. Google, of course,
comes through:
http://javastation-howto.homeip.net/Files/piggyback_nonsparc.tar.gz

Build piggyback_nonsparc on an x86 box, sing a little song, do a little
dance, make slacksparc tonight! sparc5 netboots the new image happily.
Installation goes completely painlessly from that point on (um, except
that a possible typo in the tagfile causes prompt-mode to kick in even
after selecting 'expert' and choosing packages in the dialog menu).

Finish the install, reboot, ssh in, life is good.

And the crowd goes wild.

Hank



This archive was generated by hypermail 2b30 : Thu Sep 19 2002 - 11:00:02 PDT