VMWare/Virtualbox virtio network drivers?

2011-09-06 Thread Stephen Hocking
Hi all,

Am wondering if anyone has done drivers the these sorts of  network
interfaces that are offered by VMWare & Virtual box. I know that on
some Linux VMs I run, performance went from 20MB/s to 30MB/s to an NFS
server which I swicthed to the virtio network interfaces.


Stephen
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Best GB Nic for 8.2?

2011-07-31 Thread Stephen Hocking
Hi all,

Am currently using an onboard GB nic, on my main  fileserver (8.2
64bit, AMD, 8GB mem) which is seen as nfe0 (Nvidia, basically). Is
there a better one available? I have a one lane PCIe slot and any
number of PCI slots available.


Stephen
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Mapping /dev/gptid numbers to /dev/adXpY

2011-07-24 Thread Stephen Hocking
On Mon, Jul 25, 2011 at 2:15 PM, Daniel O'Connor  wrote:
>
> On 25/07/2011, at 11:03, Stephen Hocking wrote:
>> Now this is all very interesting, but I would like to be able to map
>> that back to a /dev/adXpY device entry, so when I offline them I can
>> then go to the appropriate physical disk. I thought that gpart show -r
>> might help, but the numbers emitted from that don't match up. Looking
>> at the major/minor numbers of the devices don't help either. Does
>> anyone have an idea?
>
>
> If you run 'gpart list' you will see a list of device names and UUIDs.
>
> Mapping it by hand is a bit tedious though..
>


Both Test Rat & Daniel pointed me towards gpart list. The gpart man
page doesn't seem to mention the list command, which is probably why I
missed it. Anyways, now all I have to do is label my hotswap drawers
properly


 Stephen
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Mapping /dev/gptid numbers to /dev/adXpY

2011-07-24 Thread Stephen Hocking
Hi all,


After shuffling some disks around in a ZFS array (moving them to a
hot-swap cabinet) I am now seeing gptid numbers when doing a zpool
status:

 zpool status schtuff
  pool: schtuff
 state: ONLINE
 scan: scrub repaired 0 in 5h57m with 0 errors on Wed Jul 20 17:05:29 2011
config:

NAMESTATE READ
WRITE CKSUM
schtuff ONLINE   0
0 0
  raidz1-0  ONLINE   0
0 0
ad8p1   ONLINE   0
0 0
gptid/13aed7e6-9ca8-11e0-99f1-001a4d9c179c  ONLINE   0
0 0
gptid/15c300de-9ca8-11e0-99f1-001a4d9c179c  ONLINE   0
0 0

errors: No known data errors

Now this is all very interesting, but I would like to be able to map
that back to a /dev/adXpY device entry, so when I offline them I can
then go to the appropriate physical disk. I thought that gpart show -r
might help, but the numbers emitted from that don't match up. Looking
at the major/minor numbers of the devices don't help either. Does
anyone have an idea?


Stephen
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Building kernels broken under AMD64 Releng 8

