pocopico Posted May 11, 2022 Author Share #3276 Posted May 11, 2022 (edited) 5 minutes ago, Peter Suh said: Here's the log. dmesg |grep -i smart (Hide contents) admin2@r8152_test:/$ dmesg |grep -i smart [ 4.365145] <redpill/smart_shim.c:1032> Registering SMART emulator shim [ 4.365146] <redpill/smart_shim.c:1042> SCSI driver exists - installing canary [ 4.367584] <redpill/smart_shim.c:1054> Successfully registered SMART emulator shim [ 12.451076] scsi 4:0:0:0: atapi(n), ncq(y), asyn_notify(n), smart(y), fua(y), sw_preserve(y) [ 12.588402] scsi 4:0:1:0: atapi(n), ncq(y), asyn_notify(n), smart(y), fua(y), sw_preserve(y) [ 21.756675] <redpill/smart_shim.c:934> sd_ioctl_canary triggered for first ioctl() [ 21.764255] <redpill/smart_shim.c:862> Rerouting sd_fops->ioctl<ffffffff81661b98>=sd_ioctl+0x0/0x230<ffffffff8140dad0> to sd_ioctl_smart_shim+0x0/0x90 [redpill]<ffffffffa000a4d0> [ 21.873361] <redpill/smart_shim.c:971> Canary finished - routing to sd_fops->ioctl = sd_ioctl_smart_shim+0x0/0x90 [redpill]<ffffffffa000a4d0> [ 34.540822] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.540823] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.562929] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.562931] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.594586] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.594587] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.594903] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.594904] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.599583] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.599584] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.602196] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.602197] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.602456] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.602456] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.603580] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.603581] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.609885] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.609886] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.613092] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.613093] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.620171] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.620172] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.620508] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.620509] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.626380] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 34.666906] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.666907] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.677084] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 34.677330] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 34.678738] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 34.685789] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 34.691587] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 34.715505] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 34.715506] <redpill/smart_shim.c:390> Generating fake SMART values [ 34.715512] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd1 [ 34.715512] <redpill/smart_shim.c:457> Generating fake SMART thresholds [ 34.716658] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.716659] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.716664] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 34.716664] <redpill/smart_shim.c:390> Generating fake SMART values [ 34.717026] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 34.717538] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd5 [ 34.717539] <redpill/smart_shim.c:516> Generating fake WIN_SMART log=0 entries [ 34.717607] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 34.717608] <redpill/smart_shim.c:390> Generating fake SMART values [ 34.719204] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.719205] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.720550] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.720551] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.721315] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.721316] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.727112] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.727113] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.728103] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.728104] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.768695] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.768696] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.933975] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.933975] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.950733] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.950734] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.964781] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 34.964782] <redpill/smart_shim.c:390> Generating fake SMART values [ 34.964785] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd1 [ 34.964786] <redpill/smart_shim.c:457> Generating fake SMART thresholds [ 34.964865] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.964866] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.964869] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 34.964870] <redpill/smart_shim.c:390> Generating fake SMART values [ 34.965417] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd5 [ 34.965418] <redpill/smart_shim.c:516> Generating fake WIN_SMART log=0 entries [ 34.965493] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 34.965493] <redpill/smart_shim.c:390> Generating fake SMART values [ 34.966146] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.966147] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.966815] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.966815] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.967244] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.967245] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.969436] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.969437] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 35.944932] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 35.944933] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 35.944937] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 35.944937] <redpill/smart_shim.c:390> Generating fake SMART values [ 35.949234] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 35.949235] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 35.949580] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 35.959817] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 35.960974] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 35.961736] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 35.964513] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 35.965738] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 35.972218] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 36.004322] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 36.024034] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 36.024035] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 36.029552] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 36.032350] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 36.055586] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 36.055588] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 36.077485] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 36.077485] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 36.077488] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 36.077489] <redpill/smart_shim.c:390> Generating fake SMART values [ 36.078101] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 36.078102] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 38.529577] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 39.945803] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 39.951035] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 39.965727] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 39.975223] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 39.987417] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.038566] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.050731] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.051445] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 40.095687] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 40.098456] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.098458] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.098463] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd1 [ 40.098464] <redpill/smart_shim.c:457> Generating fake SMART thresholds [ 40.098697] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.098698] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.098701] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.098702] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.099456] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd5 [ 40.099457] <redpill/smart_shim.c:516> Generating fake WIN_SMART log=0 entries [ 40.099523] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.099523] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.100082] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.100083] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.100873] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.100874] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.101397] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.101398] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.116373] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.116375] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.123760] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.123760] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.141402] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.141404] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.141409] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd1 [ 40.141410] <redpill/smart_shim.c:457> Generating fake SMART thresholds [ 40.141667] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.141667] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.141671] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.141672] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.141856] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.141857] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.141862] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd1 [ 40.141863] <redpill/smart_shim.c:457> Generating fake SMART thresholds [ 40.142510] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.142511] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.142514] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.142514] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.142569] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd5 [ 40.142570] <redpill/smart_shim.c:516> Generating fake WIN_SMART log=0 entries [ 40.142654] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.142654] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.143297] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.143298] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.143338] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.143339] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.144111] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.144112] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.144679] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.144680] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.168706] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.168707] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.187572] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.187573] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.187578] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd1 [ 40.187578] <redpill/smart_shim.c:457> Generating fake SMART thresholds [ 40.187665] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.187666] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.187669] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.187669] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.189500] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.189501] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.629066] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 40.637794] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 40.646533] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 41.652537] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.652988] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.652989] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.654219] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.654220] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.654845] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd8 [ 41.654846] <redpill/smart_shim.c:656> Attempted ATA_SMART_ENABLE modification! [ 41.655810] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.655811] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.682033] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.682033] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.682149] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.682149] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.695720] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.695721] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.697007] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.697007] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.698173] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.698173] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.698365] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd8 [ 41.698365] <redpill/smart_shim.c:656> Attempted ATA_SMART_ENABLE modification! [ 41.699104] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.699105] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.757124] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.757125] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.757231] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.757232] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.772230] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 41.774577] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 41.775507] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 41.780484] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 41.791522] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 41.967378] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 44.987830] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 45.000009] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 45.051672] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 45.062228] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 45.062461] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 45.062462] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 45.090988] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 45.098446] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 45.110617] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 45.173774] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 45.182409] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 45.194615] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 45.256009] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 45.268189] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 45.277395] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 45.525752] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 45.533751] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 45.545927] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 45.559446] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 45.571615] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 46.522590] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 46.532089] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 46.544265] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 46.551688] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 46.563872] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY As you can see the smart_shim jumps in to emulate the missing commands or responds with the command results if the disk respords to smart commands. In your case i guess it generates fake smart values. On my system with an uptime of 10days i only get the following lines : XX:10:59 up 10 days, XX:33, 1 user, load average: 0.12, 0.06, 0.05 [IO: 0.11, 0.03, 0.01 CPU: 0.00, 0.02, 0.00] ~$ dmesg |grep -i smart [ 3.124763] <redpill/smart_shim.c:1032> Registering SMART emulator shim [ 3.129771] <redpill/smart_shim.c:1042> SCSI driver exists - installing canary [ 3.138740] <redpill/smart_shim.c:1054> Successfully registered SMART emulator shim [ 27.316825] <redpill/smart_shim.c:934> sd_ioctl_canary triggered for first ioctl() [ 27.317201] <redpill/smart_shim.c:862> Rerouting sd_fops->ioctl<ffffffff8165a258>=sd_ioctl+0x0/0x250<ffffffff813e7d10> to sd_ioctl_smart_shim+0x0/0x90 [redpill]<ffffffffa000a6e0> [ 27.321506] <redpill/smart_shim.c:971> Canary finished - routing to sd_fops->ioctl = sd_ioctl_smart_shim+0x0/0x90 [redpill]<ffffffffa000a6e0> Edited May 11, 2022 by pocopico Quote Link to comment Share on other sites More sharing options...
g4sho Posted May 11, 2022 Share #3277 Posted May 11, 2022 3 hours ago, Peter Suh said: Set user_config.json as below maxdisks = 36 internalportcfg = 0xfffffffff Hi just wanted to say that I have always had problems with xpenology with the max disk settings over 24-26 disk. I have never been able to figure out why? There would be random crashes of the disk array, some times would loose connection, and a list of other weird things. This goes all the way back to DSM 6.0, your mileage may vary tho. Just wanted others to be aware of my experiences with high drive count. 1 Quote Link to comment Share on other sites More sharing options...
g4sho Posted May 11, 2022 Share #3278 Posted May 11, 2022 1 hour ago, Peter Suh said: Here's the log. dmesg |grep -i smart (Hide contents) admin2@r8152_test:/$ dmesg |grep -i smart [ 4.365145] <redpill/smart_shim.c:1032> Registering SMART emulator shim [ 4.365146] <redpill/smart_shim.c:1042> SCSI driver exists - installing canary [ 4.367584] <redpill/smart_shim.c:1054> Successfully registered SMART emulator shim [ 12.451076] scsi 4:0:0:0: atapi(n), ncq(y), asyn_notify(n), smart(y), fua(y), sw_preserve(y) [ 12.588402] scsi 4:0:1:0: atapi(n), ncq(y), asyn_notify(n), smart(y), fua(y), sw_preserve(y) [ 21.756675] <redpill/smart_shim.c:934> sd_ioctl_canary triggered for first ioctl() [ 21.764255] <redpill/smart_shim.c:862> Rerouting sd_fops->ioctl<ffffffff81661b98>=sd_ioctl+0x0/0x230<ffffffff8140dad0> to sd_ioctl_smart_shim+0x0/0x90 [redpill]<ffffffffa000a4d0> [ 21.873361] <redpill/smart_shim.c:971> Canary finished - routing to sd_fops->ioctl = sd_ioctl_smart_shim+0x0/0x90 [redpill]<ffffffffa000a4d0> [ 34.540822] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.540823] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.562929] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.562931] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.594586] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.594587] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.594903] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.594904] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.599583] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.599584] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.602196] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.602197] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.602456] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.602456] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.603580] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.603581] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.609885] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.609886] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.613092] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.613093] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.620171] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.620172] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.620508] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.620509] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.626380] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 34.666906] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.666907] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.677084] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 34.677330] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 34.678738] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 34.685789] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 34.691587] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 34.715505] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 34.715506] <redpill/smart_shim.c:390> Generating fake SMART values [ 34.715512] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd1 [ 34.715512] <redpill/smart_shim.c:457> Generating fake SMART thresholds [ 34.716658] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.716659] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.716664] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 34.716664] <redpill/smart_shim.c:390> Generating fake SMART values [ 34.717026] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 34.717538] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd5 [ 34.717539] <redpill/smart_shim.c:516> Generating fake WIN_SMART log=0 entries [ 34.717607] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 34.717608] <redpill/smart_shim.c:390> Generating fake SMART values [ 34.719204] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.719205] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.720550] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.720551] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.721315] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.721316] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.727112] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.727113] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.728103] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.728104] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.768695] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.768696] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.933975] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.933975] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.950733] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.950734] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.964781] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 34.964782] <redpill/smart_shim.c:390> Generating fake SMART values [ 34.964785] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd1 [ 34.964786] <redpill/smart_shim.c:457> Generating fake SMART thresholds [ 34.964865] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.964866] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.964869] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 34.964870] <redpill/smart_shim.c:390> Generating fake SMART values [ 34.965417] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd5 [ 34.965418] <redpill/smart_shim.c:516> Generating fake WIN_SMART log=0 entries [ 34.965493] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 34.965493] <redpill/smart_shim.c:390> Generating fake SMART values [ 34.966146] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.966147] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.966815] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.966815] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.967244] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.967245] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 34.969436] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 34.969437] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 35.944932] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 35.944933] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 35.944937] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 35.944937] <redpill/smart_shim.c:390> Generating fake SMART values [ 35.949234] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 35.949235] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 35.949580] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 35.959817] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 35.960974] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 35.961736] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 35.964513] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 35.965738] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 35.972218] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 36.004322] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 36.024034] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 36.024035] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 36.029552] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 36.032350] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 36.055586] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 36.055588] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 36.077485] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 36.077485] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 36.077488] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 36.077489] <redpill/smart_shim.c:390> Generating fake SMART values [ 36.078101] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 36.078102] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 38.529577] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 39.945803] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 39.951035] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 39.965727] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 39.975223] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 39.987417] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.038566] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.050731] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.051445] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 40.095687] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 40.098456] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.098458] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.098463] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd1 [ 40.098464] <redpill/smart_shim.c:457> Generating fake SMART thresholds [ 40.098697] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.098698] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.098701] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.098702] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.099456] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd5 [ 40.099457] <redpill/smart_shim.c:516> Generating fake WIN_SMART log=0 entries [ 40.099523] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.099523] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.100082] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.100083] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.100873] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.100874] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.101397] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.101398] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.116373] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.116375] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.123760] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.123760] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.141402] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.141404] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.141409] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd1 [ 40.141410] <redpill/smart_shim.c:457> Generating fake SMART thresholds [ 40.141667] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.141667] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.141671] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.141672] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.141856] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.141857] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.141862] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd1 [ 40.141863] <redpill/smart_shim.c:457> Generating fake SMART thresholds [ 40.142510] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.142511] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.142514] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.142514] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.142569] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd5 [ 40.142570] <redpill/smart_shim.c:516> Generating fake WIN_SMART log=0 entries [ 40.142654] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.142654] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.143297] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.143298] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.143338] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.143339] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.144111] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.144112] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.144679] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.144680] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.168706] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.168707] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.187572] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.187573] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.187578] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd1 [ 40.187578] <redpill/smart_shim.c:457> Generating fake SMART thresholds [ 40.187665] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.187666] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.187669] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd0 [ 40.187669] <redpill/smart_shim.c:390> Generating fake SMART values [ 40.189500] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 40.189501] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 40.629066] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 40.637794] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 40.646533] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 41.652537] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.652988] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.652989] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.654219] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.654220] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.654845] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd8 [ 41.654846] <redpill/smart_shim.c:656> Attempted ATA_SMART_ENABLE modification! [ 41.655810] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.655811] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.682033] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.682033] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.682149] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.682149] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.695720] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.695721] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.697007] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.697007] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.698173] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.698173] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.698365] <redpill/smart_shim.c:646> Got SMART *command* - looking for feature=0xd8 [ 41.698365] <redpill/smart_shim.c:656> Attempted ATA_SMART_ENABLE modification! [ 41.699104] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.699105] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.757124] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.757125] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.757231] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 41.757232] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 41.772230] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 41.774577] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 41.775507] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 41.780484] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 41.791522] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 41.967378] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 44.987830] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 45.000009] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 45.051672] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 45.062228] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 45.062461] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 45.062462] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 45.090988] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 45.098446] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 45.110617] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 45.173774] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 45.182409] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 45.194615] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 45.256009] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 45.268189] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 45.277395] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 45.525752] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 45.533751] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 45.545927] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 45.559446] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 45.571615] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 46.522590] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop [ 46.532089] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 46.544265] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY [ 46.551688] <redpill/smart_shim.c:334> sd_ioctl(HDIO_DRIVE_CMD ; ATA_CMD_ID_ATA) failed with error=-22, attempting to emulate something [ 46.563872] <redpill/smart_shim.c:274> Generating completely fake ATA IDENTITY I was wondering if this was normal or just a bug, as my virtual machine instance of Redpill does the same thing. If I am monitoring the console, these messages are continuiously spit out on screen. Is there a fix? Quote Link to comment Share on other sites More sharing options...
pocopico Posted May 11, 2022 Author Share #3279 Posted May 11, 2022 (edited) 1 hour ago, g4sho said: I was wondering if this was normal or just a bug, as my virtual machine instance of Redpill does the same thing. If I am monitoring the console, these messages are continuiously spit out on screen. Is there a fix? Its not a bug, its a feature. DSM really expects smart data from the disks. Hypervisors might pass smart data or may not. Smart shim gets here to help when there is no smart data coming from the disks. It fakes smart data for DSM to be happy. Edited May 11, 2022 by pocopico 1 Quote Link to comment Share on other sites More sharing options...
recoco Posted May 11, 2022 Share #3280 Posted May 11, 2022 Kernel is: Quote SynologyNAS> uname -a Linux SynologyNAS 4.4.180+ #42661 SMP Fri Apr 1 15:33:00 CST 2022 x86_64 GNU/Linux synology_broadwellnk_3622xs+ I'm building my DS3622xs+ 7.1.0-42661 loader for testing. The redpill-virtio extension is only one extension. It's added through https://raw.githubusercontent.com/jumkey/redpill-load/develop/redpill-virtio/rpext-index.json . But looks like the extension does not work. Below is the detail information: Quote Loading kmod #0 "virtio-rng.ko" [ 22.897634] virtio_rng: Unknown symbol register_virtio_driver (err 0) [ 22.898056] virtio_rng: Unknown symbol hwrng_unregister (err 0) [ 22.898462] virtio_rng: Unknown symbol hwrng_register (err 0) f[ 22.898901] virtio_rng: Unknown symbol unregister_virtio_driver (err 0) [ 22.899295] virtio_rng: Unknown symbol virtqueue_get_buf (err 0) [ 22.899677] virtio_rng: Unknown symbol virtqueue_kick (err 0) [ 22.900015] virtio_rng: Unknown symbol virtqueue_add_inbuf (err 0) or redpill-virtio (args: ) [ 22.905176] virtio_rng: Unknown symbol register_virtio_driver (err 0) [ 22.905615] virtio_rng: Unknown symbol hwrng_unregister (err 0) [ 22.905958] virtio_rng: Unknown symbol hwrng_register (err 0) [ 22.906302] virtio_rng: Unknown symbol unregister_virtio_driver (err 0) [ 22.906719] virtio_rng: Unknown symbol virtqueue_get_buf (err 0) [ 22.907069] virtio_rng: Unknown symbol virtqueue_kick (err 0) [ 22.907419] virtio_rng: Unknown symbol virtqueue_add_inbuf (err 0) insmod: can't insert 'virtio-rng.ko': unknown symbol in module, or unknown parameter Quote Link to comment Share on other sites More sharing options...
pocopico Posted May 11, 2022 Author Share #3281 Posted May 11, 2022 can you test with https://raw.githubusercontent.com/pocopico/redpill-load/develop/redpill-virtio/rpext-index.json Quote Link to comment Share on other sites More sharing options...
phone guy Posted May 11, 2022 Share #3282 Posted May 11, 2022 How do I enable SHR raid on 3622 build? I am testing, but on new vm build I only get option to create raid pool, not shr? Quote Link to comment Share on other sites More sharing options...
docop1 Posted May 11, 2022 Share #3283 Posted May 11, 2022 @phone guy you can add a bunch of vm hdd of like 9g and you will get the setting show up somehow. i see it earlier over a ds920 with just 3 random hdd. Quote Link to comment Share on other sites More sharing options...
docop1 Posted May 11, 2022 Share #3284 Posted May 11, 2022 On the usb with driver r8152 : I have both usb nic r8153 gig and r8156 2.5g usb nic and can pass to a vm in Proxmox. I try over a ds3622 build, and ds920 but just the 2.5 are detected/working. Look the new driver as posted from @Peter Suh might have drop the rtl8153 giga nic. I also try to build with the mac2 being set at the one of the usbnic... but still the same. Any position of the mac for the 2.5g rtl8156 do work, but if set alone or so, the giga don't. dfg For the whole EXT, i confirm these are present in the custom.gz : jumkey.acpid2 / poco: r8125 r8152 vmxnet3 /redpill-bootwait/redpill-dtb/redpill-misc thethorgroup.virtio and confirming before the build: into tcbootloader; ll ./redpill-load/c*/e* REALLY_README.txt / jumkey.acpid2/ pocopico.r8125/ pocopico.r8152/pocopico.vmxnet3/ If only the rtl8153 set at mac7, over a 3622 , in infocenter it show the device USB 10/100/1000 LAN - TP-Link / but not in the network pane. Neither in the synoAssistant. While the 2.5g is detected as soon as the first boot before any pat install. lsusb |__usb1 1d6b:0002:0404 09 2.00 480MBit/s 0mA 1IF (Linux 4.4.180+ xhci-hcd xHCI Host Controller 0000:01:1b.0) hub |__usb2 1d6b:0003:0404 09 3.00 5000MBit/s 0mA 1IF (Linux 4.4.180+ xhci-hcd xHCI Host Controller 0000:01:1b.0) hub |__2-2 2357:0601:3000 00 3.00 5000MBit/s 0IFs (TP-LINK USB 10/100/1000 LAN 000001000000) |__usb3 1d6b:0001:0404 09 1.10 12MBit/s 0mA 1IF (uhci_hcd 0000:00:01.2) hub |__3-1 0627:0001:0000 00 2.00 12MBit/s 100mA 1IF (QEMU QEMU USB Tablet 28754-0000:00:01.2-1 lspci -tvnnq -+-[0001:0c]---00.0 Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller [1b4b:9235] +-[0001:09]---00.0 Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller [1b4b:9235] \-[0000:00]-+-00.0 Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] +-01.0 Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000] +-01.1 Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] [8086:7010] +-01.2 Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] [8086:7020] +-01.3 Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] +-02.0 Device [1234:1111] +-03.0 Red Hat, Inc. Virtio memory balloon [1af4:1002] +-05.0 Red Hat, Inc. Virtio SCSI [1af4:1004] +-07.0 Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] [8086:2922] +-12.0 Red Hat, Inc. Virtio network device [1af4:1000] +-13.0 Red Hat, Inc. Virtio network device [1af4:1000] +-14.0 Red Hat, Inc. Virtio network device [1af4:1000] +-15.0 Red Hat, Inc. Virtio network device [1af4:1000] +-16.0 Red Hat, Inc. Virtio network device [1af4:1000] +-1e.0-[01]----1b.0 NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] \-1f.0-[02]-- pcilib: Cannot write to /var/services/homes/picsou/.pciids-cache: No such file or directory Or perhaps just having a seperate driver for just the 2.5 label as r8156 could be an option to get back the gig rtl8153 Quote Link to comment Share on other sites More sharing options...
docop1 Posted May 11, 2022 Share #3285 Posted May 11, 2022 as detected in the main server over prox: lsusb Bus 002 Device 006: ID 2357:0601 TP-Link UE300 10/100/1000 LAN (ethernet mode) [Realtek RTL8153] Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 8087:0a2b Intel Corp. Bluetooth wireless interface Bus 001 Device 011: ID 0bda:8156 Realtek Semiconductor Corp. USB 10/100/1G/2.5G LAN Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Quote Link to comment Share on other sites More sharing options...
flyride Posted May 12, 2022 Share #3286 Posted May 12, 2022 2 hours ago, phone guy said: How do I enable SHR raid on 3622 build? I am testing, but on new vm build I only get option to create raid pool, not shr? https://xpenology.com/forum/topic/54545-dsm-7-and-storage-poolarray-functionality/ 1 Quote Link to comment Share on other sites More sharing options...
facelessone Posted May 12, 2022 Share #3287 Posted May 12, 2022 I have a problem and I don't know if it is loader related. I'm using DS920+, with DS918+ I can't get past SATA errors when installing. I have 1 HDD that I migrated from 6.2.2 to 7.1 and is showing in Storage manager under HDD/SSD. Now I added second drive that was also from other NAS and it is now showing at all. I wiped it, cleaned partition and all. Still not showing under HDD/SSD, only Drive 1. If I ssh into NAS and check with fdisk -l I can see both drives. 1st drive that is installed, this one is showing Disk /dev/sata1: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors Disk model: WD40PURX-64NZ6Y0 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: 05A24373-37C7-4412-8FE7-7229DD76D6D1 Device Start End Sectors Size Type /dev/sata1p1 2048 4982527 4980480 2.4G Linux RAID /dev/sata1p2 4982528 9176831 4194304 2G Linux RAID /dev/sata1p3 9437184 7813832351 7804395168 3.6T Linux RAID 2nd drive that I can't see Disk /dev/sata2: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors Disk model: WD20PURX-64P6ZY0 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: 8F3CA9AA-B131-42C8-A4F3-E69D78CDF90D Device Start End Sectors Size Type /dev/sata2p1 2048 3907029134 3907027087 1.8T Linux filesystem Thanks Quote Link to comment Share on other sites More sharing options...
flyride Posted May 12, 2022 Share #3288 Posted May 12, 2022 (edited) With DS920+, if the second drive was not physically present in the machine when you built the loader, it probably won't be recognized. I just posted some contextual information in the Tutorials section here: https://xpenology.com/forum/topic/61634-dsm-7x-loaders-and-platforms/ You can try to rebuild the DS920+ loader with both drives connected, or you can go back to DS918+. The rebuild is probably a better choice for you so that you don't deal with the difficulty of backrevving. Edited May 12, 2022 by flyride 1 Quote Link to comment Share on other sites More sharing options...
PaulEvo Posted May 12, 2022 Share #3289 Posted May 12, 2022 (edited) Hello all, Hope someone can help me with the right DiskIdxMap and SataPortMap. I made a loader for a 3615xs and 3622xs+ and both show that no disks are found. TC suggests DiskIdxMap = 2 and SataPortMap = 22. The motherboard is an Asus P8H61-I-LX-R2 with an i5-2500. The codes for the drive controllers are 00:1f.2 (8086:1c00) and 00:1f.5 (8086:1c08). Tried a lot of combinations for the mapping, changed BIOS settings for sata like AHCI and IDE, but no luck. What can I do, any ideas ? Regards, Paul Edited May 12, 2022 by PaulEvo 1 Quote Link to comment Share on other sites More sharing options...
pocopico Posted May 12, 2022 Author Share #3290 Posted May 12, 2022 22 minutes ago, PaulEvo said: Hello all, Hope someone can help me with the right DiskIdxMap and SataPortMap. I made a loader for a 3615xs and 3622xs+ and both show that no disks are found. TC suggests DiskIdxMap = 2 and SataPortMap = 22. The motherboard is an Asus P8H61-I-LX-R2 with an i5-2500. The codes for the drive controllers are 00:1f.2 (8086:1c00) and 00:1f.5 (8086:1c08). Tried a lot of combinations for the mapping but no luck. What can I do, any ideas ? Regards, Paul Well, although DSM reports no disks found, usually the disks are visible into DSM, just not in the way DSM expects them to be found. This may give you a hint. open a browser to http://<yourip>:7681 login as user root with no password fdisk -l 1 Quote Link to comment Share on other sites More sharing options...
pocopico Posted May 12, 2022 Author Share #3291 Posted May 12, 2022 (edited) 9 hours ago, facelessone said: I have a problem and I don't know if it is loader related. I'm using DS920+, with DS918+ I can't get past SATA errors when installing. I have 1 HDD that I migrated from 6.2.2 to 7.1 and is showing in Storage manager under HDD/SSD. Now I added second drive that was also from other NAS and it is now showing at all. I wiped it, cleaned partition and all. Still not showing under HDD/SSD, only Drive 1. If I ssh into NAS and check with fdisk -l I can see both drives. 1st drive that is installed, this one is showing Disk /dev/sata1: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors Disk model: WD40PURX-64NZ6Y0 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: 05A24373-37C7-4412-8FE7-7229DD76D6D1 Device Start End Sectors Size Type /dev/sata1p1 2048 4982527 4980480 2.4G Linux RAID /dev/sata1p2 4982528 9176831 4194304 2G Linux RAID /dev/sata1p3 9437184 7813832351 7804395168 3.6T Linux RAID 2nd drive that I can't see Disk /dev/sata2: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors Disk model: WD20PURX-64P6ZY0 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: 8F3CA9AA-B131-42C8-A4F3-E69D78CDF90D Device Start End Sectors Size Type /dev/sata2p1 2048 3907029134 3907027087 1.8T Linux filesystem Thanks If the dtb was not patched correclty by rploader then your next best option would be to manual patch the model.dtb The process is not that difficult but its a two step process. Boot DSM and login with ssh or by http://<yourip>:7681 if you are in junior mode and provide the following info fdisk -l ls /sys/block cat /sys/block/*/device/*block*info Edited May 12, 2022 by pocopico 1 Quote Link to comment Share on other sites More sharing options...
PaulEvo Posted May 12, 2022 Share #3292 Posted May 12, 2022 Hello Pocopico, Thanks for your answer and thanks a lot for your your amazing work! The fdisk -l command only show the USB stick. DSM is not installed yet because of the missing disk(s). What can I do to find the right mapping? Regards, Paul Quote Link to comment Share on other sites More sharing options...
pocopico Posted May 12, 2022 Author Share #3293 Posted May 12, 2022 8 minutes ago, PaulEvo said: Hello Pocopico, Thanks for your answer and thanks a lot for your your amazing work! The fdisk -l command only show the USB stick. DSM is not installed yet because of the missing disk(s). What can I do to find the right mapping? Regards, Paul First, make sure your SATA disks are set to AHCI in bios. While at GRUB select your boot option and press "e" then edit the sataportmap and diskidxmap to : sataportmap=888 and diskidxmap=00080F and press F10. Then login and execute fdisk -l again Quote Link to comment Share on other sites More sharing options...
PaulEvo Posted May 12, 2022 Share #3294 Posted May 12, 2022 11 minutes ago, pocopico said: First, make sure your SATA disks are set to AHCI in bios. While at GRUB select your boot option and press "e" then edit the sataportmap and diskidxmap to : sataportmap=888 and diskidxmap=00080F and press F10. Then login and execute fdisk -l again Thank you but unfortunately the same result. Only the USB stick is seen. Quote Link to comment Share on other sites More sharing options...
pocopico Posted May 12, 2022 Author Share #3295 Posted May 12, 2022 (edited) 4 minutes ago, PaulEvo said: Thank you but unfortunately the same result. Only the USB stick is seen. From within tinycore can you sent the following ? lspci -nnq lspci -k lsblk -t fdisk -l Edited May 12, 2022 by pocopico Quote Link to comment Share on other sites More sharing options...
PaulEvo Posted May 12, 2022 Share #3296 Posted May 12, 2022 13 minutes ago, pocopico said: From within tinycore can you sent the following ? lspci -nnq lspci -k lsblk -t fdisk -l Results are in the attached txt file. Regards lspci-fidsk.txt Quote Link to comment Share on other sites More sharing options...
pocopico Posted May 12, 2022 Author Share #3297 Posted May 12, 2022 (edited) 13 minutes ago, PaulEvo said: Results are in the attached txt file. Regards lspci-fidsk.txt 18.7 kB · 1 download Well i was afraid of that : ata_piix ata_piix is not supported in DSM7. Modules will not compile. I've tried a lot of times. check your BIOS settings for AHCI or IDE mode. ONLY AHCI will work. Edit : unfortunately your onboard HBA does not support AHCI as per the table below (1C00 and 1C08): Reference : https://www.intel.com/content/dam/doc/design-guide/6-and-c200-chipset-specification-update.pdf and https://pci-ids.ucw.cz/read/PC/8086/1c08 Edited May 12, 2022 by pocopico 1 Quote Link to comment Share on other sites More sharing options...
PaulEvo Posted May 12, 2022 Share #3298 Posted May 12, 2022 6 minutes ago, pocopico said: Well i was afraid of that : ata_piix ata_piix is not supported in DSM7. Modules will not compile. I've tried a lot of times. check your BIOS settings for AHCI or IDE mode. ONLY AHCI will work Thanks for the help Pocopico. AHCI is active in the BIOS, checked it again. Proxmox is maybe the way forward with this board. Kind regards, Paul 1 Quote Link to comment Share on other sites More sharing options...
pocopico Posted May 12, 2022 Author Share #3299 Posted May 12, 2022 1 minute ago, PaulEvo said: Thanks for the help Pocopico. AHCI is active in the BIOS, checked it again. Proxmox is maybe the way forward with this board. Kind regards, Paul Added additional info into my previous post. Quote Link to comment Share on other sites More sharing options...
PaulEvo Posted May 12, 2022 Share #3300 Posted May 12, 2022 3 minutes ago, pocopico said: Added additional info into my previous post. Very learnful for me, thanks again for the information. Btw this board was a replacement for a Gigabyte GA-H87N-WIFI. This Gigabyte works well with DSM 7 but the bios get's corrupted every reboot. See below. It's on Proxmox now, working well but I preferred baremetal. 1 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.