gnoboot
-
Posts
278 -
Joined
-
Last visited
Posts posted by gnoboot
-
-
Fixed!
LIO+noop vt-d - Raid0 block level (2 SSDs) ----------------------------------------------------------------------- CrystalDiskMark 3.0.3 x64 (C) 2007-2013 hiyohiyo Crystal Dew World : http://crystalmark.info/ ----------------------------------------------------------------------- * MB/s = 1,000,000 byte/s [sATA/300 = 300,000,000 byte/s] Sequential Read : 67.032 MB/s Sequential Write : 73.512 MB/s Random Read 512KB : 39.569 MB/s Random Write 512KB : 84.716 MB/s Random Read 4KB (QD=1) : 5.331 MB/s [ 1301.4 IOPS] Random Write 4KB (QD=1) : 3.458 MB/s [ 844.2 IOPS] Random Read 4KB (QD=32) : 54.260 MB/s [ 13247.0 IOPS] Random Write 4KB (QD=32) : 44.853 MB/s [ 10950.5 IOPS] Test : 1000 MB [G: 0.8% (0.1/10.0 GB)] (x5) Date : 2014/03/19 21:57:42 OS : Windows 7 Ultimate [6.1 Build 7600] (x64)
[spoiler=]
-
That is correct, but I could do that with the HBA Beta7 version as well.
The problem there being that with IET mode there's no VMware VAAI support, whch kinda is the entire point of me using xpenology
So I'm still wondering how I could add the necessary driver and fixes for just the mpt2sas cards myself to trantor's v1.0 :s
The same reason why I tried XPEnology, but LIO iSCSI is not fully functional. Got it working eventually (file & block backend)!
I'm working on fixing mpt2sas iSCSI issue with my boot image. Here's my test results:
IET+noop vt-d - Raid0 block level (2 SSDs) ----------------------------------------------------------------------- CrystalDiskMark 3.0.3 x64 (C) 2007-2013 hiyohiyo Crystal Dew World : http://crystalmark.info/ ----------------------------------------------------------------------- * MB/s = 1,000,000 byte/s [sATA/300 = 300,000,000 byte/s] Sequential Read : 74.706 MB/s Sequential Write : 96.323 MB/s Random Read 512KB : 66.134 MB/s Random Write 512KB : 85.864 MB/s Random Read 4KB (QD=1) : 5.925 MB/s [ 1446.7 IOPS] Random Write 4KB (QD=1) : 6.490 MB/s [ 1584.4 IOPS] Random Read 4KB (QD=32) : 63.203 MB/s [ 15430.4 IOPS] Random Write 4KB (QD=32) : 89.203 MB/s [ 21778.0 IOPS] Test : 1000 MB [i: 0.3% (0.0/10.0 GB)] (x5) Date : 2014/03/18 20:09:15 OS : Windows 7 Ultimate [6.1 Build 7600] (x64) IET+cfq vt-d - Raid0 block level (2 SSDs) ----------------------------------------------------------------------- CrystalDiskMark 3.0.3 x64 (C) 2007-2013 hiyohiyo Crystal Dew World : http://crystalmark.info/ ----------------------------------------------------------------------- * MB/s = 1,000,000 byte/s [sATA/300 = 300,000,000 byte/s] Sequential Read : 77.226 MB/s Sequential Write : 95.568 MB/s Random Read 512KB : 64.591 MB/s Random Write 512KB : 85.319 MB/s Random Read 4KB (QD=1) : 5.907 MB/s [ 1442.2 IOPS] Random Write 4KB (QD=1) : 6.841 MB/s [ 1670.2 IOPS] Random Read 4KB (QD=32) : 60.185 MB/s [ 14693.6 IOPS] Random Write 4KB (QD=32) : 78.320 MB/s [ 19121.0 IOPS] Test : 1000 MB [i: 0.3% (0.0/10.0 GB)] (x5) Date : 2014/03/18 20:17:23 OS : Windows 7 Ultimate [6.1 Build 7600] (x64) LIO+noop vt-d - Raid0 file level (2 SSDs) ----------------------------------------------------------------------- CrystalDiskMark 3.0.3 x64 (C) 2007-2013 hiyohiyo Crystal Dew World : http://crystalmark.info/ ----------------------------------------------------------------------- * MB/s = 1,000,000 byte/s [sATA/300 = 300,000,000 byte/s] Sequential Read : 69.090 MB/s Sequential Write : 88.915 MB/s Random Read 512KB : 53.987 MB/s Random Write 512KB : 77.443 MB/s Random Read 4KB (QD=1) : 6.942 MB/s [ 1694.8 IOPS] Random Write 4KB (QD=1) : 2.786 MB/s [ 680.1 IOPS] Random Read 4KB (QD=32) : 48.489 MB/s [ 11838.2 IOPS] Random Write 4KB (QD=32) : 38.899 MB/s [ 9496.8 IOPS] Test : 1000 MB [G: 0.8% (0.1/10.0 GB)] (x5) Date : 2014/03/19 19:21:37 OS : Windows 7 Ultimate [6.1 Build 7600] (x64) LIO+cfq vt-d - Raid0 file level (2 SSDs) ----------------------------------------------------------------------- CrystalDiskMark 3.0.3 x64 (C) 2007-2013 hiyohiyo Crystal Dew World : http://crystalmark.info/ ----------------------------------------------------------------------- * MB/s = 1,000,000 byte/s [sATA/300 = 300,000,000 byte/s] Sequential Read : 63.148 MB/s Sequential Write : 87.762 MB/s Random Read 512KB : 67.471 MB/s Random Write 512KB : 75.709 MB/s Random Read 4KB (QD=1) : 6.395 MB/s [ 1561.4 IOPS] Random Write 4KB (QD=1) : 2.576 MB/s [ 628.9 IOPS] Random Read 4KB (QD=32) : 43.786 MB/s [ 10690.0 IOPS] Random Write 4KB (QD=32) : 39.534 MB/s [ 9652.0 IOPS] Test : 1000 MB [G: 0.8% (0.1/10.0 GB)] (x5) Date : 2014/03/19 19:30:53 OS : Windows 7 Ultimate [6.1 Build 7600] (x64)
-
Your video wasn't helpful, kernel panic was too fast .
I'm thinking of driver conflict, please send `lspci -vvv` and `dmesg` from Linux box or Trantor's build.
-
No SMART does not work with Raw Disk Mapping. BUT if you use ESXi pass though with VT-d it does work. Will be doing a video on this as well. Also this might get fixed in a future version of gnoBoot.
Ok. Thanks for the fast reply. The issue is that I have a HP N54L and it doesn't support VT-d. This is the only thing that prevents me to run DSM in ESXi. When I tested OMW(OpenMediaVault) SMART worked fine with RDM, so hopefully gnoBoot will figure this one out.
@gnoBoot: Do you think it's possible to get SMART working running gnoBoot and Synology DSM in ESXi with Raw Disk Mapping?
I don't think so. I've read it here that you need to enable/disable RDM filter to make it work. I just couldn't remember which thread it was.
-
Works perfectly fine actually!
Which version? Was it only 10.3 causing kernel panics?
-
[ 24.282063] init: synoindexd main process (22733) killed by USR2 signal
[ 24.282079] init: synoindexd main process ended, respawning
[ 24.821009] init: synoindexd main process (24938) killed by HUP signal
[ 24.821024] init: synoindexd main process ended, respawning
[ 24.833093] init: synomkthumbd main process (20118) killed by HUP signal
[ 24.833112] init: synomkthumbd main process ended, respawning
[ 24.857387] init: synomkflvd main process (20129) killed by HUP signal
[ 24.857406] init: synomkflvd main process ended, respawning
[ 26.018273] init: synoindexd main process (25095) killed by TERM signal
[ 26.248663] init: synomkthumbd main process (25103) killed by TERM signal
[ 26.408330] init: synomkflvd main process (25110) killed by TERM signal
[ 27.636217] usbcore: registered new interface driver snd-usb-audio
[ 27.651374] snd_usb_hiface: Unknown symbol __snd_printk (err 0)
[ 526.608914] dsmnotify.cgi[30866]: segfault at 0 ip 000000000804ccb8 sp 00000000ffe9d580 error 6
[ 557.967594] dsmnotify.cgi[447]: segfault at 0 ip 000000000804ccb8 sp 00000000ffb5f330 error 6
[ 589.213324] dsmnotify.cgi[2546]: segfault at 0 ip 000000000804ccb8 sp 00000000ff96c770 error 6
[ 620.520334] dsmnotify.cgi[4680]: segfault at 0 ip 000000000804ccb8 sp 00000000ffc7db70 error 6
[ 651.830900] dsmnotify.cgi[6777]: segfault at 0 ip 000000000804ccb8 sp 00000000ff876e30 error 6
Try re-installing the app related to those daemons.
Simply ignore it if you're not using sound devices.
It's related to DSM that I can't fix:(
-
linux backports (compat-wireless) doesn't compile, and latest tg3 drivers requires a patch in makeflags.sh (comment UAPI).
-
Hi,
I installed two standard Synology Python packages ("Python" and "Python 3"). Yet, when I try to install some packages (like Debian Chroot), a very specific Python version appears to be mandatory (I believe it was something like 2.7.30).
Aren't Python packages not backwards compatible (e.g. you install a higher version of a Python package that covers the requirements of lower versions) ?
What can I do to fix this ? How to retrieve a specific Python version ?
Kind regards,
David.
Python 3.x is not backward compatible, have you tried synocommunity spks?
-
dmesg or screenshot would be helpful
-
You forgot to include the Ethernet controller, pm me instead. BTW, a few users were able to install gnoboot without any issues on hyper-v @nas1.cn .
Hello!
first let me thank you for your hard work, i just read about gnoboot and its looking really good
I tried to install it under my hyperv 2012 r2 and got your alpha 10.3 and im having the same issue like offensive1985, there is no network connection when i use the normal network adapter. But when i use the legacy one i can find the diskstation in the dsm assistant.
Your advise was the one in the quote, but i have to admit i dont really understand what you mean by that.
But in the meantime new versions arrived so is it possible now to run the 10.3 under hyperv with normal network or do i have to run the legacy adapter ?
Of course i would also be very happy if somebody else has an advice for me !
thank you in advance
greetings
simmboo
I don't use Hyper-V, so it's best you try it first and then share your results.
Hello,is it possible get get VirtualBox or Vmware Workstation working in xpenology DSM5? I think there are only the kernel modules needed and a debian chroot to get VMware Workstation working on xpenology. Do you think it is possible?
Regards,
Memo
It should work, though, not the latest VMware drivers.
helphow to change mac? gnoboot-alpha10.3-vfat
You don't need to, but 10.3 has a broken /etc/rc.network. You have to manually comment out the line that modifies MAC address.
Try blacklisting e1000 using rmmod GRUB option.finally got the latest gnoboot working bare hardware with xeon cpu 16gb ram and 8 3tb on a M1015 adapter, the only issue i'm having is nic speed is only around 35mbs which i know i can usually hover around 80, could be because the board has the i210 nicany suggestions thanks
-
And Gigabit Ethernet Realtek 8111G/Realtek8111E/Realtek8111F?
Haven't tested but it should work, check this post to load the correct driver.
-
5.0 When this problem "fixing recursive fault but reboot is needed" how to solve with gnoboot 10.3 installation?
Provide a screenshoot. Can you check if it's similar to this bug report?
-
Hello gnoboot,
I have tested your newest release "gnoboot-alpha10.3-vfat" on a ESXi 5.5 with RDM Mapped Drives.
CiFS , NFS, iSCSi is working!!
ISCSi gives a "kernel trace back" but its working!
Performance before:
Before i was on gnoboot-alpha5 with dsm5 4418 (beta) and the performance was awesome.. NFS 120mbs / CiFS the same and iSCSI arount 110mbs, but i need to say with "gnoboot-alpha5" the PVSCSI Drivers were working!! (VMware Paravirtual SCSI)
Performance now:
With the latest gnoboot-alpha10.3-vfat and Offical DSM 4458 on the same VM i needed to change the PVSCSI (VMware Paravirtual SCSI) to "LSI Logical Bus" otherwise the Harddisks were not detected.
NFS 50 -60mbs
CiFS 50 -60mbs
iSCSI: 30 - 50mbs
So i hope you can bring back the PVSCSI support and as Always: Keep the good work up Great Work!
You can use insmod GRUB option to load missing drivers;) Full details posted in my blog. If it's not too much to ask, click the ADs or Bitcoin donate.
-
got a new mirror, check my downloads page.
@eleka,
was it supported before? can you post more details like `dmesg` or screenshot?
-
Update for v5 on XenServer
Problem with hard disks persists. During installation of DSM -> Error 38. Tried 4458, 3827, booting with/without gnoboot_me... Still the same
[ 0.000000] Linux version 3.2.40 (root@gnoboot) (gcc version 4.7.3 20130102 (prerelease) (crosstool-NG 1.18.0) ) #5 SMP Mon Mar 10 20:37:38 CST 2014
Lol, you're using the wrong zImage. That's five-zero kernel which doesn't have the XEN disk patch.
-
Wiki documentation: http://xpenology.com/wiki/en/building_xpenology
This documentation seems to be empty. Do I need a password or something?
Something is fishy.... Try google cache or internet archive.
-
[spoiler=]
It's been available since day one. Don't forget to check the build date.
Click the ADs or email me for donations:) Enjoy!
-
This patch works well with dsgpl-4.3 source code. It also works with dsgpl-5.0 source code but you have to manually edit the relevant files. Go start build your own kernel and if ever you give back to this community. You can't please everyone, some of them are blood sucking leeches!
--- drivers/ata/libata-core.c.orig 2014-01-06 02:42:49.946152467 +0800 +++ drivers/ata/libata-core.c 2014-01-06 02:51:38.822224108 +0800 @@ -7359,7 +7359,7 @@ EXPORT_SYMBOL(funcSYNOSendDiskPortDisEvent); #endif /* MY_ABC_HERE */ -#ifdef MY_DEF_HERE +#if (defined(MY_DEF_HERE) || defined(XPENOLOGY)) int (*funcSYNOSendEboxRefreshEvent)(int portIndex) = NULL; EXPORT_SYMBOL(funcSYNOSendEboxRefreshEvent); #endif --- include/linux/syno_user.h.orig 2014-01-06 02:42:49.948152589 +0800 +++ include/linux/syno_user.h 2014-01-06 03:01:35.815989363 +0800 @@ -4,6 +4,11 @@ #define __SYNO_USER_H_ /** + * XPEnology project + */ +#define XPENOLOGY + +/** * Dsc: Synology multimedia server feature. For indexing video, photo, * music. * Ref: libsynosdk, lnxnetatalk, lnxsdk, rsync, samba, smbftpd --- kernel/sysctl.c.orig 2014-01-06 02:42:49.955153014 +0800 +++ kernel/sysctl.c 2014-01-06 02:56:38.044634463 +0800 @@ -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 --- drivers/ata/sata_mv.c.orig 2013-08-24 17:37:08.000000000 +0800 +++ drivers/ata/sata_mv.c 2014-01-07 17:11:57.921748538 +0800 @@ -3692,6 +3692,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; @@ -3724,9 +3725,10 @@ writel(gpio_value, host_mmio + GPIO_CTL_DATA); scsi_host_put(shost); - END: +#endif /* XPENOLOGY */ return; + } EXPORT_SYMBOL(syno_sata_mv_gpio_write); #endif --- drivers/pci/quirks.c.orig 2014-02-16 07:28:49.702724291 -0800 +++ drivers/pci/quirks.c 2014-02-16 07:30:58.599035923 -0800 @@ -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 /* XPENOLOGY */ goto END; } --- fs/compat_ioctl.c.orig 2014-02-16 07:32:49.409608822 -0800 +++ fs/compat_ioctl.c 2014-02-16 07:34:43.256789001 -0800 @@ -1760,12 +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); --- drivers/tty/vt/vt.c.orig +++ drivers/tty/vt/vt.c @@ -2474,7 +2474,7 @@ int vt_kmsg_redirect(int new) return kmsg_con; } -#ifndef MY_ABC_HERE +#ifdef MY_ABC_HERE /* * Console on virtual terminal * @@ -2574,7 +2574,7 @@ quit: } #endif -#ifndef MY_ABC_HERE +#ifdef MY_ABC_HERE static struct tty_driver *vt_console_device(struct console *c, int *index) { *index = c->index ? c->index-1 : fg_console; @@ -2942,7 +2942,7 @@ static int __init con_init(void) console_unlock(); -#ifndef MY_ABC_HERE +#ifdef MY_ABC_HERE #ifdef CONFIG_VT_CONSOLE register_console(&vt_console_driver); #endif --- drivers/scsi/sd.c.orig 2014-02-15 16:28:48.148339650 -0800 +++ drivers/scsi/sd.c 2014-02-15 16:30:15.022585662 -0800 @@ -3006,6 +3006,11 @@ { struct scsi_device *sdp = to_scsi_device(dev); +#ifdef XPENOLOGY + printk(KERN_DEBUG "%s: disk driver '%s'", __FUNCTION__, + sdp->host->hostt->name); +#endif + // iscsi #ifdef MY_ABC_HERE if(strcmp(sdp->host->hostt->name, "iSCSI Initiator over TCP/IP") == 0){ @@ -3036,12 +3041,19 @@ if (SYNO_PORT_TYPE_SATA == sdp->host->hostt->syno_port_type) { // else treat as internal disks + printk(KERN_DEBUG "%s: SATA syno_port_type %x\n", __FUNCTION__, + sdp->host->hostt->syno_port_type); return SYNO_DISK_SATA; } // sas disks if (SYNO_PORT_TYPE_SAS == sdp->host->hostt->syno_port_type) { + printk(KERN_DEBUG "%s: SAS syno_port_type %x", __FUNCTION__, + sdp->host->hostt->syno_port_type); return SYNO_DISK_SAS; } +#ifdef XPENOLOGY + printk(KERN_DEBUG "syno_disk_type_get: Got UNKNOWN port type %x\n", sdp->host->hostt->syno_port_type); +#endif return SYNO_DISK_UNKNOWN; } #endif @@ -3210,7 +3222,7 @@ #endif // try at most 5 times while (want_idx != index && - (SYNO_DISK_SATA == sdkp->synodisktype) && iRetry < 15) { + (SYNO_DISK_SATA == sdkp->synodisktype) && iRetry < 5) { /* Sometimes raid is not release all scsi disk yet. Try to delay and reget */ printk("want_idx %d index %d. delay and reget\n", want_idx, index); @@ -3295,6 +3307,8 @@ error = sd_format_disk_name(SYNO_SATA_DEVICE_PREFIX, index, gd->disk_name, DISK_NAME_LEN); break; case SYNO_DISK_USB: + error = sd_format_disk_name(SYNO_SATA_DEVICE_PREFIX, index, gd->disk_name, DISK_NAME_LEN); + break; default: #ifdef SYNO_SAS_DISK_NAME if (1 == g_is_sas_model) { @@ -3303,6 +3317,10 @@ } #endif error = sd_format_disk_name(SYNO_SATA_DEVICE_PREFIX, index, gd->disk_name, DISK_NAME_LEN); +#ifdef XPENOLOGY + printk(KERN_DEBUG "sd_probe: Got UNKNOWN disk %s with index %x\n", gd->disk_name, index); + gd->systemDisk = 1; +#endif break; } #else
-
Oh well, I've even released the kernel patch. So all you F*CK!*G suckers can build your own release! Did anybody here even release their patch? Yeah Andy was the first one, but it doesn't apply with the latest dsgpl (4.3) source code.
--- drivers/ata/libata-core.c.orig 2014-01-06 02:42:49.946152467 +0800 +++ drivers/ata/libata-core.c 2014-01-06 02:51:38.822224108 +0800 @@ -7359,7 +7359,7 @@ EXPORT_SYMBOL(funcSYNOSendDiskPortDisEvent); #endif /* MY_ABC_HERE */ -#ifdef MY_DEF_HERE +#if (defined(MY_DEF_HERE) || defined(XPENOLOGY)) int (*funcSYNOSendEboxRefreshEvent)(int portIndex) = NULL; EXPORT_SYMBOL(funcSYNOSendEboxRefreshEvent); #endif --- include/linux/syno_user.h.orig 2014-01-06 02:42:49.948152589 +0800 +++ include/linux/syno_user.h 2014-01-06 03:01:35.815989363 +0800 @@ -4,6 +4,11 @@ #define __SYNO_USER_H_ /** + * XPEnology project + */ +#define XPENOLOGY + +/** * Dsc: Synology multimedia server feature. For indexing video, photo, * music. * Ref: libsynosdk, lnxnetatalk, lnxsdk, rsync, samba, smbftpd --- kernel/sysctl.c.orig 2014-01-06 02:42:49.955153014 +0800 +++ kernel/sysctl.c 2014-01-06 02:56:38.044634463 +0800 @@ -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 --- drivers/ata/sata_mv.c.orig 2013-08-24 17:37:08.000000000 +0800 +++ drivers/ata/sata_mv.c 2014-01-07 17:11:57.921748538 +0800 @@ -3692,6 +3692,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; @@ -3724,9 +3725,10 @@ writel(gpio_value, host_mmio + GPIO_CTL_DATA); scsi_host_put(shost); - END: +#endif /* XPENOLOGY */ return; + } EXPORT_SYMBOL(syno_sata_mv_gpio_write); #endif --- drivers/pci/quirks.c.orig 2014-02-16 07:28:49.702724291 -0800 +++ drivers/pci/quirks.c 2014-02-16 07:30:58.599035923 -0800 @@ -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 /* XPENOLOGY */ goto END; } --- fs/compat_ioctl.c.orig 2014-02-16 07:32:49.409608822 -0800 +++ fs/compat_ioctl.c 2014-02-16 07:34:43.256789001 -0800 @@ -1760,12 +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); --- drivers/tty/vt/vt.c.orig +++ drivers/tty/vt/vt.c @@ -2474,7 +2474,7 @@ int vt_kmsg_redirect(int new) return kmsg_con; } -#ifndef MY_ABC_HERE +#ifdef MY_ABC_HERE /* * Console on virtual terminal * @@ -2574,7 +2574,7 @@ quit: } #endif -#ifndef MY_ABC_HERE +#ifdef MY_ABC_HERE static struct tty_driver *vt_console_device(struct console *c, int *index) { *index = c->index ? c->index-1 : fg_console; @@ -2942,7 +2942,7 @@ static int __init con_init(void) console_unlock(); -#ifndef MY_ABC_HERE +#ifdef MY_ABC_HERE #ifdef CONFIG_VT_CONSOLE register_console(&vt_console_driver); #endif --- drivers/scsi/sd.c.orig 2014-02-15 16:28:48.148339650 -0800 +++ drivers/scsi/sd.c 2014-02-15 16:30:15.022585662 -0800 @@ -3006,6 +3006,11 @@ { struct scsi_device *sdp = to_scsi_device(dev); +#ifdef XPENOLOGY + printk(KERN_DEBUG "%s: disk driver '%s'", __FUNCTION__, + sdp->host->hostt->name); +#endif + // iscsi #ifdef MY_ABC_HERE if(strcmp(sdp->host->hostt->name, "iSCSI Initiator over TCP/IP") == 0){ @@ -3036,12 +3041,19 @@ if (SYNO_PORT_TYPE_SATA == sdp->host->hostt->syno_port_type) { // else treat as internal disks + printk(KERN_DEBUG "%s: SATA syno_port_type %x\n", __FUNCTION__, + sdp->host->hostt->syno_port_type); return SYNO_DISK_SATA; } // sas disks if (SYNO_PORT_TYPE_SAS == sdp->host->hostt->syno_port_type) { + printk(KERN_DEBUG "%s: SAS syno_port_type %x", __FUNCTION__, + sdp->host->hostt->syno_port_type); return SYNO_DISK_SAS; } +#ifdef XPENOLOGY + printk(KERN_DEBUG "syno_disk_type_get: Got UNKNOWN port type %x\n", sdp->host->hostt->syno_port_type); +#endif return SYNO_DISK_UNKNOWN; } #endif @@ -3210,7 +3222,7 @@ #endif // try at most 5 times while (want_idx != index && - (SYNO_DISK_SATA == sdkp->synodisktype) && iRetry < 15) { + (SYNO_DISK_SATA == sdkp->synodisktype) && iRetry < 5) { /* Sometimes raid is not release all scsi disk yet. Try to delay and reget */ printk("want_idx %d index %d. delay and reget\n", want_idx, index); @@ -3295,6 +3307,8 @@ error = sd_format_disk_name(SYNO_SATA_DEVICE_PREFIX, index, gd->disk_name, DISK_NAME_LEN); break; case SYNO_DISK_USB: + error = sd_format_disk_name(SYNO_SATA_DEVICE_PREFIX, index, gd->disk_name, DISK_NAME_LEN); + break; default: #ifdef SYNO_SAS_DISK_NAME if (1 == g_is_sas_model) { @@ -3303,6 +3317,10 @@ } #endif error = sd_format_disk_name(SYNO_SATA_DEVICE_PREFIX, index, gd->disk_name, DISK_NAME_LEN); +#ifdef XPENOLOGY + printk(KERN_DEBUG "sd_probe: Got UNKNOWN disk %s with index %x\n", gd->disk_name, index); + gd->systemDisk = 1; +#endif break; } #else
-
vfat-password
[spoiler=]gn0Boo7-aLpha10
If you can wait, next release will be this weekend. And I will try to get all request included, specially XEN support and 5.0-4458.
-
i have a new idea
according to this post
http://xpenology.com/forum/viewtopic.php?f=2&t=889
it is possible to incorporate the ACPI support so that we can power off by physical power button.
using the power button to call "shutdown -h now" or the syno_poweroff_feasible_check + syno_poweroff_task script
it would be convenience when testing the machine. (although it may not be necessary when the machine started in use for 24/7 )
It's already supported on alpha10.2 (i.e. /proc/acpi/event), see changelog at my blog:)
that's great~ is the big things shift from alpha version to beta version??
i have a question would like to ask.
is there any different for tigon3 driver between 10.0 and 10.1/10.2 ??
according to your change log, 10.0 is already used tg3_new and my broadcom Lan card can use it without any problems,
however in 10.1 and 10.2, no lan card driver is available for the same hardware. it work again having kernel parameter rmmod=tg3_new insmod=tg3
but i suppose my lan card can use tg3_new (according to 10.0 experience) , so i just curious ... is the tg3_new missed in 10.1 or 10.2 ?
Well, just always check my blog to see what it is.
I missed the new tigon driver somehow during my build. So workaround is `insmod /lib/modules/tg3_new.ko` in /etc/rc.local, or add 'insmod=tg3' GRUB option if you are installing to a new machine.
-
Something big is coming in the next few days...
[spoiler=]Click the ADs on my blog or email me for donation. Enjoy!
-
Hi, got a new problem on alpha 10 (not 10.1, not 10.2) running Trantor's DSM 5 Beta
hen I connect my TeVii DVB-S2 Device dmesg returns the following fault:
(disconnected to reconnect again for showing the errors)[58730.394048] usb 1-1: USB disconnect, device number 2 (other issue) [58757.123588] dsmnotify.cgi[22343]: segfault at 0 ip 000000000804c3c6 sp 00000000ff868870 error 6 [58757.210226] usb 1-1: new high-speed USB device number 3 using ehci_hcd [58757.646078] Got empty serial number. Generate serial number from product. [58758.068154] dvb_core: Unknown symbol __refrigerator (err 0) [58758.121517] dvb_usb: Unknown symbol dvb_dmxdev_init (err 0) [58758.121595] dvb_usb: Unknown symbol dvb_register_adapter (err 0) [58758.121657] dvb_usb: Unknown symbol dvb_dmx_swfilter_204 (err 0) [58758.121676] dvb_usb: Unknown symbol dvb_dmx_release (err 0) [58758.121723] dvb_usb: Unknown symbol dvb_net_init (err 0) [58758.121741] dvb_usb: Unknown symbol dvb_dmx_swfilter (err 0) [58758.121764] dvb_usb: Unknown symbol dvb_dmxdev_release (err 0) [58758.121785] dvb_usb: Unknown symbol dvb_dmx_swfilter_raw (err 0) [58758.121806] dvb_usb: Unknown symbol dvb_frontend_detach (err 0) [58758.121825] dvb_usb: Unknown symbol dvb_net_release (err 0) [58758.121849] dvb_usb: Unknown symbol dvb_unregister_frontend (err 0) [58758.121879] dvb_usb: Unknown symbol dvb_register_frontend (err 0) [58758.121900] dvb_usb: Unknown symbol dvb_unregister_adapter (err 0) [58758.121918] dvb_usb: Unknown symbol dvb_dmx_init (err 0) [58758.165113] stv0299: Unknown symbol timeval_usec_diff (err 0) [58758.165149] stv0299: Unknown symbol dvb_frontend_sleep_until (err 0) [58758.342821] dvb_usb_dw2102: Unknown symbol dvb_usb_generic_rw (err 0) [58758.342884] dvb_usb_dw2102: Unknown symbol dvb_usb_device_init (err 0) [58758.342905] dvb_usb_dw2102: Unknown symbol dvb_usb_device_exit (err 0) DSM>
Try alpha8 that has multimedia support enabled.
-
[spoiler=]
Xpenology and SAS Controller - HBA
in DSM 5.2 and earlier (Legacy)
Posted
10.4 and BETA