Re: Migrating Thunderbird 3 Email Archives from XP Pro SP3 to FreeBSD 8.0
On 1/27/2010 9:42 PM, Randy Woy wrote: > I made the same migration in the opposite direction. It's a straight > copy from one system to the other. I copied my FreeBSD Thunderbird > archives to Windows 7 Thunderbird on a dual boot system using a USB > memory key. > > Copy the contents of > C:\Users\\AppData\Roaming\Thunderbird\Profiles\.default\Mail\Local > Folders\ to > /usr/home//.thunderbird/.default/Mail/Local Folders/ > > That's it. > > Randy > That is completely awesome to know. Thanks for alleviating my fears and concerns. -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. signature.asc Description: OpenPGP digital signature
8.0 and floppy support
When booting release 8.0 i no longer get the fd0 floppy device prob message. This pc has run freebsd 6.4 7.0 7.2 which all supported the floppy drive. Has floppy drive support been dropped in 8.0? I know the floppy drive works because i can boot win98 floppy disk ok. ___ 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: Migrating Thunderbird 3 Email Archives from XP Pro SP3 to FreeBSD 8.0
Programmer In Training wrote: I've done some searching on the Thunderbird (TB) website and have posted the question at one of their support forums, but I felt I should ask here, too, just in case someone else has confronted this. I only use POP3 to retrieve email (the merits of POP3 vs IMAP not withstanding) and store locally so I have easy and offline access to it. For about two years now I've been using XP to retrieve and check my email, upgrading through various versions of TB without a problem. Now I'm confronted with an issue I've not faced before (or attempted to confront). Transferring archives from one computer to another. I know where they are kept on the XP machine, I /think/ I know where they are kept on my FreeBSD box (nothing a little ls -a won't help me find). My question is if this even possible since Mozilla Foundation went to using binary archives for the email. I think it might be, but I'm not really wanting to waste the time to only be frustrated in the end. Has anyone attempted such a migration? Did you need any special tools? If not, was it as simple as copy/pasting into the appropriate directory structure? Or do I need to set up the accounts in TB on my FreeBSD box /first/ then copy/paste? TIA for reading and especially for helping (if you can)! (: I made the same migration in the opposite direction. It's a straight copy from one system to the other. I copied my FreeBSD Thunderbird archives to Windows 7 Thunderbird on a dual boot system using a USB memory key. Copy the contents of C:\Users\\AppData\Roaming\Thunderbird\Profiles\.default\Mail\Local Folders\ to /usr/home//.thunderbird/.default/Mail/Local Folders/ That's it. Randy -- Randy Woy ra...@woy.us From Thunderbird on FreeBSD 7.1 "Believe me, they'll find a way. Governments loath people being free." - Bill Nighy as Quentin in Pirate Radio ___ 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 network issue in freebsd 8
Hello, Thanks Qing. I have already upgraded to latest patch as per per the advise of "freebsd-hackers" == myserver# uname -a FreeBSD myserver.server.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC 2010 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 myserver# freebsd-update fetch Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 8.0-RELEASE from update4.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 8.0-RELEASE-p2. == -- Regards, Sherin On Thu, Jan 28, 2010 at 8:22 AM, Li, Qing wrote: > > I have been consumed by day job 200% of my time. > > I have some free time tonight and can work with you off-line. > Is it possible for you to update to the latest stable-8 kernel > and we start from there ? > > -- Qing > > > -Original Message- > From: owner-freebsd-...@freebsd.org on behalf of Sherin George > Sent: Wed 1/27/2010 6:05 PM > To: freebsd-...@freebsd.org; freebsd-hack...@freebsd.org; > freebsd-questions@freebsd.org > Subject: Re: Strange network issue in freebsd 8 > > Hello Sam, > > The problem happened today again. > > I am getting this message on traceroute > > === > traceroute: findsaddr: write: No such process > > > When running a ping to 8.8.8.8, it says following. > > === > ping: sendto: No route to host > > > Please see the result of "netstat -rn" command. > > > myserver# netstat -rn > Routing tables > > Internet: > DestinationGatewayFlagsRefs Use Netif Expire > defaultXXX.XXX.XXX.241 UGS62 209247em0 > 127.0.0.1 link#3 UH 00lo0 > XXX.XXX.XXX.240/29 link#1 U 00em0 > XXX.XXX.XXX.242 link#1 UHS 00lo0 > > Internet6: > Destination Gateway Flags > Netif Expire > ::1 ::1 UH > lo0 > fe80::%lo0/64 link#3U > lo0 > fe80::1%lo0 link#3UHS > lo0 > ff01:3::/32 fe80::1%lo0 U > lo0 > ff02::%lo0/32 fe80::1%lo0 U > lo0 > = > > Note: I have replaced first three octets. > > I have checked netstat -m also. It is also not showing any problem. > > Could anyone please help me to sort out this issue. > > -- > Thanks, > Sherin > > On Thu, Jan 28, 2010 at 6:29 AM, sam wrote: > > > Hi, > > > > Is this problem still happening? > > > > Cheers > > Sam > > > > > > On 24/01/2010 2:16 PM, Sherin George wrote: > > > >> Hello, > >> > >> I am facing some sort of strange network issue in a freebsd server > >> occasionally. > >> > >> OS: FreeBSD 8.0-RELEASE - amd64 > >> > >> Now, I have updated to FreeBSD 8.0-RELEASE-p2 > >> > >> The servers loses network connection once in a few days. I logged into > >> console and verified that network is up. I even restarted network > service > >> using following command. > >> > >> /etc/rc.d/netif restart > >> > >> Still, it didn't fix. > >> > >> I checked /var/log/messages, but I am not getting any clue. > >> > >> == > >> Jan 19 12:10:20 myserver kernel: GEOM_MIRROR: Device gm0: rebuilding > >> provider ad0 finished. > >> Jan 19 20:20:23 myserver nfsd[732]: select failed: Interrupted system > call > >> Jan 19 20:21:07 myserver nfsd[732]: select failed: Interrupted system > call > >> Jan 23 02:14:33 myserver login: ROOT LOGIN (root) ON ttyv0 > >> Jan 23 02:19:51 myserver kernel: ifa_del_loopback_route: deletion failed > >> Jan 23 02:19:57 myserver kernel: em0: link state changed to DOWN > >> Jan 23 02:20:02 myserver kernel: em0: link state changed to UP > >> Jan 23 02:29:58 myserver reboot: rebooted by root > >> Jan 23 02:29:58 myserver syslogd: exiting on signal 15 > >> Jan 23 02:31:31 myserver syslogd: kernel boot file is > /boot/kernel/kernel > >> Jan 23 02:31:31 myserver kernel: Copyright (c) 1992-2009 The FreeBSD > >> Project. > >> Jan 23 02:31:31 myserver kernel: Copyright (c) 1979, 1980, 1983, 1986, > >> 1988, > >> 1989, 1991, 1992, 1993, 1994 > >> Jan 23 02:31:31 myserver kernel: The Regents of the University of > >> California. All rights reserved. > >> Jan 23 02:31:31 myserver kernel: FreeBSD is a registered trademark of > The > >> FreeBSD Foundation. > >> Jan 23 02:31:31 myserver kernel: FreeBSD 8.0-RELEASE #0: Sat Nov 21 > >> 15:02:08 > >> UTC 2009 > >> Jan 23 02:31:31 myserver kernel: r...@mason.cse.buffalo.edu: > >> /usr/obj/usr/src/sys/GENERIC > >> Jan 23 02:31:31 myserver kernel: Timecounter "i8254" frequency 1193182 > Hz > >> quality 0 > >> == > >> > >> Network, TCP stack all were
Re: Strange network issue in freebsd 8
that s why I 've been so in doubt using freebsd AMD64 release. On 28/01/2010 1:05 PM, Sherin George wrote: Hello Sam, The problem happened today again. I am getting this message on traceroute === traceroute: findsaddr: write: No such process When running a ping to 8.8.8.8, it says following. === ping: sendto: No route to host Please see the result of "netstat -rn" command. myserver# netstat -rn Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire defaultXXX.XXX.XXX.241 UGS62 209247em0 127.0.0.1 link#3 UH 00lo0 XXX.XXX.XXX.240/29 link#1 U 00em0 XXX.XXX.XXX.242 link#1 UHS 00lo0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%lo0/64 link#3U lo0 fe80::1%lo0 link#3UHS lo0 ff01:3::/32 fe80::1%lo0 U lo0 ff02::%lo0/32 fe80::1%lo0 U lo0 = Note: I have replaced first three octets. I have checked netstat -m also. It is also not showing any problem. Could anyone please help me to sort out this issue. -- Thanks, Sherin On Thu, Jan 28, 2010 at 6:29 AM, sam wrote: Hi, Is this problem still happening? Cheers Sam On 24/01/2010 2:16 PM, Sherin George wrote: Hello, I am facing some sort of strange network issue in a freebsd server occasionally. OS: FreeBSD 8.0-RELEASE - amd64 Now, I have updated to FreeBSD 8.0-RELEASE-p2 The servers loses network connection once in a few days. I logged into console and verified that network is up. I even restarted network service using following command. /etc/rc.d/netif restart Still, it didn't fix. I checked /var/log/messages, but I am not getting any clue. == Jan 19 12:10:20 myserver kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad0 finished. Jan 19 20:20:23 myserver nfsd[732]: select failed: Interrupted system call Jan 19 20:21:07 myserver nfsd[732]: select failed: Interrupted system call Jan 23 02:14:33 myserver login: ROOT LOGIN (root) ON ttyv0 Jan 23 02:19:51 myserver kernel: ifa_del_loopback_route: deletion failed Jan 23 02:19:57 myserver kernel: em0: link state changed to DOWN Jan 23 02:20:02 myserver kernel: em0: link state changed to UP Jan 23 02:29:58 myserver reboot: rebooted by root Jan 23 02:29:58 myserver syslogd: exiting on signal 15 Jan 23 02:31:31 myserver syslogd: kernel boot file is /boot/kernel/kernel Jan 23 02:31:31 myserver kernel: Copyright (c) 1992-2009 The FreeBSD Project. Jan 23 02:31:31 myserver kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Jan 23 02:31:31 myserver kernel: The Regents of the University of California. All rights reserved. Jan 23 02:31:31 myserver kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Jan 23 02:31:31 myserver kernel: FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 Jan 23 02:31:31 myserver kernel: r...@mason.cse.buffalo.edu: /usr/obj/usr/src/sys/GENERIC Jan 23 02:31:31 myserver kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 == Network, TCP stack all were up. It was pinging gateway even. But, traceroute was not going beyond gateway. I believe the issue is not related to anything outside server since a reboot always fixes the issue. I will be grateful for any advice that can help me in troubleshooting this problem. -- Best Regards, Sherin ___ freebsd-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" ___ freebsd-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-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"
bsdlabel size mismatch
On a FreeBSD 7.2 machine, I've a ~1TB drive as /dev/da0: da0: 953664MB (1953103872 512 byte sectors: 255H 63S/T 121575C) the lone slice is of ~19G (per df) yet bsdlabel shows that it is spanning the entire drive. also notice how it says unused despite it really being an ufs FS. [r...@evu ~]# df -h / Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a 19G1.2G 17G 7%/ [r...@evu ~]# bsdlabel /dev/da0s1 # /dev/da0s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 1953102296 16unused0 0 c: 19531023120unused0 0 # "raw" part, don't edit needless to say, i cannot edit and add a new partition as "a" seems to be spanning the entire disk according to bsdlabel at least. any advise on this would be much appreciated. I am looking to alloc a 16G swap, and add a couple of ufs filesystems to da0. many thanks in advance. ___ 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 network issue in freebsd 8
I have been consumed by day job 200% of my time. I have some free time tonight and can work with you off-line. Is it possible for you to update to the latest stable-8 kernel and we start from there ? -- Qing -Original Message- From: owner-freebsd-...@freebsd.org on behalf of Sherin George Sent: Wed 1/27/2010 6:05 PM To: freebsd-...@freebsd.org; freebsd-hack...@freebsd.org; freebsd-questions@freebsd.org Subject: Re: Strange network issue in freebsd 8 Hello Sam, The problem happened today again. I am getting this message on traceroute === traceroute: findsaddr: write: No such process When running a ping to 8.8.8.8, it says following. === ping: sendto: No route to host Please see the result of "netstat -rn" command. myserver# netstat -rn Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire defaultXXX.XXX.XXX.241 UGS62 209247em0 127.0.0.1 link#3 UH 00lo0 XXX.XXX.XXX.240/29 link#1 U 00em0 XXX.XXX.XXX.242 link#1 UHS 00lo0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%lo0/64 link#3U lo0 fe80::1%lo0 link#3UHS lo0 ff01:3::/32 fe80::1%lo0 U lo0 ff02::%lo0/32 fe80::1%lo0 U lo0 = Note: I have replaced first three octets. I have checked netstat -m also. It is also not showing any problem. Could anyone please help me to sort out this issue. -- Thanks, Sherin On Thu, Jan 28, 2010 at 6:29 AM, sam wrote: > Hi, > > Is this problem still happening? > > Cheers > Sam > > > On 24/01/2010 2:16 PM, Sherin George wrote: > >> Hello, >> >> I am facing some sort of strange network issue in a freebsd server >> occasionally. >> >> OS: FreeBSD 8.0-RELEASE - amd64 >> >> Now, I have updated to FreeBSD 8.0-RELEASE-p2 >> >> The servers loses network connection once in a few days. I logged into >> console and verified that network is up. I even restarted network service >> using following command. >> >> /etc/rc.d/netif restart >> >> Still, it didn't fix. >> >> I checked /var/log/messages, but I am not getting any clue. >> >> == >> Jan 19 12:10:20 myserver kernel: GEOM_MIRROR: Device gm0: rebuilding >> provider ad0 finished. >> Jan 19 20:20:23 myserver nfsd[732]: select failed: Interrupted system call >> Jan 19 20:21:07 myserver nfsd[732]: select failed: Interrupted system call >> Jan 23 02:14:33 myserver login: ROOT LOGIN (root) ON ttyv0 >> Jan 23 02:19:51 myserver kernel: ifa_del_loopback_route: deletion failed >> Jan 23 02:19:57 myserver kernel: em0: link state changed to DOWN >> Jan 23 02:20:02 myserver kernel: em0: link state changed to UP >> Jan 23 02:29:58 myserver reboot: rebooted by root >> Jan 23 02:29:58 myserver syslogd: exiting on signal 15 >> Jan 23 02:31:31 myserver syslogd: kernel boot file is /boot/kernel/kernel >> Jan 23 02:31:31 myserver kernel: Copyright (c) 1992-2009 The FreeBSD >> Project. >> Jan 23 02:31:31 myserver kernel: Copyright (c) 1979, 1980, 1983, 1986, >> 1988, >> 1989, 1991, 1992, 1993, 1994 >> Jan 23 02:31:31 myserver kernel: The Regents of the University of >> California. All rights reserved. >> Jan 23 02:31:31 myserver kernel: FreeBSD is a registered trademark of The >> FreeBSD Foundation. >> Jan 23 02:31:31 myserver kernel: FreeBSD 8.0-RELEASE #0: Sat Nov 21 >> 15:02:08 >> UTC 2009 >> Jan 23 02:31:31 myserver kernel: r...@mason.cse.buffalo.edu: >> /usr/obj/usr/src/sys/GENERIC >> Jan 23 02:31:31 myserver kernel: Timecounter "i8254" frequency 1193182 Hz >> quality 0 >> == >> >> Network, TCP stack all were up. It was pinging gateway even. But, >> traceroute >> was not going beyond gateway. >> >> I believe the issue is not related to anything outside server since a >> reboot >> always fixes the issue. >> >> I will be grateful for any advice that can help me in troubleshooting this >> problem. >> >> -- >> Best Regards, >> Sherin >> ___ >> freebsd-...@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" >> >> >> > > ___ freebsd-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-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"
Re: Swap Partition First?
Bob Johnson writes: > The only thing that looks out of place is that you have defined > ad0s1-2 before ad0s1-1. I've never tested it, but perhaps this is > causing it to get confused when calculating the disk layout? In other > words, perhaps you should use > > #1G swap followed by / on rest of disk. Thank you. I wondered about that. I didn't know how smart the allocater was. Technically, when I defined ad0s1-1 as being the rest of the disk, nothing else had been defined yet so that should mean 100% of the disk. That's called thinking too much. Martin McCormick ___ 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: booting off GPT partitions
On Thu, Jan 28, 2010 at 12:27:54AM +0100, Dimitry Andric wrote: > On 2010-01-27 22:27, John Baldwin wrote: >> GPT was defined along with EFI, so many folks assume that you have to use EFI >> to boot a GPT-labelled disk. However, FreeBSD has its own BIOS-based >> bootstrap that can handle GPT-labelled disks. I doubt the SuperMicro tech is >> familiar with that case. I thought I heard that some folks had added GPT >> support to grub as well. > > However, this won't boot disks larger than 2TiB, right? At least not > without BIOS support... You won't be able to boot from a partition more than 2TiB in, but you should still be able to boot as long as you boot from the front part of the disk. -- Brook pgpaN4uYFKOox.pgp Description: PGP signature
Re: Strange network issue in freebsd 8
Hello Sam, The problem happened today again. I am getting this message on traceroute === traceroute: findsaddr: write: No such process When running a ping to 8.8.8.8, it says following. === ping: sendto: No route to host Please see the result of "netstat -rn" command. myserver# netstat -rn Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire defaultXXX.XXX.XXX.241 UGS62 209247em0 127.0.0.1 link#3 UH 00lo0 XXX.XXX.XXX.240/29 link#1 U 00em0 XXX.XXX.XXX.242 link#1 UHS 00lo0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%lo0/64 link#3U lo0 fe80::1%lo0 link#3UHS lo0 ff01:3::/32 fe80::1%lo0 U lo0 ff02::%lo0/32 fe80::1%lo0 U lo0 = Note: I have replaced first three octets. I have checked netstat -m also. It is also not showing any problem. Could anyone please help me to sort out this issue. -- Thanks, Sherin On Thu, Jan 28, 2010 at 6:29 AM, sam wrote: > Hi, > > Is this problem still happening? > > Cheers > Sam > > > On 24/01/2010 2:16 PM, Sherin George wrote: > >> Hello, >> >> I am facing some sort of strange network issue in a freebsd server >> occasionally. >> >> OS: FreeBSD 8.0-RELEASE - amd64 >> >> Now, I have updated to FreeBSD 8.0-RELEASE-p2 >> >> The servers loses network connection once in a few days. I logged into >> console and verified that network is up. I even restarted network service >> using following command. >> >> /etc/rc.d/netif restart >> >> Still, it didn't fix. >> >> I checked /var/log/messages, but I am not getting any clue. >> >> == >> Jan 19 12:10:20 myserver kernel: GEOM_MIRROR: Device gm0: rebuilding >> provider ad0 finished. >> Jan 19 20:20:23 myserver nfsd[732]: select failed: Interrupted system call >> Jan 19 20:21:07 myserver nfsd[732]: select failed: Interrupted system call >> Jan 23 02:14:33 myserver login: ROOT LOGIN (root) ON ttyv0 >> Jan 23 02:19:51 myserver kernel: ifa_del_loopback_route: deletion failed >> Jan 23 02:19:57 myserver kernel: em0: link state changed to DOWN >> Jan 23 02:20:02 myserver kernel: em0: link state changed to UP >> Jan 23 02:29:58 myserver reboot: rebooted by root >> Jan 23 02:29:58 myserver syslogd: exiting on signal 15 >> Jan 23 02:31:31 myserver syslogd: kernel boot file is /boot/kernel/kernel >> Jan 23 02:31:31 myserver kernel: Copyright (c) 1992-2009 The FreeBSD >> Project. >> Jan 23 02:31:31 myserver kernel: Copyright (c) 1979, 1980, 1983, 1986, >> 1988, >> 1989, 1991, 1992, 1993, 1994 >> Jan 23 02:31:31 myserver kernel: The Regents of the University of >> California. All rights reserved. >> Jan 23 02:31:31 myserver kernel: FreeBSD is a registered trademark of The >> FreeBSD Foundation. >> Jan 23 02:31:31 myserver kernel: FreeBSD 8.0-RELEASE #0: Sat Nov 21 >> 15:02:08 >> UTC 2009 >> Jan 23 02:31:31 myserver kernel: r...@mason.cse.buffalo.edu: >> /usr/obj/usr/src/sys/GENERIC >> Jan 23 02:31:31 myserver kernel: Timecounter "i8254" frequency 1193182 Hz >> quality 0 >> == >> >> Network, TCP stack all were up. It was pinging gateway even. But, >> traceroute >> was not going beyond gateway. >> >> I believe the issue is not related to anything outside server since a >> reboot >> always fixes the issue. >> >> I will be grateful for any advice that can help me in troubleshooting this >> problem. >> >> -- >> Best Regards, >> Sherin >> ___ >> freebsd-...@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-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"
Re: Weird build errors only on 3rd core of quad core CPU
On Thursday 28 January 2010 01:54:01 Erich Dollansky wrote: > Hi, > > On 28 January 2010 am 06:54:13 Pieter de Goeje wrote: > > I am suspecting a broken CPU, but am not sure. > > it really looks like. > > Are you sure it is a quad core and not just a triple core? It definitely identifies itself as a quadcore in dmesg (the text matches what it said on the box): AMD Athlon(tm) II X4 620. I don't think the hacks which activate the 4th core on a triple core can alter that information. CPU: AMD Athlon(tm) II X4 620 Processor (2600.02-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x100f52 Stepping = 2 Features=0x178bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x37ff TSC: P-state invariant real memory = 2147483648 (2048 MB) avail memory = 1795858432 (1712 MB) ACPI APIC Table: <120909 APIC1901> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 > > As already mentioned, you should check the stepping the software > tells you but also what is actually written onto the CPU itself. > > Try to get the CPU exchanged and see what happens then. I suppose that's the only way... hopefully I can convince the shop I bought it from that it is broken. > > Erich > > > These commands: > > cd /usr/ports/sysutils/hal > > cpuset -c -l 2 make > > > > Will always result in errors, for example this one: > > > > gmake: *** No rule to make target `...@maintainer_mode_true@', > > needed by `config.h.in'. Stop. > > *** Error code 1 > > > > Sometimes the error occurs in a different place. When I check > > the input files, they are indeed broken. Gcc stops because of > > syntax errors for example. > > > > The configure process always completes, but apparently it > > creates broken files. When I run make on any other core, it > > always completes successfully: cpuset -c -l 0,1,3 make > > > > I've checked with script that the output of the build process > > is exactly the same, up until the error occurs. I've also tried > > to run cpuburn on that core, but it didn't find any problem. > > It's really weird that system is otherwise very stable. > > > > What do you guys think the problem is? > > > > CPU is AMD Athlon II X4 620. Running FreeBSD 8-STABLE/amd64. > > I've also tried -CURRENT, but it didn't help. > > > > Thanks! > > > > -- > > Pieter > > ___ > > 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"
Re: Weird build errors only on 3rd core of quad core CPU
Hi, On 28 January 2010 am 06:54:13 Pieter de Goeje wrote: > I am suspecting a broken CPU, but am not sure. it really looks like. Are you sure it is a quad core and not just a triple core? As already mentioned, you should check the stepping the software tells you but also what is actually written onto the CPU itself. Try to get the CPU exchanged and see what happens then. Erich > > These commands: > cd /usr/ports/sysutils/hal > cpuset -c -l 2 make > > Will always result in errors, for example this one: > > gmake: *** No rule to make target `...@maintainer_mode_true@', > needed by `config.h.in'. Stop. > *** Error code 1 > > Sometimes the error occurs in a different place. When I check > the input files, they are indeed broken. Gcc stops because of > syntax errors for example. > > The configure process always completes, but apparently it > creates broken files. When I run make on any other core, it > always completes successfully: cpuset -c -l 0,1,3 make > > I've checked with script that the output of the build process > is exactly the same, up until the error occurs. I've also tried > to run cpuburn on that core, but it didn't find any problem. > It's really weird that system is otherwise very stable. > > What do you guys think the problem is? > > CPU is AMD Athlon II X4 620. Running FreeBSD 8-STABLE/amd64. > I've also tried -CURRENT, but it didn't help. > > Thanks! > > -- > Pieter > ___ > 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"
Re: named "error sending response: not enough free resources"
On Wed, 27 Jan 2010, Chuck Swiger wrote: On Jan 27, 2010, at 1:15 PM, James Smallacombe wrote: Jan 26 21:50:32 host named[667]: client #57938: error sending response: not enough free resources indicates a problem sending UDP traffic; netstat -s output would be Unfortunately, I did not have time for netstats or tcpdumps when this was happening and I've not seen this log entry since yesterday evening. Unless you rebooted the machine again since the errors were reported, the netstat output would still be relevant. Ok, I saw this at least once since the last reboot, so here are the tcp and udp portions of the netstat -s: tcp: 31422122 packets sent 23133142 data packets (3473553079 bytes) 314215 data packets (132175418 bytes) retransmitted 6579 data packets unnecessarily retransmitted 11 resends initiated by MTU discovery 5408494 ack-only packets (200066 delayed) 0 URG only packets 1237 window probe packets 868892 window update packets 1713629 control packets 28600984 packets received 17029642 acks (for 3351867346 bytes) 1256410 duplicate acks 73760 acks for unsent data 11363962 packets (548204663 bytes) received in-sequence 184682 completely duplicate packets (16657176 bytes) 2327 old duplicate packets 1468 packets with some dup. data (339128 bytes duped) 334018 out-of-order packets (337877573 bytes) 85687 packets (637782 bytes) of data after window 10 window probes 114047 window update packets 160975 packets received after close 1148 discarded for bad checksums 0 discarded for bad header offset fields 0 discarded because packet too short 9123 discarded due to memory problems 413250 connection requests 1504359 connection accepts 6 bad connection attempts 100 listen queue overflows 186225 ignored RSTs in the windows 1912682 connections established (including accepts) 2050764 connections closed (including 1022550 drops) 1058803 connections updated cached RTT on close 1065370 connections updated cached RTT variance on close 252114 connections updated cached ssthresh on close 3769 embryonic connections dropped 11958433 segments updated rtt (of 11574855 attempts) 285733 retransmit timeouts 12079 connections dropped by rexmit timeout 1884 persist timeouts 4 connections dropped by persist timeout 0 Connections (fin_wait_2) dropped because of timeout 385 keepalive timeouts 345 keepalive probes sent 40 connections dropped by keepalive 2663719 correct ACK header predictions 5996181 correct data packet header predictions 1520655 syncache entries added 58477 retransmitted 26560 dupsyn 20622 dropped 1504359 completed 137 bucket overflow 0 cache overflow 6190 reset 10206 stale 100 aborted 0 badack 47 unreach 0 zone failures 1541277 cookies sent 415 cookies received 21638 SACK recovery episodes 37110 segment rexmits in SACK recovery episodes 51620488 byte rexmits in SACK recovery episodes 240368 SACK options (SACK blocks) received 217836 SACK options (SACK blocks) sent 0 SACK scoreboard overflow udp: 9663633 datagrams received 0 with incomplete header 0 with bad data length field 549 with bad checksum 9609 with no checksum 12092 dropped due to no socket 49230 broadcast/multicast datagrams undelivered 0 dropped due to full socket buffers 0 not for hashed pcb 9601762 delivered 42443353 datagrams output 0 times multicast source filter matched James Smallacombe PlantageNet, Inc. CEO and Janitor u...@3.am http://3.am = ___ 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: Is their Automatic command to send a JPG file using FTP
On Wed, Jan 27, 2010 at 11:08 PM, Dixit, Viraj wrote: > Hi, > I am looking to see if there a command or a script In BSD Os that will > allow me to ftp to a server automatically and get a file from another > server. User name and passwd will be already in the script so it will > run ftp and download a file or a JPG from that server. Like in Linux OS > there is a command using .netrc file and you can script that file and > will automatically do what is in the file at time interval that you > want. Thanks, > VJ Yes, FreeBSD ftp supports .netrc files. I posted a guide to download a FreeBSD release with a .netrc file at http://www.daemonforums.org/showthread.php?t=4212 ___ 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: How to use an older version of gcc?
On Wed, 27 Jan 2010 16:35:02 -0800 (PST) gfot wrote: > > Hi i'm trying to compile a toochain for mips and i'm having some > problems with gcc 4.2.1 that my Freebsd 8.0 (64-bit) system came > with. So i decided (it was proposed by the README of the toolchain) > to use gcc 3.4 but i installed gcc 3.4 from ports but i still use the > 4.2 when i type gcc. How can i use gcc 3.4? It's probably called gcc34 ___ 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 use an older version of gcc?
Hi i'm trying to compile a toochain for mips and i'm having some problems with gcc 4.2.1 that my Freebsd 8.0 (64-bit) system came with. So i decided (it was proposed by the README of the toolchain) to use gcc 3.4 but i installed gcc 3.4 from ports but i still use the 4.2 when i type gcc. How can i use gcc 3.4? -- View this message in context: http://old.nabble.com/How-to-use-an-older-version-of-gcc--tp27349277p27349277.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ 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: libutil.so.8 -> libutil.so.9, WAS: openssh-portable fails to build on ia64, sparc
On Wed, Jan 27, 2010 at 04:29:43PM -0800, Jason wrote: > If you upgrade a library port, you need to rebuild all ports that depend on > that library. I know, but the port in question doesn't build anymore. Or are you saying that I might have missed some intermediate ports? The error message seem like a compiler error to me.. many thanks anton > On Thu, Jan 28, 2010 at 12:28:34AM +, Anton Shterenlikht thus spake: > >I didn't get any reply from ports@, > >so maybe somebody here can help > > > >- Forwarded message from Anton Shterenlikht - > > > > > >maybe this has been discussed already, my apologies in that case. > > > >on current r203046 I'm trying to rebuild openssh-portable-5.2.p1_2,1 > >due to an upgrade from libutil.so.8 to libutil.so.9 > > > >I get this error on sparc64 and ia64 (don't have any other arch to check): > > > >===> Building for openssh-portable-5.2.p1_2,1 > >cc -O2 -pipe -fno-strict-aliasing -Wall -Wpointer-arith -Wuninitialized > >-Wsign-c > >ompare -Wno-pointer-sign -Wformat-security -fno-builtin-memset -I. -I.. -I. > >-I./ > >.. -DHAVE_CONFIG_H -c bsd-openpty.c > >bsd-openpty.c: In function 'openpty': > >bsd-openpty.c:128: error: 'I_PUSH' undeclared (first use in this function) > >bsd-openpty.c:128: error: (Each undeclared identifier is reported only once > >bsd-openpty.c:128: error: for each function it appears in.) > >*** Error code 1 > > > >Stop in > >/usr/ports/security/openssh-portable/work/openssh-5.2p1/openbsd-compat. > >*** Error code 1 > > > >- End forwarded message - > > > >many programs installed by this port are not usable > >anymore because I deleted the old version of this lib. > >Now I can't update the port to use the new version. > > > >What shall i do? > > > >below are extract from ldd output: > > > >/usr/local/bin/ssh: > >libutil.so.8 => not found (0x0) > >/usr/local/bin/scp: > >libutil.so.8 => not found (0x0) > >/usr/local/bin/ssh-add: > >libutil.so.8 => not found (0x0) > >/usr/local/bin/ssh-agent: > >libutil.so.8 => not found (0x0) > >/usr/local/bin/ssh-keygen: > >libutil.so.8 => not found (0x0) > >/usr/local/bin/ssh-keyscan: > >libutil.so.8 => not found (0x0) > >/usr/local/bin/sftp: > >libutil.so.8 => not found (0x0) > >/usr/local/bin/slogin: > >libutil.so.8 => not found (0x0) > > > >many thanks > >anton > > > > > >-- > >Anton Shterenlikht > >Room 2.6, Queen's Building > >Mech Eng Dept > >Bristol University > >University Walk, Bristol BS8 1TR, UK > >Tel: +44 (0)117 331 5944 > >Fax: +44 (0)117 929 4423 > >___ > >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" > > -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: libutil.so.8 -> libutil.so.9, WAS: openssh-portable fails to build on ia64, sparc
If you upgrade a library port, you need to rebuild all ports that depend on that library. On Thu, Jan 28, 2010 at 12:28:34AM +, Anton Shterenlikht thus spake: I didn't get any reply from ports@, so maybe somebody here can help - Forwarded message from Anton Shterenlikht - maybe this has been discussed already, my apologies in that case. on current r203046 I'm trying to rebuild openssh-portable-5.2.p1_2,1 due to an upgrade from libutil.so.8 to libutil.so.9 I get this error on sparc64 and ia64 (don't have any other arch to check): ===> Building for openssh-portable-5.2.p1_2,1 cc -O2 -pipe -fno-strict-aliasing -Wall -Wpointer-arith -Wuninitialized -Wsign-c ompare -Wno-pointer-sign -Wformat-security -fno-builtin-memset -I. -I.. -I. -I./ .. -DHAVE_CONFIG_H -c bsd-openpty.c bsd-openpty.c: In function 'openpty': bsd-openpty.c:128: error: 'I_PUSH' undeclared (first use in this function) bsd-openpty.c:128: error: (Each undeclared identifier is reported only once bsd-openpty.c:128: error: for each function it appears in.) *** Error code 1 Stop in /usr/ports/security/openssh-portable/work/openssh-5.2p1/openbsd-compat. *** Error code 1 - End forwarded message - many programs installed by this port are not usable anymore because I deleted the old version of this lib. Now I can't update the port to use the new version. What shall i do? below are extract from ldd output: /usr/local/bin/ssh: libutil.so.8 => not found (0x0) /usr/local/bin/scp: libutil.so.8 => not found (0x0) /usr/local/bin/ssh-add: libutil.so.8 => not found (0x0) /usr/local/bin/ssh-agent: libutil.so.8 => not found (0x0) /usr/local/bin/ssh-keygen: libutil.so.8 => not found (0x0) /usr/local/bin/ssh-keyscan: libutil.so.8 => not found (0x0) /usr/local/bin/sftp: libutil.so.8 => not found (0x0) /usr/local/bin/slogin: libutil.so.8 => not found (0x0) many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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"
libutil.so.8 -> libutil.so.9, WAS: openssh-portable fails to build on ia64, sparc
I didn't get any reply from ports@, so maybe somebody here can help - Forwarded message from Anton Shterenlikht - maybe this has been discussed already, my apologies in that case. on current r203046 I'm trying to rebuild openssh-portable-5.2.p1_2,1 due to an upgrade from libutil.so.8 to libutil.so.9 I get this error on sparc64 and ia64 (don't have any other arch to check): ===> Building for openssh-portable-5.2.p1_2,1 cc -O2 -pipe -fno-strict-aliasing -Wall -Wpointer-arith -Wuninitialized -Wsign-c ompare -Wno-pointer-sign -Wformat-security -fno-builtin-memset -I. -I.. -I. -I./ .. -DHAVE_CONFIG_H -c bsd-openpty.c bsd-openpty.c: In function 'openpty': bsd-openpty.c:128: error: 'I_PUSH' undeclared (first use in this function) bsd-openpty.c:128: error: (Each undeclared identifier is reported only once bsd-openpty.c:128: error: for each function it appears in.) *** Error code 1 Stop in /usr/ports/security/openssh-portable/work/openssh-5.2p1/openbsd-compat. *** Error code 1 - End forwarded message - many programs installed by this port are not usable anymore because I deleted the old version of this lib. Now I can't update the port to use the new version. What shall i do? below are extract from ldd output: /usr/local/bin/ssh: libutil.so.8 => not found (0x0) /usr/local/bin/scp: libutil.so.8 => not found (0x0) /usr/local/bin/ssh-add: libutil.so.8 => not found (0x0) /usr/local/bin/ssh-agent: libutil.so.8 => not found (0x0) /usr/local/bin/ssh-keygen: libutil.so.8 => not found (0x0) /usr/local/bin/ssh-keyscan: libutil.so.8 => not found (0x0) /usr/local/bin/sftp: libutil.so.8 => not found (0x0) /usr/local/bin/slogin: libutil.so.8 => not found (0x0) many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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: Opteron 1212 w/ 4 GB RAM
Thank you all for the consistent advice. Iv ___ 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: Weird build errors only on 3rd core of quad core CPU
Pieter de Goeje wrote: > I am suspecting a broken CPU, but am not sure. > > These commands: > cd /usr/ports/sysutils/hal > cpuset -c -l 2 make > > Will always result in errors, for example this one: > > gmake: *** No rule to make target `...@maintainer_mode_true@', needed by > `config.h.in'. Stop. > *** Error code 1 > > Sometimes the error occurs in a different place. When I check the input > files, they are indeed broken. Gcc stops because of syntax errors for > example. > > The configure process always completes, but apparently it creates broken > files. When I run make on any other core, it always completes > successfully: cpuset -c -l 0,1,3 make > > I've checked with script that the output of the build process is exactly > the same, up until the error occurs. I've also tried to run cpuburn on > that core, but it didn't find any problem. It's really weird that system > is otherwise very stable. > > What do you guys think the problem is? > > CPU is AMD Athlon II X4 620. Running FreeBSD 8-STABLE/amd64. I've also > tried -CURRENT, but it didn't help. > As a test I just ran these two commands on my Athlon II 630 here, but running FreeBSD 8.0-RELEASE-p2 amd64 build. The make process ran directly to completion with no error. With overclocking too. Tried 4 runs, on each core. I'm not sure I recall all the details correctly without checking, but I thought there were some early samples or generations of these processors that were not the same as the final production releases. Something to do with being Phenom cores that had L3 cache disabled, being released as early engineering samples but the die of the final products is different with no L3 cache present from manufacturing. I'd check into the stepping and if it turns out not to be a final version get whoever you bought it from to replace it. It may not be the core itself, but bad L1/L2 cache. It's either that or the only other difference is you're running stable, and I'm not. But I'd suspect bad cache spots in L1/L2. -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"
Re: Is their Automatic command to send a JPG file using FTP
On Wed, Jan 27, 2010 at 02:08:40PM -0800, Dixit, Viraj wrote: > Hi, > I am looking to see if there a command or a script In BSD Os that will > allow me to ftp to a server automatically and get a file from another > server. User name and passwd will be already in the script so it will > run ftp and download a file or a JPG from that server. Like in Linux OS > there is a command using .netrc file and you can script that file and > will automatically do what is in the file at time interval that you > want. Thanks, > VJ Sounds like you might want to learn about rsync. It is in the ports, probably //usr/ports/net/rsync It will work unattended if you sent up public/private key SSH. jerry > ___ > 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"
Re: booting off GPT partitions
On 2010-01-27 22:27, John Baldwin wrote: GPT was defined along with EFI, so many folks assume that you have to use EFI to boot a GPT-labelled disk. However, FreeBSD has its own BIOS-based bootstrap that can handle GPT-labelled disks. I doubt the SuperMicro tech is familiar with that case. I thought I heard that some folks had added GPT support to grub as well. However, this won't boot disks larger than 2TiB, right? At least not without BIOS support... ___ 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: Help booting FreeBSD with a ZFS root filesystem
>I didn't want a mirror though, I wanted a stripe. > >I still don't understand why what I'm doing isn't working. As far as I know, having the root pool on a stripe isn't supported. OpenSolaris supports having the root pool on a "simple" pool and a mirror pool. FreeBSD supports having the root pool on a simple pool, mirror pool and raidz, but afaik booting off raidz used to have issues. - Sincerely, Dan Naumov ___ 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"
Weird build errors only on 3rd core of quad core CPU
I am suspecting a broken CPU, but am not sure. These commands: cd /usr/ports/sysutils/hal cpuset -c -l 2 make Will always result in errors, for example this one: gmake: *** No rule to make target `...@maintainer_mode_true@', needed by `config.h.in'. Stop. *** Error code 1 Sometimes the error occurs in a different place. When I check the input files, they are indeed broken. Gcc stops because of syntax errors for example. The configure process always completes, but apparently it creates broken files. When I run make on any other core, it always completes successfully: cpuset -c -l 0,1,3 make I've checked with script that the output of the build process is exactly the same, up until the error occurs. I've also tried to run cpuburn on that core, but it didn't find any problem. It's really weird that system is otherwise very stable. What do you guys think the problem is? CPU is AMD Athlon II X4 620. Running FreeBSD 8-STABLE/amd64. I've also tried -CURRENT, but it didn't help. Thanks! -- Pieter ___ 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: Is their Automatic command to send a JPG file using FTP
In the last episode (Jan 27), Dixit, Viraj said: > I am looking to see if there a command or a script In BSD Os that will > allow me to ftp to a server automatically and get a file from another > server. User name and passwd will be already in the script so it will run > ftp and download a file or a JPG from that server. Like in Linux OS there > is a command using .netrc file and you can script that file and will > automatically do what is in the file at time interval that you want. > Thanks, FreeBSD's ftp command supports .netrc files. Is your current script not working? http://www.freebsd.org/cgi/man.cgi?query=ftp#THE_.netrc_FILE -- Dan Nelson dnel...@allantgroup.com ___ 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: Opteron 1212 w/ 4 GB RAM
Hi-- On Jan 27, 2010, at 1:49 PM, Iv Ray wrote: > If we are more interested in stability than in features and performance - > > a) Is FreeBSD 8.0 the right for us, or shall we rather go for FreeBSD 7.x? Pretty much by definition, the stability of a .x release is better than that of a .0 release. That said, I haven't heard of major issues with 8.0, so either is likely to be fine. > b) Is i386 or amd64 the right way? For a machine with 4GB of RAM, amd64 is likely to be a better choice. Regards, -- -Chuck ___ 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: Help booting FreeBSD with a ZFS root filesystem
On Wed, Jan 27, 2010 at 1:59 PM, krad wrote: > > > 2010/1/27 Ross Penner >> >> On Tue, Jan 26, 2010 at 7:39 AM, Randal L. Schwartz >> wrote: >> >> "Ross" == Ross Penner writes: >> > >> > Ross> That seems to have been the problem. >> > >> > Yes, what I learned the hard way is that every single step there needs >> > to be >> > precisely followed, without deviation, even if you don't understand it >> > or >> > think it's important. :) >> >> Yes! But because I was extra anal retentive this time around, I've run >> into some more trouble. I have 2 disks and I only added one when I >> created the zroot pool. Now that my system is booted I figured I could >> just go 'zpool add -f zroot /dev/gpt/disk1' but I get the error >> message: "cannot add to 'zroot': root pool cannot have multiple vdevs >> or seperate logs". >> >> I prepared the second disk in a similar manner to the first: "gpart -t >> freebsd-zfs -l disk1 ad6". >> >> Any advice would be greatly appreciated! > > > u need to attach the drive create a mirror, adding creates a new vdev ie > creates a stripe aka raid0 > I didn't want a mirror though, I wanted a stripe. I still don't understand why what I'm doing isn't working. ___ 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"
Is their Automatic command to send a JPG file using FTP
Hi, I am looking to see if there a command or a script In BSD Os that will allow me to ftp to a server automatically and get a file from another server. User name and passwd will be already in the script so it will run ftp and download a file or a JPG from that server. Like in Linux OS there is a command using .netrc file and you can script that file and will automatically do what is in the file at time interval that you want. Thanks, VJ ___ 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: Opteron 1212 w/ 4 GB RAM
On Wed, Jan 27, 2010 at 4:11 PM, Adam Vande More wrote: > On Wed, Jan 27, 2010 at 3:49 PM, Iv Ray wrote: > >> We are getting a new web server - >> >> Singe Dual Core Opteron 1212 w/ 4 GB RAM >> >> It will have - >> >> 2 x 250 GB SATA gmirror RAID 1 >> >> We will run - >> >> - Apache 2.x >> - PHP 5.x >> - PostgreSQL 8.x >> - Postfix 2.x >> >> We have a couple of questions- >> >> If we are more interested in stability than in features and performance - >> >> a) Is FreeBSD 8.0 the right for us, or shall we rather go for FreeBSD 7.x? >> >> b) Is i386 or amd64 the right way? I vote for 8.0. and amd64 even if you stay at 4GB Sam Fourman Jr. ___ 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: Opteron 1212 w/ 4 GB RAM
On Wed, Jan 27, 2010 at 3:49 PM, Iv Ray wrote: > We are getting a new web server - > > Singe Dual Core Opteron 1212 w/ 4 GB RAM > > It will have - > > 2 x 250 GB SATA gmirror RAID 1 > > We will run - > > - Apache 2.x > - PHP 5.x > - PostgreSQL 8.x > - Postfix 2.x > > We have a couple of questions- > > If we are more interested in stability than in features and performance - > > a) Is FreeBSD 8.0 the right for us, or shall we rather go for FreeBSD 7.x? > > b) Is i386 or amd64 the right way? > > Thanks! > > Iv > 8.0, amd64 if there's chance you'll ever put more ram in the system. -- Adam Vande More ___ 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: Swap Partition First?
The only thing that looks out of place is that you have defined ad0s1-2 before ad0s1-1. I've never tested it, but perhaps this is causing it to get confused when calculating the disk layout? In other words, perhaps you should use #1G swap followed by / on rest of disk. # ad0s1-1=swap 2097152 #All the rest is FreeBSD with soft updates. ad0s1-2=ufs 0 / 1 so they are defined in numerical sequence. On 1/27/10, Martin McCormick wrote: > Our FreeBSD systems mostly have a very simple disk layout. There > is a 1 or 2-gigabyte swap partition and all the rest is FreeBSD. > When manually configuring these partitions in sysinstall, I > usually set up swap first with a 1GB size and then use the > remaining space by selecting the values as defaults. > > An attempt to script this in an install.cfg file is not > going well. The disk formatting part of the file is as follows: > > disk=ad0 > partition=all > bootManager=none > diskPartitionEditor > #Entire disk is FreeBSD. > diskPartitionWrite > > > > # All sizes are expressed in 512 byte blocks! > # > #1G swap followed by / on rest of disk. > # > ad0s1-2=swap 2097152 > #All the rest is FreeBSD with soft updates. > ad0s1-1=ufs 0 / 1 > # Let's do it! > diskLabelEditor > diskLabelCommit > > # OK, everything is set. Do it! > installCommit > > This doesn't work. sysinstall reports that it can't > write the swap space. > > fdisk reports a FreeBSD partition and all the others are > shown as free. > > Any ideas? Thank you. > > Martin McCormick WB5AGZ Stillwater, OK > Systems Engineer > OSU Information Technology Department Telecommunications Services Group > ___ > 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" > -- -- Bob Johnson fbsdli...@gmail.com ___ 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"
Opteron 1212 w/ 4 GB RAM
We are getting a new web server - Singe Dual Core Opteron 1212 w/ 4 GB RAM It will have - 2 x 250 GB SATA gmirror RAID 1 We will run - - Apache 2.x - PHP 5.x - PostgreSQL 8.x - Postfix 2.x We have a couple of questions- If we are more interested in stability than in features and performance - a) Is FreeBSD 8.0 the right for us, or shall we rather go for FreeBSD 7.x? b) Is i386 or amd64 the right way? Thanks! Iv ___ 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: Help booting FreeBSD with a ZFS root filesystem
2010/1/27 Ross Penner > On Tue, Jan 26, 2010 at 7:39 AM, Randal L. Schwartz > wrote: > >> "Ross" == Ross Penner writes: > > > > Ross> That seems to have been the problem. > > > > Yes, what I learned the hard way is that every single step there needs to > be > > precisely followed, without deviation, even if you don't understand it or > > think it's important. :) > > Yes! But because I was extra anal retentive this time around, I've run > into some more trouble. I have 2 disks and I only added one when I > created the zroot pool. Now that my system is booted I figured I could > just go 'zpool add -f zroot /dev/gpt/disk1' but I get the error > message: "cannot add to 'zroot': root pool cannot have multiple vdevs > or seperate logs". > > I prepared the second disk in a similar manner to the first: "gpart -t > freebsd-zfs -l disk1 ad6". > > Any advice would be greatly appreciated! > u need to attach the drive create a mirror, adding creates a new vdev ie creates a stripe aka raid0 ___ 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: booting off GPT partitions
On Wednesday 27 January 2010 11:45:36 am Dan Naumov wrote: > Hey > > I was under the impression that everyone and their dog is using GPT > partitioning in FreeBSD these days, including for boot drives and that > I was just being unlucky with my current NAS motherboard (Intel > D945GCLF2) having supposedly shaky support for GPT boot. But right now > I am having an email exchange with Supermicro support (whom I > contacted since I am pondering their X7SPA-H board for a new system), > who are telling me that booting off GPT requires UEFI BIOS, which is > supposedly a very new thing and that for example NONE of their current > motherboards have support for this. > > Am I misunderstanding something or is the Supermicro support tech misguided? GPT was defined along with EFI, so many folks assume that you have to use EFI to boot a GPT-labelled disk. However, FreeBSD has its own BIOS-based bootstrap that can handle GPT-labelled disks. I doubt the SuperMicro tech is familiar with that case. I thought I heard that some folks had added GPT support to grub as well. -- John Baldwin ___ 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: named "error sending response: not enough free resources"
Hi-- On Jan 27, 2010, at 1:15 PM, James Smallacombe wrote: >>> Jan 26 21:50:32 host named[667]: client #57938: error sending >>> response: not enough free resources >>> Jan 26 21:50:32 host named[667]: client #59830: error sending >>> response: not enough free resources >> >> Were these client IPs expected to be talking to this machine? It > > This server is authoritative for a few hundred domains, so I would imagine > anybody doing a query on any of them would need to talk to it...unless I > misunderstand what you mean by "talk". OK, if the nameserver is published / authoritative, then it would be expected to be fielding requests from the Internet at large. >> indicates a problem sending UDP traffic; netstat -s output would be > > Unfortunately, I did not have time for netstats or tcpdumps when this was > happening and I've not seen this log entry since yesterday evening. Unless you rebooted the machine again since the errors were reported, the netstat output would still be relevant. >> informative. You might find that setting options in named.conf to tune the >> # of outstanding queries will help: >> >> clients-per-query 10; >> max-clients-per-query 20; > > Thanks, I will look into those. the man page for named.conf doesn't tell you > much and my latest cricket book is 3rd edition (only up to BIND 8), so I > guess it's time to break down and get the latest. Good luck -- -Chuck ___ 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"
Swap Partition First?
Our FreeBSD systems mostly have a very simple disk layout. There is a 1 or 2-gigabyte swap partition and all the rest is FreeBSD. When manually configuring these partitions in sysinstall, I usually set up swap first with a 1GB size and then use the remaining space by selecting the values as defaults. An attempt to script this in an install.cfg file is not going well. The disk formatting part of the file is as follows: disk=ad0 partition=all bootManager=none diskPartitionEditor #Entire disk is FreeBSD. diskPartitionWrite # All sizes are expressed in 512 byte blocks! # #1G swap followed by / on rest of disk. # ad0s1-2=swap 2097152 #All the rest is FreeBSD with soft updates. ad0s1-1=ufs 0 / 1 # Let's do it! diskLabelEditor diskLabelCommit # OK, everything is set. Do it! installCommit This doesn't work. sysinstall reports that it can't write the swap space. fdisk reports a FreeBSD partition and all the others are shown as free. Any ideas? Thank you. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group ___ 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: named "error sending response: not enough free resources"
On Wed, 27 Jan 2010, Chuck Swiger wrote: On Jan 27, 2010, at 10:24 AM, James Smallacombe wrote: NOTE: Please reply off-list as well as I am not subscribed OK. In return, please don't cross-post or multi-post the same question to multiple FreeBSD lists. I posted to the -isp list a couple of hours earlier, then looked at the archives and noticed zero traffic on that list for the past couple of weeks, so I then posted here. After getting home, I looked in the syslog and see thousands of these: Jan 26 21:50:32 host named[667]: client #57938: error sending response: not enough free resources Jan 26 21:50:32 host named[667]: client #59830: error sending response: not enough free resources Were these client IPs expected to be talking to this machine? It This server is authoritative for a few hundred domains, so I would imagine anybody doing a query on any of them would need to talk to it...unless I misunderstand what you mean by "talk". indicates a problem sending UDP traffic; netstat -s output would be Unfortunately, I did not have time for netstats or tcpdumps when this was happening and I've not seen this log entry since yesterday evening. informative. You might find that setting options in named.conf to tune the # of outstanding queries will help: clients-per-query 10; max-clients-per-query 20; Thanks, I will look into those. the man page for named.conf doesn't tell you much and my latest cricket book is 3rd edition (only up to BIND 8), so I guess it's time to break down and get the latest. James Smallacombe PlantageNet, Inc. CEO and Janitor u...@3.am http://3.am = ___ 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: finding every file not in a list
"Aryeh M. Friedman" writes: > Lowell Gilbert wrote: >> *not* OT, I would say... >> >> "Aryeh M. Friedman" writes: >> >> >>> I have a list of files that should be in a dir tree and want to remove >>> any files from the tree not in list (i.e. if it is on the list keep it >>> else rm it)... any quick way to do this? >>> >> >> mtree(8) >> >> > Tried aelpf -p master | mtree -p ~aegis/master/baseline/" (ignore the > aelpf it is a command unique to devel/aegis) but got the following: > > mtree: line 1: slash character in file name You'll need to turn the file list into an mtree specification before you can use it to do this. Why don't you try one of the other suggestions (which may be usable as-is)? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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"
Migrating Thunderbird 3 Email Archives from XP Pro SP3 to FreeBSD 8.0
I've done some searching on the Thunderbird (TB) website and have posted the question at one of their support forums, but I felt I should ask here, too, just in case someone else has confronted this. I only use POP3 to retrieve email (the merits of POP3 vs IMAP not withstanding) and store locally so I have easy and offline access to it. For about two years now I've been using XP to retrieve and check my email, upgrading through various versions of TB without a problem. Now I'm confronted with an issue I've not faced before (or attempted to confront). Transferring archives from one computer to another. I know where they are kept on the XP machine, I /think/ I know where they are kept on my FreeBSD box (nothing a little ls -a won't help me find). My question is if this even possible since Mozilla Foundation went to using binary archives for the email. I think it might be, but I'm not really wanting to waste the time to only be frustrated in the end. Has anyone attempted such a migration? Did you need any special tools? If not, was it as simple as copy/pasting into the appropriate directory structure? Or do I need to set up the accounts in TB on my FreeBSD box /first/ then copy/paste? TIA for reading and especially for helping (if you can)! (: -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. signature.asc Description: OpenPGP digital signature
Re: OT: finding every file not in a list
On Wed, Jan 27, 2010, Aryeh M. Friedman wrote: > I have a list of files that should be in a dir tree and want to remove > any files from the tree not in list (i.e. if it is on the list keep it > else rm it)... any quick way to do this? One way to do this that I use quite frequently uses the comm program to compare lists, something like cd /path-to-dir1 find . -type f | sort > /tmp/list1 cd /path-to-dir2 find . -type f | sort > /tmp/list2 comm -23 /tmp/list1 /tmp/list2 > /tmp/filesinlist1notinlist2 comm -13 /tmp/list1 /tmp/list2 > /tmp/filesinlist2notinlist1 comm -12 /tmp/list1 /tmp/list2 > /tmp/filescommontolist1andlist2 Then of course one could remove files in list1 not in list2 with: xargs rm < /tmp/filesinlist1notinlist2 NOTE: The xargs command will not work if the files contain whitespace. Bill -- INTERNET: b...@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 Skype: jwccsllc (206) 855-5792 Criminals love gun control it makes their jobs safer. ___ 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: named "error sending response: not enough free resources"
On Jan 27, 2010, at 10:24 AM, James Smallacombe wrote: > NOTE: Please reply off-list as well as I am not subscribed OK. In return, please don't cross-post or multi-post the same question to multiple FreeBSD lists. > My server (7.2-STABLE) suffered at least two outages Sunday through yesterday > after having been up since July (it is a rented dedicated server with my FSBD > install). The first time, I was able to log in via remotely, saw a ton of > spam apparently abusing a php mail form script (more on that later) filling > the /var partition. I purged it, but it still required a reboot as CPU was > through the roof. See "man pkill" for an easier way to terminate processes short of rebooting. Depending on just how badly this PHP script was being taken advantage of and how closely you've been tracking security updates, it's possible that your machine might have been compromised. > Yesterday morning, I was unable to get into the server at all...pings were > very high. I called the provider and got in via KVM over IP. CPU was fine > and there wre no full partitions. As I had to catch a flight, I just > rebooted it and it was fine. > > After getting home, I looked in the syslog and see thousands of these: > > Jan 26 21:50:32 host named[667]: client #57938: error sending > response: not enough free resources > Jan 26 21:50:32 host named[667]: client #59830: error sending > response: not enough free resources Were these client IPs expected to be talking to this machine? It indicates a problem sending UDP traffic; netstat -s output would be informative. You might find that setting options in named.conf to tune the # of outstanding queries will help: clients-per-query 10; max-clients-per-query 20; Doing a tcpdump and examining the queries to see what DNS resources are being requested would also be useful. Regards, -- -Chuck ___ 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: finding every file not in a list
Lowell Gilbert wrote: *not* OT, I would say... "Aryeh M. Friedman" writes: I have a list of files that should be in a dir tree and want to remove any files from the tree not in list (i.e. if it is on the list keep it else rm it)... any quick way to do this? mtree(8) Tried aelpf -p master | mtree -p ~aegis/master/baseline/" (ignore the aelpf it is a command unique to devel/aegis) but got the following: mtree: line 1: slash character in file name The reason is here is a very small snippet of aelpf's output: data/config/dns/agilejavatools.com.db data/config/dns/istudentunion.com.db ___ 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: Help booting FreeBSD with a ZFS root filesystem
On Tue, Jan 26, 2010 at 7:39 AM, Randal L. Schwartz wrote: >> "Ross" == Ross Penner writes: > > Ross> That seems to have been the problem. > > Yes, what I learned the hard way is that every single step there needs to be > precisely followed, without deviation, even if you don't understand it or > think it's important. :) Yes! But because I was extra anal retentive this time around, I've run into some more trouble. I have 2 disks and I only added one when I created the zroot pool. Now that my system is booted I figured I could just go 'zpool add -f zroot /dev/gpt/disk1' but I get the error message: "cannot add to 'zroot': root pool cannot have multiple vdevs or seperate logs". I prepared the second disk in a similar manner to the first: "gpart -t freebsd-zfs -l disk1 ad6". Any advice would be greatly 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"
Re: OT: finding every file not in a list
Glen Barber wrote: Hi, Aryeh M. Friedman wrote: I have a list of files that should be in a dir tree and want to remove any files from the tree not in list (i.e. if it is on the list keep it else rm it)... any quick way to do this? Perhaps something like this will help: find /dir -type f | \ grep -v `cat excludelist` | \ xargs rm Regards, Note quite since it will see every file after the first as a file to be grepped instead of filtered out... I was playing with the idea of doing a tcsh foreach loop on each file and then using it cut down the output of find... the problem there is it is O(n^2) where is a "good" solution is O(n) [I need to do this {don't ask the reasons} everytime I build a program I am developing] ___ 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: finding every file not in a list
*not* OT, I would say... "Aryeh M. Friedman" writes: > I have a list of files that should be in a dir tree and want to remove > any files from the tree not in list (i.e. if it is on the list keep it > else rm it)... any quick way to do this? mtree(8) -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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: OT: finding every file not in a list
You could probably use rsync with : --exclude-from=FILE read exclude patterns from FILE -jgh On Wed, Jan 27, 2010 at 02:17:37PM -0500, Glen Barber thus spake: Hi, Aryeh M. Friedman wrote: I have a list of files that should be in a dir tree and want to remove any files from the tree not in list (i.e. if it is on the list keep it else rm it)... any quick way to do this? Perhaps something like this will help: find /dir -type f | \ grep -v `cat excludelist` | \ xargs rm Regards, -- Glen Barber ___ 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"
Re: OT: finding every file not in a list
Hi, Aryeh M. Friedman wrote: > I have a list of files that should be in a dir tree and want to remove > any files from the tree not in list (i.e. if it is on the list keep it > else rm it)... any quick way to do this? Perhaps something like this will help: find /dir -type f | \ grep -v `cat excludelist` | \ xargs rm Regards, -- Glen Barber ___ 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"
OT: finding every file not in a list
I have a list of files that should be in a dir tree and want to remove any files from the tree not in list (i.e. if it is on the list keep it else rm it)... any quick way to do this? ___ 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: cannot create 'tank': permission denied
Looks like it is the same issue as there http://groups.google.com/group/muc.lists.freebsd.fs/browse_thread/thread/8bc6c68057e5d416 but still don't know how to fix 27.01.10, 21:02, "Baginski Darren" : > Hi! > > Getting weird error > #zpool create tank mfid0p4 > cannot create 'tank': permission denied > > On dmesg: > vdev_geom_open_by_path:466[1]: Found provider by name /dev/mfid0p4. > vdev_geom_attach:112[1]: Attaching to mfid0p4. > vdev_geom_attach:153[1]: Created consumer for mfid0p4. > vdev_geom_read_guid:301[1]: Reading guid from mfid0p4... > vdev_geom_detach:173[1]: Closing access to mfid0p4. > vdev_geom_detach:177[1]: Destroyed consumer to mfid0p4. > vdev_geom_open_by_path:477[1]: guid mismatch for provider /dev/mfid0p4: > 15029269312013869400 != 0. > vdev_geom_open_by_guid:435[1]: Searching by guid [15029269312013869400]. > vdev_geom_read_guid:301[1]: Reading guid from acd0... > vdev_geom_read_guid:301[1]: Reading guid from mfid0p4... > vdev_geom_read_guid:301[1]: Reading guid from mfid0p3... > vdev_geom_read_guid:339[1]: guid for mfid0p3 is 9402336837364771330 > vdev_geom_read_guid:301[1]: Reading guid from mfid0p2... > vdev_geom_read_guid:301[1]: Reading guid from mfid0p1... > vdev_geom_read_guid:301[1]: Reading guid from > gptid/85a347ae-0b3f-11df-84de-001ec9b0c152... > vdev_geom_read_guid:301[1]: Reading guid from ufsid/4b6033ebc4edab5d... > vdev_geom_read_guid:301[1]: Reading guid from > gptid/2f7b4cd6-e983-11de-ac17-001ec9b0c152... > vdev_geom_read_guid:301[1]: Reading guid from > gptid/2f7aa939-e983-11de-ac17-001ec9b0c152... > vdev_geom_read_guid:301[1]: Reading guid from mfid0... > vdev_geom_open_by_guid:449[1]: Search by guid [15029269312013869400] failed. > vdev_geom_open_by_path:466[1]: Found provider by name /dev/mfid0p4. > vdev_geom_attach:112[1]: Attaching to mfid0p4. > vdev_geom_open:521[1]: Provider /dev/mfid0p4 not found. > > But > # gpart list > Geom name: mfid0 > fwheads: 255 > fwsectors: 63 > last: 570949598 > first: 34 > entries: 128 > scheme: GPT > Providers: > 1. Name: mfid0p1 > Mediasize: 65536 (64K) > Sectorsize: 512 > Mode: r0w0e0 > rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f > label: (null) > length: 65536 > offset: 17408 > type: freebsd-boot > index: 1 > end: 161 > start: 34 > 2. Name: mfid0p2 > Mediasize: 124354560 (119M) > Sectorsize: 512 > Mode: r0w0e0 > rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b > label: (null) > length: 124354560 > offset: 82944 > type: freebsd-swap > index: 2 > end: 243041 > start: 162 > 3. Name: mfid0p3 > Mediasize: 6442449920 (6.0G) > Sectorsize: 512 > Mode: r1w1e1 > rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b > label: (null) > length: 6442449920 > offset: 124437504 > type: freebsd-zfs > index: 3 > end: 12825951 > start: 243042 > 4. Name: mfid0p4 > Mediasize: 285759307264 (266G) > Sectorsize: 512 > Mode: r0w0e0 > rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b > label: (null) > length: 285759307264 > offset: 6566887424 > type: freebsd-zfs > index: 4 > end: 570949598 > start: 12825952 > Consumers: > 1. Name: mfid0 > Mediasize: 292326211584 (272G) > Sectorsize: 512 > Mode: r1w1e2 > > Any ideas ? > > ___ > 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" > > -- Здесь спама нет http://mail.yandex.ru/nospam/sign ___ 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: "adduser" and single-user groups
John writes: > Could someone point me in the direction of enlightenment with regard > to the value add of the "group per user" approach that adduser > uses? "man adduser"; about 60 lines in, there is a whole section titled "UNIQUE GROUPS". This is the document you want. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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"
named "error sending response: not enough free resources"
NOTE: Please reply off-list as well as I am not subscribed My server (7.2-STABLE) suffered at least two outages Sunday through yesterday after having been up since July (it is a rented dedicated server with my FSBD install). The first time, I was able to log in via remotely, saw a ton of spam apparently abusing a php mail form script (more on that later) filling the /var partition. I purged it, but it still required a reboot as CPU was through the roof. Yesterday morning, I was unable to get into the server at all...pings were very high. I called the provider and got in via KVM over IP. CPU was fine and there wre no full partitions. As I had to catch a flight, I just rebooted it and it was fine. After getting home, I looked in the syslog and see thousands of these: Jan 26 21:50:32 host named[667]: client #57938: error sending response: not enough free resources Jan 26 21:50:32 host named[667]: client #59830: error sending response: not enough free resources Some googling on this error found a reference to a possible queue limiting problem in pf/qlimit, but the only firewalling I do is a very basic ipfw setup strictly for bruteblock. I am not even sure if this error caused the outage(s) or was caused by them, let alone a fix or workaround. Appreciate any and all clues, especially if you are familiar with this. TIA! James Smallacombe PlantageNet, Inc. CEO and Janitor u...@3.am http://3.am = ___ 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: Intel Pro/Wireless3945 issue
On Wed, 27 Jan 2010, Leslie Jensen wrote: 2010-01-27 17:28, dhaneshk k skrev: I am trying to configure my laptop for wireless connectivity to a broadband connection. these are the steps I followed, I don't know what I made wrong, please help to fix the issue.. 1 ) To /boot/loader.conf if_wpi_load = "YES" wlan_load = "YES" wlan_amrr_load = "YES" firmware_load = "YES" wpifw_load = "YES" legal.intel_wpi.licence_ack=1 ... 3) then I checked the out put ofifconfig it showing wpi0but no carriers for the device I am using FreeBSD-7.2 i386 release. Wireless card is Intel Pro/Wireless 3945 . (In Windows XP it works from this Windows I am sending this mail via Wireless access) Any help most welcome. You need some lines i /etc/rc.conf wpa_supplicant_enable="YES" # is for security, try without first wlans_wpi0="wlan0" # mine is wlans_iwn0="wlan0" ifconfig_wlan0="WPA DHCP" The virtual wlan0 was added for FreeBSD 8. For 7.2, it should still be done the old way (using the actual card, wpi0 in this case). -Warren Block * Rapid City, South Dakota USA ___ 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: Intel Pro/Wireless3945 issue
2010-01-27 17:28, dhaneshk k skrev: Fellow FreeBSDians, I am trying to configure my laptop for wireless connectivity to a broadband connection. these are the steps I followed, I don't know what I made wrong, please help to fix the issue.. 1 ) To /boot/loader.conf if_wpi_load = "YES" wlan_load = "YES" wlan_amrr_load = "YES" firmware_load = "YES" wpifw_load = "YES" legal.intel_wpi.licence_ack=1 save and rebooted the machine and 2) issued the command ifconfig wpi0 up scan but nothing is reported for this command 3) then I checked the out put ofifconfig it showing wpi0but no carriers for the device I am using FreeBSD-7.2 i386 release. Wireless card is Intel Pro/Wireless 3945 . (In Windows XP it works from this Windows I am sending this mail via Wireless access) Any help most welcome. thanks in advance dhanesh You need some lines i /etc/rc.conf wpa_supplicant_enable="YES" # is for security, try without first wlans_wpi0="wlan0" # mine is wlans_iwn0="wlan0" ifconfig_wlan0="WPA DHCP" / ___ 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: "adduser" and single-user groups
On 27/01/10 19.05, John wrote: Could someone point me in the direction of enlightenment with regard to the value add of the "group per user" approach that adduser uses? Is that a FreeBSD thing, or a *BSD thing, or a unix-like-universe thing, or what? Many systems do this AFAIK. IIRC, the point is that you can set umask to 007 or 002 and your home directory with owner you, and group you will remain private or at least only writable by you. The umasks 007 or 002 are useful if you have some shared folder where you have multiple users with write access, say: drwxrwxr-x root:users /home/share With umask 002, when files are created in this directory by another user in the users group, all users in this group can edit that file, no need to modify permissions. BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.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"
Re: "adduser" and single-user groups
Hi, John John wrote: > Could someone point me in the direction of enlightenment with regard > to the value add of the "group per user" approach that adduser > uses? Is that a FreeBSD thing, or a *BSD thing, or a unix-like-universe > thing, or what? > If I understand your question correctly, you are asking about the default group to which a user is added upon user creation. If not, please explain more on what you are asking. useradd(8) will automatically add a user to a group, named after the user, unless otherwise specified. This is the login group for the user, and the primary GID used when read/write access to files and directories is determined. This, of course, can be overridden with the '-g' flag, changing the default group, and additionally with '-G' to add to several groups. Regards, -- Glen Barber ___ 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: booting off GPT partitions
On Wed, Jan 27, 2010 at 8:45 AM, Dan Naumov wrote: > Hey > > I was under the impression that everyone and their dog is using GPT > partitioning in FreeBSD these days, including for boot drives and that > I was just being unlucky with my current NAS motherboard (Intel > D945GCLF2) having supposedly shaky support for GPT boot. But right now > I am having an email exchange with Supermicro support (whom I > contacted since I am pondering their X7SPA-H board for a new system), > who are telling me that booting off GPT requires UEFI BIOS, which is > supposedly a very new thing and that for example NONE of their current > motherboards have support for this. > > Am I misunderstanding something or is the Supermicro support tech > misguided? > > I'm booting servers with SuperMicro X8STi-F motherboards just fine using pmbr + GPT + ZFS. Matt ___ 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"
cannot create 'tank': permission denied
Hi! Getting weird error #zpool create tank mfid0p4 cannot create 'tank': permission denied On dmesg: vdev_geom_open_by_path:466[1]: Found provider by name /dev/mfid0p4. vdev_geom_attach:112[1]: Attaching to mfid0p4. vdev_geom_attach:153[1]: Created consumer for mfid0p4. vdev_geom_read_guid:301[1]: Reading guid from mfid0p4... vdev_geom_detach:173[1]: Closing access to mfid0p4. vdev_geom_detach:177[1]: Destroyed consumer to mfid0p4. vdev_geom_open_by_path:477[1]: guid mismatch for provider /dev/mfid0p4: 15029269312013869400 != 0. vdev_geom_open_by_guid:435[1]: Searching by guid [15029269312013869400]. vdev_geom_read_guid:301[1]: Reading guid from acd0... vdev_geom_read_guid:301[1]: Reading guid from mfid0p4... vdev_geom_read_guid:301[1]: Reading guid from mfid0p3... vdev_geom_read_guid:339[1]: guid for mfid0p3 is 9402336837364771330 vdev_geom_read_guid:301[1]: Reading guid from mfid0p2... vdev_geom_read_guid:301[1]: Reading guid from mfid0p1... vdev_geom_read_guid:301[1]: Reading guid from gptid/85a347ae-0b3f-11df-84de-001ec9b0c152... vdev_geom_read_guid:301[1]: Reading guid from ufsid/4b6033ebc4edab5d... vdev_geom_read_guid:301[1]: Reading guid from gptid/2f7b4cd6-e983-11de-ac17-001ec9b0c152... vdev_geom_read_guid:301[1]: Reading guid from gptid/2f7aa939-e983-11de-ac17-001ec9b0c152... vdev_geom_read_guid:301[1]: Reading guid from mfid0... vdev_geom_open_by_guid:449[1]: Search by guid [15029269312013869400] failed. vdev_geom_open_by_path:466[1]: Found provider by name /dev/mfid0p4. vdev_geom_attach:112[1]: Attaching to mfid0p4. vdev_geom_open:521[1]: Provider /dev/mfid0p4 not found. But # gpart list Geom name: mfid0 fwheads: 255 fwsectors: 63 last: 570949598 first: 34 entries: 128 scheme: GPT Providers: 1. Name: mfid0p1 Mediasize: 65536 (64K) Sectorsize: 512 Mode: r0w0e0 rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f label: (null) length: 65536 offset: 17408 type: freebsd-boot index: 1 end: 161 start: 34 2. Name: mfid0p2 Mediasize: 124354560 (119M) Sectorsize: 512 Mode: r0w0e0 rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b label: (null) length: 124354560 offset: 82944 type: freebsd-swap index: 2 end: 243041 start: 162 3. Name: mfid0p3 Mediasize: 6442449920 (6.0G) Sectorsize: 512 Mode: r1w1e1 rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b label: (null) length: 6442449920 offset: 124437504 type: freebsd-zfs index: 3 end: 12825951 start: 243042 4. Name: mfid0p4 Mediasize: 285759307264 (266G) Sectorsize: 512 Mode: r0w0e0 rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b label: (null) length: 285759307264 offset: 6566887424 type: freebsd-zfs index: 4 end: 570949598 start: 12825952 Consumers: 1. Name: mfid0 Mediasize: 292326211584 (272G) Sectorsize: 512 Mode: r1w1e2 Any ideas ? ___ 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"
"adduser" and single-user groups
Could someone point me in the direction of enlightenment with regard to the value add of the "group per user" approach that adduser uses? Is that a FreeBSD thing, or a *BSD thing, or a unix-like-universe thing, or what? Thanks! -- John Lind j...@starfire.mn.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"
Re: booting off GPT partitions
On Wed, Jan 27, 2010 at 06:45:36PM +0200, Dan Naumov wrote: > Hey > > I was under the impression that everyone and their dog is using GPT > partitioning in FreeBSD these days, including for boot drives and that > I was just being unlucky with my current NAS motherboard (Intel > D945GCLF2) having supposedly shaky support for GPT boot. But right now > I am having an email exchange with Supermicro support (whom I > contacted since I am pondering their X7SPA-H board for a new system), > who are telling me that booting off GPT requires UEFI BIOS, which is > supposedly a very new thing and that for example NONE of their current > motherboards have support for this. > > Am I misunderstanding something or is the Supermicro support tech misguided? The compatability MBR should be sufficent to let a non-GPT aware BIOS boot from GPT. Once you've loaded code from the boot partition, the BIOS doesn't need to know anything about the partitions. -- Brooks pgpCLNbdHGH7i.pgp Description: PGP signature
Re: booting off GPT partitions
on 27/01/2010 18:45 Dan Naumov said the following: > Hey > > I was under the impression that everyone and their dog is using GPT > partitioning in FreeBSD these days, including for boot drives and that > I was just being unlucky with my current NAS motherboard (Intel > D945GCLF2) having supposedly shaky support for GPT boot. But right now > I am having an email exchange with Supermicro support (whom I > contacted since I am pondering their X7SPA-H board for a new system), > who are telling me that booting off GPT requires UEFI BIOS, which is > supposedly a very new thing and that for example NONE of their current > motherboards have support for this. > > Am I misunderstanding something or is the Supermicro support tech misguided? Perhaps both :-) It depends on what booting capabilities you need from your BIOS. With FreeBSD we currently typically don't use "pure" GPT and use Protective MBR and install real boot code into a special boot partition. Protective MBR looks like a "normal" MBR to BIOS, and boot code in Protective MBR is smart to find the boot partition and hand off boot process to code in it. This way you can almost have the best of both worlds, but with some limitations (like multibooting). I don't know what other OSes do or expect in this area. Obligatory wikipedia link: http://en.wikipedia.org/wiki/GUID_Partition_Table#Legacy_MBR_.28LBA_0.29 -- Andriy Gapon ___ 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: booting off GPT partitions
GPT booting is I believe only natively supported using an EFI BIOS. However if you wish to use GPT booting with FreeBSD its not too hard, you just cant install using sysinstall. The Examples section of the gpart manpage is what i used to configure the disk for my home server, a zotac ion atom based board (dont have any production servers at work using it at the moment.) Then i just installed using the files on the usb image. >From what I understand gpart installs the pmbr file as a basic bootstrap in the protective MBR present in the GPT partition scheme, this is bootable by a standard bios and is able to understand enough GPT to look for a freebsd boot partition, load the bootcode in that, which loads the kernel etc. So no they arent completely misguided, but its certainly possible to use a GPT scheme without an EFI BIOS. What I would like is an efi bootloader for i386 so I can get my powerbook to run FreeBSD again as it has got an efi bios and bootcamp wont boot freebsd for me at the moment :( Vince Dan Naumov wrote: > Hey > > I was under the impression that everyone and their dog is using GPT > partitioning in FreeBSD these days, including for boot drives and that > I was just being unlucky with my current NAS motherboard (Intel > D945GCLF2) having supposedly shaky support for GPT boot. But right now > I am having an email exchange with Supermicro support (whom I > contacted since I am pondering their X7SPA-H board for a new system), > who are telling me that booting off GPT requires UEFI BIOS, which is > supposedly a very new thing and that for example NONE of their current > motherboards have support for this. > > Am I misunderstanding something or is the Supermicro support tech misguided? > > > - Sincerely, > Dan Naumov > ___ > freebsd-sta...@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-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"
Re: booting off GPT partitions
On Wed, Jan 27, 2010 at 06:45:36PM +0200, Dan Naumov wrote: > I was under the impression that everyone and their dog is using GPT > partitioning in FreeBSD these days, including for boot drives and that > I was just being unlucky with my current NAS motherboard (Intel > D945GCLF2) having supposedly shaky support for GPT boot. But right now > I am having an email exchange with Supermicro support (whom I > contacted since I am pondering their X7SPA-H board for a new system), > who are telling me that booting off GPT requires UEFI BIOS, which is > supposedly a very new thing and that for example NONE of their current > motherboards have support for this. > > Am I misunderstanding something or is the Supermicro support tech misguided? For what it's worth, I've never encountered any production x86 system that I've worked on (Linux, FreeBSD, Solaris 10, or OpenSolaris) which has used GPT. I don't know who's giving you the impression that "everyone and their dog is using GPT". Why is this feature a deal-breaker for you? Why are you giving it so much attention? -- | Jeremy Chadwick j...@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ 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: Intel Pro/Wireless3945 issue
On Wed, 2010-01-27 at 16:28 +, dhaneshk k wrote: > Fellow FreeBSDians, > > > > I am trying to configure my laptop for wireless connectivity to a > broadband connection. > > > > these are the steps I followed, I don't know what I made wrong, please help > to fix the issue.. > > > > 1 ) To /boot/loader.conf > > > > > > if_wpi_load = "YES" > > wlan_load = "YES" > > wlan_amrr_load = "YES" > > firmware_load = "YES" > > wpifw_load = "YES" > > legal.intel_wpi.licence_ack=1 > > > > save and rebooted the machine > > > > and > > > > 2) issued the command ifconfig wpi0 up scan > > > > but nothing is reported for this command Howdy Dhanesh Try; ifconfig wpi0 list scan this should bring up a list of all the wifi spots in your area with signal strengths and rates. > 3) then I checked the out put ofifconfig > > > > it showing wpi0but no carriers for the device Once you have found the access point you want to access you'll need to pass more arguments to ifconfig and possibly setup wpa_supplicant.conf http://www.freebsd.org/doc/handbook/network-wireless.html should help > > I am using FreeBSD-7.2 i386 release. Wireless card is Intel Pro/Wireless > 3945 . (In Windows XP it works from this Windows I am sending this mail via > Wireless access) Any help most welcome. > > > > thanks in advance > > dhanesh Wpi isn't the most stable wifi for freebsd at the moment, I am having a few issues with it... It keeps dropping the connection silently unless I hammer the AP with ping... Regards Craig B ___ 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"
booting off GPT partitions
Hey I was under the impression that everyone and their dog is using GPT partitioning in FreeBSD these days, including for boot drives and that I was just being unlucky with my current NAS motherboard (Intel D945GCLF2) having supposedly shaky support for GPT boot. But right now I am having an email exchange with Supermicro support (whom I contacted since I am pondering their X7SPA-H board for a new system), who are telling me that booting off GPT requires UEFI BIOS, which is supposedly a very new thing and that for example NONE of their current motherboards have support for this. Am I misunderstanding something or is the Supermicro support tech misguided? - Sincerely, Dan Naumov ___ 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: ipfw: limit bandwidth
Hello, Martin. First of all you must decide you want your shaper rule act as allow rule or not: kes# sysctl -a | grep one_pass net.inet.ip.fw.one_pass: 0 or 1 man ipfw pipe pipe_nr Pass packet to a dummynet(4) ``pipe'' (for bandwidth limitation, delay, etc.). See the TRAFFIC SHAPER (DUMMYNET) CONFIGURATION Section for further information. The search terminates; however, on exit from the pipe and if the sysctl(8) variable net.inet.ip.fw.one_pass is not set, the packet is passed again to the firewall code starting from the next rule. Second you do not need to put packet to pipe and to queue at same time. use pipe to just limit rate or use queue to limit rate and process groups of packets in round robin manner. packets are grouped my mask pipe is like this: http://www.mikrotik.com/testdocs/ros/2.9/img/queue_fifo.jpg queue is like this: http://www.mikrotik.com/testdocs/ros/2.9/img/queue_pcq.jpg some doc: http://kes.net.ua/softdev/advanced_firewall.html translated by google: http://translate.google.com/translate?js=y&prev=_t&hl=ru&ie=UTF-8&layout=2&eotf=1&swap=1&u=http%3A%2F%2Fkes.net.ua%2Fsoftdev%2Fadvanced_firewall.html&sl=ru&tl=en MS> Hello MS> I use FreeBSD 7.2 on a amd64. I want to limit the bandwidth thru MS> this machine. Here is the relevante part of /etc/rc.firewall MS> [snip] MS> $ipfwcmd pipe 1 config bw 80kByte/s MS> $ipfwcmd add pipe 1 ip from any to 192.168.10.0/24{100-254} via em1 MS> $ipfwcmd queue 1 config pipe 1 weight 1 mask dst-ip 0x MS> $ipfwcmd add queue 1 all from any to 192.168.10.0/24{100-254} via em1 MS> [snip] MS> I generate this from different sources but it seems that it is not working. What do I'm wrong? MS> Here the part from ipfw show: MS> 00100 0 0 check-state MS> 00200 243271497881 pipe 1 ip from any to 192.168.10.0/24{100-254} via em1 MS> 00300 0 0 queue 1 ip from any to 192.168.10.0/24{100-254} via em1 MS> [snip] MS> Regards, -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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: FreeBSD 8.0 how to enter kernel debugger inside vmware
You might want to recompile your kernel with the ALT_BREAK_TO_DEBUGGER option. This allows you to use ~^b to enter the debugger instead of ctrl-alt-esc. Andrew 2010/1/27 Daniel Mueller : > > Hi all > > I have an unstable machine running FreeBSD 8.0-RELEASE inside vmware. It > freezes on average once a week but doesn't panic, so i would like to > enter the kernel debugger, to at least being able to force a panic. > Unfortunately, i have no serial interface and can't enter into the > debugger on the console using ctrl-alt-esc either, because it conflicts > with the key sequence to leave the console in the vmware client. What > can i do? > > many thanks and best regards > -Daniel > ___ > 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"
Intel Pro/Wireless3945 issue
Fellow FreeBSDians, I am trying to configure my laptop for wireless connectivity to a broadband connection. these are the steps I followed, I don't know what I made wrong, please help to fix the issue.. 1 ) To /boot/loader.conf if_wpi_load = "YES" wlan_load = "YES" wlan_amrr_load = "YES" firmware_load = "YES" wpifw_load = "YES" legal.intel_wpi.licence_ack=1 save and rebooted the machine and 2) issued the command ifconfig wpi0 up scan but nothing is reported for this command 3) then I checked the out put ofifconfig it showing wpi0but no carriers for the device I am using FreeBSD-7.2 i386 release. Wireless card is Intel Pro/Wireless 3945 . (In Windows XP it works from this Windows I am sending this mail via Wireless access) Any help most welcome. thanks in advance dhanesh _ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. https://signup.live.com/signup.aspx?id=60969___ 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: MRTG vs. character of traffic
In response to "Glenn McCalley" : > OK so the data center says my traffic is unreasonable. > Turns out they may be correct. > MRTG is showing one server with a totally unreasonable level of outbound > traffic so now I know which machine to study. Are there recommendations for > a tool to tell me what KIND of traffic, not just the gross bit rate? I want > to find that idiot that's causing all the bandwidth. ntop -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ 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: MRTG vs. character of traffic
In the last episode (Jan 27), Glenn McCalley said: > OK so the data center says my traffic is unreasonable. Turns out they may > be correct. MRTG is showing one server with a totally unreasonable level > of outbound traffic so now I know which machine to study. Are there > recommendations for a tool to tell me what KIND of traffic, not just the > gross bit rate? I want to find that idiot that's causing all the > bandwidth. tcpdump or wireshark would be a good start, if you're around when it happens. -- Dan Nelson dnel...@allantgroup.com ___ 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"
MRTG vs. character of traffic
OK so the data center says my traffic is unreasonable. Turns out they may be correct. MRTG is showing one server with a totally unreasonable level of outbound traffic so now I know which machine to study. Are there recommendations for a tool to tell me what KIND of traffic, not just the gross bit rate? I want to find that idiot that's causing all the bandwidth. ___ 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: Does geli metadata contain sensitive information?
On Wed, 27 Jan 2010 04:13:42 -0700 Modulok wrote: > Does a geli metadata backup contain any sensitive information? Like... > should apply the same precations as I do the key and password? If you change the keyfile the metadata is changed and the old keyfile becomes useless; but if the attacker also has the old metadata file they can make use of the old keyfile. Likewise if someone has the metadata you lose the ability to delete all copies of it making the partition instantaneously unrecoverable. ___ 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 8.0 how to enter kernel debugger inside vmware
Hi all I have an unstable machine running FreeBSD 8.0-RELEASE inside vmware. It freezes on average once a week but doesn't panic, so i would like to enter the kernel debugger, to at least being able to force a panic. Unfortunately, i have no serial interface and can't enter into the debugger on the console using ctrl-alt-esc either, because it conflicts with the key sequence to leave the console in the vmware client. What can i do? many thanks and best regards -Daniel ___ 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"
Does geli metadata contain sensitive information?
Does a geli metadata backup contain any sensitive information? Like... should apply the same precations as I do the key and password? Thanks! -Modulok- ___ 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"