Giovax Posted February 13, 2019 Share #1 Posted February 13, 2019 Hi all, I have posted in the virtual environment section but I have made some progress and perhaps someone can shed light on a very strange thing that is occuring. I have an Esx 6.5 u1 installation and I am using a 1.02b boot loader, DSM 6.1x (using extra.lzma from Jun's post) I have a Dell SAS 6/iR card (flashed to 1068 in IT mode) with a sata rive of 1.8TB attached to it My issue is the following: When I do not enable passtrough of my 1068 card I am able to proceed to install DSM normally When I enable passtrough of my 1068 card I something goas profoundly wrong and I am not even able to see the DSM in find.synology.com or Synology assistant or get an IP. Is there any way I can try to debug this? It would be interesting to see what goes wrong trough some console or similar. Is there a way to do so? Any suggestions? Thank you in advance G. Quote Link to comment Share on other sites More sharing options...
flyride Posted February 13, 2019 Share #2 Posted February 13, 2019 Serial port console. You can redirect it virtually with ESXi. Quote Link to comment Share on other sites More sharing options...
Giovax Posted February 13, 2019 Author Share #3 Posted February 13, 2019 2 minutes ago, flyride said: Serial port console. You can redirect it virtually with ESXi. Thanks any guide or tutorial for this? Quote Link to comment Share on other sites More sharing options...
flyride Posted February 13, 2019 Share #4 Posted February 13, 2019 Yes, just search, it's right there. Quote Link to comment Share on other sites More sharing options...
Giovax Posted February 13, 2019 Author Share #5 Posted February 13, 2019 Thank you I'll keep you posted. I really am perplexed on how a controlelr can stop things to point of getting up to boot. IS this stuff kernel related? Quote Link to comment Share on other sites More sharing options...
Giovax Posted February 13, 2019 Author Share #6 Posted February 13, 2019 So I have managed sussefully to configure the serial communication and I find the process hangs here: :: Loading module megaraid_mm ... [ OK ] :: Loading module megaraid_mbox ... [ OK ] :: Loading module megaraid ... [ OK ] :: Loading module scsi_transport_spi ... [ OK ] :: Loading module mptbase ... [ OK ] :: Loading module mptscsih ... [ OK ] :: Loading module mptspi ... [ OK ] :: Loading module mptsas So the "Loading module mptsas" is where things go wrong - I believe this is the driver for the LSI card (which works perfectly in other systems such as Gprte dor Ubunut or Debian). Has anyone had similar problems? G. Quote Link to comment Share on other sites More sharing options...
Giovax Posted February 13, 2019 Author Share #7 Posted February 13, 2019 I have realised I might be missing somethings in the grub. Here is my grub file. if serial --port=0x3F8 --speed=115200;then set has_serial=true terminal_input --append serial terminal_output --append serial else clear fi terminal_input --append console terminal_output --append console if [ x"${grub_platform}" = xefi ]; then insmod efi_gop insmod efi_uga else insmod vbe fi set extra_initrd="extra.lzma" set info="info.txt" set vid=0x058f set pid=0x6387 set sn=C7LWN09761 set mac1=00223323CA683 set rootdev=/dev/md0 set netif_num=1 set extra_args_3615='console=ttyS0,115200n8' set common_args_3615='syno_hdd_powerup_seq=0 HddHotplug=0 syno_hw_version=DS3615xs vender_format_version=2 console=ttyS0,115200n8 withefi elevator=elevator quiet syno_port_thaw=1' set sata_args='sata_uid=1 sata_pcislot=5 synoboot_satadom=1 DiskIdxMap=0C SataPortMap=1 SasIdxMap=0' set default='0' set timeout='1' set fallback='1' if [ -s $prefix/grubenv ]; then load_env if [ -n "$saved_entry" ]; then set default="${saved_entry}" fi fi VERSION="with Jun's Mod v1.02b" search --file -s /zImage function savedefault { if [ -s $prefix/grubenv ]; then saved_entry="${chosen}" save_env saved_entry fi } function do_option { if [ $# -lt 2 ]; then eval "set value=\"\$$1\"" echo "current $1: $value"; return; fi set key=$1 shift set $key="$*" if [ -s $prefix/grubenv ]; then save_env $key fi } function vid { do_option vid $@; } function pid { do_option pid $@; } function sn { do_option sn $@; } function mac1 { do_option mac1 $@; } function mac2 { do_option mac2 $@; } function mac3 { do_option mac3 $@; } function mac4 { do_option mac4 $@; } function rootdev { do_option rootdev $@; } function append { do_option extra_args_3615 $@; } function vidpid { if [ $# -lt 2 ]; then echo "usage: vidpid 0xVVVV 0xPPPP"; return; fi set usb_args="vid=$1 pid=$2" if [ -s $prefix/grubenv ]; then save_env usb_args fi } function showtips { if [ -n "$has_serial" ]; then terminal_output --remove serial fi echo "Screen will stop updating shortly, please open http://find.synology.com to continue." echo echo if [ -n "$has_serial" ]; then terminal_output --append serial fi } function loadinitrd { if [ -s $img/$info ]; then if [ -n "$has_serial" ]; then terminal_output --remove serial fi cat $img/$info if [ -n "$has_serial" ]; then terminal_output --append serial fi fi if [ -s $img/$extra_initrd ]; then initrd $img/rd.gz $img/$extra_initrd else initrd $img/rd.gz fi } function common_add_option { eval "set value=\"\$$1\"" if [ -z $value ]; then return 1; fi set common_args="$common_args $1=$value" } function common_add_option_ex { eval "set value=\"\$$1\"" if [ -z $value ]; then return 1; fi set common_args="$common_args $2=$value" } function loadlinux { set model=$1 set bootdev=$2 shift 2 if [ -n $vid -a -n $pid ]; then set usb_args="vid=$vid pid=$pid" fi eval "set common_args=\"\$common_args_$model\"" eval "set extra_args=\"\$extra_args_$model\"" eval "set bootdev_args=\"\$${bootdev}_args\"" common_add_option_ex rootdev root common_add_option sn if common_add_option mac1; then set netif_num=1; fi if common_add_option mac2; then set netif_num=2; fi if common_add_option mac3; then set netif_num=3; fi if common_add_option mac4; then set netif_num=4; fi common_add_option netif_num if [ -z $zImage ]; then set zImage=zImage fi linux $img/$zImage $common_args $bootdev_args $extra_args $@ } #menuentry "DS3615xs 6.1 Baremetal $VERSION" --class os { # set img= # savedefault # loadlinux 3615 usb # loadinitrd # showtips #} #menuentry "DS3615xs 6.1 Baremetal $VERSION Reinstall" --class os { # set img= # loadlinux 3615 usb mfg # loadinitrd # showtips #} #menuentry "DS3615xs 6.1 Baremetal AMD $VERSION" --class os { # set img= # set zImage=bzImage # savedefault # loadlinux 3615 usb # loadinitrd # showtips #} menuentry "DS3615xs 6.1 VMWare/ESXI $VERSION" --class os { set img= savedefault loadlinux 3615 sata loadinitrd showtips } Quote Link to comment Share on other sites More sharing options...
flyride Posted February 13, 2019 Share #8 Posted February 13, 2019 Are you certain that you need to use extra.lzma? DS3615xs has mptsas driver installed in the first place. Quote Link to comment Share on other sites More sharing options...
Giovax Posted February 13, 2019 Author Share #9 Posted February 13, 2019 1 minute ago, flyride said: Are you certain that you need to use extra.lzma? DS3615xs has mptsas driver installed in the first place. No - I did not know it had mptsas I can try to revert back to it. Should I try to do so? would it have an effect in this scenario? However I actually waited a lot longer (like 20 minutes) and it managed to load the driver (mptsas) but still does no ìt manage to load the LSI controller The console out put is the following. Loading module usb-common ... [ OK ] :: Loading module usbcore ... [ OK ] :: Loading module ehci-hcd ... [ OK ] :: Loading module ehci-pci ... [ OK ] :: Loading module ohci-hcd ... [ OK ] :: Loading module uhci-hcd ... [ OK ] :: Loading module xhci-hcd ... [ OK ] :: Loading module etxhci-hcd ... [ OK ] :: Loading module usb-storage ... [ OK ] :: Loading module BusLogic ... [ OK ] :: Loading module vmw_pvscsi ... [ OK ] :: Loading module megaraid_mm ... [ OK ] :: Loading module megaraid_mbox ... [ OK ] :: Loading module megaraid ... [ OK ] :: Loading module scsi_transport_spi ... [ OK ] :: Loading module mptbase ... [ OK ] :: Loading module mptscsih ... [ OK ] :: Loading module mptspi ... [ OK ] :: Loading module mptsas ... [ OK ] :: Loading module mptctl ... [ OK ] :: Loading module ata_piix[ 690.877789] ata2: Read current link speed fail, ret ry 1 [ 690.884768] ata2: Read current link speed fail, retry 2 [ 690.890790] ata2: Read current link speed fail, retry 3 [ 690.907767] ata3: Read current link speed fail, retry 1 [ 690.914777] ata3: Read current link speed fail, retry 2 [ 690.921788] ata3: Read current link speed fail, retry 3 ... [ OK ] :: Loading module megaraid_sas ... [ OK ] :: Loading module mpt2sas ... [ OK ] :: Loading module mpt3sas ... [ OK ] :: Loading module sx8 ... [ OK ] :: Loading module aacraid ... [ OK ] :: Loading module aic94xx ... [ OK ] :: Loading module 3w-9xxx ... [ OK ] :: Loading module 3w-sas ... [ OK ] :: Loading module mvumi ... [ OK ] :: Loading module mvsas ... [ OK ] :: Loading module arcmsr ... [ OK ] :: Loading module hptiop ... [ OK ] :: Loading module isci ... [ OK ] :: Loading module nvme ... [ OK ] Insert net driver(Mindspeed only)... Starting /usr/syno/bin/synocfgen... /usr/syno/bin/synocfgen returns 0 Exit on error [1] DISK NOT INSTALLED... Wed Feb 13 22:25:17 UTC 2019 none /sys/kernel/debug debugfs rw,relatime 0 0 sys /sys sysfs rw,relatime 0 0 none /dev devtmpfs rw,relatime,size=1019308k,nr_inodes=254827,mode=755 0 0 proc /proc proc rw,relatime 0 0 linuxrc.syno failed on 1 starting pid 4339, tty '': '/etc/rc' :: Starting /etc/rc :: Mounting procfs ... [ OK ] :: Mounting tmpfs ... [ OK ] :: Mounting devtmpfs ... [ OK ] :: Mounting devpts ... [ OK ] :: Mounting sysfs ... [ OK ] mdadm: error opening /dev/md1: No such file or directory rc: Use all internal disk as swap. rc: No internal disk installed. swapon: can't stat '/dev/md1': No such file or directory :: Loading module sg ... [ OK ] :: Loading module mdio ... [ OK ] :: Loading module fat ... [ OK ] :: Loading module vfat ... [ OK ] :: Loading module dca ... [ OK ] :: Loading module e1000e ... [ OK ] :: Loading module i2c-algo-bit ... [ OK ] :: Loading module igb ... [ OK ] :: Loading module be2net ... [ OK ] :: Loading module ixgbe ... [ OK ] :: Loading module r8168 ... [ OK ] :: Loading module libcrc32c ... [ OK ] :: Loading module mii ... [ OK ] :: Loading module libphy ... [ OK ] :: Loading module atl1 ... [ OK ] :: Loading module atl1e ... [ OK ] :: Loading module atl1c ... [ OK ] :: Loading module alx ... [ OK ] :: Loading module uio ... [ OK ] :: Loading module ipg ... [ OK ] :: Loading module jme ... [ OK ] :: Loading module skge ... [ OK ] :: Loading module sky2 ... [ OK ] :: Loading module ptp_pch ... [ OK ] :: Loading module pch_gbe ... [ OK ] :: Loading module qla3xxx ... [ OK ] :: Loading module qlcnic ... [ OK ] :: Loading module qlge ... [ OK ] :: Loading module netxen_nic ... [ OK ] :: Loading module sfc ... [ OK ] :: Loading module e1000 ... [ OK ] :: Loading module pcnet32 ... [ OK ] :: Loading module vmxnet3 ... [ OK ] :: Loading module bnx2 ... [ OK ] :: Loading module bnx2x ... [ OK ] :: Loading module cnic ... [FAILED] :: Loading module r8169 ... [ OK ] :: Loading module tg3 ... [ OK ] :: Loading module usbnet ... [ OK ] :: Loading module ax88179_178a ... [ OK ] :: Loading module button ... [ OK ] :: Loading module evdev ... [ OK ] :: Loading module atl2 ... [ OK ] :: Loading module e100 ... [ OK ] :: Loading module igbvf ... [ OK ] :: Loading module ixgb ... [ OK ] :: Loading module ixgbevf ... [ OK ] :: Loading module forcedeth ... [ OK ] :: Loading module mvmdio ... [ OK ] :: Loading module rtl8150 ... [ OK ] :: Loading module r8152 ... [ OK ] :: Loading module cx82310_eth ... [ OK ] :: Loading module asix ... [ OK ] :: Loading module plusb ... [ OK ] :: Loading module i40e ... [ OK ] :: Loading module tn40xx ... [ OK ] :: Loading module et131x ... [ OK ] :: Loading module cxgb ... [ OK ] :: Loading module cxgb3 ... [ OK ] :: Loading module cxgb4 ... [ OK ] :: Loading module atlantic ... [ OK ] :: Loading module mcs7830 ... [ OK ] :: Loading module bna ... [ OK ] :: Loading module xgmac ... [ OK ] :: Loading module s2io ... [ OK ] :: Loading module vxge ... [ OK ] mount: open failed, msg:No such file or directory mount: mounting /dev/bus/usb on /proc/bus/usb failed: No such device ln: /proc/bus/usb/devices: No such file or directory :: Loading module synobios ... [ OK ] udhcpc (v1.16.1) started eth0 Link encap:Ethernet HWaddr 00:11:32:2C:A7:83 inet addr:192.168.7.149 Bcast:192.168.7.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:779 (779.0 B) TX bytes:1480 (1.4 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) :: Starting syslogd ... [ OK ] :: Starting scemd :: Starting services in background Starting findhostd in flash_rd... Starting services in flash_rd... Running /usr/syno/etc/rc.d/J01httpd.sh... Starting httpd:80 in flash_rd... Starting httpd:5000 in flash_rd... Running /usr/syno/etc/rc.d/J03ssdpd.sh... /usr/bin/minissdpd -i eth0 (15): upnp:rootdevice (51): uuid:upnp_SynologyNAS-0011322ca783::upnp:rootdevice (57): Synology/synology_bromolow_3615xs/6.1-15047/192.168.7.149 (46): http://192.168.7.149:5000/description-eth0.xml Connected. done. /usr/syno/bin/reg_ssdp_service 192.168.7.149 0011322ca783 6.1-15047 synology_bro molow_3615xs eth0 Running /usr/syno/etc/rc.d/J04synoagentregisterd.sh... Starting synoagentregisterd... Running /usr/syno/etc/rc.d/J30DisableNCQ.sh... Running /usr/syno/etc/rc.d/J80ADTFanControl.sh... Running /usr/syno/etc/rc.d/J98nbnsd.sh... Starting nbnsd... Running /usr/syno/etc/rc.d/J99avahi.sh... Starting Avahi mDNS/DNS-SD Daemon cname_load_conf failed:/var/tmp/nginx/avahi-aliases.conf :: Loading module hid ... [ OK ] :: Loading module usbhid ... [ OK ] ============ Date ============ Wed Feb 13 22:25:26 UTC 2019 ============================== starting pid 6363, tty '': '/sbin/getty 115200 console' Wed Feb 13 22:25:27 2019 Still though I cannot figure out what goes wrong ... Quote Link to comment Share on other sites More sharing options...
Giovax Posted February 18, 2019 Author Share #10 Posted February 18, 2019 Hi guys - so I have good news: I got everything working once I abandoned the LSI 1068 in favour of a DELL perc H200 flashed to IT mode(spent all of 19£). An important remark maybe for those in testing/development that if I understand correctly the H200 and the DELL 6i/r (LSI 1068) use different drivers and the former workws while the latter did not. This may be due to some driver fault of some sort. It may be good to check it out to take into account for devlopment and maybe could highlight this to Jun if deemed necessary. I'll post my log at start up for completness any time soon. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.