mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Volker Armin Hemmann <volker.armin.hemmann@tu-clausthal.de>
To: "Peer Chen" <pchen@nvidia.com>
Cc: "Jeff Garzik" <jeff@garzik.org>, "Tejun Heo" <htejun@gmail.com>,
	linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org,
	"Kuan Luo" <kluo@nvidia.com>
Subject: Re: 2.6.24.X: SATA/AHCI related boot delay. - not with 2.6.24.3
Date: Mon, 14 Apr 2008 23:12:32 +0200	[thread overview]
Message-ID: <200804142312.32991.volker.armin.hemmann@tu-clausthal.de> (raw)
In-Reply-To: <15F501D1A78BD343BE8F4D8DB854566B26C12206@hkemmail01.nvidia.com>

Hi,

On Montag, 14. April 2008, Peer Chen wrote:
> Volker,
> I mean add msleep(x) function between writel(HOST_AHCI_EN, mmio + HOST_CTL)
> and readl(mmio + HOST_CTL) cause we ever met a bug that writing data to the
> AHCI BAR5 but need a delay to get correct read back value. But forget it,
> looks like it's not the same case here. Which mode do you set(ahci or
> non-raid) when you encountered the issue that the AHCI_EN bit failed to
> set? I found we have workaround for AHCI_EN bit setting in our Bios
> programming guide for AHCI mode.

you mean this?

[    0.363828] ------------[ cut here ]------------
[    0.363828] WARNING: at drivers/ata/ahci.c:645 ahci_init_one+0x190/0xa3a()
[    0.363828] Modules linked in:
[    0.363828] Pid: 1, comm: swapper Not tainted 2.6.25-rc8 #2
[    0.363828]
[    0.363828] Call Trace:
[    0.363828]  [<ffffffff8022c5a5>] warn_on_slowpath+0x51/0x63
[    0.363832]  [<ffffffff80220061>] __ioremap+0x8/0x197
[    0.363872]  [<ffffffff803921f4>] pci_conf1_read+0xb2/0xbd
[    0.363911]  [<ffffffff802f3316>] pcim_iomap_release+0x0/0x2c
[    0.363950]  [<ffffffff802f3316>] pcim_iomap_release+0x0/0x2c
[    0.363989]  [<ffffffff803471a9>] devres_find+0x4b/0x65
[    0.364028]  [<ffffffff8036e4cd>] ahci_init_one+0x190/0xa3a
[    0.364067]  [<ffffffff802af837>] sysfs_addrm_finish+0x1d/0x209
[    0.364107]  [<ffffffff80284014>] ifind+0x34/0x8d
[    0.364145]  [<ffffffff802af54e>] sysfs_find_dirent+0x1b/0x2f
[    0.364184]  [<ffffffff802eb75d>] ida_get_new_above+0xf0/0x180
[    0.364223]  [<ffffffff802af837>] sysfs_addrm_finish+0x1d/0x209
[    0.364263]  [<ffffffff802b0378>] sysfs_create_link+0xb6/0x102
[    0.364303]  [<ffffffff802f8664>] pci_device_probe+0x4c/0x72
[    0.364342]  [<ffffffff80344c48>] driver_probe_device+0xb5/0x132
[    0.364381]  [<ffffffff80344ddb>] __driver_attach+0x6f/0xaf
[    0.364419]  [<ffffffff80344d6c>] __driver_attach+0x0/0xaf
[    0.364458]  [<ffffffff80344d6c>] __driver_attach+0x0/0xaf
[    0.364498]  [<ffffffff8034400a>] bus_for_each_dev+0x44/0x6f
[    0.364538]  [<ffffffff802a9b57>] proc_match+0x23/0x2d
[    0.364576]  [<ffffffff80344876>] bus_add_driver+0xae/0x1f4
[    0.364614]  [<ffffffff8034500a>] driver_register+0x59/0xce
[    0.364654]  [<ffffffff802f88a5>] __pci_register_driver+0x4a/0x7d
[    0.364701]  [<ffffffff804e56b8>] kernel_init+0x14f/0x2b9
[    0.364740]  [<ffffffff8020be98>] child_rip+0xa/0x12
[    0.364779]  [<ffffffff804e5569>] kernel_init+0x0/0x2b9
[    0.364817]  [<ffffffff8020be8e>] child_rip+0x0/0x12
[    0.364854]
[    0.364891] ---[ end trace ea9d541113ecaf1e ]---

