Jump to content
XPEnology Community

tr33ks

Rookie
  • Posts

    2
  • Joined

  • Last visited

Posts posted by tr33ks

  1. On 4/9/2018 at 2:11 AM, IG-88 said:

     

    found this patch

    https://marc.info/?l=linux-scsi&m=146005515401214

    i will change the kernel source and compile a new driver, new extra.lzma version 4.8 should be ready later this evening

     

     

    Thanks for help.

    Took me a while to find a com cable, but now i have a log.

    Something went wrong.

     
    Spoiler
    
    :: Loading module sx8 ... [  OK  ]
    :: Loading module aacraid ... [  OK  ]
    :: Loading module aic94xx ... [  OK  ]
    :: Loading module 3w-9xxx ... [  OK  ]
    :: Loading module 3w-sas ... [  OK  ]
    :: Loading module mvumi ... [  OK  ]
    :: Loading module mvsas[    8.208271] sd 3:0:0:0: [synoboot] No Caching mode page found
    [    8.214351] sd 3:0:0:0: [synoboot] Assuming drive cache: write through
    [    8.224186] sd 3:0:0:0: [synoboot] No Caching mode page found
    [    8.230211] sd 3:0:0:0: [synoboot] Assuming drive cache: write through
    [    8.491062] sd 3:0:0:0: [synoboot] No Caching mode page found
    [    8.496934] sd 3:0:0:0: [synoboot] Assuming drive cache: write through
    [   12.950713] BUG: unable to handle kernel NULL pointer dereference at 0000000000000078
    [   12.958773] IP: [<ffffffff81329ed2>] sas_scsi_recover_host+0xf2/0xd20
    [   12.965356] PGD 4673a5067 PUD 4670a7067 PMD 0
    [   12.969950] Oops: 0002 [#1] SMP
    [   12.973296] Modules linked in: mvsas(+) mvumi 3w_sas 3w_9xxx aic94xx aacraid sx8 mpt3sas(O) mpt2sas(O) megaraid_sas ata_piix mptctl mptsas mptspi mptscsih mptbase scsi_transport_spi megaraid megaraid_mbox megaraid_mm vmw_pvscsi BusLogic usb_storage xhci_hcd uhci_hcd ohci_hcd ehci_pci ehci_hcd usbcore usb_common mv14xx(O) el000(O)
    [   13.003617] CPU: 0 PID: 3982 Comm: scsi_eh_2 Tainted: G           O 3.10.102 #15266
    [   13.011417] Hardware name: ASUS P9A-I/C2750/SAS/4L/P9A-I/C2750/SAS/4L, BIOS 1902 11/07/2016
    [   13.019944] task: ffff88046ad3f800 ti: ffff8804669c8000 task.ti: ffff8804669c8000
    [   13.027555] RIP: 0010:[<ffffffff81329ed2>]  [<ffffffff81329ed2>] sas_scsi_recover_host+0xf2/0xd20
    [   13.036601] RSP: 0000:ffff8804669cbda8  EFLAGS: 00010296
    [   13.041993] RAX: 0000000000000078 RBX: ffff8804669af800 RCX: 000000000000000e
    [   13.049254] RDX: 0000000000000032 RSI: 0000000000000246 RDI: ffffffff81a66968
    [   13.056528] RBP: ffff8804669af800 R08: 000000000000000a R09: 000000000000fffe
    [   13.063795] R10: 00007fcc7ae1d9d0 R11: 00000000000002bc R12: ffff88046ad3f800
    [   13.071079] R13: ffff8804669cbe78 R14: ffff88046ad3f800 R15: 0000000000000000
    [   13.078348] FS:  0000000000000000(0000) GS:ffff88047fc00000(0000) knlGS:0000000000000000
    [   13.086568] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
    [   13.092421] CR2: 0000000000000078 CR3: 0000000469fe0000 CR4: 00000000001007f0
    [   13.099687] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    [   13.106962] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
    [   13.114254] Stack:
    [   13.116310]  0000000000000000 ffff88046ad3f800 ffffffff8106522b 0000000000000000
    [   13.123942]  ffff8804669af800 0000000000000000 000000016aca5410 0000000000000078
    [   13.131562]  0000000000000080 0000000000000198 0000000000009000 ffff8804669af888
    [   13.139185] Call Trace:
    [   13.141690]  [<ffffffff8106522b>] ? idle_balance+0x11b/0x140
    [   13.147435]  [<ffffffff81060103>] ? pick_next_task_fair+0x63/0x160
    [   13.153714]  [<ffffffff8130f0bb>] ? scsi_error_handler+0x9b/0x470
    [   13.159949]  [<ffffffff814aee97>] ? __schedule+0x3a7/0x8e0
    [   13.165532]  [<ffffffff8130f020>] ? scsi_eh_get_sense+0x100/0x100
    [   13.171741]  [<ffffffff810501ff>] ? kthread+0xaf/0xc0
    [   13.176885]  [<ffffffff81050150>] ? kthread_create_on_node+0x110/0x110
    [   13.183544]  [<ffffffff814b0f48>] ? ret_from_fork+0x58/0x90
    [   13.189232]  [<ffffffff81050150>] ? kthread_create_on_node+0x110/0x110
    [   13.195874] Code: 58 80 00 01 fb 8b 8b dc 00 00 00 8b 93 d8 00 00 00 48 c7 c6 e0 6d 65 81 48 c7 c7 90 91 72 81 31 c0 e8 64 04 18 00 48 8b 44 24 38 <f0> 80 08 08 48 8b 83 10 05 00 00 4c 8b 6c 24 68 48 8b 8b c8 00
    [   13.216398] RIP  [<ffffffff81329ed2>] sas_scsi_recover_host+0xf2/0xd20
    [   13.223084]  RSP <ffff8804669cbda8>
    [   13.226640] CR2: 0000000000000078
    [   13.230040] ---[ end trace acef4991e89cc10b ]---

     

     

  2. Hi all. Faced with strange bug, maybe someone could help.

    Got an ASUS P9A-I/C2750/SAS/4L motherboard with two Marvell 88SE9485 controllers onboard.

    Made a bootable usb flash with 3617xs image, put there extra.lzma v4.7, installed DSM successfully.

    All works fine, except sas-controllers:

    
    admin@fSyn:/$ lspci -k | grep 'Kernel driver'
            Kernel driver in use: pcieport
            Kernel driver in use: pcieport
            Kernel driver in use: pcieport
            Kernel driver in use: pcieport
            Kernel driver in use: igb
            Kernel driver in use: igb
            Kernel driver in use: igb
            Kernel driver in use: igb
            Kernel driver in use: ehci-pci
            Kernel driver in use: ahci
            Kernel driver in use: lpc_ich
    admin@fSyn:/$ lsmod | grep mvsas
    mvsas                  53061  0
    admin@fSyn:/$ lspci -v
    ...
    0000:01:00.0 Class 0104: Device 1b4b:9485 (rev c3)
            Subsystem: Device 1043:8635
            Flags: bus master, fast devsel, latency 0, IRQ 7
            Memory at de240000 (64-bit, non-prefetchable) [size=128K]
            Memory at de200000 (64-bit, non-prefetchable) [size=256K]
            Expansion ROM at de260000 [disabled] [size=64K]
            Capabilities: <access denied>
    
    0000:02:00.0 Class 0104: Device 1b4b:9485 (rev c3)
            Subsystem: Device 1043:8635
            Flags: bus master, fast devsel, latency 0, IRQ 7
            Memory at de140000 (64-bit, non-prefetchable) [size=128K]
            Memory at de100000 (64-bit, non-prefetchable) [size=256K]
            Expansion ROM at de160000 [disabled] [size=64K]
            Capabilities: <access denied>
    ...
    

    For some reason driver doesn't recognize controller.

    Checked device id's in kernel sources at https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/15047branch/broadwell-source/ - mvsas driver have these ids in mv_init.c

    There is nothing in dmesg regarding mvsas.

    Also all work fine on Ubuntu 17.10

    Have no idea what to check next.

    Please help :)

×
×
  • Create New...