Re: Sparc64 - installation on various machines

2016-07-06 Thread John Paul Adrian Glaubitz
Hi Alex!

On 07/06/2016 08:34 PM, alexmcwhir...@triadic.us wrote:
> These older drivers don't use uevents so udev
> never loads the driver, it needs to be manually loaded for now.

Can you please file a bug report for that in the kernel bugzilla and add the
bug to the list in the Debian Wiki [1]?

I will have a look at the issue and add uvent support for sun_esp. I have added
uvent support to vio, so it shouldn't be too different.

Adrian

> [1] https://wiki.debian.org/PortsSparc?action=show&redirect=Sparc

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



Re: Sparc64 - installation on various machines

2016-07-06 Thread Romain Dolbeau
>> Ultra 2: failed - no CDROM driver found
> Ultra 2: same as the ultra 450, scsi cdrom correct?

Back in February, on my Ultra 1, I couldn't install from CDROM either.
After bootstrapping the system from a 32 bits install, I only needed the
sun_esp module in the initrd for everything to work fine with kernel 4.3
(modulo X11 on the FFB, I posted a patch). I assumed that the installer had
the same issue. I recently installed kernel 4.6, seemed to work fine as
well (I didn't stress-test the system, but I could log in X11 with
WindowMaker as the window manager).

BTW, awesome job with the port, thanks to all those involved for the
efforts :-)

Cordially,

--
Romain Dolbeau


Re: Sparc64 - installation on various machines

2016-07-06 Thread alexmcwhirter

On 2016-07-06 13:39, Hartwig Atrops wrote:

Hi all.

I tried to install Sparc64 on some of my Suns - base install only.

Iso-Image used: Debian-9.0-sparc64-netinst-1, 2016-05-04

Blade 1500: Success
Fire V210: Success
Ultra60: Success - ttyS0 only (Creator 3D does not work during 
installation)


Ultra Enterprise 450: failed - partitioner did not start
Ultra 2: failed - no CDROM driver found

su

Hartwig


Ultra60: same issue with my e6k, but it does work after the fact.

Ultra450: what scsi card does this use for disks? The driver is probably 
not loaded. I see this with the e6k. These older drivers don't use 
uevents so udev never loads the driver, it needs to be manually loaded 
for now.


Ultra 2: same as the ultra 450, scsi cdrom correct?


Here's how i do it on my e6k...

1. After installer fails to find cdrom, exit to shell

"modprobe sun_esp && exit"

Start the cdrom detection step again and it will succeed.

2. Installer will fail to find network devices, pick the right driver 
from the list


3. Installer will fail top find hard disks, i have a qlogicpti 
controller so exit to shell.


qlogicpti needs additional firmware, so load it from a usb drive / 
second cd and mount it to /media.


"mount /dev/sr1 /media && mkdir /lib/firmware && cp -r /media/qlogic 
/lib/firmware && modprobe qlogicpti && exit"


the start the hard disk detection process again.

4. after installation has finished go back to a shell.

"mount -t proc proc /target/proc && \
mount --rbind /sys /target/sys && \
mount --make-rslave /target/sys && \
mount --rbind /dev /target/dev && \
mount --make-rslave /target/dev"

"chroot /target"
"bash"
"source /etc/profile"

add drivers to initramfs...

"nano /etc/initramfs-tools/modules"

in my case i would add two lines

qlogicpti
sun_esp

exit nano, them make a new initramfs

"update-initramfs -u -k "

the kernel version can be found under /lib/modules/





I'm working on a wiki page to describe this information for other users. 
If i could get console access to either of these machines i could 
probably get debian installed on them. It would also help with my wiki 
page as i would have information on more machines.