Re: Bootable CDROM creation system

2005-06-09 Thread Chad David
On Thu, Jun 09, 2005 at 08:35:59AM +0200, Dag-Erling Sm?rgrav wrote: Chad David [EMAIL PROTECTED] writes: My company built a tool a few years back for creating a bootable cdrom based on a running host FreeBSD 3/4 system, which promptly got shelved and forgotten.I recently had to update

Re: Bootable CDROM creation system

2005-06-09 Thread Chad David
On Thu, Jun 09, 2005 at 06:59:42PM +0300, Giorgos Keramidas wrote: On 2005-06-09 08:35, Dag-Erling Sm?rgrav [EMAIL PROTECTED] wrote: Chad David [EMAIL PROTECTED] writes: My company built a tool a few years back for creating a bootable cdrom based on a running host FreeBSD 3/4 system

Bootable CDROM creation system

2005-06-08 Thread Chad David
with groups like FreeSBIE, but are willing to support and help enhance some of the basic utilities and structure etc. if anybody is interested in using this stuff. http://www.issci.ca/chad/shimmer.tgz Comments and questions are welcome. -- Chad David ___ freebsd

Re: Correct way to call execve?

2003-07-21 Thread Chad David
0; } % cc -Wwrite-strings exec.c % cc -Wall exec.c Looks good to me. Try cc -Wwrite-strings -Wcast-qual exec.c. You cannot simply cast away a const. -- Chad David[EMAIL PROTECTED] www.FreeBSD.org [EMAIL PROTECTED] ISSci Inc.Calgary, Alberta Canada

Re: Correct way to call execve?

2003-07-21 Thread Chad David
On Mon, Jul 21, 2003 at 01:23:21PM -0400, Leo Bicknell wrote: In a message written on Mon, Jul 21, 2003 at 11:15:38AM -0600, Chad David wrote: Try cc -Wwrite-strings -Wcast-qual exec.c. You cannot simply cast away a const. Grumble, will someone give me all the warnings you want turned

Re: Reading rc.conf from C programs?

2003-01-02 Thread Chad David
took about 30 minutes to write. Exclusive states may not be the easiest or best way to handle the parts of the sh syntax that need to be ignored, but it was a quick way to handle the if, which was all I cared about. -- Chad David[EMAIL PROTECTED] www.FreeBSD.org [EMAIL PROTECTED] ISSci Inc

Re: two make questions

2002-10-01 Thread Chad David
was a little more involved (it would be easier without fork() :)), so I doubt a RH port will be difficult (I hesitate to even call it a port). You can either keep your makefiles very simple (good luck!), or you can port pmake and just move the whole system over. Good luck. -- Chad David

Re: tuning for samba

2002-07-23 Thread Chad David
On Thu, Jul 11, 2002 at 11:20:51AM +0930, Richard Sharpe wrote: On Wed, 10 Jul 2002, Chad David wrote: A local company has been having issues with samba for some time (it kills an e250, and has seriously stressed an e5000) and I've been telling the admin (half seriously) that he should

Re: tuning for samba

2002-07-11 Thread Chad David
it works in the wild :). -- Chad David[EMAIL PROTECTED] www.FreeBSD.org [EMAIL PROTECTED] ACNS Inc. Calgary, Alberta Canada To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

tuning for samba

