Re: possible deadlocks?

2003-08-14 Thread Ted Unangst
one more. This falls into the very improbable category. Ordinarily, I don't think this is possible because FreeBSD doesn't support hotplug PCI, so sk attachment can't be raced. However, assuming I had some hot plug sk card, it seems like running ifconfig sk0 at just the wrong point during sk1

Re: GEOM Gate.

2003-08-14 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Pawel Jakub Dawidek writes : --Dx9iWuMxHO1cCoFc Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello hackers... I've done something what will be called GEOM Gate. This software provide disk

Adding device IDs to if_wi?

2003-08-14 Thread Kirk Strauser
I bought a Microsoft MN-520 WLAN card (Prism 2 chipset). It works well under Linux, but I want to use it with FreeBSD. The card does not currently exist in the pccarddevs database, so the if_wi drive doesn't recognize it. I've added it with this patch: Index: sys/dev/pccard/pccarddevs

Re: Why is ATAPI DMA disabled by default ?

2003-08-14 Thread Brooks Davis
On Thu, Aug 14, 2003 at 01:45:45AM +0300, Alexander Serkov wrote: I use 5.1-current and have found that by default FreeBSD disables ATAPI's support for DMA transfers and thus uses CPU hungry PIO modes. It even makes sysctl used to change this read-only. I had changed the default value of

GEOM Gate.

2003-08-14 Thread Pawel Jakub Dawidek
Hello hackers... I've done something what will be called GEOM Gate. This software provide disk devices mounting through the network. http://garage.freebsd.pl/geom_gate.tbz Installation is quite trivial: # tar -jvxf geom_gate.tbz # cd geom_gate # make #

Re: Missing system call in linux emulation ( patch )

2003-08-14 Thread Kenneth Culver
Send a PR. On Thu, 14 Aug 2003, Steven Hartland wrote: I've created a patch for the linux emulation which adds a dummy for the exit_group syscall along with defining all functions up to 252 this fixes a crash in the BattleField 1942 server. How do I go about getting this into the various

Re: GEOM Gate.

2003-08-14 Thread Buckie
BTW, QNX had this for a long time, it's called QNet in there. Allows transparently to mount or use anything in /dev. Even a soundcard! PJD Hello hackers... PJD I've done something what will be called GEOM Gate. PJD This software provide disk devices mounting through the network. PJD

increasing number of buffers in BSD4.4

2003-08-14 Thread Eno Thereska
Hi, In McKusick's book The design and Implementation of the 4.4BSD Operating system, in the Buffer Management subsection of the I/O system overview, there is a a sentence that says ...depending on available memory, a system is configured with from 100 to 1000 buffers.. referring to the number of

Re: Tuning HZ for semi-realtime applications

2003-08-14 Thread Daniel Eischen
On Tue, 5 Aug 2003, David Schultz wrote: On Tue, Aug 05, 2003, Roderick van Domburg wrote: There's this Linux kernel patch that allows for timeslice tuning. It's got the following rules of the thumb: * The optimal setting is your CPU's speed in MHz's / 2 * ...but there is no point in

Re: COW and mprotect on non-shared memory

2003-08-14 Thread Ed L Cashin
Luoqi Chen [EMAIL PROTECTED] writes: [Ed writes] That means that if I do this: for (i = 0; i n; ++i) { assert(!mprotect(p, pgsiz, PROT_NONE)); assert(!mprotect(p, pgsiz, PROT_READ|PROT_WRITE|PROT_EXEC)); p[i] = i 0xff; } ... I get n minor page faults!

Re: possible deadlocks?

2003-08-14 Thread Mike Silbersack
On Thu, 7 Aug 2003, Robert Watson wrote: On Wed, 6 Aug 2003, Ted Unangst wrote: My advisor Dawson Engler has written a deadlock detector, and we'd like some verification. They look like bugs, unless there is some other reason why two call chains cannot happen at the same time. Neat --

Re: possible deadlocks?

2003-08-14 Thread Ted Unangst
On Fri, 8 Aug 2003, David Schultz wrote: On Wed, Aug 06, 2003, Ted Unangst wrote: My advisor Dawson Engler has written a deadlock detector, and we'd like some verification. They look like bugs, unless there is some other reason why two call chains cannot happen at the same time. Cool!

Re: How to get a device_t

2003-08-14 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], John Birrell writes : I'm not convinced that any hacking is required other than passing the device_t parent to nexus_pcib_is_host_bridge (in STABLE) as Bernd says. I traced the boot on my system and the MMCR is initialised early (when the Timecounter ELAN output

ucom not in MAKEDEV in 4.8-STABLE

