Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2009 17:37:55 +0100
From:      Ralf Folkerts <ralf.folkerts@gmx.de>
To:        freebsd-amd64@freebsd.org
Subject:   Random reboots with FreeBSD-7 STABLE
Message-ID:  <49B69763.3040108@gmx.de>

next in thread | raw e-mail | index | archive | help
Hi,

for quite a while I've been struggling with random reboots of my FBSD 
amd64-Box.

It *always* happens when I'm "in" X; usually while using firefox3. It 
may not happen 7 days but then three days in a row.

So, I turn on the Machine (I don't start kdm/xdm), Log-On to a Text-Mode 
Console, run startx. Then I start Firefox and surf to some news-sites. 
Them during scrolling in Firefox (it did happen once from Thunderbird 
but never e.g. from Netbeans) the screen gets black and the system 
reboots. In a very few cases the System didn't reboot but just hang and 
had to be resetted.

I already ran memtest86 from CD on that Box and I also run Kubuntu 
8.10/amd64 on it. memtest86 didn't find any errors and Kubuntu rans w/o 
hickups (ran Kubuntu for several weeks).

So, it seems to be a FBSD Problem.

In order to get some diagnostic info I connected a serial console to the 
machine -- however, nothing re. the crash/reboot is being displayed on 
it. In the few cases when the box hung the serial console was also 
unresponsive. The serial console itself is working OK (i.e. the 
boot-loader is being displayed as are the boot-messages and also 
messages like the drm-ones when starting X and the "root Login" messages.

I'd really like to get rid of this problem -- however, is there anything 
I can do in such a case?

Any hints would be welcome!

Below is some Info re. Hardware, Config etc.

MTIA & Cheers,
_ralf_


Since the error occured I used to rebuild world ~ very two weeks, but 
the Crashes/Reboots persisted.

Currently the machine's at

[bash]beaster:~$uname -a
FreeBSD beaster.home.folkerts-net.de 7.1-STABLE FreeBSD 7.1-STABLE #0: 
Sat Mar  7 01:15:40 CET 2009     
toor@beaster.home.folkerts-net.de:/usr/obj/usr/src/sys/GENERIC  amd64

Ports were last updated 03/07/2009. I also ran a portupgrade -fa ~2 
months ago.

dmesg:

[bash]beaster:~$dmesg                                                        

Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD 
Foundation.                
FreeBSD 7.1-STABLE #0: Sat Mar  7 01:15:40 CET 
2009                         
    
toor@beaster.home.folkerts-net.de:/usr/obj/usr/src/sys/GENERIC          
Timecounter "i8254" frequency 1193182 Hz quality 
0                          
CPU: AMD Athlon(tm) 64 Processor 3200+ (2000.08-MHz K8-class 
CPU)           
  Origin = "AuthenticAMD"  Id = 0x20ff2  Stepping = 
2                       
  
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>                                   

  
Features2=0x1<SSE3>                                                       
  AMD 
Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!>          
  AMD 
Features2=0x1<LAHF>                                                   
usable memory = 2922459136 (2787 
MB)                                        
avail memory  = 2819121152 (2688 
MB)                                        
ACPI APIC Table: <A M I  OEMAPIC 
 >                                          
ioapic0 <Version 1.1> irqs 0-23 on 
motherboard                              
ioapic1 <Version 1.1> irqs 24-39 on 
motherboard                             
kbd1 at 
kbdmux0                                                             
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, 
RF5413)  
acpi0: <A M I OEMRSDT> on 
motherboard                                       
acpi0: 
[ITHREAD]                                                            
acpi0: Power Button 
(fixed)                                                 
acpi0: reservation of 0, a0000 (3) 
failed                                   
acpi0: reservation of 100000, aef00000 (3) 
failed                           
Timecounter "ACPI-fast" frequency 3579545 Hz quality 
1000                   
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on 
acpi0        
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on 
acpi0                     
pci0: <ACPI PCI bus> on 
pcib0                                               
pcib1: <ACPI PCI-PCI bridge> irq 29 at device 1.0 on 
pci0                   
pci1: <ACPI PCI bus> on 
pcib1                                               
pcib2: <ACPI PCI-PCI bridge> irq 34 at device 2.0 on 
pci0                   
pci2: <ACPI PCI bus> on 
pcib2                                               
bge0: <HPQ 10/100/1000 Copper Based Gigabit Adapter, ASIC rev. 0x4001> 
mem 0xff2f0000-0xff2fffff irq 30 at device 0.0 on 
pci2                            
miibus0: <MII bus> on 
bge0                                                  
brgphy0: <BCM5750 10/100/1000baseTX PHY> PHY 1 on 
miibus0                   
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, 
auto                                                                 
bge0: Ethernet address: 
00:10:18:0b:2f:1f                                   
bge0: 
[ITHREAD]                                                             
pcib3: <ACPI PCI-PCI bridge> irq 39 at device 3.0 on 
pci0                   
pci3: <ACPI PCI bus> on 
pcib3                                               
atapci0: <JMicron JMB360 SATA300 controller> port 
0x9c00-0x9c07,0x9880-0x9883,0x9800-0x9807,0x9480-0x9483,0x9400-0x940f 
mem 0xff3fe000-0xff3fffff irq 35 at device 0.0 on 
pci3                                                        
atapci0: 
[ITHREAD]                                                          
atapci0: AHCI called from vendor specific 
driver                            
atapci0: AHCI Version 01.00 controller with 1 ports 
detected                
ata2: <ATA channel 0> on 
atapci0                                            
ata2: 
[ITHREAD]                                                             
agp0: <ULi M1689 AGP Controller> on 
hostb1                                  
pcib4: <ACPI PCI-PCI bridge> at device 5.0 on 
pci0                          
pci4: <ACPI PCI bus> on 
pcib4                                               
vgapci0: <VGA-compatible display> port 0xc000-0xc0ff mem 
0xc0000000-0xc7ffffff,0xff4f0000-0xff4fffff irq 16 at device 0.0 on 
pci4                        
vgapci1: <VGA-compatible display> mem 
0xb8000000-0xbfffffff,0xff4e0000-0xff4effff at device 0.1 on 
pci4                                                  
pcib5: <ACPI PCI-PCI bridge> at device 6.0 on 
pci0                          
pci5: <ACPI PCI bus> on 
pcib5                                               
pcm0: <Creative CT5880-E> port 0xdc00-0xdc3f irq 21 at device 6.0 on 
pci5   
pcm0: <eMicro EM28028 AC97 
Codec>                                           
pcm0: 
[ITHREAD]                                                             
pcm0: <Playback: DAC1,DAC2 / Record: 
ADC>                                   
isab0: <PCI-ISA bridge> at device 7.0 on 
pci0                               
isa0: <ISA bus> on 
isab0                                                    
pci0: <bridge> at device 7.1 (no driver 
attached)                           
pci0: <network, ethernet> at device 17.0 (no driver 
attached)               
atapci1: <AcerLabs M5229 UDMA133 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 18.0 on 
pci0                               
ata0: <ATA channel 0> on 
atapci1                                            
ata0: 
[ITHREAD]                                                             
ata1: <ATA channel 1> on 
atapci1                                            
ata1: 
[ITHREAD]                                                             
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 
0xff6fe000-0xff6fefff irq 20 at device 19.0 on 
pci0                                               
ohci0: 
[GIANT-LOCKED]                                                       
ohci0: 
[ITHREAD]                                                            
usb0: OHCI version 1.0, legacy 
support                                      
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on 
ohci0                  
usb0: USB revision 
1.0                                                      
uhub0: <AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on 
usb0   
uhub0: 3 ports with 3 removable, self 
powered                               
ohci1: <AcerLabs M5237 (Aladdin-V) USB controller> mem 
0xff6fd000-0xff6fdfff irq 21 at device 19.1 on 
pci0                                               
ohci1: 
[GIANT-LOCKED]                                                       
ohci1: 
[ITHREAD]                                                            
usb1: OHCI version 1.0, legacy 
support                                      
usb1: <AcerLabs M5237 (Aladdin-V) USB controller> on 
ohci1                  
usb1: USB revision 
1.0                                                      
uhub1: <AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on 
usb1   
uhub1: 3 ports with 3 removable, self 
powered                               
ohci2: <AcerLabs M5237 (Aladdin-V) USB controller> mem 
0xff6fc000-0xff6fcfff irq 22 at device 19.2 on 
pci0                                               
ohci2: 
[GIANT-LOCKED]                                                       
ohci2: 
[ITHREAD]                                                            
usb2: OHCI version 1.0, legacy 
support                                      
usb2: <AcerLabs M5237 (Aladdin-V) USB controller> on 
ohci2                  
usb2: USB revision 
1.0                                                      
uhub2: <AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on 
usb2   
uhub2: 3 ports with 3 removable, self 
powered                               
ehci0: <ALi M5239 USB 2.0 controller> mem 0xff6ff800-0xff6ff8ff irq 23 
at device 19.3 on 
pci0                                                            
ehci0: 
[GIANT-LOCKED]                                                       
ehci0: 
[ITHREAD]                                                            
usb3: EHCI version 
1.0                                                      
usb3: companion controllers, 3 ports each: usb0 usb1 
usb2                   
usb3: <ALi M5239 USB 2.0 controller> on 
ehci0                               
usb3: USB revision 
2.0                                                      
uhub3: <AcerLabs EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on 
usb3   
uhub3: 8 ports with 8 removable, self 
powered                               
acpi_button0: <Power Button> on 
acpi0                                       
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 
on 
acpi0                                                                         

fdc0: 
[FILTER]                                                              
fd0: <1440-KB 3.5" drive> on fdc0 drive 
0                                   
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77f 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                                         
ppbus0: 
[ITHREAD]                                                           
plip0: <PLIP network interface> on 
ppbus0                                   
plip0: WARNING: using obsoleted IFF_NEEDSGIANT 
flag                         
lpt0: <Printer> on 
ppbus0                                                   
lpt0: Interrupt-driven 
port                                                 
ppi0: <Parallel I/O> on 
ppbus0                                              
ppc0: 
[GIANT-LOCKED]                                                        
ppc0: 
[ITHREAD]                                                             
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on 
acpi0        
atkbd0: <AT Keyboard> irq 1 on 
atkbdc0                                      
kbd0 at 
atkbd0                                                              
atkbd0: 
[GIANT-LOCKED]                                                      
atkbd0: 
[ITHREAD]                                                           
psm0: <PS/2 Mouse> irq 12 on 
atkbdc0                                        
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse Explorer, device ID 4
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
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
sio0: [FILTER]
cpu0: <ACPI CPU> on acpi0
powernow0: <Cool`n'Quiet K8> on cpu0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xccfff,0xcd000-0xcefff 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 2000076737 Hz quality 800
Timecounters tick every 1.000 msec
acd0: DVDR <HL-DT-ST DVDRAM GSA-4163B/A105> at ata1-master UDMA33
ad4: 152627MB <SAMSUNG HD160JJ ZM100-41> at ata2-master SATA300
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 
0x01
(probe0:ata1:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:ata1:0:0:0): CAM Status: SCSI Status Error
(probe0:ata1:0:0:0): SCSI Status: Check Condition
(probe0:ata1:0:0:0): NOT READY csi:0,0,bb,0 asc:3a,0
(probe0:ata1:0:0:0): Medium not present
(probe0:ata1:0:0:0): Unretryable error
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 
0x01
cd0 at ata1 bus 0 target 0 lun 0
cd0: <HL-DT-ST DVDRAM GSA-4163B A105> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ad4s1a
drm0: <ATI Radeon RV280 9250> on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] AGP at 0xd8000000 128MB
info: [drm] Initialized radeon 1.29.0 20080613
info: [drm] Setting GART location based on new memory map
info: [drm] Loading R200 Microcode
info: [drm] writeback test succeeded in 1 usecs
drm0: [ITHREAD]
pid 1215 (nepomukservicestub), uid 1001: exited on signal 11 (core dumped)

~/.xinitc
export PATH=/usr/local/kde4/bin:$PATH
/usr/local/kde4/bin/startkde4

/etc/X11/xorg.conf
[bash]beaster:~$cat /etc/X11/xorg.conf | grep -v -e 
\^\w\*\#                   
Section 
"ServerLayout"                                                         
        Identifier     
"Layout0"                                               
        Screen      0  "Screen0" 0 
0                                           
        Option         "AIGLX"          
"true"                                 
EndSection                                                                      


Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/URW/"  
        FontPath     "/usr/local/lib/X11/fonts/TTF/"  
        FontPath     "/usr/local/lib/X11/fonts/misc/" 
        FontPath     "/usr/local/share/fonts/"        
        FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"
        FontPath     "/usr/local/lib/X11/fonts/webfonts/"     
        FontPath     "/usr/local/lib/X11/fonts/dejavu/"       
EndSection                                                    

Section "Module"
        Load "freetype"
        Load  "extmod"
        Load  "glx"   
        Load  "dri"   
        Load  "dbe"   
        Load  "record"
        Load  "xtrap" 
        Load  "type1" 
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "MAX"    
        ModelName    "Belinea101720"
        Option      "DPMS"         
        HorizSync    31.00 - 81.00 
        VertRefresh  56.0 - 62.0   
EndSection                                                                        


Section "Device"
        Identifier  "radeon9250"                                    
        Driver      "radeon"                                        
        VendorName  "ATI Technologies Inc"                          
        Option      "RenderAccel"  "true"                           
        Option          "DRI"                   "true"              
EndSection                                                          

Section "Screen"
        Identifier "Screen0"
        Device     "radeon9250"
        Monitor    "Monitor0" 
        DefaultDepth     24   
        SubSection "Display"  
                Depth     24  
                Modes    "1280x1024" "1024x768" "800x600" "640x480"
                ViewPort 0 0                                      
        EndSubSection                                             
    Subsection "Display"                                          
        Depth       16                                            
        Modes       "1280x1024" "1024x768" "800x600" "640x480"    
        ViewPort    0 0                                           
    EndSubsection                                                 
EndSection                                                        

Section "DRI"
        Mode 0666
EndSection      

Section "Extensions"
        Option     "Composite"  "true"
        Option     "RENDER"     "enable"
        Option     "DOUBLE-BUFFER" "enable"
        Option     "BIG-REQUESTS"  "enable"
        Option     "GLX"        "enable"  
EndSection                                





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49B69763.3040108>