Re: Off topic but worth it.. Things to Say When You're Losing aTechnical Argument

2001-01-12 Thread Mike Silbersack
On Fri, 12 Jan 2001, Julian Elischer wrote: > Maybe we could declare a thread closed when these turn up? > > http://www.pigdog.org/auto/mr_bads_list/shortcolumn/1914.html I like your idea. Why don't you write up a white paper and we'll review it at the next staff meeting? Mike "Silby" Silbersa

Off topic but worth it.. Things to Say When You're Losing a Technical Argument

2001-01-12 Thread Julian Elischer
Maybe we could declare a thread closed when these turn up? http://www.pigdog.org/auto/mr_bads_list/shortcolumn/1914.html To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

bus_alloc_resource and RF_SHARABLE

2001-01-12 Thread Robert Lipe
Hello, Hackers. I'm on FreeBSD 4.1.1 and when I attempt multiple calls to bus_alloc_resource on a PCI device for the same BAR, I run afoul of code in resource_list_alloc: rle = resource_list_find(rl, type, *rid); if (!rle) return 0; /* no resource of that type/rid

new documentaion

2001-01-12 Thread GLOBALLINK2001
Hello everyone, I have started a thread on freebsd-newbies & freebsd-advocacy. The main purpose of this thread is to create new and up to date documentation for freebsd, as well as extend the number of tutorials as a whole. I have decent number of contributers from the above mentioned lists

Re: how to test out cron.c changes? (was: cvs commit: src/etc crontab)

2001-01-12 Thread 207 . 100
FWIW, I'm against changing cron. Ted Faber said it best: > If someone wants to change cron's behavior to make DST (and > other timezone shenanigans) behave intuitively, add a flag to > make cron work exclusively in UTC as someone else suggested. > It's simple to explain which means less user co

Re: synchronous IO

2001-01-12 Thread Steve Price
On Fri, Jan 12, 2001 at 12:18:20PM -0800, Mike Smith wrote: # # You can ensure the serial output is drained with tcdrain(). There's is # probably an interface for checking the status of the sound buffer. Yes, this appears to have done the trick. # Looking in sys/soundcard.h, I would suggest c

Re: synchronous IO

2001-01-12 Thread Mike Smith
> Thanks for the info. I don't think I was very clear in my first > explanation. I have an RF transmitter that I control via a serial > port on a FreeBSD box. I also have a sound card in that same > computer connected to the transmitter. I'm sending commands to > the transmitter in a sequence

Re: synchronous IO

2001-01-12 Thread Steve Price
On Thu, Jan 11, 2001 at 09:44:49PM -0600, Dan Nelson wrote: # I don't think you really mean synchronous IO; All you need is some # buffering. If the toggling you're talking about is direct wave # generation (i.e. you have to do something for each byte in the sample), # your time restrictions ar

Re: Setting default hostname to localhost

2001-01-12 Thread Warner Losh
In message <[EMAIL PROTECTED]> Archie Cobbs writes: : There is an RFC that specifies a "private use" top level domain, : analogous to 192.168.0.0/16, 10.0.0.0/8, etc. : : The domain is ".local" so any default ending in ".local" should : not conflict. RFC 2606 states: To safely satisfy these n

Re: Kernel time drifting -0.3% to -50% from H/W clock.

2001-01-12 Thread Dan Nelson
In the last episode (Jan 12), tomb said: > The next day I noticed the time was wrong again, and decided to run > ntp to track the time on our master. It tried very hard to keep time > but finally gave up and syslogged me that a manual time change would > be necessary. > > This moring I find that

Re: Setting default hostname to localhost

2001-01-12 Thread Archie Cobbs
Warner Losh writes: > : Unless there are some really good reasons > : not to (which there may be), I'd like to commit changes to -CURRENT's > : /etc/default/rc.conf to change the default hostname to "localhost". > > We have localhost.com as one of our domains here in the Village. So > long as th

Re: Mutexs: checking for initialization

2001-01-12 Thread Jason Smethers
From: "John Baldwin" <[EMAIL PROTECTED]> > Umm, well, you could write a function that walked the all_mtx list and checked > if the mutex was in that list. However, I think that you are using the wrong > tool for your problem here. :) I'm not sure validating mutexes is the way to > validate all t

Re: CFR: Generalized power-management interface

2001-01-12 Thread Matthew Jacob
If we're going to talk about 'health' for a machine and it's components, it should tie in with the SES/SAF-TE driver (for SCSI/FibreChannel). > > On 12-Jan-01 Mitsuru IWASAKI wrote: > > Hi, > > > >> > I'll get device major number for /dev/power and commit them within a > >> > few days if no o

