compiler errors (fwd)

2000-01-26 Thread f.johan.beisser
i just got this from a friend of mine.. can anyone help him? -- jan +-// f. johan beisser //--+ email: jan[at]caustic.org web: http://www.caustic.org/~jan "knowledge is power. power corrupts. study hard, be evil." -- Forwarded message

Re: compiler errors (fwd)

2000-01-26 Thread Soren Schmidt
It seems f.johan.beisser wrote: > > i just got this from a friend of mine.. can anyone help him? It looks like HW problems to me, is that K6-2 overclocked ?? Is the memory good enough for the task ?? > plus-dem.c -o cplus-dem.o > cc: Internal compiler error: program cc1 got fatal signal 11 -S

Re: drivers

2000-01-26 Thread Mike Smith
> Hello. > > If we have a character device driver with and more than one > open handles for it, can read() and ioctl() choose which one > is used? No. This is not how the BSD driver model works; you should create multiple instances of the driver if you need multiple discrete opens. -- \\ Giv

RE: perfmon

2000-01-26 Thread Koster, K.J.
> > > In the last episode (Jan 24), Gustavo Rios said: > > I have enabled perfmon options in my kernel config file, to be able > > to monitor my system performance. > > The perfmon kernel option lets you read the Pentium/P6 > hardware > counters. It has nothing to do with Solaris's perfmeter,

pci_map_mem return 0

2000-01-26 Thread dmitry
hi all there! i am working on a specific dev driver for pci genlock based on Cirrus Logic GD5446 chip. when i try to map the cards memory, pci_map_mem return 0 my verbose boot message is: found-> vendor=0x1013, dev=0x00b8, revid=0x45 class=03-00-00, hdrtype=0x00, mfdev=0 subordi

Acceptable MBUF levels?

2000-01-26 Thread Kris Kirby
I was just pondering recently as to what the acceptable levels of size and amount of mbufs in use are. I vaguely seem to recall that if you run out of mbufs, the machine will either panic or reboot. My reason for asking is simple: root:ninbox: {13} netstat -m 767/1152 mbufs in use: 509

Chosing a value for VT_XXXX (enum vtagtype)

2000-01-26 Thread Brian Beattie
I'm playing around with writing a filesystem module and am trying to figure out what value to use for the vtagtype. Do I ask to have one assigned, should I use an existing one, should I make up a new one? Brian Beattie| The only problem with [EMAIL PROTECTED] | winning the rat r

Re: compiler errors (fwd)

2000-01-26 Thread Wes Peters
Soren Schmidt wrote: > > It seems f.johan.beisser wrote: > > > > i just got this from a friend of mine.. can anyone help him? > > It looks like HW problems to me, is that K6-2 overclocked ?? > Is the memory good enough for the task ?? The K6-2 and K6-3 are notoriously hard on bad memory, and on

Re: drivers

2000-01-26 Thread Wes Peters
Mike Smith wrote: > > > Hello. > > > > If we have a character device driver with and more than one > > open handles for it, can read() and ioctl() choose which one > > is used? > > No. This is not how the BSD driver model works; you should create > multiple instances of the driver if you need m

aio_read crashing certain kernels.

2000-01-26 Thread Scott Hess
Since nobody here seems to be able to figure it out... I wrote a program to play around with aio_read(), and it ran stellarly well on my FreeBSD3.4-release system using EIDE hard drives. But, when I tried to run it on a system using our production kernel with Adaptec SCSI controllers, it locked t

Re: compiler errors (fwd)

