Strange console behavior - hangs every few minutes until a key is pressed

2013-04-17 Thread David Noel
I'm experiencing something odd from a few new servers I've been setting up today. I'll do something at the console that takes some amount of time and produces lots of output such as fetching the ports tree, svn updating /usr/src/, or building world, and the console will hang. The console ceases to

FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-11 Thread David Noel
I have 4 servers I'm upgrading from 8.3 to 8.4. Two of them went without a hitch, two of them blew up in my face. The only difference between the two is the ones that worked have a 2-disk ZFS mirror and the ones that didn't have a 4-disk ZFS striped mirror configuration (RAID10). They both use the

Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-11 Thread David Noel
On 7/11/13, Alexandre wrote: > On Thu, Jul 11, 2013 at 11:04 AM, David Noel > wrote: > >> I have 4 servers I'm upgrading from 8.3 to 8.4. Two of them went >> without a hitch, two of them blew up in my face. The only difference >> between the two is the ones that

Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-11 Thread David Noel
Ah. That very well might be it. I did call buildkernel with j > 1. I'll boot an 8.4 memstick and replace the kernel. Thanks, -David On 7/11/13, Eduardo Morras wrote: > On Thu, 11 Jul 2013 04:40:38 -0500 > David Noel wrote: >> >> I didn't include the make bui

Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-11 Thread David Noel
On 7/11/13, Mark Felder wrote: > On Thu, 11 Jul 2013 05:00:39 -0500, Eduardo Morras > wrote: > >> Perhaps make buildkernel was compiled with -j >1, it's known to create a >> >> buggy kernel. > > This is not true to my knowledge. If buildkernel produced bad kernels with > > -j>1 we'd not allow you

Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-19 Thread David Noel
> Perhaps make buildkernel was compiled with -j >1, it's known to create a > buggy kernel. Check your make configuration. Adding a -B, like make -B -j N > buildkernel may work and is fast if -j is set to number or processors, but > it's safer do a make -j 1 buildkernel, same for buildworld. I repl

Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4)

2013-07-19 Thread David Noel
> It's possible. But again, I've been using -j >1 for years on a variety > of processors, mostly Intel, without problems. That's with buildworld > and kernel (which is buildkernel plus installkernel), but not with > installworld. > > Are you using clang instead of gcc? That could be very differe

Delete a directory, crash the system

2013-07-27 Thread David Noel
I had a strange experience on my laptop yesterday. I was deleting a directory and the system crashed. It spat out a message along the lines of "ufs_dirrem bad link count 2 on parent". I thought it was so strange I repeated the process several times, and each time it crashed. Is this behavior EXPECT

Re: Delete a directory, crash the system

2013-07-27 Thread David Noel
Yes On 7/27/13, Fernando ApesteguĆ­a wrote: > El 27/07/2013 13:49, "David Noel" escribiĆ³: >> >> I had a strange experience on my laptop yesterday. I was deleting a >> directory and the system crashed. It spat out a message along the >> lines of "ufs_dir

Re: Delete a directory, crash the system

2013-07-27 Thread David Noel
> Post the stack trace of the core and maybe someone can help you. panic: ufs_dirrem: Bad link count 2 on parent cpuid = 0 KDB: stack backtrace: #0 0x808680fe at kdb_backtrace+0x5e #1 0x80832cb7 at panic+0x187 #2 0x80a700e3 at ufs_rmdir+0x1c3 #3 0x80b7d484 at VOP_RM

Re: Delete a directory, crash the system

2013-07-27 Thread David Noel
> I'm taking a guess here - the effective link count when it came to > removing the parent directory was only two and it should have been three > or more. This gets sanity checked this before proceeding, and panics if > it is not. Why an effective link count of three? We're talking about the > pare

Re: Delete a directory, crash the system

2013-07-27 Thread David Noel
> You may want to look into running fsck(8) and its myriad of options fsck did the trick > Also make sure you have soft updates enabled on your filesystem and > preferably journaled soft updates ..pretty sure I do but I'll double check, thanks. ___ fre

Re: Delete a directory, crash the system

2013-07-27 Thread David Noel
> So the system panics in ufs_rmdir(). Maybe the filesystem is > corrupt? Have you tried to fsck(8) it manually? fsck worked, though I had to boot from a USB image because I couldn't get into single user.. for some odd reason. > Even if the filesystem is corrupt, ufs_rmdir() shouldn't > panic(),

Re: Delete a directory, crash the system

