Re: Network monitoring

2004-11-23 Thread Julian Elischer
Daniel Eischen wrote: On Tue, 23 Nov 2004, Simon Roberts wrote: I apologize that this probably isn't the most relevant list to ask this on. Suggestions for better lists will be welcome. I'm trying to monitor traffice on a 100BaseT ethernet network link. I split the line, put a hub in and am

Re: FreeSBIE 1.1 Release Announcement

2004-12-08 Thread Julian Elischer
Massimiliano Stucchi wrote: On 071204, 18:52, Matteo Riondato wrote: Il giorno Mar, 07-12-2004 alle 17:22 +0200, Erik Udo ha scritto: The last time i checked, FreeSBIE GUI was not to my taste. -I rather use IceWM as my Window Manager, it is small and fast. And still very usable. It's my

Re: mmap()

2004-12-09 Thread Julian Elischer
Kamal R. Prasad wrote: My usb device probably doesn't have a dma controller, so I don't think the bulk pipe can use any memory allocated by bus_dma. [Pl. correct me if Im wrong this]. thanks -kamal all USB devices use full scatter-gather DMA. UHCI and OHCI are limitted I believe to 4GB of

Re: rc.shutdown and jails

2004-12-11 Thread Julian Elischer
Ralf S. Engelschall wrote: On Fri, Dec 10, 2004, Nielsen wrote: Ralf S. Engelschall wrote: Currently a /etc/rc.d/jail stop just kills all processes in the individual jails. If /etc/default/rc.conf's default way of booting the jails (jail_exec=/bin/sh /etc/rc) is used this is a rather crual

Re: rc.shutdown and jails

2004-12-11 Thread Julian Elischer
Nielsen wrote: Julian Elischer wrote: I think we should introduce an init process for jails.. It would be responsible for all that the normal init is responsible for except for being the default parent.. (some might argue for that too). Sending it a particular signal would notify it to send

Re: Fixing Posix semaphores

2004-12-15 Thread Julian Elischer
Joe Kelsey wrote: On Tue, 2004-12-14 at 10:11 -0800, Kamal R. Prasad wrote: --- Joe Kelsey [EMAIL PROTECTED] wrote: BTW -how would you deal with a diskless workstation running Freebsd? Why does this matter? If the system uses NFS, then all bets are off. If the system contains a

Re: Multiple hard disk failures - coincidence ?

2004-12-18 Thread Julian Elischer
Peter Jeremy wrote: On Sat, 2004-Dec-18 02:03:09 -0500, Gary Corcoran wrote: I've just had *THREE* Maxtor 250GB hard disk failures on my FreeBSD 4.10 server within a matter of days. One I could attribute to actual failure. Two made me suspicious. Three has me wondering if this is some software

Re: roblem related to sockets in FreeBSD Kernel

2004-12-20 Thread Julian Elischer
look at the netgraph ng_ksocket code.. In fact you may find that you can use it directly. Some people have written their own in-kernel httpd using this and netgraph. aditya eipl wrote: Hi, I am writing a socket server in the kernel mode in FreeBSD 4.6.2. This program accepts connection and

Re: Kernel mode programming

2005-01-18 Thread Julian Elischer
Zera William Holladay wrote: On Tue, 18 Jan 2005, Kamal R. Prasad wrote: --- Zera William Holladay [EMAIL PROTECTED] wrote: [stuff deleted] regards -kamal Thanks, that makes sense. having said all that howeve, it is often not the big win that people expect to put an app into the

Re: - I A -

2005-01-18 Thread Julian Elischer
Street Chaman wrote: NOTE: THIS IS NOT A JOKE. Firstly. I doubt that anyone on this list would take someone else's flash of inspiration as a joke.. at least not unless it's shown to be a joke. Most of us would like to be involved in something like that. I don't know if it is the right place to

Re: Two keyboards

2005-01-21 Thread Julian Elischer
Bram Van Steenlandt wrote: Hi For a pos system I am working on I need support for two keyboards (actually one keyboard(ps/2) and one scanner(usb)). you can already do this.. what makes you call the scanner a keyboard? I've read a previous post and there it was supposed that one should write a

Re: Two keyboards

2005-01-21 Thread Julian Elischer
Brooks Davis wrote: On Fri, Jan 21, 2005 at 10:46:21AM +0100, Bram Van Steenlandt wrote: Hi For a pos system I am working on I need support for two keyboards (actually one keyboard(ps/2) and one scanner(usb)). I've read a previous post and there it was supposed that one should write a

