Jay Y

Members
  • Content Count

    13
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Jay Y

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Partial SUCCESS!! (SMART issues!) Finally Thanks a lot to fa2k for helping along the way. I took driver source from linux kernel 3.11 (idea from fa2k), compared with older driver code and made updates to the code to fix compatibility issues and then it compiled. After that, the driver was still crashing (DMA Read errors) so I had to do more research and found a hint online that disabling intel IOMMU would fix those issues. For that I added a kernel boot parameter (intel_iommu=off) in grub config and now my machine reads the adapter and all disks connected to it. Problem now is that DSM UI doesn't seem to be able to read SMART data from the disks attached to the megaraid adapter. Smart information is available if I query via command line. Console also shows problems with the raid volume I created (md1: Failed to send sync event: (sync type: resync, finish: 0, interrupt: 0)), but no errors are reported in DSM UI (Resolved). Anyone know why this might be happening? I'm going to experiment some more and try and use newer versions of driver code to hopefully fix the above and get more stable drivers (and also try building with IOMMU disabled in build options so grub changes are not needed). Once I find an acceptable (to me) driver I will upload it here for others to use. This should enable all Dell (And other) RAID cards that use the SAS 3008 chipset once they are put in HBA mode (which is just a setting with the newer Dell cards).
  2. I gave this a shot and no dice for me. Build fails for megaraid.c - error: implicit declaration of function ‘pci_alloc_dev’ [-Werror=implicit-function-declaration] However you're making it work, just fix those symbol errors for me 😀
  3. Ignore the request for source. Better to get your thoughts on fixing that issue with missing symbols. I'll get the source for 3.11 and try compiling myself in the meantime.
  4. Still failing with the same errors as before. I put in your version of the vow_pvscsi driver and now that is failing too: [ 2.314830] vmw_pvscsi: Unknown symbol pv_irq_ops (err 0) [ 2.316878] megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006) [ 2.319068] megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 2006) [ 2.321165] megaraid: Unknown symbol pv_cpu_ops (err 0) [ 2.321169] megaraid: Unknown symbol pv_irq_ops (err 0) [ 2.325482] Fusion MPT base driver 3.04.20 [ 2.325483] Copyright (c) 1999-2008 LSI Corporation [ 2.329726] Fusion MPT SPI Host driver 3.04.20 [ 2.331939] Fusion MPT SAS Host driver 3.04.20 [ 2.334126] Fusion MPT misc device (ioctl) driver 3.04.20 [ 2.334170] mptctl: Registered with Fusion MPT base driver [ 2.334172] mptctl: /dev/mptctl @ (major,minor=10,220) [ 2.336292] megaraid_sas: Unknown symbol pv_irq_ops (err 0) I got a hold of the driver from Kernel 3.16.62 a few hours back and was about to run a diff to see what's changed and if are any dependency issues. When you see this, mind sharing the 3.11 source you got? I can try compiling with the environment I have setup on my end and see if the dependencies can be worked out.
  5. I've done this too many times and may be starting to lose track a bit... I took the driver from 4.4.x source and compiled it against current kernel. If I remember right, it doesn't build because of missing dependencies. Went down the rabbit hole of trying to fix those one at a time until I got to missing kernel dependencies and then gave up. I also tried DS918+ with the 1.04b Loader and the image just doesn't come up to even setup. Console shows lots of error messages, loading of drivers and errors appears to be all out of order. Lots of crashes (I think drivers) etc. Don't know what's with that image that does not sit right. Will give it another shot with a clean disk later today and see if I can work through the errors.
  6. Thanks for sharing those notes for your environment. I've tried building against that source already and that driver doesn't recognize my adapter. PCI ID for this adapter is 005f. In the LSI official drivers it is defined in megaraid_sas.h as: #define PCI_DEVICE_ID_LSI_FURY 0x005f I've attempted using the LSI drivers but they are written against newer kernel and so far I've not been able to get them to work (driver crashes on load or doesn't build). Going to try a bit more to search for back ports etc.
  7. Is it possible for you to share where you're getting the linux kernel source to compile these drivers? That way I can try myself. I'm assuming I can reuse the toolchain for bromolow. Are there any other config settings you're using to run make that you may be able to share? I looked into the kernel source here: https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/22259branch/broadwell-source/linux-3.10.x.txz/download Don't know if this is the correct version. Unfortunately, the megaraid driver bundled there is the same old version which does not have PCI IDs for my card....
  8. This time 3 of the drivers failed to load. Dmesg output below: [ 2.322299] megaraid_mbox: Unknown symbol pv_irq_ops (err 0) [ 2.324274] megaraid: Unknown symbol pv_cpu_ops (err 0) [ 2.324278] megaraid: Unknown symbol pv_irq_ops (err 0) [ 2.328565] Fusion MPT base driver 3.04.20 [ 2.328566] Copyright (c) 1999-2008 LSI Corporation [ 2.332837] Fusion MPT SPI Host driver 3.04.20 [ 2.335013] Fusion MPT SAS Host driver 3.04.20 [ 2.337189] Fusion MPT misc device (ioctl) driver 3.04.20 [ 2.337232] mptctl: Registered with Fusion MPT base driver [ 2.337232] mptctl: /dev/mptctl @ (major,minor=10,220) [ 2.339359] megaraid_sas: Unknown symbol pv_irq_ops (err 0) [ 2.343067] mpt2sas version 20.00.00.00 loaded [ 2.347259] mpt3sas version 13.00.00.00 loaded
  9. Should I be getting an updated version of megaraid_mbox as well? Trying the others now
  10. Pulled that machine apart to try something else! Will test new drivers in the next hour and report back. Just to be clear, I am using the megaraid drivers you supplied and NOT using your mpt* drivers (using the default ones in the image) Also looked at that Crossflashing link. The problem still remains that all these instructions call for using a jumper on the card and mine has absolutely no physical jumpers on it.
  11. I saw that Crossflashing post a while back but there is no jumper on my card so I don't think I can perform those steps. All I can do is to set it in HBA mode. Please correct me if I am wrong. I tried the megaraid drivers you gave me and both megaraid_sas and megaraid_mbox fail to load. I dmesg, I get this: [ 2.327902] megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006) [ 2.330024] megaraid_mbox: Unknown symbol pv_irq_ops (err 0) [ 2.336544] Fusion MPT base driver 3.04.20 [ 2.336545] Copyright (c) 1999-2008 LSI Corporation [ 2.340828] Fusion MPT SPI Host driver 3.04.20 [ 2.343046] Fusion MPT SAS Host driver 3.04.20 [ 2.345235] Fusion MPT misc device (ioctl) driver 3.04.20 [ 2.345279] mptctl: Registered with Fusion MPT base driver [ 2.345280] mptctl: /dev/mptctl @ (major,minor=10,220) [ 2.347430] megaraid_sas: Unknown symbol pv_irq_ops (err 0) [ 2.351217] mpt2sas version 20.00.00.00 loaded [ 2.355445] mpt3sas version 13.00.00.00 loaded
  12. My first big ray of hope in days! I've tried everything I could come up with to make this card work but to no effect. I kid you not, I'm keeping count and as of this moment I've restarted my machine 92 times each time with some new combination of loader, drivers, image etc. I am trying to use the card in passthrough mode (HBA). I also tested RAID mode with a RAID volume created and without (with disks marked NON RAID). Unfortunately, none of those work for me. I have 5 disks attached to the onboard SATA ports and those are visible and usable but none of the disks attached to the H330 are visible. I'll try the drivers you just supplied but would love to hear what else needs to be done to have the disks be visible in passthrough mode since that has not worked out of the box for me. I've tested my hardware by running Ubuntu live and the card and all drives attached to it are visible in passthrough mode. Btw, I also tried compiling drivers against bromolow earlier and the default drivers in that kernel don't have the PCI ID in the source for this card. I got the latest sources from Broadcom but that source either won't compile independently or the Synology image shows the driver crashing when it is being loaded. I will test the drivers you've sent now and report back shortly. Btw, I tried the drivers in your original package and the tg3 driver there fails on my machine (original driver provided with the image works fine)
  13. Any chance you can also build the MegaRAID drivers (megaraid and megaraid_sas)? I'm trying to use a Dell H330 (Chipset SAS3008)/ LSI 9341-8i which according to LSI should be using megaraid drivers. Edit: Just to clarify, I am trying use this with loader V1.03b with a DS3617 image and DSM version 6.2