From: Tejun Heo <tj@kernel.org>
To: "Henry, Andrew" <andrew.henry@logica.com>
Cc: "linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>
Subject: Re: 2.6.25: sata_sil freezes, hard resets port.
Date: Mon, 29 Sep 2008 11:59:38 +0900 [thread overview]
Message-ID: <48E0449A.3040300@kernel.org> (raw)
In-Reply-To: <3ECBDC05781B3D48ABD520A01ABF2F9B20BA45E73B@SE-EX008.groupinfra.com>
Hello, Henry.
Sorry about the late reply. I was traveling for quite some time.
Henry, Andrew wrote:
> I tried the patch wd.debug. I am sorry that it took so long. I
> assume that this was to help the wake-up problem with the MyBook
> drives ( I have many problems). I added this patch to 2.6.25.9 and
> ran the kernel and then started up my raid-1 array and did not use
> any cron scripts to keep the drives awake. I left the drives
> inactive for 30 minutes and then tried to access them. It seems ok.
> If this is what the patch was meant to fix, then it does seem to
> work. I have only tested this one time though.
Can you please post kernel log with and without the patch?
> I have so many other issues that I have gone back over to USB2
> instead of using the sata_sil 3512 CardBus controller, because it
> seems to stink badly.
>
> Other issues with 3512 controller:
>
> 1. When I write to the array, the activity lights show burst
> activity, i.e. the LEDs are not on constantly, but burst visibly
> with gaps inbetween where there is no activity. They burst many
> times a second, but it's enough to see that its not going at max
> throughput. If I read from the disk, then *sometimes* they light up
> constantly without going off. Does this indicate in some way, that
> the controller is not being utilized to it's maximum capability?
> Seems like the controller is capable of higher throughput, but
> something in the way IO happens is hindering it.
Well, the only way you can tell is by actually measuring the
throughput. How fast does it actually transfer?
> 2. A shutdown/startup or a reboot can kill the array, and then when
> it comes back up, only one disk is in the array and I have to re-add
> the other one causing a re-sync. This never happens on USB2, only
> when using 3512 and sata_sil on CardBus controller. One thing I
> notice is that when shutting down, after the the final KILL
> processes, I see a message saying something like "md is still
> active" right before the PC shuts down. Is this why I am losing a
> disk, because md is not being shut down properly before a
> reset/poweroff?
Hmmm... I can't tell without looking at the log. Can you please
attach log for the case where it loses one disk?
> 3. When the drives have gone to sleep and I try to access the
> mounted filesystem, or if I type "fdisk -l" after 10 minutes of not
> accessing the array, then the activity light on the CardBus
> controller lights up and does not go out for 1 minute. Fdisk -l
> does not report back until after the activity light has gone off.
> The same thing happens when udev starts when booting the system.
Does the kernel complains about anything during that 1 minute? Sounds
like there are command timeouts there.
> 4. If I eject the CardBus controller, after havin unmounted the raid
> filesystem and having stopped md, then I get a console message
> saying something along the lines of: **DANGER** power could not be
> stopped [when ejecting the controller card]. Sounds serious.
> Possible that I am damaging the controller when I do this.
I don't have much idea about that. Can you please report this to
linux-pcmcia@lists.infradead.org and cc linux-ide and me?
> 5. IO times are very poor using eSATA CardBus 3512. I get 15MB/s vs
> 35MB/s on USB2 (reads using /usr/bin/time and dd where if is the
> device and of is /dev/null. Seems like either the 3512 controller
> card I have is just crap, and/or there are serious problems with the
> sata_sil driver when used in combination with a CardBus controller
> (anyone else out there with a CardBus?) Maybe the issues do not
> manifest themselves as much on PCI controllers? I am trying to
> source a CardBus controller at the moment that uses sata_sil24
> instead.
Hmmm... I also have a 3512 cardbus controller and it works just fine.
Again, does the kernel complain about anything? 15MB/s is way too
slow. What does "hdparm -t" on the drive report?
Thanks.
--
tejun
next prev parent reply other threads:[~2008-09-29 3:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-10 13:23 2.6.25: sata_sil freezes, hard resets port Henry, Andrew
2008-09-29 2:59 ` Tejun Heo [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-01-13 9:50 Henry, Andrew
2008-06-04 19:58 Andrew Henry
2008-06-10 3:18 ` Tejun Heo
2008-06-11 18:42 ` Andrew Henry
2008-06-12 1:46 ` Tejun Heo
2008-05-30 18:25 Andrew Henry
2008-05-30 8:26 Andrew Henry
2008-05-29 15:01 Henry, Andrew
2008-05-30 5:15 ` Tejun Heo
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=48E0449A.3040300@kernel.org \
--to=tj@kernel.org \
--cc=andrew.henry@logica.com \
--cc=linux-ide@vger.kernel.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.