精華區beta FB_stable 關於我們 聯絡資訊
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE> 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: <math processor> on motherboard npx0: INT 16 interface pcib2: <ServerWorks host to PCI bridge> on motherboard IOAPIC #1 intpin 1 -> irq 2 IOAPIC #1 intpin 2 -> irq 9 IOAPIC #1 intpin 9 -> irq 10 pci2: <PCI bus> on pcib2 ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> 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: <Adaptec aic7899 Ultra160 SCSI adapter> 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: <unknown card> (vendor=0x8086, dev=0x1229) at 6.0 irq 10 pcib0: <ServerWorks host to PCI bridge> on motherboard IOAPIC #1 intpin 0 -> irq 11 IOAPIC #1 intpin 3 -> irq 15 pci0: <PCI bus> on pcib0 pci0: <unknown card> (vendor=0x1022, dev=0x2000) at 5.0 irq 11 pci0: <S3 Savage 4 graphics accelerator> at 6.0 isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0 isa0: <ISA bus> on isab0 pci0: <Unknown PCI ATA controller> at 15.1 pcib5: <ServerWorks host to PCI bridge> on motherboard IOAPIC #1 intpin 5 -> irq 16 pci5: <PCI bus> on pcib5 em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.16> port 0x7000-0x701f mem 0xec3c0000-0xec3dffff,0xec3e0000-0xec3fffff irq 16 at device 2.0 on pci5 em0: Speed:N/A Duplex:N/A orm0: <Option ROM> at iomem 0xc0000-0xc9fff on isa0 pmtimer0 on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A APIC_IO: Testing 8254 interrupt delivery APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2 APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0 ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to accept, logging disabled Waiting 2 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! pass3 at ahc0 bus 0 target 8 lun 0 pass3: <IBM YGLv3 S2 0> Fixed Processor SCSI-2 device pass3: 3.300MB/s transfers da4 at ahc1 bus 0 target 4 lun 0 da4 at ahc1 bus 0 target 4 lun 0 da4: <ATA WDC WD800JB- 17.0> Fixed Direct Access SCSI-3 device da4: 160.000MB/s transfers (80.000MHz, offset 14, 16bit) da4: 76319MB (156301488 512 byte sectors: 255H 63S/T 9729C) da0 at ahc0 bus 0 target 0 lun 0 da0: <IBM DDYS-T36950M S80D> Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) da5 at ahc1 bus 0 target 5 lun 0 da5: <ATA WDC WD800JB- 17.0> Fixed Direct Access SCSI-3 device da5: 160.000MB/s transfers (80.000MHz, offset 14, 16bit) da5: 76319MB (156301488 512 byte sectors: 255H 63S/T 9729C) da6 at ahc1 bus 0 target 6 lun 0 da6: <ATA WDC WD800JB- 17.0> Fixed Direct Access SCSI-3 device da6: 160.000MB/s transfers (80.000MHz, offset 14, 16bit) da6: 76319MB (156301488 512 byte sectors: 255H 63S/T 9729C) da7 at ahc1 bus 0 target 9 lun 0 da7: <ATA WDC WD800JB- 17.0> Fixed Direct Access SCSI-3 device da7: 160.000MB/s transfers (80.000MHz, offset 14, 16bit) da7: 76319MB (156301488 512 byte sectors: 255H 63S/T 9729C) da1 at ahc0 bus 0 target 1 lun 0 da1: <IBM DDYS-T36950M S80D> Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da1: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) da8 at ahc1 bus 0 target 10 lun 0 da8: <ATA WDC WD800JB- 77.0> Fixed Direct Access SCSI-3 device da8: 160.000MB/s transfers (80.000MHz, offset 14, 16bit) da8: 76319MB (156301488 512 byte sectors: 255H 63S/T 9729C) da9 at ahc1 bus 0 target 11 lun 0 da9: <ATA WDC WD800JB- 77.0> Fixed Direct Access SCSI-3 device da9: 160.000MB/s transfers (80.000MHz, offset 14, 16bit) da9: 76319MB (156301488 512 byte sectors: 255H 63S/T 9729C) da2 at ahc0 bus 0 target 2 lun 0 da2: <IBM DDYS-T36950M S80D> Fixed Direct Access SCSI-3 device da2: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da2: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C) da3 at ahc1 bus 0 target 2 lun 0 da3: <FUJITSU MAN3367MP 0108> Fixed Direct Access SCSI-3 device da3: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da3: 35044MB (71771688 512 byte sectors: 255H 63S/T 4467C) da10 at ahc1 bus 0 target 12 lun 0 da10: <SEAGATE SX118202LS B804> Fixed Direct Access SCSI-2 device da10: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled da10: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) Mounting root from ufs:/dev/da0s1a em0: Link is up 100 Mbps Full Duplex _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -------------------------------------------------------------------------- < 發信人: truckman@FreeBSD.org (Don Lewis), 看板: FB_stable 標 題: Re: fxp0: device timeout with PAE enabled 發信站: NCTU CSIE FreeBSD Server (Sun Oct 19 13:46:27 2003) 轉信站: ptt!FreeBSD.csie.NCTU!not-for-mail On 19 Oct, in wrote: > 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 It looks like the pcn and rl drivers are not yet compatible with PAE, even in 5.1-CURRENT, at least according to the PAE kernel configuration file. The fxp and xl drivers should be compatible (they appear to be supported in -CURRENT), but one thing to watch out for is that you can't kldload any kernel modules when running the PAE kernel because the modules don't get compiled with the correct magic to be PAE compatible. I don't know if this explains the symptoms that you are seeing. I'm somewhat suprised that there isn't a PAE config file in -STABLE that can be used as a starting point. You might want to take a look at the -CURRENT version of /usr/src/sys/i386/conf/PAE. I don't happen to know of any driver status information specific to -STABLE, though. _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"