From owner-freebsd-stable Fri Mar 23 15:57:19 2001 Delivered-To: freebsd-stable@freebsd.org Received: from gilmore.nas.nasa.gov (gilmore.nas.nasa.gov [129.99.32.17]) by hub.freebsd.org (Postfix) with ESMTP id 2A9C337B719 for ; Fri, 23 Mar 2001 15:57:07 -0800 (PST) (envelope-from tweten@nas.nasa.gov) Received: from gilmore.nas.nasa.gov (IDENT:5gLyiGGX+KCYbnMDWAOlRbRoLCbSGq/h@localhost.nas.nasa.gov [127.0.0.1]) by gilmore.nas.nasa.gov (8.11.3/8.11.3) with ESMTP id f2NNuq601634 for ; Fri, 23 Mar 2001 15:56:53 -0800 (PST) (envelope-from tweten@nas.nasa.gov) Message-Id: <200103232356.f2NNuq601634@gilmore.nas.nasa.gov> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 Reply-To: tweten@nas.nasa.gov To: freebsd-stable@freebsd.org Subject: 4.3-RC Kernel Buffer Corruption (Was: 4.3-BETA makeworld of current STABLE Fails) From: Dave Tweten Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Mar 2001 15:56:52 -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As promised, I have rebuilt the kernel from sources cvsupped on Wednesday night, and the kernel buffer corruption I saw previously continues. After I built the kernel FreeBSD 4.3-RC (FLOATER) #2: Thu Mar 22 23:19:11 PST 2001 and installed it, I tried to buildworld again. As before, it stopped in "stage 4: building libraries." As before, the stopper was source file (/usr/src/lib/libc/stdio/setvbuf.c) corruption in kernel buffers by binary garbage. It started on a 1024-byte boundary (4096 bytes in) and extending for 1024 bytes. Again, the file itself was not corrupted. For review, Floater is an NEC Versa 6050MX with 48 megabytes of main memory and 2 4-Gig disk drives. A kernel I built on February 16 is the last one that doesn't exhibit buffer corruption. The problem has been consistent across a previous kernel config file and the current one. The previous config file fell victim to my blowing away all of /usr/src and re-cvsupping before I realized that the corruption wasn't on the disk. This explanation is by way of saying that the attached config file is a work in progress, but it couldn't have caused the identical buffer corruption observed with its predecessor. As a kicker, the previous config file was used to build the February 16 kernel that works. I'd call this a release show-stopper. # # FLOATER -- Floater.nas.nasa.gov configuration # machine i386 cpu I586_CPU ident FLOATER maxusers 64 #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options CD9660 #ISO 9660 filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options CPU_FASTER_5X86_FPU #Enable faster FPU exception handler options CPU_SUSP_HLT #Enables suspend on HALT options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options ICMP_BANDLIM #Rate limit bad replies options INCLUDE_CONFIG_FILE #Include this file in kernel options INET #InterNETworking options INET6 #IPv6 communications protocols options IPSEC #IP security options IPSEC_ESP #IP security (crypto; define w/ IPSEC) options KBD_INSTALL_CDEV #Install a CDEV entry in /dev options KTRACE #ktrace(1) support options MFS #Memory Filesystem options MSDOSFS #MSDOS Filesystem options NFS #Network Filesystem options NFS_NOSERVER #Disable the NFS server code options NSWAPDEV=1 #Number of swap devices options PERFMON #Performance counter driver compiled options PPS_SYNC #Enable PLL for xntpd options PROCFS #Process filesystem options ROOTDEVNAME=\"ufs:ad0s1a\" options SHMMAXPGS=4096 #16 meg reputed to be required by Gimp options SOFTUPDATES #Speeds FS & makes abrupt shutdown safer options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options SYSVSHM #SYSV-style shared memory options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor device isa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives # 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 # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Sound support device snd0 device sb0 at isa? port 0x220 irq 5 drq 1 device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 # Power management support device apm0 at nexus? flags 0x20 # PCCARD (PCMCIA) support device pcic0 at isa? irq 10 device card # Serial (COM) ports device sio0 at isa? port IO_COM1 irq 4 device sio1 at isa? port IO_COM2 irq 3 device sio2 at isa? port IO_COM3 irq 9 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device ppi # Parallel port interface device # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device pty 64 # Pseudo-ttys (telnet etc) -- M/S 258-5 | 1024-bit PGP fingerprint: | tweten@nas.nasa.gov NASA Ames Research Center | 41 B0 89 0A 8F 94 6C 59 | (650) 604-4416 Moffett Field, CA 94035-1000 | 7C 80 10 20 25 C7 2F E6 | FAX: (650) 604-4377 We each earn what freedom of speech we defend for those who most offend us. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message