DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4th October 2011
lumiwa lumiwa is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Default root waiting for

Hi!

My system: FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:07:27 UTC 2011
/etc/fstab looks like:
Code:
  Device                Mountpoint      FStype  Options         Dump    Pass#
 /dev/ad0s1b             none            swap    sw              0       0
 /dev/ad0s1a             /               ufs     rw              1       1
 /dev/ad0s1e             /tmp            ufs     rw              2       2
 /dev/ad0s1f             /usr            ufs     rw              2       2
 /dev/ad0s1d             /var            ufs     rw              2       2
 /dev/acd0               /cdrom          cd9660  ro,noauto       0       0
I ran memtest and everything was O.K.
I have a HP Business Inkjet 3000 printer which is connected through router but
I did also try to connect with USB and from this time (I think) I have"
root waiting to: usbus4".

dmesg shows:
Quote:
...
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
...
Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
Root mount waiting for: usbus4
Root mount waiting for: usbus4
uhub4: 8 ports with 8 removable, self powered
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
Root mount waiting for: usbus4
(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): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray
closed)
cd0 at ata1 bus 0 scbus1 target 0 lun 0
cd0: <TSSTcorp CDDVDW SH-S222L SB01> Removable CD-ROM SCSI-0 device
cd0: 66.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray
closed
ugen4.2: <IN-WIN> at usbus4
umass0: <IN-WIN iAPP CR-e500, class 0/0, rev 2.00/0.96, addr 2> on usbus4
umass0: SCSI over Bulk-Only; quirks = 0x0000
ugen1.2: <Logitech> at usbus1
ums0: <Logitech USB-PS/2 Optical Mouse, class 0/0, rev 2.00/27.00, addr 2> on
usbus1
ums0: 8 buttons and [XYZT] coordinates ID=0
Root mount waiting for: usbus4
Computer freezing all the time when I try to compile/update ports...

Mitja
--------
http://jpgmag.com/people/lumiwa
Reply With Quote
  #2   (View Single Post)  
Old 4th October 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Does the system continue to boot when you remove the USB device (printer in this case)?, I believe this is a known issue, but did not investigate at this point, the more important (and probably unrelated) issue seems:

Quote:
Computer freezing all the time when I try to compile/update ports...
My first hunch would be a hardware issue.

You mentioned you ran memtest, how long did you run memtest? Make sure you run it for *at least* several hours. And if possible at least a day.
Detecting memory issues is not as easy at it might look at first glance (See the README in the memtest86+ source package for details).

Another possibility is overheating, especially if the problem occurs when compiling stuff.
Getting the CPU/system temperature varies a bit from system to system, take a look at coretemp(4) for Intel systems or amdtemp(4) for AMD systems.

Posting your full dmesg may also help, so we know what system/cpu/chipset/etc. you're using.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 4th October 2011
lumiwa lumiwa is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Default

Quote:
Originally Posted by Carpetsmoker View Post
Does the system continue to boot when you remove the USB device (printer in this case)?, I believe this is a known issue, but did not investigate at this point, the more important (and probably unrelated) issue seems:



My first hunch would be a hardware issue.

You mentioned you ran memtest, how long did you run memtest?

.
I ran memtest about 12 hours but it was memtest not memtest86+. I will run memtest86+ again.

I had printer connected with usb just ten minutes and because didn't work correct I installed cups and connect printer to the broadband router and it works good. I don't have a problem to boot computer.
Today I updated gcc 4.5 and gcc 4.6 and was nothing wrong. Later try to update kdegames4 and when I came back computer was frozen. But after next try it was success and it works still.
Here is dmesg (I am charging my phone now):

