Re: Multiple kernels selector...

2001-09-15 Thread Warner Losh
[[ Please excuse me for replying to a one year old message, but I have a question or two ]] In message <[EMAIL PROTECTED]> "Daniel C. Sobral" writes: : ." Loading /boot/current.conf. Please wait..." cr : s" /boot/current.conf" read-conf What's

Re: Could not bind

2001-09-15 Thread Dan Moschuk
| I have written a server program that listens on port 3000. The program | works very well except for one feature. I am asking if that is normal, | or whether I forgot something. | | If I run the program it does fine. If I then kill the program (after it | has accepted connections), and then

Re: VINUM PANIC ON -STABLE

2001-09-15 Thread Greg Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html] On Saturday, 15 September 2001 at 18:39:20 -0700, [EMAIL PROTECTED] wrote: > On Sun, 16 Sep 2001 09:38:20 +0930, Greg Lehey wrote: >> On Saturday, 15 September 2001 at 12:26:10 -0700, [EMAIL PROTECTED] wrote: > 4) Supply the ou

Re: VINUM PANIC ON -STABLE

2001-09-15 Thread john_wilson100
Hi Greg, I apologise in advance if this message is too long. On Sun, 16 Sep 2001 09:38:20 +0930, Greg Lehey wrote: > [Format recovered--see http://www.lemis.com/email/email-format.html] > > On Saturday, 15 September 2001 at 12:26:10 -0700, [EMAIL PROTECTED] wrote: > > > I posted a messag

Re: Could not bind

2001-09-15 Thread Ben Smithurst
Stephen Montgomery-Smith wrote: > listenfd=socket(AF_INET,SOCK_STREAM,0); > bzero(&servaddr,sizeof(servaddr)); > servaddr.sin_family=AF_INET; > servaddr.sin_addr.s_addr=htonl(INADDR_ANY); > servaddr.sin_port=htons(3000); > if (bind(listenfd,(struct sockaddr*)&servaddr,sizeof(servaddr)

interesting -current project

2001-09-15 Thread Evan Sarmiento
Hello, Since the relaes for 5.0 was extended another year, an interesting feature I'd like to see go in to the kernel is hooks. So users can add extra security checks.. etc. There's a project in its beginnings right now, www.freesoftware.fsf.org/jailuser/ Think anyone could join the prfw mailing

Re: Could not bind

2001-09-15 Thread Matthew Jacob
You should always use perror or strerror if a system call fails so you know *why* it fails. Then you can cross-references with the man(2) and man(3) pages to figure out what's up. On Sat, 15 Sep 2001, Stephen Montgomery-Smith wrote: > I have written a server program that listens on port 3000.

Could not bind

2001-09-15 Thread Stephen Montgomery-Smith
I have written a server program that listens on port 3000. The program works very well except for one feature. I am asking if that is normal, or whether I forgot something. If I run the program it does fine. If I then kill the program (after it has accepted connections), and then run the progr

Re: cvs commit: src/lib/libatm atm_addr.c cache_key.c ioctl_subr.c ip_addr.c ip_checksum.c timer.c

2001-09-15 Thread Matt Dillon
:What about changing this to __FBSD(), which is what I was using in a :prototype to reduce the number of characters in the macro name (and thus :reduce the wrap around). : :-- :-- David ([EMAIL PROTECTED]) __FBSD() is too generic for a #define name in what is essentially a global head

Re: cvs commit: src/lib/libatm atm_addr.c cache_key.c ioctl_subr.c ip_addr.c ip_checksum.c timer.c

2001-09-15 Thread David O'Brien
On Sun, Sep 16, 2001 at 06:35:27AM +1000, Bruce Evans wrote: > Especially the empty line after the copyright message: Agreed. > __FBSDID("$FreeBSD: src/lib/libatm/atm_addr.c,v 1.6 2001/09/15 19:36:55 dillon Exp >$"); What about changing this to __FBSD(), which is what I was using in a protot

Re: VINUM PANIC ON -STABLE

2001-09-15 Thread Bernd Walter
On Sat, Sep 15, 2001 at 04:34:32PM -0700, [EMAIL PROTECTED] wrote: > > On Sat, 15 Sep 2001 21:52:06 +0200, Bernd Walter wrote: > > > On Sat, Sep 15, 2001 at 12:26:10PM -0700, [EMAIL PROTECTED] > wrote: > > > I posted a message to -hackers several days ago, complete with a kernel > > > backtra

Re: VINUM PANIC ON -STABLE

2001-09-15 Thread john_wilson100
On Sat, 15 Sep 2001 21:52:06 +0200, Bernd Walter wrote: > On Sat, Sep 15, 2001 at 12:26:10PM -0700, [EMAIL PROTECTED] wrote: > > I posted a message to -hackers several days ago, complete with a kernel > > backtrace.The panic is 100% reproducible on my machine running the > > latest -stab

Re: Does boot1 still have a > 1023 cyl limit?

2001-09-15 Thread Kent Stewart
David O'Brien wrote: > > On Fri, Sep 14, 2001 at 03:05:01PM -0700, John Baldwin wrote: > > 'disklabel -B ad0' as root, where 'ad0' is the disk that boots FreeBSD > > Isn't `disklable -B ad0sX' more proper? (especially if the disk has > multiple FreeBSD slices) I tried ad0s3 and the system wa

Re: Driver structures & alignment

2001-09-15 Thread Warner Losh
In message <[EMAIL PROTECTED]> "David O'Brien" writes: : On Sat, Sep 15, 2001 at 12:13:58PM -0600, Warner Losh wrote: : > In message <[EMAIL PROTECTED]> "David O'Brien" writes: : > : It is best to order this from largest to smallest size if you are worried : > : about alignment holes, etc. : > :

Re: cvs commit: src/lib/libatm atm_addr.c cache_key.c ioctl_subr.c ip_addr.c ip_checksum.c timer.c

2001-09-15 Thread Bruce Evans
On Sat, 15 Sep 2001, Matt Dillon wrote: > I'm redirecting this to freebsd-hackers. > > Ok, I've comitted a new set of changes to libatm. Please check them out. > When we get a format that enough people are happy with we can start > converting the other libraries. I'm not particu

Re: Does boot1 still have a > 1023 cyl limit?

2001-09-15 Thread John Baldwin
On 15-Sep-01 David O'Brien wrote: > On Fri, Sep 14, 2001 at 03:05:01PM -0700, John Baldwin wrote: >> 'disklabel -B ad0' as root, where 'ad0' is the disk that boots FreeBSD > > Isn't `disklable -B ad0sX' more proper? (especially if the disk has > multiple FreeBSD slices) On x86, yes. I think d

Re: Driver structures & alignment

2001-09-15 Thread Drew Eckhardt
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes: >On Sat, Sep 15, 2001 at 12:13:58PM -0600, Warner Losh wrote: >> unfortunately, there are many device structures that are passed around >> via DMA and hte like that don't let you do this... > >How come? The struct represents some [semi-]p

ATAPI CD-R/RW Suggestion

2001-09-15 Thread Craig R
I think that burncd is a good program, and I appreciate the development of it, but I feel that there may be a better solution for owners of atapi burners. cdrecord is basically an industry standard, and should be able to be used by owers of atapi burners under FreeBSD. Linux has a driver called

Re: Driver structures & alignment

2001-09-15 Thread David O'Brien
On Sat, Sep 15, 2001 at 12:13:58PM -0600, Warner Losh wrote: > In message <[EMAIL PROTECTED]> "David O'Brien" writes: > : It is best to order this from largest to smallest size if you are worried > : about alignment holes, etc. > : > : int64_t d; /* 8-byte boundary */ > : int32_t c; /* 4-

NGPT port upgraded to 1.0.1

2001-09-15 Thread Arun Sharma
Added spinlock support, so that libc functions are reentrant. This is based on the Aug 3 release from the NGPT project. http://www.freebsd.org/cgi/query-pr.cgi?pr=30599 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Large disk (>1 TB) support in FBD4.3 ?

2001-09-15 Thread Bernd Walter
On Sat, Sep 15, 2001 at 11:29:41AM -0700, Matthew Jacob wrote: > > Don- too bad- I'm over in NAS in building N-258 and just took down the h/w > where we could test this (Alpha 4100 with 8 Qlogic cards && 8 150GB MegaDrive > RAID arrays)- We're excessing this equipment because the mass storage gro

Re: Large disk (>1 TB) support in FBD4.3 ?

2001-09-15 Thread Matthew Jacob
Don- too bad- I'm over in NAS in building N-258 and just took down the h/w where we could test this (Alpha 4100 with 8 Qlogic cards && 8 150GB MegaDrive RAID arrays)- We're excessing this equipment because the mass storage group's work was terminated due to budgetary goop. Typically there's no p

Large disk (>1 TB) support in FBD4.3 ?

2001-09-15 Thread Don Sullivan
I probably SHOULD know this, but how can I get a 1.3 TB RAID 5 array recognized by FBD 4.3 (Or, 4.4 RC5) ? Thanks for reading this, Don --- Don Sullivan NASA Ames Research Center MS 242-4 Moffett Field, CA 94035-1000

Re: Driver structures & alignment

2001-09-15 Thread Warner Losh
In message <[EMAIL PROTECTED]> "David O'Brien" writes: : It is best to order this from largest to smallest size if you are worried : about alignment holes, etc. : : int64_t d; /* 8-byte boundary */ : int32_t c; /* 4-byte boundary */ : int32_t f; /* 4-byte boundary */ : int

Re: Driver structures & alignment

2001-09-15 Thread David O'Brien
On Fri, Sep 14, 2001 at 12:23:44PM +0400, Yar Tikhiy wrote: > E.g., will the following structure: > struct foo { > }; > contain alignment holes in any architecture/compiler? It is best to order this from largest to smallest size if you are worried about alignment holes, etc. int64_t d; /

Re: Does boot1 still have a > 1023 cyl limit?

2001-09-15 Thread David O'Brien
On Fri, Sep 14, 2001 at 03:05:01PM -0700, John Baldwin wrote: > 'disklabel -B ad0' as root, where 'ad0' is the disk that boots FreeBSD Isn't `disklable -B ad0sX' more proper? (especially if the disk has multiple FreeBSD slices) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fr

Re: storing routine code in kernel memory using kvm interface

2001-09-15 Thread Julian Elischer
Sansonetti Laurent wrote: > > Hi, > > Is there a way to store a function in kernel memory using KVM interface ? > > I have written a tty spy'er, which simply hijack discipline line entries for > a tty, and as you know probably, those routines must be situated in kernel > land. > > I know that

Re: storing routine code in kernel memory using kvm interface

2001-09-15 Thread Terry Lambert
Sansonetti Laurent wrote: > > Hi, > > Is there a way to store a function in kernel memory using KVM interface ? > > I have written a tty spy'er, which simply hijack discipline line entries for > a tty, and as you know probably, those routines must be situated in kernel > land. > > I know that

Re: error in man page kvm_nlist(3) ?

2001-09-15 Thread Dima Dorfman
"Sansonetti Laurent" <[EMAIL PROTECTED]> wrote: > Hi, > > I think there's an error in man page for kvm_nlist(3): a reference to > kldsym(2) which doesn't exist in the manual... > > pinux@arrakis ~> man kvm_nlist | grep kldsym > kldsym(2) is used to locate the symbol. This is a less than pe

storing routine code in kernel memory using kvm interface

2001-09-15 Thread Sansonetti Laurent
Hi, Is there a way to store a function in kernel memory using KVM interface ? I have written a tty spy'er, which simply hijack discipline line entries for a tty, and as you know probably, those routines must be situated in kernel land. I know that I should use KLD for that, but i'm still curiou

error in man page kvm_nlist(3) ?

2001-09-15 Thread Sansonetti Laurent
Hi, I think there's an error in man page for kvm_nlist(3): a reference to kldsym(2) which doesn't exist in the manual... pinux@arrakis ~> man kvm_nlist | grep kldsym kldsym(2) is used to locate the symbol. This is a less than perfect emu- kldsym(2), kvm(3), kvm_close(3), kvm_getarg

Re: PIO mode

2001-09-15 Thread Frank Nobis
Am Samstag, 15. September 2001 um 07:33 schrieb Stephen Hurd: >> ad0s1a: UDMA ICRC error reading fsbn 191 of 64-79 (ad0s1 bn 191; cn 0 tn >> 3 >> sn 2) retrying > > Actually, the ICRC error IS a bit frigtening... I always got read timeouts > when it was a bad HD/controller combo... I'd like to

Re: FreeBSD CW-Writer Problem

2001-09-15 Thread Søren Schmidt
It seems glenn gombert wrote: > Hello, > > I am running FreeBSD Current and having a problem with my Memorx CRW-1662 > CD-Writer and trying to use it with 'burncd'. I tried to write a small > test 'iso' Image that I made using mkisofa and got the following error > message "MODE_SELECT_BIG - Ill