2003-08-14 Thread JacobRhoden
Hi People, I was wondering, is there a reason why the 4.8-STABLE version of MAKEDEV does not have the ability to generate ucom. (I was wondering because I have to back port a bit of code on every machine I want to do it on). Thanks, Jacob Jacob Rhoden -

Re: How to get a device_t

2003-08-14 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Bernd Walter writes: I need to add I2C support for a Elan520 based soekris system. The system has the required GPIO pins and there is the iicbb driver to handle generic bitbang code - just needing a simple layer driver to enable, disable and read pins. But unlike

Re: panic during nfs operations in 4.8S on Dell 2650

2003-08-14 Thread Mark Powell
On Thu, 7 Aug 2003, Mark Powell wrote: We've recently got a couple of Dell Poweredge 2650's with 2x2.8GHz Xeons, 4GB RAM, PERC 3/Di (aac) RAID controller. They are mounting a 700GB fs over NFS from a NetAPP. They are connected to a Cisco 3550-12T gigabit over copper switch. I tried them

Re: panic during nfs operations in 4.8S on Dell 2650

2003-08-14 Thread Andrew Kinney
On 8 Aug 2003, at 11:52, Mark Powell wrote: #6 0xc0312ea3 in generic_bzero () FWIW, I think this is where the problem occurred. Probably tried to zero a page that didn't exist because of a failed KVA allocation. I probably don't have my terminology correct since I'm a system admin and not

Re: GEOM Gate.

2003-08-14 Thread Lars Eggert
Bruce M Simpson wrote: On Thu, Aug 14, 2003 at 09:52:25PM +0400, Buckie wrote: BTW, QNX had this for a long time, it's called QNet in there. Allows transparently to mount or use anything in /dev. Even a soundcard! Whatever next? PCI-over-IP? *shudder* Not new: http://www.isi.edu/div7/netstation/

Re: Ultra ATA card doesn't seem to provide Ultra speeds. - SOLVED

2003-08-14 Thread Soeren Schmidt
It seems Buckie wrote: Hello folks. Some of you may remember my trouble with SI0680-based ULTRADMA ATA controller card. Well, the problem was obvivously the faulty card. After replacing it works fine. I don't know what magic Soeren has put in the SI driver, but unlike Windows it never

Re: Tuning HZ for semi-realtime applications

2003-08-14 Thread Roderick van Domburg
There's this Linux kernel patch that allows for timeslice tuning. It's got the following rules of the thumb: * The optimal setting is your CPU's speed in MHz's / 2 * ...but there is no point in going above 1000 Hz * ...and be sure to use multiples of 100 Hz I am everything but an expert at

Re: Tuning HZ for semi-realtime applications

2003-08-14 Thread Chris BeHanna
On Sunday 03 August 2003 16:54, Sean Hamilton wrote: Greetings, [...wants to send out a lot of traffic, then read responses 1000 times per second...is currently using select(2) in a loop...] Should I set HZ to 1000 (the frequency of my application) or should I set it to a much higher value?

RE: hang in sio driver when interrupt occurs while in siocnputc()

2003-08-14 Thread Don Bowman
From: Don Bowman I find that if the kernel is in the middle of a printf, is using a serial console, and a key is pressed, that i may end up stuck in the siointr. I added a counter to siointr1() so that if it receives more than 100 characters in a single interrupt it panics. What I find

Re: [patch] Re: getfsent(3) and spaces in fstab

2003-08-14 Thread Simon Barner
imho - expensive algorithm... i want to see anything more simple... like gtok() instead es_strsep() + remove_escapes()? I have adopted my patch to use your neat gtok() function, but I came to the conclusion that a two-pass algorithm is necessary: The first pass detects whether a line from

Re: USB versus SMP and Epson printers.

2003-08-14 Thread Frank Mayhar
Don Lewis wrote: Unless someone snuck it in while I wasn't looking, our ulpt implementation doesn't support reading data from the printer, so it's not possible to check the ink levels. I've had to boot Linux in order to do this. Hmm. Okay... Unfortunately, the straight printing didn't

Re: How to get a device_t

2003-08-14 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Bernd Walter [EMAIL PROTECTED] writes: : Back to the original question: : How do I get the device_t from nexus? You don't. You are assigned one. : Is there a get_nexus() function somewhere? No. You don't need it. Chances are you could create an

Re: Tuning HZ for semi-realtime applications

2003-08-14 Thread David Schultz
On Tue, Aug 05, 2003, Roderick van Domburg wrote: There's this Linux kernel patch that allows for timeslice tuning. It's got the following rules of the thumb: * The optimal setting is your CPU's speed in MHz's / 2 * ...but there is no point in going above 1000 Hz * ...and be sure to use

