| Summary: | [APIC] [panic] 5.4-RC3 still panic when boot on ASUS P2B-DS M/B | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Jin Guojun[VFF] <jin> |
| Component: | i386 | Assignee: | freebsd-acpi (Nobody) <acpi> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Jin Guojun[VFF]
2005-04-28 06:30:10 UTC
Hi, I have a similar M/B and it works fine. Try disable the dualcpu at the fi= rst boot and build a custom=20 world and kernel and it should be OK. I upgraded 5.4-PRE a while ago, but= I use this machine without=20 a problem since 5.3-RELEASE. dmesg is following and a dmidecode snippet under it :) uptime: 10:12AM up 4 days, 10:29, 1 user, load averages: 0.03, 0.01, 0.0= 0 Apr 23 23:43:35 linda syslogd: kernel boot file is /boot/kernel/kernel Apr 23 23:43:35 linda kernel: Copyright (c) 1992-2005 The FreeBSD Project= . Apr 23 23:43:35 linda kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,= 1989, 1991, 1992, 1993, 1994 Apr 23 23:43:35 linda kernel: The Regents of the University of California= . All rights reserved. Apr 23 23:43:35 linda kernel: FreeBSD 5.4-PRERELEASE #9: Thu Mar 10 11:32= :56 CET 2005 Apr 23 23:43:35 linda kernel: root@linda.chello.hu:/usr/obj/usr/src/sys/A= NDREJ Apr 23 23:43:35 linda kernel: Timecounter "i8254" frequency 1193182 Hz qu= ality 0 Apr 23 23:43:35 linda kernel: CPU: Pentium II/Pentium II Xeon/Celeron (40= 0.91-MHz 686-class CPU) Apr 23 23:43:35 linda kernel: Origin =3D "GenuineIntel" Id =3D 0x653 St= epping =3D 3 Apr 23 23:43:35 linda kernel:=20 Features=3D0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE= ,MCA,CMOV,PAT,PSE36,MMX,F XSR> Apr 23 23:43:35 linda kernel: real memory =3D 671076352 (639 MB) Apr 23 23:43:35 linda kernel: avail memory =3D 651255808 (621 MB) Apr 23 23:43:35 linda kernel: MPTable: <OEM00000 PROD00000000> Apr 23 23:43:35 linda kernel: FreeBSD/SMP: Multiprocessor System Detected= : 2 CPUs Apr 23 23:43:35 linda kernel: cpu0 (BSP): APIC ID: 1 Apr 23 23:43:35 linda kernel: cpu1 (AP): APIC ID: 0 Apr 23 23:43:35 linda kernel: ioapic0: Assuming intbase of 0 Apr 23 23:43:35 linda kernel: ioapic0 <Version 1.1> irqs 0-23 on motherbo= ard Apr 23 23:43:35 linda kernel: npx0: <math processor> on motherboard Apr 23 23:43:35 linda kernel: npx0: INT 16 interface Apr 23 23:43:35 linda kernel: cpu0 on motherboard Apr 23 23:43:35 linda kernel: cpu1 on motherboard Apr 23 23:43:35 linda kernel: pcib0: <MPTable Host-PCI bridge> pcibus 0 o= n motherboard Apr 23 23:43:35 linda kernel: pci0: <PCI bus> on pcib0 Apr 23 23:43:35 linda kernel: agp0: <Intel 82443BX (440 BX) host to PCI b= ridge> mem=20 0xe7800000-0xe7bfffff at device 0.0 on pci 0 Apr 23 23:43:35 linda kernel: pcib1: <MPTable PCI-PCI bridge> at device 1= .0 on pci0 Apr 23 23:43:35 linda kernel: pci1: <PCI bus> on pcib1 Apr 23 23:43:35 linda kernel: agp0: <Intel 82443BX (440 BX) host to PCI b= ridge> mem=20 0xe7800000-0xe7bfffff at device 0.0 on pci 0 Apr 23 23:43:35 linda kernel: pcib1: <MPTable PCI-PCI bridge> at device 1= .0 on pci0 Apr 23 23:43:35 linda kernel: pci1: <PCI bus> on pcib1 Apr 23 23:43:35 linda kernel: pci1: <display, VGA> at device 0.0 (no driv= er attached) Apr 23 23:43:35 linda kernel: isab0: <PCI-ISA bridge> at device 4.0 on pc= i0 Apr 23 23:43:35 linda kernel: isa0: <ISA bus> on isab0 Apr 23 23:43:35 linda kernel: atapci0: <Intel PIIX4 UDMA33 controller> po= rt=20 0xb800-0xb80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 4.1 on pci0 Apr 23 23:43:35 linda kernel: ata0: channel #0 on atapci0 Apr 23 23:43:35 linda kernel: ata1: channel #1 on atapci0 Apr 23 23:43:35 linda kernel: uhci0: <Intel 82371AB/EB (PIIX4) USB contro= ller> port 0xb400-0xb41f at=20 device 4.2 on pci0 Apr 23 23:43:35 linda kernel: usb0: <Intel 82371AB/EB (PIIX4) USB control= ler> on uhci0 Apr 23 23:43:35 linda kernel: usb0: USB revision 1.0 Apr 23 23:43:35 linda kernel: uhub0: Intel UHCI root hub, class 9/0, rev = 1.00/1.00, addr 1 Apr 23 23:43:35 linda kernel: uhub0: 2 ports with 2 removable, self power= ed Apr 23 23:43:35 linda kernel: piix0: <PIIX Timecounter> port 0xe800-0xe80= f at device 4.3 on pci0 Apr 23 23:43:35 linda kernel: Timecounter "PIIX" frequency 3579545 Hz qua= lity 0 Apr 23 23:43:35 linda kernel: em0: <Intel(R) PRO/1000 Network Connection,= Version - 1.7.35> port=20 0xb000-0xb03f mem 0xde000000- 0xde01ffff,0xde800000-0xde81ffff irq 19 at device 9.0 on pci0 Apr 23 23:43:35 linda kernel: em0: Ethernet address: 00:0e:0c:37:68:ac Apr 23 23:43:35 linda kernel: em0: Speed:N/A Duplex:N/A Apr 23 23:43:35 linda kernel: dc0: <Accton EN2242 MiniPCI 10/100BaseTX> p= ort 0xa800-0xa8ff mem=20 0xdd800000-0xdd8003ff irq 18 at device 10.0 on pci0 Apr 23 23:43:35 linda kernel: miibus0: <MII bus> on dc0 Apr 23 23:43:35 linda kernel: ukphy0: <Generic IEEE 802.3u media interfac= e> on miibus0 Apr 23 23:43:35 linda kernel: ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 1= 00baseTX-FDX, auto Apr 23 23:43:35 linda kernel: dc0: Ethernet address: 00:04:e2:1f:90:84 Apr 23 23:43:35 linda kernel: dc0: if_start running deferred for Giant Apr 23 23:43:35 linda kernel: ahc0: <Adaptec 2940 Ultra2 SCSI adapter> po= rt 0xa400-0xa4ff mem=20 0xdd000000-0xdd000fff irq 17 at device 11.0 on pci0 Apr 23 23:43:35 linda kernel: aic7890/91: Ultra2 Wide Channel A, SCSI Id=3D= 7, 32/253 SCBs Apr 23 23:43:35 linda kernel: orm0: <ISA Option ROMs> at iomem 0xc8000-0x= c8fff,0xc0000-0xc7fff on isa0 Apr 23 23:43:35 linda kernel: pmtimer0 on isa0 Apr 23 23:43:35 linda kernel: atkbdc0: <Keyboard controller (i8042)> at p= ort 0x64,0x60 on isa0 Apr 23 23:43:35 linda kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0 Apr 23 23:43:35 linda kernel: kbd0 at atkbd0 Apr 23 23:43:35 linda kernel: ppc0: parallel port not found. Apr 23 23:43:35 linda kernel: sc0: <System console> at flags 0x100 on isa= 0 Apr 23 23:43:35 linda kernel: sc0: VGA <16 virtual consoles, flags=3D0x30= 0> Apr 23 23:43:35 linda kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 o= n isa0 Apr 23 23:43:35 linda kernel: sio0: type 16550A Apr 23 23:43:35 linda kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0 Apr 23 23:43:35 linda kernel: sio1: type 16550A Apr 23 23:43:35 linda kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df= iomem 0xa0000-0xbffff on isa0 Apr 23 23:43:35 linda kernel: unknown: <PNP0501> can't assign resources (= port) Apr 23 23:43:35 linda kernel: unknown: <PNP0501> can't assign resources (= port) Apr 23 23:43:35 linda kernel: unknown: <PNP0303> can't assign resources (= port) Apr 23 23:43:35 linda kernel: Timecounters tick every 10.000 msec Apr 23 23:43:35 linda kernel: IP Filter: v3.4.35 initialized. Default =3D= pass all, Logging =3D enabled Apr 23 23:43:35 linda kernel: Waiting 5 seconds for SCSI devices to settl= e Apr 23 23:43:35 linda kernel: da0 at ahc0 bus 0 target 0 lun 0 Apr 23 23:43:35 linda kernel: da0: <SEAGATE ST336607LW 6D03> Fixed Direct= Access SCSI-3 device # dmidecode 2.6 Legacy DMI 2.0 present. 32 structures occupying 1050 bytes. Table at 0x000F5A5A. Handle 0x0000 DMI type 0, 18 bytes. BIOS Information Vendor: Award Software, Inc. Version: ASUS P2B-D ACPI BIOS Revision 1011 Release Date: 09/08/99 Address: 0xF0000 Runtime Size: 64 kB ROM Size: 256 kB Characteristics: ISA is supported PCI is supported PNP is supported APM is supported BIOS is upgradeable BIOS shadowing is allowed ESCD support is available Boot from CD is supported Selectable boot is supported BIOS ROM is socketed EDD is supported Japanese floppy for NEC 9800 1.2 MB is supported= (int 13h) 5.25"/360 KB floppy services are supported (int = 13h) 5.25"/1.2 MB floppy services are supported (int = 13h) 3.5"/720 KB floppy services are supported (int 1= 3h) 3.5"/2.88 MB floppy services are supported (int = 13h) Print screen service is supported (int 5h) 8042 keyboard services are supported (int 9h) Serial services are supported (int 14h) Printer services are supported (int 17h) CGA/mono video services are supported (int 10h) Handle 0x0002 DMI type 2, 8 bytes. Base Board Information Manufacturer: ASUSTeK Computer INC. Product Name: P2B-D Version: REV 1.xx Serial Number: MB-1234567890 Jin Guojun[VFF] =EDrta: >>Number: 80426 >>Category: i386 >>Synopsis: 5.4-RC3 still panic when boot on ASUS P2B-DS M/B >>Confidential: no >>Severity: serious >>Priority: medium >>Responsible: freebsd-i386 >>State: open >>Quarter: =20 >>Keywords: =20 >>Date-Required: >>Class: sw-bug >>Submitter-Id: current-users >>Arrival-Date: Thu Apr 28 05:30:10 GMT 2005 >>Closed-Date: >>Last-Modified: >>Originator: Jin Guojun[VFF] >>Release: FreeBSD 5.4-RC3 i386 >>Organization: >>Environment: >=20 > System: FreeBSD 5.4-RC3 i386 >=20 >=20 > FreeBSD 5.4-RC3 i386 with ASUS P2B-DS motherboard >=20 >=20 >>Description: >=20 > FreeBSD 5.4-RC3 still panic when boot with ACPI enabled on > ASUS P2B-DS motherboard. >=20 > boot message: >=20 > ACPI APIC Table: <ASUS P2B-DS > > ACPI disabled by blacklist. Contact your BIOS vendor. > MADT: ACPI Startup failed with AE_ERROR > ... > panic >=20 > I do not think vendor will update their BIOS since this is older > motherboard. > Will this be possible fixable?=20 >=20 >=20 >>How-To-Repeat: >=20 > Try boot 5.4-RC3 on ASUS P2B-DS based machine. >=20 >>Fix: >=20 >=20 > =09 >=20 >=20 >=20 >>Release-Note: >>Audit-Trail: >>Unformatted: >=20 > _______________________________________________ > freebsd-i386@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-i386 > To unsubscribe, send any mail to "freebsd-i386-unsubscribe@freebsd.org" >=20 I am not quite sure what your method means. It sounds like that you have
disabled APIC in
either BIOS or in the kernel. If this is the case, you do not have to
rebuild the kernel
even the world. You can simply do this by adding following line into
/boot/loader.conf:
# cat /boot/loader.conf
hint.acpi.0.disabled=1
This works for 5.4-RC3.
-Jin
Andras Got wrote:
> Hi,
>
> The userland depends on the kernel, and vica versa, so you have to
> make them in pairs. After default install I cvsup the source and edit
> /etc/make.conf with the CPUTYPE set the appropiate, in our case i686
> then rebuild everything. In addition I like a kernel that only has the
> modules I compiled in.
>
> I have APIC enabled, i use the machine with dual cpu. I meant that
> while you install, disable it in the BIOS or boot the apic disabled
> generic kernel. I don't really remember which one worked when I
> installed my box.
>
> Regards,
> Andrej
>
>>>
>>>
>>> I have a similar M/B and it works fine. Try disable the dualcpu at
>>> the first boot and build a custom world and kernel and it should be
>>> OK. I upgraded 5.4-PRE a while ago, but I use this machine without a
>>> problem since 5.3-RELEASE.
>>
>>
>>
>> Do you mean to diskable APIC by commenting out apic line in config
>> file for new kernel?
>>
>> device apic # I/O APIC
>>
>> If not, would please email me what line should I change.
>> Also, is there reason to rebuild entire world, not just the kernel?
>
State Changed From-To: open->feedback Requested whether this still applies to recent versions of FreeBSD (5.4-RELEASE and 6.0) State Changed From-To: feedback->open The PRoblem is still open on 5.4 and 6.0 Responsible Changed From-To: freebsd-i386->freebsd-acpi Set it to the ACPI team to look into the issue. Along the lines it is mentioned that disabling ACPI made the machine work. So it might be related to something ACPI. The problem is that your BIOS is marked as buggy by the ACPI code. Unfortunately the MADT code doesn't check the blacklist until it is too late to revert back to not using ACPI. You will just need to use the 'hint.acpi.0.disabled=1' loader tunable to disable ACPI altogether. Given how few blacklisted BIOSes are present in SMP machines, trying to make the quirk checking happen earlier is probably not going to happen anytime soon, so it's probably best to just disable ACPI as the panic message told you to. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org State Changed From-To: open->closed As noted in the followup, for the few machines that encounter this panic, the procedure is to explicitly disable ACPI like the panic message instructs. |