abs | 7 Oct 2003 12:05
Picon

Changing sizes and ngen in newsyslog.conf

	Currently newsyslog.conf is:

# logfilename           [owner:group]   mode ngen size when flags
#
/var/log/aculog         uucp:dialer     640  7    *    24   Z
/var/log/authlog                        600  5    30   *    Z
/var/log/cron           root:wheel      600  3    10   *    Z
/var/log/kerberos.log                   640  7    *    24   ZN
/var/log/lpd-errs                       640  7    10   *    Z
/var/log/maillog                        600  7    *    24   Z
/var/log/messages                       644  5    30   *    Z
/var/log/wtmp                           644  7    *    168  ZBN
/var/log/wtmpx                          644  7    *    168  ZBN
/var/log/xferlog                        640  7    250  *    Z

	Five previous versions of /var/log/messages at 30K (before
	compression) do not run back very far on some machines.
	Would anyone have any objections if I changed the default to
	7 & 250K (as used by xferlog).

	I'd also like to increase authlog, cron and lpd-errs to 100K
	(Which matched FreeBSD).

	Any comments/thoughts/screams?

--

-- 
			   David Brownlee -- abs <at> mono.org

David Laight | 7 Oct 2003 12:54
Picon

Re: Changing sizes and ngen in newsyslog.conf

> 	Five previous versions of /var/log/messages at 30K (before
> 	compression) do not run back very far on some machines.

Too true - especially if ipf is logging all the packets it drops.
The files also seem to compress quite well (about 35k in my case).
I seem to be using values much nearer the proposed ones.

	David

--

-- 
David Laight: david <at> l8s.co.uk

Rishabh Kumar Goel | 15 Oct 2003 13:49

Does SBP2 driver work on NetBSD1.6.1

Hi,

I have been trying to make the sbp2 driver work on NetBSD1.6.1. After a lot of 
trying, can anybody tell me whether this driver will work on NetBSD 1.6.1
--

-- 
Regards,
Rishabh Kumar Goel
Software Engineer
SoCrates Software India Pvt. Ltd.
Bangalore

Scanned by SecureSynergy VirusScreen Service. 
For more information log on to : http://www.securesynergyonline.com or http://www.securesynergy.com

James Chacon | 15 Oct 2003 16:50
Picon

Re: Does SBP2 driver work on NetBSD1.6.1

Doubtful. I beleive it went into the tree post 1.6 so while it's possible
I know I never tested that (that I recall).

James

>
>Hi,
>
>I have been trying to make the sbp2 driver work on NetBSD1.6.1. After a lot of 
>trying, can anybody tell me whether this driver will work on NetBSD 1.6.1
>-- 
>Regards,
>Rishabh Kumar Goel
>Software Engineer
>SoCrates Software India Pvt. Ltd.
>Bangalore
>
>Scanned by SecureSynergy VirusScreen Service. 
>For more information log on to : http://www.securesynergyonline.com or http://www.securesynergy.com
>
>
>

Luke Mewburn | 18 Oct 2003 03:53
Picon

Embedding licensing requirements into binary objects

It would be extremely useful to encode a file's binary license
requirements in the generated binary object.  Among other things,
it makes it easy to gather license compliance text for a given
group of binary objects using a tool.

I propose some new macros:

  __LICENSE(type,description)

	Generates an ELF "linkonce" section header, so that
	there's only one copy of each license type in the
	generated binary.

	The generated section header name would be
		".gnu.linkonce.netbsd.license." + #type

	type		Type of license as a string.
			Used as part of the section header name.
			Suggested types:
			GPL	GNU Public License, v2 or greater
			UCB3	UCB 3 clause
			TNF4	TNF 4 clause

	description	Text string describing license.
			Suggest a URL to www.NetBSD.org for the license.
			This could also contain the advertising text
			for licenses that require that, especially
			for "non standard" texts.

  __LICENSE_GPL   __LICENSE(GPL,  "http://www.NetBSD.org/license/GPL.html")
(Continue reading)

Rishabh Kumar Goel | 15 Oct 2003 13:38

SBP2 login process

hi,

I m trying to fix the sbp2 driver in NetBsd-1.6.1 on one of the mips port. I 
get stuck at LOGIN procedure of Firewire HDD. I m not receiving any interrupt 
from the drive for writing the LOGIN RESP.

Below i m attaching the Dmesg output
___________________________________________________________________________________________
---------------------------------------------------------------------------------------------------------------------------------------------------------------
pci0 at txbus0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ppb0 at pci0 dev 17 function 0: Intel product 0xb152 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
fwohci0 at pci1 dev 4 function 0: Texas Instruments TSB43AA22/A OHCI IEEE 1394 
H
ost Controller (rev. 0x00)
Address: 8008000
fwohci0: interrupting at PCI-A
fwohci0: OHCI 1.1, 00:02:7a:06:00:00:04:8b, 400Mb/s, 2048 max_rec, 4 ir_ctx, 8 
i
t_ctx
fwohci1 at pci1 dev 8 function 0: Texas Instruments TSB43AA22/A OHCI IEEE 1394 
H
ost Controller (rev. 0x00)
Address: 8008800
fwohci1: interrupting at PCI-A
fwohci1: OHCI 1.1, 00:02:7a:06:00:00:04:8c, 400Mb/s, 2048 max_rec, 4 ir_ctx, 8 
i
t_ctx
(Continue reading)