Re: Missing system call in linux emulation

2003-08-14 Thread Marcel Moolenaar
On Tue, Aug 12, 2003 at 05:42:51PM +0100, Steven Hartland wrote: Any one know how I can track down what function is missing and hence look at fixing it? In the linux kernel source tree, look in arch/i386/kernel/entry.S. There you'll find all the syscall entry points. Currently they go all the

RE: possible deadlocks?

2003-08-14 Thread John Baldwin
On 06-Aug-2003 Ted Unangst wrote: My advisor Dawson Engler has written a deadlock detector, and we'd like some verification. They look like bugs, unless there is some other reason why two call chains cannot happen at the same time. deadlock between ktrace_mtx and sema_mtx. is it possible

Re: Using CVS diff to find out what has changed, including new files

2003-08-14 Thread Rolf Grossmann
Hi, Artem 'Zazoobr' Ignatjev wrote: On Mon, 04.08.2003, at 17:04, Rolf Grossmann wrote: I'm using cvsup for a while now to get a copy of the FreeBSD CVS repository and I have a (slightly modified) version of -STABLE checked out from there. Now there are certain areas where I'd like to see

How to get a device_t

2003-08-14 Thread Bernd Walter
I need to add I2C support for a Elan520 based soekris system. The system has the required GPIO pins and there is the iicbb driver to handle generic bitbang code - just needing a simple layer driver to enable, disable and read pins. But unlike normal isa/pci hardware probing the existence of the

USB versus SMP and Epson printers.

2003-08-14 Thread Frank Mayhar
On Monday I received my brand-new Epson C82, a replacement for a 900N with a dead print head. I had already configured CUPS so I imagined that I would just hook it up with USB and everything would be happy. Well, that's not how it turned out. I tried two different machines, both with Tyan

RE: hang in sio driver when interrupt occurs while in siocnputc()

2003-08-14 Thread Don Bowman
I propose this patch, which solves my issue. Comments? $ cvs diff -U3 sio.c Index: sio.c === RCS file: /usr/cvs/src/sys/isa/Attic/sio.c,v retrieving revision 1.291.2.33.1000.4 diff -U3 -r1.291.2.33.1000.4 sio.c --- sio.c 13

Re: How to get a device_t

2003-08-14 Thread John Birrell
On Thu, Aug 07, 2003 at 10:23:03AM -0400, John Baldwin wrote: On 07-Aug-2003 M. Warner Losh wrote: In message: [EMAIL PROTECTED] Bernd Walter [EMAIL PROTECTED] writes: : The host bridge is not available yet at probing time of the host bridge. : What we have is the host bridges

Re: How to get a device_t

2003-08-14 Thread Bernd Walter
On Wed, Aug 06, 2003 at 05:52:57PM -0600, M. Warner Losh wrote: In message: [EMAIL PROTECTED] Bernd Walter [EMAIL PROTECTED] writes: : Back to the original question: : How do I get the device_t from nexus? You don't. You are assigned one. : Is there a get_nexus() function

Re: possible deadlocks?

2003-08-14 Thread Ted Unangst
On Thu, 7 Aug 2003, Robert Watson wrote: Neat -- sounds like two good catches given the responses so far. Can we expect more such reports forthcoming? This kind of help will be invaluable in finishing up the fine-grained locking work. Alternatively, do you plan to post the software? Is

Re: How to get a device_t

2003-08-14 Thread Bernd Walter
On Fri, Aug 08, 2003 at 04:32:43PM -0400, John Baldwin wrote: On 08-Aug-2003 Bernd Walter wrote: On Fri, Aug 08, 2003 at 03:48:22PM -0400, John Baldwin wrote: On 08-Aug-2003 Bernd Walter wrote: On Fri, Aug 08, 2003 at 02:27:30PM -0400, John Baldwin wrote: Well, that would be a

Missing system call in linux emulation ( patch )

2003-08-14 Thread Steven Hartland
I've created a patch for the linux emulation which adds a dummy for the exit_group syscall along with defining all functions up to 252 this fixes a crash in the BattleField 1942 server. How do I go about getting this into the various FreeBSD streams so others can benifit. Steve / K

Re: panic during nfs operations in 4.8S on Dell 2650

2003-08-14 Thread Mark Powell
On Fri, 8 Aug 2003, Mark Powell wrote: On Thu, 7 Aug 2003, Kip Macy wrote: Can you get a backtrace? Isn't that what I included at the bottom of my first message? I tried bumping nmbclusters up to 65536 from 32768. Still got a panic. Here's another backtrace of the latest panic: Script

