iSCSI Target and raw devices

2007-09-25 Thread Mark Saad
Hello Hackers I was looking into setting up the Intel / NetBSD iSCSI Target port on FreeBSD 6-STABLE . The first question I have is related to the use of the iscsi target port on FreeBSD. In the original docs, bundled with the Intel source, Intel had an example of setting up the target to ha

Re: fsck of large volume with small memory

2007-09-25 Thread Don Lewis
On 25 Sep, sam wrote: > sam wrote: >> Don Lewis wrote: >>> On 24 Sep, sam wrote: >>> Expect major file system lossage ... >>> I think this patch could be better, but this should get you going ... >>> >>> >> >> >> UNEXPECTED SOFT UPDATE INCONSISTENCY >> LOST 74 DIRECTORIES >> >> UNEXPECTED SOFT UP

Re: fsck of large volume with small memory

2007-09-25 Thread Don Lewis
On 25 Sep, sam wrote: > Don Lewis wrote: >> On 24 Sep, sam wrote: >> >> >>> any solutions ? >>> >> >> The patch below should allow a manual fsck to run to completion. I'd >> recommend running "fsck -N" and capturing its output. Then use the clri >> > # fsck -N > fsck: illegal option --

Re: Kernel panic on PowerEdge 1950 under certain stress load

2007-09-25 Thread Ivan Voras
On 25/09/2007, Kris Kennaway <[EMAIL PROTECTED]> wrote: > Not in the sense of transmuting a sleep mutex into a spin mutex, no. > sleep mutexes will spin when the lock holder is currently running, but > this happens within the context of the mtx_lock_sleep function itself. Ok, thanks, this clears

Re: Kernel panic on PowerEdge 1950 under certain stress load

2007-09-25 Thread Kris Kennaway
Ivan Voras wrote: Kris Kennaway wrote: Does it really? i.e. did you compare the function names in detail and find that they match precisely, or do you just mean "they are both panics of some description and I dunno what it all means"? :) I ask because the linked trace does not involve a spin

Re: Kernel panic on PowerEdge 1950 under certain stress load

2007-09-25 Thread Kris Kennaway
Benjie Chen wrote: You are right, they may not be the same. From first look it seems like they are similar based on the description of the problems -- system stable, then under load related to network, get panic after different time intervals. I just assumed that kernel is typically stable enou

Re: Own Install CD with custom kernel

2007-09-25 Thread Ulrich Spoerlein
On 9/25/07, Matthias Fechner <[EMAIL PROTECTED]> wrote: > thx a lot for your really great answer, but I have some more short > questions. :) > Do you copy the release target to the Makefile in > /usr/src/release/Makefile or do you execute from another place? Since we need to be able to reproduce o

Re: Kernel panic on PowerEdge 1950 under certain stress load

2007-09-25 Thread Ivan Voras
Kris Kennaway wrote: Does it really? i.e. did you compare the function names in detail and find that they match precisely, or do you just mean "they are both panics of some description and I dunno what it all means"? :) I ask because the linked trace does not involve a spinlock, which means i

Re: Kernel panic on PowerEdge 1950 under certain stress load

2007-09-25 Thread Kris Kennaway
Benjie Chen wrote: Ivan and Kris, I will try to get a kernel trace -- it may not happen for awhile since I am not in the office and working remotely for awhile so it may not be easy to get a trace... but I will check. It looks like the problem reported by that link, and some of the links from t

Re: fsck of large volume with small memory

2007-09-25 Thread sam
sam wrote: Don Lewis wrote: On 24 Sep, sam wrote: Expect major file system lossage ... I think this patch could be better, but this should get you going ... UNEXPECTED SOFT UPDATE INCONSISTENCY LOST 74 DIRECTORIES UNEXPECTED SOFT UPDATE INCONSISTENCY fsck: /dev/aacd0s1f: Segmentation fau

Re: Kernel panic on PowerEdge 1950 under certain stress load

2007-09-25 Thread Benjie Chen
Ivan and Kris, I will try to get a kernel trace -- it may not happen for awhile since I am not in the office and working remotely for awhile so it may not be easy to get a trace... but I will check. It looks like the problem reported by that link, and some of the links from there though... Benji

Re: fsck of large volume with small memory

2007-09-25 Thread sam
Don Lewis wrote: On 24 Sep, sam wrote: Expect major file system lossage ... I think this patch could be better, but this should get you going ... Index: sbin/fsck_ffs/pass1.c === RCS file: /home/ncvs/src/sbin/fsck_ffs/pass1.c,v

Re: fsck of large volume with small memory

2007-09-25 Thread Trond Endrestøl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 25 Sep 2007 11:17+0400, sam wrote: > fsck: illegal option -- N Try: fsck -n man fsck should give you some hints on what Don was talking about. I.e.: -n Causes fsck to assume no as the answer to all operator questions,

Re: fsck of large volume with small memory

2007-09-25 Thread sam
Don Lewis wrote: On 24 Sep, sam wrote: any solutions ? The patch below should allow a manual fsck to run to completion. I'd recommend running "fsck -N" and capturing its output. Then use the clri # fsck -N fsck: illegal option -- N usage: fsck [-dfnpvy] [-B | -F] [-T fstype:fsopt