6.2: maillog grows, newsyslog's misbehaving ?
Hi, discovered that the maillog file on my freebsd Desktop grows and grows (now at 50MB). According to the newsyslog.conf file it should be trimmed every night at midnight. /var/log/maillog640 7 *@T00 JC Is it a prerequisite, that the system then runs 24x7 so that the newsyslog default settings work ? I would have expected, that the trimming then happens on the next reboot, if the system doesn't run over midnight. Andreas /// -- Andreas Klemm - Powered by FreeBSD 6 Need a magic printfilter today ? - http://www.apsfilter.org/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: suggestions for SATA RAID cards
On Wed, Aug 23, 2006 at 09:23:00AM +0100, Steven Hartland wrote: The Areca cards I can recommend. Highpoint 1820a is surprisingly good Many many years ago I bought a HighPoint HPT366 ATA66 controller. Thought its a good deal because it was cheap. Thought, an ATA interface can't be that complicated anymore so that its safe to buy a cheap product. Turned out that I was very wrong with my theorie. I ran into timeout problems, that couldn't be fixed. After days and nights of troubleshooting and testing I didn't get it to work reliably. I replaced it by buying a more expensive Promise controller. Since then I had zero problems. Since that time I lost trust in HighPoint products. Good stuff has its price. It must not always be the most expensive hardware. But going with the cheapest (and I assume the HighPoint product will again be in the low price segment) can be troublesome. Andreas /// -- Andreas Klemm - Powered by FreeBSD 6 Need a magic printfilter today ? - http://www.apsfilter.org/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: burncd input output error
On Sat, Sep 17, 2005 at 08:30:33PM -0700, Andrew Sparrow wrote: On Sat, Sep 17, 2005 at 12:42:39PM -0400, Chuck Swiger wrote: Andreas Klemm wrote: [ ... ] - burncd leaves cdrom in a way that CD cannot be mounted after burning, one has to open and re-close CD tray manually before one is able to mount the frshly burned CD. This is an issue with the drive firmware more than anything to do with software. Most drives won't re-read the disk's table-of-contents after burning an image to a blank, until you eject and reload the disk. Ho, sorry, this is simply not true. Although I don't use burncd so can't comment on it, I've been using cdrecord since FreeBSD 2.x (1997-8, IIRC), on a wide variety of burners - none of which have ever required me to eject/reload the disk to mount it, unless an operation aborted/failed. In which case the disk burnt was generally a coaster anyway. Even now, using cdrecord with ATAPICAM, this is never necesary on my current burners (NED ND6500A, Plextor PX-712A). I simply burn and then mount immediately. I see this needs more investigation. Maybe it has to deal with the exit status I had (!=0). I will do a test burn now with burncd reading from a file instead from a pipe. Let's see if it behaves different then. Hmm even if reading from a file I get this exit status 74. [EMAIL PROTECTED] /export/isos burncd -v -s max data xxx.iso fixate adding type 0x08 file xxx.iso size 238792 KB 119396 blocks next writeable LBA 0 addr = 0 size = 244523008 blocks = 119396 writing from file xxx.iso size 238792 KB written this track 238792 KB (100%) total 238792 KB fixating CD, please wait.. burncd: ioctl(CDRIOCFIXATE): Input/output error Exit 74 Andreas /// -- Andreas Klemm - Powered by FreeBSD 5.4 Need a magic printfilter today ? - http://www.apsfilter.org/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
burncd input output error
2 problems with FreeBSD 5.4 stable: - burncd has strange exit status when reading ISO file from stdin according to manual page possible: [...] gunzip -c file.iso.gz | burncd -f /dev/acd0 data - fixate [...] - burncd leaves cdrom in a way that CD cannot be mounted after burning, one has to open and re-close CD tray manually before one is able to mount the frshly burned CD. *** trying to burn ISO file root# rtprio 5 bzcat myfile.iso.bz2 \ | rtprio 5 burncd -s max -f /dev/acd1 data - fixate next writeable LBA 0 writing from stdin written this track 224678 KB total 224678 KB fixating CD, please wait.. burncd: ioctl(CDRIOCFIXATE): Input/output error Exitcode 74 *** trying to mount cdrom root# mount -r -t cd9660 /dev/acd1 /cdrom cd9660: /dev/acd1: Input/output error Exit 1 *** ejecting cdrom manually and retrying mount operation root# mount -r -t cd9660 /dev/acd1 /cdrom root# cd /cdrom root# ll total 21752 -rw-r--r-- 2 root wheel 878 Sep 11 14:23 .cshrc -rw-r--r-- 2 root wheel 329 Sep 11 14:23 .profile -r--r--r-- 1 root wheel 6886 Sep 11 14:23 COPYRIGHT [...] *** dmesg output Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-STABLE #0: Mon Sep 12 20:43:56 CEST 2005 [EMAIL PROTECTED]:/usr/src/sys/amd64/compile/TITAN64 Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3000+ (1808.81-MHz K8-class CPU) Origin = AuthenticAMD Id = 0x10ff0 Stepping = 0 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 AMD Features=0xe2500800SYSCALL,NX,MMX+,b25,LM,3DNow+,3DNow real memory = 1073676288 (1023 MB) avail memory = 1026531328 (978 MB) cpu0 on motherboard pcib0: Host to PCI bridge pcibus 0 on motherboard pci0: PCI bus on pcib0 isab0: PCI-ISA bridge at device 1.0 on pci0 isa0: ISA bus on isab0 pci0: serial bus, SMBus at device 1.1 (no driver attached) ohci0: OHCI (generic) USB controller mem 0xfc003000-0xfc003fff irq 7 at device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ohci1: OHCI (generic) USB controller mem 0xfc004000-0xfc004fff irq 7 at device 2.1 on pci0 usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: OHCI (generic) USB controller on ohci1 usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered ehci0: EHCI (generic) USB 2.0 controller mem 0xfc005000-0xfc0050ff irq 7 at device 2.2 on pci0 usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: EHCI (generic) USB 2.0 controller on ehci0 usb2: USB revision 2.0 uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 8 ports with 8 removable, self powered pci0: bridge at device 5.0 (no driver attached) pcm0: nVidia nForce3 250 port 0xac00-0xac7f,0xa800-0xa8ff mem 0xfc001000-0xfc001fff irq 11 at device 6.0 on pci0 pcm0: Avance Logic ALC850 AC97 Codec atapci0: nVidia nForce3 Pro UDMA133 controller port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 8.0 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 atapci1: GENERIC ATA controller port 0xc800-0xc80f,0xb60-0xb63,0x960-0x967,0xbe0-0xbe3,0x9e0-0x9e7 irq 10 at device 9.0 on pci0 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 atapci2: GENERIC ATA controller port 0xe000-0xe00f,0xb70-0xb73,0x970-0x977,0xbf0-0xbf3,0x9f0-0x9f7 irq 11 at device 10.0 on pci0 ata4: channel #0 on atapci2 ata5: channel #1 on atapci2 pcib1: PCI-PCI bridge at device 11.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) pci1: display at device 0.1 (no driver attached) pcib2: PCI-PCI bridge at device 14.0 on pci0 pci2: PCI bus on pcib2 pci2: multimedia, audio at device 8.0 (no driver attached) fwohci0: VIA Fire II (VT6306) port 0x9000-0x907f mem 0xfb001000-0xfb0017ff irq 5 at device 12.0 on pci2 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:10:dc:00:00:77:91:3e fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: IEEE1394(FireWire) bus on fwohci0 fwe0: Ethernet over FireWire on firewire0 if_fwe0: Fake Ethernet address: 02:10:dc:77:91:3e fwe0: Ethernet address: 02:10:dc:77:91:3e fwe0: if_start running deferred for Giant sbp0: SBP-2/SCSI over FireWire on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) re0: RealTek 8169S Single-chip Gigabit Ethernet port 0x9400-0x94ff mem
Re: FreeBSD 5.4: Is it generally unstable?
On Wed, Jun 08, 2005 at 10:13:16AM +1000, David Hogan wrote: [...] .. it's just my general impression that something's up with the stability of the 5.4 release. If I were to deploy a server right now, would a seasoned FreeBSD user use 4.11 or 5.4? I'd say go for 5.4. 5.4 runs rock stable here on amd64. Have 5.4 running even very stable on vmware as well under XP like you. Andreas /// -- Andreas Klemm - Powered by FreeBSD 5.4-STABLE Need a magic printfilter today ? - http://www.apsfilter.org/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4: Is it generally unstable?
On Wed, Jun 08, 2005 at 06:20:49PM +0200, Matthias Buelow wrote: Freddie Cash wrote: The only problem we've had with FreeBSD 5 is one system running 5.2.1 that ran for over a year just fine, but would not complete a buildworld (hardware has died and it has been retired, so it's not an issue any more). I remember 5.2.1 panicking left and right, on several machines, it was ^ completely unusable. Maybe we just live in different universes. I respect your observations, but wasn't this still flagged as early adoptors ?! And ... these times pass by .. we have 2005 now and 5.4. Andreas /// -- Andreas Klemm - Powered by FreeBSD 5.4 Need a magic printfilter today ? - http://www.apsfilter.org/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
4.4R: if: doesn't get started when getting remote print job (Re: apsfilter doesn't work on server)
to work. 15. In order to test if this made it work, I changed the permissions on /dev/lpt0 to root.daemon 666, killed and restarted lpd, and tried again to print the text file. It worked, and the output looked fine. The F_SETFL error message appeared again. 16. A cursory glance at the source code showed that LPRng perhaps does not -- as written in the LPRng-HOWTO -- set both uid and gid to daemon, but only the UID. In my case, it would then run as daemon.wheel, which can't possibly work. A less cursory glance at the output of lpd -D4 showed that lpd does at least look up the correct GID of 1 for the daemon group. 17. I tested this idea: - chown chris.chris /dev/lpt0; chmod 660 /dev/lpt0 (myself, to make sure that neither user nor group match) - permission denied - chown chris.daemon /dev/lpt0 (may be the correct group) - permission denied - chown daemon.chris /dev/lpt0 (may be the correct user) - worked. So lpd sets the documented uid, but another gid. Unfortunately, ps apparently can't find out the effective gid of a process, so I had to settle for the real one, which is 0 (wheel). But that didn't tell me anything, of course. - chown chris.wheel /dev/lpt0 (the suspected gid of 0) - worked. Obviously, lpd succeeds only in changing the uid, but fails at the gid (if it tries at all, that is). I set the ownership to daemon.wheel to make at least that work. 18. I checked the LPRng changelog. Lo and behold, it mentions that very bug as fixed in 3.7.6. Unfortunately, that is the version I installed. Let's blame it on a wrong fix. About time the LPRng port gets updated, the current release is 3.8.4. Please tell the port maintainer. 19. Now for the client. Using SuSE's YaST configuration tool, I configured a simple network printer: ascii|remote printer on ser1:\ :sd=/var/spool/lpd/ascii:\ :rm=ser1:\ :rp=ascii:\ :bk:sh:mx#0: 20. lpq -Pascii on the client showed that the printer status was accessible. 21. lpr -Pascii /etc/printcap from the client produced the usual staircased text. Even an ASCII only apsfilter configuration on the server didn't work, and still doesn't. Because the printer stopped blinking, I'm sure that it got the text file directly, without apsfilter in between. I'm out of ideas. What about you out there? As workaround install apsfilter on the client, to compute print data on the client, so that the correct data stream enters the server. You should try to contact Garance A Drosihn [EMAIL PROTECTED] to ask, since he did a lot on the FreeBSD spooling system. Theoretically I think the input filter should be executed even when getting print data via network. He can tell you, if there is a bug in 4.4-RELEASE. Well now you installed LPRng on FreeBSD which normally is not necessary, since FreeBSD's lpd is not so stock and limited as all the other un-fixed versions around. For example printing to a remote printer and using an input filter is fixed in FreeBSD since a long time. So theoretically you can stay with FreeBSD lpd, since its not so bloated like LPRng. Not that its really bad, but I don't like it Then additionally send this report to the LPRng port maintainer so that an update gets releases. I hope both can help you. BTW: I already put both on Cc: ... Concerning lpd I'd remove the LPRng port if Garant has replied to you and I'm sure, that he will be helpful to you. But then you should re-install lpd from /usr/src, that shouldn't be a problem with FreeBSD ... Additionally you could then try to update to 4.5-RC, since then you can both work on the latest and greatest -STABLE version of FreeBSD, so that there every bug is shaken out ... And I remember people have merged something from -current into the printing subsystem, maybe this already helped. And please use apsfilter 7.2.1. Andreas /// -- Andreas Klemm Apsfilter Homepage http://www.apsfilter.org Support over mailing-lists (only!) http://www.apsfilter.org/support Mailing-list archive http://www.apsfilter.org/Lists-Archives Songs from our band 64Bits http://www.64bits.de Inofficial band pages with add-on stuff http://www.apsfilter.org/64bits.html msg40121/pgp0.pgp Description: PGP signature
Re: 4.4R: if: doesn't get started when getting remote print job (Re: apsfilter doesn't work on server)
Another idea ... additionally. use set -x in apsfilter shellscript and see in the printers logfile, if apsfilter gets called an how, to make sure what happens or not ... Andreas /// -- Andreas Klemm Apsfilter Homepage http://www.apsfilter.org Support over mailing-lists (only!) http://www.apsfilter.org/support Mailing-list archive http://www.apsfilter.org/Lists-Archives Songs from our band 64Bits http://www.64bits.de Inofficial band pages with add-on stuff http://www.apsfilter.org/64bits.html msg40123/pgp0.pgp Description: PGP signature
Re: 4.4R: if: doesn't get started when getting remote print job (Re: apsfilter doesn't work on server)
And please summarize in your mail the exact FreeBSD version. uname -a could additionally help FreeBSD titan.klemm.gtn.com 4.5-RC FreeBSD 4.5-RC #0... ^^ Andreas /// -- Andreas Klemm Apsfilter Homepage http://www.apsfilter.org Support over mailing-lists (only!) http://www.apsfilter.org/support Mailing-list archive http://www.apsfilter.org/Lists-Archives Songs from our band 64Bits http://www.64bits.de Inofficial band pages with add-on stuff http://www.apsfilter.org/64bits.html msg40124/pgp0.pgp Description: PGP signature
fetch through ftp-proxydoesn´t work on FreBSD 4.3-STABLE
Hi ! Is it a known issue, that fetch doesn´t work via local ftp proxy (squid) ? I updated the ports collection manually. Everything runs fine, if fetch can get something via http proto. Whenever something should be fetched via ftp proto, it does nothing at all and I get error code 999 (protocol error). In my root´s .cshrc I added: setenv FTP_PROXY localhost:3128 setenv FTP_PASSIVE_MODEYES setenv HTTP_PROXY localhost:3128 In /etc/make.conf I configured: HTTP_PROXY=localhost:3128 FTP_PROXY=localhost:3128 FTP_PASSIVE_MODE=yes In squids logfile I see the successfull fetch attempts via http, but no single line, when something should be fetched via ftp. In the process status I see, that fetch is executed as follows a) for ftp (doesn´t work) 7137 p1 S+ 0:00.01 /usr/bin/fetch -A ftp://ftp.xemacs.org/pub/xemacs/xemacs-21.1/xemacs-21.1.14.tar.gz b) for http (works) /usr/bin/fetch -A http://prdownloads.sourceforge.net/amanda/amanda-2.4.2p2.tar.gz Squids log tells me only something about the fetch using http proto ... 1008090948.039 34701 127.0.0.1 TCP_MISS/000 560886 GET http://prdownloads.sourceforge.net/amanda/amanda-2.4.2p2.tar.gz - FIRST_UP_PARENT/byfwg5.bayer-ag.com - Is there a bug in FreeBSD 4.3´s libfetch ??? Or did I mis-spell a configuration variable ??? Setting FTP_PASSIVE_MODE in .cshrc and /etc/make.conf was only a hack, wihout it didn´t work as well ... Any comments ??? Thanks Andreas /// Andreas /// To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-stable in the body of the message
did last changes on make break things (some ports refuse to build)
i.e.: when trying to compile windowmaker freetype2 is being build and fails with updating cache ./config.cache creating ./config.status creating unix-cc.mk creating unix-def.mk creating freetype-config creating ftconfig.h ftconfig.h is unchanged Makefile:30: -Its: No such file or directory Makefile:30: 1/builds/toplevel.mk: No such file or directory gmake: *** No rule to make target `1/builds/toplevel.mk'. Stop. *** Error code 2 Stop in /usr/ports/print/freetype2. *** Error code 1 I already noticed that trying to compile other ports. Sorry, I don't remember which one exactly, would have written it down, if I knew, that this might become important. FreeBSD titan.klemm.gtn.com 4.2-STABLE FreeBSD 4.2-STABLE #0: Sat Feb 17 11:05:48 CET 2001 [EMAIL PROTECTED]:/usr/src/sys/compile/TITAN i386 Other ports I installed: ORBit-0.5.7 XFree86-3.3.6_7 a2ps-letter-4.13 agrep-2.04 autoconf-2.13 automake-1.4 boehm-gc-5.3_1 bzip2-1.0.1 cvsup-bin-16.1 de-dict-1.2 de-ispell-alt-19991219_2 docbook-1.2 docbook-241 docbook-3.0 docbook-3.1 docbook-4.0 docbook-4.1 docproj-1.1 dsssl-docbook-modular-1.60_2 esound-0.2.22 fetchmail-5.6.3 freetype-1.3.1_1 gdbm-1.8.0 gettext-0.10.35 ghostscript-6.50_2 glib-1.2.8 gmake-3.79.1 gnupg-1.0.4_3 gtk-1.2.8_1 hdf-4.1r3 html-4.01 imlib-gtk-1.9.8.1 ion-20010216 isc-dhcp3-3.0.b2.16 iso8879-1986 jade-1.2.1 jadetex-2.20_1 jbigkit-1.2 jpeg-6b junkfilter-2313 leafnode+-2.11 libaudiofile-0.2.0 librep-0.13.4 libtool-1.3.4_2 libungif-4.1.0b1 libwmf-0.1.21 libwww-5.3.1 linux-netscape-communicator-4.76 linux_base-6.1 linuxdoc-1.1 lynx-ssl-2.8.3.1 lyx-1.1.5.2 m4-1.4 mkcatalog-1.1 mpeg2codec-1.2 mutt-1.2.5 netcat-1.10 netpbm-9.10 netscape-remote-1.0 netscape-wrapper-2000.07.07 patch-2.5_1 png-1.0.9 popt-1.5.1 procmail-3.15.1 psutils-letter-1.17_1 python-2.0 qpopper-3.1.2_1 rpm-3.0.6_4 samba-2.0.7 sane-gtk-1.0.3_1 sgmlformat-1.7 squid-2.3 tcl-8.3.1 teTeX-1.0.7 tidy-2804 tiff-3.5.5 tk-8.3.1 transfig-3.2.3c unzip-5.42 w3m-0.1.11.p.23 xbuffy-3.3 xforms-0.89 xpm-3.4k xsane-gtk-0.70 xv-3.10a Settings in /etc/make.conf: #CFLAGS+=-pipe -O COPTFLAGS+=-pipe -O # avoid compiling profiled libraries NOPROFILE= true # build "compat" shared libraries COMPAT1X= yes COMPAT20= yes COMPAT21= yes COMPAT22= yes COMPAT3X= yes # update /usr/include during make world CLOBBER=yes # use ftpds internal ls function FTPD_INTERNAL_LS=yes # Compare before install INSTALL=install -C # Motif settings HAVE_MOTIF= yes MOTIF_STATIC= yes MOTIFLIB= -L/usr/dt/lib -lXm # fine tune top table size TOP_TABLE_SIZE= 100 # What handbook language to build... DOC_LANG=en_US.ISO_8859-1 ### ### General Ports related things ### # for some ports #PREFIX=/usr/local # for titan basic services #PREFIX=/home/local # build USA only ports USA_RESIDENT=YES # force installation of a port FORCE_PKG_REGISTER= YES FORCE_PACKAGE= YES # get GNU software from DPN MASTER_SITE_GNU=ftp://ftp.du.gtn.com/pub/gnu/%SUBDIR%/ ### ### Specific Ports related things ### # where to build ports #WRKDIRPREFIX=/tmp # communicator with fortify USE_128BIT=yes # document project JADETEX=yes # inn port NEWSSPOOL=/internet/news NEWSLIB=${PREFIX}/news NEWSLOG=/var/log/news NEWSMAN=${PREFIX}/man NEWSINFO=${PREFIX}/info # vim HAVE_GTK=yes #PACKAGE_BUILDING=yes # vmware port # USE_LINPROC=yes # change prompt of tacacs port TAC_CHANGE_PROMPT=YES TAC_EXPIRE_MASTER_PASSWD=YES #TAC_IOS_VERSION=12 # ghostscript PDFENCRYPT=yes # PATCH PATCH_DEBUG=yes # To build sys/modules when building the world (our old way of doing things) MODULES_WITH_WORLD=true # do not build modules when building kernel # Patented in the USA and many european countries - thought to be OK to # use for any non-commercial use. This is optional. WITH_IDEA= YES # IDEA (128 bit symmetric encryption) MAKE_IDEA= YES # IDEA (128 bit symmetric encryption) # # Patented in the USA only (due to expire in September 2000). RSA is # required for OpenSSH. Either use this or ports/security/rsaref. WITH_RSAINTL= YES # RSA (public key exchange) # mpg123 # OPT_ARCH=i586 # # apsfilter # HOSTNAME= titan.klemm.gtn.com APSWWWDEST= /usr/local/www/data/apsfilter APSCGIDEST= /usr/local/www/cgi-bin APSWWWOWN= andreas APSWWWGRP= andreas APSWWWMODE= 664 APSCVS= /home/andreas/sitebackup/cosmo/apscvs/APSCVS APSARCHIVE= /home/andreas/src/apsarchive # # apsfilter documentation project # APSDOCOWN= andreas APSDOCGRP= andreas APSDOCMOD= 0664 # leafnode LEAFSPOOLDIR= /internet/leafnode # lyx WITH_ISPELL=yes # sawfish WITH_GNOME= yes MASTER_SITE_OVERRIDE=ftp://ftp.de.FreeBSD.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ Andreas /// -- Andreas Klemm - Powered by FreeBSD 4.2 SMP Need a magic printfilter toda
stray irq's 7, printing hangs, about 20000-50000 irqs per second ...
MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O options PQ_NORMALCACHE # color for 64k/16k cache options SHOW_BUSYBUFS # List buffers that prevent root unmount options INCLUDE_CONFIG_FILE # Include this file in kernel options INET#Internet communications protocols options ICMP_BANDLIM#Rate limit bad replies options MROUTING# Multicast routing options IPSTEALTH #support for stealth forwarding options FFS #Berkeley Fast Filesystem options FFS_ROOT#FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=8000 #Delay (in ms) before probing SCSI options UCONSOLE#Allow users to grab the console options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options SHMSEG=150 #recommendation for X11 options P1003_1B#Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV#install a CDEV entry in /dev device isa device pci # Floppy drives device fdc0at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices device ata0at isa? port IO_WD1 irq 14 device ata1at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives options ATA_STATIC_ID #Static device numbering options ATA_ENABLE_ATAPI_DMA#Enable DMA on ATAPI devices # SCSI Controllers device ahc # AHA2940 and onboard AIC7xxx devices options AHC_ALLOW_MEMIO # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass# Passthrough device (direct SCSI access) device pt # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0at atkbdc? irq 12 device vga0at isa? options VESA # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 options MAXCONS=4 # number of virtual consoles options SC_HISTORY_SIZE=512 # number of history buffer lines # Floating point support - do not disable. device npx0at nexus? port IO_NPX irq 13 # Serial (COM) ports device sio0at isa? port IO_COM1 flags 0x10 irq 4 device sio1at isa? port IO_COM2 irq 3 # Parallel port device ppc0at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer #device plip# TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da device fxp # Intel EtherExpress PRO/100B (82557, 82558) # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop# Network loopback pseudo-device ether # Ethernet support pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" pseudo-device vn #Vnode driver (turns a file into a device) # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter # Sound support device pcm Andreas /// -- Andreas Klemm - Powered by FreeBSD 4.2 SMP Need a magic printfilter today ? - http://www.apsfilter.org/ PGP signature
Re: printer spooldirs wrong owner ?? (was Re: Fixes for apsfilter-current-09.12.2000 (printing via smbclient) )
On Thu, Dec 14, 2000 at 06:13:01PM -0500, Garance A Drosihn wrote: At 8:06 AM +0100 12/14/00, Andreas Klemm wrote: On Wed, Dec 13, 2000 at 03:35:51PM +0300, Ilya Martynov wrote: P.S. I forgot about another problem I meet while setting up printing. SETUP creates smbclient.conf that is not readble by lpd. For me it was created as: -rw--- 1 root daemon 156 Dec 12 16:41 smbclient.conf to make printing work I had to chmod g+r on it. I think this is an inconsistency in FreeBSD ... The filterscript (forked by llpd) runs under permissions daemon.wheel, but the spooldirs in FreeBSD by default are created with permissions root.daemon. I think this could easily be fixed, if you would chown -R dameon.wheel /var/spool/lpd and during apsfilter SETUP you should take care that owner and group are now setup right to match daemon.wheel. [ Cc'd to freebsd-stable ] What do the lpd maintaining authorities in FreeBSD say ? I haven't thought about permissions enough to say I have a strong opinion on it, but my gut-level feeling is that the spool directories are created with the right owner+group (ie, root+daemon). I inserted an echo "bla" /tmp/ into apsfilter (lineprinter input filter). The permissions of the resulting file were daemon.wheel and not root.daemon like the spooldirs have as default. When printing to a Windows remote printer using smbclient we need to store Windows logins and passwords into the smbclient.conf file. Therefore we wanted best protection for the file. So we let the file owned by root and only readable by root. Well, apsfilter is unable to read smbclient.conf, since lpd lets the if run under daemon UID ... So I thought, the permissions of the spooldirs are a bit misleading or maybe wrong. The question is, if lpd runs locally under UID "daemon". Why do the spooldirs not belong to the same UID ??? I had no idea in the past, how apsfilters SETUP script could check, under which permissions lpd runs, to create spooldirs with proper permissions. Therefore I use UID and GID of /var/spool/lpd, if present. And this UID and GID value is also used for the smbclient.conf file. Well, and this fails ... What irritates me a bit is, that ps -l tells me, that lpd runs with UID 0 = root. But in fact the :if: runs as daemon.wheel. So for me the confusion is now ... a) why is it not safe to choose UID and GID of spooldirs in the hope to get proper permissions for protecting files needed at runtime of input filters ? b) To followup a) are lpd's spooldirs wrong in lpd ? If not, why not ? Thanks for helping me improving apsfilter (or BSD) ! Best regards Andreas /// -- Andreas Klemm Powered by FreeBSD SMP Songs from our band 64Bitshttp://www.apsfilter.org/64bits.html My homepage http://people.FreeBSD.ORG/~andreas Please note: Apsfilter got a NEW HOMEhttp://www.apsfilter.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: can't flash Cisco 2516 using rcp (recv BAD, Login incorrect.
On Sat, Dec 02, 2000 at 01:14:36PM +0100, Helge Oldach wrote: OK. But you do have a proper /home/andreas/tftpboot/.rhosts? And /home/andreas/tftpboot and its contents is world readable? o.k. forgot the .rhosts for user ios in ~andreas/tftpboot but same failure ... -- Andreas Klemm Powered by FreeBSD SMP Songs from our band 64Bitshttp://www.apsfilter.org/64bits.html My homepage http://people.FreeBSD.ORG/~andreas Please note: Apsfilter got a NEW HOMEhttp://www.apsfilter.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: my sb16 play sound with clicks after cvsup
On Wed, Jul 26, 2000 at 03:46:42PM -0700, Kris Kennaway wrote: On Wed, 26 Jul 2000, Francesco Casadei wrote: Today I cvsuped and rebuilt everything. After reboot, I started xmms-1.2.2 as usual to play mp3 files and I heard sound with clicks (like the sound of an old record). It's a known problem - I've reported it to Cameron Grant and he'll look at it when he gets time. It doesn't happen all the time for me, but when it does I can't find a reliable way to fix it. Recording on the SB16 in 16-bit mode is also broken. Same for me with my Soundblaster Live. And I was so glad, that sound worked better after switching from -current to -STABLE ;-) But the good news is, that I really don't have to buy another soundcard, if even Soundblaster 16 is a bit broken now ;-)) Andreas /// -- Andreas Klemm http://people.FreeBSD.ORG/~andreas http://www.freebsd.org/~fsmp/SMP/SMP.html powered by Symmetric MultiProcessor FreeBSD New APSFILTER 542 and songs from our band - http://people.freebsd.org/~andreas To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
HEADS-UP please: syslogd problems in 4.0: rejected in rule 0 due to port mismatch.
My cisco is unable to write to the syslog daemon. Even adding the IP address with -a flags doesn't cure the problem. syslogd -d -v -a 172.16.2.2/32 allowaddr: rule 0: numeric, addr = 172.16.2.2, mask = 255.255.255.255; port = 514 off running init cfline("*.err;kern.debug;auth.notice;mail.crit /dev/console", f, "*") cfline("*.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages", f, "*") cfline("security.* /var/log/security", f, "*") cfline("mail.info /var/log/maillog", f, "*") cfline("lpr.info/var/log/lpd-errs", f, "*") cfline("cron.* /var/log/cron", f, "*") cfline("*.err root", f, "*") cfline("*.notice;news.err root", f, "*") cfline("*.alert root", f, "*") cfline("*.emerg *", f, "*") cfline("*.* /var/log/all.log", f, "*") cfline("local5.*/var/log/cisco.log", f, "*") cfline("local5.*/dev/console", f, "*") cfline("local6.info /var/log/tacacs.log", f, "*") cfline("news.crit /var/log/news/news.crit", f, "*") cfline("news.err/var/log/news/news.err", f, "*") cfline("news.notice /var/log/news/news.notice", f, "*") cfline("*.* /var/log/slip.log", f, "startslip") cfline("*.* /var/log/ppp.log", f, "ppp") 7 3 2 3 5 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 X CONSOLE: /dev/console 7 5 2 5 5 5 6 3 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 X FILE: /var/log/messages X X X X X X X X X X X X X 8 X X X X X X X X X X X FILE: /var/log/security X X 6 X X X X X X X X X X X X X X X X X X X X X X FILE: /var/log/maillog X X X X X X 6 X X X X X X X X X X X X X X X X X X FILE: /var/log/lpd-errs X X X X X X X X X 8 X X X X X X X X X X X X X X X FILE: /var/log/cron 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 X USERS: root, 5 5 5 5 5 5 5 3 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 X USERS: root, 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 X USERS: root, 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 X WALL: 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 X FILE: /var/log/all.log X X X X X X X X X X X X X X X X X X X X X 8 X X X FILE: /var/log/cisco.log X X X X X X X X X X X X X X X X X X X X X 8 X X X CONSOLE: /dev/console X X X X X X X X X X X X X X X X X X X X X X 6 X X FILE: /var/log/tacacs.log X X X X X X X 2 X X X X X X X X X X X X X X X X X FILE: /var/log/news/news.crit X X X X X X X 3 X X X X X X X X X X X X X X X X X FILE: /var/log/news/news.err X X X X X X X 5 X X X X X X X X X X X X X X X X X FILE: /var/log/news/news.notice 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 X FILE: /var/log/slip.log (startslip) 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 X FILE: /var/log/ppp.log (ppp) logmsg: pri 56, flags 4, from titan, msg syslogd: restart Logging to FILE /var/log/all.log syslogd: restarted cvthname(172.16.2.2) validate: dgram from IP 172.16.2.2, port 49902, name cisco.klemm.gtn.com; rejected in rule 0 due to port mismatch. ^^^ What happened ? -- Andreas Klemm http://people.FreeBSD.ORG/~andreas http://www.freebsd.org/~fsmp/SMP/SMP.html powered by Symmetric MultiProcessor FreeBSD New APSFILTER 520 and songs from our band - http://people.freebsd.org/~andreas To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message
Re: HEADS-UP please: syslogd problems in 4.0: rejected in rule 0 due to port mismatch.
On Sat, Mar 25, 2000 at 01:53:09PM +0100, Andreas Klemm wrote: My cisco is unable to write to the syslog daemon. Even adding the IP address with -a flags doesn't cure the problem. syslogd -d -v -a 172.16.2.2/32 Well, to be more precise, syslogd runs, but -a doesn't allow me to accept only syslog updates from my cisco. First I overlooked -s after mergemaster run... -- Andreas Klemm http://people.FreeBSD.ORG/~andreas http://www.freebsd.org/~fsmp/SMP/SMP.html powered by Symmetric MultiProcessor FreeBSD New APSFILTER 520 and songs from our band - http://people.freebsd.org/~andreas To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message