2013-07-27 Thread David Noel
> I was going to raise an issue when the discussion had died down to a > concensus. I also don't think it's reasonable for the kernel to bomb > when it encounters corruption on a disk. > > If you want to patch it yourself, edit sys/ufs/ufs/ufs_vnops.c at around > line 2791 change: > > if (

Re: Delete a directory, crash the system

2013-07-28 Thread David Noel
Ok folks, thanks again for all the help. Using the feedback I submitted a PR (#180894) -- http://www.freebsd.org/cgi/query-pr.cgi?pr=180894. I also submitted a follow-up to it with Frank's code and notes. What next? I don't really know what happens from here, but I'm guessing/hoping that someone's

Update /usr/src with subversion

2013-08-05 Thread David Noel
Does anyone know how a workaround for having to rm -rf /usr/src every time the source URL changes? I'm updating from 8.3 to 8.4 with subversion and got a message along the lines of "Error: /usr/src/ contains files from a different URL". -David ___ freebsd

Re: Update /usr/src with subversion

2013-08-05 Thread David Noel
27;ll check out the man for svn switch. Thanks again, -David On 8/5/13, Matthew Seaman wrote: > On 05/08/2013 09:00, David Noel wrote: >> Does anyone know how a workaround for having to rm -rf /usr/src every >> time the source URL changes? I'm updating from 8.3 to 8.4 with &g

Re: Update /usr/src with subversion

2013-08-05 Thread David Noel
Thanks, guys! On 8/5/13, Matthew Seaman wrote: > On 05/08/2013 14:22, Warren Block wrote: >>> Your solution looks a bit cleaner than the one proposed there: "rm -r >>> /usr/src/.svn, and then check out the new branch". >>> >>> I'll check out the man for svn switch. >> >> The new form is just 'svn

Re: Update /usr/src with subversion

2013-08-05 Thread David Noel
On 8/5/13, David Noel wrote: > Thanks, guys! > > On 8/5/13, Matthew Seaman wrote: >> On 05/08/2013 14:22, Warren Block wrote: >>>> Your solution looks a bit cleaner than the one proposed there: "rm -r >>>> /usr/src/.svn, and then check out the new b

Re: svn checkout "head" or "stable"

2012-09-28 Thread David Noel
On 9/28/12, Ed Flecko wrote: > Excellent! Thank you all. > > :-) > > So, for ME...does this look right? This will track the latest release > that has the patches applied? > > > svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src > > svn co svn://svn.freebsd.org/ports/releng/9.1 /usr/ports > > sv

Re: svn checkout "head" or "stable"

2012-09-28 Thread David Noel
On 9/28/12, Ed Flecko wrote: > David - I'd like to, but every time I try that it prompts me for a > password...and I don't know what password it wants??? > > Ed Great question. I'm running into the same issue. I guessed around a bit with no luck: svn/anonsvn... Would anyone on the list be able to

Re: svn checkout "head" or "stable"

2012-09-28 Thread David Noel
On 9/28/12, Matthew Seaman wrote: > On 28/09/2012 20:41, Ed Flecko wrote: >> David - I'd like to, but every time I try that it prompts me for a >> password...and I don't know what password it wants??? > > That would be the password to a freebsd.org account, which isn't going > to work for most peo

Re: svn checkout "head" or "stable"

2012-09-28 Thread David Noel
On 9/28/12, David Noel wrote: > On 9/28/12, Matthew Seaman wrote: >> On 28/09/2012 20:41, Ed Flecko wrote: >>> David - I'd like to, but every time I try that it prompts me for a >>> password...and I don't know what password it wants??? >> >> Th

Re: installworld strangeness

2012-11-22 Thread David Noel
On 11/22/12, Christer Solskogen wrote: > On Thu, Nov 22, 2012 at 2:14 PM, David Noel wrote: >> Updating from 8.2 to 8.3 I'm running into the following: >> >> ===> include (install) >> creating osreldate.h from newvers.sh >> dirname: not found >>

Re: installworld strangeness

2012-11-22 Thread David Noel
On 11/22/12, Markus Hoenicka wrote: > David Noel was heard to say: > >> I tried upgrading to 9.1 also but ran into a wall there as well: >> >> ===> usr.sbin/lpr/filters.ru (install) >> install -o root -g wheel -m 444 >> /usr/src9.1/usr.sbin/lpr/filters.r

Re: installworld strangeness

2012-11-22 Thread David Noel
On 11/22/12, Paul Schmehl wrote: > --On November 22, 2012 7:14:35 AM -0600 David Noel > > wrote: > >> Updating from 8.2 to 8.3 I'm running into the following: >> >> ===> include (install) >> creating osreldate.h from newvers.sh >> dirname: not

Re: installworld strangeness

2012-12-05 Thread David Noel
On 11/22/12, David Noel wrote: > On 11/22/12, Paul Schmehl wrote: >> --On November 22, 2012 7:14:35 AM -0600 David Noel >> >> >> wrote: >> >>> Updating from 8.2 to 8.3 I'm running into the following: >>> >>> ===> include (inst