NIC driver

2003-01-22 Thread Eirik Nygaard
I just got a new computer with a network card I don't seem to find any FreeBSD drivers for. It got a realtek 8201 chipset so I thought I could make my own driver, but I am not sure where to start. Are there any guides on how to make a simpel driver out there? Any hint & tips would be great, where

SSHD PRNG Not seeded under jail

2003-01-22 Thread Andrew Alston
Hi All, FBSD 5-RC2 was giving me a SSHD PRNG not seeded problem when running under jails, is this a problem with my configuration or a bug? And if a bug, has it been fixed in -RELEASE? Thanks Andrew To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body

Re: NIC driver

2003-01-22 Thread Mike Silbersack
On Wed, 22 Jan 2003, Eirik Nygaard wrote: > I just got a new computer with a network card I don't seem to find any > FreeBSD drivers for. It got a realtek 8201 chipset so I thought I > could make my own driver, but I am not sure where to start. Are there > any guides on how to make a simpel drive

Re: getnameinfo contacting 'wrong' resolver for lookup

2003-01-22 Thread Peter Pentchev
On Sun, Jan 05, 2003 at 12:55:48PM +, lemon wrote: > hi, > > i have a 4.7-STABLE box running two nameservers: a djbdns dnscache on > 127.0.0.1 to serve local requests, and have recently added a djbdns > tinydns on my external address to serve domains i host, viz: > > $ sockstat -4 | grep :53

Re: NIC driver

2003-01-22 Thread Eirik Nygaard
On Wed, Jan 22, 2003 at 08:18:57AM -0600, Mike Silbersack wrote: > > > I just got a new computer with a network card I don't seem to find any > > FreeBSD drivers for. It got a realtek 8201 chipset so I thought I > > could make my own driver, but I am not sure where to start. Are there > > any guid

RE: NIC driver

2003-01-22 Thread Abhay Kumar Srivastava
Hi Eirik, You can try out with the explanation of Pseudo driver in FreeBsd HandBook. Then you can look at the driver of existing Network Cards like pci/if_fxp.c Which is the driver for "Intel EtherExpress Pro/100B PCI Fast Ethernet driver". Regards, Abhay. -Original Message- From: Eirik Ny

Re: NIC driver

2003-01-22 Thread Mike Silbersack
On Wed, 22 Jan 2003, Eirik Nygaard wrote: > I am running 5.0-RELEASE, nothing shows up in neither dmesg nor > ifconfig. It is a built-in network card on an Asus A7N266-VM > motherboard. > > -- > > Eirik Nygaard <[EMAIL PROTECTED]> Ok, please post the output of a "pciconf -l", run as root. Perha

Re: getnameinfo contacting 'wrong' resolver for lookup

2003-01-22 Thread lemon
Peter Pentchev wrote: My previous attempts at analyzing this aside, could this be related to the problem described in PR bin/40984 and ports/39953? http://www.FreeBSD.org/cgi/query-pr.cgi?pr=40894 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=39953 the patch in the latter sorted the problem out,

Re: verbose device probing ?

2003-01-22 Thread Yury Tarasievich
Narvi wrote: If only Joe-Bob or some other very limited set of people have the card, then the severity of the bug in the *FreeBSD* bug database should probably not be 5 - orherwise the database will contain a large amount of bugs that claim to be of high severity but only ever affect neglible amo

Re: NIC driver

2003-01-22 Thread Eirik Nygaard
On Wed, Jan 22, 2003 at 09:12:47AM -0600, Mike Silbersack wrote: > > On Wed, 22 Jan 2003, Eirik Nygaard wrote: > > > I am running 5.0-RELEASE, nothing shows up in neither dmesg nor > > ifconfig. It is a built-in network card on an Asus A7N266-VM > > motherboard. > > > > -- > > > > Eirik Nygaard <

Re: NIC driver

2003-01-22 Thread Mike Silbersack
On Wed, 22 Jan 2003, Eirik Nygaard wrote: > none4@pci0:4:0: class=0x02 card=0x0c111043 chip=0x01c310de rev=0xc2 hdr=0x00 > > rl0@pci1:8:0 is another realtek card I put into the computer to be > abel to copy the pciconf -l info without manually writing it over. > The network card is none4@pci0

Questions regarding 5.x series driver/emu10k1 development

2003-01-22 Thread drevil
I have been using *nix-like operating systems since 1996 or so. Since 2000, I've used a *nix-like OS as my everyday desktop and rarely use Windows. Recently, I decided to try FreeBSD, the setup was fairly similar to some other OS's I've used and the documentation I've read so far seems to be fairl

panic with kqueue

2003-01-22 Thread Vijay.Singh
Greetings. I am trying to port kqueue to a FreeBSD 2.x based system. I have taken the base code from the 4.4.0-Release and then merged fixes all the way to the current version of the kern_event.c file. Some other changes needed were 1. adding struct klist p_klist to the proc struct 2. adding st

Re: patch to remove random #define MIN/MAX implementations fromaround the kernel

2003-01-22 Thread Matthew Dillon
: :On Tue, 21 Jan 2003, Matthew Dillon wrote: :> This might be useful follow-up work. i.e. the idea of getting rid of :> the use of the MIN and MAX macros in the kernel altogether. Though I'm :> not sure I like the fact that 'min' and 'max' in sys/libkern.h refer to :> unsigned ints (it really s

Re: verbose device probing ?

2003-01-22 Thread Terry Lambert
Yury Tarasievich wrote: > Narvi wrote: > >If only Joe-Bob or some other very limited set of people have the > >card, then the severity of the bug in the *FreeBSD* bug database > >should probably not be 5 - orherwise the database will contain a > >large amount of bugs that claim to be of high severi

Checking sockaddr_in port number for overflow

2003-01-22 Thread Giorgos Keramidas
I have been trying to think of a good way to check for overflow of port numbers of PF_INET sockets that are passed by the user. So far, this is what I have come up with: : #include : : #include : #include : #include : #include : #include : : int : main(int argc, char *argv[]) : { : s

signals lost when linked with libc_r ?

2003-01-22 Thread Enache Adrian
FreeBSD seems to loose signals in programs linked with libc_r. sigaction.c ( freely translated from Perl's ext/POSIX/t/posix.t test) -8x-- #include #include #include void sighup(int dummy) { kill(getpid(),SIGINT); sleep(1); printf("si

Re: Checking sockaddr_in port number for overflow

2003-01-22 Thread Lev Walkin
Giorgos Keramidas wrote: I have been trying to think of a good way to check for overflow of port numbers of PF_INET sockets that are passed by the user. So far, this is what I have come up with: : : errno == 0; : tmp = strtol(argv[1], &errp, 0); : if (errp == argv[1] || er

Re: Checking sockaddr_in port number for overflow

2003-01-22 Thread Steven Goodwin
On Wed, 22 Jan 2003, Lev Walkin wrote: > Giorgos Keramidas wrote: > > I have been trying to think of a good way to check for overflow of > > port numbers of PF_INET sockets that are passed by the user. So far, > > this is what I have come up with: > > > > : > > : errno == 0; I hope I'm n