Jump to content
XPEnology Community

Driver extension for jun 1.02b/3615xs/DSM6.1.3


IG-88

Recommended Posts

hi,

 

contiuing from here

i have created a new v3 with the source of dsm 6.1.3 (15152)

there are drivers that would be usefull but do not load after compiling (SATA/PATA), i marked them and commented the reason, maybe i will find time to look into this and try to find the point in the kernel source where the function is and why it might happen (i'm coder so i dont expext much to find out), if some else is able to find out comment it here

all modules are tested with 6.1.3 (sucsesfull loaded with insmod)

as before it contains all modules and firmware jun has used, so in theory what worked ootb with 1.02b should also with this extra.lzma

 

v.3: http://s000.tinyupload.com/?file_id=71323561438971251178

Modules log  

 

net/ethernet
Atheros L2 Fast Ethernet support						atl2.ko

---temp remove - Broadcom 440x/47xx ethernet support				b44.ko
->
b44: Unknown symbol ssb_device_is_enabled (err 0)
b44: Unknown symbol ssb_pcicore_dev_irqvecs_enable (err 0)
b44: Unknown symbol ssb_bus_may_powerdown (err 0)
b44: Unknown symbol ssb_pcihost_register (err 0)
b44: Unknown symbol ssb_device_disable (err 0)
b44: Unknown symbol ssb_device_enable (err 0)
b44: Unknown symbol ssb_driver_unregister (err 0)
b44: Unknown symbol __ssb_driver_register (err 0)
b44: Unknown symbol ssb_bus_powerup (err 0)
b44: Unknown symbol ssb_clockspeed (err 0)
b44: Unknown symbol ssb_dma_translation (err 0)

Intel(R) PRO/100+ support							e100.ko
Intel(R) 82576 Virtual Function Ethernet support				igbvf.ko
Intel(R) PRO/10GbE support							ixgb.ko
Intel(R) 82599 Virtual Function Ethernet support				ixgbevf.ko
nForce Ethernet support								forcedeth.ko
Marvell MDIO interface support							mvmdio.ko


net/usb
USB RTL8150 based ethernet device support					rtl8150.ko
Realtek RTL8152 Based USB 2.0 Ethernet Adapters					r8152.ko
Conexant CX82310 USB ethernet port						cx82310_eth.ko
ASIX AX88xxx Based USB 2.0 Ethernet Adapters					asix.ko
Prolific PL-2301/2302/25A1 based cables						plusb.ko

	
block
Promise SATA SX8 support							sx8.ko

scsi
Adaptec AACRAID Support								aacraid.ko
Adaptec AIC94xx SAS/SATA Support						aic94xx.ko
3ware 9xxx SATA-RAID support							3w-9xxx.ko 3w-sas.ko
HP Smart Array SAS								hpsa.ko
Marvell 88SE64XX/88SE94XX SAS/SATA support					mvsas.ko
ARECA (ARC11xx/12xx/13xx/16xx) SATA/SAS RAID Host Adapter			arcmsr.ko
HighPoint RocketRAID 3xxx/4xxx Controller support				hptiop.ko
Intel(R) C600 Series Chipset SAS Controller					isci.ko
Marvell UMI driver								mvumi.ko


ata
---temp remove - NVIDIA SATA support						sata_nv.ko
---temp remove - Silicon Image SATA support					sata_sil.ko
---temp remove - VIA SATA support						sata_via.ko
---temp remove - Promise SATA TX2/TX4 support					sata_promise.ko
---temp remove - Promise SATA SX4 support					sata_sx4.ko
-> Unknown symbol syno_libata_index_get (err 0)


---temp remove - JMicron PATA support								pata_jmicron.ko
---temp remove - Marvell PATA support via legacy mode						pata_marevell.ko
---temp remove - VIA PATA support								pata_via.ko									---temp remove - CMD / Silicon Image 680 PATA support						pata_sil680
---temp remove - Intel PATA old PIIX support							pata_oldpiix.ko
---temp remove - Intel SCH PATA support								pata_sch.ko
---temp remove - Intel PATA MPIIX support							pata_mpiix.ko
---temp remove - SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support					pata_serverworks.ko
-> Unknown symbol syno_libata_index_get (err 0)


firmware
bnx2/bnx2-mips-06-6.2.3.fw
bnx2/bnx2-mips-09-6.2.1b.fw
e100/d101m_ucode.bin
e100/d101s_ucode.bin
e100/d102e_ucode.bin
tigon/tg357766.bin

 

Hide  

 

The newest version for testing is down below in the tread as its still work in progess and for testing (no "stable" version)"  

  • Like 4
  • Confused 1
Link to comment
Share on other sites

Hello, my motherboard is based on nForce chipset, i use Genesys MBR BIOS loader with extra.lsma v3 file. I can see DiskStation with Synology Assistant but i have a message "no disk connected". I set SataPortMap=16 (6 integrated port/1 additional port), it's a clean install so i put disk on Sata0 port with no changement.

Quote

---temp remove - NVIDIA SATA support						sata_nv.ko

Is this line is to remove support of Nvidia Storage Controller ? So how can i rebuild file with nvidia hardware support ?

 

Thanks

Link to comment
Share on other sites

7 hours ago, agent47SG1 said:

Hello, my motherboard is based on nForce chipset, i use Genesys MBR BIOS loader with extra.lsma v3 file. I can see DiskStation with Synology Assistant but i have a message "no disk connected". I set SataPortMap=16 (6 integrated port/1 additional port), it's a clean install so i put disk on Sata0 port with no changement.

Is this line is to remove support of Nvidia Storage Controller ? So how can i rebuild file with nvidia hardware support ?

 

Thanks

 

means its on my list of drivers that should work but dont because the resulting driver (from synology source) does not load with the message i wrote

Unknown symbol syno_libata_index_get (err 0)

 

its no use to just compile it from source, i already did it (and jun seems to have too, as he warned about it to happen)

 

anyway good to see that somone used it (kind of) successfull, the forcedeth.ko worked as inteded and you had at least network support

 

Edited by IG-88
Link to comment
Share on other sites

34 minutes ago, IG-88 said:

 

means its on my list of drivers that should work but dont because the resulting driver (from synology source) does not load with the message i wrote


Unknown symbol syno_libata_index_get (err 0)

 

its no use to just compile it from source, i already did it (and jun seems to have too, as he warned about it to happen)

 

anyway good to see that somone used it (kind of) successfull, the forcedeth.ko worked as inteded and you had at least network support

 

There is no linux generic driver for storage adaptater that we can use insted ?

Link to comment
Share on other sites

30 minutes ago, agent47SG1 said:

There is no linux generic driver for storage adaptater that we can use insted ?

 

i was thinking the same yesterday when looking into the source (and trying to disable something kind of blindly - as to expect just disabling some stuff sparked new problems)

it might be possible to compile from a kernel.org source (3.10.102 afair) but as synology did lots of mods in the libata.h, libata-scsi.c and libata-core.c (and possibly more) but even IF ("... if? ifis good .." was it pain or panic?) the drivers will load, without knowing what synology needs/changed the outcome can be fatal to the data on the disks - i dont want that to try on my disks and dont want to hear the complaints of people loosing data while beeing guinea pigs

i'm not that desperade for now, maybe someone will have a bettetr idea (its odd that the drivers complain about synology function in a synology system)

Edited by IG-88
  • Thanks 1
Link to comment
Share on other sites

7 minutes ago, agent47SG1 said:

If i understand you need Synology kernel source to have a better hardware compatibility ?

 

no, synology did a lot of modifications (and backports) to this "older" kernel, if you put in a driver without the needed additional stuff weird things can happen, from simply crashig instantly to problems when just counting the disk in the system, the fact that the driver is loaded (without the hardware present in the test system) does'nt proof anything

as long as i dont know i will expect the worst case and thats data loss

 

if you want to volunteer as guinea pig i might compile a driver from a vanilla kernel.org source and if it loads on a dsm 6.1.3 vm (imho not likely)  i will provide a extra.lzma to you as pm and you try what happens to real disks and data

 

 

Link to comment
Share on other sites

admin@TS-509:~$ dmesg | grep usb

[    5.599558] usbcore: registered new interface driver usbfs
[    5.600210] usbcore: registered new interface driver hub
[    5.601233] usbcore: registered new interface driver ethub
[    5.604096] usbcore: registered new device driver usb
[    5.710800] usbcore: registered new interface driver usb-storage
[    5.951016] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    6.218026] usb 1-3: new high-speed USB device number 3 using ehci-pci
[    6.486016] usb 1-4: new high-speed USB device number 4 using ehci-pci
[    6.623211] usb-storage 1-4:1.0: USB Mass Storage device detected
[    6.623748] scsi12 : usb-storage 1-4:1.0
[    6.720281] usb 1-3.3: new high-speed USB device number 5 using ehci-pci
[   27.242667] usbcore: registered new interface driver ax88179_178a
[   27.297149] usbcore: registered new interface driver rtl8150
[   27.301040] usbcore: registered new interface driver r8152
[   27.306987] usbcore: registered new interface driver asix
[   27.312272] usbcore: registered new interface driver plusb
[   43.111613] usbcore: registered new interface driver usblp
[   43.160297] usbcore: registered new interface driver usbhid
[   43.160301] usbhid: USB HID core driver
[   91.943867] usbcore: registered new interface driver snd-usb-audio
[   92.094812] usbcore: registered new interface driver snd-usb-hiface
[  847.046415] usb 1-1: USB disconnect, device number 2
[  850.144732] usb 1-3: USB disconnect, device number 3
[  850.144741] usb 1-3.3: USB disconnect, device number 5
[ 7633.917017] usb 1-1: new high-speed USB device number 6 using ehci-pci

 

