All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again
@ 2016-04-21 18:15 Andy Shevchenko
  2016-04-21 18:15   ` Andy Shevchenko
                   ` (23 more replies)
  0 siblings, 24 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson
  Cc: Andy Shevchenko

The last approach in the commit 8b3444852a2b ("sata_dwc_460ex: move to generic
DMA driver") to switch to generic DMA engine API wasn't tested on bare metal.
Besides that we expecting new board support coming with the same SATA IP but
with different DMA.

This series is targetting the following things:
- a few bug fixes to the original driver
- a part to fix the DMA engine usage and in particularly dw_dmac driver
- move driver to use generic PHY and "dmas" property which leads to update in DTS

The driver has been tested myself on Sam460ex and WD MyBookLive (apollo3g)
boards. In any case I ask Christian, Måns, and Julian to independently test and
provide Tested-by tag or error report.

Series depends on previously published but not yet fully applied series [1].

[1] http://www.spinics.net/lists/kernel/msg2239735.html

Andy Shevchenko (11):
  ata: sata_dwc_460ex: set dma_boundary to 0x1fff
  ata: sata_dwc_460ex: burst size must be in items not bytes
  ata: sata_dwc_460ex: DMA is always a flow controller
  ata: sata_dwc_460ex: select only core part of DMA driver
  ata: sata_dwc_460ex: don't call ata_sff_qc_issue() on DMA commands
  ata: sata_dwc_460ex: correct HOSTDEV{P}_FROM_*() macros
  ata: sata_dwc_460ex: supply physical address of FIFO to DMA
  ata: sata_dwc_460ex: switch to new dmaengine_terminate_* API
  ata: sata_dwc_460ex: use devm_ioremap
  ata: sata_dwc_460ex: make debug messages neat
  powerpc/4xx: Device tree update for the 460ex DWC SATA

Christian Lamparter (1):
  ata: sata_dwc_460ex: fix crash on offline links without an attached
    drive

Mans Rullgard (11):
  ata: sata_dwc_460ex: remove incorrect locking
  ata: sata_dwc_460ex: skip dma setup for non-dma commands
  ata: sata_dwc_460ex: use "dmas" DT property to find dma channel
  ata: sata_dwc_460ex: add phy support
  ata: sata_dwc_460ex: get rid of global data
  ata: sata_dwc_460ex: remove empty libata callback
  ata: sata_dwc_460ex: get rid of some pointless casts
  ata: sata_dwc_460ex: get rid of incorrect cast
  ata: sata_dwc_460ex: add __iomem to register base pointer
  ata: sata_dwc_460ex: use readl/writel_relaxed()
  ata: sata_dwc_460ex: tidy up sata_dwc_clear_dmacr()

 arch/powerpc/boot/dts/canyonlands.dts |  15 +-
 drivers/ata/Kconfig                   |  12 +-
 drivers/ata/sata_dwc_460ex.c          | 554 +++++++++++++++++-----------------
 3 files changed, 307 insertions(+), 274 deletions(-)

-- 
2.8.0.rc3

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

* [PATCH v1 01/23] ata: sata_dwc_460ex: remove incorrect locking
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
@ 2016-04-21 18:15   ` Andy Shevchenko
  2016-04-21 18:15   ` Andy Shevchenko
                     ` (22 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

From: Mans Rullgard <mans@mansr.com>

This lock is already taken in ata_scsi_queuecmd() a few levels up the
call stack so attempting to take it here is an error.  Moreover, it is
pointless in the first place since it only protects a single, atomic
assignment.

Enabling lock debugging gives the following output:

=============================================
[ INFO: possible recursive locking detected ]
4.4.0-rc5+ #189 Not tainted
---------------------------------------------
kworker/u2:3/37 is trying to acquire lock:
 (&(&host->lock)->rlock){-.-...}, at: [<90283294>] sata_dwc_exec_command_by_tag.constprop.14+0x44/0x8c

but task is already holding lock:
 (&(&host->lock)->rlock){-.-...}, at: [<902761ac>] ata_scsi_queuecmd+0x2c/0x330

other info that might help us debug this:
 Possible unsafe locking scenario:

       CPU0
       ----
  lock(&(&host->lock)->rlock);
  lock(&(&host->lock)->rlock);

 *** DEADLOCK ***
 May be due to missing lock nesting notation

4 locks held by kworker/u2:3/37:
 #0:  ("events_unbound"){.+.+.+}, at: [<9003a0a4>] process_one_work+0x12c/0x430
 #1:  ((&entry->work)){+.+.+.}, at: [<9003a0a4>] process_one_work+0x12c/0x430
 #2:  (&bdev->bd_mutex){+.+.+.}, at: [<9011fd54>] __blkdev_get+0x50/0x380
 #3:  (&(&host->lock)->rlock){-.-...}, at: [<902761ac>] ata_scsi_queuecmd+0x2c/0x330

stack backtrace:
CPU: 0 PID: 37 Comm: kworker/u2:3 Not tainted 4.4.0-rc5+ #189
Workqueue: events_unbound async_run_entry_fn
Stack : 90b38e30 00000021 00000003 9b2a6040 00000000 9005f3f0 904fc8dc 00000025
        906b96e4 00000000 90528648 9b3336c4 904fc8dc 9009bf18 00000002 00000004
        00000000 00000000 9b3336c4 9b3336e4 904fc8dc 9003d074 00000000 90500000
        9005e738 00000000 00000000 00000000 00000000 00000000 00000000 00000000
        6e657665 755f7374 756f626e 0000646e 00000000 00000000 9b00ca00 9b025000
          ...
Call Trace:
[<90009d6c>] show_stack+0x88/0xa4
[<90057744>] __lock_acquire+0x1ce8/0x2154
[<900583e4>] lock_acquire+0x64/0x8c
[<9045ff10>] _raw_spin_lock_irqsave+0x54/0x78
[<90283294>] sata_dwc_exec_command_by_tag.constprop.14+0x44/0x8c
[<90283484>] sata_dwc_qc_issue+0x1a8/0x24c
[<9026b39c>] ata_qc_issue+0x1f0/0x410
[<90273c6c>] ata_scsi_translate+0xb4/0x200
[<90276234>] ata_scsi_queuecmd+0xb4/0x330
[<9025800c>] scsi_dispatch_cmd+0xd0/0x128
[<90259934>] scsi_request_fn+0x58c/0x638
[<901a3e50>] __blk_run_queue+0x40/0x5c
[<901a83d4>] blk_queue_bio+0x27c/0x28c
[<901a5914>] generic_make_request+0xf0/0x188
[<901a5a54>] submit_bio+0xa8/0x194
[<9011adcc>] submit_bh_wbc.isra.23+0x15c/0x17c
[<9011c908>] block_read_full_page+0x3e4/0x428
[<9009e2e0>] do_read_cache_page+0xac/0x210
[<9009fd90>] read_cache_page+0x18/0x24
[<901bbd18>] read_dev_sector+0x38/0xb0
[<901bd174>] msdos_partition+0xb4/0x5c0
[<901bcb8c>] check_partition+0x140/0x274
[<901bba60>] rescan_partitions+0xa0/0x2b0
[<9011ff68>] __blkdev_get+0x264/0x380
[<901201ac>] blkdev_get+0x128/0x36c
[<901b9378>] add_disk+0x3c0/0x4bc
[<90268268>] sd_probe_async+0x100/0x224
[<90043a44>] async_run_entry_fn+0x50/0x124
[<9003a11c>] process_one_work+0x1a4/0x430
[<9003a4f4>] worker_thread+0x14c/0x4fc
[<900408f4>] kthread+0xd0/0xe8
[<90004338>] ret_from_kernel_thread+0x14/0x1c

Fixes: 62936009f35a ("[libata] Add 460EX on-chip SATA driver, sata_dwc_460ex")
Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 drivers/ata/sata_dwc_460ex.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 2cb6f7e..5213e22 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -924,15 +924,13 @@ static void sata_dwc_exec_command_by_tag(struct ata_port *ap,
 					 struct ata_taskfile *tf,
 					 u8 tag, u32 cmd_issued)
 {
-	unsigned long flags;
 	struct sata_dwc_device_port *hsdevp = HSDEVP_FROM_AP(ap);
 
 	dev_dbg(ap->dev, "%s cmd(0x%02x): %s tag=%d\n", __func__, tf->command,
 		ata_get_cmd_descript(tf->command), tag);
 
-	spin_lock_irqsave(&ap->host->lock, flags);
 	hsdevp->cmd_issued[tag] = cmd_issued;
-	spin_unlock_irqrestore(&ap->host->lock, flags);
+
 	/*
 	 * Clear SError before executing a new command.
 	 * sata_dwc_scr_write and read can not be used here. Clearing the PM
-- 
2.8.0.rc3

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

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

* [PATCH v1 01/23] ata: sata_dwc_460ex: remove incorrect locking
@ 2016-04-21 18:15   ` Andy Shevchenko
  0 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

From: Mans Rullgard <mans@mansr.com>

This lock is already taken in ata_scsi_queuecmd() a few levels up the
call stack so attempting to take it here is an error.  Moreover, it is
pointless in the first place since it only protects a single, atomic
assignment.

Enabling lock debugging gives the following output:

=============================================
[ INFO: possible recursive locking detected ]
4.4.0-rc5+ #189 Not tainted
---------------------------------------------
kworker/u2:3/37 is trying to acquire lock:
 (&(&host->lock)->rlock){-.-...}, at: [<90283294>] sata_dwc_exec_command_by_tag.constprop.14+0x44/0x8c

but task is already holding lock:
 (&(&host->lock)->rlock){-.-...}, at: [<902761ac>] ata_scsi_queuecmd+0x2c/0x330

other info that might help us debug this:
 Possible unsafe locking scenario:

       CPU0
       ----
  lock(&(&host->lock)->rlock);
  lock(&(&host->lock)->rlock);

 *** DEADLOCK ***
 May be due to missing lock nesting notation

4 locks held by kworker/u2:3/37:
 #0:  ("events_unbound"){.+.+.+}, at: [<9003a0a4>] process_one_work+0x12c/0x430
 #1:  ((&entry->work)){+.+.+.}, at: [<9003a0a4>] process_one_work+0x12c/0x430
 #2:  (&bdev->bd_mutex){+.+.+.}, at: [<9011fd54>] __blkdev_get+0x50/0x380
 #3:  (&(&host->lock)->rlock){-.-...}, at: [<902761ac>] ata_scsi_queuecmd+0x2c/0x330

stack backtrace:
CPU: 0 PID: 37 Comm: kworker/u2:3 Not tainted 4.4.0-rc5+ #189
Workqueue: events_unbound async_run_entry_fn
Stack : 90b38e30 00000021 00000003 9b2a6040 00000000 9005f3f0 904fc8dc 00000025
        906b96e4 00000000 90528648 9b3336c4 904fc8dc 9009bf18 00000002 00000004
        00000000 00000000 9b3336c4 9b3336e4 904fc8dc 9003d074 00000000 90500000
        9005e738 00000000 00000000 00000000 00000000 00000000 00000000 00000000
        6e657665 755f7374 756f626e 0000646e 00000000 00000000 9b00ca00 9b025000
          ...
Call Trace:
[<90009d6c>] show_stack+0x88/0xa4
[<90057744>] __lock_acquire+0x1ce8/0x2154
[<900583e4>] lock_acquire+0x64/0x8c
[<9045ff10>] _raw_spin_lock_irqsave+0x54/0x78
[<90283294>] sata_dwc_exec_command_by_tag.constprop.14+0x44/0x8c
[<90283484>] sata_dwc_qc_issue+0x1a8/0x24c
[<9026b39c>] ata_qc_issue+0x1f0/0x410
[<90273c6c>] ata_scsi_translate+0xb4/0x200
[<90276234>] ata_scsi_queuecmd+0xb4/0x330
[<9025800c>] scsi_dispatch_cmd+0xd0/0x128
[<90259934>] scsi_request_fn+0x58c/0x638
[<901a3e50>] __blk_run_queue+0x40/0x5c
[<901a83d4>] blk_queue_bio+0x27c/0x28c
[<901a5914>] generic_make_request+0xf0/0x188
[<901a5a54>] submit_bio+0xa8/0x194
[<9011adcc>] submit_bh_wbc.isra.23+0x15c/0x17c
[<9011c908>] block_read_full_page+0x3e4/0x428
[<9009e2e0>] do_read_cache_page+0xac/0x210
[<9009fd90>] read_cache_page+0x18/0x24
[<901bbd18>] read_dev_sector+0x38/0xb0
[<901bd174>] msdos_partition+0xb4/0x5c0
[<901bcb8c>] check_partition+0x140/0x274
[<901bba60>] rescan_partitions+0xa0/0x2b0
[<9011ff68>] __blkdev_get+0x264/0x380
[<901201ac>] blkdev_get+0x128/0x36c
[<901b9378>] add_disk+0x3c0/0x4bc
[<90268268>] sd_probe_async+0x100/0x224
[<90043a44>] async_run_entry_fn+0x50/0x124
[<9003a11c>] process_one_work+0x1a4/0x430
[<9003a4f4>] worker_thread+0x14c/0x4fc
[<900408f4>] kthread+0xd0/0xe8
[<90004338>] ret_from_kernel_thread+0x14/0x1c

Fixes: 62936009f35a ("[libata] Add 460EX on-chip SATA driver, sata_dwc_460ex")
Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 drivers/ata/sata_dwc_460ex.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 2cb6f7e..5213e22 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -924,15 +924,13 @@ static void sata_dwc_exec_command_by_tag(struct ata_port *ap,
 					 struct ata_taskfile *tf,
 					 u8 tag, u32 cmd_issued)
 {
-	unsigned long flags;
 	struct sata_dwc_device_port *hsdevp = HSDEVP_FROM_AP(ap);
 
 	dev_dbg(ap->dev, "%s cmd(0x%02x): %s tag=%d\n", __func__, tf->command,
 		ata_get_cmd_descript(tf->command), tag);
 
-	spin_lock_irqsave(&ap->host->lock, flags);
 	hsdevp->cmd_issued[tag] = cmd_issued;
-	spin_unlock_irqrestore(&ap->host->lock, flags);
+
 	/*
 	 * Clear SError before executing a new command.
 	 * sata_dwc_scr_write and read can not be used here. Clearing the PM
-- 
2.8.0.rc3

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

* [PATCH v1 02/23] ata: sata_dwc_460ex: fix crash on offline links without an attached drive
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
@ 2016-04-21 18:15   ` Andy Shevchenko
  2016-04-21 18:15   ` Andy Shevchenko
                     ` (22 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

From: Christian Lamparter <chunkeey@googlemail.com>

This patch fixes Machine Check "Data Write PLB Error" which happens
when libata-sff's ata_sff_dev_select is trying to write into the
device_addr in order to select a drive. However, SATA has no master
or slave devices like the old ATA Bus, therefore selecting a
different drive is kind of pointless.

Data Write PLB Error
Oops: Machine check, sig: 7 [#1]
PowerPC 44x Platform
Modules linked in:
CPU: 0 PID: 508 Comm: scsi_eh_0 Not tainted 4.6.0-rc3-next-20160412+ #10
[...]
NIP [c027e820] ata_sff_dev_select+0x3c/0x44
LR [c027e810] ata_sff_dev_select+0x2c/0x44
Call Trace:
[cec31cd0] [c027da00] ata_sff_postreset+0x40/0xb4 (unreliable)
[cec31ce0] [c027a03c] ata_eh_reset+0x5cc/0x928
[cec31d60] [c027a840] ata_eh_recover+0x330/0x10bc
[cec31df0] [c027bae0] ata_do_eh+0x4c/0xa4
[...]

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
---
 drivers/ata/sata_dwc_460ex.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 5213e22..7f95389 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -1134,6 +1134,11 @@ static int sata_dwc_hardreset(struct ata_link *link, unsigned int *class,
 	return ret;
 }
 
+static void sata_dwc_dev_select(struct ata_port *ap, unsigned int device)
+{
+	/* SATA DWC is master only */
+}
+
 /*
  * scsi mid-layer and libata interface structures
  */
@@ -1164,6 +1169,8 @@ static struct ata_port_operations sata_dwc_ops = {
 	.port_start		= sata_dwc_port_start,
 	.port_stop		= sata_dwc_port_stop,
 
+	.sff_dev_select		= sata_dwc_dev_select,
+
 	.bmdma_setup		= sata_dwc_bmdma_setup,
 	.bmdma_start		= sata_dwc_bmdma_start,
 };
-- 
2.8.0.rc3

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

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

* [PATCH v1 02/23] ata: sata_dwc_460ex: fix crash on offline links without an attached drive
@ 2016-04-21 18:15   ` Andy Shevchenko
  0 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

From: Christian Lamparter <chunkeey@googlemail.com>

This patch fixes Machine Check "Data Write PLB Error" which happens
when libata-sff's ata_sff_dev_select is trying to write into the
device_addr in order to select a drive. However, SATA has no master
or slave devices like the old ATA Bus, therefore selecting a
different drive is kind of pointless.

Data Write PLB Error
Oops: Machine check, sig: 7 [#1]
PowerPC 44x Platform
Modules linked in:
CPU: 0 PID: 508 Comm: scsi_eh_0 Not tainted 4.6.0-rc3-next-20160412+ #10
[...]
NIP [c027e820] ata_sff_dev_select+0x3c/0x44
LR [c027e810] ata_sff_dev_select+0x2c/0x44
Call Trace:
[cec31cd0] [c027da00] ata_sff_postreset+0x40/0xb4 (unreliable)
[cec31ce0] [c027a03c] ata_eh_reset+0x5cc/0x928
[cec31d60] [c027a840] ata_eh_recover+0x330/0x10bc
[cec31df0] [c027bae0] ata_do_eh+0x4c/0xa4
[...]

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
---
 drivers/ata/sata_dwc_460ex.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 5213e22..7f95389 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -1134,6 +1134,11 @@ static int sata_dwc_hardreset(struct ata_link *link, unsigned int *class,
 	return ret;
 }
 
+static void sata_dwc_dev_select(struct ata_port *ap, unsigned int device)
+{
+	/* SATA DWC is master only */
+}
+
 /*
  * scsi mid-layer and libata interface structures
  */
@@ -1164,6 +1169,8 @@ static struct ata_port_operations sata_dwc_ops = {
 	.port_start		= sata_dwc_port_start,
 	.port_stop		= sata_dwc_port_stop,
 
+	.sff_dev_select		= sata_dwc_dev_select,
+
 	.bmdma_setup		= sata_dwc_bmdma_setup,
 	.bmdma_start		= sata_dwc_bmdma_start,
 };
-- 
2.8.0.rc3

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

* [PATCH v1 03/23] ata: sata_dwc_460ex: set dma_boundary to 0x1fff
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
  2016-04-21 18:15   ` Andy Shevchenko
  2016-04-21 18:15   ` Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-22 13:13   ` Sergei Shtylyov
  2016-04-21 18:15 ` [PATCH v1 04/23] ata: sata_dwc_460ex: burst size must be in items not bytes Andy Shevchenko
                   ` (20 subsequent siblings)
  23 siblings, 1 reply; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson
  Cc: Andy Shevchenko

The original code states:

	Make sure a LLI block is not created that will span 8K max FIS
	boundary. If the block spans such a FIS boundary, there is a chance
	that a DMA burst will cross that boundary -- this results in an error
	in the host controller.

Since we have switched to generic DMAengine API we satisfy above by setting
dma_boundary value to 0x1fff.

Suggested-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/ata/sata_dwc_460ex.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 7f95389..aee8873 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -1151,7 +1151,13 @@ static struct scsi_host_template sata_dwc_sht = {
 	 */
 	.sg_tablesize		= LIBATA_MAX_PRD,
 	/* .can_queue		= ATA_MAX_QUEUE, */
-	.dma_boundary		= ATA_DMA_BOUNDARY,
+	/*
+	 * Make sure a LLI block is not created that will span 8K max FIS
+	 * boundary. If the block spans such a FIS boundary, there is a chance
+	 * that a DMA burst will cross that boundary -- this results in an
+	 * error in the host controller.
+	 */
+	.dma_boundary		= 0x1fff /* ATA_DMA_BOUNDARY */,
 };
 
 static struct ata_port_operations sata_dwc_ops = {
-- 
2.8.0.rc3

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

* [PATCH v1 04/23] ata: sata_dwc_460ex: burst size must be in items not bytes
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (2 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 03/23] ata: sata_dwc_460ex: set dma_boundary to 0x1fff Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 05/23] ata: sata_dwc_460ex: DMA is always a flow controller Andy Shevchenko
                   ` (19 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson
  Cc: Andy Shevchenko

The burst size as defined by DMAengine API is in items of address width. Derive
burst size from AHB_DMA_BRST_DFLT (64 bytes) by dividing it to
DMA_SLAVE_BUSWIDTH_4_BYTES (4 bytes) that gives us 16 items.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/ata/sata_dwc_460ex.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index aee8873..4cac27d 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -65,7 +65,7 @@
 #define NO_IRQ		0
 #endif
 
-#define AHB_DMA_BRST_DFLT	64	/* 16 data items burst length*/
+#define AHB_DMA_BRST_DFLT	64	/* 16 data items burst length */
 
 enum {
 	SATA_DWC_MAX_PORTS = 1,
@@ -318,8 +318,8 @@ static struct dma_async_tx_descriptor *dma_dwc_xfer_setup(struct ata_queued_cmd
 	}
 
 	sconf.direction = qc->dma_dir;
-	sconf.src_maxburst = AHB_DMA_BRST_DFLT;
-	sconf.dst_maxburst = AHB_DMA_BRST_DFLT;
+	sconf.src_maxburst = AHB_DMA_BRST_DFLT / 4;	/* in items */
+	sconf.dst_maxburst = AHB_DMA_BRST_DFLT / 4;	/* in items */
 	sconf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
 	sconf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
 
-- 
2.8.0.rc3

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

* [PATCH v1 05/23] ata: sata_dwc_460ex: DMA is always a flow controller
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (3 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 04/23] ata: sata_dwc_460ex: burst size must be in items not bytes Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 06/23] ata: sata_dwc_460ex: select only core part of DMA driver Andy Shevchenko
                   ` (18 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson
  Cc: Andy Shevchenko

In the original code the DMA is always a flow controller. Set this accordingly
in updated code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/ata/sata_dwc_460ex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 4cac27d..1250e18 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -311,7 +311,7 @@ static struct dma_async_tx_descriptor *dma_dwc_xfer_setup(struct ata_queued_cmd
 
 	if (qc->dma_dir == DMA_DEV_TO_MEM) {
 		sconf.src_addr = addr;
-		sconf.device_fc = true;
+		sconf.device_fc = false;
 	} else {	/* DMA_MEM_TO_DEV */
 		sconf.dst_addr = addr;
 		sconf.device_fc = false;
-- 
2.8.0.rc3


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

* [PATCH v1 06/23] ata: sata_dwc_460ex: select only core part of DMA driver
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (4 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 05/23] ata: sata_dwc_460ex: DMA is always a flow controller Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 07/23] ata: sata_dwc_460ex: skip dma setup for non-dma commands Andy Shevchenko
                   ` (17 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson
  Cc: Andy Shevchenko

There is no need to have a platform driver compiled since the DMA driver is
used as a library.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/ata/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index cfa936a..7c6e43a 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -314,7 +314,7 @@ config ATA_PIIX
 config SATA_DWC
 	tristate "DesignWare Cores SATA support"
 	depends on 460EX
-	select DW_DMAC
+	select DW_DMAC_CORE
 	help
 	  This option enables support for the on-chip SATA controller of the
 	  AppliedMicro processor 460EX.
-- 
2.8.0.rc3

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

* [PATCH v1 07/23] ata: sata_dwc_460ex: skip dma setup for non-dma commands
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (5 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 06/23] ata: sata_dwc_460ex: select only core part of DMA driver Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 08/23] ata: sata_dwc_460ex: don't call ata_sff_qc_issue() on DMA commands Andy Shevchenko
                   ` (16 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

From: Mans Rullgard <mans@mansr.com>

Calling dmaengine_prep_slave_sg() for non-dma ATA commands is
unnecessary at best and could be harmful if the dma driver reacts
badly to this.  It also causes this driver to print a bogus error
message in these cases.

This patch changes sata_dwc_qc_issue() to only do the dma setup
for dma commands and also reports an error to libata if if fails.

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 drivers/ata/sata_dwc_460ex.c | 35 +++++++++--------------------------
 1 file changed, 9 insertions(+), 26 deletions(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 1250e18..038e5fb 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -1023,36 +1023,12 @@ static void sata_dwc_bmdma_start(struct ata_queued_cmd *qc)
 	sata_dwc_bmdma_start_by_tag(qc, tag);
 }
 
-/*
- * Function : sata_dwc_qc_prep_by_tag
- * arguments : ata_queued_cmd *qc, u8 tag
- * Return value : None
- * qc_prep for a particular queued command based on tag
- */
-static void sata_dwc_qc_prep_by_tag(struct ata_queued_cmd *qc, u8 tag)
-{
-	struct dma_async_tx_descriptor *desc;
-	struct ata_port *ap = qc->ap;
-	struct sata_dwc_device_port *hsdevp = HSDEVP_FROM_AP(ap);
-
-	dev_dbg(ap->dev, "%s: port=%d dma dir=%s n_elem=%d\n",
-		__func__, ap->port_no, get_dma_dir_descript(qc->dma_dir),
-		 qc->n_elem);
-
-	desc = dma_dwc_xfer_setup(qc);
-	if (!desc) {
-		dev_err(ap->dev, "%s: dma_dwc_xfer_setup returns NULL\n",
-			__func__);
-		return;
-	}
-	hsdevp->desc[tag] = desc;
-}
-
 static unsigned int sata_dwc_qc_issue(struct ata_queued_cmd *qc)
 {
 	u32 sactive;
 	u8 tag = qc->tag;
 	struct ata_port *ap = qc->ap;
+	struct sata_dwc_device_port *hsdevp = HSDEVP_FROM_AP(ap);
 
 #ifdef DEBUG_NCQ
 	if (qc->tag > 0 || ap->link.sactive > 1)
@@ -1066,7 +1042,14 @@ static unsigned int sata_dwc_qc_issue(struct ata_queued_cmd *qc)
 
 	if (!ata_is_ncq(qc->tf.protocol))
 		tag = 0;
-	sata_dwc_qc_prep_by_tag(qc, tag);
+
+	if (ata_is_dma(qc->tf.protocol)) {
+		hsdevp->desc[tag] = dma_dwc_xfer_setup(qc);
+		if (!hsdevp->desc[tag])
+			return AC_ERR_SYSTEM;
+	} else {
+		hsdevp->desc[tag] = NULL;
+	}
 
 	if (ata_is_ncq(qc->tf.protocol)) {
 		sactive = core_scr_read(SCR_ACTIVE);
-- 
2.8.0.rc3

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

* [PATCH v1 08/23] ata: sata_dwc_460ex: don't call ata_sff_qc_issue() on DMA commands
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (6 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 07/23] ata: sata_dwc_460ex: skip dma setup for non-dma commands Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-22 11:32     ` David Laight
  2016-04-21 18:15 ` [PATCH v1 09/23] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel Andy Shevchenko
                   ` (15 subsequent siblings)
  23 siblings, 1 reply; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson
  Cc: Andy Shevchenko

ata_sff_qc_issue() can't handle DMA commands and thus we have to avoid it for
them. Do call ata_bmdma_qc_issue() instead for this case.

Suggested-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/ata/sata_dwc_460ex.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 038e5fb..845c35d 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -1061,10 +1061,12 @@ static unsigned int sata_dwc_qc_issue(struct ata_queued_cmd *qc)
 			__func__, tag, qc->ap->link.sactive, sactive);
 
 		ap->ops->sff_tf_load(ap, &qc->tf);
-		sata_dwc_exec_command_by_tag(ap, &qc->tf, qc->tag,
+		sata_dwc_exec_command_by_tag(ap, &qc->tf, tag,
 					     SATA_DWC_CMD_ISSUED_PEND);
+	} else if (ata_is_dma(qc->tf.protocol)) {
+		return ata_bmdma_qc_issue(qc);
 	} else {
-		ata_sff_qc_issue(qc);
+		return ata_sff_qc_issue(qc);
 	}
 	return 0;
 }
-- 
2.8.0.rc3

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

* [PATCH v1 09/23] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (7 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 08/23] ata: sata_dwc_460ex: don't call ata_sff_qc_issue() on DMA commands Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 10/23] ata: sata_dwc_460ex: add phy support Andy Shevchenko
                   ` (14 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

From: Mans Rullgard <mans@mansr.com>

Currently this driver only works with a DesignWare DMA engine which it
registers manually using the second "reg" address range and interrupt
number from the DT node.

This patch makes the driver instead use the "dmas" property if present,
otherwise optionally falling back on the old way so existing device
trees can continue to work.

With this change, there is no longer any reason to depend on the 460EX
machine type so drop that from Kconfig.

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 drivers/ata/Kconfig          |  11 ++-
 drivers/ata/sata_dwc_460ex.c | 198 ++++++++++++++++++++++++++++---------------
 2 files changed, 138 insertions(+), 71 deletions(-)

diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 7c6e43a..ede126d 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -313,14 +313,21 @@ config ATA_PIIX
 
 config SATA_DWC
 	tristate "DesignWare Cores SATA support"
-	depends on 460EX
-	select DW_DMAC_CORE
 	help
 	  This option enables support for the on-chip SATA controller of the
 	  AppliedMicro processor 460EX.
 
 	  If unsure, say N.
 
+config SATA_DWC_OLD_DMA
+	bool "Support old device trees"
+	depends on SATA_DWC
+	select DW_DMAC_CORE
+	default y if 460EX
+	help
+	  This option enables support for old device trees without the
+	  "dmas" property.
+
 config SATA_DWC_DEBUG
 	bool "Debugging driver version"
 	depends on SATA_DWC
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 845c35d..daaa8a6 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -30,6 +30,7 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/device.h>
+#include <linux/dmaengine.h>
 #include <linux/of_address.h>
 #include <linux/of_irq.h>
 #include <linux/of_platform.h>
@@ -42,10 +43,6 @@
 #include <scsi/scsi_host.h>
 #include <scsi/scsi_cmnd.h>
 
-/* Supported DMA engine drivers */
-#include <linux/platform_data/dma-dw.h>
-#include <linux/dma/dw.h>
-
 /* These two are defined in "libata.h" */
 #undef	DRV_NAME
 #undef	DRV_VERSION
@@ -148,7 +145,9 @@ struct sata_dwc_device {
 	struct ata_host		*host;
 	u8 __iomem		*reg_base;
 	struct sata_dwc_regs	*sata_dwc_regs;	/* DW Synopsys SATA specific */
+#ifdef CONFIG_SATA_DWC_OLD_DMA
 	struct dw_dma_chip	*dma;
+#endif
 };
 
 #define SATA_DWC_QCMD_MAX	32
@@ -159,7 +158,6 @@ struct sata_dwc_device_port {
 	int			dma_pending[SATA_DWC_QCMD_MAX];
 
 	/* DMA info */
-	struct dw_dma_slave		*dws;
 	struct dma_chan			*chan;
 	struct dma_async_tx_descriptor	*desc[SATA_DWC_QCMD_MAX];
 	u32				dma_interrupt_count;
@@ -198,13 +196,6 @@ struct sata_dwc_host_priv {
 
 static struct sata_dwc_host_priv host_pvt;
 
-static struct dw_dma_slave sata_dwc_dma_dws = {
-	.src_id = 0,
-	.dst_id = 0,
-	.m_master = 1,
-	.p_master = 0,
-};
-
 /*
  * Prototypes
  */
@@ -215,6 +206,99 @@ static void sata_dwc_dma_xfer_complete(struct ata_port *ap, u32 check_status);
 static void sata_dwc_port_stop(struct ata_port *ap);
 static void sata_dwc_clear_dmacr(struct sata_dwc_device_port *hsdevp, u8 tag);
 
+#ifdef CONFIG_SATA_DWC_OLD_DMA
+
+#include <linux/platform_data/dma-dw.h>
+#include <linux/dma/dw.h>
+
+static struct dw_dma_slave sata_dwc_dma_dws = {
+	.src_id = 0,
+	.dst_id = 0,
+	.m_master = 1,
+	.p_master = 0,
+};
+
+static bool sata_dwc_dma_filter(struct dma_chan *chan, void *param)
+{
+	struct dw_dma_slave *dws = &sata_dwc_dma_dws;
+
+	if (dws->dma_dev != chan->device->dev)
+		return false;
+
+	chan->private = dws;
+	return true;
+}
+
+static int sata_dwc_dma_get_channel_old(struct sata_dwc_device_port *hsdevp)
+{
+	struct sata_dwc_device *hsdev = hsdevp->hsdev;
+	struct dw_dma_slave *dws = &sata_dwc_dma_dws;
+	dma_cap_mask_t mask;
+
+	dws->dma_dev = hsdev->dev;
+
+	dma_cap_zero(mask);
+	dma_cap_set(DMA_SLAVE, mask);
+
+	/* Acquire DMA channel */
+	hsdevp->chan = dma_request_channel(mask, sata_dwc_dma_filter, hsdevp);
+	if (!hsdevp->chan) {
+		dev_err(hsdev->dev, "%s: dma channel unavailable\n",
+			 __func__);
+		return -EAGAIN;
+	}
+
+	return 0;
+}
+
+static int sata_dwc_dma_init_old(struct platform_device *pdev,
+				 struct sata_dwc_device *hsdev)
+{
+	struct device_node *np = pdev->dev.of_node;
+	int err;
+
+	hsdev->dma = devm_kzalloc(&pdev->dev, sizeof(*hsdev->dma), GFP_KERNEL);
+	if (!hsdev->dma)
+		return -ENOMEM;
+
+	hsdev->dma->dev = &pdev->dev;
+
+	/* Get SATA DMA interrupt number */
+	hsdev->dma->irq = irq_of_parse_and_map(np, 1);
+	if (hsdev->dma->irq == NO_IRQ) {
+		dev_err(&pdev->dev, "no SATA DMA irq\n");
+		return -ENODEV;
+	}
+
+	/* Get physical SATA DMA register base address */
+	hsdev->dma->regs = of_iomap(np, 1);
+	if (!hsdev->dma->regs) {
+		dev_err(&pdev->dev,
+			"ioremap failed for AHBDMA register address\n");
+		return -ENODEV;
+	}
+
+	/* Initialize AHB DMAC */
+	err = dw_dma_probe(hsdev->dma);
+	if (err) {
+		iounmap(hsdev->dma->regs);
+		return err;
+	}
+
+	return 0;
+}
+
+static void sata_dwc_dma_exit_old(struct sata_dwc_device *hsdev)
+{
+	if (!hsdev->dma)
+		return;
+
+	dw_dma_remove(hsdev->dma);
+	iounmap(hsdev->dma->regs);
+}
+
+#endif
+
 static const char *get_prot_descript(u8 protocol)
 {
 	switch ((enum ata_tf_protocols)protocol) {
@@ -783,18 +867,6 @@ static void sata_dwc_enable_interrupts(struct sata_dwc_device *hsdev)
 		in_le32(&hsdev->sata_dwc_regs->errmr));
 }
 
-static bool sata_dwc_dma_filter(struct dma_chan *chan, void *param)
-{
-	struct sata_dwc_device_port *hsdevp = param;
-	struct dw_dma_slave *dws = hsdevp->dws;
-
-	if (dws->dma_dev != chan->device->dev)
-		return false;
-
-	chan->private = dws;
-	return true;
-}
-
 static void sata_dwc_setup_port(struct ata_ioports *port, unsigned long base)
 {
 	port->cmd_addr = (void __iomem *)base + 0x00;
@@ -817,6 +889,26 @@ static void sata_dwc_setup_port(struct ata_ioports *port, unsigned long base)
 	port->ctl_addr = (void __iomem *)base + 0x20;
 }
 
+static int sata_dwc_dma_get_channel(struct sata_dwc_device_port *hsdevp)
+{
+	struct sata_dwc_device *hsdev = hsdevp->hsdev;
+	struct device *dev = hsdev->dev;
+
+#ifdef CONFIG_SATA_DWC_OLD_DMA
+	if (!of_find_property(dev->of_node, "dmas", NULL))
+		return sata_dwc_dma_get_channel_old(hsdevp);
+#endif
+
+	hsdevp->chan = dma_request_chan(dev, "sata-dma");
+	if (IS_ERR(hsdevp->chan)) {
+		dev_err(dev, "failed to allocate dma channel: %ld\n",
+			PTR_ERR(hsdevp->chan));
+		return PTR_ERR(hsdevp->chan);
+	}
+
+	return 0;
+}
+
 /*
  * Function : sata_dwc_port_start
  * arguments : struct ata_ioports *port
@@ -829,7 +921,6 @@ static int sata_dwc_port_start(struct ata_port *ap)
 	struct sata_dwc_device *hsdev;
 	struct sata_dwc_device_port *hsdevp = NULL;
 	struct device *pdev;
-	dma_cap_mask_t mask;
 	int i;
 
 	hsdev = HSDEV_FROM_AP(ap);
@@ -853,20 +944,9 @@ static int sata_dwc_port_start(struct ata_port *ap)
 	}
 	hsdevp->hsdev = hsdev;
 
-	hsdevp->dws = &sata_dwc_dma_dws;
-	hsdevp->dws->dma_dev = hsdev->dev;
-
-	dma_cap_zero(mask);
-	dma_cap_set(DMA_SLAVE, mask);
-
-	/* Acquire DMA channel */
-	hsdevp->chan = dma_request_channel(mask, sata_dwc_dma_filter, hsdevp);
-	if (!hsdevp->chan) {
-		dev_err(hsdev->dev, "%s: dma channel unavailable\n",
-			 __func__);
-		err = -EAGAIN;
+	err = sata_dwc_dma_get_channel(hsdevp);
+	if (err)
 		goto CLEANUP_ALLOC;
-	}
 
 	for (i = 0; i < SATA_DWC_QCMD_MAX; i++)
 		hsdevp->cmd_issued[i] = SATA_DWC_CMD_ISSUED_NOT;
@@ -1221,33 +1301,9 @@ static int sata_dwc_probe(struct platform_device *ofdev)
 	dev_notice(&ofdev->dev, "id %d, controller version %c.%c%c\n",
 		   idr, ver[0], ver[1], ver[2]);
 
-	/* Get SATA DMA interrupt number */
-	hsdev->dma->irq = irq_of_parse_and_map(np, 1);
-	if (hsdev->dma->irq == NO_IRQ) {
-		dev_err(&ofdev->dev, "no SATA DMA irq\n");
-		err = -ENODEV;
-		goto error_iomap;
-	}
-
-	/* Get physical SATA DMA register base address */
-	hsdev->dma->regs = of_iomap(np, 1);
-	if (!hsdev->dma->regs) {
-		dev_err(&ofdev->dev,
-			"ioremap failed for AHBDMA register address\n");
-		err = -ENODEV;
-		goto error_iomap;
-	}
-
 	/* Save dev for later use in dev_xxx() routines */
 	hsdev->dev = &ofdev->dev;
 
-	hsdev->dma->dev = &ofdev->dev;
-
-	/* Initialize AHB DMAC */
-	err = dw_dma_probe(hsdev->dma);
-	if (err)
-		goto error_dma_iomap;
-
 	/* Enable SATA Interrupts */
 	sata_dwc_enable_interrupts(hsdev);
 
@@ -1259,6 +1315,14 @@ static int sata_dwc_probe(struct platform_device *ofdev)
 		goto error_out;
 	}
 
+#ifdef CONFIG_SATA_DWC_OLD_DMA
+	if (!of_find_property(np, "dmas", NULL)) {
+		err = sata_dwc_dma_init_old(ofdev, hsdev);
+		if (err)
+			goto error_out;
+	}
+#endif
+
 	/*
 	 * Now, register with libATA core, this will also initiate the
 	 * device discovery process, invoking our port_start() handler &
@@ -1272,11 +1336,6 @@ static int sata_dwc_probe(struct platform_device *ofdev)
 	return 0;
 
 error_out:
-	/* Free SATA DMA resources */
-	dw_dma_remove(hsdev->dma);
-error_dma_iomap:
-	iounmap(hsdev->dma->regs);
-error_iomap:
 	iounmap(base);
 	return err;
 }
@@ -1289,10 +1348,11 @@ static int sata_dwc_remove(struct platform_device *ofdev)
 
 	ata_host_detach(host);
 
+#ifdef CONFIG_SATA_DWC_OLD_DMA
 	/* Free SATA DMA resources */
-	dw_dma_remove(hsdev->dma);
+	sata_dwc_dma_exit_old(hsdev);
+#endif
 
-	iounmap(hsdev->dma->regs);
 	iounmap(hsdev->reg_base);
 	dev_dbg(&ofdev->dev, "done\n");
 	return 0;
-- 
2.8.0.rc3


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

* [PATCH v1 10/23] ata: sata_dwc_460ex: add phy support
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (8 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 09/23] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 11/23] ata: sata_dwc_460ex: get rid of global data Andy Shevchenko
                   ` (13 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

From: Mans Rullgard <mans@mansr.com>

This adds support for powering on an optional PHY when activating the
device.

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 drivers/ata/Kconfig          |  1 +
 drivers/ata/sata_dwc_460ex.c | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index ede126d..41b0725 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -313,6 +313,7 @@ config ATA_PIIX
 
 config SATA_DWC
 	tristate "DesignWare Cores SATA support"
+	select GENERIC_PHY
 	help
 	  This option enables support for the on-chip SATA controller of the
 	  AppliedMicro processor 460EX.
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index daaa8a6..4d23fbd 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -35,6 +35,7 @@
 #include <linux/of_irq.h>
 #include <linux/of_platform.h>
 #include <linux/platform_device.h>
+#include <linux/phy/phy.h>
 #include <linux/libata.h>
 #include <linux/slab.h>
 
@@ -145,6 +146,7 @@ struct sata_dwc_device {
 	struct ata_host		*host;
 	u8 __iomem		*reg_base;
 	struct sata_dwc_regs	*sata_dwc_regs;	/* DW Synopsys SATA specific */
+	struct phy		*phy;
 #ifdef CONFIG_SATA_DWC_OLD_DMA
 	struct dw_dma_chip	*dma;
 #endif
@@ -948,6 +950,10 @@ static int sata_dwc_port_start(struct ata_port *ap)
 	if (err)
 		goto CLEANUP_ALLOC;
 
+	err = phy_power_on(hsdev->phy);
+	if (err)
+		goto CLEANUP_ALLOC;
+
 	for (i = 0; i < SATA_DWC_QCMD_MAX; i++)
 		hsdevp->cmd_issued[i] = SATA_DWC_CMD_ISSUED_NOT;
 
@@ -983,11 +989,13 @@ CLEANUP:
 static void sata_dwc_port_stop(struct ata_port *ap)
 {
 	struct sata_dwc_device_port *hsdevp = HSDEVP_FROM_AP(ap);
+	struct sata_dwc_device *hsdev = HSDEV_FROM_AP(ap);
 
 	dev_dbg(ap->dev, "%s: ap->id = %d\n", __func__, ap->print_id);
 
 	dmaengine_terminate_all(hsdevp->chan);
 	dma_release_channel(hsdevp->chan);
+	phy_power_off(hsdev->phy);
 
 	kfree(hsdevp);
 	ap->private_data = NULL;
@@ -1323,6 +1331,17 @@ static int sata_dwc_probe(struct platform_device *ofdev)
 	}
 #endif
 
+	hsdev->phy = devm_phy_optional_get(hsdev->dev, "sata-phy");
+	if (IS_ERR(hsdev->phy)) {
+		err = PTR_ERR(hsdev->phy);
+		hsdev->phy = NULL;
+		goto error_out;
+	}
+
+	err = phy_init(hsdev->phy);
+	if (err)
+		goto error_out;
+
 	/*
 	 * Now, register with libATA core, this will also initiate the
 	 * device discovery process, invoking our port_start() handler &
@@ -1336,6 +1355,7 @@ static int sata_dwc_probe(struct platform_device *ofdev)
 	return 0;
 
 error_out:
+	phy_exit(hsdev->phy);
 	iounmap(base);
 	return err;
 }
@@ -1348,6 +1368,8 @@ static int sata_dwc_remove(struct platform_device *ofdev)
 
 	ata_host_detach(host);
 
+	phy_exit(hsdev->phy);
+
 #ifdef CONFIG_SATA_DWC_OLD_DMA
 	/* Free SATA DMA resources */
 	sata_dwc_dma_exit_old(hsdev);
-- 
2.8.0.rc3

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

* [PATCH v1 11/23] ata: sata_dwc_460ex: get rid of global data
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (9 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 10/23] ata: sata_dwc_460ex: add phy support Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 12/23] ata: sata_dwc_460ex: correct HOSTDEV{P}_FROM_*() macros Andy Shevchenko
                   ` (12 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

From: Mans Rullgard <mans@mansr.com>

This moves all global data into the driver private struct, thus
permitting multiple devices of this type to be used.

The core_scr_read/write() functions are replaced with equivalent
calls to the existing sata_dwc_scr_read/write().

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 drivers/ata/sata_dwc_460ex.c | 79 ++++++++++++++++----------------------------
 1 file changed, 29 insertions(+), 50 deletions(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 4d23fbd..8e7c1b0 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -146,6 +146,8 @@ struct sata_dwc_device {
 	struct ata_host		*host;
 	u8 __iomem		*reg_base;
 	struct sata_dwc_regs	*sata_dwc_regs;	/* DW Synopsys SATA specific */
+	u32			sactive_issued;
+	u32			sactive_queued;
 	struct phy		*phy;
 #ifdef CONFIG_SATA_DWC_OLD_DMA
 	struct dw_dma_chip	*dma;
@@ -190,14 +192,6 @@ enum {
 	SATA_DWC_DMA_PENDING_RX		= 2,
 };
 
-struct sata_dwc_host_priv {
-	void	__iomem	 *scr_addr_sstatus;
-	u32	sata_dwc_sactive_issued ;
-	u32	sata_dwc_sactive_queued ;
-};
-
-static struct sata_dwc_host_priv host_pvt;
-
 /*
  * Prototypes
  */
@@ -457,21 +451,11 @@ static int sata_dwc_scr_write(struct ata_link *link, unsigned int scr, u32 val)
 	return 0;
 }
 
-static u32 core_scr_read(unsigned int scr)
-{
-	return in_le32(host_pvt.scr_addr_sstatus + (scr * 4));
-}
-
-static void core_scr_write(unsigned int scr, u32 val)
-{
-	out_le32(host_pvt.scr_addr_sstatus + (scr * 4), val);
-}
-
-static void clear_serror(void)
+static void clear_serror(struct ata_port *ap)
 {
 	u32 val;
-	val = core_scr_read(SCR_ERROR);
-	core_scr_write(SCR_ERROR, val);
+	sata_dwc_scr_read(&ap->link, SCR_ERROR, &val);
+	sata_dwc_scr_write(&ap->link, SCR_ERROR, val);
 }
 
 static void clear_interrupt_bit(struct sata_dwc_device *hsdev, u32 bit)
@@ -498,7 +482,7 @@ static void sata_dwc_error_intr(struct ata_port *ap,
 
 	ata_ehi_clear_desc(ehi);
 
-	serror = core_scr_read(SCR_ERROR);
+	sata_dwc_scr_read(&ap->link, SCR_ERROR, &serror);
 	status = ap->ops->sff_check_status(ap);
 
 	tag = ap->link.active_tag;
@@ -509,7 +493,7 @@ static void sata_dwc_error_intr(struct ata_port *ap,
 		hsdevp->dma_pending[tag], hsdevp->cmd_issued[tag]);
 
 	/* Clear error register and interrupt bit */
-	clear_serror();
+	clear_serror(ap);
 	clear_interrupt_bit(hsdev, SATA_DWC_INTPR_ERR);
 
 	/* This is the only error happening now.  TODO check for exact error */
@@ -548,7 +532,7 @@ static irqreturn_t sata_dwc_isr(int irq, void *dev_instance)
 	int handled, num_processed, port = 0;
 	uint intpr, sactive, sactive2, tag_mask;
 	struct sata_dwc_device_port *hsdevp;
-	host_pvt.sata_dwc_sactive_issued = 0;
+	hsdev->sactive_issued = 0;
 
 	spin_lock_irqsave(&host->lock, flags);
 
@@ -577,7 +561,7 @@ static irqreturn_t sata_dwc_isr(int irq, void *dev_instance)
 		if (hsdevp->cmd_issued[tag] != SATA_DWC_CMD_ISSUED_PEND)
 			dev_warn(ap->dev, "CMD tag=%d not pending?\n", tag);
 
-		host_pvt.sata_dwc_sactive_issued |= qcmd_tag_to_mask(tag);
+		hsdev->sactive_issued |= qcmd_tag_to_mask(tag);
 
 		qc = ata_qc_from_tag(ap, tag);
 		/*
@@ -591,11 +575,11 @@ static irqreturn_t sata_dwc_isr(int irq, void *dev_instance)
 		handled = 1;
 		goto DONE;
 	}
-	sactive = core_scr_read(SCR_ACTIVE);
-	tag_mask = (host_pvt.sata_dwc_sactive_issued | sactive) ^ sactive;
+	sata_dwc_scr_read(&ap->link, SCR_ACTIVE, &sactive);
+	tag_mask = (hsdev->sactive_issued | sactive) ^ sactive;
 
 	/* If no sactive issued and tag_mask is zero then this is not NCQ */
-	if (host_pvt.sata_dwc_sactive_issued == 0 && tag_mask == 0) {
+	if (hsdev->sactive_issued == 0 && tag_mask == 0) {
 		if (ap->link.active_tag == ATA_TAG_POISON)
 			tag = 0;
 		else
@@ -665,22 +649,19 @@ DRVSTILLBUSY:
 	 */
 
 	 /* process completed commands */
-	sactive = core_scr_read(SCR_ACTIVE);
-	tag_mask = (host_pvt.sata_dwc_sactive_issued | sactive) ^ sactive;
+	sata_dwc_scr_read(&ap->link, SCR_ACTIVE, &sactive);
+	tag_mask = (hsdev->sactive_issued | sactive) ^ sactive;
 
-	if (sactive != 0 || (host_pvt.sata_dwc_sactive_issued) > 1 || \
-							tag_mask > 1) {
+	if (sactive != 0 || hsdev->sactive_issued > 1 || tag_mask > 1) {
 		dev_dbg(ap->dev,
 			"%s NCQ:sactive=0x%08x  sactive_issued=0x%08x tag_mask=0x%08x\n",
-			__func__, sactive, host_pvt.sata_dwc_sactive_issued,
-			tag_mask);
+			__func__, sactive, hsdev->sactive_issued, tag_mask);
 	}
 
-	if ((tag_mask | (host_pvt.sata_dwc_sactive_issued)) != \
-					(host_pvt.sata_dwc_sactive_issued)) {
+	if ((tag_mask | hsdev->sactive_issued) != hsdev->sactive_issued) {
 		dev_warn(ap->dev,
-			 "Bad tag mask?  sactive=0x%08x (host_pvt.sata_dwc_sactive_issued)=0x%08x  tag_mask=0x%08x\n",
-			 sactive, host_pvt.sata_dwc_sactive_issued, tag_mask);
+			 "Bad tag mask?  sactive=0x%08x sactive_issued=0x%08x  tag_mask=0x%08x\n",
+			 sactive, hsdev->sactive_issued, tag_mask);
 	}
 
 	/* read just to clear ... not bad if currently still busy */
@@ -742,7 +723,7 @@ STILLBUSY:
 	 * we were processing --we read status as part of processing a completed
 	 * command).
 	 */
-	sactive2 = core_scr_read(SCR_ACTIVE);
+	sata_dwc_scr_read(&ap->link, SCR_ACTIVE, &sactive2);
 	if (sactive2 != sactive) {
 		dev_dbg(ap->dev,
 			"More completed - sactive=0x%x sactive2=0x%x\n",
@@ -828,8 +809,9 @@ static int sata_dwc_qc_complete(struct ata_port *ap, struct ata_queued_cmd *qc,
 	u8 status = 0;
 	u32 mask = 0x0;
 	u8 tag = qc->tag;
+	struct sata_dwc_device *hsdev = HSDEV_FROM_AP(ap);
 	struct sata_dwc_device_port *hsdevp = HSDEVP_FROM_AP(ap);
-	host_pvt.sata_dwc_sactive_queued = 0;
+	hsdev->sactive_queued = 0;
 	dev_dbg(ap->dev, "%s checkstatus? %x\n", __func__, check_status);
 
 	if (hsdevp->dma_pending[tag] == SATA_DWC_DMA_PENDING_TX)
@@ -842,10 +824,8 @@ static int sata_dwc_qc_complete(struct ata_port *ap, struct ata_queued_cmd *qc,
 
 	/* clear active bit */
 	mask = (~(qcmd_tag_to_mask(tag)));
-	host_pvt.sata_dwc_sactive_queued = (host_pvt.sata_dwc_sactive_queued) \
-						& mask;
-	host_pvt.sata_dwc_sactive_issued = (host_pvt.sata_dwc_sactive_issued) \
-						& mask;
+	hsdev->sactive_queued = hsdev->sactive_queued & mask;
+	hsdev->sactive_issued = hsdev->sactive_issued & mask;
 	ata_qc_complete(qc);
 	return 0;
 }
@@ -974,7 +954,7 @@ static int sata_dwc_port_start(struct ata_port *ap)
 	}
 
 	/* Clear any error bits before libata starts issuing commands */
-	clear_serror();
+	clear_serror(ap);
 	ap->private_data = hsdevp;
 	dev_dbg(ap->dev, "%s: done\n", __func__);
 	return 0;
@@ -1025,7 +1005,7 @@ static void sata_dwc_exec_command_by_tag(struct ata_port *ap,
 	 * managed SError register for the disk needs to be done before the
 	 * task file is loaded.
 	 */
-	clear_serror();
+	clear_serror(ap);
 	ata_sff_exec_command(ap, tf);
 }
 
@@ -1078,7 +1058,7 @@ static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag)
 	sata_dwc_tf_dump(ap, &qc->tf);
 
 	if (start_dma) {
-		reg = core_scr_read(SCR_ERROR);
+		sata_dwc_scr_read(&ap->link, SCR_ERROR, &reg);
 		if (reg & SATA_DWC_SERROR_ERR_BITS) {
 			dev_err(ap->dev, "%s: ****** SError=0x%08x ******\n",
 				__func__, reg);
@@ -1140,9 +1120,9 @@ static unsigned int sata_dwc_qc_issue(struct ata_queued_cmd *qc)
 	}
 
 	if (ata_is_ncq(qc->tf.protocol)) {
-		sactive = core_scr_read(SCR_ACTIVE);
+		sata_dwc_scr_read(&ap->link, SCR_ACTIVE, &sactive);
 		sactive |= (0x00000001 << tag);
-		core_scr_write(SCR_ACTIVE, sactive);
+		sata_dwc_scr_write(&ap->link, SCR_ACTIVE, sactive);
 
 		dev_dbg(qc->ap->dev,
 			"%s: tag=%d ap->link.sactive = 0x%08x sactive=0x%08x\n",
@@ -1300,7 +1280,6 @@ static int sata_dwc_probe(struct platform_device *ofdev)
 	/* Setup port */
 	host->ports[0]->ioaddr.cmd_addr = base;
 	host->ports[0]->ioaddr.scr_addr = base + SATA_DWC_SCR_OFFSET;
-	host_pvt.scr_addr_sstatus = base + SATA_DWC_SCR_OFFSET;
 	sata_dwc_setup_port(&host->ports[0]->ioaddr, (unsigned long)base);
 
 	/* Read the ID and Version Registers */
-- 
2.8.0.rc3

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

* [PATCH v1 12/23] ata: sata_dwc_460ex: correct HOSTDEV{P}_FROM_*() macros
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (10 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 11/23] ata: sata_dwc_460ex: get rid of global data Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 13/23] ata: sata_dwc_460ex: remove empty libata callback Andy Shevchenko
                   ` (11 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson
  Cc: Andy Shevchenko

Here we refactor HOSTDEV{P}_FROM_*() macros to fit one line and fix the
definition of HSDEV_FROM_HSDEVP() where wrong name of the parameter waas used.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/ata/sata_dwc_460ex.c | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 8e7c1b0..5bec790 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -168,18 +168,13 @@ struct sata_dwc_device_port {
 };
 
 /*
- * Commonly used DWC SATA driver Macros
+ * Commonly used DWC SATA driver macros
  */
-#define HSDEV_FROM_HOST(host)  ((struct sata_dwc_device *)\
-					(host)->private_data)
-#define HSDEV_FROM_AP(ap)  ((struct sata_dwc_device *)\
-					(ap)->host->private_data)
-#define HSDEVP_FROM_AP(ap)   ((struct sata_dwc_device_port *)\
-					(ap)->private_data)
-#define HSDEV_FROM_QC(qc)	((struct sata_dwc_device *)\
-					(qc)->ap->host->private_data)
-#define HSDEV_FROM_HSDEVP(p)	((struct sata_dwc_device *)\
-						(hsdevp)->hsdev)
+#define HSDEV_FROM_HOST(host)	((struct sata_dwc_device *)(host)->private_data)
+#define HSDEV_FROM_AP(ap)	((struct sata_dwc_device *)(ap)->host->private_data)
+#define HSDEVP_FROM_AP(ap)	((struct sata_dwc_device_port *)(ap)->private_data)
+#define HSDEV_FROM_QC(qc)	((struct sata_dwc_device *)(qc)->ap->host->private_data)
+#define HSDEV_FROM_HSDEVP(p)	((struct sata_dwc_device *)(p)->hsdev)
 
 enum {
 	SATA_DWC_CMD_ISSUED_NOT		= 0,
-- 
2.8.0.rc3

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

* [PATCH v1 13/23] ata: sata_dwc_460ex: remove empty libata callback
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (11 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 12/23] ata: sata_dwc_460ex: correct HOSTDEV{P}_FROM_*() macros Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 14/23] ata: sata_dwc_460ex: get rid of some pointless casts Andy Shevchenko
                   ` (10 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

From: Mans Rullgard <mans@mansr.com>

The sata_dwc_qc_prep() does nothing.  Use the default ata_noop_qc_prep
instead.

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 drivers/ata/sata_dwc_460ex.c | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 5bec790..571ecd1 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -1134,27 +1134,6 @@ static unsigned int sata_dwc_qc_issue(struct ata_queued_cmd *qc)
 	return 0;
 }
 
-/*
- * Function : sata_dwc_qc_prep
- * arguments : ata_queued_cmd *qc
- * Return value : None
- * qc_prep for a particular queued command
- */
-
-static void sata_dwc_qc_prep(struct ata_queued_cmd *qc)
-{
-	if ((qc->dma_dir == DMA_NONE) || (qc->tf.protocol == ATA_PROT_PIO))
-		return;
-
-#ifdef DEBUG_NCQ
-	if (qc->tag > 0)
-		dev_info(qc->ap->dev, "%s: qc->tag=%d ap->active_tag=0x%08x\n",
-			 __func__, qc->tag, qc->ap->link.active_tag);
-
-	return ;
-#endif
-}
-
 static void sata_dwc_error_handler(struct ata_port *ap)
 {
 	ata_sff_error_handler(ap);
@@ -1214,7 +1193,6 @@ static struct ata_port_operations sata_dwc_ops = {
 	.error_handler		= sata_dwc_error_handler,
 	.hardreset		= sata_dwc_hardreset,
 
-	.qc_prep		= sata_dwc_qc_prep,
 	.qc_issue		= sata_dwc_qc_issue,
 
 	.scr_read		= sata_dwc_scr_read,
-- 
2.8.0.rc3

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

* [PATCH v1 14/23] ata: sata_dwc_460ex: get rid of some pointless casts
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (12 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 13/23] ata: sata_dwc_460ex: remove empty libata callback Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 15/23] ata: sata_dwc_460ex: get rid of incorrect cast Andy Shevchenko
                   ` (9 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

From: Mans Rullgard <mans@mansr.com>

Casting a pointer to unsigned long only to immediately cast it back
to a pointer makes no sense.  Fix this.


Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 drivers/ata/sata_dwc_460ex.c | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 571ecd1..9e8271d 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -844,26 +844,26 @@ static void sata_dwc_enable_interrupts(struct sata_dwc_device *hsdev)
 		in_le32(&hsdev->sata_dwc_regs->errmr));
 }
 
-static void sata_dwc_setup_port(struct ata_ioports *port, unsigned long base)
+static void sata_dwc_setup_port(struct ata_ioports *port, void __iomem *base)
 {
-	port->cmd_addr = (void __iomem *)base + 0x00;
-	port->data_addr = (void __iomem *)base + 0x00;
+	port->cmd_addr		= base + 0x00;
+	port->data_addr		= base + 0x00;
 
-	port->error_addr = (void __iomem *)base + 0x04;
-	port->feature_addr = (void __iomem *)base + 0x04;
+	port->error_addr	= base + 0x04;
+	port->feature_addr	= base + 0x04;
 
-	port->nsect_addr = (void __iomem *)base + 0x08;
+	port->nsect_addr	= base + 0x08;
 
-	port->lbal_addr = (void __iomem *)base + 0x0c;
-	port->lbam_addr = (void __iomem *)base + 0x10;
-	port->lbah_addr = (void __iomem *)base + 0x14;
+	port->lbal_addr		= base + 0x0c;
+	port->lbam_addr		= base + 0x10;
+	port->lbah_addr		= base + 0x14;
 
-	port->device_addr = (void __iomem *)base + 0x18;
-	port->command_addr = (void __iomem *)base + 0x1c;
-	port->status_addr = (void __iomem *)base + 0x1c;
+	port->device_addr	= base + 0x18;
+	port->command_addr	= base + 0x1c;
+	port->status_addr	= base + 0x1c;
 
-	port->altstatus_addr = (void __iomem *)base + 0x20;
-	port->ctl_addr = (void __iomem *)base + 0x20;
+	port->altstatus_addr	= base + 0x20;
+	port->ctl_addr		= base + 0x20;
 }
 
 static int sata_dwc_dma_get_channel(struct sata_dwc_device_port *hsdevp)
@@ -1253,7 +1253,7 @@ static int sata_dwc_probe(struct platform_device *ofdev)
 	/* Setup port */
 	host->ports[0]->ioaddr.cmd_addr = base;
 	host->ports[0]->ioaddr.scr_addr = base + SATA_DWC_SCR_OFFSET;
-	sata_dwc_setup_port(&host->ports[0]->ioaddr, (unsigned long)base);
+	sata_dwc_setup_port(&host->ports[0]->ioaddr, base);
 
 	/* Read the ID and Version Registers */
 	idr = in_le32(&hsdev->sata_dwc_regs->idr);
-- 
2.8.0.rc3

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

* [PATCH v1 15/23] ata: sata_dwc_460ex: get rid of incorrect cast
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (13 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 14/23] ata: sata_dwc_460ex: get rid of some pointless casts Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 16/23] ata: sata_dwc_460ex: add __iomem to register base pointer Andy Shevchenko
                   ` (8 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

From: Mans Rullgard <mans@mansr.com>

The (void *__iomem) cast is wrong.  Change the target type of the
"base" pointer to void __iomem instead and drop the cast.

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 drivers/ata/sata_dwc_460ex.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 9e8271d..0eca56f2 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -1221,7 +1221,7 @@ static int sata_dwc_probe(struct platform_device *ofdev)
 	struct sata_dwc_device *hsdev;
 	u32 idr, versionr;
 	char *ver = (char *)&versionr;
-	u8 __iomem *base;
+	void __iomem *base;
 	int err = 0;
 	int irq;
 	struct ata_host *host;
@@ -1248,7 +1248,7 @@ static int sata_dwc_probe(struct platform_device *ofdev)
 	dev_dbg(&ofdev->dev, "ioremap done for SATA register address\n");
 
 	/* Synopsys DWC SATA specific Registers */
-	hsdev->sata_dwc_regs = (void *__iomem)(base + SATA_DWC_REG_OFFSET);
+	hsdev->sata_dwc_regs = base + SATA_DWC_REG_OFFSET;
 
 	/* Setup port */
 	host->ports[0]->ioaddr.cmd_addr = base;
-- 
2.8.0.rc3

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

* [PATCH v1 16/23] ata: sata_dwc_460ex: add __iomem to register base pointer
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (14 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 15/23] ata: sata_dwc_460ex: get rid of incorrect cast Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 17/23] ata: sata_dwc_460ex: supply physical address of FIFO to DMA Andy Shevchenko
                   ` (7 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

From: Mans Rullgard <mans@mansr.com>

The pointer to the mmio register base is missing the __iomem
annotation.  Fix this.

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 drivers/ata/sata_dwc_460ex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 0eca56f2..42248b2 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -145,7 +145,7 @@ struct sata_dwc_device {
 	struct ata_probe_ent	*pe;		/* ptr to probe-ent */
 	struct ata_host		*host;
 	u8 __iomem		*reg_base;
-	struct sata_dwc_regs	*sata_dwc_regs;	/* DW Synopsys SATA specific */
+	struct sata_dwc_regs __iomem *sata_dwc_regs;	/* DW SATA specific */
 	u32			sactive_issued;
 	u32			sactive_queued;
 	struct phy		*phy;
-- 
2.8.0.rc3


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

* [PATCH v1 17/23] ata: sata_dwc_460ex: supply physical address of FIFO to DMA
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (15 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 16/23] ata: sata_dwc_460ex: add __iomem to register base pointer Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 18/23] ata: sata_dwc_460ex: switch to new dmaengine_terminate_* API Andy Shevchenko
                   ` (6 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson
  Cc: Andy Shevchenko

DMA operates with physical addresses which is not exactly the same as ioremap()
returns.

Introduce variable to keep physical address of the SATA FIFO register and
supply it when prepare DMA channel.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/ata/sata_dwc_460ex.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 42248b2..7810405 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -100,7 +100,7 @@ struct sata_dwc_regs {
 	u32 versionr;		/* Version Register */
 	u32 idr;		/* ID Register */
 	u32 unimpl[192];	/* Unimplemented */
-	u32 dmadr[256];	/* FIFO Locations in DMA Mode */
+	u32 dmadr[256];		/* FIFO Locations in DMA Mode */
 };
 
 enum {
@@ -149,6 +149,7 @@ struct sata_dwc_device {
 	u32			sactive_issued;
 	u32			sactive_queued;
 	struct phy		*phy;
+	phys_addr_t		dmadr;
 #ifdef CONFIG_SATA_DWC_OLD_DMA
 	struct dw_dma_chip	*dma;
 #endif
@@ -380,15 +381,14 @@ static struct dma_async_tx_descriptor *dma_dwc_xfer_setup(struct ata_queued_cmd
 	struct ata_port *ap = qc->ap;
 	struct sata_dwc_device_port *hsdevp = HSDEVP_FROM_AP(ap);
 	struct sata_dwc_device *hsdev = HSDEV_FROM_AP(ap);
-	dma_addr_t addr = (dma_addr_t)&hsdev->sata_dwc_regs->dmadr;
 	struct dma_slave_config sconf;
 	struct dma_async_tx_descriptor *desc;
 
 	if (qc->dma_dir == DMA_DEV_TO_MEM) {
-		sconf.src_addr = addr;
+		sconf.src_addr = hsdev->dmadr;
 		sconf.device_fc = false;
 	} else {	/* DMA_MEM_TO_DEV */
-		sconf.dst_addr = addr;
+		sconf.dst_addr = hsdev->dmadr;
 		sconf.device_fc = false;
 	}
 
@@ -411,8 +411,8 @@ static struct dma_async_tx_descriptor *dma_dwc_xfer_setup(struct ata_queued_cmd
 	desc->callback = dma_dwc_xfer_done;
 	desc->callback_param = hsdev;
 
-	dev_dbg(hsdev->dev, "%s sg: 0x%p, count: %d addr: %pad\n",
-		__func__, qc->sg, qc->n_elem, &addr);
+	dev_dbg(hsdev->dev, "%s sg: 0x%p, count: %d addr: %pa\n", __func__,
+		qc->sg, qc->n_elem, &hsdev->dmadr);
 
 	return desc;
 }
@@ -1249,6 +1249,7 @@ static int sata_dwc_probe(struct platform_device *ofdev)
 
 	/* Synopsys DWC SATA specific Registers */
 	hsdev->sata_dwc_regs = base + SATA_DWC_REG_OFFSET;
+	hsdev->dmadr = res->start + SATA_DWC_REG_OFFSET + offsetof(struct sata_dwc_regs, dmadr);
 
 	/* Setup port */
 	host->ports[0]->ioaddr.cmd_addr = base;
-- 
2.8.0.rc3

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

* [PATCH v1 18/23] ata: sata_dwc_460ex: switch to new dmaengine_terminate_* API
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (16 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 17/23] ata: sata_dwc_460ex: supply physical address of FIFO to DMA Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 19/23] ata: sata_dwc_460ex: use readl/writel_relaxed() Andy Shevchenko
                   ` (5 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson
  Cc: Andy Shevchenko

Convert dmaengine_terminate_all() calls to synchronous and asynchronous
versions where appropriate.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/ata/sata_dwc_460ex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 7810405..229e122 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -968,7 +968,7 @@ static void sata_dwc_port_stop(struct ata_port *ap)
 
 	dev_dbg(ap->dev, "%s: ap->id = %d\n", __func__, ap->print_id);
 
-	dmaengine_terminate_all(hsdevp->chan);
+	dmaengine_terminate_sync(hsdevp->chan);
 	dma_release_channel(hsdevp->chan);
 	phy_power_off(hsdev->phy);
 
-- 
2.8.0.rc3

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

* [PATCH v1 19/23] ata: sata_dwc_460ex: use readl/writel_relaxed()
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (17 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 18/23] ata: sata_dwc_460ex: switch to new dmaengine_terminate_* API Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 20/23] ata: sata_dwc_460ex: tidy up sata_dwc_clear_dmacr() Andy Shevchenko
                   ` (4 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

From: Mans Rullgard <mans@mansr.com>

Rename the register access macros and use standard _relaxed()
ops instead of __raw variants with explicit byte swapping.

The original driver used the ppc-specific in/out_le32().  When it
was adapted to other systems, these were added to the driver
under ifdefs.  However, those names are not defined as macros on
ppc, so it ended up replacing them there as well with altered
semantics.  This patch restores the original semantics on ppc and
makes the accesses no less strict on other systems.

Also fixes too many sparse warnings to count.

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 drivers/ata/sata_dwc_460ex.c | 91 +++++++++++++++++++++-----------------------
 1 file changed, 43 insertions(+), 48 deletions(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 229e122..2029f43 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -51,13 +51,8 @@
 #define DRV_NAME        "sata-dwc"
 #define DRV_VERSION     "1.3"
 
-#ifndef out_le32
-#define out_le32(a, v)	__raw_writel(__cpu_to_le32(v), (void __iomem *)(a))
-#endif
-
-#ifndef in_le32
-#define in_le32(a)	__le32_to_cpu(__raw_readl((void __iomem *)(a)))
-#endif
+#define sata_dwc_writel(a, v)	writel_relaxed(v, a)
+#define sata_dwc_readl(a)	readl_relaxed(a)
 
 #ifndef NO_IRQ
 #define NO_IRQ		0
@@ -425,7 +420,7 @@ static int sata_dwc_scr_read(struct ata_link *link, unsigned int scr, u32 *val)
 		return -EINVAL;
 	}
 
-	*val = in_le32(link->ap->ioaddr.scr_addr + (scr * 4));
+	*val = sata_dwc_readl(link->ap->ioaddr.scr_addr + (scr * 4));
 	dev_dbg(link->ap->dev, "%s: id=%d reg=%d val=val=0x%08x\n",
 		__func__, link->ap->print_id, scr, *val);
 
@@ -441,7 +436,7 @@ static int sata_dwc_scr_write(struct ata_link *link, unsigned int scr, u32 val)
 			 __func__, scr);
 		return -EINVAL;
 	}
-	out_le32(link->ap->ioaddr.scr_addr + (scr * 4), val);
+	sata_dwc_writel(link->ap->ioaddr.scr_addr + (scr * 4), val);
 
 	return 0;
 }
@@ -455,8 +450,8 @@ static void clear_serror(struct ata_port *ap)
 
 static void clear_interrupt_bit(struct sata_dwc_device *hsdev, u32 bit)
 {
-	out_le32(&hsdev->sata_dwc_regs->intpr,
-		 in_le32(&hsdev->sata_dwc_regs->intpr));
+	sata_dwc_writel(&hsdev->sata_dwc_regs->intpr,
+			sata_dwc_readl(&hsdev->sata_dwc_regs->intpr));
 }
 
 static u32 qcmd_tag_to_mask(u8 tag)
@@ -532,7 +527,7 @@ static irqreturn_t sata_dwc_isr(int irq, void *dev_instance)
 	spin_lock_irqsave(&host->lock, flags);
 
 	/* Read the interrupt register */
-	intpr = in_le32(&hsdev->sata_dwc_regs->intpr);
+	intpr = sata_dwc_readl(&hsdev->sata_dwc_regs->intpr);
 
 	ap = host->ports[port];
 	hsdevp = HSDEVP_FROM_AP(ap);
@@ -551,7 +546,7 @@ static irqreturn_t sata_dwc_isr(int irq, void *dev_instance)
 	if (intpr & SATA_DWC_INTPR_NEWFP) {
 		clear_interrupt_bit(hsdev, SATA_DWC_INTPR_NEWFP);
 
-		tag = (u8)(in_le32(&hsdev->sata_dwc_regs->fptagr));
+		tag = (u8)(sata_dwc_readl(&hsdev->sata_dwc_regs->fptagr));
 		dev_dbg(ap->dev, "%s: NEWFP tag=%d\n", __func__, tag);
 		if (hsdevp->cmd_issued[tag] != SATA_DWC_CMD_ISSUED_PEND)
 			dev_warn(ap->dev, "CMD tag=%d not pending?\n", tag);
@@ -736,13 +731,13 @@ static void sata_dwc_clear_dmacr(struct sata_dwc_device_port *hsdevp, u8 tag)
 	struct sata_dwc_device *hsdev = HSDEV_FROM_HSDEVP(hsdevp);
 
 	if (hsdevp->dma_pending[tag] == SATA_DWC_DMA_PENDING_RX) {
-		out_le32(&(hsdev->sata_dwc_regs->dmacr),
-			 SATA_DWC_DMACR_RX_CLEAR(
-				 in_le32(&(hsdev->sata_dwc_regs->dmacr))));
+		sata_dwc_writel(&hsdev->sata_dwc_regs->dmacr,
+			SATA_DWC_DMACR_RX_CLEAR(
+				sata_dwc_readl(&hsdev->sata_dwc_regs->dmacr)));
 	} else if (hsdevp->dma_pending[tag] == SATA_DWC_DMA_PENDING_TX) {
-		out_le32(&(hsdev->sata_dwc_regs->dmacr),
-			 SATA_DWC_DMACR_TX_CLEAR(
-				 in_le32(&(hsdev->sata_dwc_regs->dmacr))));
+		sata_dwc_writel(&hsdev->sata_dwc_regs->dmacr,
+			SATA_DWC_DMACR_TX_CLEAR(
+				sata_dwc_readl(&hsdev->sata_dwc_regs->dmacr)));
 	} else {
 		/*
 		 * This should not happen, it indicates the driver is out of
@@ -751,9 +746,9 @@ static void sata_dwc_clear_dmacr(struct sata_dwc_device_port *hsdevp, u8 tag)
 		dev_err(hsdev->dev,
 			"%s DMA protocol RX and TX DMA not pending tag=0x%02x pending=%d dmacr: 0x%08x\n",
 			__func__, tag, hsdevp->dma_pending[tag],
-			in_le32(&hsdev->sata_dwc_regs->dmacr));
-		out_le32(&(hsdev->sata_dwc_regs->dmacr),
-			SATA_DWC_DMACR_TXRXCH_CLEAR);
+			sata_dwc_readl(&hsdev->sata_dwc_regs->dmacr));
+		sata_dwc_writel(&hsdev->sata_dwc_regs->dmacr,
+				SATA_DWC_DMACR_TXRXCH_CLEAR);
 	}
 }
 
@@ -778,7 +773,7 @@ static void sata_dwc_dma_xfer_complete(struct ata_port *ap, u32 check_status)
 			 __func__, qc->tag, qc->tf.command,
 			 get_dma_dir_descript(qc->dma_dir),
 			 get_prot_descript(qc->tf.protocol),
-			 in_le32(&(hsdev->sata_dwc_regs->dmacr)));
+			 sata_dwc_readl(&hsdev->sata_dwc_regs->dmacr));
 	}
 #endif
 
@@ -787,7 +782,7 @@ static void sata_dwc_dma_xfer_complete(struct ata_port *ap, u32 check_status)
 			dev_err(ap->dev,
 				"%s DMA protocol RX and TX DMA not pending dmacr: 0x%08x\n",
 				__func__,
-				in_le32(&(hsdev->sata_dwc_regs->dmacr)));
+				sata_dwc_readl(&hsdev->sata_dwc_regs->dmacr));
 		}
 
 		hsdevp->dma_pending[tag] = SATA_DWC_DMA_PENDING_NONE;
@@ -828,20 +823,20 @@ static int sata_dwc_qc_complete(struct ata_port *ap, struct ata_queued_cmd *qc,
 static void sata_dwc_enable_interrupts(struct sata_dwc_device *hsdev)
 {
 	/* Enable selective interrupts by setting the interrupt maskregister*/
-	out_le32(&hsdev->sata_dwc_regs->intmr,
-		 SATA_DWC_INTMR_ERRM |
-		 SATA_DWC_INTMR_NEWFPM |
-		 SATA_DWC_INTMR_PMABRTM |
-		 SATA_DWC_INTMR_DMATM);
+	sata_dwc_writel(&hsdev->sata_dwc_regs->intmr,
+			SATA_DWC_INTMR_ERRM |
+			SATA_DWC_INTMR_NEWFPM |
+			SATA_DWC_INTMR_PMABRTM |
+			SATA_DWC_INTMR_DMATM);
 	/*
 	 * Unmask the error bits that should trigger an error interrupt by
 	 * setting the error mask register.
 	 */
-	out_le32(&hsdev->sata_dwc_regs->errmr, SATA_DWC_SERROR_ERR_BITS);
+	sata_dwc_writel(&hsdev->sata_dwc_regs->errmr, SATA_DWC_SERROR_ERR_BITS);
 
 	dev_dbg(hsdev->dev, "%s: INTMR = 0x%08x, ERRMR = 0x%08x\n",
-		 __func__, in_le32(&hsdev->sata_dwc_regs->intmr),
-		in_le32(&hsdev->sata_dwc_regs->errmr));
+		 __func__, sata_dwc_readl(&hsdev->sata_dwc_regs->intmr),
+		sata_dwc_readl(&hsdev->sata_dwc_regs->errmr));
 }
 
 static void sata_dwc_setup_port(struct ata_ioports *port, void __iomem *base)
@@ -938,14 +933,14 @@ static int sata_dwc_port_start(struct ata_port *ap)
 	if (ap->port_no == 0)  {
 		dev_dbg(ap->dev, "%s: clearing TXCHEN, RXCHEN in DMAC\n",
 			__func__);
-		out_le32(&hsdev->sata_dwc_regs->dmacr,
-			 SATA_DWC_DMACR_TXRXCH_CLEAR);
+		sata_dwc_writel(&hsdev->sata_dwc_regs->dmacr,
+				SATA_DWC_DMACR_TXRXCH_CLEAR);
 
 		dev_dbg(ap->dev, "%s: setting burst size in DBTSR\n",
 			 __func__);
-		out_le32(&hsdev->sata_dwc_regs->dbtsr,
-			 (SATA_DWC_DBTSR_MWR(AHB_DMA_BRST_DFLT) |
-			  SATA_DWC_DBTSR_MRD(AHB_DMA_BRST_DFLT)));
+		sata_dwc_writel(&hsdev->sata_dwc_regs->dbtsr,
+				(SATA_DWC_DBTSR_MWR(AHB_DMA_BRST_DFLT) |
+				 SATA_DWC_DBTSR_MRD(AHB_DMA_BRST_DFLT)));
 	}
 
 	/* Clear any error bits before libata starts issuing commands */
@@ -1060,11 +1055,11 @@ static void sata_dwc_bmdma_start_by_tag(struct ata_queued_cmd *qc, u8 tag)
 		}
 
 		if (dir == DMA_TO_DEVICE)
-			out_le32(&hsdev->sata_dwc_regs->dmacr,
-				SATA_DWC_DMACR_TXCHEN);
+			sata_dwc_writel(&hsdev->sata_dwc_regs->dmacr,
+					SATA_DWC_DMACR_TXCHEN);
 		else
-			out_le32(&hsdev->sata_dwc_regs->dmacr,
-				SATA_DWC_DMACR_RXCHEN);
+			sata_dwc_writel(&hsdev->sata_dwc_regs->dmacr,
+					SATA_DWC_DMACR_RXCHEN);
 
 		/* Enable AHB DMA transfer on the specified channel */
 		dmaengine_submit(desc);
@@ -1150,13 +1145,13 @@ static int sata_dwc_hardreset(struct ata_link *link, unsigned int *class,
 	sata_dwc_enable_interrupts(hsdev);
 
 	/* Reconfigure the DMA control register */
-	out_le32(&hsdev->sata_dwc_regs->dmacr,
-		 SATA_DWC_DMACR_TXRXCH_CLEAR);
+	sata_dwc_writel(&hsdev->sata_dwc_regs->dmacr,
+			SATA_DWC_DMACR_TXRXCH_CLEAR);
 
 	/* Reconfigure the DMA Burst Transaction Size register */
-	out_le32(&hsdev->sata_dwc_regs->dbtsr,
-		 SATA_DWC_DBTSR_MWR(AHB_DMA_BRST_DFLT) |
-		 SATA_DWC_DBTSR_MRD(AHB_DMA_BRST_DFLT));
+	sata_dwc_writel(&hsdev->sata_dwc_regs->dbtsr,
+			SATA_DWC_DBTSR_MWR(AHB_DMA_BRST_DFLT) |
+			SATA_DWC_DBTSR_MRD(AHB_DMA_BRST_DFLT));
 
 	return ret;
 }
@@ -1257,8 +1252,8 @@ static int sata_dwc_probe(struct platform_device *ofdev)
 	sata_dwc_setup_port(&host->ports[0]->ioaddr, base);
 
 	/* Read the ID and Version Registers */
-	idr = in_le32(&hsdev->sata_dwc_regs->idr);
-	versionr = in_le32(&hsdev->sata_dwc_regs->versionr);
+	idr = sata_dwc_readl(&hsdev->sata_dwc_regs->idr);
+	versionr = sata_dwc_readl(&hsdev->sata_dwc_regs->versionr);
 	dev_notice(&ofdev->dev, "id %d, controller version %c.%c%c\n",
 		   idr, ver[0], ver[1], ver[2]);
 
-- 
2.8.0.rc3


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

* [PATCH v1 20/23] ata: sata_dwc_460ex: tidy up sata_dwc_clear_dmacr()
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (18 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 19/23] ata: sata_dwc_460ex: use readl/writel_relaxed() Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 21/23] ata: sata_dwc_460ex: use devm_ioremap Andy Shevchenko
                   ` (3 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

From: Mans Rullgard <mans@mansr.com>

This consolidates the reads from each of the if/else branches
to one place making the code a lot nicer to look at.

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 drivers/ata/sata_dwc_460ex.c | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 2029f43..0ef72e4 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -729,15 +729,14 @@ DONE:
 static void sata_dwc_clear_dmacr(struct sata_dwc_device_port *hsdevp, u8 tag)
 {
 	struct sata_dwc_device *hsdev = HSDEV_FROM_HSDEVP(hsdevp);
+	u32 dmacr = sata_dwc_readl(&hsdev->sata_dwc_regs->dmacr);
 
 	if (hsdevp->dma_pending[tag] == SATA_DWC_DMA_PENDING_RX) {
-		sata_dwc_writel(&hsdev->sata_dwc_regs->dmacr,
-			SATA_DWC_DMACR_RX_CLEAR(
-				sata_dwc_readl(&hsdev->sata_dwc_regs->dmacr)));
+		dmacr = SATA_DWC_DMACR_RX_CLEAR(dmacr);
+		sata_dwc_writel(&hsdev->sata_dwc_regs->dmacr, dmacr);
 	} else if (hsdevp->dma_pending[tag] == SATA_DWC_DMA_PENDING_TX) {
-		sata_dwc_writel(&hsdev->sata_dwc_regs->dmacr,
-			SATA_DWC_DMACR_TX_CLEAR(
-				sata_dwc_readl(&hsdev->sata_dwc_regs->dmacr)));
+		dmacr = SATA_DWC_DMACR_TX_CLEAR(dmacr);
+		sata_dwc_writel(&hsdev->sata_dwc_regs->dmacr, dmacr);
 	} else {
 		/*
 		 * This should not happen, it indicates the driver is out of
@@ -745,8 +744,7 @@ static void sata_dwc_clear_dmacr(struct sata_dwc_device_port *hsdevp, u8 tag)
 		 */
 		dev_err(hsdev->dev,
 			"%s DMA protocol RX and TX DMA not pending tag=0x%02x pending=%d dmacr: 0x%08x\n",
-			__func__, tag, hsdevp->dma_pending[tag],
-			sata_dwc_readl(&hsdev->sata_dwc_regs->dmacr));
+			__func__, tag, hsdevp->dma_pending[tag], dmacr);
 		sata_dwc_writel(&hsdev->sata_dwc_regs->dmacr,
 				SATA_DWC_DMACR_TXRXCH_CLEAR);
 	}
-- 
2.8.0.rc3


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

* [PATCH v1 21/23] ata: sata_dwc_460ex: use devm_ioremap
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (19 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 20/23] ata: sata_dwc_460ex: tidy up sata_dwc_clear_dmacr() Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 22/23] ata: sata_dwc_460ex: make debug messages neat Andy Shevchenko
                   ` (2 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson
  Cc: Andy Shevchenko

This simplifies error handling and cleanup by using devm to manage
IO mappings.

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 drivers/ata/sata_dwc_460ex.c | 30 +++++++++++-------------------
 1 file changed, 11 insertions(+), 19 deletions(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 0ef72e4..44dca8c 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -139,7 +139,6 @@ struct sata_dwc_device {
 	struct device		*dev;		/* generic device struct */
 	struct ata_probe_ent	*pe;		/* ptr to probe-ent */
 	struct ata_host		*host;
-	u8 __iomem		*reg_base;
 	struct sata_dwc_regs __iomem *sata_dwc_regs;	/* DW SATA specific */
 	u32			sactive_issued;
 	u32			sactive_queued;
@@ -242,7 +241,7 @@ static int sata_dwc_dma_init_old(struct platform_device *pdev,
 				 struct sata_dwc_device *hsdev)
 {
 	struct device_node *np = pdev->dev.of_node;
-	int err;
+	struct resource *res;
 
 	hsdev->dma = devm_kzalloc(&pdev->dev, sizeof(*hsdev->dma), GFP_KERNEL);
 	if (!hsdev->dma)
@@ -258,21 +257,16 @@ static int sata_dwc_dma_init_old(struct platform_device *pdev,
 	}
 
 	/* Get physical SATA DMA register base address */
-	hsdev->dma->regs = of_iomap(np, 1);
-	if (!hsdev->dma->regs) {
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 1);
+	hsdev->dma->regs = devm_ioremap_resource(&pdev->dev, res);
+	if (IS_ERR(hsdev->dma->regs)) {
 		dev_err(&pdev->dev,
 			"ioremap failed for AHBDMA register address\n");
-		return -ENODEV;
+		return PTR_ERR(hsdev->dma->regs);
 	}
 
 	/* Initialize AHB DMAC */
-	err = dw_dma_probe(hsdev->dma);
-	if (err) {
-		iounmap(hsdev->dma->regs);
-		return err;
-	}
-
-	return 0;
+	return dw_dma_probe(hsdev->dma);
 }
 
 static void sata_dwc_dma_exit_old(struct sata_dwc_device *hsdev)
@@ -281,7 +275,6 @@ static void sata_dwc_dma_exit_old(struct sata_dwc_device *hsdev)
 		return;
 
 	dw_dma_remove(hsdev->dma);
-	iounmap(hsdev->dma->regs);
 }
 
 #endif
@@ -1221,6 +1214,7 @@ static int sata_dwc_probe(struct platform_device *ofdev)
 	struct ata_port_info pi = sata_dwc_port_info[0];
 	const struct ata_port_info *ppi[] = { &pi, NULL };
 	struct device_node *np = ofdev->dev.of_node;
+	struct resource *res;
 
 	/* Allocate DWC SATA device */
 	host = ata_host_alloc_pinfo(&ofdev->dev, ppi, SATA_DWC_MAX_PORTS);
@@ -1231,13 +1225,13 @@ static int sata_dwc_probe(struct platform_device *ofdev)
 	host->private_data = hsdev;
 
 	/* Ioremap SATA registers */
-	base = of_iomap(np, 0);
-	if (!base) {
+	res = platform_get_resource(ofdev, IORESOURCE_MEM, 0);
+	base = devm_ioremap_resource(&ofdev->dev, res);
+	if (IS_ERR(base)) {
 		dev_err(&ofdev->dev,
 			"ioremap failed for SATA register address\n");
-		return -ENODEV;
+		return PTR_ERR(base);
 	}
-	hsdev->reg_base = base;
 	dev_dbg(&ofdev->dev, "ioremap done for SATA register address\n");
 
 	/* Synopsys DWC SATA specific Registers */
@@ -1302,7 +1296,6 @@ static int sata_dwc_probe(struct platform_device *ofdev)
 
 error_out:
 	phy_exit(hsdev->phy);
-	iounmap(base);
 	return err;
 }
 
@@ -1321,7 +1314,6 @@ static int sata_dwc_remove(struct platform_device *ofdev)
 	sata_dwc_dma_exit_old(hsdev);
 #endif
 
-	iounmap(hsdev->reg_base);
 	dev_dbg(&ofdev->dev, "done\n");
 	return 0;
 }
-- 
2.8.0.rc3

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

* [PATCH v1 22/23] ata: sata_dwc_460ex: make debug messages neat
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (20 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 21/23] ata: sata_dwc_460ex: use devm_ioremap Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 18:15 ` [PATCH v1 23/23] powerpc/4xx: Device tree update for the 460ex DWC SATA Andy Shevchenko
  2016-04-21 20:25   ` Christian Lamparter
  23 siblings, 0 replies; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson
  Cc: Andy Shevchenko

There is a duplication in the debug messages when accessing SCR registers.
Remove duplication to make the messages neat.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/ata/sata_dwc_460ex.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 44dca8c..2d73cdf 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -414,16 +414,16 @@ static int sata_dwc_scr_read(struct ata_link *link, unsigned int scr, u32 *val)
 	}
 
 	*val = sata_dwc_readl(link->ap->ioaddr.scr_addr + (scr * 4));
-	dev_dbg(link->ap->dev, "%s: id=%d reg=%d val=val=0x%08x\n",
-		__func__, link->ap->print_id, scr, *val);
+	dev_dbg(link->ap->dev, "%s: id=%d reg=%d val=0x%08x\n", __func__,
+		link->ap->print_id, scr, *val);
 
 	return 0;
 }
 
 static int sata_dwc_scr_write(struct ata_link *link, unsigned int scr, u32 val)
 {
-	dev_dbg(link->ap->dev, "%s: id=%d reg=%d val=val=0x%08x\n",
-		__func__, link->ap->print_id, scr, val);
+	dev_dbg(link->ap->dev, "%s: id=%d reg=%d val=0x%08x\n", __func__,
+		link->ap->print_id, scr, val);
 	if (scr > SCR_NOTIFICATION) {
 		dev_err(link->ap->dev, "%s: Incorrect SCR offset 0x%02x\n",
 			 __func__, scr);
-- 
2.8.0.rc3

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

* [PATCH v1 23/23] powerpc/4xx: Device tree update for the 460ex DWC SATA
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
                   ` (21 preceding siblings ...)
  2016-04-21 18:15 ` [PATCH v1 22/23] ata: sata_dwc_460ex: make debug messages neat Andy Shevchenko
@ 2016-04-21 18:15 ` Andy Shevchenko
  2016-04-21 19:59   ` Rob Herring
  2016-04-21 20:25   ` Christian Lamparter
  23 siblings, 1 reply; 46+ messages in thread
From: Andy Shevchenko @ 2016-04-21 18:15 UTC (permalink / raw)
  To: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson
  Cc: Andy Shevchenko

Device tree update for the Applied micro processor 460ex on-chip SATA to use
"dmas" property.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 arch/powerpc/boot/dts/canyonlands.dts | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/arch/powerpc/boot/dts/canyonlands.dts b/arch/powerpc/boot/dts/canyonlands.dts
index 3dc75de..549c24c 100644
--- a/arch/powerpc/boot/dts/canyonlands.dts
+++ b/arch/powerpc/boot/dts/canyonlands.dts
@@ -190,12 +190,21 @@
 					 /* DMA */ 0x2 &UIC0 0xc 0x4>;
 		};
 
+		AHBDMA: dma@bffd0800 {
+			compatible = "snps,dma-spear1340";
+			reg = <4 0xbffd0800 0x400>;
+			interrupt-parent = <&UIC3>;
+			interrupts = <0x5 0x4>;
+			#dma-cells = <3>;
+		};
+
 		SATA0: sata@bffd1000 {
 			compatible = "amcc,sata-460ex";
-			reg = <4 0xbffd1000 0x800 4 0xbffd0800 0x400>;
+			reg = <4 0xbffd1000 0x800>;
 			interrupt-parent = <&UIC3>;
-			interrupts = <0x0 0x4       /* SATA */
-				      0x5 0x4>;     /* AHBDMA */
+			interrupts = <0x0 0x4>;
+			dmas = <&AHBDMA 0 1 0>;
+			dma-names = "sata-dma";
 		};
 
 		POB0: opb {
-- 
2.8.0.rc3

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

* Re: [PATCH v1 23/23] powerpc/4xx: Device tree update for the 460ex DWC SATA
  2016-04-21 18:15 ` [PATCH v1 23/23] powerpc/4xx: Device tree update for the 460ex DWC SATA Andy Shevchenko
@ 2016-04-21 19:59   ` Rob Herring
  0 siblings, 0 replies; 46+ messages in thread
From: Rob Herring @ 2016-04-21 19:59 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: Tejun Heo, linux-ide, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

On Thu, Apr 21, 2016 at 1:15 PM, Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
> Device tree update for the Applied micro processor 460ex on-chip SATA to use
> "dmas" property.
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  arch/powerpc/boot/dts/canyonlands.dts | 15 ++++++++++++---
>  1 file changed, 12 insertions(+), 3 deletions(-)

I see you have maintained compatibility in the driver for old DTs, so:

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again
  2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
@ 2016-04-21 20:25   ` Christian Lamparter
  2016-04-21 18:15   ` Andy Shevchenko
                     ` (22 subsequent siblings)
  23 siblings, 0 replies; 46+ messages in thread
From: Christian Lamparter @ 2016-04-21 20:25 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Måns Rullgård, Julian Margetson

On Thursday, April 21, 2016 09:15:21 PM Andy Shevchenko wrote:
> The last approach in the commit 8b3444852a2b ("sata_dwc_460ex: move to generic
> DMA driver") to switch to generic DMA engine API wasn't tested on bare metal.
> Besides that we expecting new board support coming with the same SATA IP but
> with different DMA.
> 
> This series is targetting the following things:
> - a few bug fixes to the original driver
> - a part to fix the DMA engine usage and in particularly dw_dmac driver
> - move driver to use generic PHY and "dmas" property which leads to update in DTS
> 
> The driver has been tested myself on Sam460ex and WD MyBookLive (apollo3g)
> boards. In any case I ask Christian, Måns, and Julian to independently test and
> provide Tested-by tag or error report.
I did a test run on my WD MyBook Live. I applied all the patches in
this series on top of the topic/dw branch of Vinod Koul:
<https://git.kernel.org/cgit/linux/kernel/git/vkoul/slave-dma.git/>

Tested-by: Christian Lamparter <chunkeey@googlemail.com>
---
results for my old ST3808110AS HDD. filesystem is ext4.

# hdparm -t /dev/sda

/dev/sda:
 Timing buffered disk reads: 204 MB in  3.02 seconds =  67.51 MB/sec

# bonnie++ -u mbl
Using uid:1000, gid:1000.
Writing a byte at a time...done
Writing intelligently...done
Rewriting...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version  1.97       ------Sequential Output------ --Sequential Input- --Random-
Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
mbl            496M    98  99 26011  21 17589  20   538  99 80138  39 208.9   8
Latency             95267us    1409ms     295ms   26947us    9644us    1787ms
Version  1.97       ------Sequential Create------ --------Random Create--------
mbl                 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  6959  78 +++++ +++  5197  40  7250  79 +++++ +++  4718  37
Latency               149ms    6742us     212ms     177ms     767us     217ms
1.97,1.97,mbl,1,1461269771,496M,,98,99,26011,21,17589,20,538,99,80138,39,208.9,8,16,,,,,6959,78,+++++,+++,5197,40,7250,79,+++++,+++,4718,37,95267us,1409ms,295ms,26947us,9644us,1787ms,149ms,6742us,212ms,177ms,767us,217ms

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

* Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again
@ 2016-04-21 20:25   ` Christian Lamparter
  0 siblings, 0 replies; 46+ messages in thread
From: Christian Lamparter @ 2016-04-21 20:25 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Måns Rullgård, Julian Margetson

On Thursday, April 21, 2016 09:15:21 PM Andy Shevchenko wrote:
> The last approach in the commit 8b3444852a2b ("sata_dwc_460ex: move t=
o generic
> DMA driver") to switch to generic DMA engine API wasn't tested on bar=
e metal.
> Besides that we expecting new board support coming with the same SATA=
 IP but
> with different DMA.
>=20
> This series is targetting the following things:
> - a few bug fixes to the original driver
> - a part to fix the DMA engine usage and in particularly dw_dmac driv=
er
> - move driver to use generic PHY and "dmas" property which leads to u=
pdate in DTS
>=20
> The driver has been tested myself on Sam460ex and WD MyBookLive (apol=
lo3g)
> boards. In any case I ask Christian, M=E5ns, and Julian to independen=
tly test and
> provide Tested-by tag or error report.
I did a test run on my WD MyBook Live. I applied all the patches in
this series on top of the topic/dw branch of Vinod Koul:
<https://git.kernel.org/cgit/linux/kernel/git/vkoul/slave-dma.git/>

Tested-by: Christian Lamparter <chunkeey@googlemail.com>
---
results for my old ST3808110AS HDD. filesystem is ext4.

# hdparm -t /dev/sda

/dev/sda:
 Timing buffered disk reads: 204 MB in  3.02 seconds =3D  67.51 MB/sec

# bonnie++ -u mbl
Using uid:1000, gid:1000.
Writing a byte at a time...done
Writing intelligently...done
Rewriting...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version  1.97       ------Sequential Output------ --Sequential Input- -=
-Random-
Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- -=
-Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  =
/sec %CP
mbl            496M    98  99 26011  21 17589  20   538  99 80138  39 2=
08.9   8
Latency             95267us    1409ms     295ms   26947us    9644us    =
1787ms
Version  1.97       ------Sequential Create------ --------Random Create=
--------
mbl                 -Create-- --Read--- -Delete-- -Create-- --Read--- -=
Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  =
/sec %CP
                 16  6959  78 +++++ +++  5197  40  7250  79 +++++ +++  =
4718  37
Latency               149ms    6742us     212ms     177ms     767us    =
 217ms
1.97,1.97,mbl,1,1461269771,496M,,98,99,26011,21,17589,20,538,99,80138,3=
9,208.9,8,16,,,,,6959,78,+++++,+++,5197,40,7250,79,+++++,+++,4718,37,95=
267us,1409ms,295ms,26947us,9644us,1787ms,149ms,6742us,212ms,177ms,767us=
,217ms

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

* Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again
  2016-04-21 20:25   ` Christian Lamparter
@ 2016-04-22 10:50     ` Julian Margetson
  -1 siblings, 0 replies; 46+ messages in thread
From: Julian Margetson @ 2016-04-22 10:50 UTC (permalink / raw)
  To: Christian Lamparter, Andy Shevchenko
  Cc: Måns Rullgård, linux-kernel, linux-ide, Rob Herring,
	Tejun Heo, linuxppc-dev

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

On 4/21/2016 4:25 PM, Christian Lamparter wrote:
> On Thursday, April 21, 2016 09:15:21 PM Andy Shevchenko wrote:
>> The last approach in the commit 8b3444852a2b ("sata_dwc_460ex: move to generic
>> DMA driver") to switch to generic DMA engine API wasn't tested on bare metal.
>> Besides that we expecting new board support coming with the same SATA IP but
>> with different DMA.
>>
>> This series is targetting the following things:
>> - a few bug fixes to the original driver
>> - a part to fix the DMA engine usage and in particularly dw_dmac driver
>> - move driver to use generic PHY and "dmas" property which leads to update in DTS
>>
>> The driver has been tested myself on Sam460ex and WD MyBookLive (apollo3g)
>> boards. In any case I ask Christian, Måns, and Julian to independently test and
>> provide Tested-by tag or error report.
> I did a test run on my WD MyBook Live. I applied all the patches in
> this series on top of the topic/dw branch of Vinod Koul:
> <https://git.kernel.org/cgit/linux/kernel/git/vkoul/slave-dma.git/>
>
> Tested-by: Christian Lamparter <chunkeey@googlemail.com>
> ---
> results for my old ST3808110AS HDD. filesystem is ext4.
>
> # hdparm -t /dev/sda
>
> /dev/sda:
>   Timing buffered disk reads: 204 MB in  3.02 seconds =  67.51 MB/sec
>
> # bonnie++ -u mbl
> Using uid:1000, gid:1000.
> Writing a byte at a time...done
> Writing intelligently...done
> Rewriting...done
> Reading a byte at a time...done
> Reading intelligently...done
> start 'em...done...done...done...done...done...
> Create files in sequential order...done.
> Stat files in sequential order...done.
> Delete files in sequential order...done.
> Create files in random order...done.
> Stat files in random order...done.
> Delete files in random order...done.
> Version  1.97       ------Sequential Output------ --Sequential Input- --Random-
> Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
> Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
> mbl            496M    98  99 26011  21 17589  20   538  99 80138  39 208.9   8
> Latency             95267us    1409ms     295ms   26947us    9644us    1787ms
> Version  1.97       ------Sequential Create------ --------Random Create--------
> mbl                 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
>                files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
>                   16  6959  78 +++++ +++  5197  40  7250  79 +++++ +++  4718  37
> Latency               149ms    6742us     212ms     177ms     767us     217ms
> 1.97,1.97,mbl,1,1461269771,496M,,98,99,26011,21,17589,20,538,99,80138,39,208.9,8,16,,,,,6959,78,+++++,+++,5197,40,7250,79,+++++,+++,4718,37,95267us,1409ms,295ms,26947us,9644us,1787ms,149ms,6742us,212ms,177ms,767us,217ms
>
>
>
>
Again on copy partitions .

[-- Attachment #2: sam460ex_7.log --]
[-- Type: text/plain, Size: 57054 bytes --]

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2016.04.21 20:03:45 =~=~=~=~=~=~=~=~=~=~=~=
[    0.000000] Using Canyonlands machine description
[    0.000000] Linux version 4.6.0-rc4-next-20160421-sam460ex-jm (root@julian-VirtualBox) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #1 PREEMPT Thu Apr 21 19:56:14 AST 2016
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: root=/dev/sdb6 console=ttyS0,115200 console=tty0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 2001640K/2097152K available (7432K kernel code, 316K rwdata, 3816K rodata, 240K init, 370K bss, 95512K reserved, 0K cma-reserved, 1310720K highmem)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffcf000..0xfffff000  : fixmap
[    0.000000]   * 0xffc00000..0xffe00000  : highmem PTEs
[    0.000000]   * 0xffa00000..0xffc00000  : consistent mem
[    0.000000]   * 0xffa00000..0xffa00000  : early ioremap
[    0.000000]   * 0xf1000000..0xffa00000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000013] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x10a60dda894, max_idle_ns: 440795207041 ns
[    0.000023] clocksource: timebase mult[dda520] shift[24] registered
[    0.000146] Console: colour dummy device 80x25
[    0.000700] console [tty0] enabled
[    0.000736] pid_max: default: 32768 minimum: 301
[    0.000844] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000869] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003510] devtmpfs: initialized
[    0.006115] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.006507] xor: measuring software checksum speed
[    0.016609]    8regs     :   896.000 MB/sec
[    0.026442]    8regs_prefetch:   800.000 MB/sec
[    0.036491]    32regs    :  1232.000 MB/sec
[    0.046564]    32regs_prefetch:  1084.000 MB/sec
[    0.046598] xor: using function: 32regs (1232.000 MB/sec)
[    0.046626] prandom: seed boundary self test passed
[    0.048682] prandom: 100 self tests passed
[    0.049388] NET: Registered protocol family 16
[    0.054856] cpuidle: using governor ladder
[    0.057812] cpuidle: using governor menu
[    0.058198] 256k L2-cache enabled
[    0.058279] PCIE0: Port disabled via device-tree
[    0.058340] PCIE1: Checking link...
[    0.058357] PCIE1: Device detected, waiting for link...
[    0.058376] PCIE1: link is up !
[    0.160677] PCI host bridge /plb/pciex@d20000000 (primary) ranges:
[    0.160727]  MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000 
[    0.160763]  MEM 0x0000000f00100000..0x0000000f001fffff -> 0x0000000000000000 
[    0.160794]   IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000
[    0.160832] 4xx PCI DMA offset set to 0x00000000
[    0.160850] 4xx PCI DMA window base to 0x0000000000000000
[    0.160869] DMA window size 0x0000000080000000
[    0.160904] PCIE1: successfully set as root-complex
[    0.160996] PCI host bridge /plb/pci@c0ec00000 (primary) ranges:
[    0.161026]  MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000 
[    0.161061]  MEM 0x0000000c0ee00000..0x0000000c0eefffff -> 0x0000000000000000 
[    0.161092]   IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000
[    0.161121] 4xx PCI DMA offset set to 0x00000000
[    0.161139] 4xx PCI DMA window base to 0x0000000000000000
[    0.161157] DMA window size 0x0000000080000000
[    0.170647] PCI: Probing PCI hardware
[    0.170969] PCI host bridge to bus 0000:80
[    0.171007] pci_bus 0000:80: root bus resource [io  0xfffe0000-0xfffeffff] (bus address [0x0000-0xffff])
[    0.171044] pci_bus 0000:80: root bus resource [mem 0xe80000000-0xeffffffff] (bus address [0x80000000-0xffffffff])
[    0.171080] pci_bus 0000:80: root bus resource [mem 0xf00100000-0xf001fffff] (bus address [0x00000000-0x000fffff])
[    0.171118] pci_bus 0000:80: root bus resource [bus 80-ff]
[    0.171244] PCI: Hiding 4xx host bridge resources 0000:80:00.0
[    0.172405] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.172720] PCI host bridge to bus 0001:00
[    0.172753] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    0.172779] pci_bus 0001:00: root bus resource [mem 0xd80000000-0xdffffffff] (bus address [0x80000000-0xffffffff])
[    0.172816] pci_bus 0001:00: root bus resource [mem 0xc0ee00000-0xc0eefffff] (bus address [0x00000000-0x000fffff])
[    0.172854] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.173625] pci 0000:80:00.0: BAR 9: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.173671] pci 0000:80:00.0: BAR 8: assigned [mem 0xe90000000-0xe900fffff]
[    0.173697] pci 0000:80:00.0: BAR 7: assigned [io  0xfffe1000-0xfffe1fff]
[    0.173728] pci 0000:81:00.0: BAR 0: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.173770] pci 0000:81:00.0: BAR 2: assigned [mem 0xe90000000-0xe9003ffff 64bit]
[    0.173809] pci 0000:81:00.0: BAR 6: assigned [mem 0xe90040000-0xe9005ffff pref]
[    0.173842] pci 0000:81:00.1: BAR 0: assigned [mem 0xe90060000-0xe90063fff 64bit]
[    0.173881] pci 0000:81:00.0: BAR 4: assigned [io  0xfffe1000-0xfffe10ff]
[    0.173908] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.173931] pci 0000:80:00.0:   bridge window [io  0xfffe1000-0xfffe1fff]
[    0.173957] pci 0000:80:00.0:   bridge window [mem 0xe90000000-0xe900fffff]
[    0.173984] pci 0000:80:00.0:   bridge window [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.174081] pci 0001:00:06.0: BAR 0: assigned [mem 0xd80000000-0xd83ffffff]
[    0.174109] pci 0001:00:06.0: BAR 1: assigned [mem 0xd84000000-0xd841fffff]
[    0.174136] pci 0001:00:04.0: BAR 6: assigned [mem 0xd84200000-0xd8427ffff pref]
[    0.174168] pci 0001:00:04.0: BAR 5: assigned [mem 0xd84280000-0xd842801ff]
[    0.174195] pci 0001:00:04.0: BAR 4: assigned [io  0x1000-0x100f]
[    0.174220] pci 0001:00:04.0: BAR 0: assigned [io  0x1010-0x1017]
[    0.174245] pci 0001:00:04.0: BAR 2: assigned [io  0x1018-0x101f]
[    0.174270] pci 0001:00:04.0: BAR 1: assigned [io  0x1020-0x1023]
[    0.174296] pci 0001:00:04.0: BAR 3: assigned [io  0x1024-0x1027]
[    0.239426] raid6: int32x1  gen()   300 MB/s
[    0.256414] raid6: int32x1  xor()   162 MB/s
[    0.273519] raid6: int32x2  gen()   390 MB/s
[    0.290614] raid6: int32x2  xor()   236 MB/s
[    0.307774] raid6: int32x4  gen()   437 MB/s
[    0.324817] raid6: int32x4  xor()   255 MB/s
[    0.341971] raid6: int32x8  gen()   277 MB/s
[    0.358950] raid6: int32x8  xor()   205 MB/s
[    0.358974] raid6: using algorithm int32x4 gen() 437 MB/s
[    0.358993] raid6: .... xor() 255 MB/s, rmw enabled
[    0.359012] raid6: using intx1 recovery algorithm
[    0.359520] vgaarb: device added: PCI:0000:81:00.0,decodes=io+mem,owns=none,locks=none
[    0.359563] vgaarb: loaded
[    0.359579] vgaarb: bridge control possible 0000:81:00.0
[    0.360044] SCSI subsystem initialized
[    0.361160] usbcore: registered new interface driver usbfs
[    0.361297] usbcore: registered new interface driver hub
[    0.361416] usbcore: registered new device driver usb
[    0.361737] pps_core: LinuxPPS API ver. 1 registered
[    0.361767] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.361863] PTP clock support registered
[    0.362849] EDAC MC: Ver: 3.0.0
[    0.364015] Advanced Linux Sound Architecture Driver Initialized.
[    0.365210] clocksource: Switched to clocksource timebase
[    0.365446] FS-Cache: Loaded
[    0.365654] CacheFiles: Loaded
[    0.380629] NET: Registered protocol family 2
[    0.382503] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.382641] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    0.382966] TCP: Hash tables configured (established 8192 bind 8192)
[    0.383098] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    0.383174] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    0.383751] NET: Registered protocol family 1
[    0.384054] RPC: Registered named UNIX socket transport module.
[    0.384085] RPC: Registered udp transport module.
[    0.384103] RPC: Registered tcp transport module.
[    0.384120] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.384961] Could not remap bcsr
[    0.391066] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    0.393932] futex hash table entries: 256 (order: 0, 7168 bytes)
[    0.394523] workingset: timestamp_bits=28 max_order=19 bucket_order=0
[    0.414550] ntfs: driver 2.1.32 [Flags: R/W].
[    0.415117] fuse init (API version 7.24)
[    0.420342] async_tx: api initialized (async)
[    0.420437] bounce: pool size: 64 pages
[    0.420529] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.420561] io scheduler noop registered
[    0.420732] io scheduler cfq registered (default)
[    0.423105] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[    0.423137] crc32: self tests passed, processed 225944 bytes in 989463 nsec
[    0.424354] crc32c: CRC_LE_BITS = 64
[    0.424381] crc32c: self tests passed, processed 225944 bytes in 494971 nsec
[    0.493629] crc32_combine: 8373 self tests passed
[    0.563065] crc32c_combine: 8373 self tests passed
[    0.563119] glob: 64 self-tests passed, 0 failed
[    0.662336] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.665172] console [ttyS0] disabled
[    0.685707] serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 22, base_baud = 691200) is a U6_16550A
[    1.621588] console [ttyS0] enabled
[    1.646060] serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 23, base_baud = 691200) is a U6_16550A
[    1.656324] console [ttyS0] disabled
[    0.000000] Using Canyonlands machine description
[    0.000000] Linux version 4.6.0-rc4-next-20160421-sam460ex-jm (root@julian-VirtualBox) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #1 PREEMPT Thu Apr 21 19:56:14 AST 2016
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: root=/dev/sdb6 console=ttyS0,115200 console=tty0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 2001640K/2097152K available (7432K kernel code, 316K rwdata, 3816K rodata, 240K init, 370K bss, 95512K reserved, 0K cma-reserved, 1310720K highmem)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffcf000..0xfffff000  : fixmap
[    0.000000]   * 0xffc00000..0xffe00000  : highmem PTEs
[    0.000000]   * 0xffa00000..0xffc00000  : consistent mem
[    0.000000]   * 0xffa00000..0xffa00000  : early ioremap
[    0.000000]   * 0xf1000000..0xffa00000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000013] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x10a60dda894, max_idle_ns: 440795207041 ns
[    0.000023] clocksource: timebase mult[dda520] shift[24] registered
[    0.000146] Console: colour dummy device 80x25
[    0.000700] console [tty0] enabled
[    0.000736] pid_max: default: 32768 minimum: 301
[    0.000844] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000869] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003510] devtmpfs: initialized
[    0.006115] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.006507] xor: measuring software checksum speed
[    0.016609]    8regs     :   896.000 MB/sec
[    0.026442]    8regs_prefetch:   800.000 MB/sec
[    0.036491]    32regs    :  1232.000 MB/sec
[    0.046564]    32regs_prefetch:  1084.000 MB/sec
[    0.046598] xor: using function: 32regs (1232.000 MB/sec)
[    0.046626] prandom: seed boundary self test passed
[    0.048682] prandom: 100 self tests passed
[    0.049388] NET: Registered protocol family 16
[    0.054856] cpuidle: using governor ladder
[    0.057812] cpuidle: using governor menu
[    0.058198] 256k L2-cache enabled
[    0.058279] PCIE0: Port disabled via device-tree
[    0.058340] PCIE1: Checking link...
[    0.058357] PCIE1: Device detected, waiting for link...
[    0.058376] PCIE1: link is up !
[    0.160677] PCI host bridge /plb/pciex@d20000000 (primary) ranges:
[    0.160727]  MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000 
[    0.160763]  MEM 0x0000000f00100000..0x0000000f001fffff -> 0x0000000000000000 
[    0.160794]   IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000
[    0.160832] 4xx PCI DMA offset set to 0x00000000
[    0.160850] 4xx PCI DMA window base to 0x0000000000000000
[    0.160869] DMA window size 0x0000000080000000
[    0.160904] PCIE1: successfully set as root-complex
[    0.160996] PCI host bridge /plb/pci@c0ec00000 (primary) ranges:
[    0.161026]  MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000 
[    0.161061]  MEM 0x0000000c0ee00000..0x0000000c0eefffff -> 0x0000000000000000 
[    0.161092]   IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000
[    0.161121] 4xx PCI DMA offset set to 0x00000000
[    0.161139] 4xx PCI DMA window base to 0x0000000000000000
[    0.161157] DMA window size 0x0000000080000000
[    0.170647] PCI: Probing PCI hardware
[    0.170969] PCI host bridge to bus 0000:80
[    0.171007] pci_bus 0000:80: root bus resource [io  0xfffe0000-0xfffeffff] (bus address [0x0000-0xffff])
[    0.171044] pci_bus 0000:80: root bus resource [mem 0xe80000000-0xeffffffff] (bus address [0x80000000-0xffffffff])
[    0.171080] pci_bus 0000:80: root bus resource [mem 0xf00100000-0xf001fffff] (bus address [0x00000000-0x000fffff])
[    0.171118] pci_bus 0000:80: root bus resource [bus 80-ff]
[    0.171244] PCI: Hiding 4xx host bridge resources 0000:80:00.0
[    0.172405] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.172720] PCI host bridge to bus 0001:00
[    0.172753] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    0.172779] pci_bus 0001:00: root bus resource [mem 0xd80000000-0xdffffffff] (bus address [0x80000000-0xffffffff])
[    0.172816] pci_bus 0001:00: root bus resource [mem 0xc0ee00000-0xc0eefffff] (bus address [0x00000000-0x000fffff])
[    0.172854] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.173625] pci 0000:80:00.0: BAR 9: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.173671] pci 0000:80:00.0: BAR 8: assigned [mem 0xe90000000-0xe900fffff]
[    0.173697] pci 0000:80:00.0: BAR 7: assigned [io  0xfffe1000-0xfffe1fff]
[    0.173728] pci 0000:81:00.0: BAR 0: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.173770] pci 0000:81:00.0: BAR 2: assigned [mem 0xe90000000-0xe9003ffff 64bit]
[    0.173809] pci 0000:81:00.0: BAR 6: assigned [mem 0xe90040000-0xe9005ffff pref]
[    0.173842] pci 0000:81:00.1: BAR 0: assigned [mem 0xe90060000-0xe90063fff 64bit]
[    0.173881] pci 0000:81:00.0: BAR 4: assigned [io  0xfffe1000-0xfffe10ff]
[    0.173908] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.173931] pci 0000:80:00.0:   bridge window [io  0xfffe1000-0xfffe1fff]
[    0.173957] pci 0000:80:00.0:   bridge window [mem 0xe90000000-0xe900fffff]
[    0.173984] pci 0000:80:00.0:   bridge window [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.174081] pci 0001:00:06.0: BAR 0: assigned [mem 0xd80000000-0xd83ffffff]
[    0.174109] pci 0001:00:06.0: BAR 1: assigned [mem 0xd84000000-0xd841fffff]
[    0.174136] pci 0001:00:04.0: BAR 6: assigned [mem 0xd84200000-0xd8427ffff pref]
[    0.174168] pci 0001:00:04.0: BAR 5: assigned [mem 0xd84280000-0xd842801ff]
[    0.174195] pci 0001:00:04.0: BAR 4: assigned [io  0x1000-0x100f]
[    0.174220] pci 0001:00:04.0: BAR 0: assigned [io  0x1010-0x1017]
[    0.174245] pci 0001:00:04.0: BAR 2: assigned [io  0x1018-0x101f]
[    0.174270] pci 0001:00:04.0: BAR 1: assigned [io  0x1020-0x1023]
[    0.174296] pci 0001:00:04.0: BAR 3: assigned [io  0x1024-0x1027]
[    0.239426] raid6: int32x1  gen()   300 MB/s
[    0.256414] raid6: int32x1  xor()   162 MB/s
[    0.273519] raid6: int32x2  gen()   390 MB/s
[    0.290614] raid6: int32x2  xor()   236 MB/s
[    0.307774] raid6: int32x4  gen()   437 MB/s
[    0.324817] raid6: int32x4  xor()   255 MB/s
[    0.341971] raid6: int32x8  gen()   277 MB/s
[    0.358950] raid6: int32x8  xor()   205 MB/s
[    0.358974] raid6: using algorithm int32x4 gen() 437 MB/s
[    0.358993] raid6: .... xor() 255 MB/s, rmw enabled
[    0.359012] raid6: using intx1 recovery algorithm
[    0.359520] vgaarb: device added: PCI:0000:81:00.0,decodes=io+mem,owns=none,locks=none
[    0.359563] vgaarb: loaded
[    0.359579] vgaarb: bridge control possible 0000:81:00.0
[    0.360044] SCSI subsystem initialized
[    0.361160] usbcore: registered new interface driver usbfs
[    0.361297] usbcore: registered new interface driver hub
[    0.361416] usbcore: registered new device driver usb
[    0.361737] pps_core: LinuxPPS API ver. 1 registered
[    0.361767] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.361863] PTP clock support registered
[    0.362849] EDAC MC: Ver: 3.0.0
[    0.364015] Advanced Linux Sound Architecture Driver Initialized.
[    0.365210] clocksource: Switched to clocksource timebase
[    0.365446] FS-Cache: Loaded
[    0.365654] CacheFiles: Loaded
[    0.380629] NET: Registered protocol family 2
[    0.382503] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.382641] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    0.382966] TCP: Hash tables configured (established 8192 bind 8192)
[    0.383098] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    0.383174] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    0.383751] NET: Registered protocol family 1
[    0.384054] RPC: Registered named UNIX socket transport module.
[    0.384085] RPC: Registered udp transport module.
[    0.384103] RPC: Registered tcp transport module.
[    0.384120] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.384961] Could not remap bcsr
[    0.391066] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    0.393932] futex hash table entries: 256 (order: 0, 7168 bytes)
[    0.394523] workingset: timestamp_bits=28 max_order=19 bucket_order=0
[    0.414550] ntfs: driver 2.1.32 [Flags: R/W].
[    0.415117] fuse init (API version 7.24)
[    0.420342] async_tx: api initialized (async)
[    0.420437] bounce: pool size: 64 pages
[    0.420529] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.420561] io scheduler noop registered
[    0.420732] io scheduler cfq registered (default)
[    0.423105] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[    0.423137] crc32: self tests passed, processed 225944 bytes in 989463 nsec
[    0.424354] crc32c: CRC_LE_BITS = 64
[    0.424381] crc32c: self tests passed, processed 225944 bytes in 494971 nsec
[    0.493629] crc32_combine: 8373 self tests passed
[    0.563065] crc32c_combine: 8373 self tests passed
[    0.563119] glob: 64 self-tests passed, 0 failed
[    0.662336] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.665172] console [ttyS0] disabled
[    0.685707] serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 22, base_baud = 691200) is a U6_16550A
[    1.621588] console [ttyS0] enabled
[    1.646060] serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 23, base_baud = 691200) is a U6_16550A
[    1.656324] console [ttyS0] disabled
[    1.660188] 4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 22, base_baud = 691200) is a 16550
[    2.620855] console [ttyS0] enabled
[    2.625307] 4ef600400.serial: ttyS1 at MMIO 0x4ef600400 (irq = 23, base_baud = 691200) is a 16550
[    2.634977] Generic non-volatile memory driver v1.1
[    2.640506] [drm] Initialized drm 1.1.0 20060810
[    2.645487] [drm] radeon kernel modesetting enabled.
[    2.651490] [drm] initializing kernel modesetting (VERDE 0x1002:0x683F 0x1545:0x7750).
[    2.659698] [drm] register mmio base: 0xe90000000
[    2.664466] [drm] register mmio size: 262144
[    3.000729] ATOM BIOS: C44501
[    3.004027] radeon 0000:81:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[    3.012959] radeon 0000:81:00.0: GTT: 2048M 0x0000000040000000 - 0x00000000BFFFFFFF
[    3.020642] [drm] Detected VRAM RAM=1024M, BAR=256M
[    3.025536] [drm] RAM width 128bits DDR
[    3.029564] [TTM] Zone  kernel: Available graphics memory: 378436 kiB
[    3.036053] [TTM] Zone highmem: Available graphics memory: 1033796 kiB
[    3.042606] [TTM] Initializing pool allocator
[    3.047005] [TTM] Initializing DMA pool allocator
[    3.051829] [drm] radeon: 1024M of VRAM memory ready
[    3.056831] [drm] radeon: 2048M of GTT memory ready.
[    3.061861] [drm] Loading verde Microcode
[    3.065925] [drm] Internal thermal controller with fan control
[    3.072073] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[    3.121249] [drm] radeon: dpm initialized
[    3.127664] [drm] Found VCE firmware/feedback version 50.0.1 / 17!
[    3.133923] [drm] GART: num cpu pages 524288, num gpu pages 524288
[    3.150601] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[    3.207450] [drm] PCIE GART of 2048M enabled (table at 0x00000000002E8000).
[    3.214775] radeon 0000:81:00.0: WB enabled
[    3.219003] radeon 0000:81:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xee965c00
[    3.229133] radeon 0000:81:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xee965c04
[    3.239254] radeon 0000:81:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xee965c08
[    3.249375] radeon 0000:81:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xee965c0c
[    3.259497] radeon 0000:81:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xee965c10
[    3.301012] radeon 0000:81:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xf5135a18
[    3.338154] radeon 0000:81:00.0: fence driver on ring 6 use gpu addr 0x0000000040000c18 and cpu addr 0xee965c18
[    3.348309] radeon 0000:81:00.0: fence driver on ring 7 use gpu addr 0x0000000040000c1c and cpu addr 0xee965c1c
[    3.358444] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.365087] [drm] Driver supports precise vblank timestamp query.
[    3.371213] radeon 0000:81:00.0: radeon: MSI limited to 32-bit
[    3.377138] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    3.385399] radeon 0000:81:00.0: radeon: using MSI.
[    3.390358] [drm] radeon: irq initialized.
[    4.149573] [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
[    4.158410] radeon 0000:81:00.0: disabling GPU acceleration
[    4.367347] [drm] Radeon Display Connectors
[    4.371907] [drm] Connector 0:
[    4.375038] [drm]   HDMI-A-1
[    4.378042] [drm]   HPD4
[    4.380627] [drm]   DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c 0x657c
[    4.388080] [drm]   Encoders:
[    4.391081] [drm]     DFP1: INTERNAL_UNIPHY2
[    4.395371] [drm] Connector 1:
[    4.398441] [drm]   DVI-I-1
[    4.401255] [drm]   HPD2
[    4.403810] [drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
[    4.411237] [drm]   Encoders:
[    4.414223] [drm]     DFP2: INTERNAL_UNIPHY
[    4.418424] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    4.536720] [drm] fb mappable at 0x806E9000
[    4.540934] [drm] vram apper at 0x80000000
[    4.545048] [drm] size 8294400
[    4.548120] [drm] fb depth is 24
[    4.551367] [drm]    pitch is 7680
[    4.830663] Console: switching to colour frame buffer device 240x67
[    4.909999] radeon 0000:81:00.0: fb0: radeondrmfb frame buffer device
[    4.919274] [drm] Initialized radeon 2.43.0 20080528 for 0000:81:00.0 on minor 0
[    4.927614] [drm] amdgpu kernel modesetting enabled.
[    4.946918] brd: module loaded
[    4.957320] loop: module loaded
[    4.961126] sm501 0001:00:06.0: enabling device (0004 -> 0006)
[    4.967573] sm501 0001:00:06.0: incorrect device id c0000105
[    4.974276] sata-dwc 4bffd1000.sata: id 0, controller version 1.82
[    4.981380] sata-dwc 4bffd1000.sata: DesignWare DMA Controller, 1 channels
[    4.989579] scsi host0: sata-dwc
[    4.993395] ata1: SATA max UDMA/133 irq 36
[    4.998302] sata_sil 0001:00:04.0: Applying R_ERR on DMA activate FIS errata fix
[    5.007548] scsi host1: sata_sil
[    5.011610] scsi host2: sata_sil
[    5.015456] ata2: SATA max UDMA/100 mmio m512@0xd84280000 tf 0xd84280080 irq 21
[    5.023329] ata3: SATA max UDMA/100 mmio m512@0xd84280000 tf 0xd842800c0 irq 21
[    5.031941] libphy: Fixed MDIO Bus: probed
[    5.036855] PPC 4xx OCP EMAC driver, version 3.54
[    5.042298] MAL v2 /plb/mcmal, 2 TX channels, 16 RX channels
[    5.048624] ZMII /plb/opb/emac-zmii@ef600d00 initialized
[    5.054552] RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support
[    5.062340] TAH /plb/opb/emac-tah@ef601350 initialized
[    5.067931] TAH /plb/opb/emac-tah@ef601450 initialized
[    5.073760] /plb/opb/emac-rgmii@ef601500: input 0 in RGMII mode
[    5.081537] eth0: EMAC-0 /plb/opb/ethernet@ef600e00, MAC 00:50:c2:80:d5:c5
[    5.088971] eth0: found Generic MII PHY (0x00)
[    5.093923] /plb/opb/emac-rgmii@ef601500: input 1 in RGMII mode
[    5.101614] eth1: EMAC-1 /plb/opb/ethernet@ef600f00, MAC 00:00:00:00:00:00
[    5.109051] eth1: found Generic MII PHY (0x01)
[    5.113909] PPP generic driver version 2.4.2
[    5.118777] PPP BSD Compression module registered
[    5.123934] PPP Deflate Compression module registered
[    5.129326] NET: Registered protocol family 24
[    5.134454] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.141659] ppc-of-ehci 4bffd0400.ehci: OF EHCI
[    5.146722] ppc-of-ehci 4bffd0400.ehci: new USB bus registered, assigned bus number 1
[    5.155430] ppc-of-ehci 4bffd0400.ehci: irq 31, io mem 0x4bffd0400
[    5.182223] ppc-of-ehci 4bffd0400.ehci: USB 2.0 started, EHCI 1.00
[    5.202893] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.224022] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.245576] usb usb1: Product: OF EHCI
[    5.263609] usb usb1: Manufacturer: Linux 4.6.0-rc4-next-20160421-sam460ex-jm ehci_hcd
[    5.286282] usb usb1: SerialNumber: PPC-OF USB
[    5.306120] hub 1-0:1.0: USB hub found
[    5.324626] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    5.346076] hub 1-0:1.0: 1 port detected
[    5.364909] ata1.00: ATA-8: WDC WD5000AAKX-00ERMA0, 15.01H15, max UDMA/133
[    5.364916] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 1/32)
[    5.365011] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    5.409694] ata2.00: ATA-8: WDC WD5000AAKS-00UU3A0, 01.03B01, max UDMA/133
[    5.409700] ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    5.409792] ata1.00: configured for UDMA/133
[    5.432183] scsi 0:0:0:0: Direct-Access     ATA      WDC WD5000AAKX-0 1H15 PQ: 0 ANSI: 5
[    5.432316] ata2.00: configured for UDMA/100
[    5.541808] ehci-pci: EHCI PCI platform driver
[    5.563020] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    5.563271] sd 0:0:0:0: [sda] Write Protect is off
[    5.563406] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    5.563540] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.565194] scsi 1:0:0:0: Direct-Access     ATA      WDC WD5000AAKS-0 3B01 PQ: 0 ANSI: 5
[    5.589623]  sda: sda1
[    5.590792] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.660715] sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    5.660937] sd 1:0:0:0: [sdb] Write Protect is off
[    5.661042] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.661399] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    5.688143]  sdb: RDSK (512) sdb1 (SFS^@)(res 2 spb 1) sdb2 (SFS^@)(res 2 spb 1) sdb3 (SFS^@)(res 2 spb 1) sdb4 (SFS^@)(res 2 spb 1) sdb5 (NTFS)(res 2 spb 2) sdb6 ((res 2 spb 1)
[    5.690066] sd 1:0:0:0: [sdb] Attached SCSI disk
[    5.882405] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.906819] ppc-of-ohci 4bffd0000.usb: OF OHCI
[    5.929265] usb 1-1: new high-speed USB device number 2 using ppc-of-ehci
[    5.954550] ppc-of-ohci 4bffd0000.usb: new USB bus registered, assigned bus number 2
[    5.980884] ppc-of-ohci 4bffd0000.usb: irq 32, io mem 0x4bffd0000
[    6.010251] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    6.052357] ata3.00: ATAPI: ASUS    DRW-24B3ST   i, 1.00, max UDMA/100
[    6.092651] usb 1-1: New USB device found, idVendor=0424, idProduct=2517
[    6.140219] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    6.192983] hub 1-1:1.0: USB hub found
[    6.215263] ata3.00: configured for UDMA/100
[    6.286090] hub 1-1:1.0: 7 ports detected
[    6.331471] scsi 2:0:0:0: CD-ROM            ASUS     DRW-24B3ST   i   1.00 PQ: 0 ANSI: 5
[    6.411687] sr 2:0:0:0: [sr0] scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[    6.464211] cdrom: Uniform CD-ROM driver Revision: 3.20
[    6.513283] sr 2:0:0:0: Attached scsi generic sg2 type 5
[    6.632224] usb 1-1.1: new high-speed USB device number 3 using ppc-of-ehci
[    6.770861] usb 1-1.1: New USB device found, idVendor=1a40, idProduct=0101
[    6.820217] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    6.872215] usb 1-1.1: Product: USB 2.0 Hub
[    6.905197] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    6.905218] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.905222] usb usb2: Product: OF OHCI
[    6.905227] usb usb2: Manufacturer: Linux 4.6.0-rc4-next-20160421-sam460ex-jm ohci_hcd
[    6.905232] usb usb2: SerialNumber: PPC-OF USB
[    6.905806] hub 2-0:1.0: USB hub found
[    6.905837] hub 2-0:1.0: 1 port detected
[    6.906292] ohci-pci: OHCI PCI platform driver
[    6.906838] usbcore: registered new interface driver usblp
[    6.907017] usbcore: registered new interface driver usb-storage
[    6.907256] usbcore: registered new interface driver usbserial
[    6.907357] usbcore: registered new interface driver usbserial_generic
[    6.907451] usbserial: USB Serial support registered for generic
[    6.907806] mousedev: PS/2 mouse device common for all mice
[    6.907899] i2c /dev entries driver
[    6.911362] Unable to handle kernel paging request for data at address 0x00000140
[    6.911366] Faulting instruction address: 0xc073aa08
[    6.911375] Vector: 300 (Data Access) at [eea6dd90]
[    6.911397]     pc: c073aa08: mutex_lock+0x0/0x1c
[    6.911415]     lr: c051a8e8: m41t80_handle_irq+0x28/0xac
[    6.911417]     sp: eea6de40
[    6.911420]    msr: 29000
[    6.911422]    dar: 140
[    6.911424]  dsisr: 0
[    6.911427]   current = 0xea9834e0
[    6.911430]     pid   = 1413, comm = irq/45-m41t80
[    6.911436] Linux version 4.6.0-rc4-next-20160421-sam460ex-jm (root@julian-VirtualBox) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #1 PREEMPT Thu Apr 21 19:56:14 AST 2016
[    6.911462] enter ? for help
[    6.911477] [link register   ] c051a8e8 m41t80_handle_irq+0x28/0xac
[    6.911485] [eea6de40] 00000000 (unreliable)
[    6.911504] [eea6de60] c004ffac irq_thread_fn+0x2c/0x48
[    6.911516] [eea6de80] c00501cc irq_thread+0xc4/0x160
[    6.911537] [eea6ded0] c003a3f8 kthread+0xc8/0xcc
[    6.911552] [eea6df40] c000aee8 ret_from_kernel_thread+0x5c/0x64
[    6.911558] mon>  <no input ...>
[    8.911627] sched: RT throttling activated
[    8.911751] Oops: Kernel access of bad area, sig: 11 [#1]
[    8.911755] PREEMPT Canyonlands
[    8.911760] Modules linked in:
[    8.911767] CPU: 0 PID: 1413 Comm: irq/45-m41t80 Not tainted 4.6.0-rc4-next-20160421-sam460ex-jm #1
[    8.911773] task: ea9834e0 ti: eea6c000 task.ti: eea6c000
[    8.911776] NIP: c073aa08 LR: c051a8e8 CTR: c051a8c0
[    8.911780] REGS: eea6dd90 TRAP: 0300   Not tainted  (4.6.0-rc4-next-20160421-sam460ex-jm)
[    8.911792] MSR: 00029000 <CE,EE,ME>  CR: 44000822  XER: 20000000
[    8.911844] DEAR: 00000140 ESR: 00000000 
[    8.911844] GPR00: c004ffac eea6de40 ea9834e0 00000140 ee907a00 00000000 00000000 ea983808 
[    8.911844] GPR08: c0b8e964 c051a8c0 00000001 ea4000cc 24082224 00000000 c003a330 ee911b00 
[    8.911844] GPR16: 00000000 00000000 00000000 00000000 00000000 c0b80000 00000001 ee922ad4 
[    8.911844] GPR24: ee926aa4 00000000 ee922adc ee926a80 ee911ad0 ee922a80 ee907a00 00000140 
[    8.911851] NIP [c073aa08] mutex_lock+0x0/0x1c
[    8.911857] LR [c051a8e8] m41t80_handle_irq+0x28/0xac
[    8.911859] Call Trace:
[    8.911866] [eea6de60] [c004ffac] irq_thread_fn+0x2c/0x48
[    8.911872] [eea6de80] [c00501cc] irq_thread+0xc4/0x160
[    8.911879] [eea6ded0] [c003a3f8] kthread+0xc8/0xcc
[    8.911885] [eea6df40] [c000aee8] ret_from_kernel_thread+0x5c/0x64
[    8.911888] Instruction dump:
[    8.911903] 812a0008 2f890000 409e0014 812a0010 712a0004 41820008 4bffeb6d bb410018 
[    8.911916] 80010034 38210030 7c0803a6 4e800020 <7d201828> 3129ffff 7d20192d 40a2fff4 
[    8.911942] ---[ end trace 19f0c3bd3f6d438b ]---
[    8.911944] 
[    8.911956] Unable to handle kernel paging request for data at address 0xffffffe0
[    8.911958] Faulting instruction address: 0xc003a828
[    8.911963] Vector: 300 (Data Access) at [eea6dc40]
[    8.911974]     pc: c003a828: kthread_data+0x4/0xc
[    8.911984]     lr: c00500a0: irq_thread_dtor+0x48/0xb0
[    8.911986]     sp: eea6dcf0
[    8.911989]    msr: 29000
[    8.911991]    dar: ffffffe0
[    8.911993]  dsisr: 0
[    8.911996]   current = 0xea9834e0
[    8.911999]     pid   = 1413, comm = irq/45-m41t80
[    8.912004] Linux version 4.6.0-rc4-next-20160421-sam460ex-jm (root@julian-VirtualBox) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #1 PREEMPT Thu Apr 21 19:56:14 AST 2016
[    8.912011] enter ? for help
[    8.912016] mon>  <no input ...>
[   10.912066] Oops: Kernel access of bad area, sig: 11 [#2]
[   10.912069] PREEMPT Canyonlands
[   10.912071] Modules linked in:
[   10.912077] CPU: 0 PID: 1413 Comm: irq/45-m41t80 Tainted: G      D         4.6.0-rc4-next-20160421-sam460ex-jm #1
[   10.912080] task: ea9834e0 ti: eea6c000 task.ti: eea6c000
[   10.912083] NIP: c003a828 LR: c00500a0 CTR: c0050058
[   10.912087] REGS: eea6dc40 TRAP: 0300   Tainted: G      D          (4.6.0-rc4-next-20160421-sam460ex-jm)
[   10.912097] MSR: 00029000 <CE,EE,ME>  CR: 44002824  XER: 20000000
[   10.912148] DEAR: ffffffe0 ESR: 00000000 
[   10.912148] GPR00: c0038d38 eea6dcf0 ea9834e0 ea9834e0 00000000 00000001 00000000 00000000 
[   10.912148] GPR08: 00000000 00000000 00000004 eea6dd20 24002424 00000000 c003a330 ee911b00 
[   10.912148] GPR16: 00000000 00000000 00000000 00000000 00000000 c0b80000 00000001 ee922ad4 
[   10.912148] GPR24: ee926aa4 00000000 c0b87000 eea6dd28 c0b90000 ea983808 00000000 ea9834e0 
[   10.912153] NIP [c003a828] kthread_data+0x4/0xc
[   10.912159] LR [c00500a0] irq_thread_dtor+0x48/0xb0
[   10.912161] Call Trace:
[   10.912171] [eea6dcf0] [c073c0b8] _raw_spin_unlock+0x18/0x54 (unreliable)
[   10.912178] [eea6dd00] [c0038d38] task_work_run+0x7c/0x98
[   10.912191] [eea6dd20] [c00234c4] do_exit+0x2f0/0x77c
[   10.912205] [eea6dd60] [c0007764] die+0x23c/0x244
[   10.912212] [eea6dd80] [c000b2cc] handle_page_fault+0x7c/0x80
[   10.912220] --- interrupt: 300 at mutex_lock+0x0/0x1c
[   10.912220]     LR = m41t80_handle_irq+0x28/0xac
[   10.912226] [eea6de40] [00000000]   (null) (unreliable)
[   10.912232] [eea6de60] [c004ffac] irq_thread_fn+0x2c/0x48
[   10.912239] [eea6de80] [c00501cc] irq_thread+0xc4/0x160
[   10.912245] [eea6ded0] [c003a3f8] kthread+0xc8/0xcc
[   10.912252] [eea6df40] [c000aee8] ret_from_kernel_thread+0x5c/0x64
[   10.912254] Instruction dump:
[   10.912268] 7ce0412d 40a2fff4 7f831000 419e0010 480040a9 387fffe4 486ff649 39200000 
[   10.912281] 39610010 7d234b78 4bfd691c 81230238 <8069ffe0> 4e800020 9421ffe0 39200000 
[   10.912284] ---[ end trace 19f0c3bd3f6d438c ]---
[   10.912285] 
[   10.912287] Fixing recursive fault but reboot is needed!
[   10.912516] Unable to handle kernel paging request for data at address 0x00000008
[   10.912519] Faulting instruction address: 0xc0224480
[   10.912524] Vector: 300 (Data Access) at [eea6daf0]
[   10.912538]     pc: c0224480: exit_shm+0x18/0x148
[   10.912549]     lr: c0023494: do_exit+0x2c0/0x77c
[   10.912552]     sp: eea6dba0
[   10.912554]    msr: 29000
[   10.912556]    dar: 8
[   10.912558]  dsisr: 0
[   10.912561]   current = 0xea9834e0
[   10.912564]     pid   = 1413, comm = irq/45-m41t80
[   10.912570] Linux version 4.6.0-rc4-next-20160421-sam460ex-jm (root@julian-VirtualBox) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #1 PREEMPT Thu Apr 21 19:56:14 AST 2016
[   10.912580] enter ? for help
[   10.912584] mon>  <no input ...>
[   12.912739] Oops: Kernel access of bad area, sig: 11 [#3]
[   12.912743] PREEMPT Canyonlands
[   12.912746] Modules linked in:
[   12.912753] CPU: 0 PID: 1413 Comm: irq/45-m41t80 Tainted: G      D         4.6.0-rc4-next-20160421-sam460ex-jm #1
[   12.912757] task: ea9834e0 ti: eea6c000 task.ti: eea6c000
[   12.912760] NIP: c0224480 LR: c0023494 CTR: c0042508
[   12.912764] REGS: eea6daf0 TRAP: 0300   Tainted: G      D          (4.6.0-rc4-next-20160421-sam460ex-jm)
[   12.912774] MSR: 00029000 <CE,EE,ME>  CR: 24008282  XER: 00000000
[   12.912825] DEAR: 00000008 ESR: 00000000 
[   12.912825] GPR00: c0023494 eea6dba0 ea9834e0 ea9834e0 00000000 7b2b1b22 00000000 00000800 
[   12.912825] GPR08: ffffffff 00000000 ea983878 eea6dbd0 c0b42f60 00000000 c003a330 ee911b00 
[   12.912825] GPR16: 00000000 00000000 00000000 00000000 00000000 c0b80000 00000001 ee922ad4 
[   12.912825] GPR24: ee926aa4 00000000 ea9837b8 eea6dbd8 00021000 00000000 0000000b ea9834e0 
[   12.912831] NIP [c0224480] exit_shm+0x18/0x148
[   12.912836] LR [c0023494] do_exit+0x2c0/0x77c
[   12.912838] Call Trace:
[   12.912844] [eea6dba0] [c0b80000] 0xc0b80000 (unreliable)
[   12.912851] [eea6dbd0] [c0023494] do_exit+0x2c0/0x77c
[   12.912858] [eea6dc10] [c0007764] die+0x23c/0x244
[   12.912865] [eea6dc30] [c000b2cc] handle_page_fault+0x7c/0x80
[   12.912881] --- interrupt: 300 at kthread_data+0x4/0xc
[   12.912881]     LR = irq_thread_dtor+0x48/0xb0
[   12.912891] [eea6dcf0] [c073c0b8] _raw_spin_unlock+0x18/0x54 (unreliable)
[   12.912898] [eea6dd00] [c0038d38] task_work_run+0x7c/0x98
[   12.912905] [eea6dd20] [c00234c4] do_exit+0x2f0/0x77c
[   12.912912] [eea6dd60] [c0007764] die+0x23c/0x244
[   12.912918] [eea6dd80] [c000b2cc] handle_page_fault+0x7c/0x80
[   12.912927] --- interrupt: 300 at mutex_lock+0x0/0x1c
[   12.912927]     LR = m41t80_handle_irq+0x28/0xac
[   12.912932] [eea6de40] [00000000]   (null) (unreliable)
[   12.912938] [eea6de60] [c004ffac] irq_thread_fn+0x2c/0x48
[   12.912944] [eea6de80] [c00501cc] irq_thread+0xc4/0x160
[   12.912951] [eea6ded0] [c003a3f8] kthread+0xc8/0xcc
[   12.912957] [eea6df40] [c000aee8] ret_from_kernel_thread+0x5c/0x64
[   12.912960] Instruction dump:
[   12.912974] 80010014 7fc3f378 bbc10008 7c0803a6 38210010 4be24ca8 9421ffd0 7c0802a6 
[   12.912987] bf210014 90010034 3b4302d8 812302ec <83890008> 812302d8 7f9a4840 419e011c 
[   12.912991] ---[ end trace 19f0c3bd3f6d438d ]---
[   12.912993] 
[   12.912995] Fixing recursive fault but reboot is needed!
[   13.390671] rtc-m41t80 8-0068: rtc core: registered m41t80 as rtc0
[   13.470525] ibm-iic 4ef600700.i2c: using standard (100 kHz) mode
[   13.470943] ibm-iic 4ef600800.i2c: using standard (100 kHz) mode
[   13.471001] md: linear personality registered for level -1
[   13.471005] md: raid0 personality registered for level 0
[   13.471008] md: raid1 personality registered for level 1
[   13.471012] md: raid10 personality registered for level 10
[   13.491775] md: raid6 personality registered for level 6
[   13.491779] md: raid5 personality registered for level 5
[   13.491782] md: raid4 personality registered for level 4
[   13.492514] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[   13.492517] EDAC PPC4xx MC: v1.0.0
[   13.492520] EDAC PPC4xx MC: Reporting type: interrupt
[   13.492832] hidraw: raw HID events driver (C) Jiri Kosina
[   13.493915] usbcore: registered new interface driver usbhid
[   13.493917] usbhid: USB HID core driver
[   13.497644] no UART detected at 0x1
[   13.498374] usbcore: registered new interface driver snd-usb-audio
[   13.498483] usbcore: registered new interface driver snd-ua101
[   13.498596] usbcore: registered new interface driver snd-usb-usx2y
[   13.498765] ipip: IPv4 over IPv4 tunneling driver
[   13.499333] Initializing XFRM netlink socket
[   13.503146] NET: Registered protocol family 10
[   13.504957] sit: IPv6 over IPv4 tunneling driver
[   13.505725] NET: Registered protocol family 17
[   13.505745] NET: Registered protocol family 15
[   13.505923] Running MSI bitmap self-tests ...
[   13.508058] Key type encrypted registered
[   13.631062] rtc-m41t80 8-0068: setting system clock to 2016-04-21 20:03:58 UTC (1461269038)
[   13.631222] ALSA device list:
[   13.631225]   #0: Virtual MIDI Card 1
[   17.131679] md: Waiting for all devices to be available before autodetect
[   17.152912] hub 1-1.1:1.0: USB hub found
[   17.153121] hub 1-1.1:1.0: 4 ports detected
[   17.189316] md: If you don't use raid, use raid=noautodetect
[   17.209745] md: Autodetecting RAID arrays.
[   17.227743] md: Scanned 0 and added 0 devices.
[   17.245854] md: autorun ...
[   17.262152] md: ... autorun DONE.
[   17.278985] usb 1-1.2: new low-speed USB device number 4 using ppc-of-ehci
[   17.325054] EXT4-fs (sdb6): couldn't mount as ext3 due to feature incompatibilities
[   17.347361] EXT4-fs (sdb6): couldn't mount as ext2 due to feature incompatibilities
[   17.375342] EXT4-fs (sdb6): INFO: recovery required on readonly filesystem
[   17.396201] EXT4-fs (sdb6): write access will be enabled during recovery
[   17.423483] usb 1-1.2: New USB device found, idVendor=04f2, idProduct=0116
[   17.445906] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   17.467406] usb 1-1.2: Product: USB Keyboard
[   17.485843] usb 1-1.2: Manufacturer: CHICONY
[   17.513351] input: CHICONY USB Keyboard as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.2/1-1.2:1.0/0003:04F2:0116.0001/input/input0
[   17.540566] usb 1-1.1.1: new full-speed USB device number 5 using ppc-of-ehci
[   17.614984] hid-generic 0003:04F2:0116.0001: input,hidraw0: USB HID v1.10 Keyboard [CHICONY USB Keyboard] on usb-PPC-OF USB-1.2/input0
[   17.655754] usb 1-1.1.1: New USB device found, idVendor=0d8c, idProduct=000c
[   17.681118] usb 1-1.1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   17.706188] usb 1-1.1.1: Product: C-Media USB Audio Device   
[   17.729746] usb 1-1.6: new full-speed USB device number 6 using ppc-of-ehci
[   17.785630] input: C-Media USB Audio Device    as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.1/1-1.1.1/1-1.1.1:1.3/0003:0D8C:000C.0002/input/input1
[   17.850117] usb 1-1.6: New USB device found, idVendor=046d, idProduct=c52b
[   17.874581] hid-generic 0003:0D8C:000C.0002: input,hidraw1: USB HID v1.00 Device [C-Media USB Audio Device   ] on usb-PPC-OF USB-1.1.1/input3
[   17.911510] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   17.936751] usb 1-1.6: Product: USB Receiver
[   17.958420] random: nonblocking pool is initialized
[   17.982294] usb 1-1.6: Manufacturer: Logitech
[   18.014291] input: Logitech USB Receiver as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.6/1-1.6:1.0/0003:046D:C52B.0003/input/input2
[   18.102175] hid-generic 0003:046D:C52B.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input0
[   18.143443] input: Logitech USB Receiver as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.6/1-1.6:1.1/0003:046D:C52B.0004/input/input3
[   18.226842] hid-generic 0003:046D:C52B.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input1
[   18.266562] hid-generic 0003:046D:C52B.0005: hidraw4: USB HID v1.11 Device [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input2
[   18.371239] usb 1-1.7: new high-speed USB device number 7 using ppc-of-ehci
[   18.489821] usb 1-1.7: New USB device found, idVendor=0424, idProduct=2240
[   18.516856] usb 1-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   18.544484] usb 1-1.7: Product: Ultra Fast Media 
[   18.569600] usb 1-1.7: Manufacturer: Generic
[   18.594020] usb 1-1.7: SerialNumber: 000000225001
[   18.620099] usb-storage 1-1.7:1.0: USB Mass Storage device detected
[   18.646888] scsi host3: usb-storage 1-1.7:1.0
[   18.842405] EXT4-fs (sdb6): orphan cleanup on readonly fs
[   18.868895] EXT4-fs (sdb6): 8 orphan inodes deleted
[   18.893714] EXT4-fs (sdb6): recovery complete
[   19.000069] EXT4-fs (sdb6): mounted filesystem with ordered data mode. Opts: (null)
[   19.027844] VFS: Mounted root (ext4 filesystem) readonly on device 8:22.
[   19.063289] devtmpfs: mounted
[   19.087023] Freeing unused kernel memory: 240K (c0b00000 - c0b3c000)
[   19.113984] This architecture does not have kernel memory protection.
[   19.674471] scsi 3:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   1.98 PQ: 0 ANSI: 0
[   19.705782] sd 3:0:0:0: Attached scsi generic sg3 type 0
[   19.734968] sd 3:0:0:0: [sdc] Attached SCSI removable disk
[   19.917138] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[   19.958023] systemd[1]: Detected architecture ppc.
[   20.065041] systemd[1]: Set hostname to <Amigaone>.
[   21.519968] systemd[1]: Reached target Encrypted Volumes.
[   21.570560] systemd[1]: Listening on udev Kernel Socket.
[   21.620798] systemd[1]: Listening on Syslog Socket.
[   21.670627] systemd[1]: Listening on udev Control Socket.
[   21.721378] systemd[1]: Reached target Remote File Systems (Pre).
[   21.772897] systemd[1]: Reached target Remote File Systems.
[   21.825097] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   21.881762] systemd[1]: Listening on Journal Socket (/dev/log).
[   21.935120] systemd[1]: Created slice System Slice.
[   21.987339] systemd[1]: Created slice system-getty.slice.
[   22.038600] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[   22.090775] systemd[1]: Reached target User and Group Name Lookups.
[   22.172569] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   22.225088] systemd[1]: Reached target Swap.
[   22.272701] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   22.322299] systemd[1]: Created slice User and Session Slice.
[   22.370982] systemd[1]: Reached target Slices.
[   22.416829] systemd[1]: Listening on fsck to fsckd communication Socket.
[   22.464385] systemd[1]: Listening on Journal Socket.
[   22.511007] systemd[1]: Started Read required files in advance.
[   22.570057] systemd[1]: Mounting Debug File System...
[   22.625126] systemd[1]: Starting Journal Service...
[   22.684498] systemd[1]: Starting Uncomplicated firewall...
[   22.737849] systemd[1]: Starting Braille Device Support...
[   22.836716] systemd[1]: Mounting POSIX Message Queue File System...
[   22.897533] systemd[1]: Starting Create Static Device Nodes in /dev...
[   22.958067] systemd[1]: Starting Nameserver information manager...
[   23.084926] systemd[1]: Starting Load Kernel Modules...
[   23.148296] systemd[1]: Mounted Debug File System.
[   23.210788] systemd[1]: Mounted POSIX Message Queue File System.
[   23.330650] systemd[1]: ureadahead.service: Main process exited, code=exited, status=5/NOTINSTALLED
[   23.404931] systemd[1]: ureadahead.service: Unit entered failed state.
[   23.478357] systemd[1]: ureadahead.service: Failed with result 'exit-code'.
[   23.538604] systemd[1]: Started Uncomplicated firewall.
[   23.633545] systemd[1]: brltty.service: Main process exited, code=exited, status=228/SECCOMP
[   23.664743] systemd[1]: Failed to start Braille Device Support.
[   23.743947] systemd[1]: brltty.service: Unit entered failed state.
[   23.770120] systemd[1]: brltty.service: Failed with result 'exit-code'.
[   23.798553] systemd[1]: Started Create Static Device Nodes in /dev.
[   23.852655] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
[   23.889120] systemd[1]: Failed to start Load Kernel Modules.
[   23.964997] systemd[1]: systemd-modules-load.service: Unit entered failed state.
[   23.992178] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
[   24.023033] systemd[1]: Started Nameserver information manager.
[   24.080318] systemd[1]: Started Journal Service.

Ubuntu 16.04 LTS Amigaone ttyS0

Amigaone login: [  557.038222] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[  557.054514] ata1.00: failed command: WRITE FPDMA QUEUED
[  557.066127] ata1.00: cmd 61/00:00:00:44:01/04:00:00:00:00/40 tag 0 ncq 524288 out
[  557.066127]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  557.117097] ata1.00: status: { DRDY }
[  588.078116] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[  588.098085] ata1.00: failed command: WRITE FPDMA QUEUED
[  588.111676] ata1.00: cmd 61/00:00:00:44:01/04:00:00:00:00/40 tag 0 ncq 524288 out
[  588.111676]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  588.160050] ata1.00: status: { DRDY }
[  619.054000] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[  619.072898] ata1.00: failed command: WRITE FPDMA QUEUED
[  619.091921] ata1.00: cmd 61/00:00:00:44:01/04:00:00:00:00/40 tag 0 ncq 524288 out
[  619.091921]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  619.133930] ata1.00: status: { DRDY }
[  650.093801] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[  650.114709] ata1.00: failed command: WRITE FPDMA QUEUED
[  650.132741] ata1.00: cmd 61/00:00:00:44:01/04:00:00:00:00/40 tag 0 ncq 524288 out
[  650.132741]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  650.178703] ata1.00: status: { DRDY }
[  681.069573] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  681.090496] ata1.00: failed command: WRITE DMA EXT
[  681.106547] ata1.00: cmd 35/00:00:00:44:01/00:04:00:00:00/e0 tag 0 dma 524288 out
[  681.106547]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  681.148522] ata1.00: status: { DRDY }
[  712.045351] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  712.066303] ata1.00: failed command: WRITE DMA EXT
[  712.082296] ata1.00: cmd 35/00:00:00:44:01/00:04:00:00:00/e0 tag 0 dma 524288 out
[  712.082296]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  712.123259] ata1.00: status: { DRDY }
[  712.442304] blk_update_request: I/O error, dev sda, sector 82944
[  712.464289] Buffer I/O error on dev sda1, logical block 10112, lost async page write
[  712.485669] Buffer I/O error on dev sda1, logical block 10113, lost async page write
[  712.507273] Buffer I/O error on dev sda1, logical block 10114, lost async page write
[  712.533260] Buffer I/O error on dev sda1, logical block 10115, lost async page write
[  712.556643] Buffer I/O error on dev sda1, logical block 10116, lost async page write
[  712.582319] Buffer I/O error on dev sda1, logical block 10117, lost async page write
[  712.608263] Buffer I/O error on dev sda1, logical block 10118, lost async page write
[  712.627801] Buffer I/O error on dev sda1, logical block 10119, lost async page write
[  712.657018] Buffer I/O error on dev sda1, logical block 10120, lost async page write
[  712.678317] Buffer I/O error on dev sda1, logical block 10121, lost async page write
[  743.021092] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  743.037001] ata1.00: failed command: READ DMA
[  743.045623] ata1.00: cmd c8/00:08:e0:d5:01/00:00:00:00:00/e0 tag 0 dma 4096 in
[  743.045623]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  743.095291] ata1.00: status: { DRDY }
[  774.060800] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  774.074201] ata1.00: failed command: READ DMA
[  774.094734] ata1.00: cmd c8/00:08:e0:d5:01/00:00:00:00:00/e0 tag 0 dma 4096 in
[  774.094734]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  774.131219] ata1.00: status: { DRDY }
[  805.100512] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  805.115189] ata1.00: failed command: READ DMA
[  805.136999] ata1.00: cmd c8/00:08:e0:d5:01/00:00:00:00:00/e0 tag 0 dma 4096 in
[  805.136999]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  805.180936] ata1.00: status: { DRDY }
[  836.076208] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  836.088142] ata1.00: failed command: READ DMA
[  836.107693] ata1.00: cmd c8/00:08:e0:d5:01/00:00:00:00:00/e0 tag 0 dma 4096 in
[  836.107693]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  836.146145] ata1.00: status: { DRDY }
[  867.051895] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  867.105822] ata1.00: failed command: READ DMA
[  867.158847] ata1.00: cmd c8/00:08:e0:d5:01/00:00:00:00:00/e0 tag 0 dma 4096 in
[  867.158847]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  867.286458] ata1.00: status: { DRDY }
[  898.027548] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  898.035044] ata1.00: failed command: READ DMA
[  898.040626] ata1.00: cmd c8/00:08:e0:d5:01/00:00:00:00:00/e0 tag 0 dma 4096 in
[  898.040626]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  898.056647] ata1.00: status: { DRDY }
[  898.369718] blk_update_request: I/O error, dev sda, sector 120288

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

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

* Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again
@ 2016-04-22 10:50     ` Julian Margetson
  0 siblings, 0 replies; 46+ messages in thread
From: Julian Margetson @ 2016-04-22 10:50 UTC (permalink / raw)
  To: Christian Lamparter, Andy Shevchenko
  Cc: Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Måns Rullgård

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

On 4/21/2016 4:25 PM, Christian Lamparter wrote:
> On Thursday, April 21, 2016 09:15:21 PM Andy Shevchenko wrote:
>> The last approach in the commit 8b3444852a2b ("sata_dwc_460ex: move to generic
>> DMA driver") to switch to generic DMA engine API wasn't tested on bare metal.
>> Besides that we expecting new board support coming with the same SATA IP but
>> with different DMA.
>>
>> This series is targetting the following things:
>> - a few bug fixes to the original driver
>> - a part to fix the DMA engine usage and in particularly dw_dmac driver
>> - move driver to use generic PHY and "dmas" property which leads to update in DTS
>>
>> The driver has been tested myself on Sam460ex and WD MyBookLive (apollo3g)
>> boards. In any case I ask Christian, Måns, and Julian to independently test and
>> provide Tested-by tag or error report.
> I did a test run on my WD MyBook Live. I applied all the patches in
> this series on top of the topic/dw branch of Vinod Koul:
> <https://git.kernel.org/cgit/linux/kernel/git/vkoul/slave-dma.git/>
>
> Tested-by: Christian Lamparter <chunkeey@googlemail.com>
> ---
> results for my old ST3808110AS HDD. filesystem is ext4.
>
> # hdparm -t /dev/sda
>
> /dev/sda:
>   Timing buffered disk reads: 204 MB in  3.02 seconds =  67.51 MB/sec
>
> # bonnie++ -u mbl
> Using uid:1000, gid:1000.
> Writing a byte at a time...done
> Writing intelligently...done
> Rewriting...done
> Reading a byte at a time...done
> Reading intelligently...done
> start 'em...done...done...done...done...done...
> Create files in sequential order...done.
> Stat files in sequential order...done.
> Delete files in sequential order...done.
> Create files in random order...done.
> Stat files in random order...done.
> Delete files in random order...done.
> Version  1.97       ------Sequential Output------ --Sequential Input- --Random-
> Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
> Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
> mbl            496M    98  99 26011  21 17589  20   538  99 80138  39 208.9   8
> Latency             95267us    1409ms     295ms   26947us    9644us    1787ms
> Version  1.97       ------Sequential Create------ --------Random Create--------
> mbl                 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
>                files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
>                   16  6959  78 +++++ +++  5197  40  7250  79 +++++ +++  4718  37
> Latency               149ms    6742us     212ms     177ms     767us     217ms
> 1.97,1.97,mbl,1,1461269771,496M,,98,99,26011,21,17589,20,538,99,80138,39,208.9,8,16,,,,,6959,78,+++++,+++,5197,40,7250,79,+++++,+++,4718,37,95267us,1409ms,295ms,26947us,9644us,1787ms,149ms,6742us,212ms,177ms,767us,217ms
>
>
>
>
Again on copy partitions .

[-- Attachment #2: sam460ex_7.log --]
[-- Type: text/plain, Size: 57054 bytes --]

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2016.04.21 20:03:45 =~=~=~=~=~=~=~=~=~=~=~=
[    0.000000] Using Canyonlands machine description
[    0.000000] Linux version 4.6.0-rc4-next-20160421-sam460ex-jm (root@julian-VirtualBox) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #1 PREEMPT Thu Apr 21 19:56:14 AST 2016
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: root=/dev/sdb6 console=ttyS0,115200 console=tty0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 2001640K/2097152K available (7432K kernel code, 316K rwdata, 3816K rodata, 240K init, 370K bss, 95512K reserved, 0K cma-reserved, 1310720K highmem)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffcf000..0xfffff000  : fixmap
[    0.000000]   * 0xffc00000..0xffe00000  : highmem PTEs
[    0.000000]   * 0xffa00000..0xffc00000  : consistent mem
[    0.000000]   * 0xffa00000..0xffa00000  : early ioremap
[    0.000000]   * 0xf1000000..0xffa00000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000013] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x10a60dda894, max_idle_ns: 440795207041 ns
[    0.000023] clocksource: timebase mult[dda520] shift[24] registered
[    0.000146] Console: colour dummy device 80x25
[    0.000700] console [tty0] enabled
[    0.000736] pid_max: default: 32768 minimum: 301
[    0.000844] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000869] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003510] devtmpfs: initialized
[    0.006115] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.006507] xor: measuring software checksum speed
[    0.016609]    8regs     :   896.000 MB/sec
[    0.026442]    8regs_prefetch:   800.000 MB/sec
[    0.036491]    32regs    :  1232.000 MB/sec
[    0.046564]    32regs_prefetch:  1084.000 MB/sec
[    0.046598] xor: using function: 32regs (1232.000 MB/sec)
[    0.046626] prandom: seed boundary self test passed
[    0.048682] prandom: 100 self tests passed
[    0.049388] NET: Registered protocol family 16
[    0.054856] cpuidle: using governor ladder
[    0.057812] cpuidle: using governor menu
[    0.058198] 256k L2-cache enabled
[    0.058279] PCIE0: Port disabled via device-tree
[    0.058340] PCIE1: Checking link...
[    0.058357] PCIE1: Device detected, waiting for link...
[    0.058376] PCIE1: link is up !
[    0.160677] PCI host bridge /plb/pciex@d20000000 (primary) ranges:
[    0.160727]  MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000 
[    0.160763]  MEM 0x0000000f00100000..0x0000000f001fffff -> 0x0000000000000000 
[    0.160794]   IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000
[    0.160832] 4xx PCI DMA offset set to 0x00000000
[    0.160850] 4xx PCI DMA window base to 0x0000000000000000
[    0.160869] DMA window size 0x0000000080000000
[    0.160904] PCIE1: successfully set as root-complex
[    0.160996] PCI host bridge /plb/pci@c0ec00000 (primary) ranges:
[    0.161026]  MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000 
[    0.161061]  MEM 0x0000000c0ee00000..0x0000000c0eefffff -> 0x0000000000000000 
[    0.161092]   IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000
[    0.161121] 4xx PCI DMA offset set to 0x00000000
[    0.161139] 4xx PCI DMA window base to 0x0000000000000000
[    0.161157] DMA window size 0x0000000080000000
[    0.170647] PCI: Probing PCI hardware
[    0.170969] PCI host bridge to bus 0000:80
[    0.171007] pci_bus 0000:80: root bus resource [io  0xfffe0000-0xfffeffff] (bus address [0x0000-0xffff])
[    0.171044] pci_bus 0000:80: root bus resource [mem 0xe80000000-0xeffffffff] (bus address [0x80000000-0xffffffff])
[    0.171080] pci_bus 0000:80: root bus resource [mem 0xf00100000-0xf001fffff] (bus address [0x00000000-0x000fffff])
[    0.171118] pci_bus 0000:80: root bus resource [bus 80-ff]
[    0.171244] PCI: Hiding 4xx host bridge resources 0000:80:00.0
[    0.172405] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.172720] PCI host bridge to bus 0001:00
[    0.172753] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    0.172779] pci_bus 0001:00: root bus resource [mem 0xd80000000-0xdffffffff] (bus address [0x80000000-0xffffffff])
[    0.172816] pci_bus 0001:00: root bus resource [mem 0xc0ee00000-0xc0eefffff] (bus address [0x00000000-0x000fffff])
[    0.172854] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.173625] pci 0000:80:00.0: BAR 9: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.173671] pci 0000:80:00.0: BAR 8: assigned [mem 0xe90000000-0xe900fffff]
[    0.173697] pci 0000:80:00.0: BAR 7: assigned [io  0xfffe1000-0xfffe1fff]
[    0.173728] pci 0000:81:00.0: BAR 0: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.173770] pci 0000:81:00.0: BAR 2: assigned [mem 0xe90000000-0xe9003ffff 64bit]
[    0.173809] pci 0000:81:00.0: BAR 6: assigned [mem 0xe90040000-0xe9005ffff pref]
[    0.173842] pci 0000:81:00.1: BAR 0: assigned [mem 0xe90060000-0xe90063fff 64bit]
[    0.173881] pci 0000:81:00.0: BAR 4: assigned [io  0xfffe1000-0xfffe10ff]
[    0.173908] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.173931] pci 0000:80:00.0:   bridge window [io  0xfffe1000-0xfffe1fff]
[    0.173957] pci 0000:80:00.0:   bridge window [mem 0xe90000000-0xe900fffff]
[    0.173984] pci 0000:80:00.0:   bridge window [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.174081] pci 0001:00:06.0: BAR 0: assigned [mem 0xd80000000-0xd83ffffff]
[    0.174109] pci 0001:00:06.0: BAR 1: assigned [mem 0xd84000000-0xd841fffff]
[    0.174136] pci 0001:00:04.0: BAR 6: assigned [mem 0xd84200000-0xd8427ffff pref]
[    0.174168] pci 0001:00:04.0: BAR 5: assigned [mem 0xd84280000-0xd842801ff]
[    0.174195] pci 0001:00:04.0: BAR 4: assigned [io  0x1000-0x100f]
[    0.174220] pci 0001:00:04.0: BAR 0: assigned [io  0x1010-0x1017]
[    0.174245] pci 0001:00:04.0: BAR 2: assigned [io  0x1018-0x101f]
[    0.174270] pci 0001:00:04.0: BAR 1: assigned [io  0x1020-0x1023]
[    0.174296] pci 0001:00:04.0: BAR 3: assigned [io  0x1024-0x1027]
[    0.239426] raid6: int32x1  gen()   300 MB/s
[    0.256414] raid6: int32x1  xor()   162 MB/s
[    0.273519] raid6: int32x2  gen()   390 MB/s
[    0.290614] raid6: int32x2  xor()   236 MB/s
[    0.307774] raid6: int32x4  gen()   437 MB/s
[    0.324817] raid6: int32x4  xor()   255 MB/s
[    0.341971] raid6: int32x8  gen()   277 MB/s
[    0.358950] raid6: int32x8  xor()   205 MB/s
[    0.358974] raid6: using algorithm int32x4 gen() 437 MB/s
[    0.358993] raid6: .... xor() 255 MB/s, rmw enabled
[    0.359012] raid6: using intx1 recovery algorithm
[    0.359520] vgaarb: device added: PCI:0000:81:00.0,decodes=io+mem,owns=none,locks=none
[    0.359563] vgaarb: loaded
[    0.359579] vgaarb: bridge control possible 0000:81:00.0
[    0.360044] SCSI subsystem initialized
[    0.361160] usbcore: registered new interface driver usbfs
[    0.361297] usbcore: registered new interface driver hub
[    0.361416] usbcore: registered new device driver usb
[    0.361737] pps_core: LinuxPPS API ver. 1 registered
[    0.361767] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.361863] PTP clock support registered
[    0.362849] EDAC MC: Ver: 3.0.0
[    0.364015] Advanced Linux Sound Architecture Driver Initialized.
[    0.365210] clocksource: Switched to clocksource timebase
[    0.365446] FS-Cache: Loaded
[    0.365654] CacheFiles: Loaded
[    0.380629] NET: Registered protocol family 2
[    0.382503] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.382641] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    0.382966] TCP: Hash tables configured (established 8192 bind 8192)
[    0.383098] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    0.383174] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    0.383751] NET: Registered protocol family 1
[    0.384054] RPC: Registered named UNIX socket transport module.
[    0.384085] RPC: Registered udp transport module.
[    0.384103] RPC: Registered tcp transport module.
[    0.384120] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.384961] Could not remap bcsr
[    0.391066] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    0.393932] futex hash table entries: 256 (order: 0, 7168 bytes)
[    0.394523] workingset: timestamp_bits=28 max_order=19 bucket_order=0
[    0.414550] ntfs: driver 2.1.32 [Flags: R/W].
[    0.415117] fuse init (API version 7.24)
[    0.420342] async_tx: api initialized (async)
[    0.420437] bounce: pool size: 64 pages
[    0.420529] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.420561] io scheduler noop registered
[    0.420732] io scheduler cfq registered (default)
[    0.423105] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[    0.423137] crc32: self tests passed, processed 225944 bytes in 989463 nsec
[    0.424354] crc32c: CRC_LE_BITS = 64
[    0.424381] crc32c: self tests passed, processed 225944 bytes in 494971 nsec
[    0.493629] crc32_combine: 8373 self tests passed
[    0.563065] crc32c_combine: 8373 self tests passed
[    0.563119] glob: 64 self-tests passed, 0 failed
[    0.662336] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.665172] console [ttyS0] disabled
[    0.685707] serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 22, base_baud = 691200) is a U6_16550A
[    1.621588] console [ttyS0] enabled
[    1.646060] serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 23, base_baud = 691200) is a U6_16550A
[    1.656324] console [ttyS0] disabled
[    0.000000] Using Canyonlands machine description
[    0.000000] Linux version 4.6.0-rc4-next-20160421-sam460ex-jm (root@julian-VirtualBox) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #1 PREEMPT Thu Apr 21 19:56:14 AST 2016
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: root=/dev/sdb6 console=ttyS0,115200 console=tty0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 2001640K/2097152K available (7432K kernel code, 316K rwdata, 3816K rodata, 240K init, 370K bss, 95512K reserved, 0K cma-reserved, 1310720K highmem)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffcf000..0xfffff000  : fixmap
[    0.000000]   * 0xffc00000..0xffe00000  : highmem PTEs
[    0.000000]   * 0xffa00000..0xffc00000  : consistent mem
[    0.000000]   * 0xffa00000..0xffa00000  : early ioremap
[    0.000000]   * 0xf1000000..0xffa00000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000013] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x10a60dda894, max_idle_ns: 440795207041 ns
[    0.000023] clocksource: timebase mult[dda520] shift[24] registered
[    0.000146] Console: colour dummy device 80x25
[    0.000700] console [tty0] enabled
[    0.000736] pid_max: default: 32768 minimum: 301
[    0.000844] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000869] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003510] devtmpfs: initialized
[    0.006115] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.006507] xor: measuring software checksum speed
[    0.016609]    8regs     :   896.000 MB/sec
[    0.026442]    8regs_prefetch:   800.000 MB/sec
[    0.036491]    32regs    :  1232.000 MB/sec
[    0.046564]    32regs_prefetch:  1084.000 MB/sec
[    0.046598] xor: using function: 32regs (1232.000 MB/sec)
[    0.046626] prandom: seed boundary self test passed
[    0.048682] prandom: 100 self tests passed
[    0.049388] NET: Registered protocol family 16
[    0.054856] cpuidle: using governor ladder
[    0.057812] cpuidle: using governor menu
[    0.058198] 256k L2-cache enabled
[    0.058279] PCIE0: Port disabled via device-tree
[    0.058340] PCIE1: Checking link...
[    0.058357] PCIE1: Device detected, waiting for link...
[    0.058376] PCIE1: link is up !
[    0.160677] PCI host bridge /plb/pciex@d20000000 (primary) ranges:
[    0.160727]  MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000 
[    0.160763]  MEM 0x0000000f00100000..0x0000000f001fffff -> 0x0000000000000000 
[    0.160794]   IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000
[    0.160832] 4xx PCI DMA offset set to 0x00000000
[    0.160850] 4xx PCI DMA window base to 0x0000000000000000
[    0.160869] DMA window size 0x0000000080000000
[    0.160904] PCIE1: successfully set as root-complex
[    0.160996] PCI host bridge /plb/pci@c0ec00000 (primary) ranges:
[    0.161026]  MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000 
[    0.161061]  MEM 0x0000000c0ee00000..0x0000000c0eefffff -> 0x0000000000000000 
[    0.161092]   IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000
[    0.161121] 4xx PCI DMA offset set to 0x00000000
[    0.161139] 4xx PCI DMA window base to 0x0000000000000000
[    0.161157] DMA window size 0x0000000080000000
[    0.170647] PCI: Probing PCI hardware
[    0.170969] PCI host bridge to bus 0000:80
[    0.171007] pci_bus 0000:80: root bus resource [io  0xfffe0000-0xfffeffff] (bus address [0x0000-0xffff])
[    0.171044] pci_bus 0000:80: root bus resource [mem 0xe80000000-0xeffffffff] (bus address [0x80000000-0xffffffff])
[    0.171080] pci_bus 0000:80: root bus resource [mem 0xf00100000-0xf001fffff] (bus address [0x00000000-0x000fffff])
[    0.171118] pci_bus 0000:80: root bus resource [bus 80-ff]
[    0.171244] PCI: Hiding 4xx host bridge resources 0000:80:00.0
[    0.172405] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.172720] PCI host bridge to bus 0001:00
[    0.172753] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    0.172779] pci_bus 0001:00: root bus resource [mem 0xd80000000-0xdffffffff] (bus address [0x80000000-0xffffffff])
[    0.172816] pci_bus 0001:00: root bus resource [mem 0xc0ee00000-0xc0eefffff] (bus address [0x00000000-0x000fffff])
[    0.172854] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.173625] pci 0000:80:00.0: BAR 9: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.173671] pci 0000:80:00.0: BAR 8: assigned [mem 0xe90000000-0xe900fffff]
[    0.173697] pci 0000:80:00.0: BAR 7: assigned [io  0xfffe1000-0xfffe1fff]
[    0.173728] pci 0000:81:00.0: BAR 0: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.173770] pci 0000:81:00.0: BAR 2: assigned [mem 0xe90000000-0xe9003ffff 64bit]
[    0.173809] pci 0000:81:00.0: BAR 6: assigned [mem 0xe90040000-0xe9005ffff pref]
[    0.173842] pci 0000:81:00.1: BAR 0: assigned [mem 0xe90060000-0xe90063fff 64bit]
[    0.173881] pci 0000:81:00.0: BAR 4: assigned [io  0xfffe1000-0xfffe10ff]
[    0.173908] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.173931] pci 0000:80:00.0:   bridge window [io  0xfffe1000-0xfffe1fff]
[    0.173957] pci 0000:80:00.0:   bridge window [mem 0xe90000000-0xe900fffff]
[    0.173984] pci 0000:80:00.0:   bridge window [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.174081] pci 0001:00:06.0: BAR 0: assigned [mem 0xd80000000-0xd83ffffff]
[    0.174109] pci 0001:00:06.0: BAR 1: assigned [mem 0xd84000000-0xd841fffff]
[    0.174136] pci 0001:00:04.0: BAR 6: assigned [mem 0xd84200000-0xd8427ffff pref]
[    0.174168] pci 0001:00:04.0: BAR 5: assigned [mem 0xd84280000-0xd842801ff]
[    0.174195] pci 0001:00:04.0: BAR 4: assigned [io  0x1000-0x100f]
[    0.174220] pci 0001:00:04.0: BAR 0: assigned [io  0x1010-0x1017]
[    0.174245] pci 0001:00:04.0: BAR 2: assigned [io  0x1018-0x101f]
[    0.174270] pci 0001:00:04.0: BAR 1: assigned [io  0x1020-0x1023]
[    0.174296] pci 0001:00:04.0: BAR 3: assigned [io  0x1024-0x1027]
[    0.239426] raid6: int32x1  gen()   300 MB/s
[    0.256414] raid6: int32x1  xor()   162 MB/s
[    0.273519] raid6: int32x2  gen()   390 MB/s
[    0.290614] raid6: int32x2  xor()   236 MB/s
[    0.307774] raid6: int32x4  gen()   437 MB/s
[    0.324817] raid6: int32x4  xor()   255 MB/s
[    0.341971] raid6: int32x8  gen()   277 MB/s
[    0.358950] raid6: int32x8  xor()   205 MB/s
[    0.358974] raid6: using algorithm int32x4 gen() 437 MB/s
[    0.358993] raid6: .... xor() 255 MB/s, rmw enabled
[    0.359012] raid6: using intx1 recovery algorithm
[    0.359520] vgaarb: device added: PCI:0000:81:00.0,decodes=io+mem,owns=none,locks=none
[    0.359563] vgaarb: loaded
[    0.359579] vgaarb: bridge control possible 0000:81:00.0
[    0.360044] SCSI subsystem initialized
[    0.361160] usbcore: registered new interface driver usbfs
[    0.361297] usbcore: registered new interface driver hub
[    0.361416] usbcore: registered new device driver usb
[    0.361737] pps_core: LinuxPPS API ver. 1 registered
[    0.361767] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.361863] PTP clock support registered
[    0.362849] EDAC MC: Ver: 3.0.0
[    0.364015] Advanced Linux Sound Architecture Driver Initialized.
[    0.365210] clocksource: Switched to clocksource timebase
[    0.365446] FS-Cache: Loaded
[    0.365654] CacheFiles: Loaded
[    0.380629] NET: Registered protocol family 2
[    0.382503] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.382641] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    0.382966] TCP: Hash tables configured (established 8192 bind 8192)
[    0.383098] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    0.383174] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    0.383751] NET: Registered protocol family 1
[    0.384054] RPC: Registered named UNIX socket transport module.
[    0.384085] RPC: Registered udp transport module.
[    0.384103] RPC: Registered tcp transport module.
[    0.384120] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.384961] Could not remap bcsr
[    0.391066] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    0.393932] futex hash table entries: 256 (order: 0, 7168 bytes)
[    0.394523] workingset: timestamp_bits=28 max_order=19 bucket_order=0
[    0.414550] ntfs: driver 2.1.32 [Flags: R/W].
[    0.415117] fuse init (API version 7.24)
[    0.420342] async_tx: api initialized (async)
[    0.420437] bounce: pool size: 64 pages
[    0.420529] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.420561] io scheduler noop registered
[    0.420732] io scheduler cfq registered (default)
[    0.423105] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[    0.423137] crc32: self tests passed, processed 225944 bytes in 989463 nsec
[    0.424354] crc32c: CRC_LE_BITS = 64
[    0.424381] crc32c: self tests passed, processed 225944 bytes in 494971 nsec
[    0.493629] crc32_combine: 8373 self tests passed
[    0.563065] crc32c_combine: 8373 self tests passed
[    0.563119] glob: 64 self-tests passed, 0 failed
[    0.662336] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.665172] console [ttyS0] disabled
[    0.685707] serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 22, base_baud = 691200) is a U6_16550A
[    1.621588] console [ttyS0] enabled
[    1.646060] serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 23, base_baud = 691200) is a U6_16550A
[    1.656324] console [ttyS0] disabled
[    1.660188] 4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 22, base_baud = 691200) is a 16550
[    2.620855] console [ttyS0] enabled
[    2.625307] 4ef600400.serial: ttyS1 at MMIO 0x4ef600400 (irq = 23, base_baud = 691200) is a 16550
[    2.634977] Generic non-volatile memory driver v1.1
[    2.640506] [drm] Initialized drm 1.1.0 20060810
[    2.645487] [drm] radeon kernel modesetting enabled.
[    2.651490] [drm] initializing kernel modesetting (VERDE 0x1002:0x683F 0x1545:0x7750).
[    2.659698] [drm] register mmio base: 0xe90000000
[    2.664466] [drm] register mmio size: 262144
[    3.000729] ATOM BIOS: C44501
[    3.004027] radeon 0000:81:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[    3.012959] radeon 0000:81:00.0: GTT: 2048M 0x0000000040000000 - 0x00000000BFFFFFFF
[    3.020642] [drm] Detected VRAM RAM=1024M, BAR=256M
[    3.025536] [drm] RAM width 128bits DDR
[    3.029564] [TTM] Zone  kernel: Available graphics memory: 378436 kiB
[    3.036053] [TTM] Zone highmem: Available graphics memory: 1033796 kiB
[    3.042606] [TTM] Initializing pool allocator
[    3.047005] [TTM] Initializing DMA pool allocator
[    3.051829] [drm] radeon: 1024M of VRAM memory ready
[    3.056831] [drm] radeon: 2048M of GTT memory ready.
[    3.061861] [drm] Loading verde Microcode
[    3.065925] [drm] Internal thermal controller with fan control
[    3.072073] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[    3.121249] [drm] radeon: dpm initialized
[    3.127664] [drm] Found VCE firmware/feedback version 50.0.1 / 17!
[    3.133923] [drm] GART: num cpu pages 524288, num gpu pages 524288
[    3.150601] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[    3.207450] [drm] PCIE GART of 2048M enabled (table at 0x00000000002E8000).
[    3.214775] radeon 0000:81:00.0: WB enabled
[    3.219003] radeon 0000:81:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xee965c00
[    3.229133] radeon 0000:81:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xee965c04
[    3.239254] radeon 0000:81:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xee965c08
[    3.249375] radeon 0000:81:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xee965c0c
[    3.259497] radeon 0000:81:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xee965c10
[    3.301012] radeon 0000:81:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xf5135a18
[    3.338154] radeon 0000:81:00.0: fence driver on ring 6 use gpu addr 0x0000000040000c18 and cpu addr 0xee965c18
[    3.348309] radeon 0000:81:00.0: fence driver on ring 7 use gpu addr 0x0000000040000c1c and cpu addr 0xee965c1c
[    3.358444] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.365087] [drm] Driver supports precise vblank timestamp query.
[    3.371213] radeon 0000:81:00.0: radeon: MSI limited to 32-bit
[    3.377138] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    3.385399] radeon 0000:81:00.0: radeon: using MSI.
[    3.390358] [drm] radeon: irq initialized.
[    4.149573] [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
[    4.158410] radeon 0000:81:00.0: disabling GPU acceleration
[    4.367347] [drm] Radeon Display Connectors
[    4.371907] [drm] Connector 0:
[    4.375038] [drm]   HDMI-A-1
[    4.378042] [drm]   HPD4
[    4.380627] [drm]   DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c 0x657c
[    4.388080] [drm]   Encoders:
[    4.391081] [drm]     DFP1: INTERNAL_UNIPHY2
[    4.395371] [drm] Connector 1:
[    4.398441] [drm]   DVI-I-1
[    4.401255] [drm]   HPD2
[    4.403810] [drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
[    4.411237] [drm]   Encoders:
[    4.414223] [drm]     DFP2: INTERNAL_UNIPHY
[    4.418424] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    4.536720] [drm] fb mappable at 0x806E9000
[    4.540934] [drm] vram apper at 0x80000000
[    4.545048] [drm] size 8294400
[    4.548120] [drm] fb depth is 24
[    4.551367] [drm]    pitch is 7680
[    4.830663] Console: switching to colour frame buffer device 240x67
[    4.909999] radeon 0000:81:00.0: fb0: radeondrmfb frame buffer device
[    4.919274] [drm] Initialized radeon 2.43.0 20080528 for 0000:81:00.0 on minor 0
[    4.927614] [drm] amdgpu kernel modesetting enabled.
[    4.946918] brd: module loaded
[    4.957320] loop: module loaded
[    4.961126] sm501 0001:00:06.0: enabling device (0004 -> 0006)
[    4.967573] sm501 0001:00:06.0: incorrect device id c0000105
[    4.974276] sata-dwc 4bffd1000.sata: id 0, controller version 1.82
[    4.981380] sata-dwc 4bffd1000.sata: DesignWare DMA Controller, 1 channels
[    4.989579] scsi host0: sata-dwc
[    4.993395] ata1: SATA max UDMA/133 irq 36
[    4.998302] sata_sil 0001:00:04.0: Applying R_ERR on DMA activate FIS errata fix
[    5.007548] scsi host1: sata_sil
[    5.011610] scsi host2: sata_sil
[    5.015456] ata2: SATA max UDMA/100 mmio m512@0xd84280000 tf 0xd84280080 irq 21
[    5.023329] ata3: SATA max UDMA/100 mmio m512@0xd84280000 tf 0xd842800c0 irq 21
[    5.031941] libphy: Fixed MDIO Bus: probed
[    5.036855] PPC 4xx OCP EMAC driver, version 3.54
[    5.042298] MAL v2 /plb/mcmal, 2 TX channels, 16 RX channels
[    5.048624] ZMII /plb/opb/emac-zmii@ef600d00 initialized
[    5.054552] RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support
[    5.062340] TAH /plb/opb/emac-tah@ef601350 initialized
[    5.067931] TAH /plb/opb/emac-tah@ef601450 initialized
[    5.073760] /plb/opb/emac-rgmii@ef601500: input 0 in RGMII mode
[    5.081537] eth0: EMAC-0 /plb/opb/ethernet@ef600e00, MAC 00:50:c2:80:d5:c5
[    5.088971] eth0: found Generic MII PHY (0x00)
[    5.093923] /plb/opb/emac-rgmii@ef601500: input 1 in RGMII mode
[    5.101614] eth1: EMAC-1 /plb/opb/ethernet@ef600f00, MAC 00:00:00:00:00:00
[    5.109051] eth1: found Generic MII PHY (0x01)
[    5.113909] PPP generic driver version 2.4.2
[    5.118777] PPP BSD Compression module registered
[    5.123934] PPP Deflate Compression module registered
[    5.129326] NET: Registered protocol family 24
[    5.134454] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.141659] ppc-of-ehci 4bffd0400.ehci: OF EHCI
[    5.146722] ppc-of-ehci 4bffd0400.ehci: new USB bus registered, assigned bus number 1
[    5.155430] ppc-of-ehci 4bffd0400.ehci: irq 31, io mem 0x4bffd0400
[    5.182223] ppc-of-ehci 4bffd0400.ehci: USB 2.0 started, EHCI 1.00
[    5.202893] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.224022] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.245576] usb usb1: Product: OF EHCI
[    5.263609] usb usb1: Manufacturer: Linux 4.6.0-rc4-next-20160421-sam460ex-jm ehci_hcd
[    5.286282] usb usb1: SerialNumber: PPC-OF USB
[    5.306120] hub 1-0:1.0: USB hub found
[    5.324626] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    5.346076] hub 1-0:1.0: 1 port detected
[    5.364909] ata1.00: ATA-8: WDC WD5000AAKX-00ERMA0, 15.01H15, max UDMA/133
[    5.364916] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 1/32)
[    5.365011] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    5.409694] ata2.00: ATA-8: WDC WD5000AAKS-00UU3A0, 01.03B01, max UDMA/133
[    5.409700] ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    5.409792] ata1.00: configured for UDMA/133
[    5.432183] scsi 0:0:0:0: Direct-Access     ATA      WDC WD5000AAKX-0 1H15 PQ: 0 ANSI: 5
[    5.432316] ata2.00: configured for UDMA/100
[    5.541808] ehci-pci: EHCI PCI platform driver
[    5.563020] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    5.563271] sd 0:0:0:0: [sda] Write Protect is off
[    5.563406] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    5.563540] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.565194] scsi 1:0:0:0: Direct-Access     ATA      WDC WD5000AAKS-0 3B01 PQ: 0 ANSI: 5
[    5.589623]  sda: sda1
[    5.590792] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.660715] sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    5.660937] sd 1:0:0:0: [sdb] Write Protect is off
[    5.661042] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.661399] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    5.688143]  sdb: RDSK (512) sdb1 (SFS^@)(res 2 spb 1) sdb2 (SFS^@)(res 2 spb 1) sdb3 (SFS^@)(res 2 spb 1) sdb4 (SFS^@)(res 2 spb 1) sdb5 (NTFS)(res 2 spb 2) sdb6 ((res 2 spb 1)
[    5.690066] sd 1:0:0:0: [sdb] Attached SCSI disk
[    5.882405] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.906819] ppc-of-ohci 4bffd0000.usb: OF OHCI
[    5.929265] usb 1-1: new high-speed USB device number 2 using ppc-of-ehci
[    5.954550] ppc-of-ohci 4bffd0000.usb: new USB bus registered, assigned bus number 2
[    5.980884] ppc-of-ohci 4bffd0000.usb: irq 32, io mem 0x4bffd0000
[    6.010251] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    6.052357] ata3.00: ATAPI: ASUS    DRW-24B3ST   i, 1.00, max UDMA/100
[    6.092651] usb 1-1: New USB device found, idVendor=0424, idProduct=2517
[    6.140219] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    6.192983] hub 1-1:1.0: USB hub found
[    6.215263] ata3.00: configured for UDMA/100
[    6.286090] hub 1-1:1.0: 7 ports detected
[    6.331471] scsi 2:0:0:0: CD-ROM            ASUS     DRW-24B3ST   i   1.00 PQ: 0 ANSI: 5
[    6.411687] sr 2:0:0:0: [sr0] scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[    6.464211] cdrom: Uniform CD-ROM driver Revision: 3.20
[    6.513283] sr 2:0:0:0: Attached scsi generic sg2 type 5
[    6.632224] usb 1-1.1: new high-speed USB device number 3 using ppc-of-ehci
[    6.770861] usb 1-1.1: New USB device found, idVendor=1a40, idProduct=0101
[    6.820217] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    6.872215] usb 1-1.1: Product: USB 2.0 Hub
[    6.905197] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    6.905218] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.905222] usb usb2: Product: OF OHCI
[    6.905227] usb usb2: Manufacturer: Linux 4.6.0-rc4-next-20160421-sam460ex-jm ohci_hcd
[    6.905232] usb usb2: SerialNumber: PPC-OF USB
[    6.905806] hub 2-0:1.0: USB hub found
[    6.905837] hub 2-0:1.0: 1 port detected
[    6.906292] ohci-pci: OHCI PCI platform driver
[    6.906838] usbcore: registered new interface driver usblp
[    6.907017] usbcore: registered new interface driver usb-storage
[    6.907256] usbcore: registered new interface driver usbserial
[    6.907357] usbcore: registered new interface driver usbserial_generic
[    6.907451] usbserial: USB Serial support registered for generic
[    6.907806] mousedev: PS/2 mouse device common for all mice
[    6.907899] i2c /dev entries driver
[    6.911362] Unable to handle kernel paging request for data at address 0x00000140
[    6.911366] Faulting instruction address: 0xc073aa08
[    6.911375] Vector: 300 (Data Access) at [eea6dd90]
[    6.911397]     pc: c073aa08: mutex_lock+0x0/0x1c
[    6.911415]     lr: c051a8e8: m41t80_handle_irq+0x28/0xac
[    6.911417]     sp: eea6de40
[    6.911420]    msr: 29000
[    6.911422]    dar: 140
[    6.911424]  dsisr: 0
[    6.911427]   current = 0xea9834e0
[    6.911430]     pid   = 1413, comm = irq/45-m41t80
[    6.911436] Linux version 4.6.0-rc4-next-20160421-sam460ex-jm (root@julian-VirtualBox) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #1 PREEMPT Thu Apr 21 19:56:14 AST 2016
[    6.911462] enter ? for help
[    6.911477] [link register   ] c051a8e8 m41t80_handle_irq+0x28/0xac
[    6.911485] [eea6de40] 00000000 (unreliable)
[    6.911504] [eea6de60] c004ffac irq_thread_fn+0x2c/0x48
[    6.911516] [eea6de80] c00501cc irq_thread+0xc4/0x160
[    6.911537] [eea6ded0] c003a3f8 kthread+0xc8/0xcc
[    6.911552] [eea6df40] c000aee8 ret_from_kernel_thread+0x5c/0x64
[    6.911558] mon>  <no input ...>
[    8.911627] sched: RT throttling activated
[    8.911751] Oops: Kernel access of bad area, sig: 11 [#1]
[    8.911755] PREEMPT Canyonlands
[    8.911760] Modules linked in:
[    8.911767] CPU: 0 PID: 1413 Comm: irq/45-m41t80 Not tainted 4.6.0-rc4-next-20160421-sam460ex-jm #1
[    8.911773] task: ea9834e0 ti: eea6c000 task.ti: eea6c000
[    8.911776] NIP: c073aa08 LR: c051a8e8 CTR: c051a8c0
[    8.911780] REGS: eea6dd90 TRAP: 0300   Not tainted  (4.6.0-rc4-next-20160421-sam460ex-jm)
[    8.911792] MSR: 00029000 <CE,EE,ME>  CR: 44000822  XER: 20000000
[    8.911844] DEAR: 00000140 ESR: 00000000 
[    8.911844] GPR00: c004ffac eea6de40 ea9834e0 00000140 ee907a00 00000000 00000000 ea983808 
[    8.911844] GPR08: c0b8e964 c051a8c0 00000001 ea4000cc 24082224 00000000 c003a330 ee911b00 
[    8.911844] GPR16: 00000000 00000000 00000000 00000000 00000000 c0b80000 00000001 ee922ad4 
[    8.911844] GPR24: ee926aa4 00000000 ee922adc ee926a80 ee911ad0 ee922a80 ee907a00 00000140 
[    8.911851] NIP [c073aa08] mutex_lock+0x0/0x1c
[    8.911857] LR [c051a8e8] m41t80_handle_irq+0x28/0xac
[    8.911859] Call Trace:
[    8.911866] [eea6de60] [c004ffac] irq_thread_fn+0x2c/0x48
[    8.911872] [eea6de80] [c00501cc] irq_thread+0xc4/0x160
[    8.911879] [eea6ded0] [c003a3f8] kthread+0xc8/0xcc
[    8.911885] [eea6df40] [c000aee8] ret_from_kernel_thread+0x5c/0x64
[    8.911888] Instruction dump:
[    8.911903] 812a0008 2f890000 409e0014 812a0010 712a0004 41820008 4bffeb6d bb410018 
[    8.911916] 80010034 38210030 7c0803a6 4e800020 <7d201828> 3129ffff 7d20192d 40a2fff4 
[    8.911942] ---[ end trace 19f0c3bd3f6d438b ]---
[    8.911944] 
[    8.911956] Unable to handle kernel paging request for data at address 0xffffffe0
[    8.911958] Faulting instruction address: 0xc003a828
[    8.911963] Vector: 300 (Data Access) at [eea6dc40]
[    8.911974]     pc: c003a828: kthread_data+0x4/0xc
[    8.911984]     lr: c00500a0: irq_thread_dtor+0x48/0xb0
[    8.911986]     sp: eea6dcf0
[    8.911989]    msr: 29000
[    8.911991]    dar: ffffffe0
[    8.911993]  dsisr: 0
[    8.911996]   current = 0xea9834e0
[    8.911999]     pid   = 1413, comm = irq/45-m41t80
[    8.912004] Linux version 4.6.0-rc4-next-20160421-sam460ex-jm (root@julian-VirtualBox) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #1 PREEMPT Thu Apr 21 19:56:14 AST 2016
[    8.912011] enter ? for help
[    8.912016] mon>  <no input ...>
[   10.912066] Oops: Kernel access of bad area, sig: 11 [#2]
[   10.912069] PREEMPT Canyonlands
[   10.912071] Modules linked in:
[   10.912077] CPU: 0 PID: 1413 Comm: irq/45-m41t80 Tainted: G      D         4.6.0-rc4-next-20160421-sam460ex-jm #1
[   10.912080] task: ea9834e0 ti: eea6c000 task.ti: eea6c000
[   10.912083] NIP: c003a828 LR: c00500a0 CTR: c0050058
[   10.912087] REGS: eea6dc40 TRAP: 0300   Tainted: G      D          (4.6.0-rc4-next-20160421-sam460ex-jm)
[   10.912097] MSR: 00029000 <CE,EE,ME>  CR: 44002824  XER: 20000000
[   10.912148] DEAR: ffffffe0 ESR: 00000000 
[   10.912148] GPR00: c0038d38 eea6dcf0 ea9834e0 ea9834e0 00000000 00000001 00000000 00000000 
[   10.912148] GPR08: 00000000 00000000 00000004 eea6dd20 24002424 00000000 c003a330 ee911b00 
[   10.912148] GPR16: 00000000 00000000 00000000 00000000 00000000 c0b80000 00000001 ee922ad4 
[   10.912148] GPR24: ee926aa4 00000000 c0b87000 eea6dd28 c0b90000 ea983808 00000000 ea9834e0 
[   10.912153] NIP [c003a828] kthread_data+0x4/0xc
[   10.912159] LR [c00500a0] irq_thread_dtor+0x48/0xb0
[   10.912161] Call Trace:
[   10.912171] [eea6dcf0] [c073c0b8] _raw_spin_unlock+0x18/0x54 (unreliable)
[   10.912178] [eea6dd00] [c0038d38] task_work_run+0x7c/0x98
[   10.912191] [eea6dd20] [c00234c4] do_exit+0x2f0/0x77c
[   10.912205] [eea6dd60] [c0007764] die+0x23c/0x244
[   10.912212] [eea6dd80] [c000b2cc] handle_page_fault+0x7c/0x80
[   10.912220] --- interrupt: 300 at mutex_lock+0x0/0x1c
[   10.912220]     LR = m41t80_handle_irq+0x28/0xac
[   10.912226] [eea6de40] [00000000]   (null) (unreliable)
[   10.912232] [eea6de60] [c004ffac] irq_thread_fn+0x2c/0x48
[   10.912239] [eea6de80] [c00501cc] irq_thread+0xc4/0x160
[   10.912245] [eea6ded0] [c003a3f8] kthread+0xc8/0xcc
[   10.912252] [eea6df40] [c000aee8] ret_from_kernel_thread+0x5c/0x64
[   10.912254] Instruction dump:
[   10.912268] 7ce0412d 40a2fff4 7f831000 419e0010 480040a9 387fffe4 486ff649 39200000 
[   10.912281] 39610010 7d234b78 4bfd691c 81230238 <8069ffe0> 4e800020 9421ffe0 39200000 
[   10.912284] ---[ end trace 19f0c3bd3f6d438c ]---
[   10.912285] 
[   10.912287] Fixing recursive fault but reboot is needed!
[   10.912516] Unable to handle kernel paging request for data at address 0x00000008
[   10.912519] Faulting instruction address: 0xc0224480
[   10.912524] Vector: 300 (Data Access) at [eea6daf0]
[   10.912538]     pc: c0224480: exit_shm+0x18/0x148
[   10.912549]     lr: c0023494: do_exit+0x2c0/0x77c
[   10.912552]     sp: eea6dba0
[   10.912554]    msr: 29000
[   10.912556]    dar: 8
[   10.912558]  dsisr: 0
[   10.912561]   current = 0xea9834e0
[   10.912564]     pid   = 1413, comm = irq/45-m41t80
[   10.912570] Linux version 4.6.0-rc4-next-20160421-sam460ex-jm (root@julian-VirtualBox) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #1 PREEMPT Thu Apr 21 19:56:14 AST 2016
[   10.912580] enter ? for help
[   10.912584] mon>  <no input ...>
[   12.912739] Oops: Kernel access of bad area, sig: 11 [#3]
[   12.912743] PREEMPT Canyonlands
[   12.912746] Modules linked in:
[   12.912753] CPU: 0 PID: 1413 Comm: irq/45-m41t80 Tainted: G      D         4.6.0-rc4-next-20160421-sam460ex-jm #1
[   12.912757] task: ea9834e0 ti: eea6c000 task.ti: eea6c000
[   12.912760] NIP: c0224480 LR: c0023494 CTR: c0042508
[   12.912764] REGS: eea6daf0 TRAP: 0300   Tainted: G      D          (4.6.0-rc4-next-20160421-sam460ex-jm)
[   12.912774] MSR: 00029000 <CE,EE,ME>  CR: 24008282  XER: 00000000
[   12.912825] DEAR: 00000008 ESR: 00000000 
[   12.912825] GPR00: c0023494 eea6dba0 ea9834e0 ea9834e0 00000000 7b2b1b22 00000000 00000800 
[   12.912825] GPR08: ffffffff 00000000 ea983878 eea6dbd0 c0b42f60 00000000 c003a330 ee911b00 
[   12.912825] GPR16: 00000000 00000000 00000000 00000000 00000000 c0b80000 00000001 ee922ad4 
[   12.912825] GPR24: ee926aa4 00000000 ea9837b8 eea6dbd8 00021000 00000000 0000000b ea9834e0 
[   12.912831] NIP [c0224480] exit_shm+0x18/0x148
[   12.912836] LR [c0023494] do_exit+0x2c0/0x77c
[   12.912838] Call Trace:
[   12.912844] [eea6dba0] [c0b80000] 0xc0b80000 (unreliable)
[   12.912851] [eea6dbd0] [c0023494] do_exit+0x2c0/0x77c
[   12.912858] [eea6dc10] [c0007764] die+0x23c/0x244
[   12.912865] [eea6dc30] [c000b2cc] handle_page_fault+0x7c/0x80
[   12.912881] --- interrupt: 300 at kthread_data+0x4/0xc
[   12.912881]     LR = irq_thread_dtor+0x48/0xb0
[   12.912891] [eea6dcf0] [c073c0b8] _raw_spin_unlock+0x18/0x54 (unreliable)
[   12.912898] [eea6dd00] [c0038d38] task_work_run+0x7c/0x98
[   12.912905] [eea6dd20] [c00234c4] do_exit+0x2f0/0x77c
[   12.912912] [eea6dd60] [c0007764] die+0x23c/0x244
[   12.912918] [eea6dd80] [c000b2cc] handle_page_fault+0x7c/0x80
[   12.912927] --- interrupt: 300 at mutex_lock+0x0/0x1c
[   12.912927]     LR = m41t80_handle_irq+0x28/0xac
[   12.912932] [eea6de40] [00000000]   (null) (unreliable)
[   12.912938] [eea6de60] [c004ffac] irq_thread_fn+0x2c/0x48
[   12.912944] [eea6de80] [c00501cc] irq_thread+0xc4/0x160
[   12.912951] [eea6ded0] [c003a3f8] kthread+0xc8/0xcc
[   12.912957] [eea6df40] [c000aee8] ret_from_kernel_thread+0x5c/0x64
[   12.912960] Instruction dump:
[   12.912974] 80010014 7fc3f378 bbc10008 7c0803a6 38210010 4be24ca8 9421ffd0 7c0802a6 
[   12.912987] bf210014 90010034 3b4302d8 812302ec <83890008> 812302d8 7f9a4840 419e011c 
[   12.912991] ---[ end trace 19f0c3bd3f6d438d ]---
[   12.912993] 
[   12.912995] Fixing recursive fault but reboot is needed!
[   13.390671] rtc-m41t80 8-0068: rtc core: registered m41t80 as rtc0
[   13.470525] ibm-iic 4ef600700.i2c: using standard (100 kHz) mode
[   13.470943] ibm-iic 4ef600800.i2c: using standard (100 kHz) mode
[   13.471001] md: linear personality registered for level -1
[   13.471005] md: raid0 personality registered for level 0
[   13.471008] md: raid1 personality registered for level 1
[   13.471012] md: raid10 personality registered for level 10
[   13.491775] md: raid6 personality registered for level 6
[   13.491779] md: raid5 personality registered for level 5
[   13.491782] md: raid4 personality registered for level 4
[   13.492514] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[   13.492517] EDAC PPC4xx MC: v1.0.0
[   13.492520] EDAC PPC4xx MC: Reporting type: interrupt
[   13.492832] hidraw: raw HID events driver (C) Jiri Kosina
[   13.493915] usbcore: registered new interface driver usbhid
[   13.493917] usbhid: USB HID core driver
[   13.497644] no UART detected at 0x1
[   13.498374] usbcore: registered new interface driver snd-usb-audio
[   13.498483] usbcore: registered new interface driver snd-ua101
[   13.498596] usbcore: registered new interface driver snd-usb-usx2y
[   13.498765] ipip: IPv4 over IPv4 tunneling driver
[   13.499333] Initializing XFRM netlink socket
[   13.503146] NET: Registered protocol family 10
[   13.504957] sit: IPv6 over IPv4 tunneling driver
[   13.505725] NET: Registered protocol family 17
[   13.505745] NET: Registered protocol family 15
[   13.505923] Running MSI bitmap self-tests ...
[   13.508058] Key type encrypted registered
[   13.631062] rtc-m41t80 8-0068: setting system clock to 2016-04-21 20:03:58 UTC (1461269038)
[   13.631222] ALSA device list:
[   13.631225]   #0: Virtual MIDI Card 1
[   17.131679] md: Waiting for all devices to be available before autodetect
[   17.152912] hub 1-1.1:1.0: USB hub found
[   17.153121] hub 1-1.1:1.0: 4 ports detected
[   17.189316] md: If you don't use raid, use raid=noautodetect
[   17.209745] md: Autodetecting RAID arrays.
[   17.227743] md: Scanned 0 and added 0 devices.
[   17.245854] md: autorun ...
[   17.262152] md: ... autorun DONE.
[   17.278985] usb 1-1.2: new low-speed USB device number 4 using ppc-of-ehci
[   17.325054] EXT4-fs (sdb6): couldn't mount as ext3 due to feature incompatibilities
[   17.347361] EXT4-fs (sdb6): couldn't mount as ext2 due to feature incompatibilities
[   17.375342] EXT4-fs (sdb6): INFO: recovery required on readonly filesystem
[   17.396201] EXT4-fs (sdb6): write access will be enabled during recovery
[   17.423483] usb 1-1.2: New USB device found, idVendor=04f2, idProduct=0116
[   17.445906] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   17.467406] usb 1-1.2: Product: USB Keyboard
[   17.485843] usb 1-1.2: Manufacturer: CHICONY
[   17.513351] input: CHICONY USB Keyboard as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.2/1-1.2:1.0/0003:04F2:0116.0001/input/input0
[   17.540566] usb 1-1.1.1: new full-speed USB device number 5 using ppc-of-ehci
[   17.614984] hid-generic 0003:04F2:0116.0001: input,hidraw0: USB HID v1.10 Keyboard [CHICONY USB Keyboard] on usb-PPC-OF USB-1.2/input0
[   17.655754] usb 1-1.1.1: New USB device found, idVendor=0d8c, idProduct=000c
[   17.681118] usb 1-1.1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   17.706188] usb 1-1.1.1: Product: C-Media USB Audio Device   
[   17.729746] usb 1-1.6: new full-speed USB device number 6 using ppc-of-ehci
[   17.785630] input: C-Media USB Audio Device    as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.1/1-1.1.1/1-1.1.1:1.3/0003:0D8C:000C.0002/input/input1
[   17.850117] usb 1-1.6: New USB device found, idVendor=046d, idProduct=c52b
[   17.874581] hid-generic 0003:0D8C:000C.0002: input,hidraw1: USB HID v1.00 Device [C-Media USB Audio Device   ] on usb-PPC-OF USB-1.1.1/input3
[   17.911510] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   17.936751] usb 1-1.6: Product: USB Receiver
[   17.958420] random: nonblocking pool is initialized
[   17.982294] usb 1-1.6: Manufacturer: Logitech
[   18.014291] input: Logitech USB Receiver as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.6/1-1.6:1.0/0003:046D:C52B.0003/input/input2
[   18.102175] hid-generic 0003:046D:C52B.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input0
[   18.143443] input: Logitech USB Receiver as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.6/1-1.6:1.1/0003:046D:C52B.0004/input/input3
[   18.226842] hid-generic 0003:046D:C52B.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input1
[   18.266562] hid-generic 0003:046D:C52B.0005: hidraw4: USB HID v1.11 Device [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input2
[   18.371239] usb 1-1.7: new high-speed USB device number 7 using ppc-of-ehci
[   18.489821] usb 1-1.7: New USB device found, idVendor=0424, idProduct=2240
[   18.516856] usb 1-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   18.544484] usb 1-1.7: Product: Ultra Fast Media 
[   18.569600] usb 1-1.7: Manufacturer: Generic
[   18.594020] usb 1-1.7: SerialNumber: 000000225001
[   18.620099] usb-storage 1-1.7:1.0: USB Mass Storage device detected
[   18.646888] scsi host3: usb-storage 1-1.7:1.0
[   18.842405] EXT4-fs (sdb6): orphan cleanup on readonly fs
[   18.868895] EXT4-fs (sdb6): 8 orphan inodes deleted
[   18.893714] EXT4-fs (sdb6): recovery complete
[   19.000069] EXT4-fs (sdb6): mounted filesystem with ordered data mode. Opts: (null)
[   19.027844] VFS: Mounted root (ext4 filesystem) readonly on device 8:22.
[   19.063289] devtmpfs: mounted
[   19.087023] Freeing unused kernel memory: 240K (c0b00000 - c0b3c000)
[   19.113984] This architecture does not have kernel memory protection.
[   19.674471] scsi 3:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   1.98 PQ: 0 ANSI: 0
[   19.705782] sd 3:0:0:0: Attached scsi generic sg3 type 0
[   19.734968] sd 3:0:0:0: [sdc] Attached SCSI removable disk
[   19.917138] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[   19.958023] systemd[1]: Detected architecture ppc.
[   20.065041] systemd[1]: Set hostname to <Amigaone>.
[   21.519968] systemd[1]: Reached target Encrypted Volumes.
[   21.570560] systemd[1]: Listening on udev Kernel Socket.
[   21.620798] systemd[1]: Listening on Syslog Socket.
[   21.670627] systemd[1]: Listening on udev Control Socket.
[   21.721378] systemd[1]: Reached target Remote File Systems (Pre).
[   21.772897] systemd[1]: Reached target Remote File Systems.
[   21.825097] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   21.881762] systemd[1]: Listening on Journal Socket (/dev/log).
[   21.935120] systemd[1]: Created slice System Slice.
[   21.987339] systemd[1]: Created slice system-getty.slice.
[   22.038600] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[   22.090775] systemd[1]: Reached target User and Group Name Lookups.
[   22.172569] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   22.225088] systemd[1]: Reached target Swap.
[   22.272701] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   22.322299] systemd[1]: Created slice User and Session Slice.
[   22.370982] systemd[1]: Reached target Slices.
[   22.416829] systemd[1]: Listening on fsck to fsckd communication Socket.
[   22.464385] systemd[1]: Listening on Journal Socket.
[   22.511007] systemd[1]: Started Read required files in advance.
[   22.570057] systemd[1]: Mounting Debug File System...
[   22.625126] systemd[1]: Starting Journal Service...
[   22.684498] systemd[1]: Starting Uncomplicated firewall...
[   22.737849] systemd[1]: Starting Braille Device Support...
[   22.836716] systemd[1]: Mounting POSIX Message Queue File System...
[   22.897533] systemd[1]: Starting Create Static Device Nodes in /dev...
[   22.958067] systemd[1]: Starting Nameserver information manager...
[   23.084926] systemd[1]: Starting Load Kernel Modules...
[   23.148296] systemd[1]: Mounted Debug File System.
[   23.210788] systemd[1]: Mounted POSIX Message Queue File System.
[   23.330650] systemd[1]: ureadahead.service: Main process exited, code=exited, status=5/NOTINSTALLED
[   23.404931] systemd[1]: ureadahead.service: Unit entered failed state.
[   23.478357] systemd[1]: ureadahead.service: Failed with result 'exit-code'.
[   23.538604] systemd[1]: Started Uncomplicated firewall.
[   23.633545] systemd[1]: brltty.service: Main process exited, code=exited, status=228/SECCOMP
[   23.664743] systemd[1]: Failed to start Braille Device Support.
[   23.743947] systemd[1]: brltty.service: Unit entered failed state.
[   23.770120] systemd[1]: brltty.service: Failed with result 'exit-code'.
[   23.798553] systemd[1]: Started Create Static Device Nodes in /dev.
[   23.852655] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
[   23.889120] systemd[1]: Failed to start Load Kernel Modules.
[   23.964997] systemd[1]: systemd-modules-load.service: Unit entered failed state.
[   23.992178] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
[   24.023033] systemd[1]: Started Nameserver information manager.
[   24.080318] systemd[1]: Started Journal Service.

Ubuntu 16.04 LTS Amigaone ttyS0

Amigaone login: [  557.038222] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[  557.054514] ata1.00: failed command: WRITE FPDMA QUEUED
[  557.066127] ata1.00: cmd 61/00:00:00:44:01/04:00:00:00:00/40 tag 0 ncq 524288 out
[  557.066127]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  557.117097] ata1.00: status: { DRDY }
[  588.078116] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[  588.098085] ata1.00: failed command: WRITE FPDMA QUEUED
[  588.111676] ata1.00: cmd 61/00:00:00:44:01/04:00:00:00:00/40 tag 0 ncq 524288 out
[  588.111676]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  588.160050] ata1.00: status: { DRDY }
[  619.054000] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[  619.072898] ata1.00: failed command: WRITE FPDMA QUEUED
[  619.091921] ata1.00: cmd 61/00:00:00:44:01/04:00:00:00:00/40 tag 0 ncq 524288 out
[  619.091921]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  619.133930] ata1.00: status: { DRDY }
[  650.093801] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[  650.114709] ata1.00: failed command: WRITE FPDMA QUEUED
[  650.132741] ata1.00: cmd 61/00:00:00:44:01/04:00:00:00:00/40 tag 0 ncq 524288 out
[  650.132741]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  650.178703] ata1.00: status: { DRDY }
[  681.069573] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  681.090496] ata1.00: failed command: WRITE DMA EXT
[  681.106547] ata1.00: cmd 35/00:00:00:44:01/00:04:00:00:00/e0 tag 0 dma 524288 out
[  681.106547]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  681.148522] ata1.00: status: { DRDY }
[  712.045351] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  712.066303] ata1.00: failed command: WRITE DMA EXT
[  712.082296] ata1.00: cmd 35/00:00:00:44:01/00:04:00:00:00/e0 tag 0 dma 524288 out
[  712.082296]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  712.123259] ata1.00: status: { DRDY }
[  712.442304] blk_update_request: I/O error, dev sda, sector 82944
[  712.464289] Buffer I/O error on dev sda1, logical block 10112, lost async page write
[  712.485669] Buffer I/O error on dev sda1, logical block 10113, lost async page write
[  712.507273] Buffer I/O error on dev sda1, logical block 10114, lost async page write
[  712.533260] Buffer I/O error on dev sda1, logical block 10115, lost async page write
[  712.556643] Buffer I/O error on dev sda1, logical block 10116, lost async page write
[  712.582319] Buffer I/O error on dev sda1, logical block 10117, lost async page write
[  712.608263] Buffer I/O error on dev sda1, logical block 10118, lost async page write
[  712.627801] Buffer I/O error on dev sda1, logical block 10119, lost async page write
[  712.657018] Buffer I/O error on dev sda1, logical block 10120, lost async page write
[  712.678317] Buffer I/O error on dev sda1, logical block 10121, lost async page write
[  743.021092] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  743.037001] ata1.00: failed command: READ DMA
[  743.045623] ata1.00: cmd c8/00:08:e0:d5:01/00:00:00:00:00/e0 tag 0 dma 4096 in
[  743.045623]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  743.095291] ata1.00: status: { DRDY }
[  774.060800] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  774.074201] ata1.00: failed command: READ DMA
[  774.094734] ata1.00: cmd c8/00:08:e0:d5:01/00:00:00:00:00/e0 tag 0 dma 4096 in
[  774.094734]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  774.131219] ata1.00: status: { DRDY }
[  805.100512] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  805.115189] ata1.00: failed command: READ DMA
[  805.136999] ata1.00: cmd c8/00:08:e0:d5:01/00:00:00:00:00/e0 tag 0 dma 4096 in
[  805.136999]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  805.180936] ata1.00: status: { DRDY }
[  836.076208] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  836.088142] ata1.00: failed command: READ DMA
[  836.107693] ata1.00: cmd c8/00:08:e0:d5:01/00:00:00:00:00/e0 tag 0 dma 4096 in
[  836.107693]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  836.146145] ata1.00: status: { DRDY }
[  867.051895] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  867.105822] ata1.00: failed command: READ DMA
[  867.158847] ata1.00: cmd c8/00:08:e0:d5:01/00:00:00:00:00/e0 tag 0 dma 4096 in
[  867.158847]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  867.286458] ata1.00: status: { DRDY }
[  898.027548] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  898.035044] ata1.00: failed command: READ DMA
[  898.040626] ata1.00: cmd c8/00:08:e0:d5:01/00:00:00:00:00/e0 tag 0 dma 4096 in
[  898.040626]          res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[  898.056647] ata1.00: status: { DRDY }
[  898.369718] blk_update_request: I/O error, dev sda, sector 120288

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

* Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again
  2016-04-22 10:50     ` Julian Margetson
  (?)
@ 2016-04-22 11:06       ` Christian Lamparter
  -1 siblings, 0 replies; 46+ messages in thread
From: Christian Lamparter via Linuxppc-dev @ 2016-04-22 11:06 UTC (permalink / raw)
  To: Julian Margetson
  Cc: Måns Rullgård, linux-kernel, linux-ide, Rob Herring,
	Tejun Heo, Andy Shevchenko, linuxppc-dev

On Friday, April 22, 2016 06:50:44 AM Julian Margetson wrote:
> On 4/21/2016 4:25 PM, Christian Lamparter wrote:
> > On Thursday, April 21, 2016 09:15:21 PM Andy Shevchenko wrote:
> >> The last approach in the commit 8b3444852a2b ("sata_dwc_460ex: move to generic
> >> DMA driver") to switch to generic DMA engine API wasn't tested on bare metal.
> >> Besides that we expecting new board support coming with the same SATA IP but
> >> with different DMA.
> >>
> >> The driver has been tested myself on Sam460ex and WD MyBookLive (apollo3g)
> >> boards. In any case I ask Christian, Måns, and Julian to independently test and
> >> provide Tested-by tag or error report.
> > I did a test run on my WD MyBook Live. I applied all the patches in
> > this series on top of the topic/dw branch of Vinod Koul:
> > <https://git.kernel.org/cgit/linux/kernel/git/vkoul/slave-dma.git/>
> >
> > Tested-by: Christian Lamparter <chunkeey@googlemail.com>
> > ---
> > results for my old ST3808110AS HDD. filesystem is ext4.
> >
> > # hdparm -t /dev/sda
> >
> > /dev/sda:
> >   Timing buffered disk reads: 204 MB in  3.02 seconds =  67.51 MB/sec
> >
> > # bonnie++ -u mbl
> > Using uid:1000, gid:1000.
> > Writing a byte at a time...done
> > Writing intelligently...done
> > Rewriting...done
> > Reading a byte at a time...done
> > Reading intelligently...done
> > start 'em...done...done...done...done...done...
> > Create files in sequential order...done.
> > Stat files in sequential order...done.
> > Delete files in sequential order...done.
> > Create files in random order...done.
> > Stat files in random order...done.
> > Delete files in random order...done.
> > Version  1.97       ------Sequential Output------ --Sequential Input- --Random-
> > Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
> > Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
> > mbl            496M    98  99 26011  21 17589  20   538  99 80138  39 208.9   8
> > Latency             95267us    1409ms     295ms   26947us    9644us    1787ms
> > Version  1.97       ------Sequential Create------ --------Random Create--------
> > mbl                 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
> >                files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
> >                   16  6959  78 +++++ +++  5197  40  7250  79 +++++ +++  4718  37
> > Latency               149ms    6742us     212ms     177ms     767us     217ms
> > 1.97,1.97,mbl,1,1461269771,496M,,98,99,26011,21,17589,20,538,99,80138,39,208.9,8,16,,,,,6959,78,+++++,+++,5197,40,7250,79,+++++,+++,4718,37,95267us,1409ms,295ms,26947us,9644us,1787ms,149ms,6742us,212ms,177ms,767us,217ms
> >
> Again on copy partitions .

Ok, here's the copy from my mail off-list.

Well, a unrelated driver "m41t80" caused a crash:
[   12.912739] Oops: Kernel access of bad area, sig: 11 [#3]
[   12.912743] PREEMPT Canyonlands
[   12.912753] CPU: 0 PID: 1413 Comm: irq/45-m41t80 Tainted: G      D         4.6.0-rc4-next-20160421-sam460ex-jm #1
[   12.912757] task: ea9834e0 ti: eea6c000 task.ti: eea6c000
[   12.912760] NIP: c0224480 LR: c0023494 CTR: c0042508
[   12.912764] REGS: eea6daf0 TRAP: 0300   Tainted: G      D          (4.6.0-rc4-next-20160421-sam460ex-jm)
[   12.912774] MSR: 00029000 <CE,EE,ME>  CR: 24008282  XER: 00000000
[   12.912825] DEAR: 00000008 ESR: 00000000 
[...]
[   12.912927] --- interrupt: 300 at mutex_lock+0x0/0x1c
[   12.912927]     LR = m41t80_handle_irq+0x28/0xac
[   12.912932] [eea6de40] [00000000]   (null) (unreliable)
[   12.912938] [eea6de60] [c004ffac] irq_thread_fn+0x2c/0x48
[   12.912944] [eea6de80] [c00501cc] irq_thread+0xc4/0x160
[   12.912951] [eea6ded0] [c003a3f8] kthread+0xc8/0xcc
[   12.912957] [eea6df40] [c000aee8] ret_from_kernel_thread+0x5c/0x64
[   12.912960] Instruction dump:
[   12.912974] 80010014 7fc3f378 bbc10008 7c0803a6 38210010 4be24ca8 9421ffd0 7c0802a6 
[   12.912987] bf210014 90010034 3b4302d8 812302ec <83890008> 812302d8 7f9a4840 419e011c 
[   12.912995] Fixing recursive fault but reboot is needed!
                 ^^^ "reboot is needed!"

Another thing that came to my mind: Have you checked if your hard drive
and the cables are ok? Are there any pending sectors or suspicious smart
values? Has the drive passed the extended offline test?
 
Otherwise, I can't reproduce the error with my MyBook system. I've tested
your kernel and it worked on the device without crashing. (I copied/dd'ed
80GB from and back to the hard-drive. It was long and boring, but I didn't
encounter any issues and the crc32 matched).

Sorry, but I can't help you if I can't reproduce it... And short of sending
your box to test, I see no efficient way to debug it. However, what I can
do, if you are interested: I have a few "build your own" My Book Live kits.
It just needs a 3.5" hard-drive and 12v power adapter. If you are interested
PM me off-list, this way you can verify that the kernels you build do work,
just in case this error is due to a hardware issue (zapped controller, 
bad ram/drive/cable?) with your sam460ex box.

Regards,
Christian
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

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

* Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again
@ 2016-04-22 11:06       ` Christian Lamparter
  0 siblings, 0 replies; 46+ messages in thread
From: Christian Lamparter @ 2016-04-22 11:06 UTC (permalink / raw)
  To: Julian Margetson
  Cc: Andy Shevchenko, Tejun Heo, linux-ide, Rob Herring, linuxppc-dev,
	linux-kernel, Måns Rullgård

On Friday, April 22, 2016 06:50:44 AM Julian Margetson wrote:
> On 4/21/2016 4:25 PM, Christian Lamparter wrote:
> > On Thursday, April 21, 2016 09:15:21 PM Andy Shevchenko wrote:
> >> The last approach in the commit 8b3444852a2b ("sata_dwc_460ex: move to generic
> >> DMA driver") to switch to generic DMA engine API wasn't tested on bare metal.
> >> Besides that we expecting new board support coming with the same SATA IP but
> >> with different DMA.
> >>
> >> The driver has been tested myself on Sam460ex and WD MyBookLive (apollo3g)
> >> boards. In any case I ask Christian, Måns, and Julian to independently test and
> >> provide Tested-by tag or error report.
> > I did a test run on my WD MyBook Live. I applied all the patches in
> > this series on top of the topic/dw branch of Vinod Koul:
> > <https://git.kernel.org/cgit/linux/kernel/git/vkoul/slave-dma.git/>
> >
> > Tested-by: Christian Lamparter <chunkeey@googlemail.com>
> > ---
> > results for my old ST3808110AS HDD. filesystem is ext4.
> >
> > # hdparm -t /dev/sda
> >
> > /dev/sda:
> >   Timing buffered disk reads: 204 MB in  3.02 seconds =  67.51 MB/sec
> >
> > # bonnie++ -u mbl
> > Using uid:1000, gid:1000.
> > Writing a byte at a time...done
> > Writing intelligently...done
> > Rewriting...done
> > Reading a byte at a time...done
> > Reading intelligently...done
> > start 'em...done...done...done...done...done...
> > Create files in sequential order...done.
> > Stat files in sequential order...done.
> > Delete files in sequential order...done.
> > Create files in random order...done.
> > Stat files in random order...done.
> > Delete files in random order...done.
> > Version  1.97       ------Sequential Output------ --Sequential Input- --Random-
> > Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
> > Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
> > mbl            496M    98  99 26011  21 17589  20   538  99 80138  39 208.9   8
> > Latency             95267us    1409ms     295ms   26947us    9644us    1787ms
> > Version  1.97       ------Sequential Create------ --------Random Create--------
> > mbl                 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
> >                files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
> >                   16  6959  78 +++++ +++  5197  40  7250  79 +++++ +++  4718  37
> > Latency               149ms    6742us     212ms     177ms     767us     217ms
> > 1.97,1.97,mbl,1,1461269771,496M,,98,99,26011,21,17589,20,538,99,80138,39,208.9,8,16,,,,,6959,78,+++++,+++,5197,40,7250,79,+++++,+++,4718,37,95267us,1409ms,295ms,26947us,9644us,1787ms,149ms,6742us,212ms,177ms,767us,217ms
> >
> Again on copy partitions .

Ok, here's the copy from my mail off-list.

Well, a unrelated driver "m41t80" caused a crash:
[   12.912739] Oops: Kernel access of bad area, sig: 11 [#3]
[   12.912743] PREEMPT Canyonlands
[   12.912753] CPU: 0 PID: 1413 Comm: irq/45-m41t80 Tainted: G      D         4.6.0-rc4-next-20160421-sam460ex-jm #1
[   12.912757] task: ea9834e0 ti: eea6c000 task.ti: eea6c000
[   12.912760] NIP: c0224480 LR: c0023494 CTR: c0042508
[   12.912764] REGS: eea6daf0 TRAP: 0300   Tainted: G      D          (4.6.0-rc4-next-20160421-sam460ex-jm)
[   12.912774] MSR: 00029000 <CE,EE,ME>  CR: 24008282  XER: 00000000
[   12.912825] DEAR: 00000008 ESR: 00000000 
[...]
[   12.912927] --- interrupt: 300 at mutex_lock+0x0/0x1c
[   12.912927]     LR = m41t80_handle_irq+0x28/0xac
[   12.912932] [eea6de40] [00000000]   (null) (unreliable)
[   12.912938] [eea6de60] [c004ffac] irq_thread_fn+0x2c/0x48
[   12.912944] [eea6de80] [c00501cc] irq_thread+0xc4/0x160
[   12.912951] [eea6ded0] [c003a3f8] kthread+0xc8/0xcc
[   12.912957] [eea6df40] [c000aee8] ret_from_kernel_thread+0x5c/0x64
[   12.912960] Instruction dump:
[   12.912974] 80010014 7fc3f378 bbc10008 7c0803a6 38210010 4be24ca8 9421ffd0 7c0802a6 
[   12.912987] bf210014 90010034 3b4302d8 812302ec <83890008> 812302d8 7f9a4840 419e011c 
[   12.912995] Fixing recursive fault but reboot is needed!
                 ^^^ "reboot is needed!"

Another thing that came to my mind: Have you checked if your hard drive
and the cables are ok? Are there any pending sectors or suspicious smart
values? Has the drive passed the extended offline test?
 
Otherwise, I can't reproduce the error with my MyBook system. I've tested
your kernel and it worked on the device without crashing. (I copied/dd'ed
80GB from and back to the hard-drive. It was long and boring, but I didn't
encounter any issues and the crc32 matched).

Sorry, but I can't help you if I can't reproduce it... And short of sending
your box to test, I see no efficient way to debug it. However, what I can
do, if you are interested: I have a few "build your own" My Book Live kits.
It just needs a 3.5" hard-drive and 12v power adapter. If you are interested
PM me off-list, this way you can verify that the kernels you build do work,
just in case this error is due to a hardware issue (zapped controller, 
bad ram/drive/cable?) with your sam460ex box.

Regards,
Christian

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

* Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again
@ 2016-04-22 11:06       ` Christian Lamparter
  0 siblings, 0 replies; 46+ messages in thread
From: Christian Lamparter @ 2016-04-22 11:06 UTC (permalink / raw)
  To: Julian Margetson
  Cc: Andy Shevchenko, Tejun Heo, linux-ide, Rob Herring, linuxppc-dev,
	linux-kernel, Måns Rullgård

On Friday, April 22, 2016 06:50:44 AM Julian Margetson wrote:
> On 4/21/2016 4:25 PM, Christian Lamparter wrote:
> > On Thursday, April 21, 2016 09:15:21 PM Andy Shevchenko wrote:
> >> The last approach in the commit 8b3444852a2b ("sata_dwc_460ex: mov=
e to generic
> >> DMA driver") to switch to generic DMA engine API wasn't tested on =
bare metal.
> >> Besides that we expecting new board support coming with the same S=
ATA IP but
> >> with different DMA.
> >>
> >> The driver has been tested myself on Sam460ex and WD MyBookLive (a=
pollo3g)
> >> boards. In any case I ask Christian, M=E5ns, and Julian to indepen=
dently test and
> >> provide Tested-by tag or error report.
> > I did a test run on my WD MyBook Live. I applied all the patches in=

> > this series on top of the topic/dw branch of Vinod Koul:
> > <https://git.kernel.org/cgit/linux/kernel/git/vkoul/slave-dma.git/>=

> >
> > Tested-by: Christian Lamparter <chunkeey@googlemail.com>
> > ---
> > results for my old ST3808110AS HDD. filesystem is ext4.
> >
> > # hdparm -t /dev/sda
> >
> > /dev/sda:
> >   Timing buffered disk reads: 204 MB in  3.02 seconds =3D  67.51 MB=
/sec
> >
> > # bonnie++ -u mbl
> > Using uid:1000, gid:1000.
> > Writing a byte at a time...done
> > Writing intelligently...done
> > Rewriting...done
> > Reading a byte at a time...done
> > Reading intelligently...done
> > start 'em...done...done...done...done...done...
> > Create files in sequential order...done.
> > Stat files in sequential order...done.
> > Delete files in sequential order...done.
> > Create files in random order...done.
> > Stat files in random order...done.
> > Delete files in random order...done.
> > Version  1.97       ------Sequential Output------ --Sequential Inpu=
t- --Random-
> > Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block=
-- --Seeks--
> > Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %=
CP  /sec %CP
> > mbl            496M    98  99 26011  21 17589  20   538  99 80138  =
39 208.9   8
> > Latency             95267us    1409ms     295ms   26947us    9644us=
    1787ms
> > Version  1.97       ------Sequential Create------ --------Random Cr=
eate--------
> > mbl                 -Create-- --Read--- -Delete-- -Create-- --Read-=
-- -Delete--
> >                files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec =
%CP  /sec %CP
> >                   16  6959  78 +++++ +++  5197  40  7250  79 +++++ =
+++  4718  37
> > Latency               149ms    6742us     212ms     177ms     767us=
     217ms
> > 1.97,1.97,mbl,1,1461269771,496M,,98,99,26011,21,17589,20,538,99,801=
38,39,208.9,8,16,,,,,6959,78,+++++,+++,5197,40,7250,79,+++++,+++,4718,3=
7,95267us,1409ms,295ms,26947us,9644us,1787ms,149ms,6742us,212ms,177ms,7=
67us,217ms
> >
> Again on copy partitions .

Ok, here's the copy from my mail off-list.

Well, a unrelated driver "m41t80" caused a crash:
[   12.912739] Oops: Kernel access of bad area, sig: 11 [#3]
[   12.912743] PREEMPT Canyonlands
[   12.912753] CPU: 0 PID: 1413 Comm: irq/45-m41t80 Tainted: G      D  =
       4.6.0-rc4-next-20160421-sam460ex-jm #1
[   12.912757] task: ea9834e0 ti: eea6c000 task.ti: eea6c000
[   12.912760] NIP: c0224480 LR: c0023494 CTR: c0042508
[   12.912764] REGS: eea6daf0 TRAP: 0300   Tainted: G      D          (=
4.6.0-rc4-next-20160421-sam460ex-jm)
[   12.912774] MSR: 00029000 <CE,EE,ME>  CR: 24008282  XER: 00000000
[   12.912825] DEAR: 00000008 ESR: 00000000=20
[...]
[   12.912927] --- interrupt: 300 at mutex_lock+0x0/0x1c
[   12.912927]     LR =3D m41t80_handle_irq+0x28/0xac
[   12.912932] [eea6de40] [00000000]   (null) (unreliable)
[   12.912938] [eea6de60] [c004ffac] irq_thread_fn+0x2c/0x48
[   12.912944] [eea6de80] [c00501cc] irq_thread+0xc4/0x160
[   12.912951] [eea6ded0] [c003a3f8] kthread+0xc8/0xcc
[   12.912957] [eea6df40] [c000aee8] ret_from_kernel_thread+0x5c/0x64
[   12.912960] Instruction dump:
[   12.912974] 80010014 7fc3f378 bbc10008 7c0803a6 38210010 4be24ca8 94=
21ffd0 7c0802a6=20
[   12.912987] bf210014 90010034 3b4302d8 812302ec <83890008> 812302d8 =
7f9a4840 419e011c=20
[   12.912995] Fixing recursive fault but reboot is needed!
                 ^^^ "reboot is needed!"

Another thing that came to my mind: Have you checked if your hard drive=

and the cables are ok? Are there any pending sectors or suspicious smar=
t
values? Has the drive passed the extended offline test?
=20
Otherwise, I can't reproduce the error with my MyBook system. I've test=
ed
your kernel and it worked on the device without crashing. (I copied/dd'=
ed
80GB from and back to the hard-drive. It was long and boring, but I did=
n't
encounter any issues and the crc32 matched).

Sorry, but I can't help you if I can't reproduce it... And short of sen=
ding
your box to test, I see no efficient way to debug it. However, what I c=
an
do, if you are interested: I have a few "build your own" My Book Live k=
its.
It just needs a 3.5" hard-drive and 12v power adapter. If you are inter=
ested
PM me off-list, this way you can verify that the kernels you build do w=
ork,
just in case this error is due to a hardware issue (zapped controller,=20=

bad ram/drive/cable?) with your sam460ex box.

Regards,
Christian

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

* RE: [PATCH v1 08/23] ata: sata_dwc_460ex: don't call ata_sff_qc_issue() on DMA commands
  2016-04-21 18:15 ` [PATCH v1 08/23] ata: sata_dwc_460ex: don't call ata_sff_qc_issue() on DMA commands Andy Shevchenko
@ 2016-04-22 11:32     ` David Laight
  0 siblings, 0 replies; 46+ messages in thread
From: David Laight @ 2016-04-22 11:32 UTC (permalink / raw)
  To: 'Andy Shevchenko',
	Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

From: Andy Shevchenko
> Sent: 21 April 2016 19:15
> ata_sff_qc_issue() can't handle DMA commands and thus we have to avoid it for
> them. Do call ata_bmdma_qc_issue() instead for this case.
> 
> Suggested-by: Christian Lamparter <chunkeey@googlemail.com>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  drivers/ata/sata_dwc_460ex.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
> index 038e5fb..845c35d 100644
> --- a/drivers/ata/sata_dwc_460ex.c
> +++ b/drivers/ata/sata_dwc_460ex.c
> @@ -1061,10 +1061,12 @@ static unsigned int sata_dwc_qc_issue(struct ata_queued_cmd *qc)
>  			__func__, tag, qc->ap->link.sactive, sactive);
> 
>  		ap->ops->sff_tf_load(ap, &qc->tf);
> -		sata_dwc_exec_command_by_tag(ap, &qc->tf, qc->tag,
> +		sata_dwc_exec_command_by_tag(ap, &qc->tf, tag,
>  					     SATA_DWC_CMD_ISSUED_PEND);
> +	} else if (ata_is_dma(qc->tf.protocol)) {
> +		return ata_bmdma_qc_issue(qc);
>  	} else {
> -		ata_sff_qc_issue(qc);
> +		return ata_sff_qc_issue(qc);
>  	}
>  	return 0;
>  }

I'd nuke those 'else if', they make it very hard to read.
I Think the code is:

		sata_dwc_exec_command_by_tag(...);
		return 0;
	}

	if (ata_is_dma(qc->tf.protocol))
		return ata_bmdma_qc_issue(qc);

	return ata_sff_qc_issue(qc);
}

	David


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

* RE: [PATCH v1 08/23] ata: sata_dwc_460ex: don't call ata_sff_qc_issue() on DMA commands
@ 2016-04-22 11:32     ` David Laight
  0 siblings, 0 replies; 46+ messages in thread
From: David Laight @ 2016-04-22 11:32 UTC (permalink / raw)
  To: 'Andy Shevchenko',
	Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Christian Lamparter, Måns Rullgård, Julian Margetson

RnJvbTogQW5keSBTaGV2Y2hlbmtvDQo+IFNlbnQ6IDIxIEFwcmlsIDIwMTYgMTk6MTUNCj4gYXRh
X3NmZl9xY19pc3N1ZSgpIGNhbid0IGhhbmRsZSBETUEgY29tbWFuZHMgYW5kIHRodXMgd2UgaGF2
ZSB0byBhdm9pZCBpdCBmb3INCj4gdGhlbS4gRG8gY2FsbCBhdGFfYm1kbWFfcWNfaXNzdWUoKSBp
bnN0ZWFkIGZvciB0aGlzIGNhc2UuDQo+IA0KPiBTdWdnZXN0ZWQtYnk6IENocmlzdGlhbiBMYW1w
YXJ0ZXIgPGNodW5rZWV5QGdvb2dsZW1haWwuY29tPg0KPiBTaWduZWQtb2ZmLWJ5OiBBbmR5IFNo
ZXZjaGVua28gPGFuZHJpeS5zaGV2Y2hlbmtvQGxpbnV4LmludGVsLmNvbT4NCj4gLS0tDQo+ICBk
cml2ZXJzL2F0YS9zYXRhX2R3Y180NjBleC5jIHwgNiArKysrLS0NCj4gIDEgZmlsZSBjaGFuZ2Vk
LCA0IGluc2VydGlvbnMoKyksIDIgZGVsZXRpb25zKC0pDQo+IA0KPiBkaWZmIC0tZ2l0IGEvZHJp
dmVycy9hdGEvc2F0YV9kd2NfNDYwZXguYyBiL2RyaXZlcnMvYXRhL3NhdGFfZHdjXzQ2MGV4LmMN
Cj4gaW5kZXggMDM4ZTVmYi4uODQ1YzM1ZCAxMDA2NDQNCj4gLS0tIGEvZHJpdmVycy9hdGEvc2F0
YV9kd2NfNDYwZXguYw0KPiArKysgYi9kcml2ZXJzL2F0YS9zYXRhX2R3Y180NjBleC5jDQo+IEBA
IC0xMDYxLDEwICsxMDYxLDEyIEBAIHN0YXRpYyB1bnNpZ25lZCBpbnQgc2F0YV9kd2NfcWNfaXNz
dWUoc3RydWN0IGF0YV9xdWV1ZWRfY21kICpxYykNCj4gIAkJCV9fZnVuY19fLCB0YWcsIHFjLT5h
cC0+bGluay5zYWN0aXZlLCBzYWN0aXZlKTsNCj4gDQo+ICAJCWFwLT5vcHMtPnNmZl90Zl9sb2Fk
KGFwLCAmcWMtPnRmKTsNCj4gLQkJc2F0YV9kd2NfZXhlY19jb21tYW5kX2J5X3RhZyhhcCwgJnFj
LT50ZiwgcWMtPnRhZywNCj4gKwkJc2F0YV9kd2NfZXhlY19jb21tYW5kX2J5X3RhZyhhcCwgJnFj
LT50ZiwgdGFnLA0KPiAgCQkJCQkgICAgIFNBVEFfRFdDX0NNRF9JU1NVRURfUEVORCk7DQo+ICsJ
fSBlbHNlIGlmIChhdGFfaXNfZG1hKHFjLT50Zi5wcm90b2NvbCkpIHsNCj4gKwkJcmV0dXJuIGF0
YV9ibWRtYV9xY19pc3N1ZShxYyk7DQo+ICAJfSBlbHNlIHsNCj4gLQkJYXRhX3NmZl9xY19pc3N1
ZShxYyk7DQo+ICsJCXJldHVybiBhdGFfc2ZmX3FjX2lzc3VlKHFjKTsNCj4gIAl9DQo+ICAJcmV0
dXJuIDA7DQo+ICB9DQoNCkknZCBudWtlIHRob3NlICdlbHNlIGlmJywgdGhleSBtYWtlIGl0IHZl
cnkgaGFyZCB0byByZWFkLg0KSSBUaGluayB0aGUgY29kZSBpczoNCg0KCQlzYXRhX2R3Y19leGVj
X2NvbW1hbmRfYnlfdGFnKC4uLik7DQoJCXJldHVybiAwOw0KCX0NCg0KCWlmIChhdGFfaXNfZG1h
KHFjLT50Zi5wcm90b2NvbCkpDQoJCXJldHVybiBhdGFfYm1kbWFfcWNfaXNzdWUocWMpOw0KDQoJ
cmV0dXJuIGF0YV9zZmZfcWNfaXNzdWUocWMpOw0KfQ0KDQoJRGF2aWQNCg0K

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

* Re: [PATCH v1 08/23] ata: sata_dwc_460ex: don't call ata_sff_qc_issue() on DMA commands
  2016-04-22 11:32     ` David Laight
  (?)
@ 2016-04-22 11:44     ` Christian Lamparter
  -1 siblings, 0 replies; 46+ messages in thread
From: Christian Lamparter @ 2016-04-22 11:44 UTC (permalink / raw)
  To: David Laight
  Cc: 'Andy Shevchenko',
	Tejun Heo, linux-ide, Rob Herring, linuxppc-dev, linux-kernel,
	Måns Rullgård, Julian Margetson

On Friday, April 22, 2016 11:32:00 AM David Laight wrote:
> From: Andy Shevchenko
> > Sent: 21 April 2016 19:15
> > ata_sff_qc_issue() can't handle DMA commands and thus we have to avoid it for
> > them. Do call ata_bmdma_qc_issue() instead for this case.
> > 
> > Suggested-by: Christian Lamparter <chunkeey@googlemail.com>
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > ---
> >  drivers/ata/sata_dwc_460ex.c | 6 ++++--
> >  1 file changed, 4 insertions(+), 2 deletions(-)
> > 
> > diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
> > index 038e5fb..845c35d 100644
> > --- a/drivers/ata/sata_dwc_460ex.c
> > +++ b/drivers/ata/sata_dwc_460ex.c
> > @@ -1061,10 +1061,12 @@ static unsigned int sata_dwc_qc_issue(struct ata_queued_cmd *qc)
> >  			__func__, tag, qc->ap->link.sactive, sactive);
> > 
> >  		ap->ops->sff_tf_load(ap, &qc->tf);
> > -		sata_dwc_exec_command_by_tag(ap, &qc->tf, qc->tag,
> > +		sata_dwc_exec_command_by_tag(ap, &qc->tf, tag,
> >  					     SATA_DWC_CMD_ISSUED_PEND);
> > +	} else if (ata_is_dma(qc->tf.protocol)) {
> > +		return ata_bmdma_qc_issue(qc);
> >  	} else {
> > -		ata_sff_qc_issue(qc);
> > +		return ata_sff_qc_issue(qc);
> >  	}
> >  	return 0;
> >  }
> 
> I'd nuke those 'else if', they make it very hard to read.
> I Think the code is:
> 
> 		sata_dwc_exec_command_by_tag(...);
> 		return 0;
> 	}
> 
> 	if (ata_is_dma(qc->tf.protocol))
> 		return ata_bmdma_qc_issue(qc);
> 
> 	return ata_sff_qc_issue(qc);
> }

What about something like this instead? ata_bmdma_qc_issue already calls
ata_sff_qc_issue, if it's not a dma transfere anyway [0].
---
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 6a61184..67cce54 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -1096,12 +1096,9 @@ static unsigned int sata_dwc_qc_issue(struct ata_queued_cmd *qc)
 		ap->ops->sff_tf_load(ap, &qc->tf);
 		sata_dwc_exec_command_by_tag(ap, &qc->tf, tag,
 					     SATA_DWC_CMD_ISSUED_PEND);
-	} else if (ata_is_dma(qc->tf.protocol)) {
+		return 0;
+	} else
 		return ata_bmdma_qc_issue(qc);
-	} else {
-		return ata_sff_qc_issue(qc);
-	}
-	return 0;
 }
 
 static void sata_dwc_error_handler(struct ata_port *ap)
---

[0] <http://lxr.free-electrons.com/source/drivers/ata/libata-sff.c#L2787>

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

* Re: [PATCH v1 03/23] ata: sata_dwc_460ex: set dma_boundary to 0x1fff
  2016-04-21 18:15 ` [PATCH v1 03/23] ata: sata_dwc_460ex: set dma_boundary to 0x1fff Andy Shevchenko
@ 2016-04-22 13:13   ` Sergei Shtylyov
  0 siblings, 0 replies; 46+ messages in thread
From: Sergei Shtylyov @ 2016-04-22 13:13 UTC (permalink / raw)
  To: Andy Shevchenko, Tejun Heo, linux-ide, Rob Herring, linuxppc-dev,
	linux-kernel, Christian Lamparter, Måns Rullgård,
	Julian Margetson

Hello.

On 04/21/2016 09:15 PM, Andy Shevchenko wrote:

> The original code states:
>
> 	Make sure a LLI block is not created that will span 8K max FIS
> 	boundary. If the block spans such a FIS boundary, there is a chance
> 	that a DMA burst will cross that boundary -- this results in an error
> 	in the host controller.
>
> Since we have switched to generic DMAengine API we satisfy above by setting
> dma_boundary value to 0x1fff.
>
> Suggested-by: Mans Rullgard <mans@mansr.com>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>   drivers/ata/sata_dwc_460ex.c | 8 +++++++-
>   1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
> index 7f95389..aee8873 100644
> --- a/drivers/ata/sata_dwc_460ex.c
> +++ b/drivers/ata/sata_dwc_460ex.c
> @@ -1151,7 +1151,13 @@ static struct scsi_host_template sata_dwc_sht = {
>   	 */
>   	.sg_tablesize		= LIBATA_MAX_PRD,
>   	/* .can_queue		= ATA_MAX_QUEUE, */
> -	.dma_boundary		= ATA_DMA_BOUNDARY,
> +	/*
> +	 * Make sure a LLI block is not created that will span 8K max FIS
> +	 * boundary. If the block spans such a FIS boundary, there is a chance
> +	 * that a DMA burst will cross that boundary -- this results in an
> +	 * error in the host controller.
> +	 */
> +	.dma_boundary		= 0x1fff /* ATA_DMA_BOUNDARY */,

    Not ~0x1fff?

[...]

MBR, Sergei


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

* Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again
  2016-04-22 11:06       ` Christian Lamparter
  (?)
  (?)
@ 2016-04-23 12:02       ` Julian Margetson
  2016-04-23 15:44         ` Julian Margetson
  2016-04-23 15:44         ` Julian Margetson
  -1 siblings, 2 replies; 46+ messages in thread
From: Julian Margetson @ 2016-04-23 12:02 UTC (permalink / raw)
  To: Christian Lamparter
  Cc: Andy Shevchenko, Tejun Heo, linux-ide, Rob Herring, linuxppc-dev,
	linux-kernel, Måns Rullgård

On 4/22/2016 7:06 AM, Christian Lamparter wrote:
> On Friday, April 22, 2016 06:50:44 AM Julian Margetson wrote:
>> On 4/21/2016 4:25 PM, Christian Lamparter wrote:
>>> On Thursday, April 21, 2016 09:15:21 PM Andy Shevchenko wrote:
>>>> The last approach in the commit 8b3444852a2b ("sata_dwc_460ex: move to generic
>>>> DMA driver") to switch to generic DMA engine API wasn't tested on bare metal.
>>>> Besides that we expecting new board support coming with the same SATA IP but
>>>> with different DMA.
>>>>
>>>> The driver has been tested myself on Sam460ex and WD MyBookLive (apollo3g)
>>>> boards. In any case I ask Christian, Måns, and Julian to independently test and
>>>> provide Tested-by tag or error report.
>>> I did a test run on my WD MyBook Live. I applied all the patches in
>>> this series on top of the topic/dw branch of Vinod Koul:
>>> <https://git.kernel.org/cgit/linux/kernel/git/vkoul/slave-dma.git/>
>>>
>>> Tested-by: Christian Lamparter<chunkeey@googlemail.com>
>>> ---
>>> results for my old ST3808110AS HDD. filesystem is ext4.
>>>
>>> # hdparm -t /dev/sda
>>>
>>> /dev/sda:
>>>    Timing buffered disk reads: 204 MB in  3.02 seconds =  67.51 MB/sec
>>>
>>> # bonnie++ -u mbl
>>> Using uid:1000, gid:1000.
>>> Writing a byte at a time...done
>>> Writing intelligently...done
>>> Rewriting...done
>>> Reading a byte at a time...done
>>> Reading intelligently...done
>>> start 'em...done...done...done...done...done...
>>> Create files in sequential order...done.
>>> Stat files in sequential order...done.
>>> Delete files in sequential order...done.
>>> Create files in random order...done.
>>> Stat files in random order...done.
>>> Delete files in random order...done.
>>> Version  1.97       ------Sequential Output------ --Sequential Input- --Random-
>>> Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
>>> Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
>>> mbl            496M    98  99 26011  21 17589  20   538  99 80138  39 208.9   8
>>> Latency             95267us    1409ms     295ms   26947us    9644us    1787ms
>>> Version  1.97       ------Sequential Create------ --------Random Create--------
>>> mbl                 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
>>>                 files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
>>>                    16  6959  78 +++++ +++  5197  40  7250  79 +++++ +++  4718  37
>>> Latency               149ms    6742us     212ms     177ms     767us     217ms
>>> 1.97,1.97,mbl,1,1461269771,496M,,98,99,26011,21,17589,20,538,99,80138,39,208.9,8,16,,,,,6959,78,+++++,+++,5197,40,7250,79,+++++,+++,4718,37,95267us,1409ms,295ms,26947us,9644us,1787ms,149ms,6742us,212ms,177ms,767us,217ms
>>>
>> Again on copy partitions .
> Ok, here's the copy from my mail off-list.
>
> Well, a unrelated driver "m41t80" caused a crash:
> [   12.912739] Oops: Kernel access of bad area, sig: 11 [#3]
> [   12.912743] PREEMPT Canyonlands
> [   12.912753] CPU: 0 PID: 1413 Comm: irq/45-m41t80 Tainted: G      D         4.6.0-rc4-next-20160421-sam460ex-jm #1
> [   12.912757] task: ea9834e0 ti: eea6c000 task.ti: eea6c000
> [   12.912760] NIP: c0224480 LR: c0023494 CTR: c0042508
> [   12.912764] REGS: eea6daf0 TRAP: 0300   Tainted: G      D          (4.6.0-rc4-next-20160421-sam460ex-jm)
> [   12.912774] MSR: 00029000 <CE,EE,ME>  CR: 24008282  XER: 00000000
> [   12.912825] DEAR: 00000008 ESR: 00000000
> [...]
> [   12.912927] --- interrupt: 300 at mutex_lock+0x0/0x1c
> [   12.912927]     LR = m41t80_handle_irq+0x28/0xac
> [   12.912932] [eea6de40] [00000000]   (null) (unreliable)
> [   12.912938] [eea6de60] [c004ffac] irq_thread_fn+0x2c/0x48
> [   12.912944] [eea6de80] [c00501cc] irq_thread+0xc4/0x160
> [   12.912951] [eea6ded0] [c003a3f8] kthread+0xc8/0xcc
> [   12.912957] [eea6df40] [c000aee8] ret_from_kernel_thread+0x5c/0x64
> [   12.912960] Instruction dump:
> [   12.912974] 80010014 7fc3f378 bbc10008 7c0803a6 38210010 4be24ca8 9421ffd0 7c0802a6
> [   12.912987] bf210014 90010034 3b4302d8 812302ec <83890008> 812302d8 7f9a4840 419e011c
> [   12.912995] Fixing recursive fault but reboot is needed!
>                   ^^^ "reboot is needed!"
>
> Another thing that came to my mind: Have you checked if your hard drive
> and the cables are ok? Are there any pending sectors or suspicious smart
> values? Has the drive passed the extended offline test?
>   
> Otherwise, I can't reproduce the error with my MyBook system. I've tested
> your kernel and it worked on the device without crashing. (I copied/dd'ed
> 80GB from and back to the hard-drive. It was long and boring, but I didn't
> encounter any issues and the crc32 matched).
>
> Sorry, but I can't help you if I can't reproduce it... And short of sending
> your box to test, I see no efficient way to debug it. However, what I can
> do, if you are interested: I have a few "build your own" My Book Live kits.
> It just needs a 3.5" hard-drive and 12v power adapter. If you are interested
> PM me off-list, this way you can verify that the kernels you build do work,
> just in case this error is due to a hardware issue (zapped controller,
> bad ram/drive/cable?) with your sam460ex box.
>
> Regards,
> Christian
>
>
My Hardware seems ok.
I have swapped cables and drives between the SII3512 pci controller and 
the DWC controller.
No issues when connected to the SII3512 pci controller .
The DWC controller works ok under AmigaOS 4.1FE so that does not appear 
to be a problem.

Regards
Julian








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

* Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again
  2016-04-23 12:02       ` Julian Margetson
@ 2016-04-23 15:44         ` Julian Margetson
  2016-04-23 19:41             ` Christian Lamparter
  2016-04-23 15:44         ` Julian Margetson
  1 sibling, 1 reply; 46+ messages in thread
From: Julian Margetson @ 2016-04-23 15:44 UTC (permalink / raw)
  To: Christian Lamparter
  Cc: Andy Shevchenko, Tejun Heo, linux-ide, Rob Herring, linuxppc-dev,
	linux-kernel, Måns Rullgård

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

On 4/23/2016 8:02 AM, Julian Margetson wrote:
> On 4/22/2016 7:06 AM, Christian Lamparter wrote:
>> On Friday, April 22, 2016 06:50:44 AM Julian Margetson wrote:
>>> On 4/21/2016 4:25 PM, Christian Lamparter wrote:
>>>> On Thursday, April 21, 2016 09:15:21 PM Andy Shevchenko wrote:
>>>>> The last approach in the commit 8b3444852a2b ("sata_dwc_460ex: 
>>>>> move to generic
>>>>> DMA driver") to switch to generic DMA engine API wasn't tested on 
>>>>> bare metal.
>>>>> Besides that we expecting new board support coming with the same 
>>>>> SATA IP but
>>>>> with different DMA.
>>>>>
>>>>> The driver has been tested myself on Sam460ex and WD MyBookLive 
>>>>> (apollo3g)
>>>>> boards. In any case I ask Christian, Måns, and Julian to 
>>>>> independently test and
>>>>> provide Tested-by tag or error report.
>>>> I did a test run on my WD MyBook Live. I applied all the patches in
>>>> this series on top of the topic/dw branch of Vinod Koul:
>>>> <https://git.kernel.org/cgit/linux/kernel/git/vkoul/slave-dma.git/>
>>>>
>>>> Tested-by: Christian Lamparter<chunkeey@googlemail.com>
>>>> ---
>>>> results for my old ST3808110AS HDD. filesystem is ext4.
>>>>
>>>> # hdparm -t /dev/sda
>>>>
>>>> /dev/sda:
>>>>    Timing buffered disk reads: 204 MB in  3.02 seconds = 67.51 MB/sec
>>>>
>>>> # bonnie++ -u mbl
>>>> Using uid:1000, gid:1000.
>>>> Writing a byte at a time...done
>>>> Writing intelligently...done
>>>> Rewriting...done
>>>> Reading a byte at a time...done
>>>> Reading intelligently...done
>>>> start 'em...done...done...done...done...done...
>>>> Create files in sequential order...done.
>>>> Stat files in sequential order...done.
>>>> Delete files in sequential order...done.
>>>> Create files in random order...done.
>>>> Stat files in random order...done.
>>>> Delete files in random order...done.
>>>> Version  1.97       ------Sequential Output------ --Sequential 
>>>> Input- --Random-
>>>> Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- 
>>>> --Block-- --Seeks--
>>>> Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec 
>>>> %CP  /sec %CP
>>>> mbl            496M    98  99 26011  21 17589  20   538  99 80138  
>>>> 39 208.9   8
>>>> Latency             95267us    1409ms     295ms   26947us 9644us    
>>>> 1787ms
>>>> Version  1.97       ------Sequential Create------ --------Random 
>>>> Create--------
>>>> mbl                 -Create-- --Read--- -Delete-- -Create-- 
>>>> --Read--- -Delete--
>>>>                 files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec 
>>>> %CP  /sec %CP
>>>>                    16  6959  78 +++++ +++  5197  40  7250 79 +++++ 
>>>> +++  4718  37
>>>> Latency               149ms    6742us     212ms 177ms     767us     
>>>> 217ms
>>>> 1.97,1.97,mbl,1,1461269771,496M,,98,99,26011,21,17589,20,538,99,80138,39,208.9,8,16,,,,,6959,78,+++++,+++,5197,40,7250,79,+++++,+++,4718,37,95267us,1409ms,295ms,26947us,9644us,1787ms,149ms,6742us,212ms,177ms,767us,217ms 
>>>>
>>>>
>>> Again on copy partitions .
>> Ok, here's the copy from my mail off-list.
>>
>> Well, a unrelated driver "m41t80" caused a crash:
>> [   12.912739] Oops: Kernel access of bad area, sig: 11 [#3]
>> [   12.912743] PREEMPT Canyonlands
>> [   12.912753] CPU: 0 PID: 1413 Comm: irq/45-m41t80 Tainted: G      
>> D         4.6.0-rc4-next-20160421-sam460ex-jm #1
>> [   12.912757] task: ea9834e0 ti: eea6c000 task.ti: eea6c000
>> [   12.912760] NIP: c0224480 LR: c0023494 CTR: c0042508
>> [   12.912764] REGS: eea6daf0 TRAP: 0300   Tainted: G D          
>> (4.6.0-rc4-next-20160421-sam460ex-jm)
>> [   12.912774] MSR: 00029000 <CE,EE,ME>  CR: 24008282 XER: 00000000
>> [   12.912825] DEAR: 00000008 ESR: 00000000
>> [...]
>> [   12.912927] --- interrupt: 300 at mutex_lock+0x0/0x1c
>> [   12.912927]     LR = m41t80_handle_irq+0x28/0xac
>> [   12.912932] [eea6de40] [00000000]   (null) (unreliable)
>> [   12.912938] [eea6de60] [c004ffac] irq_thread_fn+0x2c/0x48
>> [   12.912944] [eea6de80] [c00501cc] irq_thread+0xc4/0x160
>> [   12.912951] [eea6ded0] [c003a3f8] kthread+0xc8/0xcc
>> [   12.912957] [eea6df40] [c000aee8] ret_from_kernel_thread+0x5c/0x64
>> [   12.912960] Instruction dump:
>> [   12.912974] 80010014 7fc3f378 bbc10008 7c0803a6 38210010 4be24ca8 
>> 9421ffd0 7c0802a6
>> [   12.912987] bf210014 90010034 3b4302d8 812302ec <83890008> 
>> 812302d8 7f9a4840 419e011c
>> [   12.912995] Fixing recursive fault but reboot is needed!
>>                   ^^^ "reboot is needed!"
>>
>> Another thing that came to my mind: Have you checked if your hard drive
>> and the cables are ok? Are there any pending sectors or suspicious smart
>> values? Has the drive passed the extended offline test?
>>   Otherwise, I can't reproduce the error with my MyBook system. I've 
>> tested
>> your kernel and it worked on the device without crashing. (I 
>> copied/dd'ed
>> 80GB from and back to the hard-drive. It was long and boring, but I 
>> didn't
>> encounter any issues and the crc32 matched).
>>
>> Sorry, but I can't help you if I can't reproduce it... And short of 
>> sending
>> your box to test, I see no efficient way to debug it. However, what I 
>> can
>> do, if you are interested: I have a few "build your own" My Book Live 
>> kits.
>> It just needs a 3.5" hard-drive and 12v power adapter. If you are 
>> interested
>> PM me off-list, this way you can verify that the kernels you build do 
>> work,
>> just in case this error is due to a hardware issue (zapped controller,
>> bad ram/drive/cable?) with your sam460ex box.
>>
>> Regards,
>> Christian
>>
>>
> My Hardware seems ok.
> I have swapped cables and drives between the SII3512 pci controller 
> and the DWC controller.
> No issues when connected to the SII3512 pci controller .
> The DWC controller works ok under AmigaOS 4.1FE so that does not 
> appear to be a problem.
>
> Regards
> Julian
>
>
>
>
>
>
Test with kernel compiled with no other sata controllers included.
Freshly formatted harddrive  with one ntfs partition. MS-DOs partition 
table.
Booted from USB thumb drive.
Keyboard and mouse freeze as soon as gparted is run.


[-- Attachment #2: sam460ex_dmesg_8.log --]
[-- Type: text/plain, Size: 68906 bytes --]

[    0.000000] Using Canyonlands machine description
[    0.000000] Linux version 4.6.0-rc4-next-20160421-sam460ex-jm (root@julian-VirtualBox) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #2 PREEMPT Sat Apr 23 09:26:44 AST 2016
[    0.000000] Found legacy serial port 0 for /plb/opb/serial@ef600300
[    0.000000]   mem=4ef600300, taddr=4ef600300, irq=0, clk=11059200, speed=0
[    0.000000] Found legacy serial port 1 for /plb/opb/serial@ef600400
[    0.000000]   mem=4ef600400, taddr=4ef600400, irq=0, clk=11059200, speed=0
[    0.000000] Top of RAM: 0x80000000, Total RAM: 0x80000000
[    0.000000] Memory hole size: 0MB
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] On node 0 totalpages: 524288
[    0.000000] free_area_init_node: node 0, pgdat c0b7d1d4, node_mem_map eefed000
[    0.000000]   DMA zone: 1536 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 327680 pages, LIFO batch:31
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: root=/dev/sdb2 rootdelay=10 console=ttyS0,115200 console=tty0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 2001648K/2097152K available (7424K kernel code, 316K rwdata, 3816K rodata, 240K init, 370K bss, 95504K reserved, 0K cma-reserved, 1310720K highmem)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffcf000..0xfffff000  : fixmap
[    0.000000]   * 0xffc00000..0xffe00000  : highmem PTEs
[    0.000000]   * 0xffa00000..0xffc00000  : consistent mem
[    0.000000]   * 0xffa00000..0xffa00000  : early ioremap
[    0.000000]   * 0xf1000000..0xffa00000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000000] time_init: decrementer frequency = 1155.000010 MHz
[    0.000000] time_init: processor frequency   = 1155.000010 MHz
[    0.000014] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x10a60dda894, max_idle_ns: 440795207041 ns
[    0.000024] clocksource: timebase mult[dda520] shift[24] registered
[    0.000035] clockevent: decrementer mult[93d70a53] shift[31] cpu[0]
[    0.000149] Console: colour dummy device 80x25
[    0.000701] console [tty0] enabled
[    0.000735] pid_max: default: 32768 minimum: 301
[    0.000846] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000873] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003501] devtmpfs: initialized
[    0.006153] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.006544] xor: measuring software checksum speed
[    0.016612]    8regs     :   896.000 MB/sec
[    0.026438]    8regs_prefetch:   800.000 MB/sec
[    0.036484]    32regs    :  1232.000 MB/sec
[    0.046564]    32regs_prefetch:  1084.000 MB/sec
[    0.046599] xor: using function: 32regs (1232.000 MB/sec)
[    0.046626] prandom: seed boundary self test passed
[    0.048680] prandom: 100 self tests passed
[    0.049389] NET: Registered protocol family 16
[    0.054839] cpuidle: using governor ladder
[    0.056802] cpuidle: using governor menu
[    0.057205] 256k L2-cache enabled
[    0.057287] PCIE0: Port disabled via device-tree
[    0.057347] PCIE1: Checking link...
[    0.057364] PCIE1: Device detected, waiting for link...
[    0.057383] PCIE1: link is up !
[    0.159657] PCI host bridge /plb/pciex@d20000000 (primary) ranges:
[    0.159707]  MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000 
[    0.159744]  MEM 0x0000000f00100000..0x0000000f001fffff -> 0x0000000000000000 
[    0.159775]   IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000
[    0.159812] 4xx PCI DMA offset set to 0x00000000
[    0.159829] 4xx PCI DMA window base to 0x0000000000000000
[    0.159848] DMA window size 0x0000000080000000
[    0.159884] PCIE1: successfully set as root-complex
[    0.159977] PCI host bridge /plb/pci@c0ec00000 (primary) ranges:
[    0.160006]  MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000 
[    0.160041]  MEM 0x0000000c0ee00000..0x0000000c0eefffff -> 0x0000000000000000 
[    0.160072]   IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000
[    0.160102] 4xx PCI DMA offset set to 0x00000000
[    0.160119] 4xx PCI DMA window base to 0x0000000000000000
[    0.160138] DMA window size 0x0000000080000000
[    0.169685] PCI: Probing PCI hardware
[    0.170005] PCI host bridge to bus 0000:80
[    0.170043] pci_bus 0000:80: root bus resource [io  0xfffe0000-0xfffeffff] (bus address [0x0000-0xffff])
[    0.170079] pci_bus 0000:80: root bus resource [mem 0xe80000000-0xeffffffff] (bus address [0x80000000-0xffffffff])
[    0.170117] pci_bus 0000:80: root bus resource [mem 0xf00100000-0xf001fffff] (bus address [0x00000000-0x000fffff])
[    0.170155] pci_bus 0000:80: root bus resource [bus 80-ff]
[    0.170181] pci_bus 0000:80: busn_res: [bus 80-ff] end is updated to ff
[    0.170221] pci 0000:80:00.0: [aaa1:bed1] type 01 class 0x060400
[    0.170249] pci 0000:80:00.0: reg 0x10: [mem 0x00000000-0x7fffffff pref]
[    0.170281] PCI: Hiding 4xx host bridge resources 0000:80:00.0
[    0.170749] pci 0000:81:00.0: [1002:683f] type 00 class 0x030000
[    0.170784] pci 0000:81:00.0: reg 0x10: [mem 0xea0000000-0xeafffffff 64bit pref]
[    0.170804] pci 0000:81:00.0: reg 0x18: [mem 0xeb0000000-0xeb003ffff 64bit]
[    0.170820] pci 0000:81:00.0: reg 0x20: [io  0xfffe2000-0xfffe20ff]
[    0.170843] pci 0000:81:00.0: reg 0x30: [mem 0xf00100000-0xf0011ffff pref]
[    0.170925] pci 0000:81:00.0: supports D1 D2
[    0.170935] pci 0000:81:00.0: PME# supported from D1 D2 D3hot
[    0.171122] pci 0000:81:00.1: [1002:aab0] type 00 class 0x040300
[    0.171153] pci 0000:81:00.1: reg 0x10: [mem 0xf00100000-0xf00103fff 64bit]
[    0.171255] pci 0000:81:00.1: supports D1 D2
[    0.171448] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.171488] pci 0000:80:00.0:   bridge window [io  0xfffe2000-0xfffe2fff]
[    0.171500] pci 0000:80:00.0:   bridge window [mem 0xea0000000-0xeb00fffff]
[    0.171593] pci_bus 0000:80: busn_res: [bus 80-ff] end is updated to bf
[    0.171759] PCI host bridge to bus 0001:00
[    0.171792] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    0.171818] pci_bus 0001:00: root bus resource [mem 0xd80000000-0xdffffffff] (bus address [0x80000000-0xffffffff])
[    0.171855] pci_bus 0001:00: root bus resource [mem 0xc0ee00000-0xc0eefffff] (bus address [0x00000000-0x000fffff])
[    0.171893] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.171917] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to ff
[    0.171946] pci 0001:00:04.0: [1095:3512] type 00 class 0x010400
[    0.171967] pci 0001:00:04.0: reg 0x10: [io  0x1000-0x1007]
[    0.171980] pci 0001:00:04.0: reg 0x14: [io  0x1008-0x100b]
[    0.171992] pci 0001:00:04.0: reg 0x18: [io  0x1010-0x1017]
[    0.172005] pci 0001:00:04.0: reg 0x1c: [io  0x1018-0x101b]
[    0.172017] pci 0001:00:04.0: reg 0x20: [io  0x1020-0x102f]
[    0.172030] pci 0001:00:04.0: reg 0x24: [mem 0xd80000000-0xd800001ff]
[    0.172043] pci 0001:00:04.0: reg 0x30: [mem 0xc0ee00000-0xc0ee7ffff pref]
[    0.172073] pci 0001:00:04.0: supports D1 D2
[    0.172254] pci 0001:00:06.0: [126f:0501] type 00 class 0x038000
[    0.172275] pci 0001:00:06.0: reg 0x10: [mem 0xd84000000-0xd87ffffff]
[    0.172287] pci 0001:00:06.0: reg 0x14: [mem 0xd88000000-0xd881fffff]
[    0.172329] pci 0001:00:06.0: supports D1 D2
[    0.172566] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to 00
[    0.172664] pci 0000:80:00.0: BAR 9: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.172709] pci 0000:80:00.0: BAR 8: assigned [mem 0xe90000000-0xe900fffff]
[    0.172736] pci 0000:80:00.0: BAR 7: assigned [io  0xfffe1000-0xfffe1fff]
[    0.172767] pci 0000:81:00.0: BAR 0: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.172809] pci 0000:81:00.0: BAR 2: assigned [mem 0xe90000000-0xe9003ffff 64bit]
[    0.172848] pci 0000:81:00.0: BAR 6: assigned [mem 0xe90040000-0xe9005ffff pref]
[    0.172882] pci 0000:81:00.1: BAR 0: assigned [mem 0xe90060000-0xe90063fff 64bit]
[    0.172920] pci 0000:81:00.0: BAR 4: assigned [io  0xfffe1000-0xfffe10ff]
[    0.172948] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.172971] pci 0000:80:00.0:   bridge window [io  0xfffe1000-0xfffe1fff]
[    0.172997] pci 0000:80:00.0:   bridge window [mem 0xe90000000-0xe900fffff]
[    0.173023] pci 0000:80:00.0:   bridge window [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.173057] pci_bus 0000:80: resource 4 [io  0xfffe0000-0xfffeffff]
[    0.173067] pci_bus 0000:80: resource 5 [mem 0xe80000000-0xeffffffff]
[    0.173076] pci_bus 0000:80: resource 6 [mem 0xf00100000-0xf001fffff]
[    0.173086] pci_bus 0000:81: resource 0 [io  0xfffe1000-0xfffe1fff]
[    0.173095] pci_bus 0000:81: resource 1 [mem 0xe90000000-0xe900fffff]
[    0.173105] pci_bus 0000:81: resource 2 [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.173120] pci 0001:00:06.0: BAR 0: assigned [mem 0xd80000000-0xd83ffffff]
[    0.173148] pci 0001:00:06.0: BAR 1: assigned [mem 0xd84000000-0xd841fffff]
[    0.173175] pci 0001:00:04.0: BAR 6: assigned [mem 0xd84200000-0xd8427ffff pref]
[    0.173207] pci 0001:00:04.0: BAR 5: assigned [mem 0xd84280000-0xd842801ff]
[    0.173234] pci 0001:00:04.0: BAR 4: assigned [io  0x1000-0x100f]
[    0.173259] pci 0001:00:04.0: BAR 0: assigned [io  0x1010-0x1017]
[    0.173284] pci 0001:00:04.0: BAR 2: assigned [io  0x1018-0x101f]
[    0.173310] pci 0001:00:04.0: BAR 1: assigned [io  0x1020-0x1023]
[    0.173335] pci 0001:00:04.0: BAR 3: assigned [io  0x1024-0x1027]
[    0.173361] pci_bus 0001:00: resource 4 [io  0x0000-0xffff]
[    0.173803] pci_bus 0001:00: resource 5 [mem 0xd80000000-0xdffffffff]
[    0.173812] pci_bus 0001:00: resource 6 [mem 0xc0ee00000-0xc0eefffff]
[    0.237400] raid6: int32x1  gen()   300 MB/s
[    0.254364] raid6: int32x1  xor()   162 MB/s
[    0.271495] raid6: int32x2  gen()   390 MB/s
[    0.288548] raid6: int32x2  xor()   236 MB/s
[    0.305718] raid6: int32x4  gen()   437 MB/s
[    0.322740] raid6: int32x4  xor()   255 MB/s
[    0.339907] raid6: int32x8  gen()   277 MB/s
[    0.356885] raid6: int32x8  xor()   205 MB/s
[    0.356910] raid6: using algorithm int32x4 gen() 437 MB/s
[    0.356928] raid6: .... xor() 255 MB/s, rmw enabled
[    0.356947] raid6: using intx1 recovery algorithm
[    0.357451] vgaarb: device added: PCI:0000:81:00.0,decodes=io+mem,owns=none,locks=none
[    0.357496] vgaarb: loaded
[    0.357511] vgaarb: bridge control possible 0000:81:00.0
[    0.357969] SCSI subsystem initialized
[    0.358521] libata version 3.00 loaded.
[    0.359092] usbcore: registered new interface driver usbfs
[    0.359222] usbcore: registered new interface driver hub
[    0.359350] usbcore: registered new device driver usb
[    0.359671] pps_core: LinuxPPS API ver. 1 registered
[    0.359701] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.359797] PTP clock support registered
[    0.360777] EDAC MC: Ver: 3.0.0
[    0.361939] Advanced Linux Sound Architecture Driver Initialized.
[    0.363172] clocksource: Switched to clocksource timebase
[    0.363408] FS-Cache: Loaded
[    0.363625] CacheFiles: Loaded
[    0.379929] NET: Registered protocol family 2
[    0.380588] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.380719] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    0.381043] TCP: Hash tables configured (established 8192 bind 8192)
[    0.381786] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    0.381896] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    0.382328] NET: Registered protocol family 1
[    0.382592] RPC: Registered named UNIX socket transport module.
[    0.382624] RPC: Registered udp transport module.
[    0.382641] RPC: Registered tcp transport module.
[    0.382659] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.382727] PCI: CLS mismatch (32 != 4), using 32 bytes
[    0.383594] Could not remap bcsr
[    0.389981] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    0.392859] futex hash table entries: 256 (order: 0, 7168 bytes)
[    0.393465] workingset: timestamp_bits=28 max_order=19 bucket_order=0
[    0.413718] ntfs: driver 2.1.32 [Flags: R/W].
[    0.414344] fuse init (API version 7.24)
[    0.419421] async_tx: api initialized (async)
[    0.419516] bounce: pool size: 64 pages
[    0.419608] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.419641] io scheduler noop registered
[    0.419807] io scheduler cfq registered (default)
[    0.422164] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[    0.422269] crc32: self tests passed, processed 225944 bytes in 989276 nsec
[    0.423439] crc32c: CRC_LE_BITS = 64
[    0.423465] crc32c: self tests passed, processed 225944 bytes in 494887 nsec
[    0.492728] crc32_combine: 8373 self tests passed
[    0.562174] crc32c_combine: 8373 self tests passed
[    0.562226] glob: 64 self-tests passed, 0 failed
[    0.661395] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.662544] console [ttyS0] disabled
[    0.683750] serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 22, base_baud = 691200) is a U6_16550A
[    1.620899] console [ttyS0] enabled
[    1.645418] serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 23, base_baud = 691200) is a U6_16550A
[    1.655614] console [ttyS0] disabled
[    1.659530] 4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 22, base_baud = 691200) is a 16550
[    2.621341] console [ttyS0] enabled
[    2.625747] 4ef600400.serial: ttyS1 at MMIO 0x4ef600400 (irq = 23, base_baud = 691200) is a 16550
[    2.635484] Generic non-volatile memory driver v1.1
[    2.640973] [drm] Initialized drm 1.1.0 20060810
[    2.645924] [drm] radeon kernel modesetting enabled.
[    2.652014] [drm] initializing kernel modesetting (VERDE 0x1002:0x683F 0x1545:0x7750).
[    2.660241] [drm] register mmio base: 0xe90000000
[    2.665009] [drm] register mmio size: 262144
[    3.001253] ATOM BIOS: C44501
[    3.004549] radeon 0000:81:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[    3.013476] radeon 0000:81:00.0: GTT: 2048M 0x0000000040000000 - 0x00000000BFFFFFFF
[    3.021168] [drm] Detected VRAM RAM=1024M, BAR=256M
[    3.026065] [drm] RAM width 128bits DDR
[    3.030094] [TTM] Zone  kernel: Available graphics memory: 378440 kiB
[    3.036585] [TTM] Zone highmem: Available graphics memory: 1033800 kiB
[    3.043142] [TTM] Initializing pool allocator
[    3.047545] [TTM] Initializing DMA pool allocator
[    3.052369] [drm] radeon: 1024M of VRAM memory ready
[    3.057378] [drm] radeon: 2048M of GTT memory ready.
[    3.062408] [drm] Loading verde Microcode
[    3.066469] [drm] Internal thermal controller with fan control
[    3.072623] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[    3.121797] [drm] radeon: dpm initialized
[    3.128222] [drm] Found VCE firmware/feedback version 50.0.1 / 17!
[    3.134469] [drm] GART: num cpu pages 524288, num gpu pages 524288
[    3.151139] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[    3.210767] [drm] PCIE GART of 2048M enabled (table at 0x00000000002E8000).
[    3.218077] radeon 0000:81:00.0: WB enabled
[    3.222320] radeon 0000:81:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xee962c00
[    3.232441] radeon 0000:81:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xee962c04
[    3.242562] radeon 0000:81:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xee962c08
[    3.252683] radeon 0000:81:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xee962c0c
[    3.262805] radeon 0000:81:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xee962c10
[    3.304324] radeon 0000:81:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xf5135a18
[    3.341458] radeon 0000:81:00.0: fence driver on ring 6 use gpu addr 0x0000000040000c18 and cpu addr 0xee962c18
[    3.351618] radeon 0000:81:00.0: fence driver on ring 7 use gpu addr 0x0000000040000c1c and cpu addr 0xee962c1c
[    3.361759] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.368404] [drm] Driver supports precise vblank timestamp query.
[    3.374523] radeon 0000:81:00.0: radeon: MSI limited to 32-bit
[    3.380446] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    3.388716] radeon 0000:81:00.0: radeon: using MSI.
[    3.393673] [drm] radeon: irq initialized.
[    4.152902] [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
[    4.161744] radeon 0000:81:00.0: disabling GPU acceleration
[    4.370696] [drm] Radeon Display Connectors
[    4.375369] [drm] Connector 0:
[    4.378506] [drm]   HDMI-A-1
[    4.381460] [drm]   HPD4
[    4.384046] [drm]   DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c 0x657c
[    4.391495] [drm]   Encoders:
[    4.394493] [drm]     DFP1: INTERNAL_UNIPHY2
[    4.398783] [drm] Connector 1:
[    4.401854] [drm]   DVI-I-1
[    4.404666] [drm]   HPD2
[    4.407221] [drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
[    4.414647] [drm]   Encoders:
[    4.417635] [drm]     DFP2: INTERNAL_UNIPHY
[    4.421836] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    4.540136] [drm] fb mappable at 0x806E9000
[    4.544354] [drm] vram apper at 0x80000000
[    4.548468] [drm] size 8294400
[    4.551541] [drm] fb depth is 24
[    4.554786] [drm]    pitch is 7680
[    4.850224] Console: switching to colour frame buffer device 240x67
[    4.929533] radeon 0000:81:00.0: fb0: radeondrmfb frame buffer device
[    4.939239] [drm] Initialized radeon 2.43.0 20080528 for 0000:81:00.0 on minor 0
[    4.947588] [drm] amdgpu kernel modesetting enabled.
[    4.967357] brd: module loaded
[    4.977422] loop: module loaded
[    4.981255] sm501 0001:00:06.0: enabling device (0004 -> 0006)
[    4.987695] sm501 0001:00:06.0: incorrect device id c0000105
[    4.994354] sata-dwc 4bffd1000.sata: id 0, controller version 1.82
[    5.001301] sata-dwc 4bffd1000.sata: DW_PARAMS: 0x10800804
[    5.001354] sata-dwc 4bffd1000.sata: DWC_PARAMS[0]: 0x49230b1b
[    5.001510] sata-dwc 4bffd1000.sata: DesignWare DMA Controller, 1 channels
[    5.008925] dma dma0chan0: dwc_alloc_chan_resources
[    5.008936] dmaengine: __dma_request_channel: success (dma0chan0)
[    5.009740] scsi host0: sata-dwc
[    5.013516] ata1: SATA max UDMA/133 irq 36
[    5.018829] libphy: Fixed MDIO Bus: probed
[    5.023585] PPC 4xx OCP EMAC driver, version 3.54
[    5.029015] MAL v2 /plb/mcmal, 2 TX channels, 16 RX channels
[    5.035369] ZMII /plb/opb/emac-zmii@ef600d00 initialized
[    5.041307] RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support
[    5.049042] TAH /plb/opb/emac-tah@ef601350 initialized
[    5.054638] TAH /plb/opb/emac-tah@ef601450 initialized
[    5.060481] /plb/opb/emac-rgmii@ef601500: input 0 in RGMII mode
[    5.068225] eth0: EMAC-0 /plb/opb/ethernet@ef600e00, MAC 00:50:c2:80:d5:c5
[    5.075645] eth0: found Generic MII PHY (0x00)
[    5.080589] /plb/opb/emac-rgmii@ef601500: input 1 in RGMII mode
[    5.088248] eth1: EMAC-1 /plb/opb/ethernet@ef600f00, MAC 00:00:00:00:00:00
[    5.095666] eth1: found Generic MII PHY (0x01)
[    5.100514] PPP generic driver version 2.4.2
[    5.105449] PPP BSD Compression module registered
[    5.110580] PPP Deflate Compression module registered
[    5.115965] NET: Registered protocol family 24
[    5.121025] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.128292] ppc-of-ehci 4bffd0400.ehci: OF EHCI
[    5.133410] ppc-of-ehci 4bffd0400.ehci: new USB bus registered, assigned bus number 1
[    5.142777] ppc-of-ehci 4bffd0400.ehci: irq 31, io mem 0x4bffd0400
[    5.155181] ppc-of-ehci 4bffd0400.ehci: USB 2.0 started, EHCI 1.00
[    5.161907] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.169109] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.176757] usb usb1: Product: OF EHCI
[    5.180742] usb usb1: Manufacturer: Linux 4.6.0-rc4-next-20160421-sam460ex-jm ehci_hcd
[    5.203447] usb usb1: SerialNumber: PPC-OF USB
[    5.222965] hub 1-0:1.0: USB hub found
[    5.241218] hub 1-0:1.0: 1 port detected
[    5.259745] ehci-pci: EHCI PCI platform driver
[    5.278695] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.299590] ppc-of-ohci 4bffd0000.usb: OF OHCI
[    5.318905] ppc-of-ohci 4bffd0000.usb: new USB bus registered, assigned bus number 2
[    5.341508] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    5.363024] ppc-of-ohci 4bffd0000.usb: irq 32, io mem 0x4bffd0000
[    5.384045] ata1.00: ATA-8: WDC WD5000AAKX-00ERMA0, 15.01H15, max UDMA/133
[    5.384052] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 1/32)
[    5.428344] ata1.00: configured for UDMA/133
[    5.448212] scsi 0:0:0:0: Direct-Access     ATA      WDC WD5000AAKX-0 1H15 PQ: 0 ANSI: 5
[    5.477976] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    5.501310] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    5.523111] sd 0:0:0:0: [sda] Write Protect is off
[    5.547251] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    5.547368] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.596183] usb 1-1: new high-speed USB device number 2 using ppc-of-ehci
[    5.622029] dma dma0chan0: dwc_prep_slave_sg
[    5.626726] dma dma0chan0: dwc_tx_submit: queued 2
[    5.626732] dma dma0chan0: dwc_dostart_first_queued: started 2
[    5.626820] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[    5.626830] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[    5.626837] dma dma0chan0: descriptor 2 complete
[    5.626927]  sda: sda1
[    5.627999] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.838612] usb 1-1: New USB device found, idVendor=0424, idProduct=2517
[    5.882178] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.933330] hub 1-1:1.0: USB hub found
[    5.975180] hub 1-1:1.0: 7 ports detected
[    6.225870] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    6.249419] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.273268] usb usb2: Product: OF OHCI
[    6.293418] usb usb2: Manufacturer: Linux 4.6.0-rc4-next-20160421-sam460ex-jm ohci_hcd
[    6.318084] usb usb2: SerialNumber: PPC-OF USB
[    6.339924] hub 2-0:1.0: USB hub found
[    6.360481] hub 2-0:1.0: 1 port detected
[    6.381592] ohci-pci: OHCI PCI platform driver
[    6.402587] usb 1-1.1: new high-speed USB device number 3 using ppc-of-ehci
[    6.427392] usbcore: registered new interface driver usblp
[    6.450043] usbcore: registered new interface driver usb-storage
[    6.473043] usbcore: registered new interface driver usbserial
[    6.495723] usbcore: registered new interface driver usbserial_generic
[    6.518937] usbserial: USB Serial support registered for generic
[    6.542275] usb 1-1.1: New USB device found, idVendor=1a40, idProduct=0101
[    6.565758] mousedev: PS/2 mouse device common for all mice
[    6.565764] i2c /dev entries driver
[    6.567794] ibm-iic 4ef600700.i2c: using standard (100 kHz) mode
[    6.568137] ibm-iic 4ef600800.i2c: using standard (100 kHz) mode
[    6.568293] md: linear personality registered for level -1
[    6.568297] md: raid0 personality registered for level 0
[    6.568300] md: raid1 personality registered for level 1
[    6.568304] md: raid10 personality registered for level 10
[    6.569330] md: raid6 personality registered for level 6
[    6.569334] md: raid5 personality registered for level 5
[    6.569337] md: raid4 personality registered for level 4
[    6.569986] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    6.569990] EDAC PPC4xx MC: v1.0.0
[    6.569993] EDAC PPC4xx MC: Reporting type: interrupt
[    6.570655] hidraw: raw HID events driver (C) Jiri Kosina
[    6.572018] usbcore: registered new interface driver usbhid
[    6.572020] usbhid: USB HID core driver
[    6.577720] no UART detected at 0x1
[    6.578465] usbcore: registered new interface driver snd-usb-audio
[    6.578575] usbcore: registered new interface driver snd-ua101
[    6.578688] usbcore: registered new interface driver snd-usb-usx2y
[    6.578860] ipip: IPv4 over IPv4 tunneling driver
[    6.580413] Initializing XFRM netlink socket
[    6.581574] NET: Registered protocol family 10
[    6.583379] sit: IPv6 over IPv4 tunneling driver
[    6.583983] NET: Registered protocol family 17
[    6.584005] NET: Registered protocol family 15
[    6.584320] Running MSI bitmap self-tests ...
[    6.608677] Key type encrypted registered
[    6.609065] hctosys: unable to open rtc device (rtc0)
[    6.609308] ALSA device list:
[    6.609313]   #0: Virtual MIDI Card 1
[    7.221603] Waiting 10 sec before mounting root device...
[    7.241416] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    7.241422] usb 1-1.1: Product: USB 2.0 Hub
[    7.242101] hub 1-1.1:1.0: USB hub found
[    7.242288] hub 1-1.1:1.0: 4 ports detected
[    7.392187] usb 1-1.2: new low-speed USB device number 4 using ppc-of-ehci
[    7.507149] usb 1-1.2: New USB device found, idVendor=04f2, idProduct=0116
[    7.528211] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    7.549647] usb 1-1.2: Product: USB Keyboard
[    7.567750] usb 1-1.2: Manufacturer: CHICONY
[    7.592794] input: CHICONY USB Keyboard as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.2/1-1.2:1.0/0003:04F2:0116.0001/input/input0
[    7.671196] usb 1-1.1.1: new full-speed USB device number 5 using ppc-of-ehci
[    7.693808] hid-generic 0003:04F2:0116.0001: input,hidraw0: USB HID v1.10 Keyboard [CHICONY USB Keyboard] on usb-PPC-OF USB-1.2/input0
[    7.807400] usb 1-1.1.1: New USB device found, idVendor=0d8c, idProduct=000c
[    7.829724] usb 1-1.1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    7.852641] usb 1-1.1.1: Product: C-Media USB Audio Device   
[    7.897543] input: C-Media USB Audio Device    as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.1/1-1.1.1/1-1.1.1:1.3/0003:0D8C:000C.0002/input/input1
[    7.927721] usb 1-1.5: new high-speed USB device number 6 using ppc-of-ehci
[    8.002662] hid-generic 0003:0D8C:000C.0002: input,hidraw1: USB HID v1.00 Device [C-Media USB Audio Device   ] on usb-PPC-OF USB-1.1.1/input3
[    8.044261] usb 1-1.5: New USB device found, idVendor=0781, idProduct=5530
[    8.067927] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.092067] usb 1-1.5: Product: Cruzer
[    8.112629] usb 1-1.5: Manufacturer: SanDisk
[    8.133688] usb 1-1.5: SerialNumber: 200517373207B181D66A
[    8.156601] usb-storage 1-1.5:1.0: USB Mass Storage device detected
[    8.179893] scsi host1: usb-storage 1-1.5:1.0
[    8.274190] usb 1-1.6: new full-speed USB device number 7 using ppc-of-ehci
[    8.386988] usb 1-1.6: New USB device found, idVendor=046d, idProduct=c52b
[    8.411267] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    8.435933] usb 1-1.6: Product: USB Receiver
[    8.457385] usb 1-1.6: Manufacturer: Logitech
[    8.482586] input: Logitech USB Receiver as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.6/1-1.6:1.0/0003:046D:C52B.0003/input/input2
[    8.565341] hid-generic 0003:046D:C52B.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input0
[    8.602293] input: Logitech USB Receiver as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.6/1-1.6:1.1/0003:046D:C52B.0004/input/input3
[    8.684721] hid-generic 0003:046D:C52B.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input1
[    8.721791] hid-generic 0003:046D:C52B.0005: hidraw4: USB HID v1.11 Device [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input2
[    8.826187] usb 1-1.7: new high-speed USB device number 8 using ppc-of-ehci
[    8.944715] usb 1-1.7: New USB device found, idVendor=0424, idProduct=2240
[    8.971305] usb 1-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.998342] usb 1-1.7: Product: Ultra Fast Media 
[    9.022891] usb 1-1.7: Manufacturer: Generic
[    9.047130] usb 1-1.7: SerialNumber: 000000225001
[    9.072357] usb-storage 1-1.7:1.0: USB Mass Storage device detected
[    9.098648] scsi host2: usb-storage 1-1.7:1.0
[    9.204422] scsi 1:0:0:0: Direct-Access     SanDisk  Cruzer           1.20 PQ: 0 ANSI: 5
[    9.233951] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    9.260307] sd 1:0:0:0: [sdb] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    9.289710] sd 1:0:0:0: [sdb] Write Protect is off
[    9.314656] sd 1:0:0:0: [sdb] Mode Sense: 43 00 00 00
[    9.315711] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    9.355380]  sdb: sdb1 sdb2 sdb3
[    9.383460] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[   10.124368] scsi 2:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   1.98 PQ: 0 ANSI: 0
[   10.154723] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   10.182700] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[   17.320229] md: Waiting for all devices to be available before autodetect
[   17.348105] md: If you don't use raid, use raid=noautodetect
[   17.375599] md: Autodetecting RAID arrays.
[   17.401015] md: Scanned 0 and added 0 devices.
[   17.426682] md: autorun ...
[   17.450558] md: ... autorun DONE.
[   17.476340] EXT4-fs (sdb2): couldn't mount as ext3 due to feature incompatibilities
[   17.506702] EXT4-fs (sdb2): couldn't mount as ext2 due to feature incompatibilities
[   17.538521] EXT4-fs (sdb2): INFO: recovery required on readonly filesystem
[   17.566553] EXT4-fs (sdb2): write access will be enabled during recovery
[   17.605249] EXT4-fs (sdb2): recovery complete
[   17.632470] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
[   17.661659] VFS: Mounted root (ext4 filesystem) readonly on device 8:18.
[   17.693567] devtmpfs: mounted
[   17.718490] Freeing unused kernel memory: 240K (c0afe000 - c0b3a000)
[   17.746442] This architecture does not have kernel memory protection.
[   18.080931] random: nonblocking pool is initialized
[   18.334276] systemd[1]: System time before build time, advancing clock.
[   18.448818] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[   18.489620] systemd[1]: Detected architecture ppc.
[   18.582866] systemd[1]: Set hostname to <Amigaone>.
[   19.501812] systemd[1]: Listening on udev Kernel Socket.
[   19.548344] systemd[1]: Reached target User and Group Name Lookups.
[   19.594553] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[   19.641852] systemd[1]: Reached target Swap.
[   19.686689] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   19.735524] systemd[1]: Listening on Syslog Socket.
[   19.781577] systemd[1]: Listening on udev Control Socket.
[   19.828332] systemd[1]: Listening on Journal Socket.
[   19.873676] systemd[1]: Created slice User and Session Slice.
[   19.937363] systemd[1]: Reached target Encrypted Volumes.
[   19.981301] systemd[1]: Listening on Journal Socket (/dev/log).
[   20.025368] systemd[1]: Created slice System Slice.
[   20.068157] systemd[1]: Reached target Slices.
[   20.112770] systemd[1]: Starting Braille Device Support...
[   20.177269] systemd[1]: Starting Uncomplicated firewall...
[   20.231055] systemd[1]: Started Read required files in advance.
[   20.292386] systemd[1]: Mounting POSIX Message Queue File System...
[   20.354044] systemd[1]: Starting Nameserver information manager...
[   20.413924] systemd[1]: Mounting Debug File System...
[   20.478260] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   20.565501] systemd[1]: Starting Load Kernel Modules...
[   20.638155] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   20.690550] systemd[1]: Reached target Remote File Systems (Pre).
[   20.737361] systemd[1]: Reached target Remote File Systems.
[   20.784018] systemd[1]: Created slice system-getty.slice.
[   20.832715] systemd[1]: Starting Create Static Device Nodes in /dev...
[   20.898690] systemd[1]: Starting Journal Service...
[   20.956698] systemd[1]: Listening on fsck to fsckd communication Socket.
[   21.025068] systemd[1]: Mounted Debug File System.
[   21.077076] systemd[1]: Mounted POSIX Message Queue File System.
[   21.140850] systemd[1]: brltty.service: Main process exited, code=exited, status=228/SECCOMP
[   21.198910] systemd[1]: Failed to start Braille Device Support.
[   21.336340] systemd[1]: brltty.service: Unit entered failed state.
[   21.389320] systemd[1]: brltty.service: Failed with result 'exit-code'.
[   21.447145] systemd[1]: Started Uncomplicated firewall.
[   21.501906] systemd[1]: ureadahead.service: Main process exited, code=exited, status=5/NOTINSTALLED
[   21.540607] systemd[1]: ureadahead.service: Unit entered failed state.
[   21.566963] systemd[1]: ureadahead.service: Failed with result 'exit-code'.
[   21.606548] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
[   21.648031] systemd[1]: Failed to start Load Kernel Modules.
[   21.714237] systemd[1]: systemd-modules-load.service: Unit entered failed state.
[   21.741561] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
[   21.770592] systemd[1]: Started Create Static Device Nodes in /dev.
[   21.820444] systemd[1]: Started Nameserver information manager.
[   21.897271] systemd[1]: Started Journal Service.
[   22.982817] dma dma0chan0: dwc_prep_slave_sg
[   23.006266] dma dma0chan0: dwc_tx_submit: queued 3
[   23.006281] dma dma0chan0: dwc_dostart_first_queued: started 3
[   23.006358] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.006382] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.006392] dma dma0chan0: descriptor 3 complete
[   23.009378] dma dma0chan0: dwc_prep_slave_sg
[   23.009494] dma dma0chan0: dwc_tx_submit: queued 4
[   23.009506] dma dma0chan0: dwc_dostart_first_queued: started 4
[   23.009580] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.009595] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.009606] dma dma0chan0: descriptor 4 complete
[   23.009750] dma dma0chan0: dwc_prep_slave_sg
[   23.009862] dma dma0chan0: dwc_tx_submit: queued 5
[   23.009873] dma dma0chan0: dwc_dostart_first_queued: started 5
[   23.009943] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.009963] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.009974] dma dma0chan0: descriptor 5 complete
[   23.010099] dma dma0chan0: dwc_prep_slave_sg
[   23.010208] dma dma0chan0: dwc_tx_submit: queued 6
[   23.010220] dma dma0chan0: dwc_dostart_first_queued: started 6
[   23.010292] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.010306] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.010316] dma dma0chan0: descriptor 6 complete
[   23.010447] dma dma0chan0: dwc_prep_slave_sg
[   23.010545] dma dma0chan0: dwc_tx_submit: queued 7
[   23.010556] dma dma0chan0: dwc_dostart_first_queued: started 7
[   23.010629] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.010649] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.010660] dma dma0chan0: descriptor 7 complete
[   23.010786] dma dma0chan0: dwc_prep_slave_sg
[   23.013720] dma dma0chan0: dwc_tx_submit: queued 8
[   23.013736] dma dma0chan0: dwc_dostart_first_queued: started 8
[   23.013809] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.013825] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.013836] dma dma0chan0: descriptor 8 complete
[   23.014095] dma dma0chan0: dwc_prep_slave_sg
[   23.041520] dma dma0chan0: dwc_tx_submit: queued 9
[   23.041536] dma dma0chan0: dwc_dostart_first_queued: started 9
[   23.041608] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.041632] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.041643] dma dma0chan0: descriptor 9 complete
[   23.041867] dma dma0chan0: dwc_prep_slave_sg
[   23.041991] dma dma0chan0: dwc_tx_submit: queued 10
[   23.042002] dma dma0chan0: dwc_dostart_first_queued: started 10
[   23.042077] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.042091] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.042101] dma dma0chan0: descriptor 10 complete
[   23.042275] dma dma0chan0: dwc_prep_slave_sg
[   23.042386] dma dma0chan0: dwc_tx_submit: queued 11
[   23.042397] dma dma0chan0: dwc_dostart_first_queued: started 11
[   23.042465] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.042485] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.042496] dma dma0chan0: descriptor 11 complete
[   23.042614] dma dma0chan0: dwc_prep_slave_sg
[   23.042725] dma dma0chan0: dwc_tx_submit: queued 12
[   23.042736] dma dma0chan0: dwc_dostart_first_queued: started 12
[   23.042804] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.042824] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.042835] dma dma0chan0: descriptor 12 complete
[   23.043322] dma dma0chan0: dwc_prep_slave_sg
[   23.043441] dma dma0chan0: dwc_tx_submit: queued 13
[   23.043452] dma dma0chan0: dwc_dostart_first_queued: started 13
[   23.043643] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.043667] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.043678] dma dma0chan0: descriptor 13 complete
[   23.043734] dma dma0chan0: dwc_prep_slave_sg
[   23.043857] dma dma0chan0: dwc_tx_submit: queued 14
[   23.043868] dma dma0chan0: dwc_dostart_first_queued: started 14
[   23.043935] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.043954] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.043965] dma dma0chan0: descriptor 14 complete
[   23.044016] dma dma0chan0: dwc_prep_slave_sg
[   23.044314] dma dma0chan0: dwc_tx_submit: queued 15
[   23.044326] dma dma0chan0: dwc_dostart_first_queued: started 15
[   23.044738] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.044763] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.044774] dma dma0chan0: descriptor 15 complete
[   23.044865] dma dma0chan0: dwc_prep_slave_sg
[   23.045007] dma dma0chan0: dwc_tx_submit: queued 16
[   23.045017] dma dma0chan0: dwc_dostart_first_queued: started 16
[   23.046061] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.046093] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.046106] dma dma0chan0: descriptor 16 complete
[   23.046623] dma dma0chan0: dwc_prep_slave_sg
[   23.046789] dma dma0chan0: dwc_tx_submit: queued 17
[   23.046801] dma dma0chan0: dwc_dostart_first_queued: started 17
[   23.048522] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.048552] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.048564] dma dma0chan0: descriptor 17 complete
[   23.049649] dma dma0chan0: dwc_prep_slave_sg
[   23.052774] dma dma0chan0: dwc_tx_submit: queued 18
[   23.052789] dma dma0chan0: dwc_dostart_first_queued: started 18
[   23.054612] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.054643] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.054656] dma dma0chan0: descriptor 18 complete
[   23.055395] dma dma0chan0: dwc_prep_slave_sg
[   23.055575] dma dma0chan0: dwc_tx_submit: queued 19
[   23.055587] dma dma0chan0: dwc_dostart_first_queued: started 19
[   23.057418] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.057448] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.057461] dma dma0chan0: descriptor 19 complete
[   23.058529] dma dma0chan0: dwc_prep_slave_sg
[   23.082102] dma dma0chan0: dwc_tx_submit: queued 20
[   23.082117] dma dma0chan0: dwc_dostart_first_queued: started 20
[   23.083960] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.083990] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.084002] dma dma0chan0: descriptor 20 complete
[   23.084715] dma dma0chan0: dwc_prep_slave_sg
[   23.084911] dma dma0chan0: dwc_tx_submit: queued 21
[   23.084923] dma dma0chan0: dwc_dostart_first_queued: started 21
[   23.086942] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.086972] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.086985] dma dma0chan0: descriptor 21 complete
[   23.088046] dma dma0chan0: dwc_prep_slave_sg
[   23.088213] dma dma0chan0: dwc_tx_submit: queued 22
[   23.088225] dma dma0chan0: dwc_dostart_first_queued: started 22
[   23.089981] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.090011] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.090023] dma dma0chan0: descriptor 22 complete
[   23.090722] dma dma0chan0: dwc_prep_slave_sg
[   23.097001] dma dma0chan0: dwc_tx_submit: queued 23
[   23.097017] dma dma0chan0: dwc_dostart_first_queued: started 23
[   23.097972] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.098001] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.098013] dma dma0chan0: descriptor 23 complete
[   23.098123] dma dma0chan0: dwc_prep_slave_sg
[   23.098232] dma dma0chan0: dwc_tx_submit: queued 24
[   23.098244] dma dma0chan0: dwc_dostart_first_queued: started 24
[   23.099070] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.099102] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.099114] dma dma0chan0: descriptor 24 complete
[   23.099753] dma dma0chan0: dwc_prep_slave_sg
[   23.099874] dma dma0chan0: dwc_tx_submit: queued 25
[   23.099886] dma dma0chan0: dwc_dostart_first_queued: started 25
[   23.099960] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.099975] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.099985] dma dma0chan0: descriptor 25 complete
[   23.100647] dma dma0chan0: dwc_prep_slave_sg
[   23.100762] dma dma0chan0: dwc_tx_submit: queued 26
[   23.100773] dma dma0chan0: dwc_dostart_first_queued: started 26
[   23.100845] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.100866] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.100877] dma dma0chan0: descriptor 26 complete
[   23.261280] EXT4-fs (sdb2): re-mounted. Opts: errors=remount-ro
[   24.049869] systemd-journald[1576]: Received request to flush runtime journal from PID 1
[   25.825917] eth0: link is up, 1000 FDX, pause enabled
[   27.056083] dma dma0chan0: dwc_prep_slave_sg
[   27.056226] dma dma0chan0: dwc_tx_submit: queued 27
[   27.056238] dma dma0chan0: dwc_dostart_first_queued: started 27
[   27.056317] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.056338] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.056350] dma dma0chan0: descriptor 27 complete
[   27.073867] dma dma0chan0: dwc_prep_slave_sg
[   27.073992] dma dma0chan0: dwc_tx_submit: queued 28
[   27.074003] dma dma0chan0: dwc_dostart_first_queued: started 28
[   27.074082] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.074096] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.074108] dma dma0chan0: descriptor 28 complete
[   27.087913] dma dma0chan0: dwc_prep_slave_sg
[   27.088030] dma dma0chan0: dwc_tx_submit: queued 29
[   27.088042] dma dma0chan0: dwc_dostart_first_queued: started 29
[   27.088124] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.088146] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.088159] dma dma0chan0: descriptor 29 complete
[   27.108090] dma dma0chan0: dwc_prep_slave_sg
[   27.108213] dma dma0chan0: dwc_tx_submit: queued 30
[   27.108225] dma dma0chan0: dwc_dostart_first_queued: started 30
[   27.108318] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.108347] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.108358] dma dma0chan0: descriptor 30 complete
[   27.112720] dma dma0chan0: dwc_prep_slave_sg
[   27.112841] dma dma0chan0: dwc_tx_submit: queued 31
[   27.112850] dma dma0chan0: dwc_dostart_first_queued: started 31
[   27.112940] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.112956] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.112967] dma dma0chan0: descriptor 31 complete
[   27.113958] dma dma0chan0: dwc_prep_slave_sg
[   27.114076] dma dma0chan0: dwc_tx_submit: queued 32
[   27.114088] dma dma0chan0: dwc_dostart_first_queued: started 32
[   27.114211] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.114284] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.114297] dma dma0chan0: descriptor 32 complete
[   27.119786] dma dma0chan0: dwc_prep_slave_sg
[   27.119904] dma dma0chan0: dwc_tx_submit: queued 33
[   27.119915] dma dma0chan0: dwc_dostart_first_queued: started 33
[   27.119996] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.120025] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.120038] dma dma0chan0: descriptor 33 complete
[   27.127435] dma dma0chan0: dwc_prep_slave_sg
[   27.127553] dma dma0chan0: dwc_tx_submit: queued 34
[   27.127565] dma dma0chan0: dwc_dostart_first_queued: started 34
[   27.127644] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.127665] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.127677] dma dma0chan0: descriptor 34 complete
[   27.138505] dma dma0chan0: dwc_prep_slave_sg
[   27.138628] dma dma0chan0: dwc_tx_submit: queued 35
[   27.138639] dma dma0chan0: dwc_dostart_first_queued: started 35
[   27.138719] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.138741] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.138753] dma dma0chan0: descriptor 35 complete
[   27.140069] dma dma0chan0: dwc_prep_slave_sg
[   27.140218] dma dma0chan0: dwc_tx_submit: queued 36
[   27.140229] dma dma0chan0: dwc_dostart_first_queued: started 36
[   27.140333] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.140349] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.140360] dma dma0chan0: descriptor 36 complete
[   27.146559] dma dma0chan0: dwc_prep_slave_sg
[   27.146676] dma dma0chan0: dwc_tx_submit: queued 37
[   27.146688] dma dma0chan0: dwc_dostart_first_queued: started 37
[   27.146794] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.146809] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.146820] dma dma0chan0: descriptor 37 complete
[   27.151405] dma dma0chan0: dwc_prep_slave_sg
[   27.151525] dma dma0chan0: dwc_tx_submit: queued 38
[   27.151537] dma dma0chan0: dwc_dostart_first_queued: started 38
[   27.151628] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.151643] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.151654] dma dma0chan0: descriptor 38 complete
[   27.190408] dma dma0chan0: dwc_prep_slave_sg
[   27.190531] dma dma0chan0: dwc_tx_submit: queued 39
[   27.190543] dma dma0chan0: dwc_dostart_first_queued: started 39
[   27.190620] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.190635] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.190646] dma dma0chan0: descriptor 39 complete
[   27.209370] dma dma0chan0: dwc_prep_slave_sg
[   27.209493] dma dma0chan0: dwc_tx_submit: queued 40
[   27.209502] dma dma0chan0: dwc_dostart_first_queued: started 40
[   27.209587] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.209604] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.209615] dma dma0chan0: descriptor 40 complete
[   27.223661] dma dma0chan0: dwc_prep_slave_sg
[   27.223777] dma dma0chan0: dwc_tx_submit: queued 41
[   27.223790] dma dma0chan0: dwc_dostart_first_queued: started 41
[   27.223871] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.223885] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.223897] dma dma0chan0: descriptor 41 complete
[   27.225353] dma dma0chan0: dwc_prep_slave_sg
[   27.225470] dma dma0chan0: dwc_tx_submit: queued 42
[   27.225482] dma dma0chan0: dwc_dostart_first_queued: started 42
[   27.225626] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.225671] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.225683] dma dma0chan0: descriptor 42 complete
[   27.246425] dma dma0chan0: dwc_prep_slave_sg
[   27.273688] dma dma0chan0: dwc_tx_submit: queued 43
[   27.273709] dma dma0chan0: dwc_dostart_first_queued: started 43
[   27.273795] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.273819] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.273831] dma dma0chan0: descriptor 43 complete
[   27.274158] dma dma0chan0: dwc_prep_slave_sg
[   27.274611] dma dma0chan0: dwc_tx_submit: queued 44
[   27.274624] dma dma0chan0: dwc_dostart_first_queued: started 44
[   27.274700] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.274725] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.274736] dma dma0chan0: descriptor 44 complete
[   27.274954] dma dma0chan0: dwc_prep_slave_sg
[   27.275072] dma dma0chan0: dwc_tx_submit: queued 45
[   27.275083] dma dma0chan0: dwc_dostart_first_queued: started 45
[   27.275163] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.275215] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.275227] dma dma0chan0: descriptor 45 complete
[   27.276379] dma dma0chan0: dwc_prep_slave_sg
[   27.276500] dma dma0chan0: dwc_tx_submit: queued 46
[   27.276510] dma dma0chan0: dwc_dostart_first_queued: started 46
[   27.276611] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.276627] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.276639] dma dma0chan0: descriptor 46 complete
[   27.276800] dma dma0chan0: dwc_prep_slave_sg
[   27.276918] dma dma0chan0: dwc_tx_submit: queued 47
[   27.276929] dma dma0chan0: dwc_dostart_first_queued: started 47
[   27.277005] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.277018] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.277028] dma dma0chan0: descriptor 47 complete
[   27.279525] dma dma0chan0: dwc_prep_slave_sg
[   27.279661] dma dma0chan0: dwc_tx_submit: queued 48
[   27.279672] dma dma0chan0: dwc_dostart_first_queued: started 48
[   27.279889] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.279930] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.279942] dma dma0chan0: descriptor 48 complete
[   27.280002] dma dma0chan0: dwc_prep_slave_sg
[   27.280110] dma dma0chan0: dwc_tx_submit: queued 49
[   27.280121] dma dma0chan0: dwc_dostart_first_queued: started 49
[   27.280217] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.280244] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.280254] dma dma0chan0: descriptor 49 complete
[   27.323286] dma dma0chan0: dwc_prep_slave_sg
[   27.323434] dma dma0chan0: dwc_tx_submit: queued 50
[   27.323445] dma dma0chan0: dwc_dostart_first_queued: started 50
[   27.323949] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.323975] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.323987] dma dma0chan0: descriptor 50 complete
[   27.324105] dma dma0chan0: dwc_prep_slave_sg
[   27.324243] dma dma0chan0: dwc_tx_submit: queued 51
[   27.324255] dma dma0chan0: dwc_dostart_first_queued: started 51
[   27.325455] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.325490] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.325503] dma dma0chan0: descriptor 51 complete
[   27.368335] dma dma0chan0: dwc_prep_slave_sg
[   27.368498] dma dma0chan0: dwc_tx_submit: queued 52
[   27.368507] dma dma0chan0: dwc_dostart_first_queued: started 52
[   27.370380] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.370418] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.370431] dma dma0chan0: descriptor 52 complete
[   27.396171] dma dma0chan0: dwc_prep_slave_sg
[   27.396344] dma dma0chan0: dwc_tx_submit: queued 53
[   27.396351] dma dma0chan0: dwc_dostart_first_queued: started 53
[   27.398415] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.398436] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.398445] dma dma0chan0: descriptor 53 complete
[   27.458504] dma dma0chan0: dwc_prep_slave_sg
[   27.458684] dma dma0chan0: dwc_tx_submit: queued 54
[   27.458695] dma dma0chan0: dwc_dostart_first_queued: started 54
[   27.460597] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.460626] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.460638] dma dma0chan0: descriptor 54 complete
[   27.559435] dma dma0chan0: dwc_prep_slave_sg
[   27.559572] dma dma0chan0: dwc_tx_submit: queued 55
[   27.559584] dma dma0chan0: dwc_dostart_first_queued: started 55
[   27.560225] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.560269] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.560281] dma dma0chan0: descriptor 55 complete
[   27.560377] dma dma0chan0: dwc_prep_slave_sg
[   27.560484] dma dma0chan0: dwc_tx_submit: queued 56
[   27.560495] dma dma0chan0: dwc_dostart_first_queued: started 56
[   27.560605] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.560618] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.560628] dma dma0chan0: descriptor 56 complete
[   27.560666] dma dma0chan0: dwc_prep_slave_sg
[   27.560768] dma dma0chan0: dwc_tx_submit: queued 57
[   27.560777] dma dma0chan0: dwc_dostart_first_queued: started 57
[   27.560918] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.560931] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.560942] dma dma0chan0: descriptor 57 complete
[   27.560981] dma dma0chan0: dwc_prep_slave_sg
[   27.561084] dma dma0chan0: dwc_tx_submit: queued 58
[   27.561094] dma dma0chan0: dwc_dostart_first_queued: started 58
[   27.561381] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.561405] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.561416] dma dma0chan0: descriptor 58 complete
[   27.561475] dma dma0chan0: dwc_prep_slave_sg
[   27.561589] dma dma0chan0: dwc_tx_submit: queued 59
[   27.561599] dma dma0chan0: dwc_dostart_first_queued: started 59
[   27.562308] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.562334] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.562345] dma dma0chan0: descriptor 59 complete
[   27.576777] dma dma0chan0: dwc_prep_slave_sg
[   27.576891] dma dma0chan0: dwc_tx_submit: queued 60
[   27.576897] dma dma0chan0: dwc_dostart_first_queued: started 60
[   27.577540] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.577566] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.577575] dma dma0chan0: descriptor 60 complete
[   27.577654] dma dma0chan0: dwc_prep_slave_sg
[   27.577758] dma dma0chan0: dwc_tx_submit: queued 61
[   27.577764] dma dma0chan0: dwc_dostart_first_queued: started 61
[   27.578139] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.578160] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.578198] dma dma0chan0: descriptor 61 complete
[   27.578263] dma dma0chan0: dwc_prep_slave_sg
[   27.578364] dma dma0chan0: dwc_tx_submit: queued 62
[   27.578370] dma dma0chan0: dwc_dostart_first_queued: started 62
[   27.579012] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.579034] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.579042] dma dma0chan0: descriptor 62 complete
[   27.579109] dma dma0chan0: dwc_prep_slave_sg
[   27.579214] dma dma0chan0: dwc_tx_submit: queued 63
[   27.579220] dma dma0chan0: dwc_dostart_first_queued: started 63
[   27.579396] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.579410] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.579417] dma dma0chan0: descriptor 63 complete
[   27.606932] dma dma0chan0: dwc_prep_slave_sg
[   27.607090] dma dma0chan0: dwc_tx_submit: queued 64
[   27.607097] dma dma0chan0: dwc_dostart_first_queued: started 64
[   27.608550] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.608573] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.608582] dma dma0chan0: descriptor 64 complete
[   27.608698] dma dma0chan0: dwc_prep_slave_sg
[   27.608799] dma dma0chan0: dwc_tx_submit: queued 65
[   27.608805] dma dma0chan0: dwc_dostart_first_queued: started 65
[   27.609532] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.609541] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.609549] dma dma0chan0: descriptor 65 complete
[   27.650596] dma dma0chan0: dwc_prep_slave_sg
[   27.650732] dma dma0chan0: dwc_tx_submit: queued 66
[   27.650744] dma dma0chan0: dwc_dostart_first_queued: started 66
[   27.651115] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.651142] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.651154] dma dma0chan0: descriptor 66 complete
[   27.651284] dma dma0chan0: dwc_prep_slave_sg
[   27.651389] dma dma0chan0: dwc_tx_submit: queued 67
[   27.651399] dma dma0chan0: dwc_dostart_first_queued: started 67
[   27.652010] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.652042] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.652055] dma dma0chan0: descriptor 67 complete
[   27.652129] dma dma0chan0: dwc_prep_slave_sg
[   27.652248] dma dma0chan0: dwc_tx_submit: queued 68
[   27.652259] dma dma0chan0: dwc_dostart_first_queued: started 68
[   27.653223] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.653300] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.653313] dma dma0chan0: descriptor 68 complete
[   27.653394] dma dma0chan0: dwc_prep_slave_sg
[   27.653490] dma dma0chan0: dwc_tx_submit: queued 69
[   27.653502] dma dma0chan0: dwc_dostart_first_queued: started 69
[   27.653585] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.653598] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.653608] dma dma0chan0: descriptor 69 complete
[   27.663960] dma dma0chan0: dwc_prep_slave_sg
[   27.664071] dma dma0chan0: dwc_tx_submit: queued 70
[   27.664078] dma dma0chan0: dwc_dostart_first_queued: started 70
[   27.664159] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.664221] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.664229] dma dma0chan0: descriptor 70 complete
[   29.301279] cgroup: new mount options do not match the existing superblock, will be ignored
[   31.905758] dma dma0chan0: dwc_prep_slave_sg
[   31.905883] dma dma0chan0: dwc_tx_submit: queued 71
[   31.905895] dma dma0chan0: dwc_dostart_first_queued: started 71
[   31.905971] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   31.905986] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   31.905997] dma dma0chan0: descriptor 71 complete
[   31.934394] dma dma0chan0: dwc_prep_slave_sg
[   31.934509] dma dma0chan0: dwc_tx_submit: queued 72
[   31.934521] dma dma0chan0: dwc_dostart_first_queued: started 72
[   31.934613] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   31.934628] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   31.934639] dma dma0chan0: descriptor 72 complete
[   31.934828] dma dma0chan0: dwc_prep_slave_sg
[   31.934936] dma dma0chan0: dwc_tx_submit: queued 73
[   31.934946] dma dma0chan0: dwc_dostart_first_queued: started 73
[   31.935025] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   31.935038] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   31.935048] dma dma0chan0: descriptor 73 complete
[   31.947342] dma dma0chan0: dwc_prep_slave_sg
[   31.947461] dma dma0chan0: dwc_tx_submit: queued 74
[   31.947468] dma dma0chan0: dwc_dostart_first_queued: started 74
[   31.947549] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   31.947561] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   31.947568] dma dma0chan0: descriptor 74 complete
[   31.954387] dma dma0chan0: dwc_prep_slave_sg
[   31.954501] dma dma0chan0: dwc_tx_submit: queued 75
[   31.954508] dma dma0chan0: dwc_dostart_first_queued: started 75
[   31.954591] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   31.954602] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   31.954610] dma dma0chan0: descriptor 75 complete
[   31.980401] dma dma0chan0: dwc_prep_slave_sg
[   31.980507] dma dma0chan0: dwc_tx_submit: queued 76
[   31.980513] dma dma0chan0: dwc_dostart_first_queued: started 76
[   31.980595] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   31.980606] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   31.980614] dma dma0chan0: descriptor 76 complete
[   32.000447] dma dma0chan0: dwc_prep_slave_sg
[   32.000571] dma dma0chan0: dwc_tx_submit: queued 77
[   32.000577] dma dma0chan0: dwc_dostart_first_queued: started 77
[   32.000677] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.000689] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.000697] dma dma0chan0: descriptor 77 complete
[   32.014808] dma dma0chan0: dwc_prep_slave_sg
[   32.014918] dma dma0chan0: dwc_tx_submit: queued 78
[   32.014925] dma dma0chan0: dwc_dostart_first_queued: started 78
[   32.014997] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.015015] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.015023] dma dma0chan0: descriptor 78 complete
[   32.018397] dma dma0chan0: dwc_prep_slave_sg
[   32.018514] dma dma0chan0: dwc_tx_submit: queued 79
[   32.018521] dma dma0chan0: dwc_dostart_first_queued: started 79
[   32.018609] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.018628] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.018635] dma dma0chan0: descriptor 79 complete
[   32.034363] dma dma0chan0: dwc_prep_slave_sg
[   32.034492] dma dma0chan0: dwc_tx_submit: queued 80
[   32.034503] dma dma0chan0: dwc_dostart_first_queued: started 80
[   32.034615] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.034632] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.034644] dma dma0chan0: descriptor 80 complete
[   32.083561] dma dma0chan0: dwc_prep_slave_sg
[   32.083726] dma dma0chan0: dwc_tx_submit: queued 81
[   32.083733] dma dma0chan0: dwc_dostart_first_queued: started 81
[   32.118603] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.118626] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.118635] dma dma0chan0: descriptor 81 complete
[   32.118752] dma dma0chan0: dwc_prep_slave_sg
[   32.118860] dma dma0chan0: dwc_tx_submit: queued 82
[   32.118866] dma dma0chan0: dwc_dostart_first_queued: started 82
[   32.119343] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.119361] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.119369] dma dma0chan0: descriptor 82 complete
[   32.119420] dma dma0chan0: dwc_prep_slave_sg
[   32.119519] dma dma0chan0: dwc_tx_submit: queued 83
[   32.119525] dma dma0chan0: dwc_dostart_first_queued: started 83
[   32.119748] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.119763] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.119770] dma dma0chan0: descriptor 83 complete
[   32.119813] dma dma0chan0: dwc_prep_slave_sg
[   32.119918] dma dma0chan0: dwc_tx_submit: queued 84
[   32.119924] dma dma0chan0: dwc_dostart_first_queued: started 84
[   32.120006] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.120015] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.120022] dma dma0chan0: descriptor 84 complete
[   32.140290] dma dma0chan0: dwc_prep_slave_sg
[   32.140470] dma dma0chan0: dwc_tx_submit: queued 85
[   32.140481] dma dma0chan0: dwc_dostart_first_queued: started 85
[   32.158070] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.158105] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.158118] dma dma0chan0: descriptor 85 complete
[   32.166938] dma dma0chan0: dwc_prep_slave_sg
[   32.167123] dma dma0chan0: dwc_tx_submit: queued 86
[   32.167135] dma dma0chan0: dwc_dostart_first_queued: started 86
[   32.173788] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.173817] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.173830] dma dma0chan0: descriptor 86 complete
[   32.245914] dma dma0chan0: dwc_prep_slave_sg
[   32.246081] dma dma0chan0: dwc_tx_submit: queued 87
[   32.246088] dma dma0chan0: dwc_dostart_first_queued: started 87
[   32.248689] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.248712] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.248721] dma dma0chan0: descriptor 87 complete
[   32.387388] dma dma0chan0: dwc_prep_slave_sg
[   32.387554] dma dma0chan0: dwc_tx_submit: queued 88
[   32.387566] dma dma0chan0: dwc_dostart_first_queued: started 88
[   32.389537] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.389574] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.389587] dma dma0chan0: descriptor 88 complete
[   32.507499] dma dma0chan0: dwc_prep_slave_sg
[   32.507652] dma dma0chan0: dwc_tx_submit: queued 89
[   32.507658] dma dma0chan0: dwc_dostart_first_queued: started 89
[   32.509752] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.509772] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.509782] dma dma0chan0: descriptor 89 complete
[   32.600236] dma dma0chan0: dwc_prep_slave_sg
[   32.600409] dma dma0chan0: dwc_tx_submit: queued 90
[   32.600416] dma dma0chan0: dwc_dostart_first_queued: started 90
[   32.602307] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.602332] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.602342] dma dma0chan0: descriptor 90 complete
[   32.604881] dma dma0chan0: dwc_prep_slave_sg
[   32.605025] dma dma0chan0: dwc_tx_submit: queued 91
[   32.605032] dma dma0chan0: dwc_dostart_first_queued: started 91
[   32.605950] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.605968] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.605977] dma dma0chan0: descriptor 91 complete
[   32.606076] dma dma0chan0: dwc_prep_slave_sg
[   32.606184] dma dma0chan0: dwc_tx_submit: queued 92
[   32.606190] dma dma0chan0: dwc_dostart_first_queued: started 92
[   32.606919] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.606927] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.606933] dma dma0chan0: descriptor 92 complete
[   32.752051] dma dma0chan0: dwc_prep_slave_sg
[   32.752168] dma dma0chan0: dwc_tx_submit: queued 93
[   32.752174] dma dma0chan0: dwc_dostart_first_queued: started 93
[   32.752250] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.752268] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.752275] dma dma0chan0: descriptor 93 complete
[   32.754799] dma dma0chan0: dwc_prep_slave_sg
[   32.754913] dma dma0chan0: dwc_tx_submit: queued 94
[   32.754919] dma dma0chan0: dwc_dostart_first_queued: started 94
[   32.754992] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.755003] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.755011] dma dma0chan0: descriptor 94 complete
[   35.454486] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[  179.686509] EXT4-fs (sdb3): mounting ext2 file system using the ext4 subsystem
[  179.713688] EXT4-fs (sdb3): warning: mounting unchecked fs, running e2fsck is recommended
[  179.725994] EXT4-fs (sdb3): mounted filesystem without journal. Opts: (null)

[-- Attachment #3: Sam460ex_8.log --]
[-- Type: text/plain, Size: 50086 bytes --]

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2016.04.23 11:26:53 =~=~=~=~=~=~=~=~=~=~=~=


U-Boot 2015.a (May 16 2015 - 14:20:11)

CPU:   AMCC PowerPC 460EX Rev. B at 1155 MHz (PLB=231 OPB=115 EBC=115)
       No Security/Kasumi support
       Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
       Internal PCI arbiter enabled
       32 kB I-Cache 32 kB D-Cache
Board: Sam460ex/cr, PCIe 4x + SATA-2
I2C:   ready
DRAM:  2 GiB (ECC not enabled, 462 MHz, CL4)
PCI:   Bus Dev VenId DevId Class Int
        00  04  1095  3512  0104  00
        00  06  126f  0501  0380  00
PCIE1: successfully set as root-complex
        02  00  1002  683f  0300  ff
Net:   ppc_4xx_eth0
FPGA:  Revision 03 (2010-10-07)
SM502: found
PERMD2:not found
VGA:   1
VESA:  OK
[    0.000000] Using Canyonlands machine description
[    0.000000] Linux version 4.6.0-rc4-next-20160421-sam460ex-jm (root@julian-VirtualBox) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #2 PREEMPT Sat Apr 23 09:26:44 AST 2016
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: root=/dev/sdb2 rootdelay=10 console=ttyS0,115200 console=tty0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 2001648K/2097152K available (7424K kernel code, 316K rwdata, 3816K rodata, 240K init, 370K bss, 95504K reserved, 0K cma-reserved, 1310720K highmem)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffcf000..0xfffff000  : fixmap
[    0.000000]   * 0xffc00000..0xffe00000  : highmem PTEs
[    0.000000]   * 0xffa00000..0xffc00000  : consistent mem
[    0.000000]   * 0xffa00000..0xffa00000  : early ioremap
[    0.000000]   * 0xf1000000..0xffa00000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000014] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x10a60dda894, max_idle_ns: 440795207041 ns
[    0.000024] clocksource: timebase mult[dda520] shift[24] registered
[    0.000149] Console: colour dummy device 80x25
[    0.000701] console [tty0] enabled
[    0.000735] pid_max: default: 32768 minimum: 301
[    0.000846] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000873] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003501] devtmpfs: initialized
[    0.006153] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.006544] xor: measuring software checksum speed
[    0.016612]    8regs     :   896.000 MB/sec
[    0.026438]    8regs_prefetch:   800.000 MB/sec
[    0.036484]    32regs    :  1232.000 MB/sec
[    0.046564]    32regs_prefetch:  1084.000 MB/sec
[    0.046599] xor: using function: 32regs (1232.000 MB/sec)
[    0.046626] prandom: seed boundary self test passed
[    0.048680] prandom: 100 self tests passed
[    0.049389] NET: Registered protocol family 16
[    0.054839] cpuidle: using governor ladder
[    0.056802] cpuidle: using governor menu
[    0.057205] 256k L2-cache enabled
[    0.057287] PCIE0: Port disabled via device-tree
[    0.057347] PCIE1: Checking link...
[    0.057364] PCIE1: Device detected, waiting for link...
[    0.057383] PCIE1: link is up !
[    0.159657] PCI host bridge /plb/pciex@d20000000 (primary) ranges:
[    0.159707]  MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000 
[    0.159744]  MEM 0x0000000f00100000..0x0000000f001fffff -> 0x0000000000000000 
[    0.159775]   IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000
[    0.159812] 4xx PCI DMA offset set to 0x00000000
[    0.159829] 4xx PCI DMA window base to 0x0000000000000000
[    0.159848] DMA window size 0x0000000080000000
[    0.159884] PCIE1: successfully set as root-complex
[    0.159977] PCI host bridge /plb/pci@c0ec00000 (primary) ranges:
[    0.160006]  MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000 
[    0.160041]  MEM 0x0000000c0ee00000..0x0000000c0eefffff -> 0x0000000000000000 
[    0.160072]   IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000
[    0.160102] 4xx PCI DMA offset set to 0x00000000
[    0.160119] 4xx PCI DMA window base to 0x0000000000000000
[    0.160138] DMA window size 0x0000000080000000
[    0.169685] PCI: Probing PCI hardware
[    0.170005] PCI host bridge to bus 0000:80
[    0.170043] pci_bus 0000:80: root bus resource [io  0xfffe0000-0xfffeffff] (bus address [0x0000-0xffff])
[    0.170079] pci_bus 0000:80: root bus resource [mem 0xe80000000-0xeffffffff] (bus address [0x80000000-0xffffffff])
[    0.170117] pci_bus 0000:80: root bus resource [mem 0xf00100000-0xf001fffff] (bus address [0x00000000-0x000fffff])
[    0.170155] pci_bus 0000:80: root bus resource [bus 80-ff]
[    0.170281] PCI: Hiding 4xx host bridge resources 0000:80:00.0
[    0.171448] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.171759] PCI host bridge to bus 0001:00
[    0.171792] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    0.171818] pci_bus 0001:00: root bus resource [mem 0xd80000000-0xdffffffff] (bus address [0x80000000-0xffffffff])
[    0.171855] pci_bus 0001:00: root bus resource [mem 0xc0ee00000-0xc0eefffff] (bus address [0x00000000-0x000fffff])
[    0.171893] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.172664] pci 0000:80:00.0: BAR 9: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.172709] pci 0000:80:00.0: BAR 8: assigned [mem 0xe90000000-0xe900fffff]
[    0.172736] pci 0000:80:00.0: BAR 7: assigned [io  0xfffe1000-0xfffe1fff]
[    0.172767] pci 0000:81:00.0: BAR 0: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.172809] pci 0000:81:00.0: BAR 2: assigned [mem 0xe90000000-0xe9003ffff 64bit]
[    0.172848] pci 0000:81:00.0: BAR 6: assigned [mem 0xe90040000-0xe9005ffff pref]
[    0.172882] pci 0000:81:00.1: BAR 0: assigned [mem 0xe90060000-0xe90063fff 64bit]
[    0.172920] pci 0000:81:00.0: BAR 4: assigned [io  0xfffe1000-0xfffe10ff]
[    0.172948] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.172971] pci 0000:80:00.0:   bridge window [io  0xfffe1000-0xfffe1fff]
[    0.172997] pci 0000:80:00.0:   bridge window [mem 0xe90000000-0xe900fffff]
[    0.173023] pci 0000:80:00.0:   bridge window [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.173120] pci 0001:00:06.0: BAR 0: assigned [mem 0xd80000000-0xd83ffffff]
[    0.173148] pci 0001:00:06.0: BAR 1: assigned [mem 0xd84000000-0xd841fffff]
[    0.173175] pci 0001:00:04.0: BAR 6: assigned [mem 0xd84200000-0xd8427ffff pref]
[    0.173207] pci 0001:00:04.0: BAR 5: assigned [mem 0xd84280000-0xd842801ff]
[    0.173234] pci 0001:00:04.0: BAR 4: assigned [io  0x1000-0x100f]
[    0.173259] pci 0001:00:04.0: BAR 0: assigned [io  0x1010-0x1017]
[    0.173284] pci 0001:00:04.0: BAR 2: assigned [io  0x1018-0x101f]
[    0.173310] pci 0001:00:04.0: BAR 1: assigned [io  0x1020-0x1023]
[    0.173335] pci 0001:00:04.0: BAR 3: assigned [io  0x1024-0x1027]
[    0.237400] raid6: int32x1  gen()   300 MB/s
[    0.254364] raid6: int32x1  xor()   162 MB/s
[    0.271495] raid6: int32x2  gen()   390 MB/s
[    0.288548] raid6: int32x2  xor()   236 MB/s
[    0.305718] raid6: int32x4  gen()   437 MB/s
[    0.322740] raid6: int32x4  xor()   255 MB/s
[    0.339907] raid6: int32x8  gen()   277 MB/s
[    0.356885] raid6: int32x8  xor()   205 MB/s
[    0.356910] raid6: using algorithm int32x4 gen() 437 MB/s
[    0.356928] raid6: .... xor() 255 MB/s, rmw enabled
[    0.356947] raid6: using intx1 recovery algorithm
[    0.357451] vgaarb: device added: PCI:0000:81:00.0,decodes=io+mem,owns=none,locks=none
[    0.357496] vgaarb: loaded
[    0.357511] vgaarb: bridge control possible 0000:81:00.0
[    0.357969] SCSI subsystem initialized
[    0.359092] usbcore: registered new interface driver usbfs
[    0.359222] usbcore: registered new interface driver hub
[    0.359350] usbcore: registered new device driver usb
[    0.359671] pps_core: LinuxPPS API ver. 1 registered
[    0.359701] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.359797] PTP clock support registered
[    0.360777] EDAC MC: Ver: 3.0.0
[    0.361939] Advanced Linux Sound Architecture Driver Initialized.
[    0.363172] clocksource: Switched to clocksource timebase
[    0.363408] FS-Cache: Loaded
[    0.363625] CacheFiles: Loaded
[    0.379929] NET: Registered protocol family 2
[    0.380588] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.380719] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    0.381043] TCP: Hash tables configured (established 8192 bind 8192)
[    0.381786] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    0.381896] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    0.382328] NET: Registered protocol family 1
[    0.382592] RPC: Registered named UNIX socket transport module.
[    0.382624] RPC: Registered udp transport module.
[    0.382641] RPC: Registered tcp transport module.
[    0.382659] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.383594] Could not remap bcsr
[    0.389981] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    0.392859] futex hash table entries: 256 (order: 0, 7168 bytes)
[    0.393465] workingset: timestamp_bits=28 max_order=19 bucket_order=0
[    0.413718] ntfs: driver 2.1.32 [Flags: R/W].
[    0.414344] fuse init (API version 7.24)
[    0.419421] async_tx: api initialized (async)
[    0.419516] bounce: pool size: 64 pages
[    0.419608] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.419641] io scheduler noop registered
[    0.419807] io scheduler cfq registered (default)
[    0.422164] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[    0.422269] crc32: self tests passed, processed 225944 bytes in 989276 nsec
[    0.423439] crc32c: CRC_LE_BITS = 64
[    0.423465] crc32c: self tests passed, processed 225944 bytes in 494887 nsec
[    0.492728] crc32_combine: 8373 self tests passed
[    0.562174] crc32c_combine: 8373 self tests passed
[    0.562226] glob: 64 self-tests passed, 0 failed
[    0.661395] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.662544] console [ttyS0] disabled
[    0.683750] serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 22, base_baud = 691200) is a U6_16550A
[    1.620899] console [ttyS0] enabled
[    1.645418] serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 23, base_baud = 691200) is a U6_16550A
[    1.655614] console [ttyS0] disabled
[    0.000000] Using Canyonlands machine description
[    0.000000] Linux version 4.6.0-rc4-next-20160421-sam460ex-jm (root@julian-VirtualBox) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #2 PREEMPT Sat Apr 23 09:26:44 AST 2016
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: root=/dev/sdb2 rootdelay=10 console=ttyS0,115200 console=tty0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 2001648K/2097152K available (7424K kernel code, 316K rwdata, 3816K rodata, 240K init, 370K bss, 95504K reserved, 0K cma-reserved, 1310720K highmem)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffcf000..0xfffff000  : fixmap
[    0.000000]   * 0xffc00000..0xffe00000  : highmem PTEs
[    0.000000]   * 0xffa00000..0xffc00000  : consistent mem
[    0.000000]   * 0xffa00000..0xffa00000  : early ioremap
[    0.000000]   * 0xf1000000..0xffa00000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000014] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x10a60dda894, max_idle_ns: 440795207041 ns
[    0.000024] clocksource: timebase mult[dda520] shift[24] registered
[    0.000149] Console: colour dummy device 80x25
[    0.000701] console [tty0] enabled
[    0.000735] pid_max: default: 32768 minimum: 301
[    0.000846] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000873] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003501] devtmpfs: initialized
[    0.006153] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.006544] xor: measuring software checksum speed
[    0.016612]    8regs     :   896.000 MB/sec
[    0.026438]    8regs_prefetch:   800.000 MB/sec
[    0.036484]    32regs    :  1232.000 MB/sec
[    0.046564]    32regs_prefetch:  1084.000 MB/sec
[    0.046599] xor: using function: 32regs (1232.000 MB/sec)
[    0.046626] prandom: seed boundary self test passed
[    0.048680] prandom: 100 self tests passed
[    0.049389] NET: Registered protocol family 16
[    0.054839] cpuidle: using governor ladder
[    0.056802] cpuidle: using governor menu
[    0.057205] 256k L2-cache enabled
[    0.057287] PCIE0: Port disabled via device-tree
[    0.057347] PCIE1: Checking link...
[    0.057364] PCIE1: Device detected, waiting for link...
[    0.057383] PCIE1: link is up !
[    0.159657] PCI host bridge /plb/pciex@d20000000 (primary) ranges:
[    0.159707]  MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000 
[    0.159744]  MEM 0x0000000f00100000..0x0000000f001fffff -> 0x0000000000000000 
[    0.159775]   IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000
[    0.159812] 4xx PCI DMA offset set to 0x00000000
[    0.159829] 4xx PCI DMA window base to 0x0000000000000000
[    0.159848] DMA window size 0x0000000080000000
[    0.159884] PCIE1: successfully set as root-complex
[    0.159977] PCI host bridge /plb/pci@c0ec00000 (primary) ranges:
[    0.160006]  MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000 
[    0.160041]  MEM 0x0000000c0ee00000..0x0000000c0eefffff -> 0x0000000000000000 
[    0.160072]   IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000
[    0.160102] 4xx PCI DMA offset set to 0x00000000
[    0.160119] 4xx PCI DMA window base to 0x0000000000000000
[    0.160138] DMA window size 0x0000000080000000
[    0.169685] PCI: Probing PCI hardware
[    0.170005] PCI host bridge to bus 0000:80
[    0.170043] pci_bus 0000:80: root bus resource [io  0xfffe0000-0xfffeffff] (bus address [0x0000-0xffff])
[    0.170079] pci_bus 0000:80: root bus resource [mem 0xe80000000-0xeffffffff] (bus address [0x80000000-0xffffffff])
[    0.170117] pci_bus 0000:80: root bus resource [mem 0xf00100000-0xf001fffff] (bus address [0x00000000-0x000fffff])
[    0.170155] pci_bus 0000:80: root bus resource [bus 80-ff]
[    0.170281] PCI: Hiding 4xx host bridge resources 0000:80:00.0
[    0.171448] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.171759] PCI host bridge to bus 0001:00
[    0.171792] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    0.171818] pci_bus 0001:00: root bus resource [mem 0xd80000000-0xdffffffff] (bus address [0x80000000-0xffffffff])
[    0.171855] pci_bus 0001:00: root bus resource [mem 0xc0ee00000-0xc0eefffff] (bus address [0x00000000-0x000fffff])
[    0.171893] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.172664] pci 0000:80:00.0: BAR 9: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.172709] pci 0000:80:00.0: BAR 8: assigned [mem 0xe90000000-0xe900fffff]
[    0.172736] pci 0000:80:00.0: BAR 7: assigned [io  0xfffe1000-0xfffe1fff]
[    0.172767] pci 0000:81:00.0: BAR 0: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.172809] pci 0000:81:00.0: BAR 2: assigned [mem 0xe90000000-0xe9003ffff 64bit]
[    0.172848] pci 0000:81:00.0: BAR 6: assigned [mem 0xe90040000-0xe9005ffff pref]
[    0.172882] pci 0000:81:00.1: BAR 0: assigned [mem 0xe90060000-0xe90063fff 64bit]
[    0.172920] pci 0000:81:00.0: BAR 4: assigned [io  0xfffe1000-0xfffe10ff]
[    0.172948] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.172971] pci 0000:80:00.0:   bridge window [io  0xfffe1000-0xfffe1fff]
[    0.172997] pci 0000:80:00.0:   bridge window [mem 0xe90000000-0xe900fffff]
[    0.173023] pci 0000:80:00.0:   bridge window [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.173120] pci 0001:00:06.0: BAR 0: assigned [mem 0xd80000000-0xd83ffffff]
[    0.173148] pci 0001:00:06.0: BAR 1: assigned [mem 0xd84000000-0xd841fffff]
[    0.173175] pci 0001:00:04.0: BAR 6: assigned [mem 0xd84200000-0xd8427ffff pref]
[    0.173207] pci 0001:00:04.0: BAR 5: assigned [mem 0xd84280000-0xd842801ff]
[    0.173234] pci 0001:00:04.0: BAR 4: assigned [io  0x1000-0x100f]
[    0.173259] pci 0001:00:04.0: BAR 0: assigned [io  0x1010-0x1017]
[    0.173284] pci 0001:00:04.0: BAR 2: assigned [io  0x1018-0x101f]
[    0.173310] pci 0001:00:04.0: BAR 1: assigned [io  0x1020-0x1023]
[    0.173335] pci 0001:00:04.0: BAR 3: assigned [io  0x1024-0x1027]
[    0.237400] raid6: int32x1  gen()   300 MB/s
[    0.254364] raid6: int32x1  xor()   162 MB/s
[    0.271495] raid6: int32x2  gen()   390 MB/s
[    0.288548] raid6: int32x2  xor()   236 MB/s
[    0.305718] raid6: int32x4  gen()   437 MB/s
[    0.322740] raid6: int32x4  xor()   255 MB/s
[    0.339907] raid6: int32x8  gen()   277 MB/s
[    0.356885] raid6: int32x8  xor()   205 MB/s
[    0.356910] raid6: using algorithm int32x4 gen() 437 MB/s
[    0.356928] raid6: .... xor() 255 MB/s, rmw enabled
[    0.356947] raid6: using intx1 recovery algorithm
[    0.357451] vgaarb: device added: PCI:0000:81:00.0,decodes=io+mem,owns=none,locks=none
[    0.357496] vgaarb: loaded
[    0.357511] vgaarb: bridge control possible 0000:81:00.0
[    0.357969] SCSI subsystem initialized
[    0.359092] usbcore: registered new interface driver usbfs
[    0.359222] usbcore: registered new interface driver hub
[    0.359350] usbcore: registered new device driver usb
[    0.359671] pps_core: LinuxPPS API ver. 1 registered
[    0.359701] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.359797] PTP clock support registered
[    0.360777] EDAC MC: Ver: 3.0.0
[    0.361939] Advanced Linux Sound Architecture Driver Initialized.
[    0.363172] clocksource: Switched to clocksource timebase
[    0.363408] FS-Cache: Loaded
[    0.363625] CacheFiles: Loaded
[    0.379929] NET: Registered protocol family 2
[    0.380588] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.380719] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    0.381043] TCP: Hash tables configured (established 8192 bind 8192)
[    0.381786] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    0.381896] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    0.382328] NET: Registered protocol family 1
[    0.382592] RPC: Registered named UNIX socket transport module.
[    0.382624] RPC: Registered udp transport module.
[    0.382641] RPC: Registered tcp transport module.
[    0.382659] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.383594] Could not remap bcsr
[    0.389981] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    0.392859] futex hash table entries: 256 (order: 0, 7168 bytes)
[    0.393465] workingset: timestamp_bits=28 max_order=19 bucket_order=0
[    0.413718] ntfs: driver 2.1.32 [Flags: R/W].
[    0.414344] fuse init (API version 7.24)
[    0.419421] async_tx: api initialized (async)
[    0.419516] bounce: pool size: 64 pages
[    0.419608] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.419641] io scheduler noop registered
[    0.419807] io scheduler cfq registered (default)
[    0.422164] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[    0.422269] crc32: self tests passed, processed 225944 bytes in 989276 nsec
[    0.423439] crc32c: CRC_LE_BITS = 64
[    0.423465] crc32c: self tests passed, processed 225944 bytes in 494887 nsec
[    0.492728] crc32_combine: 8373 self tests passed
[    0.562174] crc32c_combine: 8373 self tests passed
[    0.562226] glob: 64 self-tests passed, 0 failed
[    0.661395] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.662544] console [ttyS0] disabled
[    0.683750] serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 22, base_baud = 691200) is a U6_16550A
[    1.620899] console [ttyS0] enabled
[    1.645418] serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 23, base_baud = 691200) is a U6_16550A
[    1.655614] console [ttyS0] disabled
[    1.659530] 4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 22, base_baud = 691200) is a 16550
[    2.621341] console [ttyS0] enabled
[    2.625747] 4ef600400.serial: ttyS1 at MMIO 0x4ef600400 (irq = 23, base_baud = 691200) is a 16550
[    2.635484] Generic non-volatile memory driver v1.1
[    2.640973] [drm] Initialized drm 1.1.0 20060810
[    2.645924] [drm] radeon kernel modesetting enabled.
[    2.652014] [drm] initializing kernel modesetting (VERDE 0x1002:0x683F 0x1545:0x7750).
[    2.660241] [drm] register mmio base: 0xe90000000
[    2.665009] [drm] register mmio size: 262144
[    3.001253] ATOM BIOS: C44501
[    3.004549] radeon 0000:81:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[    3.013476] radeon 0000:81:00.0: GTT: 2048M 0x0000000040000000 - 0x00000000BFFFFFFF
[    3.021168] [drm] Detected VRAM RAM=1024M, BAR=256M
[    3.026065] [drm] RAM width 128bits DDR
[    3.030094] [TTM] Zone  kernel: Available graphics memory: 378440 kiB
[    3.036585] [TTM] Zone highmem: Available graphics memory: 1033800 kiB
[    3.043142] [TTM] Initializing pool allocator
[    3.047545] [TTM] Initializing DMA pool allocator
[    3.052369] [drm] radeon: 1024M of VRAM memory ready
[    3.057378] [drm] radeon: 2048M of GTT memory ready.
[    3.062408] [drm] Loading verde Microcode
[    3.066469] [drm] Internal thermal controller with fan control
[    3.072623] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[    3.121797] [drm] radeon: dpm initialized
[    3.128222] [drm] Found VCE firmware/feedback version 50.0.1 / 17!
[    3.134469] [drm] GART: num cpu pages 524288, num gpu pages 524288
[    3.151139] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[    3.210767] [drm] PCIE GART of 2048M enabled (table at 0x00000000002E8000).
[    3.218077] radeon 0000:81:00.0: WB enabled
[    3.222320] radeon 0000:81:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xee962c00
[    3.232441] radeon 0000:81:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xee962c04
[    3.242562] radeon 0000:81:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xee962c08
[    3.252683] radeon 0000:81:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xee962c0c
[    3.262805] radeon 0000:81:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xee962c10
[    3.304324] radeon 0000:81:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xf5135a18
[    3.341458] radeon 0000:81:00.0: fence driver on ring 6 use gpu addr 0x0000000040000c18 and cpu addr 0xee962c18
[    3.351618] radeon 0000:81:00.0: fence driver on ring 7 use gpu addr 0x0000000040000c1c and cpu addr 0xee962c1c
[    3.361759] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.368404] [drm] Driver supports precise vblank timestamp query.
[    3.374523] radeon 0000:81:00.0: radeon: MSI limited to 32-bit
[    3.380446] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    3.388716] radeon 0000:81:00.0: radeon: using MSI.
[    3.393673] [drm] radeon: irq initialized.
[    4.152902] [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
[    4.161744] radeon 0000:81:00.0: disabling GPU acceleration
[    4.370696] [drm] Radeon Display Connectors
[    4.375369] [drm] Connector 0:
[    4.378506] [drm]   HDMI-A-1
[    4.381460] [drm]   HPD4
[    4.384046] [drm]   DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c 0x657c
[    4.391495] [drm]   Encoders:
[    4.394493] [drm]     DFP1: INTERNAL_UNIPHY2
[    4.398783] [drm] Connector 1:
[    4.401854] [drm]   DVI-I-1
[    4.404666] [drm]   HPD2
[    4.407221] [drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
[    4.414647] [drm]   Encoders:
[    4.417635] [drm]     DFP2: INTERNAL_UNIPHY
[    4.421836] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    4.540136] [drm] fb mappable at 0x806E9000
[    4.544354] [drm] vram apper at 0x80000000
[    4.548468] [drm] size 8294400
[    4.551541] [drm] fb depth is 24
[    4.554786] [drm]    pitch is 7680
[    4.850224] Console: switching to colour frame buffer device 240x67
[    4.929533] radeon 0000:81:00.0: fb0: radeondrmfb frame buffer device
[    4.939239] [drm] Initialized radeon 2.43.0 20080528 for 0000:81:00.0 on minor 0
[    4.947588] [drm] amdgpu kernel modesetting enabled.
[    4.967357] brd: module loaded
[    4.977422] loop: module loaded
[    4.981255] sm501 0001:00:06.0: enabling device (0004 -> 0006)
[    4.987695] sm501 0001:00:06.0: incorrect device id c0000105
[    4.994354] sata-dwc 4bffd1000.sata: id 0, controller version 1.82
[    5.001510] sata-dwc 4bffd1000.sata: DesignWare DMA Controller, 1 channels
[    5.009740] scsi host0: sata-dwc
[    5.013516] ata1: SATA max UDMA/133 irq 36
[    5.018829] libphy: Fixed MDIO Bus: probed
[    5.023585] PPC 4xx OCP EMAC driver, version 3.54
[    5.029015] MAL v2 /plb/mcmal, 2 TX channels, 16 RX channels
[    5.035369] ZMII /plb/opb/emac-zmii@ef600d00 initialized
[    5.041307] RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support
[    5.049042] TAH /plb/opb/emac-tah@ef601350 initialized
[    5.054638] TAH /plb/opb/emac-tah@ef601450 initialized
[    5.060481] /plb/opb/emac-rgmii@ef601500: input 0 in RGMII mode
[    5.068225] eth0: EMAC-0 /plb/opb/ethernet@ef600e00, MAC 00:50:c2:80:d5:c5
[    5.075645] eth0: found Generic MII PHY (0x00)
[    5.080589] /plb/opb/emac-rgmii@ef601500: input 1 in RGMII mode
[    5.088248] eth1: EMAC-1 /plb/opb/ethernet@ef600f00, MAC 00:00:00:00:00:00
[    5.095666] eth1: found Generic MII PHY (0x01)
[    5.100514] PPP generic driver version 2.4.2
[    5.105449] PPP BSD Compression module registered
[    5.110580] PPP Deflate Compression module registered
[    5.115965] NET: Registered protocol family 24
[    5.121025] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.128292] ppc-of-ehci 4bffd0400.ehci: OF EHCI
[    5.133410] ppc-of-ehci 4bffd0400.ehci: new USB bus registered, assigned bus number 1
[    5.142777] ppc-of-ehci 4bffd0400.ehci: irq 31, io mem 0x4bffd0400
[    5.155181] ppc-of-ehci 4bffd0400.ehci: USB 2.0 started, EHCI 1.00
[    5.161907] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.169109] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.176757] usb usb1: Product: OF EHCI
[    5.180742] usb usb1: Manufacturer: Linux 4.6.0-rc4-next-20160421-sam460ex-jm ehci_hcd
[    5.203447] usb usb1: SerialNumber: PPC-OF USB
[    5.222965] hub 1-0:1.0: USB hub found
[    5.241218] hub 1-0:1.0: 1 port detected
[    5.259745] ehci-pci: EHCI PCI platform driver
[    5.278695] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.299590] ppc-of-ohci 4bffd0000.usb: OF OHCI
[    5.318905] ppc-of-ohci 4bffd0000.usb: new USB bus registered, assigned bus number 2
[    5.341508] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    5.363024] ppc-of-ohci 4bffd0000.usb: irq 32, io mem 0x4bffd0000
[    5.384045] ata1.00: ATA-8: WDC WD5000AAKX-00ERMA0, 15.01H15, max UDMA/133
[    5.384052] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 1/32)
[    5.428344] ata1.00: configured for UDMA/133
[    5.448212] scsi 0:0:0:0: Direct-Access     ATA      WDC WD5000AAKX-0 1H15 PQ: 0 ANSI: 5
[    5.477976] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    5.501310] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    5.523111] sd 0:0:0:0: [sda] Write Protect is off
[    5.547368] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.596183] usb 1-1: new high-speed USB device number 2 using ppc-of-ehci
[    5.626927]  sda: sda1
[    5.627999] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.838612] usb 1-1: New USB device found, idVendor=0424, idProduct=2517
[    5.882178] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.933330] hub 1-1:1.0: USB hub found
[    5.975180] hub 1-1:1.0: 7 ports detected
[    6.225870] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    6.249419] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.273268] usb usb2: Product: OF OHCI
[    6.293418] usb usb2: Manufacturer: Linux 4.6.0-rc4-next-20160421-sam460ex-jm ohci_hcd
[    6.318084] usb usb2: SerialNumber: PPC-OF USB
[    6.339924] hub 2-0:1.0: USB hub found
[    6.360481] hub 2-0:1.0: 1 port detected
[    6.381592] ohci-pci: OHCI PCI platform driver
[    6.402587] usb 1-1.1: new high-speed USB device number 3 using ppc-of-ehci
[    6.427392] usbcore: registered new interface driver usblp
[    6.450043] usbcore: registered new interface driver usb-storage
[    6.473043] usbcore: registered new interface driver usbserial
[    6.495723] usbcore: registered new interface driver usbserial_generic
[    6.518937] usbserial: USB Serial support registered for generic
[    6.542275] usb 1-1.1: New USB device found, idVendor=1a40, idProduct=0101
[    6.565758] mousedev: PS/2 mouse device common for all mice
[    6.565764] i2c /dev entries driver
[    6.567794] ibm-iic 4ef600700.i2c: using standard (100 kHz) mode
[    6.568137] ibm-iic 4ef600800.i2c: using standard (100 kHz) mode
[    6.568293] md: linear personality registered for level -1
[    6.568297] md: raid0 personality registered for level 0
[    6.568300] md: raid1 personality registered for level 1
[    6.568304] md: raid10 personality registered for level 10
[    6.569330] md: raid6 personality registered for level 6
[    6.569334] md: raid5 personality registered for level 5
[    6.569337] md: raid4 personality registered for level 4
[    6.569986] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    6.569990] EDAC PPC4xx MC: v1.0.0
[    6.569993] EDAC PPC4xx MC: Reporting type: interrupt
[    6.570655] hidraw: raw HID events driver (C) Jiri Kosina
[    6.572018] usbcore: registered new interface driver usbhid
[    6.572020] usbhid: USB HID core driver
[    6.577720] no UART detected at 0x1
[    6.578465] usbcore: registered new interface driver snd-usb-audio
[    6.578575] usbcore: registered new interface driver snd-ua101
[    6.578688] usbcore: registered new interface driver snd-usb-usx2y
[    6.578860] ipip: IPv4 over IPv4 tunneling driver
[    6.580413] Initializing XFRM netlink socket
[    6.581574] NET: Registered protocol family 10
[    6.583379] sit: IPv6 over IPv4 tunneling driver
[    6.583983] NET: Registered protocol family 17
[    6.584005] NET: Registered protocol family 15
[    6.608677] Key type encrypted registered
[    6.609065] hctosys: unable to open rtc device (rtc0)
[    6.609308] ALSA device list:
[    6.609313]   #0: Virtual MIDI Card 1
[    7.221603] Waiting 10 sec before mounting root device...
[    7.241416] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    7.241422] usb 1-1.1: Product: USB 2.0 Hub
[    7.242101] hub 1-1.1:1.0: USB hub found
[    7.242288] hub 1-1.1:1.0: 4 ports detected
[    7.392187] usb 1-1.2: new low-speed USB device number 4 using ppc-of-ehci
[    7.507149] usb 1-1.2: New USB device found, idVendor=04f2, idProduct=0116
[    7.528211] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    7.549647] usb 1-1.2: Product: USB Keyboard
[    7.567750] usb 1-1.2: Manufacturer: CHICONY
[    7.592794] input: CHICONY USB Keyboard as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.2/1-1.2:1.0/0003:04F2:0116.0001/input/input0
[    7.671196] usb 1-1.1.1: new full-speed USB device number 5 using ppc-of-ehci
[    7.693808] hid-generic 0003:04F2:0116.0001: input,hidraw0: USB HID v1.10 Keyboard [CHICONY USB Keyboard] on usb-PPC-OF USB-1.2/input0
[    7.807400] usb 1-1.1.1: New USB device found, idVendor=0d8c, idProduct=000c
[    7.829724] usb 1-1.1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    7.852641] usb 1-1.1.1: Product: C-Media USB Audio Device   
[    7.897543] input: C-Media USB Audio Device    as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.1/1-1.1.1/1-1.1.1:1.3/0003:0D8C:000C.0002/input/input1
[    7.927721] usb 1-1.5: new high-speed USB device number 6 using ppc-of-ehci
[    8.002662] hid-generic 0003:0D8C:000C.0002: input,hidraw1: USB HID v1.00 Device [C-Media USB Audio Device   ] on usb-PPC-OF USB-1.1.1/input3
[    8.044261] usb 1-1.5: New USB device found, idVendor=0781, idProduct=5530
[    8.067927] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.092067] usb 1-1.5: Product: Cruzer
[    8.112629] usb 1-1.5: Manufacturer: SanDisk
[    8.133688] usb 1-1.5: SerialNumber: 200517373207B181D66A
[    8.156601] usb-storage 1-1.5:1.0: USB Mass Storage device detected
[    8.179893] scsi host1: usb-storage 1-1.5:1.0
[    8.274190] usb 1-1.6: new full-speed USB device number 7 using ppc-of-ehci
[    8.386988] usb 1-1.6: New USB device found, idVendor=046d, idProduct=c52b
[    8.411267] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    8.435933] usb 1-1.6: Product: USB Receiver
[    8.457385] usb 1-1.6: Manufacturer: Logitech
[    8.482586] input: Logitech USB Receiver as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.6/1-1.6:1.0/0003:046D:C52B.0003/input/input2
[    8.565341] hid-generic 0003:046D:C52B.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input0
[    8.602293] input: Logitech USB Receiver as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.6/1-1.6:1.1/0003:046D:C52B.0004/input/input3
[    8.684721] hid-generic 0003:046D:C52B.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input1
[    8.721791] hid-generic 0003:046D:C52B.0005: hidraw4: USB HID v1.11 Device [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input2
[    8.826187] usb 1-1.7: new high-speed USB device number 8 using ppc-of-ehci
[    8.944715] usb 1-1.7: New USB device found, idVendor=0424, idProduct=2240
[    8.971305] usb 1-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.998342] usb 1-1.7: Product: Ultra Fast Media 
[    9.022891] usb 1-1.7: Manufacturer: Generic
[    9.047130] usb 1-1.7: SerialNumber: 000000225001
[    9.072357] usb-storage 1-1.7:1.0: USB Mass Storage device detected
[    9.098648] scsi host2: usb-storage 1-1.7:1.0
[    9.204422] scsi 1:0:0:0: Direct-Access     SanDisk  Cruzer           1.20 PQ: 0 ANSI: 5
[    9.233951] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    9.260307] sd 1:0:0:0: [sdb] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    9.289710] sd 1:0:0:0: [sdb] Write Protect is off
[    9.315711] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    9.355380]  sdb: sdb1 sdb2 sdb3
[    9.383460] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[   10.124368] scsi 2:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   1.98 PQ: 0 ANSI: 0
[   10.154723] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   10.182700] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[   17.320229] md: Waiting for all devices to be available before autodetect
[   17.348105] md: If you don't use raid, use raid=noautodetect
[   17.375599] md: Autodetecting RAID arrays.
[   17.401015] md: Scanned 0 and added 0 devices.
[   17.426682] md: autorun ...
[   17.450558] md: ... autorun DONE.
[   17.476340] EXT4-fs (sdb2): couldn't mount as ext3 due to feature incompatibilities
[   17.506702] EXT4-fs (sdb2): couldn't mount as ext2 due to feature incompatibilities
[   17.538521] EXT4-fs (sdb2): INFO: recovery required on readonly filesystem
[   17.566553] EXT4-fs (sdb2): write access will be enabled during recovery
[   17.605249] EXT4-fs (sdb2): recovery complete
[   17.632470] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
[   17.661659] VFS: Mounted root (ext4 filesystem) readonly on device 8:18.
[   17.693567] devtmpfs: mounted
[   17.718490] Freeing unused kernel memory: 240K (c0afe000 - c0b3a000)
[   17.746442] This architecture does not have kernel memory protection.
[   18.080931] random: nonblocking pool is initialized
[   18.334276] systemd[1]: System time before build time, advancing clock.
[   18.448818] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[   18.489620] systemd[1]: Detected architecture ppc.
[   18.582866] systemd[1]: Set hostname to <Amigaone>.
[   19.501812] systemd[1]: Listening on udev Kernel Socket.
[   19.548344] systemd[1]: Reached target User and Group Name Lookups.
[   19.594553] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[   19.641852] systemd[1]: Reached target Swap.
[   19.686689] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   19.735524] systemd[1]: Listening on Syslog Socket.
[   19.781577] systemd[1]: Listening on udev Control Socket.
[   19.828332] systemd[1]: Listening on Journal Socket.
[   19.873676] systemd[1]: Created slice User and Session Slice.
[   19.937363] systemd[1]: Reached target Encrypted Volumes.
[   19.981301] systemd[1]: Listening on Journal Socket (/dev/log).
[   20.025368] systemd[1]: Created slice System Slice.
[   20.068157] systemd[1]: Reached target Slices.
[   20.112770] systemd[1]: Starting Braille Device Support...
[   20.177269] systemd[1]: Starting Uncomplicated firewall...
[   20.231055] systemd[1]: Started Read required files in advance.
[   20.292386] systemd[1]: Mounting POSIX Message Queue File System...
[   20.354044] systemd[1]: Starting Nameserver information manager...
[   20.413924] systemd[1]: Mounting Debug File System...
[   20.478260] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   20.565501] systemd[1]: Starting Load Kernel Modules...
[   20.638155] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   20.690550] systemd[1]: Reached target Remote File Systems (Pre).
[   20.737361] systemd[1]: Reached target Remote File Systems.
[   20.784018] systemd[1]: Created slice system-getty.slice.
[   20.832715] systemd[1]: Starting Create Static Device Nodes in /dev...
[   20.898690] systemd[1]: Starting Journal Service...
[   20.956698] systemd[1]: Listening on fsck to fsckd communication Socket.
[   21.025068] systemd[1]: Mounted Debug File System.
[   21.077076] systemd[1]: Mounted POSIX Message Queue File System.
[   21.140850] systemd[1]: brltty.service: Main process exited, code=exited, status=228/SECCOMP
[   21.198910] systemd[1]: Failed to start Braille Device Support.
[   21.336340] systemd[1]: brltty.service: Unit entered failed state.
[   21.389320] systemd[1]: brltty.service: Failed with result 'exit-code'.
[   21.447145] systemd[1]: Started Uncomplicated firewall.
[   21.501906] systemd[1]: ureadahead.service: Main process exited, code=exited, status=5/NOTINSTALLED
[   21.540607] systemd[1]: ureadahead.service: Unit entered failed state.
[   21.566963] systemd[1]: ureadahead.service: Failed with result 'exit-code'.
[   21.606548] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
[   21.648031] systemd[1]: Failed to start Load Kernel Modules.
[   21.714237] systemd[1]: systemd-modules-load.service: Unit entered failed state.
[   21.741561] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
[   21.770592] systemd[1]: Started Create Static Device Nodes in /dev.
[   21.820444] systemd[1]: Started Nameserver information manager.
[   21.897271] systemd[1]: Started Journal Service.

Ubuntu 16.04 LTS Amigaone ttyS0

Amigaone login: amigaone
Password: 
Last login: Thu Apr 21 15:09:20 AST 2016 on tty1
Welcome to Ubuntu 16.04 LTS (GNU/Linux 4.6.0-rc4-next-20160421-sam460ex-jm ppc)

 * Documentation:  https://help.ubuntu.com/

0 packages can be updated.
0 updates are security updates.

amigaone@Amigaone:~$ [  364.552919] dma dma0chan0:   desc: s0xbffd1400 d0x1d9de000 l0x0 c0x400:a0dc25
[  395.054815] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[  395.063023] ata1.00: failed command: READ FPDMA QUEUED
[  395.068856] ata1.00: cmd 60/08:00:80:5f:38/00:00:3a:00:00/40 tag 0 ncq 4096 in
[  395.068856]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[  395.084030] ata1.00: status: { DRDY }
[  396.168785] usb 1-1-port5: cannot reset (err = -110)
[  397.198774] usb 1-1-port5: cannot reset (err = -110)
[  398.228770] usb 1-1-port5: cannot reset (err = -110)
[  399.258768] usb 1-1-port5: cannot reset (err = -110)
[  400.288763] usb 1-1-port5: cannot reset (err = -110)
[  400.293764] usb 1-1-port5: Cannot enable. Maybe the USB cable is bad?
[  401.325746] usb 1-1-port5: cannot disable (err = -110)
[  402.355745] usb 1-1-port7: cannot reset (err = -110)
[  403.385741] usb 1-1-port7: cannot reset (err = -110)
[  404.415763] usb 1-1-port7: cannot reset (err = -110)
[  405.445725] usb 1-1-port7: cannot reset (err = -110)
[  406.475727] usb 1-1-port7: cannot reset (err = -110)
[  406.480727] usb 1-1-port7: Cannot enable. Maybe the USB cable is bad?
[  407.512692] usb 1-1-port7: cannot disable (err = -110)
[  408.542704] usb 1-1-port5: cannot reset (err = -110)
[  409.572685] usb 1-1-port5: cannot reset (err = -110)
[  410.602696] usb 1-1-port5: cannot reset (err = -110)
[  411.632672] usb 1-1-port5: cannot reset (err = -110)
[  412.662673] usb 1-1-port5: cannot reset (err = -110)
[  412.667672] usb 1-1-port5: Cannot enable. Maybe the USB cable is bad?
[  413.699653] usb 1-1-port5: cannot disable (err = -110)
[  414.729675] usb 1-1-port7: cannot reset (err = -110)
[  415.759648] usb 1-1-port7: cannot reset (err = -110)
[  416.789653] usb 1-1-port7: cannot reset (err = -110)
[  417.819629] usb 1-1-port7: cannot reset (err = -110)
[  418.849641] usb 1-1-port7: cannot reset (err = -110)
[  418.854642] usb 1-1-port7: Cannot enable. Maybe the USB cable is bad?
[  419.886615] usb 1-1-port7: cannot disable (err = -110)
[  420.916619] usb 1-1-port5: cannot reset (err = -110)
[  421.946599] usb 1-1-port5: cannot reset (err = -110)
[  422.976605] usb 1-1-port5: cannot reset (err = -110)
[  424.006585] usb 1-1-port5: cannot reset (err = -110)
[  425.036584] usb 1-1-port5: cannot reset (err = -110)
[  425.041575] usb 1-1-port5: Cannot enable. Maybe the USB cable is bad?
[  426.073561] usb 1-1-port5: cannot disable (err = -110)
[  426.094563] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[  426.102377] ata1.00: failed command: READ FPDMA QUEUED
[  426.108216] ata1.00: cmd 60/08:00:80:5f:38/00:00:3a:00:00/40 tag 0 ncq 4096 in
[  426.108216]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[  426.123408] ata1.00: status: { DRDY }
[  427.103557] usb 1-1-port7: cannot reset (err = -110)
[  428.133542] usb 1-1-port7: cannot reset (err = -110)
[  429.163535] usb 1-1-port7: cannot reset (err = -110)
[  430.193533] usb 1-1-port7: cannot reset (err = -110)
[  431.223523] usb 1-1-port7: cannot reset (err = -110)
[  431.228522] usb 1-1-port7: Cannot enable. Maybe the USB cable is bad?
[  432.260513] usb 1-1-port7: cannot disable (err = -110)
[  433.290508] usb 1-1-port5: cannot reset (err = -110)
[  434.320501] usb 1-1-port5: cannot reset (err = -110)
[  435.350492] usb 1-1-port5: cannot reset (err = -110)
[  436.380494] usb 1-1-port5: cannot reset (err = -110)
[  437.410477] usb 1-1-port5: cannot reset (err = -110)
[  437.415474] usb 1-1-port5: Cannot enable. Maybe the USB cable is bad?
[  438.447475] usb 1-1-port5: cannot disable (err = -110)
[  439.477462] usb 1-1-port7: cannot reset (err = -110)
[  439.482465] usb 1-1-port5: cannot disable (err = -110)
[  439.514468] blk_update_request: I/O error, dev sdb, sector 1819224
[  439.522430] Aborting journal on device sdb2-8.
[  439.585470] blk_update_request: I/O error, dev sdb, sector 8213352
[  439.653469] blk_update_request: I/O error, dev sdb, sector 9801112
[  439.661444] EXT4-fs (sdb2): Delayed block allocation failed for inode 45043 at logical offset 0 with max blocks 8 with error 5
[  439.673503] EXT4-fs (sdb2): This should not happen!! Data will be lost
[  439.673503] 
[  439.681868] EXT4-fs error (device sdb2) in ext4_writepages:2738: IO failure
[  439.865563] blk_update_request: I/O error, dev sdb, sector 206848
[  439.871698] Buffer I/O error on dev sdb2, logical block 0, lost sync page write
[  439.879238] EXT4-fs error (device sdb2): ext4_journal_check_start:56: Detected aborted journal[  439.920602] EXT4-fs (sdb2): Remounting filesystem read-only
[  439.950464] blk_update_request: I/O error, dev sdb, sector 9801408
[  439.950483] Buffer I/O error on device sdb2, logical block 1199320
[  439.979078] JBD2: Error -5 detected when updating journal superblock for sdb2-8.
[  439.979160] JBD2: Error -5 detected when updating journal superblock for sdb2-8.
[  439.979273] JBD2: Error -5 detected when updating journal superblock for sdb2-8.

[  440.507458] usb 1-1-port7: cannot reset (err = -110)
[  441.537482] usb 1-1-port7: cannot reset (err = -110)
[  441.957443] EXT4-fs error (device sdb2): ext4_find_entry:1456: inode #142293: comm caja: reading directory lblock 0
[  442.268607] EXT4-fs (sdb2): previous I/O error to superblock detected
[  442.567457] usb 1-1-port7: cannot reset (err = -110)
[  443.408525] systemd-gpt-auto-generator[5429]: /dev/sdb: failed to allocate prober: No medium found
[  443.597456] usb 1-1-port7: cannot reset (err = -110)
[  443.615403] usb 1-1-port7: Cannot enable. Maybe the USB cable is bad?
[  444.627444] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[  444.688425] usb 1-1-port7: cannot disable (err = -110)
[  445.125416] EXT4-fs error (device sdb2): ext4_find_entry:1456: inode #142419: comm tilda: reading directory lblock 0
[  445.211409] EXT4-fs (sdb2): previous I/O error to superblock detected
[  445.731674] usb 1-1-port7: cannot disable (err = -110)
[  445.744587] sd 2:0:0:0: timing out command, waited 60s
[  450.869372] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[  456.005328] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[  457.070320] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[  457.078131] ata1.00: failed command: READ FPDMA QUEUED
[  457.083693] ata1.00: cmd 60/08:00:80:5f:38/00:00:3a:00:00/40 tag 0 ncq 4096 in
[  457.083693]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[  457.098818] ata1.00: status: { DRDY }
[  488.046060] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[  488.055065] ata1.00: failed command: READ FPDMA QUEUED
[  488.060817] ata1.00: cmd 60/08:00:80:5f:38/00:00:3a:00:00/40 tag 0 ncq 4096 in
[  488.060817]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[  488.075893] ata1.00: status: { DRDY }
[  497.606246] sata-dwc 4bffd1000.sata: sata_dwc_error_intr SCR_ERROR=0x00020000 intpr=0x00000088 status=0x000000d0 dma_intp=187 pending=2 issued=1
[  497.620823] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x2

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

* Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again
  2016-04-23 12:02       ` Julian Margetson
  2016-04-23 15:44         ` Julian Margetson
@ 2016-04-23 15:44         ` Julian Margetson
  1 sibling, 0 replies; 46+ messages in thread
From: Julian Margetson @ 2016-04-23 15:44 UTC (permalink / raw)
  To: Christian Lamparter
  Cc: Andy Shevchenko, Tejun Heo, linux-ide, Rob Herring, linuxppc-dev,
	linux-kernel, Måns Rullgård

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

On 4/23/2016 8:02 AM, Julian Margetson wrote:
> On 4/22/2016 7:06 AM, Christian Lamparter wrote:
>> On Friday, April 22, 2016 06:50:44 AM Julian Margetson wrote:
>>> On 4/21/2016 4:25 PM, Christian Lamparter wrote:
>>>> On Thursday, April 21, 2016 09:15:21 PM Andy Shevchenko wrote:
>>>>> The last approach in the commit 8b3444852a2b ("sata_dwc_460ex: 
>>>>> move to generic
>>>>> DMA driver") to switch to generic DMA engine API wasn't tested on 
>>>>> bare metal.
>>>>> Besides that we expecting new board support coming with the same 
>>>>> SATA IP but
>>>>> with different DMA.
>>>>>
>>>>> The driver has been tested myself on Sam460ex and WD MyBookLive 
>>>>> (apollo3g)
>>>>> boards. In any case I ask Christian, Måns, and Julian to 
>>>>> independently test and
>>>>> provide Tested-by tag or error report.
>>>> I did a test run on my WD MyBook Live. I applied all the patches in
>>>> this series on top of the topic/dw branch of Vinod Koul:
>>>> <https://git.kernel.org/cgit/linux/kernel/git/vkoul/slave-dma.git/>
>>>>
>>>> Tested-by: Christian Lamparter<chunkeey@googlemail.com>
>>>> ---
>>>> results for my old ST3808110AS HDD. filesystem is ext4.
>>>>
>>>> # hdparm -t /dev/sda
>>>>
>>>> /dev/sda:
>>>>    Timing buffered disk reads: 204 MB in  3.02 seconds = 67.51 MB/sec
>>>>
>>>> # bonnie++ -u mbl
>>>> Using uid:1000, gid:1000.
>>>> Writing a byte at a time...done
>>>> Writing intelligently...done
>>>> Rewriting...done
>>>> Reading a byte at a time...done
>>>> Reading intelligently...done
>>>> start 'em...done...done...done...done...done...
>>>> Create files in sequential order...done.
>>>> Stat files in sequential order...done.
>>>> Delete files in sequential order...done.
>>>> Create files in random order...done.
>>>> Stat files in random order...done.
>>>> Delete files in random order...done.
>>>> Version  1.97       ------Sequential Output------ --Sequential 
>>>> Input- --Random-
>>>> Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- 
>>>> --Block-- --Seeks--
>>>> Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec 
>>>> %CP  /sec %CP
>>>> mbl            496M    98  99 26011  21 17589  20   538  99 80138  
>>>> 39 208.9   8
>>>> Latency             95267us    1409ms     295ms   26947us 9644us    
>>>> 1787ms
>>>> Version  1.97       ------Sequential Create------ --------Random 
>>>> Create--------
>>>> mbl                 -Create-- --Read--- -Delete-- -Create-- 
>>>> --Read--- -Delete--
>>>>                 files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec 
>>>> %CP  /sec %CP
>>>>                    16  6959  78 +++++ +++  5197  40  7250 79 +++++ 
>>>> +++  4718  37
>>>> Latency               149ms    6742us     212ms 177ms     767us     
>>>> 217ms
>>>> 1.97,1.97,mbl,1,1461269771,496M,,98,99,26011,21,17589,20,538,99,80138,39,208.9,8,16,,,,,6959,78,+++++,+++,5197,40,7250,79,+++++,+++,4718,37,95267us,1409ms,295ms,26947us,9644us,1787ms,149ms,6742us,212ms,177ms,767us,217ms 
>>>>
>>>>
>>> Again on copy partitions .
>> Ok, here's the copy from my mail off-list.
>>
>> Well, a unrelated driver "m41t80" caused a crash:
>> [   12.912739] Oops: Kernel access of bad area, sig: 11 [#3]
>> [   12.912743] PREEMPT Canyonlands
>> [   12.912753] CPU: 0 PID: 1413 Comm: irq/45-m41t80 Tainted: G      
>> D         4.6.0-rc4-next-20160421-sam460ex-jm #1
>> [   12.912757] task: ea9834e0 ti: eea6c000 task.ti: eea6c000
>> [   12.912760] NIP: c0224480 LR: c0023494 CTR: c0042508
>> [   12.912764] REGS: eea6daf0 TRAP: 0300   Tainted: G D          
>> (4.6.0-rc4-next-20160421-sam460ex-jm)
>> [   12.912774] MSR: 00029000 <CE,EE,ME>  CR: 24008282 XER: 00000000
>> [   12.912825] DEAR: 00000008 ESR: 00000000
>> [...]
>> [   12.912927] --- interrupt: 300 at mutex_lock+0x0/0x1c
>> [   12.912927]     LR = m41t80_handle_irq+0x28/0xac
>> [   12.912932] [eea6de40] [00000000]   (null) (unreliable)
>> [   12.912938] [eea6de60] [c004ffac] irq_thread_fn+0x2c/0x48
>> [   12.912944] [eea6de80] [c00501cc] irq_thread+0xc4/0x160
>> [   12.912951] [eea6ded0] [c003a3f8] kthread+0xc8/0xcc
>> [   12.912957] [eea6df40] [c000aee8] ret_from_kernel_thread+0x5c/0x64
>> [   12.912960] Instruction dump:
>> [   12.912974] 80010014 7fc3f378 bbc10008 7c0803a6 38210010 4be24ca8 
>> 9421ffd0 7c0802a6
>> [   12.912987] bf210014 90010034 3b4302d8 812302ec <83890008> 
>> 812302d8 7f9a4840 419e011c
>> [   12.912995] Fixing recursive fault but reboot is needed!
>>                   ^^^ "reboot is needed!"
>>
>> Another thing that came to my mind: Have you checked if your hard drive
>> and the cables are ok? Are there any pending sectors or suspicious smart
>> values? Has the drive passed the extended offline test?
>>   Otherwise, I can't reproduce the error with my MyBook system. I've 
>> tested
>> your kernel and it worked on the device without crashing. (I 
>> copied/dd'ed
>> 80GB from and back to the hard-drive. It was long and boring, but I 
>> didn't
>> encounter any issues and the crc32 matched).
>>
>> Sorry, but I can't help you if I can't reproduce it... And short of 
>> sending
>> your box to test, I see no efficient way to debug it. However, what I 
>> can
>> do, if you are interested: I have a few "build your own" My Book Live 
>> kits.
>> It just needs a 3.5" hard-drive and 12v power adapter. If you are 
>> interested
>> PM me off-list, this way you can verify that the kernels you build do 
>> work,
>> just in case this error is due to a hardware issue (zapped controller,
>> bad ram/drive/cable?) with your sam460ex box.
>>
>> Regards,
>> Christian
>>
>>
> My Hardware seems ok.
> I have swapped cables and drives between the SII3512 pci controller 
> and the DWC controller.
> No issues when connected to the SII3512 pci controller .
> The DWC controller works ok under AmigaOS 4.1FE so that does not 
> appear to be a problem.
>
> Regards
> Julian
>
>
>
>
>
>
Test with kernel compiled with no other sata controllers included.
Freshly formatted harddrive  with one ntfs partition. MS-DOS partition 
table.
Booted from USB thumb drive.
Keyboard and mouse freeze as soon as gparted is run.


[-- Attachment #2: sam460ex_dmesg_8.log --]
[-- Type: text/plain, Size: 68906 bytes --]

[    0.000000] Using Canyonlands machine description
[    0.000000] Linux version 4.6.0-rc4-next-20160421-sam460ex-jm (root@julian-VirtualBox) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #2 PREEMPT Sat Apr 23 09:26:44 AST 2016
[    0.000000] Found legacy serial port 0 for /plb/opb/serial@ef600300
[    0.000000]   mem=4ef600300, taddr=4ef600300, irq=0, clk=11059200, speed=0
[    0.000000] Found legacy serial port 1 for /plb/opb/serial@ef600400
[    0.000000]   mem=4ef600400, taddr=4ef600400, irq=0, clk=11059200, speed=0
[    0.000000] Top of RAM: 0x80000000, Total RAM: 0x80000000
[    0.000000] Memory hole size: 0MB
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] On node 0 totalpages: 524288
[    0.000000] free_area_init_node: node 0, pgdat c0b7d1d4, node_mem_map eefed000
[    0.000000]   DMA zone: 1536 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 327680 pages, LIFO batch:31
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: root=/dev/sdb2 rootdelay=10 console=ttyS0,115200 console=tty0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 2001648K/2097152K available (7424K kernel code, 316K rwdata, 3816K rodata, 240K init, 370K bss, 95504K reserved, 0K cma-reserved, 1310720K highmem)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffcf000..0xfffff000  : fixmap
[    0.000000]   * 0xffc00000..0xffe00000  : highmem PTEs
[    0.000000]   * 0xffa00000..0xffc00000  : consistent mem
[    0.000000]   * 0xffa00000..0xffa00000  : early ioremap
[    0.000000]   * 0xf1000000..0xffa00000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000000] time_init: decrementer frequency = 1155.000010 MHz
[    0.000000] time_init: processor frequency   = 1155.000010 MHz
[    0.000014] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x10a60dda894, max_idle_ns: 440795207041 ns
[    0.000024] clocksource: timebase mult[dda520] shift[24] registered
[    0.000035] clockevent: decrementer mult[93d70a53] shift[31] cpu[0]
[    0.000149] Console: colour dummy device 80x25
[    0.000701] console [tty0] enabled
[    0.000735] pid_max: default: 32768 minimum: 301
[    0.000846] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000873] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003501] devtmpfs: initialized
[    0.006153] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.006544] xor: measuring software checksum speed
[    0.016612]    8regs     :   896.000 MB/sec
[    0.026438]    8regs_prefetch:   800.000 MB/sec
[    0.036484]    32regs    :  1232.000 MB/sec
[    0.046564]    32regs_prefetch:  1084.000 MB/sec
[    0.046599] xor: using function: 32regs (1232.000 MB/sec)
[    0.046626] prandom: seed boundary self test passed
[    0.048680] prandom: 100 self tests passed
[    0.049389] NET: Registered protocol family 16
[    0.054839] cpuidle: using governor ladder
[    0.056802] cpuidle: using governor menu
[    0.057205] 256k L2-cache enabled
[    0.057287] PCIE0: Port disabled via device-tree
[    0.057347] PCIE1: Checking link...
[    0.057364] PCIE1: Device detected, waiting for link...
[    0.057383] PCIE1: link is up !
[    0.159657] PCI host bridge /plb/pciex@d20000000 (primary) ranges:
[    0.159707]  MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000 
[    0.159744]  MEM 0x0000000f00100000..0x0000000f001fffff -> 0x0000000000000000 
[    0.159775]   IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000
[    0.159812] 4xx PCI DMA offset set to 0x00000000
[    0.159829] 4xx PCI DMA window base to 0x0000000000000000
[    0.159848] DMA window size 0x0000000080000000
[    0.159884] PCIE1: successfully set as root-complex
[    0.159977] PCI host bridge /plb/pci@c0ec00000 (primary) ranges:
[    0.160006]  MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000 
[    0.160041]  MEM 0x0000000c0ee00000..0x0000000c0eefffff -> 0x0000000000000000 
[    0.160072]   IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000
[    0.160102] 4xx PCI DMA offset set to 0x00000000
[    0.160119] 4xx PCI DMA window base to 0x0000000000000000
[    0.160138] DMA window size 0x0000000080000000
[    0.169685] PCI: Probing PCI hardware
[    0.170005] PCI host bridge to bus 0000:80
[    0.170043] pci_bus 0000:80: root bus resource [io  0xfffe0000-0xfffeffff] (bus address [0x0000-0xffff])
[    0.170079] pci_bus 0000:80: root bus resource [mem 0xe80000000-0xeffffffff] (bus address [0x80000000-0xffffffff])
[    0.170117] pci_bus 0000:80: root bus resource [mem 0xf00100000-0xf001fffff] (bus address [0x00000000-0x000fffff])
[    0.170155] pci_bus 0000:80: root bus resource [bus 80-ff]
[    0.170181] pci_bus 0000:80: busn_res: [bus 80-ff] end is updated to ff
[    0.170221] pci 0000:80:00.0: [aaa1:bed1] type 01 class 0x060400
[    0.170249] pci 0000:80:00.0: reg 0x10: [mem 0x00000000-0x7fffffff pref]
[    0.170281] PCI: Hiding 4xx host bridge resources 0000:80:00.0
[    0.170749] pci 0000:81:00.0: [1002:683f] type 00 class 0x030000
[    0.170784] pci 0000:81:00.0: reg 0x10: [mem 0xea0000000-0xeafffffff 64bit pref]
[    0.170804] pci 0000:81:00.0: reg 0x18: [mem 0xeb0000000-0xeb003ffff 64bit]
[    0.170820] pci 0000:81:00.0: reg 0x20: [io  0xfffe2000-0xfffe20ff]
[    0.170843] pci 0000:81:00.0: reg 0x30: [mem 0xf00100000-0xf0011ffff pref]
[    0.170925] pci 0000:81:00.0: supports D1 D2
[    0.170935] pci 0000:81:00.0: PME# supported from D1 D2 D3hot
[    0.171122] pci 0000:81:00.1: [1002:aab0] type 00 class 0x040300
[    0.171153] pci 0000:81:00.1: reg 0x10: [mem 0xf00100000-0xf00103fff 64bit]
[    0.171255] pci 0000:81:00.1: supports D1 D2
[    0.171448] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.171488] pci 0000:80:00.0:   bridge window [io  0xfffe2000-0xfffe2fff]
[    0.171500] pci 0000:80:00.0:   bridge window [mem 0xea0000000-0xeb00fffff]
[    0.171593] pci_bus 0000:80: busn_res: [bus 80-ff] end is updated to bf
[    0.171759] PCI host bridge to bus 0001:00
[    0.171792] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    0.171818] pci_bus 0001:00: root bus resource [mem 0xd80000000-0xdffffffff] (bus address [0x80000000-0xffffffff])
[    0.171855] pci_bus 0001:00: root bus resource [mem 0xc0ee00000-0xc0eefffff] (bus address [0x00000000-0x000fffff])
[    0.171893] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.171917] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to ff
[    0.171946] pci 0001:00:04.0: [1095:3512] type 00 class 0x010400
[    0.171967] pci 0001:00:04.0: reg 0x10: [io  0x1000-0x1007]
[    0.171980] pci 0001:00:04.0: reg 0x14: [io  0x1008-0x100b]
[    0.171992] pci 0001:00:04.0: reg 0x18: [io  0x1010-0x1017]
[    0.172005] pci 0001:00:04.0: reg 0x1c: [io  0x1018-0x101b]
[    0.172017] pci 0001:00:04.0: reg 0x20: [io  0x1020-0x102f]
[    0.172030] pci 0001:00:04.0: reg 0x24: [mem 0xd80000000-0xd800001ff]
[    0.172043] pci 0001:00:04.0: reg 0x30: [mem 0xc0ee00000-0xc0ee7ffff pref]
[    0.172073] pci 0001:00:04.0: supports D1 D2
[    0.172254] pci 0001:00:06.0: [126f:0501] type 00 class 0x038000
[    0.172275] pci 0001:00:06.0: reg 0x10: [mem 0xd84000000-0xd87ffffff]
[    0.172287] pci 0001:00:06.0: reg 0x14: [mem 0xd88000000-0xd881fffff]
[    0.172329] pci 0001:00:06.0: supports D1 D2
[    0.172566] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to 00
[    0.172664] pci 0000:80:00.0: BAR 9: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.172709] pci 0000:80:00.0: BAR 8: assigned [mem 0xe90000000-0xe900fffff]
[    0.172736] pci 0000:80:00.0: BAR 7: assigned [io  0xfffe1000-0xfffe1fff]
[    0.172767] pci 0000:81:00.0: BAR 0: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.172809] pci 0000:81:00.0: BAR 2: assigned [mem 0xe90000000-0xe9003ffff 64bit]
[    0.172848] pci 0000:81:00.0: BAR 6: assigned [mem 0xe90040000-0xe9005ffff pref]
[    0.172882] pci 0000:81:00.1: BAR 0: assigned [mem 0xe90060000-0xe90063fff 64bit]
[    0.172920] pci 0000:81:00.0: BAR 4: assigned [io  0xfffe1000-0xfffe10ff]
[    0.172948] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.172971] pci 0000:80:00.0:   bridge window [io  0xfffe1000-0xfffe1fff]
[    0.172997] pci 0000:80:00.0:   bridge window [mem 0xe90000000-0xe900fffff]
[    0.173023] pci 0000:80:00.0:   bridge window [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.173057] pci_bus 0000:80: resource 4 [io  0xfffe0000-0xfffeffff]
[    0.173067] pci_bus 0000:80: resource 5 [mem 0xe80000000-0xeffffffff]
[    0.173076] pci_bus 0000:80: resource 6 [mem 0xf00100000-0xf001fffff]
[    0.173086] pci_bus 0000:81: resource 0 [io  0xfffe1000-0xfffe1fff]
[    0.173095] pci_bus 0000:81: resource 1 [mem 0xe90000000-0xe900fffff]
[    0.173105] pci_bus 0000:81: resource 2 [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.173120] pci 0001:00:06.0: BAR 0: assigned [mem 0xd80000000-0xd83ffffff]
[    0.173148] pci 0001:00:06.0: BAR 1: assigned [mem 0xd84000000-0xd841fffff]
[    0.173175] pci 0001:00:04.0: BAR 6: assigned [mem 0xd84200000-0xd8427ffff pref]
[    0.173207] pci 0001:00:04.0: BAR 5: assigned [mem 0xd84280000-0xd842801ff]
[    0.173234] pci 0001:00:04.0: BAR 4: assigned [io  0x1000-0x100f]
[    0.173259] pci 0001:00:04.0: BAR 0: assigned [io  0x1010-0x1017]
[    0.173284] pci 0001:00:04.0: BAR 2: assigned [io  0x1018-0x101f]
[    0.173310] pci 0001:00:04.0: BAR 1: assigned [io  0x1020-0x1023]
[    0.173335] pci 0001:00:04.0: BAR 3: assigned [io  0x1024-0x1027]
[    0.173361] pci_bus 0001:00: resource 4 [io  0x0000-0xffff]
[    0.173803] pci_bus 0001:00: resource 5 [mem 0xd80000000-0xdffffffff]
[    0.173812] pci_bus 0001:00: resource 6 [mem 0xc0ee00000-0xc0eefffff]
[    0.237400] raid6: int32x1  gen()   300 MB/s
[    0.254364] raid6: int32x1  xor()   162 MB/s
[    0.271495] raid6: int32x2  gen()   390 MB/s
[    0.288548] raid6: int32x2  xor()   236 MB/s
[    0.305718] raid6: int32x4  gen()   437 MB/s
[    0.322740] raid6: int32x4  xor()   255 MB/s
[    0.339907] raid6: int32x8  gen()   277 MB/s
[    0.356885] raid6: int32x8  xor()   205 MB/s
[    0.356910] raid6: using algorithm int32x4 gen() 437 MB/s
[    0.356928] raid6: .... xor() 255 MB/s, rmw enabled
[    0.356947] raid6: using intx1 recovery algorithm
[    0.357451] vgaarb: device added: PCI:0000:81:00.0,decodes=io+mem,owns=none,locks=none
[    0.357496] vgaarb: loaded
[    0.357511] vgaarb: bridge control possible 0000:81:00.0
[    0.357969] SCSI subsystem initialized
[    0.358521] libata version 3.00 loaded.
[    0.359092] usbcore: registered new interface driver usbfs
[    0.359222] usbcore: registered new interface driver hub
[    0.359350] usbcore: registered new device driver usb
[    0.359671] pps_core: LinuxPPS API ver. 1 registered
[    0.359701] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.359797] PTP clock support registered
[    0.360777] EDAC MC: Ver: 3.0.0
[    0.361939] Advanced Linux Sound Architecture Driver Initialized.
[    0.363172] clocksource: Switched to clocksource timebase
[    0.363408] FS-Cache: Loaded
[    0.363625] CacheFiles: Loaded
[    0.379929] NET: Registered protocol family 2
[    0.380588] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.380719] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    0.381043] TCP: Hash tables configured (established 8192 bind 8192)
[    0.381786] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    0.381896] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    0.382328] NET: Registered protocol family 1
[    0.382592] RPC: Registered named UNIX socket transport module.
[    0.382624] RPC: Registered udp transport module.
[    0.382641] RPC: Registered tcp transport module.
[    0.382659] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.382727] PCI: CLS mismatch (32 != 4), using 32 bytes
[    0.383594] Could not remap bcsr
[    0.389981] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    0.392859] futex hash table entries: 256 (order: 0, 7168 bytes)
[    0.393465] workingset: timestamp_bits=28 max_order=19 bucket_order=0
[    0.413718] ntfs: driver 2.1.32 [Flags: R/W].
[    0.414344] fuse init (API version 7.24)
[    0.419421] async_tx: api initialized (async)
[    0.419516] bounce: pool size: 64 pages
[    0.419608] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.419641] io scheduler noop registered
[    0.419807] io scheduler cfq registered (default)
[    0.422164] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[    0.422269] crc32: self tests passed, processed 225944 bytes in 989276 nsec
[    0.423439] crc32c: CRC_LE_BITS = 64
[    0.423465] crc32c: self tests passed, processed 225944 bytes in 494887 nsec
[    0.492728] crc32_combine: 8373 self tests passed
[    0.562174] crc32c_combine: 8373 self tests passed
[    0.562226] glob: 64 self-tests passed, 0 failed
[    0.661395] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.662544] console [ttyS0] disabled
[    0.683750] serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 22, base_baud = 691200) is a U6_16550A
[    1.620899] console [ttyS0] enabled
[    1.645418] serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 23, base_baud = 691200) is a U6_16550A
[    1.655614] console [ttyS0] disabled
[    1.659530] 4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 22, base_baud = 691200) is a 16550
[    2.621341] console [ttyS0] enabled
[    2.625747] 4ef600400.serial: ttyS1 at MMIO 0x4ef600400 (irq = 23, base_baud = 691200) is a 16550
[    2.635484] Generic non-volatile memory driver v1.1
[    2.640973] [drm] Initialized drm 1.1.0 20060810
[    2.645924] [drm] radeon kernel modesetting enabled.
[    2.652014] [drm] initializing kernel modesetting (VERDE 0x1002:0x683F 0x1545:0x7750).
[    2.660241] [drm] register mmio base: 0xe90000000
[    2.665009] [drm] register mmio size: 262144
[    3.001253] ATOM BIOS: C44501
[    3.004549] radeon 0000:81:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[    3.013476] radeon 0000:81:00.0: GTT: 2048M 0x0000000040000000 - 0x00000000BFFFFFFF
[    3.021168] [drm] Detected VRAM RAM=1024M, BAR=256M
[    3.026065] [drm] RAM width 128bits DDR
[    3.030094] [TTM] Zone  kernel: Available graphics memory: 378440 kiB
[    3.036585] [TTM] Zone highmem: Available graphics memory: 1033800 kiB
[    3.043142] [TTM] Initializing pool allocator
[    3.047545] [TTM] Initializing DMA pool allocator
[    3.052369] [drm] radeon: 1024M of VRAM memory ready
[    3.057378] [drm] radeon: 2048M of GTT memory ready.
[    3.062408] [drm] Loading verde Microcode
[    3.066469] [drm] Internal thermal controller with fan control
[    3.072623] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[    3.121797] [drm] radeon: dpm initialized
[    3.128222] [drm] Found VCE firmware/feedback version 50.0.1 / 17!
[    3.134469] [drm] GART: num cpu pages 524288, num gpu pages 524288
[    3.151139] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[    3.210767] [drm] PCIE GART of 2048M enabled (table at 0x00000000002E8000).
[    3.218077] radeon 0000:81:00.0: WB enabled
[    3.222320] radeon 0000:81:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xee962c00
[    3.232441] radeon 0000:81:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xee962c04
[    3.242562] radeon 0000:81:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xee962c08
[    3.252683] radeon 0000:81:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xee962c0c
[    3.262805] radeon 0000:81:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xee962c10
[    3.304324] radeon 0000:81:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xf5135a18
[    3.341458] radeon 0000:81:00.0: fence driver on ring 6 use gpu addr 0x0000000040000c18 and cpu addr 0xee962c18
[    3.351618] radeon 0000:81:00.0: fence driver on ring 7 use gpu addr 0x0000000040000c1c and cpu addr 0xee962c1c
[    3.361759] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.368404] [drm] Driver supports precise vblank timestamp query.
[    3.374523] radeon 0000:81:00.0: radeon: MSI limited to 32-bit
[    3.380446] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    3.388716] radeon 0000:81:00.0: radeon: using MSI.
[    3.393673] [drm] radeon: irq initialized.
[    4.152902] [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
[    4.161744] radeon 0000:81:00.0: disabling GPU acceleration
[    4.370696] [drm] Radeon Display Connectors
[    4.375369] [drm] Connector 0:
[    4.378506] [drm]   HDMI-A-1
[    4.381460] [drm]   HPD4
[    4.384046] [drm]   DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c 0x657c
[    4.391495] [drm]   Encoders:
[    4.394493] [drm]     DFP1: INTERNAL_UNIPHY2
[    4.398783] [drm] Connector 1:
[    4.401854] [drm]   DVI-I-1
[    4.404666] [drm]   HPD2
[    4.407221] [drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
[    4.414647] [drm]   Encoders:
[    4.417635] [drm]     DFP2: INTERNAL_UNIPHY
[    4.421836] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    4.540136] [drm] fb mappable at 0x806E9000
[    4.544354] [drm] vram apper at 0x80000000
[    4.548468] [drm] size 8294400
[    4.551541] [drm] fb depth is 24
[    4.554786] [drm]    pitch is 7680
[    4.850224] Console: switching to colour frame buffer device 240x67
[    4.929533] radeon 0000:81:00.0: fb0: radeondrmfb frame buffer device
[    4.939239] [drm] Initialized radeon 2.43.0 20080528 for 0000:81:00.0 on minor 0
[    4.947588] [drm] amdgpu kernel modesetting enabled.
[    4.967357] brd: module loaded
[    4.977422] loop: module loaded
[    4.981255] sm501 0001:00:06.0: enabling device (0004 -> 0006)
[    4.987695] sm501 0001:00:06.0: incorrect device id c0000105
[    4.994354] sata-dwc 4bffd1000.sata: id 0, controller version 1.82
[    5.001301] sata-dwc 4bffd1000.sata: DW_PARAMS: 0x10800804
[    5.001354] sata-dwc 4bffd1000.sata: DWC_PARAMS[0]: 0x49230b1b
[    5.001510] sata-dwc 4bffd1000.sata: DesignWare DMA Controller, 1 channels
[    5.008925] dma dma0chan0: dwc_alloc_chan_resources
[    5.008936] dmaengine: __dma_request_channel: success (dma0chan0)
[    5.009740] scsi host0: sata-dwc
[    5.013516] ata1: SATA max UDMA/133 irq 36
[    5.018829] libphy: Fixed MDIO Bus: probed
[    5.023585] PPC 4xx OCP EMAC driver, version 3.54
[    5.029015] MAL v2 /plb/mcmal, 2 TX channels, 16 RX channels
[    5.035369] ZMII /plb/opb/emac-zmii@ef600d00 initialized
[    5.041307] RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support
[    5.049042] TAH /plb/opb/emac-tah@ef601350 initialized
[    5.054638] TAH /plb/opb/emac-tah@ef601450 initialized
[    5.060481] /plb/opb/emac-rgmii@ef601500: input 0 in RGMII mode
[    5.068225] eth0: EMAC-0 /plb/opb/ethernet@ef600e00, MAC 00:50:c2:80:d5:c5
[    5.075645] eth0: found Generic MII PHY (0x00)
[    5.080589] /plb/opb/emac-rgmii@ef601500: input 1 in RGMII mode
[    5.088248] eth1: EMAC-1 /plb/opb/ethernet@ef600f00, MAC 00:00:00:00:00:00
[    5.095666] eth1: found Generic MII PHY (0x01)
[    5.100514] PPP generic driver version 2.4.2
[    5.105449] PPP BSD Compression module registered
[    5.110580] PPP Deflate Compression module registered
[    5.115965] NET: Registered protocol family 24
[    5.121025] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.128292] ppc-of-ehci 4bffd0400.ehci: OF EHCI
[    5.133410] ppc-of-ehci 4bffd0400.ehci: new USB bus registered, assigned bus number 1
[    5.142777] ppc-of-ehci 4bffd0400.ehci: irq 31, io mem 0x4bffd0400
[    5.155181] ppc-of-ehci 4bffd0400.ehci: USB 2.0 started, EHCI 1.00
[    5.161907] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.169109] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.176757] usb usb1: Product: OF EHCI
[    5.180742] usb usb1: Manufacturer: Linux 4.6.0-rc4-next-20160421-sam460ex-jm ehci_hcd
[    5.203447] usb usb1: SerialNumber: PPC-OF USB
[    5.222965] hub 1-0:1.0: USB hub found
[    5.241218] hub 1-0:1.0: 1 port detected
[    5.259745] ehci-pci: EHCI PCI platform driver
[    5.278695] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.299590] ppc-of-ohci 4bffd0000.usb: OF OHCI
[    5.318905] ppc-of-ohci 4bffd0000.usb: new USB bus registered, assigned bus number 2
[    5.341508] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    5.363024] ppc-of-ohci 4bffd0000.usb: irq 32, io mem 0x4bffd0000
[    5.384045] ata1.00: ATA-8: WDC WD5000AAKX-00ERMA0, 15.01H15, max UDMA/133
[    5.384052] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 1/32)
[    5.428344] ata1.00: configured for UDMA/133
[    5.448212] scsi 0:0:0:0: Direct-Access     ATA      WDC WD5000AAKX-0 1H15 PQ: 0 ANSI: 5
[    5.477976] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    5.501310] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    5.523111] sd 0:0:0:0: [sda] Write Protect is off
[    5.547251] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    5.547368] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.596183] usb 1-1: new high-speed USB device number 2 using ppc-of-ehci
[    5.622029] dma dma0chan0: dwc_prep_slave_sg
[    5.626726] dma dma0chan0: dwc_tx_submit: queued 2
[    5.626732] dma dma0chan0: dwc_dostart_first_queued: started 2
[    5.626820] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[    5.626830] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[    5.626837] dma dma0chan0: descriptor 2 complete
[    5.626927]  sda: sda1
[    5.627999] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.838612] usb 1-1: New USB device found, idVendor=0424, idProduct=2517
[    5.882178] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.933330] hub 1-1:1.0: USB hub found
[    5.975180] hub 1-1:1.0: 7 ports detected
[    6.225870] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    6.249419] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.273268] usb usb2: Product: OF OHCI
[    6.293418] usb usb2: Manufacturer: Linux 4.6.0-rc4-next-20160421-sam460ex-jm ohci_hcd
[    6.318084] usb usb2: SerialNumber: PPC-OF USB
[    6.339924] hub 2-0:1.0: USB hub found
[    6.360481] hub 2-0:1.0: 1 port detected
[    6.381592] ohci-pci: OHCI PCI platform driver
[    6.402587] usb 1-1.1: new high-speed USB device number 3 using ppc-of-ehci
[    6.427392] usbcore: registered new interface driver usblp
[    6.450043] usbcore: registered new interface driver usb-storage
[    6.473043] usbcore: registered new interface driver usbserial
[    6.495723] usbcore: registered new interface driver usbserial_generic
[    6.518937] usbserial: USB Serial support registered for generic
[    6.542275] usb 1-1.1: New USB device found, idVendor=1a40, idProduct=0101
[    6.565758] mousedev: PS/2 mouse device common for all mice
[    6.565764] i2c /dev entries driver
[    6.567794] ibm-iic 4ef600700.i2c: using standard (100 kHz) mode
[    6.568137] ibm-iic 4ef600800.i2c: using standard (100 kHz) mode
[    6.568293] md: linear personality registered for level -1
[    6.568297] md: raid0 personality registered for level 0
[    6.568300] md: raid1 personality registered for level 1
[    6.568304] md: raid10 personality registered for level 10
[    6.569330] md: raid6 personality registered for level 6
[    6.569334] md: raid5 personality registered for level 5
[    6.569337] md: raid4 personality registered for level 4
[    6.569986] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    6.569990] EDAC PPC4xx MC: v1.0.0
[    6.569993] EDAC PPC4xx MC: Reporting type: interrupt
[    6.570655] hidraw: raw HID events driver (C) Jiri Kosina
[    6.572018] usbcore: registered new interface driver usbhid
[    6.572020] usbhid: USB HID core driver
[    6.577720] no UART detected at 0x1
[    6.578465] usbcore: registered new interface driver snd-usb-audio
[    6.578575] usbcore: registered new interface driver snd-ua101
[    6.578688] usbcore: registered new interface driver snd-usb-usx2y
[    6.578860] ipip: IPv4 over IPv4 tunneling driver
[    6.580413] Initializing XFRM netlink socket
[    6.581574] NET: Registered protocol family 10
[    6.583379] sit: IPv6 over IPv4 tunneling driver
[    6.583983] NET: Registered protocol family 17
[    6.584005] NET: Registered protocol family 15
[    6.584320] Running MSI bitmap self-tests ...
[    6.608677] Key type encrypted registered
[    6.609065] hctosys: unable to open rtc device (rtc0)
[    6.609308] ALSA device list:
[    6.609313]   #0: Virtual MIDI Card 1
[    7.221603] Waiting 10 sec before mounting root device...
[    7.241416] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    7.241422] usb 1-1.1: Product: USB 2.0 Hub
[    7.242101] hub 1-1.1:1.0: USB hub found
[    7.242288] hub 1-1.1:1.0: 4 ports detected
[    7.392187] usb 1-1.2: new low-speed USB device number 4 using ppc-of-ehci
[    7.507149] usb 1-1.2: New USB device found, idVendor=04f2, idProduct=0116
[    7.528211] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    7.549647] usb 1-1.2: Product: USB Keyboard
[    7.567750] usb 1-1.2: Manufacturer: CHICONY
[    7.592794] input: CHICONY USB Keyboard as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.2/1-1.2:1.0/0003:04F2:0116.0001/input/input0
[    7.671196] usb 1-1.1.1: new full-speed USB device number 5 using ppc-of-ehci
[    7.693808] hid-generic 0003:04F2:0116.0001: input,hidraw0: USB HID v1.10 Keyboard [CHICONY USB Keyboard] on usb-PPC-OF USB-1.2/input0
[    7.807400] usb 1-1.1.1: New USB device found, idVendor=0d8c, idProduct=000c
[    7.829724] usb 1-1.1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    7.852641] usb 1-1.1.1: Product: C-Media USB Audio Device   
[    7.897543] input: C-Media USB Audio Device    as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.1/1-1.1.1/1-1.1.1:1.3/0003:0D8C:000C.0002/input/input1
[    7.927721] usb 1-1.5: new high-speed USB device number 6 using ppc-of-ehci
[    8.002662] hid-generic 0003:0D8C:000C.0002: input,hidraw1: USB HID v1.00 Device [C-Media USB Audio Device   ] on usb-PPC-OF USB-1.1.1/input3
[    8.044261] usb 1-1.5: New USB device found, idVendor=0781, idProduct=5530
[    8.067927] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.092067] usb 1-1.5: Product: Cruzer
[    8.112629] usb 1-1.5: Manufacturer: SanDisk
[    8.133688] usb 1-1.5: SerialNumber: 200517373207B181D66A
[    8.156601] usb-storage 1-1.5:1.0: USB Mass Storage device detected
[    8.179893] scsi host1: usb-storage 1-1.5:1.0
[    8.274190] usb 1-1.6: new full-speed USB device number 7 using ppc-of-ehci
[    8.386988] usb 1-1.6: New USB device found, idVendor=046d, idProduct=c52b
[    8.411267] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    8.435933] usb 1-1.6: Product: USB Receiver
[    8.457385] usb 1-1.6: Manufacturer: Logitech
[    8.482586] input: Logitech USB Receiver as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.6/1-1.6:1.0/0003:046D:C52B.0003/input/input2
[    8.565341] hid-generic 0003:046D:C52B.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input0
[    8.602293] input: Logitech USB Receiver as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.6/1-1.6:1.1/0003:046D:C52B.0004/input/input3
[    8.684721] hid-generic 0003:046D:C52B.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input1
[    8.721791] hid-generic 0003:046D:C52B.0005: hidraw4: USB HID v1.11 Device [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input2
[    8.826187] usb 1-1.7: new high-speed USB device number 8 using ppc-of-ehci
[    8.944715] usb 1-1.7: New USB device found, idVendor=0424, idProduct=2240
[    8.971305] usb 1-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.998342] usb 1-1.7: Product: Ultra Fast Media 
[    9.022891] usb 1-1.7: Manufacturer: Generic
[    9.047130] usb 1-1.7: SerialNumber: 000000225001
[    9.072357] usb-storage 1-1.7:1.0: USB Mass Storage device detected
[    9.098648] scsi host2: usb-storage 1-1.7:1.0
[    9.204422] scsi 1:0:0:0: Direct-Access     SanDisk  Cruzer           1.20 PQ: 0 ANSI: 5
[    9.233951] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    9.260307] sd 1:0:0:0: [sdb] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    9.289710] sd 1:0:0:0: [sdb] Write Protect is off
[    9.314656] sd 1:0:0:0: [sdb] Mode Sense: 43 00 00 00
[    9.315711] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    9.355380]  sdb: sdb1 sdb2 sdb3
[    9.383460] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[   10.124368] scsi 2:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   1.98 PQ: 0 ANSI: 0
[   10.154723] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   10.182700] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[   17.320229] md: Waiting for all devices to be available before autodetect
[   17.348105] md: If you don't use raid, use raid=noautodetect
[   17.375599] md: Autodetecting RAID arrays.
[   17.401015] md: Scanned 0 and added 0 devices.
[   17.426682] md: autorun ...
[   17.450558] md: ... autorun DONE.
[   17.476340] EXT4-fs (sdb2): couldn't mount as ext3 due to feature incompatibilities
[   17.506702] EXT4-fs (sdb2): couldn't mount as ext2 due to feature incompatibilities
[   17.538521] EXT4-fs (sdb2): INFO: recovery required on readonly filesystem
[   17.566553] EXT4-fs (sdb2): write access will be enabled during recovery
[   17.605249] EXT4-fs (sdb2): recovery complete
[   17.632470] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
[   17.661659] VFS: Mounted root (ext4 filesystem) readonly on device 8:18.
[   17.693567] devtmpfs: mounted
[   17.718490] Freeing unused kernel memory: 240K (c0afe000 - c0b3a000)
[   17.746442] This architecture does not have kernel memory protection.
[   18.080931] random: nonblocking pool is initialized
[   18.334276] systemd[1]: System time before build time, advancing clock.
[   18.448818] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[   18.489620] systemd[1]: Detected architecture ppc.
[   18.582866] systemd[1]: Set hostname to <Amigaone>.
[   19.501812] systemd[1]: Listening on udev Kernel Socket.
[   19.548344] systemd[1]: Reached target User and Group Name Lookups.
[   19.594553] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[   19.641852] systemd[1]: Reached target Swap.
[   19.686689] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   19.735524] systemd[1]: Listening on Syslog Socket.
[   19.781577] systemd[1]: Listening on udev Control Socket.
[   19.828332] systemd[1]: Listening on Journal Socket.
[   19.873676] systemd[1]: Created slice User and Session Slice.
[   19.937363] systemd[1]: Reached target Encrypted Volumes.
[   19.981301] systemd[1]: Listening on Journal Socket (/dev/log).
[   20.025368] systemd[1]: Created slice System Slice.
[   20.068157] systemd[1]: Reached target Slices.
[   20.112770] systemd[1]: Starting Braille Device Support...
[   20.177269] systemd[1]: Starting Uncomplicated firewall...
[   20.231055] systemd[1]: Started Read required files in advance.
[   20.292386] systemd[1]: Mounting POSIX Message Queue File System...
[   20.354044] systemd[1]: Starting Nameserver information manager...
[   20.413924] systemd[1]: Mounting Debug File System...
[   20.478260] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   20.565501] systemd[1]: Starting Load Kernel Modules...
[   20.638155] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   20.690550] systemd[1]: Reached target Remote File Systems (Pre).
[   20.737361] systemd[1]: Reached target Remote File Systems.
[   20.784018] systemd[1]: Created slice system-getty.slice.
[   20.832715] systemd[1]: Starting Create Static Device Nodes in /dev...
[   20.898690] systemd[1]: Starting Journal Service...
[   20.956698] systemd[1]: Listening on fsck to fsckd communication Socket.
[   21.025068] systemd[1]: Mounted Debug File System.
[   21.077076] systemd[1]: Mounted POSIX Message Queue File System.
[   21.140850] systemd[1]: brltty.service: Main process exited, code=exited, status=228/SECCOMP
[   21.198910] systemd[1]: Failed to start Braille Device Support.
[   21.336340] systemd[1]: brltty.service: Unit entered failed state.
[   21.389320] systemd[1]: brltty.service: Failed with result 'exit-code'.
[   21.447145] systemd[1]: Started Uncomplicated firewall.
[   21.501906] systemd[1]: ureadahead.service: Main process exited, code=exited, status=5/NOTINSTALLED
[   21.540607] systemd[1]: ureadahead.service: Unit entered failed state.
[   21.566963] systemd[1]: ureadahead.service: Failed with result 'exit-code'.
[   21.606548] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
[   21.648031] systemd[1]: Failed to start Load Kernel Modules.
[   21.714237] systemd[1]: systemd-modules-load.service: Unit entered failed state.
[   21.741561] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
[   21.770592] systemd[1]: Started Create Static Device Nodes in /dev.
[   21.820444] systemd[1]: Started Nameserver information manager.
[   21.897271] systemd[1]: Started Journal Service.
[   22.982817] dma dma0chan0: dwc_prep_slave_sg
[   23.006266] dma dma0chan0: dwc_tx_submit: queued 3
[   23.006281] dma dma0chan0: dwc_dostart_first_queued: started 3
[   23.006358] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.006382] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.006392] dma dma0chan0: descriptor 3 complete
[   23.009378] dma dma0chan0: dwc_prep_slave_sg
[   23.009494] dma dma0chan0: dwc_tx_submit: queued 4
[   23.009506] dma dma0chan0: dwc_dostart_first_queued: started 4
[   23.009580] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.009595] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.009606] dma dma0chan0: descriptor 4 complete
[   23.009750] dma dma0chan0: dwc_prep_slave_sg
[   23.009862] dma dma0chan0: dwc_tx_submit: queued 5
[   23.009873] dma dma0chan0: dwc_dostart_first_queued: started 5
[   23.009943] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.009963] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.009974] dma dma0chan0: descriptor 5 complete
[   23.010099] dma dma0chan0: dwc_prep_slave_sg
[   23.010208] dma dma0chan0: dwc_tx_submit: queued 6
[   23.010220] dma dma0chan0: dwc_dostart_first_queued: started 6
[   23.010292] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.010306] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.010316] dma dma0chan0: descriptor 6 complete
[   23.010447] dma dma0chan0: dwc_prep_slave_sg
[   23.010545] dma dma0chan0: dwc_tx_submit: queued 7
[   23.010556] dma dma0chan0: dwc_dostart_first_queued: started 7
[   23.010629] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.010649] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.010660] dma dma0chan0: descriptor 7 complete
[   23.010786] dma dma0chan0: dwc_prep_slave_sg
[   23.013720] dma dma0chan0: dwc_tx_submit: queued 8
[   23.013736] dma dma0chan0: dwc_dostart_first_queued: started 8
[   23.013809] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.013825] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.013836] dma dma0chan0: descriptor 8 complete
[   23.014095] dma dma0chan0: dwc_prep_slave_sg
[   23.041520] dma dma0chan0: dwc_tx_submit: queued 9
[   23.041536] dma dma0chan0: dwc_dostart_first_queued: started 9
[   23.041608] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.041632] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.041643] dma dma0chan0: descriptor 9 complete
[   23.041867] dma dma0chan0: dwc_prep_slave_sg
[   23.041991] dma dma0chan0: dwc_tx_submit: queued 10
[   23.042002] dma dma0chan0: dwc_dostart_first_queued: started 10
[   23.042077] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.042091] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.042101] dma dma0chan0: descriptor 10 complete
[   23.042275] dma dma0chan0: dwc_prep_slave_sg
[   23.042386] dma dma0chan0: dwc_tx_submit: queued 11
[   23.042397] dma dma0chan0: dwc_dostart_first_queued: started 11
[   23.042465] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.042485] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.042496] dma dma0chan0: descriptor 11 complete
[   23.042614] dma dma0chan0: dwc_prep_slave_sg
[   23.042725] dma dma0chan0: dwc_tx_submit: queued 12
[   23.042736] dma dma0chan0: dwc_dostart_first_queued: started 12
[   23.042804] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.042824] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.042835] dma dma0chan0: descriptor 12 complete
[   23.043322] dma dma0chan0: dwc_prep_slave_sg
[   23.043441] dma dma0chan0: dwc_tx_submit: queued 13
[   23.043452] dma dma0chan0: dwc_dostart_first_queued: started 13
[   23.043643] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.043667] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.043678] dma dma0chan0: descriptor 13 complete
[   23.043734] dma dma0chan0: dwc_prep_slave_sg
[   23.043857] dma dma0chan0: dwc_tx_submit: queued 14
[   23.043868] dma dma0chan0: dwc_dostart_first_queued: started 14
[   23.043935] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.043954] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.043965] dma dma0chan0: descriptor 14 complete
[   23.044016] dma dma0chan0: dwc_prep_slave_sg
[   23.044314] dma dma0chan0: dwc_tx_submit: queued 15
[   23.044326] dma dma0chan0: dwc_dostart_first_queued: started 15
[   23.044738] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.044763] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.044774] dma dma0chan0: descriptor 15 complete
[   23.044865] dma dma0chan0: dwc_prep_slave_sg
[   23.045007] dma dma0chan0: dwc_tx_submit: queued 16
[   23.045017] dma dma0chan0: dwc_dostart_first_queued: started 16
[   23.046061] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.046093] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.046106] dma dma0chan0: descriptor 16 complete
[   23.046623] dma dma0chan0: dwc_prep_slave_sg
[   23.046789] dma dma0chan0: dwc_tx_submit: queued 17
[   23.046801] dma dma0chan0: dwc_dostart_first_queued: started 17
[   23.048522] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.048552] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.048564] dma dma0chan0: descriptor 17 complete
[   23.049649] dma dma0chan0: dwc_prep_slave_sg
[   23.052774] dma dma0chan0: dwc_tx_submit: queued 18
[   23.052789] dma dma0chan0: dwc_dostart_first_queued: started 18
[   23.054612] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.054643] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.054656] dma dma0chan0: descriptor 18 complete
[   23.055395] dma dma0chan0: dwc_prep_slave_sg
[   23.055575] dma dma0chan0: dwc_tx_submit: queued 19
[   23.055587] dma dma0chan0: dwc_dostart_first_queued: started 19
[   23.057418] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.057448] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.057461] dma dma0chan0: descriptor 19 complete
[   23.058529] dma dma0chan0: dwc_prep_slave_sg
[   23.082102] dma dma0chan0: dwc_tx_submit: queued 20
[   23.082117] dma dma0chan0: dwc_dostart_first_queued: started 20
[   23.083960] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.083990] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.084002] dma dma0chan0: descriptor 20 complete
[   23.084715] dma dma0chan0: dwc_prep_slave_sg
[   23.084911] dma dma0chan0: dwc_tx_submit: queued 21
[   23.084923] dma dma0chan0: dwc_dostart_first_queued: started 21
[   23.086942] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.086972] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.086985] dma dma0chan0: descriptor 21 complete
[   23.088046] dma dma0chan0: dwc_prep_slave_sg
[   23.088213] dma dma0chan0: dwc_tx_submit: queued 22
[   23.088225] dma dma0chan0: dwc_dostart_first_queued: started 22
[   23.089981] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.090011] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.090023] dma dma0chan0: descriptor 22 complete
[   23.090722] dma dma0chan0: dwc_prep_slave_sg
[   23.097001] dma dma0chan0: dwc_tx_submit: queued 23
[   23.097017] dma dma0chan0: dwc_dostart_first_queued: started 23
[   23.097972] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.098001] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.098013] dma dma0chan0: descriptor 23 complete
[   23.098123] dma dma0chan0: dwc_prep_slave_sg
[   23.098232] dma dma0chan0: dwc_tx_submit: queued 24
[   23.098244] dma dma0chan0: dwc_dostart_first_queued: started 24
[   23.099070] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.099102] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.099114] dma dma0chan0: descriptor 24 complete
[   23.099753] dma dma0chan0: dwc_prep_slave_sg
[   23.099874] dma dma0chan0: dwc_tx_submit: queued 25
[   23.099886] dma dma0chan0: dwc_dostart_first_queued: started 25
[   23.099960] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.099975] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.099985] dma dma0chan0: descriptor 25 complete
[   23.100647] dma dma0chan0: dwc_prep_slave_sg
[   23.100762] dma dma0chan0: dwc_tx_submit: queued 26
[   23.100773] dma dma0chan0: dwc_dostart_first_queued: started 26
[   23.100845] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   23.100866] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   23.100877] dma dma0chan0: descriptor 26 complete
[   23.261280] EXT4-fs (sdb2): re-mounted. Opts: errors=remount-ro
[   24.049869] systemd-journald[1576]: Received request to flush runtime journal from PID 1
[   25.825917] eth0: link is up, 1000 FDX, pause enabled
[   27.056083] dma dma0chan0: dwc_prep_slave_sg
[   27.056226] dma dma0chan0: dwc_tx_submit: queued 27
[   27.056238] dma dma0chan0: dwc_dostart_first_queued: started 27
[   27.056317] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.056338] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.056350] dma dma0chan0: descriptor 27 complete
[   27.073867] dma dma0chan0: dwc_prep_slave_sg
[   27.073992] dma dma0chan0: dwc_tx_submit: queued 28
[   27.074003] dma dma0chan0: dwc_dostart_first_queued: started 28
[   27.074082] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.074096] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.074108] dma dma0chan0: descriptor 28 complete
[   27.087913] dma dma0chan0: dwc_prep_slave_sg
[   27.088030] dma dma0chan0: dwc_tx_submit: queued 29
[   27.088042] dma dma0chan0: dwc_dostart_first_queued: started 29
[   27.088124] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.088146] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.088159] dma dma0chan0: descriptor 29 complete
[   27.108090] dma dma0chan0: dwc_prep_slave_sg
[   27.108213] dma dma0chan0: dwc_tx_submit: queued 30
[   27.108225] dma dma0chan0: dwc_dostart_first_queued: started 30
[   27.108318] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.108347] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.108358] dma dma0chan0: descriptor 30 complete
[   27.112720] dma dma0chan0: dwc_prep_slave_sg
[   27.112841] dma dma0chan0: dwc_tx_submit: queued 31
[   27.112850] dma dma0chan0: dwc_dostart_first_queued: started 31
[   27.112940] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.112956] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.112967] dma dma0chan0: descriptor 31 complete
[   27.113958] dma dma0chan0: dwc_prep_slave_sg
[   27.114076] dma dma0chan0: dwc_tx_submit: queued 32
[   27.114088] dma dma0chan0: dwc_dostart_first_queued: started 32
[   27.114211] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.114284] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.114297] dma dma0chan0: descriptor 32 complete
[   27.119786] dma dma0chan0: dwc_prep_slave_sg
[   27.119904] dma dma0chan0: dwc_tx_submit: queued 33
[   27.119915] dma dma0chan0: dwc_dostart_first_queued: started 33
[   27.119996] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.120025] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.120038] dma dma0chan0: descriptor 33 complete
[   27.127435] dma dma0chan0: dwc_prep_slave_sg
[   27.127553] dma dma0chan0: dwc_tx_submit: queued 34
[   27.127565] dma dma0chan0: dwc_dostart_first_queued: started 34
[   27.127644] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.127665] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.127677] dma dma0chan0: descriptor 34 complete
[   27.138505] dma dma0chan0: dwc_prep_slave_sg
[   27.138628] dma dma0chan0: dwc_tx_submit: queued 35
[   27.138639] dma dma0chan0: dwc_dostart_first_queued: started 35
[   27.138719] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.138741] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.138753] dma dma0chan0: descriptor 35 complete
[   27.140069] dma dma0chan0: dwc_prep_slave_sg
[   27.140218] dma dma0chan0: dwc_tx_submit: queued 36
[   27.140229] dma dma0chan0: dwc_dostart_first_queued: started 36
[   27.140333] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.140349] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.140360] dma dma0chan0: descriptor 36 complete
[   27.146559] dma dma0chan0: dwc_prep_slave_sg
[   27.146676] dma dma0chan0: dwc_tx_submit: queued 37
[   27.146688] dma dma0chan0: dwc_dostart_first_queued: started 37
[   27.146794] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.146809] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.146820] dma dma0chan0: descriptor 37 complete
[   27.151405] dma dma0chan0: dwc_prep_slave_sg
[   27.151525] dma dma0chan0: dwc_tx_submit: queued 38
[   27.151537] dma dma0chan0: dwc_dostart_first_queued: started 38
[   27.151628] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.151643] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.151654] dma dma0chan0: descriptor 38 complete
[   27.190408] dma dma0chan0: dwc_prep_slave_sg
[   27.190531] dma dma0chan0: dwc_tx_submit: queued 39
[   27.190543] dma dma0chan0: dwc_dostart_first_queued: started 39
[   27.190620] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.190635] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.190646] dma dma0chan0: descriptor 39 complete
[   27.209370] dma dma0chan0: dwc_prep_slave_sg
[   27.209493] dma dma0chan0: dwc_tx_submit: queued 40
[   27.209502] dma dma0chan0: dwc_dostart_first_queued: started 40
[   27.209587] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.209604] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.209615] dma dma0chan0: descriptor 40 complete
[   27.223661] dma dma0chan0: dwc_prep_slave_sg
[   27.223777] dma dma0chan0: dwc_tx_submit: queued 41
[   27.223790] dma dma0chan0: dwc_dostart_first_queued: started 41
[   27.223871] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.223885] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.223897] dma dma0chan0: descriptor 41 complete
[   27.225353] dma dma0chan0: dwc_prep_slave_sg
[   27.225470] dma dma0chan0: dwc_tx_submit: queued 42
[   27.225482] dma dma0chan0: dwc_dostart_first_queued: started 42
[   27.225626] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.225671] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.225683] dma dma0chan0: descriptor 42 complete
[   27.246425] dma dma0chan0: dwc_prep_slave_sg
[   27.273688] dma dma0chan0: dwc_tx_submit: queued 43
[   27.273709] dma dma0chan0: dwc_dostart_first_queued: started 43
[   27.273795] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.273819] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.273831] dma dma0chan0: descriptor 43 complete
[   27.274158] dma dma0chan0: dwc_prep_slave_sg
[   27.274611] dma dma0chan0: dwc_tx_submit: queued 44
[   27.274624] dma dma0chan0: dwc_dostart_first_queued: started 44
[   27.274700] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.274725] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.274736] dma dma0chan0: descriptor 44 complete
[   27.274954] dma dma0chan0: dwc_prep_slave_sg
[   27.275072] dma dma0chan0: dwc_tx_submit: queued 45
[   27.275083] dma dma0chan0: dwc_dostart_first_queued: started 45
[   27.275163] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.275215] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.275227] dma dma0chan0: descriptor 45 complete
[   27.276379] dma dma0chan0: dwc_prep_slave_sg
[   27.276500] dma dma0chan0: dwc_tx_submit: queued 46
[   27.276510] dma dma0chan0: dwc_dostart_first_queued: started 46
[   27.276611] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.276627] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.276639] dma dma0chan0: descriptor 46 complete
[   27.276800] dma dma0chan0: dwc_prep_slave_sg
[   27.276918] dma dma0chan0: dwc_tx_submit: queued 47
[   27.276929] dma dma0chan0: dwc_dostart_first_queued: started 47
[   27.277005] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.277018] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.277028] dma dma0chan0: descriptor 47 complete
[   27.279525] dma dma0chan0: dwc_prep_slave_sg
[   27.279661] dma dma0chan0: dwc_tx_submit: queued 48
[   27.279672] dma dma0chan0: dwc_dostart_first_queued: started 48
[   27.279889] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.279930] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.279942] dma dma0chan0: descriptor 48 complete
[   27.280002] dma dma0chan0: dwc_prep_slave_sg
[   27.280110] dma dma0chan0: dwc_tx_submit: queued 49
[   27.280121] dma dma0chan0: dwc_dostart_first_queued: started 49
[   27.280217] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.280244] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.280254] dma dma0chan0: descriptor 49 complete
[   27.323286] dma dma0chan0: dwc_prep_slave_sg
[   27.323434] dma dma0chan0: dwc_tx_submit: queued 50
[   27.323445] dma dma0chan0: dwc_dostart_first_queued: started 50
[   27.323949] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.323975] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.323987] dma dma0chan0: descriptor 50 complete
[   27.324105] dma dma0chan0: dwc_prep_slave_sg
[   27.324243] dma dma0chan0: dwc_tx_submit: queued 51
[   27.324255] dma dma0chan0: dwc_dostart_first_queued: started 51
[   27.325455] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.325490] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.325503] dma dma0chan0: descriptor 51 complete
[   27.368335] dma dma0chan0: dwc_prep_slave_sg
[   27.368498] dma dma0chan0: dwc_tx_submit: queued 52
[   27.368507] dma dma0chan0: dwc_dostart_first_queued: started 52
[   27.370380] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.370418] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.370431] dma dma0chan0: descriptor 52 complete
[   27.396171] dma dma0chan0: dwc_prep_slave_sg
[   27.396344] dma dma0chan0: dwc_tx_submit: queued 53
[   27.396351] dma dma0chan0: dwc_dostart_first_queued: started 53
[   27.398415] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.398436] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.398445] dma dma0chan0: descriptor 53 complete
[   27.458504] dma dma0chan0: dwc_prep_slave_sg
[   27.458684] dma dma0chan0: dwc_tx_submit: queued 54
[   27.458695] dma dma0chan0: dwc_dostart_first_queued: started 54
[   27.460597] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.460626] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.460638] dma dma0chan0: descriptor 54 complete
[   27.559435] dma dma0chan0: dwc_prep_slave_sg
[   27.559572] dma dma0chan0: dwc_tx_submit: queued 55
[   27.559584] dma dma0chan0: dwc_dostart_first_queued: started 55
[   27.560225] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.560269] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.560281] dma dma0chan0: descriptor 55 complete
[   27.560377] dma dma0chan0: dwc_prep_slave_sg
[   27.560484] dma dma0chan0: dwc_tx_submit: queued 56
[   27.560495] dma dma0chan0: dwc_dostart_first_queued: started 56
[   27.560605] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.560618] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.560628] dma dma0chan0: descriptor 56 complete
[   27.560666] dma dma0chan0: dwc_prep_slave_sg
[   27.560768] dma dma0chan0: dwc_tx_submit: queued 57
[   27.560777] dma dma0chan0: dwc_dostart_first_queued: started 57
[   27.560918] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.560931] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.560942] dma dma0chan0: descriptor 57 complete
[   27.560981] dma dma0chan0: dwc_prep_slave_sg
[   27.561084] dma dma0chan0: dwc_tx_submit: queued 58
[   27.561094] dma dma0chan0: dwc_dostart_first_queued: started 58
[   27.561381] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.561405] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.561416] dma dma0chan0: descriptor 58 complete
[   27.561475] dma dma0chan0: dwc_prep_slave_sg
[   27.561589] dma dma0chan0: dwc_tx_submit: queued 59
[   27.561599] dma dma0chan0: dwc_dostart_first_queued: started 59
[   27.562308] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.562334] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.562345] dma dma0chan0: descriptor 59 complete
[   27.576777] dma dma0chan0: dwc_prep_slave_sg
[   27.576891] dma dma0chan0: dwc_tx_submit: queued 60
[   27.576897] dma dma0chan0: dwc_dostart_first_queued: started 60
[   27.577540] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.577566] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.577575] dma dma0chan0: descriptor 60 complete
[   27.577654] dma dma0chan0: dwc_prep_slave_sg
[   27.577758] dma dma0chan0: dwc_tx_submit: queued 61
[   27.577764] dma dma0chan0: dwc_dostart_first_queued: started 61
[   27.578139] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.578160] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.578198] dma dma0chan0: descriptor 61 complete
[   27.578263] dma dma0chan0: dwc_prep_slave_sg
[   27.578364] dma dma0chan0: dwc_tx_submit: queued 62
[   27.578370] dma dma0chan0: dwc_dostart_first_queued: started 62
[   27.579012] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.579034] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.579042] dma dma0chan0: descriptor 62 complete
[   27.579109] dma dma0chan0: dwc_prep_slave_sg
[   27.579214] dma dma0chan0: dwc_tx_submit: queued 63
[   27.579220] dma dma0chan0: dwc_dostart_first_queued: started 63
[   27.579396] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.579410] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.579417] dma dma0chan0: descriptor 63 complete
[   27.606932] dma dma0chan0: dwc_prep_slave_sg
[   27.607090] dma dma0chan0: dwc_tx_submit: queued 64
[   27.607097] dma dma0chan0: dwc_dostart_first_queued: started 64
[   27.608550] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.608573] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.608582] dma dma0chan0: descriptor 64 complete
[   27.608698] dma dma0chan0: dwc_prep_slave_sg
[   27.608799] dma dma0chan0: dwc_tx_submit: queued 65
[   27.608805] dma dma0chan0: dwc_dostart_first_queued: started 65
[   27.609532] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.609541] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.609549] dma dma0chan0: descriptor 65 complete
[   27.650596] dma dma0chan0: dwc_prep_slave_sg
[   27.650732] dma dma0chan0: dwc_tx_submit: queued 66
[   27.650744] dma dma0chan0: dwc_dostart_first_queued: started 66
[   27.651115] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.651142] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.651154] dma dma0chan0: descriptor 66 complete
[   27.651284] dma dma0chan0: dwc_prep_slave_sg
[   27.651389] dma dma0chan0: dwc_tx_submit: queued 67
[   27.651399] dma dma0chan0: dwc_dostart_first_queued: started 67
[   27.652010] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.652042] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.652055] dma dma0chan0: descriptor 67 complete
[   27.652129] dma dma0chan0: dwc_prep_slave_sg
[   27.652248] dma dma0chan0: dwc_tx_submit: queued 68
[   27.652259] dma dma0chan0: dwc_dostart_first_queued: started 68
[   27.653223] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.653300] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.653313] dma dma0chan0: descriptor 68 complete
[   27.653394] dma dma0chan0: dwc_prep_slave_sg
[   27.653490] dma dma0chan0: dwc_tx_submit: queued 69
[   27.653502] dma dma0chan0: dwc_dostart_first_queued: started 69
[   27.653585] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.653598] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.653608] dma dma0chan0: descriptor 69 complete
[   27.663960] dma dma0chan0: dwc_prep_slave_sg
[   27.664071] dma dma0chan0: dwc_tx_submit: queued 70
[   27.664078] dma dma0chan0: dwc_dostart_first_queued: started 70
[   27.664159] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   27.664221] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   27.664229] dma dma0chan0: descriptor 70 complete
[   29.301279] cgroup: new mount options do not match the existing superblock, will be ignored
[   31.905758] dma dma0chan0: dwc_prep_slave_sg
[   31.905883] dma dma0chan0: dwc_tx_submit: queued 71
[   31.905895] dma dma0chan0: dwc_dostart_first_queued: started 71
[   31.905971] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   31.905986] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   31.905997] dma dma0chan0: descriptor 71 complete
[   31.934394] dma dma0chan0: dwc_prep_slave_sg
[   31.934509] dma dma0chan0: dwc_tx_submit: queued 72
[   31.934521] dma dma0chan0: dwc_dostart_first_queued: started 72
[   31.934613] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   31.934628] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   31.934639] dma dma0chan0: descriptor 72 complete
[   31.934828] dma dma0chan0: dwc_prep_slave_sg
[   31.934936] dma dma0chan0: dwc_tx_submit: queued 73
[   31.934946] dma dma0chan0: dwc_dostart_first_queued: started 73
[   31.935025] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   31.935038] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   31.935048] dma dma0chan0: descriptor 73 complete
[   31.947342] dma dma0chan0: dwc_prep_slave_sg
[   31.947461] dma dma0chan0: dwc_tx_submit: queued 74
[   31.947468] dma dma0chan0: dwc_dostart_first_queued: started 74
[   31.947549] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   31.947561] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   31.947568] dma dma0chan0: descriptor 74 complete
[   31.954387] dma dma0chan0: dwc_prep_slave_sg
[   31.954501] dma dma0chan0: dwc_tx_submit: queued 75
[   31.954508] dma dma0chan0: dwc_dostart_first_queued: started 75
[   31.954591] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   31.954602] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   31.954610] dma dma0chan0: descriptor 75 complete
[   31.980401] dma dma0chan0: dwc_prep_slave_sg
[   31.980507] dma dma0chan0: dwc_tx_submit: queued 76
[   31.980513] dma dma0chan0: dwc_dostart_first_queued: started 76
[   31.980595] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   31.980606] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   31.980614] dma dma0chan0: descriptor 76 complete
[   32.000447] dma dma0chan0: dwc_prep_slave_sg
[   32.000571] dma dma0chan0: dwc_tx_submit: queued 77
[   32.000577] dma dma0chan0: dwc_dostart_first_queued: started 77
[   32.000677] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.000689] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.000697] dma dma0chan0: descriptor 77 complete
[   32.014808] dma dma0chan0: dwc_prep_slave_sg
[   32.014918] dma dma0chan0: dwc_tx_submit: queued 78
[   32.014925] dma dma0chan0: dwc_dostart_first_queued: started 78
[   32.014997] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.015015] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.015023] dma dma0chan0: descriptor 78 complete
[   32.018397] dma dma0chan0: dwc_prep_slave_sg
[   32.018514] dma dma0chan0: dwc_tx_submit: queued 79
[   32.018521] dma dma0chan0: dwc_dostart_first_queued: started 79
[   32.018609] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.018628] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.018635] dma dma0chan0: descriptor 79 complete
[   32.034363] dma dma0chan0: dwc_prep_slave_sg
[   32.034492] dma dma0chan0: dwc_tx_submit: queued 80
[   32.034503] dma dma0chan0: dwc_dostart_first_queued: started 80
[   32.034615] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.034632] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.034644] dma dma0chan0: descriptor 80 complete
[   32.083561] dma dma0chan0: dwc_prep_slave_sg
[   32.083726] dma dma0chan0: dwc_tx_submit: queued 81
[   32.083733] dma dma0chan0: dwc_dostart_first_queued: started 81
[   32.118603] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.118626] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.118635] dma dma0chan0: descriptor 81 complete
[   32.118752] dma dma0chan0: dwc_prep_slave_sg
[   32.118860] dma dma0chan0: dwc_tx_submit: queued 82
[   32.118866] dma dma0chan0: dwc_dostart_first_queued: started 82
[   32.119343] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.119361] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.119369] dma dma0chan0: descriptor 82 complete
[   32.119420] dma dma0chan0: dwc_prep_slave_sg
[   32.119519] dma dma0chan0: dwc_tx_submit: queued 83
[   32.119525] dma dma0chan0: dwc_dostart_first_queued: started 83
[   32.119748] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.119763] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.119770] dma dma0chan0: descriptor 83 complete
[   32.119813] dma dma0chan0: dwc_prep_slave_sg
[   32.119918] dma dma0chan0: dwc_tx_submit: queued 84
[   32.119924] dma dma0chan0: dwc_dostart_first_queued: started 84
[   32.120006] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.120015] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.120022] dma dma0chan0: descriptor 84 complete
[   32.140290] dma dma0chan0: dwc_prep_slave_sg
[   32.140470] dma dma0chan0: dwc_tx_submit: queued 85
[   32.140481] dma dma0chan0: dwc_dostart_first_queued: started 85
[   32.158070] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.158105] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.158118] dma dma0chan0: descriptor 85 complete
[   32.166938] dma dma0chan0: dwc_prep_slave_sg
[   32.167123] dma dma0chan0: dwc_tx_submit: queued 86
[   32.167135] dma dma0chan0: dwc_dostart_first_queued: started 86
[   32.173788] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.173817] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.173830] dma dma0chan0: descriptor 86 complete
[   32.245914] dma dma0chan0: dwc_prep_slave_sg
[   32.246081] dma dma0chan0: dwc_tx_submit: queued 87
[   32.246088] dma dma0chan0: dwc_dostart_first_queued: started 87
[   32.248689] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.248712] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.248721] dma dma0chan0: descriptor 87 complete
[   32.387388] dma dma0chan0: dwc_prep_slave_sg
[   32.387554] dma dma0chan0: dwc_tx_submit: queued 88
[   32.387566] dma dma0chan0: dwc_dostart_first_queued: started 88
[   32.389537] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.389574] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.389587] dma dma0chan0: descriptor 88 complete
[   32.507499] dma dma0chan0: dwc_prep_slave_sg
[   32.507652] dma dma0chan0: dwc_tx_submit: queued 89
[   32.507658] dma dma0chan0: dwc_dostart_first_queued: started 89
[   32.509752] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.509772] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.509782] dma dma0chan0: descriptor 89 complete
[   32.600236] dma dma0chan0: dwc_prep_slave_sg
[   32.600409] dma dma0chan0: dwc_tx_submit: queued 90
[   32.600416] dma dma0chan0: dwc_dostart_first_queued: started 90
[   32.602307] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.602332] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.602342] dma dma0chan0: descriptor 90 complete
[   32.604881] dma dma0chan0: dwc_prep_slave_sg
[   32.605025] dma dma0chan0: dwc_tx_submit: queued 91
[   32.605032] dma dma0chan0: dwc_dostart_first_queued: started 91
[   32.605950] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.605968] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.605977] dma dma0chan0: descriptor 91 complete
[   32.606076] dma dma0chan0: dwc_prep_slave_sg
[   32.606184] dma dma0chan0: dwc_tx_submit: queued 92
[   32.606190] dma dma0chan0: dwc_dostart_first_queued: started 92
[   32.606919] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.606927] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.606933] dma dma0chan0: descriptor 92 complete
[   32.752051] dma dma0chan0: dwc_prep_slave_sg
[   32.752168] dma dma0chan0: dwc_tx_submit: queued 93
[   32.752174] dma dma0chan0: dwc_dostart_first_queued: started 93
[   32.752250] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.752268] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.752275] dma dma0chan0: descriptor 93 complete
[   32.754799] dma dma0chan0: dwc_prep_slave_sg
[   32.754913] dma dma0chan0: dwc_tx_submit: queued 94
[   32.754919] dma dma0chan0: dwc_dostart_first_queued: started 94
[   32.754992] sata-dwc 4bffd1000.sata: dw_dma_interrupt: status=0x1
[   32.755003] sata-dwc 4bffd1000.sata: dw_dma_tasklet: status_err=0
[   32.755011] dma dma0chan0: descriptor 94 complete
[   35.454486] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[  179.686509] EXT4-fs (sdb3): mounting ext2 file system using the ext4 subsystem
[  179.713688] EXT4-fs (sdb3): warning: mounting unchecked fs, running e2fsck is recommended
[  179.725994] EXT4-fs (sdb3): mounted filesystem without journal. Opts: (null)

[-- Attachment #3: Sam460ex_8.log --]
[-- Type: text/plain, Size: 50086 bytes --]

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2016.04.23 11:26:53 =~=~=~=~=~=~=~=~=~=~=~=


U-Boot 2015.a (May 16 2015 - 14:20:11)

CPU:   AMCC PowerPC 460EX Rev. B at 1155 MHz (PLB=231 OPB=115 EBC=115)
       No Security/Kasumi support
       Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
       Internal PCI arbiter enabled
       32 kB I-Cache 32 kB D-Cache
Board: Sam460ex/cr, PCIe 4x + SATA-2
I2C:   ready
DRAM:  2 GiB (ECC not enabled, 462 MHz, CL4)
PCI:   Bus Dev VenId DevId Class Int
        00  04  1095  3512  0104  00
        00  06  126f  0501  0380  00
PCIE1: successfully set as root-complex
        02  00  1002  683f  0300  ff
Net:   ppc_4xx_eth0
FPGA:  Revision 03 (2010-10-07)
SM502: found
PERMD2:not found
VGA:   1
VESA:  OK
[    0.000000] Using Canyonlands machine description
[    0.000000] Linux version 4.6.0-rc4-next-20160421-sam460ex-jm (root@julian-VirtualBox) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #2 PREEMPT Sat Apr 23 09:26:44 AST 2016
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: root=/dev/sdb2 rootdelay=10 console=ttyS0,115200 console=tty0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 2001648K/2097152K available (7424K kernel code, 316K rwdata, 3816K rodata, 240K init, 370K bss, 95504K reserved, 0K cma-reserved, 1310720K highmem)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffcf000..0xfffff000  : fixmap
[    0.000000]   * 0xffc00000..0xffe00000  : highmem PTEs
[    0.000000]   * 0xffa00000..0xffc00000  : consistent mem
[    0.000000]   * 0xffa00000..0xffa00000  : early ioremap
[    0.000000]   * 0xf1000000..0xffa00000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000014] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x10a60dda894, max_idle_ns: 440795207041 ns
[    0.000024] clocksource: timebase mult[dda520] shift[24] registered
[    0.000149] Console: colour dummy device 80x25
[    0.000701] console [tty0] enabled
[    0.000735] pid_max: default: 32768 minimum: 301
[    0.000846] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000873] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003501] devtmpfs: initialized
[    0.006153] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.006544] xor: measuring software checksum speed
[    0.016612]    8regs     :   896.000 MB/sec
[    0.026438]    8regs_prefetch:   800.000 MB/sec
[    0.036484]    32regs    :  1232.000 MB/sec
[    0.046564]    32regs_prefetch:  1084.000 MB/sec
[    0.046599] xor: using function: 32regs (1232.000 MB/sec)
[    0.046626] prandom: seed boundary self test passed
[    0.048680] prandom: 100 self tests passed
[    0.049389] NET: Registered protocol family 16
[    0.054839] cpuidle: using governor ladder
[    0.056802] cpuidle: using governor menu
[    0.057205] 256k L2-cache enabled
[    0.057287] PCIE0: Port disabled via device-tree
[    0.057347] PCIE1: Checking link...
[    0.057364] PCIE1: Device detected, waiting for link...
[    0.057383] PCIE1: link is up !
[    0.159657] PCI host bridge /plb/pciex@d20000000 (primary) ranges:
[    0.159707]  MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000 
[    0.159744]  MEM 0x0000000f00100000..0x0000000f001fffff -> 0x0000000000000000 
[    0.159775]   IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000
[    0.159812] 4xx PCI DMA offset set to 0x00000000
[    0.159829] 4xx PCI DMA window base to 0x0000000000000000
[    0.159848] DMA window size 0x0000000080000000
[    0.159884] PCIE1: successfully set as root-complex
[    0.159977] PCI host bridge /plb/pci@c0ec00000 (primary) ranges:
[    0.160006]  MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000 
[    0.160041]  MEM 0x0000000c0ee00000..0x0000000c0eefffff -> 0x0000000000000000 
[    0.160072]   IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000
[    0.160102] 4xx PCI DMA offset set to 0x00000000
[    0.160119] 4xx PCI DMA window base to 0x0000000000000000
[    0.160138] DMA window size 0x0000000080000000
[    0.169685] PCI: Probing PCI hardware
[    0.170005] PCI host bridge to bus 0000:80
[    0.170043] pci_bus 0000:80: root bus resource [io  0xfffe0000-0xfffeffff] (bus address [0x0000-0xffff])
[    0.170079] pci_bus 0000:80: root bus resource [mem 0xe80000000-0xeffffffff] (bus address [0x80000000-0xffffffff])
[    0.170117] pci_bus 0000:80: root bus resource [mem 0xf00100000-0xf001fffff] (bus address [0x00000000-0x000fffff])
[    0.170155] pci_bus 0000:80: root bus resource [bus 80-ff]
[    0.170281] PCI: Hiding 4xx host bridge resources 0000:80:00.0
[    0.171448] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.171759] PCI host bridge to bus 0001:00
[    0.171792] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    0.171818] pci_bus 0001:00: root bus resource [mem 0xd80000000-0xdffffffff] (bus address [0x80000000-0xffffffff])
[    0.171855] pci_bus 0001:00: root bus resource [mem 0xc0ee00000-0xc0eefffff] (bus address [0x00000000-0x000fffff])
[    0.171893] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.172664] pci 0000:80:00.0: BAR 9: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.172709] pci 0000:80:00.0: BAR 8: assigned [mem 0xe90000000-0xe900fffff]
[    0.172736] pci 0000:80:00.0: BAR 7: assigned [io  0xfffe1000-0xfffe1fff]
[    0.172767] pci 0000:81:00.0: BAR 0: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.172809] pci 0000:81:00.0: BAR 2: assigned [mem 0xe90000000-0xe9003ffff 64bit]
[    0.172848] pci 0000:81:00.0: BAR 6: assigned [mem 0xe90040000-0xe9005ffff pref]
[    0.172882] pci 0000:81:00.1: BAR 0: assigned [mem 0xe90060000-0xe90063fff 64bit]
[    0.172920] pci 0000:81:00.0: BAR 4: assigned [io  0xfffe1000-0xfffe10ff]
[    0.172948] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.172971] pci 0000:80:00.0:   bridge window [io  0xfffe1000-0xfffe1fff]
[    0.172997] pci 0000:80:00.0:   bridge window [mem 0xe90000000-0xe900fffff]
[    0.173023] pci 0000:80:00.0:   bridge window [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.173120] pci 0001:00:06.0: BAR 0: assigned [mem 0xd80000000-0xd83ffffff]
[    0.173148] pci 0001:00:06.0: BAR 1: assigned [mem 0xd84000000-0xd841fffff]
[    0.173175] pci 0001:00:04.0: BAR 6: assigned [mem 0xd84200000-0xd8427ffff pref]
[    0.173207] pci 0001:00:04.0: BAR 5: assigned [mem 0xd84280000-0xd842801ff]
[    0.173234] pci 0001:00:04.0: BAR 4: assigned [io  0x1000-0x100f]
[    0.173259] pci 0001:00:04.0: BAR 0: assigned [io  0x1010-0x1017]
[    0.173284] pci 0001:00:04.0: BAR 2: assigned [io  0x1018-0x101f]
[    0.173310] pci 0001:00:04.0: BAR 1: assigned [io  0x1020-0x1023]
[    0.173335] pci 0001:00:04.0: BAR 3: assigned [io  0x1024-0x1027]
[    0.237400] raid6: int32x1  gen()   300 MB/s
[    0.254364] raid6: int32x1  xor()   162 MB/s
[    0.271495] raid6: int32x2  gen()   390 MB/s
[    0.288548] raid6: int32x2  xor()   236 MB/s
[    0.305718] raid6: int32x4  gen()   437 MB/s
[    0.322740] raid6: int32x4  xor()   255 MB/s
[    0.339907] raid6: int32x8  gen()   277 MB/s
[    0.356885] raid6: int32x8  xor()   205 MB/s
[    0.356910] raid6: using algorithm int32x4 gen() 437 MB/s
[    0.356928] raid6: .... xor() 255 MB/s, rmw enabled
[    0.356947] raid6: using intx1 recovery algorithm
[    0.357451] vgaarb: device added: PCI:0000:81:00.0,decodes=io+mem,owns=none,locks=none
[    0.357496] vgaarb: loaded
[    0.357511] vgaarb: bridge control possible 0000:81:00.0
[    0.357969] SCSI subsystem initialized
[    0.359092] usbcore: registered new interface driver usbfs
[    0.359222] usbcore: registered new interface driver hub
[    0.359350] usbcore: registered new device driver usb
[    0.359671] pps_core: LinuxPPS API ver. 1 registered
[    0.359701] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.359797] PTP clock support registered
[    0.360777] EDAC MC: Ver: 3.0.0
[    0.361939] Advanced Linux Sound Architecture Driver Initialized.
[    0.363172] clocksource: Switched to clocksource timebase
[    0.363408] FS-Cache: Loaded
[    0.363625] CacheFiles: Loaded
[    0.379929] NET: Registered protocol family 2
[    0.380588] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.380719] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    0.381043] TCP: Hash tables configured (established 8192 bind 8192)
[    0.381786] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    0.381896] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    0.382328] NET: Registered protocol family 1
[    0.382592] RPC: Registered named UNIX socket transport module.
[    0.382624] RPC: Registered udp transport module.
[    0.382641] RPC: Registered tcp transport module.
[    0.382659] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.383594] Could not remap bcsr
[    0.389981] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    0.392859] futex hash table entries: 256 (order: 0, 7168 bytes)
[    0.393465] workingset: timestamp_bits=28 max_order=19 bucket_order=0
[    0.413718] ntfs: driver 2.1.32 [Flags: R/W].
[    0.414344] fuse init (API version 7.24)
[    0.419421] async_tx: api initialized (async)
[    0.419516] bounce: pool size: 64 pages
[    0.419608] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.419641] io scheduler noop registered
[    0.419807] io scheduler cfq registered (default)
[    0.422164] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[    0.422269] crc32: self tests passed, processed 225944 bytes in 989276 nsec
[    0.423439] crc32c: CRC_LE_BITS = 64
[    0.423465] crc32c: self tests passed, processed 225944 bytes in 494887 nsec
[    0.492728] crc32_combine: 8373 self tests passed
[    0.562174] crc32c_combine: 8373 self tests passed
[    0.562226] glob: 64 self-tests passed, 0 failed
[    0.661395] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.662544] console [ttyS0] disabled
[    0.683750] serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 22, base_baud = 691200) is a U6_16550A
[    1.620899] console [ttyS0] enabled
[    1.645418] serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 23, base_baud = 691200) is a U6_16550A
[    1.655614] console [ttyS0] disabled
[    0.000000] Using Canyonlands machine description
[    0.000000] Linux version 4.6.0-rc4-next-20160421-sam460ex-jm (root@julian-VirtualBox) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #2 PREEMPT Sat Apr 23 09:26:44 AST 2016
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: root=/dev/sdb2 rootdelay=10 console=ttyS0,115200 console=tty0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 2001648K/2097152K available (7424K kernel code, 316K rwdata, 3816K rodata, 240K init, 370K bss, 95504K reserved, 0K cma-reserved, 1310720K highmem)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffcf000..0xfffff000  : fixmap
[    0.000000]   * 0xffc00000..0xffe00000  : highmem PTEs
[    0.000000]   * 0xffa00000..0xffc00000  : consistent mem
[    0.000000]   * 0xffa00000..0xffa00000  : early ioremap
[    0.000000]   * 0xf1000000..0xffa00000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000014] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x10a60dda894, max_idle_ns: 440795207041 ns
[    0.000024] clocksource: timebase mult[dda520] shift[24] registered
[    0.000149] Console: colour dummy device 80x25
[    0.000701] console [tty0] enabled
[    0.000735] pid_max: default: 32768 minimum: 301
[    0.000846] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000873] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003501] devtmpfs: initialized
[    0.006153] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.006544] xor: measuring software checksum speed
[    0.016612]    8regs     :   896.000 MB/sec
[    0.026438]    8regs_prefetch:   800.000 MB/sec
[    0.036484]    32regs    :  1232.000 MB/sec
[    0.046564]    32regs_prefetch:  1084.000 MB/sec
[    0.046599] xor: using function: 32regs (1232.000 MB/sec)
[    0.046626] prandom: seed boundary self test passed
[    0.048680] prandom: 100 self tests passed
[    0.049389] NET: Registered protocol family 16
[    0.054839] cpuidle: using governor ladder
[    0.056802] cpuidle: using governor menu
[    0.057205] 256k L2-cache enabled
[    0.057287] PCIE0: Port disabled via device-tree
[    0.057347] PCIE1: Checking link...
[    0.057364] PCIE1: Device detected, waiting for link...
[    0.057383] PCIE1: link is up !
[    0.159657] PCI host bridge /plb/pciex@d20000000 (primary) ranges:
[    0.159707]  MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000 
[    0.159744]  MEM 0x0000000f00100000..0x0000000f001fffff -> 0x0000000000000000 
[    0.159775]   IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000
[    0.159812] 4xx PCI DMA offset set to 0x00000000
[    0.159829] 4xx PCI DMA window base to 0x0000000000000000
[    0.159848] DMA window size 0x0000000080000000
[    0.159884] PCIE1: successfully set as root-complex
[    0.159977] PCI host bridge /plb/pci@c0ec00000 (primary) ranges:
[    0.160006]  MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000 
[    0.160041]  MEM 0x0000000c0ee00000..0x0000000c0eefffff -> 0x0000000000000000 
[    0.160072]   IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000
[    0.160102] 4xx PCI DMA offset set to 0x00000000
[    0.160119] 4xx PCI DMA window base to 0x0000000000000000
[    0.160138] DMA window size 0x0000000080000000
[    0.169685] PCI: Probing PCI hardware
[    0.170005] PCI host bridge to bus 0000:80
[    0.170043] pci_bus 0000:80: root bus resource [io  0xfffe0000-0xfffeffff] (bus address [0x0000-0xffff])
[    0.170079] pci_bus 0000:80: root bus resource [mem 0xe80000000-0xeffffffff] (bus address [0x80000000-0xffffffff])
[    0.170117] pci_bus 0000:80: root bus resource [mem 0xf00100000-0xf001fffff] (bus address [0x00000000-0x000fffff])
[    0.170155] pci_bus 0000:80: root bus resource [bus 80-ff]
[    0.170281] PCI: Hiding 4xx host bridge resources 0000:80:00.0
[    0.171448] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.171759] PCI host bridge to bus 0001:00
[    0.171792] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    0.171818] pci_bus 0001:00: root bus resource [mem 0xd80000000-0xdffffffff] (bus address [0x80000000-0xffffffff])
[    0.171855] pci_bus 0001:00: root bus resource [mem 0xc0ee00000-0xc0eefffff] (bus address [0x00000000-0x000fffff])
[    0.171893] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.172664] pci 0000:80:00.0: BAR 9: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.172709] pci 0000:80:00.0: BAR 8: assigned [mem 0xe90000000-0xe900fffff]
[    0.172736] pci 0000:80:00.0: BAR 7: assigned [io  0xfffe1000-0xfffe1fff]
[    0.172767] pci 0000:81:00.0: BAR 0: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.172809] pci 0000:81:00.0: BAR 2: assigned [mem 0xe90000000-0xe9003ffff 64bit]
[    0.172848] pci 0000:81:00.0: BAR 6: assigned [mem 0xe90040000-0xe9005ffff pref]
[    0.172882] pci 0000:81:00.1: BAR 0: assigned [mem 0xe90060000-0xe90063fff 64bit]
[    0.172920] pci 0000:81:00.0: BAR 4: assigned [io  0xfffe1000-0xfffe10ff]
[    0.172948] pci 0000:80:00.0: PCI bridge to [bus 81-bf]
[    0.172971] pci 0000:80:00.0:   bridge window [io  0xfffe1000-0xfffe1fff]
[    0.172997] pci 0000:80:00.0:   bridge window [mem 0xe90000000-0xe900fffff]
[    0.173023] pci 0000:80:00.0:   bridge window [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.173120] pci 0001:00:06.0: BAR 0: assigned [mem 0xd80000000-0xd83ffffff]
[    0.173148] pci 0001:00:06.0: BAR 1: assigned [mem 0xd84000000-0xd841fffff]
[    0.173175] pci 0001:00:04.0: BAR 6: assigned [mem 0xd84200000-0xd8427ffff pref]
[    0.173207] pci 0001:00:04.0: BAR 5: assigned [mem 0xd84280000-0xd842801ff]
[    0.173234] pci 0001:00:04.0: BAR 4: assigned [io  0x1000-0x100f]
[    0.173259] pci 0001:00:04.0: BAR 0: assigned [io  0x1010-0x1017]
[    0.173284] pci 0001:00:04.0: BAR 2: assigned [io  0x1018-0x101f]
[    0.173310] pci 0001:00:04.0: BAR 1: assigned [io  0x1020-0x1023]
[    0.173335] pci 0001:00:04.0: BAR 3: assigned [io  0x1024-0x1027]
[    0.237400] raid6: int32x1  gen()   300 MB/s
[    0.254364] raid6: int32x1  xor()   162 MB/s
[    0.271495] raid6: int32x2  gen()   390 MB/s
[    0.288548] raid6: int32x2  xor()   236 MB/s
[    0.305718] raid6: int32x4  gen()   437 MB/s
[    0.322740] raid6: int32x4  xor()   255 MB/s
[    0.339907] raid6: int32x8  gen()   277 MB/s
[    0.356885] raid6: int32x8  xor()   205 MB/s
[    0.356910] raid6: using algorithm int32x4 gen() 437 MB/s
[    0.356928] raid6: .... xor() 255 MB/s, rmw enabled
[    0.356947] raid6: using intx1 recovery algorithm
[    0.357451] vgaarb: device added: PCI:0000:81:00.0,decodes=io+mem,owns=none,locks=none
[    0.357496] vgaarb: loaded
[    0.357511] vgaarb: bridge control possible 0000:81:00.0
[    0.357969] SCSI subsystem initialized
[    0.359092] usbcore: registered new interface driver usbfs
[    0.359222] usbcore: registered new interface driver hub
[    0.359350] usbcore: registered new device driver usb
[    0.359671] pps_core: LinuxPPS API ver. 1 registered
[    0.359701] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.359797] PTP clock support registered
[    0.360777] EDAC MC: Ver: 3.0.0
[    0.361939] Advanced Linux Sound Architecture Driver Initialized.
[    0.363172] clocksource: Switched to clocksource timebase
[    0.363408] FS-Cache: Loaded
[    0.363625] CacheFiles: Loaded
[    0.379929] NET: Registered protocol family 2
[    0.380588] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.380719] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    0.381043] TCP: Hash tables configured (established 8192 bind 8192)
[    0.381786] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    0.381896] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    0.382328] NET: Registered protocol family 1
[    0.382592] RPC: Registered named UNIX socket transport module.
[    0.382624] RPC: Registered udp transport module.
[    0.382641] RPC: Registered tcp transport module.
[    0.382659] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.383594] Could not remap bcsr
[    0.389981] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    0.392859] futex hash table entries: 256 (order: 0, 7168 bytes)
[    0.393465] workingset: timestamp_bits=28 max_order=19 bucket_order=0
[    0.413718] ntfs: driver 2.1.32 [Flags: R/W].
[    0.414344] fuse init (API version 7.24)
[    0.419421] async_tx: api initialized (async)
[    0.419516] bounce: pool size: 64 pages
[    0.419608] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.419641] io scheduler noop registered
[    0.419807] io scheduler cfq registered (default)
[    0.422164] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[    0.422269] crc32: self tests passed, processed 225944 bytes in 989276 nsec
[    0.423439] crc32c: CRC_LE_BITS = 64
[    0.423465] crc32c: self tests passed, processed 225944 bytes in 494887 nsec
[    0.492728] crc32_combine: 8373 self tests passed
[    0.562174] crc32c_combine: 8373 self tests passed
[    0.562226] glob: 64 self-tests passed, 0 failed
[    0.661395] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.662544] console [ttyS0] disabled
[    0.683750] serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 22, base_baud = 691200) is a U6_16550A
[    1.620899] console [ttyS0] enabled
[    1.645418] serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 23, base_baud = 691200) is a U6_16550A
[    1.655614] console [ttyS0] disabled
[    1.659530] 4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 22, base_baud = 691200) is a 16550
[    2.621341] console [ttyS0] enabled
[    2.625747] 4ef600400.serial: ttyS1 at MMIO 0x4ef600400 (irq = 23, base_baud = 691200) is a 16550
[    2.635484] Generic non-volatile memory driver v1.1
[    2.640973] [drm] Initialized drm 1.1.0 20060810
[    2.645924] [drm] radeon kernel modesetting enabled.
[    2.652014] [drm] initializing kernel modesetting (VERDE 0x1002:0x683F 0x1545:0x7750).
[    2.660241] [drm] register mmio base: 0xe90000000
[    2.665009] [drm] register mmio size: 262144
[    3.001253] ATOM BIOS: C44501
[    3.004549] radeon 0000:81:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[    3.013476] radeon 0000:81:00.0: GTT: 2048M 0x0000000040000000 - 0x00000000BFFFFFFF
[    3.021168] [drm] Detected VRAM RAM=1024M, BAR=256M
[    3.026065] [drm] RAM width 128bits DDR
[    3.030094] [TTM] Zone  kernel: Available graphics memory: 378440 kiB
[    3.036585] [TTM] Zone highmem: Available graphics memory: 1033800 kiB
[    3.043142] [TTM] Initializing pool allocator
[    3.047545] [TTM] Initializing DMA pool allocator
[    3.052369] [drm] radeon: 1024M of VRAM memory ready
[    3.057378] [drm] radeon: 2048M of GTT memory ready.
[    3.062408] [drm] Loading verde Microcode
[    3.066469] [drm] Internal thermal controller with fan control
[    3.072623] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[    3.121797] [drm] radeon: dpm initialized
[    3.128222] [drm] Found VCE firmware/feedback version 50.0.1 / 17!
[    3.134469] [drm] GART: num cpu pages 524288, num gpu pages 524288
[    3.151139] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[    3.210767] [drm] PCIE GART of 2048M enabled (table at 0x00000000002E8000).
[    3.218077] radeon 0000:81:00.0: WB enabled
[    3.222320] radeon 0000:81:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xee962c00
[    3.232441] radeon 0000:81:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xee962c04
[    3.242562] radeon 0000:81:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xee962c08
[    3.252683] radeon 0000:81:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xee962c0c
[    3.262805] radeon 0000:81:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xee962c10
[    3.304324] radeon 0000:81:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xf5135a18
[    3.341458] radeon 0000:81:00.0: fence driver on ring 6 use gpu addr 0x0000000040000c18 and cpu addr 0xee962c18
[    3.351618] radeon 0000:81:00.0: fence driver on ring 7 use gpu addr 0x0000000040000c1c and cpu addr 0xee962c1c
[    3.361759] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.368404] [drm] Driver supports precise vblank timestamp query.
[    3.374523] radeon 0000:81:00.0: radeon: MSI limited to 32-bit
[    3.380446] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    3.388716] radeon 0000:81:00.0: radeon: using MSI.
[    3.393673] [drm] radeon: irq initialized.
[    4.152902] [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
[    4.161744] radeon 0000:81:00.0: disabling GPU acceleration
[    4.370696] [drm] Radeon Display Connectors
[    4.375369] [drm] Connector 0:
[    4.378506] [drm]   HDMI-A-1
[    4.381460] [drm]   HPD4
[    4.384046] [drm]   DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c 0x657c
[    4.391495] [drm]   Encoders:
[    4.394493] [drm]     DFP1: INTERNAL_UNIPHY2
[    4.398783] [drm] Connector 1:
[    4.401854] [drm]   DVI-I-1
[    4.404666] [drm]   HPD2
[    4.407221] [drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
[    4.414647] [drm]   Encoders:
[    4.417635] [drm]     DFP2: INTERNAL_UNIPHY
[    4.421836] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    4.540136] [drm] fb mappable at 0x806E9000
[    4.544354] [drm] vram apper at 0x80000000
[    4.548468] [drm] size 8294400
[    4.551541] [drm] fb depth is 24
[    4.554786] [drm]    pitch is 7680
[    4.850224] Console: switching to colour frame buffer device 240x67
[    4.929533] radeon 0000:81:00.0: fb0: radeondrmfb frame buffer device
[    4.939239] [drm] Initialized radeon 2.43.0 20080528 for 0000:81:00.0 on minor 0
[    4.947588] [drm] amdgpu kernel modesetting enabled.
[    4.967357] brd: module loaded
[    4.977422] loop: module loaded
[    4.981255] sm501 0001:00:06.0: enabling device (0004 -> 0006)
[    4.987695] sm501 0001:00:06.0: incorrect device id c0000105
[    4.994354] sata-dwc 4bffd1000.sata: id 0, controller version 1.82
[    5.001510] sata-dwc 4bffd1000.sata: DesignWare DMA Controller, 1 channels
[    5.009740] scsi host0: sata-dwc
[    5.013516] ata1: SATA max UDMA/133 irq 36
[    5.018829] libphy: Fixed MDIO Bus: probed
[    5.023585] PPC 4xx OCP EMAC driver, version 3.54
[    5.029015] MAL v2 /plb/mcmal, 2 TX channels, 16 RX channels
[    5.035369] ZMII /plb/opb/emac-zmii@ef600d00 initialized
[    5.041307] RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support
[    5.049042] TAH /plb/opb/emac-tah@ef601350 initialized
[    5.054638] TAH /plb/opb/emac-tah@ef601450 initialized
[    5.060481] /plb/opb/emac-rgmii@ef601500: input 0 in RGMII mode
[    5.068225] eth0: EMAC-0 /plb/opb/ethernet@ef600e00, MAC 00:50:c2:80:d5:c5
[    5.075645] eth0: found Generic MII PHY (0x00)
[    5.080589] /plb/opb/emac-rgmii@ef601500: input 1 in RGMII mode
[    5.088248] eth1: EMAC-1 /plb/opb/ethernet@ef600f00, MAC 00:00:00:00:00:00
[    5.095666] eth1: found Generic MII PHY (0x01)
[    5.100514] PPP generic driver version 2.4.2
[    5.105449] PPP BSD Compression module registered
[    5.110580] PPP Deflate Compression module registered
[    5.115965] NET: Registered protocol family 24
[    5.121025] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.128292] ppc-of-ehci 4bffd0400.ehci: OF EHCI
[    5.133410] ppc-of-ehci 4bffd0400.ehci: new USB bus registered, assigned bus number 1
[    5.142777] ppc-of-ehci 4bffd0400.ehci: irq 31, io mem 0x4bffd0400
[    5.155181] ppc-of-ehci 4bffd0400.ehci: USB 2.0 started, EHCI 1.00
[    5.161907] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.169109] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.176757] usb usb1: Product: OF EHCI
[    5.180742] usb usb1: Manufacturer: Linux 4.6.0-rc4-next-20160421-sam460ex-jm ehci_hcd
[    5.203447] usb usb1: SerialNumber: PPC-OF USB
[    5.222965] hub 1-0:1.0: USB hub found
[    5.241218] hub 1-0:1.0: 1 port detected
[    5.259745] ehci-pci: EHCI PCI platform driver
[    5.278695] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.299590] ppc-of-ohci 4bffd0000.usb: OF OHCI
[    5.318905] ppc-of-ohci 4bffd0000.usb: new USB bus registered, assigned bus number 2
[    5.341508] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    5.363024] ppc-of-ohci 4bffd0000.usb: irq 32, io mem 0x4bffd0000
[    5.384045] ata1.00: ATA-8: WDC WD5000AAKX-00ERMA0, 15.01H15, max UDMA/133
[    5.384052] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 1/32)
[    5.428344] ata1.00: configured for UDMA/133
[    5.448212] scsi 0:0:0:0: Direct-Access     ATA      WDC WD5000AAKX-0 1H15 PQ: 0 ANSI: 5
[    5.477976] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    5.501310] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    5.523111] sd 0:0:0:0: [sda] Write Protect is off
[    5.547368] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.596183] usb 1-1: new high-speed USB device number 2 using ppc-of-ehci
[    5.626927]  sda: sda1
[    5.627999] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.838612] usb 1-1: New USB device found, idVendor=0424, idProduct=2517
[    5.882178] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.933330] hub 1-1:1.0: USB hub found
[    5.975180] hub 1-1:1.0: 7 ports detected
[    6.225870] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    6.249419] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.273268] usb usb2: Product: OF OHCI
[    6.293418] usb usb2: Manufacturer: Linux 4.6.0-rc4-next-20160421-sam460ex-jm ohci_hcd
[    6.318084] usb usb2: SerialNumber: PPC-OF USB
[    6.339924] hub 2-0:1.0: USB hub found
[    6.360481] hub 2-0:1.0: 1 port detected
[    6.381592] ohci-pci: OHCI PCI platform driver
[    6.402587] usb 1-1.1: new high-speed USB device number 3 using ppc-of-ehci
[    6.427392] usbcore: registered new interface driver usblp
[    6.450043] usbcore: registered new interface driver usb-storage
[    6.473043] usbcore: registered new interface driver usbserial
[    6.495723] usbcore: registered new interface driver usbserial_generic
[    6.518937] usbserial: USB Serial support registered for generic
[    6.542275] usb 1-1.1: New USB device found, idVendor=1a40, idProduct=0101
[    6.565758] mousedev: PS/2 mouse device common for all mice
[    6.565764] i2c /dev entries driver
[    6.567794] ibm-iic 4ef600700.i2c: using standard (100 kHz) mode
[    6.568137] ibm-iic 4ef600800.i2c: using standard (100 kHz) mode
[    6.568293] md: linear personality registered for level -1
[    6.568297] md: raid0 personality registered for level 0
[    6.568300] md: raid1 personality registered for level 1
[    6.568304] md: raid10 personality registered for level 10
[    6.569330] md: raid6 personality registered for level 6
[    6.569334] md: raid5 personality registered for level 5
[    6.569337] md: raid4 personality registered for level 4
[    6.569986] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    6.569990] EDAC PPC4xx MC: v1.0.0
[    6.569993] EDAC PPC4xx MC: Reporting type: interrupt
[    6.570655] hidraw: raw HID events driver (C) Jiri Kosina
[    6.572018] usbcore: registered new interface driver usbhid
[    6.572020] usbhid: USB HID core driver
[    6.577720] no UART detected at 0x1
[    6.578465] usbcore: registered new interface driver snd-usb-audio
[    6.578575] usbcore: registered new interface driver snd-ua101
[    6.578688] usbcore: registered new interface driver snd-usb-usx2y
[    6.578860] ipip: IPv4 over IPv4 tunneling driver
[    6.580413] Initializing XFRM netlink socket
[    6.581574] NET: Registered protocol family 10
[    6.583379] sit: IPv6 over IPv4 tunneling driver
[    6.583983] NET: Registered protocol family 17
[    6.584005] NET: Registered protocol family 15
[    6.608677] Key type encrypted registered
[    6.609065] hctosys: unable to open rtc device (rtc0)
[    6.609308] ALSA device list:
[    6.609313]   #0: Virtual MIDI Card 1
[    7.221603] Waiting 10 sec before mounting root device...
[    7.241416] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    7.241422] usb 1-1.1: Product: USB 2.0 Hub
[    7.242101] hub 1-1.1:1.0: USB hub found
[    7.242288] hub 1-1.1:1.0: 4 ports detected
[    7.392187] usb 1-1.2: new low-speed USB device number 4 using ppc-of-ehci
[    7.507149] usb 1-1.2: New USB device found, idVendor=04f2, idProduct=0116
[    7.528211] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    7.549647] usb 1-1.2: Product: USB Keyboard
[    7.567750] usb 1-1.2: Manufacturer: CHICONY
[    7.592794] input: CHICONY USB Keyboard as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.2/1-1.2:1.0/0003:04F2:0116.0001/input/input0
[    7.671196] usb 1-1.1.1: new full-speed USB device number 5 using ppc-of-ehci
[    7.693808] hid-generic 0003:04F2:0116.0001: input,hidraw0: USB HID v1.10 Keyboard [CHICONY USB Keyboard] on usb-PPC-OF USB-1.2/input0
[    7.807400] usb 1-1.1.1: New USB device found, idVendor=0d8c, idProduct=000c
[    7.829724] usb 1-1.1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    7.852641] usb 1-1.1.1: Product: C-Media USB Audio Device   
[    7.897543] input: C-Media USB Audio Device    as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.1/1-1.1.1/1-1.1.1:1.3/0003:0D8C:000C.0002/input/input1
[    7.927721] usb 1-1.5: new high-speed USB device number 6 using ppc-of-ehci
[    8.002662] hid-generic 0003:0D8C:000C.0002: input,hidraw1: USB HID v1.00 Device [C-Media USB Audio Device   ] on usb-PPC-OF USB-1.1.1/input3
[    8.044261] usb 1-1.5: New USB device found, idVendor=0781, idProduct=5530
[    8.067927] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.092067] usb 1-1.5: Product: Cruzer
[    8.112629] usb 1-1.5: Manufacturer: SanDisk
[    8.133688] usb 1-1.5: SerialNumber: 200517373207B181D66A
[    8.156601] usb-storage 1-1.5:1.0: USB Mass Storage device detected
[    8.179893] scsi host1: usb-storage 1-1.5:1.0
[    8.274190] usb 1-1.6: new full-speed USB device number 7 using ppc-of-ehci
[    8.386988] usb 1-1.6: New USB device found, idVendor=046d, idProduct=c52b
[    8.411267] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    8.435933] usb 1-1.6: Product: USB Receiver
[    8.457385] usb 1-1.6: Manufacturer: Logitech
[    8.482586] input: Logitech USB Receiver as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.6/1-1.6:1.0/0003:046D:C52B.0003/input/input2
[    8.565341] hid-generic 0003:046D:C52B.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input0
[    8.602293] input: Logitech USB Receiver as /devices/platform/plb/4bffd0400.ehci/usb1/1-1/1-1.6/1-1.6:1.1/0003:046D:C52B.0004/input/input3
[    8.684721] hid-generic 0003:046D:C52B.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input1
[    8.721791] hid-generic 0003:046D:C52B.0005: hidraw4: USB HID v1.11 Device [Logitech USB Receiver] on usb-PPC-OF USB-1.6/input2
[    8.826187] usb 1-1.7: new high-speed USB device number 8 using ppc-of-ehci
[    8.944715] usb 1-1.7: New USB device found, idVendor=0424, idProduct=2240
[    8.971305] usb 1-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.998342] usb 1-1.7: Product: Ultra Fast Media 
[    9.022891] usb 1-1.7: Manufacturer: Generic
[    9.047130] usb 1-1.7: SerialNumber: 000000225001
[    9.072357] usb-storage 1-1.7:1.0: USB Mass Storage device detected
[    9.098648] scsi host2: usb-storage 1-1.7:1.0
[    9.204422] scsi 1:0:0:0: Direct-Access     SanDisk  Cruzer           1.20 PQ: 0 ANSI: 5
[    9.233951] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    9.260307] sd 1:0:0:0: [sdb] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    9.289710] sd 1:0:0:0: [sdb] Write Protect is off
[    9.315711] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    9.355380]  sdb: sdb1 sdb2 sdb3
[    9.383460] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[   10.124368] scsi 2:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   1.98 PQ: 0 ANSI: 0
[   10.154723] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   10.182700] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[   17.320229] md: Waiting for all devices to be available before autodetect
[   17.348105] md: If you don't use raid, use raid=noautodetect
[   17.375599] md: Autodetecting RAID arrays.
[   17.401015] md: Scanned 0 and added 0 devices.
[   17.426682] md: autorun ...
[   17.450558] md: ... autorun DONE.
[   17.476340] EXT4-fs (sdb2): couldn't mount as ext3 due to feature incompatibilities
[   17.506702] EXT4-fs (sdb2): couldn't mount as ext2 due to feature incompatibilities
[   17.538521] EXT4-fs (sdb2): INFO: recovery required on readonly filesystem
[   17.566553] EXT4-fs (sdb2): write access will be enabled during recovery
[   17.605249] EXT4-fs (sdb2): recovery complete
[   17.632470] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
[   17.661659] VFS: Mounted root (ext4 filesystem) readonly on device 8:18.
[   17.693567] devtmpfs: mounted
[   17.718490] Freeing unused kernel memory: 240K (c0afe000 - c0b3a000)
[   17.746442] This architecture does not have kernel memory protection.
[   18.080931] random: nonblocking pool is initialized
[   18.334276] systemd[1]: System time before build time, advancing clock.
[   18.448818] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[   18.489620] systemd[1]: Detected architecture ppc.
[   18.582866] systemd[1]: Set hostname to <Amigaone>.
[   19.501812] systemd[1]: Listening on udev Kernel Socket.
[   19.548344] systemd[1]: Reached target User and Group Name Lookups.
[   19.594553] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[   19.641852] systemd[1]: Reached target Swap.
[   19.686689] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   19.735524] systemd[1]: Listening on Syslog Socket.
[   19.781577] systemd[1]: Listening on udev Control Socket.
[   19.828332] systemd[1]: Listening on Journal Socket.
[   19.873676] systemd[1]: Created slice User and Session Slice.
[   19.937363] systemd[1]: Reached target Encrypted Volumes.
[   19.981301] systemd[1]: Listening on Journal Socket (/dev/log).
[   20.025368] systemd[1]: Created slice System Slice.
[   20.068157] systemd[1]: Reached target Slices.
[   20.112770] systemd[1]: Starting Braille Device Support...
[   20.177269] systemd[1]: Starting Uncomplicated firewall...
[   20.231055] systemd[1]: Started Read required files in advance.
[   20.292386] systemd[1]: Mounting POSIX Message Queue File System...
[   20.354044] systemd[1]: Starting Nameserver information manager...
[   20.413924] systemd[1]: Mounting Debug File System...
[   20.478260] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   20.565501] systemd[1]: Starting Load Kernel Modules...
[   20.638155] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   20.690550] systemd[1]: Reached target Remote File Systems (Pre).
[   20.737361] systemd[1]: Reached target Remote File Systems.
[   20.784018] systemd[1]: Created slice system-getty.slice.
[   20.832715] systemd[1]: Starting Create Static Device Nodes in /dev...
[   20.898690] systemd[1]: Starting Journal Service...
[   20.956698] systemd[1]: Listening on fsck to fsckd communication Socket.
[   21.025068] systemd[1]: Mounted Debug File System.
[   21.077076] systemd[1]: Mounted POSIX Message Queue File System.
[   21.140850] systemd[1]: brltty.service: Main process exited, code=exited, status=228/SECCOMP
[   21.198910] systemd[1]: Failed to start Braille Device Support.
[   21.336340] systemd[1]: brltty.service: Unit entered failed state.
[   21.389320] systemd[1]: brltty.service: Failed with result 'exit-code'.
[   21.447145] systemd[1]: Started Uncomplicated firewall.
[   21.501906] systemd[1]: ureadahead.service: Main process exited, code=exited, status=5/NOTINSTALLED
[   21.540607] systemd[1]: ureadahead.service: Unit entered failed state.
[   21.566963] systemd[1]: ureadahead.service: Failed with result 'exit-code'.
[   21.606548] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
[   21.648031] systemd[1]: Failed to start Load Kernel Modules.
[   21.714237] systemd[1]: systemd-modules-load.service: Unit entered failed state.
[   21.741561] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
[   21.770592] systemd[1]: Started Create Static Device Nodes in /dev.
[   21.820444] systemd[1]: Started Nameserver information manager.
[   21.897271] systemd[1]: Started Journal Service.

Ubuntu 16.04 LTS Amigaone ttyS0

Amigaone login: amigaone
Password: 
Last login: Thu Apr 21 15:09:20 AST 2016 on tty1
Welcome to Ubuntu 16.04 LTS (GNU/Linux 4.6.0-rc4-next-20160421-sam460ex-jm ppc)

 * Documentation:  https://help.ubuntu.com/

0 packages can be updated.
0 updates are security updates.

amigaone@Amigaone:~$ [  364.552919] dma dma0chan0:   desc: s0xbffd1400 d0x1d9de000 l0x0 c0x400:a0dc25
[  395.054815] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[  395.063023] ata1.00: failed command: READ FPDMA QUEUED
[  395.068856] ata1.00: cmd 60/08:00:80:5f:38/00:00:3a:00:00/40 tag 0 ncq 4096 in
[  395.068856]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[  395.084030] ata1.00: status: { DRDY }
[  396.168785] usb 1-1-port5: cannot reset (err = -110)
[  397.198774] usb 1-1-port5: cannot reset (err = -110)
[  398.228770] usb 1-1-port5: cannot reset (err = -110)
[  399.258768] usb 1-1-port5: cannot reset (err = -110)
[  400.288763] usb 1-1-port5: cannot reset (err = -110)
[  400.293764] usb 1-1-port5: Cannot enable. Maybe the USB cable is bad?
[  401.325746] usb 1-1-port5: cannot disable (err = -110)
[  402.355745] usb 1-1-port7: cannot reset (err = -110)
[  403.385741] usb 1-1-port7: cannot reset (err = -110)
[  404.415763] usb 1-1-port7: cannot reset (err = -110)
[  405.445725] usb 1-1-port7: cannot reset (err = -110)
[  406.475727] usb 1-1-port7: cannot reset (err = -110)
[  406.480727] usb 1-1-port7: Cannot enable. Maybe the USB cable is bad?
[  407.512692] usb 1-1-port7: cannot disable (err = -110)
[  408.542704] usb 1-1-port5: cannot reset (err = -110)
[  409.572685] usb 1-1-port5: cannot reset (err = -110)
[  410.602696] usb 1-1-port5: cannot reset (err = -110)
[  411.632672] usb 1-1-port5: cannot reset (err = -110)
[  412.662673] usb 1-1-port5: cannot reset (err = -110)
[  412.667672] usb 1-1-port5: Cannot enable. Maybe the USB cable is bad?
[  413.699653] usb 1-1-port5: cannot disable (err = -110)
[  414.729675] usb 1-1-port7: cannot reset (err = -110)
[  415.759648] usb 1-1-port7: cannot reset (err = -110)
[  416.789653] usb 1-1-port7: cannot reset (err = -110)
[  417.819629] usb 1-1-port7: cannot reset (err = -110)
[  418.849641] usb 1-1-port7: cannot reset (err = -110)
[  418.854642] usb 1-1-port7: Cannot enable. Maybe the USB cable is bad?
[  419.886615] usb 1-1-port7: cannot disable (err = -110)
[  420.916619] usb 1-1-port5: cannot reset (err = -110)
[  421.946599] usb 1-1-port5: cannot reset (err = -110)
[  422.976605] usb 1-1-port5: cannot reset (err = -110)
[  424.006585] usb 1-1-port5: cannot reset (err = -110)
[  425.036584] usb 1-1-port5: cannot reset (err = -110)
[  425.041575] usb 1-1-port5: Cannot enable. Maybe the USB cable is bad?
[  426.073561] usb 1-1-port5: cannot disable (err = -110)
[  426.094563] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[  426.102377] ata1.00: failed command: READ FPDMA QUEUED
[  426.108216] ata1.00: cmd 60/08:00:80:5f:38/00:00:3a:00:00/40 tag 0 ncq 4096 in
[  426.108216]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[  426.123408] ata1.00: status: { DRDY }
[  427.103557] usb 1-1-port7: cannot reset (err = -110)
[  428.133542] usb 1-1-port7: cannot reset (err = -110)
[  429.163535] usb 1-1-port7: cannot reset (err = -110)
[  430.193533] usb 1-1-port7: cannot reset (err = -110)
[  431.223523] usb 1-1-port7: cannot reset (err = -110)
[  431.228522] usb 1-1-port7: Cannot enable. Maybe the USB cable is bad?
[  432.260513] usb 1-1-port7: cannot disable (err = -110)
[  433.290508] usb 1-1-port5: cannot reset (err = -110)
[  434.320501] usb 1-1-port5: cannot reset (err = -110)
[  435.350492] usb 1-1-port5: cannot reset (err = -110)
[  436.380494] usb 1-1-port5: cannot reset (err = -110)
[  437.410477] usb 1-1-port5: cannot reset (err = -110)
[  437.415474] usb 1-1-port5: Cannot enable. Maybe the USB cable is bad?
[  438.447475] usb 1-1-port5: cannot disable (err = -110)
[  439.477462] usb 1-1-port7: cannot reset (err = -110)
[  439.482465] usb 1-1-port5: cannot disable (err = -110)
[  439.514468] blk_update_request: I/O error, dev sdb, sector 1819224
[  439.522430] Aborting journal on device sdb2-8.
[  439.585470] blk_update_request: I/O error, dev sdb, sector 8213352
[  439.653469] blk_update_request: I/O error, dev sdb, sector 9801112
[  439.661444] EXT4-fs (sdb2): Delayed block allocation failed for inode 45043 at logical offset 0 with max blocks 8 with error 5
[  439.673503] EXT4-fs (sdb2): This should not happen!! Data will be lost
[  439.673503] 
[  439.681868] EXT4-fs error (device sdb2) in ext4_writepages:2738: IO failure
[  439.865563] blk_update_request: I/O error, dev sdb, sector 206848
[  439.871698] Buffer I/O error on dev sdb2, logical block 0, lost sync page write
[  439.879238] EXT4-fs error (device sdb2): ext4_journal_check_start:56: Detected aborted journal[  439.920602] EXT4-fs (sdb2): Remounting filesystem read-only
[  439.950464] blk_update_request: I/O error, dev sdb, sector 9801408
[  439.950483] Buffer I/O error on device sdb2, logical block 1199320
[  439.979078] JBD2: Error -5 detected when updating journal superblock for sdb2-8.
[  439.979160] JBD2: Error -5 detected when updating journal superblock for sdb2-8.
[  439.979273] JBD2: Error -5 detected when updating journal superblock for sdb2-8.

[  440.507458] usb 1-1-port7: cannot reset (err = -110)
[  441.537482] usb 1-1-port7: cannot reset (err = -110)
[  441.957443] EXT4-fs error (device sdb2): ext4_find_entry:1456: inode #142293: comm caja: reading directory lblock 0
[  442.268607] EXT4-fs (sdb2): previous I/O error to superblock detected
[  442.567457] usb 1-1-port7: cannot reset (err = -110)
[  443.408525] systemd-gpt-auto-generator[5429]: /dev/sdb: failed to allocate prober: No medium found
[  443.597456] usb 1-1-port7: cannot reset (err = -110)
[  443.615403] usb 1-1-port7: Cannot enable. Maybe the USB cable is bad?
[  444.627444] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[  444.688425] usb 1-1-port7: cannot disable (err = -110)
[  445.125416] EXT4-fs error (device sdb2): ext4_find_entry:1456: inode #142419: comm tilda: reading directory lblock 0
[  445.211409] EXT4-fs (sdb2): previous I/O error to superblock detected
[  445.731674] usb 1-1-port7: cannot disable (err = -110)
[  445.744587] sd 2:0:0:0: timing out command, waited 60s
[  450.869372] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[  456.005328] hub 1-1:1.0: hub_ext_port_status failed (err = -110)
[  457.070320] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[  457.078131] ata1.00: failed command: READ FPDMA QUEUED
[  457.083693] ata1.00: cmd 60/08:00:80:5f:38/00:00:3a:00:00/40 tag 0 ncq 4096 in
[  457.083693]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[  457.098818] ata1.00: status: { DRDY }
[  488.046060] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[  488.055065] ata1.00: failed command: READ FPDMA QUEUED
[  488.060817] ata1.00: cmd 60/08:00:80:5f:38/00:00:3a:00:00/40 tag 0 ncq 4096 in
[  488.060817]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[  488.075893] ata1.00: status: { DRDY }
[  497.606246] sata-dwc 4bffd1000.sata: sata_dwc_error_intr SCR_ERROR=0x00020000 intpr=0x00000088 status=0x000000d0 dma_intp=187 pending=2 issued=1
[  497.620823] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x2

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

* Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again
  2016-04-23 15:44         ` Julian Margetson
@ 2016-04-23 19:41             ` Christian Lamparter
  0 siblings, 0 replies; 46+ messages in thread
From: Christian Lamparter @ 2016-04-23 19:41 UTC (permalink / raw)
  To: Julian Margetson
  Cc: Andy Shevchenko, Tejun Heo, linux-ide, Rob Herring, linuxppc-dev,
	linux-kernel, Måns Rullgård

On Saturday, April 23, 2016 11:44:09 AM Julian Margetson wrote:
> On 4/23/2016 8:02 AM, Julian Margetson wrote:
> > On 4/22/2016 7:06 AM, Christian Lamparter wrote:
> >> On Friday, April 22, 2016 06:50:44 AM Julian Margetson wrote:
> >>> On 4/21/2016 4:25 PM, Christian Lamparter wrote:
> >>>> On Thursday, April 21, 2016 09:15:21 PM Andy Shevchenko wrote:
> >>>>> The last approach in the commit 8b3444852a2b ("sata_dwc_460ex: 
> >>>>> move to generic
> >>>>> DMA driver") to switch to generic DMA engine API wasn't tested on 
> >>>>> bare metal.
> >>>>> Besides that we expecting new board support coming with the same 
> >>>>> SATA IP but
> >>>>> with different DMA.
> >>>>>
> >>>>> The driver has been tested myself on Sam460ex and WD MyBookLive 
> >>>>> (apollo3g)
> >>>>> boards. In any case I ask Christian, Måns, and Julian to 
> >>>>> independently test and
> >>>>> provide Tested-by tag or error report.
> >>>> I did a test run on my WD MyBook Live. I applied all the patches in
> >>>> this series on top of the topic/dw branch of Vinod Koul:
> >>>> <https://git.kernel.org/cgit/linux/kernel/git/vkoul/slave-dma.git/>
> >>>>
> >>>> Tested-by: Christian Lamparter<chunkeey@googlemail.com>
> >>>> ---
> >>>> results for my old ST3808110AS HDD. filesystem is ext4.
> >>>>
> >>>> # hdparm -t /dev/sda
> >>>>
> >>>> /dev/sda:
> >>>>    Timing buffered disk reads: 204 MB in  3.02 seconds = 67.51 MB/sec
> >>>>
> >>>> # bonnie++ -u mbl
> >>>> Using uid:1000, gid:1000.
> >>>> Writing a byte at a time...done
> >>>> Writing intelligently...done
> >>>> Rewriting...done
> >>>> Reading a byte at a time...done
> >>>> Reading intelligently...done
> >>>> start 'em...done...done...done...done...done...
> >>>> Create files in sequential order...done.
> >>>> Stat files in sequential order...done.
> >>>> Delete files in sequential order...done.
> >>>> Create files in random order...done.
> >>>> Stat files in random order...done.
> >>>> Delete files in random order...done.
> >>>> Version  1.97       ------Sequential Output------ --Sequential 
> >>>> Input- --Random-
> >>>> Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- 
> >>>> --Block-- --Seeks--
> >>>> Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec 
> >>>> %CP  /sec %CP
> >>>> mbl            496M    98  99 26011  21 17589  20   538  99 80138  
> >>>> 39 208.9   8
> >>>> Latency             95267us    1409ms     295ms   26947us 9644us    
> >>>> 1787ms
> >>>> Version  1.97       ------Sequential Create------ --------Random 
> >>>> Create--------
> >>>> mbl                 -Create-- --Read--- -Delete-- -Create-- 
> >>>> --Read--- -Delete--
> >>>>                 files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec 
> >>>> %CP  /sec %CP
> >>>>                    16  6959  78 +++++ +++  5197  40  7250 79 +++++ 
> >>>> +++  4718  37
> >>>> Latency               149ms    6742us     212ms 177ms     767us     
> >>>> 217ms
> >>>> 1.97,1.97,mbl,1,1461269771,496M,,98,99,26011,21,17589,20,538,99,80138,39,208.9,8,16,,,,,6959,78,+++++,+++,5197,40,7250,79,+++++,+++,4718,37,95267us,1409ms,295ms,26947us,9644us,1787ms,149ms,6742us,212ms,177ms,767us,217ms 
> >>>>
> >>>>
> >>> Again on copy partitions .
> >> Ok, here's the copy from my mail off-list.
> >>
> >> Well, a unrelated driver "m41t80" caused a crash:
> >> [   12.912739] Oops: Kernel access of bad area, sig: 11 [#3]
> >> [   12.912743] PREEMPT Canyonlands
> >> [   12.912753] CPU: 0 PID: 1413 Comm: irq/45-m41t80 Tainted: G      
> >> D         4.6.0-rc4-next-20160421-sam460ex-jm #1
> >> [   12.912757] task: ea9834e0 ti: eea6c000 task.ti: eea6c000
> >> [   12.912760] NIP: c0224480 LR: c0023494 CTR: c0042508
> >> [   12.912764] REGS: eea6daf0 TRAP: 0300   Tainted: G D          
> >> (4.6.0-rc4-next-20160421-sam460ex-jm)
> >> [   12.912774] MSR: 00029000 <CE,EE,ME>  CR: 24008282 XER: 00000000
> >> [   12.912825] DEAR: 00000008 ESR: 00000000
> >> [...]
> >> [   12.912927] --- interrupt: 300 at mutex_lock+0x0/0x1c
> >> [   12.912927]     LR = m41t80_handle_irq+0x28/0xac
> >> [   12.912932] [eea6de40] [00000000]   (null) (unreliable)
> >> [   12.912938] [eea6de60] [c004ffac] irq_thread_fn+0x2c/0x48
> >> [   12.912944] [eea6de80] [c00501cc] irq_thread+0xc4/0x160
> >> [   12.912951] [eea6ded0] [c003a3f8] kthread+0xc8/0xcc
> >> [   12.912957] [eea6df40] [c000aee8] ret_from_kernel_thread+0x5c/0x64
> >> [   12.912960] Instruction dump:
> >> [   12.912974] 80010014 7fc3f378 bbc10008 7c0803a6 38210010 4be24ca8 
> >> 9421ffd0 7c0802a6
> >> [   12.912987] bf210014 90010034 3b4302d8 812302ec <83890008> 
> >> 812302d8 7f9a4840 419e011c
> >> [   12.912995] Fixing recursive fault but reboot is needed!
> >>                   ^^^ "reboot is needed!"
> >>
> >> Another thing that came to my mind: Have you checked if your hard drive
> >> and the cables are ok? Are there any pending sectors or suspicious smart
> >> values? Has the drive passed the extended offline test?
> >>   Otherwise, I can't reproduce the error with my MyBook system. I've 
> >> tested
> >> your kernel and it worked on the device without crashing. (I 
> >> copied/dd'ed
> >> 80GB from and back to the hard-drive. It was long and boring, but I 
> >> didn't
> >> encounter any issues and the crc32 matched).
> >>
> >> Sorry, but I can't help you if I can't reproduce it... And short of 
> >> sending
> >> your box to test, I see no efficient way to debug it. However, what I 
> >> can
> >> do, if you are interested: I have a few "build your own" My Book Live 
> >> kits.
> >> It just needs a 3.5" hard-drive and 12v power adapter. If you are 
> >> interested
> >> PM me off-list, this way you can verify that the kernels you build do 
> >> work,
> >> just in case this error is due to a hardware issue (zapped controller,
> >> bad ram/drive/cable?) with your sam460ex box.
> >>
> >> Regards,
> >> Christian
> >>
> >>
> > My Hardware seems ok.
> > I have swapped cables and drives between the SII3512 pci controller 
> > and the DWC controller.
> > No issues when connected to the SII3512 pci controller .
> > The DWC controller works ok under AmigaOS 4.1FE so that does not 
> > appear to be a problem.
> >
> > Regards
> > Julian
> >
> >
> >
> >
> >
> >
> Test with kernel compiled with no other sata controllers included.
> Freshly formatted harddrive  with one ntfs partition. MS-DOs partition 
> table.
> Booted from USB thumb drive.
> Keyboard and mouse freeze as soon as gparted is run.
> 

Well, then. Have you checked for any errata for the sam460ex?
There's a known errata for the 460EX, with the CPU lockup upon
high AHB traffic:
<http://lists.denx.de/pipermail/u-boot/2008-June/036078.html> 

"This patch implements a fix provided by AMCC so that the lockup upon
simultanious traffic on AHB USB OTG, USB 2.0 and SATA doesn't occur
anymore:..."

This should be fixed by u-boot. However, there's no telling if
there's more to this workaround in the dma engine. You could try
to do the testing without anything connected to the USB ports 
and disable/remove all usb hcds modules. As for fixing this:
I did a quick search but couldn't find any public information. 
There's always support@apm.com (contact them!), or maybe someone
from the Amiga community knows more?

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

* Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again
@ 2016-04-23 19:41             ` Christian Lamparter
  0 siblings, 0 replies; 46+ messages in thread
From: Christian Lamparter @ 2016-04-23 19:41 UTC (permalink / raw)
  To: Julian Margetson
  Cc: Andy Shevchenko, Tejun Heo, linux-ide, Rob Herring, linuxppc-dev,
	linux-kernel, Måns Rullgård

On Saturday, April 23, 2016 11:44:09 AM Julian Margetson wrote:
> On 4/23/2016 8:02 AM, Julian Margetson wrote:
> > On 4/22/2016 7:06 AM, Christian Lamparter wrote:
> >> On Friday, April 22, 2016 06:50:44 AM Julian Margetson wrote:
> >>> On 4/21/2016 4:25 PM, Christian Lamparter wrote:
> >>>> On Thursday, April 21, 2016 09:15:21 PM Andy Shevchenko wrote:
> >>>>> The last approach in the commit 8b3444852a2b ("sata_dwc_460ex:=20=

> >>>>> move to generic
> >>>>> DMA driver") to switch to generic DMA engine API wasn't tested =
on=20
> >>>>> bare metal.
> >>>>> Besides that we expecting new board support coming with the sam=
e=20
> >>>>> SATA IP but
> >>>>> with different DMA.
> >>>>>
> >>>>> The driver has been tested myself on Sam460ex and WD MyBookLive=
=20
> >>>>> (apollo3g)
> >>>>> boards. In any case I ask Christian, M=E5ns, and Julian to=20
> >>>>> independently test and
> >>>>> provide Tested-by tag or error report.
> >>>> I did a test run on my WD MyBook Live. I applied all the patches=
 in
> >>>> this series on top of the topic/dw branch of Vinod Koul:
> >>>> <https://git.kernel.org/cgit/linux/kernel/git/vkoul/slave-dma.gi=
t/>
> >>>>
> >>>> Tested-by: Christian Lamparter<chunkeey@googlemail.com>
> >>>> ---
> >>>> results for my old ST3808110AS HDD. filesystem is ext4.
> >>>>
> >>>> # hdparm -t /dev/sda
> >>>>
> >>>> /dev/sda:
> >>>>    Timing buffered disk reads: 204 MB in  3.02 seconds =3D 67.51=
 MB/sec
> >>>>
> >>>> # bonnie++ -u mbl
> >>>> Using uid:1000, gid:1000.
> >>>> Writing a byte at a time...done
> >>>> Writing intelligently...done
> >>>> Rewriting...done
> >>>> Reading a byte at a time...done
> >>>> Reading intelligently...done
> >>>> start 'em...done...done...done...done...done...
> >>>> Create files in sequential order...done.
> >>>> Stat files in sequential order...done.
> >>>> Delete files in sequential order...done.
> >>>> Create files in random order...done.
> >>>> Stat files in random order...done.
> >>>> Delete files in random order...done.
> >>>> Version  1.97       ------Sequential Output------ --Sequential=20=

> >>>> Input- --Random-
> >>>> Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr-=20
> >>>> --Block-- --Seeks--
> >>>> Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/se=
c=20
> >>>> %CP  /sec %CP
> >>>> mbl            496M    98  99 26011  21 17589  20   538  99 8013=
8 =20
> >>>> 39 208.9   8
> >>>> Latency             95267us    1409ms     295ms   26947us 9644us=
   =20
> >>>> 1787ms
> >>>> Version  1.97       ------Sequential Create------ --------Random=
=20
> >>>> Create--------
> >>>> mbl                 -Create-- --Read--- -Delete-- -Create--=20
> >>>> --Read--- -Delete--
> >>>>                 files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /=
sec=20
> >>>> %CP  /sec %CP
> >>>>                    16  6959  78 +++++ +++  5197  40  7250 79 +++=
++=20
> >>>> +++  4718  37
> >>>> Latency               149ms    6742us     212ms 177ms     767us =
   =20
> >>>> 217ms
> >>>> 1.97,1.97,mbl,1,1461269771,496M,,98,99,26011,21,17589,20,538,99,=
80138,39,208.9,8,16,,,,,6959,78,+++++,+++,5197,40,7250,79,+++++,+++,471=
8,37,95267us,1409ms,295ms,26947us,9644us,1787ms,149ms,6742us,212ms,177m=
s,767us,217ms=20
> >>>>
> >>>>
> >>> Again on copy partitions .
> >> Ok, here's the copy from my mail off-list.
> >>
> >> Well, a unrelated driver "m41t80" caused a crash:
> >> [   12.912739] Oops: Kernel access of bad area, sig: 11 [#3]
> >> [   12.912743] PREEMPT Canyonlands
> >> [   12.912753] CPU: 0 PID: 1413 Comm: irq/45-m41t80 Tainted: G    =
 =20
> >> D         4.6.0-rc4-next-20160421-sam460ex-jm #1
> >> [   12.912757] task: ea9834e0 ti: eea6c000 task.ti: eea6c000
> >> [   12.912760] NIP: c0224480 LR: c0023494 CTR: c0042508
> >> [   12.912764] REGS: eea6daf0 TRAP: 0300   Tainted: G D         =20=

> >> (4.6.0-rc4-next-20160421-sam460ex-jm)
> >> [   12.912774] MSR: 00029000 <CE,EE,ME>  CR: 24008282 XER: 0000000=
0
> >> [   12.912825] DEAR: 00000008 ESR: 00000000
> >> [...]
> >> [   12.912927] --- interrupt: 300 at mutex_lock+0x0/0x1c
> >> [   12.912927]     LR =3D m41t80_handle_irq+0x28/0xac
> >> [   12.912932] [eea6de40] [00000000]   (null) (unreliable)
> >> [   12.912938] [eea6de60] [c004ffac] irq_thread_fn+0x2c/0x48
> >> [   12.912944] [eea6de80] [c00501cc] irq_thread+0xc4/0x160
> >> [   12.912951] [eea6ded0] [c003a3f8] kthread+0xc8/0xcc
> >> [   12.912957] [eea6df40] [c000aee8] ret_from_kernel_thread+0x5c/0=
x64
> >> [   12.912960] Instruction dump:
> >> [   12.912974] 80010014 7fc3f378 bbc10008 7c0803a6 38210010 4be24c=
a8=20
> >> 9421ffd0 7c0802a6
> >> [   12.912987] bf210014 90010034 3b4302d8 812302ec <83890008>=20
> >> 812302d8 7f9a4840 419e011c
> >> [   12.912995] Fixing recursive fault but reboot is needed!
> >>                   ^^^ "reboot is needed!"
> >>
> >> Another thing that came to my mind: Have you checked if your hard =
drive
> >> and the cables are ok? Are there any pending sectors or suspicious=
 smart
> >> values? Has the drive passed the extended offline test?
> >>   Otherwise, I can't reproduce the error with my MyBook system. I'=
ve=20
> >> tested
> >> your kernel and it worked on the device without crashing. (I=20
> >> copied/dd'ed
> >> 80GB from and back to the hard-drive. It was long and boring, but =
I=20
> >> didn't
> >> encounter any issues and the crc32 matched).
> >>
> >> Sorry, but I can't help you if I can't reproduce it... And short o=
f=20
> >> sending
> >> your box to test, I see no efficient way to debug it. However, wha=
t I=20
> >> can
> >> do, if you are interested: I have a few "build your own" My Book L=
ive=20
> >> kits.
> >> It just needs a 3.5" hard-drive and 12v power adapter. If you are=20=

> >> interested
> >> PM me off-list, this way you can verify that the kernels you build=
 do=20
> >> work,
> >> just in case this error is due to a hardware issue (zapped control=
ler,
> >> bad ram/drive/cable?) with your sam460ex box.
> >>
> >> Regards,
> >> Christian
> >>
> >>
> > My Hardware seems ok.
> > I have swapped cables and drives between the SII3512 pci controller=
=20
> > and the DWC controller.
> > No issues when connected to the SII3512 pci controller .
> > The DWC controller works ok under AmigaOS 4.1FE so that does not=20=

> > appear to be a problem.
> >
> > Regards
> > Julian
> >
> >
> >
> >
> >
> >
> Test with kernel compiled with no other sata controllers included.
> Freshly formatted harddrive  with one ntfs partition. MS-DOs partitio=
n=20
> table.
> Booted from USB thumb drive.
> Keyboard and mouse freeze as soon as gparted is run.
>=20

Well, then. Have you checked for any errata for the sam460ex?
There's a known errata for the 460EX, with the CPU lockup upon
high AHB traffic:
<http://lists.denx.de/pipermail/u-boot/2008-June/036078.html>=20

"This patch implements a fix provided by AMCC so that the lockup upon
simultanious traffic on AHB USB OTG, USB 2.0 and SATA doesn't occur
anymore:..."

This should be fixed by u-boot. However, there's no telling if
there's more to this workaround in the dma engine. You could try
to do the testing without anything connected to the USB ports=20
and disable/remove all usb hcds modules. As for fixing this:
I did a quick search but couldn't find any public information.=20
There's always support@apm.com (contact them!), or maybe someone
from the Amiga community knows more?

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

* Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again
  2016-04-23 19:41             ` Christian Lamparter
  (?)
@ 2016-04-24 13:05             ` Julian Margetson
  2016-04-24 15:21               ` Christian Lamparter
  -1 siblings, 1 reply; 46+ messages in thread
From: Julian Margetson @ 2016-04-24 13:05 UTC (permalink / raw)
  To: Christian Lamparter
  Cc: Andy Shevchenko, Tejun Heo, linux-ide, Rob Herring, linuxppc-dev,
	linux-kernel, Måns Rullgård

On 4/23/2016 3:41 PM, Christian Lamparter wrote:
> On Saturday, April 23, 2016 11:44:09 AM Julian Margetson wrote:
>> On 4/23/2016 8:02 AM, Julian Margetson wrote:
>>> On 4/22/2016 7:06 AM, Christian Lamparter wrote:
>>>> On Friday, April 22, 2016 06:50:44 AM Julian Margetson wrote:
>>>>> On 4/21/2016 4:25 PM, Christian Lamparter wrote:
>>>>>> On Thursday, April 21, 2016 09:15:21 PM Andy Shevchenko wrote:
>>>>>>> The last approach in the commit 8b3444852a2b ("sata_dwc_460ex:
>>>>>>> move to generic
>>>>>>> DMA driver") to switch to generic DMA engine API wasn't tested on
>>>>>>> bare metal.
>>>>>>> Besides that we expecting new board support coming with the same
>>>>>>> SATA IP but
>>>>>>> with different DMA.
>>>>>>>
>>>>>>> The driver has been tested myself on Sam460ex and WD MyBookLive
>>>>>>> (apollo3g)
>>>>>>> boards. In any case I ask Christian, Måns, and Julian to
>>>>>>> independently test and
>>>>>>> provide Tested-by tag or error report.
>>>>>> I did a test run on my WD MyBook Live. I applied all the patches in
>>>>>> this series on top of the topic/dw branch of Vinod Koul:
>>>>>> <https://git.kernel.org/cgit/linux/kernel/git/vkoul/slave-dma.git/>
>>>>>>
>>>>>> Tested-by: Christian Lamparter<chunkeey@googlemail.com>
>>>>>> ---
>>>>>> results for my old ST3808110AS HDD. filesystem is ext4.
>>>>>>
>>>>>> # hdparm -t /dev/sda
>>>>>>
>>>>>> /dev/sda:
>>>>>>     Timing buffered disk reads: 204 MB in  3.02 seconds = 67.51 MB/sec
>>>>>>
>>>>>> # bonnie++ -u mbl
>>>>>> Using uid:1000, gid:1000.
>>>>>> Writing a byte at a time...done
>>>>>> Writing intelligently...done
>>>>>> Rewriting...done
>>>>>> Reading a byte at a time...done
>>>>>> Reading intelligently...done
>>>>>> start 'em...done...done...done...done...done...
>>>>>> Create files in sequential order...done.
>>>>>> Stat files in sequential order...done.
>>>>>> Delete files in sequential order...done.
>>>>>> Create files in random order...done.
>>>>>> Stat files in random order...done.
>>>>>> Delete files in random order...done.
>>>>>> Version  1.97       ------Sequential Output------ --Sequential
>>>>>> Input- --Random-
>>>>>> Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr-
>>>>>> --Block-- --Seeks--
>>>>>> Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec
>>>>>> %CP  /sec %CP
>>>>>> mbl            496M    98  99 26011  21 17589  20   538  99 80138
>>>>>> 39 208.9   8
>>>>>> Latency             95267us    1409ms     295ms   26947us 9644us
>>>>>> 1787ms
>>>>>> Version  1.97       ------Sequential Create------ --------Random
>>>>>> Create--------
>>>>>> mbl                 -Create-- --Read--- -Delete-- -Create--
>>>>>> --Read--- -Delete--
>>>>>>                  files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec
>>>>>> %CP  /sec %CP
>>>>>>                     16  6959  78 +++++ +++  5197  40  7250 79 +++++
>>>>>> +++  4718  37
>>>>>> Latency               149ms    6742us     212ms 177ms     767us
>>>>>> 217ms
>>>>>> 1.97,1.97,mbl,1,1461269771,496M,,98,99,26011,21,17589,20,538,99,80138,39,208.9,8,16,,,,,6959,78,+++++,+++,5197,40,7250,79,+++++,+++,4718,37,95267us,1409ms,295ms,26947us,9644us,1787ms,149ms,6742us,212ms,177ms,767us,217ms
>>>>>>
>>>>>>
>>>>> Again on copy partitions .
>>>> Ok, here's the copy from my mail off-list.
>>>>
>>>> Well, a unrelated driver "m41t80" caused a crash:
>>>> [   12.912739] Oops: Kernel access of bad area, sig: 11 [#3]
>>>> [   12.912743] PREEMPT Canyonlands
>>>> [   12.912753] CPU: 0 PID: 1413 Comm: irq/45-m41t80 Tainted: G
>>>> D         4.6.0-rc4-next-20160421-sam460ex-jm #1
>>>> [   12.912757] task: ea9834e0 ti: eea6c000 task.ti: eea6c000
>>>> [   12.912760] NIP: c0224480 LR: c0023494 CTR: c0042508
>>>> [   12.912764] REGS: eea6daf0 TRAP: 0300   Tainted: G D
>>>> (4.6.0-rc4-next-20160421-sam460ex-jm)
>>>> [   12.912774] MSR: 00029000 <CE,EE,ME>  CR: 24008282 XER: 00000000
>>>> [   12.912825] DEAR: 00000008 ESR: 00000000
>>>> [...]
>>>> [   12.912927] --- interrupt: 300 at mutex_lock+0x0/0x1c
>>>> [   12.912927]     LR = m41t80_handle_irq+0x28/0xac
>>>> [   12.912932] [eea6de40] [00000000]   (null) (unreliable)
>>>> [   12.912938] [eea6de60] [c004ffac] irq_thread_fn+0x2c/0x48
>>>> [   12.912944] [eea6de80] [c00501cc] irq_thread+0xc4/0x160
>>>> [   12.912951] [eea6ded0] [c003a3f8] kthread+0xc8/0xcc
>>>> [   12.912957] [eea6df40] [c000aee8] ret_from_kernel_thread+0x5c/0x64
>>>> [   12.912960] Instruction dump:
>>>> [   12.912974] 80010014 7fc3f378 bbc10008 7c0803a6 38210010 4be24ca8
>>>> 9421ffd0 7c0802a6
>>>> [   12.912987] bf210014 90010034 3b4302d8 812302ec <83890008>
>>>> 812302d8 7f9a4840 419e011c
>>>> [   12.912995] Fixing recursive fault but reboot is needed!
>>>>                    ^^^ "reboot is needed!"
>>>>
>>>> Another thing that came to my mind: Have you checked if your hard drive
>>>> and the cables are ok? Are there any pending sectors or suspicious smart
>>>> values? Has the drive passed the extended offline test?
>>>>    Otherwise, I can't reproduce the error with my MyBook system. I've
>>>> tested
>>>> your kernel and it worked on the device without crashing. (I
>>>> copied/dd'ed
>>>> 80GB from and back to the hard-drive. It was long and boring, but I
>>>> didn't
>>>> encounter any issues and the crc32 matched).
>>>>
>>>> Sorry, but I can't help you if I can't reproduce it... And short of
>>>> sending
>>>> your box to test, I see no efficient way to debug it. However, what I
>>>> can
>>>> do, if you are interested: I have a few "build your own" My Book Live
>>>> kits.
>>>> It just needs a 3.5" hard-drive and 12v power adapter. If you are
>>>> interested
>>>> PM me off-list, this way you can verify that the kernels you build do
>>>> work,
>>>> just in case this error is due to a hardware issue (zapped controller,
>>>> bad ram/drive/cable?) with your sam460ex box.
>>>>
>>>> Regards,
>>>> Christian
>>>>
>>>>
>>> My Hardware seems ok.
>>> I have swapped cables and drives between the SII3512 pci controller
>>> and the DWC controller.
>>> No issues when connected to the SII3512 pci controller .
>>> The DWC controller works ok under AmigaOS 4.1FE so that does not
>>> appear to be a problem.
>>>
>>> Regards
>>> Julian
>>>
>>>
>>>
>>>
>>>
>>>
>> Test with kernel compiled with no other sata controllers included.
>> Freshly formatted harddrive  with one ntfs partition. MS-DOs partition
>> table.
>> Booted from USB thumb drive.
>> Keyboard and mouse freeze as soon as gparted is run.
>>
> Well, then. Have you checked for any errata for the sam460ex?
> There's a known errata for the 460EX, with the CPU lockup upon
> high AHB traffic:
> <http://lists.denx.de/pipermail/u-boot/2008-June/036078.html>
>
> "This patch implements a fix provided by AMCC so that the lockup upon
> simultanious traffic on AHB USB OTG, USB 2.0 and SATA doesn't occur
> anymore:..."
>
> This should be fixed by u-boot. However, there's no telling if
> there's more to this workaround in the dma engine. You could try
> to do the testing without anything connected to the USB ports
> and disable/remove all usb hcds modules. As for fixing this:
> I did a quick search but couldn't find any public information.
> There's always support@apm.com (contact them!), or maybe someone
> from the Amiga community knows more?
>
>

Tested with kernel with all USB disabled.
No sata error messages during the partition copy  but the copying is 
quite slow .
so this does appear to be the problem .

Regards
Julian



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

* Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again
  2016-04-24 13:05             ` Julian Margetson
@ 2016-04-24 15:21               ` Christian Lamparter
  2016-04-24 17:51                 ` Julian Margetson
  0 siblings, 1 reply; 46+ messages in thread
From: Christian Lamparter @ 2016-04-24 15:21 UTC (permalink / raw)
  To: Julian Margetson
  Cc: Andy Shevchenko, Tejun Heo, linux-ide, Rob Herring, linuxppc-dev,
	linux-kernel, Måns Rullgård

On Sunday, April 24, 2016 09:05:43 AM Julian Margetson wrote:
> On 4/23/2016 3:41 PM, Christian Lamparter wrote:
> > There's a known errata for the 460EX, with the CPU lockup upon
> > high AHB traffic:
> > <http://lists.denx.de/pipermail/u-boot/2008-June/036078.html>
> >
> > "This patch implements a fix provided by AMCC so that the lockup upon
> > simultanious traffic on AHB USB OTG, USB 2.0 and SATA doesn't occur
> > anymore:..."
> >
> > This should be fixed by u-boot. However, there's no telling if
> > there's more to this workaround in the dma engine. You could try
> > to do the testing without anything connected to the USB ports
> > and disable/remove all usb hcds modules. As for fixing this:
> > I did a quick search but couldn't find any public information.
> > There's always support@apm.com (contact them!), or maybe someone
> > from the Amiga community knows more?
> >
> >
> 
> Tested with kernel with all USB disabled. No sata error messages 
> during the partition copy but the copying is quite slow.
Ok. The CONFIG_DMADEVICES_DEBUG and CONFIG_DMADEVICES_VDEBUG option
have quite a large overhead, if this fixed the issue for now you
could try to disable them and look if the issue comes back or not.
(also, you can drop the mdelay patch if it's still applied). If
the issue doesn't come back, you could add your "Tested-by" tag
too.

Another thing, the sata dwc driver doesn't yet support NCQ. Do you
know if the driver for the Amiga OS does?

> so this does appear to be the problem.
So, how to fix this? I know, there's an AHB DMA Arbiter. But I can't
get any documentation for it from AMCC/APM. Maybe denx.de or someone
from the Amiga community knows how to deal with it. In theory, we 
could try if limiting the burst length, pending dma request count or
add code to retry failed dma transfers and reinit the usb-cores would
help.

Regards,
Christian

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

* Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again
  2016-04-24 15:21               ` Christian Lamparter
@ 2016-04-24 17:51                 ` Julian Margetson
  0 siblings, 0 replies; 46+ messages in thread
From: Julian Margetson @ 2016-04-24 17:51 UTC (permalink / raw)
  To: Christian Lamparter
  Cc: Andy Shevchenko, Tejun Heo, linux-ide, Rob Herring, linuxppc-dev,
	linux-kernel, Måns Rullgård

On 4/24/2016 11:21 AM, Christian Lamparter wrote:
> On Sunday, April 24, 2016 09:05:43 AM Julian Margetson wrote:
>> On 4/23/2016 3:41 PM, Christian Lamparter wrote:
>>> There's a known errata for the 460EX, with the CPU lockup upon
>>> high AHB traffic:
>>> <http://lists.denx.de/pipermail/u-boot/2008-June/036078.html>
>>>
>>> "This patch implements a fix provided by AMCC so that the lockup upon
>>> simultanious traffic on AHB USB OTG, USB 2.0 and SATA doesn't occur
>>> anymore:..."
>>>
>>> This should be fixed by u-boot. However, there's no telling if
>>> there's more to this workaround in the dma engine. You could try
>>> to do the testing without anything connected to the USB ports
>>> and disable/remove all usb hcds modules. As for fixing this:
>>> I did a quick search but couldn't find any public information.
>>> There's always support@apm.com (contact them!), or maybe someone
>>> from the Amiga community knows more?
>>>
>>>
>> Tested with kernel with all USB disabled. No sata error messages
>> during the partition copy but the copying is quite slow.
> Ok. The CONFIG_DMADEVICES_DEBUG and CONFIG_DMADEVICES_VDEBUG option
> have quite a large overhead, if this fixed the issue for now you
> could try to disable them and look if the issue comes back or not.
> (also, you can drop the mdelay patch if it's still applied). If
> the issue doesn't come back, you could add your "Tested-by" tag
> too.
>
> Another thing, the sata dwc driver doesn't yet support NCQ. Do you
> know if the driver for the Amiga OS does?
>
>> so this does appear to be the problem.
> So, how to fix this? I know, there's an AHB DMA Arbiter. But I can't
> get any documentation for it from AMCC/APM. Maybe denx.de or someone
> from the Amiga community knows how to deal with it. In theory, we
> could try if limiting the burst length, pending dma request count or
> add code to retry failed dma transfers and reinit the usb-cores would
> help.
>
> Regards,
> Christian
>
>
Disabled

CONFIG_DMADEVICES_DEBUG and CONFIG_DMADEVICES_VDEBUG

Still see issues with the USB enabled.
With USB also disabled I was able to finish the partition copy. But 
again it is very slow.

(parted) mklabel msdos
Warning: The existing disk label on /dev/sda will be destroyed and all 
data on
this disk will be lost. Do you want to continue?
Yes/No? y
(parted) p
Model: ATA WDC WD5000AAKX-0 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start  End  Size  Type  File system  Flags

(parted) q
Information: You may need to update /etc/fstab.

root@Amigaone:/home/amigaone# dd if=/dev/sdb6 of=/dev/sda
43597824+0 records in
43597824+0 records out
22322085888 bytes (22 GB, 21 GiB) copied, 2825.93 s, 7.9 MB/s

Regards
Julian




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

end of thread, other threads:[~2016-04-24 17:52 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-21 18:15 [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 01/23] ata: sata_dwc_460ex: remove incorrect locking Andy Shevchenko
2016-04-21 18:15   ` Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 02/23] ata: sata_dwc_460ex: fix crash on offline links without an attached drive Andy Shevchenko
2016-04-21 18:15   ` Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 03/23] ata: sata_dwc_460ex: set dma_boundary to 0x1fff Andy Shevchenko
2016-04-22 13:13   ` Sergei Shtylyov
2016-04-21 18:15 ` [PATCH v1 04/23] ata: sata_dwc_460ex: burst size must be in items not bytes Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 05/23] ata: sata_dwc_460ex: DMA is always a flow controller Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 06/23] ata: sata_dwc_460ex: select only core part of DMA driver Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 07/23] ata: sata_dwc_460ex: skip dma setup for non-dma commands Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 08/23] ata: sata_dwc_460ex: don't call ata_sff_qc_issue() on DMA commands Andy Shevchenko
2016-04-22 11:32   ` David Laight
2016-04-22 11:32     ` David Laight
2016-04-22 11:44     ` Christian Lamparter
2016-04-21 18:15 ` [PATCH v1 09/23] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 10/23] ata: sata_dwc_460ex: add phy support Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 11/23] ata: sata_dwc_460ex: get rid of global data Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 12/23] ata: sata_dwc_460ex: correct HOSTDEV{P}_FROM_*() macros Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 13/23] ata: sata_dwc_460ex: remove empty libata callback Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 14/23] ata: sata_dwc_460ex: get rid of some pointless casts Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 15/23] ata: sata_dwc_460ex: get rid of incorrect cast Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 16/23] ata: sata_dwc_460ex: add __iomem to register base pointer Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 17/23] ata: sata_dwc_460ex: supply physical address of FIFO to DMA Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 18/23] ata: sata_dwc_460ex: switch to new dmaengine_terminate_* API Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 19/23] ata: sata_dwc_460ex: use readl/writel_relaxed() Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 20/23] ata: sata_dwc_460ex: tidy up sata_dwc_clear_dmacr() Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 21/23] ata: sata_dwc_460ex: use devm_ioremap Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 22/23] ata: sata_dwc_460ex: make debug messages neat Andy Shevchenko
2016-04-21 18:15 ` [PATCH v1 23/23] powerpc/4xx: Device tree update for the 460ex DWC SATA Andy Shevchenko
2016-04-21 19:59   ` Rob Herring
2016-04-21 20:25 ` [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again Christian Lamparter
2016-04-21 20:25   ` Christian Lamparter
2016-04-22 10:50   ` Julian Margetson
2016-04-22 10:50     ` Julian Margetson
2016-04-22 11:06     ` Christian Lamparter via Linuxppc-dev
2016-04-22 11:06       ` Christian Lamparter
2016-04-22 11:06       ` Christian Lamparter
2016-04-23 12:02       ` Julian Margetson
2016-04-23 15:44         ` Julian Margetson
2016-04-23 19:41           ` Christian Lamparter
2016-04-23 19:41             ` Christian Lamparter
2016-04-24 13:05             ` Julian Margetson
2016-04-24 15:21               ` Christian Lamparter
2016-04-24 17:51                 ` Julian Margetson
2016-04-23 15:44         ` Julian Margetson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.