2010-04-26 Thread Stephen Hocking
On Tue, Apr 27, 2010 at 9:19 AM, M. Warner Losh  wrote:
> In message: 
>            Garrett Cooper  writes:
> : On Mon, Apr 26, 2010 at 2:54 PM, Stephen Hocking
> :  wrote:
> : > Hi all,
> : >
> : > Am noticing the following when attempting to build a kernel:
> : >
> : > [r...@blurfl /usr/src]# make buildkernel
> : >
> : > --
> : >>>> Kernel build for GENERIC started on Tue Apr 27 07:53:29 EST 2010
> : > --
> : > ===> GENERIC
> : > mkdir -p /usr/obj/src/FreeBSD/STABLE/src/sys
> : >
> : > --
> : >>>> stage 1: configuring the kernel
> : > --
> : > cd /src/FreeBSD/STABLE/src/sys/amd64/conf;
> : > 
> PATH=/usr/obj/src/FreeBSD/STABLE/sr/tmp/legacy/usr/sbin:/usr/obj/src/FreeBSD/STABLE/src/tmp/legacy/usr/bin:/usr/ob/src/FreeBSD/STABLE/src/tmp/legacy/usr/games:/usr/obj/src/FreeBSD/STABLE/src/tm/usr/sbin:/usr/obj/src/FreeBSD/STABLE/src/tmp/usr/bin:/usr/obj/src/FreeBSD/STABE/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
> : >  config  -d /usr/obj/src/FreeSD/STABLE/src/sys/GENERIC
> : > /src/FreeBSD/STABLE/src/sys/amd64/conf/GENERIC
> : > ../../conf/options.amd64: Duplicate option COMPAT_FREEBSD32.
> : > *** Error code 1
> : >
> : > Stop in /src/FreeBSD/STABLE/src.
> : > *** Error code 1
> : >
> : > Stop in /src/FreeBSD/STABLE/src.
> : >
> : >
> : > Any clues? I believe it's related to the COMPAT_IA32 option being
> : > replaced (I haven't built a kernel since the beginning of the month).
> :
> :     This was reported approximately a week ago and Warner (imp@) was
> : made aware of the problem, and fixed the issue in a later revision of
> : 8-STABLE I think. Please see:
> : http://lists.freebsd.org/pipermail/svn-src-all/2010-April/022969.html
> : for more details.
>
> You always have to rebuild world before rebuilding the kernel.  You
> often can get away with not doing that, but not aways.
>
> I'm adding a safety belt to config, and that should be done soon.
>

OK, thanks - wasn't immediately clear. Now, one should usually do an
installkernel prior to an installworld, in case system calls change,
is this correct?


Stephen
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Building kernels broken under AMD64 Releng 8

2010-04-26 Thread Stephen Hocking
Hi all,

Am noticing the following when attempting to build a kernel:

[r...@blurfl /usr/src]# make buildkernel

--
>>> Kernel build for GENERIC started on Tue Apr 27 07:53:29 EST 2010
--
===> GENERIC
mkdir -p /usr/obj/src/FreeBSD/STABLE/src/sys

--
>>> stage 1: configuring the kernel
--
cd /src/FreeBSD/STABLE/src/sys/amd64/conf;
PATH=/usr/obj/src/FreeBSD/STABLE/sr/tmp/legacy/usr/sbin:/usr/obj/src/FreeBSD/STABLE/src/tmp/legacy/usr/bin:/usr/ob/src/FreeBSD/STABLE/src/tmp/legacy/usr/games:/usr/obj/src/FreeBSD/STABLE/src/tm/usr/sbin:/usr/obj/src/FreeBSD/STABLE/src/tmp/usr/bin:/usr/obj/src/FreeBSD/STABE/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 config  -d /usr/obj/src/FreeSD/STABLE/src/sys/GENERIC
/src/FreeBSD/STABLE/src/sys/amd64/conf/GENERIC
../../conf/options.amd64: Duplicate option COMPAT_FREEBSD32.
*** Error code 1

Stop in /src/FreeBSD/STABLE/src.
*** Error code 1

Stop in /src/FreeBSD/STABLE/src.


Any clues? I believe it's related to the COMPAT_IA32 option being
replaced (I haven't built a kernel since the beginning of the month).


Stephen
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Decent 3D acceleration in 64bit mode?

2008-06-18 Thread Stephen Hocking
Hi,

Given that Nvidia aren't offering a driver for their cards for 64bit
FreeBSD, is anyone else having success using another (preferably
PCI-E) card with 3D acceleration?


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


FreeBSD & Hot pluggable disks (SATA?)

2007-07-26 Thread Stephen Hocking

Hi,

Have been looking at FreeNAS (http://www.freenas.org/) and thinking
about the iSCSI portion of it. At the moment the box requires you to
shutdown when a disk fails in order to replace it. Is this a feature
of the GEOM RAID stuff? Is it possible (assuming suitable hardware) to
have hot-pluggable disks under the control of GEOM?


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


Multiple Bootable FreeBSD partitions?

2004-07-19 Thread Stephen Hocking
All,

I'm looking at creating multiple versions of FreeBSD on the one disk - sharing 
perhaps one or two filesystems, but with totally separate /, /usr and /var. 
Does anyone have a quick way to do this from a clean install? I've done this 
under a number of OS's, but can't think how to do it with FreeBSD.



Stephen
-- 

  "Opiates are the religion of the masses." - David Cameron Staples


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


Vendors of multi-port PCI ethernet cards?

2004-04-26 Thread Stephen Hocking
All,


Does anyone know where I can lay my hands on one of those 4 port ethernet 
cards that used to be around a while back?



Stephen
-- 

  "Opiates are the religion of the masses." - David Cameron Staples


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


Making one's own wireless base station

2002-09-30 Thread Stephen Hocking

've bought a Linksys PCI wireless card, and am looking to make my own base 
station. Does anyone know (once I have the right drivers installed) what to do 
next? I assume that I can assign the network interface its own IP (it'll have 
a subnet all of its very own), run a dhcp server on it and hand out addresses. 
Do I have to do any thing else to get it going? What would I use to set ESSIDs 
and passords?


Stephen
-
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Which archiver handles the ICE format?

2002-09-23 Thread Stephen Hocking




I'm wanting to extract data files off the original Quake 1 CD.



Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



GLide3 CVS - building & patching

2000-12-14 Thread Stephen Hocking

I've almost built the glide3 from sourceforge's CVS, and intend to make a port 
of it sometime (it's required for the latest DRI stuff) - has anyone else done 
this? This later version is also necessary for the voodoo 4 & 5, plus a few 
things in the headers have changed over time, which the DRI CVS tree seems to 
need.

Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



GDB Displaying all vars in a stack frame.

2000-12-08 Thread Stephen Hocking

Is there some simple one-liner command that allows me to display the values of 
all the variables within the current stack frame?


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Embarrassing CVS question.

2000-11-28 Thread Stephen Hocking


Say I have a cvs tree all nicely unpacked et cetera. How do I find out what 
tags are available - I ask this becuase I want to check out a second source 
tree (for 4.2 stable) in addition to current.


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



16 port 10/100 hubs/switches.

2000-10-31 Thread Stephen Hocking

I just went out & bought a D-Link 10/100 switch. There was another 16 port 
10/100 switch on sale by netgear, for twice the price. Now I've established 
that they're both switches (as opposed to hubs) and the three machines I 
current have connected to it have sucessfully negotiated 100Mbs full-duplex 
(speed is great!). Is there any reasons why I should've considered the netgear 
unit? I didn't see anything on the box (after a rather cursory perusal) on it 
about managability, SNMP et cetera.


Stephen

PS - Anyone going to SC2000?
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Getting Linux NIS to work with FreeBSD NIS servers

2000-10-15 Thread Stephen Hocking

The UNSECURE option in /var/yp/Makefile is the answer - thanks muchly!


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Getting Linux NIS to work with FreeBSD NIS servers

2000-10-15 Thread Stephen Hocking

The Linux box appears toknow about the users, it just cant get the passwords 
right - something tickles my mind about DES vs MD5, is this the case, and how 
do I convert my MD5 passwords if needed?


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Converting Sun Automounter maps

2000-09-22 Thread Stephen Hocking

I've stumbling into the wonderful world of auto-mounting, and trying to 
convert some maps from a Sun box to the FreeBSD format. I have amd.conf set up 
OK as per the man page, but keep on getting errors when changing into the 
relevant directorys (like amd can't find an appropriate match). Has anyone 
been down this path?


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Running natd on more than one interface...

2000-09-19 Thread Stephen Hocking


I have a home network that talks to the world-at-large using natd to do the 
address translation on my gateway machine. However, I've just started 
tunneling (over an encrypted link) to another place using the tun interface. 
I'd like to have it translated as well. Has anyone tried running natd on more 
than one interface?



Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: What's the best PCMCIA Ethernet card?

2000-09-13 Thread Stephen Hocking

> Odd.  The sn card is my main card these days and I've not seen any NFS
> performance issues.  Maybe you have an interrupt problem?
> 
> I use the Megahertz XJ10BT, btw.  Which card are you using?  I was
> doing NFS last night on it with little hassle on a -current kernel
> from last night.

The card's a "Megahertz (CC10BT/2)", according to pccardd. I had to manually 
put the IRQ in the /etc/pccard.conf file. The kernel code is from the 
PRE_SMPng tag. Hmmm - I kind of suspect interrupt issues. The dmesg is as 
follows, the card doesn't seem to load up if I dont have a "device sn" in the 
config file. I'm not sure why it's not seen when loaded as a module. I do have 
"COMPAT_OLDISA" and "COMPAT_OLDPCI" defined in there (don't ask, I think I was 
planning on using the old sound drivers at one stage). This may be why 
interrupts are being dropped.


Stephen




Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #0: Fri Sep  8 21:48:55 CDT 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/wanderer
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 132632202 Hz
CPU: Pentium/P54C (132.63-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf
real memory  = 151126016 (147584K bytes)
avail memory = 143417344 (140056K bytes)
pnpbios: Bad PnP BIOS data checksum
Preloaded elf kernel "kernel.ko" at 0xc036a000.
Intel Pentium detected, installing workaround for F00F bug
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
pci0:  at 4.0
isa0:  on motherboard
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
pcic0:  at port 0x3e0 iomem 0xd irq 10 on isa0
pcic0: management irq 10
pccard0:  on pcic0
pccard1:  on pcic0
pcm0:  at port 0x530-0x537 irq 5 drq 1 flags 0xa100 on isa0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0:  on ppbus0
lpt0: Interrupt-driven port
plip0:  on ppbus0
ppi0:  on ppbus0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
pccard: card inserted, slot 0
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ad0: 2067MB  [4200/16/63] at ata0-master using BIOSPIO
acd0: CDROM  at ata1-master using BIOSPIO
Mounting root from ufs:/dev/ad0s1a
sn1 at port 0x240-0x24f irq 11 slot 0 on pccard0
sn1:  SMC91C94 UTP MAC address 00:00:86:16:b7:e5
module_register: module isa/sn already exists!
Module isa/sn failed to register: 17
module_register: module pccard/sn already exists!
Module pccard/sn failed to register: 17


  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California



Re: What's the best PCMCIA Ethernet card?

2000-09-10 Thread Stephen Hocking

> 
> > Hi,  I'd just like to say that I dont think non cardbus cards are capable
> > of doing more than 10bt speeds even if it talks 100bt.  I have not met one
> > that did and I assume it is a limit of the pcmcia design.  Just warning
> > you not to waste your money on one if you get near 10bt speeds already.
> > 

My main reason for wanting to replace the wretched thing is that it keeps on hanging 
when doing lots of writes under NFS (when it's a client), even when the write size is 
reduced to 2k. Everyone's currently banging away at the new SMP code, so rather than 
plague Bill Paul with requests about the if_sn driver, I'm thinking of just getting a 
more reliable card.


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



What's the best PCMCIA Ethernet card?

2000-09-06 Thread Stephen Hocking

Preferably 10/100. This old Megahertz CC10BT doesn't seem to be terribly quick.


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Anyone tried StarOffice 5.2 yet?

2000-07-03 Thread Stephen Hocking

Just tried it - seems to work fine, although the soffice script needs one 
small mod to take account of the fact that test is /bin/test.


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Anyone tried StarOffice 5.2 yet?

2000-07-02 Thread Stephen Hocking

Hopefully some industrious soul will update the port...


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



VPNs and FreeBSD

2000-07-02 Thread Stephen Hocking

Has anyone done this yet? I've just acquired this shiny new cable modem and 
would like to have secure access to my place of work (even though they're only 
10 minutes walk away!)



Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Using the boot loader to set maximum memory size?

2000-04-26 Thread Stephen Hocking

Is there any chance of extending the loader so that it can set the memory 
size, rather than hard coding it into the kernel config file? This would be 
quite useful for testing things which like a large amount of memory set aside 
exclusively for hardware's use (I'm thinking of Utah-GLX's DMA buffers for 
G400 cards here).


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Proper voltages for K6-2 500MHz unit?

2000-04-10 Thread Stephen Hocking-Senior Programmer PGS SPS Perth


The technical doco that I have from AMD's website only covers CPUs up to 
475MHz, and they're at 2.4V. Would it be safe to assume that the 500MHz units 
are the same? I know that the 400MHz units were at 2.2V (some at 4x100, mine 
at 6x66). I take it that they'll be at 5x100MHz FSB, some 400MHz parts were 
6x66, as I discovered after buying one rather cheaply.


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Glide source available

1999-12-06 Thread Stephen Hocking-Senior Programmer PGS Perth


Go look at http://linux.3dfx.com/open_source
It's availabe for Voodoo 1, 2, & 3 cards. Register level specs too! I'm
utterly freaked out.


Stephen


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: I was accepted to LokiHack '99 at Atlanta Linux Showcase

1999-10-04 Thread Stephen Hocking

I would like to point out that they use the SDL library for many of their 
products. We have this in our ports section, but it does have a bug in that we 
get a threads crash when doing sound & video simultaneously. The aliens demo 
displays this fault rather well. Sometimes it works, other times it doesn't, 
there's something timing related. I suspect something needs to be protected by 
a mutex somewhere.


Stephen



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



ANNOUNCE: Linux ABI/SDK standards for OpenGL/Mesa (fwd)

1999-09-08 Thread Stephen Hocking-Senior Programmer PGS Perth
--- Begin Message ---
--- End Message ---


ANNOUNCE: Linux ABI/SDK standards for OpenGL/Mesa (fwd)

1999-09-08 Thread Stephen Hocking-Senior Programmer PGS Perth


We've had a group (including representatives from LSB, Mesa, Metro
Link, NVIDIA, PTC, Precision Insight, SGI, XFree86, and Xi Graphics)
working on a proposal for standardizing X11 OpenGL/Mesa ABI and SDK
issues on Linux. The purpose is to allow applications to build against
any implementation following this standard and the resulting binaries to
run against any other implementation; this interoperability will be
increasingly important as the amount of 3D activity on Linux grows and
the variety of drivers increases even further.

The "0.9" draft of the proposal can be found at

http://reality.sgi.com/opengl/linux/linuxbase.html

A mailing list has been created for further discussion and
finalization of this proposal. We're unable to follow discussions in all
the forums where this announcement is being made, so if you want to have
an effect, please join this mailing list. We particularly solicit
participation by ISVs writing OpenGL-based applications on Linux, IHVs
writing OpenGL drivers on Linux, and Linux distributions.

To initially subscribe to the list, send a message with body

 subscribe oglbase-discuss

to '[EMAIL PROTECTED]'.

To participate in the list after you've subscribed, send messages to
'[EMAIL PROTECTED]'.

To unsubscribe to the list, send a message containing the body

unsubscribe oglbase-discuss

to [EMAIL PROTECTED]


Jon Leech (For the Linux/OpenGL Base working group)
SGI
- 
FAQ and OpenGL Resources at:
  http://www.geocities.com/SiliconValley/Hills/9956/OpenGL

-- 
Author: Jon Leech
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (619) 538-5051  FAX: (619) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB OPENGL-GAMEDEV-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).




-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California





StarOffice giveaway of source code

1999-09-01 Thread Stephen Hocking-Senior Programmer PGS Perth
Now that Sun is apparently planning to give away the source to StarOffice, I 
wonder when the first port to FreeBSD will happen?


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



StarOffice giveaway of source code

1999-09-01 Thread Stephen Hocking-Senior Programmer PGS Perth

Now that Sun is apparently planning to give away the source to StarOffice, I 
wonder when the first port to FreeBSD will happen?


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Threaded X libraries

1999-08-12 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth
I'm attempting to build the X11 libs with the thread safety stuff (I beleive 
Linux can already be built like this) and have discovered when linking that we 
don't have the getpwnam_r & getpwuid_r functions in out libc_r. Is anyone 
planning on adding these?


Stephen

It's all part of my plan to make SDL (Sam Lantinga's Simple Direct Media 
Layer) work. It dies quite frequently when starting sound & graphics in some 
of the test apps. I am suspicious that it requires a threadsafe libX11.
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



Threaded X libraries

1999-08-12 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth

I'm attempting to build the X11 libs with the thread safety stuff (I beleive 
Linux can already be built like this) and have discovered when linking that we 
don't have the getpwnam_r & getpwuid_r functions in out libc_r. Is anyone 
planning on adding these?


Stephen

It's all part of my plan to make SDL (Sam Lantinga's Simple Direct Media 
Layer) work. It dies quite frequently when starting sound & graphics in some 
of the test apps. I am suspicious that it requires a threadsafe libX11.
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: freebsd-hackers-digest V4 #576