Re: Two keyboards

2005-01-22 Thread Julian Elischer
David Scheidt wrote: Julian Elischer wrote: Bram Van Steenlandt wrote: Hi For a pos system I am working on I need support for two keyboards (actually one keyboard(ps/2) and one scanner(usb)). you can already do this.. what makes you call the scanner a keyboard? Proabably, because it acts like

Re: Two keyboards

2005-01-22 Thread Julian Elischer
Bram Van Steenlandt wrote: Julian Elischer wrote: Brooks Davis wrote: On Fri, Jan 21, 2005 at 10:46:21AM +0100, Bram Van Steenlandt wrote: Hi For a pos system I am working on I need support for two keyboards (actually one keyboard(ps/2) and one scanner(usb)). I call the scanner a keyboard

Re: freebsd problem: Cannot detect Hard Disk (SATA)

2005-01-22 Thread Julian Elischer
Dmitry Morozovsky wrote: On Wed, 19 Jan 2005, Doug Ambrisko wrote: DA There is: DA http://www.ambrisko.com/doug/ata/ata_stable_sata_7.patch DA for 4.10. That deals with Intel and Promise SATA stuff and DA ata-raid fixes/enhancements. It deals with legacy and enhanced modes DA for Intel SATA.

Re: freebsd problem: Cannot detect Hard Disk (SATA)

2005-01-22 Thread Julian Elischer
Dmitry Morozovsky wrote: On Wed, 19 Jan 2005, Doug Ambrisko wrote: DA There is: DA http://www.ambrisko.com/doug/ata/ata_stable_sata_7.patch DA for 4.10. That deals with Intel and Promise SATA stuff and DA ata-raid fixes/enhancements. It deals with legacy and enhanced modes DA for Intel SATA.

Re: Two keyboards

2005-01-23 Thread Julian Elischer
[EMAIL PROTECTED] wrote: - Oorspronkelijk bericht - then the ukbd driver should handle it.. have you tried it? Do you mean I can use a different driver. now when I connect it it works but I can't type anymore. When I remove the scanner I can type again Just disable the entry in

Re: Two keyboards

2005-01-24 Thread Julian Elischer
Bram Van Steenlandt wrote: Julian Elischer wrote: [EMAIL PROTECTED] wrote: - Oorspronkelijk bericht - then the ukbd driver should handle it.. have you tried it? Do you mean I can use a different driver. now when I connect it it works but I can't type anymore. When I remove the scanner

Re: freebsd problem: Cannot detect Hard Disk (SATA) RELENG_4

2005-01-24 Thread Julian Elischer
Doug, could you comit your patchsets to RELENG_4? Doug Ambrisko wrote: Dmitry Morozovsky writes: | On Sat, 22 Jan 2005, Dmitry Morozovsky wrote: | | DM DA There is: | DM DA http://www.ambrisko.com/doug/ata/ata_stable_sata_7.patch | DM DA for 4.10. That deals with Intel and Promise SATA stuff

Re: freebsd problem: Cannot detect Hard Disk (SATA) RELENG_4

2005-01-24 Thread Julian Elischer
Doug Ambrisko wrote: Julian Elischer writes: | Doug, could you comit your patchsets to RELENG_4? I could but have not been given an okay from RE. Theoreticallty you do not need RE's permission at the moment. (though it would be nice) What I've proposed to do before is commit the base HW

Re: seg fault on kse_release () (fwd)

2005-01-25 Thread Julian Elischer
Jose Hidalgo Herrera wrote: The line causing the SEGFAULT is rc = pthread_create(threads[t], NULL, PrintHello, (void *)t); Why?, because t is declared as: int t; then you say: args for start_routine in pthread_create are located in the address: t This will be what you want: rc =

Re: RFC: backporting GEOM to the 4.x branch

2005-02-04 Thread Julian Elischer
Geom requires DEVFS and requires that you DON'T have a static /dev. ALeine wrote: I would hereby like to politely request your comments on backporting GEOM to the 4.x branch. I personally would like to see GEOM backported to the 4.x branch and I would appreciate it if all the developers

Re: Star FreeBSD

2005-02-11 Thread Julian Elischer
Joerg Schilling wrote: Hi, Last night, I did convert star from a GPL tool into a CDDL tool. This now makes star compliant with the BSD philosophy. Is there a chance to have star integrated into FreeBSD? Not to put down the work you have done, but we've just switched to Tim's BSDtar so it seems