Code:
Copyright (c) 1992-2011 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 8.2-RELEASE-p3 #0: Tue Sep 27 18:07:27 UTC 2011
    root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (2605.92-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Family = f  Model = 2  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNXT-ID,xTPR>
real memory  = 2147483648 (2048 MB)
avail memory = 2086055936 (1989 MB)
ACPI APIC Table: <A M I  OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 2 package(s) x 1 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <A M I OEMXSDT> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 7fef0000 (3) failed
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
cpu1: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82865 host to AGP bridge> on hostb0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xc000-0xc0ff mem 0xf0000000-0xf3ffffff,0xfe9f0000-0xfe9fffff irq 16 at device 0.0 on pci1
vgapci1: <VGA-compatible display> mem 0xec000000-0xefffffff,0xfe9e0000-0xfe9effff at device 0.1 on pci1
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xeec0-0xeedf irq 16 at device 29.0 on pci0
uhci0: [ITHREAD]
usbus0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xef00-0xef1f irq 19 at device 29.1 on pci0
uhci1: [ITHREAD]
usbus1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xef40-0xef5f irq 18 at device 29.2 on pci0
uhci2: [ITHREAD]
usbus2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xef80-0xef9f irq 16 at device 29.3 on pci0
uhci3: [ITHREAD]
usbus3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
ehci0: <Intel 82801EB/R (ICH5) USB 2.0 controller> mem 0xfebff800-0xfebffbff irq 23 at device 29.7 on pci0
ehci0: [ITHREAD]
usbus4: EHCI version 1.0
usbus4: <Intel 82801EB/R (ICH5) USB 2.0 controller> on ehci0
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
skc0: <3Com 3C940 Gigabit Ethernet> port 0xd800-0xd8ff mem 0xfeafc000-0xfeafffff irq 22 at device 5.0 on pci2
skc0: 3Com Gigabit LOM (3C940) rev. (0x1)
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: Ethernet address: 00:0e:a6:2d:db:82
miibus0: <MII bus> on sk0
e1000phy0: <Marvell 88E1011 Gigabit PHY> PHY 0 on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
skc0: [ITHREAD]
emu10kx0: <Creative SBLive! [SB????]> port 0xdf80-0xdf9f irq 22 at device 10.0 on pci2
emu10kx0: [ITHREAD]
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0
pcm0: <eMicro EM28028 AC97 Codec>
pcm1: <EMU10Kx DSP rear PCM interface> on emu10kx0
pci2: <input device> at device 10.1 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
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]
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
uart1: [FILTER]
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77b 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
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: [ITHREAD]
lpt0: <Printer> on ppbus0
lpt0: [ITHREAD]
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xccfff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
p4tcc1: <CPU Frequency Thermal Control> on cpu1
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
ad0: 76319MB <WDC WD800JB-00FSA0 77.07W77> at ata0-master UDMA100 
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
acd0: DVDR <TSSTcorp CDDVDW SH-S222L/SB01> at ata1-master UDMA66 
SMP: AP CPU #1 Launched!
Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
Root mount waiting for: usbus4
Root mount waiting for: usbus4
uhub4: 8 ports with 8 removable, self powered
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 
Root mount waiting for: usbus4
(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): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed)
cd0 at ata1 bus 0 scbus1 target 0 lun 0
cd0: <TSSTcorp CDDVDW SH-S222L SB01> Removable CD-ROM SCSI-0 device 
cd0: 66.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
ugen4.2: <IN-WIN> at usbus4
umass0: <IN-WIN iAPP CR-e500, class 0/0, rev 2.00/0.96, addr 2> on usbus4
umass0:  SCSI over Bulk-Only; quirks = 0x0000
ugen1.2: <Logitech> at usbus1
ums0: <Logitech USB-PS/2 Optical Mouse, class 0/0, rev 2.00/27.00, addr 2> on usbus1
ums0: 8 buttons and [XYZT] coordinates ID=0
Root mount waiting for: usbus4
umass0:2:0:-1: Attached to scbus2
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
(probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI status: Check Condition
(probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <IN-WIN iAPP  HS-CF 0.96> Removable Direct Access SCSI-0 device 
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0 
(probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:1): SCSI status: Check Condition
(probe0:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present)
da1 at umass-sim0 bus 0 scbus2 target 0 lun 1
da1: <IN-WIN iAPP  HS-MS 0.96> Removable Direct Access SCSI-0 device 
da1: 40.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
(probe0:umass-sim0:0:0:2): TEST UNIT READY. CDB: 0 40 0 0 0 0 
(probe0:umass-sim0:0:0:2): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:2): SCSI status: Check Condition
(probe0:umass-sim0:0:0:2): SCSI sense: NOT READY asc:3a,0 (Medium not present)
da2 at umass-sim0 bus 0 scbus2 target 0 lun 2
da2: <IN-WIN iAPP  HS-SM 0.96> Removable Direct Access SCSI-0 device 
da2: 40.000MB/s transfers
da2: Attempt to query device size failed: NOT READY, Medium not present
(probe0:umass-sim0:0:0:3): TEST UNIT READY. CDB: 0 60 0 0 0 0 
(probe0:umass-sim0:0:0:3): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:3): SCSI status: Check Condition
(probe0:umass-sim0:0:0:3): SCSI sense: NOT READY asc:3a,0 (Medium not present)
da3 at umass-sim0 bus 0 scbus2 target 0 lun 3
da3: <IN-WIN iAPP  HS-SD/MMC 0.96> Removable Direct Access SCSI-0 device 
da3: 40.000MB/s transfers
da3: Attempt to query device size failed: NOT READY, Medium not present
WARNING: /tmp was not properly dismounted
/tmp: mount pending error: blocks 16 files 2
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
ugen4.2: <IN-WIN> at usbus4 (disconnected)
umass0: at uhub4, port 8, addr 2 (disconnected)
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
(da1:umass-sim0:0:0:1): lost device
(da1:umass-sim0:0:0:1): removing device entry
(da2:umass-sim0:0:0:2): lost device
(da2:umass-sim0:0:0:2): removing device entry
(da3:umass-sim0:0:0:3): lost device
(da3:umass-sim0:0:0:3): removing device entry
ugen4.2: <IN-WIN> at usbus4
umass0: <IN-WIN iAPP CR-e500, class 0/0, rev 2.00/0.96, addr 2> on usbus4
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:2:0:-1: Attached to scbus2
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
(probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI status: Check Condition
(probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <IN-WIN iAPP  HS-CF 0.96> Removable Direct Access SCSI-0 device 
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0 
(probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:1): SCSI status: Check Condition
(probe0:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present)
da1 at umass-sim0 bus 0 scbus2 target 0 lun 1
da1: <IN-WIN iAPP  HS-MS 0.96> Removable Direct Access SCSI-0 device 
da1: 40.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
(probe0:umass-sim0:0:0:2): TEST UNIT READY. CDB: 0 40 0 0 0 0 
(probe0:umass-sim0:0:0:2): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:2): SCSI status: Check Condition
(probe0:umass-sim0:0:0:2): SCSI sense: NOT READY asc:3a,0 (Medium not present)
da2 at umass-sim0 bus 0 scbus2 target 0 lun 2
da2: <IN-WIN iAPP  HS-SM 0.96> Removable Direct Access SCSI-0 device 
da2: 40.000MB/s transfers
da2: Attempt to query device size failed: NOT READY, Medium not present
(probe0:umass-sim0:0:0:3): TEST UNIT READY. CDB: 0 60 0 0 0 0 
(probe0:umass-sim0:0:0:3): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:3): SCSI status: Check Condition
(probe0:umass-sim0:0:0:3): SCSI sense: NOT READY asc:3a,0 (Medium not present)
da3 at umass-sim0 bus 0 scbus2 target 0 lun 3
da3: <IN-WIN iAPP  HS-SD/MMC 0.96> Removable Direct Access SCSI-0 device 
da3: 40.000MB/s transfers
da3: Attempt to query device size failed: NOT READY, Medium not present
ugen4.3: <HTC> at usbus4
umass1: <HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3> on usbus4
umass1:  SCSI over Bulk-Only; quirks = 0x0000
umass1:3:1:-1: Attached to scbus3
(probe0:umass-sim1:1:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
(probe0:umass-sim1:1:0:0): CAM status: SCSI Status Error
(probe0:umass-sim1:1:0:0): SCSI status: Check Condition
(probe0:umass-sim1:1:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
da4 at umass-sim1 bus 1 scbus3 target 0 lun 0
da4: <HTC Android Phone 0100> Removable Direct Access SCSI-2 device 
da4: 40.000MB/s transfers
da4: Attempt to query device size failed: NOT READY, Medium not present
drm0: <ATI Radeon If RV250 9000> on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] AGP at 0xf8000000 64MB
info: [drm] Initialized radeon 1.31.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]
Reply With Quote
  #4   (View Single Post)  
