Sign in to follow this  
LeaderGL

[DRIVER] Sitecom WL-349 v3 (RTL8188S)

Recommended Posts

Hi,

i've an USB Wireless Adapter, the Sitecom WL-349 with a Realtek RTL8188S chip. When i try to attach it to my nas, nanoboot 5.0.3.2 with dsm 5.0.4528 update 1, i loss access to the nas (both web,ssh,services) (only shared folders are accessible).

 

this is my logs (cutted):

[spoiler=dmesg]

[ 657.612225] usb 7-2: new high-speed USB device number 2 using xhci_hcd

[ 657.751033] r8712u: Staging version

[ 657.751054] r8712u: register rtl8712_netdev_ops to netdev_ops

[ 657.751057] r8712u: USB_SPEED_HIGH with 4 endpoints

[ 657.751404] r8712u: Boot from EFUSE: Autoload OK

[ 658.126209] r8712u: CustomerID = 0x0000

[ 658.126215] r8712u: MAC Address from efuse = 00:0c:f6:a4:03:dc

[ 658.126218] r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"

[ 658.126437] usbcore: registered new interface driver r8712u

[ 658.164647] general protection fault: 0000 [#1] SMP

[ 658.164652] CPU 0

[ 658.164654] Modules linked in: r8712u(O) cifs udf isofs loop usbhid hid usblp usb_storage uhci_hcd etxhci_hcd xhci_hcd ohci_hcd ehci_hcd bromolow_synobios(P) btrfs synoacl_vfs(P) zlib_deflate hfsplus md4 hmac tn40xx(O) i2c_algo_bit fuse vfat fat chainiv cpufreq_conservative cpufreq_powersave cpufreq_performance cpufreq_ondemand mperf processor cpufreq_stats freq_table dm_snapshot crc_itu_t quota_v2 quota_tree usbcore psnap p8022 llc usb_common zram© mvsas arcmsr megaraid_sas megaraid_mbox megaraid_mm mpt2sas mptsas mptspi mptscsih mptbase scsi_transport_spi scsi_wait_scan sg ata_piix sata_uli sata_svw sata_qstor sata_sis pata_sis stex sata_sx4 sata_promise sata_nv sata_via sata_sil pdc_adma iscsi_tcp libiscsi_tcp libiscsi enic qlge qlcnic qla3xxx netxen_nic cnic ipv6 bnx2x be2net atl1e(O) atl1c atl2(O) atl1(O) alx(O) sky2 skge crc_ccitt r8101 r8168 r8169 8139too 8139cp tg3 libphy bnx2 ssb(O) uio forcedeth ixgbe ixgb igb ioatdma e1000e e1000 e100 dca pcnet32 amd8111e mdio mii container thermal_sys compat(O) cryptd ecryptfs sha512_generic sha256_generic sha1_generic ecb aes_x86_64 authenc des_generic libcrc32c crc32c eseqiv krng ansi_cprng cts rng aes_generic md5 cbc cryptomgr pcompress aead crypto_hash crypto_blkcipher crypto_wq crypto_algapi [last unloaded: bromolow_synobios]

[ 658.164737]

[ 658.164741] Pid: 19297, comm: firmware/rtlwif Tainted: P C O 3.2.40 #4 To Be Filled By O.E.M. To Be Filled By O.E.M./AM1H-ITX

[ 658.164747] RIP: 0010:[] [] __netdev_update_features+0xe8/0x1e0

[ 658.164759] RSP: 0000:ffff88022d263e80 EFLAGS: 00010206

[ 658.164762] RAX: 65776f705f776f6c RBX: 0000000000004000 RCX: 0000000000000000

[ 658.164765] RDX: 0000000000000800 RSI: 0000000000004000 RDI: ffff880226610000

[ 658.164767] RBP: ffff880226610000 R08: 0000000000000000 R09: 0000000000000000

[ 658.164770] R10: 0000000000000002 R11: 0000000000000246 R12: ffff880226610000

[ 658.164772] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000

[ 658.164776] FS: 00007f5722796700(0000) GS:ffff88023ec00000(0000) knlGS:00000000f756fb40

[ 658.164779] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b

[ 658.164781] CR2: 00000000080c4944 CR3: 0000000232adb000 CR4: 00000000000406f0

[ 658.164784] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000

[ 658.164786] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400

[ 658.164790] Process firmware/rtlwif (pid: 19297, threadinfo ffff88022d262000, task ffff88022d034290)

[ 658.164792] Stack:

[ 658.164794] ffff880226610000 ffff880226610000 0000000000000000 ffffffff813648fc

[ 658.164798] ffff880226610000 0000000000000000 ffffffff8129f600 ffffffff81364b11

[ 658.164802] ffff880232dd7a40 ffffffff8129f638 ffffffff8129f600 ffff88022d052460

[ 658.164806] Call Trace:

[ 658.164812] [] ? register_netdevice+0x22c/0x430

[ 658.164818] [] ? _request_firmware+0x410/0x410

[ 658.164822] [] ? register_netdev+0x11/0x20

[ 658.164826] [] ? request_firmware_work_func+0x38/0x80

[ 658.164830] [] ? _request_firmware+0x410/0x410

[ 658.164836] [] ? kthread+0x7e/0x90

[ 658.164841] [] ? kernel_thread_helper+0x4/0x10

[ 658.164845] [] ? kthread_worker_fn+0x170/0x170

[ 658.164849] [] ? gs_change+0xb/0xb

[ 658.164851] Code: ff f6 c3 01 0f 44 d8 39 9d b0 00 00 00 0f 84 b8 00 00 00 48 8b 85 98 01 00 00 48 8b 80 00 01 00 00 48 85 c0 74 4d 89 de 48 89 ef d0 83 f8 00 0f 8c c0 00 00 00 74 3b b8 01 00 00 00 48 83 c4

[ 658.164885] RIP [] __netdev_update_features+0xe8/0x1e0

[ 658.164890] RSP

[ 658.164894] ---[ end trace ef2c5e76ed2a1cc1 ]---

 

[spoiler=/var/log/messages]

Nov 12 10:11:31 DiskStation kernel: [ 658.164647] general protection fault: 0000 [#1] SMP

Nov 12 10:11:31 DiskStation kernel: [ 658.164652] CPU 0

Nov 12 10:11:31 DiskStation kernel: [ 658.164654] Modules linked in: r8712u(O) cifs udf isofs loop usbhid hid usblp usb_storage uhci_hcd etxhci_hcd xhci_hcd ohci_hcd ehci_hcd bromolow_synobios(P) btrfs synoacl_vfs(P) zlib_deflate hfsplus md4 hmac tn40xx(O) i2c_algo_bit fuse vfat fat chainiv cpufreq_conservative cpufreq_powersave cpufreq_performance cpufreq_ondemand mperf processor cpufreq_stats freq_table dm_snapshot crc_itu_t quota_v2 quota_tree usbcore psnap p8022 llc usb_common zram© mvsas arcmsr megaraid_sas megaraid_mbox megaraid_mm mpt2sas mptsas mptspi mptscsih mptbase scsi_transport_spi scsi_wait_scan sg ata_piix sata_uli sata_svw sata_qstor sata_sis pata_sis stex sata_sx4 sata_promise sata_nv sata_via sata_sil pdc_adma iscsi_tcp libiscsi_tcp libiscsi enic qlge qlcnic qla3xxx netxen_nic cnic ipv6 bnx2x be2net atl1e(O) atl1c atl2(O) atl1(O) alx(O) sky2 skge crc_ccitt r8101 r8168 r8169 8139too 8139cp tg3 libphy bnx2 ssb(O) uio forcedeth ixgbe ixgb igb ioatdma e1000e e1000 e100 dca pcnet32 amd8111e mdio mii container thermal_sys compat(O) cryptd ecryptfs sha512_generic sha256_generic sha1_generic ecb aes_x86_64 authenc des_generic libcrc32c crc32c eseqiv krng ansi_cprng cts rng aes_generic md5 cbc cryptomgr pcompress aead crypto_hash crypto_blkcipher crypto_wq crypto_algapi [last unloaded: bromolow_synobios]

Nov 12 10:11:31 DiskStation kernel: [ 658.164737]

Nov 12 10:11:31 DiskStation kernel: [ 658.164741] Pid: 19297, comm: firmware/rtlwif Tainted: P C O 3.2.40 #4 To Be Filled By O.E.M. To Be Filled By O.E.M./AM1H-ITX

Nov 12 10:11:31 DiskStation kernel: [ 658.164747] RIP: 0010:[] [] __netdev_update_features+0xe8/0x1e0

Nov 12 10:11:31 DiskStation kernel: [ 658.164759] RSP: 0000:ffff88022d263e80 EFLAGS: 00010206

Nov 12 10:11:31 DiskStation kernel: [ 658.164762] RAX: 65776f705f776f6c RBX: 0000000000004000 RCX: 0000000000000000

Nov 12 10:11:31 DiskStation kernel: [ 658.164765] RDX: 0000000000000800 RSI: 0000000000004000 RDI: ffff880226610000

Nov 12 10:11:31 DiskStation kernel: [ 658.164767] RBP: ffff880226610000 R08: 0000000000000000 R09: 0000000000000000

Nov 12 10:11:31 DiskStation kernel: [ 658.164770] R10: 0000000000000002 R11: 0000000000000246 R12: ffff880226610000

Nov 12 10:11:31 DiskStation kernel: [ 658.164772] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000

Nov 12 10:11:31 DiskStation kernel: [ 658.164776] FS: 00007f5722796700(0000) GS:ffff88023ec00000(0000) knlGS:00000000f756fb40

Nov 12 10:11:31 DiskStation kernel: [ 658.164779] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b

Nov 12 10:11:31 DiskStation kernel: [ 658.164781] CR2: 00000000080c4944 CR3: 0000000232adb000 CR4: 00000000000406f0

Nov 12 10:11:31 DiskStation kernel: [ 658.164784] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000

Nov 12 10:11:31 DiskStation kernel: [ 658.164786] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400

Nov 12 10:11:31 DiskStation kernel: [ 658.164790] Process firmware/rtlwif (pid: 19297, threadinfo ffff88022d262000, task ffff88022d034290)

Nov 12 10:11:31 DiskStation kernel: [ 658.164792] Stack:

Nov 12 10:11:31 DiskStation kernel: [ 658.164794] ffff880226610000 ffff880226610000 0000000000000000 ffffffff813648fc

Nov 12 10:11:31 DiskStation kernel: [ 658.164798] ffff880226610000 0000000000000000 ffffffff8129f600 ffffffff81364b11

Nov 12 10:11:31 DiskStation kernel: [ 658.164802] ffff880232dd7a40 ffffffff8129f638 ffffffff8129f600 ffff88022d052460

Nov 12 10:11:31 DiskStation kernel: [ 658.164806] Call Trace:

Nov 12 10:11:31 DiskStation kernel: [ 658.164812] [] ? register_netdevice+0x22c/0x430

Nov 12 10:11:31 DiskStation kernel: [ 658.164818] [] ? _request_firmware+0x410/0x410

Nov 12 10:11:31 DiskStation kernel: [ 658.164822] [] ? register_netdev+0x11/0x20

Nov 12 10:11:31 DiskStation kernel: [ 658.164826] [] ? request_firmware_work_func+0x38/0x80

Nov 12 10:11:31 DiskStation kernel: [ 658.164830] [] ? _request_firmware+0x410/0x410

Nov 12 10:11:31 DiskStation kernel: [ 658.164836] [] ? kthread+0x7e/0x90

Nov 12 10:11:31 DiskStation kernel: [ 658.164841] [] ? kernel_thread_helper+0x4/0x10

Nov 12 10:11:31 DiskStation kernel: [ 658.164845] [] ? kthread_worker_fn+0x170/0x170

Nov 12 10:11:31 DiskStation kernel: [ 658.164849] [] ? gs_change+0xb/0xb

Nov 12 10:11:31 DiskStation kernel: [ 658.164851] Code: ff f6 c3 01 0f 44 d8 39 9d b0 00 00 00 0f 84 b8 00 00 00 48 8b 85 98 01 00 00 48 8b 80 00 01 00 00 48 85 c0 74 4d 89 de 48 89 ef d0 83 f8 00 0f 8c c0 00 00 00 74 3b b8 01 00 00 00 48 83 c4

Nov 12 10:11:31 DiskStation kernel: [ 658.164885] RIP [] __netdev_update_features+0xe8/0x1e0

Nov 12 10:11:31 DiskStation kernel: [ 658.164890] RSP

Nov 12 10:11:31 DiskStation kernel: [ 658.164894] ---[ end trace ef2c5e76ed2a1cc1 ]---

Nov 12 10:11:31 DiskStation interface-catcher: eth0 () is removed

Nov 12 10:11:31 DiskStation dhcpcd[11168]: terminating on signal 15

Nov 12 10:11:31 DiskStation interface-catcher: lo () is removed

 

 

Can anyone help me for a working driver with nanoBoot?

 

The one used by Win7 is "RTL8192su.sys"

Share this post


Link to post
Share on other sites

VID & PID of my device are:

USB\VID_0DF6&PID_004B&REV_0200

and seeking in realtek driver is should be supported:

[spoiler=driver\os_intf\linux\usb_intf.c:68]static struct usb_device_id rtl871x_usb_id_tbl[] ={

/* RTL8188SU */

/* cut */

 

/* Sitecom */

{USB_DEVICE(0x0DF6, 0x0057)},

{USB_DEVICE(0x0DF6, 0x0045)},

{USB_DEVICE(0x0DF6, 0x0059)}, // 11n mode disable *

{USB_DEVICE(0x0DF6, 0x004B)},

{USB_DEVICE(0x0DF6, 0x0063)},

 

so why when i attach the usb key to my nas it crash?!

 

Realtek link: http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=2&PNid=48&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true#RTL8192SU

 

can someone help me?

Share this post


Link to post
Share on other sites

it seems that there is a bug in some 3.2.x kernel version with the r8712u.ko module during the firmware upload.

there is a way to rebuild the driver with the latest realtek version for our kernel?

Share this post


Link to post
Share on other sites
Sign in to follow this