linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Out-of-tree mwlwifi driver crashes
       [not found]       ` <8eb5b2981e6e60e91a3eacbb88a5ee7b@solinno.co.uk>
@ 2019-01-31 15:46         ` Thomas Petazzoni
  2019-01-31 16:06           ` Leigh Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2019-01-31 15:46 UTC (permalink / raw)
  To: Leigh Brown
  Cc: linux-arm-kernel, Russell King - ARM Linux admin,
	Luís Mendes, linux-pci

Hello Leigh,

On Tue, 29 Jan 2019 15:36:56 +0000
Leigh Brown <leigh@solinno.co.uk> wrote:

> Apologies, I use webmail.  I have attached two files with the results
> from running lspci -vvv -xxx

Thanks, that was very useful. I believe the issue comes from the fact
that your PCIe device has prefetchable BARs, while none of the 5 PCIe
devices I have here has prefetchable BARs. The pci-mvebu driver doesn't
support such BARs, but the change to the common PCI bridge emulation
logic made the prefetchable memory base / limit register read-write
while they were read-only before.

To verify this hypothesis, could you apply the following patch (on top
of 4.20), and see if it solves the problem ? Thanks!

This is probably not the right/correct fix, but it will at least allow
to verify that the problem is understood correctly.

Thomas

diff --git a/drivers/pci/pci-bridge-emul.c b/drivers/pci/pci-bridge-emul.c
index 129738362d90..f99b80c19809 100644
--- a/drivers/pci/pci-bridge-emul.c
+++ b/drivers/pci/pci-bridge-emul.c
@@ -142,11 +142,7 @@ const static struct pci_bridge_reg_behavior pci_regs_behavior[] = {
        },
 
        [PCI_PREF_MEMORY_BASE / 4] = {
-               /* The high 12-bits of pref mem base/limit are RW */
-               .rw = GENMASK(31, 20) | GENMASK(15, 4),
-
-               /* The low four bits of pref mem base/limit are RO */
-               .ro = GENMASK(19, 16) | GENMASK(3, 0),
+               .ro = ~0,
        },
 
        [PCI_PREF_BASE_UPPER32 / 4] = {


-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: Out-of-tree mwlwifi driver crashes
  2019-01-31 15:46         ` Out-of-tree mwlwifi driver crashes Thomas Petazzoni
@ 2019-01-31 16:06           ` Leigh Brown
  2019-01-31 16:10             ` Thomas Petazzoni
  2019-02-12 13:41             ` Thomas Petazzoni
  0 siblings, 2 replies; 5+ messages in thread
From: Leigh Brown @ 2019-01-31 16:06 UTC (permalink / raw)
  To: Thomas Petazzoni
  Cc: linux-arm-kernel, Russell King - ARM Linux admin,
	Luís Mendes, linux-pci

Hi Thomas,

On 2019-01-31 15:46, Thomas Petazzoni wrote:
> Hello Leigh,
> 
> On Tue, 29 Jan 2019 15:36:56 +0000
> Leigh Brown <leigh@solinno.co.uk> wrote:
> 
>> Apologies, I use webmail.  I have attached two files with the results
>> from running lspci -vvv -xxx
> 
> Thanks, that was very useful. I believe the issue comes from the fact
> that your PCIe device has prefetchable BARs, while none of the 5 PCIe
> devices I have here has prefetchable BARs. The pci-mvebu driver doesn't
> support such BARs, but the change to the common PCI bridge emulation
> logic made the prefetchable memory base / limit register read-write
> while they were read-only before.
> 
> To verify this hypothesis, could you apply the following patch (on top
> of 4.20), and see if it solves the problem ? Thanks!
> 
> This is probably not the right/correct fix, but it will at least allow
> to verify that the problem is understood correctly.
> 
> Thomas
> 
> diff --git a/drivers/pci/pci-bridge-emul.c 
> b/drivers/pci/pci-bridge-emul.c
> index 129738362d90..f99b80c19809 100644
> --- a/drivers/pci/pci-bridge-emul.c
> +++ b/drivers/pci/pci-bridge-emul.c
> @@ -142,11 +142,7 @@ const static struct pci_bridge_reg_behavior
> pci_regs_behavior[] = {
>         },
> 
>         [PCI_PREF_MEMORY_BASE / 4] = {
> -               /* The high 12-bits of pref mem base/limit are RW */
> -               .rw = GENMASK(31, 20) | GENMASK(15, 4),
> -
> -               /* The low four bits of pref mem base/limit are RO */
> -               .ro = GENMASK(19, 16) | GENMASK(3, 0),
> +               .ro = ~0,
>         },
> 
>         [PCI_PREF_BASE_UPPER32 / 4] = {

Thanks for responding. I had to manually apply the patch, but it 
certainly fixes
the issue.

Regards,

Leigh.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Out-of-tree mwlwifi driver crashes
  2019-01-31 16:06           ` Leigh Brown