1999-08-09 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth
> > Stephen
> Well, I was going to try to roll my own for this, but it's always nice to
> know someone's already done it for me. :) I'm gone though for the next
> couple weeks though, so that'll be a nice thing to get back home to. Many
> thanks!
> 
> Where will I be able to get it?
> 
> -Joe
> 

Well, it's not ready yet. I'll be putting it in as a PR once I've finished. 
Probably it'll be released to the multimedia group first as a test.


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



Re: freebsd-hackers-digest V4 #576

1999-08-09 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth

> > Stephen
> Well, I was going to try to roll my own for this, but it's always nice to
> know someone's already done it for me. :) I'm gone though for the next
> couple weeks though, so that'll be a nice thing to get back home to. Many
> thanks!
> 
> Where will I be able to get it?
> 
> -Joe
> 

Well, it's not ready yet. I'll be putting it in as a PR once I've finished. 
Probably it'll be released to the multimedia group first as a test.


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: freebsd-hackers-digest V4 #576

1999-08-09 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth

> 
> I believe the joystick driver in FreeBSD could probably be redone, to support
> all the non-standard joysticks that many people (like me :) have. Having
> just recently converted to FreeBSD from Linux, though, I don't know the best
> way to go about it. Here are some ideas (sorry if my terminology is wrong):
> 
> (1) Redefine the core joystick code as a controller, and then have all the
> different joystick types ride on top of it, like:
> 
> controller  joy0at isa? port IO_GAME # Serves joystick port 0x201
> #device jan0at joy0 # Analog joystick
> device  jgpp0   at joy0 # Gravis GamePad Pro
> etc...
> This would also allow for modules to be used for all the different 
> joystick
> types, I think.
> 
> (2) Have a monolithic joystick driver, with options to pick the proper type:
> 
> device  joy0at isa? port IO_GAME # Just like it is now
> options JOY_ANALOG
> options JOY_GRAVIS
> etc...
> 
> I also believe it should use the Linux joystick's device interface, so that
> folks that have already written their games to use the Linux joysticks can 
> work
> in FreeBSD with minor effort.
> 
> Any help or comments are appreciated.
> 

