Jump to content
XPEnology Community
  • 0

DSM 6.1 and Adaptec RAID's kernel dump


Max Bigstone
 Share

Question

Hi!

I'm trying to install xpenology in a server with 2 adatpec cards (ASR-5405 + ASR-5805)... I've used precompiled modules and ailso I've tryed to compile my own aacraid.ko module but the problem is always the same... Kernel dump... Like this (using aacraid module from file extra3617_v4.4.zip):

:: Loading modul[    6.218538] Adaptec aacraid driver 1.2-0[30200]-ms
e aacraid[    6.223653] ACPI: PCI Interrupt Link [LK3E] enabled at IRQ 21
[    6.283041] usb 1-2: new high-speed USB device number 3 using ehci-pci
[    6.434246] AAC0: kernel 5.2-0[18948] Apr 13 2012
[    6.434531] usb-storage 1-2:1.0: USB Mass Storage device detected
[    6.434626] scsi1 : usb-storage 1-2:1.0
[    6.448930] AAC0: monitor 5.2-0[18948]
[    6.452689] AAC0: bios 5.2-0[18948]
[    6.456183] AAC0: serial 00911AA1277
[    6.459760] AAC0: Non-DASD support enabled.
[    6.471018] scsi0 : aacraid
[    6.825034] usb 2-1: new low-speed USB device number 2 using ohci_hcd
[    6.875967] scsi 0:1:0:0: Direct-Access     WDC      WD5000AAKX-0             15.0 PQ: 0 ANSI: 5
[    6.884762] BUG: unable to handle kernel paging request at ffff8802b7a32dfc
[    6.885747] IP: [<ffffffff81316cc0>] scsi_sysfs_add_sdev+0x30/0x2c0
[    6.885747] PGD 1ab8067 PUD 0 
[    6.885747] Oops: 0000 [#1] SMP 
[    6.885747] Modules linked in: aacraid(+) sx8 mpt3sas(O) mpt2sas(O) megaraid_sas ata_piix mptctl mptsas mptspi mptscsih mptbase scsi_transport_spi)
[    6.885747] CPU: 7 PID: 3698 Comm: insmod Tainted: G        W  O 3.10.102 #15217
[    6.885747] Hardware name: Dell  DCS FS12-NV7/3CESL1, BIOS 1.84  09/28/2009
[    6.885747] task: ffff8800bb1d0800 ti: ffff8800b7990000 task.ti: ffff8800b7990000
[    6.885747] RIP: 0010:[<ffffffff81316cc0>]  [<ffffffff81316cc0>] scsi_sysfs_add_sdev+0x30/0x2c0
[    6.885747] RSP: 0018:ffff8800b7993a18  EFLAGS: 00010246
[    6.885747] RAX: 0000000000000000 RBX: ffff8800b7b7d000 RCX: 0000000000000002
[    6.885747] RDX: 0000000000005454 RSI: 0000000000000002 RDI: ffff8800b7b7d000
[    6.885747] RBP: 0000000000000000 R08: ffffffff818639c8 R09: 6944203a303a303a
[    6.885747] R10: 303a303a313a3020 R11: 746365726944203a R12: ffff8802b7a32c00
[    6.885747] R13: ffff8800ba5577d8 R14: ffff8800b7b7d000 R15: ffff8800b7993ad8
[    6.885747] FS:  00007fbf1eba2700(0000) GS:ffff8800bfdc0000(0000) knlGS:0000000000000000
[    6.885747] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[    6.885747] CR2: ffff8802b7a32dfc CR3: 00000000bae84000 CR4: 00000000000006a0
[    6.885747] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    6.885747] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[    6.885747] Stack:
[    6.885747]  0000000000000000 0000000000000000 0000000000000000 ffff8800b7b7d170
[    6.885747]  ffff8800b7b7d000 ffffffff813148f3 ffff8800ba546ae0 0000000000000000
[    6.885747]  ffff880000000005 ffffffff816f9f12 ffff8800ba572e60 ffff8800bb535e80
[    6.885747] Call Trace:
[    6.885747]  [<ffffffff813148f3>] ? scsi_probe_and_add_lun+0xee3/0xf70
[    6.885747]  [<ffffffff813136b6>] ? scsi_alloc_target+0x276/0x310
[    6.885747]  [<ffffffff81314ce7>] ? __scsi_scan_target+0xc7/0x5c0
[    6.885747]  [<ffffffff81165cb8>] ? sysfs_link_sibling+0xa8/0xd0
[    6.885747]  [<ffffffff8116638c>] ? __sysfs_add_one+0x5c/0x100
[    6.885747]  [<ffffffff81166584>] ? sysfs_addrm_finish+0x24/0xc0
[    6.885747]  [<ffffffff81166441>] ? sysfs_add_one+0x11/0xc0
[    6.885747]  [<ffffffff81315314>] ? scsi_scan_channel.part.12+0x54/0x70
[    6.885747]  [<ffffffff81315491>] ? scsi_scan_host_selected+0xc1/0x150
[    6.885747]  [<ffffffffa027a715>] ? aac_probe_one+0x4f5/0x5a0 [aacraid]
[    6.885747]  [<ffffffff8128db50>] ? pci_device_probe+0x60/0xa0
[    6.885747]  [<ffffffff812f853a>] ? really_probe+0x5a/0x220
[    6.885747]  [<ffffffff812f87c1>] ? __driver_attach+0x81/0x90
[    6.885747]  [<ffffffff812f8740>] ? __device_attach+0x40/0x40
[    6.885747]  [<ffffffff812f6833>] ? bus_for_each_dev+0x53/0x90
[    6.885747]  [<ffffffff812f7cd8>] ? bus_add_driver+0x158/0x250
[    6.885747]  [<ffffffffa028e000>] ? 0xffffffffa028dfff
[    6.885747]  [<ffffffff812f8dc8>] ? driver_register+0x68/0x150
[    6.885747]  [<ffffffffa028e000>] ? 0xffffffffa028dfff
[    6.885747]  [<ffffffffa028e037>] ? aac_init+0x37/0x77 [aacraid]
[    6.885747]  [<ffffffffa028e000>] ? 0xffffffffa028dfff
[    6.885747]  [<ffffffff810003aa>] ? do_one_initcall+0xea/0x140
[    6.885747]  [<ffffffff8108905f>] ? load_module+0x1d0f/0x2060
[    6.885747]  [<ffffffff81085f10>] ? store_uevent+0x40/0x40
[    6.885747]  [<ffffffff81089441>] ? SYSC_init_module+0x91/0xc0
[    6.885747]  [<ffffffff814b0672>] ? system_call_fastpath+0x16/0x1b
[    6.885747] Code: 02 00 00 00 41 54 55 53 48 89 fb 4c 8b 6f 08 4c 8b a7 f8 00 00 00 e8 b0 86 ff ff 85 c0 74 0c 5b 5d 41 5c 41 5d 41 5e c3 0f 1f 00 
[    6.885747] RIP  [<ffffffff81316cc0>] scsi_sysfs_add_sdev+0x30/0x2c0
[    6.885747]  RSP <ffff8800b7993a18>
[    6.885747] CR2: ffff8802b7a32dfc
[    6.885747] ---[ end trace 1feffe44ed59a99b ]---
 ... [FAILED]


