RE: 4.0 - Isa devices not being probed

2000-05-30 Thread Koster, K.J.
Hi Dennis, I can see that you disagree with some of the design decisions that have been made. However, your tone makes that people will not listen to what you say, but hammer into your person instead. I'm not quite sure what you are trying to achieve by trampling all over people's shoes like

RE: system hangs...

2000-05-30 Thread Koster, K.J.
We have made some kernel changes. And accordingly we are testing the changes using some user level daemon. After sending some packets, the system hangs. The number of packets sent before the system hangs varies from time to time. What kind of changes? What kind of packets? What kind of

Re: subr_bus.c | kldload | kldunload

2000-05-30 Thread Doug Rabson
On Mon, 29 May 2000, Bob Kot wrote: I am in the process of upgrading my Turtle Beach MultiSound Monterey soundcard device driver (msm) from the 3.x version available from http://www.treefort.org/~bobkat/msm_main.shtml to 4.0-RELEASE. While crawling over the learning curve of the new-bus

RE: system hangs...

2000-05-30 Thread Joshua Goodall
I think, generically, you want to look at http://www.freebsd.org/handbook/kerneldebug.html in particular 22.4 -- Joshua Goodall To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Generic config file parser?

2000-05-30 Thread Martin Cracauer
In [EMAIL PROTECTED], Ade Lovett wrote: Be advised, however, the ports/textproc/libxml has a 2.0 version floating around "out there" on the GNOME sites, which does have a reasonable amount of incompatibility at the API level.. my understanding is that the 1.x series is now end-of-life. Last

Re: Linking Linux object files under FreeBSD

2000-05-30 Thread Martin Cracauer
In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: Hi, Can anyone tell me if it is possible to link object files which were compiled under Linux on a FreeBSD system. Stricly speaking, yes, but you have to use one C library consistently, that means, include files and library linked to must be

RE: system hangs...

2000-05-30 Thread G.B.Naidu
Hi Guys, My system hangs. I know how to take core dumps and start debugging if it is panicing. But the system hangs, then I cant do anything. The only thing I can do is reset or power off and on. What I would like to know is how to handle hangs. I guess that panic and hangs are different.

RE: system hangs...

2000-05-30 Thread G.B.Naidu
Hi, Please see my comments below: On Tue, 30 May 2000, Koster, K.J. wrote: We have made some kernel changes. And accordingly we are testing the changes using some user level daemon. After sending some packets, the system hangs. The number of packets sent before the system hangs

AW: AW: Linking Linux object files under FreeBSD

2000-05-30 Thread d_f0rce
When I do a "chroot /compat/linux/ /bin/bash" I have to install a whole developement environment under /compat/linux or do I miss something here. YES OF CAUSE! You need full linux developement environment to translate or link something for linux I think that in named now

Re: Linking Linux object files under FreeBSD

2000-05-30 Thread d_f0rce
Thanks for your detailed answers. I will try and install the linux developement environment now. Regards, Alex To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: AW: AW: Linking Linux object files under FreeBSD

2000-05-30 Thread Thomas Runge
d_f0rce wrote: Just to improve my knowledge: Is it possible to link those "linux object files" to a FreeBSD programm which runs on FreeBSD without Linux Emu? In general: No. If your c-files compile without *any* "#include whatever.h", then it could be possible. -- Tom To Unsubscribe:

Re: 4.0 - Isa devices not being probed (fwd)

2000-05-30 Thread Mike Smith
some people need more density than your obviously trivial needs, and the "new" bus-oriented implementation makes writing drivers with complex controllers much more difficult than need-be. Speaking from some experience dealing with what would have to be considered "complex" controllers, this

Re: 4.0 - Isa devices not being probed

2000-05-30 Thread Mike Smith
At 06:36 PM 5/27/00 -0700, Mike Smith wrote: Existing bus abstractions tend to let think that the same software driver can deal with different buses, bridges or IO methods without having to care about how these things actually behave, notably regarding buffering and ordering rules. This

Re: 4.0 - Isa devices not being probed

2000-05-30 Thread Dennis
At 08:32 AM 5/30/00 -0700, you wrote: At 06:36 PM 5/27/00 -0700, Mike Smith wrote: Existing bus abstractions tend to let think that the same software driver can deal with different buses, bridges or IO methods without having to care about how these things actually behave, notably regarding

Re: 4.0 - Isa devices not being probed

2000-05-30 Thread Mike Smith
A good bus abstraction lets you care as much or as little as necessary. The NetBSD framework (which we use) allows you to do this. The best "portable" coding method is with memory-mapped registers, which seems to have been omitted from this "implementation", which is the gripe

Re: ioctl for reading raw ATAPI CDDA data

2000-05-30 Thread Brad Jones
On Mon, May 29, 2000 at 11:34:58AM -0700, Scott Gasch wrote: Hi, I'm trying to rip CDDA from an ATAPI cdrom device. So first I tried using cdd from /usr/ports. No dice, the resulting file is static. Next I searched for an alternative and found daex. Since I'm running FreeBSD-4.0-RELEASE

ppc0 problems in 4.0-stable?

