![]() |
|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
![]() |
|
Thread Tools | Display Modes |
|
||||
![]() Quote:
are you updating remote box? Have you tried using portsnap from console (without X running) |
|
||||
![]() Quote:
Don't you know, it ain't nothing but a problem By default there are more flags specified, than you did, and you only specified few(2) default flags, basically you disabled some, that's all. remove CFLAGS (and , i'm not sure what is COPTFLAGS, but seams to me that thei are about the same) and recompile what you compiled with these flags Last edited by graudeejs; 9th October 2008 at 05:11 PM. |
|
||||
![]() Quote:
COPTFLAGS are the CFLAGS used for building the kernel only. It is usually best just to keep it at: COPTFLAGS= -O -pipe Here is my /etc/make.conf Code:
CPUTYPE?=core2 CFLAGS=-O2 -fno-strict-aliasing -pipe COPTFLAGS=-O -pipe WITH_OPENSSL_BASE=yes WANT_FAM_SYSTEM=gamin PERL_VER=5.8.8 PERL_VERSION=5.8.8 |
|
||||
![]()
I just replied to your -questions post. Do you have any core dumps in /var/crash?
Also, check dmesg for information from the reboot. This sounds like, as another -questions poster said, a filesystem issue. Unfortunately, it may be one that fsck doesn't fix - I had this happen to me (fsck says all is well, but hitting certain places on the FS causes a kernel panic due to a vfs dup alloc.) Try running a "dmesg |grep -i vfs" and see if it says anything. If not, check out /var/crash. |
|
||||
![]()
One other thing - keep the /var/crash files if you can; you may need to newfs and rebuild the afflicted partition but it'd be nice to actually get a dump submitted to developers to fix this issue. Unfortunately when it happened to me, I had to get things rolling again fast and didn't have a chance to save the files in /var/crash.
|
|
||||
![]() Quote:
![]() Also, let us know when the last time it rebooted this way was. If you can stomach it, run a portsnap fetch to trigger it, then as soon as it comes back up, run a "dmesg" and post the output here, along with output from "ls -l /var/crash/" and "date" so we can compare when it bounced with the vmcore files, etc etc. Thanks! |
|
||||
![]()
D'oh. I'm a bit tired, clearly.
I found this in vmcore.7: Code:
<118>Checking for core dump on /dev/ad4s1b... <118>savecore: reboot after panic: ffs_clusteralloc: map mismatch <118>Oct 9 11:16:26 freebsd savecore: reboot after panic: ffs_clusteralloc: map mismatch <118>savecore: writing core to vmcore.6 |
|
||||
![]()
Can you correlate the times of the coredumps to the times that the system rebooted due to the portsnap being run?
Do you have any way to boot into single user mode and run "fsck -y" ? If not, try running "fsck -y" as root anyway in multi-user mode and see if it complains about any errors. If it doesn't, you've likely stumbled upon the bug I was plagued by. The bad news: I had to newfs parts of my system to get rid of the afflicted filesystems and reinstall. The good news: the reinstall prompted me to try out KDE4, which is a pretty nice upgrade. ![]() |
|
||||
![]() Quote:
Why do you need to write things that are by default as they are in your config (not counting missed flags)? If it ain't broke, don't fix it Last edited by graudeejs; 9th October 2008 at 09:56 PM. |
|
||||
![]() Quote:
I'd be interested in seeing what sort of problems you've had because of it though - it's possible you pinched a few gcc bugs, which is always interesting and noteworthy - on a seperate thread. ![]() |
|
||||
![]()
mdh:
Quote:
[Seriously, does anyone actually read the stuff I post, or does everyone just gloss over it?] ![]() |
|
||||
![]() Quote:
Code:
# Compiling with -fstrict-aliasing optimization breaks some [notable] ports. # GCC turns on -fstrict-aliasing optimization at all levels above -O[1], so # explicitly turn it off when using compiling with the -O2 optimization level. |
|
||||
![]()
Exactly. That's what I said. Mucking about with the default CFLAGS is just asking for trouble. The defaults are -O2 -pipe -fno-strict-aliasing. The CFLAGS presented by the OP explicitly did not include the last option.
Seriously, does anyone actually read what I write? ![]() |
|
|||
![]()
Well if OP used these flags from make.conf to build kernel and world ... that is very very bad and ugly idea.
When building kernel remove your make.conf !!!!! For ports you can put it back if that will make you more happy. |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cleaning Portsnap files in /var/db/portsnap/files | bram85 | FreeBSD Ports and Packages | 2 | 5th October 2009 09:54 AM |
problem to first reboot after installation | openbsd | OpenBSD Installation and Upgrading | 3 | 16th May 2009 06:30 PM |
Problem with PORTSNAP and my router | cedcot | FreeBSD Ports and Packages | 2 | 22nd April 2009 11:32 AM |
Reboot loop on 7.0 upgraded to 7.1 | EricM | FreeBSD Installation and Upgrading | 3 | 25th March 2009 04:25 AM |
Instant reboot with 7.0-RELEASE | davidgurvich | FreeBSD Installation and Upgrading | 5 | 4th June 2008 08:15 PM |