RE: COW and mprotect on non-shared memory

2003-08-14 Thread Luoqi Chen
For that reason, when you mprotect an area of non-shared, anonymous memory to no access and then back to writable, Linux has no way of knowing that the memory wasn't set for COW before you make it unwritable. It goes ahead and makes all the pages in the area COW. That means that if I do

Re: Adding device IDs to if_wi?

2003-08-14 Thread M. Warner Losh
I've added this to current. Thanks for the data. Warner ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: ucom not in MAKEDEV in 4.8-STABLE

2003-08-14 Thread JacobRhoden
On Thu, 7 Aug 2003 06:39 pm, Peter Pentchev wrote: Err, are you sure you mean -STABLE, and not -RELEASE here? ucom was added to -STABLE's MAKEDEV three weeks ago, in rev. 1.243.2.57 by Kris Kennaway. Oops, I did my last cvsup on my machines about 3 weeks ago. I assumed it hadnt been added

IP Network Multipathing failover on FreeBSD..??

2003-08-14 Thread maillist bsd
Hi all, Is it there have IP Network Multipathing failover on FreeBSD..?? how to do so?? Thanks ³Ì·s¹aÁn±À¤¶:¤Q­±®I¥ñ¡A¦hÁÂ¥¢ÅÊ¡A¤ß²H... http://ringtone.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list

Broadcom 440x

2003-08-14 Thread Michael Day
Hi all. A few months ago I saw that some people were having probs finding a driver for the 440x network card installed on some onboard motherboards. Has anyone had any luck in finding drivers for these cards as I now have a dell laptop that I can’t connect to the network (Not very useful). If

system move

2003-08-14 Thread Martin Vana
Hi, I've bought a new disk and tried to move my FreeBSD 5.1 release on it. Even I'm a real newbie I've followed all the steps from faq/disks 9.2 carrefuly /*eg. dump 0af - / | restore xf -*/ and finally set bootable in sysinstall. All the data are there when I tried to mount it but it is still

syscalls

2003-08-14 Thread Vlad Ciobanu
I'm sorry if this is slightly offtopic, or too general for this particular list, but I can't think of a better place to ask. Also, I've been sent here from Undernet's FreeBSD channel. I am looking for a somewhat more detailed list of the FreeBSD syscalls than what is in

Missing system call in linux emulation

2003-08-14 Thread Steven Hartland
When running the BattleField 1942 server under FreeBSD 5.0-RELEASE / 5.1-RELEASE I get the following when the server terminates or changes map ( which I understand forks exec's then parent quits ) Core was generated by `bf1942_lnxded.stati'. Program terminated with signal 12, Bad system call. #0

Re: Broadcom 440x

2003-08-14 Thread Greg 'groggy' Lehey
On Wednesday, 13 August 2003 at 10:36:01 +1000, Michael Day wrote: Hi all. A few months ago I saw that some people were having probs finding a driver for the 440x network card installed on some onboard motherboards. Has anyone had any luck in finding drivers for these cards as I now have a

Re: Why is ATAPI DMA disabled by default ?

2003-08-14 Thread Maxim Konovalov
On Thu, 14 Aug 2003, 01:45+0300, Alexander Serkov wrote: I use 5.1-current and have found that by default FreeBSD disables ATAPI's support for DMA transfers and thus uses CPU hungry PIO modes. It even makes sysctl used to change this read-only. I had changed the default value of atapi_dma to

Possible patch for vm/vm_glue.c

2003-08-14 Thread Rui Lopes
Hello, I've been reading vm_glue.c and I think I've found a bug regarding the lock of `proc.p_sflag' inside `scheduler' function. From proc.h, int p_sflag; /* (j) PS_* flags. */ and (j) - locked by sched_lock mtx; but the access is done without having the lock. Take a look at the attached

Patch for Alladin dallas (ALi) AGP kernel panic [long]

2003-08-14 Thread Andrea Cocito
Hallo, first of all: I am completely new to both FreeBSD kernel internals and to PC-Intel hardware stuff, and the last time I put my hands on a *BSD kernel was a few years ago, so I might be wrong but still: it works and for sure fixed an existing bug. My machine did not like to go beyond

Re: How to get a device_t

2003-08-14 Thread Bernd Walter
On Wed, Aug 06, 2003 at 07:27:42PM -0600, M. Warner Losh wrote: In message: [EMAIL PROTECTED] Bernd Walter [EMAIL PROTECTED] writes: : The host bridge is not available yet at probing time of the host bridge. : What we have is the host bridges parent (nexus) in the calling function.

Re: How to get a device_t

2003-08-14 Thread M. Warner Losh
In message: [EMAIL PROTECTED] John Birrell [EMAIL PROTECTED] writes: : On Wed, Aug 06, 2003 at 07:45:32PM -0600, M. Warner Losh wrote: : Well, I don't know. The PC Cards that we have in the system are : mapped into the I/O and memory ranges traditionally reserved for the : ISA bus.

Re: GEOM Gate.

2003-08-14 Thread Pawel Jakub Dawidek
On Thu, Aug 14, 2003 at 09:52:25PM +0400, Buckie wrote: + BTW, QNX had this for a long time, it's called QNet in there. Allows + transparently to mount or use anything in /dev. Even a soundcard! I think this isn't really hard to implement. But there are two problems: 1. Device major numbers. 2.

Re: Tuning HZ for semi-realtime applications

2003-08-14 Thread David Schultz
On Wed, Aug 06, 2003, Jan Grant wrote: On Tue, 5 Aug 2003, David Schultz wrote: 100 Hz works just fine for interactive jobs; humans can't tell the difference.[1] They can if they're using X :-) I gave Denim* a trial recently; it was unusable at 100Hz and fine at 1000. Yes, polling a

