FreeBSD 5.2 vs. 5.2.1

2004-07-13 Thread Andrew Kilpatrick
Hi,

I'm developing an embedded system based on FreeBSD. When I started to build a 
stripped down version of FreeBSD I was using 5.2 RELEASE. Now I keep finding 
that 5.2 has vanished from most servers, and only 5.2.1 is available. This is 
particularly troubling, because I'm worried that I'm targetting my product on 
a mysterious version of FreeBSD. We might be using whatever version we choose 
for the next 5 years or more, without change.

So, my questions is what happened to 5.2 RELEASE? Is there some reason 
that it has gone away? Should I be upgrading my embedded distro?


Andrew

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.2 vs. 5.2.1

2004-07-13 Thread Andrew Kilpatrick
Hi, thanks for the info.

 Greetings!

  From what I gather, the 5.2-RELEASE was rather buggy and unstable (for
 a RELEASE anyway), and was quickly replaced by 5.2.1-RELEASE which was a
 considerable improvement.

I've been using it as my main machine for some time and it works well. But 
I'll definitely upgrade at some point. Right now I am testing on my 
workstation as I my test machine is doing something else right now.

 You're sparked my curiosity; what kind of embedded system are you
 working on, pray tell?

It's a theatrical lighting board. So far FreeBSD has satisfied all my 
requirements, so I've been really happy. I come from the NetBSD side of 
things. My distro is 18 megs plus my code and some other stuff. Ideally it 
will all fit in under 100 megs and boot off a flash memory disk. It's fun 
stuff, and should be done soon..

If you want to see what we're up to, here's a bit of a plug:

http://www.invisiblerival.com

Andrew

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IP Aliasing Question

2004-07-08 Thread Andrew Kilpatrick
Hey,

What I'm trying to do involves FreeBSD and IP aliases. Hopefully someone has 
some ideas. Here's the general idea of what I'm trying to do:

I've got vr0, which is assigned to some IP address... let's say: 192.168.1.90 
with a subnet mask of 255.255.255.0. This is all fine, and everything works.

I'm implementing a protcol called ArtNet (which I didn't design) which uses 
10.x.x.x network for controlling lighting. It's all UDP, and uses broadcast 
packets to 10.255.255.255. IP addresses of hosts are determined by a sort of 
shitty algorithm based on the MAC address, and can appear anywhere in the 
class A. This allows: a) IPv4 (yes, I know IPv6 would be better) and b) 
autoconfiguration without the need for a DHCP server. I didn't make it up, 
I'm just trying to make my stuff work with it.

So, here's the deal I want to add 2 aliases to vr0 so that I can run 2 
ArtNet services on the same machine. So, the aliases would look something 
like this:

10.0.38.237 netmask 255.0.0.0
10.255.38.237 netmask 255.0.0.0

Adding the first one like this works: ipconfig vr0 inet 10.0.38.237 netmask 
255.0.0.0 alias

However, adding the second fails, I'm assuming because the netmasks overlap. I 
can understand why this is so, but for my application I actually want this. 
Because programs listening on both addresses both need to receive broadcast 
packets sent to 10.255.255.255.

So, how can this be done? Adding a second NIC is not an option.


Cheers,

Andrew

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sounds breaks up with 5.2-STABLE

2004-05-24 Thread Andrew Kilpatrick
Hi,

I'm using FreeBSD 5.2-STABLE on my workstation and have just installed
a CMedia CMI8738-based sound card. The card has worked well under
OpenBSD in the past (even 3 in the same machine!) but with FreeBSD
the sound breaks up and is choppy if I do specific things in X like:

- opening new windows
- dragging a window
- scrolling in my browser
- holding down a key (like space)

It sounds like the buffers are underrunning. Looking at /dev/sndstat with
verbose set to 3 reveals a lot of buffer underruns, but it doesn't seem to
notice them all. I've tried unsuccessfully setting the hw.snd.pcm0.buffersize
variable higher than 16384, but to no avail.

My system is a Mini-ITX EPIA 533MHz board with a CMI8738-based
card. Top shows lots of CPU idling. I wrote a little program in C to open
the sound card and dump stdin to it, so I can see how fast it's consuming
buffers and fiddle with the ioctls and stuff, but nothing I do seems to make
it work, and writing buffers larger than 16384 makes it play with gaps
between buffers.

That's what I've tried so far... any help would be greatly appreciated!


Cheers,

Andrew

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]