Stanley_ Posted January 17, 2022 Share #301 Posted January 17, 2022 Redpill tinycore loader is awesome. Last time I wasted almost week of my life to run DSM on HP T620. With this tool it took me around 15 minutes. However i found and issue I can not solve. When I reset device it will not boot up when my USB drives are connected. All i can see is "You need to load the kernel first" Any ideas> Best regards and sorry for my English 🙈 Quote Link to comment Share on other sites More sharing options...
Franks4fingers Posted January 17, 2022 Share #302 Posted January 17, 2022 Anyone seen this issue before since migrating to DSM7 and any guidance on what I can try to do to resolve it? Quote Link to comment Share on other sites More sharing options...
pocopico Posted January 17, 2022 Author Share #303 Posted January 17, 2022 (edited) 2 hours ago, g4sho said: @pocopico This picture shows error received for broadcom 10gbe nic on tinypill 3615xs seems to be a firmware issue. Yes, once you have your DSM installed, you can perform the following : - Download the required modules and their dependencies in DSM : /lib/modules directory - ln -s /bin/kmod /sbin/modinfo - ln -s /bin/kmod /sbin/depmod - Copy firmware files in /lib/firmware/bnx2x - depmod -a Edited January 17, 2022 by pocopico 1 Quote Link to comment Share on other sites More sharing options...
pocopico Posted January 17, 2022 Author Share #304 Posted January 17, 2022 23 minutes ago, Franks4fingers said: Anyone seen this issue before since migrating to DSM7 and any guidance on what I can try to do to resolve it? Hi, system partitions are RAID1 arrays accross every configured disk of your DSM. They are always /dev/md0 and /dev/md1 and consist always of partitions 1 and 2 of the disks e.g. /dev/sdd1 2048 4982527 4980480 2.4G fd Linux raid autodetect /dev/sdd2 4982528 9176831 4194304 2G fd Linux raid autodetect partition 1 is the root file system and partition 2 is the swap partition. You can verify its status by running : mdadm --detail /dev/md0 mdadm --detail /dev/md1 It happens that the array is missing some of your disks partitions and then it reports that the System partition is failed on some disks. You should check the sizes for your partitions and if the match the above then you can add them to the system array and/or swap array by executing mdadm /dev/md0 add </dev/your disk partition1> or mdadm /dev/md1 add </dev/your disk partition2> Quote Link to comment Share on other sites More sharing options...
pocopico Posted January 17, 2022 Author Share #305 Posted January 17, 2022 (edited) 7 hours ago, g4sho said: @Dvalin21@pocopico I am going to post what I saw so that @pocopicocan determine the root cause to two errors that show up when booting 3617xs. one is it finding a different vid:pid than what I put in and it expected. And a problem with the drivers for my broadcom nics it shows a driver error Yes, that is true, if an extension fails to load correctly it exits with error code 99 which is then misinterpreted as an exit code 99 for DSM init and fails back to install mode. I have updated the 3617xs, bnx2x extension to satisfy the missing symbols. Please retry. As for the VID:PID error, i need to dig into redpill code. @g4sho As for the USBSHIM error, as you can see below comes from the fact that you have used a different device VID:PID that the one you are booting from. Quote else if (device->descriptor.idVendor != boot_media->vid || device->descriptor.idProduct != boot_media->pid) { https://github.com/RedPill-TTG/redpill-lkm/blob/master/shim/boot_dev/usb_boot_shim.c Edited January 17, 2022 by pocopico found the reason for didn't match expected 1 1 Quote Link to comment Share on other sites More sharing options...
g4sho Posted January 17, 2022 Share #306 Posted January 17, 2022 1 minute ago, pocopico said: Yes, that is true, if an extension fails to load correctly it exits with error code 99 which is then misinterpreted as an exit code 99 for DSM init and fails back to install mode. I have updated the 3617xs, bnx2x extension to satisfy the missing symbols. Please retry. As for the VID:PID error, i need to dig into redpill code. @pocopico sounds good! Quote Link to comment Share on other sites More sharing options...
g4sho Posted January 17, 2022 Share #307 Posted January 17, 2022 1 hour ago, pocopico said: Yes, once you have your DSM installed, you can perform the following : - Download the required modules and their dependencies in DSM : /lib/modules directory - ln -s /sbin/kmod /sbin/modinfo - ln -s /sbin/kmod /sbin/depmod - Copy firmware files in /lib/firmware/bnx2x - depmod -a @pocopicoI am having problem with depmod -a. It says command not found when I try to execute. I am running as root, and I see it in the sbin directory. Is that just a symbolic link or what am I missing here. Thanks Quote Link to comment Share on other sites More sharing options...
calvinz360 Posted January 17, 2022 Share #308 Posted January 17, 2022 i've been trying it on a fresh VM installation on ESXi7 , but it has been failing on the part where its suppose to install the .pat file and it ends up stating that the file has been corrupted. Anyone has been through it ? I have tried with 7.0.1 and 6.2.4 with the same results Quote Link to comment Share on other sites More sharing options...
pocopico Posted January 17, 2022 Author Share #309 Posted January 17, 2022 (edited) 5 minutes ago, g4sho said: @pocopicoI am having problem with depmod -a. It says command not found when I try to execute. I am running as root, and I see it in the sbin directory. Is that just a symbolic link or what am I missing here. Thanks lrwxrwxrwx 1 root root 9 Dec 22 17:10 /sbin/rmmod -> /bin/kmod lrwxrwxrwx 1 root root 9 Dec 22 17:10 /sbin/lsmod -> /bin/kmod lrwxrwxrwx 1 root root 9 Dec 22 17:10 /sbin/insmod -> /bin/kmod lrwxrwxrwx 1 root root 9 Dec 22 20:31 /sbin/depmod -> /bin/kmod All mod related cmds are symbolic links to /bin/kmod. Fixed the typo - ln -s /bin/kmod /sbin/modinfo - ln -s /bin/kmod /sbin/depmod Edited January 17, 2022 by pocopico 1 Quote Link to comment Share on other sites More sharing options...
Kaneske Posted January 17, 2022 Share #310 Posted January 17, 2022 Since my HBA won’t work with any Driver… Dies anybody know a working HBA (8 Port in IT Mode)??? And how to use it? For 7.0.1 and RedPill meant to use… Quote Link to comment Share on other sites More sharing options...
g4sho Posted January 17, 2022 Share #311 Posted January 17, 2022 1 hour ago, pocopico said: lrwxrwxrwx 1 root root 9 Dec 22 17:10 /sbin/rmmod -> /bin/kmod lrwxrwxrwx 1 root root 9 Dec 22 17:10 /sbin/lsmod -> /bin/kmod lrwxrwxrwx 1 root root 9 Dec 22 17:10 /sbin/insmod -> /bin/kmod lrwxrwxrwx 1 root root 9 Dec 22 20:31 /sbin/depmod -> /bin/kmod All mod related cmds are symbolic links to /bin/kmod. Fixed the typo - ln -s /bin/kmod /sbin/modinfo - ln -s /bin/kmod /sbin/depmod @pocopicoGot'em :] All nics working on tinypill 3615xs now to continue work on 3617xs. Quote Link to comment Share on other sites More sharing options...
pocopico Posted January 17, 2022 Author Share #312 Posted January 17, 2022 1 hour ago, calvinz360 said: i've been trying it on a fresh VM installation on ESXi7 , but it has been failing on the part where its suppose to install the .pat file and it ends up stating that the file has been corrupted. Anyone has been through it ? I have tried with 7.0.1 and 6.2.4 with the same results Do you select SATA boot at GRUB ? Quote Link to comment Share on other sites More sharing options...
g4sho Posted January 17, 2022 Share #313 Posted January 17, 2022 3 hours ago, pocopico said: Yes, that is true, if an extension fails to load correctly it exits with error code 99 which is then misinterpreted as an exit code 99 for DSM init and fails back to install mode. I have updated the 3617xs, bnx2x extension to satisfy the missing symbols. Please retry. As for the VID:PID error, i need to dig into redpill code. @g4sho As for the USBSHIM error, as you can see below comes from the fact that you have used a different device VID:PID that the one you are booting from. https://github.com/RedPill-TTG/redpill-lkm/blob/master/shim/boot_dev/usb_boot_shim.c @pocopico Yes, the problem with that is ffff:5678 is the correct usb id. It is also the vid:pid that was entered in by indentifyusb now. I have also put it in config_json by hand. And if you look closely at the picture I posted earlier, you will see the logic comparing that id to several different vid:pid combinations that it is pulling from some where. I will provide more evidence to help you decipher issue. Also, there still is no network connection for 3617xs. Looking into the lib\modules\directory neither tg3.ko or bnx2x.ko are listed. And neither show up with lsmod. Quote Link to comment Share on other sites More sharing options...
altas Posted January 17, 2022 Share #314 Posted January 17, 2022 Successfully installed it on ESXi 6.5 on HPGen8Thx for the info about incrase the Memory to compile the Loder to 3-4GBImportant you need the .pat file in the Cache Folder to success install DSM Quote Link to comment Share on other sites More sharing options...
pocopico Posted January 17, 2022 Author Share #315 Posted January 17, 2022 46 minutes ago, g4sho said: @pocopico Yes, the problem with that is ffff:5678 is the correct usb id. It is also the vid:pid that was entered in by indentifyusb now. I have also put it in config_json by hand. And if you look closely at the picture I posted earlier, you will see the logic comparing that id to several different vid:pid combinations that it is pulling from some where. I will provide more evidence to help you decipher issue. Also, there still is no network connection for 3617xs. Looking into the lib\modules\directory neither tg3.ko or bnx2x.ko are listed. And neither show up with lsmod. Can you please post an lsusb from tinycore ? Quote Link to comment Share on other sites More sharing options...
Invaliduser Posted January 17, 2022 Share #316 Posted January 17, 2022 7 hours ago, Franks4fingers said: I have upgraded today and am now running Apollolake 7.0.1-42218. I have got Plex MS up and running and have repaired other packages that needed it. Python fails to update but I believe Python is an issue anyway in DSM7. One thing that has happened is that I have lost the ability to connect to Sonarr, Radarr or NZBGet which I run via Docker. (EDIT - I actually see these packages are available via the SynoCommunity repo so would I be better off just to stop the Docker containers and instead install the packages from SC? I used to them ages ago but they weren't being regularyl updated which is why I decided to give Docker a go) Has anyone else got these apps running in DSM7 and did you need to do anything specific for them post migration from 6.2.* Great work pocopico as well, its a pretty seamless migration path when you get your head around it. Well done. It may be the volume mapping. On my install (broadwell 7.0.1-xxxxx) (i'm still testing everything for now) I was able to download the images from the registry and import the container settings from my previous 6.2 install. All looks to be working fine. 2 Quote Link to comment Share on other sites More sharing options...
g4sho Posted January 17, 2022 Share #317 Posted January 17, 2022 1 hour ago, pocopico said: Can you please post an lsusb from tinycore ? @pocopico I see what it is doing it is comparing vid:pid with other usb devices not just the actual usb drive. Here is the picture from lsusb Quote Link to comment Share on other sites More sharing options...
Dvalin21 Posted January 17, 2022 Share #318 Posted January 17, 2022 (edited) 4 hours ago, Kaneske said: Since my HBA won’t work with any Driver… Dies anybody know a working HBA (8 Port in IT Mode)??? And how to use it? For 7.0.1 and RedPill meant to use… Did you try megaraid_sas extension? If I remember correctly from the last post you made, our cards the same which I have used megaraid_sas and it seems to work. Edited January 17, 2022 by Dvalin21 Quote Link to comment Share on other sites More sharing options...
Kaneske Posted January 17, 2022 Share #319 Posted January 17, 2022 Yes I did Quote Link to comment Share on other sites More sharing options...
Dvalin21 Posted January 17, 2022 Share #320 Posted January 17, 2022 (edited) @Kaneske Can you run lspci -v and post it? Edited January 17, 2022 by Dvalin21 Quote Link to comment Share on other sites More sharing options...
Dvalin21 Posted January 17, 2022 Share #321 Posted January 17, 2022 7 hours ago, pocopico said: Yes, that is true, if an extension fails to load correctly it exits with error code 99 which is then misinterpreted as an exit code 99 for DSM init and fails back to install mode. I have updated the 3617xs, bnx2x extension to satisfy the missing symbols. Please retry. As for the VID:PID error, i need to dig into redpill code. @g4sho As for the USBSHIM error, as you can see below comes from the fact that you have used a different device VID:PID that the one you are booting from. https://github.com/RedPill-TTG/redpill-lkm/blob/master/shim/boot_dev/usb_boot_shim.c When you make updates, can we just run the sudo ./rploader.sh update now or do we need redownload the image and flash it usb? Quote Link to comment Share on other sites More sharing options...
pocopico Posted January 17, 2022 Author Share #322 Posted January 17, 2022 1 minute ago, Dvalin21 said: When you make updates, can we just run the sudo ./rploader.sh update now or do we need redownload the image and flash it usb? You can just use backup command Quote Link to comment Share on other sites More sharing options...
Kaneske Posted January 17, 2022 Share #323 Posted January 17, 2022 (edited) @Dvalin21 will attach file… Edited January 17, 2022 by Kaneske Quote Link to comment Share on other sites More sharing options...
g4sho Posted January 17, 2022 Share #324 Posted January 17, 2022 (edited) 16 minutes ago, Kaneske said: @Dvalin21 will attach file… @Dvalin21 @KaneskeLooks like your drive is at pci address 0000:10.00.0 using driver mptspi, which I am not sure is the only thing you need lsmod should show at least mptsas base I would think and maybe mptsas2 if it is a sas controller, maybe megaraid devices use different drivers. Edited January 17, 2022 by g4sho Quote Link to comment Share on other sites More sharing options...
Dvalin21 Posted January 17, 2022 Share #325 Posted January 17, 2022 (edited) 40 minutes ago, g4sho said: @Dvalin21 @KaneskeLooks like your drive is at pci address 0000:10.00.0 using driver mptspi, which I am not sure is the only thing you need lsmod should show at least mptsas base I would think and maybe mptsas2 if it is a sas controller, maybe megaraid devices use different drivers. The only one that worked for me is the megaraid. mptsas-3 didnt work for me. Now with the pci address, would that be used to figure out diskid? As far as sata there's 8. I went ahead and tried to lspci -vvv to see if there was some additional info. where did you see the pci address? lspci -vvv Edited January 17, 2022 by Dvalin21 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.