pocopico / tinycore-redpill

GNU General Public License v3.0
2.16k stars 633 forks source link

stuck in booting the kernel #244

Open genthalili opened 1 year ago

genthalili commented 1 year ago

It looks like after booting the kernel there is no ip attributed. computer used : a Laptop HP Pavillon

Did anyone had the same issue, were you able to fix this and how?

some log during installation:

...
Found Ethernet Interface : pciid 10ecd00008168 Required Extension : r8168
r8169
Searching for matching extension for r8168
Found matching extension : 
"https://raw.githubusercontent.com/pocopico/rp-ext/master/r8168/rpext-index.json"
------------------------------------------------------------------------------------------------
Starting loader creation 
Found tinycore cache folder, linking to home/tc/custom-module
Checking user_config.json : Done
Entering redpill-load directory
Removing bundled exts directories
Cache directory OK 
Found build request for revision greater than 42218
Getting required extraction tool
------------------------------------------------------------------
Checking tinycore cache folder
Found tinycore cache folder, linking to home/tc/custom-module
Creating temp folder /tmp/synoesp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  389M  100  389M    0     0  52.4M      0  0:00:07  0:00:07 --:--:-- 52.5M
Entering synoesp
extract rd.gz
finish
cpio: dev/console: Cannot mknod: Operation not permitted
cpio: dev/net/tun: Cannot mknod: Operation not permitted
42670 blocks
extract rd
...
pocopico commented 1 year ago

Did you use the withfriend option ? Also what is the module loaded in TCRP for your network card ?

genthalili commented 1 year ago

I built it without the withfriend option :

tc@box:~$ ./rploader.sh build ds3615xs-7.1.1-42962
Rploader Version : 0.9.4.3
...

And for network card in TCRP not sure but I get this during the build:

[#] ========================================== pocopico.r8168 ==========================================
[#] Extension name: r8168
[#] Description: Adds RealTek RTL-8168 Gigabit Ethernet driver Support
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/r8168
[#] Software author: https://github.com/pocopico
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/r8168/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds1621p_42951 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 dva3221_42962 ds918p_42661 ds3622xsp_42962 ds3617xs_42951 dva1622_42218 dva1622_42621 ds920p_42962 ds1621p_42661 dva1622_42951 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xsp_42661 ds2422p_42661 ds3622xsp_42218 ds2422p_42962 rs4021xsp_42621 dva1622_42962 ds2422p_42218 rs4021xsp_42962 dva3221_42621 ds3615xs_42962 ds3617xs_42962 ds3615xs_41222 ds920p_42951 rs4021xsp_42218 ds2422p_42951 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 rs4021xsp_42951 ds920p_42621 ds918p_42962 ds3615xs_42951 ds3622xsp_42951 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds1621p_42962 ds3622xsp_42621 rs4021xsp_42661 
[#] =======================================================================================

Found Ethernet Interface : pciid 10ecd00008168 Required Extension : r8168
r8169
Searching for matching extension for r8168
Found matching extension : 
"https://raw.githubusercontent.com/pocopico/rp-ext/master/r8168/rpext-index.json"
------------------------------------------------------------------------------------------------
Starting loader creation 
Found tinycore cache folder, linking to home/tc/custom-module
Checking user_config.json : Done
Entering redpill-load directory
Removing bundled exts directories
Cache directory OK 
Found build request for revision greater than 42218
Getting required extraction tool
------------------------------------------------------------------
Checking tinycore cache folder
Found tinycore cache folder, linking to home/tc/custom-module
Creating temp folder /tmp/synoesp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  389M  100  389M    0     0  52.4M      0  0:00:07  0:00:07 --:--:-- 52.5M
Entering synoesp
extract rd.gz
finish
cpio: dev/console: Cannot mknod: Operation not permitted
cpio: dev/net/tun: Cannot mknod: Operation not permitted
42670 blocks
extract rd
mkdir: cannot create directory '/mnt/sdb3/auxfiles': File exists
Copying required files to local cache folder for future use
Copying usr/lib/libcurl.so.4 to /mnt/sdb3/auxfiles
Copying usr/lib/libmbedcrypto.so.5 to /mnt/sdb3/auxfiles
Copying usr/lib/libmbedtls.so.13 to /mnt/sdb3/auxfiles
Copying usr/lib/libmbedx509.so.1 to /mnt/sdb3/auxfiles
Copying usr/lib/libmsgpackc.so.2 to /mnt/sdb3/auxfiles
Copying usr/lib/libsodium.so to /mnt/sdb3/auxfiles
Copying usr/lib/libsynocodesign-ng-virtual-junior-wins.so.7 to /mnt/sdb3/auxfiles
Copying usr/syno/bin/scemd to /mnt/sdb3/auxfiles
Copying required libraries to local lib directory
Linking lib to lib64
Copying executable
Removing temp folder /tmp/synoesp
Checking if tools is accessible
/bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information available (required by /bin/syno_extract_system_patch)
Copyright (c) 2003-2021 Synology Inc. All rights reserved.

/bin/syno_extract_system_patch PATCH_PATH DEST_PATH
Executed succesfully
Creating temp folder /tmp/pat 
Checking for cached pat file
Found tinycore cache folder, linking to home/tc/custom-module
Could not find pat file locally cached
Configdir : /home/tc/redpill-load/config/DS3615xs/7.1.1-42962 
Configfile: /home/tc/redpill-load/config/DS3615xs/7.1.1-42962/config.json 
Pat URL : https://global.download.synology.com/download/DSM/release/7.1.1/42962/DSM_DS3615xs_42962.pat
Downloading pat file from URL : https://global.download.synology.com/download/DSM/release/7.1.1/42962/DSM_DS3615xs_42962.pat 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  336M  100  336M    0     0  48.7M      0  0:00:06  0:00:06 --:--:-- 49.5M
File //mnt/sdb3/auxfiles/ds3615xs_42962.pat, is  encrypted
File //mnt/sdb3/auxfiles/ds3615xs_42962.pat, has been cached but its encrypted, re-running decrypting process
Checking for cached pat file
Found tinycore cache folder, linking to home/tc/custom-module
Found locally cached pat file /home/tc/custom-module/ds3615xs_42962.pat
File /home/tc/custom-module/ds3615xs_42962.pat, is  encrypted
Extracting encrypted pat file : /home/tc/custom-module/ds3615xs_42962.pat to /tmp/pat
/bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information available (required by /bin/syno_extract_system_patch)
Creating unecrypted pat file ds3615xs_42962.pat to /home/tc/redpill-load/cache folder 
./VERSION
Pat file  sha256sum is : 208406028e09edbcf8484ff0610917813572e261530064edb00385634a91ed82
Checking config file existence -> OK
Editing config file -> Verifying config file -> OK ! 
Clearing temp folders
Processing add_extensions entries found on custom_config.json file :   redpill-misc
Adding extension "https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json" 
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json... 
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################### 100.0%
[OK]

My network card is : 09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)