messages.
People, Appended is my /var/log/messages file. After I upgraded to my new 6.3-PRE kernel, this is what I see. I'm pretty sure that the CAM complaints are why my sound has vanished. Apended. -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org Dec 18 00:10:12 tao2 syslogd: kernel boot file is /boot/kernel/kernel Dec 18 00:10:12 tao2 kernel: Copyright (c) 1992-2007 The FreeBSD Project. Dec 18 00:10:12 tao2 kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Dec 18 00:10:12 tao2 kernel: The Regents of the University of California. All rights reserved. Dec 18 00:10:12 tao2 kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Dec 18 00:10:12 tao2 kernel: FreeBSD 6.3-PRERELEASE #3: Mon Dec 17 23:39:08 PST 2007 Dec 18 00:10:12 tao2 kernel: [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TAO Dec 18 00:10:12 tao2 kernel: Timecounter i8254 frequency 1193182 Hz quality 0 Dec 18 00:10:12 tao2 kernel: CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2386.57-MHz 686-class CPU) Dec 18 00:10:12 tao2 kernel: Origin = GenuineIntel Id = 0xf27 Stepping = 7 Dec 18 00:10:12 tao2 kernel: Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Dec 18 00:10:12 tao2 kernel: Features2=0x400CNXT-ID Dec 18 00:10:12 tao2 kernel: real memory = 1073180672 (1023 MB) Dec 18 00:10:12 tao2 kernel: avail memory = 1036984320 (988 MB) Dec 18 00:10:12 tao2 kernel: MPTable: DELL Dim 8200 Dec 18 00:10:12 tao2 kernel: ioapic0: Changing APIC ID to 1 Dec 18 00:10:12 tao2 kernel: ioapic0: Assuming intbase of 0 Dec 18 00:10:12 tao2 kernel: ioapic0 Version 2.0 irqs 0-23 on motherboard Dec 18 00:10:12 tao2 kernel: kbd1 at kbdmux0 Dec 18 00:10:12 tao2 kernel: ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) Dec 18 00:10:12 tao2 kernel: cpu0 on motherboard Dec 18 00:10:12 tao2 kernel: pcib0: MPTable Host-PCI bridge pcibus 0 on motherboard Dec 18 00:10:12 tao2 kernel: pci0: PCI bus on pcib0 Dec 18 00:10:12 tao2 kernel: agp0: Intel 82850 host to AGP bridge mem 0xf400-0xf7ff at device 0.0 on pci0 Dec 18 00:10:12 tao2 kernel: pcib1: MPTable PCI-PCI bridge at device 1.0 on pci0 Dec 18 00:10:12 tao2 kernel: pci1: PCI bus on pcib1 Dec 18 00:10:12 tao2 kernel: pci1: display, VGA at device 0.0 (no driver attached) Dec 18 00:10:12 tao2 kernel: pcib2: MPTable PCI-PCI bridge at device 30.0 on pci0 Dec 18 00:10:12 tao2 kernel: pci2: PCI bus on pcib2 Dec 18 00:10:12 tao2 kernel: csa0: CS4280/CS4614/CS4622/CS4624/CS4630 mem 0xfeaff000-0xfeaf,0xfe90-0xfe9f irq 18 at device 9.0 on pci2 Dec 18 00:10:12 tao2 kernel: csa: card is Turtle Beach Santa Cruz Dec 18 00:10:12 tao2 kernel: csa0: [GIANT-LOCKED] Dec 18 00:10:12 tao2 kernel: pcm0: CS461x PCM Audio on csa0 Dec 18 00:10:12 tao2 kernel: pcm0: Cirrus Logic CS4297A AC97 Codec Dec 18 00:10:12 tao2 kernel: pcm0: [GIANT-LOCKED] Dec 18 00:10:12 tao2 kernel: rl0: RealTek 8139 10/100BaseTX port 0xec00-0xecff mem 0xfeafec00-0xfeafecff irq 19 at device 10.0 on pci2 Dec 18 00:10:12 tao2 kernel: miibus0: MII bus on rl0 Dec 18 00:10:12 tao2 kernel: rlphy0: RealTek internal media interface on miibus0 Dec 18 00:10:12 tao2 kernel: rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Dec 18 00:10:12 tao2 kernel: rl0: Ethernet address: 00:e0:7d:f7:6e:2e Dec 18 00:10:12 tao2 kernel: isab0: PCI-ISA bridge at device 31.0 on pci0 Dec 18 00:10:12 tao2 kernel: isa0: ISA bus on isab0 Dec 18 00:10:12 tao2 kernel: atapci0: Intel ICH2 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 Dec 18 00:10:12 tao2 kernel: ata0: ATA channel 0 on atapci0 Dec 18 00:10:12 tao2 kernel: ata1: ATA channel 1 on atapci0 Dec 18 00:10:12 tao2 kernel: uhci0: Intel 82801BA/BAM (ICH2) USB controller USB-A port 0xff80-0xff9f irq 19 at device 31.2 on pci0 Dec 18 00:10:12 tao2 kernel: uhci0: [GIANT-LOCKED] Dec 18 00:10:12 tao2 kernel: usb0: Intel 82801BA/BAM (ICH2) USB controller USB-A on uhci0 Dec 18 00:10:12 tao2 kernel: usb0: USB revision 1.0 Dec 18 00:10:12 tao2 kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Dec 18 00:10:12 tao2 kernel: uhub0: 2 ports with 2 removable, self powered Dec 18 00:10:12 tao2 kernel: pci0: serial bus, SMBus at device 31.3 (no driver attached) Dec 18 00:10:12 tao2 kernel: uhci1: Intel 82801BA/BAM (ICH2) USB controller USB-B port 0xff60-0xff7f irq 23 at device 31.4 on pci0 Dec 18 00:10:12 tao2 kernel: uhci1: [GIANT-LOCKED] Dec 18 00:10:12 tao2 kernel: usb1: Intel 82801BA/BAM (ICH2) USB controller USB-B on uhci1 Dec 18 00:10:12 tao2 kernel: usb1: USB revision 1.0 Dec 18 00:10:12 tao2 kernel: uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Dec 18 00:10:12 tao2 kernel: uhub1: 2 ports with 2 removable, self powered Dec 18 00:10:12 tao2
Re: ipfw rules for all interfaces not working ...
On Monday 17 December 2007 19:06:29 Gore Jarold wrote: My main goal is to lock down my ipfw rules so that when I run nmap, all I see is: Interesting ports on 192.168.0.10: Not shown: 1677 closed ports PORTSTATE SERVICE 22/tcp open ssh MAC Address: 00:12:D8:A2:23:C2 Nmap finished: 1 IP address (1 host up) scanned in 9.791 seconds So that means I will need to explicitly block all ports except for the ones I have real servers running on. That's easy. The problem is, this is a laptop and so sometimes iwi0 exists and sometimes it doesn't, and sometimes xl0 exists and sometimes it doesn't ... and that is why my ipfw rules look like this: 00010 00 allow ip from any to any via lo0 00020 00 deny ip from any to 127.0.0.0/8 01000 18134 10505749 allow tcp from any to any established 04000 149884280 allow icmp from any to any 0400127 1728 allow tcp from any to any dst-port 22 setup 04008 00 deny log logamount 100 ip from any to any recv all 65535 15202 2569754 allow ip from any to any See - in rule 04008, I say to deny ip from any to any recv all - so that no matter what interface(s) I have up, and no matter what their addresses are, this one deny rule will apply to them. THe problem is, it doesn't work. As you can see, the counter on that rule is zero, and when I nmap the system I can see things like samba and http, etc., even though the only port I am allowing through is TCP 22. Why is this ? Because there is no all keyword :) ipfw tries to match an interface named all there. Check how these rules match your needs. The first one creates states for connections initiated by your machine to the world allowing related incoming traffic to come back. The second allows all to your TCP port 22. The third denies and logs everything else. ipfw add 1000 allow ip from me to any keep-state ipfw add 2000 allow tcp from any to me dst-port 22 ipfw add 3000 deny log logamount 0 ip from any to any The above ruleset is a minimal example. Modify as needed to limit logamount, allow ICMP etc. HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(no subject)
1)What are the three basic types of handheld devices? 2)Which device is used in an environment that needs extended coverage but backbone access is not practical or is unavailable? 3)What is the recommended maximum distance that can be bridged between a Cisco 350 access point and any wireless client? never say die,victory is certain. B.MABHANDE SYSTEMS OPERATIONS OFFICER ITDSR. EXT. 10102 # Note: This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The Reserve Bank Of Zimbabwe and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. Thank You. # ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: common filesystem for Linux and FreeBSD
Chad Perrin wrote: On Mon, Dec 17, 2007 at 10:39:31AM +0100, Ivan Voras wrote: Chad Perrin wrote: That being the case, there is some data I would like to keep available to both FreeBSD and Linux systems, in stable read/write access with reasonably high access performance for both (fast enough to achieve decent frame rates, for instance). This seems to rule out both ext3 and UFS2. What filesystem(s) meet(s) my needs in this case? Since you didn't state anything about reliability, ext2 will maybe help you :) I thought stable covered that. ext2fs is stable in the sense that there are no known bugs, and it's 100% compatible with Linux. It just works. Unless you get frequent power outages or similar hard errors, the lack of journaling shouldn't bother you much. signature.asc Description: OpenPGP digital signature
Re: (no subject)
On Dec 18, 2007 10:30 AM, Baxton Mabhande [EMAIL PROTECTED] wrote: 1)What are the three basic types of handheld devices? 2)Which device is used in an environment that needs extended coverage but backbone access is not practical or is unavailable? 3)What is the recommended maximum distance that can be bridged between a Cisco 350 access point and any wireless client? you are posting to the wrong list. please repost to [EMAIL PROTECTED] regards, usleep ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: common filesystem for Linux and FreeBSD
On Tue, Dec 18, 2007 at 11:06:15AM +0530, Girish Venkatachalam wrote: I generally shy away from any multiboot situation since I have few machines with me. Even then I too have to multiboot once in a while. I prefer to avoid multiboot as well, but for a while there it seemed unlikely that I'd be able to do everything on this system that I want to be able to do if all I have is FreeBSD. I've managed to realize that my impression of limitation was, in fact, a failure on my part -- and not on FreeBSD's -- some hours ago, however. As a result, it looks like I'll be able to solve the problem without installing some Linux distro after all. If FFS2 and EXT3 are ruled out, then what is remaining? ;) XFS? Maybe? My impression is that there isn't good UFS support in Linux, and that stable ext3 support is read-only in FreeBSD. If that's the case, then it really does seem to come down to a matter of figuring out whether XFS, JFS, or ReiserFS (to throw out a few examples) have stable read/write support in both Linux and FreeBSD systems. It is a tough choice indeed. Of course you could do a diskless boot off an NFS and use that as file system for communication between the two OSes. But for that you need another machine connected over LAN running NFS of course. Yeah . . . this is a laptop, and I use it while traveling, so that wouldn't really suit my needs in this case. I appreciate the attempt, though. Anyway, as you may have gathered from an above paragraph of mine, it looks like I'm probably not going to need the Linux system after all. Sorry if my answer was irrelevant but this is the best I could do. It would be pretty harsh of me to say your best wasn't good enough. Thanks for the effort to help. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Baltasar Gracian: A wise man gets more from his enemies than a fool from his friends. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to properly use -fprofile-use
Hello the list, I'm using dosbox to run an old game and as for all emulators, the CPU ressources needed are quite high. After playing with dosbox configuration there are almost no slowdowns anymore (yipee). So to remove the last few lag I started to look into gcc flags and in particular profiling which seems just great to optimize speed for one specific port. I deactivated ccache since it mess with the .gcda files creation, and after adding -fprofile-generate to CFLAGS and recompile it runs awfully slowly and a bunch of .gcda and .gcno are created in the work directory. So I believe this part works as it should. The problem is when I later recompile: replace -fprofile-generate by -fprofile-use then make -DFORCE_PKG_REGISTER install clean, the first thing make do is... delete the .gcda (but not the .gcno). Quite annoying isn't it? I then have a lot of warning complaining about xxx.gcda not found. My question is, how should I do to correctly use profiling for a port? In src.conf (I use RELENG_7) I have WITHOUT_PROFILE, does it have any influence? Best regards Frederic ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH through port forwarding
On December 18, 2007 at 12:47AM sham khalil wrote: On Dec 18, 2007 12:08 PM, Bill Campbell [EMAIL PROTECTED] wrote: On Mon, Dec 17, 2007, Andrew Falanga wrote: Hi, I'm having a difficult time working with my father to get the port forwarding working on his Linksys router to forward SSH requests to his FreeBSD machine at home. As near as we can figure, it's setup correctly. In case anyone here uses this router it is WRT54G and details (including a users manual) can be found at, http://www.linksys.com/servlet/Satellite?c=L_Product_C2childpagename=US%2FLayoutpagename=Linksys%2FCommon%2FVisitorWrappercid=1149562300349 . Now, I'm in Idaho and he's in NY (which does make things difficult). Is there any special tricks to setting up port forwarding for SSH? Probably should have checked this first, but I'm going to go look on the handbook too, just to see. It should Just Work(tm). I don't have one of those handy, but port forwarding is generally under the Advanced tab Linksys routers. It may be called Games or something like that. Forward port 22, ssh, to the internal IP and save the settings. Generally one should have a fixed internal IP for forwarding as DHCP assigned IP addresses may change. once you open port 22 to public ip, you'll get people try to bruteforce your machine. if you don't want that set sshd to listen to a higher number like 5522 then forward port 5522 from the router to the internal machines. unfortunately for wrt54g, you can't forward port 5522 to 22 for internal machine. Security through obscurity is a poor substitute for security. Port scanners will eventually find that port also. Have you checked to see if a firewall is set up that could be blocking the port? -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: common filesystem for Linux and FreeBSD
On Tue, Dec 18, 2007 at 11:06:30AM +0100, Ivan Voras wrote: Chad Perrin wrote: On Mon, Dec 17, 2007 at 10:39:31AM +0100, Ivan Voras wrote: Chad Perrin wrote: That being the case, there is some data I would like to keep available to both FreeBSD and Linux systems, in stable read/write access with reasonably high access performance for both (fast enough to achieve decent frame rates, for instance). This seems to rule out both ext3 and UFS2. What filesystem(s) meet(s) my needs in this case? Since you didn't state anything about reliability, ext2 will maybe help you :) I thought stable covered that. ext2fs is stable in the sense that there are no known bugs, and it's 100% compatible with Linux. It just works. Unless you get frequent power outages or similar hard errors, the lack of journaling shouldn't bother you much. Ah, I understand your meaning now. I thought you meant reliable operation, and you just meant to refer to the fault-tolerance of the filesystem itself. Much clearer now. Thanks. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Leon Festinger: A man with a conviction is a hard man to change. Tell him you disagree and he turns away. Show him facts and figures and he questions your sources. Appeal to logic and he fails to see your point. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (no subject)
You need to do some reading on your own. Your questions are general enough that some Googling around the Internet should give you what you need. After having done sufficient reading on your own, if you still have questions, then come back. Show some initiative; don't expect us to spoon-feed you. SC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH through port forwarding
Security through obscurity is a poor substitute for security. Port scanners will eventually find that port also. Have you checked to see if a firewall is set up that could be blocking the port? Not a thorough check, but my father did turn off the firewall system on that linksys router. I believe he checked some box that basically opened up everything. I'm expecting that it's more likely what someone else said earlier that the ISP may be blocking it. I say this for two reasons: 1) When a connection attempt is made, the error I get is a time out not a refusal to connect. No pun intended but that smells, or should I say sniffs, of a firewall. 2) On a different system that I help build here in Boise, I'm getting the same problem when we set it up at my friends house. Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
timekeeping on jail servers
Hi, Been searching around without results: Has anyone come up with a decent way to do timekeeping on a jail server? ntpd(8) binds to all addresses, and I'd rather not do a ntpdate out of cron. Thanks, ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Now Shipping: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: common filesystem for Linux and FreeBSD
Ivan Voras wrote: ext2fs is stable in the sense that there are no known bugs, and it's 100% compatible with Linux. It just works. Unless you get frequent power outages or similar hard errors, the lack of journaling shouldn't bother you much. I suggest that ext2+noatime is going to give him much better performance vs. ext3 anyway. -- Said one park ranger, 'There is considerable overlap between the intelligence of the smartest bears and the dumbest tourists.' Mark D. Foster, CISSP [EMAIL PROTECTED] http://mark.foster.cc/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: timekeeping on jail servers
In response to Michael W. Lucas [EMAIL PROTECTED]: Hi, Been searching around without results: Has anyone come up with a decent way to do timekeeping on a jail server? ntpd(8) binds to all addresses, and I'd rather not do a ntpdate out of cron. I'm not entirely sure I comprehend where you're having trouble, Michael, but we use openntpd on all our systems, specifically because you can tell it what addresses to bind to. Hope that helps. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: timekeeping on jail servers
On Tue, Dec 18, 2007 at 11:02:12AM -0500, Bill Moran wrote: In response to Michael W. Lucas [EMAIL PROTECTED]: Hi, Been searching around without results: Has anyone come up with a decent way to do timekeeping on a jail server? ntpd(8) binds to all addresses, and I'd rather not do a ntpdate out of cron. I'm not entirely sure I comprehend where you're having trouble, Michael, but we use openntpd on all our systems, specifically because you can tell it what addresses to bind to. That would be you don't have my problem. Openntpd will solve my problem. Thanks for all the pointers, including the dozen or so private ones! ==ml -- Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Now Shipping: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
audio again..., continuing.
This is the bottom blurb output by cat /dev/sndstat: Does anybody know how I did this? and how to undo? Somewhere I set the upper limits of my sound ard to 44100Hz, but don't remembr where... . thanks for any help. gary [pcm0:record:0:dsp0.0]: spd 44100, fmt 0x1010, flags 0x, 0x interrupts 0, overruns 0, hfree 4096, sfree 131072 [b:4096/2048/2|bs:131072/4096/32] {hardware} - feeder_root(0x1010) - {userland} [pcm0:play:0:dsp0.1]: spd 48000, fmt 0x1010, flags 0x00103000, 0x interrupts 65557, underruns 0, ready 0 [b:4096/2048/2|bs:4096/2048/2] {userland} - feeder_vchan_s16(0x1010) - {hardware} pcm0:play:0:dsp0.1[pcm0:virtual:0:dsp0.2]: spd 44100/48000, fmt 0x1010, flags 0x1000, 0x0010 interrupts 0, underruns 0, ready 0 [b:0/2048/0|bs:131072/4096/32] {userland} - feeder_root(0x1010) - feeder_rate(44100 - 48000) - {hardware} -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Redirecting output
I am trying to find out exactly what is the difference between: {command} 21 /dev/null and {command} dev/null 21 I have seen both used and have not been able to decipher what the difference is. It would seem that the first one would be the one that is correct. -- White Hat [EMAIL PROTECTED] Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup-mirror: clients never get past 'running' (server 100% idle)
Hugo Silva wrote: Hello, I've set up a local cvsup mirror for a freebsd server farm but I'm having some trouble making it work. I went with all the defaults on the install, only skipping gnats www and mail. The initial update went well, took awhile but I have all files in place now. However, when connecting to get src or ports, it'll never get past /usr/src# make update -- Running /usr/bin/csup -- Parsing supfile /root/cvsup/standard-supfile Connecting to 172.16.100.22 Connected to 172.16.100.22 Server software version: SNAP_16_1h Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running 73163 3002 1 440 7592K 3812K select 0 0:02 0.00% cvsupd It just stays idle forever... 3002 73163 0.0 0.2 7592 3812 ?? IJ7:07PM 0:01.58 /usr/local/sbin/cvsupd -e -C 10 -l @daemon -b /usr/local/etc/cvsup -s sup.client FreeBSD 7.0-BETA4/amd64, cvsupd is running inside a jail, on ZFS. What am I missing ? Regards, Hugo Proto Recv-Q Send-Q Local Address Foreign Address(state) tcp4 0 16479 172.16.100.22.5999 172.16.100.92.61642 ESTABLISHED Send-Q is 16479 on the server as soon as the client gets to the Running phase (and stalls), the client sees: tcp4 0 0 172.16.100.92.61642172.16.100.22.5999 ESTABLISHED I'm baffled and don't have much free time to chase this down right now, does this ring a bell to anyone at all ? No firewalls are running on either host, and they're in the same subnet.. Best regards, Hugo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Redirecting output
In the last episode (Dec 18), White Hat said: I am trying to find out exactly what is the difference between: {command} 21 /dev/null and {command} dev/null 21 (I assume you mean /dev/null 21 ) I have seen both used and have not been able to decipher what the difference is. It would seem that the first one would be the one that is correct. If you want to redirect both stderr and stdout to /dev/null, the 2nd is correct. Your first command does this: assign fd 2 to whatever fd 1 is pointing to assign fd 1 to /dev/null That leaves stderr going to wherever stdout usually goes (i.e. your tty), and stdout going to /dev/null. That might actually be what you want, depending on the program you're running. Your second command does this: assign fd 1 to /dev/null assign fd 2 to whatever fd 1 is pointing to I ran this test script with different redirections to verify what was going on: #! /bin/sh echo I am stdout echo I am stderr 12 -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(no subject)
I installed freebsd 6.2 on my IBM desktop. Try to config network interface. There are no Ethernet card shows. Only have plip0, sl0 and ppp0 showing. The Onboard Ethernet interface card in my motherboard is Intel(r) 82566DM-2 Gigabit network. Could you let me know what kinds of problem is. Is FreeBSD support this card or not? Thank you, Bin Cheng Test Development Engineer IronPort, A Cisco Business Unit 950 Elm Avenue San Bruno, CA 94066 Direct: 650.243.5852 Cell: 650.676.0249 [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: Fw: Can I install Free BSD latest version on my laptop with dual boot?
Hi, We would like to tune FreeBSD according to our business needs. Please forward some documents for how to compile the Free BSD kernel and how we can deploy our compiled version of Free BSD into a new machine. Please help me ASAP Cheers, B.Manikandan UK Manolis Kiagias [EMAIL PROTECTED] 03/12/2007 08:49 PM To: [EMAIL PROTECTED] cc: freebsd-questions@freebsd.org Subject:Re: Fw: Can I install Free BSD latest version on my laptop with dual boot? [EMAIL PROTECTED] wrote: In addition to the bellow mail, I giving processor details AMD Turion? 64 Mobile Technology SNIP Hi, Can I install Free BSD latest version on my laptop with dual boot (Windows Vista + Free BSD), my system configuration details are as follows HP Compaq Presario V3000z RAM - 1.5 GB DDR II 533MHz NVIDIA Graphics Card 6150 NVIDIA Chipset motherboard 80GB Fujitsu HDD Thanks in advance Cheers B.Manikandan UK Processor should pose no problem. Additionally, I find nvidia chipsets to be widely compatible with FreeBSD. You don't mention devices like wireless and ethernet, if you do know the models, you may be able to find if they are supported in the release notes / hardware compatibility of FreeBSD. The graphics card will be no problem with either the nv open source driver or the proprietary Nvidia from ports (or from nvidia directly). About your questions on dual boot, since I have a notebook dual booting (actually triple booting) Vista, FreeBSD and Linux I can give you some hand on information: - The info you have been given about Partition Magic, GParted and PartedMagic should work fine. You could use any of these tools to shrink your Windows Vista partition. Make sure Vista boots after this operation. The new MS loader seems to break rather easily. In the event it does not boot you will need a Vista DVD to boot and select to repair. This sounds more frightening than it really is, it does not happen often and the repair works (automatically). - When installing FreeBSD, when asked about the boot manager select NOT to install it. Do NOT let it touch the MBR. Vista uses a different loader from XP and it will probably fail to boot afterwards. - When installation is finished, you will not be able to boot into FreeBSD, but fear not. Boot into Vista and install the free EasyBCD program: http://neosmart.net/dl.php?id=1 With this, you can add the choice for FreeBSD to your Vista bootloader (a new system called BCD) . It is trivially easy to setup and works extremely well. Hope this helps. Manolis - This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK legal entities. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Updating/patching network card driver?
I installed FreeBSD 6.2 on my computer but the network card (bge) wasn't detected properly. On troubleshooting the problem I found the driver for this family of NICs isn't appropriate to my particular release. I would prefer to stay with the RELEASE branch but found an updated driver. In updating the driver, is it sufficient to replace the contents of /usr/src/sys/dev/bge with the updated version and then rebuild the kernel? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NIS Linux - Ubuntu
I've read most of what is out there on NIS - Linux interoperability. Unfortunately, nothing explains what we encountered on a FreeBSD 6.2 machine running NFS and NIS: 1. FreeBSD clients work as advertised, they interpret the password maps correctly; we export the server's /usr/home filesystem and users' home directories are automatically easily available. 2. ...just installed a clean Ubuntu 7.10 (newest) and set up NIS and he's STILL able to log in as ANY user without a password and can access their network drive when it's mounted Number 2 above scared the living daylights out of me. I checked permissions on the /usr/home directories, all set to 770 (each user in in their own group). The Ubuntu client could still walk all over this filesystem. Let me be clear: any valid username (as exported by the NIS maps) was authenticated with any password. Somehow Ubuntu was given root user permissions no matter what user was logged in. When we changed the /var/yp/Makefile to create maps with an 'x' instead of an '*' this fixed the problem but also resulted in no valid logins from the Ubuntu clients at all. And I have not checked the FreeBSD client machines to see how they deal with the 'x' in the password map but that doesn't matter; what concerns me is how Ubuntu was given free access over the filesystem...That makes NIS unuseable in our environment (a public high school) because what about Mac's? and other Linux-type clients? Can anyone shed a clue on what is occurring here? Seems like a dangerous hole in FBSD's NIS implementation. I know, I should move to Kerberos/LDAP but that realistically cannot happen until the summer. Thank you in advance for your help! RA Cohen Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fw: Can I install Free BSD latest version on my laptop with dual boot?
[EMAIL PROTECTED] wrote: Hi, We would like to tune FreeBSD according to our business needs. Please forward some documents for how to compile the Free BSD kernel and how we can deploy our compiled version of Free BSD into a new machine. Please help me ASAP Cheers, B.Manikandan UK Before actually tuning FreeBSD (or any other OS for that matter) to your business needs (which we don't know...) you should take more time to familiarize yourself with the system, perform test installs and so on. Also don't forget to read the documentation. FreeBSD has an excellent documentation set, comprising of FAQ, articles and an excellent handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ The handbook will answer most of your questions. Many others you will be able to answer yourself by experimenting and gaining experience. You will only get useful answers from the list if your questions are quite specific and you have done your homework beforehand. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
threading and dlopen()
Hi, please bear with me if the issue below sounds familiar[1]. I've done some more experiments to find out why the firebird client library crashes on my box. If you're familiar with threads and dynamic linking, please read on. I'm trying to fix the libdbi driver for the firebird database engine on FreeBSD. libdbi is a C library that your application can link to. libdbi dlopen()s drivers which are shared objects themselves and provide the specific code to talk to the database client libraries. libdbi works across several platforms and supports a variety of database engines - with the notable exception of firebird on FreeBSD. I can create and access firebird databases using the isql command line tool. I can build and run a simple test program which creates a firebird database, opens it, and closes it again. Now, if I use pretty much the same code, compile it into a shared object, and dlopen() it, the firebird client library invariably crashes with the following gdb output: #0 0x28535b36 in ThreadData::restoreSpecific() from /usr/local/lib/libfbclient.so.2 #1 0x2852ceb4 in return_success () from /usr/local/lib/libfbclient.so.2 #2 0x28525179 in REM_attach_database () from /usr/local/lib/libfbclient.so.2 #3 0x2851386a in isc_attach_database () from /usr/local/lib/libfbclient.so.2 #4 0x284ece8e in _dbd_real_connect () from /usr/local/lib/dbd/libdbdfirebird.so #5 0x284eba19 in dbd_connect () from /usr/local/lib/dbd/libdbdfirebird.so #6 0x2808011d in dbi_conn_connect () from /usr/local/lib/libdbi.so.0 #7 0x0804982a in main (argc=1, argv=0xbfbfea2c) at test_dbi.c:91 My (limited) analysis makes me think this is some sort of a threading issue aggravated by the fact that the code is dlopen()ed (remember the same code works ok if compiled into a standalone app). BTW the firebird client library is the only library supported by libdbi which uses threads. All other drivers do not use threads and work ok. The firebird driver works ok on a variety of other platforms, including Linux and as weird ones as Windows. It somehow hurts my pride that it fails on FreeBSD. Does anyone out there have an idea how to fix this odd problem? System is 6.1-RELEASE, firebird2-client 2.0.3_1 was built as a port, libdbi and libdbi-drivers (both current cvs versions) were built from the sources (not as ports). regards, Markus [1] http://lists.freebsd.org/pipermail/freebsd-questions/2007-December/164571.html -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with mhoenicka) http://www.mhoenicka.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Software Development
Dear Manager, Hope you are doing great! The purpose of this letter is to introduce you to CAT Technology Inc and our Offshore Dedicated Staff Development services. We have a plan, to cut your company's expenses and make it more profitable. Our prices just can't be ignored when you run a business. Investments for hiring a skilled offshore development team in India are much less due to cost of living differences. So, our client gets skilled Programmers at very less investment. The client also saves on employment taxes and other overheads. Thus start planning for future needs and get rid of the hassle of finding and retaining qualified programmers. CAT Offers: One Week trail period. For Integrating operating procedures and making them understand your larger organizational goals. Our Programmers work 48 Hrs a week.( Monday - Saturday ) Select candidates after interviewing. This will help you to bring qualified professional specialists as needed for the job. We have talented young professionals with an university education from the best universities, proficient in US - English, UK - English, Spanish, and German. Our Programmers work in your time zone. We have people supporting US and all other continents. We have a competitive edge as market leaders in India with lower cost of operation in sourcing skilled developers and designers. We have a plan, to cut your company's expenses and make it more profitable. Our prices just can't be ignored when you run a business. We have a dedicated team that specializes in documentation and technical writing with experience ranging from 4-10 years. We believe and respect your clients' confidentiality. We adhere to the highest standards of confidentiality and ensure maximum security during data transfer, storage and access. CAT Support team is available 24/7. Out Present Team size in INDIA: VB.Net/C# Developers: 50 Members Delphi Programmers: 18 Members JSP/ Java Programmers: 25 Members PHP Programmers: 20 Members PHP/Perl Programmers: 10 Members Web developers/Designers: 20 Members System/Network Administrators (MCSE) (CCNA) (CCNP):15 Members SQL Server DBA: 15 Members Oracle DBA : 8 Members ASP Programmers: 20 Members Game Developers: 13 Members Pocket PC Programmers: 10 Members VXML Developers : 10 Members Visual Fox Pro Programmers: 12 Members Access Developers: 10 Members QA testers: 15 Members SAP Consultants : 15 Members Visit us at--- www.cattechnologies.com We are the leading Offshore Development service company in INDIA. We align ourselves with our customers as partners to assist them in achieving their goals and objectives. We would be delighted to demonstrate our offshore Development services to you. Please let me know if you have any software Development work to Outsource? Dedicated Staff: When you set up an offshore development center with CAT, you get the following: All hardware, software licensing and office infrastructure already in place A dedicated team of professionals who will learn your business and become a part of your team. Seamless collaboration between offshore office and client project staff through live chat / email / voice / video .U.S. based contact point to manage all issues throughout the relationship and insure success of all projects. All staff assigned to your team will report directly to you or your project manager and follow your directives and timelines. Project Based: Are you looking for professionals to help you build your projects? If so, consider CAT as your world class partner. We will work closely with you to understand your project's requirements, deadlines, technologies and needs to determine the best team to make your project a success. Also, you can decide whether you plan to manage the project internally and utilize our development and testing resources, or prefer to have one of our project managers lead the team. Maintenance Projects: Just because your project is complete does not mean you don't need professional technical support for your existing applications. Our staff are available to you on a dedicated basis to review your existing applications and provide you the support and technical updates that are needed to maintain the competitiveness of your applications. If you are a new customer to CAT, ask us about our maintenance plans that enable you to take care of your application beyond the major development phase. Maintenance Services are available to your regardless where you had your application developed. Wide range of .Net Services we provide: 1. Application Development using .NET 2. Designing and Programming using .NET 3. Migration web based and other applications to .NET 4. Porting of Legacy applications to .NET based applications 5. Support and Enhancement of existing applications in .NET 6. User needs assessment / functional spec writing 7. Website architecture design 8. User Interface design 9. Graphic artwork development with Photoshop ImageReady 10. Database design 11. Stored
Re: Problem With PoEdit
Victor Subervi schrieb: I've never used X before...grown to love the command line ;) I didn't have X cranked up...don't even know how to do that. I just entered poedit at the command line and assumed X would kick in. Should I start X? How? TIA, Victor Basically: # su # cd # Xorg -configure # mv xorg.conf.new /etc/X11/xorg.conf # echo poedit .xinitrc # startx Here you go... (You might want to use a windowmanager though to be able to resice the poedit window to your needs) Tino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: threading and dlopen()
Am Dienstag, 18. Dezember 2007 21:34:33 schrieb Markus Hoenicka: My (limited) analysis makes me think this is some sort of a threading issue aggravated by the fact that the code is dlopen()ed (remember the same code works ok if compiled into a standalone app). BTW the firebird client library is the only library supported by libdbi which uses threads. All other drivers do not use threads and work ok. Have you tried compiling your program with gcc -fpic -pthread ... ? I don't have any more insight into this problem, at least as I'm not using dbi and as such am not able to reproduce it, but I'd guess that if your program doesn't conform to the platform's required thread semantics (which are turned on by -fpic -pthread) but uses code that does require this, you're bound for trouble. -- Heiko Wundram Product Application Development ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: threading and dlopen()
Heiko Wundram (Beenic) writes: Have you tried compiling your program with gcc -fpic -pthread ... ? I don't have any more insight into this problem, at least as I'm not using dbi and as such am not able to reproduce it, but I'd guess that if your program doesn't conform to the platform's required thread semantics (which are turned on by -fpic -pthread) but uses code that does require this, you're Thanks for the hint, but that didn't help. I've changed the appropriate acinclude.m4, Makefile.am, and configure.in files of both libdbi and libdbi-drivers to make sure that: - libdbi.so (the lib that dlopen()s the drivers) is built with -fpic -pthread - libdbifirebird.so (the firebird driver) is built with -fpic -pthread - test_dbi (linked against libdbi.so) is built with -fpic -pthread Still no luck, and the test app crashes at the very same point. Any other suggestions? regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with mhoenicka) http://www.mhoenicka.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems installing icu from the ports tree
Hi! I'm a FreeBSD newbie, and I need a little help on installing software. When I try to install postgresql or vim from the ports tree, I get the following error: ===Verifying install for icui18n in /usr/ports/devel/icu === Building for icu-3.6 *** config.status has become stale *** 'configure' and/or 'uversion.h' have changed, please do 'runConfigureICU' (or 'configure') again, as per the readme.html. exit 1 I have deleted all the tree and reinstalled the most current one, but the error keeps happening. I'm probably doing something dumb, but what? Yours Miguel Arroz Miguel Arroz http://www.terminalapp.net http://www.ipragma.com
NIS Linux - Ubuntu
I am sorry, here is an addendum to my previous post: Somehow Ubuntu was given root user permissions Actually, upon rereading my notes, Ubuntu was only given permissions of the user doing the login - not root - but we could login with any valid user apparently FreeBSD thought it was presented with a wildcard password. And I can also verify that FreeBSD clients are able to use the password map when x is used instead of * in the map to represent the password. So I can secure the system using the x but still cannot get Ubuntu clients to authenticate. Roy Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[NEVERMIND] Problems installing icu from the ports tree
Hi! I'm sorry, I was doing it the wrong way... newbie dumbness. Yours Miguel Arroz On 2007/12/18, at 21:36, Miguel Arroz wrote: Hi! I'm a FreeBSD newbie, and I need a little help on installing software. When I try to install postgresql or vim from the ports tree, I get the following error: ===Verifying install for icui18n in /usr/ports/devel/icu === Building for icu-3.6 *** config.status has become stale *** 'configure' and/or 'uversion.h' have changed, please do 'runConfigureICU' (or 'configure') again, as per the readme.html. exit 1 I have deleted all the tree and reinstalled the most current one, but the error keeps happening. I'm probably doing something dumb, but what? Yours Miguel Arroz Miguel Arroz http://www.terminalapp.net http://www.ipragma.com Miguel Arroz http://www.terminalapp.net http://www.ipragma.com
Re: (postfix) SPAM filter?
On Dec 17, 2007, at 7:56 AM, Eric Crist wrote: I hear a lot of people saying that greylisting doesn't work, when I have actual numbers for my network proving it does. These numbers are from the first week of May 2007 to today: Greylisted/Rejected Messages: 187560 Spam Tagged Messages: 3806 Virus Tagged Messages: 0 Bounced Messages:7 Total Messages Sent: 761 Total Messages Delivered:25345 I'd second the recommendation, although my stats don't keep long-term track of the difference between something greylisted and something bounced due to policy-weightd. Over the past year, I've had: Rejected Messages: 1,624,353 Spam Tagged Messages: 39,633 Virus Tagged Messages: 2947 Bounced Messages: 7609 Total sent: 103,433 Total received: 122,614 About 93% of the incoming traffic gets rejected permanently (via policy-weightd) or temporarily via greylisting; of the remainder, about 40% is tagged as spam and about 3% is tagged as viral. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: common filesystem for Linux and FreeBSD
On Tue, Dec 18, 2007 at 03:17:00AM -0700, Chad Perrin wrote: On Tue, Dec 18, 2007 at 11:06:15AM +0530, Girish Venkatachalam wrote: I generally shy away from any multiboot situation since I have few machines with me. Even then I too have to multiboot once in a while. I prefer to avoid multiboot as well, but for a while there it seemed unlikely that I'd be able to do everything on this system that I want to be able to do if all I have is FreeBSD. I've managed to realize that my impression of limitation was, in fact, a failure on my part -- and not on FreeBSD's -- some hours ago, however. As a result, it looks like I'll be able to solve the problem without installing some Linux distro after all. If FFS2 and EXT3 are ruled out, then what is remaining? ;) XFS? Maybe? My impression is that there isn't good UFS support in Linux, and that stable ext3 support is read-only in FreeBSD. If that's the case, then it really does seem to come down to a matter of figuring out whether XFS, JFS, or ReiserFS (to throw out a few examples) have stable read/write support in both Linux and FreeBSD systems. It is a tough choice indeed. Of course you could do a diskless boot off an NFS and use that as file system for communication between the two OSes. But for that you need another machine connected over LAN running NFS of course. Yeah . . . this is a laptop, and I use it while traveling, so that wouldn't really suit my needs in this case. I appreciate the attempt, though. Anyway, as you may have gathered from an above paragraph of mine, it looks like I'm probably not going to need the Linux system after all. Sorry if my answer was irrelevant but this is the best I could do. It would be pretty harsh of me to say your best wasn't good enough. Thanks for the effort to help. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Baltasar Gracian: A wise man gets more from his enemies than a fool from his friends. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] If you feel like being adventerous, FAT/FAT32 :P Russell Doucette ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
burning DVD's on a robotic burner. Running a central iso repository
Hi, Just at the idea phase at the moment. I have played with various command line tests, but would like to make sure I am not re-inventing the wheel before I progress further. Therefore: 1. Just wondering if anyone knows of a robotic DVD burner/printer that can be integrated with FreeBSD. Ideally I would like it to be able to run 'growisofs' and have it burn the DVD on the networked robotic CD/DVD burner. The burner would have a built in CD/DVD printer. I am thinking the software package would have a web page to allow people to upload a graphic, and/or just a CD/DVD text title, that would be printed onto the CD/DVD. Having one central burner would save me having to issue out DVD burners to multiple users. 2. Conversely, I am looking into having a central DVD reader, that staff would insert a DVD, type some meta-data into a webpage, and then click on the convert button. FreeBSD would then read the CD/DVD and create an iso image of it. The iso image would be placed into a repository, from where they could be mounted as needed, and shared out via samba. An email would be sent out once the CD/DVD has been converted detailing how to access the iso file. This all becomes important when a site moves to using thin clients and Terminal Servers. Any thoughts and ideas are welcome. Regards, Paul Hamilton Busselton, 6280 Australia -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fw: Can I install Free BSD latest version on my laptop with dual boot?
On Tue, Dec 18, 2007 at 06:32:11PM +, [EMAIL PROTECTED] wrote: Hi, We would like to tune FreeBSD according to our business needs. Please forward some documents for how to compile the Free BSD kernel and how we can deploy our compiled version of Free BSD into a new machine. I'm going to give you the benefit of the doubt, and figure you just haven't learned yet how to effectively find documentation. These are some documents that may be of use to you for tuning FreeBSD. Kernel config: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html System configuration files: man 8 config General performance tuning: man 7 tuning Security tuning: man 7 security Security tuning for the X Window System: man 7 Xsecurity Searching for FreeBSD docs on the web: Go to Google and add freebsd handbook to your search string, with quotes. If that doesn't work, try freebsd (without quotes) instead. Searching for information in manpages: Use either the apropos or man -k command, with a search term as an argument. For instance, apropos tuning or man -k tuning would have led to the tuning(7) manpage. When you find a manpage that is in the same general topic area, but you still want more information, check the SEE ALSO section of the manpage. The FILES section is sometimes useful for finding more information, too -- and sometimes, the listed files have their own manpages. Learning to research your own answers is a good idea for a whole lot of reasons. FreeBSD is one of the most well-documented OSes I've ever seen, so perhaps your tendency to ask questions without bothering to try looking up the information in standard documentation first is based on experience with other, less well-documented OSes. Once you become more familiar with the quality and extensiveness of FreeBSD documentation, you will surely find that some simple research is faster for most tasks than any user community mailing list or telephone support line could ever be. Hope that helps. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] John Kenneth Galbraith: If all else fails, immortality can always be assured through spectacular error. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lost FreeBSD slices (labels?) after NetBSD install -- please help!!
2007/12/16, Nikola Lečić [EMAIL PROTECTED]: Hello, On Fri, 14 Dec 2007 05:15:16 + Snow Mountains [EMAIL PROTECTED] wrote: People, I have FreeBSD install on 80G disk that looked like this: ad1s1 ~ 2.4G ad1s2 ~23.0G ad1s3 ~19.1G ad1s4 ~38.0G, FreeBSD partition, sliced like this: ^ ^^ (a note: the correct terminology is actually the opposite: these a...e are partitions, real BSD partitions. What is called partition in non-BSD world is a slice here; so: FreeBSD slice, (BSD-)partitioned/labelled like this...) ad1s4a / (507630 1K-blocks) ad1s4b swap ad1s4d /var ad1s4e /tmp ad1s4f /usr [...] However, FreeBSD is now unbootable!!! Then I loaded FreeSBIE (FreeBSD 6.2 live CD), tried 'boot0cfg -B /dev/ad1' (also with '-d 0x80'), but no help! Then I realized that ad1s4 slices are lost. This means: A) from FreeSBIE, there is only /dev/ad1s4, no a,b,d,e,f. If I do this: FreeSBIE# mount /dev/ad1s4 /mnt/ufs.4 this is former / (ad1s4a) and is of its size (~507M). This probably means that you unwillingly changed FreeBSD label of ad1s4 and it's most likely that NetBSD wrote its own instead. However, from the bsdlabel(8) manpage: The various BSDs all use slightly different versions of BSD labels and are not generally compatible. So, NetBSD didn't recognise FreeBSD's labels and understood entire ad1s4 as one partition; however, ad1s4's reality is that it begins with small / (lost ad1s4a) and that is what you see; the rest is just ignored. boot0cfg did nothing because NetBSD obviously deleted ad1s4 FreeBSD's bootstrap code as well. I can't reach other slices! However, it gives me hope that NetBSD's slices are also invisible, although working from within itself: FreeSBIE# mount /dev/ad1s1 /mnt/ufs.1 gives also small NetBSD's / (its wd0a), not /usr etc. The same reason as above. [...] Please help me to recover my FreeBSD system. If I lost my data (ok, I understand they are buried, not erased), please tell me that gently. :-( That's why I think that you haven't lost any data. You must however re-create bsdlabel table on ad1s4. Since you didn't mention that you have a backup of bsdlabel (do you? :-)), you must recover it. There are two small utilities designed for this purpose, dlfind and ffsrescue: http://www.42.org/~sec/resources/disklabel.html http://www.leidinger.net/FreeBSD/ffsrescue.tar.gz but they don't recognise UFS2 beginning marks (only UFS1 ones). However, I tested sysutils/testdisk and it recognised UFS2 labels on my healthy slices perfectly, so there is no reason that it can't help you, since it simply analyses slice contents. This utility is not part of FreeSBIE, but I think that you can just download ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/sysutils/testdisk-6.3.tbz Then untar it in ~freesbie and run the binary. Just do this: ./testdisk /dev/ad1s4 and choose non partitioned in the second menu. Please note that testdisk will not recognise your swap. Then please try to compare results (given in 512k-blocks) to what you remember about partition sizes. If it gives you reasonable proportions, then re-creating a bsdlabel shouldn't be a big problem. So please take these actions and if the aforementioned assumptions are correct and you obtain some useful info, we shall continue. :-) Hello and thanks vry much for this response and because you pointed me to right direction - what to read! It took me some time to run this and to understand always what I am doing, but it seems to work! testdisk gives me sizes that 100% correspond with _partition_ (:)) proportions I remember (and some nonsenses about tiny FAT partition somewhere...). dlfind homepage was incredibly useful for me as newbie in creating BSD partition labels, and I created bsdlabel file, carefully calculated offsets, I am happy that former ad1s4a is mountable so that I can read /etc/fstab! However I have several questions just to be 100% sure. a. swap size: by an accident, I have written swapsize (from swapinfo) of 1024 1kb blocks; it is slightly different from what I get when I subtract all partition size from total slice's size (as testdisk reported). What I should trust? b. Do I need just bsdlabel -R -e? Is it safe to experiment? c. What to write as fsize, bsize and bps/cpg? It is completly confusing for me, bps/cpg explanation from bsdlabel man page is unclear to me, I see that some people use all zeros and I can not find a clue in various examples... Again, many thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rough method of cleaning the ports tree
Hi, after noticing how large my ports tree grows while compiling, I thought of simply deleting it and do a CVSup to get a new one after the compilation is finished. This should be much faster and also should do some kind o defragmentation. I simply cannot believe that the huge ports tree will still be very well organised after some months. What does the list think of this method? Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rough method of cleaning the ports tree
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erich Dollansky wrote: Hi, after noticing how large my ports tree grows while compiling, I thought of simply deleting it and do a CVSup to get a new one after the compilation is finished. This should be much faster and also should do some kind o defragmentation. I simply cannot believe that the huge ports tree will still be very well organised after some months. What does the list think of this method? Even though it will take quite a bit longer you should just do a make distclean in /usr/ports that way anything you hand modified will be retained (also you might want to consider keeping a local cvs repository if this is an issue) - -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHaJB5zIOMjAek4JIRAqJxAKCdc0XT4T2YPWOWj2CxzaMY26vdLgCfUvs9 D42DFTYQ2LV+rIhUKYNOBRc= =3/I8 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rough method of cleaning the ports tree
Aryeh M. Friedman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erich Dollansky wrote: Hi, after noticing how large my ports tree grows while compiling, I thought of simply deleting it and do a CVSup to get a new one after the compilation is finished. This should be much faster and also should do some kind o defragmentation. I simply cannot believe that the huge ports tree will still be very well organised after some months. What does the list think of this method? Even though it will take quite a bit longer you should just do a make distclean in /usr/ports that way anything you hand modified will be retained (also you might want to consider keeping a local cvs repository if this is an issue) - -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHaJB5zIOMjAek4JIRAqJxAKCdc0XT4T2YPWOWj2CxzaMY26vdLgCfUvs9 D42DFTYQ2LV+rIhUKYNOBRc= =3/I8 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] portsclean -CD may be a help, if it grows as a result of compilation. Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lost FreeBSD slices (labels?) after NetBSD install -- please help!!
On Wed, 19 Dec 2007 03:54:00 +0100 Snow Mountains [EMAIL PROTECTED] wrote: [...] Hello and thanks vry much for this response and because you pointed me to right direction - what to read! It took me some time to run this and to understand always what I am doing, but it seems to work! testdisk gives me sizes that 100% correspond with _partition_ (:)) proportions I remember (and some nonsenses about tiny FAT partition somewhere...). dlfind homepage was incredibly useful for me as newbie in creating BSD partition labels, and I created bsdlabel file, carefully calculated offsets, I am happy that former ad1s4a is mountable so that I can read /etc/fstab! Excellent! Just note that you don't need to calculate offsets; you can use asterisk (*) for all offsets from b: (swap) onward; and you can use * as the size of the last partition, too. However I have several questions just to be 100% sure. a. swap size: by an accident, I have written swapsize (from swapinfo) of 1024 1kb blocks; it is slightly different from what I get when I subtract all partition size from total slice's size (as testdisk reported). What I should trust? Use the value from swapinfo; swap is just that space (unlike sizes that you see in df(1) output: they are not sizes of partitions). The size of slice: you should anyway _first_ run 'bsdlabel-w /dev/ad1s4' -- it will write initial info and the value for c: will be the value you should use. b. Do I need just bsdlabel -R -e? You probably typoed, either '-R' or '-e' (= 'from file' or 'to edit directly'). However, I believe you should use '-B' as well, because bootstrap code was destroyed too, and you won't be able to boot FreeBSD even with recovered partitions. Is it safe to experiment? Yes, it is. If you write wrong data, it will just not work. Once you get mountable partitions, please fsck(8) them. c. What to write as fsize, bsize fsize and bsize are 2048 and 16384 if you used all defaults when installed FreeBSD (read newfs(8)). and bps/cpg? It is completly confusing for me, bps/cpg explanation from bsdlabel man page is unclear to me, I see that some people use all zeros and I can not find a clue in various examples... Hmm, yes... Actually, it seems that they can be calculated by comparing data obtained from 'bsdlabel -A /dev/ad1s4...' (look at the top of the output) and from particular 'newfs -N /dev/ad1s4X' (this command doesn't create new file system but just prints all data about how it would be created) -- but after recovery, of course. Read the entire thread that contains this: http://lists.freebsd.org/pipermail/freebsd-questions/2004-January/031603.html However, I've never been able to find any info in the docs that exactly explains what algorithm newfs(8) uses for this field... Therefore I believe (although I'm not 100% sure) that the only way to get old bps/cpg data is to (1) dump(8) partitions once they work; (2) bsdlabel -e bps/cpg of these partitions to zeros; (3) recreate file systems there (this will write new (true) bps/cpg values); (4) restore(8) filesystems. However, if fsck(8) tells you that filesystems are clear once you recover them, I believe you don't have to worry about this. Maybe some filesystem guru can confirm. (According to this reputable source: http://www.onlamp.com/pub/a/bsd/2002/06/27/Big_Scary_Daemons.html last three values are actually ignored...) -- Nikola Lečić :: Никола Лечић ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: rough method of cleaning the ports tree
after noticing how large my ports tree grows while compiling, I thought of simply deleting it and do a CVSup to get a new one after the compilation is finished. I, like many, just use the portsclean utility to periodically tidy things up, or after manual ports builds if you forget to do a make clean. Doing this should keep things in check and keep your ports tree from growing. Cheers, Brent ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rough method of cleaning the ports tree
Hi, John Nielsen wrote: On Tuesday 18 December 2007, Erich Dollansky wrote: There are at least two better ways of doing this that will take less time and not put unnecessary load on the CVS servers. this was the main reason for asking. If all would do it, CVSup would be of no help at all. 1) Delete work directories after building ports. If you use the clean make target it will do this automatically. I typically do make install This is what I always did but it is also time consuming on slower machines. 2) Use WRKDIRPREFIX. I set this in my .cshrc, but you can set it manually or I have not noticed this before. This sounds to be the best option. It will result it what I want and still will not put any load on any machine except of mine if I have to rebuild. See man ports for more information on the port build infrastructure and associated make targets and environment variables. I do this ones in a while but never noticed or did not understand the use of WRKDIRPREFIX. The other thing in the ports collection that tends to take up space is the distfiles directory. If you want to delete it wholesale then go ahead I do the cleaning work manually there. I delete only double entries to avoid additional downloading. HTH, I think, it really does. Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rough method of cleaning the ports tree
On Tuesday 18 December 2007, Erich Dollansky wrote: after noticing how large my ports tree grows while compiling, I thought of simply deleting it and do a CVSup to get a new one after the compilation is finished. This should be much faster and also should do some kind o defragmentation. I simply cannot believe that the huge ports tree will still be very well organised after some months. What does the list think of this method? There are at least two better ways of doing this that will take less time and not put unnecessary load on the CVS servers. 1) Delete work directories after building ports. If you use the clean make target it will do this automatically. I typically do make install clean to install the port then delete the work directory in one command. Portupgrade and other tools will generally do this as well. If you already installed a port you can just do make clean to get rid of its work directory. If you (suspect that you) have a large number of work directories (either because your builds got interrupted or you forgot to use the clean target) you can do something like find /usr/ports -maxdepth 3 -type d -name work -delete to get them all in one go. 2) Use WRKDIRPREFIX. I set this in my .cshrc, but you can set it manually or in whatever file is appropriate for your (root) shell. e.g. after doing a setenv WRKDIRPREFIX /usr/scratch all of the work directories are created under /usr/scratch/usr/ports/category/portname instead of under /usr/ports directly. Whenever I feel like cleaning up I can just rm -r /usr/scratch/usr/ports without losing anything. See man ports for more information on the port build infrastructure and associated make targets and environment variables. The other thing in the ports collection that tends to take up space is the distfiles directory. If you want to delete it wholesale then go ahead (rm -r /usr/ports/distfiles), but it's not uncommon to have multiple ports or multiple revisions of the same port use the same distfile(s), so you'll end up downloading them again and again. I prefer to use the script /usr/ports/Tools/scripts/distclean.sh. Run with a -f flag it will automatically delete all distfiles no longer referenced by any port in your ports tree. HTH, JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
nfs-pf-umount strangeness
I hope this is right place to ask. I noticed strange umount as shown below. Would this be mount problem or rpc problem or even a problem? Script started on Sun Dec 16 11:54:33 2007 [EMAIL PROTECTED] ~]$ su Password: donslaptop# mount -t nfs dons.donxcz:/usr/home/donxc /home/donxc/mntdt [udp] dons.donxcz:/usr/home/donxc: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak donslaptop# pfctl -d mount -t nfs dons.donxcz:/usr/home/donxc /home/donxc/mntdt donslaptop# cat /root/booty.sh | grep pfctl pfctl -F all -ef /etc/pf.new pfctl -F all -ef /etc/pf.new No ALTQ support in kernel ALTQ related functions disabled rules cleared nat cleared 0 tables deleted. 0 states cleared source tracking entries cleared pf: statistics cleared pf: interface flags reset pf enabled donslaptop# df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a496M 82M374M18%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad0s1e496M 49M407M11%/tmp /dev/ad0s1f 52G8.4G 39G18%/usr /dev/ad0s1d1.2G 74M1.0G 7%/var dons.donxcz:/usr/home/donxc 35G 22G9.8G 69%/usr/home/donxc/mntdt donslaptop# umount /home/donxc/mntdt umount: dons.donxcz: RPCMNT_UMOUNT: RPC: Authentication error; why = Client credential too weak donslaptop# df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a496M 82M374M18%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad0s1e496M 49M407M11%/tmp /dev/ad0s1f 52G8.4G 39G18%/usr /dev/ad0s1d1.2G 74M1.0G 7%/var donslaptop# donslaptop# ^D exit Script done on Sun Dec 16 11:59:35 2007 Please reply to this email as I am not subscribed to @questions. Thanks -- -- you @ usa.com is available and 170 other free domains. Sign up at www.mail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
periodic.conf
Hello: I copied a periodic.conf file from a v6.0 system to a v6.2 system. Is there any incompatibility that I should be aware of? Thanks In Advance; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]