Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2003 02:20:03 +0100
From:      Harald Schmalzbauer <h@schmalzbauer.de>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: APIC-UP related panic
Message-ID:  <200311110220.10204@harrymail>
In-Reply-To: <XFMail.20031110133320.jhb@FreeBSD.org>
References:  <XFMail.20031110133320.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary-03=_JlDs/lg0wCNaXti
Content-Type: multipart/mixed;
  boundary="Boundary-01=_DlDs/IinuzTQ2PX"
Content-Transfer-Encoding: 7bit
Content-Description: signed data
Content-Disposition: inline

--Boundary-01=_DlDs/IinuzTQ2PX
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Description: body text
Content-Disposition: inline

On Monday 10 November 2003 19:33, John Baldwin wrote:
> On 08-Nov-2003 Harald Schmalzbauer wrote:
> > On Thursday 06 November 2003 17:33, John Baldwin wrote:
> >> On 06-Nov-2003 Harald Schmalzbauer wrote:
> >> > Hello,
> >> >
> >> > I have one reproducable panic with sources from 04. Nov when enabling
> >> > "device apic" in the kernel.
> >> > While building OpenOffice about 1 1/2 hours after start the system
> >> > reboots. This is absolutely reproducable. Removing device apic from
> >> > the kernel solves the problem!
*SNIP*
> >> Can you try the patch at
> >> http://www.FreeBSD.org/~jhb/patches/spurious.patch
> >
> > Regrettably this hasn't helped. The machine crashed aigain when building
> > OpenOffice. This time I have something different in messages:
> > Nov  7 19:51:27 cale syslogd: kernel boot file is /boot/kernel/kernel
> > Nov  7 19:51:27 cale kernel: panic: Couldn't get vector from ISR!
> > Nov  7 19:51:27 cale kernel:
> > Nov  7 19:51:27 cale kernel: syncing disks, buffers remaining... 2202
> > 2202 2202 2202 2202 2202 2202
> > 2202 2202 2202 2202 2202 2202 2202 2202 2202 2202 2202 2202 2202
> > Nov  7 19:51:27 cale kernel: giving up on 1109 buffers
> > Nov  7 19:51:27 cale kernel: Uptime: 3h57m51s
> > Nov  7 19:51:27 cale kernel: Shutting down ACPI
> > Nov  7 19:51:27 cale kernel: Automatic reboot in 15 seconds - press a k=
ey
> > on the console to abort
> > Nov  7 19:51:27 cale kernel: Rebooting...
> >
> > Let me know if I can help. Should I build a debug-kernel? I think that
> > doesn't help too much since the machine rebootos immediately, so I have
> > no chance to type anything like trace.
>
> Ok.  The problem is that when the spurious interrupt is triggered, it
> doesn't set a bit in the ISR.  Hmm, can you try using 'options
> NO_MIXED_MODE' instead?

Uhm, I don't really understand what's going on. Also I haven't found anythi=
ng=20
about NO_MIXED_MODE but I made the usual kernel (-current from Nov.09,=20
without the spurious patch) with "device apic" and "options NO_MIXED_MODE".
Now quake2forge compiled successfully (which also crashed the machine with =
the=20
last apic kernel) also OpenOffice compiles fine.
I see one difference in dmesg:
Timecounter shows now "ACPI-fast" like with a previous SMP-kernel instead o=
f=20
"ACPI-safe" like wth the UP kernel. Just for info attached the new dmesg.


Do you have any enlightning link for me about apic and NO_MIXED_MODE?

Thanks a lot,

=2DHarry



--Boundary-01=_DlDs/IinuzTQ2PX
Content-Type: text/plain;
  charset="iso-8859-15";
  name="dmesg.UP_APIC.091104"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="dmesg.UP_APIC.091104"

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
=46reeBSD 5.1-CURRENT #37: Tue Nov 11 01:20:26 CET 2003
    harry@cale.flintsbach.schmalzbauer.de:/usr/obj/usr/src/sys/CALE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc09c1000.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc09c1244.
