RE: TCPmux
Hi, Thank you for your very speedy response. Also Attached is the config file. Kind Regards Stefan # Section: Interfaces public_if19="em0" private_if18="em1" mgmt_if="em1" # End: Interfaces # Section: Ports Management = "{22,}" ikeports = "{500,4500}" # End: Ports # Section: Address Table table {192.168.50.250} table {192.168.50.1} table {10.0.0.1} table {10.0.0.2} table {192.168.50.250} table {192.168.100.0/24} table {192.168.50.0/24} table {192.168.50.250} # End: Address Table # Section: Options set ruleset-optimization none set block-policy return set skip on lo # End: Options # Section: Scrubbing scrub in all # End: Scrubbing # Section: Anti Spoofing antispoof quick for {$public_if19, $private_if18} inet # End: Anti Spoofing # Section: Firewall Rules # Section: System Rules block in from any to any label RuleId[111] pass out from any to any label RuleId[112] # End: System Rules # Section: VPN LPN access Rules pass from {} to {} tagged vpn label RuleId[140] pass from {} to {} label RuleId[141] # End: VPN LPN access Rules # Section: User Rules # block from any to any no state label RuleId[149] # pass in from {} to {} label RuleId[151] # pass in from {} to {} label RuleId[152] pass from any to any label RuleId[157] # End: User Rules # Section: IPsec Rules pass in on $mgmt_if proto {udp} from {} to {} port $ikeports label RuleId[117] pass in on $mgmt_if proto {esp} from {} to {} label RuleId[118] pass in on $mgmt_if proto {ipencap} from {} to {} tag management label RuleId[119] pass proto {udp} from {} to {} port $ikeports label RuleId[131] pass proto {udp} from {} to {} port $ikeports label RuleId[132] pass proto {esp} from {} to {} label RuleId[133] pass proto {esp} from {} to {} label RuleId[134] pass in on $public_if19 proto {udp} from {} to {} port $ikeports label RuleId[135] pass out on $public_if19 proto {udp} from {} to {} port $ikeports label RuleId[136] pass in on $public_if19 proto {esp} from {} to {} label RuleId[137] pass out on $public_if19 proto {esp} from {} to {} label RuleId[138] pass in on $public_if19 proto {ipencap} from {} to {} tag vpn label RuleId[139] # End: IPsec Rules # Section: Management Rules pass in on $mgmt_if proto {tcp} from {} to {} port $Management tagged management label RuleId[120] # End: Management Rules # End: Firewall Rules -Original Message- From: Volodymyr Kostyrko [mailto:c.kw...@gmail.com] Sent: 31 May 2013 10:32 AM To: Stefan Desancic; questi...@freebsd.org Subject: Re: TCPmux 31.05.2013 10:29, Stefan Desancic: > Good Morning, > > Is there a flag or a setting in the PF firewall in FreeBSD that you can set > to allow TCPmux traffic to flow through it? The pass all rule doesn't seem to > work, however if I disable PF completely then the TCPmux traffic flow through. I have no problems with tcpmux and pf. Can you show your config? On my machines tcpmux is served from inetd on default port (1). -- Sphinx of black quartz, judge my vow. Important Notice: This e-mail and its contents are subject to the Nanoteq (Pty) Ltd e-mail legal notice available at: http://www.nanoteq.com/AboutUs/EmailDisclaimer.aspx pf.conf Description: pf.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
TCPmux
Good Morning, Is there a flag or a setting in the PF firewall in FreeBSD that you can set to allow TCPmux traffic to flow through it? The pass all rule doesn't seem to work, however if I disable PF completely then the TCPmux traffic flow through. Kind Regards Important Notice: This e-mail and its contents are subject to the Nanoteq (Pty) Ltd e-mail legal notice available at: http://www.nanoteq.com/AboutUs/EmailDisclaimer.aspx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
mpt(4) enabling write cache on raw disk
Hello! I have a HP 3080X SAS/SATA 8 port mpt(4) controller card that I want to use in a ZFS setup. My problem is that the write cache is not enabled on disks that are not a part of a RAID volume (RAID0 or RAID1). The write speed is limited to about 20MB/s with both UFS and ZFS. If I create a RAID0 volume with mptutil(8) and then destroy it, write cache gets enabled and the write speed reaches about 60MB/s with UFS and ZFS. Unfortunately it won't survive a reboot. Has anyone else seen this problem with mpt(4) controllers and/or knows how to fix it? Regards Stefan dmesg: Copyright (c) 1992-2012 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (3000.17-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0xf4a Family = f Model = 4 Stepping = 10 Features=0xbfebfbff Features2=0x641d AMD Features=0x2800 AMD Features2=0x1 TSC: P-state invariant real memory = 4294967296 (4096 MB) avail memory = 4103331840 (3913 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 ACPI Warning: Invalid length for Pm1aControlBlock: 32, using default 16 (20110527/tbfadt-638) ioapic1: Changing APIC ID to 9 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard ioapic2 irqs 48-71 on motherboard ioapic3 irqs 72-95 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x908-0x90b on acpi0 cpu0: on acpi0 cpu1: on acpi0 pcib0: on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci5: on pcib1 pcib2: at device 0.0 on pci5 pci6: on pcib2 ciss0: port 0x5000-0x50ff mem 0xfddf-0xfddf1fff,0xfdd8-0xfddb irq 48 at device 1.0 on pci6 ciss0: PERFORMANT Transport ciss0: got 0 MSI messages] pcib3: at device 0.2 on pci5 pci9: on pcib3 mpt0: port 0x6000-0x60ff mem 0xfdef-0xfdef3fff,0xfdee-0xfdee irq 72 at device 2.0 on pci9 mpt0: MPI Version=1.5.16.0 mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 ) mpt0: 0 Active Volumes (2 Max) mpt0: 0 Hidden Drive Members (10 Max) pcib4: at device 4.0 on pci0 pci13: on pcib4 siis0: port 0x7000-0x707f mem 0xfdff-0xfdff007f,0xfdfe-0xfdfe3fff irq 16 at device 0.0 on pci13 siisch0: at channel 0 on siis0 siisch1: at channel 1 on siis0 pcib5: at device 6.0 on pci0 pci16: on pcib5 pcib6: at device 28.0 on pci0 pci2: on pcib6 re0: port 0x4000-0x40ff mem 0xfdcf-0xfdcf00ff irq 26 at device 2.0 on pci2 re0: Chip rev. 0x1000 re0: MAC rev. 0x miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow re0: Ethernet address: 00:21:91:11:dd:fd mpt1: port 0x4400-0x44ff mem 0xfdcc-0xfdcd,0xfdca-0xfdcb irq 24 at device 3.0 on pci2 mpt1: MPI Version=1.2.14.0 mpt2: port 0x4800-0x48ff mem 0xfdc8-0xfdc9,0xfdc6-0xfdc7 irq 25 at device 3.1 on pci2 mpt2: MPI Version=1.2.14.0 uhci0: port 0x2000-0x201f irq 16 at device 29.0 on pci0 usbus0: on uhci0 uhci1: port 0x2020-0x203f irq 19 at device 29.1 on pci0 usbus1: on uhci1 pci0: at device 29.4 (no driver attached) ehci0: mem 0xfbee-0xfbee03ff irq 23 at device 29.7 on pci0 usbus2: EHCI version 1.0 usbus2: on ehci0 pcib7: at device 30.0 on pci0 pcib7: failed to allocate initial I/O port window: 0x1000-0x3fff pci1: on pcib7 bge0: mem 0xfdbf-0xfdbf irq 17 at device 2.0 on pci1 bge0: CHIP ID 0x3003; ASIC REV 0x03; CHIP REV 0x30; PCI miibus1: on bge0 brgphy0: PHY 1 on miibus1 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: Ethernet address: 00:19:bb:23:a5:04 vgapci0: port 0x3000-0x30ff mem 0xfc00-0xfcff,0xfbff-0xfbff0fff at device 3.0 on pci1 pci1: at device 4.0 (no driver attached) pci1: at device 4.2 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x500-0x50f irq 18 at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0x2040-0x2047,0x2048-0x204b,0x2050-0x2057,0x2058-0x205b,0x2060-0x206f irq 18 at device 31.2 on pci0 ata2: on atapci1 ata3: on atapci1 acpi_tz0: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz
Forum problem..
Hi, After about 15 minutes of trying to register to the forums I've quit trying! The server is defective! Captcha's don't work! Can't register of request my password. vBulletin Message The string you entered for the image verification did not match what was displayed. Greetings, Stefan Rink Xtilton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Overwrite uncorrectable error LBA?
Smartctl is reporting an uncorrectable error for one of my disks: === START OF INFORMATION SECTION === Model Family: Hitachi Deskstar 7K2000 Device Model: Hitachi HDS722020ALA330 Serial Number:JK1130YAHXN28T LU WWN Device Id: 5 000cca 221db1d3f Firmware Version: JKAOA28A User Capacity:2,000,398,934,016 bytes [2.00 TB] Sector Size: 512 bytes logical/physical Device is:In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: ATA-8-ACS revision 4 Local Time is:Tue Jan 3 09:38:46 2012 CET SMART support is: Available - device has SMART capability. SMART support is: Enabled ... 197 Current_Pending_Sector 0x0022 100 100 000Old_age Always - 1 ... Error 25 occurred at disk power-on lifetime: 7362 hours (306 days + 18 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 68 d0 cd d0 00 Error: UNC at LBA = 0x00d0cdd0 = 13684176 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- 60 ab 60 90 d3 d0 40 00 33d+04:43:22.635 READ FPDMA QUEUED 60 ab 58 e5 d2 d0 40 00 33d+04:43:22.634 READ FPDMA QUEUED 60 ab 50 3a d2 d0 40 00 33d+04:43:22.634 READ FPDMA QUEUED 60 ab 48 8f d1 d0 40 00 33d+04:43:22.634 READ FPDMA QUEUED 60 ab 40 e4 d0 d0 40 00 33d+04:43:22.634 READ FPDMA QUEUED I'm reading this as LBA 13684176 being the one uncorrectable error. Since this disk is part of a ZRAID1 pool, I'd just overwrite that LBA to have the disk remap it, but I'm not sure how to address it properly: dd seemingly reads that LBA without problems? # dd if=/dev/ada0 iseek=13684176 count=1 of=/dev/null 1+0 records in 1+0 records out 512 bytes transferred in 0.025676 secs (19941 bytes/sec) I would have expected the disk to either take a long time or respond with an I/O error outright. Am I looking at the right LBA? I currently have a zpool scrub running, and I will start a long test after that just to make sure there's no further problems hiding. Any other suggestions? Stefan -- Stefan BethkeFon +49 151 14070811 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: network with two gateways and one network card
Please don't crosspost. Am 15.12.2011 um 19:43 schrieb Jack Raats: > I have a question. Perhaps soeone can point me to a solution. > > I have a server running FreeBSD 7.4-STABLE with one network card running > ezjail > My network has two gateways. > > The host is running as 10.10.10.10 netmask 255.255.255.0 with gateway > 10.10.10.1 > The jail must be running 192.168.178.10 netmask 255.255.255.0 with gateway > 192.168.178.1 > > Is this possible? > How to do it?? > What kind of problems to expect? Look at kernel option ROUTETABLES and setfib(1). If you're adventurous, check out VIMAGE. Stefan -- Stefan BethkeFon +49 151 14070811 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
custom iso with /etc/src.conf
Hi all, I know I can build custom iso with make release but this is my question: In order to get some custom build, e.g. for jails, I used to write some things to /etc/src.conf for not installing / compiling some software (games, daemons etc), so my jail is really thin. But now, I would REALLY love to make this jail system as default bsd system which I can install to pc from installer, which would be at iso. Well, this would not be just like jail, there would be kernel as well and so on ... >From what I know, there are several stages in make release, from release(7) I see that release: Uses ``make installworld'' to install a clean system into a chroot(8) environment on the file system. Checks out the specified version of the source code and then rebuilds the entire system in the clean environment with ``make buildworld''. The detailed steps that follow are then executed to package up the different distributions, build the installation floppy disks, build release documenta- tion, and so on. I have cvs repository localy installed in /home/ncvs. But, if I compile it (/usr/src with /etc/src.conf) and than make release, it will fail because even I install it, it fails to buildworld in make release stage, because I have not make + compiler toolchain and other things in that "clean system" after installworld. So my question is, how to make it in that way, that I "make release", full system is installed to chroot and than system suitable for my needs (/etc/src.conf options what to compile and what not) is build and isos are made. Thank you very much Stefan Miklosovic ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Question : Developing/Making FreeBSD derivative.
Hi Patrick, Thanks for your usefull hints!!! I will try that as soon as possible. Regards, Stefanus From: Patrick Lamaiziere To: Stefan N Cc: freebsd-questions@FreeBSD.org Sent: Mon, April 11, 2011 9:15:39 PM Subject: Re: Question : Developing/Making FreeBSD derivative. Le Sun, 10 Apr 2011 21:44:22 -0700 (PDT), Stefan N a écrit : > How is the method for customizing/remastering FreeBSD ? The most > interesting part is that if we could make the new fork of FreeBSD > with its own uname. If I could make my own BSD derivative and used > StefanBSD as its uname, it would be awesome. # setenv UNAME_s PatrickBSD # setenv UNAME_r 1.0-RELEASE # setenv UNAME_v "PatrickBSD 1.0-RELEASE Thu Oct 28" # uname -a PatrickBSD net.lamaiziere.net 1.0-RELEASE PatrickBSD 1.0-RELEASE Thu Oct 28 i386 forked! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Question : Developing/Making FreeBSD derivative.
Hi Christer, As there are many parts of the source code(from bin,cddl,contrib..usr.sbin), which part(s) of source code do I need to modify? Regards, Stefanus From: Christer Solskogen To: Stefan N Cc: freebsd-questions@freebsd.org Sent: Mon, April 11, 2011 7:51:50 PM Subject: Re: Question : Developing/Making FreeBSD derivative. On Mon, Apr 11, 2011 at 6:44 AM, Stefan N wrote: > My name is Stefan and I am newbie with FreeBSD but I'm interested to learn more > about FreeBSD . I am keen to know and learn more on the process to make a new > BSD's derivative/fork from FreeBSD ? > You change the source code and compile > How is the method for customizing/remastering FreeBSD ? The most interesting > part is that if we could make the new fork of FreeBSD with its own uname. If I > could make my own BSD derivative and used StefanBSD as its uname, it would be > awesome. The method is really simple, actually. You change the source code and compile. Good luck! -- chs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Question : Developing/Making FreeBSD derivative.
Hi All, My name is Stefan and I am newbie with FreeBSD but I'm interested to learn more about FreeBSD . I am keen to know and learn more on the process to make a new BSD's derivative/fork from FreeBSD ? How is the method for customizing/remastering FreeBSD ? The most interesting part is that if we could make the new fork of FreeBSD with its own uname. If I could make my own BSD derivative and used StefanBSD as its uname, it would be awesome. Thank you in advance. Regards, Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: sysbench / fileio - Linux vs. FreeBSD
> /var : ufs with softupdates > /usr/obj : zfs with checksums disabled > /usr/src : zfs with compression enabled > /home : zfs with compression disabled and checksums enabled > > I ran a test with a blocksize of 8KB and 16 threads. > > /var : 25.2MB/s > /usr/obj : 64.8MB/s > /usr/src : 386.3MB/s > /home : 60.3MB/s Do I understand it well? It seems that zfs with compression enabled on /usr/src with 8KB block size and 16 threads performs 386.3MB/s which is about 6 times better than debian5? I am thinking about this image http://tech-blog.wooh.hu/~wooh/debian_vs_freebsd_io_16_seqwr.png what is your system specs? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: bash instead of csh (completely)
Hi all, First of all, thank you for your quick answers, I really appreciate it. I dont want to start flame war about linux vs bsd but ... :) Before I start to explain what I want to do, I want you know I consider freebsd fr away better than linux in a lot of ways. (it is also a reason I want to build something upon bsd instead of linux, there are so many advantages ... ok, this post isnt about that :)) In work, we try to do some kind of linux distro, it is based on slacware. I am not a guy who lead it, but in the way we are developing it, I think it is bad idea at all. Firstly, we try to do minimal slackware installation as much it is possible, so now we are about 2.6.34 kernel, minimum kernel modules, no man or docs, files you do not need for sure are removed. We ended with quite usable system with quite neccessary utilities. It has about ~150 MB. But I think with this process, we just cut ourselves from such things like system upgrade (if slackware would have someone :D), package upgrade (we nearly all do manually, compiling from source) and so on ... Note that this distro is not something massively distributed, just for our purpose, but problems remains. While I always inclined to *bsd and not used linux more as it was a duty, I want to do it in bsd way. So set up minimal bsd without things I do not need but still stay in touch with things like package system, ports (its the same) and system upgrades / updates. I should write my own installer and so on. What I still miss is a way how to "bend" freebsd to my needs. In linux, it is easy as hell, remove this, change that, and it still runs. I am afraid that if I cut off some parts of system, I will not benefit from it anymore. For example, I install minimal bsd, but it contains still things I do not need (some dir like "games" and other stuff or some ancient groups in /etc/groups like uucp, proxy,games, dialer (??? in year 2010, who use it?) and so on. So I am afraid to be so "brutal" to just remove it ... FreeBSD has another philosophy than Linux, but i feel Linux is more "customizable". But understand that it is advantage and disadvantage too ... I think I have to more study about /usr/src/ :) For example, I would like to know, how to install something into other dir and no to default one. Think about port. All to /usr/local/ ... and so on. But what if I want to install it in /ExtraStuff ? How do I do it in "make install clean" way? Change port's make file ? no way . On 6/4/10, Michael Powell wrote: > Stefan Miklosovic wrote: > >> Hi list, >> >> title says it, i would like completely remove csh and install bash >> instead. As far I know, csh is build in system, could I remove it >> manually and install bash (of course, in reverse order :D) >> >> Are there such dependencies on csh? I know that real system scripting >> is done via /bin/sh >> co absence of csh shell should not break system. > > Why do you feel it is necessary to completely remove csh? It is part of the > base install of the OS and does not prevent you from installing and using > Bash should you choose. Since these are not mutually exclusive I see no > reason to remove csh. Just leave it be. Arbitrarily 'removing' stuff from > the base system without relevant reason is more likely to create a problem > where none existed previously. > > You can install Bash from ports. You should know that it is a third party > userland application at this point. What you will find out some day when > /usr won't mount and you're sitting in single-user mode trying to recover > the box is bash will not be working. And if you made the mistake of changing > root's shell to bash you will not be a happy camper. > > You are certainly free to use whatever shell you want as a user. Don't mess > with root's shell. I saw once some highly questionable so-called > 'benchmarking' where it was claimed that bash is 4 times slower than > anything else. My own $.02 is the fixation on bash is more a result from > people coming over to FreeBSD from Linux, and trying to drag Linux > methodologies along with instead of looking at FreeBSD fresh and learning > new stuff. While there is a lot of similarity and overlap, FreeBSD is *not* > just another Linux distro. > > -Mike > > > > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
bash instead of csh (completely)
Hi list, title says it, i would like completely remove csh and install bash instead. As far I know, csh is build in system, could I remove it manually and install bash (of course, in reverse order :D) Are there such dependencies on csh? I know that real system scripting is done via /bin/sh co absence of csh shell should not break system. Am I wrong ? Thank you for reply Have a nice day ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
cpu utilization question in FreeBSD
Hi, Im trying to put together a number of data recorders, to collect raw data from kernel or from applications. Here you can see a basic idea of SDR: http://www.systemdatarecorder.org/recording/recdesign.html http://www.systemdatarecorder.org/recording/recorders.html Im currently trying to port sysrec, http://www.systemdatarecorder.org/recording/sdr_bin/sysrec to FreeBSD. I would like to understand how CPU Utilization in FreeBSD counts, comparing to Solaris. Currently sysrec records the following metrics: # Utilisation, # CPU# usr + sys time across all CPUs # Memory # free RAM. freemem from availrmem # Disk # %busy. r+w times across all Disks # Network# throughput. r+w bytes across all NICs # # Saturation, # CPU# threads on the run queue # Memory # scan rate of the page scanner # Disk # operations on the wait queue # Network# errors due to buffer saturation # Would be fair to count CPU Util in FreeBSD similar with Solaris, User + System time ? Is there any Perl module or KSTAT functionality which exports these functionalities to userland for simple consumption ? Thanks, Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
shell redirection
hi I have a shell script and I would like to do something like this $ ./script.sh < somefile After that, I can, just say, write content of that file on the screen. I would like to know, how to do that in script, I dont know that tricky redirection things ... thanks a lot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: strange quota behaviour
hi again, I correct my post, of course I can set quotas for that user, by setquota command, but I cant see quotas for that user, only by repquota. I need to see it by quota command because I write a script where I depend on it. On Sun, Oct 18, 2009 at 2:13 PM, Stefan Miklosovic < miklosovic.free...@gmail.com> wrote: > hi list, > > I am going to add user "test" in system: > ~/:sudo pw useradd test -m > > then, I am going to check quotas > ~/:sudo quota -u -v test > Disk quotas for user test (uid 2022): > Filesystem usage quota limit grace files quota limit > grace > /home 36 0 0 9 0 > 0 > > Now, I am going to add another user, named "12345" > ~/:sudo pw useradd 12345 -m > Password for '12345' is: qdmjPx4YVP > > then, I am going to check quotas > ~/:sudo quota -u -v 12345 > Disk quotas for user (no account) (uid 12345): > Filesystem usage quota limit grace files quota limit > grace > /home 0 0 0 0 0 > 0 > > Please, note that in quota output for user 12345, it says, there is no such > user > > Disk quotas for user (no account) (uid 12345): > > if I do this: > ~/odoslat:sudo pw useradd m12345 -m > Password for 'm12345' is: 8bqhCfMjZREr5D8 > ~/odoslat:sudo quota -u -v m12345 > Disk quotas for user m12345 (uid 2024): > Filesystem usage quota limit grace files quota limit > grace > /home 36 0 0 9 0 > 0 > > everything is fine. > > So question, I am able to create user 12345, but I cant set quotas for him? > > Isn't this a bug? > > FreeBSD notebook 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Oct 15 22:38:28 CEST > 2009 r...@notebook:/usr/obj/usr/src/sys/NOTEBOOK i386 > > thank you > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
strange quota behaviour
hi list, I am going to add user "test" in system: ~/:sudo pw useradd test -m then, I am going to check quotas ~/:sudo quota -u -v test Disk quotas for user test (uid 2022): Filesystem usage quota limit grace files quota limit grace /home 36 0 0 9 0 0 Now, I am going to add another user, named "12345" ~/:sudo pw useradd 12345 -m Password for '12345' is: qdmjPx4YVP then, I am going to check quotas ~/:sudo quota -u -v 12345 Disk quotas for user (no account) (uid 12345): Filesystem usage quota limit grace files quota limit grace /home 0 0 0 0 0 0 Please, note that in quota output for user 12345, it says, there is no such user > Disk quotas for user (no account) (uid 12345): if I do this: ~/odoslat:sudo pw useradd m12345 -m Password for 'm12345' is: 8bqhCfMjZREr5D8 ~/odoslat:sudo quota -u -v m12345 Disk quotas for user m12345 (uid 2024): Filesystem usage quota limit grace files quota limit grace /home 36 0 0 9 0 0 everything is fine. So question, I am able to create user 12345, but I cant set quotas for him? Isn't this a bug? FreeBSD notebook 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Oct 15 22:38:28 CEST 2009 r...@notebook:/usr/obj/usr/src/sys/NOTEBOOK i386 thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
error output redirection
hi list, if error output of some program appear on screen, it is possible to print it also to some file simultaneously ? e.g if I "cat" file which do not exist, error is on screen, I want to add that error to some file (errors.txt) thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
erros with raid5 dell poweredge
hi list, today after some work on server, it froze and because I live 50 km far away that server, my buddy has assisted in recovery. After rebooting, he took some photos and wrote me, what he saw / did. Before resetting of server, these messages have been appearing on screen: aac0: COMMAND 0xc77. (that part changes) TIMEOUT AFTER 2280 SECOND aac0: WARNING! Controller is no longer running! code=0x180 there was an unresponsive login dialog, after typing login name, no password prompt has appeard. After reseting server by power button and rebooting, before freebsd boot dialog, this message surprised my buddy: Container#0 - RAID5 203GB Critical 1 Container found Bios installed succesfully After that, server normally booted and is up now. FreeBSD dell.tlis.sk 8.0-RC1 FreeBSD 8.0-RC1 #0: Fri Oct 2 00:59:02 CEST 2009 st...@194.160.104.34:/usr/obj/usr/src/sys/DELL i386 Filesystem SizeUsed Avail Capacity Mounted on /dev/aacd0s1a496M198M258M43%/ devfs1.0K1.0K 0B 100%/dev /dev/aacd0s1g167G286M154G 0%/data /dev/aacd0s1d989M 16K910M 0%/tmp /dev/aacd0s1f 15G1.5G 12G11%/usr /dev/aacd0s1e9.7G440M8.5G 5%/var it is dell powededge 6450, 4x Xeon 700Mhz, 4x72GB disk in raid5, 4GB ram thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
anonymous ftp user only from specific subnet / ips
hi list, I've ftp server, where I want to deny anonymous logins from the outer net, but allow logins of anonymous users from inner net. Normal system users would have ftp access to theirs home directories from both networks. I am using vsftpd, I wanted to configure tcp wrappers, but it does not solve my problem. thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
battery reconditioning
hi list, form time to time, there appears some error / warning messages in console, which say this: Sep 27 23:54:40 dell kernel: aac0: **Monitor** ID(0:02:0); Error Event [command:0x28] Sep 27 23:54:40 dell kernel: aac0: **Monitor** ID(0:02:0); Medium Error [k:0x3,c:0x3,q:0x0] Sep 27 23:54:40 dell kernel: aac0: **Monitor** ID(0:02:0); Peripheral Device Write Fault Sep 28 00:13:40 dell kernel: aac0: **Monitor** Battery needs reconditioning. Sep 28 00:19:07 dell kernel: aac0: **Monitor** ID(0:02:0); Error Event [command:0x28] Sep 28 00:19:07 dell kernel: aac0: **Monitor** ID(0:02:0); Medium Error [k:0x3,c:0x3,q:0x0] Sep 28 00:19:07 dell kernel: aac0: **Monitor** ID(0:02:0); Peripheral Device Write Fault Sep 28 00:23:09 dell kernel: aac0: **Monitor** ID(0:02:0); Error Event [command:0x28] Sep 28 00:23:09 dell kernel: aac0: **Monitor** ID(0:02:0); Medium Error [k:0x3,c:0x3,q:0x0] Sep 28 00:23:09 dell kernel: aac0: **Monitor** ID(0:02:0); Peripheral Device Write Fault Sep 28 00:23:52 dell kernel: aac0: **Monitor** Container 0 completed SCRUB task: aac0 is raid device target machine: FreeBSD dell.tlis.sk 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Sep 17 20:45:19 UTC 2009 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 it is dell poweredge 6450, 4x xeon 700MHz, 4G ram, 4X72G disk in raid5 thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
add own program to ports + help with port / program
hi list, I am about writing shell script which adds system account by tens (even hundreds). Info about added accounts is stored in external file which has syntax like this account-name:comment:email-addres Briefly, account-name is name of account comment field is comment which appears in /etc/passwd comment field email-address is address where info about just created account is sent (optional) eg. joe:Joe Brown:j...@something.com mark:Mark Red:m...@nowhere.org tim:Tim Yellow:ti...@example.com Script is checking file syntax and if syntax is bad, it exits. If it is ok, accounts is being created. You can modify a lot of infos, these are stored in config file in /usr/local/etc/pwgroup.conf, eg # output file with passwords of newly # created user accounts PASSWD_FILE="passwords" # uid of first created user UID="2000" # root home dir of users HOME_DIR="/home" # comment for users, appears in /etc/passwd # in comment field COMMENT="" # primary group for users, if empty, # primary group will be a user name GROUP="users" # comma separated list of groups # users should be a member of GROUPLIST="" # shell for users SHELL="/bin/csh" # use quotas QUOTAS="NO" # hard quote limit QUOTA_HARD="1536" # soft quote limit QUOTA_SOFT="1024" # disk device upon which users are created DISK_DEV="/home" # expiration date of accounts ACCOUNT_EXP="30-Jun-2010" # length of password PASSWORD_LENGTH="8" == as you can see, you can set quotas for users, account expiration of accounts, password length, shell and so on. Variables in config file are default, if you do not overwrite some at command line. some examples: # pwgrp -a -f users -c "unix begginer" -s /usr/local/bin/bash -q -qh 2048 -l 10 (adding users) # pwgrp -r -f remove_users (list of users for removing) Password are generated by apg program Quotas are set by setquotas. The main reason I write this mail is to make some feedback about program to me and even test it and comment it. I want to write this program but I do not know if I do it correct and I need some feedback about programming style or just some info what do you think about it. At this time, there is absence of manual, but if you track code, I think you understand it. Any ideas are highly appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
setquota + geli
hi, I would like to set some quotas with setquota on crypted disk with geli, but if I want to do so -> /etc/fstab /dev/ad0s2f.eli /home ufs rw,noatime,userquota,groupquota 2 2 /etc/rc.conf enable_quotas="YES" I can edit quotas by edquota, but with setquota command it is impossible ~# setquota -u -f /dev/ad0s2f.eli -bh1 stewe setquota : /dev/ad0s2f.eli is not a valid filesystem. does setquota support encrypted disks? what should I do? thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: shell command line argument + parsing function
hehe :D easy as hell, one has to enclose argument of parse_cmdline into brackets :) parse_cmdline "$@" sorry for noise On Mon, Aug 31, 2009 at 1:07 AM, Stefan Miklosovic < miklosovic.free...@gmail.com> wrote: > hi, > > assuming I execute shell script like this > > $ ./script -c "hello world" > > I want to save "hello world" string to variable COMMENT in shell script. > > code: > > #!/bin/sh > > parse_cmdline() { > while [ $# -gt 0 ]; do > case "$1" in > -c) > shift > COMMENT="$1" > ;; > esac > shift > done > } > > parse_cmdline $* > > echo $COMMENT > > exit 0 > > but that only write out "hello". I tried to change $* to $@, nothing > changed. > > It is interesting, that if I dont put "while" loop into function > parse_cmdline, > and do echo $COMMENT, it writes "hello world". > > I WANT that function style. How to do it ? > > thank you > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
shell command line argument + parsing function
hi, assuming I execute shell script like this $ ./script -c "hello world" I want to save "hello world" string to variable COMMENT in shell script. code: #!/bin/sh parse_cmdline() { while [ $# -gt 0 ]; do case "$1" in -c) shift COMMENT="$1" ;; esac shift done } parse_cmdline $* echo $COMMENT exit 0 but that only write out "hello". I tried to change $* to $@, nothing changed. It is interesting, that if I dont put "while" loop into function parse_cmdline, and do echo $COMMENT, it writes "hello world". I WANT that function style. How to do it ? thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
how to decide if disk / system is quotas capable
hi, I am writing a script in which I want to decide if disk / system is capable to set quotas for user / groups. how to check it? I am thinking about 1) checking enable_quotas="YES" in /etc/rc.conf 2) should I try to look in /etc/fstab? There is userquota and / or groupquota in line for some disk device in option field. 3) should I test existence of quota.user and quota.group in filesystem root? which method would be the best one? thank you for time ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
vsftpd with ssl
Hi there, I am installing vsftpd server with ssl. It seems it works good, BUT *~:*ftp-tls notebook Trying 127.0.0.1... Connected to localhost. 220 Welcome to miniBSD service. 234 Proceed with negotiation. [Starting SSL/TLS negotiation...] WARNING: Server's certificate issuer's certificate isn't available locally. WARNING: Certificate is untrusted. WARNING: Unable to verify leaf signature. WARNING: Errors while verifying the server's certificate chain, continue? (Y/N) Y [Subject: C = SK, O = Crypto, CN = notebook, emailAddress = mikloso...@gmail.com] [Issuer: C = SK, ST = Slovakia, O = MyCompany, OU = sysadmins, CN = notebook, emailAddress = mikloso...@gmail.com] [Cipher: DES-CBC3-SHA (168 bits)] Compression: zlib compression Name (notebook:stewe): stewe 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> so, as you can see, I logged in successfully, but there's some issue with certificates. I did my own CA authority, signed it on myself, adjusted config in this way /usr/loca/etc/vsftpd.conf ssl_enable=YES allow_anon_ssl=NO force_local_data_ssl=NO force_local_logins_ssl=YES rsa_private_key_file=/usr/local/etc/newkey.pem rsa_cert_file=/usr/local/etc/newcert.pem anonymous_enable=YES . an so on On the internet, there is a hint: "You must add the public key of your self signed CA to your OpenSSL certs directory." but how to do that ??? which dir? what public key? thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
vsftpd with ssl - compile option
hi, I would like to use vsftpd with ssl support. If I install it from ports, there is an option to compile it against ssl librarie(s) (VSFTPD_SSL) If I download it by pkg_fetch and extract the package and use ldd on vsftpd in libexec directory, there is no ssl library, in complied way, there are some. libssl.so.5 => /usr/lib/libssl.so.5 (0x280b) libcrypto.so.5 => /lib/libcrypto.so.5 (0x280f1000) I would like to use that program on other computer, but there is not port tree and installing of port tree is really not an option. how to handle this? thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
sftp + chrooting users
hi all, I am about chrooting ftp users into theirs home directories. I've following in the end of /etc/ssh/sshd_config Subsystem sftp internal-sftp Match group ftp ChrootDirectory /home X11Forwarding no AllowTcpForwarding no ForceCommand internal-sftp Now, problem I am facing: if I connect like u...@hostname (user is in ftp group) and do "ls", it shows all content of /home dir which is not wanted. I want to chroot user to /home/user. But, as in manual, if you are going to do that, chrooted dir must be owned by root and not writable by anyone. This is impossible to do then. In sshd_config(5), there is ChrootDirectory keyword, and there are %u (user name) and %h (home dir) which would work, but they do not. Using of ChrootDirectory /home/%u does not work (because of privileges issue). it is also an option to chmod 700 for home dirs, but is there some other way? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
broken firefox port?
hi, while upgrading firefox 3.0.11-1, this error appeared to me: ---> Upgrading 'firefox-3.0.11,1' to 'firefox-3.0.13,1' (www/firefox3) ---> Building '/usr/ports/www/firefox3' ===> Cleaning for firefox-3.0.13,1 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090807-17357-4m6e3h-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=firefox-3.0.11,1 UPGRADE_PORT_VER=3.0.11,1 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! www/firefox3 (firefox-3.0.11,1) (unknown build error) any ideas ? I updated my port tree by cvsup ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
sshd and dhcp bind to specific address
hi, my pc gets ip address from dhcp server, but on my pc, there is running sshd. I want to make ssh to listen to only one ip address, but if ip changes due to dhcp, ssh server do not work properly. I know, that dhcp is able to assign ip address to client from some range e.g. 192.168.0.1-254 It is possible to do the same with ssh in case that it is not possible to do it only with one ip? I want a solution which would work every time, not only some specific one. thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
close users in jail
hi all, I am going to do some research in area of creating server in educational sphere, for example for some computer course at an university. At this server, there would be a > lot < of users (in tens, even hundreds) and I am also going to write some kind of shell script, which all of this does automatically. (something like pw but it makes as lot of accounts as I want to). At this configuration, it is inevitable to secure some tries of hacking and security attacks on the main system. I would like to get all users into jail (jail in computer :D) I know, if server has good security policy, I shouldn't be afraid, but in the end of course, I can delete all of that stuff very easily. It is a good idea? Some pros / cons ? I would like to get into jail also essential services, apache, ftp, quotas. The biggest "why" I want to do this that way is a fact there are some other important services at the main server. thank you in advance for response ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
disk encryption with geli
hi all i am going to encrypt my /home directory which is mounted in /etc/fstab like /dev/ad0s2f /home ufs rw,noatime 2 2 I did like is wrote in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html everything looks good. ad0s2f.eli appears in /dev and so on. I can mount it, umount and so. but after reboot, I am dropped to single user mode because of en error message which says that there is an inconsistency at /dev/ad0s2f do i have to encrypt whole ad0 or it is possible to encrypt only my /home? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Speakeasy Referral Partner Program
My name is Stefan Walker. I am trying to develop some referral partners in your region and wanted to see if you would be interested in teaming up with me and Speakeasy. We offer a very nice residual commission of 14%. I have included information about our program. FYI- Attached is an overview on the Speakeasy Partner Opportunity Deliver market-leading telecommunications services to your clients. Help your business customers reduce their telecom costs while enjoying the many benefits of advanced voice and data features. Earn generous commissions from Speakeasy for sales or referrals of broadband and voice services. Speakeasy Partners will receive residual amount of 14% for the life of the contract plus 114% of the one months recurring revenue(MRC). Speakeasy is reaching out to businesses like yours to offer partner opportunities. Please contact me to schedule a conference call to go over the details. FYI- Attached is an overview on the Speakeasy Partner Opportunity Who is Speakeasy? Speakeasy is one of the largest, independent nationwide providers of broadband voice, data, and hosting solutions focused on the needs of small business. Speakeasy offers a range of innovative services including VoIP, T1, OneLink DSL, Managed Hosting, Colocation, and multiple business-grade connectivity options. How long has Speakeasy been in business? Speakeasy has been in business since 1994. Where is Speakeasy located? Speakeasy's corporate Headquarters in based in Seattle, WA with satellite offices in Cupertino, CA, Vienna, VA (NEW) and Dallas, TX. Look forward to hearing from you!!!!! Stefan A. Walker Senior Account Executive Speakeasy Direct > 703-819-8551* Fax > 703-288-0325 Email > stefan.wal...@hq.speakeasy.net<mailto:stefan.wal...@hq.speakeasy.net> * Web > www.speakeasy.net Voice * Data * Managed Services ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
s...@home
hi all, I would like to install s...@home client to my machine, There are tutorials on internet how to install it, but it is all about package called simply "setiathome". I dont see such package in a port tree. I was searching for similar one, it seems I found it : /usr/ports/astro/boinc-setiathome-enhanced If i go to install it, it is about instaling ~30 ports as well, most of them is xorg related. I do not want to install these X related packages at all. It seems futile to having written "WITHOUT_X11=yes" in /etc/make.conf. Could I have s...@home client without X packages? thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
port for separation audio from video in mp4 file
hi, title says it, i downloaded mp4 file by youtube-dl, but it downloaded video and audio as well. I would like to separate audio from that file. i try to find some port in /usr/ports/audio but nothing reasonable occudred. i tried "find . -type f -name pkg-descr | xargs grep mp4" but these were only some "offtopic" programs :) thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: single SATA disk and yet identified as 'ad4'
You may want to become familiar with: # # The following options are valid on the ATA driver: # # ATA_STATIC_ID:controller numbering is static ie depends on location # else the device numbers are dynamically allocated. options ATA_STATIC_ID Long time ago FreeBSD people decided that it's very annoying when you plug ata CD or another HDD and then your ad1 (which is ad4) becomes ad2, and makes your OS un- bootable without manual intervention. Today we have geom labels, but still ATA_STATIC_ID is something I really miss on every linux .. P.S. -current removed. On May 11, 2009, at 10:38 PM, Saifi Khan wrote: Hi all: The system has just one SATA disk and yet bootloader process identified it as 'ad4'. Ideally, it should be ad1. Here is the PCI information 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/ GMS, 943/940GML Express Integrated Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1) 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01) 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) 00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 01) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01) 06:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01) 08:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) How does the labelling logic work ? thanks Saifi. ___ freebsd-curr...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org " -- Best Wishes, Stefan Lambrev ICQ# 24134177 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
legal aspects in order to use the open source sw fsck_msdosfs
Hello, My name is Stefan Beskow and I work as a configuration manager within Ericsson AB. I am investigating the legal aspects of the use of open source sw within a project. Could you please help me with information about license issues and copywriting issues ea for the fsck_msdosfs ? What is required in order to use the fsck_msdosfs software? Best regards, Stefan Beskow Stefan Beskow / Elan IT Configuration Manager Ericsson AB - EAB/FBM/ME Mini-Link, Embedded Software Email: stefan.bes...@ericsson.com Business phone: +46 10 7471513 Cell phone: +46 709 871513 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
where is xorg located?
hi hi all, i try to install xorg as a package like: # pkg_add -r xorg it takes a while, but only an error appears to me, it says that "Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/xorg.tbz : File unavailable (e.g., file not found, no access) pkg_add: unable to fetch ' ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/xorg.tbz' by URL internet connection works, of course, I ftp to ftp server and there really isnt xorg package at all. where i should install xorg package from? thx stewe FreeBSD dexter 7.1-STABLE FreeBSD 7.1-STABLE #1: Fri Mar 13 16:28:53 CET 2009 r...@dexter:/usr/obj/usr/src/sys/DEXTER i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: creating own CVSup server
Hi, me again, I also havent noticed, that there is a choice among -current or -stable. If I want to mirror just -stable (this is possible with cvsup stable-supfile), can I? thank you again On Sun, Jan 11, 2009 at 8:37 PM, Stefan Miklosovic < miklosovic.free...@gmail.com> wrote: > Hi all, > > I decided to set up my own CVSup server just for my local > network. After reading all related stuff I should find, I have > solid knowledge about this issue but one thing disturbed my mind. > > My pc, server which I will mirroring from, is also downloading > source tree from another server (cvsup.at.freebsd.org) to /usr/src > directory. I will download my src tree once a week. > When I am going to set up cvsup server on my own, cvsup-mirror > asks me, where I want to download files I just purchased. Default > directory is "/home/ncvs". > > My question is, can be downloading directory /usr/src ? > Which reason should I place downloading files to /home/ncvs for? > Does it matter ? Can I serve my own src tree for other computers? > Does it have to be stored twice? > > thank you > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
creating own CVSup server
Hi all, I decided to set up my own CVSup server just for my local network. After reading all related stuff I should find, I have solid knowledge about this issue but one thing disturbed my mind. My pc, server which I will mirroring from, is also downloading source tree from another server (cvsup.at.freebsd.org) to /usr/src directory. I will download my src tree once a week. When I am going to set up cvsup server on my own, cvsup-mirror asks me, where I want to download files I just purchased. Default directory is "/home/ncvs". My question is, can be downloading directory /usr/src ? Which reason should I place downloading files to /home/ncvs for? Does it matter ? Can I serve my own src tree for other computers? Does it have to be stored twice? thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
logout and login after compilation
hi If I something install from ports, I cant use that command directly. It says to me that "command not found". Do I have to always log in and log out before use of command? Is there some other way? my shell is csh, 7.1-RELEASE thx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
compilation vs binary files
hi, i would like to know, if it has a sense to compile software provided in form of ports in /usr/ports. I mean, I know there is a bunch of options you can choose from and make certain application more suitable for your hardware / software needs. I just want to know, if I can install software in binary form (eg. pkg_add -r soft) without a significant change of performance to my machine. If I lost some percents of perfromance, I would rather install it in that way like to compile it and lose a lot of time ... Yes, there is also a matter of patches and updates, because software is constantly improving. Have even a packages in binary form a sense? thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
two ethernet cards
hi i have two ethernet cards on my box uname -a FreeBSD dexter 7.0-RELEASE Freebsd 7.0-RELEASE #5: Fri Jan 2 21:25:21 CET 2009 r...@dexter:/usr/obj/usr/src/sys/DEXTER i386 ifconfig rl0: flags=8843 metric 0 mtu 1500 options=8 ether XX:XX:XX:XX:XX:XX inet 192.168.0.177 netmask 0xff00 broadcast 192.168.0.255 media: Ethernet 100baseTX status: active sk0: flags=8843 metric 0 mtu 1500 options=b ether XX:XX:XX:XX:XX:XX inet 192.168.0.176 netmask 0xff00 broadcast 192.168.0.255 media: Ethernet 100baseTX (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 when I want to ping sk0 from eth0 on linux box, ping is ok, but this message appears to me in freebsd console Jan 3 01:07:39 dexter kernel: arp: 192.168.0.2 is on rl0 but got reply from XX:XX:XX:XX:XX:XX on sk0 linux command ping -I eth0 192.168.0.176 linux ifconfig eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::20a:e4ff:fef3:abb6/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3 errors:0 dropped:0 overruns:0 frame:0 TX packets:88 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:180 (180.0 B) TX bytes:11542 (11.2 KB) Interrupt:22 Base address:0x3000 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:416 errors:0 dropped:0 overruns:0 frame:0 TX packets:416 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:25130 (24.5 KB) TX bytes:25130 (24.5 KB) wlan0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX inet addr:192.168.0.173 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::214:a4ff:fe79:3cbc/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:30030 errors:0 dropped:0 overruns:0 frame:0 TX packets:25399 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:32882410 (31.3 MB) TX bytes:3522346 (3.3 MB) mac adres from eth0 on linux machine is same as from the error output on bsd thank you a lot stewe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: A gmirror question.
Ok, that explains it. Thanks for the quick answers! BR Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
A gmirror question.
Hi! I've got a question regarding the way that gmirror identifies what "components" (if that is the right term) are included in a mirror. I recently created a mirror over two disks, ad2 and ad4. After some bios changes (activating PATA) these devices were changed to ad6 and ad10 respectively. The "magic" thing (which probably isn't so magic =) ) here is that after reboot, gmirror still managed to identify the mirror, now using ad6 and ad10. If I have understood things correctly, gmirror stores all relevant information about the mirror in the last sector on the provider. So I guess one possible solution is that gmirror ,during startup, scans all disks/slices for this magic sector and then "starts" the mirror. But if this is the case, how does gmirror know that it should use (in my example above) ad10 and not ad4 as the additional disk in the mirror. Or does gmirror use something else than the /dev entries to address disks?? I'm just curious how gmirror does this. BR Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Current status of SEBSD / how to build FLASK system on top of current FreeBSD?
Hello, could someone knowledgeable please give some information on the status of SEBSD? I have found the project page beneath the TrustedBSD homepage, but it seems a bit abandoned (no release since 2006, no mailing list traffic). Is SEBSD an integral part of the current standard kernel, or do I have to apply the patch as indicated on the homepage? And will the patch work with 7.0-RELENG or CURRENT? Should SEBSD be no longer actively maintained, how do I build the equivalence of an SELinux system on top of FreeBSD? I.e., which of the MAC modules should I use, so that the SELinux Reference Policy can be loaded and enforced? Thanks a lot! Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Realtek RTL8169 - no driver attached
Hi all, I would like to install FreeBSD 6.2 on a i386 system that includes a Realtek RTL8169 network card, but when booting from the install CD or from the installed system, there seems to be a problem with the driver: > dmesg ... pci0: at device 13.0 (no driver attached) ... > pciconf -l -v ... [EMAIL PROTECTED]:13:0: class=0x02 card=0x816910ec chip=0x816910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RTL8169 Gigabit Ethernet Adapter' class= 'Network' subclass = ethernet ... > kldload if_re kldload: can't load if_re: File exists I've been running a FreeBSD server in production for over a year now and this is the first time ever I even have to think about hardware. The card itself is a cheap no-name card. What am I doing wrong ? Thank you very much, CU Stefan CAUTION: This e-mail and any attachment(s) contains information that is both confidential and possibly legally privileged. No reader may make any use of its content unless that use is approved by Prolificx separately in writing. Any opinion, advice or information contained in this e-mail and any attachment(s) is to be treated as interim and provisional only and for the strictly limited purpose of the recipient as communicated to us. Neither the recipient nor any other person should act upon it without our separate written authorisation of reliance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MS exchange alternatives for FreeBSD
Oliver Peter wrote: On Tue, Jun 26, 2007 at 07:14:59PM +0300, Cheffo wrote: Hi list, I have server running postfix + courier-imap, and I'm looking for someway to add possibility to exchange calendars/contacts/meeting invitations/etc between mail clients. Can someone recommend calendar, that is compatible with windows clients and can be run under FreeBSD? % cat /usr/ports/deskutils/sunbird/pkg-descr The Sunbird Project is a redesign of the Mozilla Calendar component. The goal is to produce a cross platform standalone calendar application based on Mozilla's XUL user interface language. WWW:http://www.mozilla.org/projects/calendar/sunbird.html I like it :) But I'm not sure if you can exchange your inputs with other clients. I think you can exchange mozilla's (sunbird/lightning) calendar using MS exchange, zimbra and few other apps, but all that I found are not working under freebsd. And this is what I'm looking for - server that support iCal and will allow mail clients (outlook, evolution & sunbird/lighnting) to exchange their calendars. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem with atapicam on FreeBSD 6.2-RELEASE-p5 causes system-freeze
Hi all, I'm using FreeBSD 6.2-RELEASE-p5, with the standard SMP kernel found in / usr/src/sys/i386/conf/SMP, when i 'kldload atapicam' i get the following error message which just makes no sense to me: WARNING - PREVENT_ALLOW taskqueue timeout - completing request directly xptioctl: put device pass0 in your kernel config file xptioctl: pass driver is not in the kernel Right after I get this error message, it starts repeating again and again, and the system is no more useable. Then I installed the normal GENERIC kernel without SMP support, and the same thing happens, same error message. Then i tried to compile "device atapicam" directly into the kernel, which makes the system hang at boot time, while recognizing the cdrom. The standard SMP kernel "includes" the GENERIC kernel in which the line "device pass" can be found, that means pass must be allready in the kernel. Please have a look at the output from dmesg and kldstat -v here (link) http://nopaste.info/52ef292281.html I searched the web for similar error messages, and found a message pointing this problem to hald, so i disabled hald to see if that chances anything. And it did, while 'kldload atapicam' i'm not getting the above error message anymore, but 'camcontrol devlist' doesnt show anything and cdrecord -scanbus ends up in the following errormessage: Cdrecord-Clone 2.01 (i386-unknown-freebsd6.2) Copyright (C) 1995-2004 Jÿÿrg Schilling cdrecord: Error 0. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. cdrecord: For possible transport specifiers try 'cdrecord dev=help'. I checked with 'kldstat', and it showed atapicam. Since my mainboard has just one ide port onboard(rest is S-ATA), i have to use a pcie ide-controller "Promise Technology, Inc. PDC20268 (Ultra100 TX2)" on which my dvdwriter(acd0) is connected to. Any help or suggestion is really appreciated. Thanks in advance, greeting Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
syslog(3) as user sets errno
If a non-privilged program calls syslog(3), after the call, errno is set to 13 (permission denied). In lib/libc/gen/syslog.c connectlog(), it is first tried to connect to /var/run/logpriv. If it fails /var/run/log is tried. The first connect fails if syslog() is not called as root, it fails with errno=13 and the second connect succeeds. This is all fine, except that errno is set to 13 after calling syslog(). Is this a bug or expected behaviour? IMHO errno should be set to 0 before the second connect is called -- or is this a bad idea? Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: syslog(3) as user sets errno
On Saturday 28 April 2007 14:16:34 Stefan Ehmann wrote: > If a non-privilged program calls syslog(3), after the call, errno is set to > 13 (permission denied). Seems like I jumped the gun. opengroup.org says "The value of errno should only be examined when it is indicated to be valid by a function's return value." So it seems perfectly valid that errno is set. Sorry for the noise. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sample cds
I'm organising a linux/opensource day in my school. Is it possible to get some saple freeBSD cds for those who want to try it? Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: i am facing these issues after my FreeBSD 6.2 installation.
Hi, This mail have to be in questions not hackers, but anyway .. ajay gopalakrishnan wrote: Hi, I've recently installed FreeBSD release 6.2 successfully except that the following things that i need importantly dont work. How should i do these? 1. I am using PPP over Ethernet (PPPoE). I am running FreeBSD on Vmware and i set the network connection as "Bridged" on Vmware. I configured my Ethernet device with the correct IP, Gateway, Netmask, DNS but i dont know how to start my internet on FreeBSD. All i do to connect to the internet on Windows is give my username and password. I also read the PPPoE chapter on the FreeBSD manual but of no use. How should i start PPoE on FreeBSD? http://www.freebsd.org/doc/handbook/pppoe.html, but better look for "mpd" 2. I need Vim. I dont want to use Vi. I searched in my CD-1 and CD-2. But i could not find the package "vim" inside it. Since i am not able to connect to the internet is there any other way to install Vim ? well if you do not have the source or the packages .. you have to find a way to download it :) 3. How should i configure FreeBSD to start in X mode directly. Currently i have to do startx to start X on my machine. take a look at xdm, kdm and gdm :) 4. I want to make "bash" as the default shell instead of "csh". Where is that configured? man vipw 5. Where are the kernel sources located? I need it because i want to do kernel network programming? Is having kernel sources sufficient or there are other dependencies also? src/sys are kernel sources. Where depends on your installation (normally /usr/src/sys/) 6. How do developers usually keep their kernel sources in sync with the main Central Kernel source? Do we use CVS or Subversion for this? if you are using freebsd 6.2 - man csup But best place to start is reading http://www.freebsd.org/doc/handbook/ and once you are familiar with FreeBSD you can read "developers handbook". Thanks & Regards, Ajay. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Best Wishes, Stefan Lambrev ICQ# 24134177 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
plextor PX-760SA problem
Hello! I'm having some trouble trying to burn dvd:s using my PX-760SA under FreeBSD. As far as I know, the DVD-burning software that is available for FBSD uses the SCSI subsystem and therefore requires atapicam. My problem is the following: After Compiling the kernel with the following options device atapicam device ata device scbus device cd device pass The system almost hangs at startup. With almost I mean that when it tries to recognize the cd0 device it hangs for about 5-10 minutes and then produces the output: cd0 at ata2 bus 0 target 1 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 3.300MB/s transfers cd0: @ after that it hangs again. I've also tried loading the atapicam module with kldload which generates almost the same behavior. After kldload I can use the system until I try kldstat or "ls /dev" then it hangs for about 5-10 minutes. produces the output cd0 at ata2 bus 0 target 1 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 3.300MB/s transfers cd0: @ and then hangs again for another couple of minutes, responds to my commands for a couple of minutes and hangs again and so on. I tried upgrading the firmware of the PK-760SA to 1.06. Still the same problem There is no problem using the PX-760SA without atapicam. dmesg attached. (without atapicam in kernel) Any help appreciated //Stefan dmesg Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem with ICH4 fxp driver and FreeBSD 6
Hi all, I am encountering a strange problem compiling a kernel for a MS-6557 mainboard (a Hermes 845GV) with Intel845GV Chipset. Everything is OK with the GENERIC 6.0 Kernel; but as soon as I install a self compiled kernel (6.0 or 6.1), I get fxp driver timeouts. On loading the if_fxp.ko module (+miibus.ko) the driver is recognised and the interface is configured correctly, but as soon as network traffic is generated, I get the fxp driver timeout message (and hence bo network connectivity ;-( No other error messages apear and every other bit of hardware seems to be recognised and ok. I suspect resource problems (like IRQ), but I am vague about PCI and IRQ settings. I have tried a kernel with all unneccessary hardware deactivated (usb, firewire) but to no avail. Can anyone give me some hints, about how to get about? I am glad to give detailed information about kernel and system configuration. Thanks in advance, Stefan _ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071&distributionid=0066 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: local user authentification with ldap
Am 10.08.2006 um 17:28 schrieb Jean Chiappini: Hello all, I had setup a ldap server and now, I want to authenticate the local user of my freebsd 6.1. I had try to found some help with google, but I don't find any solution. Check out ports net/nss_ldap and security/pam_ldap. Stefan -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: top: what processes use the CPU?
Am 10.08.2006 um 11:09 schrieb Roberto Nunnari: Stefan Bethke wrote: Am 10.08.2006 um 08:38 schrieb Roberto Nunnari: Hello everybody. Just a short question: Why top doesn't any more show what processes use the CPU? I mean.. 0.0% idle and the sum of the processes CPU doesn't reach 1.0%.. as an example, while make buildkernel top shows: Because the cc processes are too short lived to consistently show up when top is scanning the process table? Ok.. but as idle CPU shows 0.0%, there should be a way of getting the processes that finished already living but caused that 0.0% idle.. What if your users are running lot of short lived processes? How can you find them out? You can't with current FreeBSD tools. Efforts are underway to port DTrace from Solaris, which allows gathering information like this, among many other interesting things. Stefan -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: top: what processes use the CPU?
Am 10.08.2006 um 08:38 schrieb Roberto Nunnari: Hello everybody. Just a short question: Why top doesn't any more show what processes use the CPU? I mean.. 0.0% idle and the sum of the processes CPU doesn't reach 1.0%.. as an example, while make buildkernel top shows: Because the cc processes are too short lived to consistently show up when top is scanning the process table? Stefan -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD as a VPN Server/Router
Am 10.08.2006 um 01:09 schrieb Christopher Martin: Also, the load IPSec (or any encryption method for that matter) places on the encapsulating router is non-trivial, so be aware that if your hardware is a bit old you may get disappointing performance. I would suggest making the hardware at least current low end, or high end from a couple of years ago, to get the best performance. My 533 MHz Via C3 based router does 230 kB/s with OpenVPN while being about 75% idle. (My line's not faster, so I don't know where it would peak out.) Stefan -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD as a VPN Server/Router
Am 09.08.2006 um 19:33 schrieb Odhiambo Washington: In this scenario, siteA has several applications running on several windows servers which are behind the FreeBSD box. The challenge is to allow siteB to access these applications securely via the WAN setup. VPN comes straight to mind, but this is a new area to me. OpenVPN certainly fits your requirements. Besides a routed connection between two sides, it also offers a bridged setup, so it is ideally suited for connecting two Windows-centric networks. We use it at work for home VPNs as well as road warriors, configuration is straightforward, and performance is absolutely acceptable. IPSec has been mentioned before; I've had trouble understanding the configuration and how to diagnose problems. We did get it to work in the office, but only with a lot of trial and error. isakmpd and racoon are... idiosyncratic, to be polite. vtun has had major security issues in the past, so I would be wary, but I haven't looked into it for the past two years. pfSense is a FreeBSD-based firewall/routing OS, so you'd need to replace your existing FreeBSD routers with it, or add additional boxes. Stefan -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using putty as a ssh client on FreeBSD
Am 09.08.2006 um 17:13 schrieb Josh Paetzel: I'm trying to use putty on my FBSD 6.1-R box to access another FreeBSD box. I can get in fine using the command line ssh client but when I attempt to use putty I get the following error: Unable to use key file "/usr/home/jpaetzel/.ssh/id_rsa" (OpenSSH SSH-2 private key) PuTTY does not support OpenSSH key file formats. You will need to convert them to PuTTY format with PuTTYgen. Stefan -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_add question
Am 09.08.2006 um 16:02 schrieb V.I.Victor: This is a small machine that is only used as an email "front-end." When I built it I didn't install 'ports' -- sorry, I should have mentioned that in the original post. Install portsnap from your 5.4 CD, then use it to download the current version of the ports tree. If you haven't done so already, install sysutils/portupgrade; that makes it easy to upgrade the ports that are installed on your system. Stefan -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_add question
Am 09.08.2006 um 15:43 schrieb V.I.Victor: Generally -- is it OK to do a 'pkg_add' from 'packages-6-stable' to a 5.4 system? No. You might get away with putting a 6-stable package on a 6.1 system, but only if you're lucky. Packages compiled for newer releases will never* work on older releases. You need to build from ports. Stefan * There's trivial software that might work, but there is absolutly no guaranty. -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Removing boot options and setting boot only to BSD
Am 09.08.2006 um 05:48 schrieb Viswas Nair: I have FBSD 6 and Win XP on my machine. I would like to remove the boot menu options that I get and set BSD to open default. How do I go about doing this ? I intend to use Win XP very rarely and hence would want to manually update the config files needed if I need to go to Win XP. Just install the standard mbr using fdisk(8): # fdisk -B ad0 Make sure that your FreeBSD slice is the only active slice, also using fdisk. If you want to go back to FreeBSD's boot0, use boot0cfg(8): # boot0cfg -B Stefan -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: default boot option in dual-boot mode
Am 08.08.2006 um 02:48 schrieb gahn: hi: how could i fix the default boot option in dual-boot mode? i have a machine with both windows xp and freebsd 6.1. it works fine with freebsd boot manager (wiht optios of f1 for xp and f2 for freebsd when it starts). but i would like to fix the default mode for freebsd; ie, if i don't make a choice on either f1 or f2 keys, then system automatically boots up as freebsd machine. boot0 will boot into the same OS as the last time automatically, so you don't need to do anything to boot into FreeBSD, if you had booted into FreeBSD the last time. If you want to *always* boot into FreeBSD, irrespective of the choice you made the last time, you can use the boot0cfg(8) utility to stop boot0 from remembering the last choice and stick to the stored default. Untested: # boot0cfg -o noupdate -s2 Stefan -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mount Point permissions
Am 07.08.2006 um 23:55 schrieb Bob Richards: The permissions on mount-point /home/bob/floppy are 770 with bob:bob After the mount operation I see: ls -al floppy drwxr-xr-x 3 root wheel 512 Aug 7 11:22 . And of course, bob can only read, but not write. The root directory of the filesystem mounted determines the ownership and access rights on it. By default, newfs will assign is to root and set the rights to 0755. You'll need to chown the directory to the desired user. Stefan -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can you install packages from STABLE in RELEASE?
Am 04.08.2006 um 01:19 schrieb Henry Lenzi: Hi -- I'm currently running 6.0-SECURITY My portsnap tells me of a bunch of ports that have updates that, when I head directly for an ftp site, I find on a STABLE tree (like kde-3.5.3 - actually 3.5.2 until yesterday) For instance, ftp://ftp2.freebsd.org/pub/FreeBSD/ports/i386/ packages-6.0-release/x11/ lists kde-3.4.2.tbz Can I install these on RELEASE? If not, why does portsnap even suggest them? The ports tree has no branches (like RELENG_5 or RELENG_6). Portsnap get's you the current state of the ports tree into /usr/ports. You can install them from that source on a supported FreeBSD release (like 6.0-pX == RELENG_6_0), using the usual ways to build ports (cd / usr/ports/xxx/yyy; make install or portinstall). When a release is built, the binary packages that go onto the CDs are built from the then-current ports tree. The FTP servers carry what got included in the CDs, so those packages will never change. The stable packages on the FTP servers are regularly built with the current ports tree. Since they are built on a stable release (FreeBSD-6-stable == RELENG_6), they might work on an early release, but that is not guaranteed. If you want to use these packages, you should have a fairly recent stable release. To sum it up: you can install/upgrade the ports, but you cannot install the stable packages on a security release. Stefan -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: conundrum: _C99_SOURCE vs. sigset
On Thu, Aug 03, 2006 at 03:47:34PM -0400, Mikhail Teterin wrote: > Hello! > > I'm trying to compile a program, which uses threads and has its own daemon > global variable. > > The variable's declaration results in an error: > > recsnap.C:50: error: `RTRString daemon' redeclared as different kind of symbol > /usr/include/stdlib.h:252: error: previous declaration of `int daemon(int, > int)' > > The daemon()'s declaration in stdlib.h can be turned off by declaring either > _C99_SOURCE or _ANSI_SOURCE. Unfortunately, both of these defines also turn > off the declaration of sigset_t and fd_set: > > /usr/include/pthread.h:233: error: expected `,' or `...' before '*' token > .../include/rtr/selectni.h:129: error: `fd_set' does not name a type > > Can this be solved -- without modifying the vendor's code? Thanks! Try -D_POSIX_C_SOURCE=200112. The macro _C99_SOURCE is for pure C99 code and _ANSI_SOURCE for C90 code. Both don't include the header. Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: trouble with cvsup
Am 03.08.2006 um 19:36 schrieb Jonathan Horne: Server warning: RCS file error in "/usr/local/etc/cvsup/prefixes/ FreeBSD.cvs/src/sys/modules/i2c/controllers/nfsmb/Makefile,v":1: "head" expected Looks like cvsup15.us.freebsd.org has some file corruption. Try using a different CVSUp mirror instead. i use the stable-supfile, but with one changed line, to get me to RELENG: *default release=cvs tag=RELENG_6_1 Not sure I understand what you'd like to achieve: if you want FreeBSD- stable, then the tag should be RELENG_6. If you want to track the security branch, then RELENG_6_1 is correct. Stefan -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 2 Gateways.
Am 02.08.2006 um 15:18 schrieb Лукьяненко Александр: Hi, all! Problem: PC with FreeBSD, there are 2 gateway GW1 and GW2, GW1 is default. Need: Queries that come from GW2 goes through GW2, not through default. How can I do it? Look at ipfw forward rules, or pf rdr rules. Stefan -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: install 6.1-release through serial terminal?
Am 27.07.2006 um 09:17 schrieb Tyler Spivey: Hello. I'm a blind user, and was wondering how to get 6.1-release to install over serial. I've tried everything - hitting option 6, space, boot -h , but nothing happens. unplugging the keyboard, nothing happens. hitting space and typing boot -h - nothing. This is using a cdrom disc1. Any help would be appreciated. When the boot menu appears, exit out of it by typing 6. At the loader prompt, enter set console="comconsole" The console should switch to COM1; then you should be able to boot using the "boot" command. You can change the speed of the serial port by setting comconsole_speed to the desired baud rate. The loader man page has more info on these two variables: http://www.freebsd.org/cgi/ man.cgi?query=loader&apropos=0&sektion=0&manpath=FreeBSD+6.1- RELEASE&format=html After having finished the install, you can use the same method to temporarily switch to the comconsole on first boot. Then, you probably want to a a file /boot.config with a single line "-Dh" to enable dual console (video+serial). Also useful: if you decide to install FreeBSD's master boot record (boot0) in sector 0 of your disk (that gives you the opportunity to select which of the foour primary partitions to boot from by pressing F1 to F4), there's also a variant that works over the serial console. You can put this on using FreeBSD boot0cfg(8): http://www.freebsd.org/ cgi/man.cgi?query=boot0cfg&apropos=0&sektion=0&manpath=FreeBSD+6.1- RELEASE&format=html HTH, Stefan -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[misc] demos/bio/Makefile
Hi all, Well, for me the Makefile in demos/bio was broken, because it wants to link against static libraries of openssl. For *users* that do not want to built a static version, or have strange PATH settings, this little patch makes it working so one can start hacking :) --- /tmp/openssl-0.9.8b/demos/bio/Makefile.broken.fbsd Tue Jun 6 04:26:07 2006 +++ /tmp/openssl-0.9.8b/demos/bio/Makefile Tue Jun 6 11:55:52 2006 @@ -1,16 +1,15 @@ CC=cc CFLAGS= -g -I../../include -LIBS= -L../.. ../../libssl.a ../../libcrypto.a +LIBS= -L../.. -lssl -lcrypto EXAMPLES=saccept sconnect all: $(EXAMPLES) saccept: saccept.o - $(CC) -o saccept saccept.o $(LIBS) + $(CC) $(CFLAGS) -o saccept saccept.o $(LIBS) sconnect: sconnect.o - $(CC) -o sconnect sconnect.o $(LIBS) + $(CC) $(CLFAGS) -o sconnect sconnect.o $(LIBS) clean: - rm -f $(EXAMPLES) *.o - + rm -f $(EXAMPLES) *.o *.core using FreeBSD 6.1-RELEASE -- Gruss Stefan Kuttler (B.O.F.H.).ooO=Ooo.https://www.netbeisser.de GPG Fingerprint: E7AC 1E9B 87D8 5BD2 E2F2 6F4A 3177 ED68 8185 480C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Thanks (Was: Re: [FreeBSD-Announce] 10 years of "The Complete FreeBSD")
Hi Greg, thanks for the initial effort 10+ years ago, thanks for having kept it up, and thanks in advance for the next 10 years of up-to date info :-) I know this holds for a great many on this list as well, each in their own unique way, but let me take the 10th aniversary of The Complete FreeBSD to simply say: You rock, mate! Cheers, Stefan On Fri, Feb 24, 2006 at 10:48:05AM +1030, Greg 'groggy' Lehey wrote: > Ten years ago today, on 24 February 1996, I submitted for publication > the final version of the first ever book on FreeBSD, "Installing and > Using FreeBSD". It was later renamed to "The Complete FreeBSD". > > I have always retained full rights to the book, and for today I've > decided to release it for download under the Creative Commons > license. See more at http://www.lemis.com/grog/Documentation/CFBSD/. > > Greg > -- > See complete headers for address and phone numbers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: daily security output usr/src should be gid = 9 = man
When you say 'label' do you mean using chown or chgrp? I mean: chgrp wheel /usr/src Your daily security output may just be telling you that it changed to something from the GID of 9 that it was the last time it checked.I don't know of any other reason it would point that out. Damn your right ;-) I did a second run and everything went fine. Now I know what went wrong. Everytime I saw this message I changed the group and that was the reason why I became every day this message. Thanks for your quick response. Best regards, Stefan PGP.sig Description: This is a digitally signed message part
daily security output usr/src should be gid = 9 = man
Hi, is this the right behaviour that /usr/src should be labeled with gid 9 which is the group man? When I label /usr/src with the group wheel I get a daily security output like this: Checking special files and directories. Output format is: filename: criteria (shouldbe, reallyis) usr/src: gid (9, 0) When I label it with gid 9 which is the group man I don't get a security hint. But why would or should I label /usr/src with group- privilegies man? Is this the default behaviour? I'm running FreeBSD RELENG_6_0 Best regards, Stefan PGP.sig Description: This is a digitally signed message part
IPv6 and a local network behind a gateway
Hi all, I saw some time ago a similiar question on the mailinglist but the relevant config files were on a temporarly server, so I can't reconstruct the situation. So I hope someone could say the things a second time ;-) Here is my setup: I'm running a FreeBSD server behind a DSL-Box (NAT) with one network interface. This server is connected with two other workstation through a switch. I register by sixxs (a IPv6 service provider). After some installation I got my IPv6 connection between the sixxs provider and my FreeBSD server running! I can ping www.kame.net and when I go to ww.kame.net with lynx I "can see" the dancing kame. So the setup should be fine. I setup rtadvd for the workstations and it seems to be ok. The workstations get their IPv6 addresses but I can't ping anything outside my LAN. Summary: Connecting to the IPv6-world from the FreeBSD-server is OK but I don't get any connection from the clients. Here are the configs: /etc/rc.conf ipv6_enable="YES" ipv6_defaultrouter="2001:6f8:900:612::1%em0" ipv6_default_interface="gif0" gif_interfaces="gif0" gifconfig_gif0="192.168.130.2 212.224.0.189" ipv6_ifconfig_gif0="2001:6f8:900:612::2 2001:6f8:900:612::1 prefixlen 128" ipv6_gateway_enable="YES" ipv6_ifconfig_em0="2001:6f8:900:612::3 prefixlen 64" rtadvd_enable="YES" rtadvd_interfaces="em0" /etc/rtadvd.conf em0:\ :addrs#1:addr="2001:6f8:900:612::":prefixlen#64:tc=ether: Hardware (FreeBSD server): one network interface card: em0 Software (FreeBSD server): default installation with the latest updates tcpdump from the FreeBSD server when I try to ping6 www.kame.net from a client # tcpdump -ni gif0 icmp6 00:59:36.917672 IP6 2001:6f8:900:612:211:24ff:fee1:776c > 2001:200:0:8002:203:47ff:fea5:3085: ICMP6, echo request, seq 0, length 16 00:59:37.922935 IP6 2001:6f8:900:612:211:24ff:fee1:776c > 2001:200:0:8002:203:47ff:fea5:3085: ICMP6, echo request, seq 1, length 16 00:59:38.930710 IP6 2001:6f8:900:612:211:24ff:fee1:776c > 2001:200:0:8002:203:47ff:fea5:3085: ICMP6, echo request, seq 2, length 16 00:59:39.933212 IP6 2001:6f8:900:612:211:24ff:fee1:776c > 2001:200:0:8002:203:47ff:fea5:3085: ICMP6, echo request, seq 3, length 16 00:59:40.938355 IP6 2001:6f8:900:612:211:24ff:fee1:776c > 2001:200:0:8002:203:47ff:fea5:3085: ICMP6, echo request, seq 4, length 16 00:59:41.943378 IP6 2001:6f8:900:612:211:24ff:fee1:776c > 2001:200:0:8002:203:47ff:fea5:3085: ICMP6, echo request, seq 5, length 16 00:59:42.948514 IP6 2001:6f8:900:612:211:24ff:fee1:776c > 2001:200:0:8002:203:47ff:fea5:3085: ICMP6, echo request, seq 6, length 16 00:59:43.953657 IP6 2001:6f8:900:612:211:24ff:fee1:776c > 2001:200:0:8002:203:47ff:fea5:3085: ICMP6, echo request, seq 7, length 16 00:59:44.958794 IP6 2001:6f8:900:612:211:24ff:fee1:776c > 2001:200:0:8002:203:47ff:fea5:3085: ICMP6, echo request, seq 8, length 16 00:59:45.963937 IP6 2001:6f8:900:612:211:24ff:fee1:776c > 2001:200:0:8002:203:47ff:fea5:3085: ICMP6, echo request, seq 9, length 16 00:59:46.969333 IP6 2001:6f8:900:612:211:24ff:fee1:776c > 2001:200:0:8002:203:47ff:fea5:3085: ICMP6, echo request, seq 10, length 16 I don't have an more ideas! I always thought the problem is the server behind the NAT but the surfen and ping'ing from the server itself is no problem, so I think the problem must be somewhere else?! Best regards, Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
automatic acoustic management supported?
Is there a way to enable automatic acoustic management? atacontrol cap states that the drive is capable but I couldn't find a way to enable it. Feature Support EnableValue Vendor write cacheyes yes read ahead yes yes Tagged Command Queuing (TCQ) no no 0/0x00 SMART yes no microcode download yes yes security yes no power management yes yes advanced power management yes no 0/0x00 automatic acoustic management yes no 254/0xFE128/0x80 Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MySQL crashes on amd64
Greg 'groggy' Lehey wrote: [Sequence recovered--see http://www.lemis.com/email/email-format.html] On Thursday, 13 October 2005 at 17:56:11 +0200, Stefan Cars wrote: Greg 'groggy' Lehey wrote: On Wednesday, 12 October 2005 at 9:27:17 +0200, Stefan Cars wrote: Hi! We are having troubles with MySQL 4.1 on a amd64 (it's crashing randomly with Seg fault, signal 11. gdb bt says: Cannot access memory at address 0x8000). We have got information saying this is a 64bit related issue and should be fixed by using the i386 version instead of amd64 (this is an Intel Xeon). Where did you get that information from? I'd still like to know an answer to this question. I got information from a guy working on the floor below us, although his thoughts were only that "amd64 is a bit unstable so that should be the problem" What is the way to go when moving from amd64 to i386 ? If you mean "how do I install an i386 kernel on this machine", I can't think of any way except to start from scratch. It would be a good idea to install a separate disk, so you can access the configuration files and the database on the old disk. But before doing this, I'd be very interested in knowing what the problem is. Is the backtrace always the same? Where does it crash? After doing some testing this is what I found out: 1) Exchanging memory on the machine did not work. Same error. 2) Trying it on another 64 bit machine with same FreeBSD (RC1) creates EXACT same problem 3) Installing the i386 version of RC1 instead of amd64 on the same machines and it works terrific. No crash. Hmm. That's interesting. This is obviously not a hardware issue. The bt is always the same and it always crash the same, look here: #784 0x in ?? () #785 0x247c8d48002454ff in ?? () #786 0x01a1c0c748006a10 in ?? () #787 0x66fdebf4050f in ?? () #788 0x90909066 in ?? () #789 0x7fffe778 in ?? () #790 0x0006 in ?? () #791 0x7fffe7b0 in ?? () #792 0x0017 in ?? () Cannot access memory at address 0x8000 Without function names instead of ??, it's impossible to say what's happening here. You'd need to build with debug symbols. Since you've been told that this is an issue, it would be good to know more. As we've mentioned on other threads, there are reasons to believe that there are problems with the threading libraries, but currently we don't have enough information to investigate them. Note that the other recent thread refers to problems running in the configuration you have just installed: see http://bugs.mysql.com/bug.php?id=12251 for more details. If you see anything similar, please let us know. After doing alot of testing and trying this is some more new information: It actually DO crash on i386 FreeBSD 6.0-RC1 aswell, but very seldom (around once every 4-5th hour, this time we get a Signal 10 instead, see below). The errors are reproducable for MySQL 4.1.15 and MySQL 5.0.15 so the problem still exists on 5.0.15. Of course we have tried on different machines aswell to make sure it's not hardware related. On a FreeBSD 5.3 machine Mysql 4.1.15 works fine. mysqld got signal 10; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. key_buffer_size=1048576 read_buffer_size=131072 max_used_connections=99 max_connections=400 threads_connected=44 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 461820 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Moving down from amd64 to i386 ??
Hi! After doing some testing this is what I found out: 1) Exchanging memory on the machine did not work. Same error. 2) Trying it on another 64 bit machine with same FreeBSD (RC1) creates EXACT same problem 3) Installing the i386 version of RC1 instead of amd64 on the same machines and it works terrific. No crash. The bt is always the same and it always crash the same, look here: #784 0x in ?? () #785 0x247c8d48002454ff in ?? () #786 0x01a1c0c748006a10 in ?? () #787 0x66fdebf4050f in ?? () #788 0x90909066 in ?? () #789 0x7fffe778 in ?? () #790 0x0006 in ?? () #791 0x7fffe7b0 in ?? () #792 0x0017 in ?? () Cannot access memory at address 0x8000 Greg 'groggy' Lehey wrote: On Wednesday, 12 October 2005 at 9:27:17 +0200, Stefan Cars wrote: Hi! We are having troubles with MySQL 4.1 on a amd64 (it's crashing randomly with Seg fault, signal 11. gdb bt says: Cannot access memory at address 0x8000). We have got information saying this is a 64bit related issue and should be fixed by using the i386 version instead of amd64 (this is an Intel Xeon). Where did you get that information from? What is the way to go when moving from amd64 to i386 ? If you mean "how do I install an i386 kernel on this machine", I can't think of any way except to start from scratch. It would be a good idea to install a separate disk, so you can access the configuration files and the database on the old disk. But before doing this, I'd be very interested in knowing what the problem is. Is the backtrace always the same? Where does it crash? 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Moving down from amd64 to i386 ??
Hi! From what I understand linuxthreads isn't available on amd64 ? What could cause one mysqld process / thread to crash almost every 4th minute like this ? /S Olivier Nicole wrote: We are having troubles with MySQL 4.1 on a amd64 (it's crashing randomly with Seg fault, signal 11. gdb bt says: Cannot access memory at address I am using Mysql 4.1.13 build from the ports, with options BUILD_OPTIMIZED=yes BUILD_STATIC=yes WITH_LINUXTHREADS=yes on an amd64 machine without any trouble. olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Moving down from amd64 to i386 ??
Hi! We are having troubles with MySQL 4.1 on a amd64 (it's crashing randomly with Seg fault, signal 11. gdb bt says: Cannot access memory at address 0x8000). We have got information saying this is a 64bit related issue and should be fixed by using the i386 version instead of amd64 (this is an Intel Xeon). What is the way to go when moving from amd64 to i386 ? /S ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: moving everything except a directory
Hello, you may use find ~ - -exec mv {} BTW: your mail is out of date. best wishes, Stefan --On 30. September 2005 17:40:00 -0500 Brian John <[EMAIL PROTECTED]> wrote: Say I am at ~ and I have 10 directories inside named 1, 2, 3, 4 ,5, 6, 7, 8, 9 and 10. What command can I use to move everything but directory 2? What if I wanted to move everything but directories 2 and 7? I'm not sure how to use the mv command to do this in 1 comand. Thanks /Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vmware 5 and other needs
Hi, I hope the "FreeBSD people are reading the mailing list. --On 14. September 2005 02:26:56 -0500 Eric Kjeldergaard <[EMAIL PROTECTED]> wrote: That's probably something to talk to the vmware people about. Freebsd could always use a little more attention from software vendors. to add here something which is maybe much more important and a strong need for servers: native support for IBMs Tivoli Storage Manager! The linux version is not working like in Linux :( best wishes, Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
vmware 5
Hello, will there be a vmware port with version 4 or 5 some day or is there another possibility to run these versions with with FreeBSD 5.4? I have found some discussion about qemu, but I did not really understand if this helps to use the more recent vmware versions or if it just replaces vmware. Can anyone point me to a good starting point for reading about this technology? I tested CrossOver Office on my linux box and it's far away from being a replacement for the vmware solution. In my opinion the newer versions should be availalbe, because it's hard to swith to FreeBSD, if you do not own an old vmware license. best wishes, Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 5.4-RELEASE and VMWare 3.2.1 build-2242
Hi, --On 12. September 2005 15:44:45 +0200 Matthias Apitz <[EMAIL PROTECTED]> wrote: The goal is that I want to switch over from SuSE 8.1 to FreeBSD and if possible copy over as well my VWware disks from the old installation to VMware on FreeBSD. Will this work? AFAIK, you can only use your vmware disks with vmware version 3 if they have not been created or used by a newer major release of vmware! If you use now 4.x or 5.x you will probably not be able to use them, you may check the vmware documentation at the vendors site for more information. best wishes, Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: installing 5.4 on RAID1 using Promise TX2200
I think I just cracked it! After initially creating the mirror with the live filesystem from the installation cd, I used the expert install mode... there is an option to re-scan for devices there... then the ar0 device is present. I'm installing now. hope it works. - stefan On Jul 22, 2005, at 8:37 PM, Stefan Foulis wrote: I just got an Promise TX2200 "RAID" Controller and 2x250GB SATA Drives for my new webserver. As soon as I define a raid of some sort, the installation cd just reboots the system. I think that happens at the stage where the kernel should be loaded. I've used the TX2000 with IDE drives before. There I had similar problems. I learned that the BIOS on the controller should not be used to define the array. What I did back then: - do not define the array with the Controller BIOS - boot from the install cd, start the live-filesystem - use atacontrol to define the array - install freebsd to the new ar0 device (I'm not sure anymore if that device just turned up or I had to reboot first) - everything works fine This doesn't seem to work with the TX2200 anymore. I can define the mirror from the live-filesystem, but the ar0 device does not turn up. Once I try boot from the installation cd again, I end up in the endless reboot cycle. The default FreeBSD kernel can handle the controller though. If install freebsd on a seperate harddisk, there are no problems utilizing the mirrored disks with atacontrol. The system boots normally. I can format and mount the filesystem, recover from removing one of the disks etc. Does the installation CD use a different kernel than a default system? I tried installing using /stand/systinstall (after booting the other installation on the seperate hd). But I could not get it to install correctly. It would just overwrite the existing installation... Any pointers? - Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
installing 5.4 on RAID1 using Promise TX2200
I just got an Promise TX2200 "RAID" Controller and 2x250GB SATA Drives for my new webserver. As soon as I define a raid of some sort, the installation cd just reboots the system. I think that happens at the stage where the kernel should be loaded. I've used the TX2000 with IDE drives before. There I had similar problems. I learned that the BIOS on the controller should not be used to define the array. What I did back then: - do not define the array with the Controller BIOS - boot from the install cd, start the live-filesystem - use atacontrol to define the array - install freebsd to the new ar0 device (I'm not sure anymore if that device just turned up or I had to reboot first) - everything works fine This doesn't seem to work with the TX2200 anymore. I can define the mirror from the live-filesystem, but the ar0 device does not turn up. Once I try boot from the installation cd again, I end up in the endless reboot cycle. The default FreeBSD kernel can handle the controller though. If install freebsd on a seperate harddisk, there are no problems utilizing the mirrored disks with atacontrol. The system boots normally. I can format and mount the filesystem, recover from removing one of the disks etc. Does the installation CD use a different kernel than a default system? I tried installing using /stand/systinstall (after booting the other installation on the seperate hd). But I could not get it to install correctly. It would just overwrite the existing installation... Any pointers? - Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD's Visual Identity: Outdated?
It was fun while it lasted. Please stop. If you have to, move this to chat. -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
dot.logout
> I have several files and directories added to the skel location > that are propagated to new user creations. You shouldn't have any > trouble at all as long as it doesn't have the same name as one > of the standard system files, since these will be overwritten > in the 'make installworld' process. Yes that's a way to work around. But it would be nice to have this file by default. -Stefan -- GPG-encrypted mail welcome! --> ID:E970FCBE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
dot.logout
Hi. FreeBSD provides a bunch of helpful configuration files under /usr/share/skel. But in my opinion one important file isn't there (dot.logout). NetBSD for example has such a dot.logout file. I know that there is a system-wide logout file under /etc but it would be nice to have one for each user by default. Is it possible to add a default /usr/share/skel/dot.logout file to FreeBSD? -Stefan -- GPG-encrypted mail welcome! --> ID:E970FCBE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Gateway ALR 9200
Am 26.06.2005 um 20:33 schrieb Brian Duke: I picked up one of these and would like to run FreeBSD this beast. Please familiarize yourself with the FreeBSD mailing list etiquette. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ eresources.html#ERESOURCES-MAIL While people on this list might or might not have ideas about what to try, -questions or -stable is the proper forum. If you have specific experiences with FreeBSD on this hardware, I'm sure people on -smp would love to hear about it. At any rate, people who are able to help you will probably require a more detailed failure description. Stefan The BTX loader fails right after the initial setup screen. I press any option except install prompt and it fails. I have : Gateway ALR 9200 4 processor xeon 500's 1 gig ram 1 adaptec 3200S scsi card running modified raid 5 6 drives. 2 sets of striped 3 and mirrored. I am having a difficult time finding anything that will load in this box. I prefer FreeBSD if possible. I've googled for a couple days and didn't find much help. Can someone help me get past this first hurdle? The OS I am loading is currently FreeBSD 5.3 I went to adaptec and found some information about FreeBSD 4.11 and tried that version as well. I can get Solaris 10 to load but it fails to find the raid as a valid drive. Fedora Core 2 also boots and says it can't find a drive. The Raid boots up fine and builds with no faults. I have an adaptec driver for FeeBSD but I need to install enough OS to pkg_add the file. When I install a little 850 meg IDE drive and set that to master, Still the btx loader dies. Here is what the final screen says: /boot/kernel/acpi.ko text=0x3fbfc data=0x1c04+0x112c syms=[0x4+0x72f0+0x4+0x97c7] / int=000d err= efl=00030002 eip=5755 eax=0001 ebx=0008 ecx=39ff edx=0082 esi=579c edi=e873 edi=03ba esp=037e cs=f000 ds=0040 es=f000 fs=9dc0 gs=f000 ss=9c46 cs:eip=2e 0f 01 14 0f 20 c0 0c-01 0f 22 c0 eb 00 8e db 8e c3 8e e3 8e eb 0f 20-c0 24 fc 0f 22 c0 ea 78 ss:esp=11 64 08 00 01 00 00 00-00 f0 c0 9d 02 02 51 e8 05 00 c2 ee 05 00 00 f0-00 00 1a 7d c4 5e dd e6 BTX Halted I think I copied all that correctly. Has anyone got a quick idea why this fails right off? Brian Duke 303-952-4983 Blue Incorporated. -=-_-==--=_-=┐ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch- [EMAIL PROTECTED]" -- Stefan Bethke <[EMAIL PROTECTED]> Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Samba problems
Could you output the /etc/fstab? As far as I know, the major difference is that writing to NTFS isn't fully supported in Linux (last I checked). Maybe there is something Samba tries to do, that conflicts with that. Other than that I don't know, sorry. :-) Regards, Stefan Haglund On Sat, 26 Mar 2005 16:59:11 +0100 Stefan Haglund <[EMAIL PROTECTED]> wrote: First of all, make sure those mounts are accessible for normal users, if you haven't. It's under the options for the mount in /etc/fstab, I think. You can always do a 'man fstab' if unsure. Does the username/password (check out 'smbpasswd') you are using to connect to samba exist in the samba user database? If not, samba won't know who you are, and will use the default guest user to access files (usually very restricted). That might be why you can access the mounts when you log in to the server, but not through server. If you go with the first, ALL users will have access. If you want to restrict it to, say, a certain group, you have to go with the second solution I think (and add users in the samba user database). Hope I got the issue correctly, else I dunno :-). Regards, Stefan Haglund Hello, Thank you for your reply. I am using the security level "SHARE" with "guest" enabled (I have only two machines on my network). The mounts are accessible by normal users (like "ale"), the permissions in '/mnt/w2k/' are 'rwxr-xr-x', the owner is "root" and group "wheel". I would like to add that I also have another share that is a FAT32 partition (WinXP) and I can browse it from the other machine (like everything else). I tried to map the guest account to the user "ale" that I use (and I can access '/mnt/w2k'), but nothing happened. This only happens in a NTFS mount point. The files and directories show as truncated, and I can not "see" (determine size, copy, determine if it is a file or directory, etc.) them until I do an operation over them with any normal user in the server, then I can see the files/dirs affected by the operation I did (ls, etc.). Before I only see the entries (names) without attributes (permissions, directory flag, etc.). Thanks and Best Regards, Ale ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Samba problems
First of all, make sure those mounts are accessible for normal users, if you haven't. It's under the options for the mount in /etc/fstab, I think. You can always do a 'man fstab' if unsure. Does the username/password (check out 'smbpasswd') you are using to connect to samba exist in the samba user database? If not, samba won't know who you are, and will use the default guest user to access files (usually very restricted). That might be why you can access the mounts when you log in to the server, but not through server. If you go with the first, ALL users will have access. If you want to restrict it to, say, a certain group, you have to go with the second solution I think (and add users in the samba user database). Hope I got the issue correctly, else I dunno :-). Regards, Stefan Haglund Hello, I am using FreeBSD 5.3 with Samba 3.0.7,1. I can read all files from a Windows 2000 Pro. But when I try to access a mount point that is an NTFS filesystem, I have no read permission (files and directories appear as zero length files) until I access them from the server machine (like doing an 'ls'). My configuration file is as follows: = BEGIN = # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2004/12/11 19:24:02 # Global parameters [global] workgroup = VARNET server string = FreeBSD 5.3 security = SHARE log file = /var/log/samba/log.%m max log size = 50 dns proxy = No [mnt] comment = Mounted Filesystems path = /mnt guest ok = Yes [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [ale] comment = Ale's Home DIrectory path = /home/ale guest ok = Yes = END === Note: I have subdirectories under '/mnt' like 'w2k', 'wxp', 'cam', and 'tmp'. What am I doing wrong? Thanks and Best Regards, Ale ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: File corruption on uploaded files occuring (even under light load)
Sorry, should have added that it's in FreeBSD 5.3. Does anyone know if there is any way to stress-test the PCI bus (preferably without external cards)? Regards, Stefan Haglund I have an IWILL KK266-R (VIA KT133A/686B) board with an 1.4GHz processor running as a FreeBSD file & web server. The NIC is an Intel EtherExpress PRO/100 (I think it's called, fxp anyway). This board has an AMI RAID controller (CMD 649) onboard, which I use for all four drives (although not in RAID). My problem: Files uploaded to this server are sometimes corrupted. It doesn't have to be under high load, like directly uploading from a computer. It can also occur when I'm downloading from the internet on a computer, and save the file to the server. Another thing that is wierd, is that when the computer is fresh from a boot, there is always a few netstat Oerrs (5-30 I've seen this far) errors occuring when downloading or uploading, and never again. I have run mprime stresstest for a good while, with no complaints. I have also tried another NIC, and also moving the NIC to other PCI slots. I've tried with kernels without APIC, tried disabling ACPI, and I've also disabled throttling. My friend is running a similar setup on his server, although a KT266A chipset, and no RAID controller (southbridge IDE), and it is solid as a rock. Anyone have any ideas what might be causing these corruptions? Chipset? NIC? RAID controller? Regards, Stefan Haglund ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
File corruption on uploaded files occuring (even under light load)
I have an IWILL KK266-R (VIA KT133A/686B) board with an 1.4GHz processor running as a FreeBSD file & web server. The NIC is an Intel EtherExpress PRO/100 (I think it's called, fxp anyway). This board has an AMI RAID controller (CMD 649) onboard, which I use for all four drives (although not in RAID). My problem: Files uploaded to this server are sometimes corrupted. It doesn't have to be under high load, like directly uploading from a computer. It can also occur when I'm downloading from the internet on a computer, and save the file to the server. Another thing that is wierd, is that when the computer is fresh from a boot, there is always a few netstat Oerrs (5-30 I've seen this far) errors occuring when downloading or uploading, and never again. I have run mprime stresstest for a good while, with no complaints. I have also tried another NIC, and also moving the NIC to other PCI slots. I've tried with kernels without APIC, tried disabling ACPI, and I've also disabled throttling. My friend is running a similar setup on his server, although a KT266A chipset, and no RAID controller (southbridge IDE), and it is solid as a rock. Anyone have any ideas what might be causing these corruptions? Chipset? NIC? RAID controller? Regards, Stefan Haglund ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problems with ipfw2 ?
Hi! I have a very strange problem with our firewall using ipfw2. Below is my configuration file. The firewall is a briding firewall (em2,em3). After a few seconds (7-12 seconds) of ICMP pings to a machine behind the firewall suddenly starts blocking all traffic to that specific host. This is also true for networks that I have permitted at the top of the config. It rejects everything regardless of any rules I have made. Any ideas anyone ? # Trusted networks add permit ip from /28 to any add permit ip from /26 to any add permit ip from /25 to any add permit ip from any to any established # DNS add permit ip from any to any 53 # ICMP add permit icmp from any to any # HTTP add permit ip from any to any 80 add permit ip from any to any 443 # SSH add permit ip from any to any 22 # Deny everything else add deny ip from any to any ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: where is autoconf
Kris Kennaway wrote: Well, I was looking for 'autoconf' in these files but didn't find it. And indeed, even though I have 'autoconf-2.59_2' installed, all I have is 'autoconf259', but not 'autoconf'. This is necessary because the autoconf developers don't understand why backwards compatibility is important for their tools (new versions like 2.59 cannot be used to build old applications that were written for e.g. 2.13, nor can multiple versions of autoconf be easily installed concurrently). I'm aware of these (very unfortunate) incompatibilities, though I had expected the problem to be dealt with differently (for example by setting a symbolic link to the currently active version). You can use the gnu-autoconf and related ports, which installs into /usr/local/gnu-autotools so they do not poison the build environment of other ports. YOu might have to play games with PATH or other variables to get your application to find them. Ok, thanks for the explanation. Regards, Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: where is autoconf
Hi Thomas, > Did you install any of these ports of autoconf? yes, autoconf-2.59_2 is currently installed. > Remember the ports tree is a skeleton of potential applications you can > install, they are not the actual installed apps themselves.. be sure and > read the Ports/Packages section of the handbook : > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html " A pkg-plist file. This is a list of all the files that will be installed by the port. It also tells the ports system what files to remove upon deinstallation." Well, I was looking for 'autoconf' in these files but didn't find it. And indeed, even though I have 'autoconf-2.59_2' installed, all I have is 'autoconf259', but not 'autoconf'. > What are you attempting to install that requires autoconf? I'm trying to compile my own code, and my build system has a toplevel 'autogen.sh' file that runs 'autoconf' in a number of places. Regards, Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
where is autoconf
hi there, I'm quite new to freebsd, so please forgive my ignorance. I'v just installed freebsd on a free partition, and I try to get familiar with the system. Ultimately I'd like to try to port applications I develop on linux to freebsd. The first issue I run into is that I'm unable to find an 'autoconf' executable. I'v found different versions as ports and packages, but they all only seem to contain autoconf, where is one of [213, 253, 259]. What am I doing wrong ? Thanks, Stefan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"