2000-05-30 Thread Mark Conway Wirt
I upgraded from 3.4-STABLE to 4.0-STABLE, and -- for the most part -- the upgrade (done via source) went well. I've managed to get most things working, with the exception of lpt0. Previously, everything was detected fine: Mar 15 09:55:43 elvis2 /kernel: ppc0 at 0x3bc irq 7 flags 0x40 on isa

Re: ioctl for reading raw ATAPI CDDA data

2000-05-30 Thread Soren Schmidt
It seems Brad Jones wrote: I'm trying to rip CDDA from an ATAPI cdrom device. So first I tried using cdd from /usr/ports. No dice, the resulting file is static. Next I searched for an alternative and found daex. Since I'm running FreeBSD-4.0-RELEASE the kernel mods the author describes

Re: subr_bus.c | kldload | kldunload

2000-05-30 Thread Warner Losh
In message [EMAIL PROTECTED] Doug Rabson writes: : Without seeing the code, it appears that you are creating a new device : instance each time the module is loaded. Probably you should try to only : do this the first time (e.g. by looking to see if device msm0 : exists). This part of the

Re: stupid FS questions

2000-05-30 Thread Zhihui Zhang
I believe that it is used to dynamic load filesystem modules. Please read the following pages to understand what is a kernel module: http://thc.inferno.tusculum.edu/files/thc/bsdkern.html -Zhihui On Tue, 30 May 2000, Yevmenkin, Maksim N, CSCIO wrote: Hello All, i've been looking at

RE: stupid FS questions

2000-05-30 Thread Yevmenkin, Maksim N, CSCIO
i know that :) i guess my questions were 1) why the same piece of code duplicated in all ``mount_xxx'' utilities? 2) if we are loading fs kernel module from ``mount_xxx'' why we have to do it again in kernel? if i'm not missing anything, by the time we reach ``mount'' function, fs module will

RE: stupid FS questions

2000-05-30 Thread Garrett Wollman
On Tue, 30 May 2000 16:20:53 -0400, "Yevmenkin, Maksim N, CSCIO" [EMAIL PROTECTED] said: i know that :) i guess my questions were 1) why the same piece of code duplicated in all ``mount_xxx'' utilities? Because the original loadable module system held strongly to the religion that the kernel

kerneld for -current

2000-05-30 Thread Yevmenkin, Maksim N, CSCIO
Hello All, is there any interest in ``kerneld'' (a-la Linux) for FreeBSD? i've got some working prototype at http://home.earthlink.net/~evmax/kerneld.tar.gz so far, i've got it working on -current for char devices and network interfaces. file systems are currently in progress. if there is no

stupid FS questions

2000-05-30 Thread Yevmenkin, Maksim N, CSCIO
Hello All, i've been looking at ``mount_xxx'' code and have noticed "strange" thing. all ``mount_xxx'' utilities have common part of code, like error = getvfsbyname("xxx", vfc); if (error vfsisloadable("xxx")) { if (vfsload("xxx"))

Re: Linux and FreeBSD dual universe

2000-05-30 Thread Brian Somers
In message [EMAIL PROTECTED], Bill Pechter write s: Date: Thu, 25 May 2000 09:42:51 -0700 (PDT) From: "Duane H. Hesser" [EMAIL PROTECTED] Subject: Re: FreeBSD kernel as a replacement for Linux kernel Anyone remember the old Pyramid OSX 'universe' command? command like "att ls",

Re: Linux and FreeBSD dual universe

2000-05-30 Thread Bill Pechter
In message [EMAIL PROTECTED], Bill Pechter write s: Date: Thu, 25 May 2000 09:42:51 -0700 (PDT) From: "Duane H. Hesser" [EMAIL PROTECTED] Subject: Re: FreeBSD kernel as a replacement for Linux kernel Anyone remember the old Pyramid OSX 'universe' command? command like

Re: stupid FS questions

2000-05-30 Thread Brandon D. Valentine
On Tue, 30 May 2000, Zhihui Zhang wrote: http://thc.inferno.tusculum.edu/files/thc/bsdkern.html That stuff is excellent. It belongs in doc/. Any chances of it making it there? Brandon D. Valentine -- "You should believe in death, taxes, Larry Ellison's loathing of Bill Gates and Intel's

Re: what is the steps in the programing of device driver in freebsd?

2000-05-30 Thread Greg Lehey
On Wednesday, 31 May 2000 at 11:11:52 +0800, Alexander Gu wrote: hello! recently,I read the kernel source code of freebsd,I want to write device driver program,I want to use ioctl to control my device how can I do ?what is the steps?:) The traditional way is to start with the source of

Re: Creating a system to boot 4 different OS types.

2000-05-30 Thread Sergey Babkin
"Gary T. Corcoran" wrote: Sergey Babkin wrote: The partition number does not really matter, what really matters is that Windows wants to be in the very first tracks of the disk. This is legacy left from DOS which always had the same mania. While this may have once been true, I don't

Re: Linux and FreeBSD dual universe

2000-05-30 Thread Duane H. Hesser
Sequent Dynix did have conditional symbolic links (as I indicated in my original message). However, I did not encounter Dynix until around 1989 or 90, but was familiar with conditional symbolic links from two Pyramid 90x's I installed in the summer of 94. I cannot comment on the namei hack