Re: Repeatable crash with mkdir causing a divide by zero error

2007-04-07 Thread Tom Judge

Kris Kennaway wrote:

On Fri, Apr 06, 2007 at 11:05:22AM +0100, Tom Judge wrote:

Hi,

I have seen some problems with a new file system that I created 
yesterday in that I could repeatedly get the system to crash in with a 
mkdir.


Here is the disk information
mfid1: MFI Logical Disk on mfi1
mfid1: 5716992MB (11708399616 sectors) RAID volume 'Images' is optimal

I created a new file system tuned for 64k blocks, an average file size 
of 1Mb, and 2500 files per directory.


newfs -b 65535 -g 1048576 -h 2500 /dev/mfid1p1
mount /dev/mfid1p1 /compere
mkdir /compere/images
mkdir /compere/images/1999

(Also tested with mkdir test; mkdir test/1998)

The system is and amd64 system running 6.2-RELEASE and the pmap.c patch. 
 I have 3 cores cause by 3 different apps (rsync, gmkdir, mkdir) and 
can provide any more information if required.  I have attached a back 
trace, unfortunatly I cannot do any testing  as the system is now in 
testing (newfs -b 65535 -g 1048576 /dev/mfid1p1 was used and seems not 
to cause the bug).


This might be simple to fix, but please file a PR if it does not get
picked up by someone on this list.

Kris


SNIP

For any one that is interested there is now a PR for this problem 
(kern/111352).


Tom

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Changing Console Resolution - Vidcontrol

2007-04-07 Thread John Walthall
 Oops, I was mistaken.  800x600x4 (MODE_258) is what I'm using.
 800x600x8 returns Operation not supported when trying to switch to it,
 as do both 4 and 8 bit 1024x768 modes.  16-bit and 32-bit modes work at
 the higher resolution but they're slow as molasses so I don't use
 them(1).

No Matter what I try, I get cannot open raster device, inapropriate ioctl 
for this device. I have made sure that I have VESA loaded, etc.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No buffer space available

2007-04-07 Thread Chris