@ 2019-01-31 16:10             ` Thomas Petazzoni
  2019-02-12 13:41             ` Thomas Petazzoni
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2019-01-31 16:10 UTC (permalink / raw)
  To: Leigh Brown
  Cc: linux-arm-kernel, Russell King - ARM Linux admin,
	Luís Mendes, linux-pci

On Thu, 31 Jan 2019 16:06:10 +0000
Leigh Brown <leigh@solinno.co.uk> wrote:


> > diff --git a/drivers/pci/pci-bridge-emul.c 
> > b/drivers/pci/pci-bridge-emul.c
> > index 129738362d90..f99b80c19809 100644
> > --- a/drivers/pci/pci-bridge-emul.c
> > +++ b/drivers/pci/pci-bridge-emul.c
> > @@ -142,11 +142,7 @@ const static struct pci_bridge_reg_behavior
> > pci_regs_behavior[] = {
> >         },
> > 
> >         [PCI_PREF_MEMORY_BASE / 4] = {
> > -               /* The high 12-bits of pref mem base/limit are RW */
> > -               .rw = GENMASK(31, 20) | GENMASK(15, 4),
> > -
> > -               /* The low four bits of pref mem base/limit are RO */
> > -               .ro = GENMASK(19, 16) | GENMASK(3, 0),
> > +               .ro = ~0,
> >         },
> > 
> >         [PCI_PREF_BASE_UPPER32 / 4] = {  
> 
> Thanks for responding. I had to manually apply the patch, but it 
> certainly fixes the issue.

Ah, good to hear this. Let's see if I can find a good fix for this then.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Out-of-tree mwlwifi driver crashes
  2019-01-31 16:06           ` Leigh Brown
  2019-01-31 16:10             ` Thomas Petazzoni
@ 2019-02-12 13:41             ` Thomas Petazzoni
  2019-02-12 16:10               ` Leigh Brown
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2019-02-12 13:41 UTC (permalink / raw)
  To: Leigh Brown
  Cc: linux-arm-kernel, Russell King - ARM Linux admin,
	Luís Mendes, linux-pci

Hello Leigh,

On Thu, 31 Jan 2019 16:06:10 +0000
Leigh Brown <leigh@solinno.co.uk> wrote:

> Thanks for responding. I had to manually apply the patch, but it 
> certainly fixes the issue.

Could you check if the branch at:

  https://github.com/tpetazzoni/linux/tree/5.0/marvell/pci-mvebu-fix

also fixes the issue for you ?

I'm sorry to ask you to do all those tests, but since I don't have a
PCIe device that uses prefetchable memory BARs, I can't test :-/

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Out-of-tree mwlwifi driver crashes
  2019-02-12 13:41             ` Thomas Petazzoni
@ 2019-02-12 16:10               ` Leigh Brown
  0 siblings, 0 replies; 5+ messages in thread
From: Leigh Brown @ 2019-02-12 16:10 UTC (permalink / raw)
  To: Thomas Petazzoni
  Cc: linux-arm-kernel, Russell King - ARM Linux admin,
	Luís Mendes, linux-pci

[-- Attachment #1: Type: text/plain, Size: 649 bytes --]

Hi Thomas,

On 2019-02-12 13:41, Thomas Petazzoni wrote:
> Hello Leigh,
> 
> On Thu, 31 Jan 2019 16:06:10 +0000
> Leigh Brown <leigh@solinno.co.uk> wrote:
> 
>> Thanks for responding. I had to manually apply the patch, but it
>> certainly fixes the issue.
> 
> Could you check if the branch at:
> 
>   https://github.com/tpetazzoni/linux/tree/5.0/marvell/pci-mvebu-fix
> 
> also fixes the issue for you ?
> 
> I'm sorry to ask you to do all those tests, but since I don't have a
> PCIe device that uses prefetchable memory BARs, I can't test :-/
> 
> Thanks!
> 
> Thomas

It seems to work perfectly now, thanks.  Boot log attached.

Regards,

Leigh.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: bootlog.txt --]
[-- Type: text/x-asm; name=bootlog.txt, Size: 21941 bytes --]

BootROM - 1.73
Booting from NAND flash

General initialization - Version: 1.0.0
Detected Device ID 6820
High speed PHY - Version: 2.0

Init RD NAS topology Serdes Lane 3 is USB3
Serdes Lane 4 is SGMII
board SerDes lanes topology details:
 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  06   |  SATA0	|
 |   1    |  05   |  PCIe0	|
 |   2    |  06   |  SATA1	|
 |   3    |  05   |  USB3 HOST1	|
 |   4    |  05   |  PCIe1	|
 |   5    |  00   |  SGMII2	|
 --------------------------------
:** Link is Gen1, check the EP capability 
PCIe, Idx 0: Link upgraded to Gen2 based on client cpabilities 
:** Link is Gen1, check the EP capability 
PCIe, Idx 1: remains Gen1
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.26.0
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed
DDR3 Training Sequence - Switching XBAR Window to FastPath Window 
DDR3 Training Sequence - Ended Successfully
Not detected suspend to RAM indication
BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2013.01 (Mar 27 2015 - 16:50:46) Marvell version: 2014_T3.0p6

Boot version : v1.0.13

Board: RD-NAS-88F6820-DDR3
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 800 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  512 MiB

Map:   Code:			0x1fea9000:0x1ff7632c
       BSS:			0x1ffef6b4
       Stack:			0x1f9a8f20
       Heap:			0x1f9a9000:0x1fea9000
raise: Signal # 8 caught
U-ENV offset == 0x200000
raise: Signal # 8 caught
U-ENV offset == 0x200000
       U-Boot Environment:	0x00200000:0x00220000 (NAND)

NAND:  128 MiB
MMC:   mv_sdh: 0
DEVINFO offset == 0x900000
U-ENV offset == 0x200000
U-ENV offset == 0x200000
S-ENV offset == 0x240000


#### auto_recovery ####
[u_env] get auto_recovery == yes
[u_env] get auto_recovery == yes
[u_env] get boot_part == 1
[u_env] get boot_part_ready == 3
auto_recovery enabled:1, boot_part:1, boot_part_ready:3 

S-ENV offset == 0x240000
[boot_count_read] block:0x240000, size:128KB, records:64 
[boot_count_read_record] boot_count:2, next_record:26

[boot_count_write] erase:0, auto_recovery->block_offset:0x240000 offset=0x24D000

Updating boot_count ... 
[boot_count_write] offset:0x24D000 , length:2048
done

PCI-e 0 (IF 0 - bus 0) Root Complex Interface, Detected Link X1, GEN 2.0
PCI-e 1 (IF 1 - bus 1) Root Complex Interface, Detected Link X1, GEN 1.1
USB2.0 0: Host Mode
USB3.0 1: Host Mode
USB3.0 0: Host Mode
Board configuration detected:
mvEthE6171SwitchBasicInit init 
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x01     |
| egiga1 |   SGMII   |     0x00     |
egiga0 [PRIME], egiga1
auto_recovery_check changes bootcmd: run nandboot 
Hit any key to stop autoboot:  0 
Marvell>> usb start
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 2) : USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Marvell>> setenv bootargs console=ttyS0,115200 root=/dev/sda2 rootdelay=2
Marvell>> fatload usb 0 0x6400000 uImage-5.0.0-rc6
reading uImage-5.0.0-rc6
2713748 bytes read in 110 ms (23.5 MiB/s)
Marvell>> fatload usb 0 0x7400000 uInitrd-5.0.0-rc6
reading uInitrd-5.0.0-rc6
1690436 bytes read in 85 ms (19 MiB/s)
Marvell>> bootm 0x6400000 0x7400000
## Booting kernel from Legacy Image at 06400000 ...
   Image Name:   uImage-5.0.0-rc6
   Created:      2019-02-12  16:02:20 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2713684 Bytes = 2.6 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 07400000 ...
   Image Name:   uInitrd-5.0.0-rc6
   Created:      2019-02-12  16:02:22 UTC
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    1690372 Bytes = 1.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 5.0.0-rc6 (leigh@dish) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #2 SMP Tue Feb 12 15:04:14 GMT 2019
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=50c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: Linksys WRT1900ACS
Memory policy: Data cache writealloc
random: get_random_bytes called from start_kernel+0x55/0x2d8 with crng_init=0
percpu: Embedded 16 pages/cpu @(ptrval) s34508 r8192 d22836 u65536
Built 1 zonelists, mobility grouping on.  Total pages: 130048
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rootdelay=2
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 510420K/524288K available (4096K kernel code, 211K rwdata, 1064K rodata, 1024K init, 117K bss, 13868K reserved, 0K cma-reserved)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
    lowmem  : 0xb0000000 - 0xd0000000   ( 512 MB)
    modules : 0xaf800000 - 0xb0000000   (   8 MB)
      .text : 0x(ptrval) - 0x(ptrval)   (5088 kB)
      .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
      .data : 0x(ptrval) - 0x(ptrval)   ( 212 kB)
       .bss : 0x(ptrval) - 0x(ptrval)   ( 118 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
rcu: Hierarchical RCU implementation.
rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 D prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
sched_clock: 64 bits at 800MHz, resolution 1ns, wraps every 4398046511103ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0xb881274fa3, max_idle_ns: 440795210636 ns
Switching to timer-based delay loop, resolution 1ns
Ignoring duplicate/late registration of read_current_timer delay
clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
Calibrating delay loop (skipped), value calculated using timer frequency.. 1600.00 BogoMIPS (lpj=8000000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
CPU0: Spectre v2: using BPIALL workaround
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x100000 - 0x100054
mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
mvebu-pmsu: Initializing Power Management Service Unit
rcu: Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
Booting CPU 1
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU1: Spectre v2: using BPIALL workaround
smp: Brought up 1 node, 2 CPUs
SMP: Total of 2 processors activated (3200.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 3, 32768 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
cryptd: max_cpu_qlen set to 1000
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
clocksource: Switched to clocksource arm_global_timer
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
Unpacking initramfs...
Freeing initrd memory: 1652K
Initialise system trusted keyrings
workingset: timestamp_bits=30 max_order=17 bucket_order=0
Key type asymmetric registered
Asymmetric key parser 'x509' registered
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [bus 00-ff]
pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI: bus1: Fast back to back transfers disabled
pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:02.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
PCI: bus2: Fast back to back transfers disabled
pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe01fffff]
pci 0000:00:02.0: BAR 8: assigned [mem 0xe0200000-0xe03fffff]
pci 0000:00:01.0: BAR 6: assigned [mem 0xe0400000-0xe04007ff pref]
pci 0000:00:02.0: BAR 6: assigned [mem 0xe0500000-0xe05007ff pref]
pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit pref]
pci 0000:01:00.0: BAR 2: assigned [mem 0xe0100000-0xe01fffff 64bit pref]
pci 0000:00:01.0: PCI bridge to [bus 01]
pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe01fffff]
pci 0000:02:00.0: BAR 0: assigned [mem 0xe0200000-0xe02fffff 64bit pref]
pci 0000:02:00.0: BAR 2: assigned [mem 0xe0300000-0xe03fffff 64bit pref]
pci 0000:00:02.0: PCI bridge to [bus 02]
pci 0000:00:02.0:   bridge window [mem 0xe0200000-0xe03fffff]
mv_xor f1060800.xor: Marvell shared XOR driver
mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
mv_xor f1060900.xor: Marvell shared XOR driver
mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
printk: console [ttyS0] disabled
f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
printk: console [ttyS0] enabled
ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
scsi host0: ahci-mvebu
scsi host1: ahci-mvebu
ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41
libphy: Fixed MDIO Bus: probed
libphy: orion_mdio_bus: probed
mv88e6085 f1072004.mdio-mii:00: switch 0x1760 detected: Marvell 88E6176, revision 1
libphy: mv88e6xxx SMI: probed
mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
mvneta f1070000.ethernet eth0: Using hardware mac address 58:ef:68:a5:f2:da
mvneta f1034000.ethernet eth1: Using random mac address 1e:b4:e6:ad:e9:9e
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-orion: EHCI orion driver
orion-ehci f1058000.usb: EHCI Host Controller
orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver cdc_wdm
usbcore: registered new interface driver usb-storage
orion_wdt: Initial timeout 171 sec
ledtrig-cpu: registered to indicate activity on CPUs
marvell-cesa f1090000.crypto: CESA device successfully registered
NET: Registered protocol family 10
Segment Routing with IPv6
NET: Registered protocol family 17
bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
8021q: 802.1Q VLAN Support v1.8
Registering SWP/SWPB emulation handler
ata2: SATA link down (SStatus 0 SControl 300)
ata1: SATA link down (SStatus 0 SControl 300)
Loading compiled-in X.509 certificates
usb_phy_generic usb3_1-phy: Linked as a consumer to regulator.1
mv88e6085 f1072004.mdio-mii:00: switch 0x1760 detected: Marvell 88E6176, revision 1
libphy: mv88e6xxx SMI: probed
usb 1-1: new high-speed USB device number 2 using orion-ehci
mv88e6085 f1072004.mdio-mii:00 lan4 (uninitialized): PHY [mv88e6xxx-1:00] driver [Marvell 88E1540]
mv88e6085 f1072004.mdio-mii:00 lan3 (uninitialized): PHY [mv88e6xxx-1:01] driver [Marvell 88E1540]
mv88e6085 f1072004.mdio-mii:00 lan2 (uninitialized): PHY [mv88e6xxx-1:02] driver [Marvell 88E1540]
mv88e6085 f1072004.mdio-mii:00 lan1 (uninitialized): PHY [mv88e6xxx-1:03] driver [Marvell 88E1540]
mv88e6085 f1072004.mdio-mii:00 wan (uninitialized): PHY [mv88e6xxx-1:04] driver [Marvell 88E1540]
DSA: tree 0 setup
xhci-hcd f10f8000.usb3: xHCI Host Controller
xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 2
xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
xhci-hcd f10f8000.usb3: irq 43, io mem 0xf10f8000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
xhci-hcd f10f8000.usb3: xHCI Host Controller
xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
xhci-hcd f10f8000.usb3: Host supports USB 3.0  SuperSpeed
usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
usb-storage 1-1:1.0: USB Mass Storage device detected
input: gpio-keys as /devices/platform/gpio-keys/input/input0
hctosys: unable to open rtc device (rtc0)
cfg80211: Loading compiled-in X.509 certificates for regulatory database
scsi host2: usb-storage 1-1:1.0
cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
cfg80211: failed to load regulatory.db
Freeing unused kernel memory: 1024K
Run /init as init process
Loading, please wait...
starting version 232
random: systemd-udevd: uninitialized urandom read (16 bytes read)
random: udevadm: uninitialized urandom read (16 bytes read)
random: systemd-udevd: uninitialized urandom read (16 bytes read)
Begin: Loading essential drivers ... done.
scsi 2:0:0:0: Direct-Access              USB DISK 2.0     PMAP PQ: 0 ANSI: 6
sd 2:0:0:0: [sda] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] No Caching mode page found
sd 2:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1 sda2
sd 2:0:0:0: [sda] Attached SCSI removable disk
random: fast init done
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.f2fs (1) -- /dev/sda2] fsck.f2fs -a /dev/sda2 
random: crng init done
random: 7 urandom warning(s) missed due to ratelimiting
Info: Fix the reported corruption.
Info: Segments per section = 1
Info: Sections per zone = 1
Info: sector size = 512
Info: total sectors = 7305216 (3567 MB)
Info: MKFS version
  "Linux version 4.16.8+ (leigh@dish) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #14 SMP Thu May 10 1F2FS-fs (sda2): recover fsync data on readonly fs
