VeNoM
Member-
Posts
70 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
VeNoM's Achievements
Regular Member (3/7)
1
Reputation
-
XPEnology DSM 5.0-4482 !! DEBUG BUILD !!
VeNoM replied to Trantor's topic in DSM 5.2 and earlier (Legacy)
Try renaming /bin/umount -
Try installing sancome's version and look in /proc/kallsyms for funcSYNODiskRetryReport. If is't there, he has the solution. sancome's version still uses the mount for pcidevices ? cat /proc/kallsyms | grep -i funcSYNODiskRetryReport How did you fixed the pat file to bypass the checksum ?
-
XPEnology DSM 5.0-4482 !! DEBUG BUILD !!
VeNoM replied to Trantor's topic in DSM 5.2 and earlier (Legacy)
Also this build should work with LinuxKVM/WmWare for easier testing -
XPEnology DSM 5.0-4482 !! DEBUG BUILD !!
VeNoM replied to Trantor's topic in DSM 5.2 and earlier (Legacy)
The mount fix doesn't work anymore ? I will test my dsmgeneric kernel module with the new protection. -
I will try to use the default kernel built by synology with modules for my VM to see if it passes the checksum. I do not have the time right now to investigate this. Anyone else ?
-
Apparently Synology introduced a new checksum in 4458. When loaded, the synobios creates /proc/syno_cpu_arch. Jan 1 00:00:01 syslog: util_fhost.c:1204 Serial number is 0 out of size Jan 1 00:00:02 syslaog: format start, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:02 syslog: ninstaller.c:717 Dev: sda, DiskPath: /dev/sda, Check Partitions: 1 Jan 1 00:00:02 syslog: ninstaller.c:577 failed to get upnpmodelname from [/tmpMnt1234/etc.defaults/synoinfo.conf]. Jan 1 00:00:02 syslog: ninstaller.c:584 failed to get buildnumber from [/tmpMnt1234/etc.defaults/VERSION]. Jan 1 00:00:02 syslog: ../libsynosdk/lib/system/system_platform_get.c:35 failed to get unique from /tmpMnt1234/etc.defaults/synoinfo.conf errno=[0x0900] Jan 1 00:00:02 syslog: ninstaller.c:600 failed to get platform from [/tmpMnt1234/etc.defaults/synoinfo.conf]. Jan 1 00:00:02 syslog: ../libsynosdk/lib/system/system_max_align_get.c:85 [/tmpMnt1234/.system_info/pgsql_alignment] doesn't exist, check model name for alignment Jan 1 00:00:02 syslog: ../libsynosdk/lib/system/system_endian_get.c:61 [/tmpMnt1234/.system_info/endian] doesn't exist, check model name for endian Jan 1 00:00:02 syslog: ../libsynosdk/lib/system/system_bit_get.c:57 [/tmpMnt1234/.system_info/bits] doesn't exist, check model name for bits Jan 1 00:00:02 syslog: ninstaller.c:839(BlCheckSystemStatusRAID): Has Syno Partition = 1, System Status: 2 Jan 1 00:00:02 syslog: ninstaller.c:846(BlCheckSystemStatusRAID): gszUpgradeVolDev = /dev/md0 Jan 1 00:00:02 syslog: ninstaller.c:848(BlCheckSystemStatusRAID): gszUpgradeVolMnt = /tmpData Jan 1 00:00:02 syslog: ninstaller.c:849(BlCheckSystemStatusRAID): we use md0 to upgrade. Jan 1 00:00:02 syslog: ninstaller.c:1504 gblSupportRaid: 1, gSysStatus: 2, gblCreateDataVol: 0, gblSystemRecoverable: 0 Jan 1 00:00:02 syslog: ninstaller.c:2585 CreateDataVol=[0], CheckBadblocks=[0] Jan 1 00:00:02 syslog: ninstaller.c:2651(ErrFHOSTDoFdiskFormat) retv=[0] Jan 1 00:00:02 syslog: ErrFHOSTTcpResponseCmd: cmd=[2], ulErr=[0] Jan 1 00:00:02 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:02 syslog: ninstaller.c:2483(ErrFHOSTUpdateMkfsProgress) gInstallStage=[3] ret:0 Jan 1 00:00:02 syslog: index=[0], ulRate=[101] Jan 1 00:00:02 kernel: [ 285.784509] md1: detected capacity change from 2147418112 to 0 Jan 1 00:00:02 kernel: [ 285.785248] md: md1: set sda2 to auto_remap [0] Jan 1 00:00:02 kernel: [ 285.785902] md: md1 stopped. Jan 1 00:00:02 kernel: [ 285.786493] md: unbind Jan 1 00:00:02 kernel: [ 285.793025] md: export_rdev(sda2) Jan 1 00:00:02 kernel: [ 285.798581] md0: detected capacity change from 2549940224 to 0 Jan 1 00:00:02 kernel: [ 285.799750] md: md0: set sda1 to auto_remap [0] Jan 1 00:00:02 kernel: [ 285.800802] md: md0 stopped. Jan 1 00:00:02 kernel: [ 285.801735] md: unbind Jan 1 00:00:02 syslog: ../libsynosdk/lib/external/external_disk_port_check.c:87 expected sdx or /dev/sdx, not md, not match any port type Jan 1 00:00:02 syslog: ../libsynosdk/lib/external/external_disk_port_check.c:87 expected sdx or /dev/sdx, not md, not match any port type Jan 1 00:00:02 default.hotplug[6143]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:02 syslog: ../libsynosdk/lib/external/external_disk_port_check.c:87 expected sdx or /dev/sdx, not md, not match any port type Jan 1 00:00:02 syslog: ../libsynosdk/lib/external/external_disk_port_check.c:87 expected sdx or /dev/sdx, not md, not match any port type Jan 1 00:00:02 default.hotplug[6146]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:02 default.hotplug[6154]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:02 syslog: ../libsynosdk/lib/external/external_disk_port_check.c:87 expected sdx or /dev/sdx, not md, not match any port type Jan 1 00:00:02 default.hotplug[6168]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:02 default.hotplug[6176]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:02 kernel: [ 285.807034] md: export_rdev(sda1) Jan 1 00:00:02 syslog: ../libsynosdk/lib/external/external_disk_port_check.c:87 expected sdx or /dev/sdx, not md, not match any port type Jan 1 00:00:02 syslog: ../libsynosdk/lib/external/external_disk_port_check.c:87 expected sdx or /dev/sdx, not md, not match any port type Jan 1 00:00:02 syslog: ../libsynosdk/lib/external/external_disk_port_check.c:87 expected sdx or /dev/sdx, not md, not match any port type Jan 1 00:00:02 default.hotplug[6221]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:02 default.hotplug[6234]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:02 default.hotplug[6224]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:02 syslog: ../libsynosdk/lib/external/external_disk_port_check.c:87 expected sdx or /dev/sdx, not md, not match any port type Jan 1 00:00:02 syslog: ../libsynosdk/lib/external/external_disk_port_check.c:87 expected sdx or /dev/sdx, not md, not match any port type Jan 1 00:00:02 default.hotplug[6246]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:02 default.hotplug[6256]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:02 default.hotplug[6349]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:02 default.hotplug[6348]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:02 default.hotplug[6382]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:02 default.hotplug[6400]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:02 default.hotplug[6405]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:02 default.hotplug[6407]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:04 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:04 syslog: ninstaller.c:2483(ErrFHOSTUpdateMkfsProgress) gInstallStage=[3] ret:0 Jan 1 00:00:04 syslog: index=[0], ulRate=[102] Jan 1 00:00:05 syslog: ../libsynosdk/lib/external/external_disk_port_check.c:87 expected sdx or /dev/sdx, not md, not match any port type Jan 1 00:00:05 default.hotplug[6463]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:05 kernel: [ 289.056405] md: bind Jan 1 00:00:05 kernel: [ 289.057299] bio: create slab at 1 Jan 1 00:00:05 kernel: [ 289.057975] md/raid1:md0: active with 1 out of 12 mirrors Jan 1 00:00:05 kernel: [ 289.058692] md0: detected capacity change from 0 to 2549940224 Jan 1 00:00:05 syslog: ../libsynosdk/lib/external/external_disk_port_check.c:87 expected sdx or /dev/sdx, not md, not match any port type Jan 1 00:00:05 default.hotplug[6480]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:06 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:06 syslog: ninstaller.c:2483(ErrFHOSTUpdateMkfsProgress) gInstallStage=[3] ret:0 Jan 1 00:00:06 syslog: index=[0], ulRate=[103] Jan 1 00:00:08 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:08 syslog: ninstaller.c:2483(ErrFHOSTUpdateMkfsProgress) gInstallStage=[3] ret:0 Jan 1 00:00:08 syslog: index=[0], ulRate=[104] Jan 1 00:00:08 syslog: ../libsynosdk/lib/external/external_disk_port_check.c:87 expected sdx or /dev/sdx, not md, not match any port type Jan 1 00:00:08 default.hotplug[6496]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:08 kernel: [ 292.118088] md: bind Jan 1 00:00:08 kernel: [ 292.118864] md/raid1:md1: active with 1 out of 12 mirrors Jan 1 00:00:08 kernel: [ 292.119565] md1: detected capacity change from 0 to 2147418112 Jan 1 00:00:08 syslog: raidtool.c:419 system inited on [/dev/sda1 ], [/dev/sda2 ] Jan 1 00:00:08 kernel: [ 292.121560] md1: unknown partition table Jan 1 00:00:08 syslog: ../libsynosdk/lib/external/external_disk_port_check.c:87 expected sdx or /dev/sdx, not md, not match any port type Jan 1 00:00:08 default.hotplug[6513]: couldn't exec /usr/syno/hotplug/block.agent Jan 1 00:00:08 kernel: [ 292.137124] md0: unknown partition table Jan 1 00:00:10 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:10 syslog: ninstaller.c:2483(ErrFHOSTUpdateMkfsProgress) gInstallStage=[3] ret:0 Jan 1 00:00:10 syslog: index=[0], ulRate=[100] Jan 1 00:00:12 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:12 syslog: ninstaller.c:2483(ErrFHOSTUpdateMkfsProgress) gInstallStage=[3] ret:0 Jan 1 00:00:12 syslog: index=[0], ulRate=[100] Jan 1 00:00:12 kernel: [ 296.111885] EXT4-fs (md0): barriers disabled Jan 1 00:00:12 kernel: [ 296.127975] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: Jan 1 00:00:12 syslog: ninstaller.c:2605 /bin/mount /dev/md0 /tmpRoot Jan 1 00:00:12 kernel: [ 296.186880] EXT4-fs (md0): barriers disabled Jan 1 00:00:12 kernel: [ 296.197544] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: Jan 1 00:00:12 syslog: ninstaller.c:2607 mount root partition failed. Jan 1 00:00:12 syslog: ninstaller.c:2646 retv=[0] Jan 1 00:00:14 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:14 syslog: ninstaller.c:2483(ErrFHOSTUpdateMkfsProgress) gInstallStage=[3] ret:0 Jan 1 00:00:14 syslog: ninstaller.c:2520(ErrFHOSTUpdateMkfsProgress) gInstallStage=[3] , process=[/dev/md0] Jan 1 00:00:14 syslog: ninstaller.c:2524(ErrFHOSTUpdateMkfsProgress) switch to PROG_FORMAT_DATA Jan 1 00:00:14 syslog: ninstaller.c:2483(ErrFHOSTUpdateMkfsProgress) gInstallStage=[4] ret:0 Jan 1 00:00:14 syslog: ninstaller.c:2558(ErrFHOSTUpdateMkfsProgress) skip format data volume... Jan 1 00:00:14 syslog: index=[1], ulRate=[100] Jan 1 00:00:16 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:16 syslog: ninstaller.c:2483(ErrFHOSTUpdateMkfsProgress) gInstallStage=[4] ret:0 Jan 1 00:00:16 syslog: ninstaller.c:2558(ErrFHOSTUpdateMkfsProgress) skip format data volume... Jan 1 00:00:16 syslog: index=[1], ulRate=[100] Jan 1 00:00:18 syslog: pat start, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:18 kernel: [ 301.805297] EXT4-fs (md0): barriers disabled Jan 1 00:00:18 kernel: [ 301.858438] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: Jan 1 00:00:18 syslog: ninstaller.c:1709(ErrFHOSTReceiveUpgradeFile): szUpgradeFile = /tmpData//upd@te.pat Jan 1 00:00:23 syslog: ninstaller.c:1740(ErrFHOSTReceiveUpgradeFile) cRead=[4], ulFileSize=[183347200] Jan 1 00:00:24 syslog: Estimated time =[2] Jan 1 00:00:25 syslog: ErrFHOSTTcpResponseCmd: cmd=[5], ulErr=[0] Jan 1 00:00:25 syslog: Starting ErrFHOSTDoUpgrade()... Jan 1 00:00:25 syslog: ErrFHOSTTcpResponseCmd: cmd=[5], ulErr=[0] Jan 1 00:00:25 syslog: ErrFHOSTTcpResponseCmd: cmd=[5], ulErr=[0] Jan 1 00:00:25 syslog: ninstaller.c:2702(ErrFHOSTDoUpgrade) retv=[0] Jan 1 00:00:25 syslog: ErrFHOSTDoUpgrade() Done Jan 1 00:00:25 syslog: Remove /tmpData/upd@te...cmd=[/bin/rm -rf /tmpData/upd@te > /dev/null 2>&1] Jan 1 00:00:25 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:25 syslog: alz=[0], prg=[0], cfg=[0], retv=[0] Jan 1 00:00:25 syslog: Create /tmpData/upd@te...cmd=[/bin/mkdir -p /tmpData/upd@te > /dev/null 2>&1] Jan 1 00:00:25 syslog: Untar /tmpData/upd@te.pat...cmd=[/bin/tar xpf "/tmpData/upd@te.pat" -C /tmpData/upd@te > /dev/null 2>&1] Jan 1 00:00:27 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:27 syslog: alz=[0], prg=[0], cfg=[0], retv=[0] Jan 1 00:00:29 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:29 syslog: alz=[0], prg=[0], cfg=[0], retv=[0] Jan 1 00:00:31 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:31 syslog: alz=[0], prg=[0], cfg=[0], retv=[0] Jan 1 00:00:33 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:33 syslog: alz=[0], prg=[0], cfg=[0], retv=[0] Jan 1 00:00:35 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:35 syslog: alz=[0], prg=[0], cfg=[0], retv=[0] Jan 1 00:00:37 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:37 syslog: alz=[0], prg=[0], cfg=[0], retv=[0] Jan 1 00:00:37 syslog: Verify checksum of [/tmpData/upd@te]... Jan 1 00:00:37 syslog: ErrFHOSTCheckUpgradeFile: Fail to verify checksum of /tmpData/upd@te...(retv=0x3800) Jan 1 00:00:37 syslog: ErrFHOSTCheckUpgradeFile: set error code cmd=[/bin/echo "A:-13:" > /tmp/update.progress] Jan 1 00:00:37 syslog: ninstaller.c:2692(ErrFHOSTDoUpgrade) err=[-1] Jan 1 00:00:39 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:39 syslog: alz=[0], prg=[0], cfg=[0], retv=[-13] Jan 1 00:00:39 syslog: ninstaller.c:2197(ErrFHOSTUpdaterProgress) retv=-13 Jan 1 00:00:41 syslog: query prog, szBuf = ^R4VxSYNONI^A^D^A Jan 1 00:00:41 syslog: alz=[0], prg=[0], cfg=[0], retv=[-13] Jan 1 00:00:41 syslog: ninstaller.c:2197(ErrFHOSTUpdaterProgress) retv=-13 Jan 1 00:00:41 syslog: ninstaller.c:1541(ErrFHOSTNetInstaller) read socket fail, ret=[0], errno=[10] Jan 1 00:00:41 syslog: ninstaller.c:1625(ErrFHOSTNetInstaller) retSel=[1] err=(10)[No child processes] Jan 1 00:00:41 syslog: ninstaller.c:1640(ErrFHOSTNetInstaller) Jan 1 00:00:41 syslog: Return from TcpServer() Jan 1 00:00:01 syslog: util_fhost.c:1204 Serial number is 0 out of size Jan 1 00:00:16 syslog: Return from TcpServer() Jan 1 00:01:19 syslog: util_fhost.c:1204 Serial number is 0 out of size Jan 1 00:01:22 syslog: ninstaller.c:717 Dev: sda, DiskPath: /dev/sda, Check Partitions: 1 Jan 1 00:01:22 syslog: ninstaller.c:577 failed to get upnpmodelname from [/tmpMnt1234/etc.defaults/synoinfo.conf]. Jan 1 00:01:22 syslog: ninstaller.c:584 failed to get buildnumber from [/tmpMnt1234/etc.defaults/VERSION]. Jan 1 00:01:22 syslog: ../libsynosdk/lib/system/system_platform_get.c:35 failed to get unique from /tmpMnt1234/etc.defaults/synoinfo.conf errno=[0x0900] Jan 1 00:01:22 syslog: ninstaller.c:600 failed to get platform from [/tmpMnt1234/etc.defaults/synoinfo.conf]. Jan 1 00:01:22 syslog: ../libsynosdk/lib/system/system_max_align_get.c:85 [/tmpMnt1234/.system_info/pgsql_alignment] doesn't exist, check model name for alignment Jan 1 00:01:22 syslog: ../libsynosdk/lib/system/system_endian_get.c:61 [/tmpMnt1234/.system_info/endian] doesn't exist, check model name for endian Jan 1 00:01:22 syslog: ../libsynosdk/lib/system/system_bit_get.c:57 [/tmpMnt1234/.system_info/bits] doesn't exist, check model name for bits Jan 1 00:01:22 syslog: ninstaller.c:839(BlCheckSystemStatusRAID): Has Syno Partition = 1, System Status: 2 Jan 1 00:01:22 syslog: ninstaller.c:846(BlCheckSystemStatusRAID): gszUpgradeVolDev = /dev/md0 Jan 1 00:01:22 syslog: ninstaller.c:848(BlCheckSystemStatusRAID): gszUpgradeVolMnt = /tmpData Jan 1 00:01:22 syslog: ninstaller.c:849(BlCheckSystemStatusRAID): we use md0 to upgrade. Jan 1 00:01:22 syslog: ninstaller.c:1504 gblSupportRaid: 1, gSysStatus: 2, gblCreateDataVol: 0, gblSystemRecoverable: 0 Jan 1 00:01:26 syslog: /source/libsynosdk/lib/partition/partition_check_layout.c:52 sd: dont contain partition [1] Jan 1 00:01:28 syslog: ninstaller.c:717 Dev: sda, DiskPath: /dev/sda, Check Partitions: 1 Jan 1 00:01:28 syslog: ninstaller.c:577 failed to get upnpmodelname from [/tmpMnt1234/etc.defaults/synoinfo.conf]. Jan 1 00:01:28 syslog: ninstaller.c:584 failed to get buildnumber from [/tmpMnt1234/etc.defaults/VERSION]. Jan 1 00:01:28 syslog: ../libsynosdk/lib/system/system_platform_get.c:35 failed to get unique from /tmpMnt1234/etc.defaults/synoinfo.conf errno=[0x0900] Jan 1 00:01:28 syslog: ninstaller.c:600 failed to get platform from [/tmpMnt1234/etc.defaults/synoinfo.conf]. Jan 1 00:01:28 syslog: ../libsynosdk/lib/system/system_max_align_get.c:85 [/tmpMnt1234/.system_info/pgsql_alignment] doesn't exist, check model name for alignment Jan 1 00:01:28 syslog: ../libsynosdk/lib/system/system_endian_get.c:61 [/tmpMnt1234/.system_info/endian] doesn't exist, check model name for endian Jan 1 00:01:28 syslog: ../libsynosdk/lib/system/system_bit_get.c:57 [/tmpMnt1234/.system_info/bits] doesn't exist, check model name for bits Jan 1 00:01:28 syslog: ninstaller.c:839(BlCheckSystemStatusRAID): Has Syno Partition = 1, System Status: 2 Jan 1 00:01:28 syslog: ninstaller.c:846(BlCheckSystemStatusRAID): gszUpgradeVolDev = /dev/md0 Jan 1 00:01:28 syslog: ninstaller.c:848(BlCheckSystemStatusRAID): gszUpgradeVolMnt = /tmpData Jan 1 00:01:28 syslog: ninstaller.c:849(BlCheckSystemStatusRAID): we use md0 to upgrade. Jan 1 00:01:28 syslog: ninstaller.c:1504 gblSupportRaid: 1, gSysStatus: 2, gblCreateDataVol: 0, gblSystemRecoverable: 0 Jan 1 00:01:32 syslog: /source/libsynosdk/lib/partition/partition_check_layout.c:52 sd: dont contain partition [1]
-
I have set up a VM for 5.0 testing and I have some issues. - funcSYNODiskRetryReport unknown symbol in synobios - the checksum for pat contents fails for some reason Kernel patch --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -7414,7 +7414,7 @@ int (*funcSYNODeepSleepEvent)(unsigned int, unsigned int) = NULL; EXPORT_SYMBOL(funcSYNODeepSleepEvent); -#ifdef MY_DEF_HERE +#if (defined(MY_DEF_HERE) || defined(XPENOLOGY)) int (*funcSYNOSendEboxRefreshEvent)(int portIndex) = NULL; EXPORT_SYMBOL(funcSYNOSendEboxRefreshEvent); #endif --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c @@ -3706,6 +3706,7 @@ /*FIXME - Too brutal and directly, should separate into levels*/ void syno_sata_mv_gpio_write(u8 blFaulty, const unsigned short hostnum) { +#ifndef XPENOLOGY struct Scsi_Host *shost = scsi_host_lookup(hostnum); struct ata_port *ap = NULL; void __iomem *host_mmio = NULL; @@ -3740,6 +3741,8 @@ if (NULL != shost) { scsi_host_put(shost); } +#endif +END: return; } EXPORT_SYMBOL(syno_sata_mv_gpio_write); --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -618,7 +618,9 @@ ( pin < 0 || pin >= 96 ) || NULL == pValue ) { +#ifndef XPENOLOGY printk("parameter error. gpiobase=%08X, pin=%d, pValue=%p\n", gpiobase, pin, pValue); +#endif goto END; } --- a/drivers/tty/vt/vt.c +++ b/drivers/tty/vt/vt.c @@ -2474,7 +2474,7 @@ return kmsg_con; } -#ifndef MY_ABC_HERE +#if (defined(MY_DEF_HERE) || defined(XPENOLOGY)) /* * Console on virtual terminal * @@ -2574,7 +2574,7 @@ } #endif -#ifndef MY_ABC_HERE +#if (!defined(MY_ABC_HERE) || defined(XPENOLOGY)) static struct tty_driver *vt_console_device(struct console *c, int *index) { *index = c->index ? c->index-1 : fg_console; @@ -2942,7 +2942,7 @@ console_unlock(); -#ifndef MY_ABC_HERE +#if (!defined(MY_ABC_HERE) || defined(XPENOLOGY)) #ifdef CONFIG_VT_CONSOLE register_console(&vt_console_driver); #endif --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -1760,13 +1760,14 @@ sprintf(buf,"'%c'", (cmd>>_IOC_TYPESHIFT) & _IOC_TYPEMASK); if (!isprint(buf[1])) sprintf(buf, "%02x", buf[1]); +#ifndef XPENOLOGY compat_printk("ioctl32(%s:%d): Unknown cmd fd(%d) " "cmd(%08x){t:%s;sz:%u} arg(%08x) on %s\n", current->comm, current->pid, (int)fd, (unsigned int)cmd, buf, (cmd >> _IOC_SIZESHIFT) & _IOC_SIZEMASK, (unsigned int)arg, fn); - +#endif if (path) free_page((unsigned long)path); } --- a/include/linux/syno_user.h +++ b/include/linux/syno_user.h @@ -2,6 +2,11 @@ #ifndef __SYNO_USER_H_ #define __SYNO_USER_H_ + +/** + * XPENOLOGY + */ +#define XPENOLOGY /** * Dsc: Synology multimedia server feature. For indexing video, photo, --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -228,7 +228,7 @@ int (*funcSYNOGetHwCapability)(CAPABILITY *) = NULL; EXPORT_SYMBOL(funcSYNOGetHwCapability); -#ifdef MY_DEF_HERE +#if (defined(MY_DEF_HERE) || defined(XPENOLOGY)) EUNIT_PWRON_TYPE (*funcSynoEunitPowerctlType)(void) = NULL; EXPORT_SYMBOL(funcSynoEunitPowerctlType); #endif
-
I got a new kernel working including patches + my dsmgeneric module. file arch/x86/boot/bzImage arch/x86/boot/bzImage: Linux kernel x86 boot executable bzImage, version 3.2.40 (aaa@bbb) #1 SMP Thu Mar 13 14:40:01 EET 2014, RO-rootFS, swap_dev 0x3, Normal VGA I see that rd.gz in the DS3612xs is not a gzip file. Any ideeas ? LE : lzma/cpio mv rd.gz rd.lzma lzma -d rd.lzma cpio -idv < rd
-
Any new security checks in 5.0 ?
-
Can somebody with Trantor's build give me the output of df -h ?
-
You should wait to see if this update is safe for Trantor's build. If it's ok, then : Go to update, click download. Then go to scheduled tasks and create a custom task : sed 's/flashupdateDeb/flashupdateDeb1/' /autoupd@te.info > /autoupd@te.info1 mv /autoupd@te.info1 /autoupd@te.info Run this task. Then go to update and hit the update button.
-
-
3810 Update 1 is available. Be carefull. (2013/11/20) Compatibility and Installation DSM 4.3-3810 Update 1 can only be installed on Synology products running DSM 4.3-3810 via DSM Update. Please log in to DSM and go to Control Panel > DSM Update to install the update. Fixed Issues Fixed a system security issue. Improved the compatibility of file uploading with Internet Explorer 11 in File Station.
-
We can maybe block this with iptables ? No. Syno can detect this mod in the next update by simply checking /proc/mounts and just do a "umount /proc/bus/pci"
-
Guide: Change serial number and MAC address
VeNoM replied to DHD's topic in Legacy (Outdated) Tutorials
Or simply change the boot loader by adding parameters to the kernel and comment cksum, vender and hw_model. title SYNOLOGY root (hd0,1) # cksum /grub_cksum.syno # vender /vender show # hw_model kernel /zImage root=/dev/md0 ihd_num=0 netif_num=2 syno_hw_version=DS3612xs mac1=00113208d68a mac2=00113208d68b mac3=004d9469c492 mac4=004d9469c493 sn=B3J4N00001 initrd /rd.gz