Old 5th October 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

There's nothing wrong with memtest86, memtest86+ has a few new features and support for newer chipsets/CPU's (Which you don't have), but it's not fundamentally "better". No need to run it again. I just wanted to make sure you didn't just run memtest for something like 15 minutes (Which is what many people do)

You seem to have a Pentium D CPU, and they do tend to get hot.
I don't quite remember how to get the CPU Temperature on the P4, you can try:
# sysctl -a | grep C\$

And see if that turns up anything.

You can test your temperature by starting in one xterm a "temperature monitor script":
Code:
#!/bin/sh
while 1; do
  clear
  sysctl dev.cpu.0.temperature dev.cpu.1.temperature | tee temp.log
  sleep 1
done
... Assuming you get your temperature from dev.cpu.?.temperature ...

Then load both cores 100%, the easiest way is to use Python, do this twice:
# python -c '9999999999999999999999**9999999999999999999999999 9'

Leave it running for 20 minutes, if the system doesn't reboot and the temperature stays reasonable (<~80°C) you probably don't have a heating problem ...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #5   (View Single Post)  
Old 5th October 2011
lumiwa lumiwa is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Default

Thank you very much, Carpetsmoker. I will try today. I need to check the fan on processor. Computer is old about eleven years but FreeBSD works excellent .

Mitja

P.S.

I ran clamav and yesterday I turned off before compiling and computer running still...
Reply With Quote
  #6   (View Single Post)  
Old 13th October 2011
lumiwa lumiwa is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Default

Quote:
Originally Posted by Carpetsmoker View Post
There's nothing wrong with memtest86, memtest86+ has a few new features and support for newer chipsets/CPU's (Which you don't have), but it's not fundamentally "better". No need to run it again. I just wanted to make sure you didn't just run memtest for something like 15 minutes (Which is what many people do)

You seem to have a Pentium D CPU, and they do tend to get hot.
I don't quite remember how to get the CPU Temperature on the P4, you can try:
# sysctl -a | grep C\$

And see if that turns up anything.

You can test your temperature by starting in one xterm a "temperature monitor script":
Code:
#!/bin/sh
while 1; do
  clear
  sysctl dev.cpu.0.temperature dev.cpu.1.temperature | tee temp.log
  sleep 1
done
... Assuming you get your temperature from dev.cpu.?.temperature ...

Then load both cores 100%, the easiest way is to use Python, do this twice:
# python -c '9999999999999999999999**9999999999999999999999999 9'

Leave it running for 20 minutes, if the system doesn't reboot and the temperature stays reasonable (<~80°C) you probably don't have a heating problem ...
Thank you very much for the help. I did everything as you wrote and I didn't find a problem and computer still running (about one week) and I compile gcc, firefox... and there were no problems.
I think that is problem when I restart computer. Sometimes I have a problems as I describe but after few reboots is okay.. And as I wrote box is old about eleven years and I start thinking about new one .
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
root logins phyro OpenBSD Security 3 28th October 2010 09:23 PM
root on ZFS gkontos FreeBSD Installation and Upgrading 12 18th December 2009 09:43 AM
ssh root Nk2Network OpenBSD Security 22 8th April 2009 06:59 PM
NTOP as root sniper007 FreeBSD Security 0 27th January 2009 07:42 PM
Wheel Can't su root MetalHead OpenBSD General 2 22nd November 2008 12:44 AM


All times are GMT. The time now is 05:34 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick