On Thu, Aug 02, 2018 at 08:09:48AM +1000, NeilBrown wrote: > On Wed, Aug 01 2018, Sergio Paracuellos wrote: > > > This patch series include an attempt to avoid the use of custom > > read and writes in driver code and use PCI subsystem common ones. > > > > In order to do this 'map_bus' callback is implemented and also > > data structures for driver are included. The regs base address > > ranges and data is being readed from device tree and the driver > > gets clean a lot of code. > > > > This patchet also removes all legacy PCI code using now PCI_DRIVERS_GENERIC > > kernel api. > > > > Changes in v8: > > - PATCH 1: don't check 'of_pci_range_to_resource' return value which is not > > being checked for the legacy code. > > - PATCH 1: call 'mt7621_pci_parse_request_of_pci_ranges' 'and setup_cm_memory_region' > > after the port initialization code. > > - PATCH 1: make use of 'pci_host_probe' to avoid code duplication in function > > 'mt7621_pcie_register_host'. > > - PATCH 1: set resource limits with no limit for the end in 'ioport_resource' and > > 'iomem_resource'. It seems mips needs this to work properly. > > - Other patches rebased and adapted to this changes. > > See boot log below. Doesn't hang, but doesn't work. > I'll try to schedule some time to see if I can work out what is > happening. Thanks for this. So the problem here is that PCI_IOBASE is not defined for mips. I have reviewed al pci drivers included in mips/pci an no one is using actual code but legacy one. Also all of them are changing the 'ioport_resource' end limit to 0xFFFFFFFF (as I did in this series) to pass some checks along the code and that it just works because the legacy code does not check of_pci_range_to_resource and is using 'ioremap' at itself. I have found a very interesting mail thread about this in the linux-mips mailing list: https://www.linux-mips.org/archives/linux-mips/2015-12/msg00442.html So I don't know what should be a good solution. Maybe we should define PCI_IOBASE properly in the driver or just call to ioremap with the cpu_adress just changing the upper limit for ioport_resource... What do you think? Anyway I am going to send v9 with the code I think we should start. It is just getting good things from v6 and this last v8 reducing code and getting better code. > > Thanks, > NeilBrown Best regards, Sergio Paracuellos > > > > Starting kernel ... > > [ 0.000000] Linux version 4.18.0-rc7+ (neilb@noble) (gcc version 7.2.0 (GCC)) #273 SMP Thu Aug 2 08:02:45 AEST 2018 > [ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3 > [ 0.000000] bootconsole [early0] enabled > [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc) > [ 0.000000] MIPS: machine is GB-PC1 > [ 0.000000] Determined physical RAM map: > [ 0.000000] memory: 1c000000 @ 00000000 (usable) > [ 0.000000] memory: 04000000 @ 20000000 (usable) > [ 0.000000] Initrd not found or empty - disabling initrd > [ 0.000000] VPE topology {2,2} total 4 > [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. > [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes > [ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. > [ 0.000000] Zone ranges: > [ 0.000000] Normal [mem 0x0000000000000000-0x000000001fffffff] > [ 0.000000] HighMem [mem 0x0000000020000000-0x0000000023ffffff] > [ 0.000000] Movable zone start for each node > [ 0.000000] Early memory node ranges > [ 0.000000] node 0: [mem 0x0000000000000000-0x000000001bffffff] > [ 0.000000] node 0: [mem 0x0000000020000000-0x0000000023ffffff] > [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000023ffffff] > [ 0.000000] random: get_random_bytes called from start_kernel+0xb4/0x4ec with crng_init=0 > [ 0.000000] percpu: Embedded 15 pages/cpu @(ptrval) s30480 r8192 d22768 u61440 > [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130048 > [ 0.000000] Kernel command line: console=ttyS0,57600 > [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) > [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) > [ 0.000000] Writing ErrCtl register=000108a2 > [ 0.000000] Readback ErrCtl register=000108a2 > [ 0.000000] Memory: 504788K/524288K available (6135K kernel code, 228K rwdata, 1052K rodata, 6524K init, 241K bss, 19500K reserved, 0K cma-reserved, 65536K highmem) > [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 > [ 0.000000] Hierarchical RCU implementation. > [ 0.000000] NR_IRQS: 256 > [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcf914c9718, max_idle_ns: 440795231327 ns > [ 0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns > [ 0.010000] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032) > [ 0.070000] pid_max: default: 32768 minimum: 301 > [ 0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) > [ 0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) > [ 0.100000] Hierarchical SRCU implementation. > [ 0.110000] smp: Bringing up secondary CPUs ... > [ 0.120000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. > [ 0.120000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes > [ 0.120000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. > [ 0.120000] CPU1 revision is: 0001992f (MIPS 1004Kc) > [ 0.180000] Synchronize counters for CPU 1: done. > [ 0.220000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. > [ 0.220000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes > [ 0.220000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. > [ 0.220000] CPU2 revision is: 0001992f (MIPS 1004Kc) > [ 0.280000] Synchronize counters for CPU 2: done. > [ 0.320000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. > [ 0.320000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes > [ 0.320000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. > [ 0.320000] CPU3 revision is: 0001992f (MIPS 1004Kc) > [ 0.380000] Synchronize counters for CPU 3: done. > [ 0.420000] smp: Brought up 1 node, 4 CPUs > [ 0.430000] devtmpfs: initialized > [ 0.480000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns > [ 0.490000] futex hash table entries: 1024 (order: 3, 32768 bytes) > [ 0.500000] pinctrl core: initialized pinctrl subsystem > [ 0.510000] NET: Registered protocol family 16 > [ 0.870000] ***** Xtal 40MHz ***** > [ 0.880000] Port 0 N_FTS = 1b102800 > [ 0.880000] Port 1 N_FTS = 1b102800 > [ 0.890000] Port 2 N_FTS = 1b102800 > [ 1.950000] PCIE0 enabled > [ 1.950000] PCIE1 enabled > [ 1.960000] PCIE2 enabled > [ 1.970000] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002 > [ 1.980000] ------------[ cut here ]------------ > [ 1.990000] WARNING: CPU: 1 PID: 1 at ../drivers/pci/pci.c:3558 pci_remap_iospace+0x38/0x50 > [ 2.000000] This architecture does not support memory mapped I/O > [ 2.020000] Modules linked in: > [ 2.020000] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.18.0-rc7+ #273 > [ 2.030000] Stack : 00000000 00000004 00000006 00000000 00000000 00000000 00000000 00000000 > [ 2.050000] 80da7a3e 0000003a 00000000 00000000 80710000 00000001 9bc73b40 1c044177 > [ 2.070000] 00000000 00000000 80de0000 00000007 00000000 00000053 00000000 00000000 > [ 2.080000] 00000000 00000052 80dd0000 6e207365 80710000 00000000 80730000 806cecec > [ 2.100000] 00000009 00000de6 9beac790 9beaf190 00000001 bc000000 00000004 80da0004 > [ 2.120000] ... > [ 2.120000] Call Trace: > [ 2.130000] [<8000bd34>] show_stack+0x8c/0x130 > [ 2.130000] [<805dd724>] dump_stack+0x94/0xd0 > [ 2.140000] [<80027c30>] __warn+0x10c/0x114 > [ 2.150000] [<80027c78>] warn_slowpath_fmt+0x40/0x64 > [ 2.160000] [<8036e368>] pci_remap_iospace+0x38/0x50 > [ 2.170000] [<8049a174>] mt7621_pci_probe+0xc94/0xd20 > [ 2.180000] [<803b1998>] platform_drv_probe+0x40/0x7c > [ 2.190000] [<803aff10>] driver_probe_device+0x314/0x46c > [ 2.200000] [<803b011c>] __driver_attach+0xb4/0x138 > [ 2.210000] [<803ad9c0>] bus_for_each_dev+0x6c/0xb0 > [ 2.220000] [<803aebf8>] bus_add_driver+0x204/0x24c > [ 2.230000] [<803b0a68>] driver_register+0xd0/0x118 > [ 2.240000] [<80001618>] do_one_initcall+0x84/0x19c > [ 2.250000] [<80741ed0>] kernel_init_freeable+0x248/0x250 > [ 2.260000] [<805f5ebc>] kernel_init+0x14/0x110 > [ 2.270000] [<800066f8>] ret_from_kernel_thread+0x14/0x1c > [ 2.280000] ---[ end trace 4b133b219a5c8779 ]--- > [ 2.290000] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00 > [ 2.300000] pci_bus 0000:00: root bus resource [io 0xffffffff] (bus address [0x0000-0x0000]) > [ 2.320000] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] (bus address [0x00000000-0x0fffffff]) > [ 2.340000] pci_bus 0000:00: root bus resource [bus 00-ff] > [ 2.350000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring > [ 2.370000] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring > [ 2.380000] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring > [ 2.400000] pci 0000:00:00.0: PCI bridge to [bus 01-ff] > [ 2.420000] pci 0000:00:01.0: PCI bridge to [bus 02-ff] > [ 2.430000] pci 0000:00:02.0: PCI bridge to [bus 03-ff] > [ 2.440000] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] > [ 2.450000] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] > [ 2.470000] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000] > [ 2.480000] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000] > [ 2.490000] pci 0000:00:02.0: BAR 0: no space for [mem size 0x80000000] > [ 2.510000] pci 0000:00:02.0: BAR 0: failed to assign [mem size 0x80000000] > [ 2.520000] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] > [ 2.530000] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref] > [ 2.550000] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff] > [ 2.560000] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref] > [ 2.580000] pci 0000:00:02.0: BAR 8: assigned [mem 0x60400000-0x604fffff] > [ 2.590000] pci 0000:00:02.0: BAR 9: assigned [mem 0x60500000-0x605fffff pref] > [ 2.600000] pci 0000:00:00.0: BAR 1: assigned [mem 0x60600000-0x6060ffff] > [ 2.620000] pci 0000:00:01.0: BAR 1: assigned [mem 0x60610000-0x6061ffff] > [ 2.630000] pci 0000:00:02.0: BAR 1: assigned [mem 0x60620000-0x6062ffff] > [ 2.640000] pci 0000:00:00.0: BAR 7: no space for [io size 0x1000] > [ 2.650000] pci 0000:00:00.0: BAR 7: failed to assign [io size 0x1000] > [ 2.670000] pci 0000:00:01.0: BAR 7: no space for [io size 0x1000] > [ 2.680000] pci 0000:00:01.0: BAR 7: failed to assign [io size 0x1000] > [ 2.690000] pci 0000:00:02.0: BAR 7: no space for [io size 0x1000] > [ 2.710000] pci 0000:00:02.0: BAR 7: failed to assign [io size 0x1000] > [ 2.720000] pci 0000:01:00.0: BAR 5: assigned [mem 0x60000000-0x600001ff] > [ 2.730000] pci 0000:01:00.0: BAR 4: no space for [io size 0x0010] > [ 2.740000] pci 0000:01:00.0: BAR 4: failed to assign [io size 0x0010] > [ 2.760000] pci 0000:01:00.0: BAR 0: no space for [io size 0x0008] > [ 2.770000] pci 0000:01:00.0: BAR 0: failed to assign [io size 0x0008] > [ 2.780000] pci 0000:01:00.0: BAR 2: no space for [io size 0x0008] > [ 2.790000] pci 0000:01:00.0: BAR 2: failed to assign [io size 0x0008] > [ 2.810000] pci 0000:01:00.0: BAR 1: no space for [io size 0x0004] > [ 2.820000] pci 0000:01:00.0: BAR 1: failed to assign [io size 0x0004] > [ 2.830000] pci 0000:01:00.0: BAR 3: no space for [io size 0x0004] > [ 2.840000] pci 0000:01:00.0: BAR 3: failed to assign [io size 0x0004] > [ 2.860000] pci 0000:00:00.0: PCI bridge to [bus 01] > [ 2.870000] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] > [ 2.880000] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] > [ 2.890000] pci 0000:02:00.0: BAR 5: assigned [mem 0x60200000-0x602001ff] > [ 2.910000] pci 0000:02:00.0: BAR 4: no space for [io size 0x0010] > [ 2.920000] pci 0000:02:00.0: BAR 4: failed to assign [io size 0x0010] > [ 2.930000] pci 0000:02:00.0: BAR 0: no space for [io size 0x0008] > [ 2.950000] pci 0000:02:00.0: BAR 0: failed to assign [io size 0x0008] > [ 2.960000] pci 0000:02:00.0: BAR 2: no space for [io size 0x0008] > [ 2.970000] pci 0000:02:00.0: BAR 2: failed to assign [io size 0x0008] > [ 2.980000] pci 0000:02:00.0: BAR 1: no space for [io size 0x0004] > [ 3.000000] pci 0000:02:00.0: BAR 1: failed to assign [io size 0x0004] > [ 3.010000] pci 0000:02:00.0: BAR 3: no space for [io size 0x0004] > [ 3.020000] pci 0000:02:00.0: BAR 3: failed to assign [io size 0x0004] > [ 3.030000] pci 0000:00:01.0: PCI bridge to [bus 02] > [ 3.040000] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] > [ 3.060000] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref] > [ 3.070000] pci 0000:03:00.0: BAR 5: assigned [mem 0x60400000-0x604001ff] > [ 3.080000] pci 0000:03:00.0: BAR 4: no space for [io size 0x0010] > [ 3.100000] pci 0000:03:00.0: BAR 4: failed to assign [io size 0x0010] > [ 3.110000] pci 0000:03:00.0: BAR 0: no space for [io size 0x0008] > [ 3.120000] pci 0000:03:00.0: BAR 0: failed to assign [io size 0x0008] > [ 3.130000] pci 0000:03:00.0: BAR 2: no space for [io size 0x0008] > [ 3.150000] pci 0000:03:00.0: BAR 2: failed to assign [io size 0x0008] > [ 3.160000] pci 0000:03:00.0: BAR 1: no space for [io size 0x0004] > [ 3.170000] pci 0000:03:00.0: BAR 1: failed to assign [io size 0x0004] > [ 3.180000] pci 0000:03:00.0: BAR 3: no space for [io size 0x0004] > [ 3.200000] pci 0000:03:00.0: BAR 3: failed to assign [io size 0x0004] > [ 3.210000] pci 0000:00:02.0: PCI bridge to [bus 03] > [ 3.220000] pci 0000:00:02.0: bridge window [mem 0x60400000-0x604fffff] > [ 3.230000] pci 0000:00:02.0: bridge window [mem 0x60500000-0x605fffff pref] > [ 3.320000] SCSI subsystem initialized > [ 3.330000] random: fast init done > [ 3.340000] clocksource: Switched to clocksource GIC > [ 3.360000] NET: Registered protocol family 2 > [ 3.370000] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes) > [ 3.380000] TCP established hash table entries: 4096 (order: 2, 16384 bytes) > [ 3.400000] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) > [ 3.410000] TCP: Hash tables configured (established 4096 bind 4096) > [ 3.420000] UDP hash table entries: 256 (order: 1, 8192 bytes) > [ 3.440000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) > [ 3.450000] NET: Registered protocol family 1 > [ 8.430000] Initialise system trusted keyrings > [ 8.440000] workingset: timestamp_bits=30 max_order=17 bucket_order=0 > [ 8.570000] squashfs: version 4.0 (2009/01/31) Phillip Lougher > [ 8.580000] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. > [ 8.610000] SGI XFS with security attributes, no debug enabled > [ 8.660000] Key type asymmetric registered > [ 8.670000] Asymmetric key parser 'x509' registered > [ 8.680000] bounce: pool size: 64 pages > [ 8.690000] io scheduler noop registered > [ 8.690000] io scheduler deadline registered (default) > [ 8.700000] io scheduler mq-deadline registered (default) > [ 8.710000] io scheduler kyber registered > [ 8.730000] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled > [ 8.750000] console [ttyS0] disabled > [ 8.760000] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A > [ 8.780000] console [ttyS0] enabled > [ 8.780000] console [ttyS0] enabled > [ 8.790000] bootconsole [early0] disabled > [ 8.790000] bootconsole [early0] disabled > [ 8.810000] cacheinfo: Failed to find cpu0 device node > [ 8.820000] cacheinfo: Unable to detect cache hierarchy for CPU 0 > [ 8.910000] loop: module loaded > [ 8.920000] pci 0000:00:00.0: enabling device (0004 -> 0006) > [ 8.930000] ahci 0000:01:00.0: enabling device (0000 -> 0002) > [ 9.090000] ------------[ cut here ]------------ > [ 9.090000] WARNING: CPU: 0 PID: 1 at ../drivers/ata/libahci.c:227 ahci_save_initial_config+0x3c/0x3e0 > [ 9.110000] Modules linked in: > [ 9.120000] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.18.0-rc7+ #273 > [ 9.120000] Stack : 00000000 00000004 00000006 00000000 00000000 00000000 00000000 00000000 > [ 9.120000] 80da7a3e 0000004a 00000000 00000000 80710000 00000001 9bc73b40 1c044177 > [ 9.120000] 00000000 00000000 80de0000 00000007 00000000 0000010c 00000000 00000000 > [ 9.120000] 00000000 0000010b 80dd0000 65726568 80710000 00000000 80730000 806dc1fc > [ 9.120000] 00000009 000000e3 00000005 00000000 00000001 803a0508 00000000 80da0000 > [ 9.120000] ... > [ 9.120000] Call Trace: > [ 9.120000] [<8000bd34>] show_stack+0x8c/0x130 > [ 9.120000] [<805dd724>] dump_stack+0x94/0xd0 > [ 9.120000] [<80027c30>] __warn+0x10c/0x114 > [ 9.120000] [<80027ce0>] warn_slowpath_null+0x44/0x58 > [ 9.120000] [<803f696c>] ahci_save_initial_config+0x3c/0x3e0 > [ 9.120000] [<803f4bfc>] ahci_init_one+0x46c/0xa40 > [ 9.120000] [<80371cf0>] pci_device_probe+0x90/0x120 > [ 9.120000] [<803aff10>] driver_probe_device+0x314/0x46c > [ 9.120000] [<803b011c>] __driver_attach+0xb4/0x138 > [ 9.120000] [<803ad9c0>] bus_for_each_dev+0x6c/0xb0 > [ 9.120000] [<803aebf8>] bus_add_driver+0x204/0x24c > [ 9.120000] [<803b0a68>] driver_register+0xd0/0x118 > [ 9.120000] [<80001618>] do_one_initcall+0x84/0x19c > [ 9.120000] [<80741ed0>] kernel_init_freeable+0x248/0x250 > [ 9.120000] [<805f5ebc>] kernel_init+0x14/0x110 > [ 9.120000] [<800066f8>] ret_from_kernel_thread+0x14/0x1c > [ 9.380000] ---[ end trace 4b133b219a5c877a ]--- > [ 9.390000] ahci 0000:01:00.0: forcing PORTS_IMPL to 0x1 > [ 9.550000] ------------[ cut here ]------------ > [ 9.550000] WARNING: CPU: 0 PID: 1 at ../drivers/ata/libahci.c:227 ahci_reset_controller+0x2c/0x128 > [ 9.570000] Modules linked in: > [ 9.580000] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.18.0-rc7+ #273 > [ 9.580000] Stack : 00000000 00000004 00000006 00000000 00000000 00000000 00000000 00000000 > [ 9.580000] 80da7a3e 0000004a 00000000 00000000 80710000 00000001 9bc73b48 1c044177 > [ 9.580000] 00000000 00000000 80de0000 00000007 00000000 00000129 00000000 00000000 > [ 9.580000] 00000000 00000128 80dd0000 65726568 80710000 00000000 80730000 806dc1fc > [ 9.580000] 00000009 000000e3 00000005 9b7ac000 00000001 803a0508 00000000 80da0000 > [ 9.580000] ... > [ 9.580000] Call Trace: > [ 9.580000] [<8000bd34>] show_stack+0x8c/0x130 > [ 9.580000] [<805dd724>] dump_stack+0x94/0xd0 > [ 9.580000] [<80027c30>] __warn+0x10c/0x114 > [ 9.580000] [<80027ce0>] warn_slowpath_null+0x44/0x58 > [ 9.580000] [<803f6dac>] ahci_reset_controller+0x2c/0x128 > [ 9.580000] [<803f4fb4>] ahci_init_one+0x824/0xa40 > [ 9.580000] [<80371cf0>] pci_device_probe+0x90/0x120 > [ 9.580000] [<803aff10>] driver_probe_device+0x314/0x46c > [ 9.580000] [<803b011c>] __driver_attach+0xb4/0x138 > [ 9.580000] [<803ad9c0>] bus_for_each_dev+0x6c/0xb0 > [ 9.580000] [<803aebf8>] bus_add_driver+0x204/0x24c > [ 9.580000] [<803b0a68>] driver_register+0xd0/0x118 > [ 9.580000] [<80001618>] do_one_initcall+0x84/0x19c > [ 9.580000] [<80741ed0>] kernel_init_freeable+0x248/0x250 > [ 9.580000] [<805f5ebc>] kernel_init+0x14/0x110 > [ 9.580000] [<800066f8>] ret_from_kernel_thread+0x14/0x1c > [ 9.840000] ---[ end trace 4b133b219a5c877b ]--- > [ 10.000000] ------------[ cut here ]------------ > [ 10.000000] WARNING: CPU: 0 PID: 1 at ../drivers/ata/libahci.c:227 ahci_reset_controller+0xc8/0x128 > [ 10.020000] Modules linked in: > [ 10.030000] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.18.0-rc7+ #273 > [ 10.030000] Stack : 00000000 00000004 00000006 00000000 00000000 00000000 00000000 00000000 > [ 10.030000] 80da7a3e 0000004a 00000000 00000000 80710000 00000001 9bc73b48 1c044177 > [ 10.030000] 00000000 00000000 80de0000 00000007 00000000 00000145 00000000 00000000 > [ 10.030000] 00000000 00000144 80dd0000 65726568 80710000 00000000 80730000 806dc1fc > [ 10.030000] 00000009 000000e3 00000005 9b7ac000 00000001 803a0508 00000000 80da0000 > [ 10.030000] ... > [ 10.030000] Call Trace: > [ 10.030000] [<8000bd34>] show_stack+0x8c/0x130 > [ 10.030000] [<805dd724>] dump_stack+0x94/0xd0 > [ 10.030000] [<80027c30>] __warn+0x10c/0x114 > [ 10.030000] [<80027ce0>] warn_slowpath_null+0x44/0x58 > [ 10.030000] [<803f6e48>] ahci_reset_controller+0xc8/0x128 > [ 10.030000] [<803f4fb4>] ahci_init_one+0x824/0xa40 > [ 10.030000] [<80371cf0>] pci_device_probe+0x90/0x120 > [ 10.030000] [<803aff10>] driver_probe_device+0x314/0x46c > [ 10.030000] [<803b011c>] __driver_attach+0xb4/0x138 > [ 10.030000] [<803ad9c0>] bus_for_each_dev+0x6c/0xb0 > [ 10.030000] [<803aebf8>] bus_add_driver+0x204/0x24c > [ 10.030000] [<803b0a68>] driver_register+0xd0/0x118 > [ 10.030000] [<80001618>] do_one_initcall+0x84/0x19c > [ 10.030000] [<80741ed0>] kernel_init_freeable+0x248/0x250 > [ 10.030000] [<805f5ebc>] kernel_init+0x14/0x110 > [ 10.030000] [<800066f8>] ret_from_kernel_thread+0x14/0x1c > [ 10.290000] ---[ end trace 4b133b219a5c877c ]--- > [ 10.300000] ahci 0000:01:00.0: AHCI 0000.0000 1 slots 1 ports ? Gbps 0x1 impl IDE mode > [ 10.320000] ahci 0000:01:00.0: flags: > [ 10.330000] scsi host0: ahci > [ 10.340000] ata1: SATA max UDMA/133 abar m512@0x60000000 port 0x60000100 irq 23 > [ 10.350000] pci 0000:00:01.0: enabling device (0004 -> 0006) > [ 10.370000] ahci 0000:02:00.0: enabling device (0000 -> 0002) > [ 10.530000] ------------[ cut here ]------------ > [ 10.530000] WARNING: CPU: 0 PID: 1 at ../drivers/ata/libahci.c:227 ahci_save_initial_config+0x3c/0x3e0 > [ 10.550000] Modules linked in: > [ 10.560000] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.18.0-rc7+ #273 > [ 10.560000] Stack : 00000000 00000004 00000006 00000000 00000000 00000000 00000000 00000000 > [ 10.560000] 80da7a3e 0000004a 00000000 00000000 80710000 00000001 9bc73b40 1c044177 > [ 10.560000] 00000000 00000000 80de0000 00000007 00000000 00000167 00000000 00000000 > [ 10.560000] 00000000 00000166 80dd0000 65726568 80710000 00000000 80730000 806dc1fc > [ 10.560000] 00000009 000000e3 00000005 00000000 00000001 803a0508 00000000 80da0000 > [ 10.560000] ... > [ 10.560000] Call Trace: > [ 10.560000] [<8000bd34>] show_stack+0x8c/0x130 > [ 10.560000] [<805dd724>] dump_stack+0x94/0xd0 > [ 10.560000] [<80027c30>] __warn+0x10c/0x114 > [ 10.560000] [<80027ce0>] warn_slowpath_null+0x44/0x58 > [ 10.560000] [<803f696c>] ahci_save_initial_config+0x3c/0x3e0 > [ 10.560000] [<803f4bfc>] ahci_init_one+0x46c/0xa40 > [ 10.560000] [<80371cf0>] pci_device_probe+0x90/0x120 > [ 10.560000] [<803aff10>] driver_probe_device+0x314/0x46c > [ 10.560000] [<803b011c>] __driver_attach+0xb4/0x138 > [ 10.560000] [<803ad9c0>] bus_for_each_dev+0x6c/0xb0 > [ 10.560000] [<803aebf8>] bus_add_driver+0x204/0x24c > [ 10.560000] [<803b0a68>] driver_register+0xd0/0x118 > [ 10.560000] [<80001618>] do_one_initcall+0x84/0x19c > [ 10.560000] [<80741ed0>] kernel_init_freeable+0x248/0x250 > [ 10.560000] [<805f5ebc>] kernel_init+0x14/0x110 > [ 10.560000] [<800066f8>] ret_from_kernel_thread+0x14/0x1c > [ 10.820000] ---[ end trace 4b133b219a5c877d ]--- > [ 10.830000] ahci 0000:02:00.0: forcing PORTS_IMPL to 0x1 > [ 10.990000] ------------[ cut here ]------------ > [ 10.990000] WARNING: CPU: 0 PID: 1 at ../drivers/ata/libahci.c:227 ahci_reset_controller+0x2c/0x128 > [ 11.010000] Modules linked in: > [ 11.020000] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.18.0-rc7+ #273 > [ 11.020000] Stack : 00000000 00000004 00000006 00000000 00000000 00000000 00000000 00000000 > [ 11.020000] 80da7a3e 0000004a 00000000 00000000 80710000 00000001 9bc73b48 1c044177 > [ 11.020000] 00000000 00000000 80de0000 00000007 00000000 00000184 00000000 00000000 > [ 11.020000] 00000000 00000183 80dd0000 65726568 80710000 00000000 80730000 806dc1fc > [ 11.020000] 00000009 000000e3 00000005 9a0b0000 00000001 803a0508 00000000 80da0000 > [ 11.020000] ... > [ 11.020000] Call Trace: > [ 11.020000] [<8000bd34>] show_stack+0x8c/0x130 > [ 11.020000] [<805dd724>] dump_stack+0x94/0xd0 > [ 11.020000] [<80027c30>] __warn+0x10c/0x114 > [ 11.020000] [<80027ce0>] warn_slowpath_null+0x44/0x58 > [ 11.020000] [<803f6dac>] ahci_reset_controller+0x2c/0x128 > [ 11.020000] [<803f4fb4>] ahci_init_one+0x824/0xa40 > [ 11.020000] [<80371cf0>] pci_device_probe+0x90/0x120 > [ 11.020000] [<803aff10>] driver_probe_device+0x314/0x46c > [ 11.020000] [<803b011c>] __driver_attach+0xb4/0x138 > [ 11.020000] [<803ad9c0>] bus_for_each_dev+0x6c/0xb0 > [ 11.020000] [<803aebf8>] bus_add_driver+0x204/0x24c > [ 11.020000] [<803b0a68>] driver_register+0xd0/0x118 > [ 11.020000] [<80001618>] do_one_initcall+0x84/0x19c > [ 11.020000] [<80741ed0>] kernel_init_freeable+0x248/0x250 > [ 11.020000] [<805f5ebc>] kernel_init+0x14/0x110 > [ 11.020000] [<800066f8>] ret_from_kernel_thread+0x14/0x1c > [ 11.280000] ---[ end trace 4b133b219a5c877e ]--- > [ 11.440000] ------------[ cut here ]------------ > [ 11.440000] WARNING: CPU: 0 PID: 1 at ../drivers/ata/libahci.c:227 ahci_reset_controller+0xc8/0x128 > [ 11.460000] Modules linked in: > [ 11.470000] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.18.0-rc7+ #273 > [ 11.470000] Stack : 00000000 00000004 00000006 00000000 00000000 00000000 00000000 00000000 > [ 11.470000] 80da7a3e 0000004a 00000000 00000000 80710000 00000001 9bc73b48 1c044177 > [ 11.470000] 00000000 00000000 80de0000 00000007 00000000 000001a0 00000000 00000000 > [ 11.470000] 00000000 0000019f 80dd0000 65726568 80710000 00000000 80730000 806dc1fc > [ 11.470000] 00000009 000000e3 00000005 9a0b0000 00000001 803a0508 00000000 80da0000 > [ 11.470000] ... > [ 11.470000] Call Trace: > [ 11.470000] [<8000bd34>] show_stack+0x8c/0x130 > [ 11.470000] [<805dd724>] dump_stack+0x94/0xd0 > [ 11.470000] [<80027c30>] __warn+0x10c/0x114 > [ 11.470000] [<80027ce0>] warn_slowpath_null+0x44/0x58 > [ 11.470000] [<803f6e48>] ahci_reset_controller+0xc8/0x128 > [ 11.470000] [<803f4fb4>] ahci_init_one+0x824/0xa40 > [ 11.470000] [<80371cf0>] pci_device_probe+0x90/0x120 > [ 11.470000] [<803aff10>] driver_probe_device+0x314/0x46c > [ 11.470000] [<803b011c>] __driver_attach+0xb4/0x138 > [ 11.470000] [<803ad9c0>] bus_for_each_dev+0x6c/0xb0 > [ 11.470000] [<803aebf8>] bus_add_driver+0x204/0x24c > [ 11.470000] [<803b0a68>] driver_register+0xd0/0x118 > [ 11.470000] [<80001618>] do_one_initcall+0x84/0x19c > [ 11.470000] [<80741ed0>] kernel_init_freeable+0x248/0x250 > [ 11.470000] [<805f5ebc>] kernel_init+0x14/0x110 > [ 11.470000] [<800066f8>] ret_from_kernel_thread+0x14/0x1c > [ 11.730000] ---[ end trace 4b133b219a5c877f ]--- > [ 11.740000] ahci 0000:02:00.0: AHCI 0000.0000 1 slots 1 ports ? Gbps 0x1 impl IDE mode > [ 11.760000] ahci 0000:02:00.0: flags: > [ 11.770000] scsi host1: ahci > [ 11.780000] ata2: SATA max UDMA/133 abar m512@0x60200000 port 0x60200100 irq 24 > [ 11.790000] pci 0000:00:02.0: enabling device (0004 -> 0006) > [ 11.800000] ahci 0000:03:00.0: enabling device (0000 -> 0002) > [ 11.970000] ------------[ cut here ]------------ > [ 11.970000] WARNING: CPU: 0 PID: 1 at ../drivers/ata/libahci.c:227 ahci_save_initial_config+0x3c/0x3e0 > [ 11.990000] Modules linked in: > [ 12.000000] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.18.0-rc7+ #273 > [ 12.000000] Stack : 00000000 00000004 00000006 00000000 00000000 00000000 00000000 00000000 > [ 12.000000] 80da7a3e 0000004a 00000000 00000000 80710000 00000001 9bc73b40 1c044177 > [ 12.000000] 00000000 00000000 80de0000 00000007 00000000 000001c2 00000000 00000000 > [ 12.000000] 00000000 000001c1 80dd0000 65726568 80710000 00000000 80730000 806dc1fc > [ 12.000000] 00000009 000000e3 00000005 00000000 00000001 803a0508 00000000 80da0000 > [ 12.000000] ... > [ 12.000000] Call Trace: > [ 12.000000] [<8000bd34>] show_stack+0x8c/0x130 > [ 12.000000] [<805dd724>] dump_stack+0x94/0xd0 > [ 12.000000] [<80027c30>] __warn+0x10c/0x114 > [ 12.000000] [<80027ce0>] warn_slowpath_null+0x44/0x58 > [ 12.000000] [<803f696c>] ahci_save_initial_config+0x3c/0x3e0 > [ 12.000000] [<803f4bfc>] ahci_init_one+0x46c/0xa40 > [ 12.000000] [<80371cf0>] pci_device_probe+0x90/0x120 > [ 12.000000] [<803aff10>] driver_probe_device+0x314/0x46c > [ 12.000000] [<803b011c>] __driver_attach+0xb4/0x138 > [ 12.000000] [<803ad9c0>] bus_for_each_dev+0x6c/0xb0 > [ 12.000000] [<803aebf8>] bus_add_driver+0x204/0x24c > [ 12.000000] [<803b0a68>] driver_register+0xd0/0x118 > [ 12.000000] [<80001618>] do_one_initcall+0x84/0x19c > [ 12.000000] [<80741ed0>] kernel_init_freeable+0x248/0x250 > [ 12.000000] [<805f5ebc>] kernel_init+0x14/0x110 > [ 12.000000] [<800066f8>] ret_from_kernel_thread+0x14/0x1c > [ 12.260000] ---[ end trace 4b133b219a5c8780 ]--- > [ 12.260000] ata1: failed to resume link (SControl 0) > [ 12.270000] ahci 0000:03:00.0: forcing PORTS_IMPL to 0x1 > [ 12.280000] ata1: SATA link down (SStatus 0 SControl 0) > [ 12.440000] ------------[ cut here ]------------ > [ 12.440000] WARNING: CPU: 0 PID: 1 at ../drivers/ata/libahci.c:227 ahci_reset_controller+0x2c/0x128 > [ 12.460000] Modules linked in: > [ 12.470000] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.18.0-rc7+ #273 > [ 12.470000] Stack : 00000000 00000004 00000006 00000000 00000000 00000000 00000000 00000000 > [ 12.470000] 80da7a3e 0000004a 00000000 00000000 80710000 00000001 9bc73b48 1c044177 > [ 12.470000] 00000000 00000000 80de0000 00000007 00000000 000001e1 00000000 00000000 > [ 12.470000] 00000000 000001e0 80dd0000 65726568 80710000 00000000 80730000 806dc1fc > [ 12.470000] 00000009 000000e3 00000005 9a0b8000 00000001 803a0508 00000000 80da0000 > [ 12.470000] ... > [ 12.470000] Call Trace: > [ 12.470000] [<8000bd34>] show_stack+0x8c/0x130 > [ 12.470000] [<805dd724>] dump_stack+0x94/0xd0 > [ 12.470000] [<80027c30>] __warn+0x10c/0x114 > [ 12.470000] [<80027ce0>] warn_slowpath_null+0x44/0x58 > [ 12.470000] [<803f6dac>] ahci_reset_controller+0x2c/0x128 > [ 12.470000] [<803f4fb4>] ahci_init_one+0x824/0xa40 > [ 12.470000] [<80371cf0>] pci_device_probe+0x90/0x120 > [ 12.470000] [<803aff10>] driver_probe_device+0x314/0x46c > [ 12.470000] [<803b011c>] __driver_attach+0xb4/0x138 > [ 12.470000] [<803ad9c0>] bus_for_each_dev+0x6c/0xb0 > [ 12.470000] [<803aebf8>] bus_add_driver+0x204/0x24c > [ 12.470000] [<803b0a68>] driver_register+0xd0/0x118 > [ 12.470000] [<80001618>] do_one_initcall+0x84/0x19c > [ 12.470000] [<80741ed0>] kernel_init_freeable+0x248/0x250 > [ 12.470000] [<805f5ebc>] kernel_init+0x14/0x110 > [ 12.470000] [<800066f8>] ret_from_kernel_thread+0x14/0x1c > [ 12.730000] ---[ end trace 4b133b219a5c8781 ]--- > [ 12.890000] ------------[ cut here ]------------ > [ 12.890000] WARNING: CPU: 0 PID: 1 at ../drivers/ata/libahci.c:227 ahci_reset_controller+0xc8/0x128 > [ 12.910000] Modules linked in: > [ 12.920000] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.18.0-rc7+ #273 > [ 12.920000] Stack : 00000000 00000004 00000006 00000000 00000000 00000000 00000000 00000000 > [ 12.920000] 80da7a3e 0000004a 00000000 00000000 80710000 00000001 9bc73b48 1c044177 > [ 12.920000] 00000000 00000000 80de0000 00000007 00000000 000001fd 00000000 00000000 > [ 12.920000] 00000000 000001fc 80dd0000 65726568 80710000 00000000 80730000 806dc1fc > [ 12.920000] 00000009 000000e3 00000005 9a0b8000 00000001 803a0508 00000000 80da0000 > [ 12.920000] ... > [ 12.920000] Call Trace: > [ 12.920000] [<8000bd34>] show_stack+0x8c/0x130 > [ 12.920000] [<805dd724>] dump_stack+0x94/0xd0 > [ 12.920000] [<80027c30>] __warn+0x10c/0x114 > [ 12.920000] [<80027ce0>] warn_slowpath_null+0x44/0x58 > [ 12.920000] [<803f6e48>] ahci_reset_controller+0xc8/0x128 > [ 12.920000] [<803f4fb4>] ahci_init_one+0x824/0xa40 > [ 12.920000] [<80371cf0>] pci_device_probe+0x90/0x120 > [ 12.920000] [<803aff10>] driver_probe_device+0x314/0x46c > [ 12.920000] [<803b011c>] __driver_attach+0xb4/0x138 > [ 12.920000] [<803ad9c0>] bus_for_each_dev+0x6c/0xb0 > [ 12.920000] [<803aebf8>] bus_add_driver+0x204/0x24c > [ 12.920000] [<803b0a68>] driver_register+0xd0/0x118 > [ 12.920000] [<80001618>] do_one_initcall+0x84/0x19c > [ 12.920000] [<80741ed0>] kernel_init_freeable+0x248/0x250 > [ 12.920000] [<805f5ebc>] kernel_init+0x14/0x110 > [ 12.920000] [<800066f8>] ret_from_kernel_thread+0x14/0x1c > [ 13.180000] ---[ end trace 4b133b219a5c8782 ]--- > [ 13.190000] ahci 0000:03:00.0: AHCI 0000.0000 1 slots 1 ports ? Gbps 0x1 impl IDE mode > [ 13.210000] ahci 0000:03:00.0: flags: > [ 13.220000] scsi host2: ahci > [ 13.230000] ata3: SATA max UDMA/133 abar m512@0x60400000 port 0x60400100 irq 25 > [ 13.250000] libphy: Fixed MDIO Bus: probed > [ 13.260000] tun: Universal TUN/TAP device driver, 1.6 > [ 13.270000] sdhci: Secure Digital Host Controller Interface driver > [ 13.280000] sdhci: Copyright(c) Pierre Ossman > [ 13.290000] spi-mt7621 1e000b00.spi: sys_freq: 225000000 > [ 13.310000] m25p80 spi0.0: w25q256 (32768 Kbytes) > [ 13.320000] 4 fixed-partitions partitions found on MTD device spi0.0 > [ 13.330000] Creating 4 MTD partitions on "spi0.0": > [ 13.340000] 0x000000000000-0x000000030000 : "u-boot" > [ 13.360000] 0x000000030000-0x000000040000 : "u-boot-env" > [ 13.380000] 0x000000040000-0x000000050000 : "factory" > [ 13.390000] 0x000000050000-0x000002000000 : "firmware" > [ 13.460000] libphy: mdio: probed > [ 13.500000] mtk_soc_eth 1e100000.ethernet: generated random MAC address 6a:98:31:db:8d:07 > [ 13.520000] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21 > [ 13.550000] NET: Registered protocol family 10 > [ 13.570000] Segment Routing with IPv6 > [ 13.570000] NET: Registered protocol family 17 > [ 13.580000] 8021q: 802.1Q VLAN Support v1.8 > [ 13.600000] Loading compiled-in X.509 certificates > [ 13.610000] hctosys: unable to open rtc device (rtc0) > [ 13.620000] ata2: failed to resume link (SControl 0) > [ 13.630000] ata2: SATA link down (SStatus 0 SControl 0) > [ 13.680000] mmc0: new high speed SD card at address 0002 > [ 13.700000] mmcblk0: mmc0:0002 00000 1.88 GiB > [ 14.360000] ata3: failed to resume link (SControl 0) > [ 14.360000] ata3: SATA link down (SStatus 0 SControl 0) > [ 14.400000] Freeing unused kernel memory: 6524K > [ 14.410000] This architecture does not have kernel memory protection. > [ 14.630000] usbcore: registered new interface driver usbfs > [ 14.650000] usbcore: registered new interface driver hub > [ 14.670000] usbcore: registered new device driver usb > [ 14.780000] xhci-mtk 1e1c0000.xhci: xHCI Host Controller > [ 14.790000] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1 > [ 14.810000] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010 > [ 14.830000] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000 > [ 14.870000] hub 1-0:1.0: USB hub found > [ 14.880000] hub 1-0:1.0: 2 ports detected > [ 14.900000] xhci-mtk 1e1c0000.xhci: xHCI Host Controller > [ 14.910000] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2 > [ 14.930000] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed > [ 14.940000] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. > [ 14.980000] hub 2-0:1.0: USB hub found > [ 14.990000] hub 2-0:1.0: 1 port detected > [ 15.050000] usbcore: registered new interface driver usb-storage > [ 15.410000] Waiting disk spinup and searching for partition GNUBEE-ROOT... > [ 15.420000] usb 1-2: new high-speed USB device number 2 using xhci-mtk > [ 15.640000] hub 1-2:1.0: USB hub found > [ 15.650000] hub 1-2:1.0: 4 ports detected > [ 15.870000] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up > [ 18.440000] done. > mdadm: No devices listed in conf file were found. > findfs: unable to resolve 'PARTLABEL=GNUBEE-CRYPT-ROOT' > [ 19.980000] EXT4-fs (mmcblk0): INFO: recovery required on readonly filesystem > [ 19.990000] EXT4-fs (mmcblk0): write access will be enabled during recovery > [ 20.020000] msdc0 -> TUNE_BREAD<PASS> dcrc<0x0> DATRDDLY0/1<0x10101010><0x0> dsmpl<0x0> <- msdc_tune_bread() : L<1342> PID<kworker/3:0H><0x1c> > [ 21.160000] EXT4-fs (mmcblk0): recovery complete > [ 21.180000] EXT4-fs (mmcblk0): mounted filesystem with ordered data mode. Opts: (null) > [ 21.210000] Partition GNUBEE-ROOT found. Starting... > [ 22.690000] systemd[1]: System time before build time, advancing clock. > [ 22.840000] random: systemd: uninitialized urandom read (16 bytes read) > [ 22.870000] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) > [ 22.910000] systemd[1]: Detected architecture mips. > > Welcome to Debian GNU/Linux 9 (stretch)! > > [ 22.970000] systemd[1]: Set hostname to <gnubeaver.brown>. > [ 23.100000] random: systemd: uninitialized urandom read (16 bytes read) > [ 23.150000] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read) > [ 23.890000] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. > [ OK ] Started Dispatch Password Requests to Console Directory Watch. > [ 23.950000] systemd[1]: Created slice System Slice. > [ OK ] Created slice System Slice. > [ 24.000000] systemd[1]: Reached target Remote File Systems. > [ OK ] Reached target Remote File Systems. > [ 24.060000] systemd[1]: Created slice system-getty.slice. > [ OK ] Created slice system-getty.slice. > [ 24.120000] systemd[1]: Listening on Syslog Socket. > [ OK ] Listening on Syslog Socket. > [ 24.160000] systemd[1]: dev-hugepages.mount: Couldn't determine result for ConditionVirtualization=!private-users, assuming failed: No such file or directory > [ 24.190000] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. > [ OK ] Listening on /dev/initctl Compatibility Named Pipe. > [ OK ] Started Forward Password Requests to Wall Directory Watch. > [ OK ] Reached target Encrypted Volumes. > [ OK ] Reached target Swap. > [ OK ] Listening on udev Kernel Socket. > [ OK ] Listening on udev Control Socket. > Mounting Debug File System... > [ OK ] Created slice User and Session Slice. > [ OK ] Listening on Journal Socket. > Starting Load Kernel Modules... > Starting Set the console keyboard layout... > Starting Create list of required st…ce nodes for the current kernel... > [ OK ] Reached target Slices. > [ OK ] Listening on Journal Socket (/dev/log). > [ OK ] Listening on fsck to fsckd communication Socket. > Starting File System Check on Root Device... > [ OK ] Created slice system-serial\x2dgetty.slice. > [ OK ] Reached target Paths. > Starting Journal Service... > [ OK ] Mounted Debug File System. > [ OK ] Started Load Kernel Modules. > [ 25.180000] random: crng init done > [ 25.190000] random: 7 urandom warning(s) missed due to ratelimiting > [ OK ] Started Create list of required sta…vice nodes for the current kernel. > [ OK ] Started File System Check on Root Device. > [ OK ] Started File System Check Daemon to report status. > Starting Remount Root and Kernel File Systems... > Starting Create Static Device Nodes in /dev... > Starting Apply Kernel Variables... > [ OK ] Started Set the console keyboard layout. > [ OK ] Started Apply Kernel Variables. > [ OK ] Started Create Static Device Nodes in /dev. > Starting udev Kernel Device Manager... > [ 25.860000] EXT4-fs (mmcblk0): re-mounted. Opts: errors=remount-ro > [ OK ] Started Remount Root and Kernel File Systems. > [ OK ] Reached target Local File Systems (Pre). > Starting udev Coldplug all Devices... > Starting Load/Save Random Seed... > [ OK ] Reached target Local File Systems. > Starting Set console font and keymap... > Starting Raise network interfaces... > [ OK ] Started Journal Service. > [ OK ] Started udev Kernel Device Manager. > [ OK ] Started Load/Save Random Seed. > [ OK ] Started Set console font and keymap. > Starting Flush Journal to Persistent Storage... > [ 26.780000] systemd-journald[650]: Received request to flush runtime journal from PID 1 > [ OK ] Started Flush Journal to Persistent Storage. > Starting Create Volatile Files and Directories... > [ OK ] Started Create Volatile Files and Directories. > Starting Update UTMP about System Boot/Shutdown... > Starting Network Time Synchronization... > [ OK ] Started udev Coldplug all Devices. > [ OK ] Found device /dev/ttyS0. > [ OK ] Started Update UTMP about System Boot/Shutdown. > [ OK ] Started Network Time Synchronization. > [ OK ] Reached target System Time Synchronized. > [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. > [ OK ] Reached target System Initialization. > [ OK ] Started Daily apt download activities. > [ OK ] Started Daily Cleanup of Temporary Directories. > [ OK ] Started Daily apt upgrade and clean activities. > [ OK ] Reached target Timers. > [ OK ] Listening on D-Bus System Message Bus Socket. > [ OK ] Reached target Sockets. > [ OK ] Reached target Basic System. > [ OK ] Started Regular background p[ 28.750000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready > rogram processin[ 28.760000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready > g daemon. > Starting LSB: Execute the kexec -e command to reboot system... > Starting LSB: Mount debugfs on /sys/kernel/debug... > Starting System Logging Service... > [ OK ] Started Self Monitoring and Reporting Technology (SMART) Daemon. > [ OK ] Started D-Bus System Message Bus. > Starting Login Service... > [ OK ] Started System Logging Service. > [ OK ] Started Login Service. > [ OK ] Started LSB: Execute the kexec -e command to reboot system. > Starting LSB: Load kernel image with kexec... > [ OK ] Started LSB: Mount debugfs on /sys/kernel/debug. > [ OK ] Started LSB: Load kernel image with kexec. > [FAILED] Failed to start Raise network interfaces. > See 'systemctl status networking.service' for details. > [ OK ] Reached target Network. > [ OK ] Reached target Network is Online. > Starting /etc/rc.local Compatibility... > Starting LSB: Advanced IEEE 802.11 management daemon... > [ OK ] Started BIND Domain Name Server. > [ OK ] Reached target Host and Network Name Lookups. > Starting The Apache HTTP Server... > Starting LSB: exim Mail Transport Agent... > Starting LSB: DHCP server... > Starting OpenBSD Secure Shell server... > Starting Permit User Sessions... > [ OK ] Started LSB: Advanced IEEE 802.11 management daemon. > [ OK ] Started Permit User Sessions. > [ OK ] Started OpenBSD Secure Shell server. > [ OK ] Started The Apache HTTP Server. > [FAILED] Failed to start LSB: DHCP server. > See 'systemctl status isc-dhcp-server.service' for details. > [ OK ] Started LSB: exim Mail Transport Agent. > [ 40.051587] rc.local[914]: 2 Aug 08:04:00 ntpdate[915]: step time server 220.158.215.21 offset 121957.604033 sec > Starting Daily apt download activities... > [ OK ] Started /etc/rc.local Compatibility. > [ OK ] Started Serial Getty on ttyS0. > [ OK ] Reached target Login Prompts. > [ OK ] Reached target Multi-User System. > [ OK ] Reached target Graphical Interface. > Starting Update UTMP about System Runlevel Changes... > [ OK ] Started Update UTMP about System Runlevel Changes. > > Debian GNU/Linux 9 gnubeaver.brown ttyS0 > > gnubeaver login: root > Password: > Last login: Tue Jul 31 22:14:06 AEST 2018 on ttyS0 > Linux gnubeaver.brown 4.18.0-rc7+ #273 SMP Thu Aug 2 08:02:45 AEST 2018 mips > > The programs included with the Debian GNU/Linux system are free software; > the exact distribution terms for each program are described in the > individual files in /usr/share/doc/*/copyright. > > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent > permitted by applicable law. > resize: unknown character, exiting. > root@gnubeaver:~# lspci > 00:00.0 PCI bridge: Device 0e8d:0801 (rev 01) > 00:01.0 PCI bridge: Device 0e8d:0801 (rev 01) > 00:02.0 PCI bridge: Device 0e8d:0801 (rev 01) > 01:00.0 IDE interface: ASMedia Technology Inc. ASM1061 SATA IDE Controller (rev 02) > 02:00.0 IDE interface: ASMedia Technology Inc. ASM1061 SATA IDE Controller (rev 02) > 03:00.0 IDE interface: ASMedia Technology Inc. ASM1061 SATA IDE Controller (rev 02) > root@gnubeaver:~# > root@gnubeaver:~# cat /proc/partitions > major minor #blocks name > > 31 0 192 mtdblock0 > 31 1 64 mtdblock1 > 31 2 64 mtdblock2 > 31 3 32448 mtdblock3 > 179 0 1974272 mmcblk0 > root@gnubeaver:~# > root@gnubeaver:~# _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel