From owner-freebsd-current Wed Feb 19 11:42:52 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE51637B401; Wed, 19 Feb 2003 11:42:45 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77EED43FBD; Wed, 19 Feb 2003 11:42:43 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 569D6536E; Wed, 19 Feb 2003 20:42:41 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Andrew Gallatin Cc: alpha@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: top-of-tree alpha kernel panics during boot From: Dag-Erling Smorgrav Date: Wed, 19 Feb 2003 20:42:40 +0100 In-Reply-To: <15955.48613.835455.648469@grasshopper.cs.duke.edu> (Andrew Gallatin's message of "Wed, 19 Feb 2003 12:24:53 -0500 (EST)") Message-ID: User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386--freebsd) References: <15952.60850.445423.454870@grasshopper.cs.duke.edu> <15952.61478.809737.101419@grasshopper.cs.duke.edu> <15955.48613.835455.648469@grasshopper.cs.duke.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-=-= Andrew Gallatin writes: > Can you post your kernel config please, along with with, if any, > CPUTYPE you have set in make.conf and a description of your machine > (mem size in particular)? Digital Personal WorkStation 600au, 598MHz 8192 byte page size, 1 processor. CPU: EV56 (21164A) major=7 minor=0 extensions=0x1 OSF PAL rev: 0x1000000020116 real memory = 266493952 (254 MB) avail memory = 251985920 (240 MB) des@dsa ~% grep CPU /etc/make.conf CPUTYPE ?= ev56 Full dmesg (from a working kernel built from Jan 9th sources) and kernel config attached. Note that: 1) the problem disappears if I remove the pcm driver from the kernel (yet I don't think it's directly at fault since the panic happens when the ess driver is about to be initialized) 2) the problem also disappears if I enable KTR (see commented-out entries in config file) 3) a fresh kernel without pcm boots but exhibits the same symptoms kris reported, i.e. programs segfaulting for no apparent reason; if / when they produce a core file, it is corrupted and useless for debugging. I suspect a problem in the I/O system, possibly similar to the one tegge discovered and fixed last week. DES -- Dag-Erling Smorgrav - des@ofug.org --=-=-= Content-Disposition: attachment; filename=dmesg.dsa Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #30: Thu Jan 9 13:58:33 CET 2003 des@dsa.thinksec.com:/usr/src/sys/alpha/compile/DSA Preloaded elf kernel "/boot/kernel.ok/kernel" at 0xfffffc0000770000. Digital Personal Workstation (Miata) Digital Personal WorkStation 600au, 598MHz 8192 byte page size, 1 processor. CPU: EV56 (21164A) major=7 minor=0 extensions=0x1 OSF PAL rev: 0x1000000020116 real memory = 266493952 (254 MB) avail memory = 251985920 (240 MB) Initializing GEOMetry subsystem cia0: <2117x Core Logic chipset> cia0: Pyxis, pass 1 cia0: extended capabilities: 1 pcib0: <2117x PCI host bus adapter> on cia0 pci0: on pcib0 dc0: port 0x9000-0x907f mem 0x80151000-0x8015107f irq 0 at device 3.0 on pci0 dc0: interrupting at CIA irq 0 dc0: Ethernet address: 08:00:2b:86:88:55 miibus0: on dc0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x90a0-0x90af,0x3f4-0x3f7,0x1f0-0x1f7 irq 238 at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: interrupting at ISA irq 14 ata1: at 0x170 irq 15 on atapci0 ata1: interrupting at ISA irq 15 atapci1: port 0x374-0x377,0x170-0x177 mem 0x80140000-0x8014ffff irq 239 at device 7.2 on pci0 atapci1: Busmastering DMA not configured ohci0: mem 0x80150000-0x80150fff irq 234 at device 7.3 on pci0 ohci0: interrupting at ISA irq 10 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x1080) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pcib1: at device 20.0 on pci0 pci1: on pcib1 isp0: port 0x8000-0x80ff mem 0x80010000-0x80010fff irq 3 at device 4.0 on pci1 isp0: interrupting at CIA irq 3 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 atkbd0: interrupting at ISA irq 1 fdc0: at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: interrupting at ISA irq 6 mcclock0: at port 0x70-0x71 on isa0 ppc0: at port 0x3bc-0x3c3 irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode lpt0: on ppbus0 lpt0: Polled port ppi0: on ppbus0 ppc0: interrupting at ISA irq 7 sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A, console sio0: interrupting at ISA irq 4 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio1: interrupting at ISA irq 3 sbc0: at port 0x220-0x22f irq 5 drq 1 on isa0 sbc0: interrupting at ISA irq 5 pcm0: on sbc0 Timecounter "i8254" frequency 1193182 Hz Timecounter "alpha" frequency 599860139 Hz Timecounters tick every 0.976 msec Waiting 2 seconds for SCSI devices to settle cd0 at isp0 bus 0 target 6 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 4.237MB/s transfers (4.237MHz, offset 8) cd0: Attempt to query device size failed: NOT READY, Medium not present da1 at isp0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da1: 4341MB (8890760 512 byte sectors: 255H 63S/T 553C) da0 at isp0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C) Mounting root from ufs:/dev/da0a --=-=-= Content-Disposition: attachment; filename=DSA # Kernel configuration for dsa.thinksec.com machine alpha cpu EV5 options DEC_ST550 ident DSA maxusers 0 makeoptions DEBUG=-g options DDB #options DEBUG_VFS_LOCKS options INVARIANT_SUPPORT, INVARIANTS #options WITNESS, WITNESS_SKIPSPIN #options KTR #options KTR_COMPILE=KTR_ALL #options KTR_MASK=KTR_ALL #options KTR_ENTRIES=65536 #options CD9660 #kld options COMPAT_43 options COMPAT_FREEBSD4 #options COMPAT_LINUX #kld options FFS options INCLUDE_CONFIG_FILE options INET options INET6 options KTRACE #options LINPROCFS #kld options MSGBUF_SIZE=262144 #options NFSCLIENT #kld #options NFSSERVER #kld #options NMBCLUSTERS=8192 #options PROCFS #kld #options PSEUDOFS #kld options RANDOM_IP_ID options SCHED_4BSD options SCSI_DELAY=2000 options SOFTUPDATES options SYSVSHM, SYSVMSG, SYSVSEM #kld options UFS_DIRHASH # Buses device isa device pci # Architecture-specific devices device mcclock # Floppy controller device fdc # ATA controller device ata device atadisk device atapicd # SCSI controller device isp # SCSI peripherals device scbus device da device sa device cd device pass # Console device atkbdc device atkbd device psm device vga device sc device splash options SC_HISTORY_SIZE=1024 # Serial I/O device sio # Parallel I/O device ppc device ppbus #kld device lpt #kld device ppi #kld # Network interface device miibus #kld device dc #kld # Pseudo-devices device bpf device ether device loop device pty device random # Sound adapter device pcm #kld # USB support device ohci #kld device usb #kld device ugen #kld device ulpt #kld --=-=-=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message