2002-07-10 Thread Chad David
and handling the reconnects has killed small boxes. As a side note, the data being served will be attached to the samba server via NFS. Thanks. -- Chad David[EMAIL PROTECTED] www.FreeBSD.org [EMAIL PROTECTED] ACNS Inc. Calgary, Alberta Canada To Unsubscribe: send mail to [EMAIL

Re: tuning for samba

2002-07-10 Thread Chad David
On Thu, Jul 11, 2002 at 09:45:46AM +0930, Daniel O'Connor wrote: On Thu, 2002-07-11 at 09:37, Chad David wrote: A local company has been having issues with samba for some time (it kills an e250, and has seriously stressed an e5000) and I've been telling the admin (half seriously) that he

Re: tuning for samba

2002-07-10 Thread Chad David
and the access patterns buffering is pointless. One thing I failed to mention, none of the clients ever write; the system is completely read only. Thanks. -- Chad David[EMAIL PROTECTED] www.FreeBSD.org [EMAIL PROTECTED] ACNS Inc. Calgary, Alberta Canada To Unsubscribe: send

Re: tuning for samba

2002-07-10 Thread Chad David
On Wed, Jul 10, 2002 at 09:36:10PM -0500, Dan Nelson wrote: In the last episode (Jul 10), Chad David said: As a side note, the data being served will be attached to the samba server via NFS. Wouldn't it be better to run samba directly on the server that's providing the data? They have

Re: Amount of free memory available in system?

2002-01-12 Thread Chad David
, inactive, and cached (and wired), which you could use to get a more complete picture of whats going on. `sysctl vm` dumps a lot of useful information. I hope that helps. -- Chad David[EMAIL PROTECTED] www.FreeBSD.org [EMAIL PROTECTED] ACNS Inc. Calgary, Alberta Canada Fourthly

Macronix MX98315

2001-12-27 Thread Chad David
(or if they really mean 715, and I'm on a wild goose chase)? Thanks. -- Chad David[EMAIL PROTECTED] ACNS Inc. Calgary, Alberta Canada To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

802.11b PCI card problems (part II)

2001-12-27 Thread Chad David
On Thu, Dec 27, 2001 at 11:31:43AM -0800, Brooks Davis wrote: On Thu, Dec 27, 2001 at 12:10:32PM -0700, Chad David wrote: What you'll want to do is edit src/sys/dev/wi/if_wi.c, add an appropriate entry to the definition of pci_ids for your card, and recompile your kernel. If that works

Re: Repost - f_type value in statfs structure

2001-12-24 Thread Chad David
On Mon, Dec 24, 2001 at 12:06:20AM -0800, Lamont Granquist wrote: On Sun, 23 Dec 2001, Chad David wrote: On Sat, Dec 22, 2001 at 11:11:12PM +, Wayne Pascoe wrote: Chad David [EMAIL PROTECTED] writes: The issue that I am having is detecting valid filesystems to do

Re: Repost - f_type value in statfs structure

2001-12-23 Thread Chad David
On Sat, Dec 22, 2001 at 11:11:12PM +, Wayne Pascoe wrote: Chad David [EMAIL PROTECTED] writes: The issue that I am having is detecting valid filesystems to do further checks on. I am only interested in checking local filesystems such as UFS. Check for the MNT_LOCAL flag

Re: SMP beeping

2001-12-11 Thread Chad David
On Tue, Dec 11, 2001 at 10:12:35AM -0500, Matthew Emmerton wrote: On Mon, 10 Dec 2001, Chad David wrote: I sent a message about this to -stable last week, but didn't get any input that resulted in a solution to this problem so... -stable for the last week or more (I did a make world

SMP beeping

2001-12-10 Thread Chad David
, and mouse cursor movement is fluid. The machine is a dual 1Ghz PIII with 1G memory. As I have no clue about how to debug this I would appreciate any hints at all. The machine had been running fine for about six months so I do not think it is hardware. -- Chad David[EMAIL PROTECTED] ACNS

kern_vfs_bio_buffer_alloc() question

2001-12-08 Thread Chad David
, or am I missing something? Thanks. -- Chad David[EMAIL PROTECTED] ACNS Inc. Calgary, Alberta Canada To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: offtopic: assembly

2001-12-05 Thread Chad David
mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message -- Chad David[EMAIL PROTECTED] ACNS Inc. Calgary, Alberta Canada To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Repost - f_type value in statfs structure

2001-12-05 Thread Chad David
-f_fstypename, (fs-f_flags MNT_LOCAL) == MNT_LOCAL); exit(0); } Hope that helps. -- Chad David[EMAIL PROTECTED] ACNS Inc. Calgary, Alberta Canada To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

MPSAFE KLD syscall

2001-10-30 Thread Chad David
Is there a correct way to mark a syscall as MPSAFE when loading it as a KLD? -- Chad David[EMAIL PROTECTED] ACNS Inc. Calgary, Alberta Canada To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Question about pthread

2001-10-03 Thread Chad David
pthread is included below. I ask to answer me directly on my e-mail. Oleg ... pthread_create(NULL, NULL, coms, confd); ... I am not positive about 2.2.8, but I do not think you can pass NULL as the first argument to pthread_create(). -- Chad David

ipfw and access

2001-09-07 Thread Chad David
... and the irony of ipfw calling a documented should never be used function got my attention. Is this really a problem, or is the man page paranoid? Thanks -- Chad David[EMAIL PROTECTED] ACNS Inc. Calgary, Alberta Canada I applied the patch twice, and it still doesn't work

System build script

2001-09-03 Thread Chad David
location of auto config file to use -X In the case of -A set the default to install. Normally the default is ignore If anybody cares I'd be happy to make the script source and the mergemaster patch available. -- Chad David[EMAIL PROTECTED] ACNS Inc. Calgary, Alberta Canada I applied

Re: Page Coloring

2001-08-05 Thread Chad David
On Sun, Aug 05, 2001 at 10:33:08PM +0100, Nik Clayton wrote: On Sun, Aug 05, 2001 at 12:20:36PM -0700, Matt Dillon wrote: It's a good description but it might be better to simplify it a bit. You don't need to go into that level of detail. There is a short page coloring

Page Coloring

2001-08-03 Thread Chad David
If I added this to a man page would I be telling the truth :). Note, these are my notes and not the exact text that I would add, and I have not bother with anything to do with object coloring etc. I just want to make sure I've got this part down. Chad page coloring

Changes in VM

2001-07-12 Thread Chad David
Can someone comment on when the major changes in the FreeBSD VM system took place? Was it in 2.x? Has much of the basic design changed since? Would I be correct in saying that most of the work was done by John Dyson and David Greenman with Matt Dillon getting heavily involved in the 3.x era?

Want to write kernel docs

