From: Sven Luther <sven.luther@wanadoo.fr>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: Sven Luther <sven.luther@wanadoo.fr>, Mark Lord <liml@rtr.ca>,
Alexandre.Bounine@tundra.com, linux-ide@vger.kernel.org,
linux-kernel@vger.kernel.org,
linuxppc-dev list <linuxppc-dev@ozlabs.org>,
Paul Mackerras <paulus@samba.org>,
Yang Xin-Xin-r48390 <Xin-Xin.Yang@freescale.com>
Subject: Re: [PATCH/2.6.17-rc4 10/10] bugs fix for marvell SATA on powerp c pl atform
Date: Fri, 26 May 2006 10:58:51 +0200 [thread overview]
Message-ID: <20060526085851.GA24867@powerlinux.fr> (raw)
In-Reply-To: <4476C2A0.3030308@pobox.com>
On Fri, May 26, 2006 at 04:56:00AM -0400, Jeff Garzik wrote:
> Sven Luther wrote:
> >On Thu, May 18, 2006 at 04:50:46PM -0400, Mark Lord wrote:
> >>Jeff Garzik wrote:
> >>>Benjamin Herrenschmidt wrote:
> >>>>On Thu, 2006-05-18 at 12:03 +0800, Zang Roy-r61911 wrote:
> >>..
> >>>>>@@ -1567,13 +1570,18 @@ static void mv5_read_preamp(struct mv_ho
> >>>>> static void mv5_enable_leds(struct mv_host_priv *hpriv, void __iomem
> >>>>*mmio)
> >>>>> {
> >>>>> u32 tmp;
> >>>>>-
> >>>>>+#ifndef CONFIG_PPC
> >>>>> writel(0, mmio + MV_GPIO_PORT_CTL);
> >>>>>+#endif
> >>>>You'll have to do better here too... I don't wee why when compiled on
> >>>>PPC, this driver should "magically" not clear those bits... At the very
> >>>>least, you should test the machine type if you want to do something
> >>>>specific to your platform, but first, you'll have to convince Jeff why
> >>>>this change has to be done in the first place and if there is a better
> >>>>way to handle it.
> >>>Correct... it does seem some bugs were found, but #ifdef powerpc is
> >>>certainly out of the question. We want the driver to work without
> >>>ifdefs on all platforms.
> >>Yup. I have a powerpc platform here with PCI-X, and a PCI-X Marvell card
> >>to try in it. So I'll pick up these changes and try to integrate them a
> >>little more nicely in my internal updated driver, and then pass it on to
> >>Jeff.
> >
> >Hi, ...
> >
> >I am trying to use a Marvell 88SX5081 based card here in my pegasos
> >machine,
> >and i never got it working with the libata driver, even with the patches
> >Zang
> >provided (and 2.6.16 though, maybe i should update to a newer version). The
> >marvell provided driver worked though at some time.
> >
> >Would it be possible to have access to your work, in order to not duplicate
> >effort or something ?
>
> Do you have any debug output (see top of libata.h)?
Ah, not yet, but i can provide such.
Right now, i see the drive (with Zang's patch), but any attempt to access it
get me :
ata1: status=0x50 {DriveReady SeekComplete }
ata1: error=0x01 {AddrMarkNotFound }
sata_mv: PCI ERROR; PCI IRQ cause=0x00000400
sda: Current: sensekey: No Sense
Additional sense: No Additional sense information
The disk is a hitachi 80GB sata one.
I will compile a kernel with debug output and provide more info in a bit.
Friendly,
Sven Luther
WARNING: multiple messages have this Message-ID (diff)
From: Sven Luther <sven.luther@wanadoo.fr>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: Alexandre.Bounine@tundra.com,
linuxppc-dev list <linuxppc-dev@ozlabs.org>,
Yang Xin-Xin-r48390 <Xin-Xin.Yang@freescale.com>,
linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org,
Paul Mackerras <paulus@samba.org>, Mark Lord <liml@rtr.ca>
Subject: Re: [PATCH/2.6.17-rc4 10/10] bugs fix for marvell SATA on powerp c pl atform
Date: Fri, 26 May 2006 10:58:51 +0200 [thread overview]
Message-ID: <20060526085851.GA24867@powerlinux.fr> (raw)
In-Reply-To: <4476C2A0.3030308@pobox.com>
On Fri, May 26, 2006 at 04:56:00AM -0400, Jeff Garzik wrote:
> Sven Luther wrote:
> >On Thu, May 18, 2006 at 04:50:46PM -0400, Mark Lord wrote:
> >>Jeff Garzik wrote:
> >>>Benjamin Herrenschmidt wrote:
> >>>>On Thu, 2006-05-18 at 12:03 +0800, Zang Roy-r61911 wrote:
> >>..
> >>>>>@@ -1567,13 +1570,18 @@ static void mv5_read_preamp(struct mv_ho
> >>>>> static void mv5_enable_leds(struct mv_host_priv *hpriv, void __iomem
> >>>>*mmio)
> >>>>> {
> >>>>> u32 tmp;
> >>>>>-
> >>>>>+#ifndef CONFIG_PPC
> >>>>> writel(0, mmio + MV_GPIO_PORT_CTL);
> >>>>>+#endif
> >>>>You'll have to do better here too... I don't wee why when compiled on
> >>>>PPC, this driver should "magically" not clear those bits... At the very
> >>>>least, you should test the machine type if you want to do something
> >>>>specific to your platform, but first, you'll have to convince Jeff why
> >>>>this change has to be done in the first place and if there is a better
> >>>>way to handle it.
> >>>Correct... it does seem some bugs were found, but #ifdef powerpc is
> >>>certainly out of the question. We want the driver to work without
> >>>ifdefs on all platforms.
> >>Yup. I have a powerpc platform here with PCI-X, and a PCI-X Marvell card
> >>to try in it. So I'll pick up these changes and try to integrate them a
> >>little more nicely in my internal updated driver, and then pass it on to
> >>Jeff.
> >
> >Hi, ...
> >
> >I am trying to use a Marvell 88SX5081 based card here in my pegasos
> >machine,
> >and i never got it working with the libata driver, even with the patches
> >Zang
> >provided (and 2.6.16 though, maybe i should update to a newer version). The
> >marvell provided driver worked though at some time.
> >
> >Would it be possible to have access to your work, in order to not duplicate
> >effort or something ?
>
> Do you have any debug output (see top of libata.h)?
Ah, not yet, but i can provide such.
Right now, i see the drive (with Zang's patch), but any attempt to access it
get me :
ata1: status=0x50 {DriveReady SeekComplete }
ata1: error=0x01 {AddrMarkNotFound }
sata_mv: PCI ERROR; PCI IRQ cause=0x00000400
sda: Current: sensekey: No Sense
Additional sense: No Additional sense information
The disk is a hitachi 80GB sata one.
I will compile a kernel with debug output and provide more info in a bit.
Friendly,
Sven Luther
next prev parent reply other threads:[~2006-05-26 9:04 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-18 4:03 [PATCH/2.6.17-rc4 10/10] bugs fix for marvell SATA on powerp c pl atform Zang Roy-r61911
2006-05-18 4:03 ` Zang Roy-r61911
2006-05-18 7:02 ` Benjamin Herrenschmidt
2006-05-18 7:02 ` Benjamin Herrenschmidt
2006-05-18 15:26 ` Jeff Garzik
2006-05-18 15:26 ` Jeff Garzik
2006-05-18 20:50 ` Mark Lord
2006-05-18 20:50 ` Mark Lord
2006-05-18 21:07 ` Jeff Garzik
2006-05-18 21:07 ` Jeff Garzik
2006-05-18 21:37 ` Mark Lord
2006-05-18 21:37 ` Mark Lord
2006-05-26 8:39 ` Sven Luther
2006-05-26 8:39 ` Sven Luther
2006-05-26 8:56 ` Jeff Garzik
2006-05-26 8:56 ` Jeff Garzik
2006-05-26 8:58 ` Sven Luther [this message]
2006-05-26 8:58 ` Sven Luther
2006-05-26 11:41 ` Mark Lord
2006-05-26 11:41 ` Mark Lord
2006-05-26 11:42 ` Sven Luther
2006-05-26 11:42 ` Sven Luther
2006-05-26 13:19 ` Mark Lord
2006-05-26 13:19 ` Mark Lord
2006-05-26 14:15 ` Sven Luther
2006-05-26 14:15 ` Sven Luther
2006-05-26 15:47 ` Mark Lord
2006-05-26 15:47 ` Mark Lord
2006-05-26 16:01 ` Sven Luther
2006-05-26 16:01 ` Sven Luther
2006-05-26 16:15 ` Sven Luther
2006-05-26 16:15 ` Sven Luther
2006-05-26 16:21 ` Mark Lord
2006-05-26 16:21 ` Mark Lord
2006-05-26 16:25 ` Sven Luther
2006-05-26 16:25 ` Sven Luther
2006-05-18 12:01 ` Ric Wheeler
2006-05-18 12:01 ` Ric Wheeler
-- strict thread matches above, loose matches on Subject: below --
2006-05-19 4:06 Zang Roy-r61911
2006-05-19 4:06 ` Zang Roy-r61911
2006-05-19 4:12 Zang Roy-r61911
2006-05-19 4:12 ` Zang Roy-r61911
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=20060526085851.GA24867@powerlinux.fr \
--to=sven.luther@wanadoo.fr \
--cc=Alexandre.Bounine@tundra.com \
--cc=Xin-Xin.Yang@freescale.com \
--cc=jgarzik@pobox.com \
--cc=liml@rtr.ca \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
/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 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.