2003-05-08 05:07:54

by bob

[permalink] [raw]
Subject: 2.4.21-rc boot stalls

Hi. I just built 2.4.21-rc. It hangs on boot. More specifically, I
get:
hda: (ide_dma_test_irq) called while not waiting
blk queue c031e840
I/O limit 4095 Mb (mask 0xffffffff)
setting using_dma_to 1 (on)


... It gets here and stalls. No OOPS. My ide devices are:
cat /proc/ide/hda/model
Maxtor 92041U4
cat /proc/ide/hdb/model
Maxtor 98196H8
cat /proc/ide/hdc/model
SAMSUNG DVD-ROM SD-608
cat /proc/ide/hdd/model
CR-4804TE

My chipset is:
cat /proc/ide/sis
SiS 5513 Ultra 100 chipset
--------------- Primary Channel ---------------- Secondary Channel
-------------Channel Status: On On
Operation Mode: Compatible Compatible
Cable Type: 80 pins 80 pins
Prefetch Count: 512 512
Drive 0: Postwrite Enabled Postwrite Disabled
Prefetch Enabled Prefetch Disabled
UDMA Enabled UDMA Disabled
UDMA Cycle Time 3 CLK UDMA Cycle Time Reserved
Data Active Time 3 PCICLK Data Active Time 3
PCICLK
Data Recovery Time 1 PCICLK Data Recovery Time 1
PCICLK
Drive 1: Postwrite Enabled Postwrite Disabled
Prefetch Enabled Prefetch Disabled
UDMA Enabled UDMA Disabled
UDMA Cycle Time 2 CLK UDMA Cycle Time Reserved
Data Active Time 3 PCICLK Data Active Time 3
PCICLK
Data Recovery Time 1 PCICLK Data Recovery Time 3
PCICLK


I checked /Documentation/Changes and confirmed that all of my build
software meets/exceeds the minimum requirements, but be aware I am using
gcc 3.2.2 and glibc-2.3.1. I also use hdparm to set multi-word 32 bit
I/O with DMA (hdparm -d1 -c3 -m16 -k1) at boot time. (Also, 2.4.21-pre6
builds/boots/runs OK).

Thanks in advance,

Bob




2003-05-08 11:53:40

by Alan

[permalink] [raw]
Subject: Re: 2.4.21-rc boot stalls

On Iau, 2003-05-08 at 06:21, Bob Gill wrote:
> Hi. I just built 2.4.21-rc. It hangs on boot. More specifically, I
> get:
> hda: (ide_dma_test_irq) called while not waiting
> blk queue c031e840
> I/O limit 4095 Mb (mask 0xffffffff)
> setting using_dma_to 1 (on)

Do you have APIC support or ACPI enabled ?

2003-05-09 08:50:23

by bob

[permalink] [raw]
Subject: Re: 2.4.21-rc boot stalls

On Thu, 2003-05-08 at 05:07, Alan Cox wrote:
> On Iau, 2003-05-08 at 06:21, Bob Gill wrote:
> > Hi. I just built 2.4.21-rc. It hangs on boot. More specifically, I
> > get:
> > hda: (ide_dma_test_irq) called while not waiting
> > blk queue c031e840
> > I/O limit 4095 Mb (mask 0xffffffff)
> > setting using_dma_to 1 (on)
>
> Do you have APIC support or ACPI enabled ?
>
(from the build script)
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y

# CONFIG_HOTPLUG_PCI_ACPI is not set
# CONFIG_ACPI is not set

My motherboard has the SiS645 chipset.
The SiS961 is the I/O APIC (ACPI 1.0b and APM 1.2 Compliant).

Currently my BIOS ACPI is set to suspend to standby (but I don't use it
and so haven't configured it in the kernel).

I will rebuild the kernel with ACPI support and let you know the results
(later today...after sleep).

Thanks for your reply,

Bob

2003-05-09 12:51:50

by Alan

[permalink] [raw]
Subject: Re: 2.4.21-rc boot stalls

On Gwe, 2003-05-09 at 10:04, Bob Gill wrote:
> CONFIG_X86_GOOD_APIC=y
> CONFIG_X86_UP_APIC=y
> CONFIG_X86_UP_IOAPIC=y
> CONFIG_X86_LOCAL_APIC=y
> CONFIG_X86_IO_APIC=y
>
> # CONFIG_HOTPLUG_PCI_ACPI is not set
> # CONFIG_ACPI is not set
>
> My motherboard has the SiS645 chipset.
> The SiS961 is the I/O APIC (ACPI 1.0b and APM 1.2 Compliant).

SiS APIC's are only supported in 2.5.x