Re: 7.3-RELEASE sysinstall netDev feature

2010-03-23 Thread Rink Springer
Hi David,

On Tue, Mar 23, 2010 at 12:19:11PM -0400, David Boyd wrote:
 Is this the code committed by Rink Springer last October?

The code I committed (revision 198317) added support for 'netDev=ANY';
this would select the first device that has an active link.

Note that the value is case sensitive, so only using 'ANY' will work.

 This feature would sure be great for our many scripted installs (avoiding
 the hassles associated with plugging the cable into the wrong interface or
 having the interface type change unexpectedly due to hardware swaps).

What exactly happens in such a case? Is the line planly ignored? Are you
using a non-interactive install?

Regards,

-- 
Rink P.W. Springer- http://rink.nu
Beauty often seduces us on the road to truth.
- Dr. Wilson
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Support for SAS/SATA non-RAID adapters

2009-11-17 Thread Rink Springer
On Tue, Nov 17, 2009 at 08:38:21PM -0800, Freddie Cash wrote:
 I've also found a couple of Areca cards (PCI-X, non-RAID/PCIe RAID),
 and have heard good things about Areca support in FreeBSD.  Any
 comments on their quality/performance/reliability?

I have got an Areca ARC-1110 4x SATA2 PCI-X card in my server, and I'm
quite impressed with the performance; these cards do very well in terms
I/O operations per second and the driver has been rock solid for me. The
only downside is that they are quite expensive (but well worth it, IMO)

Regards,

-- 
Rink P.W. Springer- http://rink.nu
Beauty often seduces us on the road to truth.
- Dr. Wilson
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FW: 8.0-BETA2 sysinstall ignoring setting of nonInteractive

2009-08-16 Thread Rink Springer
On Sun, Aug 09, 2009 at 07:33:35PM +0100, Robert Watson wrote:
 
 On Mon, 3 Aug 2009, Rink Springer wrote:
 
  On Mon, Aug 03, 2009 at 11:04:31AM -0400, David Boyd wrote:
  Can someone PLEASE commit this fix.
 
  This fix looks OK to me; I'll ask re@ for permission.
 
 Just a status update: this is in the re@ queue but approval is pending 
 completion of the stable/7 branch.  The plan is that this should appear in 
 beta3.

It has been committed (r196272) and merged to 8, which means it will be
in BETA3 and 8.0-RELEASE. Thank you for your persistance and patience.

Regards,

-- 
Rink P.W. Springer- http://rink.nu
Beauty often seduces us on the road to truth.
- Dr. Wilson
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FW: 8.0-BETA2 sysinstall ignoring setting of nonInteractive

2009-08-03 Thread Rink Springer
On Mon, Aug 03, 2009 at 11:04:31AM -0400, David Boyd wrote:
 Can someone PLEASE commit this fix.

This fix looks OK to me; I'll ask re@ for permission.

Regards,

-- 
Rink P.W. Springer- http://rink.nu
Optimism, Hercules, is the shield of fools.
- Dahak
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: iir(4) support under 7.1

2008-12-12 Thread Rink Springer
Hi Heinrich,

On Fri, Dec 12, 2008 at 10:27:41AM +0100, Heinrich Rebehn wrote:
 Hmmm? nobody using this stuff anymore???

FWIW, we have some IBM servers which feature an iir(4) too and they are
unusuable on =7.0 - the iir(4) does not initialize correctly anymore.

I don't have details since I am seldomly near the machines, but if
anyone is willing to aid, I'm willing to look into it.

Regards,

-- 
Rink P.W. Springer- http://rink.nu
Anyway boys, this is America. Just because you get more votes doesn't
 mean you win. - Fox Mulder
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: iir(4) support under 7.1

2008-12-12 Thread Rink Springer
On Fri, Dec 12, 2008 at 10:49:12AM +0100, Rink Springer wrote:
 Hi Heinrich,
 
 On Fri, Dec 12, 2008 at 10:27:41AM +0100, Heinrich Rebehn wrote:
  Hmmm? nobody using this stuff anymore???
 
 FWIW, we have some IBM servers which feature an iir(4) too and they are
 unusuable on =7.0 - the iir(4) does not initialize correctly anymore.

Err, I meant Intel servers...

-- 
Rink P.W. Springer- http://rink.nu
Anyway boys, this is America. Just because you get more votes doesn't
 mean you win. - Fox Mulder
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Problem with Adaptec 29320LPE

2008-11-24 Thread Rink Springer
Hi Greg,

On Mon, Nov 24, 2008 at 12:42:49PM +0100, Greg Byshenk wrote:
 backuphost# camcontrol devlist
 SONY LIB-162 0208at scbus0 target 0 lun 0 (pass0,ch3)
 SONY SDX-1100 0102   at scbus0 target 1 lun 0 (sa3,pass1)
 SONY LIB-162 0203at scbus0 target 2 lun 0 (pass2,ch4)
 SONY SDX-900V 0102   at scbus0 target 3 lun 0 (sa4,pass3)
 AMCC 9650SE-16M DISK 3.06at scbus1 target 0 lun 0 (da0,pass4)
 AMCC 9650SE-16M DISK 3.06at scbus1 target 0 lun 1 (da1,pass5)

Are these volumes perhaps 2TB ? If so, it won't work...  we stumbled on
this at work a few weeks ago, and once we resized the volumes so that'd
all be 2TB, the controller worked fine...