4:52:50 BST 2018F2FS-fs (sda2): Mounted with checkpoint version = 1eb7
"
Info: FSCK version
  from "Linux version 5.0.0-rc6 (leigh@dish) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #2 SMP Tue Feb 12 14:28:18 GMT 2019"
    to "Linux version 5.0.0-rc6 (leigh@dish) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #2 SMP Tue Feb 12 15:04:14 GMT 2019"
Info: superblock features = 0 : 
Info: superblock encrypt level = 0, salt = 00000000000000000000000000000000
Info: total FS sectors = 7305216 (3567 MB)
Info: CKPT version = 1eb7
Info: checkpoint state = 45 :  compacted_summary unmount

[FSCK] Unreachable nat entries                        [Ok..] [0x0]
[FSCK] SIT valid block bitmap checking                [Ok..]
[FSCK] Hard link checking for regular file            [Ok..] [0x3]
[FSCK] valid_block_count matching with CP             [Ok..] [0x305cb]
[FSCK] valid_node_count matcing with CP (de lookup)   [Ok..] [0x6f28]
[FSCK] valid_node_count matcing with CP (nat lookup)  [Ok..] [0x6f28]
[FSCK] valid_inode_count matched with CP              [Ok..] [0x6eeb]
[FSCK] free segment_count matched with CP             [Ok..] [0x559]
[FSCK] next block offset is free                      [Ok..]
[FSCK] fixing SIT types
[FSCK] other corrupted bugs                           [Ok..]

