|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
FreeBSD 7.0 hanging up randomly
Hi,
My freebsd 7.0 system keeps hanging up sometimes, and the computer becomes absolutely unresponsive( as in *nothing* works). Even the speakers emit garbage. The system does not even restart and there is no kernel dump(I did set all the dump parameters). I have to do a forced shutdown and I can't seem to pick up any evidence as to why the crash happened. I thought that this might be a bug of some sort in the release CD, so I synced with the latest stable tree and recompiled and it happened again today. It's not like it happens very often but it does happen. My hardware is the Dell Vostro 1400 laptop. The following is my make.conf:- CPUTYPE=core2 CFLAGS= -O2 -fno-strict-aliasing -pipe CXXFLAGS+= -fconserve-space COPTFLAGS= -O -pipe # added by use.perl 2008-06-29 04:07:27 PERL_VER=5.8.8 PERL_VERSION=5.8.8 KERNCONF=DEATHSTAR FETCH_CMD=/usr/local/bin/wget DISABLE_SIZE=YES Also I had to patch my kernel to get my NIC working. What could be the source of this problem?(I know it's very vague but this is excatly what it is) Is there anyone out there with a similar problem? |
|
|||
I had a similar problem with my Dell Inspiron 9400 which has the Intel 3945ABG NIC. My system used to freeze when I copied large amounts of data via the network. Is there anything specific that you are doing to make it freeze or is it random?
|
|
|||
i really can't say....to me it appeared completely random....or maybe I haven't yet figured out what was going on before the crash happened.
P.S I did do a memtest86 on my RAM and they're fine. Just to check for hardware problems. Also I have the broasdcom BCM5906M NIC for which the kernel had no drivers and so I had to patch and recompile to get it working. |
|
||||
I had similar problems with FreeBSD 7. It would freeze for no apparent reason I thought. Then I figured out that when I turn off DBUS, HAL and related services this would stop. I've switched to OpenBSD on my laptop now so I don't have those problems any more and I can't go deeper into debugging but I wanted to share this observation.
|
|
|||
I constantly moniter the CPU temperatures. They were within the safe thresholds. No, I wasn't compiling anything at that time. I had X running, and I was trying to watch a movie on vlc. The desktop environment I was using at that time was GNOME with all it's associated DBUS and HAL stuff. Also I had linuxdcpp running in the background.
The complete specifications of my laptop are:- Intel core 2 duo T9300 @ 2.5 GHz 4 GB DDR2 ram @ 667 MHz 200 GB hard drive @ 7200 rpm NVIDIA GeForce 8400M GS(I was running it on the "nv" driver) Anything else you need? I sort of have the problem which NightWeaver is having. *Random freezes*. I really don't know what's causing it and I have no clue as to which program might be the culprit. All the programs at that time was pretty run-of-the-mill. Plus even if one of those programs did cause the freeze, there was no way I could have found out cause it was like an absolute freeze. Help appreciated. |
|
||||
With "random" freezes, I'd likely start by testing the RAM. Get the latest memtest86+, boot with it, and get a good book to read while it runs its tests.
Also, check /var/log/messages for any signs that your system is complaining about hardware (especially anything power related).
__________________
Kill your t.v. |
|
||||
Quote:
Testing RAM is also important here. I'd try the suggestion about services first and move on from there. I thought /tmp and /var/tmp were not dumped during a crash or ever unless the option was specifically specified in rc.conf. You might have a poke around /tmp or /var/tmp. Also, is VLC a common denominator in all your crashes. I've had issues where mplayer wasn't configured properly and cause repeated crashes because of the output driver.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE) |
|
||||
Indeed. They get installed with GNOME and mc_i2020 said he's using GNOME so that rang a bell in my head. I'd test RAM too but I'd start by disabling DBUS and HAL and see what happens.
__________________
If it moves, crypt it. Unless it's static - than you should double-crypt it. |
|
||||
try these:
core2 is only supported on gcc 4.3 FreeBSD 7.0 uses 4.2 if you want 64bit then use nacona instead of prescott -O -pipe were default on FreeBSD 4/5 now use these defaults: -O2 -fno-strict-aliasing -pipe Code:
CPUTYPE=prescott CFLAGS= -O2 -fno-strict-aliasing -pipe -s CXXFLAGS+= -fconserve-space COPTFLAGS= -O2 -fno-strict-aliasing -pipe -s
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
|||
I did run memtest86 and found no errors. As for the CPUTYPE, freebsd 7.0 automatically defaults to prescott for the 32 bit version if you set core2.And I did check /var/log/messages. Did not find anything unsual except for the following two line which seem to appear everytime I boot up.
503 Jul 28 16:22:14 Death-Star kernel: acpi0: reservation of 0, 9f000 (3) failed 504 Jul 28 16:22:14 Death-Star kernel: acpi0: reservation of 100000, dfd6d800 (3) failed P.S This laptop is brand new. So I really don't think there's a hardware problem. And anyways I did run mentest86 just to check and there were no errors. I sort of have a feeling that whatever the problem is, it's in freeBSD 7.0. 6.2 was *rock-solid* for me. But that was on a different laptop. |
|
|||
Damn!...It happened again!!...was just browsing the net on firefox...no other programs were running....cpu temperatures were hovering around 40 degrees centigrade (104 degrees Fahrenheit)...Is that ok?....am now suspecting that is might have something to do with the NIC drivers, but I don't know for sure.
Last edited by mc_i2020; 28th July 2008 at 06:30 PM. |
|
|||
everytime I log out of opera, firefox, or seamonkey I run a small
shell script to clean out their cache. Started that in win98 when firefox crashed without it. I'd start there...
__________________
FreeBSD 13-STABLE |
|
||||
How long did you run Memtest? Also, vermaden, it's nocona, nacona.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE) |
|
|||
For about an hour and a half...it did not report any errors till then,so i just quit...should I continue it for longer?
|
|
|||
I typically run memtest+ until it passes 2 or 3 times.
|
|
||||
You should run it for around 12 hours, which is the safe mark. I've had errors pop up after three or four hours. 90 minutes is not enough.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE) |
|
|||
Hi,
My computer crashed again today, but instead of forcing it to shutdown, I just waited and it did reboot and I got a kernel dump with a Fatal trap 12: Page fault. The backtrace is given below:- Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x8021 fault code = supervisor read, page not present instruction pointer = 0x20:0xc071c2c7 stack pointer = 0x28:0xe7386920 frame pointer = 0x28:0xe7386958 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 25119 (make) trap number = 12 panic: page fault cpuid = 1 Uptime: 21m41s Physical memory: 3573 MB Dumping 219 MB: 204 188 172 156 140 124 108 92 76 60 44 28 12 #0 doadump () at pcpu.h:195 195 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc0579cf1 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc0579fc4 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc078b144 in trap_fatal (frame=0xe73868e0, eva=32801) at /usr/src/sys/i386/i386/trap.c:899 #4 0xc078b394 in trap_pfault (frame=0xe73868e0, usermode=0, eva=32801) at /usr/src/sys/i386/i386/trap.c:812 #5 0xc078bcfa in trap (frame=0xe73868e0) at /usr/src/sys/i386/i386/trap.c:490 #6 0xc07736ab in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc071c2c7 in allocdirect_merge (adphead=0x1, newadp=0xc8cd4480, oldadp=0x8001) at /usr/src/sys/ufs/ffs/ffs_softdep.c:1744 #8 0xe7386974 in ?? () #9 0xc6c9f440 in ?? () #10 0x00080120 in ?? () #11 0x00000000 in ?? () #12 0x00004000 in ?? () #13 0xc6c45a70 in ?? () #14 0xc865cd00 in ?? () #15 0x00000000 in ?? () #16 0xcb6e6e70 in ?? () #17 0xc6c21800 in ?? () #18 0xe73869e4 in ?? () #19 0xc070f6a1 in ffs_update (vp=0x926ce860, waitfor=1166802943) at /usr/src/sys/ufs/ffs/ffs_inode.c:110 Previous frame inner to this frame (corrupt stack?) |
|
||||
Mate, post this to lists.freebsd.org to freebsd-bugs or send PR by freebsd.org/send-pr.html, FreeBSD developers do not visit these forums, but they are very interested in such backtraces.
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Apache Randomly Stops Working | plexter | OpenBSD Packages and Ports | 21 | 4th May 2009 04:41 PM |
opensolaris latop keeps hanging screen freezes | chrisd | Solaris | 3 | 16th January 2009 07:08 PM |
Hanging on boot command syscons | caesius | FreeBSD General | 2 | 28th November 2008 09:07 AM |
FreeBSD 7.0 hanging up randomly - again | lumiwa | FreeBSD General | 6 | 6th September 2008 05:24 PM |