realplay and 4.11

2005-02-22 Thread Julian Elischer
Anyone made this combination work? I've reinstalled all the packages so all teh dependencies shoudl be there but the command realplay results in : /usr/local/lib/RealPlayer/realplay.bin: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/lib/libstdc++.so.5) Anyone with a clue

Re: realplay and 4.11

2005-02-22 Thread Julian Elischer
Dan Nelson wrote: In the last episode (Feb 22), Julian Elischer said: Anyone made this combination work? I've reinstalled all the packages so all teh dependencies shoudl be there but the command realplay results in : /usr/local/lib/RealPlayer/realplay.bin: /lib/libgcc_s.so.1: version `GCC_3.3

Re: intercepting RSVP packets with netgraph

2005-02-27 Thread Julian Elischer
Aziz KEZZOU wrote: Hi all, I've read every thing I could find about netgraph but I still can not figure out how to intercept (divert) all IP packets of a certain type (say RSVP) and call my own function to process them. Notice that the processing has to occur at the kernel level. Any help is

Re: sched_4BSD

2005-02-28 Thread Julian Elischer
Ashwin Chandra wrote: I wanted to get some clarification about the 4BSD scheduler. I am sort of confused why there are two forms of scheduling, one done between processes and another done between threads in a process. The priority calculations seem to be done only with processes and I assume that

Re: sched_4BSD

2005-03-01 Thread Julian Elischer
, Julian Elischer [EMAIL PROTECTED] wrote: Ashwin Chandra wrote: I wanted to get some clarification about the 4BSD scheduler. I am sort of confused why there are two forms of scheduling, one done between processes and another done between threads in a process. The priority calculations seem

Re: sched_4BSD

2005-03-01 Thread Julian Elischer
João Carlos Mendes Luís wrote: Julian Elischer wrote: Sarath Kamisetty wrote: Hi, How does Linux handle this ? Any idea ? If you make 1000 threads, you get 1000 slots on the scheduler. (last time I looked.. Let me know if I'm wrong). The guy next to you with 'vi' gets 1 slot.. who gets more

Re: sched_4BSD

2005-03-02 Thread Julian Elischer
the cpu they can get, and one is written using 1000 threads, then why should it get 1000/1001 of the cpu? On Mar 1, 2005, at 2:49 PM, Julian Elischer wrote: If you make 1000 threads, you get 1000 slots on the scheduler. (last time I looked.. Let me know if I'm wrong). The guy next to you

Re: sched_4BSD

2005-03-02 Thread Julian Elischer
block right? Threads are meant to take advantage of concurrency. Maybe the freebsd implementation should implement NPTL in entirety. NPTL? New Pthreads Library from Library? isn't that GPL'd? On Mar 1, 2005, at 2:49 PM, Julian Elischer wrote: If you make 1000 threads, you get 1000

Re: sched_4BSD

2005-03-03 Thread Julian Elischer
Kamal R. Prasad wrote: --- Julian Elischer [EMAIL PROTECTED] wrote: Kamal R. Prasad wrote: --- Lucas Holt [EMAIL PROTECTED] wrote: Wouldn't a multi threaded program potentially need more cpu time than vi? No. That is not a given. Multithreaded apps

Re: Collecting data in userland from kernel

2005-03-03 Thread Julian Elischer
M. Warner Losh wrote: In message: [EMAIL PROTECTED] Joseph Koshy [EMAIL PROTECTED] writes: : First one is in general abt the method to be followed, I : have the following ideas ... [snip] : : Have you looked at netgraph(4) and ng_socket(4)? Or bpf(4)? or KTR? Warner

Re: sched_4BSD

2005-03-03 Thread Julian Elischer
Kamal R. Prasad wrote: --- Julian Elischer [EMAIL PROTECTED] wrote: so how does that differ from what we have ... a native pthreads library? I just said if it was conformant with NPTL, thread and process scheduling would co-exist. in theory it does in FreeBSD's pthreads library. (though it needs

Re: generic network protocols parser ?

2005-03-04 Thread Julian Elischer
Aziz KEZZOU wrote: Hi all, I am wondering if any one knows about a generic parser which takes a packet (mbuf) of a certain protocol (e.g RSVP ) as input and generates some data structre representing the packet ? you might look at DPF (a packet filter/classifier).. it has an interesting filter

Re: FreeBSD 4.11-RELEASE SACK

2005-03-04 Thread Julian Elischer
Kan Cai wrote: Greetings, I posted this question on freebsd-question list yesterday, but no replies. So I am just trying my luck here. Thanks in advance. I've installed the standard FreeBSD 4.11-RELEASE and have realized that the sysctl option for enabling SACK in TCP is not available

Re: What about inode file system? (Re: the current status ofnullfs, unionfs)

2005-03-10 Thread Julian Elischer
Brooks Davis wrote: On Thu, Mar 10, 2005 at 12:53:20PM -0500, Mikhail Teterin wrote: A few years ago, there was a project making a filesystem, where a file's name will simply be its inode number. It was intended to save on the name-to-inode lookups of a regular filesystem, for applications

Re: USB 2.0 with bogus Data Rate

2005-03-21 Thread Julian Elischer
Carlos Silva aka|Danger_Man| wrote: Hi hackers, I have a little problem with my external disk drive, my data transfer rate is 1.000MB/s. I have USB 2.0 so the rate is larger, right? Somebody has an idea how to enlarge the rate? the data rate is bogus because it is printed by the scsi/cam code

Re: running freebsd in qemu using the -nographic option ?

2005-03-23 Thread Julian Elischer
Aziz KEZZOU wrote: Hi all, I am running freebsd 5.3 under qemu (a fast IA32 emulator). My host system is linux. Everything works fine, but I want to get rid of this small non-scrollable window, not practical when gcc says I made many many errors :-)... you can scroll it after hittong tthe

Re: running freebsd in qemu using the -nographic option ?

2005-03-25 Thread Julian Elischer
Aziz KEZZOU wrote: Aziz KEZZOU wrote: Hi all, I am running freebsd 5.3 under qemu (a fast IA32 emulator). My host system is linux. Everything works fine, but I want to get rid of this small non-scrollable window, not practical when gcc says I made many many errors :-)... you can

Re: organization

2005-03-28 Thread Julian Elischer
mohamed aslan wrote: hi guys it's my first post here, BTW i was a linux hacker and linux kernel mailing list member for 3 years. and i've a comment here , i think the freebsd kernel source files aren't well organized as linux ones. You are in some ways correct.. Unfortunatly, as our project

Re: organization

2005-03-28 Thread Julian Elischer
c0ldbyte wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 28 Mar 2005, mohamed aslan wrote: hi guys it's my first post here, BTW i was a Linux hacker and Linux kernel mailing list member for 3 years. and I've a comment here , i think the freebsd kernel source files aren't well

Re: ATA security commands, bug in atacontrol

2005-04-04 Thread Julian Elischer
ALeine wrote: You would then take the USB flash drive with you and after returning home you would repeat the procedure (assuming your drives were not stolen :-), only issuing unlock and disable password commands. Another reboot and you could boot off your drive(s). And while travelling,

Re: Tricky USB device.

2005-04-08 Thread Julian Elischer
Maksim Yevmenkin wrote: Bernd Walter wrote: On Fri, Apr 08, 2005 at 06:12:33PM -0400, David Gilbert wrote: Bernd Has this device multiple interfaces? e.g. one HID and another Bernd as described. I often thought about getting ugen working at Bernd interface level too. Here's the output of

Re: libthread 1:1 threads

2005-04-23 Thread Julian Elischer
Lyndon Nerenberg wrote: --On 2005-4-22 3:02 PM -0700 David Leimbach [EMAIL PROTECTED] wrote: According to the man page, and plan 9 where rfork originated you can use it to modify an extant process. In fact you have to set the RFPROC flag to make a new process or all the changes apply to the

Re: libthread 1:1 threads