Re: getting from bio to buf in dastrategy()

2003-08-14 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Eno Thereska writes: in /sys/cam/scsi/scsi_da.c the dastrategy() function takes as an argument struct bio* bp Now I need to get to the struct *buf that bp belongs to. You can't do that, there may not be any struct buf. How can a bio exist on it's own,

Re: How to get a device_t

2003-08-14 Thread Bernd Walter
On Fri, Aug 08, 2003 at 06:03:38PM +1000, John Birrell wrote: On Fri, Aug 08, 2003 at 09:44:08AM +0200, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], John Birrell writes : I'm not convinced that any hacking is required other than passing the device_t parent to

COW and mprotect on non-shared memory

2003-08-14 Thread Ed L Cashin
Hi. I've noticed that in FreeBSD, the struct vm_map_entry has an eflags member that can have the MAP_ENTRY_COW bit set. In the vm_map_protect function, which is used by mprotect, it looks like this bit is used to determine whether or not to set the page table entries for write access or not:

Re: Ultra ATA card doesn't seem to provide Ultra speeds. - SOLVED

2003-08-14 Thread Buckie
Hello folks. Some of you may remember my trouble with SI0680-based ULTRADMA ATA controller card. Well, the problem was obvivously the faulty card. After replacing it works fine. I don't know what magic Soeren has put in the SI driver, but unlike Windows it never crashed, never hang, it even tried

Re: getting from bio to buf in dastrategy()

2003-08-14 Thread Eno Thereska
Hi, To: Eno Thereska [EMAIL PROTECTED] Date: Mon, 04 Aug 2003 07:43:44 +0200 In message [EMAIL PROTECTED], Eno Thereska writes: Hi all, I am hacking into the FreeBSD 5.0 code. I jumped from using 4.4 to 5.0 and a couple of things have changed. Here is my question: in /sys/cam/scsi/scsi_da.c the

Re: porting a webcam

2003-08-14 Thread Paulo Roberto
--- John-Mark Gurney [EMAIL PROTECTED] wrote: I wouldn't write a kernel driver for a camera and use ugen(4) instead. I am terribly sorry for posting this, but I cannot find documentation about implementing with ugen except for the man page. Does anyone indicate a good site? TIA PAulo Roberto

Re: porting a webcam

2003-08-14 Thread John-Mark Gurney
Paulo Roberto wrote this message on Wed, Aug 13, 2003 at 17:23 -0700: --- John-Mark Gurney [EMAIL PROTECTED] wrote: I wouldn't write a kernel driver for a camera and use ugen(4) instead. I am terribly sorry for posting this, but I cannot find documentation about implementing with ugen

Re: How to get a device_t

2003-08-14 Thread M. Warner Losh
In message: [EMAIL PROTECTED] John Birrell [EMAIL PROTECTED] writes: : On Wed, Aug 06, 2003 at 05:50:45PM -0600, M. Warner Losh wrote: : In message: [EMAIL PROTECTED] : Poul-Henning Kamp [EMAIL PROTECTED] writes: : : In fact what you may want to do is hang the entire

[no subject]

2003-08-14 Thread S.Gopinath
Dear Sir, I'm required to run a.out binaries like foxplus in a recent Intel based hardware. I have chosen FreeBSD 5.1 and successfuly installed. But I could not run a.out binaries like Foxplus. I tried it by load ibcs modules and aout modules in /boot/kernel directory. My foxplus did not

Re: How to get a device_t

