Date: Tue, 9 Jul 1996 19:25:27 -0500 (CDT) From: Bob Dunaway <bob@rdsw.com> To: questions@freebsd.org Subject: STABLE Kernel Crashes Message-ID: <199607100025.TAA21232@rdsw.com>
next in thread | raw e-mail | index | archive | help
The STABLE kernel version dated June 17 has been running fine. I compiled a STABLE kernel about June 26 and it did a panic during the boot. I built a CURRENT kernel on June 27 and it ran fine. I then built a new STABLE kernel on June 28 an it did a panic during boot. I built another STABLE kernel on July 1. After it booted, it corrupted the root partition, and after trying to fsck the partition, it gave up and quit. I had to reload the system from the 2.1.0 RELEASE and restore from tape. On July 9, I built another STABLE kernel. When I booted it, numerous directories were either deleted, converted to files, or lost the directory information (showed in ls listing but not ls -l). They could not be deleted but could be renamed. I was able to repair the damage with fsck and restore lost data from tape. Among the corrupted directories were /var/at, /var/backups, /var/run, /var/mail, /var/tmp, /var/spool/lock, /var/spool/output, /tmp, and /etc/ppp. The June 17 STABLE kernel still ran fine. I turned off the external cache for the CPU and tried booting the July 9 kernel. It ran fine with external cache turned off. I have a Sanyo 486-DX2-66 with 256K of cache memory and 16 megs of RAM. The July 9 kernel was built using the GENERIC configuration with a new name and the 386 and 586 options commented out. I have included the configuration file and the dmesg output after disabling the cache. # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # $Id: GENERIC,v 1.46.2.12 1996/07/08 23:01:41 jkh Exp $ # machine "i386" #cpu "I386_CPU" cpu "I486_CPU" #cpu "I586_CPU" ident HTI maxusers 10 options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 options "SCSI_DELAY=15" #Be pessimistic about Joe SCSI device options BOUNCE_BUFFERS #include support for DMA bounce buffers options UCONSOLE #Allow users to grab the console options SYSVSHM options SYSVSEM options SYSVMSG config kernel root on wd0 controller isa0 controller eisa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 tape ft0 at fdc0 drive 2 controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr disk wd2 at wdc1 drive 0 disk wd3 at wdc1 drive 1 options ATAPI #Enable ATAPI support for IDE bus device wcd0 #IDE CD-ROM controller ncr0 controller ahb0 controller ahc0 controller ahc1 controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr controller aic0 at isa? port 0x340 bio irq 11 vector aicintr controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr controller scbus0 device sd0 device st0 device cd0 #Only need one of these, the code dynamically grows device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr device mcd1 at isa? port 0x340 bio irq 11 vector mcdintr controller matcd0 at isa? port 0x230 bio device scd0 at isa? port 0x230 bio # syscons is the default console driver, resembling an SCO console device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint #options "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.1 #options XSERVER # include code for XFree86 # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std # Mandatory, don't remove device npx0 at isa? port "IO_NPX" irq 13 vector npxintr # # Laptop support (see LINT for more options) # #device apm0 at isa? # Advanced Power Management #options APM_BROKEN_STATCLOCK # Workaround some buggy APM BIOS device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr device sio3 at isa? port "IO_COM4" tty irq 9 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr device lpt1 at isa? port? tty device lpt2 at isa? port? tty device mse0 at isa? port 0x23c tty irq 5 vector mseintr #device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. device de0 device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr device ed1 at isa? port 0x300 net irq 5 iomem 0xd8000 vector edintr device ie0 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr device ep0 at isa? port 0x300 net irq 10 vector epintr device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr device lnc1 at isa? port 0x300 net irq 10 drq 0 vector lncintr device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr pseudo-device loop pseudo-device ether pseudo-device log pseudo-device sl 1 # ijppp uses tun instead of ppp device #pseudo-device ppp 1 pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's FreeBSD 2.1-STABLE #0: Tue Jul 9 11:35:28 CDT 1996 bob@opal.bgm.link.com:/usr/src/sys/compile/HTI CPU: i486 DX2 (486-class CPU) Origin = "GenuineIntel" Id = 0x435 Stepping=5 Features=0x3<FPU,VME> real memory = 16777216 (16384K bytes) avail memory = 14647296 (14304K bytes) ahc0: <Adaptec 284X SCSI host adapter> at 0x1c00-0x1cff irq 11 on isa ahc0: Using Edge Triggered Interrupts ahc0: aic7770 >= Rev E, Single Channel, SCSI Id=7, 4 SCBs ahc0: Reseting Channel A ahc0: Downloading Sequencer Program...Done ahc0: Probing channel A ahc0 waiting for scsi devices to settle ahc0: target 0 synchronous at 10.0MHz, offset = 0xf (ahc0:0:0): "MICROP 2217-15MZ1001905 HQ30" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 1685MB (3450902 512 byte sectors) sd0(ahc0:0:0): with 2372 cyls, 15 heads, and an average 96 sectors/track ahc0: target 1 synchronous at 10.0MHz, offset = 0xf (ahc0:1:0): "QUANTUM EMPIRE_1080S 1220" type 0 fixed SCSI 2 sd1(ahc0:1:0): Direct-Access 1029MB (2109376 512 byte sectors) sd1(ahc0:1:0): with 2874 cyls, 8 heads, and an average 91 sectors/track (ahc0:4:0): "ARCHIVE VIPER 150 21247 -011" type 1 removable SCSI 1 st0(ahc0:4:0): Sequential-Access st0: Archive Viper 150 is a known rogue density code 0x0, drive empty ahc0: target 5 synchronous at 5.0MHz, offset = 0xf (ahc0:5:0): "ARCHIVE Python 00367-XXX 5.23" type 1 removable SCSI 2 st1(ahc0:5:0): Sequential-Access density code 0x13, 512-byte blocks, write-protected pcibus_setup(1): mode1res=0xffffffff (0x80000000), mode2res=0xff (0x0e) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x280 ed1 not found at 0x300 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16450 sio1 not found at 0x2f8 sio2 not found at 0x3e8 sio3 not found at 0x2e8 lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface lpt1 not found at 0xffffffff lpt2 not found at 0xffffffff mse0: wrong signature ff mse0 not found at 0x23c fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in wdc0 not found at 0x1f0 wdc1 not found at 0x170 bt0 not found at 0x330 uha0 not found at 0x330 aha0 not found at 0x330 aic0 not found at 0x340 nca0 not found at 0x1f88 nca1 not found at 0x350 sea0 not found wt0 not found at 0x300 mcd0: timeout getting status mcd0 not found at 0x300 mcd1: timeout getting status mcd1 not found at 0x340 matcdc0 not found at 0x230 scd0 not found at 0x230 ie0 not found at 0x360 1 3C5x9 board(s) on ISA found at 0x300 ep0 at 0x300-0x30f irq 10 on isa ep0: aui/utp/bnc[*UTP*] address 00:20:af:52:37:4c ix0 not probed due to I/O address conflict with ep0 at 0x300 le0 not probed due to I/O address conflict with ep0 at 0x300 lnc0 not found at 0x280 lnc1 not probed due to I/O address conflict with ep0 at 0x300 ze0 not probed due to I/O address conflict with ep0 at 0x300 zp0 not probed due to I/O address conflict with ep0 at 0x300 npx0 on motherboard npx0: INT 16 interface Device configuration finished. Considering FFS root f/s. changing root device to sd0a Configuring root and swap devs. configure() finished. BIOS Geometries: 0:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors 1:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors 0 accounted for sd0s1: type 0x6, start 32, end = 204799, size 204768 : OK sd0s2: type 0xa5, start 204800, end = 3450879, size 3246080 : OK sd1s1: type 0xa5, start 0, end = 2109375, size 2109376 : OK sd1s1: type 0xa5, start 0, end = 2109375, size 2109376 : OK Thanks Bob Dunaway bob@rdsw.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607100025.TAA21232>