2001-07-08 Thread Chad David
on these docs would be there), or if there is no demand for or interest in this type of documentation just let me know and I will skip the whole mdoc thing and go straight to HTML :). Thanks Chad David [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers

vinum raid5 panics

2000-04-18 Thread Chad David
I just put together a 5 disk raid5 system using vinum on 4.0 from last Wed., and I am experiencing random panics. I can force the panic by working on the filesystem, but sometimes just having it mounted kills the machine. I compiled a debug kernel, and got a crash dump, but I am not an expert

Re: vinum raid5 panics

2000-04-18 Thread Chad David
On Tue, 18 Apr 2000, Jesper Skriver wrote: On Tue, Apr 18, 2000 at 09:32:34PM +0200, Soren Schmidt wrote: It seems Chad David wrote: I just put together a 5 disk raid5 system using vinum on 4.0 from last Wed., and I am experiencing random panics. I can force the panic by working

vm_await()

2000-03-23 Thread Chad David
In vm_await(), asleep() is called with "vmwait", and then vm_await() just returns. What then happens to the memory at "vmwait" that was passed to asleep()? Am I missing something, other than vm_await is never called so it doesn't really matter? Also, with a quick find, it looks like

Re: vm_await()

2000-03-23 Thread Chad David
I didn't mean the wait (ident) address, but instead the wmesg address, which is placed in p-p_wmesg, and I think later read by things like top... or am I being obtuse :). Chad On Thu, 23 Mar 2000, Matthew Dillon wrote: :In vm_await(), asleep() is called with "vmwait", and then :vm_await()

Re: vm_await()

2000-03-23 Thread Chad David
In the case of malloc(), wmesg is set to type-ks_shortdesc, which is not part of the current functions stack, so it is safe for malloc to return. Unless I am wrong, "string", is an automatic variable, and when the current function returns it is no longer vaild. With tsleep() this would never be

Re: vm_await()

2000-03-23 Thread Chad David
After thinking about it, I don't know what I was thinking :(. Sorry for wasting you time. Chad On Thu, 23 Mar 2000, Matthew Dillon wrote: : :In the case of malloc(), wmesg is set to type-ks_shortdesc, which is :not part of the current functions stack, so it is safe for malloc :to

Bootable CD Question

2000-03-17 Thread Chad David
I have a custom kernel that I need to have boot from a cd across as many machines as possible. I currently build the cd using scripts adapted from what is in src/release, (I now owe Poul-Henning more than one beer), and it boots every time in the lab, but people testing are reporting that it

java - ld-elf.so.1: assert failed: ... lockdflt.c:55

2000-01-28 Thread Chad David
Since the ~Jan 25 I have been getting an error while running any java programs on 3.4-stable. I cvsup'd,and ran a make world this afternoon and it still fails. It doesn't always hit... about 50% of the time. The errors is: ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/lockdflt.c:55

Re: java - ld-elf.so.1: assert failed: ... lockdflt.c:55

2000-01-28 Thread Chad David
Yes this fixed it. Thanks. Chad On Fri, 28 Jan 2000, John Polstra wrote: In article [EMAIL PROTECTED], Chad David [EMAIL PROTECTED] wrote: Since the ~Jan 25 I have been getting an error while running any java programs on 3.4-stable. I cvsup'd,and ran a make world

FreeBSD hackers (fwd)

1999-10-15 Thread Chad David
I was asked this question today, and searching the mailing lists doesn't bring up anything current. Has any additional work been done on if_vlan? From the cvs headers in if_vlan.c is appears there has, so would FreeBSD work in this situation? A number of interface man pages (ti(4), sk(4))

Re: aio_read kills machine

1999-10-11 Thread Chad David
. The crash has been truncating main.c, so you may want to copy it before running the program. Thanks. Chad On Sun, 10 Oct 1999, Chris Costello wrote: On Wed, Jan 01, 1997, Chad David wrote: I am certain that my program is not correct (besides the obvious consiquence of running it :) ), but I

aio_read kills machine

1999-10-10 Thread Chad David
I am working on a small threaded program that uses aio_read(). In my first attempt to run the program it killed my machine instantly. The second time it only locked it solid. I get no messages, warnings, or errors. I am certain that my program is not correct (besides the obvious consiquence

SCSI vs IDE with vinum

1999-08-21 Thread Chad David
I just setup vinum for the first time on a brand new server, nd I am getting what I think are strange results in performance tests with rawio. My SCSI drives seem to be much slower that my IDE drives? Here is a dmesg from the machine:

SCSI vs IDE with vinum

1999-08-21 Thread Chad David
I just setup vinum for the first time on a brand new server, nd I am getting what I think are strange results in performance tests with rawio. My SCSI drives seem to be much slower that my IDE drives? Here is a dmesg from the machine:

Re: Oracle OCI code on FreeBSD

1999-06-21 Thread Chad David
Sheldon Hearn wrote: On Wed, 09 Jun 1999 23:14:47 EST, Dan Nelson wrote: Install the linux_devel port and resign yourself to building Linux executables whenever you have to talk to Oracle. We've _just_ been through this whole nightmare and resigned ourselves to using a Sparc for talking

Oracle OCI code on FreeBSD

1999-06-09 Thread Chad David
to supply more :). Chad David dav...@guild.ab.ca To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message