Date: Sun, 7 Dec 2003 14:05:08 +0200 From: Pavel Kuz <paul@evitel.net> To: freebsd-smp@freebsd.org Subject: APIC problem? Message-ID: <20031207120508.GN61568@evitel.net>
next in thread | raw e-mail | index | archive | help
--2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Hello! I've faced the following problem under 4.9-RELEASE-p1, my system works fine in single processor mode, but when I load kernel with SMP enabled I get /kernel: fxp0: device timeout messages and it looks like fxp does not work at all. I've found description of the similar problem at http://www.geocrawler.com/mail/thread.php3?subject=For+those+with+P4+SMP+problems..&list=171 , but I did not find how to fix it. I've attached my kernel configuration file. Please, help! Dec 2 14:27:28 myhost /kernel: Copyright (c) 1992-2003 The FreeBSD Project. Dec 2 14:27:28 myhost /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Dec 2 14:27:28 myhost /kernel: The Regents of the University of California. All rights reserved. Dec 2 14:27:28 myhost /kernel: FreeBSD 4.9-RELEASE-p1 #2: Tue Dec 2 14:26:28 CS T 2003 Dec 2 14:27:28 myhost /kernel: root@myhost.my.net:/usr/src/sys/compile/ORION Dec 2 14:27:28 myhost /kernel: Timecounter "i8254" frequency 1193182 Hz Dec 2 14:27:28 myhost /kernel: CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2400.10-MHz 6 86-class CPU) Dec 2 14:27:28 myhost /kernel: Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Dec 2 14:27:28 myhost /kernel: Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MC E,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS ,HTT,TM,PBE> Dec 2 14:27:28 myhost /kernel: Hyperthreading: 2 logical CPUs Dec 2 14:27:28 myhost /kernel: real memory = 1073676288 (1048512K bytes) Dec 2 14:27:28 myhost /kernel: avail memory = 1042198528 (1017772K bytes) Dec 2 14:27:28 myhost /kernel: Programming 24 pins in IOAPIC #0 Dec 2 14:27:28 myhost /kernel: IOAPIC #0 intpin 2 -> irq 0 Dec 2 14:27:28 myhost /kernel: IOAPIC #0 intpin 16 -> irq 11 Dec 2 14:27:28 myhost /kernel: IOAPIC #0 intpin 17 -> irq 10 Dec 2 14:27:28 myhost /kernel: IOAPIC #0 intpin 19 -> irq 5 Dec 2 14:27:28 myhost /kernel: FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs Dec 2 14:27:28 myhost /kernel: cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 Dec 2 14:27:28 myhost /kernel: cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000 Dec 2 14:27:28 myhost /kernel: cpu2 (AP): apic id: 6, version: 0x00050014, at 0xfee00000 Dec 2 14:27:28 myhost /kernel: cpu3 (AP): apic id: 7, version: 0x00050014, at 0xfee00000 Dec 2 14:27:28 myhost /kernel: io0 (APIC): apic id: 8, version: 0x00178020, at 0xfec00000 Dec 2 14:27:28 myhost /kernel: Preloaded elf kernel "kernel" at 0xc02d9000. Dec 2 14:27:28 myhost /kernel: Warning: Pentium 4 CPU: PSE disabled Dec 2 14:27:28 myhost /kernel: Pentium Pro MTRR support enabled Dec 2 14:27:28 myhost /kernel: Using $PIR table, 11 entries at 0xc00f2ee0 Dec 2 14:27:28 myhost /kernel: npx0: <math processor> on motherboard Dec 2 14:27:28 myhost /kernel: npx0: INT 16 interface Dec 2 14:27:28 myhost /kernel: pcib0: <Host to PCI bridge> on motherboard Dec 2 14:27:28 myhost /kernel: pci0: <PCI bus> on pcib0 Dec 2 14:27:28 myhost /kernel: pci0: <UHCI USB controller> at 29.0 irq 11 Dec 2 14:27:28 myhost /kernel: pci0: <UHCI USB controller> at 29.1 irq 5 Dec 2 14:27:28 myhost /kernel: pci0: <UHCI USB controller> at 29.2 irq 11 Dec 2 14:27:28 myhost /kernel: pcib1: <Intel 82801BA/BAM (ICH2) Hub to PCI bridg e> at device 30.0 on pci0 Dec 2 14:27:28 myhost /kernel: pci1: <PCI bus> on pcib1 Dec 2 14:27:28 myhost /kernel: pci1: <ATI Mach64-GR graphics accelerator> at 4.0 irq 10 Dec 2 14:27:28 myhost /kernel: fxp0: <Intel 82551 Pro/100 Ethernet> port 0xbc00- 0xbc3f mem 0xfeaa0000-0xfeabffff,0xfeafe000-0xfeafefff irq 5 at device 7.0 on pc i1 Dec 2 14:27:28 myhost /kernel: fxp0: Ethernet address 00:30:48:71:15:60 Dec 2 14:27:28 myhost /kernel: inphy0: <i82555 10/100 media interface> on miibus 0 Dec 2 14:27:28 myhost /kernel: inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100base TX-FDX, auto Dec 2 14:27:28 myhost /kernel: em0: <Intel(R) PRO/1000 Network Connection, Versi on - 1.7.16> port 0xb400-0xb43f mem 0xfea80000-0xfea9ffff irq 5 at device 8.0 on pci1 Dec 2 14:27:28 myhost /kernel: em0: Speed:N/A Duplex:N/A Dec 2 14:27:28 myhost /kernel: isab0: <PCI to ISA bridge (vendor=8086 device=24d 0)> at device 31.0 on pci0 Dec 2 14:27:28 myhost /kernel: isa0: <ISA bus> on isab0 Dec 2 14:27:28 myhost /kernel: atapci0: <Intel ICH5 ATA100 controller> port 0xfc 00-0xfc0f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 31.1 on pci0 Dec 2 14:27:28 myhost /kernel: ata0: at 0x1f0 irq 14 on atapci0 Dec 2 14:27:28 myhost /kernel: ata1: at 0x170 irq 15 on atapci0 Dec 2 14:27:28 myhost /kernel: pci0: <unknown card> (vendor=0x8086, dev=0x24d3) at 31.3 irq 10 Dec 2 14:27:28 myhost /kernel: orm0: <Option ROM> at iomem 0xc0000-0xc7fff on is a0 Dec 2 14:27:28 myhost /kernel: pmtimer0 on isa0 Dec 2 14:27:28 myhost /kernel: fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0 x3f7 irq 6 drq 2 on isa0 Dec 2 14:27:28 myhost /kernel: fdc0: FIFO enabled, 8 bytes threshold Dec 2 14:27:28 myhost /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 Dec 2 14:27:28 myhost /kernel: atkbdc0: <Keyboard controller (i8042)> at port 0x 60,0x64 on isa0 Dec 2 14:27:28 myhost /kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Dec 2 14:27:28 myhost /kernel: sc0: <System console> at flags 0x100 on isa0 Dec 2 14:27:28 myhost /kernel: sc0: VGA <16 virtual consoles, flags=0x300> Dec 2 14:27:28 myhost /kernel: sio0: configured irq 4 not in bitmap of probed ir qs 0 Dec 2 14:27:28 myhost /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 Dec 2 14:27:28 myhost /kernel: sio0: type 16550A Dec 2 14:27:28 myhost /kernel: sio1: configured irq 3 not in bitmap of probed ir qs 0 Dec 2 14:27:28 myhost /kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0 Dec 2 14:27:28 myhost /kernel: sio1: type 16550A Dec 2 14:27:28 myhost /kernel: APIC_IO: Testing 8254 interrupt delivery Dec 2 14:27:28 myhost /kernel: APIC_IO: routing 8254 via IOAPIC #0 intpin 2 Dec 2 14:27:28 myhost /kernel: DUMMYNET initialized (011031) Dec 2 14:27:28 myhost /kernel: IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 1 packets/ent ry by default Dec 2 14:27:28 myhost /kernel: SMP: AP CPU #3 Launched! Dec 2 14:27:28 myhost /kernel: SMP: AP CPU #1 Launched! Dec 2 14:27:28 myhost /kernel: SMP: AP CPU #2 Launched! Dec 2 14:27:28 myhost /kernel: ad0: 38166MB <WDC WD400JB-00ENA0> [77545/16/63] a t ata0-master UDMA100 Dec 2 14:27:28 myhost /kernel: acd0: CDROM <CDU5211> at ata1-master PIO4 Dec 2 14:27:28 myhost /kernel: Mounting root from ufs:/dev/ad0s1a Dec 2 14:28:51 myhost /kernel: fxp0: device timeout Dec 2 14:29:39 myhost /kernel: fxp0: device timeout Dec 2 14:31:55 myhost last message repeated 5 times Dec 2 14:41:56 myhost last message repeated 20 times Dec 2 14:51:55 myhost last message repeated 20 times -- Sincerely, Pavel Kuz --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename=ORION # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.54 2003/04/28 03:41:46 simokawa Exp $ machine i386 cpu I686_CPU ident ORION maxusers 0 #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. #options CPU_ENABLE_SSE options IPFIREWALL options IPDIVERT options DUMMYNET options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O device isa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device fd1 at fdc0 drive 1 # # If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy, # don't use the above line for fdc0 but the following one: #device fdc0 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 device agp # support several AGP chipsets # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at nexus? disable flags 0x20 # Advanced Power Management # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 # PCI Ethernet NICs. device em # Intel PRO/1000 adapter Gigabit Ethernet Card (``Wiseman'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device fxp # Intel EtherExpress PRO/100B (82557, 82558) # Pseudo devices - the number indicates how many units to allocate. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device gif # IPv6 and IPv4 tunneling # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter --2oS5YaxWCcQjTEyO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031207120508.GN61568>