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

Re: New sparc64 installation images - 2016-02-24



Oh, I remember hitting this. I wrote this to get around it.
[root@ca-qasparc10 rules.d]# pwd
/lib/udev/rules.d
[root@ca-qasparc10 rules.d]# cat 10-sunv.rules
# Theory
# Linux under solaris's ldm exposes a pile of /devices/channel-devices/v*
# devices. The drivers should not be reloaded as that would likely
# crash the system.
# If the vio subsystem exists, we check for an environment var (sunv_ran)
# if it doesn't exist or does not have the value '1' then we look for
# a glob match for each driver,.. should we find one we set sunv_ran to
# '1' permently using ':=' and load the associated module
#

SUBSYSTEM!="vio", ENV{sunv_ran}!="1", GOTO="vio_end"
DEVPATH=="/devices/channel-devices/vnet-*", ENV{sunv_ran}:="1", RUN+="/sbin/modprobe -b sunvnet"
DEVPATH=="/devices/channel-devices/vdc-*", ENV{sunv_ran}:="1", RUN+="/sbin/modprobe -b sunvdc"
LABEL="vio_end"


On 25/02/16 16:11, waz0wski wrote:
There have been issues reported with missing sunvdc/sunvnet modules.
I tested in an LDOM via Solaris 11.3 on a T5220 and had this issue.

The sunvdc/sunvnet modules are not probed/loaded from the installer, nor in the installed system. 
workaround: load modules from installer shell, post-install chroot into the installed system, add modules to /etc/initramfs-tools/modules and run update-initramfs -uv
The Debian wiki mentions adding custom modules to the installer is possible[1], and it seems that the modules used to be there[2]


No other issues with the installer, auto-partitioning (EXT4), etc were encountered
Post-install, I see few other issues

- no login presented on ldom console -- I see init messages[3], but no login prompt. workaround: install openssh-server from chroot before reboot
- device initialization / fdisk logic issue[4] (line 13)
- n2_crypto failures[5] (possibly due to my LDOM config, debugging)
- /etc/resolv.conf being populated only with IPv6 nameservers despite having DHCP+DHCPv6 available (possibly due to my network/vnet config, debugging)


let me know if any additional info is needed.


[1] https://wiki.debian.org/DebianInstaller/Modify/CustomKernel
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504702
[3] http://paste.debian.net/403612
[4] http://paste.debian.net/403282
[5] http://paste.debian.net/403616

On Feb 25, 2016, at 1:39 AM, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:

On 02/24/2016 08:37 PM, John Paul Adrian Glaubitz wrote:
I just created fresh sparc64 installation images [1].
There have been issues reported with missing sunvdc/sunvnet modules.

However, I need more detailed feedback in order to investigate into
this. Thus, it would be great that anyone who has actually tested
the images could provide some detailed feedback on this thread.

The more information I have, the easier it becomes to address
these issues.

Thanks,
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: