You have been unsubscribed from the freebsd-questions mailing list
confirm d2512e67c97913c1d1e981b2d34e2e5ba3156844
Your membership in the mailing list freebsd-questions has been disabled due to excessive bounces The last bounce received from you was dated 19-Oct-2013. You will not get any more messages from this list until you re-enable your membership. You will receive 1 more reminders like this before your membership in the list is deleted. To re-enable your membership, you can simply respond to this message (leaving the Subject: line intact), or visit the confirmation page at http://lists.freebsd.org/mailman/confirm/freebsd-questions/d2512e67c97913c1d1e981b2d34e2e5ba3156844 You can also visit your membership page at http://lists.freebsd.org/mailman/options/freebsd-questions/archive%40jab.org On your membership page, you can change various delivery options such as your email address and whether you get digests or not. As a reminder, your membership password is ohkiza If you have any questions or problems, you can contact the list owner at freebsd-questions-ow...@freebsd.org
confirm 9ab541dc2bb8a07f764a869230a7d881c10cf0e6
Your membership in the mailing list freebsd-questions has been disabled due to excessive bounces The last bounce received from you was dated 19-Oct-2013. You will not get any more messages from this list until you re-enable your membership. You will receive 2 more reminders like this before your membership in the list is deleted. To re-enable your membership, you can simply respond to this message (leaving the Subject: line intact), or visit the confirmation page at http://lists.freebsd.org/mailman/confirm/freebsd-questions/9ab541dc2bb8a07f764a869230a7d881c10cf0e6 You can also visit your membership page at http://lists.freebsd.org/mailman/options/freebsd-questions/archive%40jab.org On your membership page, you can change various delivery options such as your email address and whether you get digests or not. As a reminder, your membership password is ohkiza If you have any questions or problems, you can contact the list owner at freebsd-questions-ow...@freebsd.org
Re: Request to Add Website Details- Hardware Section
Again... How is the list being spammed like this?? On Tue, 9 Oct 2012, Joe Phillip wrote: Dear Webmaster, We have been manually researching for relevant partners and found your website very useful. Adding my website under Hardware section(URL: * http://www.freebsd.org/commercial/hardware.html) *of your esteemed website would be very helpful to us as well be of high value to your customers. If interested, pls use the following link details to place our link on your site: Title: Rackmount Monitor URL: http://www.kvmswitchtech.com/rackmount-monitors-c11572.htm Desc: KVMSwitchTech provides wide range of rackmount monitors to save valuable space in server rooms. Get 1U rack mount monitors, 1u solaris rackmount monitors at competitive prices. OR you can use this HTML Code: a href=http://www.kvmswitchtech.com/rackmount-monitors-c11572.htm;Rackmount Monitor/a - KVMSwitchTech.com provides wide range of rackmount monitors to save valuable space in server rooms. Get 1U rack mount monitors, 1u solaris rackmount monitors at competitive prices.br In case if you also require a linkback, please let me know. Thanks Joe Webmaster ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Your UPS Invoice is Ready
How is it that we are getting spam on the list like this? On Tue, 9 Oct 2012, UPSBillingCenter wrote: This is an automatically generated email. Please do not reply to this email address. Dear UPS Customer, New invoice(s) are available for the consolidated payment plan(s) / account(s) enrolled in the UPS Billing Center Please refer to attached file from UPS Billing Center to view and pay your invoice. Discover more about UPS: Visit ups.comExplore UPS Freight ServicesLearn About UPS CompaniesSign Up For Additional Email From UPSRead Compass Online (c) 2012 United Parcel Service of America, Inc. UPS, the UPS brandmark, and the color brown are trademarks of United Parcel Service of America, Inc. All rights reserved. For more information on UPS's privacy practices, refer to the UPS Privacy Policy.Please do not reply directly to this e-mail. UPS will not receive any reply message. For questions or comments, visit Contact UPS.This communication contains proprietary information and may be confidential. If you are not the intended recipient, the reading, copying, disclosure or other use of the contents of this e-mail is strictly prohibited and you are instructed to please delete this e-mail immediately. Privacy Policy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
about change file mode
Hi tot all, Why don't change the files mode ? casa# mount -t msdosfs /dev/da0s1 /mnt/JetFlash\ Transcend\ 1GB/ casa# cd /mnt/JetFlash\ Transcend\ 1GB/ casa# ls -lh total 21940 -r-xr-xr-x 1 xxavi wheel16M 21 mar 00:12 COLOR.pdf -r-xr-xr-x 1 xxavi wheel 4,7M 21 mar 01:26 COLOR_1.pdf -r-xr-xr-x 1 xxavi wheel 124k 21 mar 02:13 COLOR_2.pdf -r-xr-xr-x 1 xxavi wheel21k 21 mar 01:16 Untitled 1.pdf -r-xr-xr-x 1 xxavi wheel 9,3k 22 mar 00:17 Untitled 2.pdf -r-xr-xr-x 1 xxavi wheel 124k 21 mar 02:13 kscan_0002.jpeg.pdf -r-xr-xr-x 1 xxavi wheel20k 21 mar 00:12 ocr.txt.pdf casa# chmod -x * casa# ls -l total 21940 -r-xr-xr-x 1 xxavi wheel 17270757 21 mar 00:12 COLOR.pdf -r-xr-xr-x 1 xxavi wheel 4866360 21 mar 01:26 COLOR_1.pdf -r-xr-xr-x 1 xxavi wheel127452 21 mar 02:13 COLOR_2.pdf -r-xr-xr-x 1 xxavi wheel 21829 21 mar 01:16 Untitled 1.pdf -r-xr-xr-x 1 xxavi wheel 9561 22 mar 00:17 Untitled 2.pdf -r-xr-xr-x 1 xxavi wheel127452 21 mar 02:13 kscan_0002.jpeg.pdf -r-xr-xr-x 1 xxavi wheel 20513 21 mar 00:12 ocr.txt.pdf casa# Thanks, see you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
GIMP(1) don't run
Hi to all, When I want run GIMP(1) it say: gimp Shared object libpcre.so.0 not found, required by gimp How I can solvent this problem ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
pwcview(1) don't work
Hi to all, I have: pkg_info | grep webc evolution-webcal-2.32.0_1 Webcal(endar) handler for gnome pwcview-1.4.1_4 The Video4Linux PWC webcam viewer webcamd-3.2.0.2 A port of Linux USB webcam and DVB drivers into userspace kldstat | grep cuse 31 0xc12a4000 5c08 cuse4bsd.ko casa# webcamd -d ugen4.6 -i 0 -v 0 : v3.2:USB Acecad Flair tablet driver : v2.3 (May 2, 2007):Aiptek HyperPen USB Tablet Driver (Linux 2.6.x) : Bryan W. Headley/Chris Atenasio/Cedric Brun/Rene van Paassen GTCO usb driver version: 2.00.0006: v0.0.2:USB KB Gear JamStudio Tablet driver : v1.52:USB Wacom tablet driver lirc_dev: IR Remote Control driver registered, major 14 IR NEC protocol handler initialized IR RC5(x) protocol handler initialized IR RC6 protocol handler initialized IR JVC protocol handler initialized IR Sony protocol handler initialized IR RC5 (streamzap) protocol handler initialized IR LIRC bridge handler initialized : 2.2.1:ATI/X10 RF USB Remote Control Linux video capture interface: v2.00 em28xx driver loaded Em28xx: Initialized (Em28xx dvb Extension) extension USBVision USB Video Device Driver for Linux : 0.9.11 pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner pvrusb2: Debug mask is 31 (0x1f) cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1 : Zoran 364xx au0828 driver loaded USB Video Class driver (1.1.1) : 0.4.7:D-Link DSB-R100 USB FM radio driver : 0.0.2: A driver for the TEA5764 radio chip for EZX Phones. b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully dib0700: loaded with support for 21 different device-types virtual DVB server adapter driver, version 1.0-hps, (c) 2011 Hans Petter Selasky Attached ugen4.6[0] to cuse unit 0 em28xx: New device @ 480 Mbps (eb1a:2820, interface 0, class 0) em28xx #0: chip ID is em2820 (or em2710) em28xx #0: board has no eeprom em28xx #0: found i2c device @ 0x4a [saa7113h] em28xx #0: Your board has no unique USB ID. em28xx #0: A hint were successfully done, based on i2c devicelist hash. em28xx #0: This method is not 100% failproof. em28xx #0: If the board were missdetected, please email this log to: em28xx #0: V4L Mailing List linux-me...@vger.kernel.org em28xx #0: Board detected as EM2860/SAA711X Reference Design em28xx #0: Identified as EM2860/SAA711X Reference Design (card=19) em28xx #0: Config register raw data: 0x00 em28xx #0: v4l2 driver version 0.1.3 em28xx #0: V4L2 video device registered as video0 em28xx_dvb: This device does not support the extension Creating /dev/video0 casa# chmod 666 /dev/video0 casa# And, can't play /dev/video0 : pwcview Webcam set to: 320x240 (sif) at 5 fps libv4l2: error queuing buf 0: Invalid argument libv4l2: error queuing buf 1: Invalid argument libv4l2: error queuing buf 2: Invalid argument libv4l2: error queuing buf 3: Invalid argument libv4l2: error reading: Device busy Error reading from webcam: Device busy Somebody can help me ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
SCSI sense: UNIT ATTENTION
Hi, I have: 9.0-RELEASE and this problem: ugen4.8: LaCie at usbus4 umass2: LaCie LaCie DVDRW USB, class 0/0, rev 2.00/0.00, addr 8 on usbus4 umass2: 8070i (ATAPI) over Bulk-Only; quirks = 0x0100 umass2:4:2:-1: Attached to scbus4 (probe0:umass-sim2:2:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim2:2:0:0): CAM status: SCSI Status Error (probe0:umass-sim2:2:0:0): SCSI status: Check Condition (probe0:umass-sim2:2:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred) cd1 at umass-sim2 bus 2 scbus4 target 0 lun 0 cd1: _NEC DVD_RW ND-3500AG 2.07 Removable CD-ROM SCSI-0 device cd1: 40.000MB/s transfers cd1: cd present [2295104 x 2048 byte records] (cd1:umass-sim2:2:0:0): READ(10). CDB: 28 0 0 23 5 3f 0 0 1 0 (cd1:umass-sim2:2:0:0): CAM status: SCSI Status Error (cd1:umass-sim2:2:0:0): SCSI status: Check Condition (cd1:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for t his track) (cd1:umass-sim2:2:0:0): Info: 0x23053f (cd1:umass-sim2:2:0:0): cddone: got error 0x6 back The DVDRW don't work correctly, ant idea for solvent this problem ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Abstraction leakage burning test DVD+R
Hello, After my dump/restore test failed back in May of 2010[1], I finally got around to burning a test DVD after installing about 2.5 inches of semi-rigid foam under the machine to dampen any local vibration. In designing the test, I was under the mistaken impression that buffer under-runs would reduce the amount of space for writing. Apparently, DVD+R media supports loss-less linking[2]. Test Procedure (using ATAPI interface, rather than the newer ATAPI/CAM interface). The man pages do not imply any major differences for this test. The drive in question is a LG drive with the SuperMulti logo. Test procedure: 1.# mkfifo auxout aux45G 2. In other terminals: # cat auxout | md5 # dd if=aux45G count=2197266 bs=2048 | md5 3. Write test disk: # dd if=/dev/urandom bs=2048 count=2295104 | \ tee auxout aux45G | dd of=/dev/acd0 bs=2048 Error: dd:/dev/acd0: Input/output error 679+0 records in 678+0 records out 1388544 bytes transferred in 80.97 seconds (step 4 not completed due to premature burn failure after 684 blocks, 80 seconds (from 'dd if=aux45G'...) (15743 bytes/sec)) Drive spun up at least twice during this time. 4. Read test (in another term 'cat aux45G | md5') # dd if=/dev/acd0 bs=2048 count=2295104 | tee aux45G | md5 Questions: Currently, the drive is locked. Before forcefully ejecting it and risking an new disk, I want to know what may have gone wrong. Was I expecting too much of FreeBSD on old hardware? The hardware is a Pentium-II desktop machine with 256MB of RAM, with a Promise ATA100 controller card. An extra-long 80-wire cable is in use (to ad4). acd0: DVDR HL-DT-STDVD-RAM GSA-H55N/1.03 at ata-1-master UDMA33 ad4: 78167MB Maxtor 6Y080L0 YAR41WB0 at ata-2-master UDMA100 dd if=/dev/urandom of=/home/test Wrote at 4485315 bytes/second: faster than I was expecting (based on linux's slow urandom function), but still slow enough to cause buffer under-runs. So the second question is: do I have to do anything special to enable buffer underrun protection? (with DVD+R's lossless linking feature, no data should be lost.) How important is running ATAPI/CAM? Obviously DVD burning was happening before the release of version 8, as far as I know. If running out of data is supposed to be abstracted away, did I find a bug that only shows up on old hardware or heavy load? (Or possibly drive firmware bug?) Regards, James Phillips # uname -a FreeBSD dusty.inet 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 [1] dump/restore (to DVD+R) test failure http://docs.freebsd.org/cgi/getmsg.cgi?fetch=290415+0+archive/2010/freebsd-questions/20100530.freebsd-questions [2] Why DVD+R(W) is superior to DVD-R(W) http://www.myce.com/article/Why-DVDRW-is-superior-to-DVD-RW-203/ PS: is signing messages on the mailing list a faux-pas? -- OpenPGP Public Key: http://phillipsjk.ca/signature0611.txt signature.asc Description: Digital signature
Re: fetchmail in system-wide mode
2011/9/7 Daniel Bye freebsd-questi...@slightlystrange.org Hi Daniel, On Wed, Sep 07, 2011 at 05:25:50AM +0200, Xavier FreeBSD questions wrote: On Tue, Sep 06, 2011 at 03:19:36PM +0100, Daniel Bye wrote: I paste the fetchmail_startup in: http://pastebin.com/vFqdhwfg For you, the answer of why don't worked for me fetchmail is lines 502 and 503 ? Looks like a permissions problem on the fetchmail config file, /usr/local/etc/fetchmailrc. What do you get when you run $ ls -l /usr/local/etc/fetchmail* ? I have just freshly installed fetchmail on a new system, and I see this: -rw--- 1 fetchmail fetchmail 130 7 Sep 21:24 - /usr/local/etc/fetchmailrc -rw-r--r-- 1 fetchmail fetchmail 130 7 Sep 21:24 - /usr/local/etc/fetchmailrc.sample If you see something different, try setting the permissions and ownership to what you see here, or try reinstalling the port. I don't have the /usr/local/etc/fetchmailrc because I use a user local file. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
fetchmail in system-wide mode
Hello, On the Internet there are some sites where they say to start fetchmail(1) in system-wide should put these two options in rc.conf(5) : fetchmail_enable=YES fetchmail_polling_interval=60 Although the second is optional and at first has little to do with this question because this question is addressed rather to the first option. I searched in /etc/defaults/rc.conf and rc.conf(5) manual and find no reference to these two options. I have them in my rc.conf(5) but fetchmail(1) does not start automatically. In /usr/src/UPDATING not found any reference to it. Which is the correct way to start fetchmail(1) in system-wide? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: fetchmail in system-wide mode
On Tue, Sep 06, 2011 at 03:19:36PM +0100, Daniel Bye wrote: Hi Daniel, On Tue, Sep 06, 2011 at 03:10:50PM +0200, Xavier FreeBSD questions wrote: Hello, On the Internet there are some sites where they say to start fetchmail(1) in system-wide should put these two options in rc.conf(5) : fetchmail_enable=YES fetchmail_polling_interval=60 This has worked for me in the past when I've needed fetchmail(1). Although the second is optional and at first has little to do with this question because this question is addressed rather to the first option. I searched in /etc/defaults/rc.conf and rc.conf(5) manual and find no reference to these two options. This is to be expected. fetchmail(1) is a port, not part of the base system. I have them in my rc.conf(5) but fetchmail(1) does not start automatically. In /usr/src/UPDATING not found any reference to it. Again, what you'd expect. Which is the correct way to start fetchmail(1) in system-wide? Is fetchmail installed on your system? If so, and you still can't get it to start automatically, try this: # script fetchmail_startup sh -x /usr/local/etc/rc.d/fetchmail start You'll now have a file called `fetchmail_startup' which will contain a record of exactly what the fetchmail rc script did as it executed, which may or may not prove informative. I paste the fetchmail_startup in: http://pastebin.com/vFqdhwfg For you, the answer of why don't worked for me fetchmail is lines 502 and 503 ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
[SOLVED]Re: atheros 9285 wifi
On Fri 15/07/11 7:46 PM , Vincent Hoffman wrote:On 15/07/2011 03:15, wrote: On Thu 14/07/11 9:28 PM , Maciej Milewski wrote:On czwartek, 14 lipca 2011 04:25:59 Polytropon wrote: On Thu, 14 Jul 2011 12:02:02 +1000, freebsd- wrote: So are you saying I can't just grab the ath module? Depends. Maybe a newer version of the module requires a more recent version of the kernel, because a new interface or function was added... I'd rather stick to release, but I guess if I'm having to rebuild the kernel each update... You _can_ try to just compile (1st step) and load (2nd step) the module with the RELEASE kernel, but it's not guaranteed to work. Both steps may require updates in sources or in the running kernel as illustrated above. You may try to get ath driver from -HEAD and compile it with your RELENG_8 tree[1]. There are many fixes for this chipset in the -HEAD. The coming 9 will have it(I don't know the timeframe for the release though) [1] http://lists.freebsd.org/pipermail/freebsd-wireless/2011-May/000224.html [2] target=_blankhttp://lists.freebsd.org/pipermail/freebsd-wireless/2011-May/000224.html [2] target=_blankhttp://lists.freebsd.org/pipermail/freebsd-wireless/2011-May/000224.html [3] target=_blankhttp://lists.freebsd.org/pipermail/freebsd-wireless/2011-May/000224.html Ok, I tried that- I did look into running stable as well, something Polytropon mentioned which twigged and I thought I might go that way, but looking into it further it is still a development branch. I think I need a bit more stability for my users. I bit the bullet and built subversion (which I'm more comfortable with than cvs) and pulled down ath from head (specifically head/sys/dev/ath, head/sys/modules/ath, head/sys/modules/ath_pci - tried stable as well, but got the same result as now). I'm having trouble building though (if I need to switch to a different list let me know - just a little painful with no working network): I get some odd file not found errors on some includes (headers from ath_hal specifically), and when I fix that I get HAL_PHYERR_PARAM not defined errors which I can't quite figure out. A point in the right direction will do; right now I'm getting lost in the maze a bit. I'm going to keep trying to untangle this, but some assistance would be appreciated. are you following the instructions from Adrian (currently the ath maintainer) here http://forums.freebsd.org/showthread.php%3Ft%3D23594 [4] target=_blankhttp://forums.freebsd.org/showthread.php?t=23594 I do this myself and its working well. (atheros 9280 though) Arggh! I must be so tired... I completely missed the includes in those instructions- and worse yet: I forgot them myself! Thanks for the reminder :) Works like a dream now, anyway. 8.2 with head ath drivers (for reference). Cheers - Message sent via Atmail Open - http://atmail.org/ Links: -- [2] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= [3] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= [4] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: atheros 9285 wifi
On Thu 14/07/11 9:28 PM , Maciej Milewski wrote:On czwartek, 14 lipca 2011 04:25:59 Polytropon wrote: On Thu, 14 Jul 2011 12:02:02 +1000, freebsd- wrote: So are you saying I can't just grab the ath module? Depends. Maybe a newer version of the module requires a more recent version of the kernel, because a new interface or function was added... I'd rather stick to release, but I guess if I'm having to rebuild the kernel each update... You _can_ try to just compile (1st step) and load (2nd step) the module with the RELEASE kernel, but it's not guaranteed to work. Both steps may require updates in sources or in the running kernel as illustrated above. You may try to get ath driver from -HEAD and compile it with your RELENG_8 tree[1]. There are many fixes for this chipset in the -HEAD. The coming 9 will have it(I don't know the timeframe for the release though) [1] http://lists.freebsd.org/pipermail/freebsd-wireless/2011-May/000224.html [2] target=_blankhttp://lists.freebsd.org/pipermail/freebsd-wireless/2011-May/000224.html Ok, I tried that- I did look into running stable as well, something Polytropon mentioned which twigged and I thought I might go that way, but looking into it further it is still a development branch. I think I need a bit more stability for my users. I bit the bullet and built subversion (which I'm more comfortable with than cvs) and pulled down ath from head (specifically head/sys/dev/ath, head/sys/modules/ath, head/sys/modules/ath_pci - tried stable as well, but got the same result as now). I'm having trouble building though (if I need to switch to a different list let me know - just a little painful with no working network): I get some odd file not found errors on some includes (headers from ath_hal specifically), and when I fix that I get HAL_PHYERR_PARAM not defined errors which I can't quite figure out. A point in the right direction will do; right now I'm getting lost in the maze a bit. I'm going to keep trying to untangle this, but some assistance would be appreciated. Cheers - Message sent via Atmail Open - http://atmail.org/ Links: -- [2] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
atheros 9285 wifi
Sorry, I hate to come to the list with such a stupid question. I followed up a thread from a couple of months ago regarding this chipset which is not fully supported yet- hardware resetting errors- and I'm trying to work out how to build this driver from head. Unfortunately, when I run the cvs commands suggested it can't seem to find it, and I'm wondering exactly what I'm missing. Network drops all the time, and won't handle any load, so assuming I only have amd64-8.2 base system utilities: CVSROOT=pserver:anon...@anoncvs.tw.freebsd.org:/home/ncvs cvs login cvs co ath cvs co ath_pci And downloading modules list doesn't show ath, if_ath, ath_pci, or anything with ath in it that is remotely related. As I understand it, cvs should be pulling from head by default right? So what am I missing? Or alternatively, how do I fix this wifi card- rebooting every time it drops is a PITA! :) Cheers - Message sent via Atmail Open - http://atmail.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: atheros 9285 wifi
On Thu 14/07/11 11:15 AM , Chip Camden wrote:Quoth on Thursday, 14 July 2011: Sorry, I hate to come to the list with such a stupid question. I followed up a thread from a couple of months ago regarding this chipset which is not fully supported yet- hardware resetting errors- and I'm trying to work out how to build this driver from head. Unfortunately, when I run the cvs commands suggested it can't seem to find it, and I'm wondering exactly what I'm missing. Network drops all the time, and won't handle any load, so assuming I only have amd64-8.2 base system utilities: CVSROOT=pserver::/home/ncvs cvs login cvs co ath cvs co ath_pci And downloading modules list doesn't show ath, if_ath, ath_pci, or anything with ath in it that is remotely related. As I understand it, cvs should be pulling from head by default right? So what am I missing? Or alternatively, how do I fix this wifi card- rebooting every time it drops is a PITA! :) Cheers - Message sent via Atmail Open - http://atmail.org/ [3] target=_blankhttp://atmail.org/ ___ mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions [5] target=_blankhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to FWIW my ath 9285 is working fine on 8.2-STABLE. I'm running release, though. I'm not exactly cvs proficient, I prefer subversion- just installing it is a PITA atm- so how do I bring in the stable version of the driver? I'm assuming also, then, that I will have to recompile my kernel won't I? Any particular reason why ath is not a loadable module? - Message sent via Atmail Open - http://atmail.org/ Links: -- [3] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= [5] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: atheros 9285 wifi
On Thu 14/07/11 11:40 AM , Polytropon wrote:On Thu, 14 Jul 2011 11:37:08 +1000, wrote: I'm running release, though. I'm not exactly cvs proficient, I prefer subversion- just installing it is a PITA atm- so how do I bring in the stable version of the driver? Here's an approach that works quite well: First add to /etc/make.conf: SUP_UPDATE=yes SUP=/usr/bin/csup SUPFLAGS=-g -L 2 SUPHOST=cvsup.freebsd.org SUPFILE=/etc/sup/stable.sup Then create the /etc/sup directory, and in it, create the file /etc/sup/stabe.sup with the following content: *default host=cvsup.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_8 *default delete use-rel-suffix *default compress src-all The setting RELENG_8 will bring you the latest 8-STABLE. Maybe you should replace the servers with something near your location for better speed. Then, as root: # cd /usr/src # make update and you've got the current sources. I'm assuming also, then, that I will have to recompile my kernel won't I? Of course, and kernel and world have to be in sync, so building world is also needed. See the instructions in the Makefile's comment section: # For individuals wanting to upgrade their sources (even if only a # delta of a few days): # # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. 4. can be combined by using the kernel target] # 5. `reboot'(in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' (you may wish to use -U or -ai). # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) # # See src/UPDATING `COMMON ITEMS' for more complete information. This is /usr/src/Makefile of course. So are you saying I can't just grab the ath module? I'd rather stick to release, but I guess if I'm having to rebuild the kernel each update... What are the cons to using stable? I thought stable was still being worked on and shouldn't be used for production? I'm providing services to very green users so I'd like to stay close to reliable as possible- hence my addiction with the release versions. - Message sent via Atmail Open - http://atmail.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Perl Problem After Upgrade to 5.12.4
On Wed, 06 Jul 2011 10:01:21 -0500, Tim Daneliuk wrote: Ideas anyone? I am trying to rebuild SpamAssassin after a perl upgrade to 5.12.4 and get this (I DID run perl-after-upgrade prior to this): === p5-Encode-Detect-1.01 depends on file: /usr/local/lib/perl5/site_perl/5.12.4/Module/Build.pm - not found ===Verifying install for /usr/local/lib/perl5/site_perl/5.12.4/Module/Build.pm in /usr/ports/devel/p5-Module-Build === License check disabled, port has not defined LICENSE === Extracting for p5-Module-Build-0.3800_1 = SHA256 Checksum OK for Module-Build-0.3800.tar.gz. === p5-Module-Build-0.3800_1 depends on file: /usr/local/bin/perl5.12.4 - found === Patching for p5-Module-Build-0.3800_1 === p5-Module-Build-0.3800_1 depends on file: /usr/local/bin/perl5.12.4 - found === p5-Module-Build-0.3800_1 depends on package: p5-CPAN-Meta=2.110420 - found === p5-Module-Build-0.3800_1 depends on package: p5-Module-Metadata=1.02 - found === p5-Module-Build-0.3800_1 depends on package: p5-Parse-CPAN-Meta=1.44.01 - found === p5-Module-Build-0.3800_1 depends on package: p5-Perl-OSType=1.000 - found === p5-Module-Build-0.3800_1 depends on package: p5-version=0.87 - found === p5-Module-Build-0.3800_1 depends on file: /usr/local/bin/perl5.12.4 - found === Configuring for p5-Module-Build-0.3800_1 *** BOOTSTRAPPING Perl::OSType *** *** BOOTSTRAPPING version *** *** BOOTSTRAPPING Module::Metadata *** Checking prerequisites... requires: ! CPAN::Meta is not installed build_requires: ! Parse::CPAN::Meta (1.40) is installed, but we need version = 1.4401 ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Could not create MYMETA files Creating new 'Build' script for 'Module-Build' version '0.3800' Copied META.yml to MYMETA.yml for bootstrapping These additional prerequisites must be installed: requires: ! Perl::OSType (we need version 1.00) ! version (we need version 0.87) ! Module::Metadata (we need version 1.02) === Building for p5-Module-Build-0.3800_1 Can't locate Perl/OSType.pm in @INC (@INC contains: t/lib t/bundled lib /usr/local/lib/perl5/5.12.4/BSDPAN /usr/local/lib/perl5/site_perl/5.12.4/mach /usr/local/lib/perl5/site_perl/5.12.4 /usr/local/lib/perl5/5.12.4/mach /usr/local/lib/perl5/5.12.4 .) at lib/Module/Build.pm line 13. BEGIN failed--compilation aborted at lib/Module/Build.pm line 13. Compilation failed in require at Build line 42. BEGIN failed--compilation aborted at Build line 42. *** Error code 2 Stop in /usr1/ports/devel/p5-Module-Build. *** Error code 1 Stop in /usr1/ports/converters/p5-Encode-Detect. *** Error code 1 Stop in /usr1/ports/mail/p5-Mail-SpamAssassin. *** Error code 1 Stop in /usr1/ports/mail/p5-Mail-SpamAssassi Hello Tim, list, I have the same problem on one of my boxes. Cannot upgrade p5-Module-Build-0.3800 port because of this. Cheers, Lars. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ORBit not upgrading
I have a wee problem... :) I've been naughty because I've been working on other things and I was going to simply rebuild this m/c when I got the chance anyway. Unfortunately I've run into a problem where I need to upgrade because I've found a bug in php 5.3.2 which is killing me. So I've run an upgrade at a rather late date, and alswell... except ORBit is not behaving. I've checked UPDATING and looked into the Makefiles, but for the life of me I can't fathom what the hell is going on. It is running thru the checks and stalls completely here: ... checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking whether gmake sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for strerror in -lcposix... no checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking how to run the C preprocessor... cpp checking if C preprocessor likes IDL... yes checking if C preprocessor can read from stdin... yes checking how to ignore standard include path... Huh? Any reason it'd be looking for a non standard include path? Whats the hold up? Now this is ORBit-0.5.17_5, and I don't think a manual reinstall would make much difference. But WTF? Any Ideas? As for the php error: anybody have trouble with preg_match and the subject string being a variable? If I manually put the contents in as the subject it works, but it won't read out of the variable. I'm actually exec something and the variable holds the output (and yes, it does work, and the variable holds the info right- just ran a print on the variable) but the stupid thing is sending me bald and I can't register a bug before an upgrade. Cheers - Message sent via Atmail Open - http://atmail.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Android usb tethering
not exactly sure what that meant (usb2.0, or libusb2, whatever). Now, I've only just quickly grabbed it and tried to make- I haven't had a chance to look too deeply into it as yet- but these are the errors if someone could throw me a clue as to what it might be indicating? (wrong library? generic error I have to debug?) if_rndis.c: In function 'rndis_recv_message': if_rndis.c:985: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' if_rndis.c: In function 'rndis_bulk_read_callback': if_rndis.c:1167: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' if_rndis.c:1187: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' if_rndis.c:1204: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' *** Error code 1 I did get from the site that it was for Windows Mobile, but I believe that this is a generic system coming out now. It might help? Cheers - Message sent via Atmail Open - http://atmail.org/ [2] target=_blankhttp://atmail.org/ ___ mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions [4] target=_blankhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to ___ mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions [7] target=_blankhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to No, I'm afraid its not ethernet over usb as in an ethernet adaptor like axe. RNDIS is a protocol- and apparently there could be many more devices that use it as a universal medium since M$ opened the specs to public use. The linux output above says its something similar to cdce, but I don't think its the same- it also mentions rndis (rndis over cdce? or the reverse? Or just a slightly different form of cdce?). M$ were apparently talking about using it as a common medium for device comms so it could get hairy without it (much as I hate admitting that). I fiddled with cdce before, but didn't have any success- but that I think was more due to the fact I didn't know how to generate the devs file. I ended up putting the device manually into the driver but I don't think I was successful. (Incidentally I now know how to generate the damn file; stumbled on it by complete accident- so much for google! Couldn't find it by actually searching could I? I'll doc that here too: to generate usbdevs.h, run awk on the usbdevs2h.awk script in the dir- tools I think. There, that'll do I believe :) Google cache that!) This rndis module for Winblows Mobile should be close, but will probably need tweaking. Maybe merge with cdce as it appears to be in linux? That said if you have a Nexus maybe we can crack at it and share notes? I've gotten this far in ~2-3 mths, I'm sure it'll be quicker with someone with more coding experience and/or another phone. Interested? Incidentally, won't it be easier if it isn't just another modem, but just a network device? If the phone provides the IP all that needs to happen is to change the default route- right? The idea is, if I can crack it, is to use it for business purposes as the phone provides some functionality which can than be boosted by laptop for x11 connections, whatever over the vpn (the possibilties are endless- a complete mobile office and more). I was hoping to get a look into that code today; but today will be tomorrow in a matter of minutes (actually it is now), so I guess that was a pipe dream . Hopefully tomorrow... I mean today... its way too late for this! Cheers - Message sent via Atmail Open - http://atmail.org/ Links: -- [2] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= [4] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= [7] http://webmail.unitedinsong.com.au/parse.php?redirect=a href= ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Android usb tethering
- I haven't had a chance to look too deeply into it as yet- but these are the errors if someone could throw me a clue as to what it might be indicating? (wrong library? generic error I have to debug?) if_rndis.c: In function 'rndis_recv_message': if_rndis.c:985: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' if_rndis.c: In function 'rndis_bulk_read_callback': if_rndis.c:1167: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' if_rndis.c:1187: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' if_rndis.c:1204: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' *** Error code 1 I did get from the site that it was for Windows Mobile, but I believe that this is a generic system coming out now. It might help? Cheers - Message sent via Atmail Open - http://atmail.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: failure to import ldif into ldap
On Fri 5/11/10 6:40 AM , Tim Dunphy wrote:Thanks all.. I have read the man of ldif your advice has gotten me quite far both in my current implementation and in my overall understanding of LDAP which I am hoping grows with each passing day. In my attempt to build my current directory, I have taken a dump of my last successful implementation (which was created on FreeBSD 8.1) and substituted values for the dc=company and dc=com values with the correct ones for the current directory (attempting to implement under CentOS 5.4) and even tho the correct schemas are in place it is choking on this entry: # defaults, sudoers, Services, acadaca.com dn: cn=defaults,ou=sudoers,ou=Services,dc=acadaca,dc=net objectClass: top objectClass: sudoRole cn: defaults description: Default sudoOption's go here And again I should have all the schemas in place to make this work... include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/misc.schema inlcude /etc/openldap/schema/sudoers.schema include /etc/openldap/schema/openldap.schema [ ldif]# ldapadd -h ldap -a -w secret -x -D cn=Manager,dc=acadaca,dc=net -f /home/tim/txt/ldif/acadaca-master.ldif adding new entry cn=defaults,ou=sudoers,ou=Services,dc=acadaca,dc=net ldapadd: Invalid syntax (21) additional info: objectClass: value #1 invalid per syntax Why this ldif will work in one directory but not another is a mystery at this point.. thanks again I'd be checking in a schema browser- make sure your objectclasses are all present and accounted for, plus your attributes and syntaxes match. HTH - Message sent via Atmail Open - http://atmail.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Android usb tethering
Anyone tried the data tethering feature on the Android phones? I've tried cdce and tried modifying cdce but no luck. I need to regenerate the device list, but I haven't had any luck yet- simply running make doesn't work, and I've read Makefiles and googled out the wazoo. I tried modifying the details off the openmoko site for their data tether system (for FreeBSD8, mind), still no luck. Apparently it uses the cdc_ether RNDIS according to my Fedora shit media system. usbconfig concurs. Any hints, suggestions on how to further my investigations and getting this thing working? Anyone happen to be working on this? Cheers - Message sent via Atmail Open - http://atmail.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Android usb tethering
On Tue 2/11/10 10:11 AM , Alejandro Imass wrote:On Mon, Nov 1, 2010 at 6:25 PM, Ivan Voras wrote: On 11/01/10 15:42, Mark Atkinson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [...] In the above messages, the kernel detaches the storage device (umass) and tries to attach the new device, which doesn't have a driver so it's attached as ugen - generic USB. Yes. One has to remember that USB is just the bus just like pci, microchannel, etc. Even though you have access to the device on the bus you still need a driver for that specific ethernet chip your kernel. This is analogous to having a video card on the pci bus, you still need for the kernel to drive the specific chipset of the card regardless if it can see it on the bus. I have an HTC Nexus One so I may fiddle with this and see if I can help some more here. I am wishful that at least we can get a tty just like other gsm modems and from there it's pretty straight forward using wvdial or alike. If it's only the Ethernet over usb like you mention, then the chipset driver would have to be translated/ported to the FBSD kernel, if it's not already there ? Ok. But I will clarify here: The HTC Android systems uses an Internet Sharing feature- essentially Google has coded in routing/nat system into the base OS (probably moding the leftover code already in the linux base), and is trying to allow similar using bluetooth and wifi at a later date as well. The RNDIS is a M$ system that allows sharing anything over USB (network, files, etc- but all essentially operated as network anyway), something they've been playing with for some years- I was looking for an A-A USB cable since around 2003 or so to quickly transfer files when needed. Apparently M$ opened the specs a year or two ago and everyone's jumped on to use it. So where Google started was to start allowing the use of the router/nat via RNDIS USB - somehow this was easier than allowing bluetooth or wifi (probably security and available hardware features). So yes, apparently the phone hooks up as a usb mass storage device, uploads a file to the computer, and disconnects and becomes a network device. Here is the output from linux: usb 2-2.2: new high speed USB device using ehci_hcd and address 4 usb 2-2.2: configuration #1 chosen from 1 choice scsi9 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 4 usb-storage: waiting for device to settle before scanning usb 2-2.2: New USB device found, idVendor=0bb4, idProduct=0ff9 usb 2-2.2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb 2-2.2: Product: Android Phone usb 2-2.2: Manufacturer: HTC usb 2-2.2: SerialNumber: SH07TNX00726 usb-storage: device scan complete scsi 9:0:0:0: Direct-Access HTC Android Phone0100 PQ: 0 ANSI: 2 sd 9:0:0:0: [sdf] Attached SCSI removable disk sd 9:0:0:0: Attached scsi generic sg6 type 0 usb 2-2.2: USB disconnect, address 4 usb 2-2.2: new high speed USB device using ehci_hcd and address 5 usb 2-2.2: configuration #1 chosen from 1 choice usb 2-2.2: New USB device found, idVendor=0bb4, idProduct=0ffe usb 2-2.2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb 2-2.2: Product: Android Phone usb 2-2.2: Manufacturer: HTC usb 2-2.2: SerialNumber: SH07TNX00726 usbcore: registered new interface driver cdc_ether usb0: register 'rndis_host' at usb-:00:04.1-2.2, RNDIS device, ae:f6:3d:da:20:39 usbcore: registered new interface driver rndis_host usbcore: registered new interface driver rndis_wlan usb0: no IPv6 routers present usb 2-2.2: USB disconnect, address 5 usb0: unregister 'rndis_host' usb-:00:04.1-2.2, RNDIS device So. What would be my next step to make this work? OpenMoko have something similar and I tried moding some of their scripts (they've made theirs work with ALL OS- not just linux and Winblow$! Take heed manufacturers!) but it didn't mesh on the Android. I still end up with a generic host. As I mentioned, I tried modifying the cdce driver and the device list but that didn't help either, so when I moded the scripts and devd.conf I figured that was the missing piece of my puzzle. I'd actually pay someone to do this, but I do need to figure this out for myself anyway so I'm diving in deep and going to keep on struggling till I get it. I need it figured out before the year's end so I'm not going to sit on my laurels :) That, and a usb mass storage device emulator to trick a dumb digital photo frame ___ mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions [3] target=_blankhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to ___ mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions [6] target=_blankhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to - Message sent via Atmail Open
Xorg manual configuration
I haven't got any response to Xorg in a jail, so I'll try and wing it... That said, I do need some help trying to figure out how to: 1. Determine exactly what Xorg is probing for (what details it needs, etc). So far I think I need memory address ranges, chipsets, etc. Found a lot of stuff in the log, but I'm not sure if its enough or all I need. 2. Then take the details and set them out in the Xorg.conf. (VideoAdaptor Section?) What I'm finding really annoying is why the manual configuration systems are completely unavailable as of now. I remember my first crack at getting X running on a 4.3 system, and having to go through screens of configurations for the monitor, card, inputs, etc. Ok, its cool now that we don't need to do this anymore, but it does kill things if you're trying this in a system which is restrictive. From all the info I gathered so far /dev/io is used for the probing. IF the details are entered manually, then surely this would mean it doesn't need io. I'm still not sure what to do about /dev/mem and /dev/kmem. This is just an experiment- please do humour me and let me have my fun trying to bang my head even against the brick wall- who knows? Maybe I'll get somewhere... :) Msg sent via @Mail - http://atmail.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
makeinfo is stopping portupgrade
Hi, I'm still running 5.5R on a machine that needs a few ports upgraded. However, portupgrade now fails consistently when I try to upgrade m4 and autoconf262 with errors that seem to relate to makeinfo. Is there anything I can do to make this work, short of upgrading the base system? Making all in doc Updating ./version.texi restore=: backupdir=.am$$ am__cwd=`pwd` cd . rm -rf $backupdir mkdir $backupdir if (makeinfo --no-split --version) /dev/null 21; then for f in ./m4.info ./m4.info-[0-9] ./m4.info-[0-9][0-9] ./m4.i[0-9] ./m4.i[0-9][0-9]; do if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; done; else :; fi cd $am__cwd; if makeinfo --no-split -I . -o ./m4.info ./m4.texinfo; then rc=0; cd .; else rc=$?; cd . $restore $backupdir/* `echo ././m4.info | sed 's|[^/]*$||'`; fi; rm -rf $backupdir; exit $rc ./m4.texinfo:481: Unknown command `'. ./m4.texinfo:2582: Unknown command `'. ./m4.texinfo:2584: Unknown command `'. ./m4.texinfo:2795: Unknown command `'. makeinfo: Removing output file `./m4.info' due to errors; use --force to preserve. *** Error code 1 Stop in /usr/ports/devel/m4/work/m4-1.4.11/doc. *** Error code 1 Stop in /usr/ports/devel/m4/work/m4-1.4.11. *** Error code 1 Stop in /usr/ports/devel/m4/work/m4-1.4.11. *** Error code 1 Stop in /usr/ports/devel/m4. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.27118.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=m4-1.4.11,1 UPGRADE_PORT_VER=1.4.11,1 make DEPENDS_TARGET=package ** Fix the problem and try again. thanks, -- Joel Hatton | Direct: +61 7 3346 4520 AusCERT - Australia's national CERT | Hotline: +61 7 3365 4417 The University of Queensland| Fax: +61 7 3365 7031 Qld 4072 Australia | WWW: www.auscert.org.au | Email: ausc...@auscert.org.au ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: root /etc/csh
isn't the main reason because other shells may reside on a filesystem which isn't necessarily mounted in maintenance/single user mode? Or, libraries for the same? -- Jim Pazarena [EMAIL PROTECTED] Just link the shell of your choice statically and put it somewhere in /. Problem solved. Why doesn't FreeBSD ship bash and other shells besides the `sh' linked statically is beyond me. It wouldn't break ports, would it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UFS2 limits
Erik Trulsson([EMAIL PROTECTED])@2008.11.09 20:54:14 +0100: Besides, for most database applications I can think of, what you would need are lots of *files*, which do not have any special limitations other than the the total space and number of i-nodes on the filesystem. Even if you were using the FS as a DB I can't think of any good reason to need 3+ subdirectories in a single directory. Large Maildirs for postfix and qmail/Courier. Some people don't delete email at all. Again, that requires lots of files, not lots of subdirectories. I agree, I misread the OP. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Suspicious physical memory map from BIOS
Hi, I have some problem with physical memory being getting reported incorrectly on Freebsd 6.3. I have 4GB of RAM installed but BIOS call actually returns following usable physical memory map - base address = 0, length = 640K base address = 1M, length = 2.5G base address = 4G, length = 5.5G How am I getting this third segment? Also, in function getmemsize() in machdep.c, why the variable 'Maxmem' is set to 'Maxmem*4' when hw.physmem and the highest page number obtained from physical memory map don't match? Any help with this would be wonderful. Thanks, Fahad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports and 64-bit Processors
FreeBSD has supported 64-bit architectures for a while now... Alpha and UltraSPARC come to mind--even if Alpha is no longer a Tier 1 architecture. I'm surprised to hear so many of you say that certain ports are broken on AMD64. I would think if they worked on other 64-bit processors they'd work on AMD64. Were the ports that are broken on AMD64 also broken on those other architectures, too? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Switching to IPv6?
I've been considering switching my home network to IPv6. I have a computer acting as a firewall sitting between my ISP and my three LANs at home. Of course, my DSL provider gives me an IPv4 address, and everything I want to access on the Internet is on an IPv4 network. The whole point is to learn to set up IPv6, to play with IPv6, and to become familiar with it, so when the day comes that the world actually uses IPv6 (ha ha) I'm ready, armed with knowledge. But the whole idea will go to pot if my firewall can't let my IPv6 networks access my IPv4 Internet connection. Does FreeBSD 7 provide such facilities as to allow access to an IPv4 network from an IPv6 network? What will my Vista, XP, and FreeBSD clients do if they only have an IPv6 address and I try to go to google.com or freebsd.org which are on IPv4 networks? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Architecture Handbook
One more book question... Is there anything significant to gain from reading both The Design and Implementation of the FreeBSD Operating System and The FreeBSD Architecture Handbook? I've skimmed the tables of contents for both books, and there seems to be some overlap in topics. What I don't know is if the details are redundant or if there's useful information to glean by reading both as opposed to just one or the other. Thank you, everyone, for your input! I really do appreciate you sharing your thoughts. Kevin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The Design and Implementation of the FreeBSD Operating System
Thank you all for your input. I'm studying up on OS design and implementation for my own personal edification, so I started reading my old college Tanenbaum text Modern Operating Systems. Then I wanted to learn specifically about FreeBSD, so The Design and Implementation of the FreeBSD Operating System was the next logical step. I'll expand to other topics of interest from there. Again, thank you for your comments! Kevin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The Design and Implementation of the FreeBSD Operating System
Yet your point is completly valid one.. and that's why The Design and Implementation of the FreeBSD Operating System is the only book that I've been hesitant on buying so far ... Lucas (Absolute FreeBSD, 2nd Edition), Lavigne (The Best of FreeBSD Basics), Kong (BSD rootkits), Lehey (Download edition:) ) are all over my desktop as I write this mail, and I consult them daily ... Farrokhi (Network Administration with FreeBSD) and Hong (Building a Server with FreeBSD 7) are the ones coming in the next batch ... Has anyone on the list read Building a Server with FreeBSD 7: A Modular Approach? The description on bookpool.com makes it sound a little basic/superficial, covering topics such as how to install FreeBSD and how to install/configure programs via the ports. I'm already very familiar with these topics; does anyone know if this book covers more advanced topics or details like the nitty-gritty of configuing sendmail, apache, samba, NFS, etc? And what about Absolute FreeBSD? It's updated for FreeBSD 7, so I know it's current. Is it a good book? Is it worth the read? How valuable is its content? (I know I'm asking some very subjective questions, but if I'm going to spend hundreds of $$$ to build my library in this area, I'd like at least a couple of opinions about the books I buy.) So far .. there are only three books I would have bought but I didn't because I thought the situation could improve ... those are: The Design and Implementation of the FreeBSD Operating System, BSD Hacks and The FreeBSD HandBook... same reason for all of them .. too old by now (although I think I'll buy BSD Hacks anyways .. I just can't resist buying Lavigne books :( ) Personally, I don't think I'd ever buy The FreeBSD Handbook. It's a really good resource, but as long as it's actively updated electronically it's too dynamic to buy a hardcopy. I'd much rather read it online where I can get the latest revisions. Kevin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The Design and Implementation of the FreeBSD Operating System
This book was printed in August 2004. This predates FBSD 5, and I know there were some significant changes between the 4.x and 5.x branches. We've progressed further and are now into version 7. How well does this book apply to more current versions of FreeBSD, such as version 7? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Unable to load dynamic library in httpd-error.log
From the httpd-error.log: [Wed Mar 19 05:40:16 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/json.so' - Cannot open quot;/usr/local/lib/php/20060613/json.soquot; in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/hash.so' - Cannot open quot;/usr/local/lib/php/20060613/hash.soquot; in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/filter.so' - Cannot open quot;/usr/local/lib/php/20060613/filter.soquot; in Unknown on line 0 [Wed Mar 19 05:40:24 2008] [notice] Digest: generating secret for digest authentication ... [Wed Mar 19 05:40:24 2008] [notice] Digest: done [Wed Mar 19 05:40:25 2008] [notice] Apache/2.2.8 (FreeBSD) mod_ssl/2.2.8 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.5 with Suhosin-Patch configured -- resuming normal operations The three files mentioned above are all available in the '/usr/local/lib/php/20060613-debug' directory. Should I be modifying a config file or something, or is this just a harmless error message? -- Gerard [EMAIL PROTECTED] An adequate bootstrap is a contradiction in terms. signature.asc Description: PGP signature
make install a port, but with a package?
Hi, I have a bad feeling that this has been asked already, and not that long ago, but I can't find it in my mailbox. Is there a variable I can set so that running 'make install' in a port directory will cause it to download the package, if available, and install that instead of building from source? In other words, the equivalent of 'portupgrade -NPP'. I have looked at the .mk files and nothing in there seems to do that. This is for the situation where portupgrade isn't installed yet, and I'd like to install it quickly from packages so I don't have to wait for Ruby to build. Sure, I could do it with pkg_add or sysinstall but it would be neat to be able to do everything from the ports tree. thanks, joel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Xorg build problem - font-misc-misc
Hi, I've _almost_ successfully upgraded to 7.2 xorg. For some reason, I'm getting a failure when building font-misc-misc and this stops other crucial ports getting built. At present, if I try to run 'X' I get the dreaded cannot find font fixed' error. I sync'd my ports tree again this morning but the problem remained. Here's the output from the build error I get: /usr/local/bin/bdftopcf -t nil2.bdf | gzip nil2.pcf.gz 4x6.bdf /usr/local/lib/X11/fonts/util/map-ISO8859-1 ISO8859-1 4x6.bdf:No such file or directory *** Error code 1 Stop in /usr/ports/x11-fonts/font-misc-misc/work/font-misc-misc-1.0.0. *** Error code 1 Stop in /usr/ports/x11-fonts/font-misc-misc. Help? :) joel -- Joel Hatton -- Infrastructure Manager | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[OT] Curious: what's up with bsdnews.com?
Hello list, Just curious: for me from the Netherlands bsdnews.com has not been accessible for a few days already. Does anybody know what is wrong? It seems that the domainname is still there and an A record as well. Regards, Lars. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Kernel Options fo a File Server
man tuning? Cheers, Lars. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ivan Carey Posted At: Tuesday, May 22, 2007 1:28 PM Posted To: FreeBSD-Questions Conversation: Kernel Options fo a File Server Subject: Kernel Options fo a File Server Hello, What would be the best Kernel options to run a file server? I will be using an Intel server mother board with one Xeon quad core CPU installed (this mother board has 2 CPU sockets) 2GB RAM and dual 500Gb SATA HDD's I am thinking of options that would make the kernel efficient as a pure file server. Thanks, Ivan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to force ports to use OPENSSLBASE=/usr/local?
hi, i've an install of FreeBSD 6.2-RELEASE. base ssl is: /usr/bin/openssl version OpenSSL 0.9.7e-p1 25 Oct 2004 i've installed openssl from ports, `which openssl` version OpenSSL 0.9.8e 23 Feb 2007 i'm trying to get a ports-build of openssh-portable to link the ports-installed ssl, OpenSSL 0.9.8e. i've addedto '/etc/make.conf': +++ OPENSSLBASE=/usr/local and, am (re)building with, cd /usr/ports/security/openssh-portable make deinstall rmconfig OPENSSLBASE=/usr/local reinstall clean but, after build, i _still_ see the base-installed ssl used: ldd /usr/local/bin/ssh | grep ssl libssl.so.4 = /usr/lib/libssl.so.4 (0x283bb000) what do i need to set/change for the ports' openssl to be used -- for openssh and, eventually, all subsequent ports? thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dual boot problems
Hello, This weekend I purchased a laptop with a core2duo processor. The laptop came with windows Vista premier. Due to some applications that I require, removing Vista and installing FreeBSD is not an issue. (Please leave the Vista/Microsoft flames at the door) When I install FreeBSD/i386, I can then install grub (instead of FreeBSD's bootloader) and I can have grub chainload the Vista bootloader. All works fine. However, when I try FreeBSD/amd64, grub won't compile (it's architecture is forced to i386 only in the Makefile. I haven't dug into why, but I'm confident there is a reason. Obviously, grub becomes a non-option. Gag has the same limitation of being i386 only. Has anyone successfully been able to dual boot Vista + FreeBSD/amd64? I'm eager to have both on the laptop, however I've spent the entire weekend scouring google, and reinstalling both freebsd (i386 and amd64 versions) and have reinstalled vista at least 8 times. I've already thought about using the windows bootloader, but Vista has done away with NTLDR/boot.ini in favor of BCD. editing BCD seems non-trivial at best, and frankly I'm getting tired of reinstalling OS's; so I thought I'd ask around instead of reinventing the wheel. Thank you in advance for any advice, or input. Also thanks in advance for leaving the irrelevant MS hatred out of the thread. - Jeff Palmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual boot problems
On 2/13/07, Questions [EMAIL PROTECTED] wrote: Hello, This weekend I purchased a laptop with a core2duo processor. The laptop came with windows Vista premier. Due to some applications that I require, removing Vista and installing FreeBSD is not an issue. (Please leave the Vista/Microsoft flames at the door) When I install FreeBSD/i386, I can then install grub (instead of FreeBSD's bootloader) and I can have grub chainload the Vista bootloader. All works fine. However, when I try FreeBSD/amd64, grub won't compile (it's architecture is forced to i386 only in the Makefile. I haven't dug into why, but I'm confident there is a reason. Obviously, grub becomes a non-option. Gag has the same limitation of being i386 only. to make sure i understand this correctly, you can install FreeBSD (assuming 6.1-RELEASE)/amd64 on your system but am having problems compiling grub in this environment from the ports tree? it looks like grub may only build correctly on i386 systems, but you may be able to define your cpu as a 32bit arch in /etc/make.conf while trying to build grub to see if that works. i've never had to do this though, but it's worth a shot. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] !DSPAM:4,45d26f9c8487852311823! Thanks for the fast reply, Pete. It's actually 6.2-RELEASE/amd64, and I have tried compiling grub with the pentium3, and pentium4 CPUTYPE's in /etc/make.conf, to no avail. Sadly, it seems as though vista has code in the MBR now, that seems to be part of the bitlocker stuff. FreeBSD's standard bootloader interferes with it, causing Vista to give a error message about files being corrupted. Maybe there is a simple (to the MBR guru types) that could be implemented into the fbsd bootloader. -Jeff Palmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual boot problems (RESOLVED)
On Tue, 13 Feb 2007 20:44:03 -0500 (EST) Questions [EMAIL PROTECTED] wrote: However, when I try FreeBSD/amd64, grub won't compile (it's architecture is forced to i386 only in the Makefile. I haven't dug into why, but I'm confident there is a reason. Obviously, grub becomes a non-option. Gag has the same limitation of being i386 only. I'm not sure why gag is i386 only, all it does is install a binary floppy disk ISO. You can also install it from many Linux live CDs. Once it's installed it's independent of the original installation medium. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] !DSPAM:4,45d274028483574158760! To help anyone out who is also attempting to dualboot FreeBSD/amd64 and Vista: here is what I did. Install Vista first. Use the disk manager to create a partition (or resize the partition) to make room for FreeBSD. reboot, and install FreeBSD, installing a standard MBR (the machine will reboot directly into FreeBSD) After back into a fresh FreeBSD, do: sysinstall Configure Distributions lib32 (this installs 32bit compatibility libraries. Now fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/grub.tbz (yes, the i386 package) pkg_add grub.tgz It will now work in compatibility mode, and you can use it same as you can with a native FreeBSD/i386. Hope it helps someone! - Jeff Palmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ports with -DBATCH
Hello, I'm writing a script to install a series of ports, and would like to use the following: cd /usr/ports/foo/bar make WITH_OPTION1=yes WITH_OPTION2=yes WITHOUT_ANOTHER=yes -DBATCH install That works as expected, but I would also like those settings written to the /var/db/ports/foobar/options file, so that future upgrades also include the choices I made during the batch install. I've scoured the /usr/ports/Mk/* files, and don't see anything useful for both BATCH and writing to the options file. Suggestions would be much appreciated. Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ping: sendto: Can't assign requested address
Please disregard the last message, I figured it out. Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ping: sendto: Can't assign requested address
Hello, Let me preface this mail by saying: I'm an idiot. Now that we've gotten that out of the way, you don't have to say it! I have a piece of networking equipment that does not have a factory defaults button on it. it has to be RMA'd and returned to the manufacturer if you can't remember login credentials (forgot username,pass/IP, etc) I was assigning the unit an IP address of 172.20.1.x but I typod it. 127.20.1.x and as you can guess, I can't connect to the unit from any other device now. 127.x is loopback. I have tried assigning a 127.20.1.x address to an ethernet interface in a FreeBSD box, and removinging the 127.0.0.1/8 on localhost. I've also gone into the routing table, and removed all traces of routes for 127.x and finally, *tried* creating a route for 127.20.1.x to go out the ethernet interface (link #2) The problem with everything above is: no matter what ip/subnet combination I use, I get a message (when adding the route) that the network is unreachable. Then, when I try to ping the device from the fbsd box, I get ping: sendto: Can't assign requested address My question is: Is it possible in any way, to change the 127 routing to pass out my ethernet card long enough to re-ip this device? I haven't yet come up with a decent solution. Thanks for any thoughts, Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Prevent process in disk wait
Hello list, While installing the Ruby port on a 6.1-Release system (uname -a FreeBSD sigma.socruel.nu 6.1-RELEASE-p6 FreeBSD 6.1-RELEASE-p6 #0: Wed Sep 20 08:40:52 CEST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SIGMA i386) I see that the process gets into a DL+ state: 37696 p0 IW+0:00.00 make install 37780 p0 IW+0:00.00 (sh) 37781 p0 IW+0:00.00 make -f Makefile OPENSSL_CFLAGS=-DNO_IDEA install 37787 p0 IW+0:00.00 /bin/sh -ec ./miniruby ./runruby.rb --extout=.ext -- ./bin/rdoc --all --ri --op /usr/local/share/ri/1.8 37788 p0 DL+ 39:43.11 ./ruby18 ./bin/rdoc --all --ri --op /usr/local/share/ri/1.8/system . The system is an old Pentium 5 with a standard IDE drive. Is there a possibility to tweak the system so that this doesn't happen or is something terribly wrong with the system? Besides this the system is running fine. This causes this process to take a very long time MTIA. Cheers, Lars. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SCSI disks spinning down
I have a server, running FBSD 5.4, that has six SCSI disks in it. It's primarily a fileserver for IT, and it's not access frequently, but it does get some use. Most of the time--any time it's been sitting for a while and not accessed recently--reading from the drive takes a few seconds. I presume this is because the drive has spun down due to it's idleness and the delay is because the drive is spinning up again when I access it. Is there a way to disable this? The drives are IBM Deskstar drives (DPSS-318350M), and I don't know if this feature is a feature in the SCSI subsystem somewhere on FBSD or a jumper setting on the drive or what. I'm not even sure I can turn it off so the drives don't spin down. Any ideas, anyone? Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDstats Project v2.0 ...
While I'm definately interested in the statistical reporting, I do have one suggestion: Add a random sleep time to the update. Otherwise, the reporting server is gonna get HAMMERED once a month, assuming this project gains any kind of momentum. A random sleep timer at the beginning of the script over (for example) a 3 hour window could make the load bearable for the checkin server.Just something to consider. I've now committed v2.0 of the 300.statistics periodic script ... this one adds the device reporting that we'd talked about previously, and the summary reports now reflect the driver(s) in use for those deciding to report ... This Phase of the script is optional, and not enabled by default ... I can't think of any reason why you wouldn't want to report it, but just in case someone feels it poses a problem, its an opt-in report ... pkg-message updated to reflect the extra line you need to add to /etc/periodic.conf: monthly_statistics_report_devices=yes I've written it to report driver + chip= information from pciconf -l, since even pciconf -lv doesn't seem to use card= ... the summary report will be extended next to show both vendor and chip statistics ... Let me know of any problems ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: *bsd firewall appliance?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DW Posted At: Thursday, July 13, 2006 2:06 PM Posted To: FreeBSD-Questions Conversation: *bsd firewall appliance? Subject: Re: *bsd firewall appliance? Philippe Lang wrote: [EMAIL PROTECTED] wrote: Hi all, Just doing some early morning brainstorming, and my crazy thought of the day is this: My life would be so much easier if I could just get rid of my stupid PIX firewalls, and replace them what I know and love: FreeBSD. It's not that the PIX's have been causing me problems or anything like that, it's just that I believe in streamlining whenever possible, and since we've already exterminated Microsoft in my server room for at least 3 years, the only thing left that's not running FreeBSD are my appliances (firewalls and switches) and 2 leftover legacy servers still running Redhat that haven't been worth the effort to migrate to FreeBSD. I'm a one-man shop, and I can survive using the PIX IOS when I have to, but would just as soon use BSD if I could. Questions: 1) If I did this, I would probably only do it if I could figure out how to rack up some diskless servers to my 2-post communications rack. Any thoughts on hardware candidates, etc.? 2) If I did this, maybe it would be wiser to go with OpenBSD instead, since it is known for security? 3) Any good tutorials on setting up a diskless servers for Free/OpenBSD? 4) Any other considerations? 5) Am I just being stupid and should I just keep my PIX's going? I know, I know, if it ain't broke, don't fix it. Hi, Maybe a good start for you would be to have a look at http://www.m0n0.ch/wall/. WOW!! This is exactly what I was looking for and more! Can't wait to start trying it out! Thanks! Cheers, --- Philippe Lang Attik System ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi, If you like m0nowall also take a look at pfSense (www.pfsense.com)! Maybe worth your while. Regards, Lars. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox crashes and hangs my 6.1R system
Hi Adi, On Thu, 8 Jun 2006 12:26:28 +0300, Adi Pircalabu wrote: On Thu, 08 Jun 2006 11:02:16 +1000 [EMAIL PROTECTED] wrote: Try to reproduce the above described behaviour and jump over with gdb. Sort of: gdb /usr/X11R6/lib/firefox/firefox-bin pid-of-firefox-bin (... wait) (gdb) t a a bt full Just to bring you and the list up to date - I've solved my hang issue :) It seems that it was nothing to do with Firefox, after all. I removed the ATI Radeon AGP card from my machine and reverted to the onboard i915 Intel video and no more problem. I think there may be something not quite right with the Xorg Radeon driver (or is it the radeon.ko?), or maybe even the hardware itself as what finally prompted me to remove the card was that I began to see more and more artifacts on the display - at its worst, my white-background xterms were becoming unreadable due to a growing reddish tinge that could only be cured by 'wiping' one xterm with another! Thanks for the help. joel -- Joel Hatton -- Infrastructure Manager | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portupgrade confusing '-P' and '-p'?
Hi, I'm in the middle of configuring a repeatable jail installation with some ports - in a nutshell, I want to install from locally built packages, but if not available locally I want to build the port myself _and_ create a package for future repetition. To prevent remote fetching, I set the PKG_FETCH variable to /bin/false as recommended. Here's the part I found curious: # portinstall -N -P -p x11-toolkits/gtk20 [Updating the pkgdb format:dbm_hash in /var/db/pkg ... - 63 packages found (-0 +0) done] --- Checking for the latest package of 'x11-toolkits/gtk20' --- Found a package of 'x11-toolkits/gtk20': /usr/ports/packages/All/gtk-2.8.18_1.tbz (gtk-2.8.18_1) --- Fetching the package(s) for 'gtk-2.8.19' (x11-toolkits/gtk20) [Updating the pkgdb format:dbm_hash in /var/db/pkg ... - 63 packages found (-0 +0) done] --- Fetching gtk-2.8.19 ** The command returned a non-zero exit status: 127 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.3-release/All/gtk-2.8.19.tbz ** The command returned a non-zero exit status: 127 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.3-release/All/gtk-2.8.19.tgz ** Failed to fetch gtk-2.8.19 ** Listing the failed packages (*:skipped / !:failed) ! gtk-2.8.19(fetch error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Fetching the latest package(s) for 'gtk20' (x11-toolkits/gtk20) --- Fetching gtk20 ** The command returned a non-zero exit status: 127 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/gtk20.tbz ** The command returned a non-zero exit status: 127 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/gtk20.tgz ** Failed to fetch gtk20 ** Listing the failed packages (*:skipped / !:failed) ! gtk20@(fetch error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Located a package version 2.8.18_1 (/usr/ports/packages/All/gtk-2.8.18_1.tbz) --- Using it anyway although it is not the latest version (2.8.19), since -PP/--use-packages-only is specified --- Installing 'gtk-2.8.18_1' from a package --- Installing the new version via the package pkg_add: warning: package 'gtk-2.8.18_1' requires 'libxml2-2.6.24_1', but 'libxml2-2.6.26' is installed Note from the above that portinstall is presuming that -PP was used and is not building the port. I can omit the '-p' and this stops the occurrence of this error, but then I don't get a package creation and that means I'll have to build this port from scratch every time I want to install it. I could force package creation of all ports, but this seems wasteful when only a few require this process. Is this a bug in portupgrade, or have I just used a conflicting array of arguments? cheers, -- Joel Hatton -- Infrastructure Manager | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox crashes and hangs my 6.1R system
Hi Adi, Thanks for the reply :) On Wed, 7 Jun 2006 18:23:46 +0300, Adi Pircalabu wrote: I tried to reproduce it on two 6.1-STABLE systems but with no result, file upload works just fine. I have a bad feeling that it's very hard to reproduce. On the other hand, did the problem started to occur at a specified date? Can you link the problem with a world / ports update? Yes, this problem seems to have begun after the upgrade from 6.1-RELEASE to 6.1-RELEASE-p1, though it's hard to see the connection. Try to reproduce the above described behaviour and jump over with gdb. Sort of: gdb /usr/X11R6/lib/firefox/firefox-bin pid-of-firefox-bin (... wait) (gdb) t a a bt full Excuse my ignorance - I take it I need to o start firefox normally o run gdb as above o invoke the crash situation o then ... ? I'm just hoping that there's enough cpu left to save something at that point! options SCHED_ULE # ULE scheduler Do you need SCHED_ULE? Try SCHED_4BSD instead, Ff is very picky when it comes to threads. I probably don't - I added this after reading /usr/src/sys/conf/NOTES and it hadn't bitten me until maybe now. I'll recompile the kernel with SCHED_4BSD before I carry on. cheers, -- Joel Hatton -- Infrastructure Manager | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Firefox crashes and hangs my 6.1R system
ATA_STATIC_ID # Static device numbering device ahc # AHA2940 and onboard AIC7xxx devices device isp # Qlogic family device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support device sc device agp # support several AGP chipsets device pmtimer device sio # 8250, 16[45]50 based serial ports device ppc device ppbus # Parallel port bus (required) device lpt # Printer device em # Intel PRO/1000 adapter Gigabit Ethernet Card device loop# Network loopback device random # Entropy device device ether # Ethernet support device pty # Pseudo-ttys (telnet etc) device bpf # Berkeley packet filter device uhci# UHCI PCI-USB interface device usb # USB Bus (required) device ugen# Generic device uhid# Human Interface Devices device ukbd# Keyboard device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse options NETSMBCRYPTO options LIBICONV options LIBMCHAIN options UNIONFS #Union filesystem options NULLFS #NULL filesystem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I2O vs. Mass Storage Modes on Dell Perc Controller
On 5/11/06, Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote: On May 10, 2006, at 11:57 PM, Questions wrote: I just installed 6.1 on a Dell PowerEdge 1850 and the RAID adapter was initially set for Mass Storage mode. I read that I2O mode is a better mode, so I flipped it to I2O, and the machine booted fine. For some reason this confuses me. I would assume that my changing the emulation of the RAID Adapter would cause the machine to no longer boot. Am I wrong in this assumption and switching between emulation modes should not affect booting? Disclaimer: I probably don't know what I am talking about and am not familiar with the various modes of the Dell RAID controller etc. Why would you expect it to affect booting? I suspect that the machines BIOS makes the RAID available no matter what the mode and that the boot happens on the bios disk (through a bios interface). Again, this is not my area of knowledge but that is what I am guessing. I really can't give you a good answer :) I think it's just an assumption based on ignorance. I've had alot of problems in the past with booting, hard drives, etc so I think it was natural for me to think a change to the array like that would affect booting. I would agree with your point, that the BIOS would make the raid available no matter what the mode is, but I read something in the Dell docs that I2O required Dell Drivers. I think that's what also triggered the assumption of breakage :) http://support.dell.com/support/edocs/storage/RAID/66JVW/BIOS_Utl.htm#Objects_Menu (Scroll down to Table 4 under Emulation) it mentiones the difference between I2O and Mass Storage. One needing Dell drivers specifically, the other needed Dell Drivers or OS drivers. That was the natual progression for me to think that if I changed this setting, it would use a different driver, thus affecting the bootup. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I2O vs. Mass Storage Modes on Dell Perc Controller
I just installed 6.1 on a Dell PowerEdge 1850 and the RAID adapter was initially set for Mass Storage mode. I read that I2O mode is a better mode, so I flipped it to I2O, and the machine booted fine. For some reason this confuses me. I would assume that my changing the emulation of the RAID Adapter would cause the machine to no longer boot. Am I wrong in this assumption and switching between emulation modes should not affect booting? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager install from packages (please)
Hi Gerard, On Fri, 05 May 2006 20:48:40 -0400, Gerard Seibert wrote: Have you tried contacting Michael C. Shultz [EMAIL PROTECTED] in regards to this matter? No, I haven't - at present, the port Makefile lists: MAINTAINER= [EMAIL PROTECTED] I thought it best to start there. cheers, -- Joel Hatton -- Infrastructure Manager | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dell vs. Silicon Mechanics vs. FreeBSD Systems
Anyone have any opinions about the quality and/or value of these respective vendors? I'm looking for something that has good AMD64 support, great RAID1 support and good Serial Console Redirection support, all obviously reasonably priced. I've had bad experiences in the past with onboard SATA and/or RAID controllers from Silicon Mechanics but it looks now like their Rackform nServ A206 uses an Adaptec SATA controller and an Adaptec RAID controller (this will do RAID1, right?) Anyone have any experience with FreeBSD Systems IPMI interface? I don't claim to know much about IPMI, so forgive me if I ask seemingly dumb questions: Is IPMI implemented entirely in userland or are is there hardware required that FreeBSD Systems just happens to include with their systems? Is IPMI really any good at the end of the day, or are there other solutions that are better/more relaibe (tm)? How does Dell fit into all of this? I haven't dealt with Dell in years but when I have in the past, there didn't seem to be any major issues. I'm looking at a Power Edge 1850 with the Embedded RAID (ROMB) - PERC4e/Si Controller. Does Dell support Serial Console Redirection without their extra lights out card? Lastly (I think) with regards to AMD64 Support (more for the Silicon Mechanics and FreeBSD Systems options), I had issues a couple of years ago with AMD64 and OpenLDAP. Something to do with Mutexes, and wound up having to backpedal and go with a 32bit install on my 64bit system. PITA. Are there any decently priced/stable options out there, other than the three I've mentioned? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to handle 'local' ports/packages?
On Wednesday 05 April 2006 01:35, [EMAIL PROTECTED] wrote: to the +CONTENTS file for the package, but then portmanager complains that it is nonexistent and won't complete 'portmanager -s'. To make matters more awkward, this package is built from a closed-source binary distribution and thus can't be properly ported, so I can't set it up properly. A port does not have to be built from source, there are several (maybe many) closed-source packages in the ports-tree, for example: archivers/rar mail/mulberry x11/nvidia-driver Ok, that's fine, but how can I have a port on my system that isn't in the ports tree available to the world? I mean, won't anything I add to my local tree be deleted by cvsup'ing? joel -- Joel Hatton -- Infrastructure Manager | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to handle 'local' ports/packages?
Hi, Can anyone give me a tip on how to properly integrate a local package so that I don't get: pkg_delete: package x has no origin recorded errors? I've tried adding a line like: @comment ORIGIN:local/ to the +CONTENTS file for the package, but then portmanager complains that it is nonexistent and won't complete 'portmanager -s'. To make matters more awkward, this package is built from a closed-source binary distribution and thus can't be properly ported, so I can't set it up properly. What I'd like is for management tools to acknowledge its existence, yet ignore it entirely for the purposes of maintenance. For instance, I have already made it a held package under pkgtools.conf, which seems to satisfy portupgrade ok. I'm happy with the package I've made, as it enables me to check what version is installed with pkg_info, I just want it to play nicely with other real ports! joel -- Joel Hatton -- Infrastructure Manager | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager core dumps
On Sunday 08 January 2006 18:30, Robert Marella wrote: Good Afternoon At times when in a hurry or not thinking as fast as my fingers, I try to run portupgrade -s | grep OLD from a regular user account instead of sudo portupgrade -s | grep OLD. do you mean portmanager -s | grep OLD by any chance? I would expect portupgrade to insult my intelligence and question my heritage or is that question my intelligence and insult my heritage. Well, it doesn't do either. It core dumps. This will happen on more than one system running 6 Stable and the updated portmanager. [EMAIL PROTECTED] ~ pkg_info | grep portmanager portmanager-0.4.1_4 FreeBSD installed ports status and safe update utility Thanks Robert Portmanager will only run as root, I'll make a note/bug to check error handling when someone attempts to run it as a normal user. Mike, Please don't disable the ability to run this as a non-root user. I've managed to get it to run by chowning it's config, files under /var/db and the entire ports collection to an update user. Now I can run portmanager -s and it will give me an accurate run-down of what upgrades are needed. I can also then download updates as a restricted user. Changing to root will allow me to update as I need to, and as long as the src is cleaned up, no files owned by root are left behind in the ports tree. This actually works quite nicely. Thanks, Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Webserver behind nat/ipfw
any to any 43 out via $pif setup keep-state # Allow ntp time server $cmd 130 $skip udp from any to any 123 out via $pif keep-state # # Interface facing Public Internet (Inbound Section) # Interrogate packets originating from the public Internet # destine for this gateway server or the private network. # # Deny all inbound traffic from non-routable reserved address spaces $cmd 301 deny all from 172.16.0.0/12 to any in via $pif #RFC 1918 private IP $cmd 302 deny all from 10.0.0.0/8 to any in via $pif #RFC 1918 private IP $cmd 303 deny all from 127.0.0.0/8 to any in via $pif #loopback $cmd 304 deny all from 0.0.0.0/8 to any in via $pif #loopback $cmd 305 deny all from 169.254.0.0/16 to any in via $pif #DHCP auto- config $cmd 306 deny all from 192.0.2.0/24to any in via $pif #reserved for docs $cmd 307 deny all from 204.152.64.0/23 to any in via $pif #Sun cluster $cmd 308 deny all from 224.0.0.0/3 to any in via $pif #Class D E multicast # Deny ident $cmd 315 deny tcp from any to any 113 in via $pif # Deny all Netbios service. 137=name, 138=datagram, 139=session # Netbios is MS/Windows sharing services. # Block MS/Windows hosts2 name server requests 81 $cmd 320 deny tcp from any to any 137 in via $pif $cmd 321 deny tcp from any to any 138 in via $pif $cmd 322 deny tcp from any to any 139 in via $pif $cmd 323 deny tcp from any to any 81 in via $pif # Deny any late arriving packets $cmd 330 deny all from any to any frag in via $pif # Deny ACK packets that did not match the dynamic rule table $cmd 332 deny tcp from any to any established in via $pif # Allow traffic in from ISP's DHCP server. This rule must contain # the IP address of your ISP's DHCP server as it's the only # authorized source to send this packet type. # Only necessary for cable or DSL configurations. # This rule is not needed for 'user ppp' type connection to # the public Internet. This is the same IP address you captured # and used in the outbound section. $cmd 360 allow udp from $dhcp to any 68 in via $pif keep-state # Allow in standard www function because I have (secure) Apache server $cmd 371 allow tcp from any to $webserver 80 in setup limit src-addr 2 # Reject Log all unauthorized incoming connections from the public Internet $cmd 400 deny log all from any to any in via $pif # Reject Log all unauthorized out going connections to the public Internet $cmd 450 deny log all from any to any out via $pif # This is skipto location for outbound stateful rules $cmd 800 divert natd ip from any to any out via $pif $cmd 801 allow ip from any to any # Everything else is denied by default # deny and log all packets that fell through to see what they are $cmd 999 deny log all from any to any End of IPFW rules file ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox 1.5
So the lunacy is even more widespread!? Sheesh, I *really* hope the port will support turning it off. Speaking of lunacy: Before I upgrade to 1.5, can someone tell me if the 'feature' of renaming downloaded files by incrementing version number has been restored to a more sensible Do you want to overwrite this file question or even a clear filename.bla[2] signature? I've managed to download the same file three times, with newly created 'versions' without realising! It's particularly annoying when the file itself has a version number, so I end up with: file-5.3 file-6.3 file-7.3 and so on... joel -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portsnap, excluding parts of the ports tree
I know I can run portsnap extract sysutils/portupgrade ...or something to that effectbut that will not register say for a portsnap update after a new portsnap fetch. This is what I will get for an error if I try that: [EMAIL PROTECTED]:/usr/ports]$ portsnap update /usr/ports was not created by portsnap. You must run 'portsnap extract' before running 'portsnap update'. ...is there any way I can only maintain a small portion of the ports tree while still using portsnap (or should I not bother and just use cvsup)? I'd like to keep the parts of the ports collection around that I use, but not all of it...as this box has space issues. Thanks, Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SCSI negotiation problems, please help!
I have a tape drive that seems to have lost its ability to negotiate optimal settings. FreeBSD 5.4-Stable (compiled 13 Sep 2005) Dell PowerEdge 1750 # uname -a FreeBSD hr-stc-file2.smartrafficenter.net 5.4-STABLE FreeBSD 5.4-STABLE #0: Tue Sep 13 22:44:46 EDT 2005 root@:/usr/obj/usr/src/sys/HR-STC-FILE2 i386 (from /var/run/dmesg.boot) ch0 at ahc0 bus 0 target 0 lun 0 ch0: EXABYTE VXA 1x10 1U A10A Removable Changer SCSI-4 device ch0: 80.000MB/s transfers (40.000MHz, offset 32, 16bit) ch0: 10 slots, 1 drive, 1 picker, 0 portals ... sa0 at ahc0 bus 0 target 1 lun 0 sa0: EXABYTE VXA-2 2109 Removable Sequential Access SCSI-2 device sa0: 80.000MB/s transfers (40.000MHz, offset 32, 16bit) # camcontrol negotiate ch0 Current Parameters: (pass1:ahc0:0:0:0): sync parameter: 0 (pass1:ahc0:0:0:0): offset: 0 (pass1:ahc0:0:0:0): bus width: 8 bits (pass1:ahc0:0:0:0): disconnection is enabled (pass1:ahc0:0:0:0): tagged queueing is disabled # camcontrol negotiate sa0 Current Parameters: (pass2:ahc0:0:1:0): sync parameter: 0 (pass2:ahc0:0:1:0): offset: 0 (pass2:ahc0:0:1:0): bus width: 8 bits (pass2:ahc0:0:1:0): disconnection is enabled (pass2:ahc0:0:1:0): tagged queueing is disabled No matter what I do with camcontrol, I can't get it to change these parameters--only the user parameters (-U): # camcontrol negotiate ch0 -a -c -D enable -O 32 -R 40.000 -T disable -W 16 Current Parameters: (pass1:ahc0:0:0:0): sync parameter: 0 (pass1:ahc0:0:0:0): offset: 0 (pass1:ahc0:0:0:0): bus width: 8 bits (pass1:ahc0:0:0:0): disconnection is enabled (pass1:ahc0:0:0:0): tagged queueing is disabled New Parameters: (pass1:ahc0:0:0:0): sync parameter: 0 (pass1:ahc0:0:0:0): offset: 0 (pass1:ahc0:0:0:0): bus width: 8 bits (pass1:ahc0:0:0:0): disconnection is enabled (pass1:ahc0:0:0:0): tagged queueing is disabled # camcontrol negotiate sa0 -a -c -D enable -O 32 -R 40.000 -T disable -W 16 Current Parameters: (pass2:ahc0:0:1:0): sync parameter: 0 (pass2:ahc0:0:1:0): offset: 0 (pass2:ahc0:0:1:0): bus width: 8 bits (pass2:ahc0:0:1:0): disconnection is enabled (pass2:ahc0:0:1:0): tagged queueing is disabled New Parameters: (pass2:ahc0:0:1:0): sync parameter: 0 (pass2:ahc0:0:1:0): offset: 0 (pass2:ahc0:0:1:0): bus width: 8 bits (pass2:ahc0:0:1:0): disconnection is enabled (pass2:ahc0:0:1:0): tagged queueing is disabled # camcontrol negotiate sa0 -U Current Parameters: (pass2:ahc0:0:1:0): sync parameter: 10 (pass2:ahc0:0:1:0): frequency: 40.000MHz (pass2:ahc0:0:1:0): offset: 32 (pass2:ahc0:0:1:0): bus width: 16 bits (pass2:ahc0:0:1:0): disconnection is enabled (pass2:ahc0:0:1:0): tagged queueing is disabled I've tried everything I can except a reboot, but that can't happen right now as this is on a production server. I've tried rescanning the bus; I've tried resetting the bus; I've tried powering the library/drive off, rescanning the bus to remove the devices, powering the library/drive back on, and rescanning again to find the devices again; and no matter what I do, I keep getting these 3.3 MB/s transfer rates, 8-bit bus widths, and very degraded tape performance. Short of a reboot, how do I restore the initial negotiation settings from when the server was initially powered up? And because I feel like the question is going to be asked... I think this happened when a coworker cycled power on the tape library. Is there any way to reinitialize the SCSI card and renegotiate with the attached devices? dmesg.boot and kernel config attached. Thanks! Kevin dmesg.boot Description: Binary data HR-STC-FILE2 Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.0 - install critiques - install issues
First I’d like to say that your website is very informative and I appreciate the links. I would point out though that I’m not a newb and you missed the point of most of my message. Message: 30 Date: Tue, 24 Jan 2006 10:16:58 -0800 From: Dan O'Connor [EMAIL PROTECTED] Subject: Re: FreeBSD 6.0 - install critiques - install issues To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; format=flowed; charset=iso-8859-1; reply-type=response I've noticed zero oddities, if you're prepared as recommended in the Handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html)... I was prepared, but the oddities I describe exist. Installation of 6.0 was dirt simple. Here's how i did it: http://www.mostgraveconcern.com/freebsd/sheet.cgi?install Yes, it is pretty easy. That doesn’t necessarily mean that there are not oddities/issues/bugs in the install that could be looked over. When setup asks if you want to go back and change anything (before it installs the system), if you say yes, you get sysintall's menu--where you can configure/reconfigure your network interfaces, as well as all the other options that you were asked about. ...and that’s fine. I in fact did that, I know that. But that misses the point. I think it is safe to say that most anyone would expect to be returned to the point of the install where they were at when they hit the cancel button. That is broken behavior, and the install has had these type of oddities for as long as I can remember. I was just figuring since it seems like sysinstall has grown slightly with the rest of the OS that these little things might have been caught/fixed by now. Or, you can finish the install and edit /etc/rc.conf manually...it's one line to configure a network card: ifconfig_xl0=inet 123.45.67.89 netmask 255.255.255.0 I realize thatbut the issue is that sysinstall isn’t doing what most any person would probably expect in that part of the install (if you attempt to cancel out of it that is). Sendmail is *always* installed as part of the base system, since so many programs rely on it being there. I realize that...I thought that might have changed with the option of “No MTA” in sysinstall...but I’m starting to realize what that probably means is “sendmail_enable=NONE” in /etc/rc.conf? You should install Postfix via the ports once your base system is up and running. Yes, maybe, no. There is a menu option in sysinstall...I would expect it to work. I ended up with postfix installed, but sendmail still running and no startup script for postfix (or changes to mailer.conf to enable it to start through the postfix sendmail binary). It appears No MTA worked after I chose that after seeing sendmail up and running, because it added “sendmail_enable=NONE” to rc.conf and sendmail wasn’t running after a reboot So...now when I choose “postfix” again in sysinstall, will it work this time? I guess I’ll try it when I get home tonight and see. Either way...this is most DEFINITELY “odd” behavior at the very least. If you do that, it will prompt you if you want Postfix to edit /etc/mailer.conf. At the end of the install, it gives you the exact lines you need to put in /etc/rc.conf to disable sendmail and use Postfix. Here's how I do it: http://www.mostgraveconcern.com/freebsd/sheet.cgi?mail You missed the whole point. I know how to install postfix. That’s not the entire issue. I can grab it from source and install it also. No big deal. The problem is that sysinstall isn’t working as expected here. Don't be afraid of the ports collection. Ports are your friend! Gee...I wonder how I got bash on my machine after it was up and running There's no need to go back and reinstall. A matter of perspective. True...I suppose there is no *need*. I like my systems to have gone through a completely event-less install process though before moving on. Which technically means then that this install became my “dry run” (which if sysinstall had behaved as I think most people would expect, a “dry run” would be unnecessary). You should consider the installation procedure as nothing more than a means of getting all the files off the CD and onto your hard drive. From that point forward, FreeBSD is easily configured without using sysinstall. All you need to know how to do is use a keyboard. :-) *sigh* Not at all condescending eh? I’m aware of this. BUT, having options in sysinstall DOES make some things easier. Plus...what more could you ask for in a menuing system? It’s concise, straight to the point, and works in a terminal. Now if everything worked as expected, it’d be close to perfect. Sometimes menu systems are nice, sometimes they make some things easier...and depending on the system, sometimes they help you learn about some things. Have you ever seen SMIT in AIX? It has a cool option to show
FreeBSD 6.0 - install critiques - install issues
OK...I've been running FreeBSD since 4.0...and I've always noticed installation issues here and there. Mostly though, I've always been good to go after a good dry run (which I always recommend to everyone I recommend FreeBSD to) and usually on a 2nd run all the options are fine. I've pretty much ran 4.x boxes for quite awhile...dabbled with 5.x, but didn't run it on anythingbut I do believe I installed the box a couple times to get my options correct. But now I've installed 6.0 for the first time on a machine that I plan on making a production box, and I've still noticed some of the installation oddities. One big nuisance is that you cannot safely cancel out of many/some of the sysinstall options during install. During install of fxp1 (the first and only NIC I chose), I chose to let it grab a DHCP address, then cancelled out of the NIC config. Instead of dropping me back to choose another NIC, or the same NIC, the install just proceeded on, as if I'd completed my network config (I did revisit it at the end of the install, but still...esp. for a newbie, that's an unnecessary stumbling block). The one that really hit me though was the mail config. There were more mail config options than I'm used to from previous 4.x and 5.x installs, I cancelled out of it without choosing. Post-install, sendmail was running. I figured...fine...it installed a default. No big deal. So...I fired up sysinstall, navigated to: Configure Networking Mail Postfix (using FTP server as the source...didn't feel like putting in the CD). Well...it installed Postfix and it's dependencies, message popped up that it was the default MTAbut sendmail is still there, and postfix is not running (I don't see an RC script either to start it and /etc/mailer.conf is unchanged). So...I went through, and picked No MTA in sysinstall. Well...sendmail is still running, and postfix is still installed (can't say I expected removalbut the behavior for defaulting to sendmail and then going back and picking postfix later doesn't make sense). I'd like to figure out how to correct this in the base OS structure without going back and re-installing (really shouldn't have to) OR going to ports (does the postfix port still have the make replace target...that was great). Any hints? Any help would be appreciated (granted, I haven't gotten that far to where I absolutely cannot re-install...but I really shouldn't have to. If sendmail was in some kind of a pkg_db or something, I could simply remove sendmail and hopefully picking postfix as the MTA from sysinstall would install it insteadbut it doesn't appear to be like that). Thanks for any help in advance, Frank Currently, my rc.conf (with some output) looks like this: [EMAIL PROTECTED] cat /etc/rc.conf # -- sysinstall generated deltas -- # Sat Jan 21 22:28:55 2006 # Created: Sat Jan 21 22:28:55 2006 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. #REMOVED: usbd_enable=YES defaultrouter=192.168.X.X hostname=hostname ifconfig_fxp1=inet 192.168.X.X netmask 255.255.255.0 linux_enable=YES local_startup=/usr/local/etc/rc.d moused_enable=NO moused_type=NO ntpdate_enable=YES ntpdate_flags=us.pool.ntp.org saver=green sshd_enable=YES usbd_enable=NO # -- sysinstall generated deltas -- # Tue Jan 24 01:22:02 2006 sendmail_msp_queue_enable=NO sendmail_outbound_enable=NO sendmail_submit_enable=NO sendmail_flags=-bd sendmail_enable=YES # -- sysinstall generated deltas -- # Tue Jan 24 01:27:09 2006 sendmail_enable=NONE [EMAIL PROTECTED] pkg_info bash-3.0.16_1 The GNU Project's Bourne Again SHell gettext-0.14.5 GNU gettext package libiconv-1.9.2_1A character set conversion library libtool-1.5.18 Generic shared library support script (1.5) linux_base-8-8.0_6 Base set of packages needed in Linux mode (only for i386) pcre-6.2Perl Compatible Regular Expressions library postfix-2.2.5,1 A secure alternative to widely-used Sendmail [EMAIL PROTECTED] cat /etc/mail/mailer.conf # $FreeBSD: src/etc/mail/mailer.conf,v 1.3 2002/04/05 04:25:12 gshapiro Exp $ # # Execute the real sendmail program, named /usr/libexec/sendmail/sendmail # sendmail/usr/libexec/sendmail/sendmail send-mail /usr/libexec/sendmail/sendmail mailq /usr/libexec/sendmail/sendmail newaliases /usr/libexec/sendmail/sendmail hoststat/usr/libexec/sendmail/sendmail purgestat /usr/libexec/sendmail/sendmail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: unable to build ntp
Thanks everyone for the help. For the archive: I went to /usr/src/contrib/ntp/ntpdate and edited ntpdate.c. I searched for 'host found' and changed the stderror to stdout. I then went to /usr/src/usr.sbin/ntp and performed a make install clean. Problem solved; the new 'host found' messages now go to stdout, just like all the other messages, so I can dump them to /dev/null, but 'host not found' error messages still show up as mail to root. Brad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gvinum: adding plex and subdisks to existing volume
On 23 dec 2005, at 15:25, Ludo Koren wrote: Arno Beekman [EMAIL PROTECTED] writes: On 18 dec 2005, at 18:24, Ludo Koren wrote: Any help appreciated, I cannot find useful hints. http://www.vinumvm.org/ http://www.freebsddiary.org/vinum.php man 4 vinum man 8 vinum http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum- vinum.html http://devel.reinikainen.net/docs/how-to/Vinum/ maybe I was not enough specific. There is not enough information about gvinum in the case. All you've mentioned is about vinum and there are some diffrences; not all commands are implemented... BTW, the addition of disk on 5.4-STABLE is causing panic. I posted the problem to the [EMAIL PROTECTED] Regards, lk hi Ludo, gvinum = vinum anything you need to do to add a new drive which is written on those sites can be done for gvinum as well... at least that's my experience if you follow the descriptions of replacing a disk and get panics there might be something else that's wrong Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reading roots mail when connected remotely
On 21 dec 2005, at 20:55, Pietro Cerutti wrote: On 12/21/05, Daniel A. [EMAIL PROTECTED] wrote: Stupid question, I know :( How do I read the mail sent to root, if I can only access my server via SSH? When I su, and type mail, it shows only mail to the user I connected with. su - (with the minus sign) simulates a full login, see man su for details ...followed by: mail -uroot Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I need a better way to loop in the shell...
On 14 dec 2005, at 05:44, user wrote: I always do loops in /bin/sh like this: for f in `cat file` ; do rm -rf $f ; done Easy. I like doing it like this. The problem is, when I am dealing with an input list that has multiple words per line, this chops it up and treats every word as a new line... For instance, lets say I have a file full of filenames, like this: # cat file 10,000 Maniacs MTV Unplugged - 01 - These Are Days.mp3 10,000 Maniacs MTV Unplugged - 02 - Eat For Two.mp3 10,000 Maniacs MTV Unplugged - 03 - Candy Everybody Wants.mp3 and I try to use the above loop on it, it thinks that every word is a line ... the above loop will attempt to delete the following files: 10,000 Maniacs MTV Unplugged - 01 - These (and so on) Even if I quote the variable $f, like: for f in `cat file` ; do rm -rf $f ; done it still does the same thing. - So my question is, what is a nice simple way to loop in the shell, as close to what I am doing above as possible, that does not have this problem ? Should I just be using something other than `cat` ? Or what ? THanks. You can also try to store cat file into a variable: #!/bin/sh V=`cat file` for f in $V ; do rm -rf $f ; done Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: making packages
Hi Chris, The pkg_create man page advises to ``use a front-end tool for the job rather than muddling through it yourself'' Did you receive any response to this particular question? I have only lately noticed this anomaly myself, and wished that it read ... a front-end tool, such as xxx In your situation, however, I'd recommend a) using portupgrade -pf for already-installed packages or b) portinstall -p and then pkg_deinstall, for packages you don't wish to install locally. I've noticed also (accidentally, when I forgot to unset it after a jail installation) that portinstall appears to respect DESTDIR in the environment, so you could set this variable before performing a temporary installation too (but YMMV, of course). cheers, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /etc/profile and PATH
Hello list I have set some environment vars in /etc/profile such as PATH QTDIR (for Qt) LD_LIBRARY_PATH etc. All variables are setup successfully except PATH that remains unchanged... I tried to setup PATH in ~/.profile and now is updated but how can I setup this variable system wide? specifically want to add the Qt and MySQL binary directories to the PATH... Thanx man 5 login.conf cheers, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sed problem
Hi, So I guess I need some advice here what to do next. I would not like to make a full reinstall (otherwise I would have done that already long tme I'd suggest investigating the option of performing a binary upgrade to a supported 4.x release - this would likely present no more risk to your running system than an installworld and would almost certainly solve your problem. You should then be able to remake any ports or other applications affected by the upgrade, and cvsup/remake your world when necessary. -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illegal access attempt - FreeBSD 5.4 Release - please advise
-if the attempt was with a username that doesnt exist - i add the ip to a db of banned ips and flush and restart ipfw I'm curious about this bit - what do you do about accidentally mistyped usernames by valid users? cheers, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illegal access attempt - FreeBSD 5.4 Release - please advise
if this server was used by 100+ people i would of course not have such a harsh security script set up. everyone who uses it has great experience and understands the consequences. like i said before, this is usually for personal use and has about 12 users total. if this was used to manage ssh on something big i would lower the security measures. hope you can understand some now :) Certainly. However, given that you are willing to accept (risk?) 5 attempts at a legitimate account I don't believe there would be any greater risk in allowing the same for invalid accounts also, given that the likelihood of gaining access to those is actually less - and it would make your script simpler, too, whilst preventing the (albeit, unlikely in your situation) possibility of a DoS to a valid user. To be honest, reversing your logic somewhat wrt valid/invalid accounts and 1/5 attempts could have merit also. That said, I'd be interested in seeing how you implement this with swatch as I'm looking at log parsing solutions in general. best regards, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illegal access attempt - FreeBSD 5.4 Release - please advise
On Fri, 26 Aug 2005 00:24:48 +0200 Maarten Sanders [EMAIL PROTECTED] wrote: Nice suggestion, but how do I enable tcp_wrappers with sshd? from http://lists.freebsd.org/pipermail/freebsd-security/2004-September/002351.htm l in /usr/src/crypto/openssh/config.h find the line : /* Define if you want TCP Wrappers support */ enable it, rebuild etc. This is the default, so no need to rebuild - you just have to tighten up your /etc/hosts.allow. Instead of the default: ALL : ALL : allow try (eg if you have a host 192.168.1.1): sshd : 192.168.1.1 : allow ALL : ALL : deny joel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RELENG_6 upgrade from RELENG_5
Thanks, I think much better to leave GENERIC as is and making new config file like th is: include GENERIC ident NEWKERNEL nomakeoption DEBUG nooptions KDB nooptions DDB nooptions GDB nooptions INVARIANTS nooptions INVARIANTS_SUPPORT nooptions WITNESS nooptions WITNESS_SKIPSPIN This approach is new to me (I presume it is new to 6, or else I've not been awake) - looks like a good way to build a config file. I appreciate the other replies with information about where to get UPDATING - thanks Gary and Nikolas. regards, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
weird disk names
I just upgraded to 5.4-p6 started gvinum and got this in /dev: root:/dev# ls /dev | grep ad2 ad2 ad2a ad2c ad2cs1 ad2cs1c ad2cs1d ad2cs1e ad2s1 ad2s1c ad2s1d ad2s1e Where does the CS come from? thanks Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dump/Tape block question
Sorry if this is a repeat. I posted this on the 21st and never saw it show up in the mailing list, so I'm assuming nobody ever received it. I have a question about dump and tape blocks. When I do backups, dump tells me it uses a certain number of blocks for that particular backup. I explicitly set my block size to 65K when I do a dump. When I read the SCSI or hardware block location on the tape after the dump, it's nowhere near the same number as what dump said it used. How big is each block? I'd like to know about where on the tape I am when I do an 'mt rdhpos' command (but I don't know how to determine the reported block size), and I'd like to be able to calculate how much data was written for each backup based on the number of blocks dumped (I assume these blocks are the size I specify on the dump command line). In fact, how can I calculate how many blocks my tape can hold? (i.e. What is the biggest block number an 'mt rdhpos' or 'mt rdspos' will report for my tape?) Of course, an obvious solution to the last question is to write enough data to fill the tape and then check the output of 'mt rdhpos'. I'd rather not spend the hours needed and the unneeded wear on the tape to figure that out. Kevin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to create mtree files?
[EMAIL PROTECTED] writes: I would like to use the mtree utility to confirm no changes have occurred to system files since 'make installworld', similar to that possible with 'mtree -f /cdrom/5.4-RELEASE/base/base.mtree' on a release installation. This would also give the added advantage of being able to determine the current buildlevel of an installed system, I believe. Is it possible/easy to create new mtree files after the buildworld or installworld process? I've looked at the Release Engineering docs but it seems more than what I'd like to do. I should add that I am running tripwire, but I really want to have a quick way to verify which files were part of which installworld. man 8 mtree has full details. mtree -c -p / is the start of what you're looking for. Thanks - I misinterpreted what the '-c' flag does, but after running your example it all makes sense now. To wrap this up for me, is mtree the way to maintain a record of at what level a particular build was performed? In other words, using 'uname -a' tells me when the kernel was built, but what best tells me when /usr/bin/telnet was patched and built and against what source? cheers, -- Joel Hatton -- Security Analyst| Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland| WWW: www.auscert.org.au Qld 4072 Australia | Email: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to create mtree files?
Hi, I would like to use the mtree utility to confirm no changes have occurred to system files since 'make installworld', similar to that possible with 'mtree -f /cdrom/5.4-RELEASE/base/base.mtree' on a release installation. This would also give the added advantage of being able to determine the current buildlevel of an installed system, I believe. Is it possible/easy to create new mtree files after the buildworld or installworld process? I've looked at the Release Engineering docs but it seems more than what I'd like to do. I should add that I am running tripwire, but I really want to have a quick way to verify which files were part of which installworld. thanks, joel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dump/Tape blocks question
I have a question about dump and tape blocks. When I do backups, dump tells me it uses a certain number of blocks for that particular backup. I explicitly set my block size to 65K when I do a dump. When I read the SCSI or hardware block location on the tape after the dump, it's nowhere near the same number as what dump said it used. How big is each block? I'd like to know about where on the tape I am when I do an 'mt rdhpos' command (but I don't know how to determine the reported block size), and I'd like to be able to calculate how much data was written for each backup based on the number of blocks dumped (I assume these blocks are the size I specify on the dump command line). In fact, how can I calculate how many blocks my tape can hold? (i.e. What is the biggest block number an 'mt rdhpos' or 'mt rdspos' will report for my tape?) Of course, an obvious solution to the last question is to write enough data to fill the tape and then check the output of 'mt rdhpos'. I'd rather not spend the hours needed and the unneeded wear on the tape to figure that out. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ffserver, streaming audio problem
. Loaded symbols for /usr/local/lib/libmp3lame.so.0 Reading symbols from /usr/local/lib/libmp4v2.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libmp4v2.so.0 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x280cc5e0 in __divdi3 () from /usr/local/lib/libavformat.so (gdb) run Starting program: /usr/local/bin/ffserver (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... Program exited normally. (gdb) quit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.x raid...
On 14 jul 2005, at 15:27, Casper wrote: Hi, I have web server with one ata system disk and two sata disks for www stuff... I wanted to make that all www stuff is on one sata disk and mirror (backups) it to second disk if first sata brakes... So I have little experience with vinum (one samba server vinum raid5 working ok without problem) so I wanted to make on www server with vinum raid1... But something not working: dmesg: ad4: 190782MB WDC WD2000JD-22HBB0/08.02D08 [387621/16/63] at ata2- master SATA150 ad6: 190782MB WDC WD2000JD-22HBB0/08.02D08 [387621/16/63] at ata3- master SATA150 #cat www.vinum drive a device /dev/ad4c drive b device /dev/ad6c volume www plex org raid1 512k sd length 165g drive a sd length 165g drive b [EMAIL PROTECTED] vinum create -f www.vinum 4: plex org raid1 512k ** 4 Invalid plex organization: Invalid argument 5: sd length 165g drive a ** 5 Unnamed sd is not associated with a plex: Invalid argument 6: sd length 165g drive b ** 6 Unnamed sd is not associated with a plex: Invalid argument 2 drives: D a State: up /dev/ad4c A: 190782/190782 MB (100 %) D b State: up /dev/ad6c A: 190782/190782 MB (100 %) 1 volumes: V www State: down Plexes: 0 Size: 0 B 0 plexes: 0 subdisks: What is problem? 'plex org raid1 512k' is invalid you should use: 'plex org concat' http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum- examples.html man vinum man 4 vinum Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New site link
On 06 jul 2005, at 00:19, CherryFun wrote: Hello my name is Jevgenij Dalnikov. I've found that your website has links on lithuanian sites. We would like to tell you that new dating site has been launched, which has been made in Lithuania - www.cherryfun.com It would be big pleasure if you put a link on this site on your http://www.freebsd.org/fr/gallery/npgallery.html page Thank you in advance. http://uptime.netcraft.com/up/graph?site=http%3A%2F% 2Fwww.cherryfun.com%2F i don;t think so... Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help with sh script
On 03 jul 2005, at 19:03, fbsd_user wrote: On Sun, 3 Jul 2005 12:14:05 -0400 fbsd_user [EMAIL PROTECTED] wrote: Thanks but I need a little more help. num_ip=(printf $raw_ip | sed 's/\.//g') gives me a error. What would the correct syntax be? I am trying to write script to insert rules into PF firewall on 5.4. using pf anchors. Hello, The problem here is that num_ip=(printf $raw_ip | sed 's/\.//g') makes num_ip equal to (printf $raw_ip | sed 's/\.//g') instead of its output. To assign the output of a command use `: num_ip=`(printf $raw_ip | sed 's/\.//g')` Also the subshell (the ()) is not needed: num_ip=`printf $raw_ip | sed 's/\.//g'` Hope that helps. Best Regards, Ale Thanks that was just what I needed. Now building on that I tried this std_text='No ALTQ support in kernel ALTQ related functions disabled' ret_ob=`(echo $outrule) | pfctl -a doorman_ob:$session_name_ob -f - 21` ret_ob=`printf $ret_ob | sed 's/\$std_text//g'` The goal here is to remove the std_text from the output of the pftctl command. I get this error printf missing format character Does sed need different syntax or have I got it all wrong? printf needs surrounding the arguments: printf $ret_ob is the right syntax... Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help with sh script
On 03 jul 2005, at 15:39, fbsd_user wrote: What is the sh coding to strip the periods from a IP address?? raw_ip='10.0.10.5' this is starting num_ip='100105'and this is what I need to convert to. Hi, many ways, here's one: printf '10.0.10.5' | sed 's/\.//g' Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help with sh script
On 03 jul 2005, at 17:18, fbsd_user wrote: On 03 jul 2005, at 15:39, fbsd_user wrote: What is the sh coding to strip the periods from a IP address?? raw_ip='10.0.10.5' this is starting num_ip='100105'and this is what I need to convert to. Hi, many ways, here's one: printf '10.0.10.5' | sed 's/\.//g' Arno * Thanks but I need a little more help. num_ip=(printf $raw_ip | sed 's/\.//g') gives me a error. What would the correct syntax be? I am trying to write script to insert rules into PF firewall on 5.4. using pf anchors. you forgot the around the printf argument: num_ip= `printf $raw_ip | sed 's/\.//g' ` Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help with sh script
On 03 jul 2005, at 20:59, fbsd_user wrote: std_text='No ALTQ support in kernel ALTQ related functions disabled' ret_ob='No ALTQ support in kernel ALTQ related functions disabled OK' ret_ob=`printf $ret_ob | sed 's/\$std_text//g'` Does not strip off the std_text stuff. How would I code a statement to remove everything from $ret_ob but the ok at the end so $ret_ob would only contain the ok?? Some times $ret_ob will end in some error message and that is what I want to capture after striping off the std_text. Thanks hmm try this then: ret_ob=`printf $ret_ob | tr -d $std_text` Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vinum problems on FreeBSD 5.4-STABLE
On 28 mei 2005, at 02:21, Kris Kirby wrote: Trying to make a mirror of two slices, but I see to be running into some issues here. I'm not on questions, so please CC me on all replies. Maybe it's a good idea to subscribe cuz then you would have been able to read what we wrote about this for the lastcouple of days # /etc/vinum.conf volume var plex name var.p0 org concat drive va device /dev/ad0s1g sd name var.p0.s0 drive va length 256m plex name var.p1 org concat drive vb device /dev/ad1s1d sd name var.p1.s0 drive vb length 256m When I create it, using -f, I get: vinum - l 2 drives: D vaState: up /dev/ad0s1g A: 1791/2048 MB (87%) - note triple allocation D vbState: up /dev/ad1s1d A: 255/512 MB (49%) 1 volumes: V var State: up Plexes: 2 Size: 256 MB 2 plexes: P var.p0 C State: up Subdisks: 1 Size: 256 MB P var.p1 C State: faulty Subdisks: 1 Size: 256 MB 2 subdisks: S var.p0.s0 State: up D: va Size: 256 MB S var.p1.s0 State: empty D: vb Size: 256 MB vinum does not like FBSD 5.4 or vice versa it is not supported you could manually 'setstate up var.p1.s0' and 'setstate up var.p1' that should work i tested it with a raid 1 mirror, removed the HD that came up ok and checked if the mirror would still come up, which it did i do definitely not recommend it though while you aren't still useing the raid, go use something else than vinum Doesn't seem like this is right. I also run into a problem when trying to do a resetconfig: vinum - resetconfig WARNING! This command will completely wipe out your vinum configuration. All data will be lost. If you really want to do this, enter the text NO FUTURE Enter text - NO FUTURE Can't find vinum config: Inappropriate ioctl for device you'll be getting this all the time if yu continue to use vinum in FBSD 5.4 and the configuration is still there after I try to resetconfig. When I reboot and do I vinum start, I get an error that there are no drives in the vinum config. do 'vinum read' but expect to have kernel panics... FreeBSD ginsu.catonic.net 5.4-STABLE FreeBSD 5.4-STABLE #1: Fri May 27 01:28:15 PDT 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/ compile/SMP i386 dmesg availible on request. No securelevel in place, at -1. Thanks in advance. again, i'd stay away from vinum/gvinum in FBSD 5.x if i were you... if you don't, come join me in the mental institute for stubbern vinum users :) Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum: Inappropriate ioctl for device
On 28 mei 2005, at 09:01, [EMAIL PROTECTED] wrote: [...] you're welcome maybe the complete vinum chapter should be removed from the handbook? Arno Perhaps the Vinum chapter should say up front that Vinum works with FreeBSD 4.x but not with 5.x jd yeah better idea Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum: Inappropriate ioctl for device
On 27 mei 2005, at 16:38, [EMAIL PROTECTED] wrote: [...] not very encouraging... Is it a RAID 5 you were able to make work under 5.4? jd hey yeah a 3x160 GB RAID5 and 2x80 GB RAID 1 in FreeBSD 5.4-p1 i get the same error message everytime i start vinum or whenever i execute a command in vinum and really loads of kernel panics whenever i try to get it to work after a crash i have an unorthodox way of recovering from this because it's nearly impossible to do stuff in vinum without causing kernel panics yesterday evrything was ruined again (after upgrading to p1) i wiped the complete config (rest config - NO FUTURE) read in the config file (create RAID5) set every state up manually (setstate up ...) and rebuild parity took about 10 hours to rebuild but then everything is back up and running i tried Gvinum too but that doesn't have the setstate nor the ruibld parity command and still you can't stop gvinum (gvinum stop doesn't work, nor does kldunload geom_vinum.ko) i have no way of changing to a different soft raid due to lack of space to backup so i'm stuck with this for as lo0ng as it takes :) so, one advice don't do it hehehe Arno Many thanx... I guess I better stick with 4.11 jd you're welcome maybe the complete vinum chapter should be removed from the handbook? Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum: Inappropriate ioctl for device
On 26 mei 2005, at 23:10, jd wrote: I am trying to set up Vinum on a new system, and I get the error message: vinum: Inappropriate ioctl for device. Here are the details: ... Vinum used to work beautiful under 4.11; I'm wondering what do I need to change to make it work under 5.4? Go back to 4.11! vinum is a nightmare in 5.4 and gvinum is not nearly mature enough... I do have it running but every update it takes me 2 days to get the RAIDs back up Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum: Inappropriate ioctl for device
On 27 mei 2005, at 16:13, [EMAIL PROTECTED] wrote: [...] Go back to 4.11! vinum is a nightmare in 5.4 and gvinum is not nearly mature enough... I do have it running but every update it takes me 2 days to get the RAIDs back up Arno Arno, not very encouraging... Is it a RAID 5 you were able to make work under 5.4? jd hey yeah a 3x160 GB RAID5 and 2x80 GB RAID 1 in FreeBSD 5.4-p1 i get the same error message everytime i start vinum or whenever i execute a command in vinum and really loads of kernel panics whenever i try to get it to work after a crash i have an unorthodox way of recovering from this because it's nearly impossible to do stuff in vinum without causing kernel panics yesterday evrything was ruined again (after upgrading to p1) i wiped the complete config (rest config - NO FUTURE) read in the config file (create RAID5) set every state up manually (setstate up ...) and rebuild parity took about 10 hours to rebuild but then everything is back up and running i tried Gvinum too but that doesn't have the setstate nor the ruibld parity command and still you can't stop gvinum (gvinum stop doesn't work, nor does kldunload geom_vinum.ko) i have no way of changing to a different soft raid due to lack of space to backup so i'm stuck with this for as lo0ng as it takes :) so, one advice don't do it hehehe Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ICMP redirect
On 25 mei 2005, at 17:55, Charles Swiger wrote: On May 25, 2005, at 11:46 AM, FreeBSD questions mailing list wrote: Lately i get a lot (really a lot) of these errors: icmp redirect from 127.0.0.1: my outside IP = 127.0.0.1 I have no idea where they come from and better how to get rid of them... Can anyone point me in a direction to solve this problem? You are probably trying to access services on the localhost via the name of your outside IP, rather than via localhost. I would gather than you are running NAT somewhere. You can set up /etc/hosts so that name refers to the inside IP addr, or set up split DNS. Another way would be to add an alias of your outside IP on the machine... -- -Chuck thanks Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ICMP redirect
1918 private IP $cmd 301 deny all from 172.16.0.0/12 to any in via $pif #RFC 1918 private IP $cmd 302 deny all from 10.0.0.0/8 to any in via $pif #RFC 1918 private IP $cmd 303 deny all from 127.0.0.0/8 to any in via $pif #loopback $cmd 304 deny all from 0.0.0.0/8 to any in via $pif #loopback $cmd 305 deny all from 169.254.0.0/16 to any in via $pif #DHCP auto- config $cmd 306 deny all from 192.0.2.0/24to any in via $pif #reserved for docs $cmd 307 deny all from 204.152.64.0/23 to any in via $pif #Sun cluster $cmd 308 deny all from 224.0.0.0/3 to any in via $pif #Class D E multicast # Deny ident $cmd 315 deny tcp from any to any 113 in via $pif # Deny all Netbios service. 137=name, 138=datagram, 139=session # Netbios is MS/Windows sharing services. # Block MS/Windows hosts2 name server requests 81 $cmd 320 deny tcp from any to any 137 in via $pif $cmd 321 deny tcp from any to any 138 in via $pif $cmd 322 deny tcp from any to any 139 in via $pif $cmd 323 deny tcp from any to any 81 in via $pif # Deny any late arriving packets $cmd 330 deny all from any to any frag in via $pif # Deny ACK packets that did not match the dynamic rule table $cmd 332 deny tcp from any to any established in via $pif # Allow traffic in from ISP's DHCP server. This rule must contain # the IP address of your ISP's DHCP server as it's the only # authorized source to send this packet type. # Only necessary for cable or DSL configurations. # This rule is not needed for 'user ppp' type connection to # the public Internet. This is the same IP address you captured # and used in the outbound section. $cmd 350 allow udp from 82.161.19.0/24 to any 68 in via $pif keep-state # Allow in Apache server $cmd 360 allow tcp from any to me 80 in via $pif setup limit src-addr 2 # Allow in SSH from public Internet $cmd 370 allow tcp from any to me in via $pif setup limit src- addr 1 ### Banned IP: $cmd 379 deny ip from 205.151.204.0/24 to me in via $pif ### Allow in $cmd 380 allow all from any to me 5500,5501 in via $pif setup keep-state $cmd 381 allow tcp from any to me 8000 in via $pif setup limit src- addr 1 # Reject Log all unauthorized incoming connections from the public Internet $cmd 400 deny log all from any to any in via $pif # Reject Log all unauthorized out going connections to the public Internet $cmd 450 deny log all from any to any out via $pif # This is skipto location for outbound stateful rules $cmd 800 divert natd ip from any to any out via $pif $cmd 801 allow ip from any to any # Everything else is denied by default # deny and log all packets that fell through to see what they are $cmd 999 deny log all from any to any End of IPFW rules file ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: uname -a output does not change after kernel upgrade
. GEOM_MIRROR[2]: Access ad4s1 r0w1e1 = 1 GEOM_MIRROR[1]: Disk ad4s1 state changed from SYNCHRONIZING to DISCONNECTED (device gm0s1). GEOM_MIRROR[0]: Device gm0s1: provider ad4s1 disconnected. GEOM_MIRROR[2]: Disk ad4s1 disconnected. GEOM_MIRROR[2]: Consumer ad4s1 destroyed. GEOM_MIRROR[2]: Tasting ad4s1c. GEOM_MIRROR[2]: Tasting ad4s1d. GEOM_MIRROR[2]: Tasting ad4s1e. GEOM_MIRROR[2]: Tasting ad4s1f. GEOM_MIRROR[2]: Tasting ad6s1a. GEOM_MIRROR[2]: Tasting ad6s1c. GEOM_MIRROR[2]: Tasting ad6s1d. GEOM_MIRROR[2]: Tasting ad6s1e. GEOM_MIRROR[2]: Tasting ad6s1f. GEOM_MIRROR[2]: Tasting ad6. GEOM_MIRROR[2]: Access request for mirror/gm0s1: r1w0e0. GEOM_MIRROR[2]: Access ad6s1 r1w0e1 = 0 GEOM_MIRROR[2]: Access request for mirror/gm0s1: r-1w0e0. GEOM_MIRROR[2]: Access ad6s1 r-1w0e-1 = 0 GEOM_MIRROR[2]: Access request for mirror/gm0s1: r1w0e0. GEOM_MIRROR[2]: Access ad6s1 r1w0e1 = 0 - The old kernel could be on ad4s1. I first wanted to solve the gmirror problem but when I could not I upgraded to 5.4-STABLE hoping that it could change the picture. What should I do now? Thank you in advance for your time! Jurgis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]