Jump to content
XPEnology Community

jackyz

Rookie
  • Posts

    3
  • Joined

  • Last visited

Posts posted by jackyz

  1. @HuangYe

     

    i have some confusion with kref/scripts, poor descrtion information

     

    1. clone kernel source(FIXME), compatibility util source(FIXME) and build scripts to same folder

    kernel source i download from sourceforge and it is linux-3.10.x about dsm6.1-15047, but what is compatibility util source

     

    4. create config.override (extra kernel configs), grub.cfg, modules.conf(a list of extra modules), optionally info.txt

    i only create empty file config.override, grub.cfg, modules.conf, can you plz upload this three file for reference

     

    current directory tree view below

    -rw-r--r--  1 root root  49815212 Mar 14 17:13 bromolow-gcc493_glibc220_linaro_x86_64-GPL_15047.txz
    drwxr-xr-x  3 root root      4096 Mar 15 17:50 build
    drwxr-xr-x  3 root root      4096 Mar 15 17:52 ds3615_6.1
    -rw-r--r--  1 root root 226897920 Mar 14 17:31 DSM_DS3615xs_15047.pat
    drwxr-xr-x  3 root root      4096 Mar 15 17:50 install
    dr-xr-xr-x 25 root root      4096 Mar 15 17:46 linux
    drwxr-xr-x  3 root root      4096 Mar 15 17:48 pat
    drwxr-xr-x  3 root root      4096 Mar 15 17:48 ramdisk
    drwxr-xr-x  3 root root      4096 Mar 15 17:48 rootfs
    drwxr-xr-x  2 root root      4096 Mar 15 16:48 scripts-master  --> (https://github.com/kref/scripts)
    drwxr-xr-x  3 root root      4096 Mar 15 18:11 tool
    drwxr-xr-x  3 root root      4096 Mar 15 17:48 toolchain

    at last,  modprobe build failed, the tool directory is empty

    make: Leaving directory `/root/dsm/linux'
    make: Entering directory `/root/dsm/linux'
    make[2]: Nothing to be done for `__fw_install'.
    make: Leaving directory `/root/dsm/linux'
    make: Entering directory `/root/dsm/linux'
    /root/dsm/linux/scripts/Makefile.build:44: /root/dsm/tool/Makefile: No such file or directory
    make[2]: *** No rule to make target `/root/dsm/tool/Makefile'.  Stop.
    make[1]: *** [_module_/root/dsm/tool] Error 2
    make: *** [sub-make] Error 2
    make: Leaving directory `/root/dsm/linux'
    make: Entering directory `/root/dsm/tool'
    make: *** No targets specified and no makefile found.  Stop.
    make: Leaving directory `/root/dsm/tool'
    cp: cannot stat ‘/root/dsm/tool/modprobe’: No such file or directory

     

  2. 11 hours ago, IG-88 said:

     

    do you use a extra.lzma (who made it) or did you just copy the sata_sil.ko to your system and started it (like with insmod), also here where did the sata_sil.ko came from

    i'm not doing dsm 6.0 stuff (never did), but i still have a small collection of loader and driver versions (even quicknicks retracted one)

    i've added two files you can try, but i will not compile any drivers for 6.0

    quicknick_sata_sil.ko

    testing_sata_sil.ko

     

    i use extra.lzma before, and the sata_sil.ko used is quicknick made, and now i remove sata_sil.ko from extra.lzma and use insmod direct load, all failed, crash stack log like above, any ideas?

  3. hi!

    i extend a pci sata card, 4 port silicon image 3114, as known that dsm 6.1 not support current i use jun's v1.01 bootloader dsm 6.0.2-8451 with some addition ko like sata_sil, but seem not working, i test dsm 5.2 5967 work fine, searching many topic get nothing, what's wrong?

     

    boot log below

     

    [    4.296782] sata_sil 0000:05:01.0: version 2.4
    [    4.296858] BUG: unable to handle kernel NULL pointer dereference at 0000000000000030
    [    4.305792] IP: [<ffffffffa0270ae0>] sil_init_one+0x1c0/0x2ea [sata_sil]
    [    4.312490] PGD 221014067 PUD 21ff80067 PMD 0 
    [    4.318358] Oops: 0002 [#1] SMP 
    [    4.321611] Modules linked in: sata_sil(+) sata_qstor sata_promise sata_nv sata_inic162x sata_highbank pata_sc1200 pata_platform pata_mpiix pata_via pata_sis pata_serverworks pata_sch pata_rdc pata_pdc2027x pata_pdc202xx_old pata_oldpiix pata_ninja32 pata_netcell pata_marvell pata_jmicron pata_it8213 pata_it821x pata_hpt366 pata_hpt37x pata_hpt3x3 pata_hpt3x2n pata_cmd64x pata_atp867x pata_atiixp pata_artop pata_amd pata_ali mpt3sas mpt2sas(O) megaraid_sas ata_generic ata_piix mptctl mptsas mptspi mptscsih mptbase scsi_transport_srp scsi_transport_spi megaraid megaraid_mbox megaraid_mm vmw_pvscsi BusLogic usb_storage etxhci_hcd xhci_hcd uhci_hcd ehci_pci ehci_hcd usbcore usb_common el000(O)
    [    4.383596] CPU: 1 PID: 4494 Comm: insmod Tainted: G           O 3.10.77 #8451
    [    4.390801] Hardware name: ASUS All Series/Z87-A, BIOS 2103 08/15/2014
    [    4.398694] task: ffff8802242648f0 ti: ffff88021e3d8000 task.ti: ffff88021e3d8000
    [    4.406152] RIP: 0010:[<ffffffffa0270ae0>]  [<ffffffffa0270ae0>] sil_init_one+0x1c0/0x2ea [sata_sil]
    [    4.415274] RSP: 0018:ffff88021e3dbc40  EFLAGS: 00010286
    [    4.420569] RAX: ffff8802243dfe08 RBX: ffff880223c5d800 RCX: 0000000000000000
    [    4.427681] RDX: ffffc9000832a080 RSI: 00000000ffffffff RDI: 0000000000000030
    [    4.434794] RBP: 0000000000000000 R08: 0000000000000080 R09: ffff88022d822008
    [    4.441908] R10: 00003ffffffff000 R11: ffffc9000832afff R12: ffff8802243dfd98
    [    4.449021] R13: ffffffffa0271188 R14: ffffc9000832a000 R15: 0000000000000001
    [    4.456133] FS:  00007fbcf596e700(0000) GS:ffff88022ec80000(0000) knlGS:0000000000000000
    [    4.464197] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [    4.469928] CR2: 0000000000000030 CR3: 0000000221719000 CR4: 00000000001407e0
    [    4.477040] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    [    4.484153] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
    [    4.491266] Stack:
    [    4.493273]  0000000000000080 ffff8802243dfe08 ffff88021e3dbc60 0000000000000000
    [    4.500714]  0000000020000002 0000000000000000 000000000000001f 0000000000000007
    [    4.508155]  000000000000003f ffffffffa02715c0 0000000000000000 ffff880223c5d898
    [    4.515599] Call Trace:
    [    4.518043]  [<ffffffff8128dd60>] ? pci_device_probe+0x60/0xa0
    [    4.523863]  [<ffffffff812f8ada>] ? really_probe+0x5a/0x220
    [    4.530802]  [<ffffffff812f8d61>] ? __driver_attach+0x81/0x90
    [    4.536531]  [<ffffffff812f8ce0>] ? __device_attach+0x40/0x40
    [    4.542260]  [<ffffffff812f6dd3>] ? bus_for_each_dev+0x53/0x90
    [    4.548073]  [<ffffffff812f8278>] ? bus_add_driver+0x158/0x250
    [    4.553891]  [<ffffffffa0273000>] ? 0xffffffffa0272fff
    [    4.559020]  [<ffffffff812f9378>] ? driver_register+0x68/0x150
    [    4.564836]  [<ffffffffa0273000>] ? 0xffffffffa0272fff
    [    4.569958]  [<ffffffff810002ba>] ? do_one_initcall+0xea/0x140
    [    4.575774]  [<ffffffff810861f8>] ? load_module+0x1ae8/0x2050
    [    4.581503]  [<ffffffff81083210>] ? store_uevent+0x40/0x40
    [    4.588356]  [<ffffffff810867f1>] ? SyS_init_module+0x91/0xc0
    [    4.594085]  [<ffffffff814aa472>] ? system_call_fastpath+0x16/0x1b
    [    4.600253] Code: 49 8d 44 24 70 0f 84 a4 00 00 00 4d 8b 45 00 48 8b 28 41 83 c7 01 48 89 44 24 08 49 83 c5 48 4b 8d 14 06 48 8d 7d 30 4c 89 04 24 <48> 89 55 30 4c 89 f2 49 03 55 c0 48 89 95 90 00 00 00 48 89 95 
    [    4.621556] RIP  [<ffffffffa0270ae0>] sil_init_one+0x1c0/0x2ea [sata_sil]
    [    4.628341]  RSP <ffff88021e3dbc40>
    [    4.631818] CR2: 0000000000000030
    [    4.635143] ---[ end trace 65791b2b857c7cd4 ]---

     

×
×
  • Create New...