2005-04-22 Thread Julian Elischer
David Leimbach wrote: Perhaps David Xu could clue me in a bit more :) I just got around to reading the status report for FreeBSD and the 1:1 threading caught my eye. I'm not terribly familiar with FreeBSD's KSE based threading but rather than adding a new system call [which may be ok... though

Re: Problem with: OSPF thru netgraph Gif Tunnels

2005-04-25 Thread Julian Elischer
Chris Bose wrote: Hi All, Im trying to setup a network between two locations over a WAN and Im running into a wall when I try to get OSPF to talk over my WAN tunnel. Ive realized that Im not smart enough and need your help. The problem is as follows: My network consists of the following:

Re: mergemaster improvement (auto-update for not modified files)

2005-05-03 Thread Julian Elischer
John Hay wrote: On Tue, May 03, 2005 at 01:27:09PM +0400, Denis Peplin wrote: The mergemaster with this is test patch (attached) can auto-update files that was not modified. It do this by compairing each file with it's CVS copy. If file was not modified, it can be rewritten. This dramatically

Re: mergemaster improvement (auto-update for not modified files)

2005-05-03 Thread Julian Elischer
c0ldbyte wrote: IMHO this isnt something that should be included with mergemaster due to the following things. 1). It should upgrade a file if the files cvs id doesnt match and provide you with a merge option, which it allready does both of those as it is now. 2). Only upgrading files that havent

Re: files refused to delete

2005-05-04 Thread Julian Elischer
use ls -lo to see if there are any special flags set on the file. man chflags for more information on the flags. How did you delete if from linux? last I heard the linux ufs code was not very healthy. maybe they fixed it.. Maslan wrote: when i've extract a bz2 file containing filenames in other

Re: A bit confused with the sched_4bsd.c code

2005-05-05 Thread Julian Elischer
Scott Long wrote: Halil Demirezen wrote: Hello, First of all, I am not sure if this is the correct mail list with posting this mail. I apologize for that.. Second, I may seem to have little C knowledge, though I am using C for about 5 years and plus. Let's start with the question. I am digging

Re: A bit confused with the sched_4bsd.c code

2005-05-05 Thread Julian Elischer
Halil Demirezen wrote: Hello, First of all, I am not sure if this is the correct mail list with posting this mail. I apologize for that.. Second, I may seem to have little C knowledge, though I am using C for about 5 years and plus. Let's start with the question. I am digging the FreeBSD-5.3

Re: NatSemi DP83820 gigE driver kit for 4.2 and 4.3

2001-07-16 Thread Julian Elischer
The proble is that teh ethernet header is 14 bytes so you must choose to allighn either the whole packet, or the IP header, but you cannot do both. On Mon, 16 Jul 2001, Soren Kristensen wrote: Hi, [EMAIL PROTECTED] wrote: In a message dated 07/16/2001 1:11:09 PM Eastern Daylight

Re: flock/pthread bug?

2001-07-18 Thread Julian Elischer
probably you should try : #define LOCK_NB0x04 /* don't block when locking */ Also if you have shared memory, why not use /* Get a spin lock, handle recursion inline (as the less common case) */ #define _getlock_spin_block(mtxp, tid, type) ({ \

Re: arcnet support for FreeBSD (request for review)

2001-07-19 Thread Julian Elischer
] with "unsubscribe freebsd-hackers" in the body of the message -- ++ __ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ [EMAIL PROTECTED] +--x USA\ a very strang

Re: arcnet support for FreeBSD (request for review)

2001-07-19 Thread Julian Elischer
On Thu, 19 Jul 2001, Joerg Micheel wrote: On Thu, Jul 19, 2001 at 02:35:51AM -0500, David Scheidt wrote: On Thu, 19 Jul 2001, Julian Elischer wrote: :Max Khon wrote: : : hi, there! : :what is arcnet? : It's a token-based LAN protocol. It's used in some embedded

A full source-tour somewhere?

2001-07-23 Thread Julian Elischer
? -- ++ __ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ [EMAIL PROTECTED] +--x USA\ a very strange | ( OZ)\___ ___ | country ! +- X_.---._/presently in San Francisco \_/ \\ v

Re: A full source-tour somewhere?

2001-07-23 Thread Julian Elischer
Dima Dorfman wrote: Julian Elischer [EMAIL PROTECTED] writes: At one stage at whistle we had the kernel fully cross-referenced using the 'global' program (now in ports) which produced a website that could be browsed to find 'all the callers of xxx()' etc. does anyone have

Re: A full source-tour somewhere?

2001-07-23 Thread Julian Elischer
Julian Elischer wrote: Dima Dorfman wrote: [...] * A cross reference of the FreeBSD kernel well I have the source code of course, but the second is what I'm looking for except that it stopped being updated October 2000. I'm looking for a current one. oh yeah, and that one

Re: review request: ng_split cleanup

2001-07-24 Thread Julian Elischer
On Tue, 24 Jul 2001, Brooks Davis wrote: Please review the following diff for the ng_split netgraph node. It cleans up a number of style issues, removes some functions that just did that the default functions did, and renames the node to split from ng_split to follow the normal

