Re: reboot without any info

From: Sean McNeil <sean_at_mcneil.com>
Date: Sun, 19 Dec 2004 12:53:42 -0800
On Sun, 2004-12-19 at 15:17 -0500, Andre Guibert de Bruet wrote:
> On Sat, 18 Dec 2004, Sean McNeil wrote:
> 
> > 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
> 
> Your lack of any text at the console before the reboot indicates that a 
> hardware problem (Overheating CPU, defective memory, overheating ata 
> 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=/dev/ad4s1b
> > dumpon_enable="YES"
> > savecore_enable="YES"
> 
> You forgot to specify dumpdir, the target directory for your core dump. I 
> don't recall the existance of savecore_enable and it doesn't seem to be 
> documented in /etc/defaults/rc.conf, either. Having unused options in 
> 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=-g                # Build kernel with gdb(1) debug symbols
> > options         KDB                     # Enable kernel debugger support.
> > options         DDB                     # Support DDB.
> > options         GDB                     # Support remote GDB.
> >
> > Are these options OK?  Should I remove/add something to get it working?
> 
> If you are suspecting bad behavior in your kernel, you probabaly should 
> enable INVARIANTS and WITNESS as well. As I previously stated, at this 
> point, you should probably start by examining the hardware FreeBSD is 
> 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 
> any bug reports as well as URL for the dmesg of the machine. It helps 
> 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_at_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_at_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 = "AuthenticAMD"  Id = 0xfc0  Stepping = 0

Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
real memory  = 2147418112 (2047 MB)
avail memory = 2064875520 (1969 MB)
ACPI APIC Table: <AMIINT VIA_K8  >
ioapic0 <Version 0.3> irqs 0-23 on motherboard
acpi0: <AMIINT VIA_K8> 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: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 8385 host to PCI bridge> mem 0xd0000000-0xd7ffffff at device
0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
fwohci0: <VIA Fire II (VT6306)> port 0xd400-0xd47f mem
0xcfffb800-0xcfffbfff irq 17 at device 6.0 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
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: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> 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: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
dc0: <ADMtek AN985 10/100BaseTX> port 0xd000-0xd0ff mem
0xcfffb400-0xcfffb7ff irq 19 at device 8.0 on pci0
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> 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: <RealTek 8169S Single-chip Gigabit Ethernet> port 0xcc00-0xccff mem
0xcfffb300-0xcfffb3ff irq 16 at device 11.0 on pci0
miibus1: <MII bus> on re0
rgephy0: <RTL8169S/8110S media interface> on miibus1
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
re0: Ethernet address: 00:0c:76:e9:2c:58
atapci0: <VIA 6420 SATA150 controller> port
0xd800-0xd8ff,0xdc00-0xdc0f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 irq 20 at device 15.0 on pci0
ata2: channel #0 on atapci0
ata3: channel #1 on atapci0
atapci1: <VIA 8237 UDMA133 controller> 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: <VIA 83C572 USB controller> port 0xbc00-0xbc1f irq 21 at device
16.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xc000-0xc01f irq 21 at device
16.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 21 at device
16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 21 at device
16.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <VIA 83C572 USB controller> 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: <VIA VT6202 USB 2.0 controller> 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: <VIA VT6202 USB 2.0 controller> 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: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
pcm0: <VIA VT8237> port 0xb800-0xb8ff irq 22 at device 17.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Avance Logic ALC655 AC97 Codec>
pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 10 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 5 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 12 on acpi0
pci_link4: <ACPI PCI Link LNKE> irq 0 on acpi0
pci_link5: <ACPI PCI Link LNKF> irq 0 on acpi0
pci_link6: <ACPI PCI Link LNKG> irq 0 on acpi0
pci_link7: <ACPI PCI Link LNKH> irq 0 on acpi0
acpi_button1: <Sleep Button> 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: <ECP parallel printer port> 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: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
orm0: <ISA Option ROM> at iomem 0xe0000-0xe0fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> 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 <Maxtor 6Y120L0/YAR41VW0> [238216/16/63] at ata0-master
UDMA133
ad1: 117246MB <Maxtor 6Y120L0/YAR41VW0> [238216/16/63] at ata0-slave
UDMA133
ata1-slave: DMA limited to UDMA33, non-ATA66 cable or device
acd0: DVDR <PIONEER DVD-RW DVR-104/1.40> at ata1-master UDMA33
acd1: DVDROM <ATAPI DVD-ROM 16X/582F> at ata1-slave UDMA33
ad4: 76319MB <ST380013AS/3.05> [155061/16/63] at ata2-master SATA150
ar0: 117246MB <ATA RAID1 array> [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: <PIONEER DVD-RW  DVR-104 1.40> 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: <ATAPI DVD-ROM 16X 582F> 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  = 0
Trying to mount root from ufs:/dev/ad4s1a
kernel_vmount = 0

Cheers,
Sean


Received on Sun Dec 19 2004 - 19:53:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:24 UTC