From owner-freebsd-current Thu Jun 29 14:31:22 2000 Delivered-To: freebsd-current@freebsd.org Received: from grimreaper.grondar.za (grimreaper.grondar.za [196.7.18.138]) by hub.freebsd.org (Postfix) with ESMTP id 5A0A937C12F for ; Thu, 29 Jun 2000 14:31:08 -0700 (PDT) (envelope-from mark@grondar.za) Received: from grimreaper.grondar.za (localhost [127.0.0.1]) by grimreaper.grondar.za (8.9.3/8.9.3) with ESMTP id XAA04729; Thu, 29 Jun 2000 23:31:41 +0200 (SAST) (envelope-from mark@grimreaper.grondar.za) Message-Id: <200006292131.XAA04729@grimreaper.grondar.za> To: boshea@ricochet.net Cc: freebsd-current@FreeBSD.ORG Subject: Re: Panic in boot after flushing buffers References: <20000629141632.T15683@beastie.localdomain> In-Reply-To: <20000629141632.T15683@beastie.localdomain> ; from "Brian O'Shea" "Thu, 29 Jun 2000 14:16:32 MST." Date: Thu, 29 Jun 2000 23:31:41 +0200 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi I fixed this yesterday; please re-cvsup and reboot. You should have sys/dev/randomdev/randomdev.c v1.5 to fix this. M > I am running -CURRENT from June 27, 2000 (started cvsup around 19:05) > on a PII 266 MHz with 32MB RAM and one IDE disk. > > Initially, I noticed that while syncing disks during a reboot, the > system would always give up before finishing. To capture the output, > I configured the kernel to use a serial console by setting flags for > the serial port in the hints file (hint.sio.0.flags="0xb0"). > > Now, instead of just failing to sync the disks, the system panics about > two out of every three reboots. > > The kernel config file (MONSTER) is included as an attachment, as well > as the hints file. Below is the panic information and stack trace. > Let me know if you would like any more information (this is my first > crack at running -CURRENT, so I'm new at this). > > Regards, > -brian > > > > System shutdown time has arrived > Shutting down daemon processes: . > Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped > Waiting (max 60 seconds) for system process `syncer' to stop...stopped > > syncing disks... > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0xc090b5bd > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc014c638 > stack pointer = 0x10:0xc3b66f0c > frame pointer = 0x10:0xc3b66f20 > 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 = 1 (init) > interrupt mask = none > panic: from debugger > panic: from debugger > Uptime: 11m4s > > dumping to dev #ad/0x20001, offset 65536 > dump ata0: resetting devices .. done > 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 > --- > #0 boot (howto=260) at ../../kern/kern_shutdown.c:303 > 303 dumppcb.pcb_cr3 = rcr3(); > (kgdb) bt > #0 boot (howto=260) at ../../kern/kern_shutdown.c:303 > #1 0xc014cbd5 in panic (fmt=0xc02656f4 "from debugger") > at ../../kern/kern_shutdown.c:553 > #2 0xc011f479 in db_panic (addr=-1072380360, have_addr=0, count=1, > modif=0xc3b66d78 "") at ../../ddb/db_command.c:433 > #3 0xc011f419 in db_command (last_cmdp=0xc0294b78, cmd_table=0xc02949d8, > aux_cmd_tablep=0xc02b4880) at ../../ddb/db_command.c:333 > #4 0xc011f4de in db_command_loop () at ../../ddb/db_command.c:455 > #5 0xc012169b in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71 > #6 0xc0244626 in kdb_trap (type=12, code=0, regs=0xc3b66ecc) > at ../../i386/i386/db_interface.c:158 > #7 0xc0252698 in trap_fatal (frame=0xc3b66ecc, eva=3230709181) > at ../../i386/i386/trap.c:922 > #8 0xc0252371 in trap_pfault (frame=0xc3b66ecc, usermode=0, eva=3230709181) > at ../../i386/i386/trap.c:820 > #9 0xc0251f2b in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, > tf_edi = -1011454080, tf_esi = 1, tf_ebp = -1011454176, > tf_isp = -1011454216, tf_ebx = -1064258240, tf_edx = 160160, > tf_ecx = -1070796288, tf_eax = 455, tf_trapno = 12, tf_err = 0, > tf_eip = -1072380360, tf_cs = 8, tf_eflags = 66050, > tf_esp = -1011479040, tf_ss = 1}) at ../../i386/i386/trap.c:426 > #10 0xc014c638 in boot (howto=0) at ../../kern/kern_shutdown.c:234 > #11 0xc014c40c in reboot (p=0xc3b60e00, uap=0xc3b66f80) > ---Type to continue, or q to quit--- > at ../../kern/kern_shutdown.c:146 > #12 0xc0252971 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, > tf_edi = -1077936612, tf_esi = -1077936624, tf_ebp = -1077936836, > tf_isp = -1011453996, tf_ebx = -1077936732, tf_edx = -1, tf_ecx = 4, > tf_eax = 55, tf_trapno = 7, tf_err = 2, tf_eip = 134536452, tf_cs = 31, > tf_eflags = 643, tf_esp = -1077937056, tf_ss = 47}) > at ../../i386/i386/trap.c:1126 > #13 0xc0244f65 in Xint0x80_syscall () > #14 0x80486ee in ?? () > #15 0x8048478 in ?? () > #16 0x8048139 in ?? () > > > -- > Brian O'Shea > boshea@ricochet.net > > --7ZAtKRhVyVSsbBD2 > Content-Type: text/plain; charset=us-ascii > Content-Disposition: attachment; filename=MONSTER > > # > # MONSTER -- Based on the GENERIC kernel configuration file > # > > machine i386 > cpu I686_CPU > ident MONSTER > maxusers 32 > > hints "MONSTER.hints" #Default places to look for devices. > > makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols > > options MATH_EMULATE #Support for x87 emulation > options INET #InterNETworking > options INET6 #IPv6 communications protocols > options FFS #Berkeley Fast Filesystem > options FFS_ROOT #FFS usable as root device [keep this!] > options SOFTUPDATES #Enable FFS soft updates support > 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 require d > options MSDOSFS #MSDOS Filesystem > options CD9660 #ISO 9660 Filesystem > options CD9660_ROOT #CD-ROM usable as root, CD9660 required > options PROCFS #Process filesystem > options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] > options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI > options UCONSOLE #Allow users to grab the console > options USERCONFIG #boot -c editor > options VISUAL_USERCONFIG #visual boot -c editor > options KTRACE #ktrace(1) support > 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 KBD_INSTALL_CDEV # install a CDEV entry in /dev > options RANDOMDEV #entropy device > options DDB #compile in the ddb debugger > options BREAK_TO_DEBUGGER #BREAK on a comconsole breaks to ddb > > device isa > device eisa > device pci > #options COMPAT_OLDISA # compatability shims for lnc, fe, le > #options COMPAT_OLDPCI # compatability shims for lnc, vx > > # Floppy drives > device fdc > > # ATA and ATAPI devices > device ata > device atadisk # ATA disk drives > device atapicd # ATAPI CDROM drives > device atapifd # ATAPI floppy drives > device atapist # ATAPI tape drives > options ATA_STATIC_ID #Static device numbering > #options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices > > # atkbdc0 controls both the keyboard and the PS/2 mouse > device atkbdc 1 > device atkbd > device psm > > device vga > > # splash screen/screen saver > device splash > > # syscons is the default console driver, resembling an SCO console > device sc 1 > > # Floating point support - do not disable. > device npx > > # Power management support (see LINT for more options) > device apm > > # Serial (COM) ports > device sio > > # Parallel port > device ppc > device ppbus # Parallel port bus (required) > device lpt # Printer > device plip # TCP/IP over parallel > device ppi # Parallel port interface device > #device vpo # Requires scbus and da > > > # PCI Ethernet NICs. > device fxp # Intel EtherExpress PRO/100B (82557, 8 2558) > > # Pseudo devices - the number indicates how many units to allocated. > device loop # Network loopback > device ether # Ethernet support > device sl # Kernel SLIP > device ppp 1 # Kernel PPP > device tun # Packet tunnel. > device pty # Pseudo-ttys (telnet etc) > device md # Memory "disks" > device gif 4 # IPv6 and IPv4 tunneling > device faith 1 # IPv6-to-IPv4 relaying (translation) > > # The `bpf' device enables the Berkeley Packet Filter. > # Be aware of the administrative consequences of enabling this! > device bpf # Berkeley packet filter > > # USB support > device uhci # UHCI PCI->USB interface > device ohci # OHCI PCI->USB interface > device usb # USB Bus (required) > #device udbp # USB Double Bulk Pipe devices > device ugen # Generic > device uhid # "Human Interface Devices" > #device ukbd # Keyboard > #device ulpt # Printer > #device umass # Disks/Mass storage - Requires scbus a nd da > #device ums # Mouse > #device urio # Diamond Rio 500 MP3 player > # USB Ethernet, requires mii > #device aue # ADMtek USB ethernet > #device cue # CATC USB ethernet > #device kue # Kawasaki LSI USB ethernet > > --7ZAtKRhVyVSsbBD2 > Content-Type: text/plain; charset=us-ascii > Content-Disposition: attachment; filename="MONSTER.hints" > > # $FreeBSD: src/sys/i386/conf/GENERIC.hints,v 1.2 2000/06/14 10:01:39 peter E xp $ > hint.fdc.0.at="isa" > hint.fdc.0.port="0x3F0" > hint.fdc.0.irq="6" > hint.fdc.0.drq="2" > hint.fd.0.at="fdc0" > hint.fd.0.drive="0" > hint.fd.1.at="fdc0" > hint.fd.1.drive="1" > hint.ata.0.at="isa" > hint.ata.0.port="0x1F0" > hint.ata.0.irq="14" > hint.ata.1.at="isa" > hint.ata.1.port="0x170" > hint.ata.1.irq="15" > hint.adv.0.at="isa" > hint.bt.0.at="isa" > hint.aha.0.at="isa" > hint.aic.0.at="isa" > hint.atkbdc.0.at="isa" > hint.atkbdc.0.port="0x060" > hint.atkbd.0.at="atkbdc" > hint.atkbd.0.irq="1" > hint.atkbd.0.flags="0x1" > hint.psm.0.at="atkbdc" > hint.psm.0.irq="12" > hint.vga.0.at="isa" > hint.sc.0.at="isa" > hint.sc.0.flags="0x100" > hint.vt.0.at="isa" > hint.npx.0.at="nexus" > hint.npx.0.port="0x0F0" > hint.npx.0.irq="13" > hint.apm.0.at="nexus" > hint.apm.0.disabled="1" > hint.apm.0.flags="0x20" > hint.pcic.0.at="isa" > hint.pcic.0.irq="10" > hint.pcic.0.port="0x3e0" > hint.pcic.0.maddr="0xd0000" > hint.pcic.1.at="isa" > hint.pcic.1.irq="11" > hint.pcic.1.port="0x3e2" > hint.pcic.1.maddr="0xd4000" > hint.pcic.1.disabled="1" > hint.sio.0.at="isa" > hint.sio.0.port="0x3F8" > hint.sio.0.flags="0xb0" > hint.sio.0.irq="4" > hint.sio.1.at="isa" > hint.sio.1.port="0x2F8" > hint.sio.1.irq="3" > hint.sio.2.at="isa" > hint.sio.2.disabled="1" > hint.sio.2.port="0x3E8" > hint.sio.2.irq="5" > hint.sio.3.at="isa" > hint.sio.3.disabled="1" > hint.sio.3.port="0x2E8" > hint.sio.3.irq="9" > hint.ppc.0.at="isa" > hint.ppc.0.irq="7" > hint.ed.0.at="isa" > hint.ed.0.port="0x280" > hint.ed.0.irq="10" > hint.ed.0.maddr="0xd8000" > hint.cs.0.at="isa" > hint.cs.0.port="0x300" > hint.sn.0.at="isa" > hint.sn.0.port="0x300" > hint.sn.0.irq="10" > hint.ie.0.at="isa" > hint.ie.0.port="0x300" > hint.ie.0.irq="10" > hint.ie.0.maddr="0xd0000" > hint.fe.0.at="isa" > hint.fe.0.port="0x300" > hint.le.0.at="isa" > hint.le.0.port="0x300" > hint.le.0.irq="5" > hint.le.0.maddr="0xd0000" > hint.lnc.0.at="isa" > hint.lnc.0.port="0x280" > hint.lnc.0.irq="10" > hint.lnc.0.drq="0" > > --7ZAtKRhVyVSsbBD2-- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message