Done.
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...sd 2:0:0:0: Attached scsi generic sg0 type 0
<<Marvell Mac80211 Wireless PCIE Network Driver version 10.3.8.0-20181210>>
pci 0000:00:01.0: enabling device (0140 -> 0142)
ieee80211 phy0: device node: pcie@1,0
ieee80211 phy0: firmware version: 0x702091a
ieee80211 phy0: firmware region code: 30
ieee80211 phy0: 2G enabled, 5G enabled
ieee80211 phy0: 4 TX antennas, 4 RX antennas
pci 0000:00:02.0: enabling device (0140 -> 0142)
ieee80211 phy1: device node: pcie@2,0
ieee80211 phy1: firmware version: 0x702091a
ieee80211 phy1: firmware region code: 30
ieee80211 phy1: 2G enabled, 5G enabled
ieee80211 phy1: 4 TX antennas, 4 RX antennas
mwlwifi 0000:02:00.0 wlp2s0: renamed from wlan1
mwlwifi 0000:01:00.0 wlp1s0: renamed from wlan0
done.
[ ok ] Activating swap...done.
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.29.2
done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
mvneta f1070000.ethernet eth0: configuring for fixed/rgmii-id link mode
mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
mvneta f1034000.ethernet eth1: configuring for fixed/sgmii link mode
mvneta f1034000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
lan: port 1(lan1) entered blocking state
lan: port 1(lan1) entered disabled state
device lan1 entered promiscuous mode
device eth1 entered promiscuous mode
mv88e6085 f1072004.mdio-mii:00 lan1: configuring for phy/gmii link mode
lan: port 2(lan2) entered blocking state
lan: port 2(lan2) entered disabled state
device lan2 entered promiscuous mode
mv88e6085 f1072004.mdio-mii:00 lan2: configuring for phy/gmii link mode
lan: port 3(lan3) entered blocking state
lan: port 3(lan3) entered disabled state
device lan3 entered promiscuous mode
mv88e6085 f1072004.mdio-mii:00 lan3: configuring for phy/gmii link mode
lan: port 4(lan4) entered blocking state
lan: port 4(lan4) entered disabled state
device lan4 entered promiscuous mode
mv88e6085 f1072004.mdio-mii:00 lan4: configuring for phy/gmii link mode
[....] Configuring network interfaces...
Waiting for lan to get ready (MAXWAIT is 32 seconds).
Waiting for DAD... mv88e6085 f1072004.mdio-mii:00 lan1: Link is Up - 1Gbps/Full - flow control off
lan: port 1(lan1) entered blocking state
lan: port 1(lan1) entered forwarding state
IPv6: ADDRCONF(NETDEV_CHANGE): lan: link becomes ready
Done
Waiting for DAD... Done
Waiting for DAD... Done
Waiting for DAD... Done
Waiting for DAD... Done
done.
[ ok ] Cleaning up temporary files....
#### WARNING ####
The firewall won't be started/stopped unless it is configured