I'm partway through porting Vojtech's Linux joystick code to FreeBSD, as a 
series of loadable modules. There is the main module (which is mostly 
converted, although some of the Linuxisms are a bit hard to come up with an 
equivalent to, even with the Linux device drivers book) and a seperate module 
for each of the different hardware devices. You'll kldload the main module 
first, then the device specific module, which'll call a joystick registration 
routine to make itself known. You've just spurred me into action and I hope to 
get the main module finished this weekend.

The recent chatter about allowing kldload to give modules arguments is very 
interesting, as it would allow one to specify port addresses and the like.

Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



Re: freebsd-hackers-digest V4 #576

1999-08-09 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth


> 
> I believe the joystick driver in FreeBSD could probably be redone, to support
> all the non-standard joysticks that many people (like me :) have. Having
> just recently converted to FreeBSD from Linux, though, I don't know the best
> way to go about it. Here are some ideas (sorry if my terminology is wrong):
> 
> (1) Redefine the core joystick code as a controller, and then have all the
> different joystick types ride on top of it, like:
> 
> controller  joy0at isa? port IO_GAME # Serves joystick port 0x201
> #device jan0at joy0 # Analog joystick
> device  jgpp0   at joy0 # Gravis GamePad Pro
> etc...
> This would also allow for modules to be used for all the different joystick
> types, I think.
> 
> (2) Have a monolithic joystick driver, with options to pick the proper type:
> 
> device  joy0at isa? port IO_GAME # Just like it is now
> options JOY_ANALOG
> options JOY_GRAVIS
> etc...
> 
> I also believe it should use the Linux joystick's device interface, so that
> folks that have already written their games to use the Linux joysticks can work
> in FreeBSD with minor effort.
> 
> Any help or comments are appreciated.
> 

