From: "Indan Zupancic" <indan@nul.nu>
To: "Tejun Heo" <htejun@gmail.com>
Cc: "Paul Mundt" <lethal@linux-sh.org>,
"Tejun Heo" <htejun@gmail.com>,
jeff@garzik.org, linux-ide@vger.kernel.org,
linux-kernel@vger.kernel.org, garyhade@us.ibm.com
Subject: Re: [PATCH] libata: implement ata_wait_after_reset()
Date: Sat, 19 May 2007 18:39:14 +0200 (CEST) [thread overview]
Message-ID: <2229.81.207.0.53.1179592754.squirrel@secure.samage.net> (raw)
In-Reply-To: <464B3505.20004@gmail.com>
Hello,
Disabling sd_resume() gives me a "quick" resume again (few seconds),
though it doesn't get rid of the COMRESET errors:
[ 2.476417] ata1: device not ready (errno=-19), forcing hardreset
[ 2.476440] ata2: SATA link down (SStatus 0 SControl 310)
[ 2.824896] usb_endpoint usbdev2.3_ep00: PM: resume from 0, parent 2-1 still 2
[ 2.824902] usb 2-1:1.0: PM: resume from 2, parent 2-1 still 2
[ 2.824906] usb 2-1:1.1: PM: resume from 2, parent 2-1 still 2
[ 2.824910] usb 2-1:1.2: PM: resume from 2, parent 2-1 still 2
[ 2.824914] usb_endpoint usbdev2.3_ep05: PM: resume from 0, parent 2-1:1.2 still 2
[ 2.824919] usb_endpoint usbdev2.3_ep85: PM: resume from 0, parent 2-1:1.2 still 2
[ 2.824923] usb_endpoint usbdev2.3_ep81: PM: resume from 0, parent 2-1:1.0 still 2
[ 2.825392] Restarting tasks ... done.
[ 2.931812] ata1: COMRESET failed (errno=-19)
[ 2.931880] ata1: reset failed (errno=-19), retrying in 10 secs
[ 3.136543] usb 2-1: USB disconnect, address 3
[ 3.249382] usb 2-1: new full speed USB device using ohci_hcd and address 4
[ 3.396768] usb 2-1: configuration #1 chosen from 1 choice
[ 4.225560] usb 2-1: reset full speed USB device using ohci_hcd and address 4
[ 4.372298] usbcore: registered new interface driver speedtch
[ 4.456118] speedtch 2-1:1.0: found stage 1 firmware speedtch-1.bin.0.00
[ 4.621056] speedtch 2-1:1.0: found stage 2 firmware speedtch-2.bin.0.00
[ 9.153941] ATM dev 0: ADSL line is synchronising
[ 12.918440] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 12.921971] ata1.00: ata_hpa_resize 1: sectors = 234441648, hpa_sectors = 234441648
[ 12.924924] ata1.00: ata_hpa_resize 1: sectors = 234441648, hpa_sectors = 234441648
Doesn't the controller generate an interrupt when it detects a harddisk?
Is it really needed to do polling?
Idea: What about implementing a sata_sil specific .check_status function,
instead of using the generic ata_check_status()? That one could check other
registers to find out what's really going on in the case ENODEV is returned
by ata_check_status(), or something like that.
Greetings,
Indan
next prev parent reply other threads:[~2007-05-19 16:39 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-10 7:20 libata reset-seq merge broke sata_sil on sh Paul Mundt
2007-05-10 11:28 ` Tejun Heo
2007-05-10 11:53 ` Tejun Heo
2007-05-10 12:46 ` Paul Mundt
2007-05-10 13:08 ` Tejun Heo
2007-05-11 0:52 ` Paul Mundt
2007-05-11 9:39 ` Tejun Heo
2007-05-12 3:49 ` Paul Mundt
2007-05-16 0:30 ` Paul Mundt
2007-05-16 16:44 ` [PATCH] libata: implement ata_wait_after_reset() Tejun Heo
2007-05-17 0:50 ` Paul Mundt
2007-05-17 0:59 ` Paul Mundt
2007-05-19 15:54 ` Indan Zupancic
2007-05-19 18:23 ` Tejun Heo
2007-05-19 22:54 ` Indan Zupancic
2007-05-20 9:50 ` Tejun Heo
2007-05-20 13:26 ` Indan Zupancic
2007-05-20 17:09 ` Tejun Heo
2007-05-20 19:35 ` Indan Zupancic
2007-05-19 16:39 ` Indan Zupancic [this message]
2007-05-19 18:43 ` Tejun Heo
2007-05-19 19:04 ` Tejun Heo
2007-05-19 22:33 ` sd_resume redundant? [was: [PATCH] libata: implement ata_wait_after_reset()] Indan Zupancic
2007-05-20 9:54 ` Tejun Heo
2007-05-20 14:27 ` Indan Zupancic
2007-05-20 17:17 ` Tejun Heo
2007-05-20 19:47 ` Indan Zupancic
2007-05-21 6:02 ` [PATCH] libata: implement ata_wait_after_reset() Paul Mundt
2007-05-29 1:31 ` Jeff Garzik
2007-05-29 7:33 ` 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=2229.81.207.0.53.1179592754.squirrel@secure.samage.net \
--to=indan@nul.nu \
--cc=garyhade@us.ibm.com \
--cc=htejun@gmail.com \
--cc=jeff@garzik.org \
--cc=lethal@linux-sh.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®