Please read about Debian specific customization in
/usr/share/doc/shorewall6/README.Debian.gz.
#################
#### WARNING ####
The firewall won't be started/stopped unless it is configured

Please read about Debian specific customization in
/usr/share/doc/shorewall/README.Debian.gz.
#################
^[[39;4INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2422 (syslogd)
. ok 
Starting radvd: 
* /etc/radvd.conf does not exist or is empty.
* See /usr/share/doc/radvd/README.Debian
* radvd will *not* be started.
Starting Dropbear SSH server: dropbear.
Starting /usr/sbin/chronyd...
[ ok ] Starting periodic command scheduler: cron.
Requesting: lan as upstream: Y downstream: Y
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2429 (klogd)
. ok 

Debian GNU/Linux 9 wrt1900acs ttyS0

wrt1900acs login: 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-02-12 16:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <01e409217be1c1cb08ac3bab072fccd3@solinno.co.uk>
     [not found] ` <20190129155913.163f1e98@windsurf>
     [not found]   ` <a56827554c95a3bcd8435d72167d35f9@solinno.co.uk>
     [not found]     ` <20190129163117.0af2ebb3@windsurf>
     [not found]       ` <8eb5b2981e6e60e91a3eacbb88a5ee7b@solinno.co.uk>
2019-01-31 15:46         ` Out-of-tree mwlwifi driver crashes Thomas Petazzoni
2019-01-31 16:06           ` Leigh Brown
2019-01-31 16:10             ` Thomas Petazzoni
2019-02-12 13:41             ` Thomas Petazzoni
2019-02-12 16:10               ` Leigh Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).