Re: PPPoE w/ nat auto fragmentation hack?
On Mon, Nov 13, 2000 at 07:35:57PM -0800, 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 automatically by ppp. What exactly does not work? What does the option -l do? The tcpmssd is now part of the Ports Collection: http://www.freebsd.org/cgi/url.cgi?ports/net/tcpmssd/pkg-descr -- Ruslan Ermilov Oracle Developer/DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
RE: Legacy ethernet cards in FreeBSD
Ok, "seem to have lost support" is about the vaguest thing you could have said. I've killed people for less. I'm too young to die. Sorry for the lack of detail. I should have known better. Please explain in detail how you arrived at the conclusion that the card was no longer supported. Show us the dmesg output from your machine. Explain what you tried to do and what results you observed. Don't just say "it doesn't work." You've not going to help anyone that way. 4.0 detects my card, prints the ethernet address during the probe, and actually transmits data when asked to do so. DHCP configures the card, etc. 4.2 detects the card, but does *not* find its ethernet address and the DHCP probe simply never returns, although the machine responds to keypresses to break the installation. Did you check to see if a pcn0 device was detected? Did you attempt to use it? No. If not, why not? I did not know it was there. SMC EtherEZ ISA Should also work with the ed driver, though you may have to turn off plug and play mode using the SMC EZSetup utility. I will try this. RealTek "TP-Link" PCI If this is a 10mbps card, it should be an NE2000 clone, and will work with the ed driver. If it's a 100Mbps card, it should work with the rl driver. Like I said: it probes, works for a bit, then drops the line and needs a power-cycle. I have two, one of them is available for an individual who wants to hack at it, the other one will serve as a cupholder after I've stomped on it for a bit, otherwise the cups keep falling over. I'll be happy to try out patches for the lnc driver to fix the problem of the Deskpro, or to give remote access to it if you want to work on it. I'd be happier if you told me whether the pcn driver works or not. Will try. Please hold ... Kees Jan You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: zero copy TCP
"Jin Guojun (DSD staff)" 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 FreeBSD right now. If it already exists, how can I enable it (for 1500 MTU, not Jumbo Frame)? or someone is still working on it. http://people.freebsd.org/~ken/ http://people.freebsd.org/~ken/zero_copy/ -Jeroen -- Jeroen C. van Gelderen o _ _ _ [EMAIL PROTECTED] _o /\_ _ \\o (_)\__/o (_) _ \_ _(_) (_)/_\_| \ _|/' \/ (_)(_) (_)(_) (_)(_)' _\o_ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
New US CVSup mirror
I've been getting some reports lately that our US CVSup mirror sites are increasingly hard to get into. I've just added a new one, cvsup10.FreeBSD.org, which should help matters. There are a couple of additional mirrors in the pipeline, too. This has become possible because we replaced the master server with a more powerful machine that can handle more mirror sites. (Thanks, Yahoo!) If you ever get shut out of a mirror site, check the current listing in the FreeBSD Handbook, at http://www.freebsd.org/handbook/cvsup.html#CVSUP-MIRRORS You might well find that there are new mirror sites you weren't aware of before. John Polstra FreeBSD CVSup Mirror Coordinator To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: USB-to-SCSI converter
* Chris Dillon ([EMAIL PROTECTED]) [001113 08:22]: 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 to ID0:LUN2, and so on, which would explain why we only see a device at ID0:LUN0 if we aren't looking at the remaining LUNs (are we?). This would mean that you can't use multi-LUN devices with the USB-SCSI converter, but that is much more acceptable than only being able to use ID0 with it. I think this is what they do, as my test with a multi-LUN CD changer which works find as a SCSI device only shows up as one CD-ROM under both Windows and BSD. Time to hit up Microtech support to see if they'll at least admit that this is what their driver does. The question then is if we are to implement this kind of ID-to-LUN mapping in the umass driver, what do we predicate that behaviour on ? -- j. James FitzGibbon [EMAIL PROTECTED] Targetnet.com Inc. Voice/Fax +1 416 306-0466/0452 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: PPPoE w/ nat auto fragmentation hack? (use tcpmssd port)
Dear hackers, What exactly does not work? What does the option -l do? When launched automatically by ppp, tcpmssd doesn't get any of the packets and is useless. When I start it manually from the command line, it works fine. I realize this isn't much in the way of helpful debugging information, and was hoping to further define this: I implemented that "-l" option to log all the packets processed by tcpmssd. I'm not even sure this bug applies to anybody else, which is why I did not seek help or publicize it until now. Anyway, I haven't been able to figure out what the problem is (and am lacking time now). The best I have is this: when launched by ppp, tcpmssd never seems to return from the main select() call. Ruslan, if you feel like an account on the machine where I'm using this could help, just let me know and I will gladly give you one. - Original Message - From: Ruslan Ermilov [EMAIL PROTECTED] To: Renaud Waldura [EMAIL PROTECTED] Cc: FengYue [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, November 14, 2000 12:40 AM Subject: Re: PPPoE w/ nat auto fragmentation hack? On Mon, Nov 13, 2000 at 07:35:57PM -0800, 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 automatically by ppp. What exactly does not work? What does the option -l do? The tcpmssd is now part of the Ports Collection: http://www.freebsd.org/cgi/url.cgi?ports/net/tcpmssd/pkg-descr -- Ruslan Ermilov Oracle Developer/DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
C and C++ on FreeBSD
Hi, We are implementing our OS modem on FreeBSD, but lot of our sources have writen in C++. Is it possible to compile the FreeBSD kernel in C++ to include our driver ? Thanks in Advance. Thierry ( [EMAIL PROTECTED] ) __ Vous avez un site perso ? 2 millions de francs à gagner sur i(france) ! Webmasters : ZE CONCOURS ! http://www.ifrance.com/_reloc/concours.emailif To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: C and C++ on FreeBSD
In message [EMAIL PROTECTED] Thierry writes: : We are implementing our OS modem on FreeBSD, but lot of our sources : have writen in C++. Is it possible to compile the FreeBSD kernel in : C++ to include our driver ? Yes and No. If you use only the bare minimal subset of features for the C++ and avoid the problem areas of the language, you might be able to. But you'd have to add new and delete support to the kernel's library. That should be almost trivial. The problem areas definitely include exceptions, some automatic memory allocation (where temporary variables are malloced), large objects appearing on the stack (because the kernel stack is so small). I don't know if ctors for static objects would be called in the kernel. Templates might also be a problem, but they might not. Years ago I was able to do some very simple C++ in the kernel, but never integrated the support. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: C and C++ on FreeBSD
In message [EMAIL PROTECTED] Thierry writes: : We are implementing our OS modem on FreeBSD, but lot of our sources : have writen in C++. Is it possible to compile the FreeBSD kernel in : C++ to include our driver ? Yes and No. If you use only the bare minimal subset of features for the C++ and avoid the problem areas of the language, you might be able to. But you'd have to add new and delete support to the kernel's library. That should be almost trivial. The problem areas definitely include exceptions, some automatic memory allocation (where temporary variables are malloced), large objects appearing on the stack (because the kernel stack is so small). I don't know if ctors for static objects would be called in the kernel. Templates might also be a problem, but they might not. I'll second the "doability" of this. I've been going through some C++ work in an embedded system. Exceptions had already been given up on. The ctors/dtors are handled with "munch" style tools (from vxWorks land) that generate construct/destruct vectors that you'll probably then hook in with kernel modules. Peter -- Peter Dufault ([EMAIL PROTECTED]) Realtime development, Machine control, HD Associates, Inc. Fail-Safe systems, Agency approval To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: PPPoE w/ nat auto fragmentation hack? (use tcpmssd port)
On Tue, 14 Nov 2000, Renaud Waldura wrote: -Dear hackers, - - What exactly does not work? - What does the option -l do? - -When launched automatically by ppp, tcpmssd doesn't get any of the packets -and is useless. When I start it manually from the command line, it works -fine. - -I realize this isn't much in the way of helpful debugging information, and -was hoping to further define this: I implemented that "-l" option to log all -the packets processed by tcpmssd. I'm not even sure this bug applies to -anybody else, which is why I did not seek help or publicize it until now. - -Anyway, I haven't been able to figure out what the problem is (and am -lacking time now). The best I have is this: when launched by ppp, tcpmssd -never seems to return from the main select() call. Ruslan, if you feel like -an account on the machine where I'm using this could help, just let me know -and I will gladly give you one. It does not work for me either. Start the script in rc.local rather than ppp.linkup works fine. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
I wanna help
I am Raymond Hicks and consider myself to be fairly knowledgable when it comes to BSD UNIX and your lovely OS FreeBSD.. I would like to help out by offering my time and technical knowhow to your development team.. If you would like specific information about my skills I can email you a detailed resume of past and current projects.. I would love to help out with the hackers mailing list as well.. Please let me know what I can do or who I need to contact... lates raymond hicks To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: patches for 4.x devrandom so that bind works
Yes, it is this simple :-). Can you get it ready for 4.2? I'd like to see us be able to run bind9 in the next release. Sure. I'll see if I can do it in the next couple of hours. M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
page fault question
I have been having a great time :-) debugging a device driver, and have run into a really fun way to panic. With one type of traffic, [something] happens and the kernel drops into DDB, just the way I want. Well, actually DDB seems to get trapped in some kind of loop that spews messages faster than a human can read them. When I finally got a piece of a clue, I booted with serial console and captured the following (also an endless loop): Fatal trap 12: page fault while in kernel mode fault virtual address = 0x8 fault code = supervisor read, page not present instruction pointer = 0x8:0xc014ed6b stack pointer = 0x10:0xc02b1360 frame pointer = 0x10:0xc02b1388 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = net tty bio cam kernel: type 12 trap, code=0 Stopped at The PC seems to have died in the DDB, that's odd (or maybe not?) ts7# nm /kernel | grep c014ed c014ed38 T linker_ddb_search_symbol c014edbc T linker_ddb_symbol_values Now looking back at the panic message, it looks like the stack has pushed into the "frame pointer". Is this an actual problem, or just some side effect of the page fault? Should I start spending my time looking for kernel stack hogs in the device driver? I can very easily add code to log ESP EBP; would that be productive? Is there a maximum size for a softc? Maybe I'm accidentally ignoring some "code of the west" and am getting punished for it? (It wouldn't be the first time). Helpful flames gratefully accepted :-) Thanks, -Richard --- Richard Hodges | Matriplex, inc. title | 769 Basque Way [EMAIL PROTECTED] | Carson City, NV 89706 775-886-6477| www.matriplex.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: I wanna help
* Raymond Hicks [EMAIL PROTECTED] [001114 10:14] wrote: I am Raymond Hicks and consider myself to be fairly knowledgable when it comes to BSD UNIX and your lovely OS FreeBSD.. I would like to help out by offering my time and technical knowhow to your development team.. If you would like specific information about my skills I can email you a detailed resume of past and current projects.. I would love to help out with the hackers mailing list as well.. Please let me know what I can do or who I need to contact... The best ways to get on the devel team (committers) is: $foo = "then pester a committer about it"; 1) find solutions for PRs that have no patches $foo 2) submit PRs that contain patches for bugs and/or features $foo 3) implement a new facility, (driver, filesystem, network system, etc) $foo 4) submit ports via the PR system $foo best of luck, and hope to have you onboard soon. -- -Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: C and C++ on FreeBSD
In message [EMAIL PROTECTED] Peter Dufault writes: : C++ work in an embedded system. Exceptions had already been given : up on. The ctors/dtors are handled with "munch" style tools : (from vxWorks land) that generate construct/destruct : vectors that you'll probably then hook in with kernel modules. Yes. You could easily hook them into the sysinit facility with relative ease. You'd need to do a trick similar to the setdefs trick we do now (which was based on what munch from cfront land used to do). Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: iowait CPU state
On Fri, 10 Nov 2000, Terry Lambert wrote: Thank you! This gets the me disk %busy, which is one of the things I was looking for. Now, can anyone tell me how to tell what percentage of processor time is being spent waiting for disk I/O to complete? Uh, none? If there is disk I/O pending, the processor just runs a different process... am I missing your question? I guess it might be useful to see the difference between "true" idle time and time the system couldn't do anything useful because it was blocked on the disk (but /should/ have done something useful...). regards, Rik -- "What you're running that piece of shit Gnome?!?!" -- Miguel de Icaza, UKUUG 2000 http://www.conectiva.com/ http://www.surriel.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: zero copy TCP
On Tue, Nov 14, 2000 at 09:37:35 -0400, Jeroen C. van Gelderen wrote: "Jin Guojun (DSD staff)" 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 FreeBSD right now. If it already exists, how can I enable it (for 1500 MTU, not Jumbo Frame)? or someone is still working on it. http://people.freebsd.org/~ken/ http://people.freebsd.org/~ken/zero_copy/ FWIW, I just put up a new snapshot. All known bugs are now fixed. :) Ken -- Kenneth Merry [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
looking for kernel hacking info
I am looking for info on programing in kernel land. System calls, howto's etc. I have not found anything that realy covers this stuff any and all help would be welcomed! thanks Paonia To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
RE: Best Gigabit ethernet for 4.x
What is the adapter of choice for gigabit ethernet for 4.x FreeBSD? thanks. DB To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
libexec directory error ?
I've a box with FreeBSD 4.1 installed and when I ls -l /usr I saw something weird... anthrax# ls -la total 35 drwxr-xr-x 18 root wheel512 Oct 17 02:55 . drwxr-xr-x 15 root wheel512 Oct 8 02:23 .. drwxr-xr-x 3 root wheel512 Oct 10 19:06 X11R6 drwxr-xr-x 3 root wheel512 Oct 8 02:37 aux drwxr-xr-x 2 root wheel 6656 Oct 8 02:21 bin drwxr-xr-x 2 root wheel512 Oct 8 02:22 compat drwxr-xr-x 2 root wheel512 Oct 24 08:22 downloads drwxr-xr-x 3 root wheel512 Oct 8 02:23 home drwxr-xr-x 35 root wheel 3072 Oct 8 02:21 include drwxr-xr-x 4 root wheel 5632 Jul 28 14:44 lib drwxr-xr-x 9 root wheel512 Oct 8 02:19 libdata drwxr-xr-x 8 root wheel 2199023257088 Oct 8 02:22 libexec drwxr-xr-x 11 root wheel512 Oct 8 02:25 local drwxr-xr-x 2 root wheel512 Oct 8 02:22 obj drwxr-xr-x 2 root wheel 4096 Oct 8 02:21 sbin drwxr-xr-x 25 root wheel512 Oct 8 02:22 share drwxr-xr-x 5 root wheel512 Oct 8 02:21 src drwxrwxrwt 2 root wheel512 Oct 28 22:35 tmp anthrax# this is a default installation and I didnt change anything in the configuration even the kernel. My dmesg follows. 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 4.1-RELEASE #0: Fri Jul 28 14:30:31 GMT 2000 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K6(tm) 3D processor (451.03-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX AMD Features=0x8800SYSCALL,3DNow! real memory = 134152192 (131008K bytes) config di lnc0 config di le0 config di ie0 config di fe0 config di cs0 config di bt0 config di aic0 config di aha0 config di adv0 config en sn0 config po sn0 0x220 config ir sn0 11 config f sn0 0 config en ed0 config po ed0 0x260 config ir ed0 9 config iom ed0 0xd8000 config f ed0 0 config q avail memory = 126341120 (123380K bytes) Preloaded elf kernel "kernel" at 0xc040d000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc040d09c. K6-family MTRR support enabled (2 registers) md0: Malloc disk npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 pcib2: VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge at device 1.0 on pci0 pci1: PCI bus on pcib2 isab0: VIA 82C586 PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: VIA 82C586 ATA33 controller port 0xe000-0xe00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 uhci0: VIA 83C572 USB controller port 0xe400-0xe41f irq 11 at device 7.2 on p$usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub0: port 1 power on failed, IOERROR uhub0: port 2 power on failed, IOERROR wb0: Winbond W89C840F 10/100BaseTX port 0xe800-0xe87f mem 0xd140-0xd14000$wb0: Ethernet address: 00:40:c7:a6:11:ee miibus0: MII bus on wb0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib1: Host to PCI bridge on motherboard pci2: PCI bus on pcib1 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5" drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 vga0: Generic ISA VGA at port 0x3d0-0x3db iomem 0xb8000-0xb on isa0 sc0: System console at flags 0x100 on isa0 sc0: CGA 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 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppi0: Parallel I/O on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port plip0: PLIP network interface on ppbus0 ad0: 516MB QUANTUM MAVERICK 540A [1049/16/63] at ata0-master using PIO3 === visi0n AUX Technologies [www.aux-tech.org] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
RE: kernel boot question
On 14-Nov-00 Steve Price wrote: This may seem like a strange request but ... I'm trying to rebuild my Alpha box with the latest 4.2RC bits so I can start and new package build with the new libc (with version no. bump). The box is two hours North of here and everyone that is at the office right now is pretty clueless about computers. I updated everything but the box is not coming back up. I either have to figure out how to get it back on its feet remotely or drive 2 hours up there to fix it myself. I talked one of the people through booting it back up with kernel.old so I can get back into the box now. My question is is there a way to seed the boot process try a new (test) kernel once and if it panics then go back to using the regular kernel? So it would go something like this. boot kernel.test panic boot kernel tweak and rebuild new kernel rinse and repeat Thanks. Don't compile ddb into your test kernel. :) BTW, the last part of the dmesg output looks like this and the only thing I changed in the GENERIC kernel config was 'maxusers 64': Mounting root from ufs:/dev/da0a da0 at sym0 bus 0 target 0 lun 0 da0: IBM DDRS-39130D DC1B Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 8715MB (1785 512 byte sectors: 255H 63S/T C) da1 at sym0 bus 0 target 9 lun 0 da1: IBM DDRS-39130D DC1B Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da1: 8715MB (1785 512 byte sectors: 255H 63S/T C) WARNING: / was not properly dismounted panic: kmem_malloc(536887296): kmem_map too small: 5685248 total allocated syncing disks... 8 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 giving up on 3 buffers Uptime: 2m4s Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... Looks like your mountd is out of sync with your kernel. -steve -- John Baldwin [EMAIL PROTECTED] -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
What is the cost of a simlink?
Greetings I have a disk load problem I was hoping to solve by using an added disk and simlinking a number of directories over to the new disk. These are directories to be accessed by apache and there may be as many as 40-60 simlinks to the new drive for the data directories. My question is how much of a hit do I take by using this large a number of simlinks? How much processing/memory usage does it eat to traverse a link from one disk top another? Thanks!! Nicole [EMAIL PROTECTED] |\ __ /| (`\ http://www.unixgirl.com/ [EMAIL PROTECTED] | o_o |__ ) ) http://www.dangermouse.org/ [EMAIL PROTECTED] // \\http://www.deviantimages.com/ ---(((---(((- -- Powered by Coka-Cola and FreeBSD -- -- "I drank WHAT ?!" - Socrates -- Hmm You seem better - "been giving myself shock treatments" Up the Voltage! - To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: kernel boot question
On Tue, Nov 14, 2000 at 02:26:49PM -0800, John Baldwin wrote: # # WARNING: / was not properly dismounted # panic: kmem_malloc(536887296): kmem_map too small: 5685248 total allocated # # syncing disks... 8 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 # giving up on 3 buffers # Uptime: 2m4s # Automatic reboot in 15 seconds - press a key on the console to abort # Rebooting... # # Looks like your mountd is out of sync with your kernel. Yep, that was it. Thanks. -steve To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: KLDs and PCI?
Try use the newest version of /usr/share/examples/drivers/make_device_driver.sh I just added PCI support (but I have't tested it much yet) Hopefully I'll get feedback it it's too radically wrong. 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 device in a KLD? Are there any examples I can look out? Oh yeah, I am doing this for a FreeBSD 3.x system (I know, but is needed for this project, it will be ported to 4.x later) - Chris To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message -- __--_|\ Julian Elischer / \ [EMAIL PROTECTED] ( OZ) World tour 2000 --- X_.---._/ presently in: Budapest v To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: looking for kernel hacking info
On Tuesday, 14 November 2000 at 16:32:49 -0500, Paonia Ezrine wrote: I am looking for info on programing in kernel land. System calls, howto's etc. I have not found anything that realy covers this stuff any and all help would be welcomed! The system calls are described in section 2 of the manual. Greg -- Finger [EMAIL PROTECTED] for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: What is the cost of a simlink?
On Tue, Nov 14, 2000 at 02:34:54PM -0700, Nicole wrote: Greetings I have a disk load problem I was hoping to solve by using an added disk and simlinking a number of directories over to the new disk. These are directories to be accessed by apache and there may be as many as 40-60 simlinks to the new drive for the data directories. My question is how much of a hit do I take by using this large a number of simlinks? How much processing/memory usage does it eat to traverse a link from one disk top another? It's about the same cost as another layer of directory structure. The biggest cost will be disk seeks, but if you have enough memory, that shouldn't happen too often. -- Ben 220 go.ahead.make.my.day ESMTP Postfix To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: PPPoE w/ nat auto fragmentation hack? (use tcpmssd port)
On Tue, 14 Nov 2000, Renaud Waldura wrote: -Dear hackers, - - What exactly does not work? - What does the option -l do? - -When launched automatically by ppp, tcpmssd doesn't get any of the packets -and is useless. When I start it manually from the command line, it works -fine. - -I realize this isn't much in the way of helpful debugging information, and -was hoping to further define this: I implemented that "-l" option to log all -the packets processed by tcpmssd. I'm not even sure this bug applies to -anybody else, which is why I did not seek help or publicize it until now. - -Anyway, I haven't been able to figure out what the problem is (and am -lacking time now). The best I have is this: when launched by ppp, tcpmssd -never seems to return from the main select() call. Ruslan, if you feel like -an account on the machine where I'm using this could help, just let me know -and I will gladly give you one. It does not work for me either. Start the script in rc.local rather than ppp.linkup works fine. What are you doing in ppp.linkup ? When I add this: ! sudo ipfw add 4 divert 12345 all from any to any via INTERFACE ! sudo /usr/local/bin/tcpmssd -p 12345 -i INTERFACE everything seems to work ok -- Brian [EMAIL PROTECTED]brian@[uk.]FreeBSD.org http://www.Awfulhak.org brian@[uk.]OpenBSD.org Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: looking for kernel hacking info
The THC have a documentation about freebsd kernel space. packetstorm.securify.com/groups/thc/bsdkern.htm === visi0n AUX Technologies [www.aux-tech.org] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Moused doesn't reinitialize mouse after removal and reinsertion...
Here's a puzzle for someone who has a little free time... I've got a manual switchbox to switch my mouse, keyboard, and monitor between to computers. It's a manual switchbox, so it doesn't send a constant signal to both systems (like those fancy - and expensive - automatic ones). Here's the problem: When my mouse (actully a trackball, a PS/2 Logitech TrackMan Marble) is unplugged from the system, it ceases to remember how to send a signal to the system (I assume some initialization is being done by moused when it starts up). So, when I switch over to my second system and back over to the FreeBSD one, the cursor doesn't respond to any mouse movement. To fix it I have to kill moused and start it back up. Sort of a pain, albeit not completely unbearable. Anyone have any theories on how we could get moused to a) detect the mouse being unplugged and reinserted and b) reinitialize the mouse after this happens? Here's some fun info type stuff (in case it'll help)... I'm running FreeBSD 4.2-BETA #10 (although I believe the problem existed under FreeBSD 4.1-RELEASE too. From dmesg (after a verbose boot): psm0: current command byte:0065 psm: status 00 02 64 psm: status 09 03 c8 psm: status 09 03 c8 psm: status 09 03 c8 psm: data 08 00 00 psm: status 10 00 64 psm: status 00 02 64 psm: data 08 00 00 psm: status 00 02 64 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0-00, 3 buttons psm0: config:, flags:, packet size:3 psm0: syncmask:c0, syncbits:00 From rc.conf: moused_flags="" moused_port="/dev/psm0" moused_type="auto" moused_enable="YES" I'd greatly appreciate any help anyone can give me! If you need any more info about my system setup, just give me a yell... Thanks a million Dave Howland [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: looking for kernel hacking info
On Tuesday, 14 November 2000 at 16:32:49 -0500, Paonia Ezrine wrote: I am looking for info on programing in kernel land. System calls, howto's etc. I have not found anything that realy covers this stuff any and all help would be welcomed! The system calls are described in section 2 of the manual. Greg thanks. do you mean handbook? thanks Paonia To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Porting Linux to FreeBSD
How different is Linux from FreeBSD when it comes to porting code. Nothing specific just in general, are there major differences or small differences. Assuming same hardware just OS is different. Device driver vs applications. What areas are the gottcha's? Steve B. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: looking for kernel hacking info
Paonia Ezrine wrote: The system calls are described in section 2 of the manual. thanks. do you mean handbook? No, he meant what he said. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: looking for kernel hacking info
On Tuesday, 14 November 2000 at 21:14:25 -0500, Paonia Ezrine wrote: On Tuesday, 14 November 2000 at 16:32:49 -0500, Paonia Ezrine wrote: I am looking for info on programing in kernel land. System calls, howto's etc. I have not found anything that realy covers this stuff any and all help would be welcomed! The system calls are described in section 2 of the manual. thanks. do you mean handbook? No, the manual. That's the real name for the man pages. Read it with man(1). Greg -- Finger [EMAIL PROTECTED] for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: looking for kernel hacking info
On Wednesday, 15 November 2000 at 10:08:45 +, visi0n wrote: The THC have a documentation about freebsd kernel space. packetstorm.securify.com/groups/thc/bsdkern.htm Repeating the full URL for the benefit of mutt users, this is http://packetstorm.securify.com/groups/thc/bsdkern.htm This is an interesting document. It describes how to insert a Trojan into the FreeBSD kernel When it came out, we discussed it and decided that it would be of no danger to a properly secured system. On the other hand, the documentation is relatively well done. We should really import it. Greg -- Finger [EMAIL PROTECTED] for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Moused doesn't reinitialize mouse after removal and reinsertion...
In message [EMAIL PROTECTED] Dave Howland writes: : pain, albeit not completely unbearable. Anyone have any theories on how we : could get moused to a) detect the mouse being unplugged and reinserted and : b) reinitialize the mouse after this happens? Here's some fun info type : stuff (in case it'll help)... With all due respect, pay the extra money for the electric switch. You will burn out your keyboard and mouse ports if you aren't careful. They aren't designed for this sort of hot plugging. I used to think it was OK to do this, but I've had too many keyboard and/or mouse controllers die of the years connected to a mechanical switch to really trust them. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message