Re: wicontrol: password <-> hex digits

2001-01-12 Thread Brian Reichert
On Fri, Jan 12, 2001 at 10:34:21AM -0800, Brooks Davis wrote: > It checks to see if all the characters are printable with isprint() and > if they are it prints the string in ASCII, otherwise it prints it out in > hex. I implemented this feature because it pretty much does what the > user would ex

Re: CFR: Generalized power-management interface

2001-01-12 Thread John Baldwin
On 12-Jan-01 Mitsuru IWASAKI wrote: > Hi, > >> > I'll get device major number for /dev/power and commit them within a >> > few days if no objection. >> >> One thing that I was talking about with Mike Smith is that perhaps instead >> of >> having a /dev/power just for power management stuff we s

Kernel time drifting -0.3% to -50% from H/W clock.

2001-01-12 Thread tomb
HI, I sent a message about this to questions to no avail. So sorry if this is an inappropreate place but here is the problem. Dec 3 Upgared machine to FreeBSD 4.2 (i386) Dec 6 - Jan 2 away from machine. I logged in to find that the value of date was way out (-6 Days), at this point the machie

Re: CFR: Generalized power-management interface

2001-01-12 Thread Mitsuru IWASAKI
Hi, > > I'll get device major number for /dev/power and commit them within a > > few days if no objection. > > One thing that I was talking about with Mike Smith is that perhaps instead of > having a /dev/power just for power management stuff we should be a bit more > generic and have a /dev/hea

Re: wicontrol: password <-> hex digits

2001-01-12 Thread Brooks Davis
On Fri, Jan 12, 2001 at 12:54:46PM -0500, Brian Reichert wrote: > I'm trying to debug my interactions with a WAP. Could someone > quickly explain the algorithm in wicontrol for converting a text > key to a hex key, and vice-versa? Yes, I could go scrounge though > the source, but I have my hands

Re: CFR: Generalized power-management interface

2001-01-12 Thread John Baldwin
On 12-Jan-01 Mitsuru IWASAKI wrote: > Hi, > > I've update the patch based on some comments so far and added wmpm > (actually ACPI support for wmapm which is utility for WindowMaker) > ports files as a example. > > http://people.freebsd.org/~iwasaki/acpi/power-20010113.tar.gz > http://people.fre

RE: Mutexs: checking for initialization

2001-01-12 Thread John Baldwin
On 12-Jan-01 Jason Smethers wrote: > I've got some kernel code that passes untrusted data containing mutic. > I'd like to be able to check if the mutic have been initialized and > return an error if they haven't. As of now I don't see a standard way > of checking for initialization. I'd like to d

wicontrol: password <-> hex digits

2001-01-12 Thread Brian Reichert
I'm trying to debug my interactions with a WAP. Could someone quickly explain the algorithm in wicontrol for converting a text key to a hex key, and vice-versa? Yes, I could go scrounge though the source, but I have my hands full... And, while I'm at it, how does 'wicontrol -i wi0' know when to

Re: CFR: Generalized power-management interface

2001-01-12 Thread Mitsuru IWASAKI
Hi, I've update the patch based on some comments so far and added wmpm (actually ACPI support for wmapm which is utility for WindowMaker) ports files as a example. http://people.freebsd.org/~iwasaki/acpi/power-20010113.tar.gz http://people.freebsd.org/~iwasaki/acpi/wmpm-20010113.tar.gz Note tha

Re: Setting default hostname to localhost

2001-01-12 Thread Warner Losh
In message <[EMAIL PROTECTED]> Robert Watson writes: : Unless there are some really good reasons : not to (which there may be), I'd like to commit changes to -CURRENT's : /etc/default/rc.conf to change the default hostname to "localhost". We have localhost.com as one of our domains here in the V

Re: pppd & mkdir diff

2001-01-12 Thread Alfred Perlstein
* W.H.Scholten <[EMAIL PROTECTED]> [010112 03:13] wrote: > Alfred Perlstein wrote: > > > > 1. a pppd patch which sends the pppd messages to stderr. > > > > not sure about this one, I would open a PR about it. > > I'm not sure either :) Maybe everyone else uses gui frontend which reads > pppd's s

Re: FreeBSD boot manager, where is latest version?