Re: using syscalls in a module (stack problem ?)

2001-07-24 Thread Julian Elischer
Now that interrupts are threads we probably don't need 2 pages any more as each interrupt should get it's own u-area and stack to use. Previously you had to take into account the worst-case nested interrupt. On Mon, 23 Jul 2001, Mike Smith wrote: Make sense. But there are other things in

RE: review request: ng_split cleanup

2001-07-24 Thread Julian Elischer
oops actually I think that I do it because 'indent' also recognises it I think. yeah.. what he says.. :-) On Tue, 24 Jul 2001, John Baldwin wrote: On 24-Jul-01 Brooks Davis wrote: Please review the following diff for the ng_split netgraph node. It cleans up a number of style issues,

Re: review request: ng_split cleanup

2001-07-24 Thread Julian Elischer
I agree and see that you committed it already :-) On Tue, 24 Jul 2001, Brooks Davis wrote: On Tue, Jul 24, 2001 at 05:04:53PM -0700, Julian Elischer wrote: On Tue, 24 Jul 2001, Brooks Davis wrote: Index: ng_split.c

Re: cluster size

2001-07-25 Thread Julian Elischer
Basically you want it to hold a number of mbufs and you want it to fit into a page nicely. you probably want it to have a bit of extra rume for oversized packets too. 2K seems a good fit. nothing magic about it however. (should be less than a page, bigget than an ehternet packet(plus a bit)

Re: cluster size

2001-07-25 Thread Julian Elischer
no.. it has to do with the fact that it would be unwise to make a cluster 1 page size since we have no guarantee that all drivers could handle breaking up a DMA if a cluster spanned 2 physical address ranges. (they can handle a chain of discontinuous mbufs but may assume that a single mbuf will

Re: ARP cache problems....

2001-07-26 Thread Julian Elischer
ac-ac_if.if_name, ac-ac_if.if_unit); goto reply; } #endif and just hack off this message. Regards, Eugene To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message -- +---

Re: inet_aton

2001-07-28 Thread Julian Elischer
cribe freebsd-hackers" in the body of the message -- ++ __ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ [EMAIL PROTECTED] +--x USA\ a very strang

Re: Softupdate gripe...

2001-07-30 Thread Julian Elischer
are you sure you actually deleted anything in /d/d0? dot files? On Mon, 30 Jul 2001, Jaye Mathisen wrote: 2 500+GB FS's, both filled completely. Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/twed3d 524698116 524697730 386 100%

Re: inet_aton

2001-07-31 Thread Julian Elischer
I think Warner Losh may have already done this On Tue, 31 Jul 2001, Anjali Kulkarni wrote: Hi, Thanks for your response. The reason I am trying to use inet_aton is because I am writing a kernel proxy which connects to a webserver etc. etc. So, I need to convert the server's ip

Re: inet_aton

