Date: Fri, 07 May 1999 21:40:40 -0400 From: Joseph Jacobson <jacobson@pobox.com> To: freebsd-stable@freebsd.org Subject: Sudden reboot saga Pt II Message-ID: <37339618.A431BD4F@pobox.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------7C9D2D44CA1DEB23EC4D4337 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit First, I'd like to say that FreeBSD has been my operating system of choice for quite some time, and my first message to the list was not intended to disparage the OS in anyway. I generally advocate the use of FreeBSD in my consultancy contracts, will continue to do so in the future. I certainly did not intend my post as a cry "Wolf!" about 3.1-STABLE. Synopsis of previous message: 3.1-STABLE (sources ~May 5 20:56) sudden reboot when non-root user executes 'startx' That being said, here is an update: Got home and compiled a debugging kernel (config -rg). Installed and rebooted. startx worked perfectly. Ok, not one be discouraged by a little setback like this, I tried again. Four more times. Flawless operation. Curiouser and curiouser. Ok, let's try 'config -r' with DDB enabled just for the heck of it. Same as above. Was I imagining things? Checked my rc.conf. Oh! dumpdev set to "NO". Could have sworn... Fixed and rebooted with "bad" kernel. Bingo! Even got a crashdump. May 7 19:51:24 <daemon.alert> home savecore: reboot after panic: page fault May 7 19:51:24 <daemon.notice> home savecore: writing core to /var/crash/vmcore.1 May 7 19:51:40 <daemon.notice> home savecore: writing kernel to /var/crash/kernel.1 Cool beans. Hmmmm. I commented out DDB out of my config again, and rebuilt with 'config -r', just to be sure that I didn't do something wrong during the original config. Reboot, startx, and sure enough, a sudden reboot. Ok, questions. Why the reboots when DDB is NOT in the kernel? Why only a non-root user calls 'startx'? (Well, to be honest, I only checked with my account). What the heck can I glean from a vmcore and a kernel with no symbols? (I haven't the faintest idea how to proceed). --Joe Attached are my dmesg.boot and kernel config files. -- Joseph Jacobson <jacobson@pobox.com> Finger for PGP http://www.pobox.com/~jacobson #include <std/disclaimer.h> Two men walk into a bar. The third one ducks. --------------7C9D2D44CA1DEB23EC4D4337 Content-Type: text/plain; charset=us-ascii; name="dmesg.boot" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.boot" Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.1-STABLE #0: Fri May 7 19:38:19 EDT 1999 root@home.bitshift.com:/usr/src/sys/compile/JOE Timecounter "i8254" frequency 1193617 Hz Timecounter "TSC" frequency 200527417 Hz CPU: Pentium/P55C (200.53-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping=3 Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> real memory = 33488896 (32704K bytes) avail memory = 29724672 (29028K bytes) Preloaded elf kernel "kernel" at 0xc02ec000. Probing for devices on PCI bus 0: chip0: <Intel 82439TX System Controller (MTXC)> rev 0x01 on pci0.0.0 chip1: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.7.0 chip2: <Intel 82371AB Power management controller> rev 0x01 on pci0.7.3 xl0: <3Com 3c905-TX Fast Etherlink XL> rev 0x00 int a irq 11 on pci0.17.0 xl0: Ethernet address: 00:60:08:39:89:3f xl0: autoneg not complete, no carrier (forcing half-duplex, 10Mbps) vga0: <Number Nine model 493d graphics accelerator> rev 0x00 int a irq 11 on pci0.18.0 es1: <AudioPCI ES1370> rev 0x00 int a irq 11 on pci0.19.0 pcm1: using I/O space register mapping at 0xef00 ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x00 int a irq 10 on pci0.20.0 ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs Probing for PnP devices: CSN 1 Vendor ID: USR1001 [0x01107256] Serial 0x66292220 Comp ID: @@@0000 [0x00000000] Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model IntelliMouse, device ID 3 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A pcm0 not found pca0 on motherboard pca0: PC speaker audio driver fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface Intel Pentium detected, installing workaround for F00F bug IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to accept, unlimited logging Waiting 2 seconds for SCSI devices to settle sa0 at ahc0 bus 0 target 4 lun 0 sa0: <HP HP35480A 1009> Removable Sequential Access SCSI-2 device sa0: 5.000MB/s transfers (5.000MHz, offset 8) da1 at ahc0 bus 0 target 1 lun 0 da1: <SEAGATE ST32155W 0596> Fixed Direct Access SCSI-2 device da1: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled da1: 2049MB (4197405 512 byte sectors: 255H 63S/T 261C) da0 at ahc0 bus 0 target 0 lun 0 da0: <SEAGATE ST32155W 0362> Fixed Direct Access SCSI-2 device da0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 2049MB (4197405 512 byte sectors: 255H 63S/T 261C) changing root device to da0s1a --------------7C9D2D44CA1DEB23EC4D4337 Content-Type: text/plain; charset=us-ascii; name="JOE" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="JOE" # machine "i386" ident JOE maxusers 32 cpu "I586_CPU" # aka Pentium(tm) config kernel root on da0 options INCLUDE_CONFIG_FILE # Include this file in kernel options "CPU_FASTER_5X86_FPU" options MATH_EMULATE #Support for x87 emulation options "COMPAT_43" # 4.3BSD system calls options USER_LDT # for WINE options SYSVSHM options SYSVSEM options SYSVMSG options "MD5" # for doscmd options "VM86" #options DDB #kernel debugger #options DDB_UNATTENDED #options DIAGNOSTIC options KTRACE #kernel tracing options PERFMON options UCONSOLE options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor # NETWORKING OPTIONS options INET #Internet communications protocols pseudo-device loop #Network loopback device pseudo-device ether #Generic Ethernet pseudo-device bpfilter 4 #Berkeley packet filter pseudo-device tun 1 #Tunnel driver (user process ppp(8)) pseudo-device ppp 2 #Point-to-point protocol options PPP_BSDCOMP #PPP BSD-compress support options PPP_DEFLATE #PPP zlib/deflate/gzip support options PPP_FILTER #enable bpf filtering (needs bpfilter) # FIREWALL options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #print info about dropped packets options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default #options IPFIREWALL_FORWARD #enable transparent proxy support #options IPDIVERT #divert sockets #options IPFILTER #kernel ipfilter support #options IPFILTER_LOG #ipfilter logging #options IPFILTER_LKM #kernel support for ip_fil.o LKM options "ICMP_BANDLIM" # FILESYSTEM OPTIONS options FFS #Fast filesystem options MFS #Memory File System options NFS #Network File System options "CD9660" #ISO 9660 filesystem options MSDOSFS #MS DOS File System options PROCFS #Process filesystem options FFS_ROOT #FFS usable as root device options MFS_ROOT #MFS usable as root device options NFS_ROOT #NFS usable as root device options "CD9660_ROOT" #CD-ROM usable as root device # SCSI DEVICES controller scbus0 #base SCSI code device da0 #SCSI direct access devices (aka disks) device sa0 #SCSI tapes device cd0 #SCSI CD-ROMs device pass0 #CAM passthrough driver options SCSI_REPORT_GEOMETRY # MISCELLANEOUS DEVICES AND OPTIONS pseudo-device pty 16 #Pseudo ttys - can go as high as 256 pseudo-device speaker #Play IBM BASIC-style noises out your speaker pseudo-device gzip #Exec gzipped a.out's pseudo-device snp 3 #Snoop device - to look at pty/vty/etc.. #pseudo-device ccd 4 #Concatenated disk driver # pseudo-device vinum #Vinum concat/mirror/raid driver options "MSGBUF_SIZE=40960" # HARDWARE DEVICE CONFIGURATION controller isa0 controller pnp0 controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts #options VGA_ALT_SEQACCESS pseudo-device splash device sc0 at isa? tty options SC_HISTORY_SIZE=200 # number of history buffer lines options VESA # needs VM86 defined too!! device npx0 at isa? port IO_NPX irq 13 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 device sio0 at isa? port "IO_COM1" tty flags 0x10 irq 4 device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0 device pca0 at isa? port "IO_TIMER1" tty #device joy0 at isa? port IO_GAME controller pci0 device ahc0 device xl0 # Parallel-Port Bus controller ppbus0 controller vpo0 at ppbus? device nlpt0 at ppbus? device plip0 at ppbus? device ppi0 at ppbus? # USB #controller uhci0 #controller ohci0 #controller usb0 #device ums0 #device ukbd0 #device ulpt0 #device uhub0 #device ucom0 #device umodem0 #device hid0 #device ugen0 #options USB_DEBUG #options USBVERBOSE # # More undocumented options for linting. # options CLK_CALIBRATION_LOOP options "CLK_USE_I8254_CALIBRATION" options CLK_USE_TSC_CALIBRATION options NO_LKM options COMPAT_LINUX options "EXT2FS" options SHOW_BUSYBUFS # List buffers that prevent root unmount --------------7C9D2D44CA1DEB23EC4D4337-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37339618.A431BD4F>