Re: PPPoE w/ nat auto fragmentation hack?

2000-11-13 Thread FengYue
On Mon, 13 Nov 2000, Renaud Waldura wrote: ->I wrote an article about this setup. Should be published soon enough. ->http://renaud.waldura.com/doc/freebsd-pppoe/ -> ->I'd like to get your feedback on the section making use of tcpmssd: it ->doesn't seem to work when the link is brought up automat

Re: patches for 4.x devrandom so that bind "works"

2000-11-13 Thread Alfred Perlstein
* Mark Murray <[EMAIL PROTECTED]> [001113 22:17] wrote: > > I was playing with bind9 and got the typical: > > > > On FreeBSD systems, the server logs error messages like "fcntl(8, > > F_SETFL, 4): Inappropriate ioctl for device". This is due to > > a bug in the FreeSBD /dev/random dev

Re: pci bus enumeration & cdevsw indexing

2000-11-13 Thread Mike Smith
> > > to avoid the hard-coded major numbers in the cdevsw[] entry that's > > > passed? It seems like make_dev() should be able to roam cdevsw, find > > > > This is what devfs is meant to achieve. Unfortunately at the moment the > > major numbers need to be fixed because there's no dynamism in

Re: pci bus enumeration & cdevsw indexing

2000-11-13 Thread Mike Smith
> > What does your driver do? > > It's not a driver as much as driver infrastructure. To measure the > difficulty of porting the UDI Reference Implementation (available source > soon!) I decided to try porting it to an OS that I knew little about. Aha! I've been waiting for this since February

Re: PPPoE w/ nat auto fragmentation hack?

2000-11-13 Thread Renaud Waldura
I wrote an article about this setup. Should be published soon enough. http://renaud.waldura.com/doc/freebsd-pppoe/ I'd like to get your feedback on the section making use of tcpmssd: it doesn't seem to work when the link is brought up automatically by ppp. --Renaud - Original Message

Re: patches for 4.x devrandom so that bind "works"

2000-11-13 Thread Mark Murray
Hi I have something similar to this, and it goes slightly further. Yes, it is this simple :-). M > I was playing with bind9 and got the typical: > > On FreeBSD systems, the server logs error messages like "fcntl(8, > F_SETFL, 4): Inappropriate ioctl for device". This is due to > a

Re: zero copy TCP

2000-11-13 Thread Bosko Milekic
On Mon, 13 Nov 2000, Jin Guojun wrote: > Both, but I may do either way, depending on which way is easier. > If we can directly DMA from a disk drive to a NIC, that will be great. > If the current implementation requires preloaded buffer, that works. > So, where can I look for the patch? > > Th

Re: zero copy TCP

2000-11-13 Thread DSD staff
Alfred <[EMAIL PROTECTED]> wrote: > > I heard that zero copy TCP is already in FreeBSD, isn't it? > > I could not find any information in searching the entire website. > > Before I am going to spend some silly time working on it, > > I would like to know what is the status for "ZERO COPY TCP" in >

Re: Log analysis program running under apache reboots server!

2000-11-13 Thread Brian O'Shea
On Mon, Nov 13, 2000 at 11:56:37AM -0700, Nicole H wrote: > > On 13-Nov-00 Brian O'Shea wrote: > > Nicole, > > > > Is it a panic, or does it just silently reboot? If it's a panic, > > what is the panic message, or any other message on the console when > > the system crashes? Also, can you get

Re: zero copy TCP

2000-11-13 Thread Alfred Perlstein
* Jin Guojun <[EMAIL PROTECTED]> [001113 17:49] wrote: > I heard that zero copy TCP is already in FreeBSD, isn't it? > I could not find any information in searching the entire website. > Before I am going to spend some silly time working on it, > I would like to know what is the status for "ZERO C

zero copy TCP

2000-11-13 Thread DSD staff
I heard that zero copy TCP is already in FreeBSD, isn't it? I could not find any information in searching the entire website. Before I am going to spend some silly time working on it, I would like to know what is the status for "ZERO COPY TCP" in FreeBSD right now. If it already exists, how can I

Re: pointer for thread safe resolver stuff?

2000-11-13 Thread Tony Finch
Alfred Perlstein <[EMAIL PROTECTED]> wrote: > >I'm going to keep reading the library source (and cursing the ISC) >but I was wondering if anyone knew of any docs for the bind9 stuff >or any other thread safe (non-GPL'd) resolver library. AFAIK the bind-9 resolver is a full resolver not a stub res

Re: pci bus enumeration & cdevsw indexing

2000-11-13 Thread Sergey Babkin
Robert Lipe wrote: > > Kenneth D. Merry wrote: > > I do know that we have the concept of probe priorities, so you could > > probably set up UDI to probe at a higher priority than the default system > > drivers, and therefore attach instead of the default FreeBSD driver for a > > given piece of h

patches for 4.x devrandom so that bind "works"

2000-11-13 Thread Alfred Perlstein
I was playing with bind9 and got the typical: On FreeBSD systems, the server logs error messages like "fcntl(8, F_SETFL, 4): Inappropriate ioctl for device". This is due to a bug in the FreeSBD /dev/random device. The bug has been reported to the FreeBSD maintainers. Versions of O