2000-01-26 Thread Chuck Robey
On Wed, 26 Jan 2000, f.johan.beisser wrote: > ok, here's the scenario. I didn't install any ports until I went to do the > `make buildworld`, when I installed cvsup to get the source updates. > > full binary+sources install from the 14 Jan 2000 snapshot > AMD K6-2 450MHz (corroborated by dmesg o

Re: aio_read crashing certain kernels.

2000-01-26 Thread Alfred Perlstein
* Scott Hess <[EMAIL PROTECTED]> [000126 10:08] wrote: > Since nobody here seems to be able to figure it out... I wrote a program to > play around with aio_read(), and it ran stellarly well on my > FreeBSD3.4-release system using EIDE hard drives. But, when I tried to run > it on a system using o

Re: compiler errors (fwd)

2000-01-26 Thread f.johan.beisser
oddly enough, i told him this a few days ago, but he insisted that his hardware was fine.. anyhow, thanks for the help you all have given me. -- jan On Wed, 26 Jan 2000, Chuck Robey wrote: > On Wed, 26 Jan 2000, f.johan.beisser wrote: > > > ok, here's the scenario. I didn't install any port

Re: Acceptable MBUF levels?

2000-01-26 Thread Doug White
On Wed, 26 Jan 2000, Kris Kirby wrote: > > I was just pondering recently as to what the acceptable levels of size and > amount of mbufs in use are. I vaguely seem to recall that if you run out > of mbufs, the machine will either panic or reboot. My reason for asking is > simple: > > root:ninbo

RE: perfmon

2000-01-26 Thread Ronald G. Minnich
You also might want to check out SGI's PCP tools. I know, they're only out for linux just now, but they are nice and could be ported. ron To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: aio_read crashing certain kernels.

2000-01-26 Thread Matthew Dillon
:Since nobody here seems to be able to figure it out... I wrote a program to :play around with aio_read(), and it ran stellarly well on my :FreeBSD3.4-release system using EIDE hard drives. But, when I tried to run :it on a system using our production kernel with Adaptec SCSI controllers, :it loc

Re: kern/13644

2000-01-26 Thread Warner Losh
In message <[EMAIL PROTECTED]> "Jonathan M. Bresler" writes: : The terminology is very simple. Anyone that can cope with : either vi or emacs can learn: : : NUL: an ascii character (0x00) : NIL: a pointer at the end of the line : NULL pointer: used in C to refer to NIL. :

Re: Acceptable MBUF levels?

2000-01-26 Thread Bosko Milekic
On Wed, 26 Jan 2000, Doug White wrote: >When people refer to mbufs, they refer to mbuf clusters, of which there's >a fixed number. The kernel will allocate more mbufs as necessary. Uhm, actually, mbufs are also allocated from mb_map. Thus, they are also capped. (Unless I'm missing so

Y2K: groff in the tree out of date

2000-01-26 Thread Ted Faber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-Type: text/plain; charset=us-ascii The groff in 3.4-stable is out of date. Specifically, it's version 1.11, while 1.12 has the Y2K bugs allegedly fixed. Current documents using ms and the \*(DY string (current date) do some time travel. Y

Re: kern/13644

2000-01-26 Thread Oliver Fromme
Warner Losh <[EMAIL PROTECTED]> wrote in list.freebsd-hackers: > In message <[EMAIL PROTECTED]> "Jonathan M. Bresler" writes: > :The terminology is very simple. Anyone that can cope with > : either vi or emacs can learn: > : > :NUL: an ascii character (0x00) > :NIL: a pointer a

Re: kern/13644

2000-01-26 Thread Chuck Robey
On Thu, 27 Jan 2000, Oliver Fromme wrote: > Warner Losh <[EMAIL PROTECTED]> wrote in list.freebsd-hackers: > > In message <[EMAIL PROTECTED]> "Jonathan M. Bresler" >writes: > > : The terminology is very simple. Anyone that can cope with > > : either vi or emacs can learn: > > : > > : NU

Re: Chosing a value for VT_XXXX (enum vtagtype)

2000-01-26 Thread Boris Popov
On Wed, 26 Jan 2000, Brian Beattie wrote: > I'm playing around with writing a filesystem module and am trying to > figure out what value to use for the vtagtype. Do I ask to have one > assigned, should I use an existing one, should I make up a new one? Well, while debugging new fs you c

Re: aio_read crashing certain kernels.

2000-01-26 Thread Scott Hess
"Matthew Dillon" <[EMAIL PROTECTED]> wrote: > :Since nobody here seems to be able to figure it out... I wrote a program to > :play around with aio_read(), and it ran stellarly well on my > :FreeBSD3.4-release system using EIDE hard drives. But, when I tried to run > :it on a system using our prod

Re: aio_read crashing certain kernels.

2000-01-26 Thread Matthew Dillon
:The simplest program imaginable causes the problem (see included file for :an example). Another item came to mind - SMP. The boxes with the crashes :are SMP, the box without the crashes is not. Since rfork(RFMEM) doesn't :work with SMP, and aio_read seems to be implemented by sharing memory w

RE: BPF bug or not?

2000-01-26 Thread Bruce Evans
On Wed, 26 Jan 2000, Yevmenkin, Maksim N, CSCIO wrote: > > > I've just found that read from /dev/bpfX never return > > EAGAIN/EWOULDBLOCK. > > > It means that when you do a non blocking read and there is > > no data you will > > > always get 0. > [ untested fix removed :) ] > > Yes, it works.