Link to comment
Share on other sites

cant see anything usefull in the log

anyhow i send you a pm with the link to a extra.lzma that contains a new r8152.ko from the actual source that realtek offers (0008-r8152.53-2.09.0.tar.bz2)

let us know what happens with this

 

maybe lsusb shows something usefull?

 

btw. the adapter should be present at boot to show up in the dsm gui as network card

Edited by IG-88
Link to comment
Share on other sites

as there are sometimes problems with realtek gigabit pcie adapters I have created two additional versions of the v3 extra.lzma

each containing only the r8168.ko or the r8169.ko (not both as in jun's original and the "normal" v3 extra.lzma)

the rest ist identical to the normal v3

 

r8168 is the version compiled from the realtek provided souce (in theory the better choice?)

http://s000.tinyupload.com/?file_id=22103599631967679390

 

r8169 is the version that comes with the kernel (3.10.102)

http://s000.tinyupload.com/?file_id=93767429277409083729

 
 

realtek lists the folowing chips supported for the r8168.ko:

RTL8111B

RTL8168B

RTL8111

RTL8168
RTL8111C

RTL8111CP

RTL8111D(L)
RTL8168C

RTL8111DP

RTL8111E
RTL8168E

RTL8111F

RTL8411
RTL8111G

RTL8111GUS

RTL8411B(N)
RTL8118AS

 

  • Like 1
Link to comment
Share on other sites

4 hours ago, IG-88 said:

cant see anything usefull in the log

anyhow i send you a pm with the link to a extra.lzma that contains a new r8152.ko from the actual source that realtek offers (0008-r8152.53-2.09.0.tar.bz2)

let us know what happens with this

 

maybe lsusb shows something usefull?

 

btw. the adapter should be present at boot to show up in the dsm gui as network card

 

Actually it does. It shows the module was loaded although it doesn't say if it's working. The last line shows the USB that was plugged. I should have asked a full log thought would have been more useful. Thanks for compiling the new r8152. Let's see how that works. @lolvince please report when possible.

Link to comment
Share on other sites

16 minutes ago, lolvince said:

I tested it on DSM 6.1.3 - 15152 U 4 everything is OK !!!
is there a script or a procedure that I can do alone next time synology changes kernel in order to avoid losing compatibility with my USB LAN card?

 

once again, thanks for your work, it's perfect;)

 

Look at the pinned topics. There is a thread on how to compile modules.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...