Emergency Help Needed

2002-01-26 Thread Dragon Fire
Hi Folks, I have an emergency and I need some quick help. I just ran boot0cfg to install boot0 as my boot code instead of the standard mbr. This is on a dedicated FreeBSD system. Now the system boots and gives me a choice F4 FreeBSD or F5 Disk 1 both selections hang. I had numerous problems gett

Re: deadlock with softupdates ?

2001-12-18 Thread Dragon Fire
We saw something very similar to this about a year using FFS and soft updates when we were building a NAS appliance. The details escape me and I no longer work the company so I cannot grep the source code but here's what I remember. The softupdate code periodically flushes the meta data. There is

KLDs vs static linking

2001-12-11 Thread Dragon Fire
Hi Folks, Hopefully a quick question. Is there any reason to prefer KLD modules for drivers etc over static linking? For example, KLDs are covenient, loading and unloading for development but is it a case of using KLD modules for development then building drivers statically into the kernel when

Building the Kernel

2001-12-08 Thread Dragon Fire
Quick question. I am running FreeBSD 4.4. I comfortable building the kernel "the old way" but in the FreeBSD handbook there is the "new way", which is described below. There appears to be no support for buildkernel anywhere, please point me in the right direction. Thank you in advance! Procedu

block devices

2001-12-04 Thread Dragon Fire
Quick question, I was trolling around the FreeBSD kernel source and the dev directory and noticed there is no bdevsw structure and no block driver files. Is everything implemented in terms of character devices now? Looks like all the support for block devices is contained in the cdevsw struct. T

Re: device object, driver object, cdevsw

2001-12-02 Thread Dragon Fire
I am using stable not devfs for development. In the Design and Implementation of the 4.4 BSD Operating System. Chapter 6 states Device Drivers A device is divided into three main sections 1. Autoconfiguration and initialization routines 2. Routines for servicing I/O requests (the top half) 3. I

device object, driver object, cdevsw

2001-12-02 Thread Dragon Fire
I'm writing a PCI character device driver and need some clairification. As I see the FreeBSD driver structure there are really two components to a device driver, there is the KLD component which contains the device methods for probe, attach, detach, etc and handles the dynamic componet of the dri

PCI device file. /dev/xxxx

2001-12-01 Thread Dragon Fire
Hi Folks, A simple question. I have created a PCI device driver but I have a problem. The core code was developed using the current make_device_driver.sh then modified to fill in the details of the device. The problem is the make_dev call in attach is succeeding but not making the device node i