From owner-freebsd-current@FreeBSD.ORG Sun Dec 19 20:53:46 2004 Return-Path: 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 DD95616A4CE for ; Sun, 19 Dec 2004 20:53:45 +0000 (GMT) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F33E43D1F for ; Sun, 19 Dec 2004 20:53:45 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 1C6BFF2088; Sun, 19 Dec 2004 12:53:45 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04813-02; Sun, 19 Dec 2004 12:53:42 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 87A1FF1EE7; Sun, 19 Dec 2004 12:53:42 -0800 (PST) From: Sean McNeil To: Andre Guibert de Bruet In-Reply-To: <20041219150157.O19917@alpha.siliconlandmark.com> References: <1103434515.1158.10.camel@server.mcneil.com> <20041219150157.O19917@alpha.siliconlandmark.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-k7UaGwZn3W9gKUkExuWY" Date: Sun, 19 Dec 2004 12:53:42 -0800 Message-Id: <1103489622.5226.6.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port X-Virus-Scanned: by amavisd-new at mcneil.com cc: current@freebsd.org Subject: Re: reboot without any info X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Dec 2004 20:53:46 -0000 --=-k7UaGwZn3W9gKUkExuWY Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2004-12-19 at 15:17 -0500, Andre Guibert de Bruet wrote: > On Sat, 18 Dec 2004, Sean McNeil wrote: >=20 > > This happens with a world/kernel and a portupgrade -frR totem built > > Today: > > > > From rom a user account, I did a gdb `which totem` and then an r. This > > caused a reboot. > > > > This brings up a couple of questions I have. > > > > 1) I do not get crash dumps. I have >=20 > Your lack of any text at the console before the reboot indicates that a=20 > hardware problem (Overheating CPU, defective memory, overheating ata=20 > drives) is likely to be the cause of your woes. I think everyone has hardware fault on the brain right now. Please note that the system works perfectly - even under extreme load - until the moment I run totem in the debugger. Then it is instant. I would never consider this behavior as hardware related. > > dumpdev=3D/dev/ad4s1b > > dumpon_enable=3D"YES" > > savecore_enable=3D"YES" >=20 > You forgot to specify dumpdir, the target directory for your core dump. I= =20 > don't recall the existance of savecore_enable and it doesn't seem to be=20 > documented in /etc/defaults/rc.conf, either. Having unused options in=20 > rc.conf will, of course, not stop your dump from happening... dumpdir is set as /var/crash in /etc/defaults/rc.conf. So that cannot be it. And yes, savecore_enable cannot hurt if not needed. > > and in my kernel I have > > > > makeoptions DEBUG=3D-g # Build kernel with gdb(1) de= bug symbols > > options KDB # Enable kernel debugger suppor= t. > > options DDB # Support DDB. > > options GDB # Support remote GDB. > > > > Are these options OK? Should I remove/add something to get it working? >=20 > If you are suspecting bad behavior in your kernel, you probabaly should=20 > enable INVARIANTS and WITNESS as well. As I previously stated, at this=20 > point, you should probably start by examining the hardware FreeBSD is=20 > running on. I can turn these on. I will do that. The suggestion that this is hardware related is ludicrous, though. > In the future, I suggest that you paste the output of a `uname -a` with=20 > any bug reports as well as URL for the dmesg of the machine. It helps=20 > track things a bit better. :-) Here is the uname: FreeBSD server.mcneil.com 6.0-CURRENT FreeBSD 6.0-CURRENT #29: Sat Dec 18 19:39:10 PST 2004 root@server.mcneil.com:/usr/obj/usr/src/sys/AMD64 amd64 and here is dmesg: Copyright (c) 1992-2004 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 6.0-CURRENT #29: Sat Dec 18 19:39:10 PST 2004 root@server.mcneil.com:/usr/obj/usr/src/sys/AMD64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3000+ (2000.08-MHz K8-class CPU) Origin =3D "AuthenticAMD" Id =3D 0xfc0 Stepping =3D 0 Features=3D0x78bfbff AMD Features=3D0xe0500800 real memory =3D 2147418112 (2047 MB) avail memory =3D 2064875520 (1969 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xd0000000-0xd7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) fwohci0: port 0xd400-0xd47f mem 0xcfffb800-0xcfffbfff irq 17 at device 6.0 on pci0 fwohci0: OHCI version 1.0 (ROM=3D1) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:11:06:00:00:00:75:68 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S100, max_rec 2 bytes. fwohci0: max_rec 2 -> 2048 firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:11:06:00:75:68 fwe0: Ethernet address: 02:11:06:00:75:68 fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=3D0xc800ffc0, gen=3D1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <=3D 0, cable IRM =3D 0 (me) firewire0: bus manager 0 (me) dc0: port 0xd000-0xd0ff mem 0xcfffb400-0xcfffb7ff irq 19 at device 8.0 on pci0 miibus0: on dc0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: Ethernet address: 00:03:6d:1a:b1:9b dc0: if_start running deferred for Giant dc0: [GIANT-LOCKED] re0: port 0xcc00-0xccff mem 0xcfffb300-0xcfffb3ff irq 16 at device 11.0 on pci0 miibus1: on re0 rgephy0: on miibus1 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto re0: Ethernet address: 00:0c:76:e9:2c:58 atapci0: port 0xd800-0xd8ff,0xdc00-0xdc0f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec0= 0-0xec07 irq 20 at device 15.0 on pci0 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 atapci1: port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 ata0: channel #0 on atapci1 ata1: channel #1 on atapci1 uhci0: port 0xbc00-0xbc1f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xc000-0xc01f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. uhci2: port 0xc400-0xc41f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xc800-0xc81f irq 21 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ucom0: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 2 ehci0: mem 0xcfffb100-0xcfffb1ff irq 21 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 ehci_pci_attach: companion usb2 ehci_pci_attach: companion usb3 usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: single transaction translator uhub4: 8 ports with 8 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 pcm0: port 0xb800-0xb8ff irq 22 at device 17.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: pci_link0: irq 11 on acpi0 pci_link1: irq 10 on acpi0 pci_link2: irq 5 on acpi0 pci_link3: irq 12 on acpi0 pci_link4: irq 0 on acpi0 pci_link5: irq 0 on acpi0 pci_link6: irq 0 on acpi0 pci_link7: irq 0 on acpi0 acpi_button1: on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] orm0: at iomem 0xe0000-0xe0fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2000084231 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 initialized, divert loadable, rule-based forwarding enabled, default to deny, logging disabled ad0: 117246MB [238216/16/63] at ata0-master UDMA133 ad1: 117246MB [238216/16/63] at ata0-slave UDMA133 ata1-slave: DMA limited to UDMA33, non-ATA66 cable or device acd0: DVDR at ata1-master UDMA33 acd1: DVDROM at ata1-slave UDMA33 ad4: 76319MB [155061/16/63] at ata2-master SATA150 ar0: 117246MB [14946/255/63] status: READY subdisks: disk0 READY on ad0 at ata0-master disk1 READY on ad1 at ata0-slave ums0: at uhub1 port 2 (addr 2) disconnected ums0: detached ucom0: at uhub3 port 2 (addr 2) disconnected All threads purged from cuaU0 All threads purged from ttyU0 ucom0: detached ucom0: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 2 ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: cd present [746112 x 2048 byte records] cd1 at ata1 bus 0 target 1 lun 0 cd1: Removable CD-ROM SCSI-0 device cd1: 33.000MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present kern_symlink =3D 0 Trying to mount root from ufs:/dev/ad4s1a kernel_vmount =3D 0 Cheers, Sean --=-k7UaGwZn3W9gKUkExuWY Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBxepWyQsGN30uGE4RAsBMAKCnhkNQbmjRW1n1sIHH3thXr2a3kwCdFY8L CKZzaHp9IRKSffXwvLy5kiM= =JyXc -----END PGP SIGNATURE----- --=-k7UaGwZn3W9gKUkExuWY--