Write-protected floppy crash

2000-06-06 Thread Oleg Derevenetz
When write-protected floppy mounted in R/W mode, write attempt to this floppy follows kernel panic (dirty buffers) and reboot. Is this correct ? The best way IMO is to always mount write-protected floppies in R/O mode. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-ha

Re: DoS

2000-06-03 Thread Oleg Derevenetz
On Sat, 3 Jun 2000, Alfred Perlstein wrote: > > Denial of Service and kernel panic (out of mbuf) appears when following > > program executes (originally reported by Sven Berkenvs > > ([EMAIL PROTECTED])). Affects FreeBSD 3.x & 4.0, OpenBSD 2.5, OpenBSD 2.6, > > NetBSD 1.4.1. > > FreeBSD 4 and

DoS

2000-06-03 Thread Oleg Derevenetz
Denial of Service and kernel panic (out of mbuf) appears when following program executes (originally reported by Sven Berkenvs ([EMAIL PROTECTED])). Affects FreeBSD 3.x & 4.0, OpenBSD 2.5, OpenBSD 2.6, NetBSD 1.4.1. #include #include #include #define BUFFERSIZE 204800 int main () {

vm_fault() problem

2000-06-01 Thread Oleg Derevenetz
It seems to be a problem in vm/vm_fault() and vnode_pager_generic_putpages() in FreeBSD 3.x & 4.0. The following code illustrates the problem: #include #include #include #include #include #define COUNT 1024 #define SIZE10*1024*1024 int main () { int i,j,fd; char *fptr, fnam

Re: Probably bug with allocation memory in FreeBSD-3.2-RELEASE

1999-08-17 Thread Oleg Derevenetz
On Wed, 18 Aug 1999, Ilia Chipitsine wrote: > > > > Why i think this is bug? Because any user can hung FreeBSD, settings in > > > > /etc/login.conf can't help. > > > > >Are you sure about that? Setting datasize limits will prevent > > >malloc() from doing what you're trying to make it do. Are

Re: Probably bug with allocation memory in FreeBSD-3.2-RELEASE

1999-08-17 Thread Oleg Derevenetz
On Wed, 18 Aug 1999, Ilia Chipitsine wrote: > > > > Why i think this is bug? Because any user can hung FreeBSD, settings in > > > > /etc/login.conf can't help. > > > > >Are you sure about that? Setting datasize limits will prevent > > >malloc() from doing what you're trying to make it do. Ar

mmap bug

1999-08-12 Thread Oleg Derevenetz
Oh, I'm sorry, I made a mistake when posting code. I posted incorrectly patched version... This version correct : #include #include #include #include #include #include #include main(int argc, char *argv[]) { int fd; int i; int len=1024*1024*10; /*ie 10Mbytes*/ caddr_t add

mmap bug

1999-08-11 Thread Oleg Derevenetz
Oh, I'm sorry, I made a mistake when posting code. I posted incorrectly patched version... This version correct : #include #include #include #include #include #include #include main(int argc, char *argv[]) { int fd; int i; int len=1024*1024*10; /*ie 10Mbytes*/ caddr_t ad

mmap bug

1999-08-11 Thread Oleg Derevenetz
This small program, running as 'mmap', not 'mmap -u', can hang my machine. Is this a known bug in FreeBSD's kernel, or it is my fantasy ? Thank you for answer. #include #include #include #include #include #include #include main(int argc, char *argv[]) { int fd; int i; i

mmap bug

1999-08-11 Thread Oleg Derevenetz
This small program, running as 'mmap', not 'mmap -u', can hang my machine. Is this a known bug in FreeBSD's kernel, or it is my fantasy ? Thank you for answer. #include #include #include #include #include #include #include main(int argc, char *argv[]) { int fd; int i;