Re: Monitoring CPU temperature: mbmon shows 201 degrees C
Στις Tuesday 22 July 2008 00:25:46 ο/η Tore Lund έγραψε: > Achilleas Mantzios wrote: > > ... > > Having said that, the issue with the temperature must not be my thing :( > > after kldload coretemp, i get > > [EMAIL PROTECTED] ~]% sysctl -a | grep tempera > > hw.acpi.thermal.tz0.temperature: 40,0C > > dev.cpu.0.temperature: -1 > > [EMAIL PROTECTED] ~]% > > The first always is stuck to 40 and dev.cpu.0.temperature to -1. > > Achillea, have you told us what CPU you have? Manolis presumes you have > an Intel, but I do not see this information anywhere in your posts. If > you have a recent AMD, try the port k8temp. Sorry, i have a CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz (2672.74-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Features2=0x4400 So coretemp is not for me. While experimenting, i noticed the 1st and 3rd temperatures from mbmon to be updated in a fashion that seems natural. [EMAIL PROTECTED] ~]% mbmon Temp.= 41.0, 201.0, 42.0; Rot.= 3443,0,0 Vcore = 1.50, 1.81; Volt. = 3.30, 5.08, 11.43, -11.74, -1.69 I started to trust mbmon, and i think the 1st temp must be motherboard, while the 3rd CPU, and indeed the first value varies betaeen 41-42 degrees, and the third value from 39, (~ 100% idle) to 45 (0% idle). So i assume the above must be right. Yesterday i had mbmon -t > mbmon.out running all night and the highest CPU temp was at 46 deg C, while highest MB temp was at 43 deg Celsius (if the previous assumptions about the interpretation of the output of mbmon are correct). Both high temps happened while running periodic daily at 03:00 (which increased my trust in those). All that, was after i blew the box/case inside and closed the case. If i trust those numbers and their interpretation then i must not have a temperature problem (anymore). Lets see how the machine behaves. There is always the other usual suspect from the memory department :) -- Achilleas Mantzios ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to change process status?
I use FreeBSD7.0 $./a.out & $ There is show nothing,like such as [1] 27537 Why? - Original Message - From: "Fernando Apesteguía" <[EMAIL PROTECTED]> To: "EdwardKing" <[EMAIL PROTECTED]> Cc: "FreeBSD" Sent: Monday, July 21, 2008 2:32 PM Subject: Re: How to change process status? > On 7/21/08, EdwardKing <[EMAIL PROTECTED]> wrote: >> I make a process running in background,like follows: >> $./a.out & >> >> I want to know how to change a.out from backgound to foreground and how to >> stop it? > > with "fg" and the number the shell returns after you placed the > process in the background. Let's say: > > $./a.out & > [1] 27537 > > fg %1 > > -- Here the shell will bring the process to the foreground -- > > Now you can stop it with Ctrl-c for instance. > > > Cheers > >> >> Thanks >> >> >> -- >> Confidentiality Notice: The information contained in this e-mail and any >> accompanying attachment(s) is intended only for the use of the intended >> recipient and may be confidential and/or privileged of Neusoft Group Ltd., >> its subsidiaries and/or its affiliates. If any reader of this communication >> is not the intended recipient, unauthorized use, forwarding, printing, >> storing, disclosure or copying is strictly prohibited, and may be unlawful. >> If you have received this communication in error, please immediately notify >> the sender by return e-mail, and delete the original message and all copies >> from your system. Thank you. >> --- >> >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "[EMAIL PROTECTED]" >> -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: config as an exit of "IPv6 over IPv4 tunnel"
Thanks, Matthew ! I will try it, and report again. 2008/7/21 Matthew Seaman <[EMAIL PROTECTED]>: > Hashimoto wrote: >> >> Can I configure FreeBSD as an exit of "IPv6 over IPv4 tunnel"? >> >> Let me explain it in detail. >> Both hostA and hostB have global IPv4 address. >> And hostA has global IPv6 address. >> I have installed FreeBSD 7.0 on both hostA and hostB. >> Then, I want to config "IPv6 over IPv4 tunnel" from hostB to hostA. >> Is it possible? >> > > Yes, absolutely. I have a similar configuration for my IPv6 connectivity. > There are some alternatives (stf(4), faith(4)), but this is based I what > I have. > > This is mostly in terms of what you'ld add to /etc/rc.conf on HostB -- > HostA will be similar, but addresses will be reversed in the obvious > places. > > i) Create a gif(4) interface and configure the endpoints: > > gif_interfaces="gif0" > gifconfig_gif0="hostB-ipv4-number hostA-ipv4-number" > > ii) Enable IPv6 on HostB -- I'm assuming you've assigned a /64 net block to > HostB (perhaps a tad excessive, but pretty much the > default for an allocation of a chunk of IPv6 address space.) Adjust > the prefixlen to suit. > > ipv6_enable="YES" > ipv6_defaultrouter="-interface gif0" > ipv6_default_interface="gif0" > ipv6_ifconfig_gif0="1234:5678:9abc:def0::1 prefixlen 64" > > iii) Settings on HostA are slightly different -- HostA has to be a > router, and it only wants to route the HostB block via the gif(4) > tunnel: > > ipv6_enable="YES" > ipv6_defaultrouter="hostA-ipv6-gateway-address" > ipv6_gateway_enable="YES" > > ipv6_static_routes="hostB" > ipv6_route_hostB="1234:5678:9abc:def0:: -prefixlen 64 -interface gif0" > > iv) That should be everything you need to get point to point connectivity > working. Note: it's pretty easy now to make HostB an IPv6 router and > assign IPv6 addresses to anything on the same local subnet as HostB. > In fact, you can use rtadvd(8) on HostB to make that automatic: > > ipv6_network_interfaces="auto" > ipv6_prefix_em0="1234:5678:9acb:def0" > rtadvd_enable="YES" > rtadvd_interfaces="em0" > > Then just run rtsol(8) on all the other machines that will use HostB as > their IPv6 gateway. > >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 > > -- Hashimoto Kouki [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
USB audio CDs?
I have a USB DVD-RW drive that I'd like to use to rip music under 6.3-RELEASE, but I don't have a /dev/acd0 (and can't get "grip" to work from /dev/cd0). /dev/cd0 shows up fine, but audio CDs log errors and "grip" (from ports) can't do much with /dev/cd0. grip is able to see the disc table of contents for the CD, but attempting to rip only generates errors: 006: Could not read any data from drive (repeats per track) Repeatable for different CDs. I was able to mount a cd9660 disc from this drive without a problem. I've previously done this (using grip) with ATA/SATA optical drives of various sorts, as well as used various USB mass-storage devices without any problems, but this is my first shot under *BSD at getting audio off a USB optical drive. I read through the USB related man pages, FB handbook, and googled without finding any answers... Would appreciate any advice! I have all of these in my running kernel: device uhci# UHCI PCI->USB interface device ohci# OHCI PCI->USB interface device ehci# EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) device ugen# Generic device umass # Disks/Mass storage - Requires scbus and da device scbus # SCSI bus (required for SCSI) device da # Direct Access (disks) device pass# Passthrough device (direct SCSI access) device cd # scsi cd for cd-r/burner on USB device atapicam I tried it both w/ and w/o atapicam. Attaching device with audio CD loaded logs the following: Jul 20 01:28:20 mine kernel: umass0: Sony DRX-500UL, rev 2.00/1.04, addr 2 Jul 20 01:28:30 mine kernel: cd0 at umass-sim0 bus 0 target 0 lun 0 Jul 20 01:28:30 mine kernel: cd0: Removable CD-ROM SCSI-0 device Jul 20 01:28:30 mine kernel: cd0: 40.000MB/s transfers Jul 20 01:28:30 mine kernel: cd0: cd present [198012 x 2048 byte records] Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 2 0 Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:64,0 Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): Illegal mode for this track Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): Unretryable error Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): cddone: got error 0x6 back Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 3 5 7b 0 0 1 0 Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): SCSI Status: Check Condition (etc...) Thanks! -omar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Using ccd with zfs
On Tuesday 22 July 2008 12:18:31 am Steven Schlansker wrote: > Hello -questions, > I have a FreeBSD ZFS storage system working wonderfully with 7.0. > It's set up as three 3-disk RAIDZs -triplets of 500, 400, and 300GB > drives. > > I recently purchased three 750GB drives and would like to convert to > using a RAIDZ2. As ZFS has no restriping capabilities yet, I will > have to nuke the zpool from orbit and make a new one. I would like to > verify my methodology against your experience to see if what I wish to > do is reasonable: > > I plan to first take 2 of the 750GB drives and make an unreplicated > 1.5TB zpool as a temporary storage. Since ZFS doesn't seem to have > the ability to create zpools in degraded mode (with missing drives) I > plan to use iSCSI to create two additional drives (backed by /dev/ > zero) to fake having two extra drives, relying on ZFS's RAIDZ2 > protection to keep everything running despite the fact that two of the > drives are horribly broken ;) > > To make these 500, 400, and 300GB drives useful, I would like to > stitch them together using ccd. I would use it as 500+300 = 800GB and > 400+400=800GB > > That way, in the end I would have > 750 x 3 > 500 + 300 x3 > 400 + 400 x 1 > 400 + 200 + 200 x 1 > as the members in my RAIDZ2 group. I understand that this is slightly > less reliable than having "real" drives for all the members, but I am > not interested in purchasing 5 more 750GB drives. I'll replace the > drives as they fail. > > I am wondering if there are any logistical problems. The three parts > I am worried about are: > > 1) Are there any problems with using an iSCSI /dev/zero drive to fake > drives for creation of a new zpool, with the intent to replace them > later with proper drives? I don't know about the iSCSI approach but I have successfully created a degraded zpool using md and a sparse file in place of the missing disk. Worked like a charm and I was able to transfer everything to the zpool before nuking the real device (which I had been using for temporary storage) and replacing the md file with it. You can create a sparse file using dd: dd if=/dev/zero of=sparsefile bs=512 seek=(size of the fake device in 512-byte blocks) count=0 Turn it into a device node using mdconfig: mdconfig -a -t vnode -f sparsefile Then create your zpool using the /dev/md0 device (unless the mdconfig operation returns a different node number). The size of the sparse file should not be bigger than the size of the real device you plan to replace it with. If using GEOM (which I think you should, see below), be sure to remember to subtract 512 bytes for each level of each provider (GEOM modules store their metadata in the last sector of each provider so that space is unavailable for use). To be on the safe side you can whack a few KB off. You can't remove the fake device from a running zpool but the first time you reboot it will be absent and the zpool will come up degraded. > 2) Are there any problems with using CCD under zpool? Should I stripe > or concatenate? Will the startup scripts (either by design or less > likely intelligently) decide to start CCD before zfs? The zpool > should start without me interfering, correct? I would suggest using gconcat rather than CCD. Since it's a GEOM module (and you will have remembered to load it via /boot/loader.conf) it will initialize its devices before ZFS starts. It's also much easier to set up than CCD. If you are concatenating two devices of the same size you could consider using gstripe instead, but think about the topology of your drives and controllers and the likely usage patterns your final setup will create to decide if that's a good idea. > 3) I hear a lot about how you should use whole disks so ZFS can enable > write caching for improved performance. Do I need to do anything > special to let the system know that it's OK to enable the write > cache? And persist across reboots? Not that I know of. As I understand it ZFS _assumes_ it's working with whole disks so since it uses its own i/o scheduler performance can be degraded for anything sharing a physical device with a ZFS slice. > Any other potential pitfalls? Also, I'd like to confirm that there's > no way to do this pure ZFS-like - I read the documentation but it > doesn't seem to have support for nesting vdevs (which would let me do > this without ccd) You're right, you can't do this with ZFS alone. Good thing FreeBSD is so versatile. :) JN > Thanks for any information that you might be able to provide, > Steven Schlansker > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL
Re: DNS troubles
Jim presented these words - circa 7/21/08 6:30 PM-> I'm trying to get a machine working, but it can't seem to handle DNS requests. I've just done a 7.0 install (from CD, usually I use net, but it wasn't connecting to anything, now I know why). I have a machine with two built in NICs on the motheroboard, one using nfe the other using bge. When I try to connect to anything, I get a "cannot resolve host error". Both are set up to be static, 192.168.1.84, and bge is 192.168.1.86. I have tried both "192.168.1.1" (the router, which points to the ISPs DNS) and "4.2.2.1" in the /etc/resolve.conf file, each separately, not both at once. The machine can ping both of these addresses and gets a decent to rapid return time (~.3ms for the former, <20ms for the latter) Neither works on this machine. Both work on the other FreeBSD and Windows machines in the house. I have the machine set to dual boot, and DNS works fine under Windows. I tried DHCP without an luck. The previous install on this machine just worked. What I *SUSPECT* is the biggest clue (my guess, check an rc.d file, which?) During boot up, after showing the network interfaces, until showing the login prompt, the terminal gets spammed with "b: not found". Up to this point: -> I installed it once with a boot only CD and it worked fine, but being absent minded, I reinstalled thinking it would be the quickest/easiest way to fix an issue, and the install I had wasn't really 'set-up' yet. -> The DNS checker (bind?) wasn't working properly during the first reinstall. Sadly, I found this out after reformatting the partitions. -> I re-burned the CD with CD1 (not boot only), and tried again - DNS still didn't work. -> I installed from CD. Process for current install: -> I installed i386/7.0 from Install Disk 1, minimal install + dict, man, info and doc -> I set the root password during the install -> I updated the /etc/ssh* files to the files from my old system (I can ssh into the computer fine) -> I copied over the rc.conf and modified the NIC and startup entries (see below) -> I added if_tap_load="YES" to /boot/loader.conf (this was AFTER the DNS issues had started) -> set the values in /etc/resolve.conf -> I copied /etc/supfile-ports and /etc/supfile-src from the old install. These are pretty boring supfiles for ports and src respectively. -> I added my non-root account (so I could ssh in) That's it. Any ideas? My suspicion is that my next step will be 'rebuild bind from within /usr/src wherever it resides in there'. However, since it wasn't working during install or now, I suspect that won't be enough. Why do you think 'bind' is the problem? You are not using bind, you are using the DNS resolver (which is the client side of Bind). Can you reach each of the nodes listed in resolv.conf? via ping? via traceroute? Have you tried to issue a 'dig 4.2.2.1 name' to see if you can reach the DNS server? I would first ensure that you have basic network connectivity, once that is confirmed, that you have access to the DNS servers. But your problem is not locally with Bind. Patrick Mahan ex-Window Washer Thanks, -Jim Stapleton /etc/resolve.conf domain var-dev.net nameserver 4.2.2.1 nameserver 4.2.2.2 nameserver 4.2.2.3 /etc/rc.conf hostname="elrond.var-dev.net" ifconfig_bge0="inet 192.168.1.86 netmask 255.255.255.0" #ifconfig_re0_alias0="192.168.1.85 netmask 255.255.255.255" defaultrouter="192.168.1.1" #for QEmu ifconfig_nfe0="up polling" autobridge_interfaces="bridge0" autobridge_bridge0="tap0 nfe0" cloned_interfaces="bridge0" # the bridge gets the IP #ifconfig_bridge0="inet 10.10.10.2 netmask 255.255.255.0" ifconfig_bridge0="inet 192.168.1.84 netmask 255.255.255.0" ifconfig_bridge0_alias0="192.168.1.85 netmask 255.255.255.0" sshd_enable="YES" usbd_enable="YES" linux_enable="YES" #ntpdate_enable="YES" ntpd_enable="YES" #cupsd_enable="YES" #moused_enable="YES" #for beryl and hardware autodetect stuff #compat5_enable="YES" #dbus_enable="YES" #polkitd_enable="YES" #hald_enable="YES" #gdm_enable="YES" bsdstats_enable="YES" # -- sysinstall generated deltas -- # Tue Mar 25 08:22:19 2008 keymap="us.iso" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Using ccd with zfs
Hello -questions, I have a FreeBSD ZFS storage system working wonderfully with 7.0. It's set up as three 3-disk RAIDZs -triplets of 500, 400, and 300GB drives. I recently purchased three 750GB drives and would like to convert to using a RAIDZ2. As ZFS has no restriping capabilities yet, I will have to nuke the zpool from orbit and make a new one. I would like to verify my methodology against your experience to see if what I wish to do is reasonable: I plan to first take 2 of the 750GB drives and make an unreplicated 1.5TB zpool as a temporary storage. Since ZFS doesn't seem to have the ability to create zpools in degraded mode (with missing drives) I plan to use iSCSI to create two additional drives (backed by /dev/ zero) to fake having two extra drives, relying on ZFS's RAIDZ2 protection to keep everything running despite the fact that two of the drives are horribly broken ;) To make these 500, 400, and 300GB drives useful, I would like to stitch them together using ccd. I would use it as 500+300 = 800GB and 400+400=800GB That way, in the end I would have 750 x 3 500 + 300 x3 400 + 400 x 1 400 + 200 + 200 x 1 as the members in my RAIDZ2 group. I understand that this is slightly less reliable than having "real" drives for all the members, but I am not interested in purchasing 5 more 750GB drives. I'll replace the drives as they fail. I am wondering if there are any logistical problems. The three parts I am worried about are: 1) Are there any problems with using an iSCSI /dev/zero drive to fake drives for creation of a new zpool, with the intent to replace them later with proper drives? 2) Are there any problems with using CCD under zpool? Should I stripe or concatenate? Will the startup scripts (either by design or less likely intelligently) decide to start CCD before zfs? The zpool should start without me interfering, correct? 3) I hear a lot about how you should use whole disks so ZFS can enable write caching for improved performance. Do I need to do anything special to let the system know that it's OK to enable the write cache? And persist across reboots? Any other potential pitfalls? Also, I'd like to confirm that there's no way to do this pure ZFS-like - I read the documentation but it doesn't seem to have support for nesting vdevs (which would let me do this without ccd) Thanks for any information that you might be able to provide, Steven Schlansker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Very Beginning CVSup Questions
On Tue, 22 Jul 2008 05:08:03 +0300 Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > On Mon, 21 Jul 2008 20:08:37 -0400, "J.C." <[EMAIL PROTECTED]> > wrote: > > The "Using the Ports Collection" page in the handbook says to make > > sure /usr/ports is empty before running csup because otherwise "csup > > will not prune removed patch files." Isn't this what the "delete" in > > the supfile (as in the line *default release=cvs delete > > use-rel-suffix compress) is for? Do I have to clean /usr/ports > > every time I run csup or just the first time? > > Probably not. It's been a while that I haven't used CVSup for ports/, > so someone with more recent experience should answer this. The issue isn't specific to ports. The same thing can happen with the base system too when you adopt an existing tree that's older than the CVS version. Deletions made in CVS between the two points on the branch don't get made locally, because they rely on the relevant csup list file. To be safe you either start from an empty tree, or do an intermediate sync to the point on the branch that matches the local copy. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DNS troubles
On Mon, 21 Jul 2008 21:30:56 -0400, Jim <[EMAIL PROTECTED]> wrote: > I'm trying to get a machine working, but it can't seem to handle DNS > requests. I've just done a 7.0 install (from CD, usually I use net, > but it wasn't connecting to anything, now I know why). > > I have a machine with two built in NICs on the motheroboard, one using > nfe the other using bge. When I try to connect to anything, I get a > "cannot resolve host error". Both are set up to be static, > 192.168.1.84, and bge is 192.168.1.86. I have tried both "192.168.1.1" > (the router, which points to the ISPs DNS) and "4.2.2.1" in the > /etc/resolve.conf file, each separately, not both at once. The machine > can ping both of these addresses and gets a decent to rapid return > time (~.3ms for the former, <20ms for the latter) Neither works on > this machine. Both work on the other FreeBSD and Windows machines in > the house. I have the machine set to dual boot, and DNS works fine > under Windows. I hope you didn't create a "resolve.conf" file, because it is called "resolv.conf" without a final "e", i.e.: [EMAIL PROTECTED]:/root# ls -ld /etc/resol* -rw-r--r-- 1 root wheel - 35 Jul 22 01:36 /etc/resolv.conf [EMAIL PROTECTED]:/root# ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Very Beginning CVSup Questions
On Mon, 21 Jul 2008 20:08:37 -0400, "J.C." <[EMAIL PROTECTED]> wrote: > I'm a beginner with FreeBSD and somewhat intermediate with Unix-like > operating systems in general, so please bear the nature of my > questions. I have some questions about CVSup that seem unclear from > the handbook. Right now I'm sticking with RELENG_7_0; I intend to > track -STABLE once I get the hang of CVSup, make buildworld, etc. > > I understand that the supfile contains the list of *default settings > (*default tag=RELENG_7_0 etc.) followed by the list of "collections". > The "Using CVSup" page suggests simply using the src-all collection. I > understand that when tracking -STABLE I want to update the ports > collection before running make buildworld; Not necessarily. If you are tracking a -STABLE branch, the rule is that "ports compiled on earlier builds should work in later builds". There are very few exceptions that may require a rebuild of ports, but the FreeBSD team tries to avoid those if at all possible. > is the ports collection included in the "base source tree" (i.e. does > src-all imply ports-all) or should ports-all be included as a separate > line beneath src-all? It's probably a good idea to use a separate `supfile' for src/ and ports/. There are a few tiny but important differences between the "base system" (the src-all collection) and the ports. One of the differences is that the base system is "branched". This means that the branch name "RELENG_7" carries an important and well defined meaning for "src-all". There are no branches in ports, on the other hand. A consequence of this is that using the same supfile with the option "*default tag=RELENG_7_0" may do moderately surprising to your ports tree, like deleting it altogether. When CVSup fails to find a particular collection in the tag/branch you asked, and the supfile has enabled the "*default delete use-rel-suffix" option too, it _deletes_ the files that don't exist on the requested tag/branch. To avoid surprises like these, you can use two supfiles: one for the "src-all" collection, and one for the "ports-all" collection. > The "Using the Ports Collection" page in the handbook says to make > sure /usr/ports is empty before running csup because otherwise "csup > will not prune removed patch files." Isn't this what the "delete" in > the supfile (as in the line *default release=cvs delete use-rel-suffix > compress) is for? Do I have to clean /usr/ports every time I run csup > or just the first time? Probably not. It's been a while that I haven't used CVSup for ports/, so someone with more recent experience should answer this. > If I don't care about encrypted transmission or HTTP vs. CVS > protocols, are there any compelling reasons to use portsnap instead of > CVSup/csup? Speed. Portsnap doesn't have to worry about tags, branches, and CVS file revisions in the common case, so it can usually finish before CVSup has even finished uploading the current file versions. I just updated my /usr/ports tree with portsnap, and it took all of 50 seconds to fetch and apply 169 patches: | [EMAIL PROTECTED]:/root# \time portsnap fetch update | Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. | Fetching snapshot tag from portsnap1.FreeBSD.org... done. | Fetching snapshot metadata... done. | Updating from Sat Jul 19 18:10:14 EEST 2008 to Tue Jul 22 03:17:39 EEST 2008. | Fetching 3 metadata patches.. done. | Applying metadata patches... done. | Fetching 0 metadata files... done. | Fetching 169 patches.102030405060708090100110120130140150160 done. | Applying patches... done. | Fetching 22 new ports or files... done. | Removing old files and directories... done. | Extracting new files: | [lots of file paths snipped] | /usr/ports/x11/xloadimage/ | Building new INDEX files... done. |68.64 real12.99 user24.40 sys | [EMAIL PROTECTED]:/root# That's fast enough for me :-) Having said that, there are compelling reasons to use CVSup for ports if you are a developer who wants to make local patches for some of the ports, or if you are maintaining a large number of ports. In this case, having a local CVS mirror of the ports, and checking out from CVS may be useful, because you can see the history of the ports, browse through patches committed, look at port changelogs, or even maintain a locally patched /usr/ports tree in semi-offline mode. That mode of updating is useful too. It all depends on what you are planning to do with your /usr/ports tree. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
DNS troubles
I'm trying to get a machine working, but it can't seem to handle DNS requests. I've just done a 7.0 install (from CD, usually I use net, but it wasn't connecting to anything, now I know why). I have a machine with two built in NICs on the motheroboard, one using nfe the other using bge. When I try to connect to anything, I get a "cannot resolve host error". Both are set up to be static, 192.168.1.84, and bge is 192.168.1.86. I have tried both "192.168.1.1" (the router, which points to the ISPs DNS) and "4.2.2.1" in the /etc/resolve.conf file, each separately, not both at once. The machine can ping both of these addresses and gets a decent to rapid return time (~.3ms for the former, <20ms for the latter) Neither works on this machine. Both work on the other FreeBSD and Windows machines in the house. I have the machine set to dual boot, and DNS works fine under Windows. I tried DHCP without an luck. The previous install on this machine just worked. What I *SUSPECT* is the biggest clue (my guess, check an rc.d file, which?) During boot up, after showing the network interfaces, until showing the login prompt, the terminal gets spammed with "b: not found". Up to this point: -> I installed it once with a boot only CD and it worked fine, but being absent minded, I reinstalled thinking it would be the quickest/easiest way to fix an issue, and the install I had wasn't really 'set-up' yet. -> The DNS checker (bind?) wasn't working properly during the first reinstall. Sadly, I found this out after reformatting the partitions. -> I re-burned the CD with CD1 (not boot only), and tried again - DNS still didn't work. -> I installed from CD. Process for current install: -> I installed i386/7.0 from Install Disk 1, minimal install + dict, man, info and doc -> I set the root password during the install -> I updated the /etc/ssh* files to the files from my old system (I can ssh into the computer fine) -> I copied over the rc.conf and modified the NIC and startup entries (see below) -> I added if_tap_load="YES" to /boot/loader.conf (this was AFTER the DNS issues had started) -> set the values in /etc/resolve.conf -> I copied /etc/supfile-ports and /etc/supfile-src from the old install. These are pretty boring supfiles for ports and src respectively. -> I added my non-root account (so I could ssh in) That's it. Any ideas? My suspicion is that my next step will be 'rebuild bind from within /usr/src wherever it resides in there'. However, since it wasn't working during install or now, I suspect that won't be enough. Thanks, -Jim Stapleton /etc/resolve.conf domain var-dev.net nameserver 4.2.2.1 nameserver 4.2.2.2 nameserver 4.2.2.3 /etc/rc.conf hostname="elrond.var-dev.net" ifconfig_bge0="inet 192.168.1.86 netmask 255.255.255.0" #ifconfig_re0_alias0="192.168.1.85 netmask 255.255.255.255" defaultrouter="192.168.1.1" #for QEmu ifconfig_nfe0="up polling" autobridge_interfaces="bridge0" autobridge_bridge0="tap0 nfe0" cloned_interfaces="bridge0" # the bridge gets the IP #ifconfig_bridge0="inet 10.10.10.2 netmask 255.255.255.0" ifconfig_bridge0="inet 192.168.1.84 netmask 255.255.255.0" ifconfig_bridge0_alias0="192.168.1.85 netmask 255.255.255.0" sshd_enable="YES" usbd_enable="YES" linux_enable="YES" #ntpdate_enable="YES" ntpd_enable="YES" #cupsd_enable="YES" #moused_enable="YES" #for beryl and hardware autodetect stuff #compat5_enable="YES" #dbus_enable="YES" #polkitd_enable="YES" #hald_enable="YES" #gdm_enable="YES" bsdstats_enable="YES" # -- sysinstall generated deltas -- # Tue Mar 25 08:22:19 2008 keymap="us.iso" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Very Beginning CVSup Questions
On Mon, 21 Jul 2008 20:08:37 -0400 J.C. <[EMAIL PROTECTED]> wrote: > I'm a beginner with FreeBSD and somewhat intermediate with Unix-like > operating systems in general, so please bear the nature of my > questions. I have some questions about CVSup that seem unclear from > the handbook. Right now I'm sticking with RELENG_7_0; I intend to > track -STABLE once I get the hang of CVSup, make buildworld, etc. You need to understand CVSup, make buildworld, to track RELENG_7_0 (and successors) too, are you sure you want to track a development branch? > I understand that the supfile contains the list of *default settings > (*default tag=RELENG_7_0 etc.) followed by the list of "collections". > The "Using CVSup" page suggests simply using the src-all collection. I > understand that when tracking -STABLE I want to update the ports > collection before running make buildworld; is the ports collection > included in the "base source tree" (i.e. does src-all imply ports-all) No > or should ports-all be included as a separate line beneath src-all? You can do that, but I think most people use separate files, so they can be updated independently. There are multiple sample files for this reason. > The "Using the Ports Collection" page in the handbook says to make > sure /usr/ports is empty before running csup because otherwise "csup > will not prune removed patch files." Isn't this what the "delete" in > the supfile (as in the line *default release=cvs delete use-rel-suffix > compress) is for? It's a bit subtle, csup has to establish a baseline in its metadata for it to be fully confident about which files it can delete, this can be done starting with an empty or fully syncronized tree. There's also a separate issue that it never deletes files which have never been under CVS. > Do I have to clean /usr/ports every time I run csup > or just the first time? Just the first. > If I don't care about encrypted transmission or HTTP vs. CVS > protocols, are there any compelling reasons to use portsnap instead of > CVSup/csup? portsnap is much faster. And since the fetch part doesn't affect the ports tree it can be done safely from a crontab, which speeds things up even more. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Monitoring CPU temperature: mbmon shows 201 degrees C
On Mon, 21 Jul 2008 16:56:10 +0300 Achilleas Mantzios <[EMAIL PROTECTED]> wrote: >ΣÏÎ¹Ï Monday 21 July 2008 15:41:01 ο/η DA Forsyth ÎγÏαÏε: >> From: Achilleas Mantzios <[EMAIL PROTECTED]> >> >> > Hi, i have had various crashes and segfaults in the last hot days >> > (room temp about 30 deg C). I tried to monitor CPU temp with mbmon, >> > which shows a very big value in COU temperature: >> >> > I also opened the case in order to get ventilated with fresh air from >> > the room. >> >> Actually, that doesn't work, your components will get hotter. This >> is because the case provides a through flow environment where air is >> forced to flow over most of the components most of the time. By >> opening the case you remove the force, and now have to rely on >> convection. >> >> What you want to do is make sure all the fans are running freely. >> Especially the processor fan. It may have stopped silently an dthat >> would definitely cause crashes. >> >> A fan at the front of the case blowing IN is more effective than one >> on the back blowing out, so if there isn't one on the front, add one. >> The 80 to 120mm ones can be very quiet and some can control their own >> speed if your motherboard cannot do it. If one can blow in the front >> and directly on the harddrives then that is a bonus, cool harddrives >> last longer. >> >> The basic idea of a case is to have air coming in the front and >> exiting at the rear. So make sure all your fans are blowing in the >> right direction. >> >> My office goes to 38C in summer, and all 5 computers just keep on >> going, using the principles above. I fitted a fan to the UPS as well >> (-: >> >> >My box has 3 fans, one on the case blowing from outside=>inside, >one in the power supply and one on the CPU. > >In the evening, i will have the case/board inside blown/cleaned with air, >i am gonna close the case, and i am gonna tune BIOS to fail-safe settings. When blowing the dust out, be sure to put the nozzle up against the edges of the cooling vanes on any coolers, especially the one for the CPU(s). Often such vanes are very close together and trap dust easily that will not be blown out when just cleaning the case and the motherboard. My portable, a Dell Inpsiron XPS, was running in a reduced-speed mode with COU temperatures in the high 70s C to low 80s C, but was also doing frequent emergency shutdowns at 89.5 C. After replacing two of the three fans and blowing out visible dust, the temperatures were reduced by about 15-18 C. Replacing the third fan brought the temperatures down another 2-3 C. Blowing the dust out of the cooling vanes brought them down another 6-8 C. > >Apart from that, i would like to have a reliable tool to monitor temperature. >Is there anything in mind? As was suggested earlier, you should first post your CPU make and model. Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * *-- Gov. John Hancock, New York Journal, 28 January 1790 * ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What price at the license of FreeBSD 7?
On Mon, Jul 21, 2008 at 11:02:01AM -0400, Jerry McAllister wrote: > On Sun, Jul 20, 2008 at 08:40:20AM -0600, Chad Perrin wrote: > > > On Sun, Jul 20, 2008 at 02:55:22PM +0700, OutBackDingo wrote: > > > > > > > How many Zimbabwe dollars, I wonder? This seems to give the finest > > > > measurement for approximations to zero... > > > > > > I think this is a bit uncalled for, it might have been in a candid > > > manner, but there are alot of locations in the world using FreeBSD > > > quite effectively where most people live on less then a dollar a day > > > Id also like to note your so called US dollar isnt fairing so well. > > > Pretty soon might it also be worth 0.00. I do think we should try not to > > > insult the ecomonics of other countries > > > > The US Dollar hasn't really been worth anything since 1975 at the latest. > > People just haven't figured that out yet. > > Neither have most of the things people are buying with it. > So, it all evens out. > It people only bought what they really need, the dollar would > be high, and the economy would be totally stagnant. Who knows, > maybe that would be better than what we have now. That wouldn't solve the problem of the US dollar being a fiat currency. Basically, under a fiat currency, trying to financially plan for the future is a matter of gambling the economy won't blow up in your face in the interim -- which is anything but a sure bet. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Jeff Henager: "If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology." pgpnMToLQ4lib.pgp Description: PGP signature
Very Beginning CVSup Questions
I'm a beginner with FreeBSD and somewhat intermediate with Unix-like operating systems in general, so please bear the nature of my questions. I have some questions about CVSup that seem unclear from the handbook. Right now I'm sticking with RELENG_7_0; I intend to track -STABLE once I get the hang of CVSup, make buildworld, etc. I understand that the supfile contains the list of *default settings (*default tag=RELENG_7_0 etc.) followed by the list of "collections". The "Using CVSup" page suggests simply using the src-all collection. I understand that when tracking -STABLE I want to update the ports collection before running make buildworld; is the ports collection included in the "base source tree" (i.e. does src-all imply ports-all) or should ports-all be included as a separate line beneath src-all? The "Using the Ports Collection" page in the handbook says to make sure /usr/ports is empty before running csup because otherwise "csup will not prune removed patch files." Isn't this what the "delete" in the supfile (as in the line *default release=cvs delete use-rel-suffix compress) is for? Do I have to clean /usr/ports every time I run csup or just the first time? If I don't care about encrypted transmission or HTTP vs. CVS protocols, are there any compelling reasons to use portsnap instead of CVSup/csup? Thank you very much for your help. - Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Default config for claws-mail
On Mon, 21 Jul 2008 19:31:58 -0400 David Gurvich <[EMAIL PROTECTED]> wrote: > I like to use claws-mail with the bogofilter plugin as it is fast and > simple. The package is built without bogofilter and I wondered why > that is so. Does having claws-mail built with bogofilter conflict > with something else? Or is this a legacy of the time when the plugin > was a separate port? The bogofilter option brings in a dependency on bogofilter. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Looking for 32-bit PCI SATA RAID contoller supported under FreeBSD 6.2/7.0
Bill, I have used 3ware RAID controller cards in FreeBSD 6/7 without any problems for a few years. Although some of these cards are 64-Bit (PCI-X) they also work perfectly well in 32bit (PCI) slots. See 'man twe' and 'man twa' for more information on support for these under FreeBSD. Cheers, Mark Picone, Trainee Unix Administrator Information Technology Services Division Phone: 03 5227 8602 International: +61 3 5227 0806 Fax: 03 5227 8799 International: +61 3 5227 8799 Email: [EMAIL PROTECTED] Website: http://www.deakin.edu.au Bill Campbell wrote: On Mon, Jul 21, 2008, Leonid Satanovsky wrote: Hi, people! Does annybody know some 32-bit PCI SATA RAID contoller supported under FreeBSD 6.2/7.0? [we have an old mailserver with only 32-bit PCI slots in it] I suspect that 3ware would be a good choice although I have not used these with FreeBSD. Bill signature.asc Description: OpenPGP digital signature
Default config for claws-mail
I like to use claws-mail with the bogofilter plugin as it is fast and simple. The package is built without bogofilter and I wondered why that is so. Does having claws-mail built with bogofilter conflict with something else? Or is this a legacy of the time when the plugin was a separate port? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: another beginner-type question.
On Mon, Jul 21, 2008 at 04:13:53PM -0500, David Kelly wrote: > On Mon, Jul 21, 2008 at 01:32:57PM -0700, Gary Kline wrote: > > On Mon, Jul 21, 2008 at 03:09:46PM -0500, David Kelly wrote: > > > On Mon, Jul 21, 2008 at 12:51:28PM -0700, Gary Kline wrote: > > > > > > > > I've already tried > > > > > > > > 1, / d > > > > > > > > and a other such. zip. > > > > > > % sed -e "1,//d" < junk.in > junk.out > > > > thanks, david. i was havinf cofffee when i thought "sed!" > > but was way off on the syntax. > > Not so far off, just one more / and you were there. i'm more used to ed,ex, sh and some simple[r] tool. but the thing with gsed --- and REALLY the java;) got me going. i *did* try the man page that was when i really threw in the towel. gary > > -- > David Kelly N4HHE, [EMAIL PROTECTED] > > Whom computers would destroy, they must first drive mad. -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: another beginner-type question.
On Mon, Jul 21, 2008 at 03:09:46PM -0500, David Kelly wrote: > On Mon, Jul 21, 2008 at 12:51:28PM -0700, Gary Kline wrote: > > > > i could do this kwik and dirty, and type in/fix any anomalies later, but > > it would be nice to know. > > > > I've already tried > > > > 1, / d > > > > and a other such. zip. > > % sed -e "1,//d" < junk.in > junk.out > im taking this off-list so i dont show any further ignorance but i've tried everything SED i can think of without direct success [1], but want to know *how* to delete from to EOF. sometimes sed spat out stderr messages, usually failed by printing the file to stdout. so when you have time, can you please show me? gary [1]. Indirectly, i used -e '/<\/CENTER>/d' (&c) to get rid of thee last 3 lines. Beats vi'ing 70+ times! -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: py-qt install error
On Sunday 20 July 2008 22:21:25 Ghirai wrote: > Hello list, > > I'm running 7.0-RELEASE, i386, and KDE 3.5.8 from ports. > > Trying to install /usr/ports/x11-toolkits/py-qt gives this error: > > ... > -- Creating pyqtconfig.py... > /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| > share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX > = c++|' -e 's|LINK = c++|LINK = > c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qt/Makefile > /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| > share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX > = c++|' -e 's|LINK = c++|LINK = > c++|' > /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtcanvas/Makefile > /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| > share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX > = c++|' -e 's|LINK = c++|LINK = > c++|' > /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtnetwork/Makefile > /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| > share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX > = c++|' -e 's|LINK = c++|LINK = > c++|' > /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qttable/Makefile > /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| > share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX > = c++|' -e 's|LINK = c++|LINK = > c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtxml/Makefile > /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| > share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX > = c++|' -e 's|LINK = c++|LINK = > c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtui/Makefile > /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| > share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX > = c++|' -e 's|LINK = c++|LINK = > c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtsql/Makefile > /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| > share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX > = c++|' -e 's|LINK = c++|LINK = > c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtext/Makefile > /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| > share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX > = c++|' -e 's|LINK = c++|LINK = > c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtgl/Makefile > sed: /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtgl/Makefile: > No such file or directory > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/py-qt. > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/py-qt. > *** Error code 1 > > > Any ideas? > > Ports tree is up to date. > > If i disable OpenGL support in make config, it gets past that error, but hangs sucking up CPU here: ===> Building for py25-qt-3.17.4_1,2 c++ -c -pipe -fPIC -O2 -fno-strict-aliasing -pipe -Wall -W -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/local/include -I/usr/local/include/python2.5 -I/usr/local/share/qt/mkspecs/freebsd-g++ -o sipqtcmodule.o sipqtcmodule.cpp -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Recover Lost Superblocks?
OK, I have a followup question to this. After some mucking around, I've managed to lose my partition again (although the data is still there, I installed testdisk and let photorec run; it looks like it's finding pretty much everything.) Running newfs -N on /dev/aacd0 finds a ton of backup superblocks. My filesystems were originally /dev/aacd0s1a, aacd0s1b and aacd0s1e. When I originally recreated the FreeBSD partition with the same geometry under my new rescue HDD, it added a device entry "aacd0s1c" but not any of the others. Running fsck_ufs -b doesn't seem to do much of anything. I'd be grateful if someone could help me with the following questions: 1) when I run the above command, is it supposed to replace a filesystem's superblock with the backup superblock? 2) is there a way to look at the contents of the backup superblocks that newfs -N found? 3) is there a way to re-create aacd0s1a, aacd0s1b and aacd0s1e? The rescue OS seems to only want to bother with aacd0s1c, which was not used by any of the partitions previously. Thanks for any help, -John On Jul 21, 2008, at 1:04 PM, John Morgan Salomon wrote: Wow, a sympathetic ear, was expecting far more scorn than that :-) I am currently running TestDisk, which at least _appears_ to be finding something filesystem-like (at least it's listed a few "empty" "somethings" that look somehow reasonable, size-wise.) Cross your fingers. Gpart and TestDisk are entirely passive, i.e. don't touch data on the disks. My plan, if this works out, is to buy a secondary backup consisting of a RAID 1+0 NAS. I don't have anything big enough to back up everything to. I tried pretty much everything with fsck_ufs. Like I said, though, I am able to mount the entire partition from the bootable IDE drive. I see /, /etc/, /dev/ and all that, but since the "rescue" OS can't see any additional superblocks, it has no devices for the other filesystems. I am not sufficiently well versed in UFS to understand how an entire partition can be mounted as a filesystem if that partition originally had multiple filesystems on it. I'm a bit wary of playing more with fsck until all else has failed. :-) What also weirds me out is that FreeBSD constantly bitches about the partition being larger than the physical disk (which it decidedly isn't.) I've tried setting geometry in fdisk any which way (including using the RAID controller's provided values), and as I said, the thing mounts the root partition of the array just fine. I'm considering an exorcist. Best, -John On Jul 21, 2008, at 12:52 PM, Polytropon wrote: Hi! On Mon, 21 Jul 2008 11:57:09 +0200 (CEST), "John Morgan Salomon" <[EMAIL PROTECTED] > wrote: Before you ask, this was the backup server. My primary box had decided to die shortly before. I had no backup backup server. Murphy strikes. I completely do understand you, I'm suffering from a similar problem at the moment, but much worse than yours... Buy tape drives! Buy tape drives! Buy tape drives! :-) Can someone recommend a way to manually scan the entire partition (either aacd0, aacd0s1 or aacd0s1c) for formerly present filesystems? I am 99% sure that all the data is still present, and if I reinstall the superblocks I'll be able to boot the array, mount the filesystems and get the data off before I continue. I don't know whether I've missed any gpart options (I have the impression it only scans for lost partitions, not ufs filesystem signatures.) As far as I know - NB that I'm just starting to learn more about UFS, shame on me that I'll do this just as every piece of data is gone - there are more than one superblock present. According to "man fsck_ufs", this could be a starting point: -b Use the block specified immediately after the flag as the super block for the file system. An alternate super block is usually located at block 32 for UFS1, and block 160 for UFS2. This applies if just the first superblock is gone. Before you start experimenting, maybe it's a good idea to dd the data out of the disks and run fsck on the images? I'm not sure... Any help, tips or pointers would be tremendously appreciated. Hope you're lucky. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED] " ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED] " ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Monitoring CPU temperature: mbmon shows 201 degrees C
Achilleas Mantzios wrote: > ... > Having said that, the issue with the temperature must not be my thing :( > after kldload coretemp, i get > [EMAIL PROTECTED] ~]% sysctl -a | grep tempera > hw.acpi.thermal.tz0.temperature: 40,0C > dev.cpu.0.temperature: -1 > [EMAIL PROTECTED] ~]% > The first always is stuck to 40 and dev.cpu.0.temperature to -1. Achillea, have you told us what CPU you have? Manolis presumes you have an Intel, but I do not see this information anywhere in your posts. If you have a recent AMD, try the port k8temp. -- Tore ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: another beginner-type question.
On Mon, Jul 21, 2008 at 01:32:57PM -0700, Gary Kline wrote: > On Mon, Jul 21, 2008 at 03:09:46PM -0500, David Kelly wrote: > > On Mon, Jul 21, 2008 at 12:51:28PM -0700, Gary Kline wrote: > > > > > > I've already tried > > > > > > 1, / d > > > > > > and a other such. zip. > > > > % sed -e "1,//d" < junk.in > junk.out > > thanks, david. i was havinf cofffee when i thought "sed!" > but was way off on the syntax. Not so far off, just one more / and you were there. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: another beginner-type question.
On Mon, Jul 21, 2008 at 03:09:46PM -0500, David Kelly wrote: > On Mon, Jul 21, 2008 at 12:51:28PM -0700, Gary Kline wrote: > > > > i could do this kwik and dirty, and type in/fix any anomalies later, but > > it would be nice to know. > > > > I've already tried > > > > 1, / d > > > > and a other such. zip. > > % sed -e "1,//d" < junk.in > junk.out thanks, david. i was havinf cofffee when i thought "sed!" but was way off on the syntax. gary > > -- > David Kelly N4HHE, [EMAIL PROTECTED] > > Whom computers would destroy, they must first drive mad. -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Slapd not starting
[EMAIL PROTECTED] wrote: I was having some troubles with the samba install telling me that openldap 2.3.42 and 2.4.10 would conflict. I had installed openldap 2.4.10 server and I guess that was the problem. It seemed to start up just fine, but since I could not get samba to install and it kept giving me the error that the clients would conflict, I decided just to uninstall 2.4.10 and install the 2.3.42. Now when I try to /usr/local/etc/rc.d/slapd start, it just seems to sit there and then goes back to the prompt. I checked the port with sockstat -4 -p 389 and it is not running. I don't see anything in the /var/log/messages about it so I am not sure what is going on. I am confused why 2.4.1 seemd to run fine, but 2.3.42 does not even though the config files are the same. Thanks for any info. What happens if you just run "slapd -d -1" from the command line? Invoking it that way should produce lots of output, some of which might give you valid information about the problem. Kevin Kinsey -- UNFAIR COMPETITION: Selling cheaper than we do. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: groups, using "www" as "kline"
What are the permissions on the files you're trying to edit? 664 would allow owner/group editing, but readonly by world. If it's 644, then only owner can edit, but group/world can read. At 04:05 PM 7/21/2008, you wrote: On Mon, Jul 21, 2008 at 11:08:15AM -0700, Chuck Swiger wrote: > On Jul 21, 2008, at 10:50 AM, Gary Kline wrote: > > is there a way of modifing etcgroup to let me edit files > > chown'd www:kline as kline? after all, i am in the wheel > > and operator group. > > Presuming you are in the kline group also, and that the files are > group-writable, you should be fine. > > On a fair number of sites I know of, there is a "webadmin" or > "wwwadmin" group setup which the users who should change webserver > resources are part of; but the apache www user is not a member of > this, so it can't change those files itself. strage, i'm in kline is part of www; but i stil fon'thave permission for myself---or, indeed, anyone new. gary > > Regards, > -- > -Chuck > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: another beginner-type question.
On Mon, Jul 21, 2008 at 12:51:28PM -0700, Gary Kline wrote: > > i could do this kwik and dirty, and type in/fix any anomalies later, but > it would be nice to know. > > I've already tried > > 1, / d > > and a other such. zip. % sed -e "1,//d" < junk.in > junk.out -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: groups, using "www" as "kline"
On Mon, Jul 21, 2008 at 11:08:15AM -0700, Chuck Swiger wrote: > On Jul 21, 2008, at 10:50 AM, Gary Kline wrote: > > is there a way of modifing etcgroup to let me edit files > > chown'd www:kline as kline? after all, i am in the wheel > > and operator group. > > Presuming you are in the kline group also, and that the files are > group-writable, you should be fine. > > On a fair number of sites I know of, there is a "webadmin" or > "wwwadmin" group setup which the users who should change webserver > resources are part of; but the apache www user is not a member of > this, so it can't change those files itself. strage, i'm in kline is part of www; but i stil fon'thave permission for myself---or, indeed, anyone new. gary > > Regards, > -- > -Chuck > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
konica minolta magicolor 2430DL drivers
FYI, I thought I'd post my experiences yesterday bringing up my new used KM2340DL printer. (1) I'm on a vanilla 6.3-release amd64 system. (2) configured a spare network card as a dhcp server - Isn't FBSD great! (2) Installed cups-magicolor from ports (3) turned on printer, and visited it's internal webpage with firefox (4) configured cups via localhost:631 (5) added new printer with the MAGICOLOR2430DL port, and a driver of approximately the same name. (6) printed test page - no apparent response from printer, and job changed to "stopped" after about 30 seconds. (7) tried various permutations of starting & stopping printer, rebooting, etc. (8) downloaded .ppd from minolta (called linux_sc_blahblah.gz), used it with the MAGICOLOR port, same response. (9) installed foo2zjs port, noted only 2530 printer was listed under "Konica Minolta", which prints out nice garbage (but at least it's printing now!) (10) noticed there's also plain "Minolta" under drivers, which actually has a 2430 and now it works! Hope this helps someone down the road... Best, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
another beginner-type question.
i could've saved myself a lot of work over the weekend if i have checked the php randizer file but i didn't. so now, while this isn't entirely essential, is there a way of using /bin/ed or /usr/bin/ex within in a /bin/sh file to delete to-and-including say, each of my 70 fils has is there a way of deleting from the 1st line to ? [[ and from to EOF?? i could do this kwik and dirty, and type in/fix any anomalies later, but it would be nice to know. I've already tried 1, / d and a other such. zip. thanks, gary -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Monitoring CPU temperature: mbmon shows 201 degrees C
Achilleas Mantzios wrote: As you already noticed, mbmon is no good in recent hardware. It works successfully in my 865-based systems though. As others have said, I would recommend adding a rear out-take fan. Do not rely on the PSU's fan to take all the warm air out. The PSU generates heat on its own, and the fan may not be sufficient. A rear out-take fan should be located rather high - at CPU height - since warm air always goes up. This is where most cases have a place for the fan anyway. It is indeed as you say. The fans on my case are: the PSU fan, one takeout fan just below the PSU and the CPU fan. It is a medium tower size case. The thing is on the bottom PCI slot i have installed a Kodicom 4400 for video capture for use with zoneminder, (the FreeBSD port is available from the zoneminder site) and right above that a LML video capture card. and then while capturing 5 full frame-rate (25fps) cameras in zoneminder a) the load never falls below 0.4 even while no users use it (it is our family workstation as well:) b) all the heat from the kodicom flows higher to the CPU/memory area of the case Having said that, the issue with the temperature must not be my thing :( after kldload coretemp, i get [EMAIL PROTECTED] ~]% sysctl -a | grep tempera hw.acpi.thermal.tz0.temperature: 40,0C dev.cpu.0.temperature: -1 [EMAIL PROTECTED] ~]% The first always is stuck to 40 and dev.cpu.0.temperature to -1. This -1 probably means your CPU is not supported. The man page says "Intel Core or newer" CPUs, and as I understand this is specific to Intel and will not work on AMD. It works fine on my core2duo laptop. I don't know if it works with the earlier Intel CoreDuo (not core2duo) Assuming the heat is what is actually causing you the problems, your options are rather limited: Move to a bigger case with options for better ventilation (maybe 12cm fans in front / rear) or use fans with higher CFM ratings (that will also make it more noisy, one more factor to consider). I currently have a machine with a 25cm side fan. Completely noiseless, and always runs cool. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)
> # mount -t ext2fs /dev/ad0s8 /mnt/ > # ls /mnt > ls: /mnt: Bad file descriptor Weird. I can mount ext2fs on 7.0 (and previously on 6.0 and 6.2) and things mostly work. In the past I had ext2fs on both primary and extended slices (or whatever the preferred terminology is). This is on AMD64 with SATA drives. My ext2fs filesystems were created by Linux (32 bit Linux, since penguins can't count to 64). Are you sure that ad0s8 contains a valid ext2fs filesystem? Can Linux mount it and access it? Maybe try running fsck? What OS created (newfs/mkfs) the filesystem? Problems I have seen with ext2fs: There was some case where accessing a large ( > 1 GB) file (rm-ing it I think?) hung or paniced FreeBSD. Small files are fine. Sometimes on boot FreeBSD would get confused and think the fext2fs needed to be fscked dispite a clean shutdown, but wasn't able to do so automagically, so it dropped into single user mode and sat there waiting for manual intervention. I no longer have ext2fs automatically mounted. There is probably some configuration fix for this. ext2fs is unreliable and LOSES DATA under it's native Linux. --- Linus Is Not a Unix eXpert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Slapd not starting
[EMAIL PROTECTED] wrote: I was having some troubles with the samba install telling me that openldap 2.3.42 and 2.4.10 would conflict. I had installed openldap 2.4.10 server and I guess that was the problem. It seemed to start up just fine, but since I could not get samba to install and it kept giving me the error that the clients would conflict, I decided just to uninstall 2.4.10 and install the 2.3.42. Now when I try to /usr/local/etc/rc.d/slapd start, it just seems to sit there and then goes back to the prompt. I checked the port with sockstat -4 -p 389 and it is not running. I don't see anything in the /var/log/messages about it so I am not sure what is going on. Check /var/log/debug.log Regards, Mikhail. -- Mikhail Goriachev Webanoide ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Monitoring CPU temperature: mbmon shows 201 degrees C
Στις Monday 21 July 2008 18:17:59 ο/η Manolis Kiagias έγραψε: > Achilleas Mantzios wrote: > >> My office goes to 38C in summer, and all 5 computers just keep on > >> going, using the principles above. I fitted a fan to the UPS as well > >> (-: > >> > >> > >> > > My box has 3 fans, one on the case blowing from outside=>inside, > > one in the power supply and one on the CPU. > > > > In the evening, i will have the case/board inside blown/cleaned with air, > > i am gonna close the case, and i am gonna tune BIOS to fail-safe settings. > > > > Apart from that, i would like to have a reliable tool to monitor > > temperature. > > Is there anything in mind? > > > > As you already noticed, mbmon is no good in recent hardware. It works > successfully in my 865-based systems though. > As others have said, I would recommend adding a rear out-take fan. Do > not rely on the PSU's fan to take all the warm air out. The PSU > generates heat on its own, and the fan may not be sufficient. A rear > out-take fan should be located rather high - at CPU height - since warm > air always goes up. This is where most cases have a place for the fan > anyway. It is indeed as you say. The fans on my case are: the PSU fan, one takeout fan just below the PSU and the CPU fan. It is a medium tower size case. The thing is on the bottom PCI slot i have installed a Kodicom 4400 for video capture for use with zoneminder, (the FreeBSD port is available from the zoneminder site) and right above that a LML video capture card. and then while capturing 5 full frame-rate (25fps) cameras in zoneminder a) the load never falls below 0.4 even while no users use it (it is our family workstation as well:) b) all the heat from the kodicom flows higher to the CPU/memory area of the case Having said that, the issue with the temperature must not be my thing :( after kldload coretemp, i get [EMAIL PROTECTED] ~]% sysctl -a | grep tempera hw.acpi.thermal.tz0.temperature: 40,0C dev.cpu.0.temperature: -1 [EMAIL PROTECTED] ~]% The first always is stuck to 40 and dev.cpu.0.temperature to -1. > > A note for monitoring: If you are using FreeBSD 7.0 and you have an > Intel Core CPU, there is a new coretemp(4) driver that can actually read > the on-die digital thermal sensor. Have a look at man coretemp > -- Achilleas Mantzios ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Iphone on FreeBSD
I am looking into purchasing an Iphone 3G. Will it play nice with the USB ports under FreeBSD 6.3-RELEASE-p2? Data/Pic transfer to/from?? TIA Bob -- During times of universal deceit, telling the truth becomes a revolutionary act. - George Orwell ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Slapd not starting
I was having some troubles with the samba install telling me that openldap 2.3.42 and 2.4.10 would conflict. I had installed openldap 2.4.10 server and I guess that was the problem. It seemed to start up just fine, but since I could not get samba to install and it kept giving me the error that the clients would conflict, I decided just to uninstall 2.4.10 and install the 2.3.42. Now when I try to /usr/local/etc/rc.d/slapd start, it just seems to sit there and then goes back to the prompt. I checked the port with sockstat -4 -p 389 and it is not running. I don't see anything in the /var/log/messages about it so I am not sure what is going on. I am confused why 2.4.1 seemd to run fine, but 2.3.42 does not even though the config files are the same. Thanks for any info. Here is my /usr/local/etc/openldap/ldap.conf SIZELIMIT200 HOST 127.0.0.1 URI ldap://server.bloomfield.k12.mo.us ssl start_tls tls_cacert /etc/ssl/cacert.crt and here is my /usr/local/etc/openldap/slapd.conf include/usr/local/etc/openldap/schema/core.schema include/usr/local/etc/openldap/schema/cosine.schema include/usr/local/etc/openldap/schema/nis.schema include/usr/local/etc/openldap/schema/inetorgperson.schema include/usr/local/etc/openldap/schema/samba.schema pidfile /var/run/openldap/slapd.pid argsfile /var/run/openldap/slapd.args logfile /var/log/slapd.log loglevel -1 sizelimit -1 modulepath/usr/local/libexec/openldap moduleloadback_bdb security ssf=128 TLSCertificateFile /etc/ssl/cert.crt TLSCertificateKeyFile /etc/ssl/cert.key TLSCACertificateFile /etc/ssl/cacert.crt database bdb suffix "dc=server,dc=bloomfield.k12.mo.us" rootdn "cn=Manager,dc=server,dc=bloomfield.k12.mo.us" rootpw ### directory/var/db/openldap-data index objectClass eq index cn,sn,uid,displayName pres,sub,eq index uidNumber,gidNumber eq index sambaSID eq index sambaPrimaryGroupSID eq index sambaDomainName eq index memberUID eq index default -- Scott Mayo - System Administrator Bloomfield Schools PH: 573-568-5669 FA: 573-568-4565 Question: Because it reverses the logical flow of conversation. Answer: Why is putting a reply at the top of the message frowned upon? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: groups, using "www" as "kline"
On Jul 21, 2008, at 10:50 AM, Gary Kline wrote: is there a way of modifing etcgroup to let me edit files chown'd www:kline as kline? after all, i am in the wheel and operator group. Presuming you are in the kline group also, and that the files are group-writable, you should be fine. On a fair number of sites I know of, there is a "webadmin" or "wwwadmin" group setup which the users who should change webserver resources are part of; but the apache www user is not a member of this, so it can't change those files itself. Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
groups, using "www" as "kline"
is there a way of modifing etcgroup to let me edit files chown'd www:kline as kline? after all, i am in the wheel and operator group. gary ps: thing i never learned in kindergarten:-) -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Looking for 32-bit PCI SATA RAID contoller supported under FreeBSD 6.2/7.0
On Mon, Jul 21, 2008, Leonid Satanovsky wrote: > Hi, people! > Does annybody know some > 32-bit PCI SATA RAID contoller supported under FreeBSD 6.2/7.0? > > [we have an old mailserver with only 32-bit PCI slots in it] I suspect that 3ware would be a good choice although I have not used these with FreeBSD. Bill -- INTERNET: [EMAIL PROTECTED] 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 My reading of history convinces me that most bad government results from too much government. --Thomas Jefferson. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Have I poisoned something in USB filesystems?
I have 2 mem sticks and several CF cards from a Nikon Coolpix camera. In the past I've freely used these both ways, through USB. My OS is, via uname -a: FreeBSD daisy.local 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 I had a problem with a new 4GB CF card which wouldn't mount in an audio recorder (M-Audio Microtrack), and tried formatting it using the recorder's own formatter. OK so far. But it wouldn't mount on my FreeBSD. So I perhaps unwisely tried working from scratch, rebuilding the MBR (copied from /boot/mbr) and using fdisk from there. Now I can mount it and all the other (photo) CF cards, but xv(1) for the first time complains of *.jpg saying: : "Corrupt JPEG data: premature end of data segment" and quits. At one time I guessed perhaps badly that I should use fdisk with powers of two and rebuild a CF card with 64 heads and 32 sectors; let the #cyls fall out. Looks good, but now fdisk on all my USB CF cards says those are the numbers unless I use fdisk -i -t. Yet I can reboot. When I do, CF cards still mount and are still not viewable with xv. something strange has happened and I wonder if some persistent data regarding msdosfs structures has been written. I had hoped that #cyl, #head, #sec values would be ignored in favor of LBA, but I guess I'm wrong. Any ideas? Chuck Bacon -- [EMAIL PROTECTED] ABHOR SECRECY -- DEFEND PRIVACY ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Monitoring CPU temperature: mbmon shows 201 degrees C
Achilleas Mantzios wrote: My office goes to 38C in summer, and all 5 computers just keep on going, using the principles above. I fitted a fan to the UPS as well (-: My box has 3 fans, one on the case blowing from outside=>inside, one in the power supply and one on the CPU. In the evening, i will have the case/board inside blown/cleaned with air, i am gonna close the case, and i am gonna tune BIOS to fail-safe settings. Apart from that, i would like to have a reliable tool to monitor temperature. Is there anything in mind? As you already noticed, mbmon is no good in recent hardware. It works successfully in my 865-based systems though. As others have said, I would recommend adding a rear out-take fan. Do not rely on the PSU's fan to take all the warm air out. The PSU generates heat on its own, and the fan may not be sufficient. A rear out-take fan should be located rather high - at CPU height - since warm air always goes up. This is where most cases have a place for the fan anyway. A note for monitoring: If you are using FreeBSD 7.0 and you have an Intel Core CPU, there is a new coretemp(4) driver that can actually read the on-die digital thermal sensor. Have a look at man coretemp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Reading from USB devices
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lowell Gilbert wrote: > Andrew Falanga <[EMAIL PROTECTED]> writes: > >> I'd like to read data from a USB device that is not a thumb drive. >> How would I do this? For instance, it's an oximeter for reading >> biometrics. What libraries exist for reading things like VID/PID, and >> most importantly, reading the data from the device? > > Start with usb(4). HID devices tend to be easier to deal with than > others, but I doubt your instruments are in that category. > Actually, if it was a thumb drive, yes it would surely not be a hid device, but an oximeter? Seems like it stands a very good chance, and it's easy enough to check, just see if it can run the uhid driver. If it comes up as the uhid (just kill off the ugen for a run) then it's a uhid. I disagree that its all that easy even then, because you need to know how to read the report descriptor. Kai Wang's krepdump util will give you the report descriptor in binary, and if you needed help in parsing it, I wrote a helpful demonstration hid parser, in python (with a nice GUI), if you have python with tkinter working, then give me a email, I'll email the stuff to you, it's only a 25K tarball. If you read that descriptor, it gives you enough info to be able to parse the stuff coming from the oximeter, so just loop a C program using read(), to pick up the bytes. All the info needed to do that's in the report descriptor. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiEpbwACgkQz62J6PPcoOlmUQCeKQoRJUa5FpPctCuh1dB0nPDC YpwAnAw2I7a8cg778TBVpioEl7P33BWF =KCaA -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What price at the license of FreeBSD 7?
On Sun, Jul 20, 2008 at 08:40:20AM -0600, Chad Perrin wrote: > On Sun, Jul 20, 2008 at 02:55:22PM +0700, OutBackDingo wrote: > > > > > How many Zimbabwe dollars, I wonder? This seems to give the finest > > > measurement for approximations to zero... > > > > I think this is a bit uncalled for, it might have been in a candid > > manner, but there are alot of locations in the world using FreeBSD > > quite effectively where most people live on less then a dollar a day > > Id also like to note your so called US dollar isnt fairing so well. > > Pretty soon might it also be worth 0.00. I do think we should try not to > > insult the ecomonics of other countries > > The US Dollar hasn't really been worth anything since 1975 at the latest. > People just haven't figured that out yet. Neither have most of the things people are buying with it. So, it all evens out. It people only bought what they really need, the dollar would be high, and the economy would be totally stagnant. Who knows, maybe that would be better than what we have now. jerry > > -- > Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] > They always say that when life gives you lemons you should make lemonade. > I always wonder -- isn't the lemonade going to suck if life doesn't give > you any sugar? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Reading from USB devices
Andrew Falanga <[EMAIL PROTECTED]> writes: > I'd like to read data from a USB device that is not a thumb drive. > How would I do this? For instance, it's an oximeter for reading > biometrics. What libraries exist for reading things like VID/PID, and > most importantly, reading the data from the device? Start with usb(4). HID devices tend to be easier to deal with than others, but I doubt your instruments are in that category. -- 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 "[EMAIL PROTECTED]"
Looking for 32-bit PCI SATA RAID contoller supported under FreeBSD 6.2/7.0
Hi, people! Does annybody know some 32-bit PCI SATA RAID contoller supported under FreeBSD 6.2/7.0? [we have an old mailserver with only 32-bit PCI slots in it] Thanks in advance, --les. -- Best regards, Leonid E. Satanovsky, system administrator, Ariel Metal. tel.: +7 (495) 786-42-9 (292), +7 (495) 786-43-03 fax: +7 (495) 786-42-90 e-mail: [EMAIL PROTECTED] http://www.arielmetal.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Monitoring CPU temperature: mbmon shows 201 degrees C
Στις Monday 21 July 2008 15:41:01 ο/η DA Forsyth έγραψε: > From: Achilleas Mantzios <[EMAIL PROTECTED]> > > > Hi, i have had various crashes and segfaults in the last hot days > > (room temp about 30 deg C). I tried to monitor CPU temp with mbmon, > > which shows a very big value in COU temperature: > > > I also opened the case in order to get ventilated with fresh air from > > the room. > > Actually, that doesn't work, your components will get hotter. This > is because the case provides a through flow environment where air is > forced to flow over most of the components most of the time. By > opening the case you remove the force, and now have to rely on > convection. > > What you want to do is make sure all the fans are running freely. > Especially the processor fan. It may have stopped silently an dthat > would definitely cause crashes. > > A fan at the front of the case blowing IN is more effective than one > on the back blowing out, so if there isn't one on the front, add one. > The 80 to 120mm ones can be very quiet and some can control their own > speed if your motherboard cannot do it. If one can blow in the front > and directly on the harddrives then that is a bonus, cool harddrives > last longer. > > The basic idea of a case is to have air coming in the front and > exiting at the rear. So make sure all your fans are blowing in the > right direction. > > My office goes to 38C in summer, and all 5 computers just keep on > going, using the principles above. I fitted a fan to the UPS as well > (-: > > My box has 3 fans, one on the case blowing from outside=>inside, one in the power supply and one on the CPU. In the evening, i will have the case/board inside blown/cleaned with air, i am gonna close the case, and i am gonna tune BIOS to fail-safe settings. Apart from that, i would like to have a reliable tool to monitor temperature. Is there anything in mind? > > > -- >DA Fo rsythNetwork Supervisor > Principal Technical Officer -- Institute for Water Research > http://www.ru.ac.za/institutes/iwr/ > > > -- Achilleas Mantzios ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to simulate a user's crontab?
> Actually, I highly recommend a Mac program called Yojimbo, that is a > kind of general purpose memory tool. You can throw all sorts of > information into it, and find it very easily when you need it. > Fantastic program and I don't know of anything like it on other > platforms. If you're looking for the same type of "Remember everything" functionality as Yojimbo, but platform independent, then you might want to take a look at http://www.evernote.com. It's web based (but .Mac free) plus it also has a MacOS X and a Windows client if you need them. HTH, David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 If you receive something that says "Send this to everyone you know", then please pretend you don't know me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
re: Monitoring CPU temperature: mbmon shows 201 degrees C
From: Achilleas Mantzios <[EMAIL PROTECTED]> > Hi, i have had various crashes and segfaults in the last hot days > (room temp about 30 deg C). I tried to monitor CPU temp with mbmon, > which shows a very big value in COU temperature: > I also opened the case in order to get ventilated with fresh air from > the room. Actually, that doesn't work, your components will get hotter. This is because the case provides a through flow environment where air is forced to flow over most of the components most of the time. By opening the case you remove the force, and now have to rely on convection. What you want to do is make sure all the fans are running freely. Especially the processor fan. It may have stopped silently an dthat would definitely cause crashes. A fan at the front of the case blowing IN is more effective than one on the back blowing out, so if there isn't one on the front, add one. The 80 to 120mm ones can be very quiet and some can control their own speed if your motherboard cannot do it. If one can blow in the front and directly on the harddrives then that is a bonus, cool harddrives last longer. The basic idea of a case is to have air coming in the front and exiting at the rear. So make sure all your fans are blowing in the right direction. My office goes to 38C in summer, and all 5 computers just keep on going, using the principles above. I fitted a fan to the UPS as well (-: -- DA Fo rsythNetwork Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Monitoring CPU temperature: mbmon shows 201 degrees C
Achilleas Mantzios wrote: Hi, i have had various crashes and segfaults in the last hot days (room temp about 30 deg C). I tried to monitor CPU temp with mbmon, which shows a very big value in COU temperature: [EMAIL PROTECTED]:~# mbmon -c 1 Temp.= 42.0, 201.0, 39.0; Rot.= 3245,0,0 Vcore = 1.50, 1.81; Volt. = 3.30, 5.08, 11.31, -11.74, -1.66 Also, healthdc shows: localhost 186.00.0 0.0531417307 1.492.49 1.625.42 0.00 -10.84 0.00 and lmmon -i shows: Motherboard Temp Voltages 186C / 366F / 459KVcore1: +1.469V Vcore2: +1.766V Fan Speeds + 3.3V: +3.219V + 5.0V: +4.932V 1: 10629rpm+12.0V: +11.750V 2: 33750rpm-12.0V: -13.188V 3: 16071rpm- 5.0V: -1.800V So i dont have any idea how to assess the real CPU temperature. I am thinking of tuning down the BIOS to fail-safe settings, just as an extra measure. Apart from that, i have no clue how to solve the random crashes/segfaults problem. I also opened the case in order to get ventilated with fresh air from the room. Any hints would be welcome. P.S. Please include me in the reply, i am not subscribed to -questions. I use sysctl -a |grep tepmerature to get the temperature, tough to say the truth, I am not sure about their exactly meaning... Best wishes, Kemian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to build Squid 3.0.8
Leslie Jensen skrev: When I try to build Squid it stops with the following: - mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi neighbors.cc: In function 'void dump_peer_options(StoreEntry*, peer*)': neighbors.cc:1612: error: 'struct _peer::' has no member named 'carp' *** Error code 1 Stop in /usr/ports/www/squid30/work/squid-3.0.STABLE8/src. *** Error code 1 Stop in /usr/ports/www/squid30/work/squid-3.0.STABLE8/src. *** Error code 1 Stop in /usr/ports/www/squid30/work/squid-3.0.STABLE8/src. *** Error code 1 Stop in /usr/ports/www/squid30/work/squid-3.0.STABLE8. *** Error code 1 Stop in /usr/ports/www/squid30. *** Error code 1 Stop in /usr/ports/www/squid30. *** Error code 1 Stop in /usr/ports/www/squid30. - Any clues on how I get around this. I tried with squid-3.0.7 last week and it went well, now squid is uppgraded to 3.0.8 and it wont build on the same machine! Thanks /Leslie http://www.spreadbsd.org/aff/162/3 Answering my own post! SQUID_CARP must be marked in make config. /Les ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Monitoring CPU temperature: mbmon shows 201 degrees C
Στις Monday 21 July 2008 14:59:09 ο/η Kemian Dang έγραψε: > Achilleas Mantzios wrote: > > Hi, i have had various crashes and segfaults in the last hot days (room > > temp about 30 deg C). > > I tried to monitor CPU temp with mbmon, which shows a very big value in COU > > temperature: > > [EMAIL PROTECTED]:~# mbmon -c 1 > > > > Temp.= 42.0, 201.0, 39.0; Rot.= 3245,0,0 > > Vcore = 1.50, 1.81; Volt. = 3.30, 5.08, 11.31, -11.74, -1.66 > > > > Also, healthdc shows: > > localhost 186.00.0 0.0531417307 1.49 > > 2.491.625.42 0.00 -10.84 0.00 > > and lmmon -i shows: > > Motherboard Temp Voltages > > > > 186C / 366F / 459KVcore1: +1.469V > >Vcore2: +1.766V > > Fan Speeds + 3.3V: +3.219V > >+ 5.0V: +4.932V > > 1: 10629rpm+12.0V: +11.750V > > 2: 33750rpm-12.0V: -13.188V > > 3: 16071rpm- 5.0V: -1.800V > > > > So i dont have any idea how to assess the real CPU temperature. > > I am thinking of tuning down the BIOS to fail-safe settings, just as an > > extra measure. > > Apart from that, i have no clue how to solve the random crashes/segfaults > > problem. > > I also opened the case in order to get ventilated with fresh air from the > > room. > > Any hints would be welcome. > > P.S. > > Please include me in the reply, i am not subscribed to -questions. > > > I use > sysctl -a |grep tepmerature > to get the temperature, tough to say the truth, I am not sure about > their exactly meaning... Yes thx, the problem is that hw.acpi.thermal.tz0.temperature always return 40.0C, and i read about others noticing that. > > Best wishes, > Kemian > -- Achilleas Mantzios ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Trying to build Squid 3.0.8
When I try to build Squid it stops with the following: - mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi neighbors.cc: In function 'void dump_peer_options(StoreEntry*, peer*)': neighbors.cc:1612: error: 'struct _peer::' has no member named 'carp' *** Error code 1 Stop in /usr/ports/www/squid30/work/squid-3.0.STABLE8/src. *** Error code 1 Stop in /usr/ports/www/squid30/work/squid-3.0.STABLE8/src. *** Error code 1 Stop in /usr/ports/www/squid30/work/squid-3.0.STABLE8/src. *** Error code 1 Stop in /usr/ports/www/squid30/work/squid-3.0.STABLE8. *** Error code 1 Stop in /usr/ports/www/squid30. *** Error code 1 Stop in /usr/ports/www/squid30. *** Error code 1 Stop in /usr/ports/www/squid30. - Any clues on how I get around this. I tried with squid-3.0.7 last week and it went well, now squid is uppgraded to 3.0.8 and it wont build on the same machine! Thanks /Leslie http://www.spreadbsd.org/aff/162/3 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Monitoring CPU temperature: mbmon shows 201 degrees C
Hi, i have had various crashes and segfaults in the last hot days (room temp about 30 deg C). I tried to monitor CPU temp with mbmon, which shows a very big value in COU temperature: [EMAIL PROTECTED]:~# mbmon -c 1 Temp.= 42.0, 201.0, 39.0; Rot.= 3245,0,0 Vcore = 1.50, 1.81; Volt. = 3.30, 5.08, 11.31, -11.74, -1.66 Also, healthdc shows: localhost 186.00.0 0.0531417307 1.492.49 1.625.42 0.00 -10.84 0.00 and lmmon -i shows: Motherboard Temp Voltages 186C / 366F / 459KVcore1: +1.469V Vcore2: +1.766V Fan Speeds + 3.3V: +3.219V + 5.0V: +4.932V 1: 10629rpm+12.0V: +11.750V 2: 33750rpm-12.0V: -13.188V 3: 16071rpm- 5.0V: -1.800V So i dont have any idea how to assess the real CPU temperature. I am thinking of tuning down the BIOS to fail-safe settings, just as an extra measure. Apart from that, i have no clue how to solve the random crashes/segfaults problem. I also opened the case in order to get ventilated with fresh air from the room. Any hints would be welcome. P.S. Please include me in the reply, i am not subscribed to -questions. -- Achilleas Mantzios ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: AUTO: Torben Jakobsen is out of the office. (returning 2008-08-10)
On Mon, 21 Jul 2008 10:10:09 +0200 Torben Jakobsen <[EMAIL PROTECTED]> wrote: [...] > This is the only notification you will receive while this person is > away. Wonderful. Now if the OP had learned how to program his "vacation program / auto responder" correctly, I would not have even received this useless notice. -- Gerard [EMAIL PROTECTED] If *I* had a hammer, there'd be no more folk singers. signature.asc Description: PGP signature
Re: Recover Lost Superblocks?
Wow, a sympathetic ear, was expecting far more scorn than that :-) I am currently running TestDisk, which at least _appears_ to be finding something filesystem-like (at least it's listed a few "empty" "somethings" that look somehow reasonable, size-wise.) Cross your fingers. Gpart and TestDisk are entirely passive, i.e. don't touch data on the disks. My plan, if this works out, is to buy a secondary backup consisting of a RAID 1+0 NAS. I don't have anything big enough to back up everything to. I tried pretty much everything with fsck_ufs. Like I said, though, I am able to mount the entire partition from the bootable IDE drive. I see /, /etc/, /dev/ and all that, but since the "rescue" OS can't see any additional superblocks, it has no devices for the other filesystems. I am not sufficiently well versed in UFS to understand how an entire partition can be mounted as a filesystem if that partition originally had multiple filesystems on it. I'm a bit wary of playing more with fsck until all else has failed. :-) What also weirds me out is that FreeBSD constantly bitches about the partition being larger than the physical disk (which it decidedly isn't.) I've tried setting geometry in fdisk any which way (including using the RAID controller's provided values), and as I said, the thing mounts the root partition of the array just fine. I'm considering an exorcist. Best, -John On Jul 21, 2008, at 12:52 PM, Polytropon wrote: Hi! On Mon, 21 Jul 2008 11:57:09 +0200 (CEST), "John Morgan Salomon" <[EMAIL PROTECTED] > wrote: Before you ask, this was the backup server. My primary box had decided to die shortly before. I had no backup backup server. Murphy strikes. I completely do understand you, I'm suffering from a similar problem at the moment, but much worse than yours... Buy tape drives! Buy tape drives! Buy tape drives! :-) Can someone recommend a way to manually scan the entire partition (either aacd0, aacd0s1 or aacd0s1c) for formerly present filesystems? I am 99% sure that all the data is still present, and if I reinstall the superblocks I'll be able to boot the array, mount the filesystems and get the data off before I continue. I don't know whether I've missed any gpart options (I have the impression it only scans for lost partitions, not ufs filesystem signatures.) As far as I know - NB that I'm just starting to learn more about UFS, shame on me that I'll do this just as every piece of data is gone - there are more than one superblock present. According to "man fsck_ufs", this could be a starting point: -b Use the block specified immediately after the flag as the super block for the file system. An alternate super block is usually located at block 32 for UFS1, and block 160 for UFS2. This applies if just the first superblock is gone. Before you start experimenting, maybe it's a good idea to dd the data out of the disks and run fsck on the images? I'm not sure... Any help, tips or pointers would be tremendously appreciated. Hope you're lucky. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED] " ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Recover Lost Superblocks?
Hi! On Mon, 21 Jul 2008 11:57:09 +0200 (CEST), "John Morgan Salomon" <[EMAIL PROTECTED]> wrote: > Before you ask, this was the backup server. My primary box had decided to > die shortly before. I had no backup backup server. Murphy strikes. I completely do understand you, I'm suffering from a similar problem at the moment, but much worse than yours... Buy tape drives! Buy tape drives! Buy tape drives! :-) > Can someone recommend a way to manually scan the entire partition (either > aacd0, aacd0s1 or aacd0s1c) for formerly present filesystems? I am 99% > sure that all the data is still present, and if I reinstall the > superblocks I'll be able to boot the array, mount the filesystems and get > the data off before I continue. I don't know whether I've missed any > gpart options (I have the impression it only scans for lost partitions, > not ufs filesystem signatures.) As far as I know - NB that I'm just starting to learn more about UFS, shame on me that I'll do this just as every piece of data is gone - there are more than one superblock present. According to "man fsck_ufs", this could be a starting point: -b Use the block specified immediately after the flag as the super block for the file system. An alternate super block is usually located at block 32 for UFS1, and block 160 for UFS2. This applies if just the first superblock is gone. Before you start experimenting, maybe it's a good idea to dd the data out of the disks and run fsck on the images? I'm not sure... > Any help, tips or pointers would be tremendously appreciated. Hope you're lucky. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: config as an exit of "IPv6 over IPv4 tunnel"
Hashimoto wrote: Can I configure FreeBSD as an exit of "IPv6 over IPv4 tunnel"? Let me explain it in detail. Both hostA and hostB have global IPv4 address. And hostA has global IPv6 address. I have installed FreeBSD 7.0 on both hostA and hostB. Then, I want to config "IPv6 over IPv4 tunnel" from hostB to hostA. Is it possible? Yes, absolutely. I have a similar configuration for my IPv6 connectivity. There are some alternatives (stf(4), faith(4)), but this is based I what I have. This is mostly in terms of what you'ld add to /etc/rc.conf on HostB -- HostA will be similar, but addresses will be reversed in the obvious places. i) Create a gif(4) interface and configure the endpoints: gif_interfaces="gif0" gifconfig_gif0="hostB-ipv4-number hostA-ipv4-number" ii) Enable IPv6 on HostB -- I'm assuming you've assigned a /64 net block to HostB (perhaps a tad excessive, but pretty much the default for an allocation of a chunk of IPv6 address space.) Adjust the prefixlen to suit. ipv6_enable="YES" ipv6_defaultrouter="-interface gif0" ipv6_default_interface="gif0" ipv6_ifconfig_gif0="1234:5678:9abc:def0::1 prefixlen 64" iii) Settings on HostA are slightly different -- HostA has to be a router, and it only wants to route the HostB block via the gif(4) tunnel: ipv6_enable="YES" ipv6_defaultrouter="hostA-ipv6-gateway-address" ipv6_gateway_enable="YES" ipv6_static_routes="hostB" ipv6_route_hostB="1234:5678:9abc:def0:: -prefixlen 64 -interface gif0" iv) That should be everything you need to get point to point connectivity working. Note: it's pretty easy now to make HostB an IPv6 router and assign IPv6 addresses to anything on the same local subnet as HostB. In fact, you can use rtadvd(8) on HostB to make that automatic: ipv6_network_interfaces="auto" ipv6_prefix_em0="1234:5678:9acb:def0" rtadvd_enable="YES" rtadvd_interfaces="em0" Then just run rtsol(8) on all the other machines that will use HostB as their IPv6 gateway. 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
Recover Lost Superblocks?
Hi there, bit of a tricky question: I have an Adaptec RAID-5 array which decided to puke recently -- the controller seems OK, as do the drives, but something appears to have gone wrong and I had to rebuild the array. Long story short, my array went astray and I lost partition and filesystem info for 1.6TB of data. Before you ask, this was the backup server. My primary box had decided to die shortly before. I had no backup backup server. Murphy strikes. The array was formerly my boot device. Layout before the crash was: /dev/aac0s1a / /dev/aac0s1b swap /dev/aac0s1d /usr /dev/aac0s1e /data Using a combination of sleuthkit, autopsy, a bootable IDE drive that I installed, gpart and a bunch of other tools, I was able to recover the partition. I am also able to mount / from the bootable drive (as /dev/aac0s1c) and access everything on it. I do not remember the filesystem layout (sizes, start/end sectors, etc.) Can someone recommend a way to manually scan the entire partition (either aacd0, aacd0s1 or aacd0s1c) for formerly present filesystems? I am 99% sure that all the data is still present, and if I reinstall the superblocks I'll be able to boot the array, mount the filesystems and get the data off before I continue. I don't know whether I've missed any gpart options (I have the impression it only scans for lost partitions, not ufs filesystem signatures.) Any help, tips or pointers would be tremendously appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD source code
Le Mon, 21 Jul 2008 08:08:26 +0530, "Madana" <[EMAIL PROTECTED]> a écrit : > Dear sir/madam.. > I am a student studying computers and would like to build unix > operating systems later on so i was browsing through your website for > the source code but could not find it so it would be very very nice > if you could give me the url of the page where i can get the source > code.. If you want to explore the source code of the kernel, the 'FreeBSD Kernel Cross-Reference' web site is very useful. http://fxr.watson.org/ Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: config as an exit of "IPv6 over IPv4 tunnel"
Let me explain it in detail. Both hostA and hostB have global IPv4 address. And hostA has global IPv6 address. I have installed FreeBSD 7.0 on both hostA and hostB. Then, I want to config "IPv6 over IPv4 tunnel" from hostB to hostA. Is it possible? i don't understand why you need single directional tunnel. you need bidirectional transmission of IP packets. man gif ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
panics and crash dumps
I'm having problems getting a crash dump on my panics. A bog standard crash dump on panic to swap hangs during the dump. Kris recommended trying minidump or DDB. With minidump enabled, it hangs, doesn't even try to dump on panic. So on to try DDB, have these lines in my kernel: makeoptions DEBUG=-g options KDB options DDB and now this kernel, when it boots, it doesn't see all of the sata drives. I have 2 sata controllers, one on the motherboard, the other a pci card (a supermicro controller). The only difference in the kernel conf files are the latter 2 options lines above being added. I did not see any errors while compiling this kernel. The same kernel modules are in kernel.old as in kernel, however, these are the ones that differ: [#1022] diff -r kernel kernel.ddb.broken Files kernel/bktr.ko and kernel.ddb.broken/bktr.ko differ Files kernel/geom_eli.ko and kernel.ddb.broken/geom_eli.ko differ Files kernel/hptrr.ko and kernel.ddb.broken/hptrr.ko differ Files kernel/ibcs2.ko and kernel.ddb.broken/ibcs2.ko differ Files kernel/if_ed.ko and kernel.ddb.broken/if_ed.ko differ Files kernel/if_oltr.ko and kernel.ddb.broken/if_oltr.ko differ Files kernel/kernel and kernel.ddb.broken/kernel differ Files kernel/linker.hints and kernel.ddb.broken/linker.hints differ Files kernel/logo_saver.ko and kernel.ddb.broken/logo_saver.ko differ Files kernel/mem.ko and kernel.ddb.broken/mem.ko differ Files kernel/rr232x.ko and kernel.ddb.broken/rr232x.ko differ Files kernel/udf.ko and kernel.ddb.broken/udf.ko differ When my DDB kernel boots, not only does it not see the sata drives, upon a quick reboot, it panics and does not throw me into the debugger. And then, to my surprise, it does a crash dump into swap. But when the machine reboots, it can't read it! I get: Checking for core dump on /dev/ad1s1b... savecore: error reading last dump header at offset 10005032448 in /dev/ad1s1b: Input/output error savecore: no dumps found Jul 21 04:45:17 charm savecore: error reading last dump header at offset 10005032448 in /dev/ad1s1b: Input/output error Here is the screen output of the crash of the kernel with DDB which did not recognize the second sata controller: charm# reboot Jul 21 04:32:16 charm reboot: rebooted by root Jul 21 04:32:16 charm syslogd: exiting on signal 15 Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...7 0 0 done All buffers synced. Uptime: 3m46s Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x20:0xc08da707 stack pointer = 0x28:0xff96fc48 frame pointer = 0x28:0xff96fc48 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 = 2151 (reboot) trap number = 12 panic: page fault Uptime: 3m46s Dumping 3327 MB (2 chunks) chunk 0: 1MB (151 pages) ... ok chunk 1: 3327MB (851568 pages) 3311 3295 3279 3263 3247 3231 3215 3199 3183 3167 3151 3135 3119 3103 3087 3071 3055 3039 3023 3007 2991 2975 2959 2943 2927 2911 2895 2879 2863 2847 2831 2815 2799 2783 2767 2751 2735 2719 2703 2687 2671 2655 2639 2623 2607 2591 2575 2559 2543 2527 2511 2495 2479 2463 2447 2431 2415 2399 2383 2367 2351 2335 2319 2303 2287 2271 2255 2239 2223 2207 2191 2175 2159 2143 2127 2111 2095 2079 2063 2047 2031 2015 1999 1983 1967 1951 1935 1919 1903 1887 1871 1855 1839 1823 1807 1791 1775 1759 1743 1727 1711 1695 1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519 1503 1487 1471 1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279 1263 1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039 1023 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 ... ok Dump complete Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x20:0xc08da707 stack pointer = 0x28:0xff96fad8 frame pointer = 0x28:0xff96fad8 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 = 2151 (reboot) trap number = 12 panic: page fault Uptime: 5m40s Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x20:0xc08da707 stack pointer = 0x28:0
config as an exit of "IPv6 over IPv4 tunnel"
Can I configure FreeBSD as an exit of "IPv6 over IPv4 tunnel"? Let me explain it in detail. Both hostA and hostB have global IPv4 address. And hostA has global IPv6 address. I have installed FreeBSD 7.0 on both hostA and hostB. Then, I want to config "IPv6 over IPv4 tunnel" from hostB to hostA. Is it possible? -- Hashimoto Kouki [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
AUTO: Torben Jakobsen is out of the office. (returning 2008-08-10)
I am out of the office until 2008-08-10. I will respond to your message when I return. Please contact: - Erik Svennevig -- team/project manager - Pavan Gulati -- team/project manager - Bo Heegaard Hansen -- people manager - Lene Buch-Larsen -- resource deployment manager Note: This is an automated response to your message "Re: What price at the license of FreeBSD 7?" sent on 20/7/08 10:40:50. This is the only notification you will receive while this person is away. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD source code
On Mon, 2008-07-21 at 09:23 +0200, Wojciech Puchar wrote: > > Dear sir/madam.. > > I am a student studying computers and would like to build unix operating > > systems later on so i was browsing through your website for the source code > > but could not find it so it would be very very nice if you could give me > > the url of the page where i can get the source code.. > > you should first study how to read webpages. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" That sir was well played. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD source code
Dear sir/madam.. I am a student studying computers and would like to build unix operating systems later on so i was browsing through your website for the source code but could not find it so it would be very very nice if you could give me the url of the page where i can get the source code.. you should first study how to read webpages. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"