As far as I know, this is the only workaround - I couldn't see relevant
patches in Open/NetBSD either that might have fixed this issue :-(

Regards,

-- 
Rink P.W. Springer- http://rink.nu
Anyway boys, this is America. Just because you get more votes doesn't
 mean you win. - Fox Mulder
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: system panic: RAID5 problem or zfs problem

2008-10-22 Thread Rink Springer
On Wed, Oct 22, 2008 at 10:33:44PM +0800, lhmwzy wrote:
 First we create a pool name www:
 zpool create www da1 da2 da3 da4 da5 da6

Um, this isn't a RAID - this is a simple concatination of disks. I think
what you meant to do was:

zpool create www raidz da1 da2 da3 da4 da5 da6

Otherwise, you'll just append all disks, and it makes sense that the
system doesn't work...

Regards,

-- 
Rink P.W. Springer- http://rink.nu
Anyway boys, this is America. Just because you get more votes doesn't
 mean you win. - Fox Mulder
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sade root only

2008-10-13 Thread Rink Springer
Hi Dominic,

On Mon, Oct 13, 2008 at 10:51:04AM +0200, Dominic Fandrey wrote:
 Certain md and da devices (usb-sticks, encrypted images) on my
 systems are owned by certain users, which I want to be able to use
 sade to partition their private partitions, disks, whatever.

FWIW, you currently can't use sade and/or sysinstall to partition md(4)
devices - I have a patch available to resolve this, but never got around
to committing it.

If there is interest in it, let me know.

Regards,

-- 
Rink P.W. Springer- http://rink.nu
Anyway boys, this is America. Just because you get more votes doesn't
 mean you win. - Fox Mulder
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.1 i386 PXE

2008-10-09 Thread Rink Springer
Hi Dmitriy,

On Thu, Oct 09, 2008 at 09:08:42PM +0400, Dmitriy Kirhlarov wrote:
 I tryin update my install server. Look like 7.1 i386 pxe boot broken.
 My own release build is 7.1-i386-2008-10-05

Hmm, I tried it a few days ago and it worked fine for me. What kind of
error are you seeing?

Regards,

-- 
Rink P.W. Springer- http://rink.nu
Anyway boys, this is America. Just because you get more votes doesn't
 mean you win. - Fox Mulder
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: machine hangs on occasion - correlated with ssh break-in attempts

2008-08-21 Thread Rink Springer
On Thu, Aug 21, 2008 at 01:03:09PM -0700, Jeremy Chadwick wrote:
 Finally, consider moving to pf instead, if you really feel ipfw is
 what's causing your machine to crash.  You might be pleasantly surprised
 by the syntax, and overall administrative usability (it is significantly
 superior to ipfw, IMHO).

In fact, pf can already do this out-of-the-box, by doing something like:

table sshlusers persist
pass quick on $wan_if proto tcp from any to any port ssh flags S/SA keep
state \
 (max-src-conn 15, max-src-conn-rate 5/3, overload sshlusers flush
global)

If that is not an option, I have found that security/denyhosts works
pretty well too (it just adds IP's to /etc/hosts.deniedssh, and
host_access(5) denies them based on this)

Regards,

-- 
Rink P.W. Springer- http://rink.nu
Anyway boys, this is America. Just because you get more votes doesn't
 mean you win. - Fox Mulder
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Incorrect file size?

2008-06-20 Thread Rink Springer
Hi,

On Fri, Jun 20, 2008 at 03:34:26PM +0300, Krassimir Slavchev wrote:
 # ls -l
 total 1239702
 - -rw---  1 vscan  vscan  4398199488512 Jun 20 15:18 auto-whitelist
 - -rw---  1 vscan  vscan 22 Jun 20 15:18 bayes.lock
 - -rw---  1 vscan  vscan 102168 Jun 20 15:18 bayes_journal
 - -rw---  1 vscan  vscan  1099639861248 Jun 20 15:18 bayes_seen
 - -rw---  1 vscan  vscan   21057536 Jun 20 15:18 bayes_toks
 
 but:
 # df -h
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ar0s1a 19G3.9G 14G22%/
 ...
 
 # du
 1239758 .
 
 # mount
 /dev/ar0s1a on / (ufs, local)
 ...

This is most likely due to the use of 'sparse files': sequential file
data that consists of only zeros doesn't need have actual storage
associated to it. This is quite normal in UNIX environments, and quite
harmless.

-- 
Rink P.W. Springer- http://rink.nu
Anyway boys, this is America. Just because you get more votes doesn't
 mean you win. - Fox Mulder
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Incorrect file size?

2008-06-20 Thread Rink Springer
On Fri, Jun 20, 2008 at 03:54:22PM +0200, Ivan Voras wrote:
 Except that the file in question should be, judging by the filename, a
 simple text file. I don't really see how a whitelist could grow to such
 monstrous sizes :) Most likely it's a file system corruption - fsck
 should be the first thing to try.

