Hi all,
I've taken a look around for an implementation of atomic bit operations in
FreeBSD (similar to Linux' asm/bitopt.h, which include clear_bit() and
test_and_set_bit()) but haven't found any. The only thing I've found are
the atomic clear/set/add/sub routines in machine/atomic.h.
Do we hav
> On 01-Feb-01 Matthew Emmerton wrote:
> >> On 31-Jan-01 Matthew Emmerton wrote:
> >> > Hi all,
> >> >
> >> > I've taken a look around for an implementation of atomic bit
operations
> > in
> >> > FreeBSD (similar to Linux'
> On 31-Jan-01 Matthew Emmerton wrote:
> > Hi all,
> >
> > I've taken a look around for an implementation of atomic bit operations
in
> > FreeBSD (similar to Linux' asm/bitopt.h, which include clear_bit() and
> > test_and_set_bit()) but haven't f
> On 01-Feb-01 Matthew Emmerton wrote:
> >> 2) atomic_set_int(&my_int, 4); sets bit _2_ in the integer variable
> > my_int.
> >> Make sense? You can't address individual bits on a machine. :-P
> >>
> >> > I presume that I could wrap the
> ok, what would be the minimal kernel that i can compile :),
> or is there a document somewhere that says that info? We have
> LINT, should we make something called MIN for minimal kernel needed to
boot?
It's not really feasible to create a "minimal" kernal, since "minimal"
really depends on yo
> this isn't what i was askingFWIW, my current kernel is 1.4M :P.
>
> What i'm wanting to know is what is the minimal kernel (meaning what
> HAS to be there for it to boot) that can be compiled. I want to try using
> the KLM feature for pretty much everything (if_dc, if_ed, ipfw, nfs, etc
> e
> Hi,
>
> "top" always puts CPU idle time in last, but I think in CPU states,
> idle is most important field, could anyone move idle field to first.
It all depends on your focus.
Someone using FreeBSD as a terminal or fax server with a whole bunch of
serial devices might want "interrupt" first
On 7 Feb 2001, Dag-Erling Smorgrav wrote:
> Matthew Luckie <[EMAIL PROTECTED]> writes:
> > I completely understand your plea to not use 3.0 release.
> > I am personally using 4.2-stable. Its not my decision to use 3.0
> > I beleive the computers running 3.0 have been running it for several years
On Thu, 8 Feb 2001, Dan Langille wrote:
> On 7 Feb 2001, at 21:14, Matthew Emmerton wrote:
> > On 7 Feb 2001, Dag-Erling Smorgrav wrote:
> >
> > > Matthew Luckie <[EMAIL PROTECTED]> writes:
> > > > I completely understand your plea to not use 3.0 release
> In message <[EMAIL PROTECTED]> Kenny Drobnack writes:
> : Up there on my wish list is getting a journaling
> : filesystem ported to FreeBSD.
You may wish to check out IBM's JFS port for Linux
(http://oss.software.ibm.com/developerworks/opensource/jfs/) It's released
under the GPL. The nice
On Mon, 12 Feb 2001, Jordan Hubbard wrote:
> > One other point that I would like to understand is why -j4 takes
> > longer on all of my systems. That goes against what everyone claims
> > should happen.
>
> With how many running processors? If you're running -j4 on a
> uniprocessor system, you'
> On Mon, 12 Feb 2001 08:20:55 -0800, Julian Elischer wrote:
> > [EMAIL PROTECTED] wrote:
> > >
> > > I'm very sorry if this is a stupid question.
> > >
> > > In our company, we want to set up a small network of about 20 PCs.
> ADSL
> > > seems like a good inexpensive solution, and I underst
> I cvsup'ed my 4.2-stable box and did the usual
> make buildworld
> make buildkernel KERNCONF=
> where KNAME is the name of theconfig file
> make installkernel KERNCONF=
> make installworld
>
> and then rebooted the box. A short while I modified my kernel config
> to remove sl and
On Thu, 1 Mar 2001, Robert Watson wrote:
> On Wed, 28 Feb 2001, Ken Bolingbroke wrote:
>
> > Long shot, probably, but I've got a bunch of virtual machines on an IBM
> > S/390 mainframe, and while we're running SuSE Linux on most of them, on
> > a whim I tossed out the idea of running FreeBSD on
> Well here's the story: a few days ago my video card broke, so I'm without
> X and such, and using a spare 486 box on the freebsd console. Out of lack
of
> other things to do, I did most of the porting of one of the screensavers
in the
> xscreensaver collection to the freebsd syscons.
>
> The p
> On Fri, 9 Mar 2001, Matt Dillon wrote:
>
> > You can't safely do FP instructions in the kernel. I do not
> > believe the FP context is saved/restored between processes in kernel
> > mode, only from user mode. The kernel saves and restores the fp
state
> > in the few places it u
> > On Fri, 9 Mar 2001, Matt Dillon wrote:
> >
> > > You can't safely do FP instructions in the kernel. I do not
> > > believe the FP context is saved/restored between processes in
kernel
> > > mode, only from user mode. The kernel saves and restores the fp
> state
> > > in the f
> Since I would imagine a large percentage of FreeBSD users run on i686
> cores, it'd be great to get this pretty significant speed increase into
our
> tree.
I sure hope I'm not the only one with a "lab" of 4 FreeBSD machines that are
all 486s or 586s.
It would be great to implement these patche
> > I sure hope I'm not the only one with a "lab" of 4 FreeBSD machines that
are
> > all 486s or 586s.
>
> You may find that the 686 assembly is as fast on a 386/486/586 as
> the old assembly is. Maybe you could test it and let the list know?
I was under the impression that the 586/686 code uses
> >>> I sure hope I'm not the only one with a "lab" of 4 FreeBSD
> >>> machines that are all 486s or 586s.
> >>
> >> You may find that the 686 assembly is as fast on a 386/486/586 as
> >> the old assembly is. Maybe you could test it and let the list know?
> >
> > I was under the impression that th
> The ypserv bug (the one where ypserv randomly stops responding or
> just seg-faults) is still very much alive. I had to restart it
> about 11 times in the course of 20 minutes this morning. That's
> the bad news, the good news is that I started it each time with
> 'ktrace -i'.
>
> Also, in the
> Hello,
>
> In writing an article on syslogd and newsyslog, I've noticed something
> intensely annoying about newsyslog.conf.
>
> FreeBSD supports three different formats for dates in newsyslog.conf:
> raw hours since last rotation, ISO 8601, and FreeBSD-specific
> week-day-month.
>
> Wouldn't it
> -BEGIN PGP SIGNED MESSAGE-
>
> Maybe this isn't right mailing list to send this problem but here it is:
> I have D-Link DFE-530TX+ and in LINT I read that I should use device rl
> for this Network card but kernel don't want to find it only output off
> kernel is :
> pci0: (vendor=0x118
> On Sat, 5 May 2001, Ceri Storey wrote:
>
> > On Sat, May 05, 2001 at 08:54:18PM +0200, Ingo Flaschberger wrote:
> > > > Note : this is a way to kill your keyboard : an AT keyboard is not
> > > > hot-plug compatible
> > >
> > > i have never killed a keyboard with un / plugging.
> > > at linux it
On Wed, 6 Jun 2001, Dan Phoenix wrote:
>
> Jun 6 18:48:10 www rpc.statd: invalid hostname to
> sm_stat: ^X^X^Z
>
>^Z%8x%8x%8x%8x%8x%8x%8x%8x%8x%62716x%hn%51859x%hnM-^PM-^PM-^PM-^PM-^PM-^PM-^PM-^PM-
[ snip ]
It's some l33t h4x0r attemting to use a Linux RPC exploit against your
FreeBSD machin
> Richard Hodges wrote:
> >
> > Sure, no argument there. Taking Wes' suggestion, maybe there is an
> > opportunity in the "official" distribution distinction. How about a
> > "certificate of authenticity" which costs the vendors $1 or $2 (or
> > whatever), and shows the customer that their choic
On Thu, 26 Jul 2001, Matthew Jacob wrote:
> It'd be nice if one could pass a time specification to at in the form of "next
> reboot".
>
> -matt
>
Why not just write a script for the command and stick it in
/usr/local/etc/rc.d?
--
Matt Emmerton
To Unsubscribe: send mail to [EMAIL PROTECTED]
> Hackers,
>
> The overwhelming lack of response on -questions suggests I might do better
> here. I though this would be an easy one.
>
> In short, I simply want to know what device to mount and what to do get
> that device configured.
>
> # usbdevs -v
> Controller /dev/usb0:
> addr 1: self powere
What OS is running on the NFS client and server?
--
Matthew Emmerton || [EMAIL PROTECTED]
GSI Computer Services || http://www.gsicomp.on.ca
On Tue, 25 Sep 2001, Brian Reichert wrote:
> I'm starting to see errors in /var/log/messages under 4.2-RELEASE:
>
> Sep 23
Hi all,
This weekend I decided to do some assembly hacking on some object-only code
that I've lost the C source for. Since I haven't coded assembler for at
least 8 years, and I threw my x86 assembly manuals out when I moved 6 months
ago, there are a few things that are stumping me.
In particula
> Doug Write wrote:
> > On Fri, 16 Nov 2001, Sandeep Joshi wrote:
>
> > I changed the disklabels on a few SCSI disks and now
> > I keep getting these "BTX halted" messages every time
> > I reboot.
>
> Lemme guess, you're running them in 'dangerously dedicated' mode.
>
> There is a bug in Adaptec B
I've been using DDB the last few days attempting to track down a supposed
bug in our TCP/IP stack. (See PR/31746). From what I've been able to tell
so far (using the ugly insert-printf-here mechanism of debugging), a
structure is getting zeroed which is causing the problem reported in the PR.
S
> > My guess every computer that you used to test the card uses the
> > PCI 2.x chipset.
>
> Correct. In fact, they're all identical: Asus P2B-D(S) dual PII
> mainboards (at various clock speeds), so I'm a bit surprised that
> I'm only having issues with two of them (so far, *knocking on wood*).
> FWIW, I'm seeing this as well. However, this appears to be a new
> occurance, as we were using a FreeBSD 3.X system for our reference test
> platform. I recently updated it to FreeBSD 4.4-RELEASE, and I'm getting
> nothing but complaints about broken connections, poor performance, and
> very i
On Tue, 16 Oct 2001, Peter van Heusden wrote:
> On Mon, Oct 15, 2001 at 09:35:58AM -0600, Warner Losh wrote:
> > In message <[EMAIL PROTECTED]>
>"Peter van Heusden" writes:
>
> I'm having a look at the Linux 2.4 kernel code, since they apparently
> have winmodem support (including for the SM56 c
Folks,
I very interesting project just landed in my lap -- I need to setup a
FreeBSD server to be a streaming media server for 1000+ clients using
Nullsoft's Shoutcast.
I have some experience with streaming media, so I know how to size the
network side of the equation, but what I'm really at a l
I believe it's because the boot loader goes by partition type. All
Microsoft operating systems can use FAT (either FAT16, FAT32 or both). The
boot loader can't tell what operating system you've got installed on your
FAT partition, so it goes with the lowest common denominator - DOS.
--
Matt Emm
> * Hiten Pandya <[EMAIL PROTECTED]> [011210 16:02] wrote:
> > hi all,
> >
> > this is a wild idea...suggestion...
> >
> > i wanted to ask if there were any _plans_ to port
> > JFS (Journaled File System) to FreeBSD...
> >
> > as for JFS, it is developed by IBM for Linux and
> > is licensed under
> Most current users will probably not like the speed penalties of a
> journal file system, and stick to the faster FS. On the other hand a
> solid journal FS may encourage more take up for back end databases, for
> e-commerce, data warehousing, etc...
The transaction support of JFS isn't really
On Mon, 10 Dec 2001, Chad David wrote:
> I sent a message about this to -stable last week, but didn't get any
> input that resulted in a solution to this problem so...
>
> -stable for the last week or more (I did a make world last week for
> the first time in over a month) beeps on and off when
These messages aren't from the *real* Matt Dillon, they're from a stupid
troll who has been impersonating various FreeBSD developers for a few months
now. This particular troll uses anonymous remailers so the postmaster is
helpless to block email addresses or IP ranges.
So, if the message looks l
>
> > > ok, so i wrote a small script (tcl, since i don't know perl), that
> > > does some checking, it reports for each package, the number of files
> > > how many are realy there, and if so, checks the MD5.
> > >
> > > now, if im not to far off, if some/all files are missing, or if the
> > > md5
> On Wed, Jun 18, 2003 at 12:01:38PM +0930, Greg 'groggy' Lehey wrote:
> > On Tuesday, 17 June 2003 at 6:08:06 -0600, M. Warner Losh wrote:
> > > In message: <[EMAIL PROTECTED]>
> > > Martin Heller <[EMAIL PROTECTED]> writes:
> > >> Will the FreeBSD project issue an offical statement r
This is a RFC on a change to sys_errlist for errno = 0.
On Linux, if perror() or strerror() is called with errno = 0, the resulting
string is "Success".
On FreeBSD, the resulting string is "Unknown error: 0".
I think that FreeBSD's output is unintentionally confusing, as errno = 0
implies success
- Original Message -
From: "John-Mark Gurney" <[EMAIL PROTECTED]>
To: "Matthew Emmerton" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, July 04, 2003 2:50 PM
Subject: Re: RFC: Change to sys_errlist
> Matthew Emmerton wrote this me
On Sun, 6 Jul 2003, Terry Lambert wrote:
> Matthew Emmerton wrote:
> > This is a RFC on a change to sys_errlist for errno = 0.
> >
> > On Linux, if perror() or strerror() is called with errno = 0, the resulting
> > string is "Success".
> > On FreeBSD
No, none of these methods will work.
This very discussion came up in -questions a few months ago (or maybe it was
late last year). The conclusion was that unless someone rewrites the
/etc/fstab parsing routines in libc to support quoted and/or escaped spaces,
we'll never be able to mount filesyst
> On Mon, 8 Sep 2003 11:35:37 -0600
> John Giacomoni <[EMAIL PROTECTED]> wrote:
>
> > I was planning on using the macro __cplusplus to toggle using
> > extern "C" { }, however the bsd.kmod.mk style Makefiles seem to
> > force the language to -std=c99 even when compiling with c++ .
> >
> > my in
> On 03-Jan-02 David E. Cross wrote:
> > I'd like to create a /boot.config switch that will have boot1 _not_ read
from
> > the console; this is for a secure setup. Would others be interested in
these
> > patches when I finish them?
>
> Yes. I've seen other places use this, and I would commit it.
> On 04-Jan-02 Matthew Emmerton wrote:
> >> On 03-Jan-02 David E. Cross wrote:
> >> > I'd like to create a /boot.config switch that will have boot1 _not_
read
> > from
> >> > the console; this is for a secure setup. Would others be interested
> Dustin Puryear wrote:
> >
> > After a month of futile searching I am unable to find a sar-like tool
> > available for FreeBSD. I was alerted to the SNMP capabilities of
FreeBSD.
> > However, it would still be nice to have a system-level tool available
that
> > doesn't require SNMP. Does anyone k
Is there any easy way to read the contents of a system BIOS from userland?
bios(9) seems to have some very specific kernel-related BIOS routines, but
nothing generic. I'm trying to write a program that will dump the BIOS
image to stdout so that I can use strings(1) to sniff out version strings
an
> > Is there any easy way to read the contents of a system BIOS from
userland?
>
> No. Most modern BIOS code is paged, compressed and in some cases
> encrypted.
>
> > bios(9) seems to have some very specific kernel-related BIOS routines,
but
> > nothing generic. I'm trying to write a program tha
> On Wed, 13 Mar 2002, Brooks Davis wrote:
>
> > On Wed, Mar 13, 2002 at 04:25:00PM -0800, Terry Lambert wrote:
> > > This was actually discussed a while back (a month or two ago).
> > >
> > > It got really bogged down when someone pointed out that
> > > they were running CPUs with different clock
> Dear Colleagues,
>
> I need some help. Consider I have a Makefile for
> application that can be build with different
> options. Some of them I need just to define
> via -D flag of the ``make'', but other need
> to be set to some specific values (for example,
> it can be path to my temporary dir)
> There is a backdoor in all versions of FreeBSD that are not compiled
> from source code within portmapper and telnetd.
Hmm. Let's check out this logic. The binaries that ship on the FreeBSD
distros are compiled from source. When I upgrade my system, I compile from
source. And the backdoor o
> So, what I'm doing here is experimenting with encap, a nifty little
> package standard where the idea is that you install your software with
> PREFIX set to /usr/local/encap/pkgname-version, and the package manager,
> epkg, will look through that dir and symlink files from that hierarchy
> in to
I' m working on getting OpenAFS working 100% on FreeBSD, and while reviewing
the first set of my patches with the OpenAFS maintainer, some questions
about kernel/userspace backwards compatibility came about.
More specifically, OpenAFS was first ported on FreeBSD 4.2, and as a result,
all config f
> > Hi,
> > I am writing a charecter driver for a pci-ide controller, my problem
> > is that atapci driver already claims my device. So in essence I need to
> > detach the atapci driver from my device and claim it
> > I have tried using the bus_generic_detach to detach the atapci driver,
but
>
I'm the originator of the patch in this PR. The patch allows FreeBSD to
work with some USR/3Com PCI modems that share IRQs with other system
devices.
>From the PR:
> Synopsis: Serial port IRQs cannot be shared when they should be
>
> State-Changed-From-To: open->feedback
> State-Changed-By: njl
Maybe I'm missing something huge, but getopt(1,3) aren't working the way I
think they should.
I have a script that I want to take two options, both of which have required
arguments.
gabby# getopt k:s: -k
getopt: option requires an argument -- k
--
gabby# getopt k:s: -s
getopt: option requires a
> I am trying to install 'FreeBSD 4.6.2-RELEASE #0: Wed Aug 14 21:23:26
> GMT 2002 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC
> i386' on a new ECS iBuddy4 desknote with sis900 fast ethernet card.
>
> The sis900 is never attached. When I look at dmesg output, I see
> repeated blocks of output a
> hi,
> i also encounter problem with sis0 nic onboard. here is an
> extract from dmesg:
>
> FreeBSD 4.6.2-RELEASE
>
> sis0: port 0xd400-0xd4ff mem 0xe780-0xe7800fff
irq \
> at device 1.1 on pci0
> sis0: Ethernet address: 00:00:00:00:00:00
> miibus0: on sis0
> ukphy0: on miibus0
> ukphy0:
> > From: "Matthew Emmerton" <[EMAIL PROTECTED]>
> > Subject: Re: sis900: sis0 attach returned 6
> >
> > Guido,
> >
> > I did some more digging and it appears the bigger problem is that the
> > RTL8201 external PHY isn't supported
Guido,
I did some more digging and it appears the bigger problem is that the
RTL8201 external PHY isn't supported (yet) in FreeBSD. Patches to support
this PHY, along with reports of successful testing in numerous
configurations, are reported in PR kern/30836 (and kern/35691).
This PR has been s
Hi all,
I was recently playing around with iBCS support in
FreeBSD 3.4/4.0, and noticed that there hasn't been much done since 96/97.
>From what I can see now, FreeBSD can't run SCO OpenServer 5.0 ELF binaries,
which is a feature I need desperately -- Linux has this
functionality.
If an
ebian? According to this link
(http://www.debian.org/Packages/stable/otherosfs/ibcs-base.html), it has SCO
SVR3 as well as SCO ODT5 (SVR4) support. This may have already covered a
lot of the hairy issues (like syscall mappings). I realize it is dated (late
97), but anything helpful is better tha
ill require modifications to
identify all the different brands. What may compound the problem is if
multiple ELF formats use the same brand, or none at all (as is the case with
SCO ODT5 binaries.)
--
Matthew Emmerton
GSI Computer Services
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
> On Wed, Jun 07, 2000 at 10:24:15PM -0400, Matthew Emmerton wrote:
>
> brandelf will really understand any brand at all; We just add special
> cases to suppress the need for -f for "known" brands. As it happens,
> though, there's no reason why you can't
According to the lxrun (Linux Emulator for SCO)
documentation and the Debian ibcs2/svr3 emulator package, OpenServer 5 is SVR3
(with extension for symbolic links and a few other goodies.)
SCO documentation backs up the SVR3 lineage
for OSR5, and verifies that UnixWare 2 and 7 are SVR4 and S
70 matches
Mail list logo