Re: DVD-RAM on FreeBSD 5.1R (LG 4040)?
On Mon, Nov 17, 2003 at 12:26:11AM +, Stefan A. Deutscher wrote: Hi all, just got an ATAPI LG 4040 multiwriter (CD-R/RW, DVD+/-R,+/-RW, and DVD-RAM) and wish to use it on FreeBSD 5.1. While still having to configure the system to address it in UDMA rather than PIO 4 mode, it installed fine. Reading and writing CDs in all possible variations works fine with burncd. Yet many of my scripts are written for cdrecord, so I'd rather stick with that tool instead of learing yet another one. Two questions arise (a) How do I get such a unit to treat DVD-RAM just as slow, random access optical media (much like an MO-Disk)? I do not wish to do burncd or cdrecord on it, I wish to write to it directly, if possible. Alas, I could not put a new disk label on the blank (disklabel says 'unknown type: auto'), and newfs does not like it either. So I am stuck. (b) Google and the online handbook (for 4.x though) tell me that I need device atapicam device scbus device pass in my kernel to get to use the ATAPI unit like a SCSI unit (e.g. with cdrecord and friends). However, on 5.1R I cannot find any mention of an atapicam device, neither in GENERIC nor in the hints nor NOTES. Now, what's a man to do? I checked the freebsd.org FAQs and archives, google and the news groups, but most stuff there is not really conclusive. In case this is a FAQ, after all, please just post a pointer. Any hints are much appreciated. Thanks in advance cheers, Stefan Hi all, the issue has been resolved, thanks go to Kent and Marc for their pointers. Adding the following, as Kent suggested, put the drive in UDMA-33 mode: # cat /boot/loader.conf # -- sysinstall generated deltas -- # userconfig_script_load=YES hw.ata.atapi_dma=1 It's load on the system is now somewhere in the background noise. Ignoring that the atapicam device is not mentioned in the GENERIC nor hints nor NOTES files in /usr/src/sys/i386/conf and instead following the handbook (http://www.FreeBSD.org/cgi/man.cgi?query=atapicamsektion=4) by adding the line device atapicam # Allows ATAPI devices to addressed as if they were SCSI to the kernel resulted after a kernel build and install in a system that now (a) does not block the eject button anymore (b) shows the drive in the 'camcontrol devlist -v' listing as /dev/cd1 (c) allows me to actually write to and read from DVD-RAM is if it were a slw hard drive. disklabel -A cd1 # Tells me there is no label on the device disklabel -w cd1 # labels the disk just fine disklabel -A cd1 # shows the label newfs /dev/cd1 # puts the file system on it tunefs -n enable cd1 # enables softupdates df /dev/cd1 # shows about 4.3 GB usable mount /dev/cd1 /dvd # mounts the device (-t cd9660 is rejected) Tested on /usr with about 2.5 GB of data, the speed is - tar -cvf /dvd/51usr.tar writes at about 1.4 MB/s (slow for a HD), i.e. 89 MB/min (as fast or slow as my DDS-3 DAT drive) - tar -tvf /dvd/51usr.tar reads at about three times as fast at 4.1 MB/s (i.e. 245 MB/min) - cp -R /usr /dvd/ : writes slow, at about 110kb/s (or 6.6 MB/min). The first time around it got stuck after a couple of hours (when most of the data seemed to be transferred already), with ps telling its status being D+ (uniterruptible wait for device access) and MWCHAN as biowr. Neither camcontrol reset nor shutdown -r would work, had to power cycle the machine. Next time it worked. Thanks again to all cheers, Stefan -- Stefan A. Deutscher | Donostia International Physics Center | office: ++34-943-018174 Universidad del Pais Vasco, Facultad de Quimica | fax : ++34-943-015600 Departamento de Fisica de Materiales| home : ++34-943-270647 Apartado 1072, San Sebastian 20080, Spain | email : [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can I install packages only for my release?
The secret is that once you've installed the system, put away sysinstall(1). Learn how to use the system level commands for installing packages -- particularly pkg_add(1). Even better, use the ports tree. This may sound terrifying to the uninitiated: what, you mean I should compile all this stuff from source?! but that's the beauty of the ports system. Hi, Thanks for the response. I understand that the ports system is the most up-to-date. However, if I choose to install a package (to install very large packages like openoffice or mozilla say), am I am correct in thinking that I must install from the the directory set aside for my release? If this is the case why is it not a good idea to use sysinstall? Thanks, Rahul __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2003-11-02 - 2003-11-22
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to [EMAIL PROTECTED] with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples FreshPorts- http://www.FreshPorts.org/ - the place for ports FreshSource - http://www.FreshSource.org/ - the place for source ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Automatically encrypting data files in a partition.
Thanks for that Lowell! Looks like it might work. I will have a play with it! Cheers, Paul Hamilton -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Lowell Gilbert Sent: Saturday, 22 November 2003 9:28 AM To: Paul Hamilton Cc: Freebsd-Questions Subject: Re: Automatically encrypting data files in a partition. Paul Hamilton [EMAIL PROTECTED] writes: I need a way to store different directory trees and files with different encryption keys, i.e.. /data/mars /data/mars/one /data/mars/two etc all are encrypted with one key and /data/venus /data/venus/one /data/venus/two etc, would have a different key. Ideally, the directory structure, and file names wouldn't be encrypted. /data is an independent partition. Some of these files, could be MS Office data files, others might be MS program *.exe files etc. It would be nice if this happened at the filesystem level, i.e., I would enter a key and the root dir name for each 'data tree' into the config file, reload the config file into the 'encryption filesystem program' and all would be sweet ;-) The closest thing I know of is cfs (in the ports). It encrypts some of the directory structures as well, which is usually desirable because they can contain secret information as well (think of a file named CompanyX_Merge_Plans.doc). I don't know if it's capable of handling passphrases centrally as opposed to on a user-session basis, but if so, you would need someone with the password present every time you booted the machine. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fwd: newbee help on freebsd email server setup
thank you there are many in ports i am running a simple freebsd server dedicated for email so far anyway i want to have about 15 people getting email do you have any reccommendations? (wont hold ya to it) thanks again den - Original Message - From: Lowell Gilbert [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, November 21, 2003 9:10 AM Subject: Re: Fwd: newbee help on freebsd email server setup here is the problem i cant track down.when i send mail to an account set up on mailserver (thru adduser) and using an remote source email server.when i use a pc through windows 2000 running outlook express i cannot retrieve the mail...it comes back with error message 550 host unknown Outlook Express is probably trying to use POP or some other mailbox protocol (maybe IMAP) to download the messages. Sendmail has nothing to do with it at this level; you need a POP server to allow POP downloading of messages. There are several in the ports system. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PCI Raid 5 cards for FreeBSD
Hi, I have seen both the Promise and 3ware raid cards mentioned over time in this mailing list. I would like to be able to run a 1-2TB raid 5 SATA on FreeBSD 4.9. Is anyone using a card from these suppliers? Will FreeBSD install on a Raid 5 array (after it has been configured in the Array BIOS)? Does FreeBSD have any in built driver/mechanism to monitor the array's health? Is there another SATA Raid controller company out there I have missed, that covers FreeBSD? Cheers, Paul Hamilton ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Monitoring a file?
What is the canonical way to monitor accesses to a file? You may want to take a look at 'fam,' in /usr/ports/devel/fam , as some of the code's already been done for this type of monitoring AFAIK... Yes, that is a nice framework to start with. It uses help from the kernel (imon pseudo device on irix or linux), or polls the files with lstat(). It could be extended to use kevent(2) on FBSD... Unfortunately, it still doesn't know which process accessed the files. Hmmm... Thank you. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pidentd troubles
On Sat, Nov 22, 2003 at 03:28:09PM -0500, Ben Dover wrote: I was running pidentd server in fbsd 5.1 and ran into a problem. On reboot thousands of identd processes would be created. This caused an enormous problem as you can imagine. I ended up doing a pkg_delete of pidentd. Has anyone had this happen? I need a reliable ident server; can anyone recommend one from ports? Why not use the ident server built into inetd(8)? No extra ports required. From the default inetd.conf: # Provide internally a real ident service which provides ~/.fakeid support, # provides ~/.noident support, reports UNKNOWN as the operating system type # and times out after 30 seconds. # auth stream tcp nowait rootinternalauth -r -f -n -o UNKNOWN -t 30 auth stream tcp6nowait rootinternalauth -r -f -n -o UNKNOWN -t 30 Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Monitoring a file?
A file, let's say, /path/to/a/file, is being modified by an unknown process P(u) at random times. Unfortunately, the name of the program ran by P(u) is unknown. I'd think the failsafe way to approach this is with a wrapper so that when process P accesses file F it's really accessing W(F), i.e. a software wrapper which would then emulate F, only since W's a pgm it can also log the activity as well as reply to P with basically whatever you want it to reply with. Unfortunately, FreeBSD doesn't have the equivalent of GNU/Hurd translators. On the Hurd, the filesystems are served by userland programs called translators. It is possible to set a translator anywhere on the filesystem. This is similar to a mount(8), with the difference that you can mount a program instead of a raw device. This program (translator in Hurd parlance) would serve VFS requests and actually reply to calls like open(), read(), write(), etc... A translator actually intercepts the VFS calls. In this case, it would be trivial to do a ps [or on the Hurd to query the proc server], and obtain at least a list of running processes in a very timely fashion [P(u) would certainly be present at that time!]. Because the translator replies directly to P(u), it *may* be possible to identify P(u) this way... Perhaps FreeBSD's mount_portal(8) could be used for this? I'm not familiar with portalfs... Would ln(1) be able to serve as the setup for W? I've only done soft links for directory aliasing on websites. So I don't know if you can get away with e.g. having a shebang line on top W and expect it to execute; if you could work it that way though you'd be golden afaict. A she bang would be useless here, because P(u) uses, say, open() and read(), not exec(). The kernel would never try to execute the file, and would therefore not try to read the she-bang line. Rereading this I realize for W to work it'd also have to be able to know who P is, i.e. the process and what it was wanting to do so it could emulate it. Or is there a way to just have W pass F on to P after logging the activity? And why do I suddenly crave a bowl of alphabet soup? That is precisely the problem here. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Monitoring a file?
What is the canonical way to monitor accesses to a file? Problem description: A file, let's say, /path/to/a/file, is being modified by an unknown process P(u) at random times. Unfortunately, the name of the program ran by P(u) is unknown. The goal is to catch P(u) red-handed, just the moment it accesses /path/to/a/file, e.g. by looking up in the process table with ps(1). That's not exactly red-handed, it's just not too long afterwards. Right. Ideally, the kernel should block P(u), notify P(m), and then unblock P(u). Of course, this doesn't happen with the current kernels (?). I don't think you're going to find a simple answer to this one. If I had this problem, I'd probably build a kernel with special code to recognize opens on this file (so that you can get the address of the file table) and writes to it (though this may be redundant). The code would enter the kernel debugger or maybe just panic, depending on the environment. That way you'd really catch the culprit red-handed. Yes, that was the idea with the debug nfsd. P(u) would block as long as debug-nfsd didn't reply, and would be hanging around in the process table. Surely, P(u) would still not be directly identifiable by debug-nfsd. Modifying the kernel really seems to be the only solution here. An alternative might depend on knowledge of what the file does. It is a DNS map. On that special host, named is not even running, so I suspect some rogue program. And no, there's nothing in crontab either However, the problem is more general than this. I just hoped that a generic solution exists. Greg Thank you for all the help. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Monitoring a file?
A file, let's say, /path/to/a/file, is being modified by an unknown process P(u) at random times. Unfortunately, the name of the program ran by P(u) is unknown. Have you tried moving the file elsewhere and seeing if anyone complains about the absence? No, P(u) obviously fails silently. There's nothing recorded by syslog, no messages on the console, and no core dumps... Or writing a program that locks the file? That was a good idea. However, P(u) didn't seem to take a lock. Advisory locks are just that: if P(u) doesn't lock the file, existing locks don't matter at all. Do we have mandatory locks in FreeBSD? Thank you. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: About setup FreeBSD 5.1 RELEASE to Sony notebook PCG-R505GCK
On 22 Nov 2003 09:20:09 -0500 Lowell Gilbert [EMAIL PROTECTED] wrote: toor [EMAIL PROTECTED] writes: On 21 Nov 2003 09:06:31 -0500 Lowell Gilbert [EMAIL PROTECTED] wrote: toor [EMAIL PROTECTED] writes: When I begin setup I see next message: eisa0: EISA bus on motherboard eisa0: unknown card [EMAIL PROTECTED] (0x0808) at slot 1 Fatal trap 9: general protection fault while in kernel mode instruction pointer = 0x58:0x81d1 stack pointer = 0x10:0xeb8 frame pointer = 0x10:0xf0e code segment= base 0xc00f, limit 0x, type 0x1b = DPL 0, pres 1, def32 0, gran 0 processor elfags= interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) trap number = 9 panic: general protectin fault What must I do to setup freeBSD to my notebook. Do you need 5.1? http://www.freebsd.org/releases/5.1R/early-adopter.html You mean that I must install FreeBSD ver 4.9 RELEASE??? I don't mean that at all. Just that you should be aware that FreeBSD 5.x is not intended for production use at this time. I install FreeBSD 5.1 RELEASE, I patch pnpbios function in bios.c and bild kernel. When I can boot and install to my notebook. As it proved, boot image from CDROM/floppies/boot.flp content bad kernel or mfsroot, because when I install and reboot - FreeBSD 5.1 RELEASE will load successfully:). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Monitoring a file?
On Sun, Nov 23, 2003 at 11:17:57AM +0100, Cordula's Web wrote: A file, let's say, /path/to/a/file, is being modified by an unknown process P(u) at random times. Unfortunately, the name of the program ran by P(u) is unknown. Have you tried moving the file elsewhere and seeing if anyone complains about the absence? No, P(u) obviously fails silently. There's nothing recorded by syslog, no messages on the console, and no core dumps... Or writing a program that locks the file? That was a good idea. However, P(u) didn't seem to take a lock. Advisory locks are just that: if P(u) doesn't lock the file, existing locks don't matter at all. Do we have mandatory locks in FreeBSD? Not a lock as such, but: # chflags schg /path/to/a/file should achieve the effect you desire. Although this will cause any write on the file to just fail, rather than causing P(u) to block waiting for a lock. You could try replacing /path/to/a/file with a fifo (see mkfifo(1)), and maybe hang another process on the other end of the fifo which can run ps(1) or fstat(1) when a write is detected. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: (Semi)hot swap IDE
Hello! I wrote: If the majority is right and IDE drives cannot be hot swapped, this would indicate that we would need to power down the machine every time we want to change the backup HDs. This would be less than perfect, but since we are cheap we could live with it. OTOH I read 'man atacontrol' and saw that there are commands like 'atacontrol detach' and 'atacontrol attach' which seem to be meant for detaching/attaching IDE devices while the machine is running. Does this mean that I could actually run 'atacontrol detach channel', swap the drive and then run 'atacontrol attach channel' and be able to use the second HD after that? Is anyone doing something like that? To which Scott W replied: I dislike IDE and tend ot avoid it like the plague when possible, Me too. but: 1. The 'generic' removeable drive trays for IDE that use a normal IDE controller (like attaching to the slave or secondary channel on most onboard IDE), with another disk or device attached that's being used, do not support removeable devices. It's _extremely_ likely that you'll hang the IDE bus. If there is only CD-ROM (which is almost never used) attached as primary master and the removable disk attached as secondary master then maybe I don't need to worry too much about that. 2. Having mentioned #1 already, it's _possible_ that using a secondary controller (unsure if this can be the second channel of onboard or not, but NOT simply the slave of a given channel with another device), and atacontrol, it appears (no, I have not tried this), you can bring the controller itself (or channel?) offline, attach or remove the drive, and then reattach it. I'd like to hear more details on this one myself, and may have a system I can test it on if I get too bored, but have long ago chucked my IDE trays.. I'll probably be forced to do some testing on this during next few weeks. I'll keep you posted on the results. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Life ain't fair, but the root password helps. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
booting freebsd and openbsd
Hi, I got 4.9 installed on my machine and I need to be able to dual-boot freebsd and openbsd. The freebsd boot-loader recognizes (F2 BSD) but does not boot the openbsd partition. Do I have to set any extra parameter? thanks, Paulo __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Modem
Hi, I recently Installed FreeBSD on my IBM THinkpad 600x. How do I configure the 56K internal modem for dial up and internet services from scratch? Thanks, Daniel Lewis 561-547-6647 __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fsck error messages don't get logged?
Hello all, I just had a crash, and upon reboot fsck displayed these gnarly errors that went by too quick for me to read, my different display lines settings loading on the console making it worse. So I thought, allright, just dmesg. Nothing about the errors there. /var/log/messages? nothing either. Don't these messages get logged anywhere? This is all I get.. (..) Nov 23 12:34:29 localhost kernel: Mounting root from ufs:/dev/ad0s4a Nov 23 12:34:29 localhost kernel: WARNING: / was not properly dismounted Nov 23 12:34:29 localhost kernel: ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging disabled (..) Thanks in advance for any help, -- Herculano de Lima Einloft Neto ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: startx and numlocks
On Fri, 21 Nov 2003, Chris Pressey wrote: On Fri, 21 Nov 2003 08:38:24 -0500 (EST) Dru [EMAIL PROTECTED] wrote: Does anyone know how to keep numlocks on when using startx? I have numlocks on in all of my terminals, but when I start X, it goes off. Is there a line I can add to .xinitrc? TIA, Dru Hi Dru, Have you looked at /usr/ports/x11/numlockx ? Thanks, that does the trick. For those that want to try it, after you've installed the port, add this line to the beginning of your ~/.xinitrc: exec /usr/X11R6/bin/numlockx Dru ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Modem
Read the FBSD handbook. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.ht ml -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Danny louis Sent: Sunday, November 23, 2003 9:28 AM To: [EMAIL PROTECTED] Subject: Modem Hi, I recently Installed FreeBSD on my IBM THinkpad 600x. How do I configure the 56K internal modem for dial up and internet services from scratch? Thanks, Daniel Lewis 561-547-6647 __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, FHS, and /mnt/cdrom
On Saturday 22 November 2003 8:18, Charles Swiger wrote: /mnt should be reserved as a default temporary mount point-- it's silly to risk breaking existing tools or procedures. Anyway, I suggest you solicit feedback from Solaris users and possibly MacOS X people as well. Solaris features vold (implied by wanting to use /vol), and the latter OS places temporary removable mountpoints under /Volumes. The point that /mnt should be left alone is pretty clear, but I'm glad to be able to say Folks on the FreeBSD questions list agree. As for Mac OS X, they have no intention of being FHS-compliant, so while we may learn some lessons from them, they won't worrz about what we have to say. I happen to think that OS X handles things well from a user interface standpoint-- the Finder in Panther with Miller column display and an eject symbol next to the volume name, but I'm not sure how relevant that is. Frank, is your group's standard concerned about physical volume names, logical volume names intended for human identification/access, or both? Physical device names ought to have unit numbers or even be part of a tree-like device hierarchy-- for instance, what does /cdrom refer to in a machine with two CD-ROM devices? In the current version of the standard (2.2), nothing. But in the next revision, /foo/cdrom will be a symlink to /foo/cdrom0, and /foo/cdrom1 won't have a link. Managing these links is not the scope of the standard (yet). The priority for the next revision is to define what /foo should be. Human-readable names also run the risk of two removable devices having the same name; people are happy seeing a list containing duplicate names (eg, particularly if one name has a CDROM icon next to it, and the other has a floppy or USB pen icon :-), but that doesn't tell you what to do with your filesystem hierarchy layout. The actual names of the directories will be undefined, but there will be some suggestions (cdrom, floppy, etc.) Obviously, a standard that says place mount points anywhere you want isn't very useful. But if you did come up with a standard, who should follow it and what would they gain? As for who should follow it, Linux distributions (Debian, Red Hat, SuSE) as well as the *BSDs (though I'm not sure exaclty what that means in the BSD world). What would be gained is more for application support. Basically, xmms and xcdroast could configure a /foo/cdrom as a default location, and it will be correct for all FHS-compliant systems. Frank ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.1 on a Laptop
Hi, I was wondering if FreeBSD 5.1 can be install on a laptop? I appreciate any comments Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Monitoring a file?
A file, let's say, /path/to/a/file, is being modified by an unknown process P(u) at random times. Unfortunately, the name of the program ran by P(u) is unknown. Not a lock as such, but: # chflags schg /path/to/a/file should achieve the effect you desire. Although this will cause any write on the file to just fail, rather than causing P(u) to block waiting for a lock. You could try replacing /path/to/a/file with a fifo (see mkfifo(1)), and maybe hang another process on the other end of the fifo which can run ps(1) or fstat(1) when a write is detected. Interesting, but the results were not conclusive. I've finally found the culprit with a traditional method: * md5 (binary from an uncompromised machine) on all files * reinstalling from scratch (not buildworld, but really installing from FTP) * md5 again and diff. /bin/sh and cvsup (!!) were compromised on that machine. The malicious code was in /usr/src/bin/sh/exec.c:shellexec() Additionally, cvsup (and perhaps other programs) must have been corrupt too, because code in /usr/src/bin/sh was never updated. Ugh... system clean again at last. :) Thank you for all your help! -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.1 on a Laptop
On Sunday 23 November 2003 16:21, D Velez wrote: Hi, I was wondering if FreeBSD 5.1 can be install on a laptop? I installed 5.0 once, without any problems. There will surely not be a great difference between them. For more info: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/laptop/article.html [EMAIL PROTECTED] Daniela ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mozilla and long time in resolving Hostnames
___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
advice needed on creating hmtl docs?
My shop has been writing internal standards tutorials in MS/windows word. They now want to make these available online over the internet as web pages. We use FBSD as our gateway and apache as our web server. I know I can install apache with ms/FrontPage extensions added and then use FrontPage to read the word docs to build the FrontPage hmtl code automatically. I would really like to use the ms/word docs as source input to some FBSD hmtl generator to build original hmtl source that apache can serve up natively. Can any body suggest how to do this? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dmesg.today-dmesg.yesterday
Lowell Gilbert wrote: Jesse Guardiani [EMAIL PROTECTED] writes: How does dmesg.today get rotated to dmesg.yesterday? I suspect my dmesg.today of being corrupted by old info. I have gotten the following message in my security output for the last four days: pid 4062 (clamd), uid 3848: exited on signal 11 It appears in different places, but what are the chances of clamd acquiring pid 4062 four days in a row? That diff is taken as part of the periodic/security checks. I don't think it uses dmesg.today, though; I think it takes output directly from dmesg(8)... From /etc/periodic/security/security.functions: --- # Usage: COMMAND | check_diff [new_only] LABEL - MSG #COMMAND TMPFILE; check_diff [new_only] LABEL TMPFILE MSG # if $1 is new_only, show only the 'new' part of the diff. # LABEL is the base name of the ${LOG}/${label}.{today,yesterday} files. check_diff() { --- It would appear that it does indeed use .today and .yesterday. And I think I just answered my own question. check_diff is the function that creates the dmesg.today and dmesg.yesterday files, and is in charge of rotating them. Thanks. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: advice needed on creating hmtl docs?
On Sun, Nov 23, 2003 at 12:22:34PM -0500, fbsd_user wrote: I would really like to use the ms/word docs as source input to some FBSD hmtl generator to build original hmtl source that apache can serve up natively. Can any body suggest how to do this? http://wvware.sourceforge.net in ports as textproc/wv or textproc/wv2 These are Unix style programs suitable for scripting/automation. Otherwise, you can convert most MS formats to HTML using OpenOffice All of these will aim to produce output that looks almost exactly like the .doc input, rather than neat, tidy, minimal HTML. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Modem problems
Shaun Alcaster (ECI Support) wrote: We have a lease line directly connected to out internet survice provider. Both have 56k lease line modems, but can only connect at about 33.3Kbs how do we change this. Most likely the problem is with your phone lines, not FreeBSD or your ISP. I work at an ISP. I can connect at 48,000 bps with my FreeBSD laptop from downtown - at work. If I take my laptop home, I can only connect at 24,600 bps. My house is on the outskirts of town and I think we have more than our fair share of analog to digital conversions between my house and the central office. Same story with my Win98 box. But FreeBSD with my PCMCIA hardware modem actually transfers data faster than my win98 box w/software modem. If you really want to connect at 56k or higher, you generally have three options: 1.) ISDN. Full digital line ensures 64k connection speeds, and dual channels with bonding means that you can get a 128k connection. Usually you won't spend too much more for ISDN than you would for dual 56k connections, but since ISDN actually connects at 64k, it'll be a lot faster. 2.) DSL. If available, it's always on, and generally the same price or cheaper than ISDN. Just make sure you get a DSL router with an ethernet jack instead of a USB DSL modem. AFAIK, DSL dongles aren't supported by FreeBSD. 3.) Partial or Full T1. Absolute fastest connection of the three, but also the most expensive. This is total overkill for most small businesses. Hope that helps. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.1 on a Laptop
D Velez wrote: Hi, I was wondering if FreeBSD 5.1 can be install on a laptop? I've been running 5.1-RELEASE on my IBM Thinkpad A30p for 4 or 5 months now. I like it a lot. It's was a bit trickier to get installed than 4.8-RELEASE, but once it's installed it works well. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disklabel problem IBM SCSI3 disks, vinum too
At 07:30 PM 11/21/2003, you wrote: [Format recovered--see http://www.lemis.com/email/email-format.html] Quotation broken. On Friday, 21 November 2003 at 9:25:58 -0500, Bob Collins wrote: At 08:41 PM 11/19/2003, Greg 'groggy' Lehey wrote: [Format recovered--see http://www.lemis.com/email/email-format.html] Quotation broken. On Wednesday, 19 November 2003 at 9:13:43 -0500, Bob Collins wrote: At 10:46 PM 11/17/2003, Greg 'groggy' Lehey wrote: Do you have device nodes for da4? Has it been labelled at all? I did not have `all' the nodes for da4 in /dev. So, I ran #sh MAKEDEV da4 in the /dev directory. After that, there were what appeared to be all the device nodes for da4. I was able to label the drive and use it with vinum under 5.0-RELEASE FWIW. Under 4.9-RELEASE (which is what I now run) it will not label through /stand/sysinstall. I can now newfs the drive and mount it and copy files to and fro, however I cannot use it with vinum. I did umount the drive and then disklabel -e da4 and changed the e: to h: and the filesystem type to vinum. It was da4s1e. When I create the vinum configuration, I either get that drive d (da4s1h) is referenced and in the down state while the other three drives are up, or the other three drives a b c are referenced and in the down state while drive d is up. I need the information I ask for in http://www.vinumvm.org/vinum/how-to-debug.html. FreeBSD 4.9 RELEASE No changes to sources vinum - list 4 drives: D d State: up Device /dev/da1s1h Avail: 0/8747 MB (0%) D c State: up Device /dev/da2s1h Avail: 0/8747 MB (0%) D b State: up Device /dev/da3s1h Avail: 0/8747 MB (0%) D a State: up Device /dev/da4s1h Avail: 0/8747 MB (0%) 1 volumes: V raid State: down Plexes: 1 Size: 25 GB 1 plexes: P raid.p0R5 State: init Subdisks: 4 Size: 25 GB 4 subdisks: S raid.p0.s0State: emptyPO:0 B Size: 8747 MB S raid.p0.s1State: emptyPO: 512 kB Size: 8747 MB S raid.p0.s2State: emptyPO: 1024 kB Size: 8747 MB S raid.p0.s3State: emptyPO: 1536 kB Size: 8747 MB This doesn't agree with what you say above. It also looks fine to me. Greg -- My apologies, Greg. Quite right. I was messing with the system right before the response about sa4 device nodes in /dev. Once I made the da4 devices, then the disklabel worked. My mistake jumping the gun. One follow-up question if I may. I assume that the init process for a RAID5 takes quite some time, no? This has been in the init stage for 3 days. The vinum daemon is running as I can see it listed in ps -ax. Thank you Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Modem
fbsd_user wrote: Read the FBSD handbook. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.ht Also, you might want to try kppp from the KDE project. It's a graphical front end to Kernal PPP (pppd), and I find that it's much easier to use than the CLI when I need to connect in a hurry on my laptop. I think it's probably a good idea to get user ppp (FreeBSD Handbook) working before switching to kppp though. That way you'll be able to debug easier. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
daemon monitoring
List, What are most of you using to monitor the running daemons? I have been loooking into DJB daemontools which seems appropriate, but are there any others that you reccomend? If DJB's daemontools is the one, could I get some more examples? I am primarily trying to keep my mail system online: postfix, cyrus, saslauthd, mysql, and spamassassin. Thanks for any input --will ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HD error: BAD SUPER BLOCK
Hello! Date: Fri, 21 Nov 2003 10:53:06 +0100 From: Robert Neumann [EMAIL PROTECTED] this is the problem: I had a machine running FreeBSD 4.7-Stable. There I added a 80GB harddisk. This harddrive I wanted to install on my other machine running FreeBSD 4.9-Release. This disk is ad6 so I added /dev/ad6/storageufs rw 2 2 to fstab and rebooted. Did I understand the situation right - the drive worked in 4.7 machine but the problem occurred when you moved it to the 4.9 machine? The above fstab entry doesn't look quite correct to me. The filesystem that you mount should usually be contained in a partition (e.g. /dev/ad6s1e) not on entire disk (/dev/ad6). If the drive worked in the 4.7 machine, what was the fstab entry there? While booting the kernel the following error came up: ... /dev/ad6: BAD SUPER BLOCK: MAGIC NUMBER WRONG /dev/ad6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY ** /dev/ad6 BAD SUPER BLOCK: MAGIC NUMBER WRONG /dev/ad6; NOT LABELED AS A BSD FILE SYSTEM (unused) I searched the intenet and found this way: fsck -b 32 which gives this output for /dev/ad6: ... BAD SUPER BLOCK: MAGIC NUMBER WRONG This all seems to hint that /dev/ad6 does not contain an UFS file system. the output of fdisk -t ad6 is the following: ... sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 160071597 (78159 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: 1023/ head 254/ sector 63; OK, there's a FreeBSD slice on the drive. the output of /stand/sysinstall -Configure-Fdisk-ad6 is: OffsetSize(ST) END Name PType Desc Subtype Flags 0 63 62 - 6 unused 0 63 160071597 160071659 ad6s1 3 freebsd 165 C 160071660 14868 160086527 - 6 unused 0 That seems to be the same slice as listed by fdisk. Note that is's called ad6s1. What is the output of 'disklabel ad6'? -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Testicle -- n., a humorous question to an exam. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ftp/ftpd and kerberos5
Why ftp and ftpd in FreeBSD 5.x does not support kerberos5 ? Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: advice needed on creating hmtl docs?
On Nov 23, 2003, at 9:22 AM, fbsd_user wrote: I would really like to use the ms/word docs as source input to some FBSD hmtl generator to build original hmtl source that apache can serve up natively. Can any body suggest how to do this? One approach I've had some success with is to take the baroque HTML that Word generates and run it through htmltidy. It can strip out all the deprecated tags and generate CSS styles for you, giving you both the appearance and the maintainability you may need later. -- Paul Beard paulbeard.no-ip.org/movabletype/ paulbeard [at] mac.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Boot manager clarification
Hi folks, I have 2 hard disks, each on their own channel. I have XOSL installed as my boot manager, in Drive 1, Partition 1. I have Windows 2000-Pro on Drive 1, Partition 2. I want to install FreeBSD 5.0 on Drive 2, but use XOSL to load it. Should I install FreeBSD using the Standard MBR option, or should I use the BootMgr option? I *think* I would want to use the standard, because it seems like the BootMgr option would install in the MBR of Disk 1 and NOT Disk 2, thereby goofing up XOSL (which is what I'm trying to avoid!). Thank you, Craig ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Novice needs advice building new kernel: UPG 4.7-RELEASE --- 4.9-RELEASE
Thanks in advance for the expert assistance: I'm *halfway* knowledgeable with my 4.7-RELEASE system. Built it on a 486/66 (16MB RAM) about a year ago. It's time to upgrade to 4.9-RELEASE. Here's what I've got so far: 1. Set the options in sysinstall to retrieve 4.9-RELEASE instead of 4.7-RELEASE 2. Used sysinstall to download the 4.9-RELEASE data via FTP 3. Tried to rebuild the kernel with the first process as documented 4. All steps proceed without error 5. Kernel size after last step is 0KB, so reboot fails. Fallback to kernel.old 6. GENERIC kernel installed with 4.9-RELEASE is kinda iffy - had to address several issues with 4.7 GENERIC to arrive at the kernel conf I am happy with under 4.7 7. Ran through kernel conf again to confirm no new gotchas and all required deviations for my setup were followed. Nothing looks fishy. Then: 1. Tried second procedure as documented 2. Failure at some point I don't recall due to physical memory or swap size How/why is this kernel ending up 0-sized with no error message? I played with the kernel protection as documented in the troubleshooting sections. Everything seems normal. Must I set kern_security level 0 before I begin? Or should I lean on the second process to make it work? The problem there being that I do not have a kernel that allows me to increase swap by creating a swap file :( Any help would be appreciated. Jeff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hard drive bench
Hi :) Is there a hard drive speed measurement available for FreeBSD ? I don't need anything fancy, just something like hdparm -t under Linux. Thanks. -- Antoine Jacoutot [EMAIL PROTECTED] http://www.lphp.org PGP/GnuPG key: http://www.lphp.org/ressources/ajacoutot.asc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Material
Hi, I am a student at Minot State University in Minot,ND. I work in the computer lab and was noticing all the posters that we have up are getting old and out dated. Some one mentioned to me FreeBSD (rocks). I have never heard about freebsd so I was wondering do you have any material that you could send me about FreeBSD. Maybe you could send me some posters to display in the lab. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: More info [was Re: Sony PCG-GRX570 laptop, panic on boot w/ 5.1R...]
George Hartzell wrote: George Hartzell writes: I've been trying to install something 5-ish on a Sony PCG-GRX570 laptop. I started off trying to boot off of the 5.1 release CD, normally, w/out acpi, and safe. Every option panic-ed, with essentially the same message (see below), although it followed a different driver depending on how it was booted. Then I installed 4.7 (since I had the CD), cvsup-ed my repository, and cvs up'ed /usr/src to the 5-current. I followed the section on moving from 4 to 5-current in UPDATING to build the world, etc I had to work around a bit of previously reported 4.7/5 weirdness in /usr/include, but it went w/out any trouble. When I reached the point where I was supposed to boot the new kernel in single user mode, the 5-current kernel paniced: miibus0: MII bux in fxp0 inphy0: i82562ET 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x63696d20 fault code = supervisor write, page not present instruction pointer = 0x8:0xc0659df3 stack pointer = 0x10:0xc0c217ac frame pointer = 0x10:0xc0c217cc code segment = base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) kernel: type 12 trap, code=0 Stopped at ithread_add_handler+0x163: movl %ebx,0(%eax) db I've seen several similar reports in the archives for late last summer. The general answer seemed to be that people were having hardware trouble. I don't think that is the case in my case, unless -current is doing something very strange, since the same machine runs well enough under 4.7 to buildworld and buildkernel, and the same hardware has been running Suse and Win2000. How can I help get this solved? It turns out that the 5.0 release CD also boots successfully, so it seems to be something that's happened in -current since then. Help? g. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED] I have a GRX570, the problem can be fixed by adding the following to your device.hints hw.pci.allow_unsupported_io_range=1 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: More info [was Re: Sony PCG-GRX570 laptop, panic on boot w/ 5.1R...]
Remington writes: George Hartzell wrote: George Hartzell writes: I've been trying to install something 5-ish on a Sony PCG-GRX570 laptop. I started off trying to boot off of the 5.1 release CD, normally, w/out acpi, and safe. Every option panic-ed, with essentially the same message (see below), although it followed a different driver depending on how it was booted. [...] [...] I have a GRX570, the problem can be fixed by adding the following to your device.hints hw.pci.allow_unsupported_io_range=1 Yay! That got it. Thanks! g. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
POLA violation?: snmp renumbering stuff
For some reason, my locally installed snmp daemons decided to renumber the elements in the hrStorageTable, meaning all the attached disks were being either misreported or just plain dropped from my graphs (paulbeard.no-ip.org/mrtg/blue/index.html). Not that the new numbering doesn't make sense but I didn't know this was going to happen. How to discover and fix it? snmptable is my friend. As shown here, the memory used by the kernel is listed first, followed by the disks. The disks were numbered starting at 1 before . . . . . [/www/mrtg/blue]# snmptable -c community name blue hrStorageTable SNMP table: HOST-RESOURCES-MIB::hrStorageTable hrStorageIndex hrStorageType hrStorageDescr hrStorageAllocationUnits hrStorageSize hrStorageUsed hrStorageAllocationFailures 1 HOST-RESOURCES-TYPES::hrStorageOther Memory Buffers 256 Bytes ? 192 0 2 HOST-RESOURCES-TYPES::hrStorageRam Real Memory 4096 Bytes ? 3241 ? 3 HOST-RESOURCES-TYPES::hrStorageVirtualMemory Swap Space 4096 Bytes ? 19625 ? 4 HOST-RESOURCES-TYPES::hrStorageFixedDisk / 1024 Bytes ? 83592 ? 5 HOST-RESOURCES-TYPES::hrStorageFixedDisk /usr 1024 Bytes ? 3639961 ? 6 HOST-RESOURCES-TYPES::hrStorageFixedDisk /var 1024 Bytes ? 8015 ? 7 HOST-RESOURCES-TYPES::hrStorageFixedDisk /proc 4096 Bytes ? 1 ? 8 HOST-RESOURCES-TYPES::hrStorageFixedDisk /usr/ports 512 Bytes ? 35548516 ? -- Paul Beard paulbeard.no-ip.org/movabletype/ paulbeard [at] mac.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
remote mount hangs sysstem
Is there a way to mount a cdrom or remote file systems using fstab but not having it crash out the system. example if i have a nfs share set up to another machine and that machine goes down the next time i reboot my system the machine hangs when it cannot find the share and will not allow me to do anything and i have to hook up a monitor and keyboard to get it back the same happens when there is an error on a cd rom ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hard drive bench
On Sun, Nov 23, 2003 at 08:58:54PM +0100, Antoine Jacoutot wrote: Hi :) Is there a hard drive speed measurement available for FreeBSD ? I don't need anything fancy, just something like hdparm -t under Linux. Thanks. Hi Antoine, check out bonnie from the ports tree and make sure the test files are at least the size of your RAM. Otherwise you'll be measuring the speed of the caching system, which is pretty fast on BSD. Cheers, Stefan -- Stefan A. Deutscher | Donostia International Physics Center | office: ++34-943-018174 Universidad del Pais Vasco, Facultad de Quimica | fax : ++34-943-015600 Departamento de Fisica de Materiales| home : ++34-943-270647 Apartado 1072, San Sebastian 20080, Spain | email : [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Postfix/procmail/fetchmail/spamassassin setup
Hello, I am having terrible time trying to figure out why I can't get any emails. I used to be able to receive them before, but since reinstalling FreeBSD (new harddrive), I am not able to get any emails again. I am using FreeBSD 5.1 - standalone computer with me as the sole user. With postfix, I want to use fetchmail to fetch mails and procmail to deliver them and spamassassin to examine them. I want the procmail/postfix to send them to /var/mail/manalive. Here are the configurations (username/password changed of course :) ) and let me know where I am doing wrong. There is no procmail.log file. I have stopped, started, and reloaded the postfix after configuring. Any other configurations you need to see, please let me know! Thanks! Jonas -- .fetchmailrc - set logfile /home/manalive/Logs/fetchmail.log set postmaster manalive set no bouncemail # Poll at 15 minute intervals set daemon 900 poll pop.mail.com proto POP3 user [EMAIL PROTECTED] pass password is manalive here fetchall no keep poll pop.mail.com proto POP3 user [EMAIL PROTECTED] pass password is manalive here no fetchall keep -- .forward - |IFS=' ' p=/usr/local/bin/procmail test -f $p exec $p -Yf- || exit 75 manalive --- .procmailrc SHELL=/bin/sh PATH=/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/sbin:/usr/games DEFAULT=/var/mail/manalive LOGFILE=/home/manalive/Logs/procmail.log VERBOSE=YES :0fw: spamassassin.lock * 100 | spamassassin --- fetchmail.log -- fetchmail: starting fetchmail 6.2.5 daemon fetchmail: 6.2.5 querying pop.mail.com (protocol POP3) at Sun Nov 23 13:12:33 2003: poll started fetchmail: POP3 +OK MAIL POP3 StreamProxy ready [EMAIL PROTECTED] fetchmail: POP3 CAPA fetchmail: POP3 -ERR Unknown command. fetchmail: Unknown command. fetchmail: Repoll immediately on [EMAIL PROTECTED]@pop.mail.com fetchmail: POP3 +OK GMX POP3 StreamProxy ready [EMAIL PROTECTED] fetchmail: POP3 USER [EMAIL PROTECTED] fetchmail: POP3 +OK May I have your password, please? fetchmail: POP3 PASS * fetchmail: POP3 +OK mailbox has 326 messages (1419792 octets) fetchmail: POP3 STAT fetchmail: POP3 +OK 326 1419792 fetchmail: 326 messages for [EMAIL PROTECTED] at pop.mail.com (1419792 octets). fetchmail: POP3 LIST 1 fetchmail: POP3 +OK 1 4551 fetchmail: POP3 RETR 1 fetchmail: POP3 +OK message follows fetchmail: reading message [EMAIL PROTECTED]@pop.mail.com:1 of 326 (4551 octets) fetchmail: smtp listener protocol error fetchmail: terminated with signal 15 fetchmail: starting fetchmail 6.2.5 daemon fetchmail: 326 messages for [EMAIL PROTECTED] at pop.mail.com (1419792 octets). fetchmail: reading message [EMAIL PROTECTED]@pop.mail.com:1 of 326 (4551 octets) fetchmail: SMTP connect to localhost failed fetchmail: SMTP transaction error while fetching from pop.mail.com fetchmail: Query status=10 (SMTP) fetchmail: 1 message for [EMAIL PROTECTED] at pop.mail.com (26611 octets). fetchmail: reading message [EMAIL PROTECTED]@pop.mail.com:1 of 1 (26611 octets) fetchmail: SMTP connect to localhost failed fetchmail: SMTP transaction error while fetching from pop.mail.com --- main.cf for postfix (with #lines removed) soft_bounce = no queue_directory = /var/spool/postfix command_directory = /usr/local/sbin daemon_directory = /usr/local/libexec/postfix mail_owner = postfix myhostname = ancient.mariner.sea myorigin = $mydomain inet_interfaces = all mydestination = $myhostname, localhost.$mydomain unknown_local_recipient_reject_code = 450 alias_maps = dbm:/etc/aliases home_mailbox = Mailbox mail_spool_directory = /var/mail mailbox_command = /usr/local/bin/procmail debug_peer_level = 2 sendmail_path = /usr/local/sbin/sendmail newaliases_path = /usr/local/bin/newaliases mailq_path = /usr/local/bin/mailq setgid_group = maildrop manpage_directory = /usr/local/man sample_directory = /usr/local/etc/postfix readme_directory = no -- rc.conf hostname=ancient.mariner.sea ifconfig_vr0=DHCP ipv6_enable=YES kern_securelevel_enable=NO saver=daemon sendmail_enable=NONE sshd_enable=YES usbd_enable=YES linux_enable=YES inetd_enable=NO -- /etc/aliases --- [among other things... I have included] root: manalive postfix: root ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: daemon monitoring
On Sun, Nov 23, 2003 at 10:52:48AM -0800, Will Prater wrote: List, What are most of you using to monitor the running daemons? I have been loooking into DJB daemontools which seems appropriate, but are there any others that you reccomend? If DJB's daemontools is the one, could I get some more examples? I am primarily trying to keep my mail system online: postfix, cyrus, saslauthd, mysql, and spamassassin. I would advise Nagios. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
usb digital camera
Hi, Is there some trick to using USB devices? I'm trying to access my Nikon coolpix 5000 (latest firmware PTP mode) from 4.9-STABLE with no luck. usbdevs sees the camera, as does gphoto2 --auto-detect. However, I'm unable to access the camera data with gphoto2 --auto-detect --summary (or via digikam or via konquerer). Having never done this before, I don't know if there is a usb config file I need to hack (usbd is running with unmodified usbd.conf). I've tried running as user root and saw no change. Any help appreciated. %grep usb /var/log/messages Nov 23 11:56:08 hnl /kernel: usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0 Nov 23 11:56:08 hnl /kernel: usb0: USB revision 1.0 % usbdevs -v Controller /dev/usb0: addr 1: self powered, config 1, UHCI root hub(0x), Intel(0x), rev 1.00 port 1 powered port 2 addr 2: self powered, config 1, NIKON DSC E5000-PTP(0x0113), Nikon(0x04b0), rev 1.00 Kent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remote mount hangs sysstem
On Nov 23, 2003, at 12:13 PM, RYAN vAN GINNEKEN wrote: Is there a way to mount a cdrom or remote file systems using fstab but not having it crash out the system. example if i have a nfs share set up to another machine and that machine goes down the next time i reboot my system the machine hangs when it cannot find the share and will not allow me to do anything and i have to hook up a monitor and keyboard to get it back the same happens when there is an error on a cd rom make sure the entry on /etc/fstab is set to noauto: then the client won't try to mount the filesystem on boot. -- Paul Beard paulbeard.no-ip.org/movabletype/ paulbeard [at] mac.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Running rbldnsd
Perhaps a bit off-topic, but since dynablock.easynet.nl's untimely demise, I have been running the dynablock zone in BIND. Works great, but takes a whopping 117MB! So, I tried using rbldnsd, which is about 10 times more memory-efficient (!). I created a zone, dynablock.my-domain.info, and added the zone-data, and start rbldns as follows: rbldnsd -u bind:bind -r /usr/rbldns -b 127.0.0.1 -P 53 -c 0 \ dynablock.my-domain.info:generic:zoneheader.dynablock.my-domain.info \ dynablock.my-domain.info:ip4set:dynablock.my-domain.info The zoneheader.dynablock.my-domain.info contains the following: $NS 86400 ns1.my-domain.info $SOA 1w ns1.my-domain.info admin.my-domain.info 0 2h 2h 1w 1h @ 86400 A 127.0.0.1 dsl-cable-dhcp-dialup.ip 86400 A 127.0.0.2 dsl-cable-dhcp-dialup.ip 86400 TXT Dynamic/Residential IP range Rbldsnd starts fine, without error, and says it loaded all zones: rbldnsd: ip4set:dynablock.my-domain.info: 20031123 174253: \ e32/24/16/8=372826/241350/1001/0 rbldnsd: generic:zoneheader.dynablock.my-domain.info: 20031123 183814: e=3 rbldnsd: version 0.96 (29 May 2003) started (listening on [127.0.0.1]:53) Yet, I cannot get any query to resolve on it: % nslookup 218.65.86.15.dynablock.my-domain.info *** Can't find server name for address 127.0.0.1: Query refused I guess I misconfigured the zoneheader somehow. But I do not see how. Is there anyone out there with a working knowledge of rbldns who can tell me what I am doing wrong? It manages load load the whole dynablock zone in less than 8MB (!), so it is worth trying to get to work, I'd say. Thanks, - Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
virus
Somebody on this list has mimail virus could you all please scan your windows computers. I've got about 100 of them in the last 4 days. Hint I did NOT get any after yesterday morning until this morning so if your computer was off most of the day yesterday you're probably the one. Thanks in advance for your help. Jackie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remote mount hangs sysstem
RYAN vAN GINNEKEN wrote: Is there a way to mount a cdrom or remote file systems using fstab but not having it crash out the system. example if i have a nfs share set up to another machine and that machine goes down the next time i reboot my system the machine hangs when it cannot find the share and will not allow me to do anything and i have to hook up a monitor and keyboard to get it back the same happens when there is an error on a cd rom ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Use the background (-b or bg) and interruptible (-i or intr) options, along with a reasonable timeout. See man mount_nfs for the specifics. Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remote mount hangs sysstem
So if i set to noauto does it still get mounted or do i have to execute a command later paul beard wrote: On Nov 23, 2003, at 12:13 PM, RYAN vAN GINNEKEN wrote: Is there a way to mount a cdrom or remote file systems using fstab but not having it crash out the system. example if i have a nfs share set up to another machine and that machine goes down the next time i reboot my system the machine hangs when it cannot find the share and will not allow me to do anything and i have to hook up a monitor and keyboard to get it back the same happens when there is an error on a cd rom make sure the entry on /etc/fstab is set to noauto: then the client won't try to mount the filesystem on boot. -- Paul Beard paulbeard.no-ip.org/movabletype/ paulbeard [at] mac.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix/procmail/fetchmail/spamassassin setup
Hi, could you please verfiy your postfix configuration using `postfix check'? Perhaps this will show some errors. Other hints: Check /var/log/maillog (and post some lines from the tail if you still can fix your problem). Is the postfix daemon listening on port 25? Are you able to telnet there: % telnet localhost 25 Simon signature.asc Description: Digital signature
Re: Disklabel problem IBM SCSI3 disks, vinum too
[Format recovered--see http://www.lemis.com/email/email-format.html] Single-line paragraphs. On Sunday, 23 November 2003 at 13:03:47 -0500, Bob Collins wrote: At 07:30 PM 11/21/2003, you wrote: On Friday, 21 November 2003 at 9:25:58 -0500, Bob Collins wrote: vinum - list 4 drives: D d State: up Device /dev/da1s1h Avail: 0/8747 MB (0%) D c State: up Device /dev/da2s1h Avail: 0/8747 MB (0%) D b State: up Device /dev/da3s1h Avail: 0/8747 MB (0%) D a State: up Device /dev/da4s1h Avail: 0/8747 MB (0%) 1 volumes: V raid State: down Plexes: 1 Size: 25 GB 1 plexes: P raid.p0R5 State: init Subdisks: 4 Size: 25 GB 4 subdisks: S raid.p0.s0State: emptyPO:0 B Size: 8747 MB S raid.p0.s1State: emptyPO: 512 kB Size: 8747 MB S raid.p0.s2State: emptyPO: 1024 kB Size: 8747 MB S raid.p0.s3State: emptyPO: 1536 kB Size: 8747 MB This doesn't agree with what you say above. It also looks fine to me. My apologies, Greg. Quite right. I was messing with the system right before the response about sa4 device nodes in /dev. Once I made the da4 devices, then the disklabel worked. My mistake jumping the gun. One follow-up question if I may. I assume that the init process for a RAID5 takes quite some time, no? This has been in the init stage for 3 days. The vinum daemon is running as I can see it listed in ps -ax. This is the init state, which means it needs initializing. To initialize, issue the 'init' command. The state will change from 'init' to 'initializing', and the list command shows the progress of the initialization. This writes zeroes to the drives in parallel; expect it to take an hour or two on drives of this size. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature
Re: usb digital camera
On Sun, Nov 23, 2003, Kent Hauser wrote: Hi, Is there some trick to using USB devices? I'm trying to access my Nikon coolpix 5000 (latest firmware PTP mode) from 4.9-STABLE with no luck. I've found the easiest way to deal with digital cameras is to buy the appropriate USB flash memory adapter. They typically have an MSRP around $20.00 US. I also have a PCMCIA smartmedia adapter for my laptop that I bought about three year ago when Linux support for USB was iffy at best. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ Cutting the space budget really restores my faith in humanity. It eliminates dreams, goals, and ideals and lets us get straight to the business of hate, debauchery, and self-annihilation. -- Johnny Hart ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remote mount hangs sysstem
On Nov 23, 2003, at 1:31 PM, RYAN vAN GINNEKEN wrote: So if i set to noauto does it still get mounted or do i have to execute a command later sure, just use mount /mount/point If the fstab works now, you won't need to do anything else. There may be more sophisticated ways (automounters and such that mount the filesystem as you traverse into it) but I've never used them. man 8 amd, for example. DESCRIPTION Amd is a daemon that automatically mounts filesystems whenever a file or directory within that filesystem is accessed. Filesystems are automati- cally unmounted when they appear to be quiescent. -- Paul Beard paulbeard.no-ip.org/movabletype/ paulbeard [at] mac.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix/procmail/fetchmail/spamassassin setup
could you please verfiy your postfix configuration using `postfix check'? Perhaps this will show some errors. No errors. Other hints: Check /var/log/maillog (and post some lines from the tail if you still can fix your problem). A'ha! What do I do here to fix this? (I think I should have changed the alias database from alias_maps = dbm:/etc/aliases to alias_maps = hash:/etc/aliases - or should that be nis or netinfo?) Here is the output: -- Nov 23 14:44:12 ancient postfix/master[69957]: warning: process /usr/local/libexec/postfix/smtpd pid 81358 exit status 1 Nov 23 14:44:12 ancient postfix/master[69957]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling Nov 23 14:45:12 ancient postfix/smtpd[81362]: fatal: unsupported dictionary type: dbm Nov 23 14:45:13 ancient postfix/master[69957]: warning: process /usr/local/libexec/postfix/smtpd pid 81362 exit status 1 Nov 23 14:45:13 ancient postfix/master[69957]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling Nov 23 14:46:13 ancient postfix/smtpd[81363]: fatal: unsupported dictionary type: dbm Nov 23 14:46:14 ancient postfix/master[69957]: warning: process /usr/local/libexec/postfix/smtpd pid 81363 exit status 1 Nov 23 14:46:14 ancient postfix/master[69957]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling Nov 23 14:47:14 ancient postfix/smtpd[81367]: fatal: unsupported dictionary type: dbm Nov 23 14:47:15 ancient postfix/master[69957]: warning: process /usr/local/libexec/postfix/smtpd pid 81367 exit status 1 Nov 23 14:47:15 ancient postfix/master[69957]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling Is the postfix daemon listening on port 25? Are you able to telnet there: % telnet localhost 25 Telnet'd with no problems. Simon Best regards, Jonas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: booting freebsd and openbsd
Paulo Roberto [EMAIL PROTECTED] writes: I got 4.9 installed on my machine and I need to be able to dual-boot freebsd and openbsd. The freebsd boot-loader recognizes (F2 BSD) but does not boot the openbsd partition. Do I have to set any extra parameter? Funny, I didn't think that should be a problem. What partition type is OpenBSD creating? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb digital camera
On Mon, 24 Nov 2003 09:02 am, Kent Hauser wrote: usbdevs sees the camera, as does gphoto2 --auto-detect. However, I'm unable to access the camera data with gphoto2 --auto-detect --summary (or via digikam or via konquerer). I used to use gphoto to read my photos, but these days I just have a compact flash card reader plugged in via usb, it lets you browse/view/copy your photos just like they were on a floppy, much easier, simpler, and faster. You can even write a script to automate it, so plugging in your usb card reader automounts your photos somewhere. Jacob RhodenPhone: +61 3 8344 4478 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fsck error messages don't get logged?
Herculano de Lima Einloft Neto [EMAIL PROTECTED] writes: I just had a crash, and upon reboot fsck displayed these gnarly errors that went by too quick for me to read, my different display lines settings loading on the console making it worse. So I thought, allright, just dmesg. Nothing about the errors there. /var/log/messages? nothing either. Don't these messages get logged anywhere? This is all I get.. They're usually interactive. (..) Nov 23 12:34:29 localhost kernel: Mounting root from ufs:/dev/ad0s4a Nov 23 12:34:29 localhost kernel: WARNING: / was not properly dismounted Nov 23 12:34:29 localhost kernel: ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging disabled (..) Thanks in advance for any help, You can't scroll the window back to the messages? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remote mount hangs sysstem
this is my fstabs file could you please explain where i enter and set values for the -R and -b options # See the fstab(5) manual page for important information on automatic mounts # of network filesystems before modifying this file. # # DeviceMountpoint FStype Options Dump Pass# /dev/ad0s2b noneswapsw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s4e /usrufs rw 2 2 /dev/ad0s3e /varufs rw 2 2 proc/proc procfs rw 0 0 #-- #remote mounts #-- v21.higcoup.ca:/usr/src /mnt/v21.highcoup.ca/usr/src nfs r noauto0 0 v21.higcoup.ca:/usr/local/ect /mnt/v21.highcoup.ca/usr/local/etc nfs r noauto0 0 #-- Scott W wrote: RYAN vAN GINNEKEN wrote: Is there a way to mount a cdrom or remote file systems using fstab but not having it crash out the system. example if i have a nfs share set up to another machine and that machine goes down the next time i reboot my system the machine hangs when it cannot find the share and will not allow me to do anything and i have to hook up a monitor and keyboard to get it back the same happens when there is an error on a cd rom ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Use the background (-b or bg) and interruptible (-i or intr) options, along with a reasonable timeout. See man mount_nfs for the specifics. Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Monitoring a file?
Cordula's Web [EMAIL PROTECTED] writes: I've finally found the culprit with a traditional method: * md5 (binary from an uncompromised machine) on all files * reinstalling from scratch (not buildworld, but really installing from FTP) * md5 again and diff. [snip] Ugh... system clean again at last. :) You can't be sure. The attacker probably put an suid binary somewhere besides the normal system binaries, in which case it's still there and you may still be vulnerable. When you know you've been hacked, you need to wipe the disk and *really* reinstall from scratch. And be very careful about what you restore from backups, too. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
while I have your attention... Names, copyright and IPv6
Hi all, given how clearly you-all answered my query about 'hostname' (thanks folks) I thought I'd chance my luck. so, let me get this straight... in the IPv4 world there is this thing called DNS and domain names... I can buy my self a name off a name vendor - eg. bergen.org... I then get to own that name... so, Question 1) where does the DNS record for that name reside? with my ISP? with the name vendor? lets say I have a network and wish to name the boxen depending on the OS running on them thus... microsoft.bergen.org SCO.bergen.org Sun.bergen.org Question 2) where do those DNSrecord reside? Question3) surely I'm breaking copyright or trademark laws here? whats to stop me being sued? for that matter, whats to stop vexatious litigation? and what about the name brokers? do they have legal responsibilities? and if I run DNS server on my network am I then a name provider for myself and have to worry about litigation? Question4) or to put it another way, what is the relationship between trademark control institutions and name brokers? -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Monitoring a file?
I've finally found the culprit with a traditional method: * md5 (binary from an uncompromised machine) on all files * reinstalling from scratch (not buildworld, but really installing from FTP) * md5 again and diff. [snip] Ugh... system clean again at last. :) You can't be sure. The attacker probably put an suid binary somewhere besides the normal system binaries, in which case it's still there and you may still be vulnerable. When you know you've been hacked, you need to wipe the disk and *really* reinstall from scratch. And be very careful about what you restore from backups, too. I've inherited a set of 280 1U rack mount boxes, and I am in the process of reinstalling from scratch every single server. Started with infrastructure (DNS and firewalls), then working down to every server with a fresh FTP install from the first recovered box. Yes, newfs everything, and recompiling _all_ binaries from scratch. I even reconfigured VLANs on the switches to avoid man-in-the-middle attacks like tcp hijacking, while ftp installing, and locked the subnets to these racks until everything's restored. The only backups were databases in SQL and LDIF format and lots of text data. No binaries and no compromised sources to recover from. Of course, the data could've been hacked too, but that would take more time to fix. I've only checked (and cleaned!) authorization and authentication data so far. Sometimes, small incidents trigger major reconfigurations. Good that this happened before monday! ;) Thank you. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (Semi)hot swap IDE
On Sun, Nov 23, 2003 at 01:16:50PM +0200, Toomas Aas wrote: 1. The 'generic' removeable drive trays for IDE that use a normal IDE controller (like attaching to the slave or secondary channel on most onboard IDE), with another disk or device attached that's being used, do not support removeable devices. It's _extremely_ likely that you'll hang the IDE bus. If there is only CD-ROM (which is almost never used) attached as primary master and the removable disk attached as secondary master then maybe I don't need to worry too much about that. Just for the record I have the kind of setup you're talking about - I successfully 'hot swapped' a 40Gb IDE disk using a hdd caddy tray but there are caveats (mostly highlighted above) - using the term 'hot swap' loosely here because it just doesn't feel too clever doing it :P I found the following: - I could remove/reinsert the device only if it was originally in the machine on boot - this is fairly obvious I suppose. Otherwise the device just doesn't show up. - I could re-insert the device successfully but only if I'd umounted it first before removing it. - Removing the disk without umounting produced random results - sometimes the disk could be re-inserted ok, other times not, as the previous poster mentioned the IDE controller appears to hang. For the record iirc the disk was attached to the secondary ide controller with a hdd and a cdrom drive on the first ide controller. Best thing is to play - doesn't make as much noise (or smoke) as hot-swapping PCI cards! -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
order in fstab and md/mfs
Hello, Today I noticed my mfs on /tmp not mounting properly, because of the order of the entries in fstab. Mfs can't be mounted too early. Is this meant to be or should there be a second stage for this mount, just like nfs mounts which are deferred until after the network is up. I saw it is documented in one line in 'man fstab', that order is important, but not many examples about this. Running 5.2-BETA cvsupped today on P-II 400Mhz (UP), 256 MB, IDE. Ronald. -- Ronald Klop Amsterdam, The Netherlands ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: remote mount hangs sysstem
RYAN vAN GINNEKEN wrote: this is my fstabs file could you please explain where i enter and set values for the -R and -b options # See the fstab(5) manual page for important information on automatic mounts # of network filesystems before modifying this file. # # DeviceMountpoint FStype Options DumpPass# /dev/ad0s2b noneswapsw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s4e /usrufs rw 2 2 /dev/ad0s3e /varufs rw 2 2 proc/proc procfs rw 0 0 #-- #remote mounts #-- v21.higcoup.ca:/usr/src /mnt/v21.highcoup.ca/usr/srcnfs r noauto0 0 v21.higcoup.ca:/usr/local/ect /mnt/v21.highcoup.ca/usr/local/etcnfs r noauto 0 0 change this: v21.higcoup.ca:/usr/src /mnt/v21.highcoup.ca/usr/src nfs r noauto0 0 to: v21.higcoup.ca:/usr/src /mnt/v21.highcoup.ca/usr/src nfs r,bg,intr 0 0 and likewise for the second NFS entry...you should still specifiy a timeout, but you'll have to decide on one..and the system will boot with those options with the NFS server down.. Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mounting windows FS questions
Hi all, I have a dual boot machine Win2k + BSD... obviously I can mount the windows partition under BSD. can I mount the BSD partition(s) under windows? I have been told that writing to the windows partition from BSD is kinda dubious. why is this? is it possible to work around this? -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: order in fstab and md/mfs (extra info)
On Mon, 24 Nov 2003 01:02:09 +0100, Ronald Klop ronald_at_echteman_dot_nl wrote: Hello, Today I noticed my mfs on /tmp not mounting properly, because of the order of the entries in fstab. Mfs can't be mounted too early. Is this meant to be or should there be a second stage for this mount, just like nfs mounts which are deferred until after the network is up. I saw it is documented in one line in 'man fstab', that order is important, but not many examples about this. Running 5.2-BETA cvsupped today on P-II 400Mhz (UP), 256 MB, IDE. It still fails with: mfs: mdconfig (attach) exited with error code 1 Mounting /etc/fstab filesystems failed, startup aborted Any hints? Same experiences? Ronald. -- Ronald Klop Amsterdam, The Netherlands ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ooops - Re: while I have your attention... Names, copyright and IPv6
Ooops... I forgot the most important part of my question... IPv6 how does this all work under IPv6? is the IPv6 domain name allocation as fully fledged as teh IPv4 services? I.e. are there and what are the restrictions on who can set up a name broker service for IPv6? what are the likely gottchas? -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: while I have your attention... Names, copyright and IPv6
Question 1) where does the DNS record for that name reside? with my ISP? with the name vendor? Let's assume that the name is bergen.org. bergen.org is stored in three places: * the registry for .org (http://www.pir.org/) points bergen.org to a registrar. * the registrar pointed to by the registry contains the name, along with your contact data, and DNS nameservers. * the DNS nameservers for bergen.org will answer queries to everything related to *.bergen.org. The name vendor registers your name with a registrar, which in turn registers the name with its registry (for org, its PIR, for .com and .net it's VeriSign, and for ccTLDs like .fr, .de. ,us, ... its the national registry for that country). Now, the registry responsible for e.g. .org will use the information stored to configure the DNS name servers for .org by adding name server records for bergen.org. In other words, the .org name servers are configured to point to the DNS nameservers for bergen.org. lets say I have a network and wish to name the boxen depending on the OS running on them thus... microsoft.bergen.org SCO.bergen.org Sun.bergen.org Question 2) where do those DNSrecord reside? On the nameservers of bergen.org. These are the name servers you configured at your registrar when you manage your domain. Question3) surely I'm breaking copyright or trademark laws here? whats to stop me being sued? for that matter, whats to stop vexatious litigation? and what about the name brokers? do they have legal responsibilities? and if I run DNS server on my network am I then a name provider for myself and have to worry about litigation? You are totally responsible for respecting coyright and trademark laws. Registrars (and registries) are not responsible for this. In the agreements you electronically sign, you confirm that you are responsible for the names that you choose. If a company discovers that you've registered their name in your name, they'll contact you (using the admin address contact that you submitted at your registrar), and will require you to return or give them this name. You would then agreen to a transfer of domain to the company, if you think that their claim is justified. But if you disagree, you'd enter a formalized procedure called UDRP (Uniform Domain Resolution Policy) so solve the issue: http://www.icann.org/udrp/udrp.htm but be careful: nothing prevents a legal name owner for suing you anyway, and you'll have to prove that you acquired/registered the name in good faith. So don't register ibm.com [if it were not already registered!] :-) Question4) or to put it another way, what is the relationship between trademark control institutions and name brokers? I don't know an answer to this. I'd just assume that there are no relationships at all, and that you are responsible for the names that you acquire, from whatever source (name brokers, or self registration). Of to put in another way: the domain namespace is not directly related to the trademark, or registered mark namespace; but generally, TM or (R)'s have precedence over DNS domain names. You would need to seek legal assistance here, if you are not sure about the status of a DNS name! Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
telnet and ssh problem.
Hi Every body; I have a FreeBSD Server. It has telnet and ssh up. They work, but not properly. When I ssh to the server or telnet from Linux shell by each Enter I see the following message: bash: \033]0;[EMAIL PROTECTED]:${PWD/#$HOME/~}\007: bad substitution But when I telnet from Windows no such error is shown, but obviously the terminal does not work properly, especially when using things like less, vim and ... I would be thankful if someone help me. Yours, Mohammad H. Falaki. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vinum configuration
Hello, Trying to get vinum going on a 5.1 machine, with two IDE 40 gb hard drives at the moment, two more will be added later once i know my setup is working. Below are my disklabels for ad0s1 and ad1s1 as well as the vinum configuration. I need to know if all of this is right and if not what is not up? Also, how do i get the data from one drive to the other? As of now drive2 is empty. Thanks. Dave. # # bsdlabel ad0s1 |more # /dev/ad0s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 245760 10485764.2BSD 2048 16384 15368 b: 1048295 281 swap c: 781561620unused0 0 # raw part, don't edit d: 245760 12943364.2BSD 2048 16384 15368 e: 204800 15400964.2BSD 2048 16384 12808 f: 6291456 17448964.2BSD 2048 16384 28552 g: 70119810 80363524.2BSD 2048 16384 28552 h: 78156146 16 vinum # bsdlabel ad1s1 |more # /dev/ad1s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] b: 10485760 swap c: 781561620unused0 0 # raw part, don't edit d: 245760 10485764.2BSD 2048 16384 15368 e: 204800 12943364.2BSD 2048 16384 12808 f: 204800 14991364.2BSD 2048 16384 12808 g: 6291456 17039364.2BSD 2048 16384 28552 h: 70160770 79953924.2BSD 2048 16384 28552 # more /etc/vinum.conf drive Vinum1 device /dev/ad0s1h volume root setupstate plex org concat sd len 245760s driveoffset 1048576s volume home setupstate plex org concat sd len 70119810s driveoffset 8036352s volume swap setupstate plex org concat sd len 1048295s driveoffset 281s volume tmp setupstate plex org concat sd len 204800s driveoffset 1540096s volume var setupstate plex org concat sd len 245760s driveoffset 1294336s volume usr setupstate plex org concat sd len 6291456s driveoffset 1744896s # vinum vinum - list 1 drives: D Vinum1State: up /dev/ad0s1h A: 38162/38162 MB (100%) 6 volumes: V root State: up Plexes: 1 Size: 0 B V home State: up Plexes: 1 Size: 0 B V swap State: up Plexes: 1 Size: 0 B V tmp State: up Plexes: 1 Size: 0 B V var State: up Plexes: 1 Size: 0 B V usr State: up Plexes: 1 Size: 0 B 6 plexes: P root.p0 C State: up Subdisks: 0 Size: 0 B P home.p0 C State: up Subdisks: 0 Size: 0 B P swap.p0 C State: up Subdisks: 0 Size: 0 B P tmp.p0 C State: up Subdisks: 0 Size: 0 B P var.p0 C State: up Subdisks: 0 Size: 0 B P usr.p0 C State: up Subdisks: 0 Size: 0 B 0 subdisks: vinum - # ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: while I have your attention... Names, copyright and IPv6
paul van den bergen wrote: Hi all, given how clearly you-all answered my query about 'hostname' (thanks folks) I thought I'd chance my luck. so, let me get this straight... in the IPv4 world there is this thing called DNS and domain names... I can buy my self a name off a name vendor - eg. bergen.org... I then get to own that name... so, Question 1) where does the DNS record for that name reside? with my ISP? with the name vendor? Well, the short version is there are several 'root servers' which anyone running BIND/DNS should laready have a list of- they are the initially consulted servers with respect to which servers are 'authoritative' for a given TLD(Top level domain, eg .com, .net, .edu, ) If you registered a .org domain, one of the TLD Domain servers for .org would be queried, and then down to your domain, eg bergen.org, which would point to who is registered as being Authoritative for the bergen.org domain. This is generally handled when you register the domain name- you're given the option in many cases to have the registrar (eg, Network Solutions, GoDaddy.com (sucky name, but very inexpensive domain registrations), etc) handle DNS for your domain, or to specify your own name servers (which can be hosted by yourself, or someone that has agreed to providfe DNS services for your domain(s)). In theory, and generally in practice, these changes can take up to ~12 hours or so to propgate, up to 48-72 hours to propogate your DNS records to the rest of the nameservers online. lets say I have a network and wish to name the boxen depending on the OS running on them thus... microsoft.bergen.org SCO.bergen.org Sun.bergen.org Question 2) where do those DNSrecord reside? On whomever is authoritative for the bergen.com domain. type at a Unix prompt: dig bergen.org and you'll see the system ns.bergen.org is Authoritative for that domain...although you may want to do a 'dig bergen.com' for comparison :-) Question3) surely I'm breaking copyright or trademark laws here? whats to stop me being sued? for that matter, whats to stop vexatious litigation? and what about the name brokers? do they have legal responsibilities? and if I run DNS server on my network am I then a name provider for myself and have to worry about litigation? This is a grey area (surprise), with both the Trademark owners as well as the 'little people' winning in various cases. AFAIK, I haven't seen anyone go to court over the hostname portion of their site- remember, 'the Net as we know it' has now almost been reduced to simply ftp.domain.TLD and www.domain.TLD at this point, with 'the world at large' rarely using hostnames other than ftp or www. Also, see: http://www.networksolutions.com/en_US/help/legal-info.jhtml and http://www.networksolutions.com/en_US/help/domain-magistrate.jhtml for some info on domain disputes, or Google for 'domain disputes' Question4) or to put it another way, what is the relationship between trademark control institutions and name brokers? See above, it's still being figured out ;-) Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: telnet and ssh problem.
[EMAIL PROTECTED] wrote: Hi Every body; I have a FreeBSD Server. It has telnet and ssh up. They work, but not properly. When I ssh to the server or telnet from Linux shell by each Enter I see the following message: bash: \033]0;[EMAIL PROTECTED]:${PWD/#$HOME/~}\007: bad substitution But when I telnet from Windows no such error is shown, but obviously the terminal does not work properly, especially when using things like less, vim and ... I would be thankful if someone help me. Yours, Mohammad H. Falaki. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Sounds like a classic terminal emulation issue. On your Linux system, do: export TERM=xterm and then telnet or ssh in. Let me guess, you're using a 'funky' terminal like GNOME Terminal or KTerm? Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fsck error messages don't get logged?
Lowell Gilbert wrote: You can't scroll the window back to the messages? I just found out about Scroll Lock, checking better.. was convinced I had some sort of keyboard problem because Shft-PgUp never worked :). Well, tough luck.. I had already booted again, so the messages are gone. It would be nice to have them logged. Thanks, -- Herculano de Lima Einloft Neto ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ooops - Re: while I have your attention... Names, copyright and IPv6
paul van den bergen wrote: Ooops... I forgot the most important part of my question... IPv6 how does this all work under IPv6? is the IPv6 domain name allocation as fully fledged as teh IPv4 services? I.e. are there and what are the restrictions on who can set up a name broker service for IPv6? what are the likely gottchas? Paul- AFAIK, IPv6 is in fact enabled/capable in BIND currently, but no one uses it- IPv6 will be a LONG time in coming to everyone, with the major challenge being a 'transition phase' where devices (routers for a prime example) are able to handle both ipv4 and ipv6...without that, ipv6 is useless outside of 'playing with it locally.' This shouldn't have any effect on name registrations, they will just eventually map to both ipv4 AND ipv6 addresses.. Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting windows FS questions
paul van den bergen wrote: Hi all, I have a dual boot machine Win2k + BSD... obviously I can mount the windows partition under BSD. can I mount the BSD partition(s) under windows? I have been told that writing to the windows partition from BSD is kinda dubious. why is this? is it possible to work around this? Unsure if there's anything to mount BSD partitions from within Windows- I wouldn't be surprised, but as Windows uses broken/different permissions and file attributes, I wouldn't really want to do this. For mounting Windows filesystems, you can mount fat/vfat/fat32 partitions all day long read-write, but NTFS uses some sort of sequence IDs in their file attributes, which if ignored or screwed up, can cause serious issues on the filesystemso in short, I don't mount NTFS read/write ;-) Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPv6
how does this all work under IPv6? is the IPv6 domain name allocation as fully fledged as teh IPv4 services? I.e. are there and what are the restrictions on who can set up a name broker service for IPv6? what are the likely gottchas? I don't know for sure here, so please take this with a grain of salt: IPv6 addresses are represented by instead of A records in DNS nameservers. Right now, I think that you can only point .org (and other [cc]TLD) nameservers to nameservers residing on an IPv4 address [anyone correct me if I'm wrong here]. But you could always configure your nameservers (let's say ns1.bergen.org, ns2.bergen.org) to return IPv6 addresses to some names, by adding records to them. But since IPv6 names are not (yet) globally routed on the Internet, this will have local meaning only (e.g. on an intranet). Generally speaking: IPv4 and IPv6 addresses are _never_ allocated by name brokers or DNS systems. They reside at a much lower level, which has nothing to do with _names_. If you connect to the Internet, your upstream provider(s) will assign to you IPv4 address blocks automatically. You would normally not be able to influence this, because it is deeply intertwined with the routing protocols that all network operators use to transmit data on the Internet. You may ask how network operators get their IP address blocks. Check out IANA: http://www.iana.org/ especially: http://www.iana.org/ipaddress/ip-addresses.htm -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hard drive bench
On Sunday, 23 November 2003 at 23:01:21 +, Stefan A. Deutscher wrote: On Sun, Nov 23, 2003 at 08:58:54PM +0100, Antoine Jacoutot wrote: Hi :) Is there a hard drive speed measurement available for FreeBSD ? I don't need anything fancy, just something like hdparm -t under Linux. check out bonnie from the ports tree and make sure the test files are at least the size of your RAM. Otherwise you'll be measuring the speed of the caching system, which is pretty fast on BSD. Bonnie is for measuring system throughput, not disks. Try rawio for disks alone. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature
Re: while I have your attention... Names, copyright and IPv6
microsoft.bergen.org SCO.bergen.org Sun.bergen.org Question3) surely I'm breaking copyright or trademark laws here? whats to stop me being You are totally responsible for respecting coyright and trademark laws. Registrars (and registries) are not responsible for this. In the agreements you electronically sign, you confirm that you are responsible for the names that you choose. If a company discovers that you've registered their name in your name, they'll contact you (using the admin address contact that you submitted at your registrar), and will require you to return or give them this name. You would then agreen to a transfer of domain to the company, if you think that their claim is justified. But if you disagree, you'd enter a formalized procedure called UDRP (Uniform Domain Resolution Policy) so solve the issue: http://www.icann.org/udrp/udrp.htm but be careful: nothing prevents a legal name owner for suing you anyway, and you'll have to prove that you acquired/registered the name in good faith. So don't register ibm.com [if it were not already registered!] :-) The UDRP applies only to top level names, like bergen. Using trademarks from within your own domain name (as in SCO.bergen.org) does completly fall within your responsibility. Technically, the legal name owners could sue you for infrigement, but it's not clear how the courts would decide on a case-by-case basis. Add to this widely differing legislations all around the world, you're absolutely uncertain here. You should really seek legal advice to be sure. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: daemon monitoring
Sorry, I mispoke. I will be using Nagios to monitor, but I need to make sure they will restart if there is an error. Will nagios do this as well? Thanks On Nov 23, 2003, at 1:57 PM, Alex de Kruijff wrote: On Sun, Nov 23, 2003 at 10:52:48AM -0800, Will Prater wrote: List, What are most of you using to monitor the running daemons? I have been loooking into DJB daemontools which seems appropriate, but are there any others that you reccomend? If DJB's daemontools is the one, could I get some more examples? I am primarily trying to keep my mail system online: postfix, cyrus, saslauthd, mysql, and spamassassin. I would advise Nagios. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --will ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum configuration
On Sunday, 23 November 2003 at 19:15:30 -0500, dave wrote: Hello, Trying to get vinum going on a 5.1 machine, with two IDE 40 gb hard drives at the moment, two more will be added later once i know my setup is working. Below are my disklabels for ad0s1 and ad1s1 as well as the vinum configuration. I need to know if all of this is right and if not what is not up? Also, how do i get the data from one drive to the other? As of now drive2 is empty. So is drive Vinum1 from Vinum's point of view. # more /etc/vinum.conf drive Vinum1 device /dev/ad0s1h volume root setupstate plex org concat sd len 245760s driveoffset 1048576s You haven't told Vinum where to put the subdisk. You must have received an error message telling you about that. The result is correct: 0 subdisks: vinum - That's not your question, but I'm surprised it isn't. To your question: if you add a second plex, it'll come up in corrupt or some such state. With 'start plex.p1' (for example) you can bring it up, which involves copying the data. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature
RE: NEED_FIRST NEED_LAST
From one computer lab monitor to another, BSD is good stuff. I've recently wiped my RH 9.0 machine to install BSD on the recommendation of one of my professors and now most of the advanced lab machines are running it, much to the delight of the users. Key points: 1.) The ports collection. Forget searching around the web for some package, downloading it, ./configuring it, all that junk. With the bsd ports collection, stored in /usr/ports, you cd to the directory of the application you want to install and make install clean. Build and run dependancies are checked and (more often then not) taken care of, and the program is installed and integrated into your system. Same applies for deinstalling. More info and a listing/search of current ports at freebsd.org/ports 2.) Stability. freeBSD may not be the most cutting edge build out there, considering it's unix, not linux (and thus requires linux emulation packages), but it's probably one of the most stable and secure. 3.) Community. I, for one, would get quite frustrated when looking for linux info that pertained to MY SPECIFIC DISTRO. It wasn't enough to just search for info on linux.. The community seems to be much more centralized and in touch with the BSD community in my experience. Of course, I'm fairly newbie, so I'm sure there's a lot more info you can get if you're looking for more advanced reasons. There's always freebsd.org for you to peruse and look things up. ~john Message: 1 Date: Sun, 23 Nov 2003 14:08:14 -0600 (CST) From: NEED_FIRST NEED_LAST [EMAIL PROTECTED] Subject: Material To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 Hi, I am a student at Minot State University in Minot,ND. I work in the computer lab and was noticing all the posters that we have up are getting old and out dated. Some one mentioned to me FreeBSD (rocks). I have never heard about freebsd so I was wondering do you have any material that you could send me about FreeBSD. Maybe you could send me some posters to display in the lab. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xcdroast + IDE drive possible?
I was wondering if there is any way I can use xcdroast with an IDE drive? I read something the other day about using atapicam in your kernel to allow atapi devices to be used like scsi devices, but eh I cant remember it! Anyways, if anyone has tips on how to do this or perhaps a suggestion for another X11 app to burn CD's please let me know! Thanks in advance -phoetoid ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fsck error messages don't get logged?
Herculano de Lima Einloft Neto [EMAIL PROTECTED] writes: It would be nice to have them logged. Any serious errors will stop the fsck to prompt for what to do next, so it's not as bad as it seems... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xcdroast + IDE drive possible?
Phoetoid [EMAIL PROTECTED] writes: I was wondering if there is any way I can use xcdroast with an IDE drive? I read something the other day about using atapicam in your kernel to allow atapi devices to be used like scsi devices, but eh I cant remember it! Anyways, if anyone has tips on how to do this or perhaps a suggestion for another X11 app to burn CD's please let me know! Try man atapicam. Also, ATAPICAM is discussed in the handbook. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix/procmail/fetchmail/spamassassin setup
On Sun, Nov 23, 2003 at 02:51:30PM -0800, Jonas Manalive wrote: could you please verfiy your postfix configuration using `postfix check'? Perhaps this will show some errors. No errors. Other hints: Check /var/log/maillog (and post some lines from the tail if you still can fix your problem). A'ha! What do I do here to fix this? (I think I should have changed the alias database from alias_maps = dbm:/etc/aliases to alias_maps = hash:/etc/aliases - or should that be nis or netinfo?) If you want to use the existing alias_map from sendmail in /etc/mail, the entry should be: alias_maps = hash:/etc/mail/aliases -- Jonathan Chen [EMAIL PROTECTED] -- A person should be able to do a small bit of everything, specialisation is for insects ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: daemon monitoring
Dear Will, I've moved you text to the buttom so its more readable for other. On Sun, Nov 23, 2003 at 04:46:09PM -0800, Will Prater wrote: On Nov 23, 2003, at 1:57 PM, Alex de Kruijff wrote: On Sun, Nov 23, 2003 at 10:52:48AM -0800, Will Prater wrote: List, What are most of you using to monitor the running daemons? I have been loooking into DJB daemontools which seems appropriate, but are there any others that you reccomend? If DJB's daemontools is the one, could I get some more examples? I am primarily trying to keep my mail system online: postfix, cyrus, saslauthd, mysql, and spamassassin. I would advise Nagios. Sorry, I mispoke. I will be using Nagios to monitor, but I need to make sure they will restart if there is an error. Will nagios do this as well? I don't *think* so. You could write a sh script (or any other) that does this. It could contain this line: result=px aux | grep SomeDaemon | wc -l If the result is zero than SomeDaemon is not running. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.0 vs. 5.1
I'm currently running 5.0 release and am wondering about the possible positives/negatives of switching to another release, particularly 5.1 current. I'm running it as my work machine for programming and school type things, side by side with my windows machine, so it's not *essential*, but I would definitely like to eventually be done with windows all-together. Strangely, I've never been able to get this system to boot to the sysinstall menu with any 4.8 or 4.9 build, so provided I'm not just doing something horribly stupid they're not an option. My end goals would be to have this machine see and be visible to my windows network, set up email, ftp, and web servers, and have as much multimedia functionality and windows program accessibility as possible. ~john ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: daemon monitoring
On Mon, Nov 24, 2003 at 02:11:39AM +0100, Alex de Kruijff wrote: On Sun, Nov 23, 2003 at 04:46:09PM -0800, Will Prater wrote: On Nov 23, 2003, at 1:57 PM, Alex de Kruijff wrote: On Sun, Nov 23, 2003 at 10:52:48AM -0800, Will Prater wrote: List, What are most of you using to monitor the running daemons? I have been loooking into DJB daemontools which seems appropriate, but are there any others that you reccomend? If DJB's daemontools is the one, could I get some more examples? I am primarily trying to keep my mail system online: postfix, cyrus, saslauthd, mysql, and spamassassin. I would advise Nagios. Sorry, I mispoke. I will be using Nagios to monitor, but I need to make sure they will restart if there is an error. Will nagios do this as well? I don't *think* so. You could write a sh script (or any other) that does this. It could contain this line: result=px aux | grep SomeDaemon | wc -l If the result is zero than SomeDaemon is not running. Alternatively you could just write a script that polls a number of pid-files, one per daemon you want to monitor, and checks if the daemon is still running - if not it restarts the daemon. The gist of the script would be: - for each pid, send a CHLD signal to the pid - if the return code is 0, the process is still running so do nothing, otherwise restart the daemon I've not used daemontools too much away from djbdns suite, but presumably you could use supervise to do the work. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ooops - Re: while I have your attention... Names, copyright and IPv6
as usual, there has been a bit of a misunderstanding... being a loosely typed language, Engliosh is difficult to communicate in :-0 Names, addresses and DNS are obviously different things. I understand where IPv6 addresses come from (sort of). I understand (sort of) how IPv6 works for DNS records relating names to IPv6 addresses what I was really asking is: in the IPv4 world, name brokers sell names that are then related to IPv4 addresses. Legality of the name choice etc. is generally owner onus... Is there a similar sort of (or coincident) naming authority for IPv6 based names? example. if I operate a network, boxen1.example.org, boxen2.example.org, etc., as an IPv4 address space and a second coincident network, boxen1.example6.org, boxen2.example6.org, etc., as an IPv6 based address space, where does the authority to allocate the IPv6-network based names reside? the technical side of it is clear... someone somewhere needs to keep a track of the names... anyway, this is straying somewhat from the core subject matter of this list... On Mon, 24 Nov 2003 11:30 am, Cordula's Web wrote: how does this all work under IPv6? is the IPv6 domain name allocation as fully fledged as teh IPv4 services? I.e. are there and what are the restrictions on who can set up a name broker service for IPv6? what are the likely gottchas? I don't know for sure here, so please take this with a grain of salt: IPv6 addresses are represented by instead of A records in DNS nameservers. Right now, I think that you can only point .org (and other [cc]TLD) nameservers to nameservers residing on an IPv4 address [anyone correct me if I'm wrong here]. But you could always configure your nameservers (let's say ns1.bergen.org, ns2.bergen.org) to return IPv6 addresses to some names, by adding records to them. But since IPv6 names are not (yet) globally routed on the Internet, this will have local meaning only (e.g. on an intranet). Generally speaking: IPv4 and IPv6 addresses are _never_ allocated by name brokers or DNS systems. They reside at a much lower level, which has nothing to do with _names_. If you connect to the Internet, your upstream provider(s) will assign to you IPv4 address blocks automatically. You would normally not be able to influence this, because it is deeply intertwined with the routing protocols that all network operators use to transmit data on the Internet. You may ask how network operators get their IP address blocks. Check out IANA: http://www.iana.org/ especially: http://www.iana.org/ipaddress/ip-addresses.htm -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fsck error messages don't get logged?
In the last episode (Nov 23), Herculano de Lima Einloft Neto said: Lowell Gilbert wrote: You can't scroll the window back to the messages? I just found out about Scroll Lock, checking better.. was convinced I had some sort of keyboard problem because Shft-PgUp never worked :). Well, tough luck.. I had already booted again, so the messages are gone. It would be nice to have them logged. They should go into /var/log/console. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ooops - Re: while I have your attention... Names, copyright and IPv6
On Mon, 24 Nov 2003 12:43:11 +1100 paul van den bergen [EMAIL PROTECTED] granted us these pearls of wisdom: as usual, there has been a bit of a misunderstanding... being a loosely typed language, Engliosh is difficult to communicate in :-0 Names, addresses and DNS are obviously different things. I understand where IPv6 addresses come from (sort of). I understand (sort of) how IPv6 works for DNS records relating names to IPv6 addresses what I was really asking is: in the IPv4 world, name brokers sell names that are then related to IPv4 addresses. Legality of the name choice etc. is generally owner onus... Is there a similar sort of (or coincident) naming authority for IPv6 based names? example. if I operate a network, boxen1.example.org, boxen2.example.org, etc., as an IPv4 address space and a second coincident network, boxen1.example6.org, boxen2.example6.org, etc., as an IPv6 based address space, where does the authority to allocate the IPv6-network based names reside? the technical side of it is clear... someone somewhere needs to keep a track of the names... anyway, this is straying somewhat from the core subject matter of this list... On Mon, 24 Nov 2003 11:30 am, Cordula's Web wrote: how does this all work under IPv6? is the IPv6 domain name allocation as fully fledged as teh IPv4 services? I.e. are there and what are the restrictions on who can set up a name broker service for IPv6? what are the likely gottchas? I don't know for sure here, so please take this with a grain of salt: IPv6 addresses are represented by instead of A records in DNS nameservers. Right now, I think that you can only point .org (and other [cc]TLD) nameservers to nameservers residing on an IPv4 address [anyone correct me if I'm wrong here]. But you could always configure your nameservers (let's say ns1.bergen.org, ns2.bergen.org) to return IPv6 addresses to some names, by adding records to them. But since IPv6 names are not (yet) globally routed on the Internet, this will have local meaning only (e.g. on an intranet). Generally speaking: IPv4 and IPv6 addresses are _never_ allocated by name brokers or DNS systems. They reside at a much lower level, which has nothing to do with _names_. If you connect to the Internet, your upstream provider(s) will assign to you IPv4 address blocks automatically. You would normally not be able to influence this, because it is deeply intertwined with the routing protocols that all network operators use to transmit data on the Internet. You may ask how network operators get their IP address blocks. Check out IANA: http://www.iana.org/ especially: http://www.iana.org/ipaddress/ip-addresses.htm AFAIK domain names have little to do with your choice of IPV4 or IPV6. There can be only one registered owner of any given domain name and that domain name space could be either v4 or v6 at the discretion of the owner. LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: POLA violation?: snmp renumbering stuff
In the last episode (Nov 23), paul beard said: For some reason, my locally installed snmp daemons decided to renumber the elements in the hrStorageTable, meaning all the attached disks were being either misreported or just plain dropped from my graphs (paulbeard.no-ip.org/mrtg/blue/index.html). Not that the new numbering doesn't make sense but I didn't know this was going to happen. How to discover and fix it? snmptable is my friend. As shown here, the memory used by the kernel is listed first, followed by the disks. The disks were numbered starting at 1 before . . . . . I don't think snmp tables have any defined order. I don't even know if the index for a particular resource is guaranteed to be stable across filesystem dismount/remounts. Something like this should work: snmptable -Cf : blue hrStorageTable | grep :/var: | awk -F : '{print $4 * $5}' I use something similar in a script to graph disk usage in mrtg. It sould be really nice if snmptable had a built-in flag to print a particular cell from a table, though. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ooops - Re: while I have your attention... Names, copyright and IPv6
if I operate a network, boxen1.example.org, boxen2.example.org, etc., as an IPv4 address space and a second coincident network, boxen1.example6.org, boxen2.example6.org, etc., as an IPv6 based address space, where does the authority to allocate the IPv6-network based names reside? AFAIK, there is only one DNS system, which is designed to serve names for both IPv4 and IPv6. It is the client who asks either for A records (IPv4 resolution) or records (IPv6 resolution), from the SAME set of DNS servers. Let's assume that you want to operate *.example.org as IPv4 and *.example6.org as IPv6 networks. You would have two domains in the .org TLD: example.org - NS ns1.example.org - NS ns2.example.org example6.org - NS ns1.example6.org - NS ns2.example6.org It is important to realize that ns1 and ns2 must resolve to IPv4 addresses for both example.org and example6.org. Now you could populate the DNS maps of ns{1,2}.example6.org with records holding IPv6 addresses, and the DNS maps of ns{1,2}.example.org with A records, holding IPv4 addresses. Nothing prevents you from doing both on the same domain! example46.org - NS ns1.example46.org NS ns2.example46.org ns{1,2}.example46.org could contain both A and records, like, say: hybrid A some-ipv4-address hybrid some-ipv6-address The host hybrid.example46.org would have an IPv4 and an IPv6 address (they don't need to overlap!). Now the clients' resolver library would generally ask for A records, if it should resolve hybrid.example46.org. It would therefore obtain an IPv4 address from ns{1,2}.example46.org for the host name hybrid.example46.org. A client could still ask for IPv6 addresses, e.g.: % host -t hybrid.example46.org (ask for IPv6 address) % host -t a hybrid.example46.org(ask for IPv4 address) % host hybrid.example46.org (same as host -t a ...) the technical side of it is clear... someone somewhere needs to keep a track of the names... You are responsible for keeping track of the names under *.example.org, *.example6.org, *.example46.org. There is no such thing as an IPv6[-only] domain name. If you asked about PTR records, this would be more interesting... [Hint: ip6.arpa.] ;-) anyway, this is straying somewhat from the core subject matter of this list... Well, yes... -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fwd: [bn@vastnet.co.uk: Re: Question]
- Forwarded message from VastNET [EMAIL PROTECTED] - Date: Sun, 23 Nov 2003 20:47:14 - From: VastNET [EMAIL PROTECTED] To: Dan Nelson [EMAIL PROTECTED] Subject: Re: Question X-Mailer: Microsoft Outlook Express 6.00.2720.3000 GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-unknown-freebsd...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf IdlePTD at phsyical address 0x0074 initial pcb at physical address 0x00371000 panic messages: --- dmesg: kvm_read: invalid address (c0365a98) --- #0 0xc034d3e0 in sysctl___compat () (kgdb) where #0 0xc034d3e0 in sysctl___compat () #1 0xc0389600 in sysctl__kern_children () #2 0xc03104fc in __set_sysctl_set_sym_sysctl___vfs_nfs_nfsv3_commit_on_close () cannot read proc at 0 (kgdb) In the last episode (Nov 20), VastNET said: Hello! Do you know what's the reason of it? My machine is rebooting few times a day. If answer is YES, what should I do? savecore: reboot after panic: page fault 118savecore: reboot after panic: sbflush: cc 0 || mb 0xc1818500 || mbcnt 2304 118Nov 20 17:21:10 gateway savecore: reboot after panic: sbflush: cc 0 || mb 0 xc1818500 || mbcnt 2304 118savecore: reboot after panic: sbflush: cc 0 || mb 0xc1818500 || mbcnt 2304 118Nov 20 17:21:10 gateway savecore: reboot after panic: sbflush: cc 0 || mb 0 xc1818500 || mbcnt 2304 Since if looks like you have crashdumps already enabled, follow the instructions at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/advanced.html#KERNEL-PA NIC-TROUBLESHOOTING , and let us see the stack trace that gdb prints. -- Dan Nelson [EMAIL PROTECTED] - End forwarded message - -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ooops - Re: while I have your attention... Names, copyright and IPv6
You are responsible for keeping track of the names under *.example.org, *.example6.org, *.example46.org. There is no such thing as an IPv6[-only] domain name. If you asked about PTR records, this would be more interesting... [Hint: ip6.arpa.] ;-) The reference is: RFC 3596: DNS Extensions to Support IP Version 6 October 2003. http://www.rfc-editor.org/ -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: POLA violation?: snmp renumbering stuff
On Nov 23, 2003, at 6:00 PM, Dan Nelson wrote: I don't think snmp tables have any defined order. I don't even know if the index for a particular resource is guaranteed to be stable across filesystem dismount/remounts. Something like this should work: My issue was that they shouldn't change once defined: otherwise, how can you reliably use something if it adopts different behavior with each new release/build? After all, we're not talking about Windows here . . . . ;-) It would be useful if / were always 1, for example. It looks like, with the inclusion of RAM and swap in the table, / might be 3. -- Paul Beard paulbeard.no-ip.org/movabletype/ paulbeard [at] mac.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Questions regarding use of 'gdb -k'
I am having difficulty in using 'gdb -k' to track down a kernel panic. I have built a version of the kernel with the debugging symbols. After the crash I use the 'gdb -k' command but get the following output: -- chinmon1# gdb -k /data1/src/sys/compile/ata/kernel.debug /var/crash/kernel.29 GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-unknown-freebsd...Deprecated bfd_read called a t /data1/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /data1/src/gnu/usr.bin/binutils/gdb/../../../../co ntrib/gdb/gdb/dbxread.c line 933 in fill_symbuf IdlePTD at phsyical address 0x initial pcb at physical address 0x0048cee0 cannot read proc at 0 (kgdb) where #0 0x0 in ?? () (kgdb) exit Undefined command: exit. Try help. (kgdb) chinmon1# -- Can you tell me what I am doing wrong? Thanks. Kent Kuriyama ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]