bios timecounter in doscmd

2001-08-13 Thread Igor Serikov
Hello, As I found, I have overlooked a routine updating bios 0x6c 0x70 fields. It is in function video_update (module tty.c): *(u_long *)BIOSDATA[0x6c] += 1;/* Timer ticks since midnight... */

ypserv (fixed... I think)

2001-08-13 Thread David E. Cross
To those of us experiencing problems with ypserv, I have made a copy of my binary available at: DO NOT READ ANY FURTHER IF YOU HAVE NOT SETUP AND ADMINED A NIS DOMAIN! THIS IS NOT FOR YOU! http://www.cs.rpi.edu/~crossd/FreeBSD/ypserv MD5 (ypserv) = 1f1c6c01eafd690059b32e615e5b6efc It is binary

Re: _sigprocmask in malloc.c causes full file table?

2001-08-13 Thread Michael Robinson
On Sun, Aug 12, 2001 at 10:29:53AM -0400, Daniel Eischen wrote: sigprocmask() behaves the same as pthread_sigmask(). pthread_sigmask() needs to obtain the current thread. In obtaining the current thread, the threads library must be initialized. In initializing the threads library malloc()

Re: the =+ operator

2001-08-13 Thread Terry Lambert
John Merryweather Cooper wrote: Prototypes are an overwhelmingly Good Thing(tm) as behind-your-back implicit parameter conversion is death to serious numerical work. At least now, some control can be exercised over parameter conversions . . . Who ever said anything about not

Re: can't generate vnode_if.h automatically

2001-08-13 Thread Terry Lambert
Rohit Grover wrote: On Sun, 12 Aug 2001, Dima Dorfman wrote: Rohit Grover [EMAIL PROTECTED] writes: Interestingly, when I executed the command 'make depend', vnode_if.h was correctly created for me. I'd like to know why I don't need to do a 'make depend' for modules like 'vn' or

Re: mtio questions

