linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frans Pop <elendil@planet.nl>
To: Mark Lord <liml@rtr.ca>
Cc: Martin Michlmayr <tbm@cyrius.com>,
	linux-ide@vger.kernel.org, nico@cam.org, buytenh@wantstofly.org,
	Byron Bradley <byron.bbradley@gmail.com>
Subject: Re: sata_mv on Orion: mv_err_intr when shutting down
Date: Fri, 13 Jun 2008 18:12:36 +0200	[thread overview]
Message-ID: <200806131812.38055.elendil@planet.nl> (raw)
In-Reply-To: <48526B44.4060600@rtr.ca>

Hello Mark,

Martin forwarded your mail to me as I'm seeing the same/similar issue on
my QNAP TS-109 running arm 2.6.26-rc6 (old ABI).

On Friday 13 June 2008, Mark Lord wrote:
> Mmm.. I don't know how this can happen, even if it does happen.
> Unless perhaps the plaform code doesn't do a (driver).remove() call,
> which is where we disable the interrupt you see above.
>
> This *is* a "platform" (non-PCI) device, right?

With your debug patch included, I get on boot:

console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 4) is a 16550A
brd: module loaded
Driver 'sd' needs updating - please use bus_type methods
mv_platform_probe(c02ec910)
sata_mv sata_mv.0: version 1.24
sata_mv sata_mv.0: slots 32 ports 2
scsi0 : sata_mv
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 29
ata2: SATA max UDMA/133 irq 29
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATA-7: HDT722516DLA380, V43OA91A, max UDMA/133
ata1.00: 321672960 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
ata2: SATA link down (SStatus 0 SControl 300)
scsi 0:0:0:0: Direct-Access     ATA      HDT722516DLA380  V43O PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 321672960 512-byte hardware sectors (164697 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 321672960 512-byte hardware sectors (164697 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 < sda5 sda6 >
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0

Which has your 'mv_platform_probe(c02ec910)'

> That being the case, can you stick a printk() into mv_platform_remove()
> so we can see whether or not it gets called before "power down" ?

But on poweroff:

Will now halt.
sd 0:0:0:0: [sda] Synchronizing SCSI cache
sd 0:0:0:0: [sda] Stopping disk
Power down.
qnap_ts209_power_off: triggering power-off...
ata1: exception Emask 0�

So no sign of anything getting called here.

Cheers,
FJP

  reply	other threads:[~2008-06-13 16:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-12 13:26 sata_mv on Orion: mv_err_intr when shutting down Martin Michlmayr
2008-05-12 15:39 ` Mark Lord
2008-05-12 15:46   ` Martin Michlmayr
2008-05-12 19:15     ` Martin Michlmayr
2008-06-12 18:18       ` Martin Michlmayr
2008-06-13 12:42         ` Mark Lord
2008-06-13 16:12           ` Frans Pop [this message]
2008-06-13 16:56             ` Mark Lord
2008-06-13 17:10               ` Frans Pop
2008-06-13 19:01                 ` Nicolas Pitre
2008-06-13 19:20                   ` Mark Lord
2008-06-13 19:31                     ` Nicolas Pitre
2008-06-15  2:18               ` Tejun Heo
2008-06-15  9:41                 ` Frans Pop
2008-06-15 10:54                   ` Byron Bradley
2008-06-15 13:44                   ` Mark Lord
2008-06-22 14:37         ` Martin Michlmayr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200806131812.38055.elendil@planet.nl \
    --to=elendil@planet.nl \
    --cc=buytenh@wantstofly.org \
    --cc=byron.bbradley@gmail.com \
    --cc=liml@rtr.ca \
    --cc=linux-ide@vger.kernel.org \
    --cc=nico@cam.org \
    --cc=tbm@cyrius.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).