2001-07-31 Thread Julian Elischer
hmm I thought it was you doing an in-kernel proxy? ah no wait it was an in-kernel server? (wasn't it?) On Tue, 31 Jul 2001, Warner Losh wrote: In message [EMAIL PROTECTED] Julian Elischer writes: : I think Warner Losh may have already done this I don't think I've done this. Warner

Re: Finding MAC address of interface - programming question

2001-07-31 Thread Julian Elischer
he message -- ++ __ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ [EMAIL PROTECTED] +--x USA\ a very strange | ( OZ)\___ ___ | country ! +- X_.---._/presently in San Francisco \_/ \\ v #include sys/types.

Re: crash dump output

2001-08-01 Thread Julian Elischer
send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message instead of typing "config MYKERNEL" type "config -g MYKERNEL" (then don't forget to turn on dumps in rc.conf) -- +----+ _

Re: crash dump output

2001-08-01 Thread Julian Elischer
no, as long as your swap device is big enough to hold all of RAM it will work.. you are supposed to use your normal swap device. it reads it off and saves it elsewhere as teh first thing it does after booting, before you've had a chance to start swapping.. On Wed, 1 Aug 2001, Eugene L. Vorokov

Re: a little O/T, but D.V.D. drivesfreeBSD

2001-08-02 Thread Julian Elischer
information such as how to play the video stream and how to plug the descrambler into the stream etc. might be more useful.. On Fri, 3 Aug 2001, Josef Karthauser wrote: On Thu, Aug 02, 2001 at 05:57:53PM -0700, Julian Elischer wrote: anyone had success watching a dvd? (Anyone have the correct

Re: How to visit physical memory above 4G?

2001-08-03 Thread Julian Elischer
On Thu, 2 Aug 2001, Terry Lambert wrote: Name an OS that supports this; more than likely, you will have to appeal to a purpose built embedded system. errr, linux? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: malloc

2001-08-03 Thread Julian Elischer
On Fri, 3 Aug 2001, [iso-8859-1] vishwanath pargaonkar wrote: Hi, can anybody tell me in malloc what does third parameter DONTWAIT ,NOWAIT and WAITOK mean? Bcoz i have function being called using timeout.in that function i need to malloc a buffer. can i use WAITOK? please tell me abt

Re: How to visit physical memory above 4G?

2001-08-03 Thread Julian Elischer
On Thu, 2 Aug 2001, Mike Smith wrote: Julian is on crack. DAC (Double Address Cycle) is a relatively recent addition to PCI that allows 32-bit cards with 64-bit savvy logic to talk to host memory using 64-bit target addresses. well day 1 was an exageration, but my 1995 PCI stuff

Re: How to visit physical memory above 4G?

2001-08-03 Thread Julian Elischer
No The space is linear in physical space and if you have PCI/64 capable devices they can access it all too. (In fact 64 bit addresses have been supported even in 32 bit wide PCI since day 1). On Thu, 2 Aug 2001, Kenneth Wayne Culver wrote: BUT, don't the motherboards also have to support

Re: detach

2001-08-06 Thread Julian Elischer
if you can write a little sample code I'll put it in the sample driver. On Mon, 6 Aug 2001, Mike Smith wrote: Hello, I have a question. I'm trying to make a module for a PCI card. My problem is my 'detach' function never get's called when I unload the module. Al my other functions

Re: detach

2001-08-06 Thread Julian Elischer
no, that doesn't do what mike said.. On Mon, 6 Aug 2001, Bernd Walter wrote: On Mon, Aug 06, 2001 at 01:12:11PM -0700, Julian Elischer wrote: if you can write a little sample code I'll put it in the sample driver. Isn't it already in /usr/share/examples/kld? E.g /usr/share/examples/kld

RE: dmesg behaviour

2001-08-07 Thread Julian Elischer
this is a wonderful feature that has saved my butt many times (working in the kernel it's REALLY nice to have the last panic message in the dmesg buffer.) learn to love it.. :-) On Tue, 7 Aug 2001, Koster, K.J. wrote: Dear, On the supermicro systems, we may see the information from

Re: Kernel stack size

2001-08-07 Thread Julian Elischer
the kernel stack is a VERY LIMITED resource basically you have about 4 or 5 Kbytes per process. if you overflow it you write over your signal information.. you should MALLOC space and use a pointer to it.. On Wed, 8 Aug 2001, Semen A. Ustimenko wrote: Hi! I'm developing some code running

Re: dmesg behaviour

2001-08-07 Thread Julian Elischer
sorry if that came across a bit rough... I just know that I LOVE that feature. (you don't get it on machines that clear ram between reboots) On Tue, 7 Aug 2001, Les Biffle wrote: this is a wonderful feature that has saved my butt many times (working in the kernel it's REALLY nice to have

Re: Kernel stack size

2001-08-07 Thread Julian Elischer
On Wed, 8 Aug 2001, Semen A. Ustimenko wrote: Hi! Thanks for light speed response! On Tue, 7 Aug 2001, Julian Elischer wrote: the kernel stack is a VERY LIMITED resource basically you have about 4 or 5 Kbytes per process. Oops... And there is no hope to enlarge it? none really

Re: Kernel stack size

2001-08-07 Thread Julian Elischer
driver will not always run on the same stack as the top half, so things that are passed between them can't be stored there.. (not to mention if the process gets swapped out) On Tue, 7 Aug 2001, Weiguang SHI wrote: From: Julian Elischer [EMAIL PROTECTED] To: Semen A. Ustimenko [EMAIL

-Stable, apache, ldap and shlibs

2001-08-07 Thread Julian Elischer
Who is the expert on apache, modules and shlibs? (I'll go offline to discuss the problem if I can find an appropriate person.. (can't get ldap module to work with apache under freebsd.) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Why page enable in Kernel space?

2001-08-07 Thread Julian Elischer
On Wed, 8 Aug 2001, craig wrote: In general a address in a process is just a linear address which refer to physical address indirectly by page directory. This is reasonable in user space. However is it necessary to do such thing in kernel? It is sure to have penalty when converting a

Re: Why page enable in Kernel space?

2001-08-07 Thread Julian Elischer
On Wed, 8 Aug 2001, craig wrote: In general a address in a process is just a linear address which refer to physical address indirectly by page directory. This is reasonable in user space. However is it necessary to do such thing in kernel? It is sure to have penalty when converting a

Re: [PATCH] Change lockmgr() to not recursively panic

2001-08-08 Thread Julian Elischer
not from me, though you might say why you want this.. On Wed, 8 Aug 2001, John Baldwin wrote: Any objections to the following patch? Index: kern_lock.c === RCS file: /usr/cvs/src/sys/kern/kern_lock.c,v retrieving revision

Re: [PATCH] Change lockmgr() to not recursively panic

2001-08-08 Thread Julian Elischer
ah yes stupid of me.. yes. On Wed, 8 Aug 2001, John Baldwin wrote: On 08-Aug-01 Julian Elischer wrote: not from me, though you might say why you want this.. Ever had a panic. Tried to get a dump, and then had lockmgr blow up with some other panic? That's what this is trying

Re: FreeBSD Status Report, July 2001

2001-08-09 Thread Julian Elischer
t mentions "ksec" or "KSE-context", the code uses the word "thread". I will update it soon as Jason has sent me the DOcs updated in this regard but still need more work... -- +----+ __ _ __ | __--_|\ Julian El

Re: if_strip for FreeBSD?

2001-08-14 Thread Julian Elischer
it to FreeBSD...? -- Regards, Devin. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message didn't ricochet go into chapter 11 and sell all their assets yesterday? -- ++ __ _ __ | __--_

Re: kernel stack size

2001-08-15 Thread Julian Elischer
he message -- ++ __ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ [EMAIL PROTECTED] +--x USA\ a very strange | ( OZ)\___ ___ | country ! +- X_.---._/

Re: kernel copy

2001-08-16 Thread Julian Elischer
PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message cd /sys/compile/MYKERNEL make install or by hand: chflags noschg /kernel cp /sys/compile/MYKERNEL/kernel /kernel chflags schg /kernel -- ++ __ _ __ | __--

Re: Fw: help me!!!!!

2001-08-16 Thread Julian Elischer
-- ++ __ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ [EMAIL PROTECTED] +--x USA\ a very strange | ( OZ)\___ ___ | country ! +- X_.---._/presently in San Francisco \_/ \\ v To Unsubscribe

Re: kernel stack size

2001-08-17 Thread Julian Elischer
We may go to 2 pages but really 1 page is enough as long as people don't store structures on the stack. It's been kept small to keep the overhead of processes and threads down. When we get threads (KSE) we may have theoretically thousands more of these, on potentially smaller boxes.. The main

Re: Getting filename from descriptor or vnode struct

2001-08-17 Thread Julian Elischer
you are going to have to examine the name cache and find the inode of the directories in the full path. Most open directories will have their full path in the caches.. On Fri, 17 Aug 2001, Eugene L. Vorokov wrote: Hi hackers, I'm confronted to a problem when I try to hack

Re: Cisco AIR-PCI 352

2001-08-16 Thread Julian Elischer
What is the MFC? will it be in 4.4? If not it might be a good thing to try get it in.. On Thu, 16 Aug 2001, Brooks Davis wrote: On Thu, Aug 16, 2001 at 04:17:37PM +0300, Vladimir Terziev wrote: The FreeBSD an driver (for Cisco Aironet cards) supports 340 series cards. I want to know if

Re: wireless nic recommendations

2001-08-18 Thread Julian Elischer
he message -- ++ __ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ [EMAIL PROTECTED] +--x USA\ a very strange | ( OZ)\___ ___ | country ! +- X_.---._/presently in San Francisco \_/ \\ v To Unsubscribe:

Re: 4.4-RC NFS panic

2001-08-20 Thread Julian Elischer
remember it's littel endian On Mon, 20 Aug 2001, John Baldwin wrote: fault virtual address = 0x65746e69 etni inet Looks like a string has gotten spammed across a data structure or a weird pointer, etc. From the previous panic: fault virtual address =

<    1   2   3   4   5   6   7   8   9   10   >