Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 2004 19:12:42 -0700 (PDT)
From:      Jiafu He <jiafu_he@yahoo.com>
To:        freebsd-hackers@freebsd.org
Subject:   Debugging APIC problem (R5.2.1 vt-8235 ata failure no interrupt), need help
Message-ID:  <20040702021242.67064.qmail@web53302.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi, folks,
 
Rel 5.2.1 can't be installed on my machine due to APIC problems. The error message is like "ata0-master: FAILURE - ATA_IDENTIFY no interrupt". It is a Soyo motherboard "SY-P4VGA" with VIA VT-8235 south bridge.
 
Debugging results using DDB ("show intrcnt") show no interrupts ever occur. Disable the APIC feature on BIOS, then the disk is detected and everything works fine. Installing release 5.1 and 4.10 both work perfect. So I guess there must be problems with the APIC or IO APIC initialization code in release 5.2.1. 
 
Below are the printouts by calling lapic_dump():
If ENABLE APIC in BIOS:
-------------------------------------------------------------------------------------
ID:0x00000000    VER:0x00050014  LDR:0x01000000 DFR:0x0fffffff
Lint0:0x00010700 Lint1:0x00000400 TPR:0x00000000 SVR:0x000001ff
--------------------------------------------------------------------------------------
 
If DISABLE APIC in BIOS:
--------------------------------------------------------------------------------------
ID:0xf000fea5     VER:0xf000ef6f    LDR:0xf000e816 DFR:0xf000e816
Lint0:0xef1b8579 Lint 1:0xef190000 TPR:0xf000e816 SVR:0xf000e816
--------------------------------------------------------------------------------------
 
The bit 16 of Lint0 (mask bit) is 1 in the former case. Is that the cause of the problem? Problem not, since now IOAPIC in VT-8235 is used and Lint0 may not be useful any longer (pls correct me if the statement is wrong). Try to change the setting by writing to the LVT but couldn't succeed. I am still not so familiar with the Pentium architecture and need more time to practice.
 
Any comments and help are welcome.
 
Thanks in advance.
 
Jiafu
 

		
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040702021242.67064.qmail>