2003-09-19 14:39:17

by Jeff Layton

[permalink] [raw]
Subject: PCI/ACPI related boot hang with 2.6.0-test5-bk3 on KT266A mobo

I seem to be having a problem booting my main home machine with the
2.6.0-test5 kernels. I'm able to boot it with the flags 'acpi=off',
'acpi=ht', or 'pci=noacpi', but without one of these, it hangs just
after outputting this line:

mice: PS/2 mouse device common for all mice

The problem is easily reproducable. It hung with the stock -test5 kernel
and with -test5-bk3. 2.4.22 doesn't seem to have this problem. I am
using the binary nvidia module, but the problem occurs before it gets
plugged in. When the hang occurs, the magic sysrq key doesn't respond,
so I don't have much info to go on.

The machine in question has a Epox 8KHA+ motherboard with 1G of memory.
It has a VIA KT266A chipset.

Here is lspci output:
jtlayton@tleilax:~% lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo
KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo
KT266/A/333 AGP]
00:0a.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
00:0a.1 Input device controller: Creative Labs SB Audigy MIDI/Game port
(rev 03)00:0a.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire
Port
00:0d.0 Ethernet controller: Linksys Network Everywhere Fast Ethernet
10/100 model NC100 (rev 11)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus
Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. USB (rev 1b)
00:11.3 USB Controller: VIA Technologies, Inc. USB (rev 1b)
00:11.4 USB Controller: VIA Technologies, Inc. USB (rev 1b)
01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti
4200] (rev a3)

Here is /proc/cpuinfo:

jtlayton@tleilax:~% cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(tm) XP 2600+
stepping : 1
cpu MHz : 2138.524
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 4210.68

I'll happily provide more info or test patches for this if you can tell
me what you need. As I'm not a LKML subscriber, please reply to me
directly.

Thanks,
--
Jeffrey Layton <[email protected]>


2003-09-19 23:29:47

by Chris Wright

[permalink] [raw]
Subject: Re: PCI/ACPI related boot hang with 2.6.0-test5-bk3 on KT266A mobo

* Jeffrey Layton ([email protected]) wrote:
>
> I'll happily provide more info or test patches for this if you can tell

Does this patch fix it for you?
thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net


===== drivers/acpi/pci_link.c 1.17 vs edited =====
--- 1.17/drivers/acpi/pci_link.c Sun Aug 31 16:14:25 2003
+++ edited/drivers/acpi/pci_link.c Tue Sep 16 16:59:46 2003
@@ -456,7 +456,6 @@
irq = link->irq.active;
} else {
irq = link->irq.possible[0];
- }

/*
* Select the best IRQ. This is done in reverse to promote
@@ -466,6 +465,7 @@
if (acpi_irq_penalty[irq] > acpi_irq_penalty[link->irq.possible[i]])
irq = link->irq.possible[i];
}
+ }

/* Attempt to enable the link device at this IRQ. */
if (acpi_pci_link_set(link, irq)) {

2003-09-20 15:48:52

by Jeff Layton

[permalink] [raw]
Subject: Re: PCI/ACPI related boot hang with 2.6.0-test5-bk3 on KT266A mobo

I couldn't get the patch to apply cleanly, so I applied it by hand. It
does seem to fix the problem in test5-bk7. Many thanks!
-- Jeff

On Fri, 2003-09-19 at 19:29, Chris Wright wrote:
> * Jeffrey Layton ([email protected]) wrote:
> >
> > I'll happily provide more info or test patches for this if you can tell
>
> Does this patch fix it for you?
> thanks,
> -chris
--
Jeff Layton <[email protected]>