[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SPARC Issues Open for Conjecture



On 06/10/2016 06:14 AM, alexmcwhirter@triadic.us wrote:
> I case anyone sees this and is having issues installing debian on any of the older sbus based sun boxes (early ultra series, E3K, E4K, E5K, E6K, E10K, and
> probably a few more), this is how to get it working as of today.
> 
> after the installer fails to detect the cdrom drive, drop to a shell and do "modprobe sun_esp". If you're hard disk / disks are on esp controllers then your
> good to go. If they're on qlogic controllers you will need a copy of isp1000.bin. I pulled mine from /lib/firmware/qlogic/isp1000.bin on Gentoo. You will only
> find this firmware on Gentoo if you build the kernel with the Qlogic PTI driver enabled.
> 
> You'll want to copy isp1000.bin to a cd and mount it in the debian initramfs rescue shell (/media is a good place). Then you will want to copy that file from
> the cd mount point to /lib/firmware/qlogic/isp1000.bin in the debian initramfs root. You will have to mkdir the directories.
> 
> You can then exit the shell back into the installer and continue from there. The installer will fail to find the network driver, this is usually the Sun HME
> driver on these older boxes. Just pick the right driver from the list. It will then fail to find the disk driver, the right driver for these boxes should be
> either sun_esp or qlogicpti.
> 
> After the installer finishes don't reboot! go back into the shell and chroot into the new installation. You will want to add your disk controller drivers to
> /etc/initramfs-tools/modules (sun_esp or qlogicpti, or both in my case). Afterwards do a "update-initramfs -u -k <kernel version>" (you can find you're kernel
> version under /lib/modules) and then exit back into the installer. Finally, you can finish the installation and reboot into a hopefully working install.

You may want to add this to the Debian Wiki or at least at a link to your mail in the mailing list archive in the wiki:

> https://wiki.debian.org/PortsSparc

You can add it to the bugs list.

> As for why you have to load all of these modules by hand? as of now im not sure but either the installer or systemd/udev isn't detecting sbus devices
> automagically.

It's a kernel bug - most likely.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: