System freeze when useing bfe (Broadcom BCM440x) driver

2004-08-27 Thread Genius Freak
I just installed 5.2.1 RELEASE from CD on my dell inspiron 1100 I found some guides online and used them to create a custom kernel for the laptop, it compiled and booted fine however it freezes whenever I use the network card. (example: running pkg_add -r cvsup causes it to freeze ) I have

Re: syscalls implementation

2004-08-27 Thread Terry Lambert
Mmaist wrote: Hi! I was wondering were syscalls implementation is in the FreeBSD source tree. I would like to know, especially, where int kldload(const char*); is located. sys/kern/kern_linker.c contains int kldload(struct thread *, struct kldload_args *) and I need to watch at

Re: syscalls implementation

2004-08-27 Thread Mmaist
You could overwrite sysent[SYS_kldload] to point to your own kldload function. After you do what you want to, you return what the original kldload returns. Meaning, call the original kldload and return it\'s value. int (*orig_kldload)(struct thread *, struct kldload_args *) =

Re: System freeze when useing bfe (Broadcom BCM440x) driver

2004-08-27 Thread Daniel O'Connor
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 27 Aug 2004 16:23, Genius Freak wrote: I just installed 5.2.1 RELEASE from CD on my dell inspiron 1100 I found some guides online and used them to create a custom kernel for the laptop, it compiled and booted fine however it freezes

shared memory in jails

2004-08-27 Thread Dmitry Karasik
Hi hackers, I've been playing with shared memory in jails, and very soon found out that one jail's segments are visible (didn't check the accesibility thoroughly) in another, which IMO is against the very idea of the jail. ( The exact problem is that postgresqls, when run in jails, try to use

Re: shared memory in jails

2004-08-27 Thread Christian S.J. Peron
On 27 Aug 2004 Dmitry Karasik wrote: Hi hackers, I've been playing with shared memory in jails, and very soon found out that one jail's segments are visible (didn't check the accesibility thoroughly) in another, which IMO is against the very idea of the jail. ( The exact problem is that

Re: shared memory in jails

2004-08-27 Thread Pawel Malachowski
On Fri, Aug 27, 2004 at 05:18:50PM +0200, Dmitry Karasik wrote: I've been playing with shared memory in jails, and very soon found out that one jail's segments are visible (didn't check the accesibility thoroughly) in another, which IMO is against the very idea of the jail. kern/48471 --

slow login, app launching, etc

2004-08-27 Thread Bagus
Hi, I'm running FreeBSD 2.2CAM-19980716-SNAP on bagus.org. I've been running it for a few years. Recently, after normal performance, I've been experiencing extremely slow login prompt appearance, extremely slow application launching and what bugs me the most is the extremely slow response time

slow login, app launching, etc

2004-08-27 Thread Bagus
Hi, I'm running FreeBSD 2.2CAM-19980716-SNAP on bagus.org. I've been running it for a few years. Recently, after normal performance, I've been experiencing extremely slow login prompt appearance, extremely slow application launching and what bugs me the most is the extremely slow response time

Re: System freeze when useing bfe (Broadcom BCM440x) driver

2004-08-27 Thread Genius Freak
Thanks for your advice. The kernel is rebuilding now :) I was so desperate I even tried the 5.3 beta1 to see if that would work and it did but it was too much of a beta for me to use, it crashed in sysinstall twice. Thanks again, i'll let you know how it goes. On Sat, 28 Aug 2004 00:27:14 +0930,

Re: System freeze when useing bfe (Broadcom BCM440x) driver

2004-08-27 Thread Daniel O'Connor
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 28 Aug 2004 07:26, Genius Freak wrote: The kernel is rebuilding now :) I was so desperate I even tried the 5.3 beta1 to see if that would work and it did but it was too much of a beta for me to use, it crashed in sysinstall twice.

sysctl_set panic

2004-08-27 Thread Herbert Acker
Hi. I have been occasionally plagued by panics in KLD: at /usr/src/sys/i386/i386/trap.c:466 #6 0xc016c2dc in sysctl_register_oid (oidp=0x0) at /usr/src/sys/kern/kern_sysctl.c:92 #7 0xc016c841 in sysctl_register_set (lsp=0xcd5000a0) at /usr/src/sys/kern/kern_sysctl.c:391 #8