Preloaded elf module "/boot/kernel/nvidia.ko" at 0xc09c12f0.
ACPI APIC Table: <D815EA EA81510A>
Timecounter "i8254" frequency 1183579 Hz quality 0
CPU: Intel(R) Celeron(TM) CPU                1100MHz (1095.82-MHz 686-class=
 CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x6b1  Stepping =3D 1
  Features=3D0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  =3D 268173312 (255 MB)
avail memory =3D 250781696 (239 MB)
ioapic0: Changing APIC ID to 1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
VESA: v3.0, 65536k memory, flags:0x1, mode table:0xc07603e2 (1000022)
VESA: NVIDIA
acpi0: <D815EA D815EPFV> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00f2a10
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_cpu0: <CPU> port 0x530-0x537 on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci2: <PCI bus> on pcib1
pcib1: slot 0 INTA is routed to irq 16
nvidia0: <GeForce4 MX 440 with AGP8X> mem 0xf0000000-0xf3ffffff,0xfd000000-=
0xfdffffff irq 16 at device 0.0 on pci2
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib2
fxp0: <Intel 82801BA/CAM (ICH2/3) Pro/100 Ethernet> port 0xdf00-0xdf3f mem =
0xfc9ff000-0xfc9fffff irq 20 at device 8.0 on pci1
fxp0: Ethernet address 00:03:47:f0:c2:ef
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> port 0xffa0-0xffaf at device 31.1 =
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xef40-0xef5f i=
rq 19 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ichsmb0: <Intel 82801BA (ICH2) SMBus controller> port 0xefa0-0xefaf irq 17 =
at device 31.3 on pci0
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus generic I/O> on smbus0
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xef80-0xef9f i=
rq 23 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2: Standard Microsystems product 0x0140, class 9/0, rev 1.10/0.00, addr=
 2
uhub2: 4 ports with 4 removable, self powered
ums0: Microsoft Microsoft IntelliMouse=AE Explorer, rev 1.10/1.14, addr 3, =
iclass 3/1
ums0: 5 buttons and Z dir.
uhub3: Texas Instruments General Purpose USB Hub, class 9/0, rev 1.10/1.01,=
 addr 4
uhub3: 2 ports with 2 removable, bus powered
pcm0: <Intel ICH2 (82801BA)> port 0xef00-0xef3f,0xe800-0xe8ff irq 17 at dev=
ice 31.5 on pci0
pcm0: <Analog Devices AD1885 AC97 Codec>
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x=
3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <Option ROMs> at iomem 0xd0800-0xd17ff,0xcf800-0xd07ff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <12 virtual consoles, flags=3D0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1095823652 Hz quality 800
Timecounters tick every 1.000 msec
GEOM: create disk ad0 dp=3D0xc2db8970
ad0: 39083MB <Maxtor 4D040H2> [79408/16/63] at ata0-master UDMA100
acd0: CDROM <SONY CDU4811> at ata1-master PIO4
pcm0: measured ac97 link rate at 55947 Hz
Mounting root from ufs:/dev/ad0s2a
Warning: pid 577 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 583 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 584 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 604 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 605 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 606 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 607 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 610 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 609 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 614 used static ldt allocation.
See the i386_set_ldt man page for more info
pid 629 (artsd), uid 1324: exited on signal 11 (core dumped)

--Boundary-01=_DlDs/IinuzTQ2PX--

--Boundary-03=_JlDs/lg0wCNaXti
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQA/sDlJBylq0S4AzzwRAqqdAJ9K70v+IZdk9d/P+//fUD3oJWjzgACggEHc
pV1hkkv5FzOx3kbQiMlqTIc=
=BZV9
-----END PGP SIGNATURE-----

--Boundary-03=_JlDs/lg0wCNaXti--



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