2001-01-12 Thread Andresen,Jason R.
Bob Willcox wrote: > > Well, ob-bs didn't work either. I went to the referenced site for > XOSL and it certainly looked interesting...but was way more than I was > looking for at this time (I was happy with the default FreeBSD installed > boot manager before W98 trashed it and I certainly didn

Re: Need help for kernel crash dump analysis

2001-01-12 Thread Xavier Galleri
Thank you for your answer, It's difficult to believe that nothing more intuitive and immediate can be done to get the kernel stack of any process from a GDB session on a kernel crash dump. Does it mean that this is something that nobody ever need until now ? Also, is there a mean to ask GDB to du

Re: Need help for kernel crash dump analysis

2001-01-12 Thread diman
On Fri, 12 Jan 2001, Xavier Galleri wrote: > OK, let's make it a bit clearer ! ... [skiped] > > Now, if you've read my first mail, I was actually asking for help onhow > to dump the stack of an interrupted process with GDB when the > kernelcrash occurs in the context of an isr. Actually, I w

Re: Question about 'open' files....

2001-01-12 Thread Brian J. McGovern
Actually, I finally found it. One of the function calls I pulled from a library someone else wrote used mkstemps(), and didn't bother to discard the descriptor when it was done. I had originally thought the problem to be in my code, but, it wasn't. I fixed the other code, and the problem was so

Re: how to write custom init

2001-01-12 Thread diman
On Fri, 12 Jan 2001, Soumen Biswas wrote: > Hi , > > What are the points to be observed while writing custom init > > I am currently doing something like : > /* > 1. never exit >2. open fd 0,1 & 2 >3. link statically */ > > int main( int argc, char **argv ) > { > int fd ;

Re: Broken-by-design USB device?

2001-01-12 Thread Nick Hibma
Oh, and another thing: a kernel panicing is unacceptable, even with bad hardware (except possibly for hardware faults. There is not a lot you can do about those). We've found one non-trivial bug, and I have the feeling that we are looking at another one (possibly a stack or device list corruptio

Re: how to write custom init

2001-01-12 Thread Poul-Henning Kamp
You may want to check out sysinstalls initialization, it is used to run as /sbin/init when you boot from installation media Poul-Henning In message <001201c07c8d$4276f8a0$[EMAIL PROTECTED]>, "Soumen Biswas" writ es: >Hi , > >What are the points to be observed while writing custom init > >I a

Re: scsi and PS2 mode parallel port programming

2001-01-12 Thread Nick Hibma
You've been speaking to Nicolas Souchu, right? He has written the current driver and seems to know a fair bit about this topic. Nick > | I'll put this on my pile of things to and dig through the CAM changes to > | find it. There weren't that many in the past year. > > I finally heard from the

Re: Broken-by-design USB device?

2001-01-12 Thread Nick Hibma
First of all, you are not wasting my time (I _asked_ for the info, right?). More probably it is the other way around with you having to crash you machine all the time ... :-) Second the info your supplying is good quality. Thanks for that. I'll have a look after the weekend (I'll try and not be

how to write custom init

2001-01-12 Thread Soumen Biswas
Hi , What are the points to be observed while writing custom init I am currently doing something like : /* 1. never exit 2. open fd 0,1 & 2 3. link statically */ int main( int argc, char **argv ) { int fd ; char cmd[128] = {0}; fd = open( "/dev/console", O_RDWR ); dup(fd); du

Image Communications Inc..

2001-01-12 Thread [EMAIL PROTECTED]
Title: Untitled Document

Re: pppd & mkdir diff

2001-01-12 Thread W.H.Scholten
Alfred Perlstein wrote: > > 1. a pppd patch which sends the pppd messages to stderr. > > not sure about this one, I would open a PR about it. I'm not sure either :) Maybe everyone else uses gui frontend which reads pppd's syslog messages or starts pppd as root? > Ok, I may be misreading this, b

Re: Need help for kernel crash dump analysis

2001-01-12 Thread Xavier Galleri
Thank you for your answer, OK, let's make it a bit clearer ! I use a private scheme to interact with the 'ipintr' isr. The two following routines are expected to be called either by our modified version of 'ip_input' at network SWI level or at user level. int my_global_ipl=0; void my_enter()

Re: Need help for kernel crash dump analysis

2001-01-12 Thread Xavier Galleri
Thank you for your answer, OK, let's make it a bit clearer ! I use a private scheme to interact with the 'ipintr' isr. The two following routines are expected to be called either by our modified version of 'ip_input' at network SWI level or at user level. int my_global_ipl=0; void my_enter() {