From owner-freebsd-questions Tue Jun 5 14:16:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sunny.pacific.net.sg (sunny.pacific.net.sg [203.120.90.127]) by hub.freebsd.org (Postfix) with ESMTP id CC72537B42B for ; Tue, 5 Jun 2001 14:16:34 -0700 (PDT) (envelope-from james@sg.freebsd.org) Received: from pop1.pacific.net.sg (pop1.pacific.net.sg [203.120.90.85]) by sunny.pacific.net.sg with ESMTP id f55KNWR03650; Wed, 6 Jun 2001 04:23:32 +0800 (SGT) Received: from evilfry (spoff99.pacific.net.sg [203.120.94.99]) by pop1.pacific.net.sg with SMTP id FAA15896; Wed, 6 Jun 2001 05:16:21 +0800 (SGT) Message-ID: <010b01c0ee04$d4de6b40$635e78cb@evilfry> From: "James Lim" To: "Eric Wadsworth" , Cc: "Gary Nye" References: <3B1D495A.223E1EE1@consys.com> Subject: Re: Machine reboots on file transfers Date: Wed, 6 Jun 2001 05:16:46 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, The last time the same similiar scenario happened, it was due to not enuff power supplied by the power supply, after swapping into a 300 W power supply it resolved the issue. I hope this helps for you :) ----- Original Message ----- From: "Eric Wadsworth" To: Cc: "Gary Nye" Sent: Wednesday, June 06, 2001 5:04 AM Subject: Machine reboots on file transfers > This machine, "chiri", reboots on large file transfers, either FTP or Samba. It > was stable for several years, until we turned it into a web server, DNS server, > squid server, etc. It used to be a build box, but got reassigned. It had a bad > video card, so we swapped it out for a good one, but that didn't fix the > problem. It's got SCSI hard drives and 2 NICs connecting it to two networks. At > one point the fan on the power supply failed, and this computer got very hot, > rebooting 3 times in an hour before it was caught and the power supply replaced. > > It's a dual-CPU Pentium III 350MHz box with 512MB RAM. Details on this system > are below. > > If any of you nice FreeBSD folks would like to comment, I'd appreciate it. > > Thanks! > --- Eric > > ================================================== ========= > Eric Wadsworth email: wad@consys.com > Conceptual Systems and Software http://www.consys.com > ================================================== ========= > > Here's a transcription of the error that showed up on the screen last time, when > I was FTPing a 60 meg file to it: > > sg[0] - Addr 0x117fb00 : length 4096 > sg[1] - Addr 0xeb1c000 : length 2048 > Fatal trap 12 : page fault while in kernel mode > mp_lock = 00000006; cpuid = 0; lapic.id = 00000000 > fault virtual address = 0x0 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc0136b3c > stack pointer = 0x10: 0xd678c8d8 > frame pointer = 0x10: 0xd678c8e8 > 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 = 71173 (ftpd) > interrupt mask = cam <- SMP: XXX > trap number = 12 > > Here's the boot log: > > Jun 5 13:20:39 chiricahua /kernel: Copyright (c) 1992-2001 The FreeBSD Project. > Jun 5 13:20:39 chiricahua /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, > 1989, 1991, 1992, 1993, 1994 > Jun 5 13:20:39 chiricahua /kernel: The Regents of the University of California. > All rights reserved. > Jun 5 13:20:39 chiricahua /kernel: FreeBSD 4.2-STABLE #0: Thu Feb 1 17:29:09 > MST 2001 > Jun 5 13:20:39 chiricahua /kernel: > rcarter@chiricahua.consys.com:/u1/obj/usr/src/sys/ CURRENTSMP > Jun 5 13:20:39 chiricahua /kernel: Timecounter "i8254" frequency 1193182 Hz > Jun 5 13:20:39 chiricahua /kernel: CPU: Pentium II/Pentium II Xeon/Celeron > (350.80-MHz 686-class CPU) > Jun 5 13:20:39 chiricahua /kernel: Origin = "GenuineIntel" Id = 0x652 > Stepping = 2 > Jun 5 13:20:39 chiricahua /kernel: > Features=0x183fbff > Jun 5 13:20:39 chiricahua /kernel: real memory = 536870912 (524288K bytes) > Jun 5 13:20:39 chiricahua /kernel: avail memory = 519512064 (507336K bytes) > Jun 5 13:20:39 chiricahua /kernel: Programming 24 pins in IOAPIC #0 > Jun 5 13:20:39 chiricahua /kernel: IOAPIC #0 intpin 2 -> irq 0 > Jun 5 13:20:39 chiricahua /kernel: FreeBSD/SMP: Multiprocessor motherboard > Jun 5 13:20:39 chiricahua /kernel: cpu0 (BSP): apic id: 0, version: > 0x00040011, at 0xfee00000 > Jun 5 13:20:39 chiricahua /kernel: cpu1 (AP): apic id: 1, version: > 0x00040011, at 0xfee00000 > Jun 5 13:20:39 chiricahua /kernel: io0 (APIC): apic id: 2, version: > 0x00170011, at 0xfec00000 > Jun 5 13:20:39 chiricahua /kernel: Preloaded elf kernel "kernel" at 0xc0315000. > Jun 5 13:20:39 chiricahua /kernel: Pentium Pro MTRR support enabled > Jun 5 13:20:39 chiricahua /kernel: md0: Malloc disk > Jun 5 13:20:39 chiricahua /kernel: npx0: on motherboard > Jun 5 13:20:39 chiricahua /kernel: npx0: INT 16 interface > Jun 5 13:20:39 chiricahua /kernel: pcib0: on > motherboard > Jun 5 13:20:39 chiricahua /kernel: pci0: on pcib0 > Jun 5 13:20:39 chiricahua /kernel: pcib2: bridge> at device 1.0 on pci0 > Jun 5 13:20:39 chiricahua /kernel: pci1: on pcib2 > Jun 5 13:20:39 chiricahua /kernel: pci1: display device> at 0.0 irq 16 > Jun 5 13:20:39 chiricahua /kernel: isab0: at > device 7.0 on pci0 > Jun 5 13:20:39 chiricahua /kernel: isa0: on isab0 > Jun 5 13:20:39 chiricahua /kernel: pci0: at 7.1 > Jun 5 13:20:39 chiricahua /kernel: uhci0: controller> at device 7.2 on pci0 > > Here's the contents of /usr/src/sys/i386/conf/CURRENTSMP: > > # > # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks > # > # For more information on this file, please read the handbook section on > # Kernel Configuration Files: > # > # http://www.freebsd.org/handbook/kernelconfig-confi g.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.220 1999/12/28 02:01:02 wpaul Exp $ > > machine i386 > cpu I686_CPU > ident CURRENTSMP > maxusers 100 > > #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 MFS #Memory Filesystem > options MD_ROOT #MD is a potential root device > options NFS #Network Filesystem > options NFS_ROOT #NFS usable as root device, "NFS" req'ed > options MSDOSFS #MSDOS Filesystem > options CD9660 #ISO 9660 Filesystem > options CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed > options PROCFS #Process filesystem > options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] > options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device > options UCONSOLE #Allow users to grab the console > options USERCONFIG #boot -c editor > options VISUAL_USERCONFIG #visual boot -c editor > options KTRACE #ktrace(1) syscall trace support > options SYSVSHM #SYSV-style shared memory > options SYSVMSG #SYSV-style message queues > options SYSVSEM #SYSV-style semaphores > > # To make an SMP kernel, the next two are needed > options SMP # Symmetric MultiProcessor Kernel > options APIC_IO # Symmetric (APIC) I/O > # Optionally these may need tweaked, (defaults shown): > #options NCPU=2 # number of CPUs > #options NBUS=4 # number of busses > #options NAPIC=1 # number of IO APICs > #options NINTR=24 # number of INTs > > device isa0 > #device eisa0 > device pci0 > > # 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 > > # ATA and ATAPI devices > #device ata0 at isa? port IO_WD1 irq 14 > #device ata1 at isa? port IO_WD2 irq 15 > #device ata2 > #device atadisk0 # ATA disk drives > #device atapicd0 # ATAPI CDROM drives > #device atapifd0 # ATAPI floppy drives > #device atapist0 # ATAPI tape drives > #options ATA_STATIC_ID #Static device numbering > #options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices > > # SCSI Controllers > # A single entry for any of these controllers (ahb, ahc, amd, ncr, etc...) is > # sufficient for any number of installed devices. > device ahc0 # AHA2940 and onboard AIC7xxx devices > > # SCSI peripherals > # Only one of each of these is needed, they are dynamically allocated. > device scbus0 # SCSI bus (required) > device da0 # Direct Access (disks) > device sa0 # Sequential Access (tape etc) > device cd0 # CD > device pass0 # Passthrough device (direct SCSI access) > > # atkbdc0 controls both the keyboard and the PS/2 mouse > device atkbdc0 at isa? port IO_KBD > device atkbd0 at atkbdc? irq 1 > 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? > > # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver > #device vt0 at isa? > #options XSERVER # support for X server > #options FAT_CURSOR # start with block cursor > # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines > #options PCVT_SCANSET=2 # IBM keyboards are non-std > > # 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 > > # PCCARD (PCMCIA) support > #device card0 > #device pcic0 at isa? > #device pcic1 at isa? > > # Serial (COM) ports > 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 > > # Parallel port > #device ppc0 at isa? port? flags 0x40 irq 7 > #device ppbus0 # Parallel port bus (required) > #device lpt0 # Printer > #device plip0 # TCP/IP over parallel > #device ppi0 # Parallel port interface device > #device vpo0 # Requires scbus and da0 > > > # PCI Ethernet NICs. > #device de0 # DEC/Intel DC21x4x (``Tulip'') > device fxp0 # Intel EtherExpress PRO/100B (82557, 82558) > #device tx0 # SMC 9432TX (83c170 ``EPIC'') > device vx0 # 3Com 3c590, 3c595 (``Vortex'') > #options COMPAT_OLDPCI #Use PCI shims and glue for old drivers > > # Pseudo devices - the number indicates how many units to allocated. > pseudo-device loop # Network loopback > pseudo-device ether # Ethernet support > pseudo-device sl 1 # Kernel SLIP > pseudo-device ppp 1 # Kernel PPP > pseudo-device tun # Packet tunnel. > pseudo-device pty # Pseudo-ttys (telnet etc) > pseudo-device md # Memory "disks" > > # The `bpf' pseudo-device enables the Berkeley Packet Filter. > # Be aware of the administrative consequences of enabling this! > pseudo-device bpf #Berkeley packet filter > > # USB support > device uhci0 # UHCI PCI->USB interface > device ohci0 # OHCI PCI->USB interface > device usb0 # USB Bus (required) > device ugen0 # Generic > device uhid0 # "Human Interface Devices" > device ukbd0 # Keyboard > #device ulpt0 # Printer > #device umass0 # Disks/Mass storage - Requires scbus and da0 > device ums0 # Mouse > #device aue0 # ADMtek USB ethernet > > options SOFTUPDATES > options P1003_1B > options _KPOSIX_PRIORITY_SCHEDULING > options _KPOSIX_VERSION=199309L > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message