2007-02-21 14:02:50

by Jean-Luc Coulon (f5ibh)

[permalink] [raw]
Subject: 2.6.20-git and 2.6.21-rc1, failed to boot on sata_via

Hi,

I've an ASUS A8V motherboard with a via chipset:

[jean-luc@tangerine] % lspci
00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge
[K8T800/K8T890 South]

2 SATA drives are on this chipset, using lvm over a raid1.

I've a X86-64 architecture on an amd64.

Since 2.6.20-git<somewhere before 10>, the system refuses to boot, I've
the same problem with 2.6.21-rc1.

I've opened a bug, see: http://bugzilla.kernel.org/show_bug.cgi?id=8025
but I'm not sure it was the appropriate way.

At boot time, I've the following messages:

ACPI: PCI Interrupt 0000:00:0f.0[B] GSI 20(level, low) -> IRQ 20
sata_via 0000:00:0f.0: failed on iomap PCI BAR 0
sata_via 0000:00:0f.0: out of memory
ACPI: PCI interrupt for device 0000:00:0f.0 is disabled
sata_via: probe of 0000:00:0f.0 failed with error -12

Then the raid is not assembled and the system wont boot.

These are the options (parts of] enabled in my config file:

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=m
CONFIG_BLK_DEV_IDE=m

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=m
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=m
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
...
#
# IDE chipset support/bugfixes
#
# CONFIG_IDE_GENERIC is not set
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_IDEPCI_SHARE_IRQ is not set
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_GENERIC is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_JMICRON is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_IT8213 is not set
# CONFIG_BLK_DEV_IT821X is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
CONFIG_BLK_DEV_VIA82CXXX=m
# CONFIG_BLK_DEV_TC86C001 is not set
# CONFIG_IDE_ARM is not set
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_IVB=y
CONFIG_IDEDMA_AUTO=y



#
# Serial ATA (prod) and Parallel ATA (experimental) drivers
#
CONFIG_ATA=m
# CONFIG_ATA_NONSTANDARD is not set
# CONFIG_SATA_AHCI is not set
# CONFIG_SATA_SVW is not set
# CONFIG_ATA_PIIX is not set
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
CONFIG_SATA_PROMISE=m
# CONFIG_SATA_SX4 is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIL24 is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_ULI is not set
CONFIG_SATA_VIA=m
# CONFIG_SATA_VITESSE is not set
# CONFIG_SATA_INIC162X is not set
CONFIG_SATA_ACPI=y
...


I've found a quite similar problem in the archive but which seems to
have been fixed in the meantime, in this thread:
http://www.ussg.iu.edu/hypermail/linux/kernel/0702.1/1580.html

[I'm not subscribed to the list]


Regards

Jean-Luc


Attachments:
(No filename) (3.91 kB)
(No filename) (189.00 B)
Download all attachments

2007-02-21 16:18:51

by Markus Trippelsdorf

[permalink] [raw]
Subject: Re: 2.6.20-git and 2.6.21-rc1, failed to boot on sata_via

On Wed, Feb 21, 2007 at 03:01:54PM +0100, Jean-Luc Coulon (f5ibh) wrote:
>
> At boot time, I've the following messages:
>
> ACPI: PCI Interrupt 0000:00:0f.0[B] GSI 20(level, low) -> IRQ 20
> sata_via 0000:00:0f.0: failed on iomap PCI BAR 0
> sata_via 0000:00:0f.0: out of memory
> ACPI: PCI interrupt for device 0000:00:0f.0 is disabled
> sata_via: probe of 0000:00:0f.0 failed with error -12

I had the same problem, but the issue is already fixed. See:
http://www.mail-archive.com/[email protected]/msg03945.html

--
Markus

2007-02-21 17:35:58

by Jean-Luc Coulon (f5ibh)

[permalink] [raw]
Subject: Re: 2.6.20-git and 2.6.21-rc1, failed to boot on sata_via

Le 21.02.2007 17:18:23, Markus Trippelsdorf a ?crit?:
> On Wed, Feb 21, 2007 at 03:01:54PM +0100, Jean-Luc Coulon (f5ibh)
> wrote:
>>
>> At boot time, I've the following messages:
>>
>> ACPI: PCI Interrupt 0000:00:0f.0[B] GSI 20(level, low) -> IRQ 20
>> sata_via 0000:00:0f.0: failed on iomap PCI BAR 0
>> sata_via 0000:00:0f.0: out of memory
>> ACPI: PCI interrupt for device 0000:00:0f.0 is disabled
>> sata_via: probe of 0000:00:0f.0 failed with error -12
>
> I had the same problem, but the issue is already fixed. See:
> http://www.mail-archive.com/[email protected]/msg03945.html

Thanks Markus. I've applied the patch (and it works :)
I was puzzled because rc1 has been released today without this patch.

Regards

Jean-Luc


Attachments:
(No filename) (742.00 B)
(No filename) (189.00 B)
Download all attachments