I'm partway through porting Vojtech's Linux joystick code to FreeBSD, as a 
series of loadable modules. There is the main module (which is mostly 
converted, although some of the Linuxisms are a bit hard to come up with an 
equivalent to, even with the Linux device drivers book) and a seperate module 
for each of the different hardware devices. You'll kldload the main module 
first, then the device specific module, which'll call a joystick registration 
routine to make itself known. You've just spurred me into action and I hope to 
get the main module finished this weekend.

The recent chatter about allowing kldload to give modules arguments is very 
interesting, as it would allow one to specify port addresses and the like.

Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Adding disks -the pain. Also vinum

1999-08-02 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth
 
> Did you try 'disklabel -w da0 auto'?

Yup - it also complained.

 
> No, it would cause a higher I/O load.  Vinum doesn't transfer entire
> stripes, it transfers what you ask for.  With a large stripe size, the
> chances are higher that you can perform the transfer with only a
> single I/O.

Even if I'm using really large reads?
> 
> > I'm seeing 4.4MB/s if I read from an individual disk, but only about
> > 5.6MB/s when reading from the striped volume. 
> 
> How many concurrent processes?  Remember that striping doesn't buy you
> anything with a single process.  You might like to try rawio
> (ftp://ftp.lemis.com/pub/rawio.tar.gz) and see what that tells you.

OK, I was just using good ol' dd, with dd if=/cfs/foo of=/dev/null bs=2m

> 
> > Looking at the systat display, the 8k fs blocks do seem to be
> > clustered into larger requests, so I'm not too worried about the FS
> > block size. What have people observed with trying larger FS block
> > sizes?
> 
> I don't know if anybody has tried larger FS blocks than 8 kB.  I once
> created a file system with 256 kB blocks (just to see if it could be
> done).  I also tried 512 kB blocks, but newfs died of an overflow.
> I'd expect that you would see a marked drop in performance, assuming
> that it would work at all.
> 

OK. The minimum data size read from these files tends to be about 10k. I'll 
have to try this all with a real app.


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



Re: Adding disks -the pain. Also vinum

1999-08-02 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth

 
> Did you try 'disklabel -w da0 auto'?

Yup - it also complained.

 
> No, it would cause a higher I/O load.  Vinum doesn't transfer entire
> stripes, it transfers what you ask for.  With a large stripe size, the
> chances are higher that you can perform the transfer with only a
> single I/O.

Even if I'm using really large reads?
> 
> > I'm seeing 4.4MB/s if I read from an individual disk, but only about
> > 5.6MB/s when reading from the striped volume. 
> 
> How many concurrent processes?  Remember that striping doesn't buy you
> anything with a single process.  You might like to try rawio
> (ftp://ftp.lemis.com/pub/rawio.tar.gz) and see what that tells you.

OK, I was just using good ol' dd, with dd if=/cfs/foo of=/dev/null bs=2m

> 
> > Looking at the systat display, the 8k fs blocks do seem to be
> > clustered into larger requests, so I'm not too worried about the FS
> > block size. What have people observed with trying larger FS block
> > sizes?
> 
> I don't know if anybody has tried larger FS blocks than 8 kB.  I once
> created a file system with 256 kB blocks (just to see if it could be
> done).  I also tried 512 kB blocks, but newfs died of an overflow.
> I'd expect that you would see a marked drop in performance, assuming
> that it would work at all.
> 

OK. The minimum data size read from these files tends to be about 10k. I'll have to 
try this all with a real app.


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Adding disks -the pain. Also vinum

1999-08-02 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth
The people who I work for were about to junk a bunch of 6 year old disks when 
I snaffled them. Among them were 4 DEC DSP5400S (3.8GB each), with a nice 
external case. These disks had been doing duty on a boat carrying out seismic 
surveys, attached to misc. Sun workstations. These are typical of their 
vintage - full height 5 1/4" drives fast narrow SCSI2, and noisy as all 
blazes. I have them hooked up to a NCR810, as one striped FS (it's just for 
experiments, not valuable data). fdisking them was easy, but disklabelling 
them was a royal pain. I ended up editing the /etc/disktab file to add an 
appropriate label and running "disklabel -w -B /dev/rda0c DSP5400S" which 
still gives an error message, but appears to install the label. I only found 
out that it installed the label by accident, wasting a bunch of time in the 
process.

I created a striped volume across the 4 drives with the default stripe size of 
256K. I read the rather interesting discussion within the man pages about the 
optimal stripe size and have a couple of queries. Firstly, the type of traffic 
that this 13.9GB filesystem will see will be mainly sequential reading and 
writing of large files. There will only be a few files (~2-30), each several 
gigs. (I'm fooling around with the seismic software at home, and typcal 
surveys can results in files many gigs in size). Given that FreeBSD breaks 
I/Os down into 64k chunks, would having a 64k stripe size give more 
parallelism? I'm seeing 4.4MB/s if I read from an individual disk, but only 
about 5.6MB/s when reading from the striped volume. Looking at the systat 
display, the 8k fs blocks do seem to be clustered into larger requests, so I'm 
not too worried about the FS block size. What have people observed with trying 
larger FS block sizes?


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



Adding disks -the pain. Also vinum

1999-08-02 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth

The people who I work for were about to junk a bunch of 6 year old disks when 
I snaffled them. Among them were 4 DEC DSP5400S (3.8GB each), with a nice 
external case. These disks had been doing duty on a boat carrying out seismic 
surveys, attached to misc. Sun workstations. These are typical of their 
vintage - full height 5 1/4" drives fast narrow SCSI2, and noisy as all 
blazes. I have them hooked up to a NCR810, as one striped FS (it's just for 
experiments, not valuable data). fdisking them was easy, but disklabelling 
them was a royal pain. I ended up editing the /etc/disktab file to add an 
appropriate label and running "disklabel -w -B /dev/rda0c DSP5400S" which 
still gives an error message, but appears to install the label. I only found 
out that it installed the label by accident, wasting a bunch of time in the 
process.

I created a striped volume across the 4 drives with the default stripe size of 
256K. I read the rather interesting discussion within the man pages about the 
optimal stripe size and have a couple of queries. Firstly, the type of traffic 
that this 13.9GB filesystem will see will be mainly sequential reading and 
writing of large files. There will only be a few files (~2-30), each several 
gigs. (I'm fooling around with the seismic software at home, and typcal 
surveys can results in files many gigs in size). Given that FreeBSD breaks 
I/Os down into 64k chunks, would having a 64k stripe size give more 
parallelism? I'm seeing 4.4MB/s if I read from an individual disk, but only 
about 5.6MB/s when reading from the striped volume. Looking at the systat 
display, the 8k fs blocks do seem to be clustered into larger requests, so I'm 
not too worried about the FS block size. What have people observed with trying 
larger FS block sizes?


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Unpacking Debian packages on FreeBSD

1999-07-26 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth
I'd like to grope around inside a .deb file, which has been created on a 
debian Linux box. Do we have any nifty tools for this, like rpm2cpio?


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



Unpacking Debian packages on FreeBSD

1999-07-26 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth

I'd like to grope around inside a .deb file, which has been created on a 
debian Linux box. Do we have any nifty tools for this, like rpm2cpio?


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Setting up a firewall with dynamic IPs

1999-07-13 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth
Thanks for every one's help - I now have it working nicely. It's amazing what 
you discover when RTFMing. Oddly enough, running nmap with the Christmas tree 
scan (after I've allowed only smtp & ssh to be connected to) gives the 
following -

# ./nmap -v -v -sX foo

Starting nmap V. 2.12 by Fyodor (fyo...@dhp.com, www.insecure.org/nmap/)
Host foo.bar.com (123.45.67.89) appears to be up ... good.
Initiating FIN,NULL, UDP, or Xmas stealth scan against foo.bar.com 
(123.45.67.89)
The UDP or stealth FIN/NULL/XMAS scan took 64 seconds to scan 1483 ports.
Interesting ports on foo.bar.com (123.45.67.89):
PortState   Protocol  Service
13  opentcpdaytime 
21  opentcpftp 
22  opentcpssh 
23  opentcptelnet  
25  opentcpsmtp
37  opentcptime
53  opentcpdomain  
80  opentcphttp
111 opentcpsunrpc  
119 opentcpnntp
513 opentcplogin   
514 opentcpshell   
1017opentcpunknown 
1018opentcpunknown 
1019opentcpunknown 
1020opentcpunknown 
1021opentcpunknown 
1022opentcpunknown 
1023opentcpunknown 
2049opentcpnfs 

Nmap run completed -- 1 IP address (1 host up) scanned in 64 seconds

Any attempt to connect to the ports listed above (apart from ssh & smtp) just 
hangs. I take it that this is expected behaiviour of the firewall accepting 
the connection and then ahnging onto it in order to slow attackers down?


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



Re: Setting up a firewall with dynamic IPs

1999-07-13 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth

Thanks for every one's help - I now have it working nicely. It's amazing what 
you discover when RTFMing. Oddly enough, running nmap with the Christmas tree 
scan (after I've allowed only smtp & ssh to be connected to) gives the 
following -

# ./nmap -v -v -sX foo

Starting nmap V. 2.12 by Fyodor ([EMAIL PROTECTED], www.insecure.org/nmap/)
Host foo.bar.com (123.45.67.89) appears to be up ... good.
Initiating FIN,NULL, UDP, or Xmas stealth scan against foo.bar.com 
(123.45.67.89)
The UDP or stealth FIN/NULL/XMAS scan took 64 seconds to scan 1483 ports.
Interesting ports on foo.bar.com (123.45.67.89):
PortState   Protocol  Service
13  opentcpdaytime 
21  opentcpftp 
22  opentcpssh 
23  opentcptelnet  
25  opentcpsmtp
37  opentcptime
53  opentcpdomain  
80  opentcphttp
111 opentcpsunrpc  
119 opentcpnntp
513 opentcplogin   
514 opentcpshell   
1017opentcpunknown 
1018opentcpunknown 
1019opentcpunknown 
1020opentcpunknown 
1021opentcpunknown 
1022opentcpunknown 
1023opentcpunknown 
2049opentcpnfs 

Nmap run completed -- 1 IP address (1 host up) scanned in 64 seconds

Any attempt to connect to the ports listed above (apart from ssh & smtp) just 
hangs. I take it that this is expected behaiviour of the firewall accepting 
the connection and then ahnging onto it in order to slow attackers down?


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Setting up a firewall with dynamic IPs

1999-07-13 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth
I was checking out the firewall setup in /etc/rc.firewall, and noticed that 
the simple example relied on a fixed IP address for the external interface. I 
don't know ahead of time what IP address is going to be allocated to me before 
I dial up. Would it be possible to specify an interface (tun0) rather than an 
IP address?


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



Setting up a firewall with dynamic IPs

1999-07-13 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth

I was checking out the firewall setup in /etc/rc.firewall, and noticed that 
the simple example relied on a fixed IP address for the external interface. I 
don't know ahead of time what IP address is going to be allocated to me before 
I dial up. Would it be possible to specify an interface (tun0) rather than an 
IP address?


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: SDL port done yet?

1999-06-09 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth
> On Wed, 9 Jun 1999, Stephen Hocking-Senior Programmer PGS Tensor Perth wrote:
 
> Basically the entire SDL library works now on my FreeBSD-3.2-STABLE box
> ... (as that is where I have the main developer pf the SDL-librray do the
> porting)
> 
> The only problem is that the pthread_cancel functions are not in our
> pthread implementation yet 
> 

Hmm. Has he merged the changes into the SDL codebase yet? (what is it, 0.9.13). 
Is anyone doing anything about the pthread_cancel calls?


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



SDL port done yet?

1999-06-08 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth
A while ago, someone mentioned that they were partway through a port of the 
Simple DirectMedia Layer. Has this been completed?


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



Finding out what function an interrupt is tied to..

1999-06-02 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth

I'm having some problems since when the newbus code went in, in that
my sound card doesn't seem to be interrupting anymore (PAS16, Voxware
drivers). So what I'd like to do is look at the kernel and see
if an interrupt actually has  a function associated with it, and if
it's being masked out. Any ideas? Of course, this would have to happen
just as I learnt to rip my music CD's into mp3s.

Stephen


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



freebsd-hackers@freebsd.org

1999-05-24 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth
> Since this is right now a glide specific project perhaps a piecemeal
> approach to implementing this shim is appropriate.  The little I've looked
> at the glide libs shows; freebsd's nm can show all the important
> symbol info (externs) and our ldd can show the share object dependencies. 

That's exactly what I'm doing. Unfortunately, ldd spits the dummy. I think 
I'll be using code based on objcopy for modification of symbol names and 
dependent libraries.
>   
> How goes it with a native /dev/3dfx? 
> 
Not as well as I'd like. It follows the structure of Daryll Strauss'es code 
OK, but when glide is initialising, after getting the number of cards, it 
tries to pass a structure for some I/O which has some garbage values in it. I 
don't know if the structure is packed differently or what. Most frustrating. 
If I can beat this shim into shape, then we can have hardware accelerated 
OpenGL while I tinker with the device driver. Grrr. Have a Voodoo 1 myself. Am 
also waiting for someone else to do the mtrr code for AMD K6-2s.



Stephen
> 

-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



freebsd-hackers@freebsd.org

1999-05-24 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth

I'm hunting around for a list of entry points in both Linux & FreeBSD's
libc. I want to find out what linux libc entry points are not found within
the BSD libc, and what entry points that are common have different arguments
be they just different or things of the same name with different definitions.

This is so a shim library can be developed allowing the use of Linux libraries
liked into FreeBSD binaries. I am anticipating that perhaps the Linux
lib may have to be altered in some way (changing the name of an external
reference where it clashes with a FreeBSD libc call of the same name
with varying arguments, or mapping external variables onto their FreeBSD
equivalents). It'll make the use of certain recalcitrant third party libs
a bunch easier.


Stephen


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



Munging ELF binaries and libraries.

1999-05-24 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth

Has anyone written any tools that allow one to

a) Change the names of external symbols referenced by a library or exported 
out of a library.

b) Add to the list of shared objects that this library needs in order to run, 
so that a runtime linker will drag them in as well when a binary linked with 
this shared library is run.

The reason for the above is that I'm planning on tweaking various linux-only 
ELF libs so that when they're linked into a FreeBSD binary, a shim library 
will be automagically dragged in as well. This will allow FreeBSD users to 
happily create binaries that use 3dfx's glide library, for instance. Can you 
say hardware accelerated OpenGL?


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



SGI to release XFS under Open Source license

1999-05-19 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth

Some of you may already know this - I'm wondering about the pain involved in 
fitting it to our architecture. Journaling. Hmmm.


http://www.news.com/News/Item/0,4,36807,00.html?owv
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



Mosix now available under GPL

1999-05-17 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth

http://www.mosix.cs.huji.ac.il/txt_distribution.html

Now, who's going to port it to FreeBSD?



STephen

PS - my Seismic software code would love this
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message



Wonder what ftp.cdrom.com's utilisation's like now?

1999-05-11 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth

With the release of q3test for windows and the latest Linux release, it does 
seem to be getting hammered. It hit the 5000 user limit when I looked at it.


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

"We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true."Robert Wilensky, University of California




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message