2001-08-13 Thread Bernd Walter
On Sun, Aug 12, 2001 at 11:46:57AM -0700, Terry Lambert wrote: Bernd Walter wrote: Another point: Can we '#define MTEOM MTEOD' as MTEOM is used on NetBSD and Solaris? End of Message is not the same as End of Data for some drives; this could break old 8-track (no, not the music, and not

Re: diskless

2001-08-13 Thread Luigi Rizzo
hi, i modified rc.diskless1 to use union fs like: mount_md 1024 /conf/etc 0 mount -t union /conf/etc /etc any reason why this might be problematic? not sure, i think i tried this at some point and had problems with bugs in the implementation of mount_union. If it works for you

Re: diskless

2001-08-13 Thread Danny Braniss
not sure, i think i tried this at some point and had problems with bugs in the implementation of mount_union. If it works for you then i guess it is not problematic. One thing you cannot do with the above is delete files which are in the lower filesystem (not that the current rc.diskless1

Re: mtio questions

2001-08-13 Thread Terry Lambert
Bernd Walter wrote: On Sun, Aug 12, 2001 at 11:46:57AM -0700, Terry Lambert wrote: Bernd Walter wrote: Another point: Can we '#define MTEOM MTEOD' as MTEOM is used on NetBSD and Solaris? End of Message is not the same as End of Data for some drives; this could break old 8-track

Re: can't generate vnode_if.h automatically

2001-08-13 Thread Andrew R. Reiter
Essentially, you should compile this module in the modules directory of the kernel source. This will solve your problems in the easiest manner. sorry for short answer.. driving all night back from HAL sleep. andrew On Sun, 12 Aug 2001, Rohit Grover wrote: :Hello, : :I am writing a

Re: diskless

2001-08-13 Thread Michael Sinz
Danny Braniss wrote: not sure, i think i tried this at some point and had problems with bugs in the implementation of mount_union. If it works for you then i guess it is not problematic. One thing you cannot do with the above is delete files which are in the lower filesystem (not

Re: mtio questions

2001-08-13 Thread Bernd Walter
On Sun, Aug 12, 2001 at 06:03:00PM -0700, Matthew Jacob wrote: I'll answer based upon -stable FreeBSD code. On Sun, 12 Aug 2001, Bernd Walter wrote: Asume the following code examples: int fd; struct mtop mo; char buf[10240]; fd = open(/dev/nsa0, O_RDWR | O_EXLOCK);

Dell OptiPlex GX100 onboard video

2001-08-13 Thread Andrew R. Reiter
Hi, Yes, I know this has been discussed in the past on this but I couldn't find any solutions so I'd like to actually assist in the solution. Unfortunately at work I was given a Dell OptiPlex GX100 which has an on-board video card that I've yet to see anyone get work under FreeBSD 4.x. I hear

Re: Fiber NIC support in FreeBSD (specifically the SMC 9432)

2001-08-13 Thread Semen A. Ustimenko
Hi! The support for fiber optic was added to -current on 2001/02/07 and MFCed on 2001/06/08 (will be in 4.4 release). So, get new enough system, and go... Bye! On Sun, 12 Aug 2001, D Brearley wrote: I was wondering if there had been any talk of including fiber media support for the tx

how to debug a kld module?

2001-08-13 Thread Frank Volf
Hi, My system panics with a page fault in one of my kernel loadable modules. I want to debug this, but I can't find a way to load that module and its symbol table into gdb. The steps that I have taken are gdb -k /sys/compile/DRAWBRIDGE/kernel.debug vmcore.11 which gives me a normal

Re: how to debug a kld module?

2001-08-13 Thread Rolf Neugebauer
[EMAIL PROTECTED] (Frank Volf) writes: Hi, My system panics with a page fault in one of my kernel loadable modules. I want to debug this, but I can't find a way to load that module and its symbol table into gdb. The steps that I have taken are gdb -k

allocating userland space to call open() on a kernel module

2001-08-13 Thread Sansonetti Laurent
Hello hackers, I'm currently working on a kld syscall module which needs to read a config file at startup (MOD_LOAD). Following the advice of Eugene L. Vorokov, I tried to allocate some userland space with mmap() to store a open_args struct, fill-it with copyout() / subyte()... and call open

pthreads and poll()

2001-08-13 Thread Jonathan Chen
Yesterday marked my first attempt at mixing poll() with pthreads. Needless to say, things did not work out the way I wanted them to. So, I began the task of finding out the behaviors of various OSes to see if my code would run fine on them. For your reference and amusement, my results and

Signal Handling

2001-08-13 Thread Hans Zaunere
In a program that I am working on, I've decided to catch signal 15, which then calls execl() in the handler to reload the program from the on-disk binary. I am able to send it the signal, it reloads, and works fine. However I could not send the signal again and have the program respond. I

Writing a packet alias translator, need help

2001-08-13 Thread Joe Clarke
I'm trying to write a packet alias translator for a protocol that uses TCP to setup a UDP streaming session (much like the smedia driver that's already there). I'm having a problem getting the translated port to mesh with the actual port. Here's what I've done: /* msg is a TCP setup packet

Re: pthreads and poll()

2001-08-13 Thread Daniel M. Eischen
Jonathan Chen wrote: Yesterday marked my first attempt at mixing poll() with pthreads. Needless to say, things did not work out the way I wanted them to. So, I began the task of finding out the behaviors of various OSes to see if my code would run fine on them. For your reference and

Reading files within the kernel (was Re: allocating userland space...)

2001-08-13 Thread Ian Dowse
In message 003101c12411$294adaa0$[EMAIL PROTECTED], Sansonetti Laurent w rites: Hello hackers, I'm currently working on a kld syscall module which needs to read a config file at startup (MOD_LOAD). Following the advice of Eugene L. Vorokov, I tried to allocate some userland space with mmap() to

Re: zoom modem

2001-08-13 Thread Brooks Davis
On Sun, Aug 12, 2001 at 02:13:55PM -0700, Dan Cox wrote: I am trying to get my internal pci zoom fax modem installed on freebsd. This modem is not a winmodem. My problem is that the only instructions I have are either for windows or Linux. I will include the linux instructions below.

Re: how to debug a kld module?

2001-08-13 Thread Frank Volf
Rolf Neugebauer wrote: My system panics with a page fault in one of my kernel loadable modules. I want to debug this, but I can't find a way to load that module and its symbol table into gdb. The steps that I have taken are gdb -k /sys/compile/DRAWBRIDGE/kernel.debug

Re: 4.2 SMP driver for DiskonChip

2001-08-13 Thread Srinivas Dharmasanam
Hi, I'm trying to use the M-Systems', DiskonChip on a Dual PIII SBC running the SMP FreeBSD4.2 kernel. However, I get kernel crashes when trying to write to the DiskonChip (on a 4.2FreeBSD SMP kernel on a regular IDE disk) or sometimes even when I try to reboot from an existing FreeBSD

Fwd: error in ip_checkinterface code?

2001-08-13 Thread Brooks Davis
I sent the following to net a while back and got a whole one responce. Anyone else have any thoughts? Unless someone has a good reason not to, I'd like to commit the attached patch. -- Brooks - Forwarded message from Brooks Davis [EMAIL PROTECTED] - From: Brooks Davis [EMAIL

more Newbus questions

2001-08-13 Thread janb
First, I would like to thank all of you who answered my first question. I have spent the past couple of days reading through the newbus code, and have a couple more questions. I think I have a pretty good Idea about the device tree by now, but I am a bit confused, as to how the interrupts are

Re: Reading files within the kernel (was Re: allocating userland space...)

2001-08-13 Thread Sansonetti Laurent
Hello Ian, Thanks you for your help, now I can read my cfg file from my module in a easier way ;) A another stupid question, how can I do to stop the loading process in MOD_LOAD event handler (in my case, if the cfg file doesn't exist, it should be better to interrupt..) ? Returning EINTR does

Very odd tty hanging problem.

2001-08-13 Thread Leo Bicknell
I have stumbled across a bug that's driving me bonkers. Here's the setup: - Log in to a 4.2-RELEASE box. - Run mutt (1.2.5i, built from ports) - Get dropped into an editor (new message, reply, it doesn't matter) - Enter insert mode in vi - Paste in 1k (approximately) of text Bam, frozen

Re: the =+ operator

2001-08-13 Thread Ronald G Minnich
On Fri, 10 Aug 2001, Jan Knepper wrote: I just checked on this =+ and =- with the guy that wrote the first native C++ compiler and he does not recall it at first being that way... of course not. It had changed long before C++. You have to go back to 1976 to find this. I have been

Large /dev/md0 ramdisk

2001-08-13 Thread Robert J. Adams
Hello, I have a need for a rather large ramdisk. From what I've read, md is a better way of going than mfs. I don't want this to be able to swap out. So far I'm having trouble getting md to store anything larger than ~90meg .. OS: FBSD 4.3-S relevant kernel config: options

Re: the =+ operator

2001-08-13 Thread Alson van der Meulen
On Mon, Aug 13, 2001 at 07:38:27PM -0600, Ronald G Minnich wrote: On Fri, 10 Aug 2001, Jan Knepper wrote: I just checked on this =+ and =- with the guy that wrote the first native C++ compiler and he does not recall it at first being that way... of course not. It had changed long before

Re: Large /dev/md0 ramdisk

2001-08-13 Thread Andrew J Caines
Robert, Please forgive me not answering your question, but just responding to an issue you've raised. From what I've read, md is a better way of going than mfs. I have seen several references to md being preferred to mfs but have been unable to find any detailed comparison or evaluation. To

Re: import NetBSD rc system

2001-08-13 Thread Kevin Way
Well, it's now been about 2 months since the initial NetBSD import discussion occured on this list, and as far as I can tell, here's where we stand. - David O'Brien did a vendor import of the unported NetBSD rc system - there was a group consensus that we needed to come up with some intelligent

Re: import NetBSD rc system

2001-08-13 Thread Gordon Tetlow
On Tue, 14 Aug 2001, Kevin Way wrote: Well, it's now been about 2 months since the initial NetBSD import discussion occured on this list, and as far as I can tell, here's where we stand. - David O'Brien did a vendor import of the unported NetBSD rc system - there was a group consensus that