From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964897AbbLRO2F (ORCPT ); Fri, 18 Dec 2015 09:28:05 -0500 Received: from unicorn.mansr.com ([81.2.72.234]:47938 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933244AbbLRO2B convert rfc822-to-8bit (ORCPT ); Fri, 18 Dec 2015 09:28:01 -0500 From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Julian Margetson Cc: Andy Shevchenko , Tejun Heo , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel References: <1450221935-6034-1-git-send-email-mans@mansr.com> <1450364395.30729.136.camel@linux.intel.com> <1450367702.30729.146.camel@linux.intel.com> <1450371184.30729.175.camel@linux.intel.com> <5672F77F.4010306@candw.ms> <567302E8.5050303@candw.ms> <5673061A.4070700@candw.ms> <56732C04.9040100@candw.ms> <5673F277.2050607@candw.ms> <5673FD36.4050502@candw.ms> <56740F9F.5020500@candw.ms> Date: Fri, 18 Dec 2015 14:27:52 +0000 In-Reply-To: <56740F9F.5020500@candw.ms> (Julian Margetson's message of "Fri, 18 Dec 2015 09:52:31 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Julian Margetson writes: > On 12/18/2015 8:45 AM, Måns Rullgård wrote: >> Julian Margetson writes: >> >>>>> Builds now. Using my own .config. >>>> What changed? >>> I may have messed up the patch initially . >> Probably. Let's pretend it never happened. >> >>>>> [ 4.784199] sata-dwc 4bffd1000.sata: id 0, controller version 1.82 >>>>> [ 4.791186] scsi host0: sata-dwc >>>>> [ 4.794830] ata1: SATA max UDMA/133 irq 36 >>>>> [ 4.799463] sata_sil 0001:00:04.0: Applying R_ERR on DMA activate FIS errata fix >>>>> [ 4.807959] scsi host1: sata_sil >>>>> [ 4.811662] scsi host2: sata_sil >>>>> [ 4.815242] ata2: SATA max UDMA/100 mmio m512@0xd84280000 tf 0xd84280080 irq 21 >>>>> [ 4.822990] ata3: SATA max UDMA/100 mmio m512@0xd84280000 tf 0xd842800c0 irq 21 >>>>> >>>>> [ 5.143502] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) >>>>> [ 5.164367] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310) >>>>> [ 5.185174] ppc-of-ohci 4bffd0000.usb: irq 32, io mem 0x4bffd0000 >>>>> [ 5.206125] Unable to handle kernel paging request for data at address 0x00000000 >>>>> [ 5.228546] Faulting instruction address: 0xc043a2c8 >>>>> [ 5.248577] Vector: 300 (Data Access) at [eddafae0] >>>>> [ 5.268658] pc: c043a2c8: sata_dwc_qc_issue+0xb8/0x204 >>>> Well, that's not good. Can you translate that address to a line of code? >>>> >>> need some guidance on method . >> Enable CONFIG_DEBUG_INFO, then use this command: >> >> $ addr2line -e vmlinux 0xc043a2c8 >> >> Obviously substitute the actual crashing address if it changes. >> > addr2line -e vmlinux 0xc044b41c > arch/powerpc/lib/copy_32.S:? There's obviously a mismatch somewhere since we know that sata_dwc_qc_issue isn't in copy_32.S. Please post the full crash report you got this address from. -- Måns Rullgård