The FreeBSD Diary: 2003-01-19 - 2003-02-08
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to [EMAIL PROTECTED] with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. These are the articles posted during this period: 7-Feb : Oh what a week I've had! It's been fun, but not the best kind. http://freebsddiary.org/what-a-week.php?2 28-Jan : Open Source Weekend - conference report OSW was a great event http://freebsddiary.org/osw-2003.php?2 21-Jan : Amazon, OSW, and my thanks More features, more advocacy, and more appreciation http://freebsddiary.org/index.html?2 -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples FreshPorts- http://www.FreshPorts.org/ - the place for ports FreshSource - http://www.FreshSource.org/ - the place for source To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Deleting /usr dedicated slice.
Hello all, I just bought an 80 GB drive and would like move /usr partition to the new disk. I have a dedicated partition /da0s1f that is currently dedicated to it. /var partition resides in da0s1e. How do delete the slice that is occupying /usr and use that free space to extend /var? I read the man pages and growfs is the way but how do I exactly do it? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Mouse not working in 5.0
First off I apologize for all the emails, in the last one I included the wrong dmesg. I have a Sony VAIO GRX-570 running FBSD 5.0-RELEASE. Under 4.7 my mouse was PS/2(psm0, irq 12) and everything worked fine. Not in 5.0, I have no idea why it doesn't work. Any suggestions would be appreciated. In examination of my dmesg it's obvious I should disable acpi but that can't be done, if I do so I get kernel panics on pci0, so that is not an option. Copyright (c) 1992-2003 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-RELEASE #0: Sun Feb 9 00:08:52 PST 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/GATE1 Preloaded elf kernel /boot/kernel/kernel at 0xc0512000. Preloaded elf module /boot/kernel/acpi.ko at 0xc05120a8. Timecounter i8254 frequency 1193182 Hz Timecounter TSC frequency 1590816608 Hz CPU: Pentium 4 (1590.82-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf24 Stepping = 4 Features=0x3febf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA, CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM real memory = 536346624 (511 MB) avail memory = 515477504 (491 MB) Initializing GEOMetry subsystem Pentium Pro MTRR support enabled VESA: v2.0, 32768k memory, flags:0x1, mode table:0xc043ad42 (122) VESA: ATI MOBILITY RADEON 7500 npx0: math processor on motherboard npx0: INT 16 interface acpi0: SONY B0 on motherboard Using $PIR table, 7 entries at 0xc00fdf50 ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 ACPI-0625: *** Info: GPE Block1 defined as GPE16 to GPE31 ACPI-0351: *** Error: Could not install PciConfig handler for PCI0, AE_ALREADY_EXISTS ACPI-0351: *** Error: Could not install PciConfig handler for PCI0, AE_ALREADY_EXISTS ACPI-0351: *** Error: Could not install PciConfig handler for PCI0, AE_ALREADY_EXISTS Timecounter ACPI-fast frequency 3579545 Hz ACPI-0351: *** Error: Could not install PciConfig handler for PCI0, AE_ALREADY_EXISTS acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 acpi_cpu0: CPU on acpi0 acpi_tz0: thermal zone on acpi0 acpi_lid0: Control Method Lid Switch on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port 0x1800-0x181f irq 9 at device 29.0 on pci0 usb0: Intel 82801CA/CAM (ICH3) USB controller USB-A on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: Intel 82801CA/CAM (ICH3) USB controller USB-B port 0x1820-0x183f irq 9 at device 29.1 on pci0 usb1: Intel 82801CA/CAM (ICH3) USB controller USB-B on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered umass0: Y-E DATA USB Floppy Drive, rev 1.10/4.01, addr 2 uhci2: Intel 82801CA/CAM (ICH3) USB controller USB-C port 0x1840-0x185f at device 29.2 on pci0 pcib0: possible interrupts: 9 pcib0: slot 29 INTC routed to irq 9 via \\_SB_.LNKC usb2: Intel 82801CA/CAM (ICH3) USB controller USB-C on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered umass1: Sony USB Memory Stick Slot, rev 1.10/1.07, addr 2 pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0 pci2: ACPI PCI bus on pcib2 pci2: bridge, PCI-CardBus at device 5.0 (no driver attached) pci2: bridge, PCI-CardBus at device 5.1 (no driver attached) pci2: serial bus, FireWire at device 5.2 (no driver attached) fxp0: Intel Pro/100 Ethernet port 0x4000-0x403f mem 0xe820-0xe8200fff irq 9 at device 8.0 on pci2 fxp0: Ethernet address 08:00:46:51:a4:b2 inphy0: i82562ET 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH3 ATA100 controller port 0x1860-0x186f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem 0xe800-0xe80003ff at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: serial bus, SMBus at device 31.3 (no driver attached) pcm0: Intel 82801CA (ICH3) port 0x18c0-0x18ff,0x1c00-0x1cff irq 9 at device 31.5 on pci0 pci0: simple comms at device 31.6 (no driver attached) atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 acpi_ec0: embedded controller port 0x66,0x62 on acpi0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/15 bytes threshold plip0: PLIP network interface on ppbus0
Re: freebsd4.7 and Samba and OS X
On Sat, 2003-02-08 at 18:29, Bill Moran wrote: David Kelly wrote: On Saturday 08 February 2003 09:28 am, Bill Moran wrote: Maybe the Apple system has not got the necessary permissions to create this extra file. This could be way off the mark though :). I just thought of this ... Samba has the option to hide dot files which would prevent the Apples from ever seeing the .appledouble (as I remember) files at all. Yeah But... The .AppleDouble directories were created by NetAtalk. They were not the creation of clients which had connected to the share. But you may be on to something as MacOS X does like to create a dot file/directory on shared resources, its just not called .AppleDouble. More like .sD2 IIRC. Well, I could be wrong about, .AppleDouble specifically, but the whole theory that dotfiles could be disappearing into a Samba black hole is what I was trying to put across. I also think you guys might be on to something. The only difference between the 2 shares is that the ServerFiles share has a 'veto' option in it to hide these files. Maybe my understanding of veto is wrong, I always thought that it hid the files not disallowed them to be created. I will try again monday by commenting out the veto directive and see if that is the problem. I will post my results to the list about what I find. Thanks a lot! Jon To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
BSD on Tecra 8100 w/Docking Station
Greetings everyone!! I'd very much like to install FreeBSD on the above laptop. However, there is a problem in that it sits full time on a Toshiba Docking Station...in which sits the NIC. Although ('natch) there are PCMCIA slots, I've never bought a card, owing to the existence of the dock. I concede that may have been a mistake in hindsight, but now I have to (try and) work with what I've got. W2K recognizes the docking station NIC with nary a murmur and always has. BUT since buying this machine I have *never* got any Linux install to recognize the dock network card. I'm determined to install *a* 'nix on this machine, yet this seems to be *the* stumbling block no matter what. I've tried FreeBSD on a friend's machine and believe I just may be hooked! :-) I went on an orgy of reading to see if anyone solved this. To date I've read a whole lot of; try this, it might work (it didn't in every case!) and despite many weeks of trolling around I'm as stumped as when I began. Can anyone offer a definitive answer to this - *the* most important question of all?? I'd truly appreciate a solution to the issue.somewhere, somehow. Regards TIA, -Colin -- Colin J. Raven To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: BSD on Tecra 8100 w/Docking Station
I hate to be a party pooper but I think you'll find that if Linux (which supports a larger range of hardware than FreeBSD) doesn't support your card then FreeBSD probably won't. In any case consult the freebsd hardware notes. Your best bet is just to buy a cheopo PCMCIA NIC... -Allan. On Sunday, February 9, 2003, at 09:50 PM, Colin J. Raven wrote: Greetings everyone!! I'd very much like to install FreeBSD on the above laptop. However, there is a problem in that it sits full time on a Toshiba Docking Station...in which sits the NIC. Although ('natch) there are PCMCIA slots, I've never bought a card, owing to the existence of the dock. I concede that may have been a mistake in hindsight, but now I have to (try and) work with what I've got. W2K recognizes the docking station NIC with nary a murmur and always has. BUT since buying this machine I have *never* got any Linux install to recognize the dock network card. I'm determined to install *a* 'nix on this machine, yet this seems to be *the* stumbling block no matter what. I've tried FreeBSD on a friend's machine and believe I just may be hooked! :-) I went on an orgy of reading to see if anyone solved this. To date I've read a whole lot of; try this, it might work (it didn't in every case!) and despite many weeks of trolling around I'm as stumped as when I began. Can anyone offer a definitive answer to this - *the* most important question of all?? I'd truly appreciate a solution to the issue.somewhere, somehow. Regards TIA, -Colin -- Colin J. Raven To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
SP Newsletter: Black History Month Special Edition
Title: Soul-Patrol Newsletter # 4: Black History Month, Soul, Jazz, Slow Jams, Black Rock, Funk, Doo Wop, Neo Soul, Tom Joyner, Jazzhole, Victor Wooten, Harptones, Michael B Sutton, Issue #4 Click Here to Subscribe/Unsubscribe For Your Free Bi-Monthly Issue! Soul-Patrol.Com || Soul-Patrol.Net Radio || Monthly Soul-Patrol Digest Magazine || About Soul-Patrol Black History Month Table of Contents 1. CD Review - Jazzhole: 'Circle Of the Sun'2. CD Review: Floetry's Floetic 3. Commentary - I have a few issues with Tom Joyner (part 1) 4. Concert Review - Victor Wooten at the Knitting Factory 1/21/2003 5. Competition in Radio and Concert Industries Act: Good News For Artists and Consumers (Bad News For Clear Channel, Joyner, Hughes and other KNEE-GRO Radio Station Operators) 6.Soul-Patrol.Net Radio - January Top 20 Programs 7.Soul-Patrollers In The News8.FebuaryOnlineChat Sessions (Ray, Goodman Brown, Harptones, Black Ivory, Mtume)9.Soul-Patrol Black History Month Offline Events (DC, Tampa, Pittsburgh, Philly, LA NYC) A brief introduction to those of you who might be new to Soul-Patrol.com. The award winning Soul-Patrol.com website has been one of the leading voices on the internet in the arena of featuring the best on the net in Soul, Jazz, Slow Jams, Black Rock, Funk, Doo Wop, Neo Soul and about the culture since 1996.We call the concept...'GREAT BLACK MUSIC FROM THE ANCIENT TO THE FUTURE'The publication you are reading now is called The Soul-Patrol Newsletter and it is designed to keep you abreast of news and views regarding this music/culture on a bi-monthly basis. Our objective is to provide you with information (CD Reviews, Concert Reviews, Commentary, Online Events, Offline Events, etc) on a timely basis that will lead to your participation either online or offline in the many musical/cultural things that the great artists we love provide for us.We feel that it is of paramount importance that YOU participate, because without YOUR active participation, the culture we love is going to die a slow and painful death!We hope that you will enjoy this FREE publication, from Soul-Patrol.com. If you do, and you wish to continue to get it every two weeks for FREE , click here , go to the Soul-Patrol.com website or use the form below to register to get it. To Subscribe To The Soul-Patrol Newsletter: Email Address Zip Code Forward it to your friends (artists and music fans) on the internet who love good music and ask them to subscribe as well! NOTE:All of the music that you can access from this publication is being streamed via RealAudio with the consent of the artist/copy write holder with the hope that you will take a listen and decide to give them a chance to earn a place in your music collection. Soul-Patrol
strange linux binary problem
Hi, i have a problem running a linux binary. I have an old (running for 2 years now) and a new freebsd server. I'm trying to run a linux gameserver (sof2) on the new machine, but when i start the binary (./sof2ded) nothing happens, no output, no log entries just nothing, it just hangs. If i try it on the old fbsd machine everthing works fine. Old machine is running: # uname -a FreeBSD host.domain.org 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #13: Sat Dec 7 12:58:57 CET 2002 # pkg_info|grep linux linux_base-7.1_2The base set of packages needed in Linux mode # kldstat Id Refs AddressSize Name 12 0xc010 1ccdd0 kernel 21 0xc12df000 14000linux.ko the new one: # uname -a FreeBSD host.domain.org 4.7-RELEASE-p4 FreeBSD 4.7-RELEASE-p4 #0: Sun Feb 9 00:34:14 CET 2003 # pkg_info|grep linux linux_base-7.1_2The base set of packages needed in Linux mode # kldstat Id Refs AddressSize Name 12 0xc010 1ccdd0 kernel 21 0xc12df000 14000linux.ko if have no clue why exactly the same binary is running on one system and on the other one not. Anyone have a clue? cheers, tom To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
OT: razor-agent.log vanishing
Dear all, FreeBSD 4.6.2-p4+postfix 1.11+SA 2.44+Razor-agents 2.22 Nobody at razor-users or SA-Talk seems to know so I thought I give it a try here. I have a problem understanding how to configure the razor-agent.log. On two mail servers running FreeBSD 4.6.2 and OpenBSD 3.2 I experience same issue: razor-agent.log stops logging for some reason (probably me). Razor is called from Spamassassin. Everything else works fine, SA, Razor2 checks, postfix etc. are all without a problem but razor-agent.log is completely empty even if Razor does what it should. Permissions are checked ok Paths are checked ok I have read all the applicable man pages I ran razor-admin with applicable options razor-agent.conf seems ok with correct log settings There are no errors generated anywhere Razorhome is properly configured SA is 2.44, but have seen same behaviour with 2.41 and 2.43 Razor 2.22 from 2.20, same thing I have simply ran out of options here, could somebody offer a clue on where to start? TIA, Per olof To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
test
Just a test. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: text processing, excluding common lines
On Sat, Feb 08, 2003 at 11:24:21PM -0600, Dan Nelson wrote: In the last episode (Feb 08), Dan Nelson said: cat fileA fileB | sort | comm -13 - fileC Or to preempt someone marking this with a useless use of cat stamp: sort fileA fileB | comm -13 - fileC Thank you to all that responded. The comm command was just what I was looking for. -- Regards, Doug To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: OT: razor-agent.log vanishing
On 02/09/03 02:53 PM, Per olof Ljungmark sat at the `puter and typed: Dear all, FreeBSD 4.6.2-p4+postfix 1.11+SA 2.44+Razor-agents 2.22 Nobody at razor-users or SA-Talk seems to know so I thought I give it a try here. I have a problem understanding how to configure the razor-agent.log. On two mail servers running FreeBSD 4.6.2 and OpenBSD 3.2 I experience same issue: razor-agent.log stops logging for some reason (probably me). Razor is called from Spamassassin. Everything else works fine, SA, Razor2 checks, postfix etc. are all without a problem but razor-agent.log is completely empty even if Razor does what it should. Permissions are checked ok Paths are checked ok I have read all the applicable man pages I ran razor-admin with applicable options razor-agent.conf seems ok with correct log settings There are no errors generated anywhere Razorhome is properly configured SA is 2.44, but have seen same behaviour with 2.41 and 2.43 Razor 2.22 from 2.20, same thing I have simply ran out of options here, could somebody offer a clue on where to start? I have been trying to resort my mail configuration to include spamassassin, running from procmail as the recipient to allow per-user whitelists and blacklists. So I've been hitting razor around the perimiter myself. The logfile location is one I haven't quite been able to get locked down either, but check ~/.razor/ and see if it shows up there. HTH Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Pohl's law: Nothing is so good that somebody, somewhere, will not hate it. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Wireless(if_wi): supported card attachment problems
Hi All! I bought a card that, according to the man page of wi driver, should have been supported. The card is a Sohoware/NCP 130 and this is the output of 'man wi': The following cards are among those supported by the wi driver: Card Chip Bus .. .. NANOSPEED ROOT-RZ2000Prism-II PCMCIA -- NDC/Sohoware NCP130 Prism-II PCI -- NEC CMZ-RT-WPPrism-II PCMCIA ... But the driver simply doesn't see it... This is the output of pciconf : none2@pci0:8:0: class=0x028000 card=0x013115e8 chip=0x013115e8 rev=0x01 hdr=0x00 vendor = 'National Datacomm Corp.' device = 'Prism II InstantWave HR PCI card' class= network I modified the driver sources and i added my card among those supported: static struct { unsigned int vendor,device; int bus_type; char *desc; } pci_ids[] = { /* Sorted by description */ {0x10b7, 0x7770, WI_BUS_PCI_PLX, 3Com Airconnect}, {0x16ab, 0x1101, WI_BUS_PCI_PLX, GLPRISM2 WaveLAN}, {0x1260, 0x3873, WI_BUS_PCI_NATIVE, Intersil Prism2.5}, {0x16ab, 0x1102, WI_BUS_PCI_PLX, Linksys WDT11}, {0x1385, 0x4100, WI_BUS_PCI_PLX, Netgear MA301}, {0x1638, 0x1100, WI_BUS_PCI_PLX, PRISM2STA WaveLAN}, -- {0x15E8, 0x0131, WI_BUS_PCI_PLX, Prism II InstantWave HR PCI card} and in this flavour -- {0x15E8, 0x0131, WI_BUS_PCI_NATIVE, Prism II InstantWave HR PCI card} Because I didnt know if the card was PLX based or not. Now I get the following messages: wi0: Prism II InstantWave HR PCI card port 0xdc00-0xdc3f,0xd800-0xd80f irq 11 at device 8.0 on pci0 wi0: No Mem space on prism2.5? device_probe_and_attach: wi0 attach returned 6 or wi0: Prism II InstantWave HR PCI card port 0xdc00-0xdc3f,0xd800-0xd80f irq 11 at device 8.0 on pci0 wi0: No I/O space?! device_probe_and_attach: wi0 attach returned 6 Using the WI_BUS_PCI_PLX. I have a FreeBSD 4.7 system with no other cards except for the NCP130. Does anyone have some ideas? Thanks! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Wireless(if_wi): supported card attachment problems
Hi All! I bought a card that, according to the man page of wi driver, should have been supported. The card is a Sohoware/NCP 130 and this is the output of 'man wi': The following cards are among those supported by the wi driver: Card Chip Bus .. .. NANOSPEED ROOT-RZ2000Prism-II PCMCIA -- NDC/Sohoware NCP130 Prism-II PCI -- NEC CMZ-RT-WPPrism-II PCMCIA ... But the driver simply doesn't see it... This is the output of pciconf : none2@pci0:8:0: class=0x028000 card=0x013115e8 chip=0x013115e8 rev=0x01 hdr=0x00 vendor = 'National Datacomm Corp.' device = 'Prism II InstantWave HR PCI card' class= network I modified the driver sources and i added my card among those supported: static struct { unsigned int vendor,device; int bus_type; char *desc; } pci_ids[] = { /* Sorted by description */ {0x10b7, 0x7770, WI_BUS_PCI_PLX, 3Com Airconnect}, {0x16ab, 0x1101, WI_BUS_PCI_PLX, GLPRISM2 WaveLAN}, {0x1260, 0x3873, WI_BUS_PCI_NATIVE, Intersil Prism2.5}, {0x16ab, 0x1102, WI_BUS_PCI_PLX, Linksys WDT11}, {0x1385, 0x4100, WI_BUS_PCI_PLX, Netgear MA301}, {0x1638, 0x1100, WI_BUS_PCI_PLX, PRISM2STA WaveLAN}, -- {0x15E8, 0x0131, WI_BUS_PCI_PLX, Prism II InstantWave HR PCI card} and in this flavour -- {0x15E8, 0x0131, WI_BUS_PCI_NATIVE, Prism II InstantWave HR PCI card} Because I didnt know if the card was PLX based or not. Now I get the following messages: wi0: Prism II InstantWave HR PCI card port 0xdc00-0xdc3f,0xd800-0xd80f irq 11 at device 8.0 on pci0 wi0: No Mem space on prism2.5? device_probe_and_attach: wi0 attach returned 6 or wi0: Prism II InstantWave HR PCI card port 0xdc00-0xdc3f,0xd800-0xd80f irq 11 at device 8.0 on pci0 wi0: No I/O space?! device_probe_and_attach: wi0 attach returned 6 Using the WI_BUS_PCI_PLX. I have a FreeBSD 4.7 system with no other cards except for the NCP130. Does anyone have some ideas? Thanks! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: OT: razor-agent.log vanishing
Louis LeBlanc wrote: On 02/09/03 02:53 PM, Per olof Ljungmark sat at the `puter and typed: Dear all, FreeBSD 4.6.2-p4+postfix 1.11+SA 2.44+Razor-agents 2.22 Nobody at razor-users or SA-Talk seems to know so I thought I give it a try here. I have a problem understanding how to configure the razor-agent.log. On two mail servers running FreeBSD 4.6.2 and OpenBSD 3.2 I experience same issue: razor-agent.log stops logging for some reason (probably me). Razor is called from Spamassassin. Everything else works fine, SA, Razor2 checks, postfix etc. are all without a problem but razor-agent.log is completely empty even if Razor does what it should. Permissions are checked ok Paths are checked ok I have read all the applicable man pages I ran razor-admin with applicable options razor-agent.conf seems ok with correct log settings There are no errors generated anywhere Razorhome is properly configured SA is 2.44, but have seen same behaviour with 2.41 and 2.43 Razor 2.22 from 2.20, same thing I have simply ran out of options here, could somebody offer a clue on where to start? I have been trying to resort my mail configuration to include spamassassin, running from procmail as the recipient to allow per-user whitelists and blacklists. So I've been hitting razor around the perimiter myself. The logfile location is one I haven't quite been able to get locked down either, but check ~/.razor/ and see if it shows up there. No, it's not there, in fact it is nowhere. razor-home is in /var/spool/filter/.razor/ where everything else *except* the log (which is clearly defined in razor-agent.conf) shows up proper. It used to work, then vanished, then after running razor-admin it came back only to dissappear again, and I'm clueless :-( To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: OT: razor-agent.log vanishing
Louis LeBlanc wrote: On 02/09/03 02:53 PM, Per olof Ljungmark sat at the `puter and typed: Dear all, FreeBSD 4.6.2-p4+postfix 1.11+SA 2.44+Razor-agents 2.22 Nobody at razor-users or SA-Talk seems to know so I thought I give it a try here. I have a problem understanding how to configure the razor-agent.log. On two mail servers running FreeBSD 4.6.2 and OpenBSD 3.2 I experience same issue: razor-agent.log stops logging for some reason (probably me). Razor is called from Spamassassin. Everything else works fine, SA, Razor2 checks, postfix etc. are all without a problem but razor-agent.log is completely empty even if Razor does what it should. Permissions are checked ok Paths are checked ok I have read all the applicable man pages I ran razor-admin with applicable options razor-agent.conf seems ok with correct log settings There are no errors generated anywhere Razorhome is properly configured SA is 2.44, but have seen same behaviour with 2.41 and 2.43 Razor 2.22 from 2.20, same thing I have simply ran out of options here, could somebody offer a clue on where to start? I have been trying to resort my mail configuration to include spamassassin, running from procmail as the recipient to allow per-user whitelists and blacklists. So I've been hitting razor around the perimiter myself. The logfile location is one I haven't quite been able to get locked down either, but check ~/.razor/ and see if it shows up there. No, it's not there, in fact it is nowhere. razor-home is in /var/spool/filter/.razor/ where everything else *except* the log (which is clearly defined in razor-agent.conf) shows up proper. It used to work, then vanished, then after running razor-admin it came back only to dissappear again, and I'm clueless :-( On my SA/Razor machine, every user who gets mail has a .razor directory in their home directory (ie, /home/matt/.razor). There is no Razor global log file on my machine. -- Matt Emmerton To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
test
Just a test. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: OT: razor-agent.log vanishing
On 02/09/03 03:55 PM, Per olof Ljungmark sat at the `puter and typed: SNIP I have been trying to resort my mail configuration to include spamassassin, running from procmail as the recipient to allow per-user whitelists and blacklists. So I've been hitting razor around the perimiter myself. The logfile location is one I haven't quite been able to get locked down either, but check ~/.razor/ and see if it shows up there. No, it's not there, in fact it is nowhere. razor-home is in /var/spool/filter/.razor/ where everything else *except* the log (which is clearly defined in razor-agent.conf) shows up proper. It used to work, then vanished, then after running razor-admin it came back only to dissappear again, and I'm clueless :-( What do you have in razor-agent.conf for the log filename? It defaults to 'razor-agent.conf', with no path. I changed this to /var/log/razor-agent.log and that's where it shows up now. Keep in mind, though, that you will be running on the config of the latest user you ran razor-admin as. If you did it as root, look in /root/.razor/ for the config. If it's not there, copy the good one you have from /usr/local/etc/razor/ into it - until you can get it sorted at least. Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Go not to the elves for counsel, for they will say both yes and no. -- J.R.R. Tolkien To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: OT: razor-agent.log vanishing
Louis LeBlanc wrote: snip No, it's not there, in fact it is nowhere. razor-home is in /var/spool/filter/.razor/ where everything else *except* the log (which is clearly defined in razor-agent.conf) shows up proper. It used to work, then vanished, then after running razor-admin it came back only to dissappear again, and I'm clueless :-( What do you have in razor-agent.conf for the log filename? It defaults to 'razor-agent.conf', with no path. I changed this to /var/log/razor-agent.log and that's where it shows up now. Keep in mind, though, that you will be running on the config of the latest user you ran razor-admin as. If you did it as root, look in /root/.razor/ for the config. If it's not there, copy the good one you have from /usr/local/etc/razor/ into it - until you can get it sorted at least. This is one of two smtp-relay servers we use so there are no local users. I have tried both with and without the full path in razor-agent.conf but it makes no difference. Using /var/log/razor-agent.log would not work because /var/log is not writable by the filter user. filter is the user that SA/Razor runs under with /var/spool/filter as home. Even more curious, the other server is OpenBSD and it exhibits identical behaviour. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: question
here is what i did recently (this is the very vanillla way) (as root) cd /usr/ports/x11/kde3/ make clean install if it completes the make without error, and you have already configured XFree86 then it's as simple as creating .xinitrc in your home directory containing 'startkde'. use your favorite editor, or if you haven't picked on yet.. (yet again, as root) cd echo 'startkde' .xinitrc startx if you haven't configured XFree86 yet, get your hardware information together and run... xf86config good luck -- -- kirt -- pwnd.org - Original Message - From: dark dragonz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, February 09, 2003 10:04 AM Subject: question what is your recommended configuration to make KDE working properly? thank you for your answer __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
LED Mouse Flashing
Greetings, I'm running FreeBSD V4.7.p4, with a Logitech LED Mouse. The mouse is being detected in the dmesg output as an Intellimouse Device 4. When this happens, it starts flashing (the mouse LED itself), the keyboard (ie. I can still type, but the letters come up slowly), and the mouse does not work (either trying to run moused, or starting X). As well, after this happens, when I restart the system, I have to unplug the mouse, or I get an error about my keyboard not being plugged in. I've tried putting flags 0x100 on the psm line in the kernel, and I've tried removing the flags 0x1 from the keyboard device, both with no change. At one point, before I made the changes, the mouse was detected as a type Generic Device 0. When this happened, the system worked perfectly. Now, my question: Is there a way to specify to the kernel that I want it to use the generic driver for the mouse, and not the Intellimouse? As well, where (if any place) can I specify the device type to be 0, and not 4? Regards, Justin P. Michel |- J Continuum |- 21071 - 640 River Street |- Thunder Bay, ON, Canada |- P7A 8A7 |- http://www.jcontinuum.ca To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: OT: razor-agent.log vanishing
On 02/09/03 04:23 PM, Per olof Ljungmark sat at the `puter and typed: Louis LeBlanc wrote: snip No, it's not there, in fact it is nowhere. razor-home is in /var/spool/filter/.razor/ where everything else *except* the log (which is clearly defined in razor-agent.conf) shows up proper. It used to work, then vanished, then after running razor-admin it came back only to dissappear again, and I'm clueless :-( What do you have in razor-agent.conf for the log filename? It defaults to 'razor-agent.conf', with no path. I changed this to /var/log/razor-agent.log and that's where it shows up now. Keep in mind, though, that you will be running on the config of the latest user you ran razor-admin as. If you did it as root, look in /root/.razor/ for the config. If it's not there, copy the good one you have from /usr/local/etc/razor/ into it - until you can get it sorted at least. This is one of two smtp-relay servers we use so there are no local users. I have tried both with and without the full path in razor-agent.conf but it makes no difference. Using /var/log/razor-agent.log would not work because /var/log is not writable by the filter user. filter is the user that SA/Razor runs under with /var/spool/filter as home. Even more curious, the other server is OpenBSD and it exhibits identical behaviour. Your setup is far more complex than any mail setup I have worked with. I'm running a three user system with no relays. Mail comes in, goes thru procmail to cyrus, and outgoing mail only gets relayed for the local users to the ISP relay, which requires authentication. Even this basic setup has me scratching my head most times. Good luck Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org Ô¿Ô¬ I don't think so, said René Descartes. Just then, he vanished. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
emu10k1
Hi ! I wanted to know if anyone succeeded in making 4 speakers work with Creative SBlive! ? The sound works but only on the 2 front speakers, not the 2 rear ones. Thanks in advance. Regards. Antoine To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
speeding up NFS
Hi ! I wanted to know if someone could help me speed up NFS transfers with FreeBSD-4.7-STABLE. With Linux clients+server, the transfers are exactly twice faster than with freeBSD, so I am sure I must have screwed the configuration somewhere. Here are the options used for mounting: rw,intr,hard,-r=8192,-w=8192,-U And here is the server's rc.conf: nfs_reserved_port_only=YES nfs_server_enable=YES nfs_server_flags=-h 192.168.0.1 -u -t -n 4 rpc_lockd_enable=YES rpc_statd_enable=YES Thanks in advance. Regards. Antoine To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Deleting /usr dedicated slice.
In [EMAIL PROTECTED], Ihsan Junaidi Ibrahim [EMAIL PROTECTED] typed: Hello all, How do delete the slice that is occupying /usr and use that free space to extend /var? I read the man pages and growfs is the way but how do I exactly do it? Did you really put your partitions on separate slices? If so, you've made more work for yourself. Growfs just grows the file system in a partition to use extra space. You've got to add the space to the partition yourself. So this can only work if the spare partition immediately follows the partition that is going to grow. Normally, what you would have to do to do that is use the disklabel -e to remove the spare partition and change the size of the old partition to include the new one. If you've put your partitions on separate slices, you have to use fdisk to remove the spare slice and add the space to the slice that is going to grow before you use disklabel on the partitions. After you've done that step, or those two steps, you can use growfs on the partition to make it use the extra space. Be sure and back up /var before trying this. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: emu10k1
I wanted to know if anyone succeeded in making 4 speakers work with Creative SBlive! ? The sound works but only on the 2 front speakers, not the 2 rear ones. Thanks in advance. the only way i got it working was with the use of the oss sound modules. Marcel To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: freebsd4.7 and Samba and OS X
On Sunday 09 February 2003 04:34 am, Jon Reynolds wrote: I also think you guys might be on to something. The only difference between the 2 shares is that the ServerFiles share has a 'veto' option in it to hide these files. Maybe my understanding of veto is wrong, I always thought that it hid the files not disallowed them to be created. And that's all it would take. If the client creates the dot files and then can't read them, then what is the point? Previously NetAtalk created the dot files itself, so it made sense to hide them from the clients. But in the case of MacOS X Jaguar, the client is creating dot files because it needs them for something. On AppleShare I suspect Jaguar creates the dot files only to track window sizes and icon placements. In the case of SMB shares where one does not have Data and Resource forks, I would expect the dot files created by the X client would be used to provide this functionality. -- David Kelly N4HHE, [EMAIL PROTECTED] = The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: MySQL Replication Script
On Fri, 7 Feb 2003, Odhiambo Washington wrote: Problem is simple for me - it just refuses to take my commands wash@ns2 - ./mysql_replicate_manager.pl -u root -p MYPASS -i MySQL Replication Manager 1.3.3 by Matt Simerson DBI connect('database=mysql:host=localhost:port=3306','root',...) failed: Access denied for user: 'root@localhost' (Using password: NO) at ./mysql_replicate_manager.pl line 656 db connect failed: Try -pMYPASS that should fix it. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Wireless(if_wi): supported card attachment problems
Hi All! I bought a card that, according to the man page of wi driver, should have been supported. The card is a Sohoware/NCP 130 and this is the output of 'man wi': The following cards are among those supported by the wi driver: Card Chip Bus .. .. NANOSPEED ROOT-RZ2000Prism-II PCMCIA -- NDC/Sohoware NCP130 Prism-II PCI -- NEC CMZ-RT-WPPrism-II PCMCIA ... But the driver simply doesn't see it... This is the output of pciconf : none2@pci0:8:0: class=0x028000 card=0x013115e8 chip=0x013115e8 rev=0x01 hdr=0x00 vendor = 'National Datacomm Corp.' device = 'Prism II InstantWave HR PCI card' class= network I modified the driver sources and i added my card among those supported: static struct { unsigned int vendor,device; int bus_type; char *desc; } pci_ids[] = { /* Sorted by description */ {0x10b7, 0x7770, WI_BUS_PCI_PLX, 3Com Airconnect}, {0x16ab, 0x1101, WI_BUS_PCI_PLX, GLPRISM2 WaveLAN}, {0x1260, 0x3873, WI_BUS_PCI_NATIVE, Intersil Prism2.5}, {0x16ab, 0x1102, WI_BUS_PCI_PLX, Linksys WDT11}, {0x1385, 0x4100, WI_BUS_PCI_PLX, Netgear MA301}, {0x1638, 0x1100, WI_BUS_PCI_PLX, PRISM2STA WaveLAN}, -- {0x15E8, 0x0131, WI_BUS_PCI_PLX, Prism II InstantWave HR PCI card} and in this flavour -- {0x15E8, 0x0131, WI_BUS_PCI_NATIVE, Prism II InstantWave HR PCI card} Because I didnt know if the card was PLX based or not. Now I get the following messages: wi0: Prism II InstantWave HR PCI card port 0xdc00-0xdc3f,0xd800-0xd80f irq 11 at device 8.0 on pci0 wi0: No Mem space on prism2.5? device_probe_and_attach: wi0 attach returned 6 or wi0: Prism II InstantWave HR PCI card port 0xdc00-0xdc3f,0xd800-0xd80f irq 11 at device 8.0 on pci0 wi0: No I/O space?! device_probe_and_attach: wi0 attach returned 6 Using the WI_BUS_PCI_PLX. I have a FreeBSD 4.7 system with no other cards except for the NCP130. Does anyone have some ideas? Thanks! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Wireless(if_wi): supported card attachment problems
Hi All! I bought a card that, according to the man page of wi driver, should have been supported. The card is a Sohoware/NCP 130 and this is the output of 'man wi': The following cards are among those supported by the wi driver: Card Chip Bus .. .. NANOSPEED ROOT-RZ2000Prism-II PCMCIA -- NDC/Sohoware NCP130 Prism-II PCI -- NEC CMZ-RT-WPPrism-II PCMCIA ... But the driver simply doesn't see it... This is the output of pciconf : none2@pci0:8:0: class=0x028000 card=0x013115e8 chip=0x013115e8 rev=0x01 hdr=0x00 vendor = 'National Datacomm Corp.' device = 'Prism II InstantWave HR PCI card' class= network I modified the driver sources and i added my card among those supported: static struct { unsigned int vendor,device; int bus_type; char *desc; } pci_ids[] = { /* Sorted by description */ {0x10b7, 0x7770, WI_BUS_PCI_PLX, 3Com Airconnect}, {0x16ab, 0x1101, WI_BUS_PCI_PLX, GLPRISM2 WaveLAN}, {0x1260, 0x3873, WI_BUS_PCI_NATIVE, Intersil Prism2.5}, {0x16ab, 0x1102, WI_BUS_PCI_PLX, Linksys WDT11}, {0x1385, 0x4100, WI_BUS_PCI_PLX, Netgear MA301}, {0x1638, 0x1100, WI_BUS_PCI_PLX, PRISM2STA WaveLAN}, -- {0x15E8, 0x0131, WI_BUS_PCI_PLX, Prism II InstantWave HR PCI card} and in this flavour -- {0x15E8, 0x0131, WI_BUS_PCI_NATIVE, Prism II InstantWave HR PCI card} Because I didnt know if the card was PLX based or not. Now I get the following messages: wi0: Prism II InstantWave HR PCI card port 0xdc00-0xdc3f,0xd800-0xd80f irq 11 at device 8.0 on pci0 wi0: No Mem space on prism2.5? device_probe_and_attach: wi0 attach returned 6 or wi0: Prism II InstantWave HR PCI card port 0xdc00-0xdc3f,0xd800-0xd80f irq 11 at device 8.0 on pci0 wi0: No I/O space?! device_probe_and_attach: wi0 attach returned 6 Using the WI_BUS_PCI_PLX. I have a FreeBSD 4.7 system with no other cards except for the NCP130. Does anyone have some ideas? Thanks! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: emu10k1
On Sunday 09 February 2003 17:46, you wrote: I wanted to know if anyone succeeded in making 4 speakers work with Creative SBlive! ? The sound works but only on the 2 front speakers, not the 2 rear ones. Thanks in advance. the only way i got it working was with the use of the oss sound modules. Oh well, to bad... that's what I tough though. I just have to find another soundcard that would work well with FreeBSD. The OSS drivers are not free right ? Antoine To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
why do port installation attempts ignore my cd? (freebsd 4.7)
disclaimer: i am a freebsd newbie. although i have installed and used linux in the past, and work daily on unix at work, i have little sysadmin experience. although in the manual it mentions that ports such as kermit cannot be included on the cd, it seems that ports which i think should be on the cd still end up with an attempt to access the net (which i am not yet hooked up to, having decided to try simpler things first). more specifically, i have freebsd 4.7, the 4-cd set, and i am trying to install xmms. i noticed that through the sysinstall, xcdplayer is offered, yet even for this one, if i go to /usr/ports/audio/xcdplayer [whatever version] (i am mailing this from win2k, as i am not yet up to speed in freebsd enough to mail from there), it still looks first on some ftp sites, and completely ignores my cd. i have mounted my first cdrom drive, and can see the files through the /cdrom link, yet the ports installation (go to dir, type make or make install) ignores the existence of it completely, and i cannot figure out what i have done wrong. i kinda fumbled my way through the installation, using the handbook, 2nd edition, which i purchased, but there is still the possibility that i installed my ports collection somehow wrong. i tried to rectify this possibility by reinstalling it, but the result is the same. can anyone give me a pointer? thanks in advance, c To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Automatically include debug symbols?
Hi! I was wondering how to recompile the whole system with debug symbols. And how do I automatically include debug symbols when I'm building ports? I experience so many segmentation faults, and it would be helpful to have debug symbols everywhere. Any ideas? Thanks in advance. Daniela To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: emu10k1
On Sun, 9 Feb 2003, Antoine Jacoutot wrote: On Sunday 09 February 2003 17:46, you wrote: I wanted to know if anyone succeeded in making 4 speakers work with Creative SBlive! ? The sound works but only on the 2 front speakers, not the 2 rear ones. Thanks in advance. the only way i got it working was with the use of the oss sound modules. Oh well, to bad... that's what I tough though. I just have to find another soundcard that would work well with FreeBSD. The OSS drivers are not free right ? no they are about $ 20 i thought, altho you can download a free trail version. Marcel To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Automatically include debug symbols?
On Sun, 9 Feb 2003 18:47:39 +0100 Daniela [EMAIL PROTECTED] wrote: Howdy, I was wondering how to recompile the whole system with debug symbols. And how do I automatically include debug symbols when I'm building ports? You could add something like CFLAGS+=-g to your /etc/make.conf, and probably STRIP_CMD=true so strip doesn't remove that info when you install ports. I experience so many segmentation faults, and it would be helpful to have debug symbols everywhere. What kind of programs? Sometimes that's a sign of faulty memory or overheated processor. Cheers, -- Miguel Mendez - [EMAIL PROTECTED] GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk Of course it runs NetBSD! msg18618/pgp0.pgp Description: PGP signature
Re: why do port installation attempts ignore my cd? (freebsd 4.7)
On Sun, Feb 09, 2003 at 06:48:01PM +0100, c a r s t e n wrote: disclaimer: i am a freebsd newbie. although i have installed and used linux in the past, and work daily on unix at work, i have little sysadmin experience. although in the manual it mentions that ports such as kermit cannot be included on the cd, it seems that ports which i think should be on the cd still end up with an attempt to access the net (which i am not yet hooked up to, having decided to try simpler things first). more specifically, i have freebsd 4.7, the 4-cd set, and i am trying to install xmms. i noticed that through the sysinstall, xcdplayer is offered, yet even for this one, if i go to /usr/ports/audio/xcdplayer [whatever version] (i am mailing this from win2k, as i am not yet up to speed in freebsd enough to mail from there), it still looks first on some ftp sites, and completely ignores my cd. i have mounted my first cdrom drive, and can see the files through the /cdrom link, yet the ports installation (go to dir, type make or make install) ignores the existence of it completely, and i cannot figure out what i have done wrong. i kinda fumbled my way through the installation, using the handbook, 2nd edition, which i purchased, but there is still the possibility that i installed my ports collection somehow wrong. i tried to rectify this possibility by reinstalling it, but the result is the same. can anyone give me a pointer? thanks in advance, For space reasons the distfiles (containing the source) for the ports is not included on the CDs. What is included on the CDs are packages which are precompiled ports. The distfiles used to be included on the CDs but since then the ports collection has simply grown too much. If you want to use the pre-compiled packages from the CD you should use pkg_add(1). (Or sysinstall if you prefer that.) -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
resolv.conf
I have this problem: when i run me mailserver (postfix), I gotto have theese lines in resolv.conf: domain sparbanken.org nameserver 10.0.0.1 nameserver 10.0.0.2 I got to have this to be enable to send mail, and from time to time, the file /etc/resolv.conf changes back to the standard: search nameserver 10.0.0.1 nameserver 10.0.0.2 and i dont know how to do to have the resolv.conf NOT to be changed help!!! // Per To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: resolv.conf
hi, On Sun, Feb 09, 2003 at 07:03:43PM +0100, Per Nilsson wrote: I have this problem: when i run me mailserver (postfix), I gotto have theese lines in resolv.conf: domain sparbanken.org nameserver 10.0.0.1 nameserver 10.0.0.2 I got to have this to be enable to send mail, and from time to time, the file /etc/resolv.conf changes back to the standard: search nameserver 10.0.0.1 nameserver 10.0.0.2 and i dont know how to do to have the resolv.conf NOT to be changed if you're running dhclient, check /etc/dhclient.conf or 'man 5 dhclient.conf' cheers... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Automatically include debug symbols?
In [EMAIL PROTECTED], Daniela [EMAIL PROTECTED] typed: I was wondering how to recompile the whole system with debug symbols. And how do I automatically include debug symbols when I'm building ports? You can get everything to build with debug symbols by adding CFLAGS=-g to /etc/make.conf. However, the system will strip the binaries when it installs them. You could probably get the non-stripped version installed if you really wanted to, but I'd recommend not doing that, and just using the version in /usr/obj, which shouldn't be stripped, for debugging. Ports will also build with debugging symbols, but most of them will probably be stripped on install as well. You can fix them by editing /usr/ports/Mk/bsd.port.mk, and removing the ${STRIP} from INSTALL_PROGRAM. You also need to change STRIP_CMD to be something harmless. I experience so many segmentation faults, and it would be helpful to have debug symbols everywhere. Segmentation faults are pretty rare on all my systems, unless it's code that is under active development. Are you sure it's not flaky hardware? Note that not having problems under another OS is *not* a sign that the hardware isn't flaky. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: dhcpd subnets?
At 5:50 PM -0600 2/8/03, Daniel Schrock wrote: a.b.c.158 is the last usable address, not the network address. try a.b.c.128 instead, which is the network address for you /27. Er, right. I figured that out by playing with the subnet calculator at http://jodies.de/ipcalc. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
How important is CPU speed for a bridging NAT box?
Greetings again. I'm about to set up a box that is dedicated as a bridging NAT and firewall. I was going to use an old P133 box I had laying around. Will this be fast enough for typical Internet access at 384Kbps if the box isn't doing anything else, or do I need a faster machine? --Paul Hoffman To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How important is CPU speed for a bridging NAT box?
On Sun, 9 Feb 2003, Paul Hoffman wrote: Greetings again. I'm about to set up a box that is dedicated as a bridging NAT and firewall. I was going to use an old P133 box I had laying around. Will this be fast enough for typical Internet access at 384Kbps if the box isn't doing anything else, or do I need a faster machine? should be more then enough, i used a Pentium 75 with 64Mb of memory for a 1.5Mbit line with a NAT and firewall configuration. Marcel To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
5.0 on Compaq Evo 610c notebook - no way?
Hi, I'm having serious trouble with setting up FreeBSD 5.0-Release on a Compaq Evo 610c-notebook. First of all, here's my configuration: Compaq Evo 610c notebook - ROM family 68P4F System-Bios: 1/17/2003 (latest available) RAM: 1GB HD: 40GB DVD/CD-RW Display: 1400x1050 NIC: Intel Pro/100 builtin Modem: Lucent internal modem, Synaptics touchpad and pointstick Graphics: ATI Radeon Mobility 7500 AGP(LW) 32MB Bios 6.0.0 VR006.004.006.008-001.001.001 350MHz DAC Now for the problem: I run FreeBSD-setup from a CD obtained from the ISO-image (5.0-RELEASE). Upon booting the system runs into a loop like the following: First of all the acpi.ko ist loaded Then after some messages I see acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5% acpi_tz0: WARNING - current temperature (1331362.0C) exceeds system limits followed by ACPI-1287 *** Error: Method execution failed, AE_AML_NO_RETURN_VALUE with the latter one repeated dozen of times The system seems to run into a loop with the messages acpi_tz0... and ACPI-1287... repeated forever. The only way to cure the problem is to completely turn off power! I don't even come to the point where the system starts up in order to install something... :-( So here are my questions: 1) Has anybody else seen this before? 2) What can I do against it? (I *really* want to have FreeBSD running on that box - going back to Windoze is no option for me) 3) To me it looks like ACPI doesn't work - any ways to turn it of in the FreeBSD-installation? (no way to turn it of in the system BIOS - I've already checked this) TIA for your help, -ewald To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: speeding up NFS
Antoine Jacoutot wrote: Hi ! I wanted to know if someone could help me speed up NFS transfers with FreeBSD-4.7-STABLE. With Linux clients+server, the transfers are exactly twice faster than with freeBSD, so I am sure I must have screwed the configuration somewhere. Here are the options used for mounting: rw,intr,hard,-r=8192,-w=8192,-U And here is the server's rc.conf: nfs_reserved_port_only=YES nfs_server_enable=YES nfs_server_flags=-h 192.168.0.1 -u -t -n 4 rpc_lockd_enable=YES rpc_statd_enable=YES Search the archives ... I seem to remember this being discussed in great depth a few years ago. You may be able to increase the -r and -w sizes to improve things. My understanding is: you should use UDP mounts if the servers are close together (i.e., one hub/switch between them, low latency) but use TCP mounts if they are far apart (i.e. many hops, high latency, lots of dropped packets). I don't know if specifying both -u and -t hurts anything. But definately search the archives, there was a LOT more useful information in the previous discussion. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Monitoring the entire filesystem?
Is there an existing way to monitor the entire filesystem for changes to any file, particularly changes in extended attributes? I've read over the documentation for kqueue, but some things were left unclear. For example, it appears the man page has not been updated for 5.0 and thus doesn't specify whether or how extended attributes can be monitored for modifications. Also, it appears that kqueue needs a file descriptor for each file that one would want to monitor, making any large-scale file monitoring impractical. Is there any other way in FreeBSD to be notified of file modifications in a way that would allow one to monitor the whole file system or large portions of it? I don't really need to know whether a particular attribute changed, but rather just whether any of them changed. --Kevin Fogleman To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ppp trouble
Welcome, I've got little problem with user-ppp: When executing ppp -quiet -nat -dedicated sdi, with config file looking like this: default: set log Phase Chat LCP IPCP CCP tun command set device /dev/cuaa0 set speed 115200 enable dns sdi: set phone 0 set authname blah set authkey blah add default HISADDR Got warning that (from log file): Warning: sending empty PAP authname !!! But when i'm doing it in interactive mode: ppp set device /dev/cuaa0 ppp set speed 115200 ppp set authname blah ppp set authkey blah ppp dial Ppp PPp PPP Everything is OK. Where is the mistake ??? -- regards, GoSPoS. smime.p7s Description: application/pkcs7-signature
120gb hdd seen as only 32gb
Hi all, When I want to install FreeBSD 4.7 on a 120gb Samsung Spinpoint hdd, on a Asus p4t533 motherboard (Intel 850e), only 32 gb are recognised by the installer. Any help would be appreciated, Lars. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 120gb hdd seen as only 32gb
On Sun, Feb 09, 2003 at 08:45:49PM +0100, lars wrote: Hi all, When I want to install FreeBSD 4.7 on a 120gb Samsung Spinpoint hdd, on a Asus p4t533 motherboard (Intel 850e), only 32 gb are recognised by the installer. Any help would be appreciated, Lars. Could it be a jumper setting issue? See http://www.samsungelectronics.com/hdd/support/user_guide/user_guide_02.html I wonder if this is some sort hack so that the drive might work with old broken Windows boxes that might not support more than 32GB. Nathan -- GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc msg18631/pgp0.pgp Description: PGP signature
Re: Monitoring the entire filesystem?
I use /usr/ports/security/tripwire-131 Works great... -Allan On Monday, February 10, 2003, at 06:44 AM, Kevin Fogleman wrote: Is there an existing way to monitor the entire filesystem for changes to any file, particularly changes in extended attributes? I've read over the documentation for kqueue, but some things were left unclear. For example, it appears the man page has not been updated for 5.0 and thus doesn't specify whether or how extended attributes can be monitored for modifications. Also, it appears that kqueue needs a file descriptor for each file that one would want to monitor, making any large-scale file monitoring impractical. Is there any other way in FreeBSD to be notified of file modifications in a way that would allow one to monitor the whole file system or large portions of it? I don't really need to know whether a particular attribute changed, but rather just whether any of them changed. --Kevin Fogleman To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 120gb hdd seen as only 32gb
I've set my hdd to Cable Select in upper 32GB (capacity 32 GB) at the moment. I'll try Master with limit capacity in upper 32GB (capacity 32 GB) next, brb. Nathan Kinkade wrote: On Sun, Feb 09, 2003 at 08:45:49PM +0100, lars wrote: Hi all, When I want to install FreeBSD 4.7 on a 120gb Samsung Spinpoint hdd, on a Asus p4t533 motherboard (Intel 850e), only 32 gb are recognised by the installer. Any help would be appreciated, Lars. Could it be a jumper setting issue? See http://www.samsungelectronics.com/hdd/support/user_guide/user_guide_02.html I wonder if this is some sort hack so that the drive might work with old broken Windows boxes that might not support more than 32GB. Nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Automatically include debug symbols?
On Sunday 09 February 2003 19:15, Mike Meyer wrote: You can get everything to build with debug symbols by adding CFLAGS=-g to /etc/make.conf. However, the system will strip the binaries when it installs them. You could probably get the non-stripped version installed if you really wanted to, but I'd recommend not doing that, and just using the version in /usr/obj, which shouldn't be stripped, for debugging. Why shouldn't I do this? Is it just because debug binaries are bigger or run slower? If so, that's not a problem for me, I have a fast processor and a lot of memory. Segmentation faults are pretty rare on all my systems, unless it's code that is under active development. Are you sure it's not flaky hardware? Note that not having problems under another OS is *not* a sign that the hardware isn't flaky. I have always suspected the hardware because on my old computer, everything worked. But how do I see what the problem really is? Regards Daniela To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 120gb hdd seen as only 32gb
Thanks for the pointer, the whole drive gets recognised now. The leaflet (that came with the hdd) calls Master with limit capacity in upper 32GB (capacity 32 GB) Pin Setting (32 GB Clip Pin Setting). Anyway, it works. Thanks. lars wrote: I've set my hdd to Cable Select in upper 32GB (capacity 32 GB) at the moment. I'll try Master with limit capacity in upper 32GB (capacity 32 GB) next, brb. Nathan Kinkade wrote: On Sun, Feb 09, 2003 at 08:45:49PM +0100, lars wrote: Hi all, When I want to install FreeBSD 4.7 on a 120gb Samsung Spinpoint hdd, on a Asus p4t533 motherboard (Intel 850e), only 32 gb are recognised by the installer. Any help would be appreciated, Lars. Could it be a jumper setting issue? See http://www.samsungelectronics.com/hdd/support/user_guide/user_guide_02.html I wonder if this is some sort hack so that the drive might work with old broken Windows boxes that might not support more than 32GB. Nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Deleting /usr dedicated slice.
On 2003-02-09 16:32, Ihsan Junaidi Ibrahim wrote: I just bought an 80 GB drive and would like move /usr partition to the new disk. I have a dedicated partition /da0s1f that is currently dedicated to it. /var partition resides in da0s1e. How do delete the slice that is occupying /usr and use that free space to extend /var? I read the man pages and growfs is the way but how do I exactly do it? Since 80 GB of disk space is a lot, you could also use the second disk as a temp area, while joining /var and /usr of the first disk into a new /var. This could easily be done with: 1) Boot in single user mode. 2) Create newfs a huge /usr on your second disk, that can accomodate both your current /var and /usr partitions (i.e., da1s1a). 3) Mount your new /usr partition under /mnt from da1s1a. 4) Use dump restore to move things from your current /usr into /mnt. I't probably a good idea to copy /var into /mnt/var instead of deeper. 5) Move away (do not delete, yet) your exiting /var, and create a symlink /var - /usr/var. 6) Update your /etc/fstab to make sure the old /var and /usr partitions are not used. 7) Boot your system and check for any problems. If all seems fine, you can remove the old /var and /usr partitions from da0, your first disk. Then, create a single partition that will eventually hold your /var partition which spans the space previously occupied by the original /var and /usr partitions, and move to the second part of the process: 1) Boot single user again. 2) Mount da1s1e which now has the space of your old /var and /usr under /mnt. 3) Use dump restore to move stuff from /usr/var to /mnt. 4) Remove the symlink of /var - /usr/var and create a directory /var (owned by root:wheel with permissions 0755). 5) Unmount /mnt and remount it at /var. 6) Exit single user mode. If all works fine, you can delete /usr/var. - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Help
On 2003-02-09 07:00, [EMAIL PROTECTED] wrote: I download freeBSD 5.0 and have some questions.One of 2 CD has label minimal instalation (or somethink like it). But I dont download this ico download another 2 (cd1 and cd2). If you are a new FreeBSD user, you should really stick with 4.X for a while. The release of 5.0 is directed to early adopters of the 5.X series and there might be a few bumpy points along the ride until we have 5-STABLE. and second question I want to install it in 1 HDD with Windows XP and Linux. How can I do it? I read that it is good to use boot managers, but I never use it and don`t know what is the best mannager. I dont want to lose information in my HDD. Do you already have Linux and XP on that disk? If yes, how do you select at boot time what operating system to load? (This is the job of the boot manager.) - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
installworld fails
Hi again! I'm upgrading from 4.7-STABLE to 5.0-RELEASE. I get the following: # make installworld Running test variables PASS: Test variables detected no regression, output matches. Running test targets PASS: Test targets detected no regression. Running test sysvmatch PASS: Test sysvmatch detected no regression. Running test lhs_expn PASS: Test lhs_expn detected no regression. Running test notdef PASS: Test notdef detected no regression. Running test modifiers PASS: Test modifiers detected no regression. Running test funny_targets PASS: Test funny_targets detected no regression. Checking to see if your booted kernel is fresh enough.. /usr/obj/usr/src/bin/sh/sh -c 'echo Testing installed kernel for new sigaction(2) syscall' Bad system call (core dumped) *** Error code 140 Stop in /usr/src. *** Error code 1 Stop in /usr/src. What's wrong? Any help would be appreciated. Regards, Daniela To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Character And Mail.
Hi, I`m about doing a small documentation of FreeBSD configuring and small tip on applications and so on.. So this is mine question for you.. I have search everywhere for a list about all Character Sets in FreeBSD, but I cant find it. I wonder if you could mail me a list with all the Character sets.. I mean, like Swedish, having sv_SE.ISO_8859-1.. and so.. if you have some kind of list of all (finland, denmark, spain.. etc etc etc) I would be greatful as hell..?! I have one qustion more.. If i would wanna have an MX record from your`e FreeBSD.org to an host of mine.. let`s put it this way.. is it possible that I could get mlg.FreeBSD.org (MX record (10)) pinted to an host like sparbanken.org? so I could have mlg.FreeBSD.org mailbox on one of mine computers? Please get me the list anyway. I should be thankful as hell for that.. // Per Nilsson To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Character And Mail.
On Sun, Feb 09, 2003 at 04:00:25PM +0100, Per Nilsson wrote: Hi, I`m about doing a small documentation of FreeBSD configuring and small tip on applications and so on.. So this is mine question for you.. I have search everywhere for a list about all Character Sets in FreeBSD, but I cant find it. I wonder if you could mail me a list with all the Character sets.. I mean, like Swedish, having sv_SE.ISO_8859-1.. and so.. if you have some kind of list of all (finland, denmark, spain.. etc etc etc) I would be greatful as hell..?! I have one qustion more.. If i would wanna have an MX record from your`e FreeBSD.org to an host of mine.. let`s put it this way.. is it possible that I could get mlg.FreeBSD.org (MX record (10)) pinted to an host like sparbanken.org? so I could have mlg.FreeBSD.org mailbox on one of mine computers? Please get me the list anyway. I should be thankful as hell for that.. // Per Nilsson For locales, a good place to start would be to browse around in /usr/share/locale/ Don't know, but I seriously doubt that you'll get your DNS amitions met. Nathan -- GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc msg18640/pgp0.pgp Description: PGP signature
Re: #!/bin/sh execve
On 2003-02-08 21:58, [EMAIL PROTECTED] wrote: this does seem to be an ambiguous area. it seems more sane to allow arguments to a script given to an interpreter on the shebang line, passing everything after #!/interpreter [arg] off for eval or sh -c type parsing. This is something that can be bth good and bad though. As you have pointed out, if a limited sort of parsing is allowed, then it would most likely have to be sh(1)-like. This means that the mechanism that inteprets '#!' would have to know all the intricacies of the sh(1) parser to work correctly in all cases. Incomplete sh(1)-like parsers that would understand most of the sh(1) shell syntax would be exactly that... incomplete. Another bad thing about this is that you would then need a lot more memory to handle things like: #!/bin/sh -c \ 'my-magic-script.sh arg1 arg2 \ arg3 ...' \ `backquoted command` I'm not objecting to something like this. If you happen to roll patches for the kernel that can make it work, I'll probably try them too. But are the benefits of writing something like this worth the time required to write and test it? i don't know how it breaks anything to load execve's argv[] with everything after the shebang, followed by command line options/args. but it sure muddies the water if you don't. There is one portable way. It's easy to remember too: #!/bin/sh No spaces, no args. It works so far on all the systems I've tried. #!/bin/sh -xthis is obviously ok. #!/bin/sh set -x [...] #!/bin/sh -vx this is obviously ok too. Similarly. #!/bin/sh -cstringthis is currently not ok, but why shouldn't it be? #!/bin/sh exec string exit 1 #!/bin/sh -c string this is currently not ok, but why shouldn't it be? Similarly. #!/bin/sh scriptthis is obviously ok. #!/bin/sh . script #!/bin/sh -n script this is currently not ok, but why shouldn't it be? #!/bin/sh exec /bin/sh -n script #!/bin/sh script 1 2this is ok with FBSD and RH Linux, but not ok in a few implementations, but why shouldn't it be? #!/bin/sh exec /bin/sh script 1 2 it seems that only a minority of execve() man pages / implementations are preventing the sane solution ... The only objection I have in making execve() behave as if the whole she-bang thing was a valid sh(1) command, is that I don't want sh(1) being imported into the kernel tree, period. Of course, what I want is irrelevant if someone comes up with a solution to the problem of having an sh(1)-like parser without having sh(1) in the kernel :-) - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Is anoncvs.freebsd.org down?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm not sure if it's down or partially broken. I can login but all update operations result in a timeout. It's been like this for several days now. Can someone who has the keys to this service please look into the problem? Regards, Neil Darlow M.Sc. - -- ICQ: 135505456 E-Mail, Jabber and MSNM: neil at darlow.co.uk Free Software and Open Standards Consultants - http://www.darlow.co.uk/ The Association of Free Software Professionals - http://www.afsp.org.uk/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE+RsOZ5XniSlMfkEgRAn98AJ0aHpiBhUxUBo4dwJ1zvTcwS7QMaQCeOJ0g zFtSyH28XLjWlyREQnbg7Vc= =Ikgd -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Automatically include debug symbols?
Daniela wrote: On Sunday 09 February 2003 19:15, Mike Meyer wrote: You can get everything to build with debug symbols by adding CFLAGS=-g to /etc/make.conf. However, the system will strip the binaries when it installs them. You could probably get the non-stripped version installed if you really wanted to, but I'd recommend not doing that, and just using the version in /usr/obj, which shouldn't be stripped, for debugging. Why shouldn't I do this? Is it just because debug binaries are bigger or run slower? If so, that's not a problem for me, I have a fast processor and a lot of memory. I guess if you don't mind them eating up RAM, then go ahead. Keep in mind that it can easily be 5x the amount of RAM a stripped binary uses. Segmentation faults are pretty rare on all my systems, unless it's code that is under active development. Are you sure it's not flaky hardware? Note that not having problems under another OS is *not* a sign that the hardware isn't flaky. I have always suspected the hardware because on my old computer, everything worked. But how do I see what the problem really is? Look at memtest and cpuburn in the ports, they should help you isolate the problem. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
test
Ignore this. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: installworld fails
Someone, quite probably Daniela, once wrote: I'm upgrading from 4.7-STABLE to 5.0-RELEASE. I get the following: # make installworld Running test variables PASS: Test variables detected no regression, output matches. Running test targets PASS: Test targets detected no regression. Running test sysvmatch PASS: Test sysvmatch detected no regression. Running test lhs_expn PASS: Test lhs_expn detected no regression. Running test notdef PASS: Test notdef detected no regression. Running test modifiers PASS: Test modifiers detected no regression. Running test funny_targets PASS: Test funny_targets detected no regression. Checking to see if your booted kernel is fresh enough.. /usr/obj/usr/src/bin/sh/sh -c 'echo Testing installed kernel for new sigaction(2) syscall' Bad system call (core dumped) *** Error code 140 Stop in /usr/src. *** Error code 1 Stop in /usr/src. What's wrong? You need to reboot properly so the 5.0 kernel is used. Check /usr/src/UPDATING and a fair way down is a step-by-step guide to avoiding further hiccups. Kevin -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mozilla port build failure
On Sun, 2003-02-09 at 17:08, stan wrote: I'm updating today, and the mozilla port is failing like this: cc -O -pipe -march=k6 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftdbg.c -o xftdbg.o cc -O -pipe -march=k6 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftdpy.c -o xftdpy.o cc -O -pipe -march=k6 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftdraw.c -o xftdraw.o xftdraw.c: In function `XftDrawSrcPicture': xftdraw.c:373: warning: passing arg 4 of `XRenderFillRectangle' discards qualifiers from pointer target type xftdraw.c: In function `XftDrawRect': xftdraw.c:811: warning: passing arg 4 of `XRenderFillRectangle' discards qualifiers from pointer target type cc -O -pipe -march=k6 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftextent.c -o xftextent.o cc -O -pipe -march=k6 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftfont.c -o xftfont.o cc -O -pipe -march=k6 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftfreetype.c -o xftfreetype.o cc -O -pipe -march=k6 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftglyphs.c -o xftglyphs.o cc -O -pipe -march=k6 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftinit.c -o xftinit.o cc -O -pipe -march=k6 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftlist.c -o xftlist.o cc -O -pipe -march=k6 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftname.c -o xftname.o cc -O -pipe -march=k6 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftrender.c -o xftrender.o xftrender.c: In function `XftGlyphSpecRender': xftrender.c:170: `XGlyphElt8' undeclared (first use in this function) xftrender.c:170: (Each undeclared identifier is reported only once xftrender.c:170: for each function it appears in.) xftrender.c:170: `elts' undeclared (first use in this function) xftrender.c:171: syntax error before `elts_local' xftrender.c:186: `glyphs_loaded' undeclared (first use in this function) xftrender.c:234: `nelt' undeclared (first use in this function) xftrender.c:247: `x' undeclared (first use in this function) xftrender.c:248: `y' undeclared (first use in this function) xftrender.c:272: `elts_local' undeclared (first use in this function) xftrender.c:335: `XGlyphElt16' undeclared (first use in this function) xftrender.c:335: syntax error before `)' xftrender.c:340: `XGlyphElt32' undeclared (first use in this function) xftrender.c:340: syntax error before `)' xftrender.c: In function `XftGlyphFontSpecRender': xftrender.c:414: `XGlyphElt8' undeclared (first use in this function) xftrender.c:414: `elts' undeclared (first use in this function) xftrender.c:415: syntax error before `elts_local' xftrender.c:428: `glyphs_loaded' undeclared (first use in this function) xftrender.c:480: `nelt' undeclared (first use in this function) xftrender.c:499: `x' undeclared (first use in this function) xftrender.c:500: `y' undeclared (first use in this function) xftrender.c:528: `elts_local' undeclared (first use in this function) xftrender.c:596: `XGlyphElt16' undeclared (first use in this function) xftrender.c:596: syntax error before `)' xftrender.c:601: `XGlyphElt32' undeclared (first use in this function) xftrender.c:601: syntax error before `)' gmake: *** [xftrender.o] Error 1 *** Error code 2 Stop in /usr/ports/x11-fonts/Xft. *** Error code 1 Stop in /usr/ports/www/mozilla. black# ^Dexit Script done on Sun Feb 9 17:06:49 2003 Any words of wisdom? Make sure you have the latest version of XFree86-libraries, Xft, and fonctconfig. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: installer: / write failed device full
On Sun, Feb 09, 2003 at 01:20:52AM -0500, northern snowfall wrote: well, i put my drive on the sym controller (since it's not seeing my aic7x chips) and now when i starts downloading and extracting the binary sets it stops and says there's no space. this is obviously wrong, since just before that it does a newfs on an almost 9gig slice. has anyone else had this problem? this is on my alpha. also, only certain sites work from the installer. they work fine using ncftp, but most others hang while looking up I've also had this problem. Instead of installing into the mounted target drive the installer attempts to fill up /, which is just mfs. I have newfs bug is, but, I've had the same occurance. However, it doesn't seem to *do* anything... As far i just tried it w/o running newfs, and it still complains about / being full. it properly extracts the basic stuff to /mnt, but like you said, then tries to extract the sets to the mfs root. hasn't anyone else noticed this major bug? how in the world is anyone installing 5.0? as the look up hang: this occurs due to mishandled interrupts in the network controller. I don't think its driver specific. Once I installed a PCI device and at least it seems to work every other time. configured the IRQ to use a non-shared interrupt, the installer was A-OK. I used a Kingston there's definetly no irq sharing on this alpha. my card is an 8139. KNE111TX/100B. The base system is a 400mhz Xeon Intel CPU with 128MB RAM. ATA0.0 has a 6449 MB WD. ATA1.0 has a LITE-ON CD. The only other card on the motherboard is an Intel i740 AGP. The motherboard is an Intel 440BX AGPset GA-6BXC. -- Tom Vier [EMAIL PROTECTED] DSA Key ID 0xE6CB97DA To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Appropriate use of FreeBSD mailing lists (was: Wireless(if_wi): supported card attachment problems)
On Saturday, 8 February 2003 at 14:01:17 +0100, Andrea Franceschini wrote: Hi All! I bought a card that, according to the man page of wi driver, should have been supported. The card is a Sohoware/NCP 130 and this is the output of 'man wi': On Saturday, 8 February 2003 at 14:01:34 +0100, Andrea Franceschini wrote: Hi All! I bought a card that, according to the man page of wi driver, should have been supported. The card is a Sohoware/NCP 130 and this is the output of 'man wi': On Sunday, 9 February 2003 at 14:18:45 +0100, Andrea Franceschini wrote: Hi All! I bought a card that, according to the man page of wi driver, should have been supported. The card is a Sohoware/NCP 130 and this is the output of 'man wi': On Sunday, 9 February 2003 at 14:20:25 +0100, Andrea Franceschini wrote: Hi All! I bought a card that, according to the man page of wi driver, should have been supported. The card is a Sohoware/NCP 130 and this is the output of 'man wi': On Sunday, 9 February 2003 at 14:20:50 +0100, Andrea Franceschini wrote: Hi All! I bought a card that, according to the man page of wi driver, should have been supported. The card is a Sohoware/NCP 130 and this is the output of 'man wi': On Sunday, 9 February 2003 at 14:28:29 +0100, Andrea Franceschini wrote: Just a test. On Sunday, 9 February 2003 at 14:41:03 +0100, Andrea Franceschini wrote: Just a test. On Sunday, 9 February 2003 at 15:40:19 +0100, Andrea Franceschini wrote: Hi All! I bought a card that, according to the man page of wi driver, should have been supported. The card is a Sohoware/NCP 130 and this is the output of 'man wi': Please do not send messages more than once. Please also don't post separate messages to different mailing lists (this message was sent to FreeBSD-hardware as well, where it is off topic). Please also do not send test messages to FreeBSD-questions. Use FreeBSD-test for that purpose. There are thousands of people on FreeBSD-questions. Each of these messages gets delivered to each of them. The result is that you will annoy people and lower your chances of getting a useful reply. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers msg18651/pgp0.pgp Description: PGP signature
[no subject]
FreeBSD devilz.org 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Sun Feb 9 18:31:37 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/Liberty i386 I installed FreeBSD-5.0 and I tried to install and start bind9 and i get: Feb 9 21:36:15 devilz named[664]: errno2result.c:109: unexpected error: Feb 9 21:36:15 devilz named[664]: unable to convert errno to isc_result: 6: Device not configured And i tried to install oidentd i get: os.c: In function `get_user4': os.c:56: storage size of `ucred' isn't known os.c:61: sizeof applied to an incomplete type os.c: In function `get_user6': os.c:93: storage size of `ucred' isn't known os.c:98: sizeof applied to an incomplete type gmake[3]: *** [os.o] Error 1 gmake[3]: Leaving directory `/usr/ports/security/oidentd/work/oidentd-2.0.4/src' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/security/oidentd/work/oidentd-2.0.4/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/security/oidentd/work/oidentd-2.0.4' gmake: *** [all] Error 2 *** Error code 2 Can you please help me.. Thanks! --- http://www.email.si To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Automatically include debug symbols?
In [EMAIL PROTECTED], Daniela [EMAIL PROTECTED] typed: On Sunday 09 February 2003 19:15, Mike Meyer wrote: You can get everything to build with debug symbols by adding CFLAGS=-g to /etc/make.conf. However, the system will strip the binaries when it installs them. You could probably get the non-stripped version installed if you really wanted to, but I'd recommend not doing that, and just using the version in /usr/obj, which shouldn't be stripped, for debugging. Why shouldn't I do this? Is it just because debug binaries are bigger or run slower? If so, that's not a problem for me, I have a fast processor and a lot of memory. Because there's no switch to cause the install process not to strip the binaries. If you want to go through the Makefile's and see if you can make it not strip, that's fine. Finding binaries in /usr/obj is easy. Segmentation faults are pretty rare on all my systems, unless it's code that is under active development. Are you sure it's not flaky hardware? Note that not having problems under another OS is *not* a sign that the hardware isn't flaky. I have always suspected the hardware because on my old computer, everything worked. But how do I see what the problem really is? Segmentation violations are usually flaky memory. The sysutils/memtest port is a good place to start. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: installworld fails
In [EMAIL PROTECTED], Daniela [EMAIL PROTECTED] typed: Hi again! I'm upgrading from 4.7-STABLE to 5.0-RELEASE. And how exacly are you doing that. What commands have you issued, etc. I get the following: ... Checking to see if your booted kernel is fresh enough.. /usr/obj/usr/src/bin/sh/sh -c 'echo Testing installed kernel for new sigaction(2) syscall' Bad system call (core dumped) *** Error code 140 Looks like you forgot to reboot after doing the installkernel, but it's hard to say for sure unless you tell us what you did. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Linksys PCI card (WMP11) pccard or not pccard ?
In http://www.freebsd.org/cgi/getmsg.cgi?fetch=2223654+0+/usr/local/www/db/text/2003/freebsd-questions/20030209.freebsd-questions you wrote: I'd like to try and get the HP on the network. I got a Linksys PCI card (WMP11) and installed it. I checked the kernel config and it included wi, awi, an, etc. This lead me to believe that wireless networking was configured into the kernel. /snip/ I have exactly the same problem (Except that I use a 4.7). I have a Linksys Wireless PCI Card, model no WMP11, and I don't manage to make my freebsd 4.7 basic install to detect it. Did you solve your problem and how ? And I don't understant the reference to pccard in the answer you received (http://www.freebsd.org/cgi/getmsg.cgi?fetch=2363574+0+/usr/local/www/db/text/2003/freebsd-questions/20030209.freebsd-questions): This is a PCI Card, for DESKTOPs, and anyway when I run pccardd daemon it tells me (correctly I guess) that there is no PC-CARD slot. Similarly someone else seems to be using the same card with the driver wi, (http://www.freebsd.org/cgi/getmsg.cgi?fetch=1883677+0+/usr/local/www/db/text/2002/freebsd-questions/20020505.freebsd-questions), but this driver is said in the GENERIC configuration file of my kernel to be associated only to WaveLAN wireless, a pcmcia card. Are those people talking about the same Wireless PCI card ? (there are similar references in older mails) Finally there seems to be a driver for this card under red Hat, (http://www.saragossa.net/LinuxG3/ls-wlan.shtml), but they warn of some bios prerequite: Be advised, the WMP11 PCI requires a version 2.2 PCI bus on your motherboard Could it be the cause and how can I check that ? -- Jérémy Barbay (http://www.cs.ubc.ca/~jeremy) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Does anyone know a good place to ask CVS questions
Subject says most of it. I looked, but the CVS website doesn't seem to have a question@ type mailing list. I can't figure out branching to save my life. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Automatically include debug symbols?
On Sunday, 9 February 2003 at 16:12:44 -0500, Bill Moran wrote: Daniela wrote: On Sunday 09 February 2003 19:15, Mike Meyer wrote: You can get everything to build with debug symbols by adding CFLAGS=-g to /etc/make.conf. However, the system will strip the binaries when it installs them. You could probably get the non-stripped version installed if you really wanted to, but I'd recommend not doing that, and just using the version in /usr/obj, which shouldn't be stripped, for debugging. Why shouldn't I do this? Is it just because debug binaries are bigger or run slower? If so, that's not a problem for me, I have a fast processor and a lot of memory. I guess if you don't mind them eating up RAM, then go ahead. Keep in mind that it can easily be 5x the amount of RAM a stripped binary uses. The symbols don't get loaded into memory on execution. There shouldn't be any difference in the amount of RAM used. Greg -- See complete headers for address and phone numbers msg18657/pgp0.pgp Description: PGP signature
Re: speeding up NFS
On Sun, Feb 09, 2003 at 01:28:39PM -0600, Dan Nelson wrote: In the last episode (Feb 09), Antoine Jacoutot said: I wanted to know if someone could help me speed up NFS transfers with FreeBSD-4.7-STABLE. With Linux clients+server, the transfers are exactly twice faster than with freeBSD, so I am sure I must have screwed the configuration somewhere. Writes or reads? I bet Linux doesn't sync on NFS writes like it's supposed to. If you set the sysctl vfs.nfsrv.async=1 on your FreeBSD nfs server, does it match Linuxes speed? Which sysctl is this? The closest I can find is: # sysctl -a | grep nfs | grep sync vfs.nfs.async: 0 If that's the one, it may still not be necessary. I'm getting about 8.5-9 Megabytes/s on NFS reads from a Linux 2.4 client (on a 100Mbit switched LAN) with it set to 0, as measured by Bonnie++. This is fairly close to the 12MB/s fast ethernet theoretical maximum, so I'm happy with performance. -T -- Page 41: Two of the most important Unix traditions are to share and to help people. - Harley Hahn, _The Unix Companion_ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Automatically include debug symbols?
Greg 'groggy' Lehey wrote: On Sunday, 9 February 2003 at 16:12:44 -0500, Bill Moran wrote: Daniela wrote: On Sunday 09 February 2003 19:15, Mike Meyer wrote: You can get everything to build with debug symbols by adding CFLAGS=-g to /etc/make.conf. However, the system will strip the binaries when it installs them. You could probably get the non-stripped version installed if you really wanted to, but I'd recommend not doing that, and just using the version in /usr/obj, which shouldn't be stripped, for debugging. Why shouldn't I do this? Is it just because debug binaries are bigger or run slower? If so, that's not a problem for me, I have a fast processor and a lot of memory. I guess if you don't mind them eating up RAM, then go ahead. Keep in mind that it can easily be 5x the amount of RAM a stripped binary uses. The symbols don't get loaded into memory on execution. There shouldn't be any difference in the amount of RAM used. OK, well ... I feel stupid then. It's just a disk space issue then? Because ... if it doesn't eat up RAM, I have a hard time thinking why I shouldn't have all my binaries with debug symbols all of the time. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: speeding up NFS
Tillman wrote: I'm getting about 8.5-9 Megabytes/s on NFS reads from a Linux 2.4 client (on a 100Mbit switched LAN) with it set to 0, as measured by Bonnie++. This is fairly close to the 12MB/s fast ethernet theoretical maximum, so I'm happy with performance. What did you change to get it running that fast? -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
I'm running out of swapspace
Hello Recently I'm running out of swapspace. Is there something that I can do to increase my swapspace ? The best will be to take some space from partition like the one for /var and add it to the swap. Is this possible ? I want to ask before trying it, the machine is important. thanks P.S. Please include my mail when responding. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
SASL AUTHFAIL
Hello, Does anyone know why I would get these errors? Feb 10 00:33:46 asarian-host saslauthd[436]: AUTHFAIL: user=auser service=smtp realm= [PAM auth error] Feb 10 00:33:46 asarian-host saslauthd[436]: AUTHFAIL: user=auser service=smtp realm= [PAM auth error] That user exists on my system. In fact, whenever some users use AUTH PLAIN, I get errors like this: Feb 10 00:45:47 asarian-host sendmail[2570]: h19NTRel002570: AUTH failure (PLAIN): authentication failure (-13) SASL(-13): authentication failure: Password verification failed Do I need to update the SASL database manually, by any chance? (some users have changed password). And if so, how? Thanks! - Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Monitoring the entire filesystem?
I was thinking more along the lines of realtime notification of changes, instead of using a program to poll all files that you would want to monitor, which would be inefficient. Something along the lines of FAM, but more scalable. http://oss.sgi.com/projects/fam/ --Kevin Fogleman Allan Dib wrote: I use /usr/ports/security/tripwire-131 Works great... -Allan On Monday, February 10, 2003, at 06:44 AM, Kevin Fogleman wrote: Is there an existing way to monitor the entire filesystem for changes to any file, particularly changes in extended attributes? I've read over the documentation for kqueue, but some things were left unclear. For example, it appears the man page has not been updated for 5.0 and thus doesn't specify whether or how extended attributes can be monitored for modifications. Also, it appears that kqueue needs a file descriptor for each file that one would want to monitor, making any large-scale file monitoring impractical. Is there any other way in FreeBSD to be notified of file modifications in a way that would allow one to monitor the whole file system or large portions of it? I don't really need to know whether a particular attribute changed, but rather just whether any of them changed. --Kevin Fogleman To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
5.0-release install problem
Howdy all, I have a Toshiba Tecra 8000 laptop that I had installed 4.7-release on awhile ago using just the kernel and mfsroot floppies and then getting everything else via ftp. Well, I decided to start all over on this system, only with 5.0-release. I actually made the mini-inst cd, but I booted from the floppies because my cd drive won't boot CDR discs. I noticed that it didn't seem to give me the option to configure the kernel like it did on 4.7, so I just went ahead with a standard install. However, it gave the following errors trying to mount the cd. Error mounting /dev/ac0 on /dist: Operation not supported by device (19) I'm pretty sure the drive is operational and I know the cd is good because I can mount it on another machine (which I did to make the floppies). Anyway, so then I decided to install via ftp (as I had just done with the 4.7 floppies a few months ago). However, when I booted with the 4.7 floppies, it asked me if I wanted to configure the pc cards (I set usable memory and such). This didn't happen with 5.0, but I could watch on the boot of the floppies and see dmesg output for pccard0 and see the LEDs go solid for my linksys 10/100 card. But, when I go to select the FTP site, I only see sl0 and ppp0 devices. Nothing for my ethernet card. I'm sure I've done something foolish, so any advice is appreciated. Thanks, Shane To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Automatically include debug symbols?
On Sunday, 9 February 2003 at 18:42:15 -0500, Bill Moran wrote: Greg 'groggy' Lehey wrote: On Sunday, 9 February 2003 at 16:12:44 -0500, Bill Moran wrote: I guess if you don't mind them eating up RAM, then go ahead. Keep in mind that it can easily be 5x the amount of RAM a stripped binary uses. The symbols don't get loaded into memory on execution. There shouldn't be any difference in the amount of RAM used. It's just a disk space issue then? Because ... if it doesn't eat up RAM, I have a hard time thinking why I shouldn't have all my binaries with debug symbols all of the time. I've been pushing for this, at least for the kernel build, for some time. It can make a big difference in the size of the directories, though. Greg -- See complete headers for address and phone numbers msg18665/pgp0.pgp Description: PGP signature
Re: I'm running out of swapspace
One way to do it is to create a memory file system linked to a file on-disk. In FreeBSD 5.0-RELEASE, to create a 128MB additional swap space, I've tried: dd if=/dev/zero of=/swap0 count=128 bs=1m chmod 600 /swap0 mdconfig -a -t vnode -f /swap0 -u 3 swapon /dev/md3 This will link the 128 megabyte file into swap space recognized by the system. Execute swapinfo to confirm: sandstone.north_ % swapinfo Device 1K-blocks UsedAvail Capacity Type /dev/ad0s1b52428810136 514152 2%Interleaved /dev/md3 131072 1876 129196 1%Interleaved Total 65536012012 643348 2% sandstone.north_ % Don To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: I'm running out of swapspace
On Mon, 10 Feb 2003 00:48:50 +0100 (CET) Alexander [EMAIL PROTECTED] wrote: Hello Recently I'm running out of swapspace. Is there something that I can do to increase my swapspace ? The best will be to take some space from partition like the one for /var and add it to the swap. Is this possible ? just create a partition or a vnode file and use 'swapon' man 8 swapon clem To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: I'm running out of swapspace
Alexander wrote: Hello Recently I'm running out of swapspace. Is there something that I can do to increase my swapspace ? The best will be to take some space from partition like the one for /var and add it to the swap. Is this possible ? I want to ask before trying it, the machine is important. Hi Alex, it would be nice if you'd include some more details about your machine and your configuration, eg. how much ram do you have, the output of mount, the size(s) of your currently used swap areas, etc. Usually it's a good thing start reading the man page of swapon(8). AFAIK it's simply possible creating a file using dd(1) which is sized to the wanted swap space to add, load it to a device using mdconfig(8) and activate it using swapon md?. You may automate it on reboots modifying your /etc/rc.local So long, Jens -- L i W W W i Jens Rehsack LW W W L i W W W W i nnnLiWing IT-Services L iW W W Wi n n g g i W W i n n g gFriesenstraße 2 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED] Fax: +49 - 3 45 - 5 17 05 92http://www.liwing.de/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
how to you intiate a passive ftp when you are building packages?
i'm behind a double firewall of sorts. so i have an issue with ftp'ing anything. how do you initiate a passive ftp transfer when you are retrieving files while trying to build a package from ports? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: speeding up NFS
In the last episode (Feb 09), Tillman said: Which sysctl is this? The closest I can find is: # sysctl -a | grep nfs | grep sync vfs.nfs.async: 0 Same one. They split the server sysctls out into nfsrv in 5.*. If that's the one, it may still not be necessary. I'm getting about 8.5-9 Megabytes/s on NFS reads from a Linux 2.4 client (on a 100Mbit switched LAN) with it set to 0, as measured by Bonnie++. This is fairly close to the 12MB/s fast ethernet theoretical maximum, so I'm happy with performance. It only applies to writes. With it set to 0 (the default), FreeBSD follows the NFS spec and does not return from NFSv2 write or NFSv3 commit calls without having synced the data to disk. This can slow you down if you are not on a battery-backed RAID or ramdisk. With NFSv3 it's not so bad since it supports async client writes (i.e. separate write and commit calls). -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: speeding up NFS
On Sun, Feb 09, 2003 at 06:43:58PM -0500, Bill Moran wrote: Tillman wrote: I'm getting about 8.5-9 Megabytes/s on NFS reads from a Linux 2.4 client (on a 100Mbit switched LAN) with it set to 0, as measured by Bonnie++. This is fairly close to the 12MB/s fast ethernet theoretical maximum, so I'm happy with performance. What did you change to get it running that fast? Many many bonnie++ runs and careful charting of the results :-) Client side (Linux 2.4): Mount with mountvers=3,hard,intr,nolock,udp,wsize=8192,rsize=8192 Note that w/r sizes above 8k require a small kernel patch to Linux - and I found that it's typically a tad /slower/ than 8k in any case. Not worth it according to the benchmarking I did. In general, version 3 was much better performing than version 2 (where async vs. sync was more of an issue). On the server side, ensure that you have enough nfsd's to handle all requests by keeping an eye on the `ps` output. When one or more of the nfsd's have no CPU time, then you've just started to cross the line into too many (which is about right). Also, ensure that you're not disk I/O limited on the server side. I'm currently using a couple of vinum arrays where I'm reading at about 30MB/s and the random seeks are high (about 530/sec). This puts any blame for slowness on the network (and NFS), which simplified tuning. I'd welcome benchmarks to the contrary, I could always use more NFS performance ;-) -T -- Yield to temptation; it may not pass your way again. Robert Heinlein To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: speeding up NFS
On Sun, Feb 09, 2003 at 05:48:25PM -0600, Dan Nelson wrote: In the last episode (Feb 09), Tillman said: Which sysctl is this? The closest I can find is: # sysctl -a | grep nfs | grep sync vfs.nfs.async: 0 Same one. They split the server sysctls out into nfsrv in 5.*. That makes sense. If that's the one, it may still not be necessary. I'm getting about 8.5-9 Megabytes/s on NFS reads from a Linux 2.4 client (on a 100Mbit switched LAN) with it set to 0, as measured by Bonnie++. This is fairly close to the 12MB/s fast ethernet theoretical maximum, so I'm happy with performance. It only applies to writes. With it set to 0 (the default), FreeBSD follows the NFS spec and does not return from NFSv2 write or NFSv3 commit calls without having synced the data to disk. This can slow you down if you are not on a battery-backed RAID or ramdisk. With NFSv3 it's not so bad since it supports async client writes (i.e. separate write and commit calls). When I was benchmarking with bonnie++, I found NFSv2 with async writes turned on to be only marginally faster than v3 with sync'ed commits (under 10% difference). Given the additional safety, I like using sync :-) Thanks for the info, -T -- A man may fight the greatest enemy, take the longest journey, survive the most grievous wound -- and still be helpless in the hands of the woman he loves. - Zensunni Wisdom from the Wandering To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: how to you intiate a passive ftp when you are building packages?
On Sun, Feb 09, 2003 at 04:07:28PM -0800, Bsd Neophyte wrote: i'm behind a double firewall of sorts. so i have an issue with ftp'ing anything. how do you initiate a passive ftp transfer when you are retrieving files while trying to build a package from ports? Try putting this in your environment ? FTP_PASSIVE_MODE=YES -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: I'm running out of swapspace
Thank You ! On Sun, 9 Feb 2003, northern snowfall wrote: One way to do it is to create a memory file system linked to a file on-disk. In FreeBSD 5.0-RELEASE, to create a 128MB additional swap space, I've tried: dd if=/dev/zero of=/swap0 count=128 bs=1m chmod 600 /swap0 mdconfig -a -t vnode -f /swap0 -u 3 swapon /dev/md3 This will link the 128 megabyte file into swap space recognized by the system. Execute swapinfo to confirm: sandstone.north_ % swapinfo Device 1K-blocks UsedAvail Capacity Type /dev/ad0s1b52428810136 514152 2%Interleaved /dev/md3 131072 1876 129196 1%Interleaved Total 65536012012 643348 2% sandstone.north_ % Don To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Wireless(if_wi): supported card attachment problems
Hi All! I bought a card that, according to the man page of wi driver, should have been supported. The card is a Sohoware/NCP 130 and this is the output of 'man wi': The following cards are among those supported by the wi driver: Card Chip Bus .. .. NANOSPEED ROOT-RZ2000Prism-II PCMCIA -- NDC/Sohoware NCP130 Prism-II PCI -- NEC CMZ-RT-WPPrism-II PCMCIA ... But the driver simply doesn't see it... This is the output of pciconf : none2@pci0:8:0: class=0x028000 card=0x013115e8 chip=0x013115e8 rev=0x01 hdr=0x00 vendor = 'National Datacomm Corp.' device = 'Prism II InstantWave HR PCI card' class= network I modified the driver sources and i added my card among those supported: static struct { unsigned int vendor,device; int bus_type; char *desc; } pci_ids[] = { /* Sorted by description */ {0x10b7, 0x7770, WI_BUS_PCI_PLX, 3Com Airconnect}, {0x16ab, 0x1101, WI_BUS_PCI_PLX, GLPRISM2 WaveLAN}, {0x1260, 0x3873, WI_BUS_PCI_NATIVE, Intersil Prism2.5}, {0x16ab, 0x1102, WI_BUS_PCI_PLX, Linksys WDT11}, {0x1385, 0x4100, WI_BUS_PCI_PLX, Netgear MA301}, {0x1638, 0x1100, WI_BUS_PCI_PLX, PRISM2STA WaveLAN}, -- {0x15E8, 0x0131, WI_BUS_PCI_PLX, Prism II InstantWave HR PCI card} and in this flavour -- {0x15E8, 0x0131, WI_BUS_PCI_NATIVE, Prism II InstantWave HR PCI card} Because I didnt know if the card was PLX based or not. Now I get the following messages: wi0: Prism II InstantWave HR PCI card port 0xdc00-0xdc3f,0xd800-0xd80f irq 11 at device 8.0 on pci0 wi0: No Mem space on prism2.5? device_probe_and_attach: wi0 attach returned 6 or wi0: Prism II InstantWave HR PCI card port 0xdc00-0xdc3f,0xd800-0xd80f irq 11 at device 8.0 on pci0 wi0: No I/O space?! device_probe_and_attach: wi0 attach returned 6 Using the WI_BUS_PCI_PLX. I have a FreeBSD 4.7 system with no other cards except for the NCP130. Does anyone have some ideas? Thanks! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
freebsd installer is braindead
i just tried 4.7 and it doesn't work either. how do you people install freebsd? both 4.7 and 5.0 installers are braindead. does anyone have a work around for the problem of the installer extracting into the mfsroot instead of /mnt? -- Tom Vier [EMAIL PROTECTED] DSA Key ID 0xE6CB97DA To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: freebsd installer is braindead
i just tried 4.7 and it doesn't work either. how do you people install freebsd? both 4.7 and 5.0 installers are braindead. does anyone have a work around for the problem of the installer extracting into the mfsroot instead of /mnt? Did you try using another ethernet card besides the 8139? I had the same problems when using this chip. Finally switching to the Kingston is what saved the install. Don To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: freebsd installer is braindead
On Sun, Feb 09, 2003 at 08:30:56PM -0500, northern snowfall wrote: Did you try using another ethernet card besides the 8139? I had the same problems when using this chip. Finally switching to the Kingston is what saved the install. what about the problem of it extracting into the mfsroot? switching nics fixes that? -- Tom Vier [EMAIL PROTECTED] DSA Key ID 0xE6CB97DA To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: DWL-650 won't configure under 5.0
Kevin Stevens: How are you determining the chipset, from that vendor id somehow? Yes. Cardbus shares the PCI vendor list. http://www.yourvote.com/pci/ -- Christian naddy Weisgerber [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mozilla port build failure
On Sun, Feb 09, 2003 at 05:47:52PM -0500, Joe Marcus Clarke wrote: Make sure you have the latest version of XFree86-libraries, Xft, and fonctconfig. Thanks, rebuilding those by hand fixed the problem. Wonder what's going on with portugrade??? -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: freebsd installer is braindead
what about the problem of it extracting into the mfsroot? switching nics fixes that? Yea, that was actually the main problem I was referring to. The look up problem can be eluded by aborting then restarting the installation. I did this in Expert Mode so I could go straight to media configuration once, thunking the Ether device to manifest the look up bug. Then, during stall, interrupted the look-up to restart the entire sysinstall instance. The second media initialization is clean. Switching from the 8139 fixed the mfsroot bug as well. I have no idea what the link between the 8139 and the mfsroot is. I'm putting money on an interrupt layer mishandling. None the less, switching NICs fixed it. Don To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Linksys Wireless Card Burned?
Hello: I tried to connect wirelessly to the internet on a laptop running FreeBSD with disasterous results! I'm running FreeBSD 4.7 on a Toshiba Portege 7010CT with X Window 4.2. I've used this system with an Cisco Aironet 350 wireless card with the 'an' driver with no problems. However, when I started to use a Linksys Instant Wireless (WPC11-CA ver.3), pccardd could not configure the card; I get the following message: pccardd{50}: driver allocation failed for The Linksys Group, Inc.(Instant Wireless Network PC Card): Device not configured Once I remove the card and then reinsert it, pccardd succeeds in allocating the 'wi' driver and I could connect to the wireless network (this is slightly inconvenient, but it's not the end of the story). After a few minutes of browsing the net using Opera for FreeBSD, the whole system freezes. when I remove the Linksys Wireless card it is very HOT! In fact, I think that I already burned one this way?!! Now the card can not be configured no matter how many times I reinsert it. I went back to the store and got a new card (same brand and model). This time I managed to remove the card before it burned down. Anyone, had a similar problem? Is it even possible to burn down the card by a wrong software configuration? Please help. Signed: Ahmed -- __ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: #!/bin/sh execve
it seems more sane to allow arguments to a script given to an interpreter on the shebang line, passing everything after #!/interpreter [arg] off for eval or sh -c type parsing. This is something that can be bth good and bad though. As you have pointed out, if a limited sort of parsing is allowed, then it would most likely have to be sh(1)-like. This means that the mechanism that inteprets '#!' would have to know all the intricacies of the sh(1) parser to work correctly in all cases. Incomplete sh(1)-like parsers that would understand most of the sh(1) shell syntax would be exactly that... incomplete. the method used by FBSD 2.2.7 seems the most sane to me, where execve's argv[] is loaded by each whitespace seperated element after the shebang, then by command line options. 1. it is flexible. 2. it functions intuitively. 3. i don't think it breaks less flexible methods. i thank you very much for explaining this to me. Another bad thing about this is that you would then need a lot more memory to handle things like: #!/bin/sh -c \ 'my-magic-script.sh arg1 arg2 \ arg3 ...' \ `backquoted command` I'm not objecting to something like this. If you happen to roll patches for the kernel that can make it work, I'll probably try them too. But are the benefits of writing something like this worth the time required to write and test it? i agree. my main problem, which doesn't exist with FBSD (thankfully), was, for example, scriptA --- #!/bin/sh ./scriptB 1 2 3 where scriptB runs (with options), then processes scriptA, then exec's scriptA with a modified command line. (it would've been a long chore to write scriptB in C code, and it would've been a kludge to run scriptB on the command line with scriptA as an argument - forcing one to always type 2 words to do one command). many OS's do not allow this since they load ./scriptB 1 2 3 into a single argv[] element, which, of course, the interpreter cannot run. which seemed very stupid to me. i saw problems and limitations, and no benefit to that solution. There is one portable way. It's easy to remember too: #!/bin/sh No spaces, no args. It works so far on all the systems I've tried. heh - yes - i agree. i was afraid someone would pick apart all this! i didn't really take the time to study the functionality of the sh(1) options. i only meant to show the unintuitive nature of the implimentations with regard to parsing. #!/bin/sh scriptthis is obviously ok. #!/bin/sh . script this won't work if script is going to do something before exec'ing the file itself. it will end up being infinitely recursive. and similarly for the following: #!/bin/sh -n script this is currently not ok but why shouldn't it be? #!/bin/sh exec /bin/sh -n script #!/bin/sh script 1 2this is ok with FBSD and RH Linux, but not ok in a few implementations, but why shouldn't it be? #!/bin/sh exec /bin/sh script 1 2 The only objection I have in making execve() behave as if the whole she-bang thing was a valid sh(1) command, is that I don't want sh(1) being imported into the kernel tree, period. Of course, what I want is irrelevant if someone comes up with a solution to the problem of having an sh(1)-like parser without having sh(1) in the kernel :-) yes - i agree. i think freebsd hackers are the best. and have the best design/implementation philosophies. i am always humbled in their presence. - Giorgos thank you. Freebsd seems to be the only intelligent OS. 2.2.7, imho, seems to be correct. it may not follow, but sometimes intelligence has to lead ... I would be interested in anyone could tell me how/why any of the other solutions are more intelligent/practical. It is my personal observation the solutions of most vendors is due to SysV's limiting definition of execve(2). But I did note that Posix/SUSv3 definitions remove such arbitrary limitations (the single [arg]). #!/tmp/interp -a -b -c #d e Solaris 8: args: /tmp/interp -a/tmp/x2 Tru64 4.0: args: interp -a -b -c #d e /tmp/x2 *FreeBSD 2.2.7: args: /tmp/interp -a -b -c #d e /tmp/x2 FreeBSD 4.0: args: /tmp/interp -a -b -c /tmp/x2 Linux 2.4.12: args: /tmp/interp -a -b -c #d e /tmp/x2 Linux 2.2.19: args: interp -a -b -c #d e /tmp/x2 Irix 6.5: args: /tmp/interp -a -b -c #d e /tmp/x2 HPUX 11.00:args: /tmp/x2 -a -b -c #d e /tmp/x2 AIX 4.3: args: interp -a -b -c #d e /tmp/x2 Mac OX X: args: interp -a -b -c #d e /tmp/x2 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: #!/bin/sh execve
Please don't remove me from the Cc: list when you reply to posts that you want me to see. Otherwise, I might miss one of your replies and give you the false impression that I'm somehow ignoring your posts. On 2003-02-10 01:18, [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: [EMAIL PROTECTED] wrote: it seems more sane to allow arguments to a script given to an interpreter on the shebang line, passing everything after #!/interpreter [arg] off for eval or sh -c type parsing. This is something that can be bth good and bad though. As you have pointed out, if a limited sort of parsing is allowed, then it would most likely have to be sh(1)-like. This means that the mechanism that inteprets '#!' would have to know all the intricacies of the sh(1) parser to work correctly in all cases. Incomplete sh(1)-like parsers that would understand most of the sh(1) shell syntax would be exactly that... incomplete. the method used by FBSD 2.2.7 seems the most sane to me, where execve's argv[] is loaded by each whitespace seperated element after the shebang, then by command line options. 1. it is flexible. 2. it functions intuitively. 3. i don't think it breaks less flexible methods. It also suffers from problems with arguments that are meant to include spaces, like: #!/bin/sh hello world foo bar Without a fully functional sh(1)-like parser, any solution that does magic with argv[] is incomplete :-( To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: #!/bin/sh execve
minor correction/addition to previous post: instead of infinitely recursive, i should've said that it would break things if script re-exec's the same file with a different interpreter. -- #!/bin/sh . script this won't work if script is going to do something before exec'ing the file itself. it will end up being infinitely recursive. and similarly for the following: #!/bin/sh -n script this is currently not ok but why shouldn't it be? #!/bin/sh exec /bin/sh -n script #!/bin/sh script 1 2this is ok with FBSD and RH Linux, but not ok in a few implementations, but why shouldn't it be? #!/bin/sh exec /bin/sh script 1 2 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 5.0-release install problem
Shane Hickey [EMAIL PROTECTED] wrote: I'm sure I've done something foolish, so any advice is appreciated. drivers.flp is your friend :) It happened to me, and I'm no fool! John. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message