Jump to content
XPEnology Community

MastaG

Member
  • Posts

    20
  • Joined

  • Last visited

Everything posted by MastaG

  1. But will it also take into account, the custom serial numbers I've set? and the custom kernel modules for getting ethernet running on the Microserver Gen8?
  2. So I'm currently running DSM 7.0.1-42218 for DS3615xs on my HP MicroServer Gen 8. I remember creating the USB loader using a modified repository and I had to insert the drivers for the internal ethernet controller as well. What would be the easiest way to upgrade to 7.1 without losing data?
  3. I'm running DS3615xs DSM 7.0.1-42218 on my MicroServer Gen8 G1610T. I've compiled it from source a while ago and I remember it took me some trouble to figure out how to add a repository for the ethernet drivers. Anyways it has been running rock solid up until now, surveillance station, docker + portainer and even a Windows 10 VM and I'm very happy with it. Now I believe update DSM 7.0.1-42218 Update 1 and 2 are out now. What's the best way to build a new image (which includes the ethernet driver)?
  4. I even modded my Gen8 to have a fifth drive sticked to the side with velkro lol. Using the sata cable that's meant for the disc drive. I must say that 7.0-41222 works really well so far. I setup a RAID5 pool with btrfs volume and even Surveillance station is working with my camera (one of the main features for choosing Synology over Unraid/TrueNAS imo). So It's just like my geniune Synology.. now I have two running DSM7.
  5. yeah it doesn't seem to be required for basic nas operation. other then that I noticed that 7.0-41222 is actually a beta firmware for the ds3615xs and it's pretty outdated. I see there were newer builds, even a RC, but they didnt release it for this specific model?
  6. oh right.. I didn't know that.. I just put my own macs there and a serial number by some keygen.
  7. Alright I got it to work. I solved the console problem by switching the virtual console port to COM1 inside the bios setup. Then I found out, I was modifying rd.gz from the EFI partition... which was wrong, so I modified the one from the fat partition and found out my drivers were there. Only my libphy.ko would segfault for some reason, I've the vanilla 3.10.108 kernel sources with the browlow config, but I think I did something wrong here. Using the ones from the tg3.7z archive posted here seems to work though. I've just loaded the PAT file for 7.0-41222 and it's working so far. I think a few points that would make life easier for beginners would be: - Make sure the first partition inside the image is set "active"/"bootable" so it actually boots right after flashing it - Add some templates/startup-scripts for loading your own kernel modules instead of having the manually hack the ramdisk - Add some documentation on how to build your own kernel modules, e.g. which kernel sources, config and toolchain you should use for a certain version.
  8. That didn't work for me. I believe it's something like this: mkdir rd cd rd xz -dc < ../rd.gz | cpio -idmv (add drivers) find . 2>/dev/null | cpio -o -c -R root:root | xz -9 --format=lzma > ../rd.new.gz cd ../ rm -Rf rd mv rd.gz rd.old.gz mv rd.new.gz rd.gz Still I can't seem to get any network interfaces. Also the tg3.ko and libphy.ko where not inside the rd.gz archive.. while I did add it to the config.json file... The iLO VSP console only print up to the point where it says: [ 2.167768] <redpill/uart_swapper.c:428> ### LAST MESSAGE BEFORE SWAP ON "OLD" PORT ttyS1<=>ttyS0 From that point on I'm blind...
  9. Thanks my friend, It seems rd.gz is packed using lzma compression. 7z x rd.gz 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=nl_NL.UTF-8,Utf16=on,HugeFiles=on,64 bits,48 CPUs AMD Ryzen Threadripper 3960X 24-Core Processor (830F10),ASM,AES-NI) Scanning the drive for archives: 1 file, 5454480 bytes (5327 KiB) Extracting archive: rd.gz WARNING: rd.gz Can not open the file as [gzip] archive The file is open as [lzma] archive -- Path = rd.gz Open WARNING: Can not open the file as [gzip] archive Type = lzma ERROR: There are some data after the end of the payload data : rd Sub items Errors: 1 Archives with Errors: 1 Sub items Errors: 1 [mastag@AMD3960X t]$ ls rd rd.gz [mastag@AMD3960X t]$ file rd rd: ASCII cpio archive (SVR4 with no CRC) When using 7z to extract it, I'll give me a cpio archive called "rd". Any tips on how to proceed here?
  10. So I've built my modules. Now I've edited the config.json to look like: "extra": { "compress_rd": false, "ramdisk_copy": { "@@@EXT@@@/rp-lkm/libphy-v3.10.108.ko": "usr/lib/modules/libphy.ko", "@@@EXT@@@/rp-lkm/tg3-v3.10.108.ko": "usr/lib/modules/tg3.ko", ... I can verify the files are there. But where do I put the line that says something like: insmod /usr/lib/modules/libphy.ko insmod /usr/lib/modules/tg3.ko
  11. Yeah that's what I meant as well. I can compile the generic kernel release just fine as long as I use their toolchain. However they should release their patched version of the kernel at some point right? Because the license says so.
  12. any idea where I can get the patched kernel sources for linux-3.10.108 used in 7.0.1-42214 ? the toolchain only contains the pre-compiled kernel headers, not the full source...
  13. Thanks bro, That would be great 👍 If you can confirmed the internal NIC isn't supported any longer, then perhaps you can share your card with us. I guess it's a small price to pay to have the latest DSM working
  14. Thank you for the docker files and your own image. Unfortunately even when trying your image, the internal network interfaces still don't come up (at least no DHCP request is being made). So I guess the MicroServer Gen8 internal network interfaces aren't supported anymore in 6.2.4 and 7.x.
  15. Would it be possible to share your image, so I can give it a shot? And can you also point me to the dockerfiles so I can see if he puts anything special in the user_config?
  16. Thanks bro, you're completely right. In the meantime I've built 6.2.4-25556 for DS3615xs. For the record I've the correct toolchain to build "redpill-linux-v3.10.105.ko" here as well: make LINUX_SRC=~/.toolchain/bromolow-DSM-6.2-toolkit/build CROSS_COMPILE=~/.toolchain/bromolow-DSM-6.2-toolchain/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- The console will tell me: Starting kernel with USB boot [ 0.000000] console [ttyS0] enabled, bootconsole disabled [ 0.000000] allocated 67633152 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] hpet clockevent registered | [ 0.001000] tsc: Fast TSC calibration using PIT | [ 0.002000] tsc: Detected 2494.409 MHz processor | [ 0.000002] Calibrating delay loop (skipped), value calculated using timer frequency.. 4988.81 BogoMIPS (lpj=2494409) [ 0.003647] pid_max: default: 32768 minimum: 301 | [ 0.005123] Security Framework initialized | [ 0.006447] AppArmor: AppArmor initialized | [ 0.007741] Mount-cache hash table entries: 256 | [ 0.009278] Initializing cgroup subsys memory | [ 0.010736] Initializing cgroup subsys devices-----------------------------+ [ 0.012188] Initializing cgroup subsys freezer [ 0.013683] Initializing cgroup subsys blkioy is highlighted. [ 0.015056] CPU: Physical Processor ID: 0e' to edit the commands [ 0.016363] CPU: Processor Core ID: 0d-line. [ 0.017647] ENERGY_PERF_BIAS: Set to 'normal', was 'performance' [ 0.017647] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8) [ 0.022029] mce: CPU supports 9 MCE banks [ 0.023429] CPU0: Thermal monitoring enabled (TM1) [ 0.024935] Last level iTLB entries: 4KB 512, 2MB 0, 4MB 0 [ 0.024935] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32 [ 0.024935] tlb_flushall_shift: 2 [ 0.029386] FEATURE SPEC_CTRL Present [ 0.030602] FEATURE IBPB_SUPPORT Present [ 0.031877] Spectre V2 : Vulnerable [ 0.033269] Freeing SMP alternatives: 24k freed [ 0.034739] ACPI: Core revision 20130328 [ 0.036816] ACPI: All ACPI Tables successfully acquired [ 0.038877] dmar: Host address width 39 [ 0.040129] dmar: DRHD base: 0x000000fed90000 flags: 0x1 [ 0.041853] dmar: IOMMU 0: reg_base_addr fed90000 ver 1:0 cap c9008020660262 ecap f010da [ 0.044448] dmar: RMRR base: 0x000000f1ffd000 end: 0x000000f1ffffff [ 0.046422] dmar: RMRR base: 0x000000f1ff6000 end: 0x000000f1ffcfff [ 0.048377] dmar: RMRR base: 0x000000f1f93000 end: 0x000000f1f94fff [ 0.050444] dmar: RMRR base: 0x000000f1f8f000 end: 0x000000f1f92fff [ 0.052507] dmar: RMRR base: 0x000000f1f7f000 end: 0x000000f1f8efff [ 0.054482] dmar: RMRR base: 0x000000f1f7e000 end: 0x000000f1f7efff [ 0.056444] dmar: RMRR base: 0x000000000f4000 end: 0x000000000f4fff [ 0.158583] dmar: RMRR base: 0x000000000e8000 end: 0x000000000e8fff [ 0.160618] dmar: RMRR base: 0x000000f1dee000 end: 0x000000f1deefff [ 0.162864] IOAPIC id 8 under DRHD base 0xfed90000 IOMMU 0 [ 0.164647] HPET id 0 under DRHD base 0xfed90000 [ 0.166164] Enabled IRQ remapping in xapic mode [ 0.168031] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.179979] smpboot: CPU0: Intel(R) Xeon(R) CPU E3-1265L V2 @ 2.50GHz (fam: 06, model: 3a, stepping: 09) [ 0.183254] TSC deadline timer enabled [ 0.184455] Performance Events: PEBS fmt1+, 16-deep LBR, IvyBridge events, Broken BIOS detected, complain to your hardware vendor. [ 0.188286] [Firmware Bug]: the BIOS has corrupted hw-PMU resources (MSR 38d is 330) [ 0.190686] Intel PMU driver. [ 0.191586] ... version: 3 [ 0.192884] ... bit width: 48 [ 0.194247] ... generic registers: 4 [ 0.195467] ... value mask: 0000ffffffffffff [ 0.197092] ... max period: 000000007fffffff [ 0.198715] ... fixed-purpose events: 3 [ 0.199914] ... event mask: 000000070000000f [ 0.201844] smpboot: Booting Node 0, Processors #1 #2 #3 #4 #5 #6 #7 OK [ 0.324021] Brought up 8 CPUs [ 0.325019] smpboot: Total of 8 processors activated (39910.54 BogoMIPS) [ 0.333197] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter. [ 0.336065] devtmpfs: initialized [ 0.337445] xor: automatically using best checksumming function: [ 0.349457] avx : 24000.000 MB/sec [ 0.351166] NET: Registered protocol family 16 [ 0.352854] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it [ 0.355403] ACPI: bus type PCI registered [ 0.356763] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf4000000-0xf7ffffff] (base 0xf4000000) [ 0.359744] PCI: MMCONFIG at [mem 0xf4000000-0xf7ffffff] reserved in E820 [ 0.361934] PCI: Using configuration type 1 for base access [ 0.366083] bio: create slab <bio-0> at 0 [ 0.384401] raid6: sse2x1 gen() 8492 MB/s [ 0.402964] raid6: sse2x1 xor() 6753 MB/s [ 0.421433] raid6: sse2x2 gen() 10398 MB/s [ 0.439998] raid6: sse2x2 xor() 7546 MB/s [ 0.458413] raid6: sse2x4 gen() 12398 MB/s [ 0.476899] raid6: sse2x4 xor() 9253 MB/s [ 0.478346] raid6: using algorithm sse2x4 gen() (12398 MB/s) [ 0.480154] raid6: .... xor() 9253 MB/s, rmw enabled [ 0.481716] raid6: using ssse3x2 recovery algorithm [ 0.483453] ACPI: Added _OSI(Module Device) [ 0.484783] ACPI: Added _OSI(Processor Device) [ 0.486208] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.487686] ACPI: Added _OSI(Processor Aggregator Device) [ 0.489646] ACPI: EC: Look up EC in DSDT [ 0.492110] ACPI: Interpreter enabled [ 0.493319] ACPI: (supports S0 S4 S5) [ 0.494499] ACPI: Using IOAPIC for interrupt routing [ 0.496106] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.499068] ACPI: No dock devices found. [ 0.502303] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-14]) [ 0.504377] acpi PNP0A08:00: Requesting ACPI _OSC control (0x1d) [ 0.506318] acpi PNP0A08:00: ACPI _OSC request failed (AE_SUPPORT), returned control mask: 0x00 [ 0.509027] ACPI _OSC control for PCIe not granted, disabling ASPM [ 0.510971] acpi PNP0A08:00: host bridge window expanded to [mem 0xfed00000-0xfed44fff]; [mem 0xfed00000-0xfed44fff] ignored [ 0.514638] PCI host bridge to bus 0000:00 [ 0.515975] pci_bus 0000:00: root bus resource [bus 00-14] [ 0.517697] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xfbffffff] [ 0.519832] pci_bus 0000:00: root bus resource [io 0x1000-0xffff] [ 0.521748] pci_bus 0000:00: root bus resource [io 0x0000-0x03af] [ 0.523762] pci_bus 0000:00: root bus resource [io 0x03e0-0x0cf7] [ 0.525696] pci_bus 0000:00: root bus resource [io 0x0d00-0x0fff] [ 0.527631] pci_bus 0000:00: root bus resource [mem 0xfed00000-0xfed44fff] [ 0.529780] pci_bus 0000:00: root bus resource [io 0x03b0-0x03bb] [ 0.531804] pci_bus 0000:00: root bus resource [io 0x03c0-0x03df] [ 0.533799] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff] [ 0.535919] pci 0000:00:00.0: [8086:0158] type 00 class 0x060000 [ 0.537797] pci 0000:00:01.0: [8086:0151] type 01 class 0x060400 [ 0.539754] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold [ 0.541744] pci 0000:00:06.0: [8086:015d] type 01 class 0x060400 [ 0.543797] pci 0000:00:06.0: PME# supported from D0 D3hot D3cold [ 0.545845] pci 0000:00:1a.0: [8086:1c2d] type 00 class 0x0c0320 [ 0.547892] pci 0000:00:1a.0: reg 10:em 0xfacf0000-0xfacf03ff] [ 0.650049] pci 0000:00:1a.0: PME# supported from D0 D3hot D3cold [ 0.652012] pci 0000:00:1c.0: [8086:1c10] type 01 class 0x060400 [ 0.654030] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold [ 0.656175] pci 0000:00:1c.4: [8086:1c18] type 01 class 0x060400 [ 0.658166] pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold [ 0.660258] pci 0000:00:1c.6: [8086:1c1c] type 01 class 0x060400 [ 0.662210] pci 0000:00:1c.6: PME# supported from D0 D3hot D3cold [ 0.664209] pci 0000:00:1c.7: [8086:1c1e] type 01 class 0x060400 [ 0.666182] pci 0000:00:1c.7: PME# supported from D0 D3hot D3cold [ 0.668155] pci 0000:00:1d.0: [8086:1c26] type 00 class 0x0c0320 [ 0.670039] pci 0000:00:1d.0: reg 10: [mem 0xface0000-0xface03ff] [ 0.672015] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold [ 0.674226] pci 0000:00:1e.0: [8086:244e] type 01 class 0x060401 [ 0.676316] pci 0000:00:1f.0: [8086:1c54] type 00 class 0x060100 [ 0.678750] pci 0000:00:1f.2: [8086:1c02] type 00 class 0x010601 [ 0.680720] pci 0000:00:1f.2: reg 10: [io 0x10c0-0x10c7] [ 0.682465] pci 0000:00:1f.2: reg 14: [io 0x10c8-0x10cb] [ 0.684229] pci 0000:00:1f.2: reg 18: [io 0x10d0-0x10d7] [ 0.685932] pci 0000:00:1f.2: reg 1c: [io 0x10d8-0x10db] [ 0.687645] pci 0000:00:1f.2: reg 20: [io 0x10e0-0x10ff] [ 0.689335] pci 0000:00:1f.2: reg 24: [mem 0xfacd0000-0xfacd07ff] [ 0.691372] pci 0000:00:1f.2: PME# supported from D3hot [ 0.693138] pci 0000:00:01.0: PCI bridge to [bus 07] [ 0.694766] pci 0000:00:06.0: PCI bridge to [bus 02] [ 0.696407] pci 0000:00:1c.0: PCI bridge to [bus 0d] [ 0.698045] pci 0000:03:00.0: [14e4:165f] type 00 class 0x020000 [ 0.700002] pci 0000:03:00.0: reg 10: [mem 0xfabf0000-0xfabfffff 64bit pref] [ 0.702258] pci 0000:03:00.0: reg 18: [mem 0xfabe0000-0xfabeffff 64bit pref] [ 0.704497] pci 0000:03:00.0: reg 20: [mem 0xfabd0000-0xfabdffff 64bit pref] [ 0.706794] pci 0000:03:00.0: reg 30: [mem 0x0000000x0001ffff pref] [ 0.809059] pci 0000:03:00.0: PME# supported from D0 D3hot D3cold [ 0.811068] pci 0000:03:00.1: [14e4:165f] type 00 class 0x020000 [ 0.813052] pci 0000:03:00.1: reg 10: [mem 0xfabc0000-0xfabcffff 64bit pref] [ 0.815346] pci 0000:03:00.1: reg 18: [mem 0xfabb0000-0xfabbffff 64bit pref] [ 0.817594] pci 0000:03:00.1: reg 20: [mem 0xfaba0000-0xfabaffff 64bit pref] [ 0.819882] pci 0000:03:00.1: reg 30: [mem 0x00000000-0x0001ffff pref] [ 0.821992] pci 0000:03:00.1: PME# supported from D0 D3hot D3cold [ 0.826019] pci 0000:00:1c.4: PCI bridge to [bus 03] [ 0.827681] pci 0000:00:1c.4: bridge window [mem 0xfab00000-0xfabfffff 64bit pref] [ 0.830189] pci 0000:04:00.0: [1912:0014] type 00 class 0x0c0330 [ 0.832100] pci 0000:04:00.0: reg 10: [mem 0xfbff0000-0xfbff1fff 64bit] [ 0.834429] pci 0000:04:00.0: PME# supported from D0 D3hot D3cold [ 0.838486] pci 0000:00:1c.6: PCI bridge to [bus 04] [ 0.840120] pci 0000:00:1c.6: bridge window [mem 0xfbf00000-0xfbffffff] [ 0.842372] pci 0000:01:00.0: [103c:3306] type 00 class 0x088000 [ 0.844337] pci 0000:01:00.0: reg 10: [io 0x3000-0x30ff] [ 0.846012] pci 0000:01:00.0: reg 14: [mem 0xfbef0000-0xfbef01ff] [ 0.847927] pci 0000:01:00.0: reg 18: [io 0x3400-0x34ff] [ 0.849783] pci 0000:01:00.1: [102b:0533] type 00 class 0x030000 [ 0.852007] pci 0000:01:00.1: reg 10: [mem 0xf9000000-0xf9ffffff pref] [ 0.854146] pci 0000:01:00.1: reg 14: [mem 0xfbee0000-0xfbee3fff] [ 0.856069] pci 0000:01:00.1: reg 18: [mem 0xfb000000-0xfb7fffff] [ 0.858142] pci 0000:01:00.2: [103c:3307] type 00 class 0x088000 [ 0.860098] pci 0000:01:00.2: reg 10: [io 0x3800-0x38ff] [ 0.861819] pci 0000:01:00.2: reg 14: [mem 0xfaff0000-0xfaff00ff] [ 0.863814] pci 0000:01:00.2: reg 18: [mem 0xfae00000-0xfaefffff] [ 0.865748] pci 0000:01:00.2: reg 1c: [mem 0xfad80000-0xfadfffff] [ 0.867757] pci 0000:01:00.2: reg 20: [mem 0xfad70000-0xfad77fff] [ 0.869720] pci 0000:01:00.2: reg 24: [mem 0xfad60000-0xfad67fff] [ 0.871634] pci 0000:01:00.2: reg 30: [mem 0x00000000-0x0000ffff pref] [ 0.873818] pci 0000:01:00.2: PME# supported from D0 D3hot D3cold [ 0.875820] pci 0000:01:00.4: [103c:3300] type 00 class 0x0c0300 [ 0.877777] pci 0000:01:00.4: reg 20: [io 0x4000-0x401f] [ 0.881564] pci 0000:00:1c.7: PCI bridge to [bus 01] [ 0.883408] pci 0000:00:1c.7: bridge window [io 0x3000-0x4fff] [ 0.885353] pci 0000:00:1c.7: bridge window [mem 0xfad00000-0xfbefffff] [ 0.887526] pci 0000:00:1c.7: bridge window [mem 0xf9000000-0xf9ffffff 64bit pref] [ 0.890033] pci 0000:00:1e.0: PCI bridge to [bus 14] (subtractive decode) [ 0.892168] pci 0000:00:1e.0: bridge window [mem 0xf8000000-0xfbffffff] (subtractive decode) [ 0.895006] pci 0000:00:1e.0: bridge window [io 0x1000-0xffff] (subtractive decode) [ 0.484] pci 0000:00:1e.0: bridge window [io 0x0000-0x03af] (subtractive decode) [ 1.000068] pci 0000:00:1e.0: bridge window [io 0x03e0-0x0cf7] (subtractive decode) [ 1.002506] pci 0000:00:1e.0: bridge window [io 0x0d00-0x0fff] (subtractive decode) [ 1.005004] pci 0000:00:1e.0: bridge window [mem 0xfed00000-0xfed44fff] (subtractive decode) [ 1.007630] pci 0000:00:1e.0: bridge window [io 0x03b0-0x03bb] (subtractive decode) [ 1.010019] pci 0000:00:1e.0: bridge window [io 0x03c0-0x03df] (subtractive decode) [ 1.012552] pci 0000:00:1e.0: bridge window [mem 0x000a0000-0x000bffff] (subtractive decode) [ 1.015283] pci_bus 0000:00: on NUMA node 0 [ 1.016715] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 7 10 *11) [ 1.018762] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *7 10 11) [ 1.020823] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 7 10 *11) [ 1.022910] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 *10 11) [ 1.025035] ACPI: PCI Interrupt Link [LNKE] (IRQs *5 7 10 11) [ 1.027290] ACPI: PCI Interrupt Link [LNKF] (IRQs 5 7 10 11) *4 [ 1.029608] ACPI: PCI Interrupt Link [LNKG] (IRQs 5 7 10 11) *0, disabled. [ 1.032064] ACPI: PCI Interrupt Link [LNKH] (IRQs 5 7 10 11) *0, disabled. [ 1.034703] acpi root: \_SB_.PCI0 notify handler is installed [ 1.036550] Found 1 acpi root devices [ 1.037793] vgaarb: device added: PCI:0000:01:00.1,decodes=io+mem,owns=io+mem,locks=none [ 1.040327] vgaarb: loaded [ 1.041217] vgaarb: bridge control possible 0000:01:00.1 [ 1.043001] SCSI subsystem initialized [ 1.044307] ACPI: bus type ATA registered [ 1.045653] libata version 3.00 loaded. [ 1.046931] pps_core: LinuxPPS API ver. 1 registered [ 1.048560] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 1.051384] PTP clock support registered [ 1.052709] PCI: Using ACPI for IRQ routing [ 1.055340] PCI: pci_cache_line_size set to 64 bytes [ 1.057010] e820: reserve RAM buffer [mem 0x00099800-0x0009ffff] [ 1.058906] e820: reserve RAM buffer [mem 0xf1de4000-0xf3ffffff] [ 1.060955] e820: reserve RAM buffer [mem 0x40bfff000-0x40bffffff] [ 1.063126] Switching to clocksource hpet [ 1.064480] AppArmor: AppArmor Filesystem Ened [ 1.166291] pnp: PnP ACPI init [ 1.167302] ACPI: bus type PNP registered [ 1.168692] system 00:00: [io 0x0408-0x040f] has been reserved [ 1.170554] system 00:00: [io 0x04d0-0x04d1] has been reserved [ 1.172514] system 00:00: [io 0x0310-0x0313] has been reserved [ 1.174458] system 00:00: [io 0x0316-0x0317] has been reserved [ 1.176274] system 00:00: [io 0x0700-0x071f] has been reserved [ 1.178076] system 00:00: [io 0x0880-0x08ff] has been reserved [ 1.179887] system 00:00: [io 0x0900-0x097f] could not be reserved [ 1.181847] system 00:00: [io 0x0cd4-0x0cd7] has been reserved [ 1.183797] system 00:00: [io 0x0cd0-0x0cd3] has been reserved [ 1.185656] system 00:00: [io 0x0f50-0x0f58] has been reserved [ 1.187494] system 00:00: [io 0x0ca0-0x0ca1] has been reserved [ 1.189447] system 00:00: [io 0x0ca4-0x0ca5] has been reserved [ 1.191299] system 00:00: [io 0x02f8-0x02ff] has been reserved [ 1.193185] system 00:00: [mem 0xf4000000-0xf7ffffff] has been reserved [ 1.195301] system 00:00: [mem 0xfe000000-0xfebfffff] has been reserved [ 1.197374] system 00:00: [mem 0xfed90000-0xfed91fff] could not be reserved [ 1.199549] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active) [ 1.201712] pnp 00:01: Plug and Play ACPI device, IDs IPI0001 (active) [ 1.203872] pnp 00:02: Plug and Play ACPI device, IDs PNP0103 (active) [ 1.206018] pnp 00:03: [dma 7] [ 1.207027] pnp 00:03: Plug and Play ACPI device, IDs PNP0200 (active) [ 1.209115] pnp 00:04: Plug and Play ACPI device, IDs PNP0800 (active) [ 1.211190] pnp 00:05: Plug and Play ACPI device, IDs PNP0a06 (active) [ 1.213312] pnp 00:06: Plug and Play ACPI device, IDs PNP0b00 (active) [ 1.215392] pnp 00:07: Plug and Play ACPI device, IDs PNP0303 (active) [ 1.217463] pnp 00:08: Plug and Play ACPI device, IDs PNP0f13 PNP0f0e (active) [ 1.219801] pnp: PnP ACPI: found 9 devices [ 1.221185] ACPI: bus type PNP unregistered [ 1.229869] pci 0000:00:1c.4: BAR 14: assigned [mem 0xf8000000-0xf80fffff] [ 1.232113] pci 0000:00:01.0: PCI bridge to [bus 07] [ 1.233802] pci 0000:00:06.0: PCI bridge to [bus 02] [ 1.235371] pci 0000:00:1c.0: PCI bridge to [bus 0d] [ 1.237054] pci 0000:03:00.0: BAR 6: assigned [mem 0xfab00000-0xfab1ffff pref] [ 1.240280] pci 0000:03:00.1: BAR 6: assigned [mem 0xfab20000-0xfab3ffff pref] [ 1.242574] pci 0000:00:1c.4: PCI bridge to [bus 03] [ 1.244249] pci 0000:00:1c.4: bridge window [mem 0xf8000000-0xf80fffff] [ 1.246376] pci 0000:00:1c.4: bridge window [mem 0xfab00000-0xfabfffff 64bit pref] [ 1.248797] pci 0000:00:1c.6: PCI bridge to [bus 04] [ 1.250339] pci 0000:00:1c.6: bridge window [mem 0xfbf00000-0xfbffffff] [ 1.252554] pci 0000:01:00.2: BAR 6: assigned [mem 0xfad00000-0xfad0ffff pref] [ 1.255140] pci 0000:00:1c.7: PCI bridge to [bus 01] [ 1.256644] pci 0000:00:1c.7: bridge window [io 0x3000-0x4fff] [ 1.258502] pci 0000:00:1c.7: bridge window [mem 0xfad00000-0xfbefffff] [ .260581] pci 0000:00:1c.7: bridge window [mem 0xf9000000-0xf9ffffff 64bit pref] [ 1.363242] pci 0000:00:1e.0: PCI bridge to [bus 14] [ 1.365280] pci 0000:00:1e.0: setting latency timer to 64 [ 1.367128] pci_bus 0000:00: resource 4 [mem 0xf8000000-0xfbffffff] [ 1.369120] pci_bus 0000:00: resource 5 [io 0x1000-0xffff] [ 1.370878] pci_bus 0000:00: resource 6 [io 0x0000-0x03af] [ 1.372607] pci_bus 0000:00: resource 7 [io 0x03e0-0x0cf7] [ 1.374454] pci_bus 0000:00: resource 8 [io 0x0d00-0x0fff] [ 1.376210] pci_bus 0000:00: resource 9 [mem 0xfed00000-0xfed44fff] [ 1.378167] pci_bus 0000:00: resource 10 [io 0x03b0-0x03bb] [ 1.379945] pci_bus 0000:00: resource 11 [io 0x03c0-0x03df] [ 1.381838] pci_bus 0000:00: resource 12 [mem 0x000a0000-0x000bffff] [ 1.383938] pci_bus 0000:03: resource 1 [mem 0xf8000000-0xf80fffff] [ 1.385957] pci_bus 0000:03: resource 2 [mem 0xfab00000-0xfabfffff 64bit pref] [ 1.388205] pci_bus 0000:04: resource 1 [mem 0xfbf00000-0xfbffffff] [ 1.390155] pci_bus 0000:01: resource 0 [io 0x3000-0x4fff] [ 1.391903] pci_bus 0000:01: resource 1 [mem 0xfad00000-0xfbefffff] [ 1.393868] pci_bus 0000:01: resource 2 [mem 0xf9000000-0xf9ffffff 64bit pref] [ 1.396152] pci_bus 0000:14: resource 4 [mem 0xf8000000-0xfbffffff] [ 1.398227] pci_bus 0000:14: resource 5 [io 0x1000-0xffff] [ 1.399973] pci_bus 0000:14: resource 6 [io 0x0000-0x03af] [ 1.401695] pci_bus 0000:14: resource 7 [io 0x03e0-0x0cf7] [ 1.403471] pci_bus 0000:14: resource 8 [io 0x0d00-0x0fff] [ 1.405281] pci_bus 0000:14: resource 9 [mem 0xfed00000-0xfed44fff] [ 1.407240] pci_bus 0000:14: resource 10 [io 0x03b0-0x03bb] [ 1.409015] pci_bus 0000:14: resource 11 [io 0x03c0-0x03df] [ 1.410768] pci_bus 0000:14: resource 12 [mem 0x000a0000-0x000bffff] [ 1.412911] NET: Registered protocol family 2 [ 1.414520] TCP established hash table entries: 131072 (order: 9, 2097152 bytes) [ 1.417080] TCP bind hash table entries: 65536 (order: 1048576 bytes) [ 1.519444] TCP: Hash tables configured (established 131072 bind 65536) [ 1.521581] TCP: reno registered [ 1.522628] UDP hash table entries: 8192 (order: 6, 262144 bytes) [ 1.524670] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes) [ 1.526901] NET: Registered protocol family 1 [ 1.528368] RPC: Registered named UNIX socket transport module. [ 1.530240] RPC: Registered udp transport module. [ 1.531711] RPC: Registered tcp transport module. [ 1.533235] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.557142] pci 0000:01:00.1: Boot video device [ 1.558704] PCI: CLS 64 bytes, default 64 [ 1.669477] ramdisk corrupt [ 1.670402] Trying to unpack rootfs image as initramfs... [ 2.600154] Freeing initrd memory: 6220k freed [ 2.603336] redpill: module verification failed: signature and/or required key missing - tainting kernel [ 2.606660] <redpill/redpill_main.c:38> ================================================================================================ [ 2.610560] <redpill/redpill_main.c:39> RedPill v0.5-??? loading... [ 2.613234] <redpill/call_protected.c:65> Got addr ffffffff81165a70 for cmdline_proc_show [ 2.615966] <redpill/cmdline_delegate.c:314> Cmdline count: 365 [ 2.617847] <redpill/cmdline_delegate.c:382> Cmdline: BOOT_IMAGE=/zImage withefi earlyprintk syno_hw_version=DS3615xs console=ttyS0,115200n8 netif_num=1 pid=0x1665 earlycon=uart8250,io,0x3f8,115200n8 syno_port_thaw=1 mac2=00fd45fd96e9 mac1=00fd45fd96e8 sn=X vid=0x0951 elevator=elevator loglevel=15 HddHotplug=0 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=0 log_buf_len=32M root=/dev/md0 [ 2.617847] [ 2.629676] <redpill/cmdline_delegate.c:393> Param #0: |BOOT_IMAGE=/zImage| [ 2.631859] <redpill/cmdline_delegate.c:288> Option "BOOT_IMAGE=/zImage" not recognized - ignoring [ 2.634674] <redpill/cmdline_delegate.c:393> Param #1: |withefi| [ 2.636597] <redpill/cmdline_delegate.c:288> Option "withefi" not recognized - ignoring [ 2.639079] <redpill/cmdline_delegate.c:393> Param #2: |earlyprintk| [ 2.641052] <redpill/cmdline_delegate.c:288> Option "earlyprintk" not recognized - ignoring [ 2.643632] <redpill/cmdline_delegate.c:393> Param #3: |syno_hw_version=DS3615xs| [ 2.646022] <redpill/cmdline_delegate.c:25> HW version set to: DS3615xs [ 2.648037] <redpill/cmdline_delegate.c:393> Param #4: |console=ttyS0,115200n8| [ 2.650250] <redpill/cmdline_delegate.c:288> Option "console=ttyS0,115200n8" not recognized - ignoring [ 2.653070] <redpill/cmdline_delegate.c:393> Param #5: |netif_num=1| [ 2.655051] <redpill/cmdline_delegate.c:231> Declared network ifaces # as 1 [ 2.657209] <redpill/cmdline_delegate.c:393> Param #6: |pid=0x1665| [ 2.659175] <redpill/cmdline_egate.c:134> PID override: 0x1665 [ 2.761243] <redpill/cmdline_delegate.c:393> Param #7: |earlycon=uart8250,io,0x3f8,115200n8| [ 2.763939] <redpill/cmdline_delegate.c:288> Option "earlycon=uart8250,io,0x3f8,115200n8" not recognized - ignoring [ 2.767261] <redpill/cmdline_delegate.c:393> Param #8: |syno_port_thaw=1| [ 2.769389] <redpill/cmdline_delegate.c:203> Port thaw set to: 1 [ 2.771264] <redpill/cmdline_delegate.c:393> Param #9: |mac2=00fd45fd96e9| [ 2.773403] <redpill/cmdline_delegate.c:276> Set MAC #1: 00fd45fd96e9 [ 2.775448] <redpill/cmdline_delegate.c:393> Param #10: |mac1=00fd45fd96e8| [ 2.777696] <redpill/cmdline_delegate.c:276> Set MAC #2: 00fd45fd96e8 [ 2.779707] <redpill/cmdline_delegate.c:393> Param #11: |sn=X| [ 2.781831] <redpill/cmdline_delegate.c:44> S/N set to: X [ 2.783835] <redpill/cmdline_delegate.c:393> Param #12: |vid=0x0951| [ 2.785890] <redpill/cmdline_delegate.c:100> VID override: 0x0951 [ 2.787812] <redpill/cmdline_delegate.c:393> Param #13: |elevator=elevator| [ 2.789984] <redpill/cmdline_delegate.c:288> Option "elevator=elevator" not recognized - ignoring [ 2.792736] <redpill/cmdline_delegate.c:393> Param #14: |loglevel=15| [ 2.794777] <redpill/cmdline_delegate.c:288> Option "loglevel=15" not recognized - ignoring [ 2.797393] <redpill/cmdline_delegate.c:393> Param #15: |HddHotplug=0| [ 2.799427] <redpill/cmdline_delegate.c:288> Option "HddHotplug=0" not recognized - ignoring [ 2.802048] <redpill/cmdline_delegate.c:393> Param #16: |syno_hdd_detect=0| [ 2.804208] <redpill/cmdline_delegate.c:288> Option "syno_hdd_detect=0" not recognized - ignoring [ 2.807049] <redpill/cmdline_delegate.c:393> Param #17: |vender_format_version=2| [ 2.809377] <redpill/cmdline_delegate.c:288> Option "vender_format_version=2" not recognized - ignoring [ 2.812289] <redpill/cmdline_delegate.c:393> Param #18: |syno_hdd_powerup_seq=0| [ 2.814585] <redpill/cmdline_delegate.c:288> Option "synod_powerup_seq=0" not recognized - ignoring [ 2.917849] <redpill/cmdline_delegate.c:393> Param #19: |log_buf_len=32M| [ 2.920005] <redpill/cmdline_delegate.c:288> Option "log_buf_len=32M" not recognized - ignoring [ 2.922788] <redpill/cmdline_delegate.c:393> Param #20: |root=/dev/md0| [ 2.924893] <redpill/cmdline_delegate.c:288> Option "root=/dev/md0" not recognized - ignoring [ 2.927587] <redpill/cmdline_delegate.c:356> Add cmdline blacklist "vid=" @ 0 [ 2.929826] <redpill/cmdline_delegate.c:357> Add cmdline blacklist "pid=" @ 1 [ 2.932050] <redpill/cmdline_delegate.c:358> Add cmdline blacklist "mfg" @ 2 [ 2.934273] <redpill/cmdline_delegate.c:359> Add cmdline blacklist "elevator=" @ 3 [ 2.936712] <redpill/cmdline_delegate.c:360> Add cmdline blacklist "loglevel=" @ 4 [ 2.939261] <redpill/cmdline_delegate.c:361> Add cmdline blacklist "log_buf_len=" @ 5 [ 2.941728] <redpill/cmdline_delegate.c:362> Add cmdline blacklist "earlyprintk" @ 6 [ 2.944192] <redpill/cmdline_delegate.c:363> Add cmdline blacklist "syno_port_thaw=" @ 7 [ 2.946817] <redpill/cmdline_delegate.c:412> CmdLine processed successfully, tokens=21 [ 2.949274] <redpill/runtime_config.c:152> Found platform definition for "DS3615xs" [ 2.951645] <redpill/runtime_config.c:163> Validating runtime config... [ 2.953710] <redpill/runtime_config.c:49> Configured boot device type to USB [ 2.955976] <redpill/runtime_config.c:109> Number of defined interfaces ("netif_num=1") is not equal to the number of MAC addresses found (2) [ 2.959966] <redpill/runtime_config.c:172> Config validation resulted in OK [ 2.962141] <redpill/runtime_config.c:189> Runtime config populated [ 2.964110] <redpill/uart_fixer.c:69> Registering UART fixer... [ 2.966044] <redpill/uart_swapper.c:409> Swapping ttyS1<=>ttyS0 started [ 2.968122] <redpill/override_symbol.c:173> Overriding uart_match_port() with uart_match_port_collector [redpill]()<ffffffffa0003130> [ 2.969555] <redpill/override_symbol.c:18Found uart_match_port() @ <ffffffff812fc4a0> [ 2.969556] <redpill/override_symbol.c:189> Generated jump to f()<ffffffffa0003130> for uart_match_port()<ffffffff812fc4a0>: 48b8 303100a0ffffffff ffe0 [ 2.969557] <redpill/override_symbol.c:138> Disabling memory protection for page(s) at ffffffff812fc4a0+12/1 (<<ffffffff812fc000) [ 2.969686] <redpill/call_protected.c:66> Got addr ffffffff81030160 for flush_tlb_all [ 2.969698] <redpill/override_symbol.c:194> Writing jump code to <ffffffff812fc4a0> [ 2.969699] <redpill/override_symbol.c:159> Enabling memory protection for page(s) at ffffffff812fc4a0+12/1 (<<ffffffff812fc000) [ 2.969708] <redpill/override_symbol.c:198> Override for uart_match_port set up with ffffffffa0003130 [ 2.971155] <redpill/call_protected.c:91> Got addr ffffffff813022f0 for serial8250_find_port [ 2.971156] <redpill/uart_swapper.c:114> Found ptr to line=0 iobase=0x2f8 irq=3 [ 2.971156] <redpill/uart_swapper.c:114> Found ptr to line=1 iobase=0x3f8 irq=4 [ 2.971157] <redpill/uart_swapper.c:114> Found ptr to line=2 iobase=0x3e8 irq=4 [ 2.971157] <redpill/uart_swapper.c:114> Found ptr to line=3 iobase=0x2e8 irq=3 [ 2.971159] <redpill/override_symbol.c:364> Restoring symbol @ uart_match_port()<ffffffff812fc4a0> [ 2.971160] <redpill/override_symbol.c:138> Disabling memory protection for page(s) at ffffffff812fc4a0+12/1 (<<ffffffff812fc000) [ 2.971170] <redpill/override_symbol.c:367> Writing original code to <ffffffff812fc4a0> [ 2.971170] <redpill/override_symbol.c:159> Enabling memory protection for page(s) at ffffffff812fc4a0+12/1 (<<ffffffff812fc000) [ 2.971180] <redpill/override_symbol.c:370> Symbol restored @ uart_match_port()<ffffffff812fc4a0> [ 3.124222] <redpill/uart_swapper.c:424> Disabling preempt & locking console [ 3.126485] <redpill/uart_swapper.c:426> ======= OUTPUT ON THIS PORT WILL STOP AND CONTINUE ON ANOTHER ONE (swapping ttyS1 & ttyS0) ======= [ 3.130373] <redpill/uart_swapper.c:428> ### LAST MESSAGE BEFORE SWAP "OLD" PORT ttyS1<=>ttyS0 So I guess it works.. it just misses drivers for the Gen8 network chipset?
  17. I couldn't find an option to make the iLO show the serial output instead of what's on the screen. I've tried setting different consoles by editing the grub cmd line, like ttyS0, ttyS1, tty0 and tty1 but it refuses to show anything after "Booting the kernel." I've used sudo ./build-loader.sh 'DS3615xs' '7.0-41222' There builtin NICs in the Gen8 yes, two of them. I think it's: Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet PCIe I was also using that model with 6.2.3 on jun's 1.03b loader. I'm running bare metal btw.
  18. So I got a little further. I've now build the redpill.ko kernel module using the toolchain stated here: https://github.com/RedPill-TTG/redpill-lkm/pull/16/commits/b3f263c65198d94014f60f52f58bc6be00d1d8f8# So basically: make LINUX_SRC=~/.toolchain/bromolow-DSM-7.0-toolkit/build CROSS_COMPILE=~/.toolchain/bromolow-DSM-7.0-toolchain/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- and also: strip -S redpill.ko Now using the redpill.ko built by the DSM 7.0 toolchain (and stripped) my Microserver Gen8 doesn't reboot any longer. It now just sits there at the "Booting the kernel." screen. However I can't see any DHCP being requested and I still don't have any console output. Any ideas?
  19. Yeah it's annoying that the kernel doesn't print any console output tot the iLO console either. I've tried adding console=tty0 console=tt1, console=ttyS1 etc.. no dice. It just sits there and reboots all the time
  20. Trying to build and run it on my HP Gen8. I first built redpill.ko using redpill-lkm, that was quite easy. For the record I used gcc 4.9.2 to build it. Using redpill-load I created the following user_config.json: { "extra_cmdline": { "vid": "0x0951", "pid": "0x1665", "sn": "xxx", "mac1": "xxx", "mac2": "xxx" } } I copied redpill.ko from repill-lkm to: ext/rp-lkm/redpill-linux-v3.10.108.ko And finally: sudo ./build-loader.sh 'DS3615xs' '7.0-41222' The image is successfully created, but the first partition doesn't have the bootabled flag: fdisk -l ./redpill-DS3615xs_7.0-41222_b1631017171.img Schijf ./redpill-DS3615xs_7.0-41222_b1631017171.img: 128 MiB, 134217728 bytes, 262144 sectoren Eenheid: sectoren van 1 * 512 = 512 bytes Sectorgrootte (logisch/fysiek): 512 bytes / 512 bytes In-/uitvoergrootte (minimaal/optimaal): 512 bytes / 512 bytes Schijflabeltype: dos Schijf-ID: 0xf110ee87 Apparaat Op. Begin Einde Sectoren Grootte ID Type ./redpill-DS3615xs_7.0-41222_b1631017171.img1 2048 100351 98304 48M 83 Linux ./redpill-DS3615xs_7.0-41222_b1631017171.img2 100352 253951 153600 75M 83 Linux ./redpill-DS3615xs_7.0-41222_b1631017171.img3 253952 262143 8192 4M 83 Linux So I used fdisk on the image to set the first partition "active", so it can actually boot on legacy systems. The developers should fix this I guess. After writing it to USB it does seem to try and boot, but it just shows: Booting the kernel. It hangs for like 20 or 30 seconds, then it reboots. (see screenshot). Any ideas?
×
×
  • Create New...