2003-08-14 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Bernd Walter writes: On Wed, Aug 06, 2003 at 12:18:28PM +0200, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Bernd Walter writes: I need to add I2C support for a Elan520 based soekris system. The system has the required GPIO pins and there is the iicbb

Re: GEOM Gate.

2003-08-14 Thread Bruce M Simpson
On Thu, Aug 14, 2003 at 09:52:25PM +0400, Buckie wrote: BTW, QNX had this for a long time, it's called QNet in there. Allows transparently to mount or use anything in /dev. Even a soundcard! Whatever next? PCI-over-IP? *shudder* BMS ___ [EMAIL

Re: How to get a device_t

2003-08-14 Thread John Baldwin
On 08-Aug-2003 Bernd Walter wrote: On Fri, Aug 08, 2003 at 03:48:22PM -0400, John Baldwin wrote: On 08-Aug-2003 Bernd Walter wrote: On Fri, Aug 08, 2003 at 02:27:30PM -0400, John Baldwin wrote: Well, that would be a major pain on current since nexus is already finished attaching many of

Re: porting a webcam

2003-08-14 Thread John-Mark Gurney
Bernd Walter wrote this message on Fri, Aug 08, 2003 at 18:06 +0200: On Fri, Aug 08, 2003 at 07:56:26AM -0700, Paulo Roberto wrote: * You guys think it is too difficult and I should just give up due to my lack of experience? And if I manage to code properly, is it too bureaucratic to get it

Re: Missing system call in linux emulation ( patch )

2003-08-14 Thread Robert Watson
On Thu, 14 Aug 2003, Steven Hartland wrote: I've created a patch for the linux emulation which adds a dummy for the exit_group syscall along with defining all functions up to 252 this fixes a crash in the BattleField 1942 server. How do I go about getting this into the various FreeBSD

Re: How to get a device_t

2003-08-14 Thread John Birrell
On Fri, Aug 08, 2003 at 02:35:36PM +0200, Bernd Walter wrote: What resources does your elanmmcr device manage? There is a lots of different stuff to manage: timers, pio pins, ... Just managing exclusive mmcr adresses will not be enough because different pio pins share registers. On the other

Fw: your mail

2003-08-14 Thread S.Gopinath
- Original Message - From: S.Gopinath [EMAIL PROTECTED] To: Kris Kennaway [EMAIL PROTECTED] Sent: Thursday, August 14, 2003 7:39 PM Subject: Re: your mail Dear Sir, As per your suggestion, I installed the packages Compat 2.x, 3.x, and 4.x But still I'm unable to use Foxplus

Re: GEOM Gate.

2003-08-14 Thread Wilko Bulte
On Thu, Aug 14, 2003 at 01:03:27PM +0200, Pawel Jakub Dawidek wrote: Hello hackers... I've done something what will be called GEOM Gate. This software provide disk devices mounting through the network. http://garage.freebsd.pl/geom_gate.tbz Cute...! reminds me of RFS on SysV. W/ --

3Com 3C940 gigabit ethernet adapter

2003-08-14 Thread Wes Peters
While poking around looking for support for this chip on the ASUS P4P800, I happened to find that our friends over in OpenBSD-land have added support for the 3c940, which is a variant of the SysKonnect Marvell chipset. This seems to have been added in r1.32 of if_sk.c in the OpenBSD sources.

Re: Missing system call in linux emulation

2003-08-14 Thread Steven Hartland
Hmm I couldn't even find these until I got to 2.5.X kernel so most strange they would be using these but I'll contact the dev at DICE to double check. Thanks for the info. Steve / K - Original Message - From: Marcel Moolenaar [EMAIL PROTECTED] To: Steven Hartland [EMAIL PROTECTED]

Re: possible deadlocks?

2003-08-14 Thread Peter Jeremy
On Mon, Aug 11, 2003 at 03:50:26PM -0700, Ted Unangst wrote: On Mon, 11 Aug 2003, John Baldwin wrote: Also, SK_LOCK != SK_IF_LOCK, or is that a typo? If it is a typo, then the lock order should still be fixed in some fashion. They are the same. SK_IF_LOCK is called on the sk_if_softc, but

Re: your mail

2003-08-14 Thread Kris Kennaway
On Thu, Aug 14, 2003 at 03:14:27PM +0530, S.Gopinath wrote: Dear Sir, I'm required to run a.out binaries like foxplus in a recent Intel based hardware. I have chosen FreeBSD 5.1 and successfuly installed. But I could not run a.out binaries like Foxplus. I tried it by load ibcs

Driver to Driver Communication

2003-08-14 Thread Jayasheela Bhat
Hi All, Could anybody help me to know how a driver to driver communication is done in FreeBSD ? My exact problem is something like this. In the current implementation of scsi_target mode driver, there is a associated userland application polling the target device and data is read from target

Why is ATAPI DMA disabled by default ?

2003-08-14 Thread Alexander Serkov
I use 5.1-current and have found that by default FreeBSD disables ATAPI's support for DMA transfers and thus uses CPU hungry PIO modes. It even makes sysctl used to change this read-only. I had changed the default value of atapi_dma to 1 in dev/ata/atapi-all.c to 1 and it worked fine for me. Can

Re: Why is ATAPI DMA disabled by default ?

2003-08-14 Thread Soeren Schmidt
It seems Maxim Konovalov wrote: I use 5.1-current and have found that by default FreeBSD disables ATAPI's support for DMA transfers and thus uses CPU hungry PIO modes. It even makes sysctl used to change this read-only. I had changed the default value of atapi_dma to 1 in

Re: GEOM Gate.

2003-08-14 Thread neq5
On Thu, Aug 14, 2003 at 01:03:27PM +0200, Pawel Jakub Dawidek wrote: This software provide disk devices mounting through the network. maaan you're amazing. i hope some day you'll write remote terminal emulator. that would be great. -- klub milosnikow czeskiego techno

RE: Broadcom 440x

2003-08-14 Thread Michael Day
Would be more than willing to help with testing and if there is any coding I can help with I will give it a try (Never done a *nix driver before). My laptop is a Dell Inspiron 8500 for the record. Regards Michael Day Electrical Engineer Paterson Flood Engineers Tel: +61 7 3871 0533 Fax:

Re: increasing number of buffers in BSD4.4

2003-08-14 Thread David Schultz
On Thu, Aug 14, 2003, Eno Thereska wrote: In McKusick's book The design and Implementation of the 4.4BSD Operating system, in the Buffer Management subsection of the I/O system overview, there is a a sentence that says ...depending on available memory, a system is configured with from 100 to

Re: [PR bin/55539] getfsent(3) and spaces in fstab

2003-08-14 Thread Simon Barner
Could somebody please review my patch - if there are no objections (but I am sure there are some more details that can be improved), I will write a PR. I have filed a PR in order to preserve this patch. It can be found here: http://www.freebsd.org/cgi/query-pr.cgi?pr=55539 Regards, Simon

Re: Missing system call in linux emulation

2003-08-14 Thread Marcin Dalecki
Marcel Moolenaar wrote: On Tue, Aug 12, 2003 at 05:42:51PM +0100, Steven Hartland wrote: Any one know how I can track down what function is missing and hence look at fixing it? In the linux kernel source tree, look in arch/i386/kernel/entry.S. There you'll find all the syscall entry points.

Re: panic during nfs operations in 4.8S on Dell 2650

2003-08-14 Thread Andrew Kinney
On 12 Aug 2003, at 9:44, Mark Powell wrote: On Fri, 8 Aug 2003, Andrew Kinney wrote: On 8 Aug 2003, at 11:52, Mark Powell wrote: #6 0xc0312ea3 in generic_bzero () FWIW, I think this is where the problem occurred. Probably tried to zero a page that didn't exist because of a

Pent@NET drivers for FreeBSD

2003-08-14 Thread Alexey V. Lukin
Hi, FreeBSD hackers! Is there some ongoing work on drivers for [EMAIL PROTECTED] and other DVB cards from http://www.pentamedia.com? Any efforts to port Linux drivers? If no, what DVB card is preferable for production use with FreeBSD? TNX, -- WBR, Alex Lukin, RIPE NIC HDL: LEHA1-RIPE

Re: 3Com 3C940 gigabit ethernet adapter

2003-08-14 Thread Wilko Bulte
On Tue, Aug 12, 2003 at 12:52:43PM -0700, Wes Peters wrote: While poking around looking for support for this chip on the ASUS P4P800, I happened to find that our friends over in OpenBSD-land have added support for the 3c940, which is a variant of the SysKonnect Yes, a patch had been

Re: panic during nfs operations in 4.8S on Dell 2650

2003-08-14 Thread Mark Powell
On Tue, 12 Aug 2003, Andrew Kinney wrote: Well, it's been awhile since I did this, but it seems like we were having some trouble with some applications or system utilities. It could have just been that we had some stuff out of synch on that system since it had been upgraded from 4.5-RELEASE

RE: Possible patch for vm/vm_glue.c

