linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Tejun Heo <htejun@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: via boot up hang during probing for no sata disks
Date: Wed, 16 Aug 2006 11:55:51 +0200	[thread overview]
Message-ID: <20060816115551.4e2c6434.ak@suse.de> (raw)
In-Reply-To: <20060816051228.GH6371@htj.dyndns.org>

On Wed, 16 Aug 2006 14:12:28 +0900
Tejun Heo <htejun@gmail.com> wrote:

> On Mon, Aug 14, 2006 at 03:33:35PM +0200, Andi Kleen wrote:
> > 
> > One of my test machines hangs at boot when booting 2.6.18rc4.
> > 
> > It seems to busy loop somewhere because the CPU fans spin up.
> > 
> > The machine doesn't have any disks (just two PATAPI CD-ROMs) 
> > and boots over the network.
> > 
> > The SATA drivers are compiled into the kernel (x86-64 defconfig)
> > 
> > Strangely it seems to only hang with the 64bit kernel -- when
> > I boot a 32bit kernel it usually comes up. It is likely some timing
> > issue because booting with initcall_debug also seems to make 
> > the problem go away. I verified with a printk and without initcall_debug
> > that the hang still happens in svia_init.
> 
> Hello, Andi.
> 
> Can you try the following patch?

This patch seems to fix the problem. Thanks.

I get now just

libata version 2.00 loaded.
sata_via 0000:00:0f.0: version 2.0
GSI 17 sharing vector 0xB9 and IRQ 17
IOAPIC[0]: Set PCI routing entry (1-20 -> 0xb9 -> IRQ 17 Mode:1 Active:1)
ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 185
sata_via 0000:00:0f.0: routed to hard irq line 9
ata1: SATA max UDMA/133 cmd 0x2C30 ctl 0x2C26 bmdma 0x2C00 irq 185
ata2: SATA max UDMA/133 cmd 0x2C28 ctl 0x2C22 bmdma 0x2C08 irq 185
scsi0 : sata_via
ata1: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0x2C37
scsi1 : sata_via
ata2: SATA link down (SStatus 0 SControl 300)
ATA: abnormal status 0x7F on port 0x2C2F
... continues booting without any noticeable delay...


-Andi

  reply	other threads:[~2006-08-16  9:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-14 13:33 via boot up hang during probing for no sata disks Andi Kleen
2006-08-16  5:12 ` Tejun Heo
2006-08-16  9:55   ` Andi Kleen [this message]
2006-08-22 16:00   ` [PATCH] sata_via: use old SCR access pattern on vt6420 Tejun Heo
2006-08-22 16:17     ` Andi Kleen
2006-08-24  6:52     ` Jeff Garzik

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=20060816115551.4e2c6434.ak@suse.de \
    --to=ak@suse.de \
    --cc=htejun@gmail.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 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).