Rishabh Kumar Goel | 21 Oct 2003 15:50

Re: SBP2 cant login into device

hi,
has anyone tested fwohci driver for a pci card with ohci controller.

On Tuesday 21 Oct 2003 7:30 am, you wrote:
> On Tue, Oct 21, 2003 at 12:47:38PM +0000, Rishabh Kumar Goel wrote:
> > hi,
> > thanx i guess now that i have started to get a hang of the code.
> > have u checked out regarding the power state that i mentioned in my
> > previous mails. I checked the STATE CLEAR register is it reads 0x0, which
> > according to me is fine and suggests that the deivce is at initalized and
> > running.
>
> I doubt that the power state is relevant to disk devices, it is meant
> for low-power devices running off a battery, like camcorders.
>
> Of course, for correctness, you have to consider it :)
>
> > So what
> > are we missing over here, any idea? Is there some probelem wrto delay as
> > far as TSB43ab22 is concerned, may be not ready to receive request before
> > a time lag or something similar?
>
> I have seen that comment in the Linux driver but I don't have a TSB43AB22.
>
> The Dell laptop I use has the OHCI integrated into a PCI-CardBus Bridge
> (a TI PCI4451 chip). The other machine uses a chip from NEC.
>
> Greetings,

--

-- 
(Continue reading)

Jason Thorpe | 21 Oct 2003 17:03

Re: Embedding licensing requirements into binary objects


On Friday, October 17, 2003, at 06:53  PM, Luke Mewburn wrote:

> I propose some new macros:

...

>   __LICENSE_GPL   __LICENSE(GPL,  
> "http://www.NetBSD.org/license/GPL.html")
>   __LICENSE_TNF4  __LICENSE(TNF4, 
> "http://www.NetBSD.org/license/TNF4.html")
>   __LICENSE_UCB3  __LICENSE(UCB3, 
> "http://www.NetBSD.org/license/UCB3.html")

...

> Thoughts?

Being the person who suggested the URL content for the sections, I 
think it's a great idea :-)

         -- Jason R. Thorpe <thorpej <at> wasabisystems.com>

Rishabh Kumar Goel | 27 Oct 2003 19:55

Anybody used TSB43AB22 on NetBSD

hi,

I have a TI's TSB43AB22 Fireiwre OHCI chip. Well firewire driver is working 
fine for NEC 72873 chip but it stucks when it comes to TSB43AB22. 

It stucks while sending login orb to the Firewire HDD. It does not get the 
interrupt for receiving the LOGIN RESP from the device. 

How to check whether the LOGIN ORB is actually sent through dma? I have 
received the RESPTXCOMPLETE for the login orb descriptor. (Not Sure: In my 
opinion this can be the predictive interrupt that is generated in TI chips 
for improving the efficiency)

--

-- 
Regards,
Rishabh Kumar Goel
Software Engineer
SoCrates Software India Pvt. Ltd.
Bangalore

Scanned by SecureSynergy VirusScreen Service. 
For more information log on to : http://www.securesynergyonline.com or http://www.securesynergy.com

Rishabh Kumar Goel | 30 Oct 2003 21:31

Re: config ROM

i guess i did not explain my problem properly to u. I m getting Too many RQpkt 
for the same TLABEL. and i want to know how can this happen? This will also 
be able to figure out why we get infinite BUSREST and SELFIDCOMPLETE 
interrupts.  According to me we should get only one RQpkt? For the same code 
this is happening only on my new disk the other disk is woking smoothly with 
this patch.

Also the Request tx complete (fwohci_at_done) should be called more frquently 
as the control comes to this function only after the config read is complete, 
which leads to utilization of too many descriptors. 

I believe this problem can be taken care if we have only one isr that does the 
job of fwohci_event_thread and the function to be called are called as tasks, 
the way u implemented with fwnode.

In case of my new HDD, i fall short of the descriptors, and hence i have to 
increase the value of

fwohcivar.h
#define	OHCI_BUF_ATRQ_CNT	(8*8*8) from 8*8.
The way isr is written i believe this is what is thought of but its not 
happening. I believe that is the idea behind in completing ReqTxComplete and 
RespTxComplete functions before RQpkt and RSpkt.

On Thursday 30 Oct 2003 2:20 pm, you wrote:
> On Thu, Oct 30, 2003 at 07:20:13PM +0000, Rishabh Kumar Goel wrote:
> > hey can u tell me what is the condition in which i can get the ISR to be
> > executed number of times. Well i patched the code a its working fine with
> > the other drive but with the new drive i just get too many RQpkt.
>
(Continue reading)


Gmane