The 'vscan' user leads me assume this is SpamAssassin - I've seen this
behaviour at work, where our scripts were trying to backup a 1TB file
(which actually was ~vscan/.spamassassin/auto-whitelist). The result was
that the backup script died due to lack of disk space on the backup
server (as we don't use compression).

When I was investigating why the file could be so large it, it turned
out the file was only a few hunderd 'real' MB's, so that is why I assume
this person is having the same issue as we do. The file is a Berkeley DB
file, by the way, so there's nothing textfile about it ;-)

But still, when in doubt, fsck(8) is sure to aid you.

-- 
Rink P.W. Springer- http://rink.nu
Anyway boys, this is America. Just because you get more votes doesn't
 mean you win. - Fox Mulder
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disable DMA without loader.conf or sysctl.conf.

2008-04-16 Thread Rink Springer
Hi,

On Tue, Apr 15, 2008 at 09:37:05PM +0100, Chris Rees wrote:
 Remembering that Cromwell won't support loader

That is not correct - recent versions of the sysutils/cromwell port
support passing kernel environment parameters. As for your
/boot/xboxlinux.cfg, use:

title FreeBSD/xbox
kernel /boot/GENERIC/kernel
append hw.ata.ata_dma=0

And it should work. I think I forgot to release ISO images featuring
this :-(

-- 
Rink P.W. Springer- http://rink.nu
Anyway boys, this is America. Just because you get more votes doesn't
 mean you win. - Fox Mulder
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BTX on USB pen drive

2008-03-07 Thread Rink Springer
On Fri, Mar 07, 2008 at 10:49:17AM +0100, Miroslav Lachman wrote:
 I think you can use GRUB, because it is used in stage where all systems 
 works the same way and amd64 kernel will be booted in later stage.

Uh, no. amd64 kernels rely on information that only the loader supplies,
such as the memory map... take a look at /sys/amd64/machdep.c, function
getmemsize() for example.

-- 
Rink P.W. Springer- http://rink.nu
Anyway boys, this is America. Just because you get more votes doesn't
 mean you win. - Fox Mulder
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mapping stat(1) device number/name to partition?

2008-03-05 Thread Rink Springer
Hi,

On Wed, Mar 05, 2008 at 11:07:28AM +0100, Rick van der Zwet wrote:
 Which handy shell utility program will help me doing this?

I think you can use statfs(2) to look up the f_fsid, this should be
equal to the st_dev, judging from the code in kern/vfs_syscalls.c.
There doesn't appear to be a shell utility to statfs(2), but you may
be able to hack something up in perl or simular.

Regards,
-- 
Rink P.W. Springer- http://rink.nu
Anyway boys, this is America. Just because you get more votes doesn't
 mean you win. - Fox Mulder
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uchcom MFC?

2008-02-29 Thread Rink Springer
On Fri, Feb 29, 2008 at 08:07:01PM +0100, Luigi Rizzo wrote:
 On Fri, Feb 29, 2008 at 06:59:10PM +, Zaphod Beeblebrox wrote:
  Now that 7.0 has been cut, any chance that the uchcom driver could be MFC'd?
 
 good idea - i just built it under 6.3 and it did build and work
 without changing a single bit.

If no one steps up, I'm willing to do this...

-- 
Rink P.W. Springer- http://rink.nu
Anyway boys, this is America. Just because you get more votes doesn't
 mean you win. - Fox Mulder
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tar regression from 6.2 to 6.3 with --strip-components

2008-02-27 Thread Rink Springer
Hi,

On Thu, Feb 28, 2008 at 12:09:50AM +1100, Jan Mikkelsen wrote:
 And the tar extraction returns a failure.

I can confirm this does not work on 8-CURRENT either.

 Is this known?  Should I raise a PR?

That seems a good idea to me. Thanks!

-- 
Rink P.W. Springer- http://rink.nu
Anyway boys, this is America. Just because you get more votes doesn't
 mean you win. - Fox Mulder
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Porting FreeBSD to a new Architecture?

2007-04-04 Thread Rink Springer
Hi Nikolas,

On Wed, Apr 04, 2007 at 02:23:44AM -0500, Nikolas Britton wrote:
 I'm looking for documentation that could possibly help me port FreeBSD
 to a new architecture. I'm mainly interested in how you guys did the
 xbox and amd64 ports. i.e. x86 instruction set.

I can answer the Xbox question for you... basically, what I did was get
a good understanding of how the xbox internals worked (i.e. what the
exact differences are between an ordinary PC and an Xbox).

Based on this understanding, I patched the Xbox boot loader (Cromwell)
so it could properly load FreeBSD ELF images. Once that was done, I
worked my way up from the first piece of code executed
(that is in i386/i386/locore.s). I crafted some assembly code which
could control the Xbox LED's, and I used this to determine where the
Xbox would crash...

Once I got the initial machine-dependant stuff out of the way, I created
a console driver so I could see what was going on (which I later on
totally rewrote); and worked my way up from here... Expect a lot of
painstaking debugging in the progress...

Good luck!  

-- 
Rink P.W. Springer- http://rink.nu
It is such a quiet thing, to fall. But yet a far more terrible thing,
 to admit it.- Darth Traya
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Debug question

2007-04-04 Thread Rink Springer
Hi,

On Wed, Apr 04, 2007 at 11:56:00AM +0200, Mipam wrote:
 My swap is large enough to cover the whole memory and more so it should be 
 okay. However, gdb kernel vmcore.0 tells me that vmcore.0 is not a core 
 dump :-(

Try 'kgdb kernel -c vmcore.0'; more information can be found in the
handbook, most notabilty:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-gdb.html

Regards,

-- 
Rink P.W. Springer- http://rink.nu
It is such a quiet thing, to fall. But yet a far more terrible thing,
 to admit it.- Darth Traya
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Deadlock in state 'sysctl lock'

2007-02-20 Thread Rink Springer
Hi people,

At work, one of our SpamAssassin/ClamAV filtering machines just entered
a deadlock state:

FreeBSD/i386 (xxx.qsp.nl) (cuad0)

login: root
load: 0.00  cmd: login 683 [sysctl lock] 0.00u 0.00s 0% 148k
load: 0.00  cmd: login 683 [sysctl lock] 0.00u 0.00s 0% 148k
load: 0.00  cmd: login 683 [sysctl lock] 0.00u 0.00s 0% 148k
load: 0.00  cmd: login 683 [sysctl lock] 0.00u 0.00s 0% 148k
load: 0.00  cmd: login 683 [sysctl lock] 0.00u 0.00s 0% 148k

After inspection, I believe the following code in
kern/kern_sysctl.c:userland_sysctl() is the culprit:

SYSCTL_LOCK();

do {
req.oldidx = 0;
req.newidx = 0;
error = sysctl_root(0, name, namelen, req);
} while (error == EAGAIN);

if (req.lock == REQ_WIRED  req.validlen  0)
vsunlock(req.oldptr, req.validlen);

SYSCTL_UNLOCK();

Clearly, should sysctl_root() always return EAGAIN, this will cause a
serious deadlock condition. It appears this is possible.

The only plausible reference to sysctl's returning EGAIN seems to be in 
kern/kern_proc.c:sysctl_out_proc(). However, this code returns ESRCH
if the process couldn't have been found in the fast place, and since the
complete handler function will be called by sysctl_root() every
iteration, and thus will do a pfind() and return ESRCH if it failed and
not EAGAIN as it will later on in the code path.

The machine is a 6.0-STABLE SMP machine of 30-Mar-2006. No debugging
options are in the kernel as the machine has quite some load. The only
console messages were a lot of 'calcru' messages.

Any help is very much appreciated. For now, I'd like to propose a change
to kern/kern_sysctl.c:userland_sysctl(), to ensure this will never keep
looping on EAGAIN states (preferably, it should trigger a panic or at
least a KASSERT should such a condition occour). I know this is a
bandaid for a problem we don't really quite understand yet, but this may
ease debugging later on (especially as it will help us understand where
exactly it is going bad)

Any comments? It looks to me this deadlock is quite rare (in fact, I've
never seen it before), but I believe it is serious enough to be
addressed, even with such a bandaid until the real solution is presented
by someone who knows the sysctl internals better than I do.

Thanks,

-- 
Rink P.W. Springer- http://rink.nu
It is such a quiet thing, to fall. But yet a far more terrible thing,
 to admit it.- Darth Traya
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sysctl segfaulting

2007-02-17 Thread Rink Springer
Hi Michael,

On Sat, Feb 17, 2007 at 09:47:45AM +0100, Michael Nottebrock wrote:
 I've attached the ktrace output of 'sysctl kern.clockrate' to this message.

Hmm, could you try to rebuild sysctl manually and give that one a try?
Maybe there's not something in sync. Something like:

# cd /usr/src/sbin/sysctl
# make
# ./sysctl kern.clockrate

Would work. If this fails, could you build a debugging version (eg. make
CFLAGS=-g) and use gdb(1) to find out exactly where it crashes?

Thanks,

-- 
Rink P.W. Springer- http://rink.nu
It is such a quiet thing, to fall. But yet a far more terrible thing,
 to admit it.- Darth Traya


smime.p7s
Description: S/MIME cryptographic signature


Re: sysctl segfaulting

2007-02-17 Thread Rink Springer
Hi Michael,

On Sat, Feb 17, 2007 at 11:36:46AM +0100, Michael Nottebrock wrote:
 So I tried recompiling libc with debug cflags (-g3 -O -pipe), but this only 
 makes the backtrace in gdb much longer, but still without any function names.

Hmm, 'make install' appears to strip the debugging info. Please try
gdb-ing /usr/obj/usr/src/sbin/sysctl/sysctl instead (assuming you use
default the /usr/obj path like I do)

-- 
Rink P.W. Springer- http://rink.nu
It is such a quiet thing, to fall. But yet a far more terrible thing,
 to admit it.- Darth Traya


smime.p7s
Description: S/MIME cryptographic signature


Re: What is a good choice of sata-ii raid controller for freebsd?

2007-02-08 Thread Rink Springer
Hi,

On Thu, Feb 08, 2007 at 12:42:39PM +0300, Artem Kuchin wrote:
 I need a raid controller for FBSD 6.2 which has the following options

I can highly recommend the Areca family of SATA-II controllers. I have a
ARC-1110 (4 poort RAID controller) with 4x 320GB Western Digital
SATA-II drives attached to it in a RAID5 configuration.

Simple dd(1)-ing gives around 100MB/sec read and 70MB/sec write
performance. You can use sysutils/areca-cli to monitor it and update
settings (I have never tried actually creating arrays there though).

The controllers are a tad expensive, but once you have one, you won't
reget it.

Regards,

-- 
Rink P.W. Springer- http://rink.nu
It is such a quiet thing, to fall. But yet a far more terrible thing,
 to admit it.- Darth Traya


smime.p7s
Description: S/MIME cryptographic signature


Re: Error with cli32 ARECA RAID command line tool.

2006-12-21 Thread Rink Springer
Hi Nikolay,

On Thu, Dec 21, 2006 at 07:27:06PM +0200, Nikolay Pavlov wrote:
 Hello, folks. I am not sure where to go with this, but i have an error 
 trying to execute ARECA RAID command line tool with PAE kernel with
 GENERIC kernel everything is allright:
 
 Fatal error 'Cannot allocate red zone for initial thread' at line ? in file 
 /usr/src/lib/libc_r/uthread/uthread_init.c (errno = ?)

Hmm, I do not think that PAE is supported by the Areca driver. Perhaps
this is what is causing the problems? Does it work without PAE?

-- 
Rink P.W. Springer- http://rink.nu
It's you isn't it? THE BASTARD OPERATOR FROM HELL!
In the flesh, on the phone and in your account...   - BOFH #3


smime.p7s
Description: S/MIME cryptographic signature


Re: mountd(8) tries to remount / as R/W

2006-12-12 Thread Rink Springer
Hi Ed,

On Tue, Dec 12, 2006 at 10:36:45AM +0100, Ed Schouten wrote:
 Is it possible to teach mountd to leave the root filesystem alone?

This might be due to a change I have made in mountd(8) to prevent it
from destroying filesystem flags; could you file a PR for me?

I assume this is a recent 6-STABLE, correct?

Regards,

-- 
Rink P.W. Springer- http://rink.nu
It's you isn't it? THE BASTARD OPERATOR FROM HELL!
In the flesh, on the phone and in your account...   - BOFH #3


smime.p7s
Description: S/MIME cryptographic signature


Re: Large msdosfs disk will not mount on RELENG_6

2006-11-26 Thread Rink Springer
Hi Richard,

On Sun, Nov 26, 2006 at 10:23:14PM -0500, Richard Coleman wrote:
 I just bought a large external hard drive for home backups (500g Western 
 Digital My Book).  When I plug it in to my machine (RELENG_6 from about a 
 week ago), the system sees the device just fine:
 
 Nov 26 22:03:21 neptune kernel: umass0: Western Digital External HDD, rev 
 2.00/1.06, addr 2
 Nov 26 22:03:21 neptune kernel: uhid1: Western Digital External HDD, rev 
 2.00/1.06, addr 2, iclass 8/6
 Nov 26 22:03:21 neptune kernel: da0 at umass-sim0 bus 0 target 0 lun 0
 Nov 26 22:03:21 neptune kernel: da0: WD 5000YS External 106a Fixed Direct 
 Access SCSI-4 device
 Nov 26 22:03:21 neptune kernel: da0: 40.000MB/s transfers
 Nov 26 22:03:21 neptune kernel: da0: 476940MB (976773168 512 byte sectors: 
 255H 63S/T 60801C)
 
 
 But when I try to mount the drive (mount -t msdos /dev/da0 /mnt), the 
 system gives the following error:
 
 Nov 26 22:06:41 neptune kernel: mountmsdosfs(): disk too big, sorry
 
 I was surprised to see a file system limitation on FreeBSD that Windows 
 does not have.  I will probably reformat the system to ufs2, but thought I 
 would mention this error message.  I'm sure these drives will become 
 increasingly common.

Looking at /sys/fs/msdosfs/msdosfs_vfsops.c seems to hint the existance
of options MSDOSFS_LARGE; this avoids the error message and will let you
mount the disk.

Perhaps it's time for an update of msdosfs(5) ? (I've CC-ed Tom Rhodes
for this).

Regards,

-- 
Rink P.W. Springer- http://rink.nu
It's you isn't it? THE BASTARD OPERATOR FROM HELL!
In the flesh, on the phone and in your account...   - BOFH #3


smime.p7s
Description: S/MIME cryptographic signature


Re: Large msdosfs disk will not mount on RELENG_6

2006-11-26 Thread Rink Springer
On Mon, Nov 27, 2006 at 07:34:09AM +0100, Rink Springer wrote:
 Looking at /sys/fs/msdosfs/msdosfs_vfsops.c seems to hint the existance
 of options MSDOSFS_LARGE; this avoids the error message and will let you
 mount the disk.

Oh, and before I forget: this option is defined in /sys/conf/NOTES as
well (a pure #ifdef in source code is not enough, of course :-)

---
# Experimental support for large MS-DOS filesystems.
#
# WARNING: This uses at least 32 bytes of kernel memory (which is not
# reclaimed until the FS is unmounted) for each file on disk to map
# between the 32-bit inode numbers used by VFS and the 64-bit
# pseudo-inode
# numbers used internally by msdosfs. This is only safe to use in
# certain
# controlled situations (e.g. read-only FS with less than 1 million
# files).
# Since the mappings do not persist across unmounts (or reboots), these
# filesystems are not suitable for exporting through NFS, or any other
# application that requires fixed inode numbers.
options MSDOSFS_LARGE
---

Regards,

-- 
Rink P.W. Springer- http://rink.nu
It's you isn't it? THE BASTARD OPERATOR FROM HELL!
In the flesh, on the phone and in your account...   - BOFH #3


smime.p7s
Description: S/MIME cryptographic signature


panic(): vinvalbuf: dirty bufs: perhaps a ffs_syncvnode bug?

2006-11-16 Thread Rink Springer
Hi people,

At work, some storage is put on a SUN StorEdge 3510 FibreChannel array;
the disks are divided into two volumes, which are mounted using isp(4)
controllers. Two seperate machines each mount a single volume (this is,
box1 mounts the first volume (/dev/da1), and box2 mounts the second
volume (/dev/da2)). Both volumes are formatted using UFS2.

Over the night, we reset the shelf in order to activate its new
management IP address, causing the /dev/da[12] devices to be temporarily
unavailable. This resulted in the following panic on the rather busy
mailstorage server (the other server has minor load and was fine):

---
(da0:isp0:0:1:0): lost device
(da0:isp0:0:1:0): removing device entry
(da1:isp0:0:2:0): lost device
g_vfs_done():da1s1[WRITE(offset=292316823552, length=16384)]error = 6
g_vfs_done():da1s1[WRITE(offset=240287318016, length=16384)]error = 6
g_vfs_done():da1s1[READ(offset=12175362048, length=2048)]error = 6
g_vfs_done():da1s1[WRITE(offset=240287318016, length=16384)]error = 6
g_vfs_done():da1s1[READ(offset=18370689024, length=2048)]error = 6
g_vfs_done():da1s1[READ(offset=25829486592, length=512)]error = 6
vnode_pager_getpages: I/O read error
vm_fault: pager read error, pid 78035 (lmtpd)
g_vfs_done():da1s1[WRITE(offset=240287318016,
length=1638(da1:isp0:0:2:0): Invalidating pack
4)]error = 6
g_vfs_done():da1s1[READ(offset=13768671232, length=6144)]error = 6
g_vfs_done():da1s1[READ(offset=102126977024, length=16384)]error = 6
g_vfs_done():da1s1[READ(offset=13768671232, length=6144)]error = 6
g_vfs_dpone():da1s1[READ(offset=102319669248, length=16384)]error = 6a
nic: vinvalbuf: dirty bufs
cpuid = 2
Uptime: 54d15h48m38s

kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x56
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc0681303
stack pointer   = 0x28:0xe8d973f0
frame pointer   = 0x28:0xe8d973f8
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, IOPL = 0
current process = 78066 (lmtpd)
trap number = 12
---

When looking at the source code of vinvalbuf(), which calls
bufobj_invalbuf(), it seems that this panic is raised after a bufobj
still contains dirty data after waiting for it to complete without
error. The code can be found at /sys/kern/vfs_subr.c

The sync routine called eventually translates to bufsync(), as in
/sys/kern/vfs_bio.c, which calls the filesystem's sync routine. It seems
as if the return status of vfs_bio_awrite() in ffs_syncvnode() is not
checked; all the other parts are checked. I believe this could provoke
this panic.

As the machine is in production use, it was instantly rebooted by a
collegue and thus I have no vmcore, backtrace or anything. I therefore
hope the information provided here is adequate.

Can someone with more FreeBSD-VFS knowledge please look at this?

Thanks!

-- 
Rink P.W. Springer- http://rink.nu
It's you isn't it? THE BASTARD OPERATOR FROM HELL!
In the flesh, on the phone and in your account...   - BOFH #3


smime.p7s
Description: S/MIME cryptographic signature


Re: [PATCH] Intel PRO/100 VE extra PCI ID

2006-11-11 Thread Rink Springer
Hi,

On Fri, Nov 03, 2006 at 07:25:57AM -0500, Mike Tancsa wrote:
 There is another fxp ID as well
 
 http://lists.freebsd.org/pipermail/freebsd-stable/2006-October/030169.html
 
 Jack Vogel was going to look at it, but I think he is pretty busy 
 with the em issue and it would be nice to get this in prior to 6.2 as 
 this board is becoming common in the retail channel (around here at least)

It's now in both HEAD and RELENG_6. Thanks for the report!

-- 
Rink P.W. Springer- http://rink.nu
It's you isn't it? THE BASTARD OPERATOR FROM HELL!
In the flesh, on the phone and in your account...   - BOFH #3


smime.p7s
Description: S/MIME cryptographic signature


[PATCH] Intel PRO/100 VE extra PCI ID

2006-11-03 Thread Rink Springer
Hi people,

Recently, I installed FreeBSD on a Tyan GS14 barebone, which houses an
bge(4) and a fxp(4). However, FreeBSD does not recognize the on-board
fxp(4) NIC by default.

All that was needed was just an extra PCI ID addition; the patch can be
found at http://rink.nu/tmp/if_fxp.ve.diff. With this patch applies,
pciconf -lv gives:

--
[EMAIL PROTECTED]:8:0: class=0x02 card=0x27dc8086 chip=0x10658086 rev=0x04
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82562ET/EZ/GT/GZ PRO/100 VE Ethernet Controller'
class= network
subclass = ethernet
--

And the NIC works fine. Are there any objections to committing this?

Thanks,

-- 
Rink P.W. Springer- http://rink.nu
It's you isn't it? THE BASTARD OPERATOR FROM HELL!
In the flesh, on the phone and in your account...   - BOFH #3


pgpC7q81hwlu4.pgp
Description: PGP signature


Re: Gmirror question

2006-10-25 Thread Rink Springer
On Wed, Oct 25, 2006 at 12:07:59PM +0200, Guido van Rooij wrote:
 Is it possible to use gmirror to mirror a single BSD partition?
 If not: is it possible with other tools?

I think this is possible, have you tried (inspired by man gmirror)

# gmirror label -v -b split -s 2048 data da0s1a da1s1a da2s1a

It's been a while since I last used this; but I believe it will work.

Regards,

-- 
Rink P.W. Springer- http://rink.nu
Patience is for those who cannot afford
 decent hardware.- Peter Koeleman


pgpIxr0TTi7om.pgp
Description: PGP signature


Re: mountd changed?

2006-10-20 Thread Rink Springer
On Mon, Oct 16, 2006 at 08:33:38AM +0200, Rink Springer wrote:
 I'll get this committed. Thanks for the report and patch!

It has been committed to HEAD; Expect a MFC after a few days.

Thanks!

-- 
Rink P.W. Springer- http://rink.nu
Patience is for those who cannot afford
 decent hardware.- Peter Koeleman


pgpNXlSsY4L1j.pgp
Description: PGP signature


Re: mountd changed?

2006-10-17 Thread Rink Springer
Hi Erik, Lin,

On Mon, Oct 16, 2006 at 12:01:11AM +0200, Erik Trulsson wrote:
 [Second attempt to send this, since my first seems to have been eaten by my
  ISP.  Apologies if it appears twice.]
 
 On Sun, Oct 15, 2006 at 05:40:22PM +0200, Rink Springer wrote:
  Hi,
  
  On Sun, Oct 15, 2006 at 11:30:23PM +0800, Lin Jui-Nan Eric wrote:
   Hi,
   
   If I revert to revision 1.81.2.4, it worked correctly.
   
   On 10/15/06, Rink Springer [EMAIL PROTECTED] wrote:
   Hi,
   
   Hmm, I recently changed something which might trigger this. Could you
   back out revision 1.81.2.5 of src/usr.sbin/mountd/mountd.c and let me
   know whether this fixed the problem?
   
  
  OK, could you try the attached patch (untested) and let me know whether
  it works? (it patches the 1.81.2.5 revision of mountd.c)
 
 I had the same problems, but only when trying to export directories from
 the root filesystem.  Your patch below would not help.
 The following patch (very much inspired by the comment on line 1038 in
 mountd.c) makes things work for me:

I intend to commit the patch at http://rink.nu/tmp/mountd.c.diff,
which is basically a commented version of the patch by Erik.

However, I'm still under mentorship, and Warner (imp) seems to be
unreachable, which actually doesn't really surprise me.

Anyway, if anyone authorized could give me the go-ahead, I'd be happy to
commit this ...

-- 
Rink P.W. Springer- http://rink.nu
Patience is for those who cannot afford
 decent hardware.- Peter Koeleman


pgp60A9HJdoTm.pgp
Description: PGP signature


Re: mountd changed?

2006-10-16 Thread Rink Springer
Hi Erik,

On Mon, Oct 16, 2006 at 12:01:11AM +0200, Erik Trulsson wrote:
 [Second attempt to send this, since my first seems to have been eaten by my
  ISP.  Apologies if it appears twice.]
 
 On Sun, Oct 15, 2006 at 05:40:22PM +0200, Rink Springer wrote:
  Hi,
  
  On Sun, Oct 15, 2006 at 11:30:23PM +0800, Lin Jui-Nan Eric wrote:
   Hi,
   
   If I revert to revision 1.81.2.4, it worked correctly.
   
   On 10/15/06, Rink Springer [EMAIL PROTECTED] wrote:
   Hi,
   
   Hmm, I recently changed something which might trigger this. Could you
   back out revision 1.81.2.5 of src/usr.sbin/mountd/mountd.c and let me
   know whether this fixed the problem?
   
  
  OK, could you try the attached patch (untested) and let me know whether
  it works? (it patches the 1.81.2.5 revision of mountd.c)
 
 I had the same problems, but only when trying to export directories from
 the root filesystem.  Your patch below would not help.
 The following patch (very much inspired by the comment on line 1038 in
 mountd.c) makes things work for me:
 
 Index: mountd.c
 ===
 RCS file: /ncvs/src/usr.sbin/mountd/mountd.c,v
 retrieving revision 1.81.2.5
 diff -u -r1.81.2.5 mountd.c
 --- mountd.c  14 Oct 2006 23:04:07 -  1.81.2.5
 +++ mountd.c  15 Oct 2006 21:09:20 -
 @@ -1911,7 +1911,7 @@
   iov[5].iov_base = fsb-f_mntfromname; /* from */
   iov[5].iov_len = strlen(fsb-f_mntfromname) + 1;
  
 - while (nmount(iov, iovlen, fsb-f_flags)  0) {
 + while (nmount(iov, iovlen, fsb-f_flags  ~MNT_ROOTFS)  0) {
   if (cp)
   *cp-- = savedc;
   else
 
 
 
 
 
 
  --- mountd.c.orgThu Sep 21 10:07:57 2006
  +++ mountd.cThu Sep 21 10:08:42 2006
  @@ -1912,7 +1912,7 @@
  iov[5].iov_base = fsb-f_mntfromname; /* from */
  iov[5].iov_len = strlen(fsb-f_mntfromname) + 1;
   
  -   while (nmount(iov, iovlen, fsb-f_flags)  0) {
  +   while (nmount(iov, iovlen, fsb-f_flags | MNT_UPDATE)  0) {
  if (cp)
  *cp-- = savedc;
  else

Ah, it seems that nmount(2) will deny any mount that has the MNT_ROOTFS
flag set; whereas this flag is returned by getmntinfo().

I'll get this committed. Thanks for the report and patch!

-- 
Rink P.W. Springer- http://rink.nu
Patience is for those who cannot afford
 decent hardware.- Peter Koeleman
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mountd changed?

2006-10-15 Thread Rink Springer
Hi,

On Sun, Oct 15, 2006 at 11:11:44PM +0800, Lin Jui-Nan Eric wrote:
 Hi,
 
 I have a freebsd box (6-stable) which export its root slice to NFS. The
 exports file is:
 
 /   -alldirs -maproot=root -network 10.0.0 -mask 255.255.255.0
 
 After making world  kernel today, the nfs client said that permission
 denied.
 But another freebsd box (making world  kernel today, too) exports its /home
 slice, and the nfs client did complain about it.
 
 Therefore, I try to copy the mountd binary file from another stable (9/30)
 to the broken nfs server, and it works.

Hmm, I recently changed something which might trigger this. Could you
back out revision 1.81.2.5 of src/usr.sbin/mountd/mountd.c and let me
know whether this fixed the problem?

Regards,

-- 
Rink P.W. Springer- http://rink.nu
Patience is for those who cannot afford
 decent hardware.- Peter Koeleman
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mountd changed?

2006-10-15 Thread Rink Springer
On Sun, Oct 15, 2006 at 11:45:23PM +0800, Lin Jui-Nan Eric wrote:
 No, it does not work.

Hmm, I am assuming that the filesystem isn't shown when you do a
'showmount -e' on the server, is this correct? Anything relevant in your
/var/log/messages ?

-- 
Rink P.W. Springer- http://rink.nu
Patience is for those who cannot afford
 decent hardware.- Peter Koeleman
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD/xbox live/installcd's available

2006-08-27 Thread Rink Springer
Hello everyone,

In order to aid people installing FreeBSD on their xbox, I have created
combined install/livecds to aid those willing to give FreeBSD/xbox a
try. The images can be used to boot a full multi-user FreeBSD
environment, but you can also boot directly into sysinstall to
install FreeBSD on your Xbox.

As I've recently merged Xbox support back to -STABLE, an ISO for
6-STABLE is also provided.

The images are hosted by MCGV Stack (http://www.stack.nl), and can be
retrieved from ftp://ftp.stack.nl/pub/freebsd-xbox/. A list of the files
and checksums is:

xbox-6stable-20060821.iso.bz2 - install/livecd for FreeBSD 6-STABLE
MD5= 9afbab92bbb43a797753a941737ef0bb
SHA1   = 26908c6301484c133f23875a8136c2dbeb336e88
SHA256 = d67e51c2a37e14193a5cbfb49903899f60784e39f91888f8e0a48c85ee3eee46

xbox-7current-20060517.iso.bz2 - install/livecd for FreeBSD 7-CURRENT
MD5   = 82108c6112f8b39fb82e71fdc727704a
SHA1   = 83e40e292ac8ace395fcf199f1bb16b0a34531c5
SHA256 = 2176904283707273e7d62e31c516bc81c9a2021556bb84adbe23071ba9b8dd83

Some important points of attention:

(1) The loader used is Cromwell; the Cromwell version on the images has special
patches which do not appear in any official releases build [1]. Therefore,
if you already use Cromwell on your Xbox, please chain-load the Cromwell on
the images beforing attempting to boot FreeBSD.

(2) 'patched' dashboard (the Xbox 'operating system') versions can directly
boot the /DEFAULT.XBE file on the CDROM. The official Dashboard will
fail to boot this, however, as the DEFAULT.XBE file is not signed
with any Microsoft-approved key. Booting this file will directly
start the FreeBSD-enabled Cromwell.

(3) There is no loader support. Any tunables must be set using kernel
options (such as the root device to use)

(4) The xbox is very picky on the media used. If you get random panics
or hangs during installation, try another brand of media.

(5) If you keep experiencing DMA errors or timeouts, please use a 80 pin
UDMA IDE cable. As there is no loader support, there is no way to
force ata(4) to use only UDMA2 modes.

(6) You currently need an USB keyboard; I'm planning to add
dhclient(8) and sshd(8) automatic startup to the liveCD later.

Anyway, feel free to give this a try and report any problems back to me.
I intend to clean up the script used to build the ISO images in a short
while.

[1] Cromwell from xbox-linux.org CVS contains all patches required to be
able to boot the recent FreeBSD kernels. However, it does not
support direct booting from UFS partitions.

Regards,

-- 
Rink P.W. Springer- http://rink.nu
When will the internet move from 64Kb max .com domains to .exe
 domains which can use much more memory? - Edwin Groothuis


pgpI30RVJMrKs.pgp
Description: PGP signature


Support for QLogic QLE2460 ?

2006-06-29 Thread Rink Springer
Hi,

At work, we recently bought a QLogic QLE2460 FC host adapter. However,
FreeBSD doesn't seem to support this card.

pciconf -lv gives:

---
[EMAIL PROTECTED]:0:0:  class=0x0c0400 card=0x01371077 chip=0x24321077 rev=0x02
hdr=0x00
vendor   = 'QLogic Corporation'
class= serial bus
subclass = Fibre Channel
---

man isp(4) does not mention support for this card, either. We tried
adding the PCI ID, assuming the card is supported by the 2423 driver.
However, this fails with:

---
Qlogic ISP Driver, FreeBSD Version 5.9, Core Version 2.10
isp0: Qlogic ISP 2432 PCI Express FC-AL Adapter port 0xec00-0xecff mem
0xfe6fc000-0xfe6f irq 16 at device 0.0 on pci4
isp0: Reserved 0x4000 bytes for rid 0x14 type 3 at 0xfe6fc000
isp0: using Memory space register mapping
ioapic0: routing intpin 16 (PCI IRQ 16) to vector 50
isp0: [GIANT-LOCKED]
isp0: Polled Mailbox Command (0x0) Timeout
device_attach: isp0 attach returned 6
---

Linux seems to have drivers for it, and the same goes for Solaris. 

Has anyone managed to get this card working on a FreeBSD 6 machine? I
can't seem to find any support in it in -CURRENT either.

Thanks,

-- 
Rink P.W. Springer- http://rink.nu
  Richter: Tribute? You steal men's souls, and make them your slaves!
   Dracula: Perhaps the same could be said of all religions.
 - Castlevania: Symphony of the Night


pgpeAuPW8KjZm.pgp
Description: PGP signature


Re: 6.1-R ? 6-Stable ? 5.5-R ?

2006-06-28 Thread Rink Springer
On Wed, Jun 28, 2006 at 04:09:14AM -0400, Francisco Reyes wrote:
 So far 6.X has been for the most part stable as NFS sever for us.. but one 
 of our servers has been hanging crashing and NFSD was showing as status 
 GIANT... and locking.. It had 6.0 stable and upgrading it to 6.1 stable 
 (6-26) has not helped. But other machines are ok.. so may be an application.

You'll want to upgrade to the latest 6-STABLE, where this bug has been fixed.

-- 
Rink P.W. Springer- http://rink.nu
  Richter: Tribute? You steal men's souls, and make them your slaves!
   Dracula: Perhaps the same could be said of all religions.
 - Castlevania: Symphony of the Night


pgpa9nxeDyVMF.pgp
Description: PGP signature


Re: 6.1-R ? 6-Stable ? 5.5-R ?

2006-06-28 Thread Rink Springer
 Was it fixed after Jun 25?

This comment fixed it for me:

---
Date: Tue, 13 Jun 2006 10:50:29 + (UTC)
From: Konstantin Belousov [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED], cvs-all@FreeBSD.org
Subject: cvs commit: src/sys/nfsserver nfs_serv.c nfs_srvsubs.c

kib 2006-06-13 10:50:29 UTC

  FreeBSD src repository

  Modified files:(Branch: RELENG_6)
sys/nfsservernfs_serv.c nfs_srvsubs.c
  Log:
  MFC of the temporary fix for nfsd leaking GIANT.

  src/sys/nfsserver/nfs_serv.c rev. 1.165
  src/sys/nfsserver/nfs_srvsubs.c rev. 1.141

  Approved by:pjd (mentor)

  Revision   ChangesPath
  1.156.2.3  +16 -0 src/sys/nfsserver/nfs_serv.c
  1.136.2.3  +4 -0  src/sys/nfsserver/nfs_srvsubs.c
---

Perhaps you could check your revisions of these files? If this does not
fix it, something more is certainly going on ...

-- 
Rink P.W. Springer- http://rink.nu
  Richter: Tribute? You steal men's souls, and make them your slaves!
   Dracula: Perhaps the same could be said of all religions.
 - Castlevania: Symphony of the Night


pgp0uHgVgNFSB.pgp
Description: PGP signature


Re: long timeout on boot

2006-06-02 Thread Rink Springer
Hi,

 Both on my own machine, and on systems in our test group's lab, we
 notice these long (like 2min maybe?) delays near the end of boot. It
 seems to be ATA/SATA related. It has just announced the one disk
 it discovered, then shows the CPUs launched, and then it just sits
 printing nothing for, like I said, maybe a minute or two. Finally it will
 complete boot and all seems to be fine.
 
 I am guessing its in a detection loop maybe? Any ideas?? Oh,
 this is 6.1 RELEASE on i386, although I'm pretty sure x86_64
 will show the same behavior.

I also have this problem, it only showed up on 6-STABLE and 6.1-RELEASE
(not 6.0-RELEASE AFAICT). Strangely enough, it does not happen on all my
machines, my Dual Opteron has no problems but both my Dual P3 and Dual
Athlon MP suffer from this. Another Dual MP I have access to shows this
long timeout as well.

I have tried to track this down; the problem seems to be that once
initialization is completed, quite a few runs are needed to find the
process to be scheduled; the offending function seems to be scheduler()
in vm/vm_glue.c.

I was unable to determine why this is exactly, but I'd love to help in
tracking this down.

Regards,

-- 
Rink P.W. Springer- http://rink.nu
  Richter: Tribute? You steal men's souls, and make them your slaves!
   Dracula: Perhaps the same could be said of all religions.
 - Castlevania: Symphony of the Night


pgp3F8cZQFAso.pgp
Description: PGP signature


Re: opinion on which software RAID to use

2006-03-02 Thread Rink Springer
Hi Vivek,

 Any opinions on which has both qualities: easy to configure/manage  
 (ie, recover after failure) and performance?  The handbook RAID page  
 doesn't even mention gmirror.  The atacontrol seems very simple to  
 use, at least.

I've had very good results with gmirror. It's very easy to set up,
performance is good (didn't really benchmark it though) and recovering
faulty drives is easy to do. Never had a problem with it ...

-- 
Rink P.W. Springer- http://rink.nu
  Richter: Tribute? You steal men's souls, and make them your slaves!
   Dracula: Perhaps the same could be said of all religions.
 - Castlevania: Symphony of the Night


pgplC57USWdEQ.pgp
Description: PGP signature


Renaming a gmirror?

2005-11-22 Thread Rink Springer
Hi everyone,

On a fileserver, one of the gmirror volumes has recently changed its
mountpoint.  Therefore, I would like to change the name of the gmirror
to reflect this, as the current name is not very informational anymore.

Is there a 'gmirror rename' command I am misssing, or is this simply not
possible yet?

Thanks!

-- 
Rink P.W. Springer- http://rink.nu
God, root, what is difference?  - Pitr, Userfriendly


pgpA1H0eJskDf.pgp
Description: PGP signature


Re: wi0 is always status: no carrier

2005-05-13 Thread Rink Springer
 Is there something else I'm blatantly missing?

If my memory serves me correctly, you need to explicitely force the
interface up, eg:

# ifconfig wi0 up

After setting the SSID. Mine works after doing this, it's an ASUS
WL-100.

-- 
Rink P.W. Springer- http://rink.nu
God, root, what is difference?  - Pitr, Userfriendly


pgpFSK1QXHfpQ.pgp
Description: PGP signature


Re: calling fpa and fea users

2005-05-05 Thread Rink Springer
Hi Brooks,

  - Using these drivers to connect to a real, production FDDI network
  - Are running FreeBSD 5.3+ or will be in the near future

Well, I use fpa(4) as a crosslink between my two boxes. Not really
production-wise, but I do enjoy the fact that they can be dual-attached.
Which is why I would't enjoy them being removed.

 Every time I look at these drivers, their massive collection of
 portability ifdefs makes it quite difficult to decipher the code.
 Virtually all changes to these drivers in the last eight years have
 been mechanical API updates.  During this time, FDDI has become totally
 obsolete.  Unless someone is running these drivers for real on a modern
 version of FreeBSD I would like to remove them from 6.0 and stop wasting
 my time on them.

If you could tell me where to begin, I'd like to try to make them more
readible / maintainable. I've done some poking around (fpa(4) doesn't always
attach correctly for me, due to some DMA issues) but without the proper data
sheets, I guess it'll be hard to figure out where the problem lies.

If anyone has data sheets for these cards, I'd be willing to bring them
to a more maintainable level. I agree the code is a bit hard to decipher
due to all the #ifdef's, I could work on getting rid of these
alltogether.

However, in order to fix the attachment problem (fpa0: Initialization
failure, which I always get on some machines) I figure I'd need more
detailed information. Perhaps someone can help me out on that?

-- 
Rink P.W. Springer- http://rink.nu
God, root, what is difference?  - Pitr, Userfriendly


pgpsyxER9lICa.pgp
Description: PGP signature


Re: nss_ldap / top startup

2005-04-26 Thread Rink Springer
Hi,

 Any ideas, why this is happening? Will I need 10 seconds, when there are 
 6 accounts in LDAP? :-)

Have you set your indexes correctly? This may result in a huge speedup.
I use (this is only for about 180 accounts, but NSS works instantly):

# Indices to maintain
index   objectClass eq
index   cn sub,pres,eq
index   uid,uidNumber,gidNumber,homeDirectory pres,eq

Also, have you tried truss(1) or ktrace(1) on the process? It might help
you try to see if the LDAP server is just being slow, or the LDAP client is.

-- 
Rink P.W. Springer- http://rink.nu
God, root, what is difference?  - Pitr, Userfriendly


pgpILhXpgyjhU.pgp
Description: PGP signature


Re: AP #1 (PHY#1) failed! Panic (y/n)?

2005-02-23 Thread Rink Springer
 I've seen this randomly on a dual-Xeon Dell 450 for 1 year (i.e. lots 
 of different os versions).  I believe it's a race/bug in the BSP startup 

My Dual Xeon does this was well. A simple reboot always fixes it.

-- 
Rink P.W. Springer- http://rink.nu
God, root, what is difference?  - Pitr, Userfriendly


pgp8kI8CiPQZS.pgp
Description: PGP signature


Re: Problems installing ruby18-1.8.2_2

2005-02-22 Thread Rink Springer
Hello,

 The process sits at this point, taking up all CPU.

I've just experienced the same problem on sparc64, cvsup from an hour
ago.

-- 
Rink P.W. Springer- http://rink.nu
God, root, what is difference?  - Pitr, Userfriendly


pgpK5UfIAzpmx.pgp
Description: PGP signature