Any Idea?

 

Thanks!!!

  Max

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I've always tryed install DSM with the Jun's loader (normally DS3617xs 6.1 Jun's Mod V1.02b.img)... After your request I've also tested DS3615xs 6.1, Jun's Mod V1.02b.img and DS3615xs 6.0.2 Jun's Mod V1.01.img... In the three case there are no error because the aacraid module isn't...

 

If I use the extra modules from this forum... Kernel dump on load aacraid module...  :-(  But if you see the dump, the problem comes from function "scsi_sysfs_add_sdev", that is in kernel, not in the module... I tryed to compile the kernel (downloaded from https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/15047branch/broadwell-source/) using the correct toolchain... But my kernel always has the same problem, missing symbols  loading synobios... I don't know where is my mistake... 

 

Any idea?

 

 

 

 

Link to comment
Share on other sites

  • 0
On 2/1/2018 at 4:05 AM, Polanskiman said:

Have you tried using the vanilla loader without adding any extra custom module? If not, then please do so and post the kernel logs.

 

I've always tryed install DSM with the Jun's loader (normally DS3617xs 6.1 Jun's Mod V1.02b.img)... After your request I've also tested DS3615xs 6.1, Jun's Mod V1.02b.img and DS3615xs 6.0.2 Jun's Mod V1.01.img... In the three case there are no error because the aacraid module isn't...

 

If I use the extra modules from this forum... Kernel dump on load aacraid module...    But if you see the dump, the problem comes from function "scsi_sysfs_add_sdev", that is in kernel, not in the module... I tryed to compile the kernel (downloaded from https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/15047branch/broadwell-source/) using the correct toolchain... But my kernel always has the same problem, missing symbols  loading synobios... I don't know where is my mistake... 

 

Any idea?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...