From owner-freebsd-stable@FreeBSD.ORG Sat Oct 18 22:35:22 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4B3916A4B3 for ; Sat, 18 Oct 2003 22:35:22 -0700 (PDT) Received: from pttx.ptt.cc (pttx.ptt.cc [140.112.30.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF20A43FBD for ; Sat, 18 Oct 2003 22:35:21 -0700 (PDT) (envelope-from in@pttx.ptt.cc) Received: by pttx.ptt.cc (Postfix, from userid 1001) id 5CDBDC4D3; Sun, 19 Oct 2003 13:35:06 +0800 (CST) Date: Sun, 19 Oct 2003 13:35:06 +0800 From: in To: freebsd-stable@freebsd.org Message-ID: <20031019053506.GA55011@dns.in2home.org> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: fxp0: device timeout with PAE enabled X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2003 05:35:23 -0000 Hi, We use IBM Netfinity 6000R with 6GB ram to run a large BBS in Taiwan. everything works perfectly above 4.9-RC without PAE, but after enabling PAE, something wrong with networking. with intel 82558B, 82559, 82550, and 82551QM (using fxp driver) we always get the following error messages: fxp0: device timeout fxp0: DMA timeout and it's not working. with onboard pcn0 (AMD PCnet/PCI 10/100BaseTX), we get a lot of packet loss (20% ~ 70%) without any error message. Realtek 8139 is not working without any error message. xl with PAE will cause kernel panic when booting: Fatal trap 12: page fault while in kernel mode mp_lock = 00000002; cpuid = 0; lapic.id = 03000000 fault virtual address = 0x10 fault code = supervisor read, page not present instruction pointer = 0x8:0xa0192429 stack pointer = 0x10:0xa0395e10 frame pointer = 0x10:0xa0395e20 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) interrupt mask = net tty bio cam <- SMP: XXX trap number = 12 panic: page fault mp_lock = 00000002; cpuid = 0; lapic.id = 03000000 Uptime: 0s for testing, we use this program: 1.install the card and cable, 2.use the kernel with the driver (only) without PAE and test, 3.reboot with the kernel only add 'options PAE' and increase KVA_PAGES from 288 to 768 and test at step 2, it works perfectly, so it should not be bad cable or ... now we use em0, but there's a lot of packet loss even without PAE :( is there any suggestion? ^^? Thanks for your help ^^ Regards, in2 in2@in2home.org ---------------------------------------------------------------------- # kernel configure machine i386 cpu I686_CPU ident ptt maxusers 512 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 NFS #Network Filesystem options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=2000 #Delay (in ms) before probing SCSI 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 SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O device isa device eisa device pci device ahc # AHA2940 and onboard AIC7xxx devices device scbus # SCSI bus (required) device da # Direct Access (disks) device pass # Passthrough device (direct SCSI access) 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? device sc0 at isa? flags 0x100 device npx0 at nexus? port IO_NPX irq 13 device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device sio2 at isa? disable port IO_COM3 irq 5 device sio3 at isa? disable port IO_COM4 irq 9 pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device bpf #Berkeley packet filter options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT options NMBCLUSTERS=16000 options AUTO_EOI_1 options CPU_ENABLE_SSE options CONSPEED=115200 options COMPAT_LINUX options AHC_ALLOW_MEMIO options IPFW2 # network adapter device em # Intel PRO/1000 adapter Gigabit Ethernet Card #device miibus # MII bus support #device fxp # Intel EtherExpress PRO/100B (82557, 82558) #device rl # RealTek 8129/8139 #device pcn # AMD Am79C97x PCI 10/100 (precedence over 'lnc') #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # without PAE # option KVA_PAGES=288 # with PAE options PAE options KVA_PAGES=768 ---------------------------------------------------------------------- # dmesg FreeBSD 4.9-RC #0: Sat Oct 11 14:04:46 CST 2003 root@wsweb.csie.ntu.edu.tw:/usr/obj/usr/src/sys/ptt.PAE.em Timecounter "i8254" frequency 1193182 Hz CPU: Intel Pentium III Xeon (701.73-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6a1 Stepping = 1 Features=0x387fbff real memory = 6442450944 (6291456K bytes) avail memory = 5867999232 (5730468K bytes) APIC_IO: MP table broken: 8259->APIC entry missing! Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 16 pins in IOAPIC #1 FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs cpu0 (BSP): apic id: 3, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 14, version: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 13, version: 0x000f0011, at 0xfec01000 Preloaded elf kernel "kernel" at 0xa030f000. Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcib2: on motherboard IOAPIC #1 intpin 1 -> irq 2 IOAPIC #1 intpin 2 -> irq 9 IOAPIC #1 intpin 9 -> irq 10 pci2: on pcib2 ahc0: port 0x4000-0x40ff mem 0xefbff000-0xefbfffff irq 2 at device 1.0 on pci2 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0x4100-0x41ff mem 0xefbfe000-0xefbfefff irq 9 at device 1.1 on pci2 aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs pci2: (vendor=0x8086, dev=0x1229) at 6.0 irq 10 pcib0: on motherboard IOAPIC #1 intpin 0 -> irq 11 IOAPIC #1 intpin 3 -> irq 15 pci0: on pcib0 pci0: (vendor=0x1022, dev=0x2000) at 5.0 irq 11 pci0: at 6.0 isab0: at device 15.0 on pci0 isa0: on isab0 pci0: at 15.1 pcib5: on motherboard IOAPIC #1 intpin 5 -> irq 16 pci5: on pcib5 em0: port 0x7000-0x701f mem 0xec3c0000-0xec3dffff,0xec3e0000-0xec3fffff irq 16 at device 2.0 on pci5 em0: Speed:N/A Duplex:N/A orm0: