Filesystem missing space?
I've got a missing-space problem that is puzzling me. These don't line up: # df -h | grep usr /dev/da0s1e 2.9G 2.7G -5.5M 100%/usr # du -h /usr 580M/usr Doing an `lsof /usr` doesn't show any open files in /usr that I don't expect. (Bunch of libraries open, mostly.) I've killed almost everything on the system and restarted it, thinking that perhaps a large file was open but had been unlinked. I'm about to try re-booting the box and fsck'ing the disk. I deleted most everything in /usr/ports, which made a several-hundred MB difference in the "du" total, but only made a ~ 50MB difference in the "df" total. softupdates -is- on. Is there anywhere else I should be looking? The box has been up for a few months with no problems. I've been having some problems with Mailman today, though ... had a bunch of copies of it running with a bunch of locks open. I deleted the 0-byte lockfiles before I killed the programs. Are there any softupdates+lock related problems, or should I be looking elsewhere? -- Charlie Watts [EMAIL PROTECTED] Frontier Internet http://www.frontier.net/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: Watching DVD's in -stable
- Original Message - From: "Jason Andresen" <[EMAIL PROTECTED]> To: "Gabriel Rocha" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, July 17, 2001 11:43 PM Subject: Re: Watching DVD's in -stable > Gabriel Rocha wrote: > > > > Hey, > > I am just curious if I missed something totally obvious, if I > > have, please hit me over the head with a clue-by-four and I will > > go away quickly. But is there anything akin to oms and the > > video4linux project for freebsd? I want to ditch my windows > > partition on my laptop, but it would be such a waste of a > > perfectly nice dvd drive...Thanks in advance. --gabe > > xine can view unencrypted DVDs (unfortunatly most DVDs are encrypted, > from > what I've heard, only some porn DVDs are unencrypted). > > There is a plugin that supposedly integrated DVD decryption in xine, > but I don't think it works (especially with the new, unstable version > of xine in the ports). Can't tell about FreeBSD, but I watch css-ed DVDs with xine 0.4.3 on a Linux machine all the time, using the libdecss-plugin from linuxvideo. Xine performs amazingly well even on slower machines (that particular Linux box is a Celeron 500) and not only plays DVDs, but also VCDs, mpegs and AVIs, including DivX (I believe it uses avifile-code to achieve this, since it also needs the windows codec binaries in order to play AVI.). Give xine a try, and read the HOWTO at http://xine.sourceforge.net especially Sections 4 & 5. Greetings, Michael Nottebrock To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: Watching DVD's in -stable
Gabriel Rocha wrote: > > Hey, > I am just curious if I missed something totally obvious, if I > have, please hit me over the head with a clue-by-four and I will > go away quickly. But is there anything akin to oms and the > video4linux project for freebsd? I want to ditch my windows > partition on my laptop, but it would be such a waste of a > perfectly nice dvd drive...Thanks in advance. --gabe xine can view unencrypted DVDs (unfortunatly most DVDs are encrypted, from what I've heard, only some porn DVDs are unencrypted). There is a plugin that supposedly integrated DVD decryption in xine, but I don't think it works (especially with the new, unstable version of xine in the ports). -- \ |_ _|__ __|_ \ __| Jason Andresen[EMAIL PROTECTED] |\/ | ||/ _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
RE: syslog config
On Tue, 17 Jul 2001, Mike Hoskins wrote: > On Tue, 17 Jul 2001, Kanno, Ken wrote: > > > When I removed the "*.notice" as you suggested, nothing gets logged at all, > > period. > > I didn't suggest removing '*.notice', but rather adding > 'local4.none'. You still want all non-local4 notices logged to > /var/log/messages I assume. > > That'd leave something like, > > > *.notice;local4.none;etc... /var/log/messages > local4.* /var/log/cisco.log > Hmm. This example was what I needed. Everything seems to be OK now. Thanks! KEN To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
RE: syslog config
On Tue, 17 Jul 2001, Kanno, Ken wrote: > When I removed the "*.notice" as you suggested, nothing gets logged at all, > period. I didn't suggest removing '*.notice', but rather adding 'local4.none'. You still want all non-local4 notices logged to /var/log/messages I assume. That'd leave something like, *.notice;local4.none;etc... /var/log/messages local4.* /var/log/cisco.log Later, -Mike -- Eat drink and be merry, for tomorrow they may make it illegal. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
IPFilter with Multicast - BugReport
Can someone confirm this bug... or am I missing something obvious? The attached program works under FreeBSD without IPFilter loaded, and works on Solaris8/sparc64 with or without IPFilter loaded. IP Filter bug report form. -- IP Filter Version: v3.4.16 Operating System Version: FreeBSD4.3-RELEASE & FreeBSD4.3-STABLE (7/16/01) Configuration: LKM Description of problem: With ipfilter loaded, multicast packets sent out are not visible to the sender of the multicast (with IP_MULTICAST_LOOP set on socket). Multicast packets sent by this node are seen on other nodes. Multicast packets sent by other nodes are seen on this node. If ipfilter LKM is not loaded this works fine. How to repeat: Attached java program, (tested under linux jdk 1.3 from ports). $java -classpath . MulticastSniffer 239.128.1.1 50092 true ^mcast addr ^port ^send mcasts (false=listen only) With ipfilter loaded you only see 'Multicast send' messages, but with ipfilter not loaded, you also see 'Multicast receive' messages. Thanks, - Tim <[EMAIL PROTECTED]> import java.net.*; import java.io.*; class MulticastSender extends Thread { MulticastSocket ms; DatagramPacket dp; InetAddress group; int port, count = 0; public MulticastSender(MulticastSocket ms, InetAddress group, int port) { this.ms = ms; this.group = group; this.port = port; byte[] data = "** My multicast data **".getBytes(); this.dp = new DatagramPacket(data, data.length, group, port); this.start(); } /** * If this thread was constructed using a separate * Runnable run object, then that * Runnable object's run method is called; * otherwise, this method does nothing and returns. * * Subclasses of Thread should override this method. * * @see java.lang.Thread#start() * @see java.lang.Thread#stop() * @see java.lang.Thread#Thread(java.lang.ThreadGroup, * java.lang.Runnable, java.lang.String) * @see java.lang.Runnable#run() */ public void run() { System.out.println("Starting multicast sender..."); while (true) { try { ms.send(dp, (byte) 4); count++; System.out.println("(" + count + ")Multicast send ... "); System.out.flush(); sleep(1000); } catch (Exception e) { System.out.println("Multicast Sender: exception = " + e); e.printStackTrace(); } } } } public class MulticastSniffer { public static void main(String[] args) { InetAddress group = null; int port = 0; int count = 0; boolean isSender = false; MulticastSender sender = null; try { group = InetAddress.getByName(args[0]); port = Integer.parseInt(args[1]); isSender = Boolean.valueOf(args[2]).booleanValue(); } catch (Exception e) { System.err.println("Usage: MulticastSniffer address port isSender(true|false)"); System.exit(1); } MulticastSocket ms = null; try { ms = new MulticastSocket(port); ms.joinGroup(group); if (isSender) sender = new MulticastSender(ms, group, port); byte[] buf = new byte[16 * 1024]; while (true) { DatagramPacket dp = new DatagramPacket(buf, buf.length); ms.receive(dp); String s = new String(dp.getData(), 0, dp.getLength()); count++; System.out.println("(" + count + ")Multicast receive ... (" + dp.getLength() + ")" + s); System.out.flush(); } } catch (IOException e) { System.err.println(e); } finally { if (ms != null) { try { ms.leaveGroup(group); ms.close(); } catch (IOException e) { System.err.println(e); } } } } }
RE: syslog config
Title: RE: syslog config When I removed the "*.notice" as you suggested, nothing gets logged at all, period. -Original Message- From: Mike Hoskins [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 17, 2001 2:26 PM To: Kanno, Ken Cc: '[EMAIL PROTECTED]' Subject: Re: syslog config On Tue, 17 Jul 2001, Kanno, Ken wrote: > Jul 17 13:34:41 <4.5> gateway Jul 17 2001 12:35:27: %PIX-5-304001: 10.10.2.1 > Accessed URL 206.40.47.5:/questions.html > Jul 17 13:34:43 <4.5> gateway Jul 17 2001 12:35:30: %PIX-5-304001: 10.10.2.1 > Accessed URL 205.188.140.249:/image/93007873/aim/ Yikes. Do you really need to log this religiously? I crank my PIX log levels down a bit on purpose. But I'm in a smaller office where I trust everyone enough to not want/need to look at URLs they're accessing. I'd like to trim it down when it works properly. > I saw no examples under man for syslog, syslogd or syslog.conf Not entirely true. True enough to where where what I want to do does not work and I don't know why or know where to look next. > # $FreeBSD: src/etc/syslog.conf,v 1.13.2.2 2001/02/26 09:26:11 phk Exp $ > # > # Spaces are NOT valid field separators in this file. > # Consult the syslog.conf(5) manpage. > *.err;kern.debug;auth.notice;mail.crit /dev/console > *.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages Here's your problem. ALL notice messages go to /var/log/messages regardless of where else they're routed. Since you're using a facility of local4 on the PIX, I'd suggest adding 'local4.none' to the line above. That will prevent local4.notice messages from being sent to /var/log. Later, -Mike
(no subject)
auth e60c706e subscribe freebsd-stable [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
pccard & XE not working
Hello there For more than a week now that my Intel pcmcia Etherexpress 100 doesn't work. Since an update done around the 10th that this is the situation. Current kernel and system are from today's 4.3-stable /var/log/messages output : Jul 17 12:46:21 mob /kernel: ppc0: parallel port not found. Jul 17 12:46:21 mob /kernel: IP Filter: v3.4.16 initialized. Default = block all, Logging = enabled Jul 17 12:46:21 mob /kernel: ad0: 9590MB [19485/16/63] at ata0-master UDMA33 Jul 17 12:46:21 mob /kernel: acd0: CDROM at ata1-master using PIO4 Jul 17 12:46:21 mob /kernel: Mounting root from ufs:/dev/ad0s2a Jul 17 12:46:21 mob /kernel: pccard: card inserted, slot 0 Jul 17 12:46:21 mob /kernel: pccard: card inserted, slot 1 Jul 17 12:46:24 mob pccardd[110]: Card "Psion Dacom"("Gold Card Global 56K+Fax") [56K+Fax] [V8.25] matched "Psion Dacom" ("Gold Card Global 56K+Fax") [(null)] [(null)] Jul 17 12:46:29 mob /kernel: sio2 at port 0x2f8-0x2ff irq 3 slot 0 on pccard0 Jul 17 12:46:29 mob /kernel: sio2: type 16550A Jul 17 12:46:29 mob pccardd[110]: sio2: Psion Dacom (Gold Card Global 56K+Fax) inserted. Jul 17 12:46:34 mob pccardd[110]: Card "Intel"("EtherExpress(TM) PRO/100 PC Card Mobile Adapter16") [PRO/1 00 M16A] [1.00] matched "Intel" ("EtherExpress(TM) PRO/100 PC Card Mobile Adapter16") [(null)] [(null)] Jul 17 12:46:39 mob pccardd[110]: driver allocation failed for Intel(EtherExpress(TM) PRO/100 PC Card Mobi le Adapter16): Device not configured Jul 17 12:46:39 mob pccardd[110]: pccardd started Thanks To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Watching DVD's in -stable
Hey, I am just curious if I missed something totally obvious, if I have, please hit me over the head with a clue-by-four and I will go away quickly. But is there anything akin to oms and the video4linux project for freebsd? I want to ditch my windows partition on my laptop, but it would be such a waste of a perfectly nice dvd drive...Thanks in advance. --gabe -- "It's not brave if you're not scared." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: syslog config
On Tue, 17 Jul 2001, Kanno, Ken wrote: > Jul 17 13:34:41 <4.5> gateway Jul 17 2001 12:35:27: %PIX-5-304001: 10.10.2.1 > Accessed URL 206.40.47.5:/questions.html > Jul 17 13:34:43 <4.5> gateway Jul 17 2001 12:35:30: %PIX-5-304001: 10.10.2.1 > Accessed URL 205.188.140.249:/image/93007873/aim/ Yikes. Do you really need to log this religiously? I crank my PIX log levels down a bit on purpose. But I'm in a smaller office where I trust everyone enough to not want/need to look at URLs they're accessing. > I saw no examples under man for syslog, syslogd or syslog.conf Not entirely true. > # $FreeBSD: src/etc/syslog.conf,v 1.13.2.2 2001/02/26 09:26:11 phk Exp $ > # > # Spaces are NOT valid field separators in this file. > # Consult the syslog.conf(5) manpage. > *.err;kern.debug;auth.notice;mail.crit /dev/console > *.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages Here's your problem. ALL notice messages go to /var/log/messages regardless of where else they're routed. Since you're using a facility of local4 on the PIX, I'd suggest adding 'local4.none' to the line above. That will prevent local4.notice messages from being sent to /var/log. Later, -Mike -- Eat drink and be merry, for tomorrow they may make it illegal. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
RE: syslog config
Title: RE: syslog config I now have: *.notice;kern.debug;lpr.info;mail.crit;news.err;local4.none /var/log/messages in /etc/syslog.conf. I HUPed syslogd and the messages are still being written to messages. KEN -Original Message- From: Jim King [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 17, 2001 2:18 PM To: Kanno, Ken; 'David Malone' Cc: '[EMAIL PROTECTED]' Subject: Re: syslog config RE: syslog configYou probably want to add "local4.none" to the /var/log/messages line; this will prevent local4 messages from being logged in that file. Jim - Original Message - From: Kanno, Ken To: 'David Malone' ; Kanno, Ken Cc: '[EMAIL PROTECTED]' Sent: Tuesday, July 17, 2001 2:12 PM Subject: RE: syslog config Where should I add this "!*"? I tried adding one on a new line before my local4.emerg and killed syslog and restarted it. Nothing had changed. Everyghing ends up in messages. -Original Message- From: David Malone [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 17, 2001 2:05 PM To: Kanno, Ken Cc: '[EMAIL PROTECTED]' Subject: Re: syslog config > !startslip > *.* /var/log/slip.log > !ppp > *.* /var/log/ppp.log > > local4.emerg /opt/syslog/pix_msg0 > local4.alert /opt/syslog/pix_msg1 > local4.crit /opt/syslog/pix_msg2 > local4.error /opt/syslog/pix_msg3 > local4.warn /opt/syslog/pix_msg4 > local4.notice /opt/syslog/pix_msg5 > local4.info /opt/syslog/pix_msg6 > local4.debug /opt/syslog/pix_msg7 You have put the new lines after a "!ppp" line, which means that it will only log if the program name is ppp. Try adding "!*" to indicate all programs. David.
Re: syslog config
RE: syslog configYou probably want to add "local4.none" to the /var/log/messages line; this will prevent local4 messages from being logged in that file. Jim - Original Message - From: Kanno, Ken To: 'David Malone' ; Kanno, Ken Cc: '[EMAIL PROTECTED]' Sent: Tuesday, July 17, 2001 2:12 PM Subject: RE: syslog config Where should I add this "!*"? I tried adding one on a new line before my local4.emerg and killed syslog and restarted it. Nothing had changed. Everyghing ends up in messages. -Original Message- From: David Malone [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 17, 2001 2:05 PM To: Kanno, Ken Cc: '[EMAIL PROTECTED]' Subject: Re: syslog config > !startslip > *.* /var/log/slip.log > !ppp > *.* /var/log/ppp.log > > local4.emerg /opt/syslog/pix_msg0 > local4.alert /opt/syslog/pix_msg1 > local4.crit/opt/syslog/pix_msg2 > local4.error /opt/syslog/pix_msg3 > local4.warn/opt/syslog/pix_msg4 > local4.notice /opt/syslog/pix_msg5 > local4.info/opt/syslog/pix_msg6 > local4.debug /opt/syslog/pix_msg7 You have put the new lines after a "!ppp" line, which means that it will only log if the program name is ppp. Try adding "!*" to indicate all programs. David. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
RE: syslog config
Title: RE: syslog config Where should I add this "!*"? I tried adding one on a new line before my local4.emerg and killed syslog and restarted it. Nothing had changed. Everyghing ends up in messages. -Original Message- From: David Malone [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 17, 2001 2:05 PM To: Kanno, Ken Cc: '[EMAIL PROTECTED]' Subject: Re: syslog config > !startslip > *.* /var/log/slip.log > !ppp > *.* /var/log/ppp.log > > local4.emerg /opt/syslog/pix_msg0 > local4.alert /opt/syslog/pix_msg1 > local4.crit /opt/syslog/pix_msg2 > local4.error /opt/syslog/pix_msg3 > local4.warn /opt/syslog/pix_msg4 > local4.notice /opt/syslog/pix_msg5 > local4.info /opt/syslog/pix_msg6 > local4.debug /opt/syslog/pix_msg7 You have put the new lines after a "!ppp" line, which means that it will only log if the program name is ppp. Try adding "!*" to indicate all programs. David.