🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Jim Uhlman Wed, 09 Dec 1998 00:00
Problem adding new cycbuff in INN 2.1
#33655
Author: Jim Uhlman
Date: Wed, 09 Dec 1998 00:00
25 lines
1338 bytes
I have an existing cnfs configuration that is working just fine. I went to
add a new cycbuff to handle the addition of the alt.* groups and get
the following error message when reloading innd.

Dec  9 12:23:50 rockyflats innfeed[25767]: CNFS-sm: Mismatch: read
0xa4cb8000 length for cycbuff /dev/md/dsk/d4
Dec  9 12:23:50 rockyflats innfeed[25767]: SM storage method 'cnfs' failed
initialization
Dec  9 12:23:50 rockyflats innfeed[25767]: SM one or more storage methods
failed initialization
Dec  9 12:23:50 rockyflats innfeed[25767]: Storage manager initialization
failed

No matter what size I set in cycbuff.conf for this new buffer I get the same
error.

The other area is working just fine.

Any help would be greatly appreciated.

Jim Uhlman



Re: Problem adding new cycbuff in INN 2.1
#33893
Author: Jim Uhlman
Date: Thu, 17 Dec 1998 00:00
37 lines
2061 bytes
It is an empty block device. If you mean did I newfs it, yes I did. All the
documentation that I could find states that the buffer is initialized
automatically when innd is started. I could find no documentation on
manually initializing the buffer. Somewhere, somehow once a buffer is added,
either successfully or not, some details about it are remembered. This is a
mystery to me.

If you know of any good documentation, other than the man pages on inn 2.1,
please let me know. All the documentation I have found deals with the 1.7
version.


-
----Jim Uhlman
----Ardent Software, Inc.
----jim.uhlman@ardentsoftware.com
-

Hans Lambermont wrote in message
<913900219.826329@dibbs1.mpn.cp.philips.com>...
>[Posted and mailed]
>
>In article <74mcq5$a4t$1@proxy.vmark.com>, "Jim Uhlman"
<jim.uhlman@ardentsoftware.com> writes:
>> I have an existing cnfs configuration that is working just fine. I went
to
>> add a new cycbuff to handle the addition of the alt.* groups and get
>> Dec  9 12:23:50 rockyflats innfeed[25767]: CNFS-sm: Mismatch: read
>> 0xa4cb8000 length for cycbuff /dev/md/dsk/d4
>
>Did you initialize the new cycbuff?
>
>Hans Lambermont



Re: Problem adding new cycbuff in INN 2.1
#33895
Author: Hans Lambermont
Date: Thu, 17 Dec 1998 00:00
13 lines
1459 bytes
[Posted and mailed]

In article <74mcq5$a4t$1@proxy.vmark.com>, "Jim Uhlman" <jim.uhlman@ardentsoftware.com> writes:
> I have an existing cnfs configuration that is working just fine. I went to
> add a new cycbuff to handle the addition of the alt.* groups and get
> Dec  9 12:23:50 rockyflats innfeed[25767]: CNFS-sm: Mismatch: read
> 0xa4cb8000 length for cycbuff /dev/md/dsk/d4

Did you initialize the new cycbuff?

Hans Lambermont

Re: Problem adding new cycbuff in INN 2.1
#33928
Author: Hans Lambermont
Date: Fri, 18 Dec 1998 00:00
40 lines
2509 bytes
Jim Uhlman wrote:
> It is an empty block device. If you mean did I newfs it, yes I did.

Ehh, is /dev/md/dsk/d4 a raw device ? (doesn't look like it, but
you never know. I only use metadevices on sunos4.4) If it is you
shouldn't newfs it for use as a cycbuff.  (no experience with raw
device cycbuffs, but this is what i remember about them) But you
probably already know all this.

> All
> the documentation that I could find states that the buffer is
> initialized automatically when innd is started.

Ah, indeed, this is what i was about to ask: did you see any 
No magic cookie found for cycbuff %s, initializing
lines in your logging for %s the new cycbuff?

> I could find no
> documentation on manually initializing the buffer. Somewhere, somehow
> once a buffer is added, either successfully or not, some details about
> it are remembered. This is a mystery to me.

Must be in the magic cookie in the other cycbuffs as well i guess. See
CNFSinit_disks in cnfs.c

> If you know of any good documentation, other than the man pages on inn
> 2.1, please let me know. All the documentation I have found deals with
> the 1.7 version.

This is a problem indeed. Elena Samsonova started an inn2.x faq,
but it lacks all storage-api stuff for the moment. You can find it at
http://web.inter.NL.net/users/Elena.Samsonova/unix/general/INN/inn-open-source.html
hopefully it is updated soon.

regards,

   Hans Lambermont

Re: Problem adding new cycbuff in INN 2.1
#33936
Author: bill davidsen
Date: Fri, 18 Dec 1998 00:00
34 lines
2236 bytes
In article <75b7a4$lhq$1@rockyflats.ardentsoftware.com>,
Jim Uhlman <jim.uhlman@ardentsoftware.com> wrote:
| It is an empty block device. If you mean did I newfs it, yes I did. All the
| documentation that I could find states that the buffer is initialized
| automatically when innd is started. I could find no documentation on
| manually initializing the buffer. Somewhere, somehow once a buffer is added,
| either successfully or not, some details about it are remembered. This is a
| mystery to me.

You can do this any of three ways (none of which matches what you did).
You can do this with a file or a partition, but in any case you should
zero the first bit of it. I think the magic is 3800 bytes, but since I
precreate my files with /dev/zero and dd to get them contiguous I
haven't used it in a bit.

Try this:
  dd if=/dev/zero bs=100k count=1 of=/Your/File/or/Partition

and researt news. That should work.

| If you know of any good documentation, other than the man pages on inn 2.1,
| please let me know. All the documentation I have found deals with the 1.7
| version.

You have man pages and source, what more do you want ;-) Seriously, I
don't have anything else, but I rarely use the source, the man pages are
better than they were.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"Too soon we grow old, and too late we grow smart" -Arthur Godfrey


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads