[PATCH]FSInfo Validation in mountmsdosfs()

2001-06-30 Thread Jiangyi Liu
Hi all, In -current and -stable, mountmsdosfs() doesn't not check if pm_nxtfree exceeds the max cluster in the file system. So if a corrupted msdos filesystem(which is not uncommon) is written, the following code in updatefats()@msdosfs_fat.c will generate an unpleasure panic. :) u_long

Re: Quick question on kgdb

2001-06-30 Thread David Malone
On Sat, Jun 30, 2001 at 12:14:51AM -0400, [EMAIL PROTECTED] wrote: when I load up the installed kernel in / with 'gdb -k kernel' .. it says debugging symbols not found The kernel which is installed is stripped of debugging symbols - you sound find a kernel.debug with symbols in teh compile

Re: Flight of the rat, living wreck.....

2001-06-30 Thread Peter Pentchev
No real knowledge of the ipfw code or the motives behind it here, but just a comment.. On Sat, Jun 30, 2001 at 06:51:33PM +0800, Igor Podlesny wrote: [snip] // so here we start looking through the queue ia != NULL // sanity (I'd have written just (ia)) Yep, just (ia) would

Re[2]: Flight of the rat, living wreck.....

2001-06-30 Thread Igor Podlesny
// so here we start looking through the queue ia != NULL // sanity (I'd have written just (ia)) Yep, just (ia) would have worked, but style(9) mandates (ia != NULL), which is much easier to understand :) Don't want to dispute about the 'right' style :), but :)) I prefer

create executable images from core files?

2001-06-30 Thread Peter Pentchev
Hi, While reading the perlrun(1) manpage today, I stumbled upon a reference to an undump utility that could convert a core file into an executable image (arguably much larger than the actual executable text, because it would have to include the data portions, too). Is there anyhing similar

Re: Flight of the rat, living wreck.....

2001-06-30 Thread Wes Peters
Igor Podlesny wrote: /* * Macro for finding the interface (ifnet structure) corresponding to one * of our IP addresses. */ #define INADDR_TO_IFP(addr, ifp) \ /* struct in_addr addr; */ \ /* struct ifnet *ifp; */ \ { \ register struct in_ifaddr *ia; \

Re: Quick question: AIO / SMP / process-based threading

2001-06-30 Thread Richard Hodges
On Sat, 30 Jun 2001, Michael C . Wu wrote: On Sat, Jun 30, 2001 at 05:47:49AM +, E.B. Dreger scribbled: | 1. Is AIO SMP-safe? AIO is not safe, SMP or not. That is a pretty strong statement. Could you add some more information on this? I have had problems with AIO last year, but I

Re: Status of encryption hardware support in FreeBSD

2001-06-30 Thread Bsdguru
In a message dated 06/29/2001 11:01:16 AM Eastern Daylight Time, [EMAIL PROTECTED] writes: Really? Have you even looked at the net4501 board which was mentioned? It's a single-board computer constructed for some specific communication applications, with no VGA or keyboard

kern.maxproc

2001-06-30 Thread Len Conrad
I need about 1000 processes for a high-volume mail gateway. I´m already getting errors in peak periods with the default maxproc of 530. It seems I can´t set this in loader.conf, as I can other read-only params. Do I have to install the source and recompile? Len

why not two ep pc-cards in one system ?

2001-06-30 Thread Joesh Juphland
I am trying to run two 3com 3c589 pc-cards in one system. Technically one is a straight 3c589 and one is 3c589c. irqs are good, since I can put any one of the two 3c589's into the laptop along with a wavelan (wi) and both cards show up fine and work. But when I put two 3c589's in, the first

Re: interrupt on to Kernel

2001-06-30 Thread vinu pattery
Please scroll down Please scroll down It's not clear what you mean by "interrupt the Kernel for resources"... the only resources you can grab at interrupt are things that you pre-allocated, things you get from a zalloci() from a

Re: Status of encryption hardware support in FreeBSD