2003-08-14 Thread John Baldwin
On 11-Aug-2003 Rui Lopes wrote: Hello, I've been reading vm_glue.c and I think I've found a bug regarding the lock of `proc.p_sflag' inside `scheduler' function. From proc.h, int p_sflag; /* (j) PS_* flags. */ and (j) - locked by sched_lock mtx; but the access is done without having the

Re: panic during nfs operations in 4.8S on Dell 2650

2003-08-14 Thread Mark Powell
On Fri, 8 Aug 2003, Andrew Kinney wrote: On 8 Aug 2003, at 11:52, Mark Powell wrote: #6 0xc0312ea3 in generic_bzero () FWIW, I think this is where the problem occurred. Probably tried to zero a page that didn't exist because of a failed KVA allocation. We had several panics on one of

lock order reversal - in many places

2003-08-14 Thread Christoph Kukulies
I get this often now with 5.1-current on my Dell Inspiron 8000 notebook but I tend to believe it's not notebook related: This seemed to occur when the nvidia.ko module is loaded: Aug 11 11:15:58 kukubook kernel: nvidia0: GeForce2 Go mem 0xe000-0xe7ff,0xfc00-0xfcff irq 11 at

Re: How to get a device_t

2003-08-14 Thread Bernd Walter
On Fri, Aug 08, 2003 at 03:48:22PM -0400, John Baldwin wrote: On 08-Aug-2003 Bernd Walter wrote: On Fri, Aug 08, 2003 at 02:27:30PM -0400, John Baldwin wrote: Well, that would be a major pain on current since nexus is already finished attaching many of its drivers by the time it gets to

sysctl kern.ipc.shm* description ?

2003-08-14 Thread bruno schwander
Is there a good explanation of what those variables are and the dangers/advantages of changing them ? I ask because I determined one port (multimedia/nuppelvideo) needs more shared memory to run (on my system). But when I changed some of the kern.ipc.shm* sysctl, the program ran for 15 sec and

porting a webcam

2003-08-14 Thread Paulo Roberto
Hello, I am about to code my first kmod. I am trying to port an usb camera to FreeBSD, and since I am new at system development, I hope you don't mind helping me out. If this is not the correct list I should post, please point me what list I should post to. I got a few questions: * Does the 5

Re: How to get a device_t

2003-08-14 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Bernd Walter [EMAIL PROTECTED] writes: : On Wed, Aug 06, 2003 at 05:52:57PM -0600, M. Warner Losh wrote: : In message: [EMAIL PROTECTED] : Bernd Walter [EMAIL PROTECTED] writes: : : Back to the original question: : : How do I get the

Re: How to get a device_t

2003-08-14 Thread Bernd Walter
On Wed, Aug 06, 2003 at 06:37:10PM -0600, M. Warner Losh wrote: In message: [EMAIL PROTECTED] Bernd Walter [EMAIL PROTECTED] writes: : On Wed, Aug 06, 2003 at 05:52:57PM -0600, M. Warner Losh wrote: : In message: [EMAIL PROTECTED] : Bernd Walter [EMAIL PROTECTED]

Re: How to get a device_t

2003-08-14 Thread Bernd Walter
On Wed, Aug 06, 2003 at 08:39:37PM -0600, M. Warner Losh wrote: In message: [EMAIL PROTECTED] John Birrell [EMAIL PROTECTED] writes: : On Wed, Aug 06, 2003 at 07:45:32PM -0600, M. Warner Losh wrote: : The SC520 has onboard support to control 3 flash chips. : The board I have has 2

Re: How to get a device_t

2003-08-14 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Bernd Walter [EMAIL PROTECTED] writes: : The host bridge is not available yet at probing time of the host bridge. : What we have is the host bridges parent (nexus) in the calling function. : Either we hand out the parents device_t to

Re: How to get a device_t

2003-08-14 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Bernd Walter writes: On Wed, Aug 06, 2003 at 12:45:43PM +0200, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Bernd Walter writes: On Wed, Aug 06, 2003 at 12:18:28PM +0200, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Bernd Walter writes: From

Re: x86 Disassembler

2003-08-14 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Bruce M Simpson [EMAIL PROTECTED] writes: : On Tue, Aug 12, 2003 at 05:18:12PM -0400, Ryan Sommers wrote: : Are there any tools to disassemble an x86 binary file? objdump does a nice : job on most files. However, I'm messing with some machine-code

Re: x86 Disassembler

2003-08-14 Thread David Schultz
On Tue, Aug 12, 2003, Ryan Sommers wrote: Are there any tools to disassemble an x86 binary file? objdump does a nice job on most files. However, I'm messing with some machine-code binary files that don't have ELF headers or anything other then the machine-code (ie MBR's). I'd like to

  1   2   >