On 06/04/07, Marc G. Fournier [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Friday, April 06, 2007 06:17:04 +0100 Chris [EMAIL PROTECTED] wrote:

 I am seeing the no buffer space error on a machine running 6.2 STABLE
 feb 24 code, the machine isn't using gmirror.  I had to recude
 recvspace and sendspace to lower values then I want to get round the
 problem.

 67/1163/1230 mbufs in use (current/cache/total)
 65/275/340/65536 mbuf clusters in use (current/cache/total/max)
 65/255 mbuf+clusters out of packet secondary zone in use (current/cache)
 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
 0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
 0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
 146K/840K/987K bytes allocated to network (current/cache/total)
 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
 0/0/0 requests for jumbo clusters denied (4k/9k/16k)
 0/56/8704 sfbufs in use (current/peak/max)
 0 requests for sfbufs denied
 0 requests for sfbufs delayed
 20233 requests for I/O initiated by sendfile
 7740 calls to protocol drain routines

What ethernet driver are you using?  In my case, its an fxp device ... trying
to see if there is *some* sort of common denominator here :(

I just upgraded to the latest kernel last night, to see if maybe a recent
commit had a side-effect of fixing it, but won't know anything for another 48
hours or so ...

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGFpJ44QvfyHIvDvMRAny4AKCOVStyCBOi5Pwt5uyelgze3ML/kQCgxqCp
6VZ/f9U4ibx/zahMLWu+Fs0=
=U8Y1
-END PGP SIGNATURE-




its a re0

Chris
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No buffer space available

2007-04-07 Thread Chris

On 06/04/07, Marc G. Fournier [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Friday, April 06, 2007 06:17:04 +0100 Chris [EMAIL PROTECTED] wrote:

 I am seeing the no buffer space error on a machine running 6.2 STABLE
 feb 24 code, the machine isn't using gmirror.  I had to recude
 recvspace and sendspace to lower values then I want to get round the
 problem.

 67/1163/1230 mbufs in use (current/cache/total)
 65/275/340/65536 mbuf clusters in use (current/cache/total/max)
 65/255 mbuf+clusters out of packet secondary zone in use (current/cache)
 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
 0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
 0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
 146K/840K/987K bytes allocated to network (current/cache/total)
 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
 0/0/0 requests for jumbo clusters denied (4k/9k/16k)
 0/56/8704 sfbufs in use (current/peak/max)
 0 requests for sfbufs denied
 0 requests for sfbufs delayed
 20233 requests for I/O initiated by sendfile
 7740 calls to protocol drain routines

What ethernet driver are you using?  In my case, its an fxp device ... trying
to see if there is *some* sort of common denominator here :(

I just upgraded to the latest kernel last night, to see if maybe a recent
commit had a side-effect of fixing it, but won't know anything for another 48
hours or so ...

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGFpJ44QvfyHIvDvMRAny4AKCOVStyCBOi5Pwt5uyelgze3ML/kQCgxqCp
6VZ/f9U4ibx/zahMLWu+Fs0=
=U8Y1
-END PGP SIGNATURE-




Also to add I now have a 2nd box using 6.2 STABLE few days old code,
had to use it because of broadcom 5755 nic card, I plan to use large
tcp window sizes so will be interesting to see if this also suffers
from the problem.

Chris
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Compile Error

2007-04-07 Thread Schiz0

Hello,

I was discussing this error on IRC earlier and they suggested that I report
my problem to this list.

I downloaded the 6.2 release boot-only CD and installed. I updated my src
using csup with the RELENG_6 tag. Then, I followed the guide in the handbook
for rebuilding world. During the first step, make buildworld, I got the
following error: http://pastebin.ca/428777

I updated with csup immediately before running make buildworld. There seems
to be undefined reference to .. issues with the gstat source, which
prevents it from compiling. My supfile is located at:
http://www.pastebin.ca/428786

I also went through the make.conf man page, and set all the options to suit
my system configuration preferences. The make.conf file is located at:
http://pastebin.ca/428795

Thanks for your time,
~Schiz0
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compile Error

2007-04-07 Thread Schiz0

On 4/7/07, Schiz0 [EMAIL PROTECTED] wrote:


Hello,

I was discussing this error on IRC earlier and they suggested that I
report my problem to this list.

I downloaded the 6.2 release boot-only CD and installed. I updated my src
using csup with the RELENG_6 tag. Then, I followed the guide in the handbook
for rebuilding world. During the first step, make buildworld, I got the
following error: http://pastebin.ca/428777

I updated with csup immediately before running make buildworld. There
seems to be undefined reference to .. issues with the gstat source, which
prevents it from compiling. My supfile is located at:
http://www.pastebin.ca/428786

I also went through the make.conf man page, and set all the options to
suit my system configuration preferences. The make.conf file is located
at: http://pastebin.ca/428795

Thanks for your time,
~Schiz0



Sorry for the double post...but I recently was informed that everything I
set to false in make.conf is still read as true. Looks like I skimmed over
the make.conf(5) a tad too fast. I'm gonna go back and fix all that, then
try recompiling. Though I'm not sure it would fix the gstat issue.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Changing Console Resolution - Vidcontrol

2007-04-07 Thread Craig Boston
On Sat, Apr 07, 2007 at 03:31:40PM +, John Walthall wrote:
 No Matter what I try, I get cannot open raster device, inapropriate ioctl 
 for this device. I have made sure that I have VESA loaded, etc.

This sounds like your kernel is not compiled with options
SC_PIXEL_MODE.

Craig
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No buffer space available

2007-04-07 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Saturday, April 07, 2007 20:12:00 +0100 Chris [EMAIL PROTECTED] wrote:

 Also to add I now have a 2nd box using 6.2 STABLE few days old code,
 had to use it because of broadcom 5755 nic card, I plan to use large
 tcp window sizes so will be interesting to see if this also suffers
 from the problem.

I've got 8 servers on the same network, 3 are almost identical, but one of them 
(the one with the problem) is using software RAID vs hardware ... but, if you 
are seeing it without using software RAID, then that is obviously not the 
culprit :(

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGGCda4QvfyHIvDvMRAshzAJ47nHUdu2Xlxy8odBbaCxufhfV9igCgjQTw
xNFG2VFQmGPNhjToZJ6HDNk=
=6BN+
-END PGP SIGNATURE-

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]