Re: Log analysis program running under apache reboots server!

2000-11-13 Thread Robert Sexton
On Mon, Nov 13, 2000 at 11:56:37AM -0700, Nicole H wrote: > > On 13-Nov-00 Brian O'Shea wrote: > > Nicole, > > > > Is it a panic, or does it just silently reboot? If it's a panic, > > what is the panic message, or any other message on the console when > > the system crashes? Also, can you get

Re: Log analysis program running under apache reboots server!

2000-11-13 Thread Bosko Milekic
Likely, you're getting a panic() and since you likely don't have debugging options, the machine eventually reboots itself. Notice that this is all "likely" and that since we don't have a crash dump, stack trace, or similar debugging information, that there's not much that ca

Re: Log analysis program running under apache reboots server!

2000-11-13 Thread Nicole
On 13-Nov-00 Nicole H wrote: > > On 13-Nov-00 Brian O'Shea wrote: >> Nicole, >> >> Is it a panic, or does it just silently reboot? If it's a panic, >> what is the panic message, or any other message on the console when >> the system crashes? Also, can you get a crash dump? (see the >> dumpon(

Re: Log analysis program running under apache reboots server!

2000-11-13 Thread Nicole H
On 13-Nov-00 Brian O'Shea wrote: > Nicole, > > Is it a panic, or does it just silently reboot? If it's a panic, > what is the panic message, or any other message on the console when > the system crashes? Also, can you get a crash dump? (see the > dumpon(8) man page) > > -brian > Silent reb

Re: cvs commit: src/usr.sbin/pciconf vendors.h pciconf.8 pciconf.c

2000-11-13 Thread Neil Blakey-Milner
On Mon 2000-11-13 (12:24), Roger Hardiman wrote: > Mike Smith wrote: > > > > The downside of this is that it bloats pciconf from about 5k to about > > 130k. If someone feels passionately about this, they're welcome to add a > > compile-time option to leave the strings out. > > We will have to a

Re: Log analysis program running under apache reboots server!

2000-11-13 Thread Brian O'Shea
Nicole, Is it a panic, or does it just silently reboot? If it's a panic, what is the panic message, or any other message on the console when the system crashes? Also, can you get a crash dump? (see the dumpon(8) man page) -brian On Mon, Nov 13, 2000 at 10:58:39AM -0800, Nicole Harrington wro

Log analysis program running under apache reboots server!

2000-11-13 Thread Nicole Harrington
Greetings all.. I have been trying to test an apache log analizing program called Nettracker (.sane.com) the program seems nice except for the fact that it keeps rebooting/crashing the server. This would just be labeled crappy software except for the fact that I am running the software

Re: USB-to-SCSI converter

2000-11-13 Thread Wilko Bulte
On Mon, Nov 13, 2000 at 10:38:44AM -0500, James FitzGibbon wrote: > * Chris Dillon ([EMAIL PROTECTED]) [001113 08:22]: > > On Sun, 12 Nov 2000, Nick Hibma wrote: > > > > > I don't know. The only thing I know is that the protocol on the > > > USB wire does not let you select the SCSI id, just the

RE: simple lock and the lost wakeup problem

2000-11-13 Thread John Baldwin
On 12-Nov-00 Zhiui Zhang wrote: > > I am new to SMP subject and have some questions to ask: > > Is the simplelock() really needed since FreeBSD is using the big giant > lock and the kernel is non preemptive? Or has FreeBSD changed the big > giant lock and made kernel thread preemptive? Uresha V

Re: Smart And Friendly Burner?

2000-11-13 Thread Daryl Chance
I burned the copy from the 4.2RC1 iso found on the ftp site. doing a list on / shows the kernel was compiled on Nov 7th. When I recompiled the kernel (not adding, just commenting stuff out) It showed the message that looked fine. (/kernel: acd1: CD-RW at ata1-slave using WDMA2) The first messag

Re: Smart And Friendly Burner?

2000-11-13 Thread Soren Schmidt
It seems Daryl Chance wrote: > Hi, > > Anyone else have a smart and friendly cd burner? When I boot I get this: > > /kernel: acd0: CDROM at ata1-master using > UDMA33 > /kernel: ata1-slave: timeout waiting for command=ef s=00 e=00 > /kernel: ata1-slave: timeout waiting for command=ef s=00 e=00

Re: pci bus enumeration & cdevsw indexing

2000-11-13 Thread Robert Lipe
Kenneth D. Merry wrote: > On Mon, Nov 13, 2000 at 08:51:37 -0600, Robert Lipe wrote: > > Kenneth D. Merry wrote: > > That is probably the direction you want to go in. We've got a device > infrastructure already (new-bus), which is probably what you want to use. This is the second mention I've h

Re: pci bus enumeration & cdevsw indexing

2000-11-13 Thread Kenneth D. Merry
On Mon, Nov 13, 2000 at 08:51:37 -0600, Robert Lipe wrote: > Kenneth D. Merry wrote: > > What does your driver do? > > It's not a driver as much as driver infrastructure. To measure the > difficulty of porting the UDI Reference Implementation (available source > soon!) I decided to try porting i

Re: pci bus enumeration & cdevsw indexing

2000-11-13 Thread Warner Losh
In message <[EMAIL PROTECTED]> Robert Lipe writes: : Is there a "normal" way for a conforming driver to walk the busses, : pluck out bus number, slot number, device id, subsystem id, and all that : traditional stuff, or do I just need to carve up pci.c and build my own : interface to do it? You m

Re: KLDs and PCI?

2000-11-13 Thread Warner Losh
In message <[EMAIL PROTECTED]> "Chris Ptacek" writes: : I am working on a KLD for a PCI device. My problem is I can't find how to : call the probe and attach calls during the load for a PCI device. I have : looked in the /usr/src/sys/pci directory and haven't found any KLDs to use : as an examp

Re: USB-to-SCSI converter

2000-11-13 Thread James FitzGibbon
* Chris Dillon ([EMAIL PROTECTED]) [001113 08:22]: > On Sun, 12 Nov 2000, Nick Hibma wrote: > > > I don't know. The only thing I know is that the protocol on the > > USB wire does not let you select the SCSI id, just the LUN. > > Since you can select the LUN and not the ID, maybe they've mapped

Smart And Friendly Burner?

2000-11-13 Thread Daryl Chance
Hi, Anyone else have a smart and friendly cd burner? When I boot I get this: /kernel: acd0: CDROM at ata1-master using UDMA33 /kernel: ata1-slave: timeout waiting for command=ef s=00 e=00 /kernel: ata1-slave: timeout waiting for command=ef s=00 e=00 /kernel: ata1-slave: CDROM device -NO DRIVE

Re: pci bus enumeration & cdevsw indexing

2000-11-13 Thread Robert Lipe
> > I have a need to walk the PCI bus, gleaning PCI IDs and other data. > > (Yes, I know a dozen reasons why to NOT do that.) What I *almost* > > need is the loop in pci_ioctl that walks pci_dev[]. The catch here is > > you doing things this way? [ Answered in separate message. ] > Are the

Re: pci bus enumeration & cdevsw indexing

2000-11-13 Thread Robert Lipe
Kenneth D. Merry wrote: > On Mon, Nov 13, 2000 at 00:44:10 -0600, Robert Lipe wrote: > > I have a need to walk the PCI bus, gleaning PCI IDs and other data. > > (Yes, I know a dozen reasons why to NOT do that.) What I *almost* > > need is the loop in pci_ioctl that walks pci_dev[]. The catch he

Re: STABLE ATAPI CD-ROM

2000-11-13 Thread Soren Schmidt
It seems Dimitar V. Peikov wrote: > > Yesterday, I've CVSuped -STABLE and UPGRADE using information in > /usr/src/UPDATING from 4.1.1-STABLE. Re-cvsup, this has been fixed... -Søren To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

STABLE ATAPI CD-ROM

2000-11-13 Thread Dimitar V. Peikov
Yesterday, I've CVSuped -STABLE and UPGRADE using information in /usr/src/UPDATING from 4.1.1-STABLE. make buildworld make buildkernel KERNEL=YOUR_KERNEL_HERE make installkernel KERNEL=YOUR_KERNEL_HERE reboot (in single user) [1] make installworld

Re: USB-to-SCSI converter

2000-11-13 Thread Chris Dillon
On Sun, 12 Nov 2000, Nick Hibma wrote: > I don't know. The only thing I know is that the protocol on the > USB wire does not let you select the SCSI id, just the LUN. Since you can select the LUN and not the ID, maybe they've mapped SCSI ID0:LUN0 to ID0:LUN0 (duh), ID1:LUN0 to ID0:LUN1, ID2:LUN0

Re: USB-to-SCSI converter

2000-11-13 Thread Nick Hibma
In that case it might be that they are using some kind of private command to set the SCSI subsequently to different IDs. I'll check whether I have the device here and if so, I will try and snoop that command off the wire. Thanks for the pointer! Nick On Sun, 12 Nov 2000, James FitzGibbon wrot

Re: KLDs and PCI?

2000-11-13 Thread Mike Smith
> I am working on a KLD for a PCI device. My problem is I can't find how to > call the probe and attach calls during the load for a PCI device. I have > looked in the /usr/src/sys/pci directory and haven't found any KLDs to use > as an example. What are the steps I need to take to handle a PCI

Re: pci bus enumeration & cdevsw indexing

2000-11-13 Thread Mike Smith
> I'm new to FreeBSD, but an experienced kernel guy. I'm workgin with > 4.1.1 on IA32 and need help understanding the ways of your world. :-) > I'd like my project to look like a "normal" driver and use supported > interfaces, but I'll patch the core code if I need to. This willingness is good.

pointer for thread safe resolver stuff?

2000-11-13 Thread Alfred Perlstein
Hey, I'm not having much fun trying to find threadsafe code to do gethostbyname_r, someone pointed me at Bind9 which has what looks like some threadsafe stuff, however I can't seem to find any docco for it. (such as how to init the hostent that I pass to it and which functions are trully threadsa