2001-06-30 Thread Nate Williams
Really? Have you even looked at the net4501 board which was mentioned? It's a single-board computer constructed for some specific communication applications, with no VGA or keyboard support, or spinning fans, and is pretty inexpensive and in a very small form

xinstall args to strip

2001-06-30 Thread Rob Braun
FreeBSD's xinstall [install(1)] lacks a way to pass arguments to strip. In non-ELF systems this can be important. Below is a patch to FreeBSD's xinstall TOT that adds a -Z flag that takes an argument that can be passed to strip(1) when it is exec'd. It also lets the user specify an

Re: Re[2]: Flight of the rat, living wreck.....

2001-06-30 Thread Mike Meyer
Igor Podlesny [EMAIL PROTECTED] types: // so here we start looking through the queue ia != NULL // sanity (I'd have written just (ia)) Yep, just (ia) would have worked, but style(9) mandates (ia != NULL), which is much easier to understand :) Don't want to

Re: Status of encryption hardware support in FreeBSD

2001-06-30 Thread Bsdguru
In a message dated 06/30/2001 3:44:04 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: Your premise that embedded appliances are somehow doomed to use pitifully outdated processors is simply wrong. Who said anything about pitifully outdated processors. I can buy a heck of

kernel ddb patch for setting hardware watchpoints

2001-06-30 Thread Brian Dean
Hi, Please look over the following patch to ddb. This patch adds the 'hwatch' and 'dhwatch' commands to set and delete hardware watchpoints. These commands allow one to utilize hardware watchpoints without having to modify the debug registers directly (which can be tricky). I modified the

Re: Status of encryption hardware support in FreeBSD

2001-06-30 Thread Nate Williams
Your premise that embedded appliances are somehow doomed to use pitifully outdated processors is simply wrong. Who said anything about pitifully outdated processors. I can buy a heck of alot of CPU horsepower w/out buying the latest/greatest CPU. As a matter of

compatibility of UFS-partitioned FireWire drives

2001-06-30 Thread Rich Morin
I have a luggable FireWire drive which I am considering using for backups and data mobility on a variety of machines and operating systems (roughly, *BSD, Mac OS X, and (eventually) Linux). I'd welcome any suggestions as to things to do or avoid. I'd rather not get a ways down the road and

Re: Status of encryption hardware support in FreeBSD

2001-06-30 Thread Soren Kristensen
Hi, Bryan, again you're missing the point :-) You're working out from just processing power, in the embedded world you usually start from somewhere else In the case of my products, the requirement are small size, low cost, no moving parts (no fans or disks), long life, low power, meaning a

Re: Quick question on kgdb

2001-06-30 Thread FastPathNow
Both the kernel and kernel.debug files are of exactly the same size - about 3.3 Megs . This is inspite of having the DEBUG=-g option being set in the MYKERNEL directory. Any other clues, why this could be happening. I also tried the other procedure of using 'make depend' etc as outlined in the

Re: Quick question: AIO / SMP / process-based threading

2001-06-30 Thread Alfred Perlstein
* Michael C . Wu [EMAIL PROTECTED] [010630 14:05] wrote: On Sat, Jun 30, 2001 at 05:47:49AM +, E.B. Dreger scribbled: | 1. Is AIO SMP-safe? AIO is not safe, SMP or not. | 2. If not, how could one force coherency? (Read and rewrite locked |a word from each cache line?) Is it

Re: Quick question: AIO / SMP / process-based threading

2001-06-30 Thread E.B. Dreger
Date: Sat, 30 Jun 2001 22:28:29 -0500 From: Alfred Perlstein [EMAIL PROTECTED] Can you point to some specific PRs about this or crashdumps before (or at least while) taking pot shots at the AIO implementation? In the mean time, until somebody can substantiate that claim... is AIO SMP safe?

Re: Quick question on kgdb

2001-06-30 Thread Bill Moran
[EMAIL PROTECTED] wrote: Both the kernel and kernel.debug files are of exactly the same size - about 3.3 Megs . This is inspite of having the DEBUG=-g option being set in the MYKERNEL directory. Any other clues, why this could be happening. I also tried the other procedure of using 'make