this happened with AHCI mode set in bios, pci=nomsi as kernel boot parameter 
and kernel 2.6.25-rc8.

Something similar looking happened without pci=nomsi, but in that case I could 
not scroll back to even make a picture because of the kernel panic (rootfs 
not found).

Glück Auf
Volker

  reply	other threads:[~2008-04-14 21:13 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-09 18:22 2.6.24.X: SATA/AHCI related boot delay Volker Armin Hemmann
2008-03-10 13:05 ` Tejun Heo
2008-03-10 16:57   ` Volker Armin Hemmann
2008-03-16  8:34   ` Volker Armin Hemmann
2008-03-17  7:16   ` 2.6.24.X: SATA/AHCI related boot delay. - not with 2.6.24.3 Volker Armin Hemmann
2008-03-18  7:36     ` Tejun Heo
2008-03-18 10:59       ` Volker Armin Hemmann
2008-03-18 12:56         ` Tejun Heo
2008-03-18 13:33           ` Volker Armin Hemmann
2008-03-19  3:26             ` Tejun Heo
2008-03-19  3:27               ` Tejun Heo
2008-03-19  7:53                 ` Volker Armin Hemmann
2008-03-19  8:58                   ` Tejun Heo
2008-03-19 10:08                     ` Volker Armin Hemmann
2008-03-19 11:43                       ` Tejun Heo
2008-03-19 13:55                         ` Volker Armin Hemmann
2008-04-02  3:57                           ` Tejun Heo
2008-04-02 17:09                             ` Volker Armin Hemmann
2008-04-03  1:48                               ` Tejun Heo
2008-04-03  5:04                                 ` Volker Armin Hemmann
2008-04-03  5:26                                   ` Tejun Heo
2008-04-03 11:47                                     ` Volker Armin Hemmann
2008-04-11  6:05                                       ` Tejun Heo
2008-04-11 11:55                                         ` Volker Armin Hemmann
2008-04-12  1:27                                           ` Tejun Heo
2008-04-12  1:42                                             ` Jeff Garzik
2008-04-14  4:02                                               ` Peer Chen
2008-04-14  6:41                                                 ` Volker Armin Hemmann
2008-04-14  8:11                                                   ` Peer Chen
2008-04-14 21:12                                                     ` Volker Armin Hemmann [this message]
2008-04-15 12:57                                                       ` Peer Chen
2008-04-15 16:20                                                         ` Volker Armin Hemmann
2008-04-18  5:51                                                           ` Peer Chen
2008-04-19 13:48                                                             ` Volker Armin Hemmann
2008-04-22 10:10                                                               ` Peer Chen
2008-04-22 12:44                                                                 ` Volker Armin Hemmann
2008-04-22 14:11                                                                   ` Tejun Heo
2008-04-22 15:12                                                                     ` Volker Armin Hemmann
2008-05-29 14:54                                                                     ` Hemmann, Volker Armin
2008-05-30  4:19                                                                       ` Tejun Heo
2008-05-30 10:43                                                                         ` Hemmann, Volker Armin
2008-05-31  0:49                                                                           ` Tejun Heo
2008-06-03  7:56                                                                             ` Peer Chen
2008-06-09  9:17                                                                               ` Tejun Heo
2008-06-09  9:43                                                                                 ` Tejun Heo
2008-06-09 14:49                                                                                   ` Hemmann, Volker Armin
2008-04-03 10:44                                 ` Peer Chen
2008-04-11  6:06                                   ` Tejun Heo
2008-04-11  9:50                                     ` Peer Chen
2008-04-11 11:46                                       ` Volker Armin Hemmann
2008-03-27 16:40                         ` Volker Armin Hemmann
2008-03-21  3:04 Fw: " osb972ww-linuxczmil
2008-03-21 10:42 ` Alan Cox

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=200804142312.32991.volker.armin.hemmann@tu-clausthal.de \
    --to=volker.armin.hemmann@tu-clausthal.de \
    --cc=htejun@gmail.com \
    --cc=jeff@garzik.org \
    --cc=kluo@nvidia.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pchen@nvidia.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

all inboxes | Powered by JetHome®