Re: A question for developers
On Monday 17 August 2009 04:14:18 Steve Bertrand wrote: Manish Jain wrote: You are right. Syntax highlighting only works well with X. On the console, to the best of knowledge, there is no way to change the colours through vim's rc files. Syntax colour changing does work via .vimrc on the console. The constructs are named differently: ctermfg, cterm etc. The default however uses bright yellow and very light blue for many things, which doesn't appear well on my white console. If you have a set bg=dark line in .vimrc, remove it. or explicitly set bg=light. -- Mel ___ 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
Possible bug with IPv6 ICMPv6 handling
I have found what to me seems like a bug with ICMPv6 handling in IPv6. However, before submitting a PR I wanted to check to be sure that its not a misunderstanding on my part. The network setup. A host (A) connected to a router (B) connected to another host (C) on a separate network. When all are up and running, A can ping6 to C and gets a response. If you power off C and then do the ping again, tpcdump on A shows an ICMPv6 destination unreachable datagram received from B. However ping6 does not report that back to the user. A ktrace of ping6 shows that it does not receive the ICMPv6 response. Its my understanding that it should and the ping6 code seems to imply that also. Is this a bug? ___ 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: Ruleset anomaly
On Thu, Aug 20, 2009 at 08:08:00PM -0400, Steven Friedrich wrote: I'm running freebsd 7.2p3 and I believe I started seeing the following messages after the p3 patch. /etc/rc: WARNING: devfs_set_ruleset: you must specify a ruleset number /etc/rc: WARNING: devfs_apply_ruleset: you must specify a ruleset This is in /etc/rc.conf, but I don't know what put it there: devfs_system_ruleset=localrules The man page for devfs mentions name, not number. See the manual page for devfs.rules: 'man devfs.rules'. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpNqTsDD44P2.pgp Description: PGP signature
Can't boot from install cdrom/dvd ( was kein Betreff )
Hi! Try disabling AHCI. I had to do that on an Intel board. Hope it does help. :-) Well, it doesn't. The problem is that it doesn't find the DVD device (which is IDE). But I figured out that I can boot from USB just fine. The image of 8.0 BETA 2 works fine (I can install and boot that installation with AHCI enabled), but I'd prefer to use 7.2. Unfortunately there is no image available and the tutorials to create one all require FreeBSD. I found a PC-BSD image and will try this one now. Thanks a lot, O.Leidinger ___ 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: Flash10 with 8.0-BETA2 and Firefox 3.5.2
On Thu, Aug 20, 2009 at 07:02:28AM -0600, Warren Block wrote: So you should not run it as root. Let me clarify: I did not run it as root until after it didn't work as a normal user. Or at least I thought I didn't. Now, having removed the link in /usr/local/lib/firefox3/plugins and making sure that npwrapper.libflashplayer.so was not present in /usr/local/lib/browser_plugins, nspluginwrapper and Flash as a normal user works. All these Firefox plugins are a big nightmare cause so many parameters can prevent them to work. It's a pain :( But if you find a reliable reason, something that we can repeat, that prevented the detection of the plugin, please mail me. I'm interested in updating the docs on this point. -- Marc ___ 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: installation sequence
On Fri, Aug 21, 2009 at 01:29:26AM +, b. f. typed: Lane Holcombe wrote: Here's what you do: Setup for yourself a local cvs repository like so: portinstall -Pp net/cvsup-mirror You have to make decisions about what to mirror, but in the end you will have a semi-authoritative mirror of all the source and ports for the whole dang FreeBSD development tree, that will maintain itself and be ready when you need it. It's good advice to make sure that you are using a base system and ports tree that are up-to-date, or at least contemporaneous and from a stable snapshot. But it seems to me to be overkill to ask someone who is having trouble installing ports to mirror the FreeBSD repository. Snapshots downloaded per the instructions in the FreeBSD Handbook ought to be enough for most people. Besides, an uptodate portstree is no guarantee at all that all ports will compile and/or all dependencies will work. That's why there are periods of ports freeze before every RELEASE. On a desktop system, I tend to use binary packages only, coming with the release. Ruben ___ 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
enquiry
Dear Sir, May i know how to change the IP address in freeBSD . Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
HP Proliant DL580 G5-installation freezes (FreeBSD 7.2 i386)
Dear all: I'm having troubles installing Freebsd 7.2 (i386) on a HP Proliant DL5= 80 G5(Intel): The system boots from the Install-CD, and while probing the hardware, = it suddenly freezes. The last line on the console is VGA: . anyone can show me hot to solve it? Thanks datatek --- 本郵= 件來自HiNet WebMail --- ___ 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
g_vfs_done() WRITE error
Hi, I have a brand new HDD and I copied my system and home directory to it. While copying my home directory I got the following errors at dmesg and /var/log/messages: Aug 21 08:49:16 pc kernel: g_vfs_done():ufs/home[WRITE(offset=50879299584, length=32768)]error = 1 Aug 21 08:49:51 pc last message repeated 12 times Aug 21 08:51:51 pc last message repeated 19 times Aug 21 08:55:25 pc last message repeated 35 times Aug 21 08:55:29 pc kernel: g_vfs_done():ufs/home[WRITE(offset=50879315968, length=16384)]error = 1 Aug 21 08:55:29 pc last message repeated 4 times Errno 1 would mean access denied. However - this makes no sense to me for the hardware access to the harddisk. The partition is encrypted via gbde. So /dev/ufs/home points to the same partition /dev/label/home.bde which is the decrypted /dev/label/home. (And /dev/label/home points to /dev/ad4s4e) smartctrl -a /dev/ad4 reports no errors (i.e. sector defects) uname -a: FreeBSD pc.martinlaabs.de 7.2-STABLE FreeBSD 7.2-STABLE #1: Sat Aug 15 18:48:58 CEST 2009 mar...@pc.martinlaabs.de:/usr/obj/usr/src/sys/GENERIC i386 Can you explain me that error? Thank you, Martin L. PS: Here is my dmesg (the medium not present error at sa0 is ok since it is a streamer without a tape) Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.2-STABLE #1: Sat Aug 15 18:48:58 CEST 2009 mar...@pc.martinlaabs.de:/usr/obj/usr/src/sys/GENERIC module_register: module uhub/uftdi already exists! Module uhub/uftdi failed to register: 17 Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) II X2 240 Processor (2795.97-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x100f62 Stepping = 2 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C MOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT Features2=0x802009SSE3,MON,CX16,POPCNT AMD Features=0xee500800SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow! AMD Features2=0x37ffLAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS, SKINIT,WDT TSC: P-state invariant Cores per package: 2 real memory = 2012938240 (1919 MB) avail memory = 1947013120 (1856 MB) ACPI APIC Table: 040909 APIC1950 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 1.1 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: 040909 RSDT1950 on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of fefe1000, 1000 (3) failed acpi0: reservation of fee01000, ff000 (3) failed acpi0: reservation of fec0, 1000 (3) failed acpi0: reservation of fee0, 1000 (3) failed acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, 7ff0 (3) failed Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pci0: memory, RAM at device 0.0 (no driver attached) isab0: PCI-ISA bridge port 0x1f00-0x1fff at device 1.0 on pci0 isa0: ISA bus on isab0 pci0: serial bus, SMBus at device 1.1 (no driver attached) pci0: processor at device 1.3 (no driver attached) ohci0: OHCI (generic) USB controller mem 0xfbe7f000-0xfbe7 irq 22 at devic e 2.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0 uhub0: 6 ports with 6 removable, self powered ehci0: EHCI (generic) USB 2.0 controller mem 0xfbe7ec00-0xfbe7ecff irq 23 at d evice 2.1 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb1: EHCI version 1.0 usb1: companion controller, 12 ports each: usb0 usb1: EHCI (generic) USB 2.0 controller on ehci0 usb1: USB revision 2.0 uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb1 uhub1: 6 ports with 6 removable, self powered ohci1: OHCI (generic) USB controller mem 0xfbe7d000-0xfbe7dfff irq 20 at devic e 4.0 on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb2: OHCI version 1.0, legacy support usb2: SMM does not respond, resetting usb2: OHCI (generic) USB controller on ohci1 usb2: USB revision 1.0 uhub2: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2 uhub2: 6 ports with 6 removable, self powered ehci1: EHCI (generic) USB 2.0 controller mem 0xfbe7e800-0xfbe7e8ff irq 21 at d evice 4.1 on pci0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controller, 12 ports each: usb2 usb3: EHCI (generic) USB 2.0 controller on ehci1 usb3: USB revision 2.0 uhub3: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb3 uhub3: 6 ports with 6 removable, self powered atapci0: nVidia nForce MCP67 UDMA133
cvsup*.*.freebsd.org and authentications
Hello list, in the last few months more and more cvsup-servers are printing error-messages like them: host# csup ports-supfile Connected to 212.118.165.142 Authentication required by the server and not supported by client host# Even cvsup has problems with them. What does the error messages exactly means and how can I connect nevertheless to them? With regards Stevan Tiefert ___ 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
7.2 dying with Kernel Trap 12
My 7.2 FreeBSD server has started to crash with kernel trap 12. I googled around and most of the topics I found were about faulty RAM or other harware problems. This is VMware vitual machine so I see no way of hardware problems as we even tried to move the machine around VMware nodes to see it's RAM. It worked absolutely fine for about two months, but now sometimes the server lives for up to 5 hours, sometimes it panics in 10 minutes. Is there anyone that can help me to resolve the problem? Here are few errors on crash: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 02 fault virtual address= 0x10 fault code = supervisor read, page not present instruction pointer = 0x20:0xc07d4a21 stack pointer = 0x28:0xc72dec1c frame pointer = 0x28:0xc72dec30 code segment = base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process= 36 (sctp_iterator) trap number = 12 panic: page fault cpuid = 2 - Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address= 0x6e727598 fault code = supervisor read, page not present instruction pointer = 0x20:0xc08bf945 stack pointer = 0x28:0xc72bfaa8 frame pointer = 0x28:0xc72bfacc code segment = base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process= 30 (em1 taskq) trap number = 12 -- kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address= 0x10 fault code = supervisor read, page not present instruction pointer = 0x20:0xc07d4a21 stack pointer = 0x28:0xc73e29c4 frame pointer = 0x28:0xc73e29d8 code segment = base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process= 9020 (libssl.so) trap number = 12 panic: page fault cpuid = 0 Uptime: 25m37s Thank You Zete ___ 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: installation sequence
PJ wrote: Does anybody have an idea of what the oder of files and dependencies is to install programs without all sorts of nonsensical errors? I usually have no problem installing FreeBsd whatever with apache22, cups, samba, php, mysql xorg etc. etc. I say usually because from time to time there do crop up some conflicts and they can usually be resolved by just looking at the error messages when the install is interrupted... usually one reinstalls the guilty port and voila! all things are in an ordered universe! But how do you avoid those error messages... I installed a pretty minimal 7.2 about a week ago and since then have been putzing about with a more serious installation of 7.2 on a larger disk to include xorg and a number of pretty cumbersome applications. I usually start with samba as that permits me to wander about on my lan and download and play around with other stuff while I am waiting for those substantial installs like jdk and xorg et al. So now, I have installed samba... works fine... thereafter I have been installing jdk16 and some other proggies like openldap and php5 and mysql ... actually, I was doing those because apache22 wouldn't compile... it grinds out a slew of errors that all seem to be related to ldap...util_ldap.c:2135 (or other numbers) and all have the notation undeclared (first use in this function) and finally the ghost gives up with Error code 1. Exactly the same installation with the same configuration on the smaller installation went without a hitch... (and on the same computer, different disk) The versions are the latest available and on 7.2... I have tried uninstalling php5, openldap, and removing the work directory for apache22, but the result is always the same... this is absurd. Can anybody make any sense of this... I don't like the idea of starting all over again... done that, been there, and still looking for some rationality to this world. Thanks for any ideas... ___ Not entirely sure this is totally relevant, but I wouldn't install any packages or third party apps when first installing a fresh system. The packages built at the time the release CD was created are already out of date and the ports tree has moved forward. It's OK to go ahead and install the ports tree as part of the fresh install, however do not use it! The first thing I do after a fresh install is to csup the ports tree to '*default release=cvs tag=.'. (I know it's silly but don't confuse the tag=. with the end of sentence.) You have the best chance now for dependency tracking to be dead on, but the chance always remains that at any one given point in time there may be errors. The ports tree is fluid and changes constantly. Usually if there is a problem and the port(s) maintainers are made aware they get it fixed fairly quick and a quick csup after they repair will make it all good again. Also realize that the previously mentioned tag if applied to src-all will pull down the sources for -CURRENT/HEAD. I have two separate sup files for each collection, one for source and one for ports. You can put them both in the same supfile if you want and there have been recent examples posted, you just have to make sure to get it right or you'll have a real mess. In other words, be aware of the different tags between tracking src-all and ports- all. Should you use the wrong tag to track ports-all you may experience inconsistent problems. On another note, should you find yourself in a position where you have two perfectly identical machines sitting next to each other, e.g., you know positively for a fact that everything is the same such as ports tree freshly csup'ed, etc, and one machine is barfing during compiling you may have a marginally bad hardware memory problem. Compiling (especially make world/kernel) really hits the memory hard. I once had a machine whose memory would 'sing' with an audible tone only during compilation. Such a noise in chip circuitry is an oscillation which should not happen and if you continue to operate the chip under that set of conditions it will fry. About the only thing you could try in this scenario would be to add latency clocks to the RAM in the mainboard BIOS. Whether this actually helps would really only be test of the hypothesis and not a true fix. Most memory should just auto time itself by SPD and shouldn't need to be 'slowed down'. If I saw this I'd replace the memory with new, as if it can't operate correctly at the SPD timings it is of substandard quality. -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: cvsup*.*.freebsd.org and authentications
Am Fri, 21 Aug 2009 13:48:39 +0200 schrieb Stevan Tiefert stevan-tief...@kabelmail.de: Hi Stevan, I connected to cvsup5.de.freebsd.org a long time with no errors. Jochen Hello list, in the last few months more and more cvsup-servers are printing error-messages like them: host# csup ports-supfile Connected to 212.118.165.142 Authentication required by the server and not supported by client host# Even cvsup has problems with them. What does the error messages exactly means and how can I connect nevertheless to them? With regards Stevan Tiefert ___ 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: about vbox and freebsd
Mak Kolybabi wrote: On 2009-08-21 06:12, John Francis Lee wrote: My problem is that I'm told right at the onset of the install that CPU doesn't support long mode Your CPU is 64-bit from what I can see. From a bit of Googling, others have encountered this problem, and it seems to have to do with VM-X. I have no idea what that is, but a thread in which someone has a very similar issue is here: http://forums.virtualbox.org/viewtopic.php?f=1t=19420 One notable quote is: ...[the CPU] does not have Intel VT (hardware virtualization), so you will not be able to run 64 bit guests in Virtualbox even though you run a 64 bit host. HTH [snip] I think this CPU does support hardware virtualization. The other situation which might produce this is if the ubuntu 9.0.4 install itself is 32 bit, and the Virtualbox package will then be 32 bit as well. I haven't looked at Ubuntu in quite some time, as I found it annoying, but IIRC there are two different CD downloads - one for the 32bit version and one for the 64 bit version. This is what I seem to remember but it may also have changed since I last played with it. If you weren't paying attention and installed the 32 bit version it might very well explain the error. If such a thing is the case you have two choices. Either install the i386 32 bit version of FreeBSD as the guest instead of the 64 bit amd64 or reinstall Ubuntu with the 64 bit version. -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: enquiry
On Friday 21 August 2009 07:32, keith cak wrote: Dear Sir, May i know how to change the IP address in freeBSD . Thank you. depends on what you are using. dhcp/static ip configuration? signature.asc Description: This is a digitally signed message part.
Re: enquiry
You can do it in the /etc/rc.conf file you can see the examples in the /etc/defaults/rc.conf On Fri, Aug 21, 2009 at 10:32 AM, keith cak keith...@gmail.com wrote: Dear Sir, May i know how to change the IP address in freeBSD . Thank you. _ -- Aftab Jahan Subedar CEO/Software Engineer Subedar Technologies Ltd Subedar Baag Bibir Bagicha #1 North Jatra Bari Dhaka 1204 Bangladesh 88027554546 8801552635208 8801190753891 Radio: S21ST ___ 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: about vbox and freebsd
Mak Kolybabi wrote: On 2009-08-21 06:12, John Francis Lee wrote: My problem is that I'm told right at the onset of the install that CPU doesn't support long mode Your CPU is 64-bit from what I can see. From a bit of Googling, others have encountered this problem, and it seems to have to do with VM-X. I have no idea what that is, but a thread in which someone has a very similar issue is here: http://forums.virtualbox.org/viewtopic.php?f=1t=19420 One notable quote is: ...[the CPU] does not have Intel VT (hardware virtualization), so you will not be able to run 64 bit guests in Virtualbox even though you run a 64 bit host. This CPU does support hardware virtualization as can be seen by the svm flag in the output of cpuinfo. It may be obvious but... Did you install the 64bit version of Ubuntu? uname -m will tell you. -- Duncan Hutty ___ 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: firefox 2.0.0.20_9,1
Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org writes: Howard Goldstein h...@queue.to writes: It's like the cat dragged in firefox2 despite use of 3.5 for actual browsing :( Is there a good way to resolve these dependencies through firefox3 or 3.5 short of ditching gnome? Yeah, it's really from the gecko handling. According to Mk/bsd.gecko.mk, I think you could add something like the following to make.conf to do what you need: USE_GECKO= firefox3-firefox But it doesn't work, and neither does the formulat actually given in the makefile. From checkin comments a few months back, I think this capability is on hold waiting for xulrunner 1.9. Don't quote me on that, though; I don't quite understand some of the mechanisms in use. -- 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: enquiry
keith cak wrote: Dear Sir, May i know how to change the IP address in freeBSD . If it is a one-time change: % ifconfig em0 208.70.111.88/24 If you need it to remain across a reboot, use rc.conf as Aftab suggested. Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: enquiry
On Friday 21 August 2009 00:32:20 keith cak wrote: Dear Sir, May i know how to change the IP address in freeBSD . man 5 rc.conf man 8 dhclient man 8 ifconfig Thank you. [SNIP] Best regards, -- .O. | Daniel Molina Wegener | FreeBSD Linux ..O | dmw [at] coder [dot] cl | Open Standards OOO | http://coder.cl/| FOSS Developer signature.asc Description: This is a digitally signed message part.
Re: No Device Node assigned for HD?
I should clarify my statement a bit. FreeBSD notices the channel starting up when the disk is inserted, but it doesn't recognize that there is a disk there. I usually see something like: da2 at hptrr0 bus 0 target 2 lun 0 da2: HPT DISK 0_2 4.00 Fixed Direct Access SCSI-0 device once I insert a disk, but I see nothing but the channel start up when I insert this new disk. I've had a 500GB drive in this channel previously and it was identified correctly, so I know the channel on the card is ok. I've also updated to the latest firmware on the card and as expected, no change. So I guess the question is, why isn't FreeNSD recognizing the disk? Rob Rob wrote: I've a 10 disk server that I am using as a file server. I split the disks up unto 3 partitions, with a being part of a gmirror for /, b being part of a gmirror for swap, and d being part of the zfs pool. I've got 6 SATA headers on my MB, and 4 from a HighPoint RocketRAID 2310 controller which I'm just using as an SATA controller (no RAID functionality). I recently added an Hitachi 1TB drive to the RocketRAID controller, but I'm not seeing FreeBSD assign it a device node. FreeBSD recognizes the drive insertion, but doesn't give it a device node. All the drives are SATA hot-swap, so I connected the drive to a header off the MB and FreeBSD happily gave it a device node. Additionally, I already have a few of these drives in the array, but they're all connected to headers on the MB. This is the first attempt at adding one to the RocketRAID controller. The controller currently has 3 other disks in it that are 500GB, and FreeBSD has had no problems with them. The RocketRAID controller's BIOS recognizes the disk as well, so it doesn't seem the card is incapable of handling disks that large. I've even tried rebooting the system after the drive has been connected, but no luck. Here's the respective info from the boot sequence as it pertains to the RocketRAID and the drives attached to it: hptrr: start channel [0,0] hptrr: start channel [0,1] hptrr: start channel [0,2] hptrr: start channel [0,3] hptrr: [0 0] Start channel soft reset. hptrr: [0 1] Start channel soft reset. hptrr: [0 2] Start channel soft reset. hptrr: [0 3] Start channel soft reset. hptrr: channel [0,0] started successfully hptrr: channel [0,1] started successfully hptrr: channel [0,2] started successfully hptrr: channel [0,3] started successfully hptrr0: [GIANT-LOCKED] hptrr0: [ITHREAD] ... da0 at hptrr0 bus 0 target 0 lun 0 da0: HPT DISK 0_0 4.00 Fixed Direct Access SCSI-0 device da1 at hptrr0 bus 0 target 1 lun 0 da1: HPT DISK 0_1 4.00 Fixed Direct Access SCSI-0 device da2 at hptrr0 bus 0 target 2 lun 0 da2: HPT DISK 0_2 4.00 Fixed Direct Access SCSI-0 device ... The only difference I've found is that in the RocketRAID BIOS, the 3 500GB drives are recognized with a Legacy Status, whereas the 1TB is recognized as New Status. Not sure what that means or how to change it. The sizes are reported correctly in the RocketRAID BIOS. I believe there is a BIOS update available for the card, but I wouldn't think it would be necessary since the card's BIOS seems to recognize the card just fine. Any suggestions/help? Rob ___ 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
Security cams/DVR, using FBSD?
Hello, I seem to have a problem --- fairly small pieces of equipment are disappearing occasionally. It's a couple hundred dollars here or there, but it's starting to add up. I'd like to set up a box or two with a camera feeding an HDD for later review. Is there a hardware/software combination you use or recommend for video monitoring? TIA, Kevin Kinsey -- There is a Massachusetts law requiring all dogs to have their hind legs tied during the month of April. ___ 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: Remounting a drive as read/write crashes the system and no dmesg.boot
On August 20, 2009, Scott Schappell wrote: I cannot get the system to generate a dump, even though dumpon verified it's set to the swap drive but /var/crash stays empty. I have dumpdev=AUTO in rc.conf and dumpdir=/var/crash as well. If you don't have it already, you may also need ddb_enable=YES savecore_enable=YES Cheers, -- Norbert Papke. npa...@acm.org http://saveournet.ca Protecting your Internet's level playing field ___ 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: Remounting a drive as read/write crashes the system and no dmesg.boot
Looking at info.0 I see: Dump header from device /dev/ad0s1b Architecture: i386 Architecture Version: 2 Dump Length: 155131904B (147 MB) Blocksize: 512 Dumptime: Fri Aug 21 08:27:45 2009 Hostname: arthur.silvertree.org Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.2-RELEASE-p3 #1: Fri Aug 14 13:27:47 PDT 2009 r...@arthur.silvertree.org:/usr/obj/usr/src/sys/ARTHUR Panic String: ffs_sync: rofs mod Dump Parity: 2778312054 Bounds: 0 Dump Status: good This is interesting: Panic String: ffs_sync: rofs mod It looks I'm guessing this is saying read only file system modified. So it looks like the problem is with mount? If there's anything you want me to pull from the vmcore.0 let me know. Again, this happens with the drive mounted RO from fstab. Unmounted then mount -o rw /backup. Something is amiss, and first blush doesn't seem to be hardware related. Scott ___ 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: Security cams/DVR, using FBSD?
On 8/21/09, Kevin Kinsey k...@daleco.biz wrote: Hello, I seem to have a problem --- fairly small pieces of equipment are disappearing occasionally. It's a couple hundred dollars here or there, but it's starting to add up. I'd like to set up a box or two with a camera feeding an HDD for later review. Is there a hardware/software combination you use or recommend for video monitoring? TIA, Kevin Kinsey Not a BSD solution, but we use OnSSI at work. www.onssi.com It's a windows based solution, they offer a 30-day trial to their software that is completely IP camera/network driven solution. We've sold it to many customers and I would strongly recommend it. --Tim ___ 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: Security cams/DVR, using FBSD?
Kevin Kinsey wrote: Hello, I seem to have a problem --- fairly small pieces of equipment are disappearing occasionally. It's a couple hundred dollars here or there, but it's starting to add up. I'd like to set up a box or two with a camera feeding an HDD for later review. Is there a hardware/software combination you use or recommend for video monitoring? multimedia/motion for the image capture. We use it with a bunch of Axis cameras -- connectivity via IP networking -- but it should work with many different webcams. Check the wiki at http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome to find something suitable. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: installation sequence
Neal Hogan wrote: On Thu, Aug 20, 2009 at 6:12 PM, PJaf.gour...@videotron.ca wrote: Does anybody have an idea of what the oder of files and dependencies is to install programs without all sorts of nonsensical errors? I usually have no problem installing FreeBsd whatever with apache22, cups, samba, php, mysql xorg etc. etc. I say usually because from time to time there do crop up some conflicts and they can usually be resolved by just looking at the error messages when the install is interrupted... usually one reinstalls the guilty port and voila! all things are in an ordered universe! But how do you avoid those error messages... I installed a pretty minimal 7.2 about a week ago and since then have been putzing about with a more serious installation of 7.2 on a larger disk to include xorg and a number of pretty cumbersome applications. I usually start with samba as that permits me to wander about on my lan and download and play around with other stuff while I am waiting for those substantial installs like jdk and xorg et al. So now, I have installed samba... works fine... thereafter I have been installing jdk16 and some other proggies like openldap and php5 and mysql ... actually, I was doing those because apache22 wouldn't compile... it grinds out a slew of errors that all seem to be related to ldap...util_ldap.c:2135 (or other numbers) and all have the notation undeclared (first use in this function) and finally the ghost gives up with Error code 1. Exactly the same installation with the same configuration on the smaller installation went without a hitch... (and on the same computer, different disk) The versions are the latest available and on 7.2... I have tried uninstalling php5, openldap, and removing the work directory for apache22, but the result is always the same... this is absurd. Can anybody make any sense of this... I don't like the idea of starting all over again... done that, been there, and still looking for some rationality to this world. Thanks for any ideas... Again, not to be rude (to you or fBSD) . . . but why stick with something that is giving you soo much trouble? There are a bunch of open source distros out there. I can appreciate that you do not want to f'around with another distro for another week . . . but . . . From other posts, it sounded like you have recovered the essential files. Rationality may dictate you moving on. The only thing I can suggest that may help those who know better, is to post the demsg's of the two machines (the one that works and the pain in the ass), given that they are different machines. What happened to the faulty hardware idea? I dunno . . . good luck! First, the problem is not FreeBSD... it is the idiots who think they know how to deal with a lot of stuff and then post all sorts of stuff that just confuses the hell out of simpletons like me. I made the mistake of thinking some jerk had written a little script that would do an update of ports with csup... well, I did post looking for an explanation of why the damned thing didn't work... and the responses I got were rather cryptic and din't explain anything even though a good programmer would have understood it would not work... :-) I'm certainly not a programmer in the professional sense at all... so in thinking about the problem I saw that the ports were not being correctly updated... once I got that right, everything worked fine. I even fixed that little script and updates are a cinch. As for faulty hardware... haven't found any up to now... I hae just 1 drive left to check and I'll know for sure... ;-) ___ 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: installation sequence
Lane Holcombe wrote: I'm all over this! Here's what you do: Setup for yourself a local cvs repository like so: portinstall -Pp net/cvsup-mirror You have to make decisions about what to mirror, but in the end you will have a semi-authoritative mirror of all the source and ports for the whole dang FreeBSD development tree, that will maintain itself and be ready when you need it. Next, when ever you do a fresh install of FreeBSD whatever, the first thing you do after the install is update your source and ports try by creating a cvsupfile, (I always keep one in /usr/local/etc/cvsupfile) like this: begin cvsupfile *default host=IP.OF.YOUR.LOCAL.CVS.MIRROR *default base=/usr *default prefix=/usr *default release=cvs delete use-rel-suffix tag=RELENG_7 *default compress src-all src-contrib ports-all tag=. /end cvsupfile Note that the begin and /end tags are put in the email for clarity, but should NOT appear in your cvsup file. I think src-contrib is overkill, but I've not bothered to find out because I'm pretty lazy. Note, also that RELENG_7 is just what I'm using now. You should adjust to the FreeBSD whatever that you just installed. So after you put the cvsupfile in place, run this on your new install: csup -g -L2 /path/to/cvsupfile Note, again, that csup does *not* get installed with *base before like 6.3 or something ... can't remember which. Did I mention lazy? If you are going back that far you have to install csup from ports or install cvsup from ports. (Which may likely put you back at square one where you have to work through the build failures - it ain't perfect, but it's nearly there!) Anyway, the point is you should always, always, always update your ports tree after a new install so you don't have build failures to stump you. And you still might get those :) So you should consider REBUILDING WORLD immediately after you do a new install. And THEN build/install whatever ports you need ... Ok, I normally do something like that... problem here was that I made the mistake of thinking that an interesting little script I found was good for updating... but, I was sadly mistaken. The error was due to a badly downloaded ports tree. That fixed, all works fine. I really only have problems when some extraneous garbage comes along and I'm suckere in to try it. Here's the script (I modified it and it seems to work just fine) but I sure would like to hear if that makes sense. I called it update.ports and it runs from any directory. It can be changed to update source and docs if so desired or all could be done from same script. Let me know, please, if it's ok? == #!/bin/sh # # Update source, docs and ports LOCAL_DIR=$(pwd) cd /usr/share/examples/cvsup csup ports-supfile cd /usr/ports make fetchindex /usr/local/sbin/portsdb -u /usr//local/sbin/pkgdb -uvF cd $LOCAL_DIR === Good Luck! lane On Thu, 2009-08-20 at 19:12 -0400, PJ wrote: Does anybody have an idea of what the oder of files and dependencies is to install programs without all sorts of nonsensical errors? I usually have no problem installing FreeBsd whatever with apache22, cups, samba, php, mysql xorg etc. etc. I say usually because from time to time there do crop up some conflicts and they can usually be resolved by just looking at the error messages when the install is interrupted... usually one reinstalls the guilty port and voila! all things are in an ordered universe! But how do you avoid those error messages... I installed a pretty minimal 7.2 about a week ago and since then have been putzing about with a more serious installation of 7.2 on a larger disk to include xorg and a number of pretty cumbersome applications. I usually start with samba as that permits me to wander about on my lan and download and play around with other stuff while I am waiting for those substantial installs like jdk and xorg et al. So now, I have installed samba... works fine... thereafter I have been installing jdk16 and some other proggies like openldap and php5 and mysql ... actually, I was doing those because apache22 wouldn't compile... it grinds out a slew of errors that all seem to be related to ldap...util_ldap.c:2135 (or other numbers) and all have the notation undeclared (first use in this function) and finally the ghost gives up with Error code 1. Exactly the same installation with the same configuration on the smaller installation went without a hitch... (and on the same computer, different disk) The versions are the latest available and on 7.2... I have tried uninstalling php5, openldap, and removing the work directory for apache22, but the result is always the same... this is absurd. Can anybody make any sense of this... I don't like the idea of starting all over again... done that, been there, and still looking for some rationality to this world. Thanks for any ideas... ___ freebsd-questions@freebsd.org mailing list
Re: installation sequence
On Fri, Aug 21, 2009 at 12:01 PM, PJ af.gour...@videotron.ca wrote: Lane Holcombe wrote: I'm all over this! Here's what you do: Setup for yourself a local cvs repository like so: portinstall -Pp net/cvsup-mirror You have to make decisions about what to mirror, but in the end you will have a semi-authoritative mirror of all the source and ports for the whole dang FreeBSD development tree, that will maintain itself and be ready when you need it. Next, when ever you do a fresh install of FreeBSD whatever, the first thing you do after the install is update your source and ports try by creating a cvsupfile, (I always keep one in /usr/local/etc/cvsupfile) like this: begin cvsupfile *default host=IP.OF.YOUR.LOCAL.CVS.MIRROR *default base=/usr *default prefix=/usr *default release=cvs delete use-rel-suffix tag=RELENG_7 *default compress src-all src-contrib ports-all tag=. /end cvsupfile Note that the begin and /end tags are put in the email for clarity, but should NOT appear in your cvsup file. I think src-contrib is overkill, but I've not bothered to find out because I'm pretty lazy. Note, also that RELENG_7 is just what I'm using now. You should adjust to the FreeBSD whatever that you just installed. So after you put the cvsupfile in place, run this on your new install: csup -g -L2 /path/to/cvsupfile Note, again, that csup does *not* get installed with *base before like 6.3 or something ... can't remember which. Did I mention lazy? If you are going back that far you have to install csup from ports or install cvsup from ports. (Which may likely put you back at square one where you have to work through the build failures - it ain't perfect, but it's nearly there!) Anyway, the point is you should always, always, always update your ports tree after a new install so you don't have build failures to stump you. And you still might get those :) So you should consider REBUILDING WORLD immediately after you do a new install. And THEN build/install whatever ports you need ... Ok, I normally do something like that... problem here was that I made the mistake of thinking that an interesting little script I found was good for updating... but, I was sadly mistaken. The error was due to a badly downloaded ports tree. That fixed, all works fine. I really only have problems when some extraneous garbage comes along and I'm suckere in to try it. Here's the script (I modified it and it seems to work just fine) but I sure would like to hear if that makes sense. I called it update.ports and it runs from any directory. It can be changed to update source and docs if so desired or all could be done from same script. Let me know, please, if it's ok? == #!/bin/sh # # Update source, docs and ports LOCAL_DIR=$(pwd) cd /usr/share/examples/cvsup csup ports-supfile cd /usr/ports make fetchindex /usr/local/sbin/portsdb -u /usr//local/sbin/pkgdb -uvF cd $LOCAL_DIR === Good Luck! lane On Thu, 2009-08-20 at 19:12 -0400, PJ wrote: Does anybody have an idea of what the oder of files and dependencies is to install programs without all sorts of nonsensical errors? I usually have no problem installing FreeBsd whatever with apache22, cups, samba, php, mysql xorg etc. etc. I say usually because from time to time there do crop up some conflicts and they can usually be resolved by just looking at the error messages when the install is interrupted... usually one reinstalls the guilty port and voila! all things are in an ordered universe! But how do you avoid those error messages... I installed a pretty minimal 7.2 about a week ago and since then have been putzing about with a more serious installation of 7.2 on a larger disk to include xorg and a number of pretty cumbersome applications. I usually start with samba as that permits me to wander about on my lan and download and play around with other stuff while I am waiting for those substantial installs like jdk and xorg et al. So now, I have installed samba... works fine... thereafter I have been installing jdk16 and some other proggies like openldap and php5 and mysql ... actually, I was doing those because apache22 wouldn't compile... it grinds out a slew of errors that all seem to be related to ldap...util_ldap.c:2135 (or other numbers) and all have the notation undeclared (first use in this function) and finally the ghost gives up with Error code 1. Exactly the same installation with the same configuration on the smaller installation went without a hitch... (and on the same computer, different disk) The versions are the latest available and on 7.2... I have tried uninstalling php5, openldap, and removing the work directory for apache22, but the result is always the same... this is absurd. Can anybody make any sense of this... I don't like the idea of starting all over again... done that,
Re: Installation sequence
from same script. Let me know, please, if it's ok? Well, not quite. == #!/bin/sh # # Update source, docs and ports LOCAL_DIR=$(pwd) You don't need to change directories if you change some of the commands slightly, so the above line and the last line are unnecessary. cd /usr/share/examples/cvsup csup ports-supfile The example scripts shouldn't be run as-is: you need to edit them first, or issue more flags on the command-line. For instance, for the ports-supfile you need at least to either change the *default host ... line to use the server of your choice, or issue a -h flag with the right server in your script. (The choice of the right server can make a substantial difference in how long this process takes -- you can experiment with different servers, and/or use the sysutils/fastest_cvsup port to find one that works well for you. Not every server is updated at the same interval.) Also, you can avoid changing directories by just using a full path to the cvsup script file. So, for example, you should replace the above two lines in the script with something like: csup -L 2 -h cvsup1.ca.FreeBSD.org /usr/share/examples/cvsup/ports-supfile I prefer to increase the verbosity with the -L switch, so that I have a better idea of what's happening if something goes wrong. All of this is covered in the FreeBSD Handbook. Also, you need not use csup(1) at all if you prefer to use portsnap(8) instead. cd /usr/ports make fetchindex /usr/local/sbin/portsdb -u You don't need all of the three previous lines: you can just run 'portsdb -F' or 'portsdb -Fu' instead. Also, these lines and the line below require one of the portupgrade ports to be installed, but I guess you know that. If you're not planning on using portupgrade, then don't use the portsdb or pkgdb commands, but just run: 'make -C /usr/ports fetchindex' instead. /usr//local/sbin/pkgdb -uvF cd $LOCAL_DIR As I mentioned, you don't need this last line. 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
Re: Possible bug with IPv6 ICMPv6 handling
On Fri, Aug 21, 2009 at 1:55 AM, Doug Hardiebc...@lafn.org wrote: I have found what to me seems like a bug with ICMPv6 handling in IPv6. However, before submitting a PR I wanted to check to be sure that its not a misunderstanding on my part. The network setup. A host (A) connected to a router (B) connected to another host (C) on a separate network. When all are up and running, A can ping6 to C and gets a response. If you power off C and then do the ping again, tpcdump on A shows an ICMPv6 destination unreachable datagram received from B. However ping6 does not report that back to the user. A ktrace of ping6 shows that it does not receive the ICMPv6 response. Its my understanding that it should and the ping6 code seems to imply that also. Is this a bug? ___ What version of FreeBSD are you using ? Did you try the -v parameter to ping6 to display non-echo responses ? (man ping6) In a similar test I ran, I was able to get the icmp6 host unreachable message from ping6 -v on my FreeBSD 7.2 box. (I pinged a non-existent address/machine off an upstream router) uname -a FreeBSD dhorn-bsd 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:57:44 UTC 2009 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 dh...@dhorn-bsd:~ ping6 -v 2001:470:7:584::3 PING6(56=40+8+8 bytes) 2001:470:8:584:20e:cff:: -- 2001:470:7:584::3 64 bytes from 2001:470:7:584::1: Destination Host Unreachable Vr TC Flow Plen Nxt Hlim 6 00 0 0010 3a 3e 2001:470:8:584:20e:cff::-2001:470:7:584::3 ICMP6: type = 128, code = 0 The other thing to potentially look at would be firewall rules, but that is unlikely if you can see the icmp6 response in tcpdump. Good Luck. --Dave ___ 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: installation sequence
PJ wrote: [snip] Ok, I normally do something like that... problem here was that I made the mistake of thinking that an interesting little script I found was good for updating... but, I was sadly mistaken. The error was due to a badly downloaded ports tree. That fixed, all works fine. I really only have problems when some extraneous garbage comes along and I'm suckere in to try it. Here's the script (I modified it and it seems to work just fine) but I sure would like to hear if that makes sense. I called it update.ports and it runs from any directory. It can be changed to update source and docs if so desired or all could be done from same script. Let me know, please, if it's ok? == #!/bin/sh # # Update source, docs and ports LOCAL_DIR=$(pwd) cd /usr/share/examples/cvsup csup ports-supfile cd /usr/ports make fetchindex /usr/local/sbin/portsdb -u /usr//local/sbin/pkgdb -uvF cd $LOCAL_DIR === I essentially do something very similar. About once a week I do this: csup -L 2 ports portsdb -uF pkgdb -u portversion This pretty much does the same thing as the script. I keep intending to make it a cron job and email me the output, but until I get 'round to it I just take a quick gander at the output and if needed issue a portupgrade -a. 9.8 times out of 10 this is all I ever need. Every once in a while I have to manually fix something, but that isn't all that often, maybe once or twice a year. Another thing is to read UPDATING religiously as this can help sidestep boo boos before they happen. [snip] -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
What should be backed up?
I am currently using rsnapshot to back up these directories on a FreeBSD 7.2 webserver: /etc /usr/home /usr/local /var/cron These directories contain all the data and config files that I use... I think... Question: am I missing anything crucial? Thanks: John ___ 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: What should be backed up?
On Fri, Aug 21, 2009 at 2:33 PM, John Almberg jalmb...@identry.com wrote: I am currently using rsnapshot to back up these directories on a FreeBSD 7.2 webserver: /etc /usr/home /usr/local /var/cron These directories contain all the data and config files that I use... I think... Question: am I missing anything crucial? Thanks: John ___ 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 /var/db/pkg/pkgdb.db can be useful to have around or at least something like a current portmaster -l ~/installed-pkgs.txt -- 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: What should be backed up?
John Almberg schrieb: I am currently using rsnapshot to back up these directories on a FreeBSD 7.2 webserver: /etc /usr/home /usr/local /var/cron These directories contain all the data and config files that I use... I think... Question: am I missing anything crucial? Thanks: John ___ 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 Hi! As I think you should backup /var/db/ports and /var/db/packages in case your machine crashes and you might have /usr/local on an extra partition. Then you can easily make a new installation without reinstalling the whole stuff under /usr/local. The named directories contain information about the installed ports/packages and are needed to recover a crashed system. Greetings Frank ___ 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: What should be backed up?
On Aug 21, 2009, at 2:33 PM, John Almberg wrote: I am currently using rsnapshot to back up these directories on a FreeBSD 7.2 webserver: /etc /usr/home /usr/local /var/cron These directories contain all the data and config files that I use... I think... Question: am I missing anything crucial? My general advice is to back up everything and then explicitly excluding those things that you know that you don't need. Here is my exclude list from my rsnapshot.conf exclude /var/log exclude /var/tmp exclude /usr/obj exclude /usr/ports/distfiles exclude /usr/local/squid Also I backup by file system, so I'm already excluding /tmp It is far to easy to forget something that needs to be backed up. Cheers, -j ___ 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: What should be backed up?
QUOTE My general advice is to back up everything and then explicitly excluding those things that you know that you don't need. Here is my exclude list from my rsnapshot.conf exclude /var/log exclude /var/tmp exclude /usr/obj exclude /usr/ports/distfiles exclude /usr/local/squid Also I backup by file system, so I'm already excluding /tmp UNQUOTE Interesting... That raises another question... How feasible is it to restore a server from these backups? Is it really possible to install 7.2 on a new machine and then just copy the backed up data onto the new machine? I guess I should really verify the value of my backups by trying to do exactly that! -- John ___ 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: Security cams/DVR, using FBSD?
On Fri, 21 Aug 2009 10:01:50 -0500, Kevin Kinsey k...@daleco.biz wrote: I'd like to set up a box or two with a camera feeding an HDD for later review. Is there a hardware/software combination you use or recommend for video monitoring? There are very simple but still powerful tools. Sadly, you need very specific hardware to use them. First of all, you need to find a video grabber card, usually PCI, that is supported by FreeBSD's bktr driver. See man bktr for more information. Those models are currently supported: · AOpen VA1000 · AVerMedia AVerTV Studio · AVerMedia TF/FM-98 · ATI TV Wonder VE · Hauppauge WinCast/TV · Hauppauge WinTV-Go-FM · Hauppauge WinTV-pci · Hauppauge WinTV-radio · Intel Smart Video Recorder III · KWORLD PCI TV Tuner · Miro PC TV · Pinnacle PCTV Pro · Pinnacle PCTV Rave · PixelView PlayTV PAK · PixelView PlayTV Pro (rev 4C, 9D) · SIGMA TV II · STB TV PCI Television Tuner · Super TV Tuner · TerraTec TValue · V-Stream XPERT TV-PVR 878 · Video Highway XTreme · VideoLogic Captivator PCI I have such a card myself, and it works excellently with FreeBSD. Now for the softwar. If you don't need stuff like motion triggers or audio triggers, you can simply use mencoder to record from the video-in source of the card. In case you have two cards, you can use one mencoder command per card. In case you are able to connect one camera via video, the other one via RF (antenna) signal, you can use one mencoder command per input. In principle, it works like this: You tell mplayer to record from the given source into a file. You can specify the codec that should be used in order to have files that are small enough not to fill your hard disk within few hours, but are still good enough to see something. Refer to the good man mencoder manpage for examples how to do that. You would probably use something like this: mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -af lavcresample=44100 -lavcopts vcodec=mpeg1video:keyint=15:vrc_buf_size=327:vrc_minrate=1152:vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 25 -o video1.mpg tv://0 Don't get scared by the many options. I'm sure you'll only need half of them. Finally, I'm not quite sure if mplayer or mencoder is the correct program for that. Maybe it's simple mplayer... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: What should be backed up?
--On Friday, August 21, 2009 16:14:22 -0500 John Almberg jalmb...@identry.com wrote: That raises another question... How feasible is it to restore a server from these backups? Is it really possible to install 7.2 on a new machine and then just copy the backed up data onto the new machine? I guess I should really verify the value of my backups by trying to do exactly that! I once had a 5.4 machine that lost its primary hard drive. (Was supposed to be RAID mirrored, but this was the only boot drive.) We got a new drive, installed a fresh copy of 5.4 and copied back all the data files. Those were backed up using rsync to a USB drive I keep at work. This was a standalone internet addressable server running http, imaps, dns and a pot full of other things - the only server for this domain. (It now has two.) Everything worked as expected, and no data was found to be missing or unrecoverable. We were down for a while, but we lost nothing. And yes, you should test your recovery procedures to make sure your backups are actually working. There's nothing like trying to restore from backup only to discover your backups were never really working. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead. Thomas Jefferson ___ 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
Best kernel ethernet device driver
Hello, I once had a problem in linux sometimes connecting to windows file sharing with CIFS is extremely slow. After too much searching, I discovered the problem was a buggy kernel device driver for some lame ethernet card I bought. Which kernel ethernet device driver works best under FreeBSD? I want to purchase an ethernet card that uses that driver. Thank you, Chris ___ 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: Best kernel ethernet device driver
On 8/21/09, Chris Stankevitz cstankev...@toyon.com wrote: Hello, I once had a problem in linux sometimes connecting to windows file sharing with CIFS is extremely slow. After too much searching, I discovered the problem was a buggy kernel device driver for some lame ethernet card I bought. Which kernel ethernet device driver works best under FreeBSD? I want to purchase an ethernet card that uses that driver. Thank you, Chris You haven't searched google. shame. buy an intel, an fxp or em driver is always recommended. ___ 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: Accidentally moved /libexec/ld-elf.so.1
I appreciate the help thus far; as /rescue/csh in single user mode has moved me past my first hurdle. However, being the blundering newbie I am, I was working in the /tmp directory, which seems to have been cleared (or is empty for whatever reason in the current state.) If it has been wiped, my ld-elf.so.1 file has been wiped with it. What to do? Thanks much Stew On Fri, Aug 21, 2009 at 1:24 AM, Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.netmel.flynn%2bfbsd.questi...@mailing.thruhere.net wrote: On Thursday 20 August 2009 18:44:12 Stew Houston wrote: Setting up a chroot jail I accidentally moved /libexec/ld-elf.so.1 instead of copying it. Bash would no longer take any commands, though I can't remember the error I was getting (it was aborting.) I rebooted, hoping I could do something in Single User Mode; but to no avail. Is there a way I can undo this blunder? /rescue/mv /path/to/jail/libexec/ld-elf.so.1 /libexec/ -- Mel ___ 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: Accidentally moved /libexec/ld-elf.so.1
On Fri, Aug 21, 2009 at 7:28 PM, Stew Houstonstewhous...@gmail.com wrote: I appreciate the help thus far; as /rescue/csh in single user mode has moved me past my first hurdle. However, being the blundering newbie I am, I was working in the /tmp directory, which seems to have been cleared (or is empty for whatever reason in the current state.) If it has been wiped, my ld-elf.so.1 file has been wiped with it. What to do? You'll have to mount /tmp to use it. On my system, /tmp is /dev/ad6s1e - yours may vary. -- 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: Possible bug with IPv6 ICMPv6 handling
On 21 August 2009, at 11:33, David Horn wrote: On Fri, Aug 21, 2009 at 1:55 AM, Doug Hardiebc...@lafn.org wrote: I have found what to me seems like a bug with ICMPv6 handling in IPv6. However, before submitting a PR I wanted to check to be sure that its not a misunderstanding on my part. The network setup. A host (A) connected to a router (B) connected to another host (C) on a separate network. When all are up and running, A can ping6 to C and gets a response. If you power off C and then do the ping again, tpcdump on A shows an ICMPv6 destination unreachable datagram received from B. However ping6 does not report that back to the user. A ktrace of ping6 shows that it does not receive the ICMPv6 response. Its my understanding that it should and the ping6 code seems to imply that also. Is this a bug? ___ What version of FreeBSD are you using ? 7.2 and 7.0. Did you try the -v parameter to ping6 to display non-echo responses ? (man ping6) No - didn't notice that in either the ping or ping6 man pages before. In a similar test I ran, I was able to get the icmp6 host unreachable message from ping6 -v on my FreeBSD 7.2 box. (I pinged a non-existent address/machine off an upstream router) uname -a FreeBSD dhorn-bsd 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:57:44 UTC 2009 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 dh...@dhorn-bsd:~ ping6 -v 2001:470:7:584::3 PING6(56=40+8+8 bytes) 2001:470:8:584:20e:cff:: -- 2001:470:7:584::3 64 bytes from 2001:470:7:584::1: Destination Host Unreachable Vr TC Flow Plen Nxt Hlim 6 00 0 0010 3a 3e 2001:470:8:584:20e:cff::-2001:470:7:584::3 ICMP6: type = 128, code = 0 The other thing to potentially look at would be firewall rules, but that is unlikely if you can see the icmp6 response in tcpdump. No firewall involved. Good Luck. It would appear that this is an error, but in ping and not ping6. Both of their man pages have exactly the same comment for -v. However, ping does show things like Host down etc without the -v argument. Ping6 works per the man page and does not. I don't think that this is worth a PR though. Thanks for the help. --Dave ___ 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: Accidentally moved /libexec/ld-elf.so.1
On Fri, 21 Aug 2009 19:28:47 -0400, Stew Houston stewhous...@gmail.com wrote: However, being the blundering newbie I am, I was working in the /tmp directory, which seems to have been cleared (or is empty for whatever reason in the current state.) Cleaning the /tmp directory at startup usually is controlled via an /etc/rc.conf setting: it's clear_tmp_enable=YES. As far as I got from searching for ld-elf related stuff, a command like # cd /usr/src/libexec/rtld-elf # make install could do the trick. But I haven't checked this, and I am not sure. If it has been wiped, my ld-elf.so.1 file has been wiped with it. What to do? If your source tree is still intact, you could install it from there. It may be possible that the system doesn't run well enough to perform this task. In such a case a live file system could help you, e. g. the FreeBSD rescue system or a FreeSBIE bootable CD. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: PPPoE server (high traffic in WDM network)
Hi, I've little off topic suggestion regarding network design. The solution you are implementing will mean to make hundreds of users share the same broadcast domain. As all your FTTH and other DSLAMS would be working in bridge mode. This scenerio is not safe as if anyone of your clients will start his own pppoe server you will be in strange trouble, there can be other issues too. I guess your DSLAMs must have built in pppoe support and radius client, if its there then every port of dslams can be separate broadcast domain. This will cause you extra routing management (depending upon your scsnerio) In case your DSLAMS have no pppoe feature then i would suggest you to at least put every DSLAM's uplink port in deparate VLAN and connect pppoe server using trunk port or multiple single ports. And before implementing this solution consult your DSLAM vendor cause ive observed problems in ipdslams when used in bridge/transperant mode. Regards usman --- On Wed, 7/15/09, Michelle Konzack bsd4miche...@tamay-dogan.net wrote: From: Michelle Konzack bsd4miche...@tamay-dogan.net Subject: PPPoE server (high traffic in WDM network) To: freebsd-questions@freebsd.org, freebsd-...@freebsd.org Date: Wednesday, July 15, 2009, 11:40 PM Hello, I am using since over 10 years Debian GNU/Linux and 3 years longer NetBSD. Also I have a running PicoBSD box. Now I have a problem more grave... I am ongoing to install a CWDM (1GE) and DWDM (10GE) network for the Alvarion BreezeACCESS VL (38 base stations) and more then 200 Iskratel FTTH DSLAMS of 96 ports (each with 100MBit, but only one 1GE Upstream) each. What I now need are a PPPoE Severs (round-robin and loadbalancing) which must work using FreeRadius and PostgreSQL. There was someone on the debian-isp which has suggested me to use FreeBSD, because the PPPoE it is already build to authenticate against Radius. So, what I like to know is, if I have a 1GE and 10GE network, how many clients can one PPPoE Server handel and what are the CPU/Memory requirements? There is a little problem to get small but reliabel Servers with TWO 10GE interfaces. I think, consumer mainboards are not suitabel even someone told me under Linux, I need 2 MHz CPU-Speed and 2 MByte of Memory per client... Please note, that I am ongoing ISP with over 150.000 customers in DE between Freiburg and Karlsruhe (Baden-Württemberg) and using consumer mainboards is NOT reliabel since in the last 6 years I lost at least 20 per year in 280 Low-Cost Servers. A Sun Fire X4100M2 would be more reliabel... but even the smallest CPU would be overkill because the machine has only 1GE interfaces. Any suggestions? Note 1: Even if I use a Sun Fire, I would prefer a microBSD running from an industrial SD/CF card. Note: Please do NOT CC me, I am on the list and read it... Thanks, Greetings and nice Day/Evening Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ # Debian GNU/Linux Consultant # http://www.tamay-dogan.net/ Michelle Konzack http://www.can4linux.org/ c/o Vertriebsp. KabelBW http://www.flexray4linux.org/ Blumenstrasse 2 Jabber linux4miche...@jabber.ccc.de 77694 Kehl/Germany IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947 ICQ #328449886 Tel. FR: +33 6 61925193 ___ freebsd-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isp To unsubscribe, send any mail to freebsd-isp-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: Accidentally moved /libexec/ld-elf.so.1
Replying to my own message in order to clarify: On Sat, 22 Aug 2009 01:53:43 +0200, Polytropon free...@edvax.de wrote: On Fri, 21 Aug 2009 19:28:47 -0400, Stew Houston stewhous...@gmail.com wrote: However, being the blundering newbie I am, I was working in the /tmp directory, which seems to have been cleared (or is empty for whatever reason in the current state.) Cleaning the /tmp directory at startup usually is controlled via an /etc/rc.conf setting: it's clear_tmp_enable=YES. As Glen suggested: If /tmp resides on its own partition, it could still be intact. So mount /tmp and copy the file: # mount /tmp # cp /tmp/ld-elf.so.1 /libexec As far as I got from searching for ld-elf related stuff, a command like # cd /usr/src/libexec/rtld-elf # make install could do the trick. But I haven't checked this, and I am not sure. I checked now. The make command produces ld-elf.so.1, at least on my system. If make install doesn't work correctly, copy the file manually. # cd /usr/src/libexec/rtld-elf # make # cp ld-elf.so.1 /libexec Of course, you will need to have /usr mounted if it's not on the / partition. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: Accidentally moved /libexec/ld-elf.so.1
Polytropon wrote: Replying to my own message in order to clarify: On Sat, 22 Aug 2009 01:53:43 +0200, Polytropon free...@edvax.de wrote: On Fri, 21 Aug 2009 19:28:47 -0400, Stew Houston stewhous...@gmail.com wrote: However, being the blundering newbie I am, I was working in the /tmp directory, which seems to have been cleared (or is empty for whatever reason in the current state.) Cleaning the /tmp directory at startup usually is controlled via an /etc/rc.conf setting: it's clear_tmp_enable=YES. As Glen suggested: If /tmp resides on its own partition, it could still be intact. So mount /tmp and copy the file: # mount /tmp # cp /tmp/ld-elf.so.1 /libexec As far as I got from searching for ld-elf related stuff, a command like # cd /usr/src/libexec/rtld-elf # make install could do the trick. But I haven't checked this, and I am not sure. I checked now. The make command produces ld-elf.so.1, at least on my system. If make install doesn't work correctly, copy the file manually. # cd /usr/src/libexec/rtld-elf # make # cp ld-elf.so.1 /libexec Of course, you will need to have /usr mounted if it's not on the / partition. I don't know if it will help or not, but here is a link to the file in question. If all of the other great recommendations don't pan out, you may be able to boot from some form of 'live cd', and then fetch the file into place. http://www.ipv6canada.com/ld-elf.so.1 % mount /dev/ad0s1a /mnt # where ad0s1a is your / on the hard disk % cd /mnt/libexec % fetch http://www.ipv6canada.com/ld-elf.so.1 % reboot Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: Remounting a drive as read/write crashes the system and no dmesg.boot
On Friday 21 August 2009 07:34:11 Scott Schappell wrote: Looking at info.0 I see: Dump header from device /dev/ad0s1b Architecture: i386 Architecture Version: 2 Dump Length: 155131904B (147 MB) Blocksize: 512 Dumptime: Fri Aug 21 08:27:45 2009 Hostname: arthur.silvertree.org Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.2-RELEASE-p3 #1: Fri Aug 14 13:27:47 PDT 2009 r...@arthur.silvertree.org:/usr/obj/usr/src/sys/ARTHUR Panic String: ffs_sync: rofs mod Dump Parity: 2778312054 Bounds: 0 Dump Status: good This is interesting: Panic String: ffs_sync: rofs mod It looks I'm guessing this is saying read only file system modified. So it looks like the problem is with mount? If there's anything you want me to pull from the vmcore.0 let me know. Again, this happens with the drive mounted RO from fstab. Unmounted then mount -o rw /backup. Something is amiss, and first blush doesn't seem to be hardware related. There should be a backtrace in info.0 already. That part contains more relevant information. -- Mel ___ 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: Accidentally moved /libexec/ld-elf.so.1
Thank you all for the wonderful help. I've recovered the file and the system is fully operational. The solution that worked was: Single User Mode /rescue/sh /rescue/mount / /rescue/mount /tmp /rescue/mv /tmp/libexec/ld-elf.so.1 /libexec As I spent my entire youth on Windows, I can honestly say this is the first time this type scenario didn't end in reformatting. FreeBSD is rockin' Stew On Fri, Aug 21, 2009 at 8:15 PM, Steve Bertrand st...@ibctech.ca wrote: Polytropon wrote: Replying to my own message in order to clarify: On Sat, 22 Aug 2009 01:53:43 +0200, Polytropon free...@edvax.de wrote: On Fri, 21 Aug 2009 19:28:47 -0400, Stew Houston stewhous...@gmail.com wrote: However, being the blundering newbie I am, I was working in the /tmp directory, which seems to have been cleared (or is empty for whatever reason in the current state.) Cleaning the /tmp directory at startup usually is controlled via an /etc/rc.conf setting: it's clear_tmp_enable=YES. As Glen suggested: If /tmp resides on its own partition, it could still be intact. So mount /tmp and copy the file: # mount /tmp # cp /tmp/ld-elf.so.1 /libexec As far as I got from searching for ld-elf related stuff, a command like # cd /usr/src/libexec/rtld-elf # make install could do the trick. But I haven't checked this, and I am not sure. I checked now. The make command produces ld-elf.so.1, at least on my system. If make install doesn't work correctly, copy the file manually. # cd /usr/src/libexec/rtld-elf # make # cp ld-elf.so.1 /libexec Of course, you will need to have /usr mounted if it's not on the / partition. I don't know if it will help or not, but here is a link to the file in question. If all of the other great recommendations don't pan out, you may be able to boot from some form of 'live cd', and then fetch the file into place. http://www.ipv6canada.com/ld-elf.so.1 % mount /dev/ad0s1a /mnt # where ad0s1a is your / on the hard disk % cd /mnt/libexec % fetch http://www.ipv6canada.com/ld-elf.so.1 % reboot Steve ___ 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: Suspend/Resume on Thinkpad x40
On Thu, Aug 20, 2009 at 10:58 PM, Ian Smithsmi...@nimnet.asn.au wrote: On Thu, 20 Aug 2009 14:03:29 -0500 Joe Snikeris j...@snikeris.com wrote: First off, I apologize if this is not the right forum for this question. I was torn between posting this in mobile, ACPI, X11 and here. If I might get a better response in one of those forums, please let me know and I'll post there instead. I suspect -mobile might be the best list for this one, perhaps -acpi but that's usually more about development than usage. You might try searching the archives of either for mention of the X40. I'm having some trouble getting the kinks worked out of the suspend/resume functionality on my laptop, an IBM Thinkpad X40. It is mostly working now, but I am still experiencing some strange behavior. I can suspend and resume from a console just fine (except for the fact that the console comes up blank and only displays new characters); however, suspending and resuming in X is problematic. The first suspend and resume in X works perfectly, but the next time I hit suspend, the machine locks up while still displaying whatever I was doing in X. Note that if I switch to a virtual terminal before hitting suspend, this problem does not occur. Does anyone have any suggestions on what I might do to get this resolved? The details of my machine follows; please let me know if any additional information would be helpful. My T23 requires hw.syscons.sc_no_suspend_vtswitch=1 to suspend/resume cleanly (7.0), so does my old Compaq Armada (but that's APM, not ACPI) Thanks Ian. This fixed the problem where suspend would hang the second time it was executed in X. At any rate, I gave up on ACPI. I've got suspend-to-ram and suspend-to-disk (hibernation) working perfectly using APM. Does anyone know if there are any disadvantages related to power-saving features when using APM over ACPI? Is powerd able to do its job just as well? uname -a FreeBSD sussman.snikeris.com 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:57:44 UTC 2009 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 cat /boot/loader.conf # Disable boot menu beastie_disable=YES autoboot_delay=-1 # Needed for firefox to display certain HTML5 elements sem_load=YES # Needed so we can resume from suspend w/ a working display. hw.acpi.reset_video=1 # Needed so mouse will work on resume hint.psm.0.flags=0x3000 # Possibly needed for successful resume hint.apic.0.disabled=1 That might be one to try either way, with other combinations. # Needed for sound snd_ich_load=YES # Needed for wireless (iwi) if_iwi_load=YES wlan_load=YES firmware_load=YES iwi_bss_load=YES iwi_ibss_load=YES iwi_monitor_load=YES legal.intel_iwi.license_ack=1 # Needed for 3d graphics acceleration agp_load=YES # Needed for cdrecord to work atapicam_load=YES # See 'man acpi_ibm' acpi_ibm_load=YES I've found that vesa_load=YES helps on my T23 especially if suspending from a VT rather than in X, referring to your 'console comes up blank.' Something to try anyway, and I don't think it ever hurts. cat /etc/rc.conf # -- sysinstall generated deltas -- # Sat Jul 4 11:10:49 2009 # Created: Sat Jul 4 11:10:49 2009 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. # Set by sysinstall hostname=sussman.snikeris.com #ifconfig_em0=DHCP linux_enable=YES moused_enable=YES # Allow X to locate mouse and keyboard automatically using HAL hald_enable=YES dbus_enable=YES keyrate=fast keybell=off cat /etc/sysctl.conf # $FreeBSD: src/etc/sysctl.conf,v 1.8.32.1 2009/04/15 03:14:26 kensmith Exp $ # # This file is read when going to multi-user and its contents piped thru # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details. # # Uncomment this to prevent users from seeing information about processes that # are being run under another UID. #security.bsd.see_other_uids=0 hw.acpi.standby_state=S0 hw.acpi.suspend_state=S3 hw.acpi.sleep_button_state=S3 vfs.usermount=1 hw.acpi.sleep_delay=3 If hw.syscons.sc_no_suspend_vtswitch=1 is no help, I'd try -mobile .. cheers, Ian ___ 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: Suspend/Resume on Thinkpad x40
On Fri, 21 Aug 2009, Joe Snikeris wrote: On Thu, Aug 20, 2009 at 10:58 PM, Ian Smithsmi...@nimnet.asn.au wrote: On Thu, 20 Aug 2009 14:03:29 -0500 Joe Snikeris j...@snikeris.com wrote: First off, I apologize if this is not the right forum for this question. I was torn between posting this in mobile, ACPI, X11 and here. If I might get a better response in one of those forums, please let me know and I'll post there instead. I suspect -mobile might be the best list for this one, perhaps -acpi but that's usually more about development than usage. You might try searching the archives of either for mention of the X40. I'm having some trouble getting the kinks worked out of the suspend/resume functionality on my laptop, an IBM Thinkpad X40. It is mostly working now, but I am still experiencing some strange behavior. I can suspend and resume from a console just fine (except for the fact that the console comes up blank and only displays new characters); however, suspending and resuming in X is problematic. The first suspend and resume in X works perfectly, but the next time I hit suspend, the machine locks up while still displaying whatever I was doing in X. Note that if I switch to a virtual terminal before hitting suspend, this problem does not occur. Does anyone have any suggestions on what I might do to get this resolved? The details of my machine follows; please let me know if any additional information would be helpful. My T23 requires hw.syscons.sc_no_suspend_vtswitch=1 to suspend/resume cleanly (7.0), so does my old Compaq Armada (but that's APM, not ACPI) Thanks Ian. This fixed the problem where suspend would hang the second time it was executed in X. Good to know another model that this works on, for the archives. At any rate, I gave up on ACPI. I've got suspend-to-ram and suspend-to-disk (hibernation) working perfectly using APM. Does anyone know if there are any disadvantages related to power-saving features when using APM over ACPI? Is powerd able to do its job just as well? The answer to that (at 5.5-STABLE) used to be 'no', but there is some APM code in powerd.c, related to how it determines the AC line state, though it's not clear to me if it would require compiling APM in kernel. Certainly /etc/rc.d/power_profile can't set CPU CX states without ACPI. Switching speeds relies on the dev.cpu.0.freq and dev.cpu.0.freq_levels sysctls - are these available when you're running on APM? If so, try running powerd(8) in verbose foreground mode (-v) and see what happens. cheers, Ian___ 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
/etc/rc.d/named dilemma
I am trying to figure out why DNS lookups are not possible right after the named process has been launched (during bootup). I am kind of a newb at diagnosing these sorts of issues, but as an attempt to figure out what's wrong, I added the following lines to the very bottom of my /etc/rc.d/named: case $1 in *start) sleep 5 cat /etc/resolv.conf ping -c 4 127.0.0.1 host google.com || true ;; esac And so, during bootup, I get the following messages, as expected: Starting named. domain nerius.com nameserver 127.0.0.1 PING 127.0.0.1 64 bytes from 127.0.0.1: icmp. ... 4 packets transmitted, 4 packets received... ... ;; connection timed out; no servers could be reached The last line is what I don't understand. named is listening on 127.0.0.1, and normal lookups can be done fine after bootup. Then why can't I do a lookup right after named starts? By the way, the underlying issue that I'm trying to address is that ntpdate, which comes right after named in the boot sequence, is not able to resolve the DNS for the time servers. Thx. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
/etc/rc.d/named dilemma
I am trying to figure out why DNS lookups are not possible right after the named process has been launched (during bootup). I am kind of a newb at diagnosing these sorts of issues, but as an attempt to figure out what's wrong, I added the following lines to the very bottom of my /etc/rc.d/named: case $1 in *start) sleep 5 cat /etc/resolv.conf ping -c 4 127.0.0.1 host google.com || true ;; esac And so, during bootup, I get the following messages, as expected: Starting named. domain nerius.com nameserver 127.0.0.1 PING 127.0.0.1 64 bytes from 127.0.0.1: icmp. ... 4 packets transmitted, 4 packets received... ... ;; connection timed out; no servers could be reached The last line is what I don't understand. named is listening on 127.0.0.1, and normal lookups can be done fine after bootup. Then why can't I do a lookup right after named starts? By the way, the underlying issue that I'm trying to address is that ntpdate, which comes right after named in the boot sequence, is not able to resolve the DNS for the time servers. Thx. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org