Re: uid 80: exited on signal 6
Zbigniew Szalbot wrote: > szalbot.homedns.org kernel log messages: +++ /tmp/security.BfIqepKO Fri Oct > 12 03:08:35 2007 > +pid 82543 (httpd), uid 80: exited on signal 6 > +pid 82542 (httpd), uid 80: exited on signal 6 > +pid 82541 (httpd), uid 80: exited on signal 6 > +pid 82537 (httpd), uid 80: exited on signal 6 > +pid 82533 (httpd), uid 80: exited on signal 6 > +pid 82536 (httpd), uid 80: exited on signal 6 > +pid 82535 (httpd), uid 80: exited on signal 6 > +pid 82534 (httpd), uid 80: exited on signal 6 > +pid 3653 (httpd), uid 80: exited on signal 6 This means that the httpd child processes are crashing, most likely in response to a request. Because apache creates child processes dynamically to handle load (at least, with the default MPM) these crashed processes are automatically replaced, and the server continues happily servicing requests. It might be a good idea to go through your access and error logs and see if there are any suspicious-looking or unusually long requests that might be trying to exploit a buffer overflow vulnerability in apache or a module thereof. If you are using mod_php, though, it's more likely that it's a bug in PHP or a PHP extension that's being flushed out by some rarely used script on your server. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ECC capability and ACPI warnings
Hi! Is there any way, by poking through dmesg or sysctls, to determine if a machine has, or is capable of using, ECC RAM? Also, is there an easy way to silence the following warnings in dmesg? They all appear to be about the serial and parallel ports, which, as far as I know, the machine does have. They may not be enabled in the BIOS, however. acpi0: on motherboard ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND SearchNode 0xc4b47040 StartNode 0xc4b47040 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.COM1._STA] (Node 0xc4b47040), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND SearchNode 0xc4afdce0 StartNode 0xc4afdce0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.COM2._STA] (Node 0xc4afdce0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND SearchNode 0xc4afdae0 StartNode 0xc4afdae0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.LPT_._STA] (Node 0xc4afdae0), AE_NOT_FOUND Thanks! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ 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
dhaneshk k wrote: > But how I can use Bittorrent to serve these big files to the remote > users of my website (so that I can save a lot of bandwidth of my network > connection ) > > The Bittorent is installed in this box was( py24-BitTorrent-4.20.2_1,1 ) . > I have the ISO images , but how can I put these ISO's to be served via > Bittorrent & how others can accesss these iso's from my webserver through > bittorrent To serve torrents, you need a tracker, and you need clients to seed. Fortunately, your server can work as both. On the subject of trackers: There are quite a few PHP trackers around, though the one I use is Torrent Trader Lite. (http://www.torrenttrader.com/) This is a lightweight tracker that stores all its information in flatfiles, so no rdbms is necessary. This should be placed on a publicly accessible URL, so that the people who wish to download via bittorrent can use it. You may also consider creating and uploading torrents to a popular public tracker, such as The Pirate Bay, to boost exposure and reduce the amount of software you must deal with. I would suggest avoiding registration-required trackers if you're hoping for impulse downloads, though, as mandatory registration can be a bit of a turnoff for a lot of people. On the subject of clients: There are a myriad of bittorrent clients in existence, but most of them require some form of graphical interface. You've found one of the best for console downloading, but it still can't be run in the background (ignoring for the moment running things in screen). The software I use for downloading torrents is TorrentFlux (http://www.torrentflux.com/). It is a PHP webapp frontend to BitTornado (a fork of BitTorrent) designed to run the torrents in the background, while providing a pretty interface for controlling them. As this will act as your seed, this should be kept private and password-protected. Best of all, both of these solutions can be run through your current webserver infrastructure, via virtual hosts or simple subdirectories. After getting your tracker and client set up, you can use TorrentFlux to create a .torrent file for your chosen ISO or group of ISOs, specify your tracker's announce URL, register the .torrent file with your tracker (if necessary) and start seeding, and your bittorrent-savvy visitors can torrent to their heart's content. A big notice, though: BitTorrent won't initially save bandwidth, especially if your server is the only seeder, and may actually be much slower if the files aren't very popular, as there won't be as many other visitors to help distribute chunks of the files. I hope this helps! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 1 TB data copy
Bill Moran wrote: > In response to "Monah Baki" <[EMAIL PROTECTED]>: > I'm not completely up to speed with FreeBSD's NTFS support. Last I looked > at it, it was experimental and there were warnings everywhere. I assume > it's improved since then (~3 years ago) but can't say with authority. As I recall, the native FreeBSD NTFS support is read-only. However, the NTFS-3g project has a mostly complete (and pretty safe) read/write implementation as a FUSE program, which can be found in ports: sysutils/fusefs-ntfs sysutils/ntfsprogs -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Howto: Prepare USB key with FreeDOS using FreeBSD
O. Hartmann wrote: > Does anyone do have an idea? Ah, the disproportionate march of progress... The easy way out would be to procure a USB floppy drive. If the machines support booting from a USB stick, they can handle booting a USB floppy in legacy mode. If you're really bent on using a USB thumbdrive, you're in for quite a ride. Due to the way DOS is designed, it needs a pretty nonstandard (nowadays) method of booting. You could 'format' the thumbdrive with FAT12 or FAT16 and put the files on there, but you would need to find a way to do so from within DOS itself, as neither Linux nor FreeBSD can create FAT filesystems that boot DOS. Your best bet is to use an already existing bootable DOS floppy image, loading the files onto there (using mdconfig to mount it), and using GRUB (or another modern boot loader) and memdisk (part of syslinux) to boot the floppy image off the thumbdrive. This worked for me when building a thumbdrive capable of booting Norton Ghost, PM8, FreeDOS, and a few other DOS-only utility diskettes. I believe it's also the method used by the Ultimate Boot CD. Good luck! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ECC capability and ACPI warnings
Chuck Swiger wrote: > On Oct 12, 2007, at 12:54 AM, CyberLeo Kitsana wrote: >> Is there any way, by poking through dmesg or sysctls, to determine if a >> machine has, or is capable of using, ECC RAM? > > Well, the sysutils/dmidecode port can be used to answer that question: That tells me exactly what I needed. Thanks! >> Also, is there an easy way to silence the following warnings in dmesg? >> They all appear to be about the serial and parallel ports, which, as far >> as I know, the machine does have. They may not be enabled in the BIOS, >> however. > > I think those messages only appear if you do a verbose boot...? As far as I can tell, it wasn't booted in verbose mode. I'll verify next time I reboot the machine, though. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ 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
andrew clarke wrote: > I had a quick look at Torrent Trader Lite after your suggestion, and > while it doesn't appear to depend on MySQL, it's still far from > lightweight! It really requires you to build the web site around the > tracker rather than adding a small tracker to a pre-existing site. For theming and integration, I suppose. I just wanted something I could use to share a few torrents with friends, though, so I just untarred it into a subdirectory, set permissions, and let it do it's thing. > I also had to do a lot of work to get it working under PHP5. I fixed > some things by replacing " problems with rendering of pages. I don't know if the tracker part of > it actually worked. I suppose it is possible I did some patchwork to get it running, but it was about half a year ago already, so I can't remember. Thanks for the information, though. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Xorg.0.log (what's this info about?)
Peo Nilsson wrote: > ... > (II) NVIDIA(0): Setting mode "nvidia-auto-select" > (**) Option "BaudRate" "1200" > (**) Option "StopBits" "2" > (**) Option "DataBits" "8" > (**) Option "Parity" "None" > (**) Option "Vmin" "1" > (**) Option "Vtime" "0" > (**) Option "FlowControl" "None" > SetGrabKeysState - enabled > ... Serial port mouse or touchpad, perhaps? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Incomplete file listing with Samba on ext2fs
Rainer Schwarze wrote: > I created 1000 files named "file000" ... "file0999" in a directory. I > could see all of them via Windows. > > I created 1000 files named "file-.file" ... "file-0999.file" in a > directory. I could see the first 130 files of them. Are you sure this is only happening with ext2fs? You might be running into a filename mangling limitation in Samba. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD, 160GB HD, and a Bios limitation
Christoper Tucker wrote: > I used the "all" command here. Using the Seagate utility, the drive had > earlier been set to 160GB, yet the installer sees 120GB here, it seems. The IDE interface that the drive is connected to does not support LBA48 addressing, and thus can only address 2^28 sectors, or about 120GiB. As the higher sectors cannot be addressed, they essentially do not exist. I'm doubtful there are any software workarounds for this issue. As for the size reported in the BIOS, that's only required to get the system booted, and all boot files must reside within that space. Once the FreeBSD kernel takes over, it communicates with the IDE interface directly, and is not subject to BIOS limitations. The biggest concern is that, when the boot sector and partition information is written, the geometry fdisk uses must match that which the BIOS expects. If not, it's possible that the bootloader, which must use BIOS calls to access the disk, will end up looking in the wrong places. It might be easier to simply procure a cheap, recent Promise or similar bootable PCI IDE adapter, which will not suffer these limitations, and will likely be faster than the onboard adapter. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Firewall Redirect
Lucas Neves Martins wrote: >422 ipfw add 950 divert 8082 tcp from any to any 80 via em0 Hi! I do something similar, except with a small home-grown server used to serve 'You are banned' pages to people who insist on driving my poor little webserver into swap. The directive you're looking for is 'fwd'. ipfw add 44001 fwd 127.0.0.44 tcp from "${luser}" to any 80 in recv fxp0 -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mfsroot issues
Hi! I'm trying to set up a TinyBSD mfsroot image with which to upgrade a machine remotely. I've run into a few problems along the way, though. First of all, I cannot seem to get the kernel to use the preloaded mfsroot as the root device as long as the boot disk's /etc/fstab has a root listed. It will always use what's listed in the boot disk's fstab, despite settings in loader.conf. Am I missing something? (rootdev="md0" or "/dev/md0" or "ufs:/dev/md0" or...) Second, gzipped mfsroots seem to be corrupt when loaded, but fine when used uncompressed. Does the loader need special compile or runtime options to properly understand and expand gzipped mfsroots? The mfsroot is a naked UFS filesystem image, without slice table or bsdlabel. FreeBSD 6.2-RELEASE-p7 (TISA) #0: Sun Sep 30 03:43:30 CDT 2007 Thanks! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mail server DNS configuration questions
Andrew Falanga wrote: > ... > While diagnosing this, I connect to the server (using Putty) from a > machine in PN1, using either a mail client or telnet I'm unable to make > a connection to the mail server over port 25. Using tcpdump during this > putty session I do not even see the SYN packets for the start of the > connection from the machines in PN1. This is only when connecting to > port 25. Obviously, I can connect to the server because I'm using > ... Are you sure CableOne does not filter outgoing port 25 connection attempts to any servers save it's own relay? My ISP (A big name DSL provider; grep the headers if curious) does not perform incoming port filtering, but rather aggressively filters outbound TCP port 25 and (for reasons unexplained) as well. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: setup cronjob
Darrell Betts wrote: > I have wrote a small script put it in my home directory. I am trying to > setup a cronjob to run it every six hours. When it runs the job I > receive the error message " /usr/home/test/cronjobs/test.sh: not found" > I have tripe checked the file permissions and they appear correct so I > am stumped as to why this won't run? Any ideas? Make sure that the shebang at the top of the script (#!/bin/sh or similar) points to a valid shell, and that it uses unix-style end of lines. If a control character or linefeed gets in there somewhere, the kernel won't be able to find the proper interpreter to run the script, hence the "test.sh: '' not found." -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: automagically share knoqueror with ff3-- bookmarks?
Gary Kline wrote: > Yes! Thanks to both you gents, RW and Polyt. In konq there was > Bookmarks-> edit [pops up the Edit file]. Then File -> Export, > and choose HTML. Save somewhere until mv to the firefox > directory. Keep in mind that Firefox 3 uses an sqlite database to store bookmarks, history, session, etc.. The 'bookmarks.html' file isn't read anymore, except during initial profile conversion. Thus, you will need to import the resultant HTML manually into your firefox profile. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OT] Apache SSL certificate authentication
Fraser Tweedale wrote: > - Create my CA key and a CSR, and have CACert sign it. Are you sure it's signed as an intermediary CA? cacert.org's website suggests they will only sign leaf certificates. http://wiki.cacert.org/wiki/SubRoot Fortunately, your client certs need not be signed by the same CA as your server cert, and it's probably somewhat pointless to have a client cert (which will be used for your infrastructure alone) vetted by a third party. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: VNC server embedded into Xorg server
Laszlo Nagy wrote: > > Hi All, > > There was a port called net/vnc that contained a vnc.so file. That file > could be loaded into the Xorg server and then I was able to monitor the > X desktop with VNC. > > Now I'm using gnome, and gnome2-fifth-toe installs tightvnc. It > conflicts with net/vnc. So I cannot install net/vnc. What other options > I have to run an X server? > > The only extra wish is that the X server must be able to start > automatically, e.g. without logging into gnome. I need this because the > X server will be located at a distant location and I have to be able to > use it after a system restart. I use x11vnc (net/x11vnc), as it doesn't require loading anything into the X server itself--it's a standard X client. >From there, it wouldn't be difficult to hack together something that starts x11vnc when the X server starts up. XDM and GDM tend to store their X authority files in easy-to-find locations. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gmirror slice insertion, "FAILURE - READ_DMA status=51"
Thomas Sparrevohn wrote: > The error occured after I had the disk for a couple of days - WHat puzzled me > was that the drive > did not do it automatically Hard disks will not map uncorrectable bad sectors on read automatically, as it no longer knows what the contents of that sector should be. In this instance, the sector is usually remapped during a write. Given the symptoms of the problem described above, it looks like this uncorrectable sector is located in a portion of the disk that isn't touched by FreeBSD's newfs or installation procedure, and would never have a chance to be written to and corrected. Then, when the mirror sync occurs (which copies every block verbatim, regardless of whether it's in use or not) it's choking on that sector and locking up the disk, thus freezing the OS. One thing to try prior to RMAing the disk is to fill the entire disk with zeroes (dd if=/dev/zero of=/dev/ad6 bs=131072 or similar) to give its firmware a chance to remap all flakey sectors, and rewrite all ECC information. I do this with every new or freshly acquired disk that's guaranteed to be empty, to ensure that no surprise errors bite me later on, as well as to make sure no previous data hangs around. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ZFS on FreeBSD 7.2
Graeme Dargie wrote: > Hello all > > I currently have machine with 6x500gb hdd`s running under ZFS RaidZ > everything is working just fine, I have bought 2x3bay ICY Dock bays for > this machine, my questions is do I have to make sure the drives go back > on to the same sata ports as they are currently on or will ZFS sort it > self out? Before you remove the drives, export the zpool; after moving them, import the zpool. This will scan all connected devices and put everything where it needs to be. If you forget to export before shuffling the devices and zfs complains, just export and import the pool and it should sort itself out. freenas:~# zpool list NAMESIZEUSED AVAILCAP HEALTH ALTROOT data931G630G301G67% ONLINE - freenas:~# zpool export data freenas:~# zpool list no pools available freenas:~# zpool import pool: data id: 12298073319825187638 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: dataONLINE raidz1ONLINE ad0 ONLINE ad4 ONLINE ad6 ONLINE ad8 ONLINE ad10ONLINE freenas:~# zpool import data freenas:~# zpool list NAMESIZEUSED AVAILCAP HEALTH ALTROOT data931G630G301G67% ONLINE - -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
[FreeBSD Questions] Filesystem image as root
I have been thinking and experimenting for weeks, but I cannot figure this out. I have an Intel SS4200 NAS that I wish to use as a ZFS NAS with FreeBSD 8.0. The device has 4 SATA bays, and I don't want to use one for a UFS root disk. I don't want to use up hundreds of megabytes of RAM preloading an mfsroot that can never shrink. The single IDE connector is accessible via the legacy ISA ports, and is thus limited to PIO modes (about 1.6MB/sec max, even with an actual hard drive instead of a CF card). Performance is acceptable when using a geom_uzip image from a CF card on the IDE connector, as a lot of it ends up cached in RAM (and is evictable in case of memory pressure, unlike an mfsroot). Try as I might, I am unable to figure out how to use a uzip imagefile on UFS as a root filesystem, without dedicating a slice/partition to it. There seems to be nothing approximating GNU/Linux's pivot_root, and using a stub init (which cannot be a shellscript...?) to mdconfig and mount the image, then chroot to that to exec /sbin/init appears to lead to instant deadlock. I don't really like the idea of mounting the image somewhere below root, and using symlink spaghetti to get everything proper; especially since I wish to place such essentials as /sbin and /etc thereupon, which leads to a bit of a chicken-and-egg problem with setting up and mounting an image that contains its mdconfig and mount... Am I missing something obvious here, or am I truly treading unexplored territory? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: freebsd-questions Digest, Vol 284, Issue 11
James Phillips wrote: >> Date: Sat, 14 Nov 2009 20:29:59 -0600 >> From: CyberLeo Kitsana >> Subject: [FreeBSD Questions] Filesystem image as root >> >> The single IDE connector is accessible via the legacy ISA >> ports, and is >> thus limited to PIO modes (about 1.6MB/sec max, even with >> an actual hard >> drive instead of a CF card). > > You are off by an order of magnitude (base 2 or 10): > Pio mode 0 is ~3.3 MB/s > Pio mode 4 is ~16.7 MB/s > > http://www.pcguide.com/ref/hdd/if/ide/modesPIO-c.html > > You can probably set PIO mode 4 for with: > # atacontrol mode ad0 PIO4 If only that were true in this case. (85eef1f3)[r...@ss4200 ~]# atacontrol mode ad0 PIO4 current mode = PIO2 (85eef1f3)[r...@ss4200 ~]# atacontrol mode ad0 PIO4 current mode = PIO2 (85eef1f3)[r...@ss4200 ~]# dd if=/dev/ad0 of=/dev/null bs=4096 count=4096 4096+0 records in 4096+0 records out 16777216 bytes transferred in 10.111748 secs (1659181 bytes/sec) Nothing I've tried seems to boost the throughput, hence the desire to use a compressed cached filesystem image. Thanks for the suggestions, though! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [FreeBSD Questions] Filesystem image as root
James Phillips wrote: > > --- On Sun, 11/15/09, CyberLeo Kitsana wrote: >> James Phillips wrote: >>>> Date: Sat, 14 Nov 2009 20:29:59 -0600 >>>> From: CyberLeo Kitsana >>>> Subject: [FreeBSD Questions] Filesystem image as >> root >>>> The single IDE connector is accessible via the >> legacy ISA >>>> ports, and is >>>> thus limited to PIO modes (about 1.6MB/sec max, >> even with >>>> an actual hard >>>> drive instead of a CF card). >>> You are off by an order of magnitude (base 2 or 10): >>> Pio mode 0 is ~3.3 MB/s >>> Pio mode 4 is ~16.7 MB/s >>> >>> http://www.pcguide.com/ref/hdd/if/ide/modesPIO-c.html >>> >>> You can probably set PIO mode 4 for with: >>> # atacontrol mode ad0 PIO4 >> If only that were true in this case. >> >> (85eef1f3)[r...@ss4200 ~]# atacontrol mode ad0 PIO4 >> current mode = PIO2 >> (85eef1f3)[r...@ss4200 ~]# atacontrol mode ad0 PIO4 >> current mode = PIO2 >> (85eef1f3)[r...@ss4200 ~]# dd if=/dev/ad0 of=/dev/null >> bs=4096 count=4096 >> 4096+0 records in >> 4096+0 records out >> 16777216 bytes transferred in 10.111748 secs (1659181 >> bytes/sec) >> >> Nothing I've tried seems to boost the throughput, hence the >> desire to >> use a compressed cached filesystem image. >> >> Thanks for the suggestions, though! > Ouch! > > I thought the laptop I was "fixing" last week was bad: running Vista with a > 10MB/s transfer rate :P > > The drive in my Pentium 166 gets 11-12MB/s. > > I actually looked up both the PIO modes: > http://en.wikipedia.org/wiki/Programmed_input/output > > And the spec sheet (assuming Tom's hardware was wrong) before composing my > original reply: > Intel® Entry Storage System SS4200-E > Technical product specification [PDF] > http://download.intel.com/support/motherboards/server/ss4200-e/sb/ss4200e_tps_11.pdf > > I noted that the ATA port is not listed as a feature, which is not a good > sign. It does appear in the block-diagram labeled:DOM > Glossary definition: Disk On Module The model I have is the SS-4200EHW. Identical, save the lack of a DOM and firmware. And price. > If I had to guess: Intel did something "weird" or "non-standard" to the port, > so the standard BSD driver does not work properly. > Have you read the ata(4) manual page? > The following /boot/device.hints are suggested for ISA: > hint.ata.0.at="isa" > hint.ata.0.port="0x1f0" > hint.ata.0.irq="14" This is actually how I got the amd64 build to recognize the port. These lines were present in x86, but missing in amd64 device.hints. > . . . port '1' probably not needed > I had a thought: it could just as easily be "pc98" if they don't intend for > you to touch the "firmware." Hm. This might be something to look into. > The firmware has source code available under a GPL license. > EMCLifeLineOEMSW-1.0-GPLComponents.tar.gz > Ver:1.0 Date:9/24/2009 Size:125585 (KB) > > EMCLifeLineOEMSW-1.1-GPLComponents.tar.gz > Ver:1.1 Date:9/24/2009 Size:244406 (KB) I checked previously, and Linux has the same limitations. The port is recognized as a legacy ISA IDE port by the ide-generic driver, and maxes out at a ludicrously low throughput. The official firmware gets around this by preloading filesystems into RAM. > If you are worried about license contamination, you may have to get somebody > to look through that and document any changes (to the ATA interface). > Hopefully it is based on a well-know code-base like Linux and the "diff" > utility can be used. > > Of course, the term "components" implies they only expose a HAL of some kind. > > Regards, > > James Phillips > > PS:"# atacontrol mode ad0" will simply print out the current mode. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD is too filesystem errors sensitive
Ivan Voras wrote: > cronfy wrote: >> ... but the hell why is it required to panic and kill everything >> that would be working happily even if something very disasterous >> happen to /backup partition, in example? > > All those errors indicate file system corruption. To protect other data > from getting corrupted (e.g. by invalid pointers or calculations), the > kernel panics. ...and (hopefully) reboots, determines that there were filesystem errors, and attempts to correct them with fsck(8) -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD is too filesystem errors sensitive
cronfy wrote: > ... > Is there a way to say "Dear kernel, don't panic, I'am holding your hand, > keep working please-please-please?" If so, can it lead to complete > filesystem corruption indeed or it is not so serious? Drop to DDB, fix it, and 'continue'? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD is too filesystem errors sensitive
cronfy wrote: > >>> ... >>> Is there a way to say "Dear kernel, don't panic, I'am holding your hand, >>> keep working please-please-please?" If so, can it lead to complete >>> filesystem corruption indeed or it is not so serious? >>> >> >> Drop to DDB, fix it, and 'continue'? >> > > If I type 'continue' kernel says 'Dumping... rebooting...'. What magic > am I missing that you probably meant under "fix it"? That's the point. Once you have the requisite knowledge and understanding of the innards of the kernel and the intricacies of the filesystem, and how these two interact, then you will know how to 'fix it'. With that understanding, you may also know when it is safe to tell the kernel to ignore a panic that occurs to inform you of a critical problem that could cause far more damage were it left alone. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Transfer zfs pool to new hardware
mailinglists wrote: > ... > r...@flappie:...home/rob#zpool list > NAME SIZE USED AVAILCAP HEALTH ALTROOT > data - - - - FAULTED - Try removing /boot/zfs/zpool.cache and rebooting to clear out the stale zfs config pointing to the old device names, then re-importing the pool(s): nas:~# zpool list no pools available nas:~# zpool import pool: data id: 12298073319825187638 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: dataONLINE raidz1ONLINE ad0 ONLINE ad4 ONLINE ad6 ONLINE ad8 ONLINE ad10ONLINE nas:~# zpool import data nas:~# zpool list NAMESIZEUSED AVAILCAP HEALTH ALTROOT data931G721G210G77% ONLINE - -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: IPFW with user-ppp's NAT
Erik Trulsson wrote: On Sun, Mar 16, 2008 at 04:37:18PM +0100, Wojciech Puchar wrote: Frankly I'm a bit surprised that this hasn't been more widely heralded, as userland natd is often given as a reason to prefer other firewalls, what's wrong in userland natd? Performance. With userland natd, every packet that passes through natd must pass from kernel to userland (causing one context switch) and back again (causing another context switch). This will be slower and use more CPU than doing it all inside the kernel, without any context switches. Online reconfiguration. Userland natd requires a restart (and a loss of all nat state information) when you want to change forwarded ports and such, whereas the in-kernel NAT engines (in ipf and pf, at least) support reconfiguration without flushing state. To a large extent, at least. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD-6.3 only detects 3GB of RAM
fred wrote: Hello all, I am trying to fix an issue with my dual xeon ibm server, it only detects 3GB or RAM but I have 4GB: I discovered on my workstation that there is a BIOS setting to cause the motherboard to remap everything above 3GB installed RAM up above the PCI address space. Without this option set, neither x86 PAE nor amd64 could make use of my last gigabyte. Probably has nothing to do with your hardware, but just a heads-up that these things do exist. Asus P5B-Plus, 4GB PC2-6400, Intel Core 2 Duo E6550 -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 'rm' Can not delete files
On 02/08/2012 12:02 PM, David Brodbeck wrote: > 2012/2/7 Ingo Hofmann : >> What helps me sometimes is wrapping it up: >> >> for i in *; do rm $i; done > > Won't that just expand the * and result in the same problem? It seems > like you've just moved the problem from the rm statement to the for > statement. This error arises during exec(3) when the length of the program arguments exceeds a certain size. Since 'for' is a shell builtin, there is no such practical limitation thereupon. See the ERRORS section in execve(2), specifically [E2BIG], for more details. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: (c)dialog working differently during boot in script called by rc system than after boot?
On 02/23/2012 12:21 PM, Robarrght wrote: > Does anyone out there see what I'm missing? Setting TERM in your script's environment? To my knowledge, the boot scripts have a VERY minimal environment. Tried on 9.0-RELEASE: $ dialog --msgbox "Test message" 6 25 shows a message, whereas $ TERM="" dialog --msgbox "Test message" 6 25 shows a black screen. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD X?
On 05/17/2012 07:36 PM, Vance Siemens wrote: > http://www.trollaxor.com/2012/05/freebsd-x-berkeley-unix-apple-quality.html My favourite part was when the article sourced other articles on the same blog as 'developers'. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: buildworld problem
On 05/19/2012 03:29 AM, Andriy Babiy wrote: >>> "Makefile.inc1", line 160: CPUTYPE global should be set with ?=. ... > In make.conf I have CPUTYPE=nocona As it says, you need CPUTYPE?=nocona instead of CPUTYPE=nocona in /etc/make.conf or /etc/src.conf; otherwise the build process chokes while building the 32-bit compatibility stuff, since it cannot override your 64-bit CPU selection with a 32-bit one. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: slowoffice doesn't work
On 06/13/2012 11:49 PM, Wojciech Puchar wrote: > trying to start openoffice shows: > > [wojtek@wojtek ~]$ openoffice-3.4.0-swriter > XDM authorization key matches an existing > client!/usr/local/openoffice-3.4.0/openoffice.org3/program/soffice.bin > X11 error: Can't open display: >Set DISPLAY environment variable, use -display option >or check permissions of your X-Server >(See "man X" resp. "man xhost" for details) > > > > everything else works, doing > > xhost + > > "fixed" the problem. any idea what is wrong. > deleting .openoffice doesn't change anything This was a big problem with certain programs that like to re-exec themselves very quickly upon startup. It affected Firefox[1] and Thunderbird[2] circa 2003-2004. The pedantically correct solution is to fix the limitation in the xsecurity protocol. The realistically correct solution is to fix the bug in OpenOffice. The more useful solution is to put something like this in your .xinitrc/.xsession script: 8< # Tell X to authorize me xhost +si:localuser:$(id -un) >&/dev/null 8< [1] https://bugzilla.mozilla.org/show_bug.cgi?id=246313 [2] https://bugzilla.mozilla.org/show_bug.cgi?id=224966 http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2011-02/msg00086.html http://lists.debian.org/debian-devel/2000/11/msg01823.html -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Free space in ZFS
On 06/15/2012 04:02 PM, John Levine wrote: > I made a three disk zraid ZFS pool yesterday from three new 1 TB > disks, which I'm using for backup. Then I did a backup and made a zfs > volume. The free space numbers don't make sense. This is on 8.3, ZFS > version 15. > > # zpool list > NAME SIZE USED AVAILCAP HEALTH ALTROOT > backup2 2.72T 310G 2.42T11% ONLINE - > > Given that it's zraid, the total available space should be a little > under 2TB since the third disk is for parity. But zpool gives me a > total of 2.72T, as though the third disk was for data. raidz does not operate entirely like a traditional raid5. It stores enough redundant information to survive a full disk failure, but that's where the similarity ends. When you write to a raid5, the data is striped in even strides across n-1 disks, and parity is written to the remaining disk. The layout is very rigidly structured, such that you can always determine where a particular piece of data will end up by performing simple arithmetic. When you write data to a raidz1, a single ZFS data block is chopped up into n-1 equal-sized pieces (plus 1 piece for parity), and stored wherever it will fit inside the pool. The storage allocator will make sure that each piece ends up on a separate physical disk, but that's the only restriction on placement. So, when looking at the zpool itself, you see raw capacity that is burned through at a rate of four-thirds (for a 4-disk raidz) as you commit data to the pool. > # zfs list > NAMEUSED AVAIL REFER MOUNTPOINT > backup2 206G 1.58T 31.3K /backup2 > backup2/20120615206G 1.58T 206G /backup2/20120615 > > Well, that makes more sense, total is 1.78Tb. ...but, when looking at the dataset itself, you see how much (compressed, deduped) data is present (since you don't care about parity at this level), and how much more data the allocator predicts you can safely store on this dataset (which is affected by things like compression, deduplication, reservations, and quotas). > # df -g > Filesystem1G-blocks Used Avail Capacity Mounted on > backup216180 1618 0%/backup2 > backup2/20120615 1825 206 161811%/backup2/20120615 > > Now the total is 1.82Tb. Huh? The backup filesystems are compressed, > but surely they're showing me the actual size, not the uncompressed > size. Or are they? Don't bother with df. Because df was designed in the era of static filesystems that never change capacity and always write verbatim, zfs has to be 'creative' to represent the size in a manner that would be in any way useful to a user. It doesn't always work. Google 'ZFS versus df'[1] for more information. Hope this helps! [1] https://duckduckgo.com/?q=zfs+versus+df -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: urtw0 wireless device on FreeBSD problems
On 06/18/2012 09:07 PM, Antonio Olivares wrote: > Dear Folks, ... > Is there a place where the panics/oops are saved to retrieve them and > cut + paste them here? > /var/log/, /tmp/ ? If you have set dumpdev in rc.conf to the location of a swap device (or AUTO to have it pick one), the core dump (and a neat automated analysis, on 8.x and later) should end up in /var/crash. Keep in mind that coredumps can be as large as the machine's installed RAM, so you will probably want at least that much swap and disk to hold it. Also, there may still be some issues with obtaining consistent coredumps on multiprocessor machines, but I got rid of the miscreant hardware before I could test that claim on anything newer than 8.1. You can find more comprehensive information in the handbook[1]. [1] http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: A bash scripting question
On 06/21/2012 08:40 AM, Odhiambo Washington wrote: > How Can I simplify/perfect the following script, so that I read _ALL_ the > lines in the file and act on the content as shown below, so that I do not > have to specifiy an action per line? > > This below is doing exactly what i need BUT reading one line at a time > untill the 10th line, if i want more i add manually... > This might help some1 someday! But if there is a way to perfect it please > do so. > > #!/usr/local/bin/bash > > smsfile=email_to_sms > `grep Subject /var/spool/mail/sms >>$smsfile` > if [[ -s $smsfile ]] ; then > cat /dev/null > /var/spool/mail/sms > sed -i 's/Subject: //g' $smsfile > echo `sed -n '1p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==1 > {print $1}' $smsfile` > echo `sed -n '2p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==2 > {print $1}' $smsfile` > echo `sed -n '3p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==3 > {print $1}' $smsfile` > echo `sed -n '4p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==4 > {print $1}' $smsfile` > echo `sed -n '5p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==5 > {print $1}' $smsfile` > echo `sed -n '6p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==6 > {print $1}' $smsfile` > echo `sed -n '7p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==7 > {print $1}' $smsfile` > echo `sed -n '8p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==8 > {print $1}' $smsfile` > echo `sed -n '9p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==9 > {print $1}' $smsfile` > echo `sed -n '10p' $smsfile` | /usr/bin/gammu --sendsms TEXT `awk 'NR==10 > {print $1}' $smsfile` > else > echo "***Sorry the SMS FILE "$smsfile" is empty." > fi > gammu-smsd start > cat email_to_sms >> email_to_sms2 > cat /dev/null > email_to_sms Off the top of my head: 8< #!/bin/sh -e sed -e '/^Subject: /!d; s/^Subject: //' /var/spool/mail/sms > "${smsfile}" :>/var/spool/mail/sms xargs -L1 /usr/bin/gammu --sendsms TEXT < "${smsfile}" mv -f "${smsfile}" "${smsfile}.bak" 8< No loops necessary. By the way, what's gammu, and why is it in /usr/bin ? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD vs Hurd what is the differences?
On 07/09/2012 05:25 PM, Julian H. Stacey wrote: > The string I saw was in file jquery.js: > > /^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage This is a part of the jQuery javascript library. The example above is a regular epxression used to pick apart input tags on the page in which jQuery is running, so fun stuff can be done to them. You can see the same code in the development version from the jQuery website itself; any nefarious behaviour therein would presumably be noticed by the extensive community utilizing and modifying said library. http://code.jquery.com/jquery-1.7.2.js just search for the string |password| in that file -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: full disk encryption with geli - where does the stuff in /boot/kernel
On 04/10/2011 09:34 PM, Gil Mordron wrote: > # mount /dev/ad0.elia /fixed > # export DESTDIR=/fixed/ > # cd /dist/6.0-RELEASE/base && ./install.sh The 'base' distribution does not include any kernels. Take a look in /dist/6.0-RELEASE/kernels for those. Note that kernels/install.sh will not populate /boot/kernel either; instead, it'll drop the kernel into /boot/GENERIC (for the generic kernel) for you to do with as you wish. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ZFS and zfsloader
On 04/25/2011 07:10 PM, Peter Toth wrote: > Hi there, > > I've recently migrated my old laptop to a new one (both running R8.2 + > ZFS). Used zfs send/recv and corrected mountpoints. > On the old laptop I had my / sitting in zpool, on the new one I've > created a separate zpool/root for /. > Everything is working OK except one strangeness - the boot loader still > reads the kernel out of zpool/boot instead of zpool/root/boot. > > I've reinstalled the boot code and the loader but this did not help. > > Anyone has an idea how to fix this? zpool set bootfs=zpool/root zpool The bootfs property on the zpool tells zfsboot which dataset contains the next boot stage (/boot.config or /boot/loader). -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gpart questions
On 04/24/2011 12:24 PM, Helmut Schneider wrote: > Hi, > > i'm playing around with (virtual) disks within a VMware ESXi 4.1 server: > ... > So, what did sysinstall that gpart didn't? You forgot to gpart create the inner BSD label on da1s1. 8< # mdconfig -a -t swap -s 512M md0 # gpart show md0 gpart: No such geom: md0. # gpart create -s mbr md0 md0 created # gpart show md0 => 9 1048563 md0 MBR (512M) 9 1048563 - free - (512M) # gpart add -b 63 -s 1048500 -t freebsd md0 md0s1 added # gpart show md0 => 9 1048563 md0 MBR (512M) 9 54 - free - (27K) 63 10485001 freebsd (512M) 10485639 - free - (4.5K) # gpart show md0s1 gpart: No such geom: md0s1. # gpart create -s bsd md0s1 md0s1 created # gpart show md0s1 => 0 1048500 md0s1 BSD (512M) 0 1048500 - free - (512M) # gpart add -b 16 -s 1048484 -t freebsd-ufs md0s1 md0s1a added # gpart show md0s1 => 0 1048500 md0s1 BSD (512M) 0 16 - free - (8.0K) 16 1048484 1 freebsd-ufs (512M) # ls -la /dev/md0* crw-r- 1 root operator0, 153 Apr 26 02:57 /dev/md0 crw-r- 1 root operator0, 157 Apr 26 02:58 /dev/md0s1 crw-r- 1 root operator0, 159 Apr 26 03:03 /dev/md0s1a 8< -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: start X in background without it taking over the console?
On 05/11/2011 05:36 AM, Chris Telting wrote: > I already do... I'm want to automate it. Every other virtual screen > terminal can start without grabbing the console, I don't want X to > either. I do development and I suffer crashes. I want to do work while > it boots up for a couple minutes and I'm tired of manually switching > back to text mode. It's gets annoying the 200th time. You could script it right after X starts, as such: vidcontrol -s 1 # Equivalent to Alt-F1 I don't think X is currently designed to start without initializing the graphics hardware, though, so the initial vt change is probably unavoidable. Perhaps once KMS trickles down? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: e2fsprogs trouble on freebsd
On 06/04/2011 01:30 PM, Lucas Araujo wrote: > I'm trying to install systemimageer on freebsd 8.1 .But I'm having troubles > with the e2fsprogs package.When I use the ./configure in the directory of SI > package the system says: > > - libuuid not found! > - Try installing the e2fsprogs-devel package > > > So i've installed all the packages called e2fsprogs in ports. And the > problems still remains . Did you try this one? Port: e2fsprogs-libuuid-1.41.14 Path: /usr/ports/misc/e2fsprogs-libuuid Info: UUID library from e2fsprogs package A quick glance suggests that SystemImager a Linux-centric software package; if the above does not work, perhaps it needs to be told that the library is installed in /usr/local ? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Lennart Poettering: BSD Isn't Relevant Anymore
On 07/18/2011 06:50 AM, Aryeh Friedman wrote: > The issue your talking about is actually caused by a fundamental flaw > in *ALL* pure open source projects namely in return for the freedom to > look at the code and stuff we give up market forces. Perhaps the benefits inherent in enriching the global pool of free knowledge and understanding can far outweigh the drawbacks of contributing without recompense? That's certainly why I'm here. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: wireless access point in FreeBSD 8.2p2
On 08/27/2011 11:21 AM, Paul Beard wrote: > I seem to be missing something, possibly from reading too many HOWTOs. What I > am trying to do is get a system with a wireless card to stand in as a > wireless AP should my aging LinkSys base station develop a tragic smoke leak. > > It's an ath0-based card and the following steps suggest it should work (it > has HOSTAP capabilities and offering robust encryption). I just finished something almost exactly like this a little while ago. > But various permutations of rc.conf, hostap.conf and many iterations of > /etc/rc.c/netif restart leave me with two ifconfig entries, one of the ath0 > interface and one for wlan0. None of the examples show this so I suspect it's > wrong. The IP address is pingable from the host it's installed in but not > from anywhere else. And I can see the AP from another system and attach to it > but it doesn't route any traffic. > > > > redacted results of ifconfig: > ath0: flags=8843 metric 0 mtu 2290 > ether 00:0d:88:93:21:3a > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: running > > wlan0: flags=8843 metric 0 mtu 1500 > ether 00:0d:88:93:21:3a > inet 192.168.0.26 netmask 0xff00 broadcast 192.168.0.255 > inet6 fe80::20d:88ff:fe93:213a%wlan0 prefixlen 64 scopeid 0x7 > nd6 options=3 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: running > ssid lower channel 8 (2447 MHz 11g) bssid 00:0d:88:93:21:3a > regdomain FCC indoor ecm authmode AUTO privacy OFF txpower 27 > scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs This looks correct so far, for an unsecured wireless access point. The wlan0 device is the interface you will use for communicating; the ath0 device exists solely as a target for wlan0 creation. Things to keep in mind: tcpdump(1) is your friend; it seems cryptic and obtuse at first glance, but it will help immensely wlan0 itself will not assign v4 addresses to clients; you need a DHCP server for that The hostap machine must be explicitly told to route packets, by setting gateway_enable="YES" in rc.conf and adding the appropriate routes If you're intending this to be a home gateway, you will likely also need NAT. > Yes, I am trying it without any encryption until I see some packets being > passed. Good idea. Hope this helps! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: wireless access point in FreeBSD 8.2p2
On 08/27/2011 11:08 PM, Paul Beard wrote: > > On Aug 27, 2011, at 8:48 PM, CyberLeo Kitsana wrote: > >> tcpdump(1) is your friend; it seems cryptic and obtuse at first glance, >> but it will help immensely >> > I wasn't sure there was any reason to use that yet: I can't even ping it from > another host. It is especially useful when you cannot ping, as it can tell you if the packets are even arriving. In my case, it helped indicate that packets were arriving, but that, because I had re-used the SSID, the client was applying encryption settings (from the old AP) that the new AP was not expecting, and so the packets were arriving horribly mutilated. >> wlan0 itself will not assign v4 addresses to clients; you need a DHCP >> server for that >> > I plan to use static addresses as I do already (this is just a backup in case > my WRT54G develops any issues). Static is just fine; just covering all points that came to mind. >> The hostap machine must be explicitly told to route packets, by setting >> gateway_enable="YES" in rc.conf and adding the appropriate routes >> > > I have that and the existing wired interface has the route set (I am > connecting through that to make this work). This raises the question of > whether I am expecting the functionality of a bridge without having > specifically made one. Bridging using if_bridge(4) is a different beast, but one that seems much easier to set up in comparison. I am using it in a slightly different configuration for another project, and it's pretty straightforward. Bridging does not require gateway mode to be enabled, as the packet forwarding is performed within the bridge driver, instead of within the network stack. Because of this, however, proper firewalling of wired and wireless clients is more difficult, and can weaken the security of your implicitly trusted cat5 cables. >> If you're intending this to be a home gateway, you will likely also need >> NAT. > > > I think NAT is handled by the telco hardware (on cable) for now. > > Hmm, starting to think this may not work as I expect. It might be fine as an > additional AP but not as a replacement without some configuration changes > that I will have forgotten how to make by then. The WRT box runs the PPPoE > connection for DSL which I should be switching back to. I'm sure it can be > done with this but I think I'm asking for trouble. I cannot say this is an easy task, given the number of components involved in a functioning gateway. I can say that it is quite possible given the software involved, though, since I've been running a homebrew FreeBSD-based gateway for years, and just yesterday introduced built-in wireless to replace the aging WRT54G AP and reduce power requirements further. > So maybe this is a solution in search of a problem. Might be to just find a > spare WRT54G or its modern equivalent. That would probably be the easiest solution; perhaps not the most satisfying, though. > But that doesn't mean I don't want to figure this out. Getting the wireless component functional by itself seems to be the biggest hurdle at the moment; after that, it's just one block atop another. I did recall one more potential issue: during testing with a Gentoo machine with an iwlagn adapter, my adjustments frequently confused the adapter so thoroughly that it refused to function correctly without a reset, even when the settings were correct. It's more annoying, but a full reset of all hardware involved after each change might help isolate any changes that put the hardware into an inconsistent state. Hope this helps! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: problem in changing serial console speed!
On 11/27/2011 12:07 AM, h bagade wrote: > Hi all, > > I want to change serial console speed on freebsd 8.2. I've found out > different way of doing so but none was successful! I've tried the following > ways: > > 1- change /boot.config: add -S*speed > > *2- change /boot/loader.conf: add following lines > boot_multicons="YES" > boot_serial="YES" > comconsole_speed="115200" > console="comconsole,vidconsole" > > 3- change /etc/ttys as follows: > ttyu0"/usr/libexec/getty std.115200"vt100on secure > > none of the above methods worked and only changing /etc/makefile had an > effect on serial console speed which is not appropriate. > Is there anything else should be take in to consideration in any of the > ways? What am I missing? You have to do all of them. With my Intel SS4200 NAS boxen (which are headless), I do the following: 8< Set the serial port to 115200 in the bios and disable console redirection after boot. Add to /boot.config to set boot block serial speed: -h -S115200 Add to loader.conf to set /loader serial speed: console="comconsole" conconsole_speed="115200" Edit /etc/ttys to set serial login speed: ttyu0 "/usr/libexec/getty std.115200" vt100 on secure 8< This is sufficient to completely replace the emulated VGA with native serial output across all phases of the boot sequence, from the boot block through /loader, kernel and startup messages, all the way to login. Some changes may be necessary if you intend to use a serial port other than 0, or if you wish to have both serial and VGA consoles available. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: problem formating disk with gpart
On 11/30/2011 03:01 PM, Robert Huff wrote: > > One of my systems has a hot-swap eSATA device, which reports as > "ad1". I'm trying to use this to prepare a new disk using gpart and > something (possibly my understanding) is broken. > After removing another disk and inserting the new one, I do: > >>> gpart show ad1 > => 34 976773101 ad1 GPT (465G) > 34 976773101 - free - (465G) > > ... which is the value for the disk just removed. > If I do (to start clean): > >>> gpart destroy ad1 > gpart destroy ad1 > gpart: Input/output error > > Huh? If I remember correctly, the old ATA subsystem (ad*) does not support hotswap notification, so the kernel will not see a device change until reboot or reinit. You should probably be using AHCI (if the driver supports your chipset) or very careful use of atacontrol detach, attach, or reinit. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ZFS Filesystems wont auto-mount on boot
On 12/03/2011 12:28 AM, APseudoUtopia wrote: > Hello, > > I followed a couple tutorials I found through google to setup RAID-Z1 > on root on FreeBSD 9.0-RC2. Everything works well, except it always > drops me into a recovery shell on boot. I'm forced to run `zfs mount > -a` to get all my data visible. Here's the boot log: > > Trying to mount root from zfs:root []... > Dec 3 01:23:07 init: login_getclass: unknown class `daemon` > cannot open /etc/rc: No such file or directory You did not provide a list of your filesystems, so this is just a guess, but I'd say that, judging by this error, you have /etc on a separate filesystem. At least /bin, /sbin, /lib, /libexec, and /etc must be on your root filesystem for the boot process to function, since the system bootstrap (/etc/rc et alia) resides in /etc and uses components in the other listed directories; it is the system bootstrap which automounts your ZFS filesystems on boot (zfs_enable). > Enter full pathname of shell or RETURN for /bin/sh: > > I then hit return, then run `zfs mount -a` to mount all my zfs filesystems. > > How can I have zfs automount these filesystems on boot so that the > system can continue booting without being interrupted? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: AHCI driver and static device names
On 12/03/2011 10:04 AM, Rob wrote: > glabel looks to place a label on the whole disk, but the manpage is > unclear (to me) how the partitions are handled. If I use glabel to > label a disk "test" and this disk has 4 partitions on it, then how is > each partition accessed? testp1...testp4 for gpt? Ideally, you would label the partitions according to their usage. glabel will automatically create labels for GPT partitions based on the GPT 'label' field; likewise for UFS, MSDOS, and ISO9660 filesystems. For example, one of my (few remaining non-ZFS) machines looks like this: 8< /dev/iso9660/root on / (cd9660, local, read-only) /dev/ufs/boot on /boot (ufs, local, read-only) /dev/ufs/conf on /conf (ufs, local, read-only, soft-updates) 8< The root filesystem on this machine is actually mounted off a uzip-compressed iso image on a BSD partition burned to some flash; but the unimportant details are hidden behind the label, which just presents a plain filesystem. It doesn't really matter where these filesystems are: they can be moved to completely different disks with wildly different partition schemes, or even to iscsi- or ggate-imported disks, and the system will find them perfectly by their labels. This works for ZFS as well: since there's no guarantee where these disks will show up, and the ZFS code will not be able to find them across reboots if their names change, labels are useful for assigning static names to the partitions or slices that make up a pool: 8< pool: amani state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM amani ONLINE 0 0 0 mirror ONLINE 0 0 0 gpt/amani/r0 ONLINE 0 0 0 gpt/amani/r1 ONLINE 0 0 0 8< To answer your question, though: You cannot combine GPT with glabel (or any other geom class that writes data to the first or last 34 sectors of a disk, like gmirror) due to layout conflicts. MBR and BSD schemes can be used, since they occupy only the first sectors of the device, and their monikers will be appended to the label. Thus, labeling a single-slice MBR disk (/dev/ada0) with 'test' would produce /dev/ada0, /dev/ada0s1, /dev/label/test, and /dev/label/tests1; nesting a BSD table within s1 would add /dev/ada0s1a and /dev/label/tests1a as well. > The other option seems to be to use tunefs or a partitioning tool to > label each partition, which is even more ugly imo. Ugly how? Labels appear a lot more semantically elegant than the opaque 'ada4s1a' moniker. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: AHCI driver and static device names
On 12/04/2011 04:28 AM, per...@pluto.rain.com wrote: > CyberLeo Kitsana wrote: > >> You cannot combine GPT with glabel (or any other geom class >> that writes data to the first or last 34 sectors of a disk, >> like gmirror) due to layout conflicts. > > This is overstated. Thanks for the clarification. It occurs to me now that I was less than precise. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: AHCI driver and static device names
On 12/14/2011 03:20 PM, Rob wrote: > Can glabels, gpt, and zfs all work together? I have a system where I > have disks with 4 gpt partitions. Partitions 2 and 3 are part of gmirror > arrays, and partition 4 is part of a zfs pool. glabel says it writes to > the end of the partition, which I believe zfs also writes to doesn't it? Yup. However, all nestable geoms protect their metadata (when it exists) by providing a device that is smaller, so any nested consumer never even sees the provider's metadata. The end of the glabel device to which zfs writes its metadata in your implied example is actually several sectors prior to the end of the device or partition to which glabel writes its metadata. Explicit glabels are not strictly necessary with the GPT partitioning scheme, since the glabel module can peek into the GPT data structure, extract label names from there, and automatically create appropriate /dev/gpt/ entries for those labels. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: AHCI driver and static device names
On 12/14/2011 03:18 PM, Rob wrote: > On 12/3/11 11:04 AM, CyberLeo Kitsana wrote: >> To answer your question, though: You cannot combine GPT with glabel (or >> any other geom class that writes data to the first or last 34 sectors of >> a disk, like gmirror) due to layout conflicts. MBR and BSD schemes can >> be used, since they occupy only the first sectors of the device, and >> their monikers will be appended to the label. Thus, labeling a >> single-slice MBR disk (/dev/ada0) with 'test' would produce /dev/ada0, >> /dev/ada0s1, /dev/label/test, and /dev/label/tests1; nesting a BSD table >> within s1 would add /dev/ada0s1a and /dev/label/tests1a as well. > > Do gpt labels work the same as glabel, ie provide a static device name > that can be acted upon with /etc/fstab, zfs, gmirror, etc? Yes. It's actually handled by the same geom class. >>> The other option seems to be to use tunefs or a partitioning tool to >>> label each partition, which is even more ugly imo. >> >> Ugly how? Labels appear a lot more semantically elegant than the opaque >> 'ada4s1a' moniker. > > Ugly in that the driver has created a situation where we need > workarounds to perform the tasks we need. *nix systems have always > relied upon static device nodes, and using dynamic names without > updating the relating tools/methods is ugly. The workarounds also could > fail if someone forgets to perform them (specifically labels), since > it's not necessary on just about any other *nix system. It's perfectly > within reason to assume people will forget to apply a label when > replacing a disk. Anything fails if you forget to do it. Administrative failure should not be confused with technical failure. Static device nodes are appropriate when the topology is fixed and can be reasonably anticipated. With variable topologies, such as USB, iSCSI, multipath, and PCI hotswap, the disk controllers may not even exist at boot, or may be reordered based on probe order, or the order in which the remote units respond; and that's before the kernel even gets around to setting up the devices attached to those controllers. You cannot reasonably expect the system to statically allocate device nodes for every possible configuration that may exist for all technologies that might be added to a machine, so why offer the expectation when the system cannot possibly hope to fulfill it for even a fraction of the common cases? > Case in point. I have a system with 15 drives in it. I decided I > wanted to install on the 2nd device instead of the 1st, but I > partitioned all the other 14 drives. I completed installation and when > to boot the system and it failed. Stupid me, the GPT boot loader found > disk1 with a partitioning scheme but no fs. So, I popped out disk 1 and > when to boot again. Hey, now it starts to boot only to fail to find the > root fs because it's looking on ada1 and the fs is on ada0. That is a > mess. Sounds like a bug in the BIOS or boot loader. The boot loader should be able to ask the BIOS for the device from which it read the boot code, and use that instead of just naively using the the first available device in the system; the only instances where I've seen this fail have been on machines that should've been put down years ago. Which isn't to say it doesn't still happen. > This is not necessarily common, but also not uncommon. More likely is > the case where you add a drive to the system and the above scenario > plays out because the device names get re-ordered. I'm not sure the > problem the dynamic device nodes intends to solve, but it's certainly > caused all sorts of pain and the need for the 2 (that I know of) > workarounds. How about when you add a PATA drive to a machine, but the cable is blocking the last available bay; so you have to move an existing drive to a different position on the cable to make room for the one you're installing? Static device numbering won't save you now. Or how about those silly BIOSes that assume that you must really want to boot to the new disk you just attached to the machine, so helpfully rearrange your boot order for you so now you're booting to a strange disk with who knows what on it? Honestly, there's so much that can go wrong. That's what sysadmins are for. > I dislike the idea of having to use labels to get static functionality > (increases the likelihood of something going wrong for a disk replace > operation if I forget to label), but I'll give gpt labels a try. I find that labels solve more problems than they introduce, when applied properly. The semantic meaning given to the devices often mean I can discover what's on a particular disk in my pile'o'drives just by plugging it in a
Re: AHCI driver and static device names
On 12/15/2011 10:02 AM, per...@pluto.rain.com wrote: > I suppose if someone wanted to track down the "official" way of > solving this problem, they could look into how Windows handles it. To my knowledge, Windows (XP, at least; probably others) labels the boot filesystem on install, and just probes all disks every boot for a filesystem with the given label. This is why you can move a Windows disk around with relative impunity (as long as the controller drivers are installed); but simply copying all those files to another filesystem (a-la dump/restore on BSD) never results in a bootable OS, even if you put them back in the same place. This is also why booting with two attached clones of the same Windows system disk is so fun. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: 9.0 install and journaling
On 12/13/2011 10:54 AM, Devin Teske wrote: > We're seeing in 8.1-RELEASE that "nodev" is an invalid option for NFS mounts > that causes your system to boot into single-user mode. Is this still the case > in > 9.0-RC2/3 or has the option been re-added? "nodev" was a valid option in > 4.11-RELEASE, not sure why it was removed (and/or made invalid). Since the advent of devfs, device nodes no longer function anywhere other than a devfs-backed filesystem; so 'nodev' is, in a sense, the default. Try it yourself: 8< amani# dd if=/dev/zero count=1 | hd 1+0 records in 1+0 records out 512 bytes transferred in 0.46 secs (11126858 bytes/sec) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || * 0200 amani# mknod zero c 0 26 amani# dd if=./zero count=1 | hd dd: ./zero: Inappropriate ioctl for device amani# 8< -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: hardwire scsi busses
On 12/20/2011 10:59 AM, Gerhard Schmidt wrote: > Hello list ... How can I hardwire the ahd to become scsibus1 and > the twa to become scsibus0, that regardless if the external raid is > online the boot disk is allways da0 an the extern raid ist da1 if > online. You can use glabel(8) as an easy alternative. It will create usable device nodes based on the UFS label, GPT label, or a custom label written by the glabel(8) command, and these nodes will always point to the correct data (provided there are no conflicting labels, of course). It is included in GENERIC. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: how to force 'device' sources to not compile?
On 01/06/2012 03:39 PM, Коньков Евгений wrote: > I have errors while compile kernel > > ===> et (all) > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc > -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/usr/src/sys/KES_KERN_v9/opt_global.h -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/KES_KERN_v9 > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx > -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 > -fstack-protector -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -Wmissing-include-dirs -fdiagnostics-show-option -c > /usr/src/sys/modules/et/../../dev/et/if_et.c > /usr/src/sys/modules/et/../../dev/et/if_et.c: In function 'et_dma_alloc': > /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: 'ET_RING_ALIGN' > undeclared (first use in this function) > /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: (Each undeclared > identifier is reported only once > /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: for each function it > appears in.) > /usr/src/sys/modules/et/../../dev/et/if_et.c:790: error: 'ET_STATUS_ALIGN' > undeclared (first use in this function) > /usr/src/sys/modules/et/../../dev/et/if_et.c:845: error: 'struct et_softc' > has no member named 'sc_rx_mini_tag' > /usr/src/sys/modules/et/../../dev/et/if_et.c:854: error: 'struct et_softc' > has no member named 'sc_rx_tag' > /usr/src/sys/modules/et/../../dev/et/if_et.c:864: error: 'struct et_softc' > has no member named 'sc_tx_tag' > > how to disable 'et' from compiling? This error is from the kernel build process attempting to build the code for a kernel module. Define either MODULES_OVERRIDE or WITHOUT_MODULES as detailed in make.conf(5) to avoid building the if_et module. Note that the syntax of the MODULES_OVERRIDE and WITHOUT_MODULES variables consists of a space-delimited list of directory names found under sys/modules/ and not the canonical module names as found in /boot/kernel/, so some footwork is necessary. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kgzip(8) regression in RELENG_9 GENERIC
On 01/20/2012 09:02 PM, Devin Teske wrote: > Taking a GENERIC 9.0-RELEASE kernel and running kgzip(8) on it produces an > unusable kernel which causes immediate BTX halt in loader(8). > > ... > > 4. Say: kgzip kernel Curious, it doesn't even look like that binary is hooked into the build process at all on 9.0-RELEASE. It's manpage indicates that it is unsuitable for loader(8) use, and that just running gzip(1) on the kernel file is sufficient; a fact to which I can attest, since I compress everything in /boot/kernel to save space on my flashcard installs, and the loader has no problem decompressing it on the fly. kldload(8), on the other hand, still seems to be incapable of handling gzipped klds. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kgzip(8) regression in RELENG_9 GENERIC
On 01/23/2012 12:30 AM, Devin Teske wrote: > > On Jan 21, 2012, at 1:41 AM, CyberLeo Kitsana wrote: > >> On 01/20/2012 09:02 PM, Devin Teske wrote: >>> Taking a GENERIC 9.0-RELEASE kernel and running kgzip(8) on it produces an >>> unusable kernel which causes immediate BTX halt in loader(8). >>> >>> ... >>> >>> 4. Say: kgzip kernel >> >> Curious, it doesn't even look like that binary is hooked into the build >> process at all on 9.0-RELEASE. >> > > Can you clarify what you mean by the above? On a brand new GENERIC box running 9.0-RELEASE with no special knobs: 8< (4b18d544)[cyberleo@jenga ~]$ which kgzip (4b18d544)[cyberleo@jenga ~]$ apropos kgzip (4b18d544)[cyberleo@jenga ~]$ cd /usr/src/usr.sbin (4b18d544)[cyberleo@jenga /usr/src/usr.sbin]$ ls | grep kgzip kgzip (4b18d544)[cyberleo@jenga /usr/src/usr.sbin]$ grep kgzip Makefile (4b18d544)[cyberleo@jenga /usr/src/usr.sbin]$ 8< So it's there, but the SUBDIR entry in the usr.sbin Makefile that hooks it into the build process seems to be missing, whereas things that do exist (freebsd-update, &c) are present. >> It's manpage indicates that it is unsuitable for loader(8) use, > > Likewise, can you clarify the above? >From kgzip.8 in the aforementioned directory: 8< BUGS As symbols are lost, the usefulness of this utility for compressing ker- nels is limited to situations where loader(8) cannot be used; otherwise the preferred method of compressing a kernel is simply to gzip(1) it. 8< >> and that >> just running gzip(1) on the kernel file is sufficient; > > I'm getting an error when loading a gzip(1)'d kernel... > > don't know how to load module '/kernels/GENERIC-i386-9.0.gz' > > So I figure, maybe it doesn't like the '.gz' suffix. No go, same error. I think we'll need more information on how your system is set up to boot: partition layout, what boot blocks and loaders are in use, etc. How are you instructing it to load that particular kernel, for example? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kgzip(8) regression in RELENG_9 GENERIC
On 01/23/2012 11:26 AM, Carl Johnson wrote: > On my system: > > $ uname -a > FreeBSD birch.localnet 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 > 07:46:30 UTC 2012 > r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > $ whereis kgzip > kgzip: /usr/src/usr.sbin/kgzip > $ grep kgzip /usr/src/usr.sbin/Makefile* > Makefile.amd64:# kgzip: builds, but missing support files > Makefile.i386:SUBDIR+= kgzip > > So it appears to be i386 only. Good catch. This build system of mine is amd64 as well. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ZFS pool data recovery
On 02/18/2013 08:06 AM, Jonni Nakari wrote: > It seems, that while testing suspend to RAM on my machine by running > "acpiconf -s 3" I managed to break a RaidZ zpool. The machine went to > sleep fine, but after waking up commands (e.g. reboot) reported I/O > error. When booting after a hard reset the machine fails to mount the > root filesystem: > > Trying to mount root from zfs:/vault/root []... > Mounting from zfs:/vault/root failed with error 5. > > I booted the system from FreeBSD-9.1-RELEASE-amd64-memstick.img and > tried to import the zpool in the shell: > # zpool import -f vault > cannot import 'vault': I/O error > Destroy and re-create the pool from > a backup source. > > Command "zpool import -nfF vault" from the memstick system gives no > output. (I thought it should always give some output?) > > What should I try next to repair the zpool or recover the data? I > started "zpool import -nfFX vault" but it seems to take quite long. > > Some more information about my system: > zpool vault consists of 5 block devices: > whole disks: ada1, ada2, ada3 > cache: ada0s1e > log: ada0s1d > > The system boots from a UFS filesystem ada0s1a. The zpool and rest of > the system was created with FreeBSD 9.1-RELEASE. Does dmesg or syslog show anything with regards to the supposed I/O errors? Do the disks pass a read-only scan or 'long' SMART test? While unlikely, it is possible that one of the devices picked that precise moment to fail. It's also possible a disk did not appreciate being put to sleep; I've had several SSDs that simply stopped responding under such conditions, prompting warranty replacement. -- Fuzzy love, -CyberLeo Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: backups using rsync
On 03/04/2013 05:35 AM, Ronald F. Guilmette wrote: > As a result of this past Black Friday weekend, I now enjoy a true abundance > of disk space, for the first time in my life. > > I wanna make a full backup, on a weekly basis, of my main system's shiny > new 1TB drive onto another 1TB drive that I also picked up cheap back on > Black Friday. > > I've been planning to set this up for some long time now, but I've only > gotten 'round to working on it now. > > Now, unfortunately, I have just been bitten by the evil... and apparently > widely known (except to me)... ``You can't use dump(8) to dump a journaled > filesystem with soft updates'' bug-a-boo. You can use dump(8) to dump a SU-journaled filesystem; you just cannot create a snapshot. This implies that dump(8) will be run against the live and possibly changing filesystem, which can lead to issues with the consistency of the contents of files thus dumped; but not necessarily with the consistency of the dump itself. Any tool that backs up a live filesystem, such as rsync or tar, will have these issues. > Sigh. The best laid plans of mice and men... > > I _had_ planned on using dump/restore and making backups from live mounted > filesystems while the system was running. But I really don't want to have > to take the system down to single-user mode every week for a few hours while > I'm making my disk-to-disk backup. So now I'm looking at doing the backups > using rsync. I've used rsync to back up Linux and FreeBSD machines daily for years, and I've never had a problem with the backups nor subsequent restorations. Especially for restorations of the laptop that ate SSDs. Having a decent snapshot capability on the backup target filesystem can help a lot if you want to maintain multiple sparse backup revisions; otherwise, you're stuck using creative scripting around rsync's --link-dest option. > I see that rsync can nowadays properly cope with all sorts of oddities, > like fer instance device files, hard-linked files, ACLs, file attributes, > and all sorts of other unusual but important filesystem thingies. That's > good news, but I still have to ask the obvious question: > > If I use all of the following rsync options... -a,-H,-A, -X, and -S > when trying to make my backups, and if I do whatever additional fiddling > is necessary to insure that I separately copy over the MBR and boot loader > also to my backup drive, then is there any reason that, in the event of > a sudden meteor shower that takes out my primary disk drive while leaving > my backup drive intact, I can't just unplug my old primary drive, plug in > my (rsync-created) backup drive, reboot and be back in the sadddle again, > almost immediately, and with -zero- problems? There will /always/ be problems. The best you can do is become familiar with the tools and procedures so you can tackle them when they happen. My suggestion for something that you can use as a warm standby is to create it as a warm standby: go through the entire installation procedure again for the backup drive, and then use rsync or suchlike to periodically synchronize the second filesystem with the first. When you update the boot code on one, do so on the other. Be extremely careful if you decide to do this with both disks attached to the same machine: if you use geom labels (gpt, ufs, glabel, et alia) or dynamically numbered storage devices, you can easily run into a situation where a reboot with both devices attached suddenly starts using your backup instead without you realizing it, or flips back and forth. > P.S. My apologies if I've already asked this exact same question here > before. I'm getting a sense of deja vu... or else a feeling that I am > often running around in circles, chasing my own tail. > > P.P.S. Before anyone asks, no I really _do not_ want to just use RAID > as my one and only backup strategy. RAID is swell if your only problem > is hardware failures. As far as I know however it will not save your > bacon in the event of a fumble fingers "rm -rf *" moment. Only frequent > and routine actual backups can do that. -- Fuzzy love, -CyberLeo Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Don't replay to spam
On 03/23/2013 01:20 AM, Ralf Mardorf wrote: > The original "trying freeBSD 9.1 [...]" mail is spam, since the original > message had a "signature" about face lifting or something like that. > > Take a look at > http://lists.freebsd.org/pipermail/freebsd-questions/2013-March/249992.html > > Once you visited the page from the link in the signature, you even can't > leave this page. > > It's hard to train spam filters, if people reply to spam. That spam sig appears to be NetZero appending advertisements to legitimate outgoing messages. I doubt the OP has much control over that behaviour; especially if that happens to be their ISP. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: pkgng / poudriere oddity
On 03/31/2013 08:58 AM, Andrei Brezan wrote: > Hello list, > > It seems I'm experiencing some issues while trying to install packages > that have dependencies that have other dependencies as well, or at least > that's how I understand it. > > # uname -a > FreeBSD host.example.com 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue > Dec 4 09:23:10 UTC 2012 > r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > # pkg install mtr-nox11 > Updating repository catalogue > Repository catalogue is up-to-date, no need to fetch fresh copy > The following packages will be installed: > > Installing gettext: 0.18.1.1_1 > Installing pcre: 8.32 > Installing libiconv: 1.14_1 > Installing glib: 2.34.3 > Installing libffi: 3.0.13 > Installing perl: 5.14.2_3 > Installing python27: 2.7.3_6 > Installing mtr-nox11: 0.84 > > The installation will require 149 MB more space > > 0 B to be downloaded > > Proceed with installing packages [y/N]: y > Checking integrity... done > Installing gettext-0.18.1.1_1...missing dependency libiconv-1.14_1 > > # pkg rquery "%n-%v" libiconv > libiconv-1.14_1 > > Is there an obvious reason why gettext dependencies are not pulled in > and installed? > If I do "pkg install gettext" all goes well and libiconv in installed as > dependency. > > I've already did a "poudriere bulk -j jail_name -p ports_tree -c -f > pkg_list.txt" for the pkg repo to no avail. > > To mention that on the host using pkgng I did several pkg delete -f for > all packages installed except pkg. Try turning PARALLEL_JOBS to 1 in poudriere.conf and then rebuilding all the packages. This sounds very similar to a behaviour I was witnessing with non-pkgng repos constructed by Poudriere, whereby the INDEX was ending up incomplete, and so the dependencies were never installed by pkg_add -r. I would imagine a similar race condition could be affecting pkgng as well. I just haven't had time to troubleshoot it very far, and the above seemed to alleviate the issue. -- Fuzzy love, -CyberLeo Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: WANTED: Tool to verify installed package/port consistancy
On 05/10/2013 03:04 PM, Ronald F. Guilmette wrote: > pkg_sanity: ImageMagick-6.8.0.7_1: +CONTENTS file does not exist -- skipped > pkg_sanity: ORBit2-2.14.19: /usr/local/lib/libORBit-2.so: File failed MD5 > checksum > pkg_sanity: ORBit2-2.14.19: /usr/local/lib/libORBit-imodule-2.so: File failed > MD5 checksum > pkg_sanity: ORBit2-2.14.19: /usr/local/lib/libORBitCosNaming-2.so: File > failed MD5 checksum > pkg_sanity: OpenEXR-1.7.1: /usr/local/lib/libIlmImf.so: File failed MD5 > checksum > pkg_sanity: aalib-1.4.r5_6: /usr/local/lib/libaa.so: File failed MD5 checksum Are these mismatches symlinks? If so, are you checking the contents of the symlink (with, for instance, stat(1) or readlink(1)), or the contents of the file to which the symlink is referring? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Can I avoid the display of pkg-messages in portmaster?
On 05/12/2013 12:37 AM, Leslie Jensen wrote: > > > I do some work on remote machines and sometimes I have a need to execute > additional commands after for example a portmaster -a command. > > Normally I use the "&&" to separate commands but this does not work when > portmaster displays pkg-messages. > > I cannot see in the portmaster manpage that there's a possibility to > make the choice on displaying pkg-messages. > > Maybe a suggestion to further enhance portmaster in the future. > > To work around this I was thinking of maybe making a script that ran > > portmaster -a then a command to "press space" until one is sure that all > messages has been displayed. > > On this I could need some help. My scripting skills are not that good. To avoid interaction when scripting or logging portmaster, in addition to the --no-confirm option, I usually set the following environment variables prior to invocation: BATCH=yes PAGER=cat The former should avoid any build-time port interaction (and mark the port BROKEN if it must, so I can deal with it manually); the latter causes portmaster to use 'cat' instead of 'more' to display the pkg-messages afterwards. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: make release fails
On 05/23/2013 06:52 AM, Jack Mc Lauren wrote: > Hi > find //usr/obj/usr/src/release/dist/doc -empty -delete > find: -delete: //usr/obj/usr/src/release/dist/doc: relative path potentially > not > safe > *** [distributeworld] Error code 1 > What's wrong with this? > Thanks in advance Huh. Apparently I ran across this myself in the past, since I found a patch lurking in my source tree. 8< diff --git a/Makefile.inc1 b/Makefile.inc1 index 4567e5d..1830483 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -685,7 +685,7 @@ distributeworld installworld: installcheck ${IMAKEENV} rm -rf ${INSTALLTMP} .if make(distributeworld) .for dist in ${EXTRA_DISTRIBUTIONS} - find ${DESTDIR}/${DISTDIR}/${dist} -empty -delete + find ${DESTDIR}/${DISTDIR}/${dist} -empty -exec rmdir {} + .endfor .endif 8< The reason this occurs is because you and I are building with NODOC, which leaves dist/doc empty, and the above find construct will refuse to -delete if the directory specified on the command line is one of the ones that would have been deleted. Either patch the makefile as above, tell make to ignore the return code of this find invocation, or put some non-empty files into /usr/obj/usr/src/release/dist/doc during the release building process (like a README pointing to the docs tarball on the mirrors) to make it not trigger the empty condition. Hope this helps! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: mail from Charlie
On 06/13/2013 11:36 AM, Pol Hallen wrote: > Hi all :-) Wow: the combination of your domain name and the subject you chose really made this message look like spam. > I use 9.1... I don't known why, from yesterday I didn't received any > mail from Charlie :-/ Check that periodic has completed: sometimes it gets stuck when disks fail or filesystems disappear unexpectedly during a security scan or what have you, and the periodic process will hang around in ps forever. > postfix runs perfectly and I don't known how investigate about this > problem... Check the postfix mail log. I think it defaults to /var/log/maillog ; that will tell you if anything even attempted to send mail. Unless you changed the defaults, cron will kick off periodic daily at 03:00 local time. > Also portaudit should be send an email? This should be included in the security run email. > thanks for help! Hope this helps! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: syslog-ng33 fails to build
On 09/13/2013 01:53 AM, C. L. Martinez wrote: > Hi all, > > I am trying to build syslog-ng33 (release 3.3.9) using a poudriere > server, but build process fails: > > configure: error: in > `/wrkdirs/usr/ports/sysutils/syslog-ng33/work/syslog-ng-3.3.9': > configure: error: The pkg-config script could not be found or is too > old. Make sure it > is in your PATH or set the PKG_CONFIG environment variable to the full > path to pkg-config. > > Alternatively, you may set the environment variables EVTLOG_CFLAGS > and EVTLOG_LIBS to avoid the need to call pkg-config. > See the pkg-config man page for more details. > > It is strange, because previous build (on August 27) works without problems > ... > > Any idea?? Probably because syslog-ng relies upon pkgconfig, but assumes it will be installed by one of the dependent ports so doesn't explicitly declare the dependency. Poudriere has a habit of only installing the immediate dependencies of the package it is currently compiling, so exposes such issues when a port is updated, but none of its dependencies are. Bug ports/181098 is another I found like this. Add this to the port's Makefile after the include of bsd.port.options.mk: USES+= pkgconfig If that corrects the issue you're seeing, submit a pr. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Installworld on amd64 fails on libc.a on r255342
On 09/13/2013 02:46 PM, Eir Nym wrote: > I get this error for a while, and don't know what to do with. > > I build the world, then try to install it into DESTDIR. And at this point I > always get error that libc.a can't be found. > > To eliminate any mistakes in commits I've run snapshot r255342 from FTP in > VM and build sources it contains. > > my building and installing world with following commands: > > # make toolchain buildworld __MAKE_CONF=/dev/null SRCCONF=src.conf > # make hierarchy distrib-dirs distribution installworld Ensure all the variables you define on the make command line are the same for all invocations of make, unless you're absolutely certain they don't apply: make -C /usr/src __MAKE_CONF=/dev/null SRCCONF=/my/src.conf buildworld make -C /usr/src __MAKE_CONF=/dev/null SRCCONF=/my/src.conf DESTDIR=/path distrib-dirs distribution installworld Setting some knobs for buildworld but not for installworld will, at best, compile things that won't be installed; and, at worst, attempt to install things that haven't been compiled. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: BIND: could not configure root hints from 'named.root': file not found
On 10/01/2010 12:52 PM, Matthew wrote: > I would be grateful for any pointers on how to resolve this. I suspect > the error message may not be exactly descriptive of whats happening. Kinda. Here's a few points to keep in mind when working with bind in FreeBSD: * By default, named runs in a chroot jail rooted at /var/named/. * For security reasons, named cannot write to anything in that tree, except the dynamic, slave, and working directories. * named uses its current working directory to resolve relative pathnames in the configuration file. * With a recent change to ISC Bind 9, named started complaining if it couldn't write to its current working directory. At the time, this was (chroot)/etc/namedb/; this was subsequently changed to (chroot)/etc/namedb/working/ to make named happy without compromising security. When the working directory for named was (chroot)/etc/namedb/, everything was peachy. Since this was changed, relative pathnames no longer work as expected because the reference point is different. The easiest solution is to alter your configuration file to include only absolute pathnames, relative to the root of the jail. The default named config file (in /var/named/etc/namedb/named.conf) is an excellent source of examples for this. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Like it or not, Theo has a point... freebsd is shipping export-restricted software in the core
On 10/07/2010 12:46 PM, Rob Farmer wrote: > On Thu, Oct 7, 2010 at 10:19, Gonzalo Nemmi wrote: >> If you have a point, then there´s no point in me addressing your point >> .. unless you are asking me for legal advice .. >> Should that be the case, just let me know; I charge by the hour .. no >> "pro bono". > > Seeing as your messages says things like "El 07/10/2010" and "Rob > Farmer escribió" and you seem unwilling to actually talk about US law, > I'm curious to know where you attended law school and what states you > are licensed to practice in, since you seem to be offering paid > professional services. Argentina? [0] http://ar.linkedin.com/pub/gonzalo-nemmi/21/22b/267 -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help with RealTek 8201 / rlphy
On 10/07/2010 11:50 AM, Mark Moellering wrote: > I am installing FreeBSD 8.1 on an MSI wind notebook, which has a > RealTek 8201 wireless chip. The kernel acknowledges the chip as rlphy0 > on mii but I have no idea of how to actually configure it. > It shows up as miibus/rlphy in kldstat and as dev.rlphy.0 > It does not show up under ifconfig RTL8201 appears to be a phy for interfacing with 10/100baseT ethernet networks, and is generally paired (via miibus) with a media-independent adapter using one of rl(4) or re(4). This is not an 802.11 wifi device. You will probably have to look elsewhere in pciconf or usbconfig for evidence of your notebook's wireless adapter and its true chipset. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: UDP packet spoofed LAN source address?
On 10/17/2010 06:37 PM, Brandon Gooch wrote: > On Sun, Oct 17, 2010 at 4:59 PM, Nerius Landys wrote: >>> >>> Maybe, is there a simple 10 line C program that I can run and compile to check if this scenario is possible on _my_ server? >>> >>> 'netcat' has the capability built in. >>> >>> >> root# echo "hi" | nc -u -w 1 -p 30002 -s 64.156.193.115 daffy 30001 >> nc: bind failed: Can't assign requested address >> >> I don't seem to be able to spoof a source address using netcat, unless I'm >> missing something in the man page. > > I think you need to have the IP address you wish to spoof bound to an > interface. Or use Nemesis as root. [0] http://nemesis.sourceforge.net/ -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kldunload(8) returns 0, although it fail
On 11/03/2010 05:34 PM, Alexander Best wrote: > hi there, > > is this a known issue with kldunload(8)? > > ***beginn*** > otaku% kldunload sound > otaku% echo $? > 0 > otaku% kldstat > Id Refs AddressSize Name > 1 35 0x8010 a2da40 kernel > 21 0x80b2e000 295e8snd_hda.ko > 31 0x80b58000 85110sound.ko > 41 0x80bde000 da4bb8 nvidia.ko > 54 0x81983000 418e0linux.ko > 61 0x819c5000 80e8 ng_ubt.ko > 72 0x819ce000 fa78 ng_hci.ko > 82 0x819de000 2bd0 ng_bluetooth.ko > 93 0x819e1000 15e68netgraph.ko > 101 0x81c12000 3edb linprocfs.ko > 113 0x81c16000 4698 pseudofs.ko > 121 0x81c1b000 31b3 procfs.ko > 131 0x81c1f000 a37 linsysfs.ko > otaku% kldunload sound > kldunload: attempt to unload file that was loaded by the kernel > kldunload: can't unload file: Device busy sound.ko was presumably loaded by snd_hda.ko, as it is a dependency. You must unload all the modules depending on sound.ko before it will unload. At that point, I believe I've seen it unload itself. Same with netgraph.ko, and the modules that require it (ng_*.ko). -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: a gmirror disappears after adding gjournals to its partitions
On 11/22/2010 10:19 PM, per...@pluto.rain.com wrote: > krad wrote: >> On 21 November 2010 06:10, wrote: > ... >>> manually-created config files, while still in chroot after install >>> Fixit# cat /boot/loader.conf >>> geom_mirror_load="YES" >>> geom_journal_load="YES" >>> >>> vfs.root.mountfrom="ufs:/dev/mirror/gm0a.journal" >>> vfs.root.mountfrom.options="rw" > ... >>> output from kldstat, after booting the newly-installed system -- >>> and manually mounting the root FS -- showing that geom_mirror.ko >>> did get loaded. >>> Id Refs AddressSize Name >>> 16 0xc040 bb5504 kernel >>> 21 0xc0fb6000 14540geom_journal.ko >>> 31 0xc0fcb000 16ed4geom_mirror.ko > ... >> sounds silly but are you loading the gmirror kernel module via >> loader.conf > > Yes, I'm even setting geom_mirror_load to "YES" before setting > geom_journal_load to "YES" (although I doubt the order of these > settings in loader.conf makes any difference). > > If the kldstat Id numbers are assigned sequentially, it looks as > if geom_journal got loaded first and this may somehow be related > (although I don't entirely see how -- absent geom_mirror to make gm0 > and its partitions visible, I'd think that geom_journal "should not" > be able to find its metadata at all). >From what I've found, this is because there is no taste difference between a bsdlabel on a gmirror and a bsdlabel on a non-mirror. Since both gmirror and gjournal are greedy (they take exclusive access of their parent providers upon successful taste, and not upon exclusive access to their own providers like glabel), the first one to successfully taste and start is the winner; the other will never get to taste those devices. The trick here is to either make the two look different somehow (use a different geom that stores its metadata at the beginning of the provider, instead of the end, thus eliminating ambiguity in the bsdlabel taste), or to make the inner geom avoid the outer devices (hardcode provider names in metadata). Since you have an outer geom that provides a static name, hardcoding the name of the gmirror into the gjournal metadata shouldn't cause anything to break if your disks change places, either. http://pb.cyberleo.net/?show=m7fcbcef7 -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: a gmirror disappears after adding gjournals to its partitions
On 11/24/2010 04:52 AM, per...@pluto.rain.com wrote: > It looks to me as if gjournal is confused: It is not gjournal that is confused; it's bsdlabel. The gjournals lie entirely within the partitions defined within the bsdlabel, and don't care about anything outside of that. The ambiguity here is that the bsdlabel is stored at the beginning of the disk, and is very loose about what it accepts as valid, since there is no direct harm in being eager. The metadata for gmirror is stored at the end. The metadata for the bsdlabel is stored at the beginning. When bsdlabel tastes before gmirror, it sees the same label on the component disks that would be on the gm0 mirror. Moreover, all the partitions it then creates are identically sized, and contain exactly the same data, as they would on the mirror. It will complain that partition 'c' doesn't cover the whole unit, but this is not a fatal error as it doesn't take exclusive access, and so you are always free to use that same bsdlabel through another geom path. The problem arises when bsdlabel tastes ad0 before gmirror, and creates all the partitions thereupon, which triggers a taste of all the newly created devices by gjournal, which opens the devices exclusively once it finds the metadata it needs within the partitions. Now that they're opened exclusively somewhere, all the other paths to that device through the geom graph are withered, and cannot be tasted or used by anything else, including gmirror. Hardcoding provider names into gjournal makes it reject these ambiguously created devices. Since gjournal doesn't take exclusive access, gmirror can now taste the still-available ad0, see that it's a mirror, and launch gm0, which triggers a taste by bsdlabel (and creates the partitions) which triggers a taste by gjournal, which matches the names its expecting. That was difficult to keep clear. I hope it makes sense! >> ... either make the two look different somehow (use a different >> geom that stores its metadata at the beginning of the provider, >> instead of the end, thus eliminating ambiguity in the bsdlabel >> taste), > > When I asked earlier how to subdivide gm0, bsdlabel was recommended. > Is there something else that would work better? (This machine is > likely too old to understand GPT.) The machine's bios does not need to understand GPT to use it on a pure data disk; only as a boot disk. There are a few bioses that throw fits when not all the disks include mbr/slice tables, but those (thankfully) tend to be the minority. Plus, since GPT expects metadata at both the beginning and end of the disk, seeing gmirror metadata instead may prevent it from creating these ambiguous device nodes as well (but test this assumption before relying on it). >> or to make the inner geom avoid the outer devices (hardcode >> provider names in metadata). Since you have an outer geom that >> provides a static name, hardcoding the name of the gmirror into >> the gjournal metadata shouldn't cause anything to break if your >> disks change places, either. > > But I suspect this may not scale well. Suppose I later decide to > mirror the swap instead of using ad0s2b and ad8s2b as separate swap > partitions. Is there not a 50/50 chance of the swap mirror becoming > gm0 and my current gm0 becoming gm1, thereby breaking any metadata > that depends on hard-coded provider names? When you create a mirror, you give it an explicit name, which will not change over the life of the mirror without your explicit action. This name does not have to be 'gm0' or some such. I have named mirrors after the hostname, or 'hostname-purpose', such as 'sc1425-root' and 'sc1425-swap' -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: portupgrade causes kernel message: maxproc limit exceeded by uid 0
On 12/05/2010 10:45 AM, Lowell Gilbert wrote: > Yuri writes: > >> Beginning at some time less than 1 month ago I started getting such >> message. Increasing maxproc doesn't help. Current values are like >> this: >> kern.maxproc: 6164 >> kern.maxprocperuid: 5547 >> >> What may be causing such condition? > > limits(1), perhaps? I DoSed a remote box building devel/glib20 too. Just now reproduced it locally. It manifested as a forkbomb somewhere in gnome-libtool while building glib-2.26.1 inside a clean chroot (not a jail). The issue seemed to only manifest within the chroot, regardless of whether the configuration was identical to the host or not. It did not occur when attempting to build on the host machine. Every other package I built worked just fine. I eventually tracked it down to a stray colon at the start of the PATH variable in my chroot build environment: PATH=:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin Thus, it might be a good idea to verify that your build environment variables and config files are sane. == mv -f .deps/gdatetime.Tpo .deps/gdatetime.Po /bin/sh /usr/obj/usr/ports/devel/glib20/work/gnome-libtool --tag=CC --mode=link cc -O2 -pipe -O2 -pipe -march=nocona -fno-strict-aliasing -Wall -L/usr/local/lib -lintl -o strfuncs strfuncs.o ../../glib/libglib-2.0.la -lm mv -f .deps/regex.Tpo .deps/regex.Po /bin/sh /usr/obj/usr/ports/devel/glib20/work/gnome-libtool --tag=CC --mode=link cc -O2 -pipe -O2 -pipe -march=nocona -fno-strict-aliasing -Wall -L/usr/local/lib -lintl -o string string.o ../../glib/libglib-2.0.la -lm printf: Cannot fork: Resource temporarily unavailable printf: Cannot fork: Resource temporarily unavailable printf: Cannot fork: Resource temporarily unavailable printf: Cannot fork: Resource temporarily unavailable printf: Cannot fork: Resource temporarily unavailable /libexec/ld-elf.so.1: Shared object "libglib-2.0.so.0" not found, required by "printf" == -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: kernel config =?> kernel code
On 01/02/2011 03:07 AM, per...@pluto.rain.com wrote: > This feels like a really dumb (as in, the answer should be obvious) > question, but so far it has eluded me: Given an option name in the > kernel configuration file, how -- exactly -- does the directive to > include or exclude that option get translated into particular code > (source lines, .o files, symbols, etc.) that are thereby included in > or excluded from the kernel? This is of interest to me as well, as I have been trying for a while to create something to avoid building or installing kmods whose functionality is already built into the kernel proper. The furthest I got in my investigation was some parsing of sys/conf/files[1]. [1] http://wiki.cyberleo.net/wiki/KnowledgeBase/FreeBSD/srcsysmod_kmod.sh -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: syslog and chrooted isc-dhcpd
On 01/28/2011 09:22 AM, Michael wrote: > I'm running my isc-dhcp41-server with chroot option. > Is it possible to get it working with syslog? I don't know how to let > chrooted dhcpd to talk with my syslog. Apparently, you can either provide the -l flag via rc.conf (syslogd_flags) or add the full log socket path to /var/run/syslogd.sockets on the host. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Warning - FreeBSD (*BSD) entanglement in Linux ecosystem
On 08/21/2012 09:04 PM, David Jackson wrote: > In reference to the claims that systemd developers "do not care about > portability", this is deceptive and misleading. It implies that he is > building in a dependance on intractable hardware platform dependance when > this is absolutely not the case, there is no dependance on a hardware > platform.There is nothing about systemd that FreeBSD could not easily > support. Yes, his software does use system call facilities provided by > Linux, but since this is a dependance on software systems, FreeBSD could > easily add these facilities to its own libraries and kernel. This fact > exposes what the complaints from some people are about, it has nothing to > do with portability, because these issues can be easily addressed in > software code by FreeBSD, it has to do with FreeBSD not wanting to > implement equivalent functionality as Linux. > > The fact is, FreeBSD can fully support systemd and all kernel and system > features, there is nothing here that is impossible for FreeBSD to support. > > By doing so, it would give users MORE freedom rather than less freedom. > FreeBSD would not even be required to use systemd for its own bootup > sequence, which can be BSD init scripts still, but, systemd could be made > available on FreeBSD, called from FreeBSDs init scripts, for users that > wants to use it. > > Some here would make it seem like it is impossible for FreeBSD to support > systemd, nothing could be further from the truth. No one is stopping > FreeBSD from implementing it or any other feature found in Linux. > > I carefully looked through the documentation of systemd, I could see > nothing except for a well designed, powerful and flexible start up system > that is a major improvement. It IS backwards compatable with SysV and init > scripts, so, no one can say they are taking away someones capability to use > their own init scripts. BSD could continue to use its own startup init > system and optionally allow systemd to be called from this for software > that needs systemd. So, FreeBSD does not even have to change much about its > current init system to support systemd. systemd could be called from > FreeBSDs current init scripts as an addon rather than needing to replace > any of the existing init system. > > I basically cannot see a rational reason to not support it. If I were to hazard a guess, it's because systemd is intended to replace a subsystem which is simple and has had decades of testing with something that is as yet largely unproven. If not done properly, and with competent oversight, it could result in an unmaintainable system that requires more than just a text editor to repair. Just imagine losing a library against which systemd is compiled: no single-user mode because 'init' couldn't start at all now, and no /bin/sh because the startup scripts required to get the machine into a usable state are no longer written in bourne shell. But the larger issue, in my analysis, is that it forces feature creep into any other posix implementation that must support it to run software that depends upon it. FreeBSD has a jail implementation that is far more advanced and secure than anything Linux currently offers; yet systemd requires what basically amounts to a neutered version (containers) so that it can keep track of processes. Not a dishonourable endeavour in and of itself, but then it's like GEM/KMS all over again, where smaller, more resource-constrained teams are rushing to add otherwise-unneeded features to their kernels in such a way that won't cause instability or security vulnerabilities. In this case, there isn't even any compatibly-licensed reference code for containers that can be freely used; the implementation must be engineered from scratch. Lastly, it's also LGPL-licensed; either someone will have to convince the authors to dual-license it, or a BSD-licensed implementation will have to be written. With the current FreeBSD GPL-exodus, I don't see the adoption of further GPL/LGPL code having much chance of succeeding; especially when said code is required to actually bootstrap the userland. Personally, I think diversity is good, and systemd does offer alternate options that were previously lacking in a sysvinit/bsdinit world; but systemd could be a lot more flexible in supporting platforms that are other than Linux or GPL. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD: GIT instaed of SVN?
On 01/02/2013 02:31 AM, O. Hartmann wrote: > When it comes to keeping sources, most developer and most large > dislocated and non-centralized projects prefer GIT over > Subversion. > > FreeBSD has moved from the ancient CVS to Subversion not long ago > and I was wondering why freeBSD would have done this, since > Subversion lacks in so many aspects of a modern revision system. > > Well, I face several odds now since I need a kind of hot > replication system that replicates my Subversion repositories and I > feel uncomfortable with the way Subversion performs this. I decided > to move forward to GIT which seems more appropriate in any aspect > and while I do not have so much legacy to carry on with, I think > for me pesonally the move is more logical. > > But what is with the FreeBSD project? Are there any attempts or > intentions to bring GIT also to the sources (the base system, the > ports)? http://wiki.freebsd.org/Git http://wiki.freebsd.org/GitDrawbacks Basically, the workflow practiced by the FreeBSD developers and release engineers would have to change completely, otherwise Git would fight them every step of the way. There are those of us who maintain Git mirrors of the project repos (with or without local patchsets), but they are in no way official. -- Fuzzy love, -CyberLeo Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Build linux,ko kernel module standalone
On 01/03/2013 06:57 AM, Martin Laabs wrote: > Hello, > > if I wanna build a kernel module standalone (without the kernel e.g. for > testing) I do it the following way (wlan in this example): > > cd /usr/src/sys/modules/wlan > make all > maybe make install if I wanna install it. > > Now I want do build the linux.ko module with the symbol DEBUG defined and > tried the following: > > cd /usr/src/sys/modules/linux make depend > make -DDEBUG all Be wary of changing compile options for only certain parts of the kernel, as this may lead to problems with mismatching code. -- Fuzzy love, -CyberLeo Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: bogus "No protocol specified" message
On 01/10/2013 05:09 PM, Perry Hutchison wrote: > When trying to open an X application on a remote display, > I am getting > > No protocol specified > Error: cannot open display: 192.168.200.61:0 > > The "No protocol specified" message is bogus: the display is > specified correctly*, and the same operation -- with exactly > the same setting of DISPLAY -- was working yesterday. There's > no problem with network connectivity between the two systems: > ping and rlogin both work in either direction, and the specified > X server is running and accepting connections. > > What does that message actually mean, and how do I fix it? The error is with regards to the X protocol, not the TCP or UNIX socket protocol. Check that both sides have compatible and matching X authority information using xauth(1), or that the connecting host or user was allowed to connect using xhost(1). -- Fuzzy love, -CyberLeo Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Setuid binaries and File Ownerships in FreeBSD9.0
On 01/23/2013 02:26 PM, Martin McCormick wrote: > The executable in question is a C program whos file > permissions are 4755 and the file belongs to root so all files > it opens are also owned by root and that works properly, but > what I need is for this application to first open a few files owned by > the caller and then later, upgrade back to root and write to > files the caller can not write to. I was hoping to avoid using > chown and chgrp and simply let the privilege level of the > application dictate ownership of any file it opens. > > When the application first runs, it gets the UID and GID > of the user and uses > > setuid(heruid); and setgid(hergid); to temporarily downgrade and > those files are owned by the right user but setuid(0); doesn't > appear to upgrade back to root. > > Is there any other strategy that gets one back to root > short of using chown and then a system call and never > downgrading privilege? seteuid(2) ? Alternately, open the privileged files before dropping root; you should still be able to write to them afterwards. -- Fuzzy love, -CyberLeo Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Making a mounted ISO image of a CD-ROM writable
Paul Hoffman wrote: > At 10:53 PM +0200 7/12/07, Roland Smith wrote: >> On Thu, Jul 12, 2007 at 12:38:10PM -0700, Paul Hoffman wrote: >>> Greetings again. I want to make an ISO image of the FreeBSD >>> distribution >>> with a boot.config file that contains "/boot/loader -h". I have the ISO >>> image as a file on my hard drive, and have mounted it on /mnt: >>> >>> mdconfig -a -t vnode -f /path/to/my/bootable.iso -u 0 >>> mount -w -t cd9660 /dev/md0 /mnt >>> >>> However, when I try to create files on /mnt, I get: >>> >>> -su: boot.config: Read-only file system >>> >>> How do I make it so that I can write into /mnt so that I can then later >>> save those back to the ISO image? >> >> Try the sysutils/isomaster port. > > Er, thanks, but I am running on a text-only system. Looks nice, however. > > Other thoughts? I would hope this would be as easy as "run this program > to change the image to read-write". Due to the way iso9660 (cd) filesystems are arranged, they cannot be written to after they are created. The easiest option would be to copy all the files to a directory on your hard disk, make the required changes, and use mkisofs to regenerate a new iso9660 filesystem. This will likely require more than a cursory perusal of mkisofs(8), given that you wish to create a bootable CD. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dual boot FreeBSD(6.2) / Current ?
Patrick Lamaiziere wrote: > Hello, > > How to make a dual boot with Stable and Current ? The FreeBSD loader > always uses the bsd partition 'a' to load the kernel. So i always boot > 6.2. > > My main boot loader is Gag. > Perhaps install the depeendant filesystems (/, /var, /usr) for the two versions each in their own slices, and share independant filesystems (/tmp, /home) from a third slice? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
6.2-RELEASE-p6 panic on boot
Hi! A machine of mine is panicking during cold boot on FreeBSD 6.2-RELEASE-p6. No kernel dump is available, as the panic occurs so early. My machine is an Athlon XP 2000+ on an ECS K7S5A-Pro (SIS735 chipset) with 1GB PC3200 RAM. The root filesystem is a mirror on a 3Ware Escalade 8006-2LP SATA hardware RAID card. The panic only occurs when the machine is cold-booted (not on reboot) when acpi.ko is loaded. http://home.cyberleo.net/cyberleo/workspace/Zip/Bugs/fbsd-20070716-panic/boot-dump.log Any ideas what I can do to debug or correct this issue, or of a more appropriate group with which to communicate? Thanks! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2-RELEASE-p6 panic on boot
Tamouh H. wrote: > The first thing I'd try is boot direct to the drive, without the RAID card. > It seems from the dump it paniced after loading the 3ware drivers: > > "RocketRAID 232x controller driver v1.02 (Jul 16 2007 17:38:56) > panic: pmap_mapdev: Couldn't alloc kernel virtual memory > cpuid = 0 > KDB: enter: panic > [thread pid 0 tid 0 ] > Stopped at kdb_enter+0x2b" > > This would especially be true if the RAID Array is degraded or failed. But > try it with the drives directly connected to the board. > > Tamouh Good idea. Unfortunately, the drives are SATA, and the board only natively supports PATA. The RAID card is the only SATA card I have, as well. The machine has had no problems booting 6.2-RELEASE in the past, off other installs, however. Thanks! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Promise RAID / ata problem
Derek Holden wrote: > Greetings, > > I have a Promise Fasttrak TX4200 running a single mirrored array under 5.5. > Everything's been great for nearly a year until a recent reboot. It > appears > that the two disk mirrored array is coming up as two arrays with a single > disk attached: > > Before: > > kernel: acd0: CDRW at ata1-slave UDMA33 > kernel: ad6: 305245MB at ata3-master SATA150 > kernel: ad10: 305245MB at ata5-master SATA150 > kernel: ar0: 305175MB status: READY > kernel: ar0: disk0 READY (master) using ad10 at ata5-master > kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master > > After: > > kernel: acd0: CDRW at ata1-slave UDMA33 > kernel: ad6: 305245MB at ata3-master SATA150 > kernel: ad10: 305245MB at ata5-master SATA150 > kernel: ar0: disk0 DOWN no device found for this subdisk > kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master > kernel: ar1: 305175MB status: DEGRADED > kernel: ar1: disk0 READY (master) using ad10 at ata5-master > kernel: ar1: disk1 DOWN no device found for this subdisk > > # atacontrol status ar0 > ar0: ATA RAID1 subdisks: DOWN ad6 status: DEGRADED > > # atacontrol status ar1 > ar1: ATA RAID1 subdisks: ad10 DOWN status: DEGRADED > > Nothing's was changed on the machine. I'm looking for any ideas on the > best > way to re-establish the single mirrored array. Thanks a lot, It's possible that a few bits that the promise controller uses to identify the members of an array got flipped on one of the drives, thus turning a two-disk array into two two-disk arrays with missing partners. The fact that one array is missing its first disk while the other is missing its second seems to hint towards this. As it appears to be a mirror, you could try mounting both read-only in two separate directories and diffing their contents, then backing up the most recent-looking copy (just in case) and using the promise bios to destroy the mirage array and re-add the new spare disk to the original array. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Xorg upgrade (wrong library) issue [more info]
Tuc at T-B-O-H.NET wrote: > > himinbjorg# ldd work/bdftopcf-1.0.1/bdftopcf > work/bdftopcf-1.0.1/bdftopcf: > libXfont.so.1 => /usr/X11R6/lib/libXfont.so.1 (0x2808) > libc.so.5 => /lib/libc.so.5 (0x280e6000) > > WHY when the cc step is stating -L/usr/local/lib is it bring the > Xfont from /usr/X11R6/lib? > Because /usr/X11R6 is a symlink to /usr/local, and both appear in the library path hints, so the first one listed gets used when resolving the library paths at runtime. (Hint: 'strings /var/run/ld-elf.so.hints' and 'ldconfig -r') -- Fuzzy love, -CyberLeo Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem while access the kernel file
Prakash Poudyal wrote: > Hello All, > > I do have problem when I tried to access the file kernel file GENEREIC > I did as follows but following error cames so could please any body > answer me waht is exactly the problem > > > ns2# /cdrom/5.5-RELEASE/src/install.sh all > > Extracting sources into /usr/src... > Extracting source component: base > cat: sbase.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: bin > cat: sbin.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: contrib > cat: scontrib.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: crypto > cat: scrypto.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: etc > cat: setc.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: games > cat: sgames.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: gnu > cat: sgnu.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: include > cat: sinclude.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: krb5 > cat: skrb5.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: lib > cat: slib.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: libexec > cat: slibexec.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: release > cat: srelease.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: rescue > cat: srescue.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: sbin > cat: ssbin.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: secure > cat: ssecure.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: share > cat: sshare.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: sys > cat: ssys.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: tools > cat: stools.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: ubin > cat: subin.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Extracting source component: usbin > cat: susbin.??: No such file or directory > tar: Error opening archive: Empty input file: Inappropriate file type or > format > Done extracting sources. Perhaps your current working directory must be the same as the install script's path? cd /cdrom/5.5-RELEASE/src/ && ./install.sh all -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Custom builds from ports
Hi! My question concerns building ports with custom options. With some ports, 'make config' governs the options, and stores them in a file someplace so they are honored the next time you build or upgrade the port. With most ports, however, this is controlled by passing variables on the command line or via the environment. The most obvious location for these variables to be placed, so that they may affect recursive builds and upgrades, is make.conf. However, I've noticed that some ports use the same variable names for similar options ('WITH_MYSQL'), when I may not want that option set in both ports. Is there a way to specify which ports certain options are to be applied to, without having to craft custom command lines and build ports individually? Thanks! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problems with mysql database
David Banning wrote: > I have recently converted from mysql 4.1 to 5.0 and some of my > tables are not recogized. Using the mysql_upgrade utility is > not effective as -it- does not recognize certain tables. > > On closer examination I see that the tables that are -not- recognize > have the following extensions; > > -rw-rw 1 mysql mysql 147787 Jul 23 02:44 company.ISD > -rw-rw 1 mysql mysql 13312 Jul 23 02:44 company.ISM > -rw-rw 1 mysql mysql9064 Dec 8 2006 company.frm > > while the tables that have no problem have different extensions; > > -rw-rw 1 mysql mysql 3592 Jul 28 23:49 Employees.MYD > -rw-rw 1 mysql mysql 1024 Jul 28 23:49 Employees.MYI > -rw-rw 1 mysql mysql 9174 Dec 19 2006 Employees.frm > > Any idea whats going on here? ISM files are from the old (depreciated, removed) ISAM table engine. This was superseded by the MyISAM table engine. As detailed in the upgrade documentation for MySQL 5, you must change the database engine prior to upgrading, as MySQL 5 no longer has support for the old ISAM engine. This can be accomplished by logging in as a user with ALTER privileges on the tables in question, and issuing an ALTER TABLE table_name TYPE MyISAM; or ALTER TABLE table_name TYPE InnoDB; before upgrading to MySQL 5. If you've already upgraded, you must find a copy of 4.x recent enough to understand the tables, and use that to convert or dump them. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Custom builds from ports
Rakhesh Sasidharan wrote: > On Sun, July 29, 2007 01:37, N.J. Mann wrote: >> In message <[EMAIL PROTECTED]>, CyberLeo Kitsana wrote: >>> Is there a way to specify which ports certain options are to be applied >>> to, without having to craft custom command lines and build ports >>> individually? >> Is ports-mgmt/portconf what you are looking for? > > I didn't know about ports-mgmt/portconf (will check it out now) but what I > use is the make.conf file. > > This blog post > (http://blog.innerewut.de/articles/2006/01/14/upgrading-ports-and-preserve-mak > e-options) is what enlightened me. And here's how the application specific > bits of my make.conf file looks: > > .if ${.CURDIR:M*/shells/bash} > WITH_STATIC_BASH=yes > PREFIX=/ > .endif > > .if ${.CURDIR:M*/print/cups} > CUPS_OVERWRITE_BASE=yes > NO_LPR=yes > WITH_CUPS=yes > .endif > > .if ${.CURDIR:M*/databases/mysql50-*} > # these two options supposedly give a speed boost > BUILD_OPTIMIZED=yes > BUILD_STATIC=yes > .endif > > As you can see in the shells/bash case, I can even pass along PREFIX etc > arguments. > > Hope that helps. That's exactly what I was looking for. Thanks! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Two interfaces, two IPs, nearly twice the speed?
Federico Lorenzi wrote: > Hi list > > BACKGROUND: > I have two ppp interfaces tun0 and tun1 configured. Each of them > has an IP address in the same range, like 10.0.0.1 for the first and > 10.0.0.2 for the second (They are really dynamic public IPs...). Now, > what I would like to do is get it so that they get mixed together. > > QUESTION: > Is it possible to get PF to somehow round-robin the connections? > Lets say Joe connects to the internet and starts downloading a file, > it will use up Connection 1. Now Peter connects, PF knows that > connection 1 is used, and makes Peter's request go through > Connection 2. Kinda like a Dual-Internet? I tried that once. It wasn't pretty. There are still rogue and unresolved memory leaks that cause this to fail under high load by exhausting mbufs. I documented my experiences here: http://wiki.cyberleo.net/index.php/MultiHomedRouter Hope this helps! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ 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 foward subdomains?
Sdävtaker wrote: > Hello > Sorry in advance for my english,it is not my main language. > I got a tiny network with 2 computers and only 1 external ip. > I configured my router to foward the dns port to machine1, and > registered it in nic as ns1.mydomain.com, i had successfully moved my > registered domains to that dns and could run all my services in that > machine, ie i can http://www.mydomain.com from outside. > After that i had setup a second machine in the network and i want to > make this one a subdomain of the first one ie second.mydomain.com, > this second machine got no external ip. > How can i set my first machine to foward all the traffic directed to > that domain? > Thanks for any help u can give me. > Sdav Just recently, I did something similar with two machines hosting a few domains and subdomains. I found the easiest thing to do was to set up squid in 'web accelerator' mode (also known as anti-slashdot mode) on my FreeBSD router, and direct it to forward requests (based on Host header) to the appropriate backend webserver. In your case, one server could be running on an alternate port on the same machine Squid is, or bound to a private IP alias. This is a touch annoying, though, as squid must know about /every/ /single/ subdomain that is hosted, lest it complain that it cannot fulfill the request. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Vinum configuration syntax
Modulok wrote: > Take the following example vinum config file: > > drive a device /dev/da2a > drive b device /dev/da3a > > volume rambo > plex org concat > sd length 512m drive a > plex org concat > sd length 512m drive b > 8Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem compiling xfig
Predrag Punosevac wrote: > => Attempting to fetch from http://xfig.org/software/xfig/3.2.5/. > fetch: xfig.3.2.5.full.tar.gz: local modification time does not match > remote Is your clock set properly? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: spammers harvesting emaill address from this list
fbsd2 wrote: > It only takes 2-3 weeks after changing my email address I use on the list > before I start receiving spam on the new email address. > Other non-fbsd lists I belong to remove the posters email address before the > post gets sent to the list members. > Why can't this list do the same thing so the posters email address don't > show up in the archives on the news group servers where spammers harvest the > posters email address for targeting spam to? Every message that comes through the list has the 'List-id: ' header. If spam is a concern, you could always set up a dedicated list email address and have your MUA delete anything to that address not containing that header. This would prevent people from replying to you directly, but they wouldn't anyways if your email address wasn't listed in the first place. Personally, the most infuriating spam I get is the 'Message delivery failure' messages received en masse from poorly configured mail servers when some spammer decides to use my address as the return-path. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: fsck strangeness
Ian Smith wrote: > My knowledge of this is thin, despite reading McKusick's paper through > several times, but we're told that background fsck runs on a snapshot of > the fs concerned. How any bg fsck corrections are woven back into the > live fs later is still a mystery to me, but that's because I still have > an only barely superficial understanding of how snapshots work .. Background FSCK only repairs a small subset of filesystem incosistencies. Specifically, those inconsistencies that softupdates allows to occur, such as data blocks allocated out of the bitmap, but not actually assigned to any inode. Background FSCK only needs to find these (by looking at a fully consistent and unchanging snapshot of the filesystem) and deallocate them in the live filesystem, a simple operation given that it's guaranteed nothing will be using a block that is both marked used and not assigned to anything. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <[EMAIL PROTECTED]> Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"