question about pkg
Hi, by chance anyone know what's up with this.. could save me some troubleshooting time.. Here's a 9.2 machine. # uname -a FreeBSD do.burplex.com 9.2-BETA2 FreeBSD 9.2-BETA2 #0 r253773M: Mon Jul 29 14:22:34 PDT 2013 da3m0n8...@do.burplex.com:/usr/obj/usr/src/sys/KAGISO amd64 # sqlite3 /var/db/pkg/local.sqlite sqlite SELECT COUNT(id) FROM packages WHERE time is null; 0 sqlite SELECT COUNT(id) FROM packages WHERE time is not null; 551 Here's a 10.0-CURRENT machine. uname -a FreeBSD dx.burplex.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r252355: Fri Jun 28 16:39:19 PDT 2013 r...@dx.burplex.com:/usr/obj/usr/src/sys/FURAHA amd64 # sqlite3 /var/db/pkg/local.sqlite sqlite SELECT COUNT(id) FROM packages WHERE time is null; 814 sqlite SELECT COUNT(id) FROM packages WHERE time is NOT null; 104 time = null is causing me some issues.. Thanks -- Waitman Gobble San Jose California USA 510-830-7975 ___ 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: D-Link DUBE100 USB NIC does not work
On Aug 3, 2013 8:05 AM, Victor Sudakov v...@mpeks.tomsk.su wrote: Dear Colleagues, It is written in axe(4) and in the HCL for 9.1 that D-Link DUBE100 is supported. I have bought one and the system shows it as ugen0.3: product 0x1a02 vendor 0x2001 at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (200mA) What am I doing wrong? Why does it not attach a driver to it? Should I do something else besides plugging the device in for the network interface to appear? I am running stable/9 (9.2-BETA2 at the moment). TIA for any input. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:suda...@sibptus.tomsk.ru Hi, did you see the axe(4) man page? Did you put if_axe_load=YES in loader.conf or build kernel with axe support? Hope that helps. Waitman Gobble San Jose California USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD on Asus F70SL
On Jul 10, 2013 12:55 PM, Martin Siebel msie...@gmx.de wrote: Hello! I recently tried (and failed) installing FreeBSD-9.1-RELEASE on my Asus F70SL Notebook. I already created a thread in the official FreeBSD boards but so far no one could help me out with my problem. Since I really want to use FreeBSD with my Notebook I am looking forward to get the neccessary information here. The topic in the FreeBSD boards can be found here: https://forums.freebsd.org/showthread.php?t=40724 Thanks in advance! Sincerely, Martin ___ 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 Hi Martin, Since you are creating the usb boot on an MS system, what happens when you plug the dongle into the machine while running MS? If you see the iso file, that could be the problem. Also %always% make sure to use the Safe Eject feature before removing the dongle. Its possible to receive a Finished message when a copy operation is still in progress Waitman Gobble San Jose California ___ 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: FFMpeg and FreeBSD
On Jun 26, 2013 5:28 PM, Simon si...@optinet.com wrote: Hello Everyone, Does anyone use the latest FFMpeg version 1.2 and FreeBSD? How did you compile it? did you run into any issues? The FFMpeg port is 6+ months behind and I feel like I'm the only one who uses this which would be very odd given everything uses video nowadays. Thanks, Simon ___ 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 i make extensive use of ffmpeg, try devel port or try build from ffmpeg src, try gcc46. there arent issues i can think of. its pretty well put together. if you install the port first then build src its easier b/c it pulls in dependencies. just use something besides /usr/local for the prefix of src install. Waitman Gobble San Jose California USA ___ 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: Is There Any Buyable Laptop for FreeBSD 9.1 That Is Simple to Set Up?
On Mon, Jun 24, 2013 at 5:44 AM, Joseph Mingrone j...@ftfl.ca wrote: -Edwin Hale thucidy...@yahoo.com writes: Therefore, my question is ultimately:- Is there any 1764-bit laptop that will readily support FreeBSD 9.1 with wireless connectivity to an external hotspot? You may wish to consider running PC-BSD. It seems there has been work to support RTL8188CE, but I'm not sure it's available in 9.1. Buying a supported wireless card on ebay will cost about 10 to 20 dollars US, and replacing it takes 5 to 15 minutes. Some of the laptops have a list of 'allowed' hardware burned into the BIOS, which may cause an issue booting with a different wireless card, but it's probably not the situation on your L755. -- Waitman Gobble San Jose California USA 510-830-7975 ___ 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: why is ports web page so far out of date
On Wed, Jun 5, 2013 at 11:29 PM, Waitman Gobble gobble...@gmail.com wrote: On Wed, Jun 5, 2013 at 9:45 PM, Shane Ambler free...@shaneware.biz wrote: On 05/06/2013 17:00, Waitman Gobble wrote: If you must have a web based version, another option is DIY roll your own ports index based on your own local ports tree. At least you can set it up how you want. a simple quick-together script running on my computer: https://dx.burplex.com/FreeBSD-ports/index.php there's a github link at the bottom of the page you can hack on if you wanna. cool thing is you can easily cross-reference all the corresponding gnats PR files in your mailbox to the generated port page, i'll add that bit tomorrow. That looks useful. One thing I would think of adding is a search box. I would have thought of breaking the lists into pages but am surprised at how fast the longer pages are generated. One port that it has an issue with is devel/pear-HTML_Select_Common the select in the pkg-desc consumes all the following ports info. So you probably want to escape or translate into lt; gt; hi, search box would probably be cool! :) I'll get on it. and yes, it /totally/ needed to broken up into pages. I think that's working now. Ok, I agree with you on the HTML entities, it's a done deal.. There are some updates to post. I have GNATS linked up. I thought I might have to cache a bunch of stuff considering du -h ports 1.5G ports just the ports-related GNATS stuff is 1.5G. and growing every day. but it's live code, seems perky enough. It might be good to add in the mailing list stuff too. maybe 10x that 1.5G though, guessing.? I'm thinking about trying to somehow cross-reference the Makefiles to the Porter's Handbook and maybe the .mk files. And maybe the other way around too. It's like a bag of examples. -- basic search box now working, posted on git. https://dx.burplex.com/FreeBSD-ports/index.php I think maybe need list of ports modified selectable 1day-30days out. But I think the http://www.freshports.org/ site already does this, and it's better anyhow. -- Waitman Gobble San Jose California USA 510-830-7975 ___ 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: why is ports web page so far out of date
On Wed, Jun 5, 2013 at 9:45 PM, Shane Ambler free...@shaneware.biz wrote: On 05/06/2013 17:00, Waitman Gobble wrote: If you must have a web based version, another option is DIY roll your own ports index based on your own local ports tree. At least you can set it up how you want. a simple quick-together script running on my computer: https://dx.burplex.com/FreeBSD-ports/index.php there's a github link at the bottom of the page you can hack on if you wanna. cool thing is you can easily cross-reference all the corresponding gnats PR files in your mailbox to the generated port page, i'll add that bit tomorrow. That looks useful. One thing I would think of adding is a search box. I would have thought of breaking the lists into pages but am surprised at how fast the longer pages are generated. One port that it has an issue with is devel/pear-HTML_Select_Common the select in the pkg-desc consumes all the following ports info. So you probably want to escape or translate into lt; gt; hi, search box would probably be cool! :) I'll get on it. and yes, it /totally/ needed to broken up into pages. I think that's working now. Ok, I agree with you on the HTML entities, it's a done deal.. There are some updates to post. I have GNATS linked up. I thought I might have to cache a bunch of stuff considering du -h ports 1.5G ports just the ports-related GNATS stuff is 1.5G. and growing every day. but it's live code, seems perky enough. It might be good to add in the mailing list stuff too. maybe 10x that 1.5G though, guessing.? I'm thinking about trying to somehow cross-reference the Makefiles to the Porter's Handbook and maybe the .mk files. And maybe the other way around too. It's like a bag of examples. -- Waitman Gobble San Jose California USA 510-830-7975 ___ 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: why is ports web page so far out of date
On Tue, Jun 4, 2013 at 7:19 AM, Mark Felder f...@feld.me wrote: On Tue, 04 Jun 2013 07:08:15 -0500, Fbsd8 fb...@a1poweruser.com wrote: I can not get current version of the ports system. The ports web page http://www.freebsd.org/ports/ is almost 2 years out of date. Says the port I am interested in is at 1.7 version when just 2 weeks ago it was at 2.2. Portsnap is also messed up showing the 1.7 version. I'm not sure what the status of this system is, but I'd recommend you use the official unofficial Freshports.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 If you must have a web based version, another option is DIY roll your own ports index based on your own local ports tree. At least you can set it up how you want. a simple quick-together script running on my computer: https://dx.burplex.com/FreeBSD-ports/index.php there's a github link at the bottom of the page you can hack on if you wanna. cool thing is you can easily cross-reference all the corresponding gnats PR files in your mailbox to the generated port page, i'll add that bit tomorrow. -- Waitman Gobble San Jose California USA 510-830-7975 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can sasl/sendmail Report IP Of Failed Access?
On Jun 4, 2013 9:00 AM, Tim Daneliuk tun...@tundraware.com wrote: I am seeing login dictionary attacks on a FreeBSD mail server being reported. Is there a way to determine the IPs that are doing this so they can be blocked at the firewall? auth.log only notes the attempted user name, not the IP of origin. -- --- Tim Daneliuk ___ 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 On Jun 4, 2013 9:00 AM, Tim Daneliuk tun...@tundraware.com wrote: I am seeing login dictionary attacks on a FreeBSD mail server being reported. Is there a way to determine the IPs that are doing this so they can be blocked at the firewall? auth.log only notes the attempted user name, not the IP of origin. -- --- Tim Daneliuk ___ 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 one idea is to run auth on a different service / machine on a non-standard port, that at least cuts down the noise from non-targetted scans. Waitman Gobble San Jose California USA ___ 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: System Calls that do DNS
On Jun 3, 2013 10:22 PM, Doug Hardie bc...@lafn.org wrote: On 3 June 2013, at 20:39, staticsafe m...@staticsafe.ca wrote: On Mon, Jun 03, 2013 at 07:57:07PM -0700, Doug Hardie wrote: I have an unusual situation. A program is doing a DNS lookup and often the IP address has no reverse DNS entries. As a result the program hangs for several timeouts. The call is not being made directly in its code, but is occurring in a system call. There are no specific calls to DNS, its something else doing it. I have been trying to track down which system call is doing it, but without success so far. I have tried syslog calls around each of the system calls I thought might be the culprit, but my guessing is not very good. How can I identify the system call that is calling DNS? If I can find it, I hopefully can find another way to do whatever it does that does not involve a reverse DNS lookup. Use truss: http://www.freebsd.org/cgi/man.cgi?query=truss The truss utility traces the system calls called by the specified process or program. -- staticsafe O ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post - http://goo.gl/YrmAb Don't CC me! I'm subscribed to whatever list I just posted on. Unfortunately truss does not show anything more than ktrace. I know what is going out on the internet connection. Its a plain old reverse DNS request. The question is what library module (probably not a system call now that I think about it) is making that request. Interestingly enough, adding the IP address with a dummy name in /etc/hosts causes the reverse request to succeed and there are no time delays. So whatever module it is, is not using bind. Bind doesn't check the hosts files as far as I can tell. ___ 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 maybe try ldd and see if it is linked to a library like c-ares? or try running it in gdb to see whats going on? some ideas. Waitman Gobble San Jose California USA ___ 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: Sound cards
On Jun 2, 2013 3:57 PM, mike miskulin birdf...@yahoo.com wrote: Hi all - I may be building a system which does not have any onboard sounds thus need to find either a pci-e or usb solution which will work with FreeBSD. I've combed newegg and have to say I never realized how crappy the sound cards have become - that used to be a big thing back in the day! Could any of you who have installed something of -recent- vintage which worked well post the make/model? I just need something for basic audio, nothing superduper. TIA ___ 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 hi, i believe the market been more about mainstream-acceptable quality for cheaper and cheaper the past few years. most people use on board sound. not sure there will alot of new and exciting sound cards coming soon, its kind of at the limit of pcm. it will be totally very cool when sound cards do dsd / 5.7 mhz / 1 bit sampling rates, but thats still a ways off i think. i use a creative x-fi card pci-e, the blue one that runs about 50 bucks... on a FreeBSD system, it works pretty good with oss in base or you can try v4.2 in ports. asus xonar cards are excellent, they supposedly work in oss but i have not tried my xonar on a FreeBSD machine yet. if you run usb sound, i recommend getting an add-IN usb card, especially if you want to do some 48k recording. add a couple devices to your usb bus and you might notice some latency. Hope that helps. Waitman Gobble San Jose California USA ___ 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: Sound cards
On Mon, Jun 3, 2013 at 1:13 PM, Waitman Gobble gobble...@gmail.com wrote: On Jun 2, 2013 3:57 PM, mike miskulin birdf...@yahoo.com wrote: Hi all - I may be building a system which does not have any onboard sounds thus need to find either a pci-e or usb solution which will work with FreeBSD. I've combed newegg and have to say I never realized how crappy the sound cards have become - that used to be a big thing back in the day! Could any of you who have installed something of -recent- vintage which worked well post the make/model? I just need something for basic audio, nothing superduper. TIA ___ 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 hi, i believe the market been more about mainstream-acceptable quality for cheaper and cheaper the past few years. most people use on board sound. not sure there will alot of new and exciting sound cards coming soon, its kind of at the limit of pcm. it will be totally very cool when sound cards do dsd / 5.7 mhz / 1 bit sampling rates, but thats still a ways off i think. i use a creative x-fi card pci-e, the blue one that runs about 50 bucks... on a FreeBSD system, it works pretty good with oss in base or you can try v4.2 in ports. asus xonar cards are excellent, they supposedly work in oss but i have not tried my xonar on a FreeBSD machine yet. if you run usb sound, i recommend getting an add-IN usb card, especially if you want to do some 48k recording. add a couple devices to your usb bus and you might notice some latency. Hope that helps. Waitman Gobble San Jose California USA Sorry, I was typing my email on my phone before. yikes, grammar! Anyhow, this card works pretty good on my FreeBSD system: http://www.newegg.com/Product/Product.aspx?Item=N82E16829102017 Note: if you want 'more' than 16bit stereo sound, ie multiple 'surround sound' channels, 32(24) bit, 96Khz recording - you have to do a little code hacking. That card also has an ac3 decoder, so I think you can dump ac3 data to it, but i haven't tried that yet. 'one of these weekends' i'll get to it. :) -- Waitman Gobble San Jose California USA 510-830-7975 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: making photoalbums for web pages
On Fri, May 10, 2013 at 12:41 AM, Matthias Apitz g...@unixarea.de wrote: Hi, I've updated yesterday the laptop of my wife to FreeBSD 10-CURRENT and ports fromm SVN head, all fine with one exception: she is used to make photoalbums of the pictures (JPEG) and publish them on my webserver; she selects in kphotoalbum the pictures she wants (by clicking them) and the application puts them together, with thumbnails, to a tree which just goes per SCP -rp to our webserver; since the update she is without this application because the KDE3 version does not exist in head and the KDE4 version does not compile even :-( Is there any other tool for this? I know about webgallery, but this has not the pre-build phase (selecting images); any other idea? Thanks matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: g...@unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards ___ 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 Hi Matthias, I use graphics/burplex to preview / make selects when I'm on the road, it stores in a text file for easy scripting / batch processing. It's in the ports tree. If you want to batch process 'quicker' on a multi-core system you can try dcraw-m and multiraw, which are in gnats pr at the moment. Otherwise the burplex port runs OK with regular dcraw. If you want something more elaborate try graphics/shotwell or graphics/f-spot I suppose. If she is really into photography she should check out RawTherapee for sure. But newer version than currently in ports, I posted an update pr - which installs - but it needs a little more work. I've been recently creating square thumbnails manually with gimp and saving full size and thumbnail to local computer, which has a public ip address. eliminates need to upload anything :) -- Waitman Gobble San Jose California USA 510-830-7975 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: making photoalbums for web pages
On Fri, May 10, 2013 at 3:02 AM, Matthias Apitz g...@unixarea.de wrote: El día Friday, May 10, 2013 a las 12:59:01AM -0700, Waitman Gobble escribió: Hi Matthias, I use graphics/burplex to preview / make selects when I'm on the road, it stores in a text file for easy scripting / batch processing. It's in the ports tree. If you want to batch process 'quicker' on a multi-core system you can try dcraw-m and multiraw, which are in gnats pr at the moment. Otherwise the burplex port runs OK with regular dcraw. Hi Waitmann, I went to the web side of www.burplex.com... do I understand this right, that the selected names with their leading dir are just stored in a text file .selects for further processing? If so, that would be exactly what I was looking for :-) Thanks matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: g...@unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards Hi, Yes, it is a simple qt4 program which allows the user to quickly browse RAW or JPEG files and toggle/mark 'selects', which is stored in a plain text file. This file can easily be fed into a batch-process command / script. It does *not* offer any other features, such as sharpening, crop, red-eye, color adjustment, etc. If you use the dcraw in ports, it does not do 'auto orient', so if your wife is shooting with this feature disabled on her camera the images _may_ appear sideways. I have an updated dcraw-m that reads the orientation information and rotates the preview image, but otherwise it works fine, it's perfectly usable without it. :) Also might check out this 'beenie' program that I use to automatically download cards onto the computer. Basically after a shoot I can stick in 4 SD cards at once and the software automatically creates folders with the date, and copies the contents and pre-processes the files. (I use it for video, I realized I was spending alot of time loading one card after another and copying the contents, etc). It's more of a hack-type program, but I've been using it for about a year without trouble. It would likely need some customization for your specific system/needs. https://github.com/waitman/beenie -- Waitman Gobble San Jose California USA 510-830-7975 ___ 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: xorg-server-1.7.7_6,1 crashes (from ports head)
Matthias Apitz g...@unixarea.de wrote: El día Tuesday, May 07, 2013 a las 02:45:39PM +0200, Matthias Apitz escribió: xorg-server-1.7.7_6,1 X.Org X server and related programs all ports are from r315646 (1st of April); I randomly face X11 crashes with the following symtoms: - the display is filled with some colored pattern - X11 seems to be still running, because I can switch with Ctrl-Alt-F1 to the console where startx was launched; and Alt+F9 brings back to the unuseable display; ... Hello, Until know the reaction in our mailing list is easy to count: zero :-( Please be kind and give me some hints about best options I have: - Do we have another Xserver in the ports to try? - Should I post a bug report in our Gnats? - Should I go to the lists.x.org? - Any options of the Xorg server to test or to get debug messages of the crash? - Anything else? I have already ordered a new 2 GByte ddr2 RAM to change the memory, but as well it could be the video card or anthing else... Thanks matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: g...@unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards ___ 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 Hi, What video driver are you using on that machine? Waitman Gobble San Jose California ___ 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: Witness on FreeBSD 10.*
On Mon, Apr 29, 2013 at 6:43 PM, Al Plant n...@hdk5.net wrote: Aloha, Is there a way of turning off the witness feature on the FreeBSD Current 10.* I want to use a stripped down version as a test firewall with pf. Thanks for any help. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + email: n...@hdk5.net All that's really worth doing is what we do for others.- Lewis Carrol ___ 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 I believe the witness options are set in kernel config. -- Waitman Gobble San Jose California USA 510-830-7975 ___ 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: Regarding zfs send / receive
Waitman Gobble San Jose California USA On Apr 4, 2013 2:07 PM, Joar Jegleim joar.jegl...@gmail.com wrote: Hi Terje ! sorry for late reply, I've been checking my mail, forgetting that all my mailing list mail are sorted into their own folders skipping inbox :p the zfs sync setup is a huge advantage over rsync simply because incremental rsync of the volume takes ~12 hours, while the zfs differential snapshot's usually take less than a minute . Though it's only ~1TB of data, it's more than 2 million jpegs which rsync have to stat ... I'm guessing my predecessor who chose this setup, over for instance HAST, didn't feel confident enough regarding HAST in production ( I'm looking into that for a future solution) . There's no legacy stuff on the receiving end, old pools are deleted for every sync. I haven't got my script here but google pointed me too https://github.com/hoopty/zfs-sync/blob/master/zfs-sync which look like a script very similar to the one I'm using . In fact, I'm gonna take a closer look at that script and see what differs from my script (apart from it being much prettier :p ) I didn't know about zpool.cache, gonna check that tomorrow, thanks. -- -- Joar Jegleim Homepage: http://cosmicb.no Linkedin: http://no.linkedin.com/in/joarjegleim fb: http://www.facebook.com/joar.jegleim AKA: CosmicB @Freenode -- On 2 April 2013 14:40, Terje Elde te...@elde.net wrote: On 2. apr. 2013, at 13.44, Joar Jegleim wrote: So my question(s) to the list would be: In my setup have I taken the use case for zfs send / receive too far (?) as in, it's not meant for this kind of syncing and this often, so there's actually nothing 'wrong'. I'm not sure if you've taken it too far, but I'm not entirely sure if you're getting any advantage over using rsync or similar for this kind of thing. First two things that spring to mind: Do you have any legacy stuff on the receiving machine? Things like physically removed old zpools, that are still in zpool.cache, seems to slow down various operations, including creation of new stuffs (such as the snapshots you receive). Also, you don't mention if you're deleting old snapshots on the receiving end? If you're doing an incremental run every 15 minutes, that's something like 3000 snapshots pr. month, pr. filesystem. Terje hi, i have a similar situation. its better to only rsync new stuff in this case, because you should know when somebody ads something new. for example, a user uploads 200 new images, these are marked 'to sync' and are transferred to the other servers. letting rsync figure out what's new just isnt practical. an idea, works for me. hope it helps. Waitman Gobble San Jose California ___ 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:
Waitman Gobble San Jose California USA On Mar 28, 2013 3:03 PM, Jeff Belyea jbely...@gmail.com wrote: I have a new computer with windows 8, which I hate with a passion. I don't play music and I don't do a lot of pictures. Basically I only search, some EBay and games. Can I replace win8 with BSD? yes, but first snoop around bios admin screens for uefi settings (might not actually say uefi but something else, and might be in the back 40 so the motherboard manual might help). also might be good to figure out if someone could possibly decide that your machine qualifies as a mobile device, disrupting its planned operation could cause an issue) Waitman Gobble San Jose California ___ 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: Crash when trying to rsync to external NTFS-formatted HD
Waitman Gobble San Jose California USA On Mar 25, 2013 9:01 AM, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Leslie Jensen les...@eskk.nu writes: I'm trying the following on my 9.1-RELEASE #0 system: Mounting the external HD ntfs-3g /dev/da0s1 /mnt/backup/ And doing rsync -av /home/les /mnt/backup/BSD_backup/ I get Building incremental file list for about one minute then my system freezes and reboots. I'm aware that NTFS might be the culprit. I have chosen it for convenience and the possibility to move my data to machines without FreeBSD. Manually copying of files one by one works. Yes, it definitely sounds like fuse is corrupting something in the kernel. Could be tricky to debug, and forcing a kernel dump would be the first step. The traditional most-portable way of moving files is to tar(1) onto a raw device rather than having any filesystem at all. ___ 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 I have noticed this behavior with rsync and fuse mounted ntfs drives, hooking the drive up to an ms machine and doing a chkdisk type of operation may solve it for you, however i recommend using ufs formatted usb drives, it will ease headaches :) Waitman Gobble San Jose California ___ 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: Client Authentication
On Sat, Mar 23, 2013 at 9:22 PM, Doug Hardie bc...@lafn.org wrote: Basically, my outgoing mail server is being systematically attacked to try passwords looking for one that works. When they do find one, we get inundated by spam sent through that account throughout the world. The situation is such that most of our users are older and their computer is a hand-me-down so they can talk to their grandchildren. Passwords are a great inconvenience for them and create numerous problems with remembering them even when they are simple. Unfortunately, most of them are quite easy to guess. You might consider disabling external smtp auth service and using ssh tunnel to server to connect to mail. Also provide web based convenience service. It might be interesting to encrypt mail to the user's cloud service that operates in a gpg zone. I think this operation could be mostly transparent to the user, so kids and granpamas can use it without concern. -- Waitman Gobble San Jose California USA 510-830-7975 ___ 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: Client Authentication
On Sun, Mar 24, 2013 at 1:25 AM, Doug Hardie bc...@lafn.org wrote: On 24 March 2013, at 01:10, Waitman Gobble gobble...@gmail.com wrote: You might consider disabling external smtp auth service and using ssh tunnel to server to connect to mail. Also provide web based convenience service. I am not convinced that a ssh tunnel is going to be easy for my users. We do provide a web based mail client, but I wouldn't describe it as convenient. I find it a pain in the neck, but so many users requested it that we provide it. It is password authenticated but so slow it will never be attacked with password guessing. One idea is to run a different server process on 25 which does not do SMTP AUTH,, then run SMTP AUTH on 465 or 587. I don't really see a reason to advertise SMTP AUTH on 25, for some reason all mail servers seem to do AUTH on all ports or none. Maybe there is a way to configure SMTP AUTH only on certain ports, one way I can think of is to run two processes with two configs. If some people are specifically attacking your service this may not be optimal, but if it's script kiddies scanning servers on port 25 this might discourage them. Another thought is to modify the SMTP server to allow one or two failed attempts then lock the account. IRL people set up their password into their email program and don't type it in all the time, or in the case of web mail they make their browser remember it. There isn't a good reason I can think of to allow 100 failed SMTP AUTH attempts. This concept would have to be tweaked a bit to balance customer service demand. You could also use the age of the account to determine the number of failed attempts, newer accounts might get 10 failed attempts, for example. Or you could disable SMTP auth altogether and make a little program that sets up a tunnel. Here's an ssh library that's BSD licensed http://www.libssh2.org/examples/tcpip-forward.html I think you can decide how much user intervention is needed for port forwarding. IT could be something like the user has to have the service installed on their machine, or it's a 'click for email' type thing. A little program that sets up the tunnel behind the scenes. It takes a day or two of front end programming but might be a good solution that works on unix/mac/linux/ms machines. You can have your SMTP AUTH service listening only on localhost. Handheld devices might become a challenge. It might be interesting to encrypt mail to the user's cloud service that operates in a gpg zone. I think this operation could be mostly transparent to the user, so kids and granpamas can use it without concern. This one I don't understand. Can you provide pointers to this type of service? Sorry I don't have any pointers, it was an idea last night. The concept is that users have 'cloud' accounts, email is encrypted to their account, perhaps (off the top of my head) in a fashion similar to the way friendica works.(it's not working with cloud systems, but it encrypts information to individual users, this could be analyzed for ideas for a cloud based system). This kind of solution might take a week of programming to set up, so it's more work on the front end. If you have some archival requirement or need to parse/key or otherwise analyze messages, in that scenario you would have to copy the message I think. -- Waitman Gobble San Jose California USA 510-830-7975 ___ 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: Re-sending selected e-mail messages
On Feb 13, 2013 3:49 PM, Polytropon free...@edvax.de wrote: I need a way to automatically re-sent stored e-mail messages according to some criteria and like to ask for advice or suggestions for an already existing solution before I start reinventing the wheel. :-) The messages in question are stored in MH format. This is a tree where a mailbox equals a directory, and the individual files in that directory equal the messages. They are numbered 1, 2, 3, 4, ..., and so on. Each message is in Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable or Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit or maybe even Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit text format. Some of them might contain an attachment, which is included in the file with something like --Multipart=... Content-Type: ...; name=... Content-Disposition: attachment; filename=... Content-Transfer-Encoding: base64 --Multipart=...--- Some messages are fully multipart. So when iterating on ~/Mail/sent/1,2,3,4,5,... I get all the messages. Each third line, To:, is the criteria to look at. If it matches a given recipient, the mail should be sent again. This can easily be done by the system's mailer which is properly configured (and uses ISP's MX), so | mail -s maybe new subject is possible. The message should already be properly pre-composed. What is the easiest way to do this without reinventing the wheel, or should I? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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 I'm working on an email related project, you might hack it to work for you. https://github.com/waitman/elmboxo check out pmess.c it can do a single message. (the easy way to feed pmess a single message is actually to feed the single message to elmboxo as it is coded) anyway its built to stuff them in a mongodb db, but I.m working on a free nosql solution that works for my project. you can just chuck all those bits. an idea. Waitman Gobble San Jose California ___ 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: sysctl security.jail.* descriptions
On Feb 6, 2013 7:02 AM, Fbsd8 fb...@a1poweruser.com wrote: Where do I find the descriptions of what these jail MIBs do? security.jail.param.allow.mount.zfs: 0 security.jail.param.allow.mount.procfs: 0 security.jail.param.allow.mount.nullfs: 0 security.jail.param.allow.mount.devfs: 0 security.jail.param.allow.mount.: 0 security.jail.param.allow.socket_af: 0 security.jail.param.allow.quotas: 0 security.jail.param.allow.chflags: 0 security.jail.param.allow.raw_sockets: 0 security.jail.param.allow.sysvipc: 0 security.jail.param.allow.set_hostname: 0 security.jail.param.ip6.saddrsel: 0 security.jail.param.ip6.: 0 security.jail.param.ip4.saddrsel: 0 security.jail.param.ip4.: 0 security.jail.param.cpuset.id: 0 security.jail.param.host.hostid: 0 security.jail.param.host.hostuuid: 64 security.jail.param.host.domainname: 256 security.jail.param.host.hostname: 256 security.jail.param.host.: 0 security.jail.param.children.max: 0 security.jail.param.children.cur: 0 security.jail.param.dying: 0 security.jail.param.persist: 0 security.jail.param.devfs_ruleset: 0 security.jail.param.enforce_statfs: 0 security.jail.param.securelevel: 0 security.jail.param.path: 1024 security.jail.param.name: 256 security.jail.param.parent: 0 security.jail.param.jid: 0 security.jail.devfs_ruleset: 0 security.jail.enforce_statfs: 2 security.jail.mount_zfs_allowed: 0 security.jail.mount_procfs_allowed: 0 security.jail.mount_nullfs_allowed: 0 security.jail.mount_devfs_allowed: 0 security.jail.mount_allowed: 0 security.jail.chflags_allowed: 0 security.jail.allow_raw_sockets: 0 security.jail.sysvipc_allowed: 0 security.jail.socket_unixiproute_only: 1 security.jail.set_hostname_allowed: 1 security.jail.jail_max_af_ips: 255 security.jail.jailed: 0 ___ 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 Did you try the man page? Also there is often interesting comments in /usr/src Hope that helps. Waitman Gobble San Jose California ___ 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: sysctl security.jail.* descriptions
On Feb 6, 2013 7:17 AM, Fbsd8 fb...@a1poweruser.com wrote: Waitman Gobble wrote: On Feb 6, 2013 7:02 AM, Fbsd8 fb...@a1poweruser.com wrote: Where do I find the descriptions of what these jail MIBs do? security.jail.param.allow.mount.zfs: 0 security.jail.param.allow.mount.procfs: 0 security.jail.param.allow.mount.nullfs: 0 security.jail.param.allow.mount.devfs: 0 security.jail.param.allow.mount.: 0 security.jail.param.allow.socket_af: 0 security.jail.param.allow.quotas: 0 security.jail.param.allow.chflags: 0 security.jail.param.allow.raw_sockets: 0 security.jail.param.allow.sysvipc: 0 security.jail.param.allow.set_hostname: 0 security.jail.param.ip6.saddrsel: 0 security.jail.param.ip6.: 0 security.jail.param.ip4.saddrsel: 0 security.jail.param.ip4.: 0 security.jail.param.cpuset.id: 0 security.jail.param.host.hostid: 0 security.jail.param.host.hostuuid: 64 security.jail.param.host.domainname: 256 security.jail.param.host.hostname: 256 security.jail.param.host.: 0 security.jail.param.children.max: 0 security.jail.param.children.cur: 0 security.jail.param.dying: 0 security.jail.param.persist: 0 security.jail.param.devfs_ruleset: 0 security.jail.param.enforce_statfs: 0 security.jail.param.securelevel: 0 security.jail.param.path: 1024 security.jail.param.name: 256 security.jail.param.parent: 0 security.jail.param.jid: 0 security.jail.devfs_ruleset: 0 security.jail.enforce_statfs: 2 security.jail.mount_zfs_allowed: 0 security.jail.mount_procfs_allowed: 0 security.jail.mount_nullfs_allowed: 0 security.jail.mount_devfs_allowed: 0 security.jail.mount_allowed: 0 security.jail.chflags_allowed: 0 security.jail.allow_raw_sockets: 0 security.jail.sysvipc_allowed: 0 security.jail.socket_unixiproute_only: 1 security.jail.set_hostname_allowed: 1 security.jail.jail_max_af_ips: 255 security.jail.jailed: 0 Did you try the man page? Also there is often interesting comments in /usr/src Hope that helps. Waitman Gobble San Jose California There are no man pages for any MIBs Sorry, but im not at a computer now to check, but I believe it would be in the «jail» man page. Hopefully that's the right 411. Waitman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9.1-RELEASE w/ SanDisk ImageMate S11202
On Sat, Jan 19, 2013 at 6:42 AM, Joe Altman free...@chthonixia.net wrote: On Fri, Jan 18, 2013 at 10:19:25PM -0800, Waitman Gobble wrote: On Fri, Jan 18, 2013 at 12:10 AM, Waitman Gobble gobble...@gmail.com wrote: Hi, I have a PCI Express card with VIA VL800 chipset which seems to work OK with a Seagate drive, so I presume the interface is working. I think my question is relevant: Does the working drive mean that you have the proper USB bits in your kernel? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html 19.5.1 Configuration If you use a custom kernel, be sure that the following lines are present in your kernel configuration file: device scbus == device da== device pass += device uhci device ohci device ehci device usb device umass == I don't see them mentioned below. If I boot with a SanDisk ImageMate S11202 plugged into the USB 3.0 card, the display shows messages about the SanDisk device, appears to properly identify it, and with like 'querying ...' slots on the card reader, which all fail - (there are no cards in the reader). Then the machine sails into outerspace, kind of just sits there until (perhaps) the end of time, or until I kill the power. It never gets the network interface up, so no ssh. kernel built with: deviceahci# AHCI-compatible SATA controllers deviceuhci# UHCI PCI-USB interface deviceohci# OHCI PCI-USB interface deviceehci# EHCI PCI-USB interface (USB 2.0) devicexhci# XHCI PCI-USB interface (USB 3.0) General question: The man page is ambiguous to me; does it mean that one only needs xhci for all three versions, or must one specify all? DESCRIPTION The xhci driver provides support for the USB eXtensible Host Controller Interface, which allows use of USB 1.0, 2.0 and 3.0 devices on the same USB port. Such that xhci can handle *all* such USB devices? Also, ahci has a number of sysctl knobs for interrupts. Maybe that is a path to resolving the issue? Regards, Joe ___ 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 Hi, yes i have those options in the kernel config # ATA/SCSI peripherals device scbus # SCSI bus (required for ATA/SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass# Passthrough device (direct ATA/SCSI access) device ses # Enclosure Services (SES and SAF-TE) device ctl # CAM Target Layer # USB support options USB_DEBUG # enable debug msgs device uhci# UHCI PCI-USB interface device ohci# OHCI PCI-USB interface device ehci# EHCI PCI-USB interface (USB 2.0) device xhci# XHCI PCI-USB interface (USB 3.0) device usb # USB Bus (required) #device udbp# USB Double Bulk Pipe devices (needs netgraph) device uhid# Human Interface Devices device ukbd# Keyboard #device ulpt# Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse #device urio# Diamond Rio 500 MP3 player I have turned off usb printer, double bulk pipe device, and all the usb wireless and ethernet interfaces. # camcontrol devlist WDC WD1002FAEX-00Y9A0 05.01D05 at scbus0 target 0 lun 0 (ada0,pass0) ATAPI DVD A DH16A6S YA17at scbus0 target 1 lun 0 (pass1,cd0) hp CDDVDW SH-216BB HE30 at scbus1 target 1 lun 0 (pass2,cd1) SanDisk uSD SDDR-289 1.00at scbus5 target 0 lun 0 (pass3,da0) SanDisk MS SDDR-289 1.00 at scbus5 target 0 lun 1 (pass4,da1) SanDisk SD SDDR-289 1.00 at scbus5 target 0 lun 2 (pass5,da2) SanDisk CF SDDR-289 1.00 at scbus5 target 0 lun 3 (pass6,da3) WD My Book 1110 1030 at scbus6 target 0 lun 0 (pass7,da4) WD Virtual CD 1110 1030 at scbus6 target 0 lun 1 (pass8,cd2) WD SES Device 1030 at scbus6 target 0 lun 2 (ses0,pass9) I am not trying to boot from the memory stick, just boot when the usb card reader is plugged into the usb3 interface. When it is not plugged in it's fast reboot, when it's plugged in it takes like 20 minutes. The SanDisk device is supposedly usb3.0, but i agree it's curious thing about the 1.0 listed in the camcontrol device list... I see what you are saying about the manual. AFAIK you need uhci/ohci for usb 1.0, ehci for 2.0 and xhci for 3.0, but i have
Re: FreeBSD 9.1-RELEASE w/ SanDisk ImageMate S11202
On Sat, Jan 19, 2013 at 9:05 AM, Waitman Gobble gobble...@gmail.com wrote: On Sat, Jan 19, 2013 at 6:42 AM, Joe Altman free...@chthonixia.netwrote: On Fri, Jan 18, 2013 at 10:19:25PM -0800, Waitman Gobble wrote: On Fri, Jan 18, 2013 at 12:10 AM, Waitman Gobble gobble...@gmail.com wrote: Hi, I have a PCI Express card with VIA VL800 chipset which seems to work OK with a Seagate drive, so I presume the interface is working. I think my question is relevant: Does the working drive mean that you have the proper USB bits in your kernel? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html 19.5.1 Configuration If you use a custom kernel, be sure that the following lines are present in your kernel configuration file: device scbus == device da== device pass += device uhci device ohci device ehci device usb device umass == I don't see them mentioned below. If I boot with a SanDisk ImageMate S11202 plugged into the USB 3.0 card, the display shows messages about the SanDisk device, appears to properly identify it, and with like 'querying ...' slots on the card reader, which all fail - (there are no cards in the reader). Then the machine sails into outerspace, kind of just sits there until (perhaps) the end of time, or until I kill the power. It never gets the network interface up, so no ssh. kernel built with: deviceahci# AHCI-compatible SATA controllers deviceuhci# UHCI PCI-USB interface deviceohci# OHCI PCI-USB interface deviceehci# EHCI PCI-USB interface (USB 2.0) devicexhci# XHCI PCI-USB interface (USB 3.0) General question: The man page is ambiguous to me; does it mean that one only needs xhci for all three versions, or must one specify all? DESCRIPTION The xhci driver provides support for the USB eXtensible Host Controller Interface, which allows use of USB 1.0, 2.0 and 3.0 devices on the same USB port. Such that xhci can handle *all* such USB devices? Also, ahci has a number of sysctl knobs for interrupts. Maybe that is a path to resolving the issue? Regards, Joe ___ 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 Hi, yes i have those options in the kernel config # ATA/SCSI peripherals device scbus # SCSI bus (required for ATA/SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass# Passthrough device (direct ATA/SCSI access) device ses # Enclosure Services (SES and SAF-TE) device ctl # CAM Target Layer # USB support options USB_DEBUG # enable debug msgs device uhci# UHCI PCI-USB interface device ohci# OHCI PCI-USB interface device ehci# EHCI PCI-USB interface (USB 2.0) device xhci# XHCI PCI-USB interface (USB 3.0) device usb # USB Bus (required) #device udbp# USB Double Bulk Pipe devices (needs netgraph) device uhid# Human Interface Devices device ukbd# Keyboard #device ulpt# Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse #device urio# Diamond Rio 500 MP3 player I have turned off usb printer, double bulk pipe device, and all the usb wireless and ethernet interfaces. # camcontrol devlist WDC WD1002FAEX-00Y9A0 05.01D05 at scbus0 target 0 lun 0 (ada0,pass0) ATAPI DVD A DH16A6S YA17at scbus0 target 1 lun 0 (pass1,cd0) hp CDDVDW SH-216BB HE30 at scbus1 target 1 lun 0 (pass2,cd1) SanDisk uSD SDDR-289 1.00at scbus5 target 0 lun 0 (pass3,da0) SanDisk MS SDDR-289 1.00 at scbus5 target 0 lun 1 (pass4,da1) SanDisk SD SDDR-289 1.00 at scbus5 target 0 lun 2 (pass5,da2) SanDisk CF SDDR-289 1.00 at scbus5 target 0 lun 3 (pass6,da3) WD My Book 1110 1030 at scbus6 target 0 lun 0 (pass7,da4) WD Virtual CD 1110 1030 at scbus6 target 0 lun 1 (pass8,cd2) WD SES Device 1030 at scbus6 target 0 lun 2 (ses0,pass9) I am not trying to boot from the memory stick, just boot when the usb card reader is plugged into the usb3 interface. When it is not plugged in it's fast reboot, when it's plugged in it takes like 20 minutes. The SanDisk device is supposedly usb3.0, but i agree it's curious thing about the 1.0 listed in the camcontrol device list... I
Re: FreeBSD 9.1-RELEASE w/ SanDisk ImageMate S11202
After fiddling with it I don't think the CAM status CCB errors in my previous post were actually related to the SanDisk device, but I am sure when it's plugged in there's a 20 minute reboot cycle. And that's a problem. I think it's maybe because the device I have needs some quirks stuff. i'll check it out. Somebody suggested I post in the freebsd-usb group, sounds like a better idea! Off I go/ I did get the multi card dumper daemon working. It's good for people who dump alot of cards. https://github.com/waitman/beenie -- Waitman Gobble San Jose California USA 510-830-7975 ___ 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 9.1-RELEASE w/ SanDisk ImageMate S11202
Hi, I have a PCI Express card with VIA VL800 chipset which seems to work OK with a Seagate drive, so I presume the interface is working. If I boot with a SanDisk ImageMate S11202 plugged into the USB 3.0 card, the display shows messages about the SanDisk device, appears to properly identify it, and with like 'querying ...' slots on the card reader, which all fail - (there are no cards in the reader). Then the machine sails into outerspace, kind of just sits there until (perhaps) the end of time, or until I kill the power. It never gets the network interface up, so no ssh. It would be great to be able to paste the log here but when I reboot there is nothing about the activity in the log, it's like the entire boot process never happened. Anyone have any experience with this card reader? I appreciate any suggestions or tips. Below is pertinent system information. Thank you, # uname -a FreeBSD kamira.waitman.net 9.1-RELEASE FreeBSD 9.1-RELEASE #1 r245537: Thu Jan 17 22:10:56 PST 2013 r...@kamira.waitman.net:/usr/obj/usr/src/sys/BURPLEX amd64 kernel built with: deviceahci# AHCI-compatible SATA controllers deviceuhci# UHCI PCI-USB interface deviceohci# OHCI PCI-USB interface deviceehci# EHCI PCI-USB interface (USB 2.0) devicexhci# XHCI PCI-USB interface (USB 3.0) pciconf output: xhci0@pci0:2:0:0:class=0x0c0330 card=0x34321106 chip=0x34321106 rev=0x03 hdr=0x00 vendor = 'VIA Technologies, Inc.' class = serial bus subclass = USB interesting log entries: Jan 17 23:10:48 kamira kernel: usbus0: 5.0Gbps Super Speed USB v3.0 Jan 17 23:11:32 kamira kernel: ugen0.3: Seagate at usbus0 Jan 17 23:11:32 kamira kernel: umass1: Seagate FA GoFlex Desk, class 0/0, rev 3.00/1.00, addr 2 on usbus0 Jan 17 23:11:32 kamira kernel: da1 at umass-sim1 bus 1 scbus6 target 0 lun 0 Jan 17 23:11:32 kamira kernel: da1: Seagate FA GoFlex Desk 0D0B Fixed Direct Access SCSI-0 device Jan 17 23:11:32 kamira kernel: da1: 400.000MB/s transfers Jan 17 23:11:32 kamira kernel: da1: 2861588MB (732566645 4096 byte sectors: 255H 63S/T 45600C) -- Waitman Gobble San Jose California USA 510-830-7975 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9.1-RELEASE w/ SanDisk ImageMate S11202
On Fri, Jan 18, 2013 at 12:10 AM, Waitman Gobble gobble...@gmail.comwrote: Hi, I have a PCI Express card with VIA VL800 chipset which seems to work OK with a Seagate drive, so I presume the interface is working. If I boot with a SanDisk ImageMate S11202 plugged into the USB 3.0 card, the display shows messages about the SanDisk device, appears to properly identify it, and with like 'querying ...' slots on the card reader, which all fail - (there are no cards in the reader). Then the machine sails into outerspace, kind of just sits there until (perhaps) the end of time, or until I kill the power. It never gets the network interface up, so no ssh. It would be great to be able to paste the log here but when I reboot there is nothing about the activity in the log, it's like the entire boot process never happened. Anyone have any experience with this card reader? I appreciate any suggestions or tips. Below is pertinent system information. Thank you, # uname -a FreeBSD kamira.waitman.net 9.1-RELEASE FreeBSD 9.1-RELEASE #1 r245537: Thu Jan 17 22:10:56 PST 2013 r...@kamira.waitman.net:/usr/obj/usr/src/sys/BURPLEX amd64 kernel built with: deviceahci# AHCI-compatible SATA controllers deviceuhci# UHCI PCI-USB interface deviceohci# OHCI PCI-USB interface deviceehci# EHCI PCI-USB interface (USB 2.0) devicexhci# XHCI PCI-USB interface (USB 3.0) pciconf output: xhci0@pci0:2:0:0:class=0x0c0330 card=0x34321106 chip=0x34321106 rev=0x03 hdr=0x00 vendor = 'VIA Technologies, Inc.' class = serial bus subclass = USB interesting log entries: Jan 17 23:10:48 kamira kernel: usbus0: 5.0Gbps Super Speed USB v3.0 Jan 17 23:11:32 kamira kernel: ugen0.3: Seagate at usbus0 Jan 17 23:11:32 kamira kernel: umass1: Seagate FA GoFlex Desk, class 0/0, rev 3.00/1.00, addr 2 on usbus0 Jan 17 23:11:32 kamira kernel: da1 at umass-sim1 bus 1 scbus6 target 0 lun 0 Jan 17 23:11:32 kamira kernel: da1: Seagate FA GoFlex Desk 0D0B Fixed Direct Access SCSI-0 device Jan 17 23:11:32 kamira kernel: da1: 400.000MB/s transfers Jan 17 23:11:32 kamira kernel: da1: 2861588MB (732566645 4096 byte sectors: 255H 63S/T 45600C) -- Waitman Gobble San Jose California USA 510-830-7975 After experimenting a bit, A follow up, when I plug the device in after booting it's no problem. nothing bad happens. Jan 18 20:58:20 kamira kernel: ugen0.4 (: SanDisk at usbus0 Jan 18 20:58:20 kamira kernel: umass2: Bulk-In, Bulk-Out, Interface on usbus0 Jan 18 20:58:20 kamira kernel: umass2: SCSI over Bulk-Only; quirks = 0x4000 Jan 18 20:58:20 kamira kernel: umass2:7:2:-1: Attached to scbus7 Jan 18 20:58:20 kamira kernel: da2 at umass-sim2 bus 2 scbus7 target 0 lun 0 Jan 18 20:58:20 kamira kernel: da2: SanDisk uSD SDDR-289 1.00 Removable Direct Access SCSI-0 device Jan 18 20:58:20 kamira kernel: da2: 400.000MB/s transfers Jan 18 20:58:20 kamira kernel: da2: Attempt to query device size failed: NOT READY, Medium not present Jan 18 20:58:20 kamira kernel: da3 at umass-sim2 bus 2 scbus7 target 0 lun 1 Jan 18 20:58:20 kamira kernel: da3: SanDisk MS SDDR-289 1.00 Removable Direct Access SCSI-0 device Jan 18 20:58:20 kamira kernel: da3: 400.000MB/s transfers Jan 18 20:58:20 kamira kernel: da3: Attempt to query device size failed: NOT READY, Medium not present Jan 18 20:58:20 kamira kernel: da4 at umass-sim2 bus 2 scbus7 target 0 lun 2 Jan 18 20:58:20 kamira kernel: da4: SanDisk SD SDDR-289 1.00 Removable Direct Access SCSI-0 device Jan 18 20:58:20 kamira kernel: da4: 400.000MB/s transfers Jan 18 20:58:20 kamira kernel: da4: Attempt to query device size failed: NOT READY, Medium not present Jan 18 20:58:20 kamira kernel: da5 at umass-sim2 bus 2 scbus7 target 0 lun 3 Jan 18 20:58:20 kamira kernel: da5: SanDisk CF SDDR-289 1.00 Removable Direct Access SCSI-0 device Jan 18 20:58:20 kamira kernel: da5: 400.000MB/s transfers Jan 18 20:58:20 kamira kernel: da5: Attempt to query device size failed: NOT READY, Medium not present when i do a shutdown now, it takes 9:51-9:57 about 6 minutes to disappear from ping and shut down, then it finally comes back up 10:12, so 15 minutes. So reboot = 21 minutes. While it's not the end of time scenario, something is hanging up this machine on boot up and shutdown, with that device... If anyone has a pointer or suggestion I totally appreciate it! definitely need this machine to boot/shutdown much faster! Thank you, -- Waitman Gobble San Jose California USA 510-830-7975 ___ 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: fsck can't determine fstype
On Jan 16, 2013 10:24 AM, Robert Huff roberth...@rcn.com wrote: Situation: I have a hard drive which may or may not have died already, from which I would _very_ much like to recover maybe 1 gbyte of data. After extracting it from the old machine, it's now hooked up to a system running: FreeBSD 10.0-CURRENT #0: Sun Dec 30 12:52:09 EST 2012 amd64 gpart show identifies it as ad1 with partition 2 as type freebsd-ufs and label g_user. However: fsck /dev/ad1p2 fsck: could not determine filesystem type Adding -t ufs produces: huff@ fsck -t ufs /ad1p2 ** /dev/ad1p2 ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes -2103374334359810 BAD I=342 UNEXPECTED SOFT UPDATE INCONSISTENCY -2103382924294404 BAD I=342 UNEXPECTED SOFT UPDATE INCONSISTENCY -2103391514228998 BAD I=342 UNEXPECTED SOFT UPDATE INCONSISTENCY -2103400104163592 BAD I=342 UNEXPECTED SOFT UPDATE INCONSISTENCY -2103408694098186 BAD I=342 UNEXPECTED SOFT UPDATE INCONSISTENCY -2103417284032780 BAD I=342 UNEXPECTED SOFT UPDATE INCONSISTENCY -2103425873967374 BAD I=342 UNEXPECTED SOFT UPDATE INCONSISTENCY -2103434463901968 BAD I=342 UNEXPECTED SOFT UPDATE INCONSISTENCY -2103443053836562 BAD I=342 UNEXPECTED SOFT UPDATE INCONSISTENCY -2103451643771156 BAD I=342 UNEXPECTED SOFT UPDATE INCONSISTENCY -2103460233705750 BAD I=342 UNEXPECTED SOFT UPDATE INCONSISTENCY EXCESSIVE BAD BLKS I=342 CONTINUE? [yn] ^C * FILE SYSTEM STILL DIRTY * While I'm not an fs expert, this feels wrong. Is there some clue I'm missing? Respectfully, Robert Huff hi, you might try to force a read only mount, if the drive is clicking its probably losing tracking, I have had luck in the past putting it in a ziplock and in the freezer for a good while. hope that helps. Waitman Gobble San Jose California ___ 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: ffmpef 1.1
On Jan 15, 2013 12:59 PM, Zyumbilev, Peter pe...@aboutsupport.com wrote: On 15/01/2013 22:27, Mark Felder wrote: On Tue, 15 Jan 2013 14:22:56 -0600, Zyumbilev, Peter pe...@aboutsupport.com wrote: 1.1 has REALLY cool features - burn subtitles Hardcoded subs are the worst :( I will wait a little before going the compile route... For subs,I am with Samsung which works like charm with sepate srt file, however I want to build such setup who is with Sony and Sony supports only burned subtitles :( did you try multimedia/ffmpeg-devel, its pulls from svn. for subtitles I think you are talking about libass? its been in svn head for awhile. Waitman Gobble San Jose California ___ 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: Regarding: Script configure failed unexpectedly.
On Jan 13, 2013 2:12 PM, Joe Altman free...@chthonixia.net wrote: On Sun, Jan 13, 2013 at 10:34:30AM -0800, Waitman Gobble wrote: Hi, Yeah i think it just sends through sendmail on the local machine. You may find it convenient to use the web interface. Your config.log says you are running FreeBSD 9.1-PRERELEASE #0: Mon Oct 22 00:16:27 EDT 2012, you should consider upgrading to 9.1, which was released in December. My very, very, bad mistake: I forget to mention in this email thread my current uname -a, which is in the send-pr that was rejected: FreeBSD whisperer.chthonixia.net 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r245243: Wed Jan 9 18:25:14 EST 2013 r...@whisperer.chthonixia.net:/usr/obj/usr/src/sys/WHISPERER amd64 Since I did not think the bug would be addressed via this thread, I'm really sorry to have wasted your time; I should have thought to submit another PR via the web interface with my current environment. I can do that that so a proper bug report is opened unless you think it unnecessary. Best regards, Joe hi, sounds like the newer uname info is farther down in config.log, and I just missed it. a pr is fine, I think there are some minor issues with the port. I should be able to get an updated port after I get home tonight and submit for somebody to check it out and commit. Waitman ___ 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: Regarding: Script configure failed unexpectedly.
On Sat, Jan 12, 2013 at 9:21 PM, Joe Altman free...@chthonixia.net wrote: On Sat, Jan 12, 2013 at 06:21:28PM -0800, Waitman Gobble wrote: Hi, If the email contact is as listed it seems there is not a specific person who has taken the port. I found your email to the ports list with the attached config.log. I will take a look at the problem and probably find a solution. I'm heading out for the evening so I may not get to it until tomorrow morning. Thank you; it's not urgent for me, as kino currently works. I just wanted to open a bug report. Also: it seems that since the last time I used send-pr Spamassassin was placed between the recipients of send-pr and dynamic hosts. So it looks as if it may be best for people to be told to use the web interface for bugs, since send-pr seems to use the localhost MTA, rather than SMTP AUTH. Hi, Yeah i think it just sends through sendmail on the local machine. You may find it convenient to use the web interface. Your config.log says you are running FreeBSD 9.1-PRERELEASE #0: Mon Oct 22 00:16:27 EDT 2012, you should consider upgrading to 9.1, which was released in December. I just tried a make in kino and received this error, but I picked 'use kino ffmpeg'. Option number is ambiguous (number-footnotes, number-sections looks like this is happening in ffmpeg/Makefile doc/%.html: doc/%.texi texi2html -monolithic -number $ mv $(@F) $@ changed to doc/%.html: doc/%.texi texi2html -monolithic -number-sections $ mv $(@F) $@ seems to fix in this case. (but this is a different error than you were receiving, i'll get it figured out.) -- Waitman Gobble San Jose California USA 510-830-7975 ___ 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: BWN WLAN wpa_supplicant ssid mismatch no carrier
On Sat, Jan 12, 2013 at 4:58 PM, Thomas D. Dean tomd...@speakeasy.orgwrote: FreeBSD 9.0 as of June 1, 2012. I have an older laptop with a PC Card Linksys WiFi adapter. I cannot connect to a close-by (2 ft) wireless router. cat rc.conf ... ifconfig_wlan0=WPA SYNCDHCP wlans_bwn0=wlan0 ... cat /etc/wpa_supplicant.conf network={ ssid=tddhome psk= } # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -ddt ... 0: the correct router ssid='' wpa_ie_len=22 ... skip - SSID mismatch ... The interface is seeing the correct router ifconfig -v wlan0 list scan ... SSIDtddhome ... WPAv1 mc:AES-CCMP uc:AES-CCMP km:8021X-PSK ... What am I doing wrong? Tom Dean __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org Hi, I don't recall connecting with CCMP (maybe there's no issue!!!) but check the router settings. For some reason I remember having to set mine to use TKIP. An idea. (?) -- Waitman Gobble San Jose California USA 510-830-7975 ___ 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: BWN WLAN wpa_supplicant ssid mismatch no carrier
On Sat, Jan 12, 2013 at 5:14 PM, Waitman Gobble gobble...@gmail.com wrote: On Sat, Jan 12, 2013 at 4:58 PM, Thomas D. Dean tomd...@speakeasy.orgwrote: FreeBSD 9.0 as of June 1, 2012. I have an older laptop with a PC Card Linksys WiFi adapter. I cannot connect to a close-by (2 ft) wireless router. cat rc.conf ... ifconfig_wlan0=WPA SYNCDHCP wlans_bwn0=wlan0 ... cat /etc/wpa_supplicant.conf network={ ssid=tddhome psk= } # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -ddt ... 0: the correct router ssid='' wpa_ie_len=22 ... skip - SSID mismatch ... The interface is seeing the correct router ifconfig -v wlan0 list scan ... SSIDtddhome ... WPAv1 mc:AES-CCMP uc:AES-CCMP km:8021X-PSK ... What am I doing wrong? Tom Dean __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org Hi, I don't recall connecting with CCMP (maybe there's no issue!!!) but check the router settings. For some reason I remember having to set mine to use TKIP. An idea. (?) -- Waitman Gobble San Jose California USA 510-830-7975 I think Erich is correct. Also, CCMP should work great if wlan_ccmp_load=YES is in /boot/loader.conf Waitman Gobble San Jose California USA 510-830-7975 ___ 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: Regarding: Script configure failed unexpectedly.
On Sat, Jan 12, 2013 at 6:01 PM, Joe Altman free...@chthonixia.net wrote: Greetings... I was upgrading kino tonight, and the upgrade process failed and tossed this request at the tail of the error: === Script configure failed unexpectedly. Please report the problem to po...@freebsd.org [maintainer] and attach the /usr/ports/multimedia/kino/work/kino-1.3.4/config.log including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/sbin/pkg_info -Ea). On January 2, the same thing happened and I did as requested...my email can be seen in the January 2013 thread in the mailing lists and seems unacknowledged. Looking at it, I saw (and remembered) send-pr as the method to use. My question: should a PR be opened on the Script 'configure... message, such that use send-pr instead of send it to ports@ is used? I imagine this sort of problem is common. Regards, Joe Altman ___ 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 Hi, If the email contact is as listed it seems there is not a specific person who has taken the port. I found your email to the ports list with the attached config.log. I will take a look at the problem and probably find a solution. I'm heading out for the evening so I may not get to it until tomorrow morning. -- Waitman Gobble San Jose California USA 510-830-7975 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to get audio from youtube?
On Dec 11, 2012 8:19 PM, Gary Kline kl...@thought.org wrote: is there a way I can get the audio off u-toob? -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ 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 oh its like the new old napster. Youtube downloader works pretty good, needs python. http://rg3.github.com/youtube-dl/ then convert using ffmpeg. Waitman Gobble San Jose California USA ___ 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: audio CD/CD-TEXT
On Thu, Nov 29, 2012 at 2:50 PM, Juergen Lock n...@jelal.kn-bremen.dewrote: On Wed, Nov 28, 2012 at 10:30:36PM -0800, Waitman Gobble wrote: Hi, Hi! A girl sent me her CD and it appears that she created a mixed mode disc with CD-TEXT info of her lyrics. I can't recall playing/noticing such a disc in the past 10 years so I'm at a loss. I can dump the audio tracks (cdda2wav) and/or play the audio disc with mplayer. Anyone with a pointer on how to get at the CD-TEXT info? ie, read the lyrics. THANKS! If the lyrics are really cd-text maybe cdrdado read-cd can read them: http://www.freshports.org/sysutils/cdrdao At least I've seen cd-text records in the toc files it produces... HTH, :) Juergen # cd-info /dev/cd0 cd-info version 0.83 amd64-portbld-freebsd9.0 CD location : /dev/cd0 CD driver name: FreeBSD access mode: CAM Vendor : hp Model : CDDVDW SN-208BB Revision: HH01 Hardware : CD-ROM or DVD __ Disc mode is listed as: CD-ROM Mixed CD-ROM Track List (1 - 12) #: MSF LSNType Green? Copy? Channels Premphasis? 1: 00:02:00 00 audio false no2no 2: 03:51:30 017205 audio false no2no 3: 08:25:73 037798 audio false no2no 4: 13:10:19 059119 audio false no2no 5: 17:19:00 05 audio false no2no 6: 22:24:01 100651 audio false no2no 7: 27:24:54 123204 audio false no2no 8: 32:41:17 146942 audio false no2no 9: 37:41:26 169451 audio false no2no 10: 40:48:05 183455 audio false no2no 11: 44:18:38 199238 audio false no2no 12: 51:36:41 232091 data false no 170: 51:42:43 232543 leadout (521 MB raw, 518 MB formatted) Media Catalog Number (MCN): 0 TRACK 1 ISRC: TRACK 2 ISRC: TRACK 3 ISRC: TRACK 4 ISRC: TRACK 5 ISRC: TRACK 6 ISRC: TRACK 7 ISRC: TRACK 8 ISRC: TRACK 9 ISRC: TRACK 10 ISRC: TRACK 11 ISRC: TRACK 12 ISRC: Last CD Session LSN: failed audio status: no status volume level port 0: 216 (0..255) 84 (0..100) volume level port 1: 216 (0..255) 84 (0..100) volume level port 2: 0 (0..255) 0 (0..100) volume level port 3: 0 (0..255) 0 (0..100) __ CD Analysis Report Audio CD, CDDB disc ID is 9f0c1c0c ++ WARN: command data missing cd-info: Found 0 matches in CDDB CD-TEXT for Disc: PERFORMER: Anomie Belle TITLE: sleeping patterns CD-TEXT for Track 1: PERFORMER: TITLE: down CD-TEXT for Track 2: PERFORMER: TITLE: how can i be sure CD-TEXT for Track 3: PERFORMER: TITLE: american view CD-TEXT for Track 4: PERFORMER: TITLE: john q public CD-TEXT for Track 5: PERFORMER: TITLE: cascade CD-TEXT for Track 6: PERFORMER: TITLE: greenhouse CD-TEXT for Track 7: PERFORMER: TITLE: bedtime stories CD-TEXT for Track 8: PERFORMER: TITLE: before you leave me CD-TEXT for Track 9: PERFORMER: TITLE: february sun CD-TEXT for Track 10: PERFORMER: TITLE: dox amsterdam CD-TEXT for Track 11: PERFORMER: TITLE: amy song CD-TEXT for Track 12: CD-Plus/Extra session #2 starts at track 12, LSN: 232091, ISO 9660 blocks: 232190 ISO 9660: 232190 blocks, label `SLEEPING_PATTERNS_LYRICS' Something strange, sleeve lists 11 tracks. 12 is identified as data. if i try # mplayer -cdrom-device /dev/cd0 cdda://12 MPlayer SVN-r35192-4.6.4 (C) 2000-2012 MPlayer Team Playing cdda://12. Found audio CD with 12 tracks. ...It sits there for a really, really long time, possibly waiting until the end of time (but I bailed). however, when I use cdda2wav to dump all the tracks I get 12 wav files. # mplayer audio_12.wav plays a recording of a telephone operator saying press 9 over and over again like 50 times maybe. which is odd because info claims it's txt (?) and i can't ... Thank you, Waitman Gobble San Jose California ___ 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 Thanks, Tonight I experimented with cdrdao. And now I think I've messed up on the terminology. As I believe I have come to understand, The song titles are from 'CD-TEXT' which are being read and displayed. It wasn't actually a problem. AFAIK
Re: audio CD/CD-TEXT
On Nov 29, 2012 7:08 AM, ill...@gmail.com ill...@gmail.com wrote: On 29 November 2012 01:30, Waitman Gobble gobble...@gmail.com wrote: Hi, A girl sent me her CD and it appears that she created a mixed mode disc with CD-TEXT info of her lyrics. I can't recall playing/noticing such a disc in the past 10 years so I'm at a loss. I can dump the audio tracks (cdda2wav) and/or play the audio disc with mplayer. Anyone with a pointer on how to get at the CD-TEXT info? ie, read the lyrics. THANKS! It's been a decade or more, but I remember that Tori Amos's Raspberry Swirl CD-single had a couple of real-media tracks tacked onto it, which I was able to successfully extract some- how, though I don't recall exactly how at the moment. I also don't have any such disc handy, but does FreeBSD still create the individual nodes for tracks (a la /dev/cd0t1, /cd0t2, . . .)? You may be able to dd(1) the track see if it has anything resembling text in it, or perhaps is mountable as an iso. -- -- ___ 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 Thanks for the reply. it does not appear to create the device nodes for each track, the manual says it does that for atapi devices. I did notice that cdda2wav created a txtinfo file resembling the data track, but it appears to be mostly unintelligible with bits of recognizeable english words mixed in, file cmd says its binary. I suppose I'll need to do some research and experimentation with the cdda2wav program to get at the meats. Waitman Gobble San Jose California ___ 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: just thought of a new gui port!
On Nov 27, 2012 5:20 PM, Robert Bonomi bon...@mail.r-bonomi.com wrote: Date: Tue, 27 Nov 2012 15:10:50 -0800 From: Gary Kline kl...@thought.org Subject: just thought of a new gui port! 2. I live so close to the airport weather station that im sure that would tell me tons more stuff that I could pick up outside the house. Iremember seeing the weather bureau for the entire US. pretty sure there are global sites with similar data. www.wunderground.com has more than you could want to know. Odds are good that somebody near you has a private weather station on line already. If not, lots of info about weather station equipment with computer interface. ___ 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 It looks like Oregon Scientific has some cool weather station models with USB connectivity, might work well with a FreeBSD system... wunderground is definitely a great site however at least in my location the temperature can be off as much as ten degrees, its almost like they are reading from a station on top of the mountain, and I.m in the valley. Its an issue of being on the coast I suppose, for example it could be 80 degrees inland but a ten mile drive and your down to 50 degrees. Waitman Gobble San Jose California ___ 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: just thought of a new gui port!
On Wed, Nov 28, 2012 at 1:01 PM, Robert Bonomi bon...@mail.r-bonomi.com wrote: Date: Wed, 28 Nov 2012 07:26:25 -0800 Subject: Re: just thought of a new gui port! From: Waitman Gobble gobble...@gmail.com On Nov 27, 2012 5:20 PM, Robert Bonomi bon...@mail.r-bonomi.com wrote: Date: Tue, 27 Nov 2012 15:10:50 -0800 From: Gary Kline kl...@thought.org Subject: just thought of a new gui port! 2. I live so close to the airport weather station that im sure that would tell me tons more stuff that I could pick up outside the house. Iremember seeing the weather bureau for the entire US. pretty sure there are global sites with similar data. www.wunderground.com has more than you could want to know. Odds are good that somebody near you has a private weather station on line already. If not, lots of info about weather station equipment with computer interface. wunderground is definitely a great site however at least in my location the temperature can be off as much as ten degrees, its almost like they are reading from a station on top of the mountain, and I.m in the valley. Its an issue of being on the coast I suppose, for example it could be 80 degrees inland but a ten mile drive and your down to 50 degrees. You mean none of the *19* wunderground stations listed as being in San Jose proper, or the =40+= in the metro area, are 'accurate' for your location? http://www.wunderground.com/cgi-bin/findweather/hdfForecast?query=San+Jose+California#stations Hi, It may be better lately, last time I checked was a couple of years ago! http://www.wunderground.com/cgi-bin/findweather/hdfForecast?query=los+altos+hills Station #1 on the map comes up as being on the other side of the 280, and it looks like it's up on top of the mountain. I don't remember station 3 or 4 being there a few years ago, maybe it was. Right now I'm approximately in the center of 1,2,3,4. At the moment there's about a 5 to 6 degrees difference between 3 and 1. It wasn't a scientific comparison :-), i remember looking at the weather on the site one day and noticed the temp was about 10 degrees different at that moment :) Waitman ___ 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
audio CD/CD-TEXT
Hi, A girl sent me her CD and it appears that she created a mixed mode disc with CD-TEXT info of her lyrics. I can't recall playing/noticing such a disc in the past 10 years so I'm at a loss. I can dump the audio tracks (cdda2wav) and/or play the audio disc with mplayer. Anyone with a pointer on how to get at the CD-TEXT info? ie, read the lyrics. THANKS! # cd-info /dev/cd0 cd-info version 0.83 amd64-portbld-freebsd9.0 CD location : /dev/cd0 CD driver name: FreeBSD access mode: CAM Vendor : hp Model : CDDVDW SN-208BB Revision: HH01 Hardware : CD-ROM or DVD __ Disc mode is listed as: CD-ROM Mixed CD-ROM Track List (1 - 12) #: MSF LSNType Green? Copy? Channels Premphasis? 1: 00:02:00 00 audio false no2no 2: 03:51:30 017205 audio false no2no 3: 08:25:73 037798 audio false no2no 4: 13:10:19 059119 audio false no2no 5: 17:19:00 05 audio false no2no 6: 22:24:01 100651 audio false no2no 7: 27:24:54 123204 audio false no2no 8: 32:41:17 146942 audio false no2no 9: 37:41:26 169451 audio false no2no 10: 40:48:05 183455 audio false no2no 11: 44:18:38 199238 audio false no2no 12: 51:36:41 232091 data false no 170: 51:42:43 232543 leadout (521 MB raw, 518 MB formatted) Media Catalog Number (MCN): 0 TRACK 1 ISRC: TRACK 2 ISRC: TRACK 3 ISRC: TRACK 4 ISRC: TRACK 5 ISRC: TRACK 6 ISRC: TRACK 7 ISRC: TRACK 8 ISRC: TRACK 9 ISRC: TRACK 10 ISRC: TRACK 11 ISRC: TRACK 12 ISRC: Last CD Session LSN: failed audio status: no status volume level port 0: 216 (0..255) 84 (0..100) volume level port 1: 216 (0..255) 84 (0..100) volume level port 2: 0 (0..255) 0 (0..100) volume level port 3: 0 (0..255) 0 (0..100) __ CD Analysis Report Audio CD, CDDB disc ID is 9f0c1c0c ++ WARN: command data missing cd-info: Found 0 matches in CDDB CD-TEXT for Disc: PERFORMER: Anomie Belle TITLE: sleeping patterns CD-TEXT for Track 1: PERFORMER: TITLE: down CD-TEXT for Track 2: PERFORMER: TITLE: how can i be sure CD-TEXT for Track 3: PERFORMER: TITLE: american view CD-TEXT for Track 4: PERFORMER: TITLE: john q public CD-TEXT for Track 5: PERFORMER: TITLE: cascade CD-TEXT for Track 6: PERFORMER: TITLE: greenhouse CD-TEXT for Track 7: PERFORMER: TITLE: bedtime stories CD-TEXT for Track 8: PERFORMER: TITLE: before you leave me CD-TEXT for Track 9: PERFORMER: TITLE: february sun CD-TEXT for Track 10: PERFORMER: TITLE: dox amsterdam CD-TEXT for Track 11: PERFORMER: TITLE: amy song CD-TEXT for Track 12: CD-Plus/Extra session #2 starts at track 12, LSN: 232091, ISO 9660 blocks: 232190 ISO 9660: 232190 blocks, label `SLEEPING_PATTERNS_LYRICS' Something strange, sleeve lists 11 tracks. 12 is identified as data. if i try # mplayer -cdrom-device /dev/cd0 cdda://12 MPlayer SVN-r35192-4.6.4 (C) 2000-2012 MPlayer Team Playing cdda://12. Found audio CD with 12 tracks. ...It sits there for a really, really long time, possibly waiting until the end of time (but I bailed). however, when I use cdda2wav to dump all the tracks I get 12 wav files. # mplayer audio_12.wav plays a recording of a telephone operator saying press 9 over and over again like 50 times maybe. which is odd because info claims it's txt (?) and i can't ... Thank you, Waitman Gobble San Jose California ___ 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: Hardware recommendations, not enterprise budget.
On Oct 29, 2012 10:57 PM, Joshua Isom jri...@gmail.com wrote: Soon I'll be purchasing a wireless N card for my current FreeBSD system since I'm not yet ready to add ethernet to my house. What would be the current recommendations for using wireless N on FreeBSD? My router is a Linksys E2000, which supports 2.4GHz and 5GHz but not concurrently. Supporting 5GHz is a strong preference but I doubt I'll have much luck getting everything else to work at 5GHz. I'm also thinking of an HTPC. For low power and mostly silent hardware, what's the best? ___ 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 Hi Joshua, From my experience an Atheros or Ralink chipset is generally going to be the best way to go. Not sure about your system, or what type of device you are considering, but if its going to be a USB dongle id go with Ralink chipset device. Waitman Gobble San Jose California ___ 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: New User to FreeBSD
On Sun, Oct 7, 2012 at 12:17 AM, alwin doss alwindos...@gmail.com wrote: Hi, Let me be honest at the outset, I have never used an operating system other than linux with enthusiasm. But something about Linux always troubled me It's licensing, such complex family of distributions which are so different from each other. Which is when I came across FreeBSD. I fell in love with it, but yes I have never used it yet, I have tried many times to install it, but the installation process is really hard, I must say. I really want to install it on my laptop and all my systems. Added to the above interests of mine, I am a C++ and java developer. I want to use this talent that God's has blessed me with in this community. I want to begin with FreeBSD's very own GUI. Not depending on anyone (Gnome, KDE or) I want it to be soo good that a commoner shoule be able to work with it with ease and feel safe and secure. So if someone could guide me about how to get started with contributing to FreeBSD it would be great. Please do reach out to me for more details if you need that is!!! Send me links that will get me started with FreeBSD I am all excited for this new journey to begin. -- Alwin Doss God's Beloved ___ 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 Take a look at PC-BSD http://www.pcbsd.org/ Waitman Gobble San Jose California USA ___ 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: wifi drivers support for n standard
On Sat, Sep 22, 2012 at 4:13 PM, Fbsd8 fb...@a1poweruser.com wrote: I have 3 usb wifi sticks. One supports b/g standard only and it configures with no problems. The other 2 support the n standard for faster connection speed between the usb stick and the network AP. These 2 usb wifi sticks do not configure no mater what I do. Thinking the Freebsd wifi drivers have not been updated for n standard yet. My Cisco Linksys AE2500 USB wifi stick does not work with the bwi driver. Has any body gotten this device to work? __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org Hi, According to this page: http://wikidevi.com/wiki/Linksys_AE2500 the AE2500, which was first released about one year ago, uses the BCM4323 chipset. I do not see support for this chipset listed in http://svnweb.freebsd.org/base/release/8.3.0/sys/dev/bwn/ or http://svnweb.freebsd.org/base/release/8.3.0/sys/dev/usb/wlan/ If you want a USB dongle that works with FreeBSD I recommend finding one with an RALINK chipset, these seem to be well supported (however I have not tried it with version 8). AFAIK 'wireless n' is not supported w/ the RALINK driver (usb is rum driver at http://svnweb.freebsd.org/base/release/8.3.0/sys/dev/usb/wlan/if_rum.c?revision=234063view=markup). Older D-Link dongles use RALINK chipsets, but it seems that newer ones use the BC chipsets and are not supported. You should be able to chose from a selection of RALINK based devices on ebay for around $10 US. If you want to connect to 'wireless n' I recommend finding a device with an Atheros chipset (however I do not believe there is presently a driver for Atheros based USB dongles, there is one in the OpenBSD source which could be ported.) One thing to note, you may need to run FreeBSD 9 or 10.0-CURRENT to use the newer Atheros drivers. Waitman Gobble San Jose California USA ___ 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: cksum entire dir??
On Thu, Sep 13, 2012 at 8:35 PM, kpn...@pobox.com wrote: On Thu, Sep 13, 2012 at 03:18:43PM -0400, Karl Vogel wrote: Here's a simple, system-independent way to find duplicate files. All you need is something to generate a digest you trust (MD5, SHA1, whatever) plus normal Unix stuff: awk, expand, grep, join, sort, and uniq. Generate the signatures: me% cd ~/bin me% find . -type f -print0 | xargs -0 md5 -r | sort /tmp/sig1 me% cat /tmp/sig1 0287839688bd660676582266685b05bd ./mkrcs 0b97494883c76da546e3603d1b65e7b2 ./pwgen ddbed53e795724e4a6683e7b0987284c ./authlog ddbed53e795724e4a6683e7b0987284c ./cmdlog fdff1fd84d47f76dbd4954c607d66714 ./dbrun ff5e24efec5cf1e17cf32c58e9c4b317 ./tr0 Find duplicate signatures: me% awk '{print $1}' /tmp/sig1 | uniq -c | expand | grep -v ^ *1 2 ddbed53e795724e4a6683e7b0987284c you% awk '{print $1}' /tmp/sig1 | uniq -d But in both your and my code the uniq will frequently fail because the input is not sorted. The uniq command only works when the lines to compare are adjacent. So... you% awk '{print $1}' /tmp/sig1 | sort | uniq -d -- Kevin P. Nealhttp://www.pobox.com/~kpn/ I like being on The Daily Show. - Kermit the Frog, Feb 13 2001 ___ 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 Hi, But what happens when, like in my 'md5 file' tinkering example above, there's one or more identical files along the path which may or may not exist in both hierarchies? For example, the BSD License file. In my previous message I purposely made a 'testdir' and copied a file into that dir... they have the same hash. Anyway I was thinking if I had proceeded with the tinker example, using sys/tree.h and creating an associative array and using the relative path and filename, along with the md5 hash, as the key. So the keys would be like [8d3986a5e8747ae89b3c5f82f22bc402 ./find.c] [8d3986a5e8747ae89b3c5f82f22bc402 ./testdir/find.c] then you'd have path A and path B to compare, which i think basically add 1 for A and 2 for B, so you'd know a 1 would be in A only, or 2 would be in B only, and 3 would be in both A and B. [e406e4422cf29f3b42484596524b71c1 ./find] = 1 //A only [e3ea95347aa5efd7030103536c23a8d3 ./find.1.gz] = 3 //OK [4b1fd4eb69577f53bd97d8cd2159c8eb ./md5find] = 3 //OK [03d161fcb84fb38aad6ccd8ce0cafeaf ./testdir] = 2 //B only But again I have to say that mtree already does this very well... Here's an example of mtree for Gary to compare two paths, hopefully helpful. set up two things to compare, A and B # mkdir A B # touch A/1 A/2 A/3 A/4 # find A A A/1 A/2 A/3 A/4 # rsync -av A B sending incremental file list A/ A/1 A/2 A/3 A/4 sent 236 bytes received 92 bytes 656.00 bytes/sec total size is 0 speedup is 0.00 # find B B B/A B/A/1 B/A/2 B/A/3 B/A/4 compare with mtree # mtree -K sha256digest,uname,gname -c -p A | mtree -p B/A {no output = OK they match, default: only report situations} now mess up B # rm B/A/3 # touch B/A/2 # touch B/A/extrabonusfile compare again # mtree -K sha256digest,uname,gname -c -p A | mtree -p B/A . changed modification time expected Thu Sep 13 22:33:02 2012 found Thu Sep 13 22:43:46 2012 2 changed modification time expected Thu Sep 13 22:33:02 2012 found Thu Sep 13 22:38:01 2012 extrabonusfile extra ./3 missing Waitman Gobble San Jose California ___ 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: cksum entire dir??
On Sep 11, 2012 10:10 PM, Gary Kline kl...@thought.org wrote: On Tue, Sep 11, 2012 at 09:18:13PM -0400, kpn...@pobox.com wrote: On Tue, Sep 11, 2012 at 05:24:08PM -0700, Gary Kline wrote: On Wed, Sep 12, 2012 at 01:14:43AM +0200, Polytropon wrote: But I also tried cksum directly with a directory like % cksum directory and could obtain a checksum - so it _seems_ to work. After alteration of one file within the hierarchy a different result was printed. I think I tried something like your second example last night. I think I did % cksum foodir/* and had to compare each file from another file I was copying from. it was tiresome to check each of dozens of files tho. I was here at desk for something obscene -- over 12 hrs. getting my new [slightly used:)] computer back to normal. if there isn't anything that can compare entire dirs, it looks like it's time to hack a small program. tx, polyt. Unix was originally created to do text manipulation. No need for a new program when you can do it from the command line. cd dir1 ; cksum * | sort /tmp/dir1-cksum cd dir2 ; cksum * | sort /tmp/dir2-cksum diff /tmp/dir?-cksum Don't forget to remove temporary files when you are done. Other useful commands: cut paste You can use awk to pull out and rearrange columns: cksum * | awk '{ print $3, $1, $2; }' | sort This gives you a little easier diff in case you do have changes. Friendly tip: if you did comparisons by hand for 12 hours then you may have missed something. no, it was several other tasks that I had t o do very carefully by hand. I was going to write an awk script. I figured there were others ways. my desktop is a flavor of linux that i don't know. it seems to be lacking in many common unix binaries; md5 is one that I spent an hour checking. zero. your first way works very well and will serve. many thanks. now I can listen to: /Lectures on the Critique of Pure Reason which is now safely in my home directory in several mp3 files. It's a real shame Unix doesn't have a really good tool for comparing two directory trees. You can use 'diff -r' (even on binaries), but that fails if you have devices, named pipes, or named sockets in the filesystem. And diff or cksum don't tell you if symlinks are different. Plus you may care about file ownership, and that's where the stat command comes in handy. right. these are things you only discover the hard way. Not that I'm volunteering, mind you. I ended up instead writing a Python script to do copies of filesystems off of old machines I'm putting to pasture. It's amazing how badly old versions of dump and tar behave. REmember CP/M and MP/M? I started out with a dual 8085/80888 box with MP/Mand wrote notes and letters that were stored on 8 twin floppies. circa mid-1980's I transferred a boatload of floppies onto my 386 with SVR2 with uucp and others C programs on the 8088 box. it took forever and things keep faulting, but I got it done. eventually. oh yeah, I remember the Kaypro «portable» which was as big as a sampsonite, and despite being built like a tank probably couldn't handle a wrangling by a gorilla. Waitman Gobble San Jose California -- Kevin P. Nealhttp://www.pobox.com/~kpn/ I like being on The Daily Show. - Kermit the Frog, Feb 13 2001 ___ 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: cksum entire dir??
On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline kl...@thought.org wrote: On Wed, Sep 12, 2012 at 07:31:45AM +0100, Matthew Seaman wrote: On 12/09/2012 00:14, Polytropon wrote: % cksum directory and could obtain a checksum - so it _seems_ to work. After alteration of one file within the hierarchy a different result was printed. That will give you a checksum on the directory inode -- file names and associated metadata only, not file content. In theory you could edit a file without modifying any of the timestamps, and that wouldn't result in any change to the directory checksum. Also, modifying things a few layers down the filesystem hierarchy won't have any effect either. Generally I find the best test for differences between old and new copies of a filesystem is 'rsync -avx -n ...' Also, sum and cksum have way too small a key size for this to be reliable, since you can't tell a true result from a hash collision. Use md5 or sha1 or sha256 for best results. So this sha256 is *real*?? I have no md5 on my fedora that is on my desktop and m having trouble getting used to. but the gentleman who recommened cpio was right on the money. are you sure it's not 'md5sum' ? ... that seems to be on all my GNU/Linux machines. Waitman Gobble San Jose California USA note that I am loathe to spam this list with the following mail from my files in sept, 1988, but here it is. if I had only gr -r -w cpio around in all my directories, I would have found this, sent to one Dirm Myers across the pond :: === From kline Sat Sep 5 11:52:20 1998 Subject: lost mail file... To: di...@buster.dhis.eu.org (Dirk Myers) Date: Sat, 5 Sep 1998 11:52:20 -0700 (PDT) Organization: thought.org: public access uNix in service... X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 2283 Status: RO Yesterday morning I began composing the next two Q's and A's in my mailer. Last night in the wee hours there was a power glitch and I lost the mail. Enclosed is the first//next Q/A. I'll send along another one or two later today. One that I was playing around with *failed* and I'm trying to figure out why. - How can I uise my FBSD floppy drive to copy files to it (in this case, at work), and retrieve the files on my FBSD systtem at home. So far I've only seen examples that used floppies with a filesystem on them. Is there a simplr, more direct way? You can treat the 'raw' floppy device as if it is a tape drive, and use typically UNIX tape tools to read/write, such as tar and cpio. For instance, to copy the current directory onto a floppy to take home at night: (put the floppy in the drive, and cd to the directory where the files are; then ) % tar -cvf /dev/rfd0 . To read it when you get home: (put the floppy in the drive at home; and extract the tarball wherever you want the files) % tar -xvf /dev/rfd0 The flags -c and -x indicate create and extract mode, the ``v'' specifies verbose mode, and the ``f'' tells tar that the following argument is the file or device that tar acts upon. Here, it is the floppy devide. With cpio: (chdir to the directory where the files are) % ls | cpio -oc /dev/rfd0 To read a cpio archive from a tape drive: % cpio -icd /dev/rfd0 The flags -i and -o indicate copy-in or extract mode and copy-out or create archive mode. The ``c'' tells cpio to use the old, portablr ASCII archive format. And the ``d'' flag tells cpio to create directories where necessary. Do a % man cpio for much greater detail on this utility. - There are another one or two of the simpler Q/A's and one or two more involved. Then, for this month only, I want to write a paragraph or two about who I am and where I'm coming from. Since you are sharing the by-line you might want to consider this too. gary PS: Next month we get a break!! -- Gary D. Kline kl...@tao.thought.org Public service uNix as you can see, this dealt with my olden tape drive. a 250meg QIC drive, I think.but this was about the earliest reference I could find re my use of cpio. there are others in my journal dir that reference my running out of hard drive and using cpio rather that a straight cp -rp. [this was back when a 130meg drive was Huge and made me feel rick.] Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ___ freebsd-questions@freebsd.org
Re: cksum entire dir??
On Wed, Sep 12, 2012 at 2:47 PM, Gary Kline kl...@thought.org wrote: On Wed, Sep 12, 2012 at 10:55:57AM -0700, Waitman Gobble wrote: On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline kl...@thought.org wrote: On Wed, Sep 12, 2012 at 07:31:45AM +0100, Matthew Seaman wrote: On 12/09/2012 00:14, Polytropon wrote: % cksum directory and could obtain a checksum - so it _seems_ to work. After alteration of one file within the hierarchy a different result was printed. That will give you a checksum on the directory inode -- file names and associated metadata only, not file content. In theory you could edit a file without modifying any of the timestamps, and that wouldn't result in any change to the directory checksum. Also, modifying things a few layers down the filesystem hierarchy won't have any effect either. Generally I find the best test for differences between old and new copies of a filesystem is 'rsync -avx -n ...' Also, sum and cksum have way too small a key size for this to be reliable, since you can't tell a true result from a hash collision. Use md5 or sha1 or sha256 for best results. So this sha256 is *real*?? I have no md5 on my fedora that is on my desktop and m having trouble getting used to. but the gentleman who recommened cpio was right on the money. are you sure it's not 'md5sum' ? ... that seems to be on all my GNU/Linux machines. Waitman Gobble San Jose California USA yup, you be right. altho we have no md5 [[does FBSD?]], fedora does have md5sum. makes me wonder why this flavor didnt do at least a symlink. oh well. thankee much. [[ axeing to save BW ]] Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ___ 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 cat /usr/src/sbin/md5 /* * Derived from: * * MDDRIVER.C - test driver for MD2, MD4 and MD5 */ /* * Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All * rights reserved. * * RSA Data Security, Inc. makes no representations concerning either * the merchantability of this software or the suitability of this * software for any particular purpose. It is provided as is * without express or implied warranty of any kind. * * These notices must be retained in any copies of any part of this * documentation and/or software. */ on my fedora machine, md5sum is from GNU coreutils (on FreeBSD this is in ports/sysutils/coreutils) FreeBSD $ md5 messages MD5 (messages) = cfbeddecf1a699471c8135a331aac589 Fedora # md5sum messages ece159dd0b47c7a7592ceb036745a474 messages if you gotta have md5.c, could probably pull the src and build on fedora or maybe something like http://www.efgh.com/software/md5.htm Waitman Gobble San Jose California ___ 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: cksum entire dir??
On Wed, Sep 12, 2012 at 3:22 PM, Gary Kline kl...@thought.org wrote: On Wed, Sep 12, 2012 at 02:31:16PM -0400, Mike Jeays wrote: On Wed, 12 Sep 2012 10:55:57 -0700 Waitman Gobble gobble...@gmail.com wrote: On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline kl...@thought.org wrote: [[ ...]] My Linux system has both md5sum and md5deep. They give the same result, except that md5sum quotes the file name in the current directory, and md5deep gives the fully-qualified name. I have been using md5deep - I didn't know md5sum existed. I did a yum install md5* and got deep! :_) t.y ___ 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 also maybe??? of interest.. it's pretty quick easy to hack the 'find' function in /usr/src/usr.bin/find/ with md5 capability.. not sure if it's helpful.. copy /usr/src/usr.bin/find/ somewhere, then edit function.c, #include md5.h int f_print(PLAN *plan __unused, FTSENT *entry) { char * md5sum[32]; (void)printf(%s ,MD5File(entry-fts_accpath,md5sum)); (void)puts(entry-fts_path); return 1; } and edit Makefile (change exec name, PROG= md5find LDADD+= -lmd then make.. run it: ./md5find . 224df9d178aa35cb532664ea37875791 . bfe464b3ac942e85d8b818a9441e2286 ./find.o 0fc28847bb344166ff0f7f4c12d6e4ed ./Makefile beb4c49ba914f62da0b57b16778c1772 ./extern.h 8895f62adaa15b194dec6f15e4c5956b ./find.1 8d3986a5e8747ae89b3c5f82f22bc402 ./find.c 99fade54bb9baf0d3b4d8822d53800b3 ./find.h 23f43527a2bdc3abf1e8eaa1aca68f26 ./function.c 1d25eb09d42261b28cc783a6b48e39ac ./getdate.y fce6f5ec314eaea09170b79a0711d07e ./ls.c 75d64926376a5440b7e23b295417a6cc ./main.c 2599f1f22d557b076ff1cde9b17cff55 ./misc.c 2c4e3bb00a37b839d9ac0dc0e12a88bc ./operator.c 3157efe1ed3821e96fec71f1ca4b2306 ./option.c 7ea8adb4cb549b118b903238f43afd37 ./function.o 12f6a75a82f817e1306c323fdddbff59 ./ls.o e97d015d2e5fbeb3fdff4fa22b76f0e2 ./main.o 2a5100f2c5ed4c9408ab51d6e2a848cc ./misc.o 6360e963e0f285fe3dc170309a2ae219 ./operator.o 68c47f622cb1d4d8f58ff7b2ef2c8312 ./option.o 47a8978565c6cb8b0280c231679847ba ./getdate.c 7eb3a4e4984e4696347501eeba2e0566 ./getdate.o e406e4422cf29f3b42484596524b71c1 ./find e3ea95347aa5efd7030103536c23a8d3 ./find.1.gz 4b1fd4eb69577f53bd97d8cd2159c8eb ./md5find 03d161fcb84fb38aad6ccd8ce0cafeaf ./testdir 8d3986a5e8747ae89b3c5f82f22bc402 ./testdir/find.c etc Waitman Gobble San Jose California ___ 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: cksum entire dir??
On Wed, Sep 12, 2012 at 5:32 PM, Gary Kline kl...@thought.org wrote: On Wed, Sep 12, 2012 at 03:58:00PM -0700, Waitman Gobble wrote: On Wed, Sep 12, 2012 at 3:22 PM, Gary Kline kl...@thought.org wrote: On Wed, Sep 12, 2012 at 02:31:16PM -0400, Mike Jeays wrote: On Wed, 12 Sep 2012 10:55:57 -0700 Waitman Gobble gobble...@gmail.com wrote: On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline kl...@thought.org wrote: [[ ...]] My Linux system has both md5sum and md5deep. They give the same result, except that md5sum quotes the file name in the current directory, and md5deep gives the fully-qualified name. I have been using md5deep - I didn't know md5sum existed. I did a yum install md5* and got deep! :_) t.y ___ 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 also maybe??? of interest.. it's pretty quick easy to hack the 'find' function in /usr/src/usr.bin/find/ with md5 capability.. not sure if it's helpful.. copy /usr/src/usr.bin/find/ somewhere, then edit function.c, #include md5.h int f_print(PLAN *plan __unused, FTSENT *entry) { char * md5sum[32]; (void)printf(%s ,MD5File(entry-fts_accpath,md5sum)); (void)puts(entry-fts_path); return 1; } and edit Makefile (change exec name, PROG= md5find LDADD+= -lmd then make.. run it: ./md5find . 224df9d178aa35cb532664ea37875791 . bfe464b3ac942e85d8b818a9441e2286 ./find.o 0fc28847bb344166ff0f7f4c12d6e4ed ./Makefile beb4c49ba914f62da0b57b16778c1772 ./extern.h 8895f62adaa15b194dec6f15e4c5956b ./find.1 8d3986a5e8747ae89b3c5f82f22bc402 ./find.c 99fade54bb9baf0d3b4d8822d53800b3 ./find.h 23f43527a2bdc3abf1e8eaa1aca68f26 ./function.c 1d25eb09d42261b28cc783a6b48e39ac ./getdate.y fce6f5ec314eaea09170b79a0711d07e ./ls.c 75d64926376a5440b7e23b295417a6cc ./main.c 2599f1f22d557b076ff1cde9b17cff55 ./misc.c 2c4e3bb00a37b839d9ac0dc0e12a88bc ./operator.c 3157efe1ed3821e96fec71f1ca4b2306 ./option.c 7ea8adb4cb549b118b903238f43afd37 ./function.o 12f6a75a82f817e1306c323fdddbff59 ./ls.o e97d015d2e5fbeb3fdff4fa22b76f0e2 ./main.o 2a5100f2c5ed4c9408ab51d6e2a848cc ./misc.o 6360e963e0f285fe3dc170309a2ae219 ./operator.o 68c47f622cb1d4d8f58ff7b2ef2c8312 ./option.o 47a8978565c6cb8b0280c231679847ba ./getdate.c 7eb3a4e4984e4696347501eeba2e0566 ./getdate.o e406e4422cf29f3b42484596524b71c1 ./find e3ea95347aa5efd7030103536c23a8d3 ./find.1.gz 4b1fd4eb69577f53bd97d8cd2159c8eb ./md5find 03d161fcb84fb38aad6ccd8ce0cafeaf ./testdir 8d3986a5e8747ae89b3c5f82f22bc402 ./testdir/find.c etc Waitman Gobble San Jose California ___ 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 o where, Sir, is the header?! which header? this example I just copied /usr/src/usr.bin/find/ (entire directory contents) to my home directory then added. #include md5.h to the top of function.c (with the other includes, order /may/ matter.. i did after the sys/ includes but before the others) md5.h is in /usr/include, it's basically a wrapper around /usr/include/sys/md5.h then changed the function int f_print, added two lines char * md5sum[32]; (void)printf(%s ,MD5File(entry-fts_accpath,md5sum)); then changed the two lines in Makefile, PROGNAME so i don't end up with 'find' executable and the other is -lmd so i get the library with md5 routines. I think maybe I wasn't clear that i was editing function.c, and that there is more to function.c than my example code. I can put the source on git if you want, but it's pretty basic. Also i'd have to research the second parameter in MD5File function, i don't actually think that's what i thought it was. it is returning the correct hash, and printing it out, as returned from the function. Waitman Gobble San Jose California ___ 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: cksum entire dir??
On Wed, Sep 12, 2012 at 8:08 PM, Gary Kline kl...@thought.org wrote: On Wed, Sep 12, 2012 at 05:42:43PM -0700, Waitman Gobble wrote: On Wed, Sep 12, 2012 at 5:32 PM, Gary Kline kl...@thought.org wrote: On Wed, Sep 12, 2012 at 03:58:00PM -0700, Waitman Gobble wrote: On Wed, Sep 12, 2012 at 3:22 PM, Gary Kline kl...@thought.org wrote: On Wed, Sep 12, 2012 at 02:31:16PM -0400, Mike Jeays wrote: On Wed, 12 Sep 2012 10:55:57 -0700 Waitman Gobble gobble...@gmail.com wrote: On Wed, Sep 12, 2012 at 10:46 AM, Gary Kline kl...@thought.org wrote: [[ ...]] My Linux system has both md5sum and md5deep. They give the same result, except that md5sum quotes the file name in the current directory, and md5deep gives the fully-qualified name. I have been using md5deep - I didn't know md5sum existed. I did a yum install md5* and got deep! :_) t.y ___ 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 also maybe??? of interest.. it's pretty quick easy to hack the 'find' function in /usr/src/usr.bin/find/ with md5 capability.. not sure if it's helpful.. copy /usr/src/usr.bin/find/ somewhere, then edit function.c, #include md5.h int f_print(PLAN *plan __unused, FTSENT *entry) { char * md5sum[32]; (void)printf(%s ,MD5File(entry-fts_accpath,md5sum)); (void)puts(entry-fts_path); return 1; } and edit Makefile (change exec name, PROG= md5find LDADD+= -lmd then make.. run it: ./md5find . 224df9d178aa35cb532664ea37875791 . bfe464b3ac942e85d8b818a9441e2286 ./find.o 0fc28847bb344166ff0f7f4c12d6e4ed ./Makefile beb4c49ba914f62da0b57b16778c1772 ./extern.h 8895f62adaa15b194dec6f15e4c5956b ./find.1 8d3986a5e8747ae89b3c5f82f22bc402 ./find.c 99fade54bb9baf0d3b4d8822d53800b3 ./find.h 23f43527a2bdc3abf1e8eaa1aca68f26 ./function.c 1d25eb09d42261b28cc783a6b48e39ac ./getdate.y fce6f5ec314eaea09170b79a0711d07e ./ls.c 75d64926376a5440b7e23b295417a6cc ./main.c 2599f1f22d557b076ff1cde9b17cff55 ./misc.c 2c4e3bb00a37b839d9ac0dc0e12a88bc ./operator.c 3157efe1ed3821e96fec71f1ca4b2306 ./option.c 7ea8adb4cb549b118b903238f43afd37 ./function.o 12f6a75a82f817e1306c323fdddbff59 ./ls.o e97d015d2e5fbeb3fdff4fa22b76f0e2 ./main.o 2a5100f2c5ed4c9408ab51d6e2a848cc ./misc.o 6360e963e0f285fe3dc170309a2ae219 ./operator.o 68c47f622cb1d4d8f58ff7b2ef2c8312 ./option.o 47a8978565c6cb8b0280c231679847ba ./getdate.c 7eb3a4e4984e4696347501eeba2e0566 ./getdate.o e406e4422cf29f3b42484596524b71c1 ./find e3ea95347aa5efd7030103536c23a8d3 ./find.1.gz 4b1fd4eb69577f53bd97d8cd2159c8eb ./md5find 03d161fcb84fb38aad6ccd8ce0cafeaf ./testdir 8d3986a5e8747ae89b3c5f82f22bc402 ./testdir/find.c etc Waitman Gobble San Jose California ___ 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 o where, Sir, is the header?! which header? this example I just copied /usr/src/usr.bin/find/ (entire directory contents) to my home directory then added. #include md5.h to the top of function.c (with the other includes, order /may/ matter.. i did after the sys/ includes but before the others) md5.h is in /usr/include, it's basically a wrapper around /usr/include/sys/md5.h sounds reasonable. if you have this compiler on fedsora, I'd like to see it for myself. I think I have gcc* installed. so, whenever you have time... . I'm not sure it's a good use of time (?) considering, as someone mentioned previously, mtree is already working. In the case of doing the find/md5 tinkering project on Fedora or other GNU/Linux distributions, it would likely IMHO be best to use non-BSD, ie Liinux 'find' and 'md5' sources. I do think mtree (already mentioned) is the best way to go You dump the checksum, etc into a file and use the file to verify the other path. example: $ mtree -K sha256digest,uname,gname -c -p . structure.mtree $ cat structure.mtree # user: waitman # machine: hunny.waitman.net # tree: /usr/home/waitman/find/find # date: Wed Sep 12 22:44:38
Re: ports
On Sat, Sep 8, 2012 at 12:00 PM, Polytropon free...@edvax.de wrote: On Sat, 8 Sep 2012 19:08:25 +0400, иван кузнецов wrote: i was download 135g distfiles from russian mirror on usb hdd, and i have no room on laptop for this files.how to setup apps from it,how to build pbi files? i was read some articles but i cant. I assume it's better to ask PBI-related questions in PC-BSD's web forum as those are not exactly native FreeBSD things. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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 I'm not sure how building PBI files is going to help with your 135G of files from Russia that won't seem to fit on your drive, however there is some pbi software in ports for you to check out.. ports-mgmt/pbi-manager sysutils/pbimaker x11-fm/pbi-thumbnailer sysutils/easypbi I've experimented a bit with the software on FreeBSD 10.0-CURRENT and PC-BSD 9 machine - but I'm not an authority on the subject ;-) ... pbi could prove to be a good way to test out stuff that needs newer glib, gtk, etc, to avoid royally dorking up your system, like for example GIMP development sources from cvs, as an alternative to building in a jail and running the display through an X 'remote' connection. Here's a wiki page i found to be a good reference. http://wiki.pcbsd.org/index.php/PBI_Module_Builder_Guide Waitman Gobble San Jose California ___ 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: ports
On Sat, Sep 8, 2012 at 8:28 PM, Виталий Туровец core...@corebug.net wrote: 2012/9/9 Waitman Gobble gobble...@gmail.com: On Sat, Sep 8, 2012 at 12:00 PM, Polytropon free...@edvax.de wrote: On Sat, 8 Sep 2012 19:08:25 +0400, иван кузнецов wrote: i was download 135g distfiles from russian mirror on usb hdd, and i have no room on laptop for this files.how to setup apps from it,how to build pbi files? i was read some articles but i cant. I assume it's better to ask PBI-related questions in PC-BSD's web forum as those are not exactly native FreeBSD things. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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 I'm not sure how building PBI files is going to help with your 135G of files from Russia that won't seem to fit on your drive, however there is some pbi software in ports for you to check out.. ports-mgmt/pbi-manager sysutils/pbimaker x11-fm/pbi-thumbnailer sysutils/easypbi I've experimented a bit with the software on FreeBSD 10.0-CURRENT and PC-BSD 9 machine - but I'm not an authority on the subject ;-) ... pbi could prove to be a good way to test out stuff that needs newer glib, gtk, etc, to avoid royally dorking up your system, like for example GIMP development sources from cvs, as an alternative to building in a jail and running the display through an X 'remote' connection. Here's a wiki page i found to be a good reference. http://wiki.pcbsd.org/index.php/PBI_Module_Builder_Guide Waitman Gobble San Jose California ___ 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 Sorry for offtopic, but for Ivan to know three things: 1) building software (and/or packaging it using PBI/tbz) is WAY more complicated then just downloading distfiles from some mirror. 2) PC-BSD is BASED on but not EQUAL to FreeBSD and has it's own mailing lists which can easily be found here - http://lists.pcbsd.org/mailman/listinfo . Please do not think i'm trying to be rude or get rid of new member, but sometimes one needs to know the better way to find necessary information. 3) PC-BSD is based on FreeBSD since this deep knowledge of it basically (i suppose) should begin with FreeBSD's Handbook which carefully explains what ports are and how to use them. This page is a good start (it's in Russian ;) ) -http://www.freebsd.org/doc/ru_RU.KOI8-R/books/handbook/ . Ports specific information can be easily found here - http://www.freebsd.org/doc/ru_RU.KOI8-R/books/handbook/ports.html Cheers! -- ~~~ WBR, Vitaliy Turovets Systems Administrator Corebug.Net +38(093)265-70-55 VITU-RIPE X-NCC-RegID: ua.tv I have installed PC-BSD on a netbook. I have not played around on it a whole bunch, so I'm definitely not an expert. They really did a good job with it, PC-BSD has a more compelling visual experience. For a novice computer user it's a great way to have the experience of true Unix without ending up resorting to angry language on the mailing lists. For more experienced users it seems like it would be a robust platform for such as scientific research, medical systems developers, manufacturing control, process coordination and shop floor machine operation. On my Eee Pc Netbook I had some difficulty with the X configuration tool, which must be run in order to launch the desktop. I chose to install the Xfce desktop suite of the several choices available in the selection. The prompt display was pristine, yet the X test suffered some malfunction no matter which setting I tried. When I was able to launch the desktop, the display was off kilter and extremely difficult to navigate. This obstacle was overcome by manually updating the X configuration file. There are numerous resources available online for troubleshooting these kinds of problems. The system seems to be solid, so I'd be surprised if it offers the thrill of compiling your own operating system. But there are compiling tools available so one could presumably pull the source and do a build. Building a PBI package does indeed seem to be much more involved than making a package. A package build is straightforward and takes little effort to create a Makefile in the case that your intended software does not happen to already be in the ports collection. Also, the package system offers a way to easily synchronize software updates across many machines. After a package is built and verified on one machine it can be rapidly transferred to machines in a large global cluster. I found the idea intriguing
Re: Firefox install problem
On Sep 4, 2012 7:03 PM, Mario Lobo l...@bsd.com.br wrote: First, thanks for replying ! On Tue, 04 Sep 2012 21:14:06 -0400 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Mario Lobo l...@bsd.com.br writes: env: FBSD 8.3-STABLE AMD64 Firefox 15 port The problem seems to be with the porting itself. The first problem showed up during configure. Libvpx could not be found and configure stops. After examining Config.Log, I found a compiler switch like this: -L/usr/local/lib/nss I made a symlink there to libvpx.so and the port compiled without errors. That's an incredibly ugly solution; I can't disagree with that! but hey, the problem was getting to compile correctly and, in the absence of the right knowledge and the presence of need, that did it. if the vpx port were installed correctly, it would have been detected, so you're probably just hiding a real problem. The problem is libvpx.so is CORRECTLY installed under /usr/local/lib/vpx, together with all the other correctly installed libraries on my system so most certainly there is something uglier than my hack here. Then after issuing a make install, this comes up everytime: [Snip] a ./searchplugins/yahoo.xml a ./dictionaries/en-US.aff a ./dictionaries/en-US.dic a ./defaults/pref a ./defaults/pref/channel-prefs.js a ./chrome/icons a ./chrome/icons/default a ./chrome/icons/default/default16.png a ./chrome/icons/default/default32.png /bin/rm -f /usr/ports/www/firefox/work/fake/lib/pkgconfig cd: can't cd to /usr/ports/www/firefox/work/fake/include *** Error code 2 Stop in /usr/ports/www/firefox. *** Error code 1 Stop in /usr/ports/www/firefox. You've done something really weird (in particular, the work/fake directory would not exist or be referenced in a normal ports installation). Try emptying your /etc/make.conf and starting from scratch. All I've done was csup -L 2 ports-supfile with ports-www in it. Then cd /usr/ports/www/firefox; make with default options. As for my /etc/make.conf CPUTYPE?=nocona OVERRIDE_LINUX_BASE_PORT=f10 OVERRIDE_LINUX_NONBASE_PORTS=f10 WITH_KDE4=yes WITH_CUPS=yes WITH_ICONS=KDE4 WITHOUT_GNOME=yes PYTHON_DEFAULT_VERSION=python2.7 PERL_VERSION=5.10.4 If it is its fault, it will be the first time in around 3,5 years. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE) ___ 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 hi, did you _only_ csup www in ports? ill have to check but im not sure libvpx is in www... im not in a place to check at this exact second but my memory is that is providing webm support so probably in audio or multimedia Waitman Gobble San Jose California ___ 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: Wifi for Lenovo Laptop
On Aug 30, 2012 7:17 AM, Chris devnullacco...@yahoo.se wrote: - Original Message - From: Warren Block wbl...@wonkity.com To: Chris devnullacco...@yahoo.se Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org; Waitman Gobble gobble...@gmail.com Sent: Thursday, August 30, 2012 3:58 PM Subject: Re: Wifi for Lenovo Laptop On Thu, 30 Aug 2012, Chris wrote: Using pciconf as per jb's hint tells me it is a broadcom I have: none3@pci0:3:0:0: class=0x028000 card=0x060814e4 chip=0x472714e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM4313 802.11b/g/n Wireless LAN Controller' class = network As per the release notes for 9.0 (http://www.freebsd.org/releases/9.0R/hardware.html#WLAN), the bwn(4) driver be the one to use. Added the following to my /boot/loader.conf following the instructions in http://www.freebsd.org/doc/en/books/handbook/network-wireless.html and rebooted. if_bwn_load=YES wlan_wep_load=YES wlan_ccmp_load=YES wlan_tkip_load=YES The last three are included in the GENERIC kernel. The bwi and bwn drivers need firmware, which is provided by the net/bwi-firmware-kmod and net/bwn-firmware-kmod ports. So install whichever is appropriate. I think the driver tries to load the right firmware automatically, but haven't tried a Broadcom in a while, and it might still be necessary to load the firmware module in /boot/loader.conf. ___ Hi Warren, thanks. Tried with the firmware as well but no better luck. On closer inspection of the bwn manual, it seems like the 4313 is not on the list of suppored versions. What I did find though was that it is supposedly possible to get working using NDIS (even with amd64) as per this PC-BSD wiki page http://wiki.pcbsd.org/index.php/Wireless_Testing I might try the NDIS, but will first see if I can find a USB card as the 'net seems to be full of talk about instability of the NDIS driver for the 4313. Thanks to everyone for the help! BR, Chris ___ 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 it would be cool if the 4313 worked, i've got a couple of those sitting around here. ill check out that link, thanks. as far as usb goes, I recommend an ralink based device, like older d_link dongles. (i think anything new on the shelf is using atheros, usb support not working afaik) ... all the usb ralink devices I found on ebay work perfectly. (there are even some that have a boosted range of 3km lol) as far as the bios whitelist, I have an hp with that kind of problem. there are several ways around it, but they are all dirty/suspect. luckily I found an ralink that sailed through the detection. you should be able to find out what lenovo sells as replacement parts to get an idea of what they /approve/ Waitman Gobble San Jose California ___ 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: Wifi for Lenovo Laptop
On Aug 29, 2012 8:44 AM, Chris devnullacco...@yahoo.se wrote: Hi, I've tried to search the lists but can't find anything, but please point me to an existing resource if available. I recently got a Lenovo ThinkPad Edge E530 (3259-9VG) laptop and would like to get the Wifi card running (fresh FreeBSD 9.0 install), but I'm failling as it has been at least 5 years since I used with wifi under FreeBSD. The card is not automatically detected (interface not listed in ifconfig) so I'm assuming I have to either load a kernel module or go the NDIS path. It seems like on Windows, the same driver is used for E430, E435, E530 and E535, so in case anyone is using one of these models, please let me know if have things running. So some questions that might point me in the right direction: - How can I find out which type of card this laptop actually has (can I read it out of dmesg, some PCI listing or whatever)? All I can find are product sheets saying that it has 11b/g/n, but doesn't help me to find a driver. I Is there some meta-module that loads all the native wifi drivers that I can use that I can test? - If I need to use NDIS emulation, does anyone think it will work for this model/card? Windows drivers can be found here http://support.lenovo.com/en_US/product-and-parts/default.page). The handbook ( http://www.freebsd.org/doc/en/books/handbook/config-network-setup.html#CONFIG-NETWORK-NDIS) says I need Win XP drivers, is that old text or do I need that? I can't find XP drivers on the lenovo page... - If NDIS should be possible, how do I extract the .sys and .inf file from the exe that I downloaded from the URL above (I don't have any Windows machine right now). TIA, Chris ___ 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 hi, you can usually find replacement wifi cards for your model on ebay, this can give you an idea of the chipset. also, you could always pull off the panel and look at the card. ndis can be tricky because it needs an older 32 bit driver, and you need to run a 32 bit version of FreeBSD. a good solution is to find a ralink or atheros card on ebay and swap it out, usually will cost less than 10 bucks USD. Waitman Gobble San Jose California USA ___ 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: EXIF inspector
Undefined 4 1.00 Exif.Photo.ColorSpaceShort 1 sRGB Exif.Photo.PixelXDimension Long1 4032 Exif.Photo.PixelYDimension Long1 3024 Exif.Photo.InteroperabilityTag Long1 686 Exif.Iop.InteroperabilityIndex Ascii 4 R98 Exif.Iop.InteroperabilityVersion Undefined 4 1.00 Exif.Photo.FileSourceUndefined 1 Digital still camera Exif.Photo.CustomRenderedShort 1 Normal process Exif.Photo.ExposureMode Short 1 Auto Exif.Photo.WhiteBalance Short 1 Manual Exif.Photo.DigitalZoomRatio Rational1 1.0 Exif.Photo.SceneCaptureType Short 1 Standard Exif.Photo.GainControl Short 1 High gain up Exif.Photo.Contrast Short 1 Normal Exif.Photo.SaturationShort 1 High Exif.Photo.Sharpness Short 1 Normal Exif.Image.PrintImageMatchingUndefined 528 (Binary value suppressed) Exif.Thumbnail.Compression Short 1 JPEG (old-style) Exif.Thumbnail.XResolution Rational1 72 Exif.Thumbnail.YResolution Rational1 72 Exif.Thumbnail.ResolutionUnitShort 1 inch Exif.Thumbnail.JPEGInterchangeFormat Long1 13588 Exif.Thumbnail.JPEGInterchangeFormatLength Long1 4387 ___ 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 I've always used /usr/ports/graphics/jhead which has seemed to me to show the most information here is a basic comparison.. but the exiv2 is cool, didn't realize it would work with RAW files.. thanks for that information! Waitman Gobble San Jose California USA # jhead -v IMG_8203.thumb.jpg Exif header 1384 bytes long Exif section in Intel order (dir has 12 entries) ImageDescription = ? Make = Canon? Model = EOS REBEL T2i? Orientation = 8 XResolution = 300/1 YResolution = 300/1 PlanarConfiguration = 1 ResolutionUnit = 2 Software = dcraw v9.12? DateTime = 2012:07:15 14:23:58 Artist = ? ExifOffset = 294 Exif Dir:(dir has 4 entries) ExposureTime = 5065/100 FNumber = 11313708/100 ISOSpeedRatings = 100 FocalLength = 1/100 Jpeg section marker 0xdb size 132 JPEG image is 5184w * 3456h, 3 color components, 8 bits per sample Jpeg section marker 0xc4 size 418 File name: IMG_8203.thumb.jpg File size: 3373614 bytes File date: 2012:07:15 19:07:52 Camera make : Canon Camera model : EOS REBEL T2i Date/Time: 2012:07:15 14:23:58 Resolution : 5184 x 3456 Orientation : rotate 270 Focal length : 100.0mm Exposure time: 0.0051 s (1/197) Aperture : f/11.3 ISO equiv. : 100 # exiv2 -v IMG_8203.thumb.jpg File 1/1: IMG_8203.thumb.jpg File name : IMG_8203.thumb.jpg File size : 3373614 Bytes MIME type : image/jpeg Image size : 5184 x 3456 Camera make : Canon Camera model: EOS REBEL T2i Image timestamp : Image number: Exposure time : 1/197 s Aperture: F11 Exposure bias : Flash : Flash bias : Focal length: 100.0 mm Subject distance: ISO speed : 100 Exposure mode : Metering mode : Macro mode : Image quality : Exif Resolution : White balance : Thumbnail : None Copyright : Exif comment: # exiv2 -v IMG_8203.CR2 File 1/1: IMG_8203.CR2 File name : IMG_8203.CR2 File size : 28932682 Bytes MIME type : image/x-canon-cr2 Image size : 5184 x 3456 Camera make : Canon Camera model: Canon EOS REBEL T2i Image timestamp : 2012:07:15 14:23:58 Image number: Exposure time : 1/200 s Aperture: F11 Exposure bias : 0 EV Flash : Yes, compulsory Flash bias : 0 EV Focal length: 100.0 mm Subject distance: 0 ISO speed : 100 Exposure mode : Manual Metering mode : Multi-segment Macro mode : Off Image quality : RAW Exif Resolution : 5184 x 3456 White balance : Auto Thumbnail : image/jpeg, 16798 Bytes Copyright : Copyright 2011 wait...@waitman.net Exif comment: ___ 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: AAAARRRgghhh-h-h. [[tooo tired]]
On Fri, Aug 24, 2012 at 5:52 PM, Gary Kline kl...@thought.org wrote: been here the whole day since around 09.00. one question since the guy who did my kvm switch used too-short cablesthey were ~4ft instead of 6. my question: Do any of you know if I can just buy kvm cables... of say 6ft? it's a trendnet TK-409K. #2:: I have no idea how a USB port could burn out, but that's what the tech found. anybody care to reply to either point?? tx very tmuch -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ 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 Hi Gary, I don't recall a burn-out issue like that with a USB port, except maybe on a notebook one time.. but I've recently seen some mobo mfgs advertising 'ESD resistant USB ports'. So I suppose that's been an issue... Waitman Gobble San Jose California USA ___ 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: built-in mic configuration [compaq presario laptop]
On Sat, Aug 25, 2012 at 8:39 AM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: I would like to be able to use the built-in mic to record audio and to use Skype with. An external mic seems to work out-of-the-box. Any input would be appreciated. :; uname -a FreeBSD box2 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #0: Fri Aug 17 21:53:39 EEST 2012 root@box2:/usr/obj/usr/src/**sys/GENERIC i386 :; dmesg | grep pcm pcm0: HDA IDT 92HD75B3 PCM #0 Analog at cad 0 nid 1 on hdac0 pcm1: HDA NVidia (Unknown) PCM #0 Digital at cad 2 nid 1 on hdac0 __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org Hi, you need to specify the device, take a look at # ls /dev/dsp* /dev/dsp0.0/dev/dsp0.1/dev/dsp1.0/dev/dsp2.0/dev/dsp2.1 for example, i can send audio output to headphone jack: # mplayer -zoom -x 1280 -y 720 -fs -ao oss:/dev/dsp1 -mixer /dev/mixer2 /path/to/file Haven't tried skype on FreeBSD but there should be a device setting. I've noticed that some machines seem to automatically switch, ie when I plug in headphones to the headphone jack or a mic into a microphone jack it just works. But other machines don't work automatically and I have to set the device manually as above. A simple way, you can try setting each device to see which one works. :) # cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: ATI R6xx (HDMI) (play) pcm1: IDT 92HD81B1X (Analog 2.0+HP/2.0) (play/rec) default pcm2: IDT 92HD81B1X (Analog Mic) (rec) # mixer Mixer vol is currently set to 90:90 Mixer pcm is currently set to 85:85 Mixer speaker is currently set to 100:100 Mixer mic is currently set to 67:67 Mixer mix is currently set to 1:1 Mixer rec is currently set to 1:1 Mixer ogainis currently set to 100:100 Recording source: mic Waitman Gobble San Jose California USA ___ 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: AAAARRRgghhh-h-h. [[tooo tired]]
On Aug 25, 2012 11:28 AM, Gary Kline kl...@thought.org wrote: On Sat, Aug 25, 2012 at 09:05:39AM -0700, Waitman Gobble wrote: Date: Sat, 25 Aug 2012 09:05:39 -0700 From: Waitman Gobble gobble...@gmail.com Subject: Re: RRRgghhh-h-h. [[tooo tired]] To: FreeBSD Mailing List freebsd-questions@freebsd.org On Fri, Aug 24, 2012 at 5:52 PM, Gary Kline kl...@thought.org wrote: been here the whole day since around 09.00. one question since the guy who did my kvm switch used too-short cablesthey were ~4ft instead of 6. my question: Do any of you know if I can just buy kvm cables... of say 6ft? it's a trendnet TK-409K. #2:: I have no idea how a USB port could burn out, but that's what the tech found. anybody care to reply to either point?? tx very tmuch -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ 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 Hi Gary, I don't recall a burn-out issue like that with a USB port, except maybe on a notebook one time.. but I've recently seen some mobo mfgs advertising 'ESD resistant USB ports'. So I suppose that's been an issue... Waitman Gobble San Jose California USA tx for the datapoint. a friend in Dallas thinks the USB ports are good and that it's a cabling isssue. the tech is self-taught. that might be as good a way of learning about computer hardware... . I may not have to buy a new/refurb computer. the tech is thinking of coming back tomorrow {sunday} to make sure about the cables. he inserted the USB plugs *by feel*. blew me away. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. The hard stuff is like don't sweat on the motherboard and capacitors can shock you. The rest is pretty easy to learn, I think. Waitman Gobble San Jose California ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD on SSD
On Jul 28, 2012 11:42 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: The read-cache idea is very sound, mainly because by using it this way Seagate would not have to create a special set of instructions for installing and using the HDD. I don't think that this drive cache is smart enough to really cache needed things and not flush that cache with useless data too often. i personally would prefer that drive to show up as 8GB disk and 750 GB disk. It would be easy to fit most of /usr in 8GB with even large set of software installed. when out of space then use softlinks and move not very used things (eg. documentation, non-yours locales, examples, some linarly accessed big files etc.) to disk. My final question would be : Seeing as the HDD only has a SATA connector, this would mean that the SSD part already has a memory control device that regulates access to that sector, whether it is a plain read-cache or not. This would imply that FreeBSD could communicate with the HDD normally, through the SATA connector, just like any regular HDD. indeed. Such a drive is a good idea, but complete lack of documentation (how it operate) is not. You have to guess how this SSD-cache works because it is not documented. the other thing is erasing data. You want to sell that drive and clear your data by dd if=/dev/zero of=/dev/disk bs=1m but does it clear SSD cache? i don't think so. Someone sophisticated enough would perform raw read of cache chips and get cached data, which can actually be the most important part (things you work on often). ___ 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 I've been using one of these drives for a few months, bought it because of bargain price and it sounded cool.. but its true there is little documentation, there seems to be no way to look at the SSD cache. I've read on some ng that it takes 5 to 10 boots to learn which files are loaded at boot.. maybe true. Also have not performed any comparison tests but maybe it boots faster. ... its not like instant on though. :) Waitman Gobble San Jose California ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 9.0 w/ACPI enabled, excluding NICs
On Jul 13, 2012 8:34 AM, Ronny Mandal ronn...@volatile.no wrote: On 13.07.2012 15:52, Wojciech Puchar wrote: I am running a small personal file server. To ensure constant network access, had to disable the ACPI, hence no power saving at all. The CPU why you had to disable ACPI. i never ever seen network problems with ACPI. basically it works, or it doesn't at all. When the server is idle with ACPI enabled, it did not respond to ping after a short period. With ACPI disabled, this was alleviated. So, basically, it will stop working after a while. My guess is that ACPI will shut down the power for the NIC. But that is only a guess. Furthermore, when ACPI is disabled, no network problem arises. This suggests, at least to me, that ACPI is somehow involved. gets very warm as everything (presumably) is running at full throttle. Is there any way to disable the ACPI partially, i.e. allow spin-down for disks etc, but keep the NICs running? This is IMHO not about FreeBSD support of ACPI but possible BIOS settings that turn on some kind of hibernation. Each and every power saving function in the BIOS is disabled. Nevertheless, I believe that a selective ACPI configuration should resolve this issue, Hope that this question was understandable. Thanks. Regards, Ronny Mandal ___ 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 A «band-aid» type fix could be to ping gw (once) using cron 0-59/5 or something Waitman Gobble San Jose California ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
On Sat, Jun 23, 2012 at 1:08 AM, Thomas Mueller muelle...@insightbb.comwrote: My elder colleague often told me that it is the easiest and well-working way to check whether the one is certified to work for Mac OS X to get USB mass storage devices which work with *BSD :) Just my 5 yen, -|-__ YAMAMOTO, Taku | __ t...@tackymt.homeip.net What if a USB mass storage device works with some BSDs but not all? I had Kingston Data Travelers, 2 GB, from one lot that were good with Linux and FreeBSD but not NetBSD. Other USB sticks, including Kingston Data Tavelers, worked with Linux, FreeBSD and NetBSD. I even installed FreeDOS 1.1 prerelease on one of those NetBSD-averse Kingstom Data Travelers. But I think either Mac OS X, Linux or FreeBSD is much more production-ready than NetBSD. There are 3 drivers, one for 3.0, 2.0 and 1.0, and they are associated to corresponding devices at boot. I'll play around with it this weekend and see how to switch, i've also noticed issue connecting 2.0 device to 3.0 port. Waitman Gobble San Jose California USA I don't think I ever tried to connect a USB 2.0 device to 3.0 port, but I tried the opposite. My Western Digital My Book Essential 3.0 TB USB 3.0 drive works even on the old computer whose motherboard's USB is 1.1. I tried to access that USB 3.0 hard drive on the new computer from USB 2.0 port because NetBSD has no USB 3.0 support: no go. But when I installed USB 2.0 brackets to USB 2.0 headers on the motherboard, the USB 3.0 hard drive was accessible from those USB 2.0 ports. Tom ___ 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 One possible 'caveat'.. I've noticed occasionally it will take 75 seconds or so for a USB 3.0 drive to 'connect'.. at first I thought the drive was not being 'recognized'. Someone has posted here that they believe it could be b/c a USB 3.0 uses 2x the power of 2.0 (i've not confirmed that) and it could be due to some kind of power management on the computer.. I've not yet taken the time to sort that out. anyhow this issue initially led me to believe there was some problem with the driver, but it seems likely not the case. Waitman Gobble San Jose California USA ___ 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: Could someone help me with Dovecot AD integration PAM setup?
failed!] Jun 20 11:49:47 master: Warning: Killed with signal 15 (by pid=4400 uid=0 code=kill) Jun 20 11:49:53 auth: Fatal: passdb imap: Missing host parameter Jun 20 11:49:53 master: Error: service(auth): command startup failed, throttling for 2 secs Jun 20 11:50:10 master: Warning: Killed with signal 15 (by pid=4439 uid=0 code=kill) Jun 20 11:50:22 auth-worker(4461): Error: pam(user,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Jun 20 11:51:19 master: Warning: Killed with signal 15 (by pid=4479 uid=0 code=kill) Jun 20 11:52:14 master: Warning: Killed with signal 15 (by pid=4647 uid=0 code=kill) Jun 20 12:26:12 master: Warning: Killed with signal 15 (by pid=1349 uid=0 code=kill) Jun 20 12:26:32 auth-worker(1371): Error: pam(user,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Jun 20 12:40:20 master: Warning: Killed with signal 15 (by pid=1436 uid=0 code=kill) Jun 20 12:40:39 auth-worker(1458): Error: pam(user,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Jun 20 13:06:03 master: Warning: Killed with signal 15 (by pid=1653 uid=0 code=kill) Jun 20 13:07:37 auth-worker(1222): Error: pam(user,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Jun 20 15:05:11 master: Warning: Killed with signal 15 (by pid=91263 uid=0 code=kill) Jun 22 10:02:03 master: Warning: Killed with signal 15 (by pid=38998 uid=0 code=kill) Jun 22 10:04:08 auth-worker(1229): Error: pam(user,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Jun 22 10:10:47 master: Warning: Killed with signal 15 (by pid=1394 uid=0 code=kill) Jun 22 10:12:36 auth-worker(1218): Error: pam(user,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Jun 22 10:20:57 auth-worker(1232): Error: pam(user,127.0.0.1): pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) Can anybody help me with this? Regards, Kaya ___ 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 hi, The log indicates its looking for /etc/pam.d/dovecot (instead of imap?) . maybe that's the issue. Waitman Gobble San Jose California USA ___ 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: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do
On Jun 22, 2012 10:45 AM, Brandon Gooch jamesbrandongo...@gmail.com wrote: On Fri, Jun 22, 2012 at 1:01 AM, O. Hartmann ohart...@zedat.fu-berlin.de wrote: I have a USB drive/stick, Lexar USB Flash drive as reported by FreeBSD shown below. When first used, I was able to put approx. 30 GB of data on it - it was visible to FreeBSD 9 and 10 as expected. A Linux system at the lab was also capable of recognizing it. After that, I tried to operate on the stick on a Notebook, FreeBSD 9, and another station, FreeBSD 10. But FreeBSD didn't recognize the USB drive anymore - sometimes, but this seems to be a gambling issue :-( Trying Linux on different hardware platforms and even those machines prior not recognizing the USB drive do recognize the drive as Lexar USB Flash drive with 64GB. That is Suse Linux (some 12.XX), that is Ubuntu 12.04, that is Windows 7 Pro/x64. I can format the drive, I can push and pull data from it. So, since the USB drive won't work with three different FreeBSD boxes (one running 9-STABLE, two 10-CURRENT, all systems most recent sources and buildworld from a day ago). I suspect either a weird configuration issue I use on all platforms in questions in common triggering the weird beviour - or FreeBSD is simply incapable of handling the 64GB drive. I do not have issues with USB drives with capacities of 32, 8 or 4 GB of different brands. As shown in the portion of the dmesg below, the USB drive is recognized physically. It doesn't matter whether USB port I use (I tried all available on all boxes and in most cases I use a Dell UltraSharp powered in-screen HUB). Since other OSes handle the drive as expected, I exclude hardware issues. All FreeBSD in common is the fact I use the new device ahaci/device ata CAM/ATA scheme with devcie scbus in the kernel (I use custom kernels!). Apart from trying a GENERIC kernel (which is next I will do this weekend), does anyone have similar experiences and probably solutions? Regards, oh ugen7.6: Lexar at usbus7 umass1: Lexar USB Flash Drive, class 0/0, rev 2.00/11.00, addr 6 on usbus7 (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Retrying command (probe0:umass-sim1:1:0:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe0:umass-sim1:1:0:0): CAM status: CCB request completed with an error (probe0:umass-sim1:1:0:0): Error 5, Retries exhausted I see similar behavior and output on my Dell M6500 notebook running CURRENT, but only on two ports which are some type of hybrid USB 2.0/3.0 (configurable via BIOS setting). If I use either of these ports with a USB 2.0 device while running the ports in USB 3.0 mode (using xhci(4)), I can't reliably get a device to properly attach. I say reliably, because every once in a while, I can plug a device in and it works fine, even multiple times and after reboots. If I configure these ports to run in USB 2.0 mode (using ehci(4)), all of my USB 2.0 devices seem to work without fail. However, USB 3.0 devices do not attach on these ports when they are configured as USB 2.0 ports. So, at least on my notebook, these ports must be configured at either 2.0 or 3.0, depending on which device I plan on using :( I have one other port on this same system that is USB 2.0-only, and it works all of the time :) I'll have to try and add a hub into the mix to see if perhaps it is a power issue (although with a recent Linux kernel and Windows 7, all is well no matter what configuration I provide). It may be that FreeBSD's USB subsystem lacks some extra bit of code required to configure the ports properly in regard to power. -Brandon ___ 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 There are 3 drivers, one for 3.0, 2.0 and 1.0, and they are associated to corresponding devices at boot. I'll play around with it this weekend and see how to switch, i've also noticed issue connecting 2.0 device to 3.0 port. Waitman Gobble San Jose California USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail
Re: New to FreeBSD - Some questions
to rebuild all installed ports which doesn't include base, I assume? make world is always wrong. make buildworld is closer. In source land world is everything but the kernel. Ports are not related. q) The files in /etc/rc.d are all executable, from my understanding, those files will get executed and it is their duty to check the variable `rc-script-name_enable' for whether they should start or not. Wouldn't it be more efficient to chmod -x or +x them to disable/enable? For a variety of reasons, no. They do more than just check *_enable in complex cases. q) Is there a tool that can test a set of mirrors for connection time and speed (for packages and ports)? Analogous to Archlinux's rankmirrors? looks in ports-mgmt/ there is fastestmirrors or something like that. I ran it once and forgot about it ;) q) Is it possible for the pkg_* tools (especially pkg_add -r) to display progress? no. q) I noticed in the ports collection that there were some outdated packages (skype-2.2, gimp-2.6), should I report that and where? (A PR?) skype is out of date cause the newer ones don't work. Generally, reporting out of date ports as PRs with patches (or to po...@freebsd.org without patches might help) is a good thing. Larger ports tend to be actively maintained. For gimp try asking gn...@freebsd.org for progress. q) Is it possible to have the ports system compile into an mfs (to avoid disk access)? Yes. Set WRKDIRPREFIX in /etc/make.conf to a mfs disk q) Is it possible to have the user asked to change their password the first time they log in (using an OTP) in a simple way? I looked at OPIE but it seems to be much more complex than what I need. Look at pw -e ? Hope I helped and didn't disappoint too much :) -- Eitan Adler ___ 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 packages in /current/Latest are generrally up to date, sometimes trail ports a couple of days. its quite easy to pkg_delete --force and pkg_add new version to upgrade... i've been doing this for some time without problems. its trivial to make a python script to check for latest version avail and upgrade, i haven't timed it but 700 or so package updates take about 30 mins.. i look forward to pkgng, on low power devices build from ports can take a week and then some. :) Waitman Gobble San Jose California USA ___ 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: New to FreeBSD - Some questions
On Fri, Jun 22, 2012 at 1:18 PM, Eitan Adler li...@eitanadler.com wrote: On 22 June 2012 11:44, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: On 22/06/2012 18:40, Eitan Adler wrote: q) Is there a place where all sysctl variables are documented? It occurred to me when I was trying to find the memory usage on my system but `sysctl -a | grep mem' shows a whole bunch of stuff. You can try sysctl -ad but most of the systls are either documented in man pages or not at all. :( It would be a really handy thing if the output of 'sysctl -d' told you what man page to refer to for more information. A neat little project but pretty boring to implement. Agreed. I don't have the time to do this directly, but I'm willing to commit patches that do this. -- Eitan Adler ___ 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 that sounds great, also, for the moment you can try grep in /usr/src and usually find what you are looking for there. Usually the source code is well-documented, and you can see which switches do what. an idea... Waitman Gobble San Jose California USA ___ 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: Why Clang
On Jun 21, 2012 11:23 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: Additionally, the exceptions for using the GCC runtime library for non-GPL executables is limited to what hey call eligible compilation processes, what rules out using proprietary GCC plugins or other combinations of core GCC functionality with non-GPL tooling and extensions. Please note that this is indeed not tested in court. Therefore, reality may turn out even more interesting. That's why a lawyer's answer should always be it depends. :) GNU GPL is even worse that i ever dreamed (in worst horror). ___ 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 I have seen a few instances which are risky IMHO... or at least interesting to ponder.. one is a claim that GPLv3 enables the vendor to require the use of their trademark logo (flowplayer)... which opens up other legal issues i think, and another, i recently purchased a router, in the package was a small piece of paper stating the device includes GPL software, and if i want the source i need to write (snail mail) their legal department and explain why i want it. (d-link). but i agree the issues have not been legally decided AFAIK. anyway, i think a BSD licensed FreeBSD operating system works for me. Waitman Gobble San Jose California USA ___ 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: Need latest xorg
On Wed, Jun 20, 2012 at 2:33 PM, Matthias Gamsjager mgamsja...@gmail.comwrote: On Wed, Jun 20, 2012 at 11:25 PM, Lynn Steven Killingsworth blue.seahorse.syndic...@gmail.com wrote: I don't seem to have generated much comment. I suspect you are thinking as I do that if your servers don't immediately download then their is a bandit on my Internet line?? Newer AMD videocards and Freebsd is just pure pain. Dont think the newer xorg will change much. ___ 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 Hi, Have you considered installing packages? I have a daily sync repo mirror of amd64 and i386 pkgs (Latest/Current) if you experience difficulty accessing the FTP servers. lemme know. Unfortunately I don't have everything mirrored at this time, and not sure how they would fly on 9-x :) Also latest xorg runs great with my AMD HD 6620G, obviously a different class than your AMD HD 7950 but I suppose it could also be considered a 'newer card', first released June 14, 2011, about 6 months before the 7950. Not sure when the cut-off date is. Waitman Gobble San Jose California USA ___ 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: Lost /var/db/pkg
On Wed, Jun 13, 2012 at 2:26 PM, Eitan Adler li...@eitanadler.com wrote: On 13 June 2012 12:17, jb jb.1234a...@gmail.com wrote: William Orr will at worrbase.com writes: Hello, I had a hard disk failure some time ago, and I ended up losing /var/db/pkg/ and everything under it (before you say I should've been backing it up, I know, I was actually doing an initial full when this happened). Is there a way I can restore it, or at least manually add entries I know for sure about? forums.freebsd.org/showthread.php?t=6466 The application themselves are still installed and will keep functioning, you just removed the records of their installation. When you later install newer versions, you may have to use a force flag to overwrite files (the port thinks it is uninstalled after all). The new port installations will get recorded in /var/db/pkg again.' jb This will work if you need minimal downtime, but *will* come back to bite you some time down the line. -- Eitan Adler ___ 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 you could cross reference the package .tbz files with what's on your system. ie, tar -ztvf apache-2.2.22_5.tbz shows you what's in /usr/local/bin, etc. Might even be able to focus on man pages only to get an xref index. I believe the files for /var/db/pkg are in the tbz files. if you didn't keep your system up to date it might be trouble matching versions, but you could get the list and see what's what, or at least have a good idea of what _was_ installed. I haven't tried but you could stick the 'current' files for /var/db/pkg from tbz, matching what's installed - regardless of the 'new' version and actual version installed, then to a pkg_delete --force then pkg_add .tbz . it might complain about missing files but will 'prolly function. If you have like 700-1000+ packages it might be worth the trouble. A thought :) Waitman Gobble San Jose California USA ___ 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: USB 3.0 delay in 'detecting' attached drive
On Mon, Jun 11, 2012 at 1:36 AM, Julian H. Stacey j...@berklix.com wrote: Waitman Gobble wrote: On Sun, Jun 10, 2012 at 4:59 PM, Julian H. Stacey j...@berklix.com wrote: Waitman Gobble wrote: On Sun, Jun 10, 2012 at 1:56 PM, Julian H. Stacey j...@berklix.com wrote: Waitman Gobble wrote: Hi, I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports. When I plug a USB 3.0 drive / cable into the USB 3.0 port it takes about 70 seconds for the drive to show up, on the USB 2.0 port it's instantly. I haven't used USB 3.0 with FreeBSD so I'm not sure if this is expected or maybe I need to reconfigure something or look at a different kernel config. Might be a marginal power issue. USB 3 devices are allowed to consume 1.0 Amps. USB2 ports only need provide 0.5. I have a tower wont recognise my USB disc on its USB2 ports. On my new PCI express card in same tower, it comes up quickly. Cheers, Julian Thanks. Not sure if there's anything I can do about that. It's a new HP dv6 laptop which according to box was mfg in May 2012... I would assume hardware would be designed and put together properly. :) Sounds new enough :-) My USB3 disc on my newish laptop with USB 2 socket 8.2 9.0 come up fast enough, not noticed problems, not specificaly timed it though. Try external power if you have a socket on disk box ? Try disk on another known good FreeBSD USB3 card on a tower (my card cost 30 Euro BTW) Or try a power doubler cable (connected via a female to female adapter, which Ive never seen on sale, I made my own by cutting up a dead mainboard), to the USB 3 male to male cable. (for any who dont know, cant omit that cable as USB3 socket on lapop size drives is a different shape, flater, wider. I wonder if it might be taking time dropping back to USB2 speed. if eg you don't have xhci in kernel ? I have all of config -x/boot/kernel/kernel | grep hci device uhci device ohci device xhci device ehci I just havent taken some out yet. Cheers, Julian I believe it uses ohci for usb 2.0, I doubt that. xhci for 3.0, Yes ehci for 1.0 No Reading manuals: ehci : for a controller chip that Only does USB 2.0, not 1.0 ohci : OHCI v1.0 USB1 uhci : UHCI v1.1 USB1 xhci : USB 1.0, 2.0 and 3.0 (which I suppose might be connected to some device internally even if you do not have 1.0 port?) I originally built this system on a different machine, with different hardware, but it really shouldn't make a different AFAIK. .. But I did just csup and rebuild everything on the laptop... i needed to build some devices into the kernel anyhow, and NOW the usb 3.0 connect is instantly, there is now no 70 second delay. Good. BTW I'd not considered you might be seeing something on current, as this questions@ was originaly created for people new to FreeBSD Machine my end was 8.3-RELEASE. The current@ list would know if xhci was problematic. I'd have to check, maybe there was a change in xhci between June 2 and today which could have caused the issue. Or it was just a 'weird harold' event, for some reason it just felt like sitting there a minute. Thanks for your help, :-) Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, indent with . Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ Hi, thanks - good point. maybe even freebsd-usb group would be better. i'll see if it happens again and post in there. Waitman ___ 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
USB 3.0 delay in 'detecting' attached drive
Hi, I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports. When I plug a USB 3.0 drive / cable into the USB 3.0 port it takes about 70 seconds for the drive to show up, on the USB 2.0 port it's instantly. I haven't used USB 3.0 with FreeBSD so I'm not sure if this is expected or maybe I need to reconfigure something or look at a different kernel config. here's my info $ uname -a FreeBSD hunny.waitman.net 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sat Jun 2 01:25:21 PDT 2012 root@:/usr/obj/usr/src/sys/KEYSHIA amd64 Notice the time.. 9:36:49 plugin, 9:37:59 drive shows up. USB 3.0 connect: Jun 10 09:36:49 hunny kernel: ugen1.2: Seagate at usbus1 Jun 10 09:36:49 hunny kernel: umass0: Seagate FreeAgent GoFlex, class 0/0, rev 3.00/1.00, addr 1 on usbus1 Jun 10 09:36:49 hunny kernel: umass0: SCSI over Bulk-Only; quirks = 0x4100 Jun 10 09:36:49 hunny kernel: umass0:4:0:-1: Attached to scbus4 Jun 10 09:37:59 hunny kernel: da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 Jun 10 09:37:59 hunny kernel: da0: Fixed Direct Access SCSI-0 device Jun 10 09:37:59 hunny kernel: da0: 400.000MB/s transfers Jun 10 09:37:59 hunny kernel: da0: 476940MB (976773167 512 byte sectors: 255H 63S/T 60801C) Jun 10 09:40:30 hunny ntfs-3g[1098]: Mounted /dev/da0s1 (Read-Write, label MUSIC, NTFS 3.1) Jun 10 09:40:30 hunny ntfs-3g[1098]: Mount options: allow_other,nonempty,atime,fsname=/dev/da0s1 Jun 10 09:41:43 hunny ntfs-3g[1098]: Unmounting /dev/da0s1 (MUSIC) Jun 10 09:41:47 hunny kernel: (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 0 refs Jun 10 09:41:47 hunny kernel: (da0:umass-sim0:0:0:0): removing device entry USB 2.0 - instantly Jun 10 09:42:07 hunny kernel: ugen3.2: Seagate at usbus3 Jun 10 09:42:07 hunny kernel: umass0: Seagate FreeAgent GoFlex, class 0/0, rev 2.10/1.00, addr 2 on usbus3 Jun 10 09:42:07 hunny kernel: umass0: SCSI over Bulk-Only; quirks = 0x4100 Jun 10 09:42:07 hunny kernel: umass0:4:0:-1: Attached to scbus4 Jun 10 09:42:07 hunny kernel: da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 Jun 10 09:42:07 hunny kernel: da0: Seagate FreeAgent GoFlex 211 Fixed Direct Access SCSI-0 device Jun 10 09:42:07 hunny kernel: da0: 40.000MB/s transfers Jun 10 09:42:07 hunny kernel: da0: 476940MB (976773167 512 byte sectors: 255H 63S/T 60801C) Jun 10 09:42:24 hunny kernel: (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 0 refs Jun 10 09:42:24 hunny kernel: (da0:umass-sim0:0:0:0): removing device entry ... $ dmesg | grep USB xhci0: XHCI (generic) USB 3.0 controller mem 0xf0348000-0xf0349fff irq 18 at device 16.0 on pci0 xhci1: XHCI (generic) USB 3.0 controller mem 0xf034a000-0xf034bfff irq 17 at device 16.1 on pci0 ohci0: OHCI (generic) USB controller mem 0xf034f000-0xf034 irq 18 at device 18.0 on pci0 ehci0: EHCI (generic) USB 2.0 controller mem 0xf034e000-0xf034e0ff irq 17 at device 18.2 on pci0 ohci1: OHCI (generic) USB controller mem 0xf034d000-0xf034dfff irq 18 at device 19.0 on pci0 ehci1: EHCI (generic) USB 2.0 controller mem 0xf034c000-0xf034c0ff irq 17 at device 19.2 on pci0 usbus0: 5.0Gbps Super Speed USB v3.0 usbus1: 5.0Gbps Super Speed USB v3.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 480Mbps High Speed USB v2.0 umass1: Generic USB Storage, class 0/0, rev 2.00/98.33, addr 2 on usbus3 $ pciconfig -lv xhci0@pci0:0:16:0: class=0x0c0330 card=0x358b103c chip=0x78121022 rev=0x03 hdr=0x00 vendor = 'Advanced Micro Devices [AMD]' device = 'Hudson USB XHCI Controller' class = serial bus subclass = USB xhci1@pci0:0:16:1: class=0x0c0330 card=0x358b103c chip=0x78121022 rev=0x03 hdr=0x00 vendor = 'Advanced Micro Devices [AMD]' device = 'Hudson USB XHCI Controller' class = serial bus subclass = USB ehci0@pci0:0:18:2: class=0x0c0320 card=0x358b103c chip=0x78081022 rev=0x11 hdr=0x00 vendor = 'Advanced Micro Devices [AMD]' device = 'Hudson USB EHCI Controller' class = serial bus subclass = USB ohci1@pci0:0:19:0: class=0x0c0310 card=0x358b103c chip=0x78071022 rev=0x11 hdr=0x00 vendor = 'Advanced Micro Devices [AMD]' device = 'Hudson USB OHCI Controller' class = serial bus subclass = USB ehci1@pci0:0:19:2: class=0x0c0320 card=0x358b103c chip=0x78081022 rev=0x11 hdr=0x00 vendor = 'Advanced Micro Devices [AMD]' device = 'Hudson USB EHCI Controller' class = serial bus subclass = USB Thank you, Waitman Gobble San Jose California USA ___ 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: USB 3.0 delay in 'detecting' attached drive
On Sun, Jun 10, 2012 at 1:56 PM, Julian H. Stacey j...@berklix.com wrote: Waitman Gobble wrote: Hi, I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports. When I plug a USB 3.0 drive / cable into the USB 3.0 port it takes about 70 seconds for the drive to show up, on the USB 2.0 port it's instantly. I haven't used USB 3.0 with FreeBSD so I'm not sure if this is expected or maybe I need to reconfigure something or look at a different kernel config. Might be a marginal power issue. USB 3 devices are allowed to consume 1.0 Amps. USB2 ports only need provide 0.5. I have a tower wont recognise my USB disc on its USB2 ports. On my new PCI express card in same tower, it comes up quickly. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, indent with . Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ Thanks. Not sure if there's anything I can do about that. It's a new HP dv6 laptop which according to box was mfg in May 2012... I would assume hardware would be designed and put together properly. :) Waitman ___ 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: USB 3.0 delay in 'detecting' attached drive
On Sun, Jun 10, 2012 at 4:59 PM, Julian H. Stacey j...@berklix.com wrote: Waitman Gobble wrote: On Sun, Jun 10, 2012 at 1:56 PM, Julian H. Stacey j...@berklix.com wrote: Waitman Gobble wrote: Hi, I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports. When I plug a USB 3.0 drive / cable into the USB 3.0 port it takes about 70 seconds for the drive to show up, on the USB 2.0 port it's instantly. I haven't used USB 3.0 with FreeBSD so I'm not sure if this is expected or maybe I need to reconfigure something or look at a different kernel config. Might be a marginal power issue. USB 3 devices are allowed to consume 1.0 Amps. USB2 ports only need provide 0.5. I have a tower wont recognise my USB disc on its USB2 ports. On my new PCI express card in same tower, it comes up quickly. Cheers, Julian Thanks. Not sure if there's anything I can do about that. It's a new HP dv6 laptop which according to box was mfg in May 2012... I would assume hardware would be designed and put together properly. :) Sounds new enough :-) My USB3 disc on my newish laptop with USB 2 socket 8.2 9.0 come up fast enough, not noticed problems, not specificaly timed it though. Try external power if you have a socket on disk box ? Try disk on another known good FreeBSD USB3 card on a tower (my card cost 30 Euro BTW) Or try a power doubler cable (connected via a female to female adapter, which Ive never seen on sale, I made my own by cutting up a dead mainboard), to the USB 3 male to male cable. (for any who dont know, cant omit that cable as USB3 socket on lapop size drives is a different shape, flater, wider. I wonder if it might be taking time dropping back to USB2 speed. if eg you don't have xhci in kernel ? I have all of config -x/boot/kernel/kernel | grep hci device uhci device ohci device xhci device ehci I just havent taken some out yet. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, indent with . Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ I believe it uses ohci for usb 2.0, xhci for 3.0, ehci for 1.0 (which I suppose might be connected to some device internally even if you do not have 1.0 port?) I originally built this system on a different machine, with different hardware, but it really shouldn't make a different AFAIK. ... But I did just csup and rebuild everything on the laptop... i needed to build some devices into the kernel anyhow, and NOW the usb 3.0 connect is instantly, there is now no 70 second delay. I'd have to check, maybe there was a change in xhci between June 2 and today which could have caused the issue. Or it was just a 'weird harold' event, for some reason it just felt like sitting there a minute. Thanks for your help, Waitman ___ 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: xfce 4.10 update problems
On Sun, Jun 10, 2012 at 5:12 PM, Warren Block wbl...@wonkity.com wrote: On Sun, 10 Jun 2012, jb wrote: Hi, after portmaster update: - there are missing icons in main menu and that of Terminal - startx fails when moused enabled (EE) xf86OpenSerial: Cannot open device /dev/psm0 Device busy. (EE) PS/2 Mouse: cannot open input device (EE) PreInit returned NULL for PS/2 Mouse (EE) config/hal: NewInputDeviceRequest failed (8) xinit: connection to X server lost Any known solutions ? Disable hal in xorg.conf, ServerLayout section: Option AutoAddDevices Off __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org for missing icons in xfce4.10, here is explanation in a pr with 3 solutions.. http://www.freebsd.org/cgi/query-pr.cgi?pr=168688 Waitman Gobble San Jose California USA ___ 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: Is this something we (as consumers of FreeBSD) need to be aware of?
On Jun 5, 2012 6:35 PM, Mike Jeays mike.je...@rogers.com wrote: On Tue, 5 Jun 2012 19:57:30 -0400 (EDT) Chris Hill ch...@monochrome.org wrote: On Tue, 5 Jun 2012, G?k?in Akdeniz wrote: For the time being only ARM platform is restricted. True, but I would be astonished if this restriction were not expanded by MS in the future. Just my opinion, but I believe their ultimate goal is to add platforms until the secure boot restriction encompasses most or all desktop and server hardware. This would be over a period of years. -- Chris Hill ch...@monochrome.org ** [ Busy Expunging / ] ___ 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 This seems all too likely to me. I expect it will become very hard to find a consumer laptop that will run other operating systems in a few years. There won't be any in Best Buy or Staples, one can be pretty sure. It will be a Windows or Mac world. Not an attractive future. ___ 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 I understand there are only a few (like two) monster-sized computer manufacturers, which are based in China, who manufacture the massive bulk of consumer laptops. the name brand models in the local retail store are almost always these ODM computers with a preloaded hard drive and a fancy label w/ insignia slapped on the shell. One may purchase a Generic laptop to spec (without any MS stuff installed, if you so desire), for a single-unit competitive price. for example search compal ... i'm curious how the restricted boot scheme will come into play in these no flashy labels portable machines. Waitman Gobble San Jose California USA ___ 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: FreeBSD9 - I can't get my mouse to work
On Tue, Jun 5, 2012 at 7:05 PM, Scott Ballantyne s...@ssr.com wrote: Walter Hurry walterhu...@gmail.com writes: Firstly, sorry if this is a bit of a newbie question. I am quite new to FreeBSD (though fairly experienced at Linux). Almost everything in FreeBSD is fine, except that no matter what I try I cannot get the (USB) mouse to work. I have scoured the handbook, and Googled, but to no avail. This is 9.0-RELEASE on amd64 - fully updated. I don't need the mouse in consoles, but I do want it in X. The clue here is 'fully updated'. The latest hald has a bug that keeps the mouse from working. If you look in your X.org.0.log you may find a section which says that /dev/ums, configured by hal, is busy, and unloads the mouse. If you don't find that, then ignore the rest of this email :) There are various solutions to this, one is to disable the auto configure, and add the configuration for both keyboard and mouse to the .conf file. Another is to restart dbus and hald. You can switch to a console window from X and run this command: /usr/local/etc/rc.d/dbus restart /usr/local/etc/rc.d/hald restart If that fixes it, then you can automate it by putting something like this in /usr/local/etc/rc.d , call it haldfixbug or something like that: -- #!/bin/sh # # PROVIDE: HALD_FIX_BUG # REQUIRE: hald dbus # [ $1 = start ] /usr/local/etc/rc.d/dbus restart /usr/local/etc/rc.d/hald restart echo DBUS HALD BUG FIX ATTEMPTED [ $1 = faststart ] /usr/local/etc/rc.d/dbus restart /usr/local/etc/rc.d/hald restart echo DBUS HALD BUG FIX ATTEMPTED sleep 5 exit 0 - This might not work if you use startx, but should be ok with xdm or gdm. It works for me, maybe not for you. Best, Scott -- s...@ssr.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 i'll give that a try. After updating a couple of days ago the mouse is glued to the center of the screen after starting X. I noticed if i first kill moused before startx it works fine. (moused apparently restarts). But maybe this solution will end the work-around. Waitman Gobble San Jose California USA ___ 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: starting xfce4 reboots machine
On Jun 3, 2012 9:52 AM, Waitman Gobble gobble...@gmail.com wrote: On Thu, May 31, 2012 at 12:10 AM, Joe Gain joe.g...@gmail.com wrote: On Thu, May 31, 2012 at 8:43 AM, Waitman Gobble gobble...@gmail.com wrote: On Wed, May 30, 2012 at 11:26 PM, Waitman Gobble gobble...@gmail.com wrote: On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble gobble...@gmail.com wrote: On Mon, May 28, 2012 at 7:42 AM, Warren Block wbl...@wonkity.com wrote: On Sun, 27 May 2012, Waitman Gobble wrote: Hi, I've been running FreeBSD 10.0-CURRENT for some months, last time i rebuilt the system was April 20th. I've rebooted my machine many times and started X and Xfce4 without any trouble, however today I'm out of town on the road and when I startx my machine reboots. If I log in as root and startx i can run xorg without xfce4. but if i try startxfce4 the machine reboots. If I try to startx without xfce4 from my non-root account it locks up. It's pretty quick and nothing I can see in the logs... Anyone have any ideas about troubleshooting??? It seems like it's out of the blue with no changes to the system that I recall. :) First, make sure you have cairo-1.10 instead of 1.12. After that, run pkg_libchk from sysutils/bsdadminscripts. Rebuild anything that says it is missing libxfce4-utils. After that, well, I still see some unsteadiness from xfce-4.10. There's a long delay on start, like a DNS timeout (but I have working DNS). Switching to console works, switching back usually does not, rebooting the machine. Leaving X and starting again reboots the machine. These last two could be due to the recent X upgrade, except I'm pretty sure they did not happen until xfce-4.10. thanks. i'll check it out.. Waitman spending some time troubleshooting this. it's a weird harold, the machine runs fine for days doing various things (but if i want X i have to log in as root first and startx, otherwise instant reboot). I've noticed that if i do a pkg_add the thing reboots, if i run SciTe editor it reboots. like snap of a finger instantly. I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll have to re-add somehow, might have to build from source if it won't stop rebooting :) i'll try the pkg_libchk Thanks, Waitman this is kind of strange, ls -l /usr/local/lib | grep cairo - what's up with the zero-byte files.. i did do a pkg_delete but didn't expect to see this. ___ 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 Can't help with a solution. I had a very similar problem. I'm following 9.0-STABLE (rev. 235976 ca. week old) using xfce and have a thinkpad laptop with intel on-board graphics chip. My problems started when I updated the cairo port, and at the time I couldn't really believe that cairo was the cause of _the_ problem, because of the way X was crashing. What was even more frustrating was that the Xorg log file was not revealing anything other than unknown error and segfault. So, I didn't know what to do for a while, and after spending a couple of days looking for an answer, downgrading cairo fixed that issue. Couple of days later the new xfce is also available, and I have had no problems running it, on stable with downgraded (currently current again*) cairo. Be sure to read UPDATING with respect to xfce4-utils etc. It would be interesting to hear from someone who knows what's going on as this is the first major hiccup that I've had using freebsd. Thanks, Joe * http://www.freshports.org/commit.php?category=graphicsport=cairofiles=yesmessage_id=201205260354.q4q3sboi042...@repoman.freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) Hi, I think I finally got to the bottom of my instant rebooting issue. I did a csup and rebuilt world/kernel, but doing a pkg_add or running xfce4 would still reboot the machine. This morning I scoured my logs and found one message that lead me to solution: bad dir ino AT OFFSET xxx: MANGLED ENTRY. It looks like on my machine that /var/tmp got wrecked, the fsck on boot wasn't catching it. I booted into single user mode and ran fsck -y a few times, the second time it skipped the journal to do a 'regular fsck' (maybe there is a switch to force it to skip the journal anyway?). w/o Journal it picked up the inode problems and fixed.. then mounted drive rw and deleted stuff in /var/tmp pkg_add works fine now, i haven't tried xfce4 yet but i bet it's going to work. Waitman Gobble San Jose California USA I updated to xfce4.10 using amd64 packages and everything seems to work, except for some reason startxfce4 is missing but i can get it to start fine by putting exec xfce4
Re: starting xfce4 reboots machine
On Jun 4, 2012 1:58 PM, Gary Aitken free...@dreamchaser.org wrote: I updated to xfce4.10 using amd64 packages and everything seems to work, except for some reason startxfce4 is missing but i can get it to start fine by putting exec xfce4-session in my .xinitrc.. anyone else experience this issue? %which startxfce4 /usr/local/bin/startxfce4 installed from ports/x11-wm/xfce4 I think as a dependency on ports/x11-wm/xfce4-session ___ 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 Thanks. that's where it used to be on my machine... this evening i'll check and see if its in the tbz, i still have the package file. Waitman ___ 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
Updating packages
I have tried the available package update methods. It occurred to me to experiment with a different way. I am working on a package update script in Python as an alternate way to update installed packages with latest available on the FreeBSD web site. It parses the index page of the web site and compares the versions of installed packages. If their is a difference it downloads the package tbz file and performs an MD5 checksum, then writes the corresponding pkg_delete and pkg_add for the package into a file which can be edited and executed from the command line. It does not automatically update the packages, for example in some cases the script reports that an older version of Perl is a suitable replacement for the latest version. Also on my system there are like seventeen versions of doc_book package so it writes the pkg_delete for each installed version and pkg_add for the latest version. (in which case we would not really want to install it seventeen times). Does anyone have recollection of a negative experience using 'pkg_delete --force' to the old version and 'pkg_add' the replacement? Would you say it's generally a bad idea to first delete the package before adding the updated package, and instead recommend to install the updated package on top of the existing installation? My project is at the following URL: https://github.com/creamy/pkg_checkversion Thanks, Waitman Gobble San Jose California USA ___ 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: starting xfce4 reboots machine
On Thu, May 31, 2012 at 12:10 AM, Joe Gain joe.g...@gmail.com wrote: On Thu, May 31, 2012 at 8:43 AM, Waitman Gobble gobble...@gmail.com wrote: On Wed, May 30, 2012 at 11:26 PM, Waitman Gobble gobble...@gmail.com wrote: On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble gobble...@gmail.com wrote: On Mon, May 28, 2012 at 7:42 AM, Warren Block wbl...@wonkity.com wrote: On Sun, 27 May 2012, Waitman Gobble wrote: Hi, I've been running FreeBSD 10.0-CURRENT for some months, last time i rebuilt the system was April 20th. I've rebooted my machine many times and started X and Xfce4 without any trouble, however today I'm out of town on the road and when I startx my machine reboots. If I log in as root and startx i can run xorg without xfce4. but if i try startxfce4 the machine reboots. If I try to startx without xfce4 from my non-root account it locks up. It's pretty quick and nothing I can see in the logs... Anyone have any ideas about troubleshooting??? It seems like it's out of the blue with no changes to the system that I recall. :) First, make sure you have cairo-1.10 instead of 1.12. After that, run pkg_libchk from sysutils/bsdadminscripts. Rebuild anything that says it is missing libxfce4-utils. After that, well, I still see some unsteadiness from xfce-4.10. There's a long delay on start, like a DNS timeout (but I have working DNS). Switching to console works, switching back usually does not, rebooting the machine. Leaving X and starting again reboots the machine. These last two could be due to the recent X upgrade, except I'm pretty sure they did not happen until xfce-4.10. thanks. i'll check it out.. Waitman spending some time troubleshooting this. it's a weird harold, the machine runs fine for days doing various things (but if i want X i have to log in as root first and startx, otherwise instant reboot). I've noticed that if i do a pkg_add the thing reboots, if i run SciTe editor it reboots. like snap of a finger instantly. I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll have to re-add somehow, might have to build from source if it won't stop rebooting :) i'll try the pkg_libchk Thanks, Waitman this is kind of strange, ls -l /usr/local/lib | grep cairo - what's up with the zero-byte files.. i did do a pkg_delete but didn't expect to see this. ___ 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 Can't help with a solution. I had a very similar problem. I'm following 9.0-STABLE (rev. 235976 ca. week old) using xfce and have a thinkpad laptop with intel on-board graphics chip. My problems started when I updated the cairo port, and at the time I couldn't really believe that cairo was the cause of _the_ problem, because of the way X was crashing. What was even more frustrating was that the Xorg log file was not revealing anything other than unknown error and segfault. So, I didn't know what to do for a while, and after spending a couple of days looking for an answer, downgrading cairo fixed that issue. Couple of days later the new xfce is also available, and I have had no problems running it, on stable with downgraded (currently current again*) cairo. Be sure to read UPDATING with respect to xfce4-utils etc. It would be interesting to hear from someone who knows what's going on as this is the first major hiccup that I've had using freebsd. Thanks, Joe * http://www.freshports.org/commit.php?category=graphicsport=cairofiles=yesmessage_id=201205260354.q4q3sboi042...@repoman.freebsd.org -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) Hi, I think I finally got to the bottom of my instant rebooting issue. I did a csup and rebuilt world/kernel, but doing a pkg_add or running xfce4 would still reboot the machine. This morning I scoured my logs and found one message that lead me to solution: bad dir ino AT OFFSET xxx: MANGLED ENTRY. It looks like on my machine that /var/tmp got wrecked, the fsck on boot wasn't catching it. I booted into single user mode and ran fsck -y a few times, the second time it skipped the journal to do a 'regular fsck' (maybe there is a switch to force it to skip the journal anyway?). w/o Journal it picked up the inode problems and fixed.. then mounted drive rw and deleted stuff in /var/tmp pkg_add works fine now, i haven't tried xfce4 yet but i bet it's going to work. Waitman Gobble San Jose California USA ___ 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: umount device busy
On Sun, Jun 3, 2012 at 7:59 AM, Gary Aitken free...@dreamchaser.org wrote: Something I'm overlooking here and a lot of questions I can't seem to find the answers to... I mounted a usb drive mount -t ntfs /dev/da0s1 /mnt/goflex Then, as nearly as I can remember... I then poked around a bit using the xfce4 browser. I tried to mkdir from the mount point as a normal user: cd /mnt/goflex %mkdir breakaway mkdir: .: No such file or directory After checking write premissions, which I didn't have, I did an su -l and tried again, with the same results. I then tried to unmount the drive, believing it was mounted read-only: #umount /mnt/goflex umount: unmount of /mnt/goflex failed: Device busy As nearly as I can tell, I don't have anything pointing at that drive. Questions: 1. What does the No such file or directory mean from mkdir? It's a relative dir name, and I'm sitting at a valid dir. 2. How do I find out how the file-system was mounted? mount (noargs) does not show read/write status 3. I tried lsof but I don't get any output from it: lsof +d /mnt/goflex -x -- /mnt/goflex Where does it go if not to stdout? 4. lsof has a *long* man page, so I'd like to save it temporarily so I can search it in an editor. If I do man lsof temp.tmp the output contains backspace sequences which screw up searching. How do I get man to produce plain text without the control sequences? 5. The lsof man page references a faq which is supposed to be part of the distribution. find . -ls | grep lsof doesn't show any faq. 6. And finally, any idea why umount says the device is busy? Seems like I should have been able to find the answer to at least one of those but I'm coming up short. Thanks for relevant pointers, Gary ___ 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 something that *might* be helpful to you, it's a basic little man page browser in Qt left side of the pane shows a treeview of filesystem, so you can navigate /bin, /usr/bin, etc.. when you click on a file it looks for the corresponding man page and shows it on the right pane formatted html, which is a webkit panel. https://github.com/creamy/man-browser i built it on a FreeBSD machine but it also works with cygwin systems and probably GNU/Linux as well but i have not tried it. it is intended as a way to quickly look at what's installed on your system and possibly 'discover' and learn about previously 'unknown' commands. Waitman Gobble San Jose California USA ___ 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: starting xfce4 reboots machine
On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble gobble...@gmail.comwrote: On Mon, May 28, 2012 at 7:42 AM, Warren Block wbl...@wonkity.com wrote: On Sun, 27 May 2012, Waitman Gobble wrote: Hi, I've been running FreeBSD 10.0-CURRENT for some months, last time i rebuilt the system was April 20th. I've rebooted my machine many times and started X and Xfce4 without any trouble, however today I'm out of town on the road and when I startx my machine reboots. If I log in as root and startx i can run xorg without xfce4. but if i try startxfce4 the machine reboots. If I try to startx without xfce4 from my non-root account it locks up. It's pretty quick and nothing I can see in the logs... Anyone have any ideas about troubleshooting??? It seems like it's out of the blue with no changes to the system that I recall. :) First, make sure you have cairo-1.10 instead of 1.12. After that, run pkg_libchk from sysutils/bsdadminscripts. Rebuild anything that says it is missing libxfce4-utils. After that, well, I still see some unsteadiness from xfce-4.10. There's a long delay on start, like a DNS timeout (but I have working DNS). Switching to console works, switching back usually does not, rebooting the machine. Leaving X and starting again reboots the machine. These last two could be due to the recent X upgrade, except I'm pretty sure they did not happen until xfce-4.10. thanks. i'll check it out.. Waitman spending some time troubleshooting this. it's a weird harold, the machine runs fine for days doing various things (but if i want X i have to log in as root first and startx, otherwise instant reboot). I've noticed that if i do a pkg_add the thing reboots, if i run SciTe editor it reboots. like snap of a finger instantly. I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll have to re-add somehow, might have to build from source if it won't stop rebooting :) i'll try the pkg_libchk Thanks, Waitman ___ 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: starting xfce4 reboots machine
On Wed, May 30, 2012 at 11:26 PM, Waitman Gobble gobble...@gmail.comwrote: On Mon, May 28, 2012 at 10:25 AM, Waitman Gobble gobble...@gmail.comwrote: On Mon, May 28, 2012 at 7:42 AM, Warren Block wbl...@wonkity.com wrote: On Sun, 27 May 2012, Waitman Gobble wrote: Hi, I've been running FreeBSD 10.0-CURRENT for some months, last time i rebuilt the system was April 20th. I've rebooted my machine many times and started X and Xfce4 without any trouble, however today I'm out of town on the road and when I startx my machine reboots. If I log in as root and startx i can run xorg without xfce4. but if i try startxfce4 the machine reboots. If I try to startx without xfce4 from my non-root account it locks up. It's pretty quick and nothing I can see in the logs... Anyone have any ideas about troubleshooting??? It seems like it's out of the blue with no changes to the system that I recall. :) First, make sure you have cairo-1.10 instead of 1.12. After that, run pkg_libchk from sysutils/bsdadminscripts. Rebuild anything that says it is missing libxfce4-utils. After that, well, I still see some unsteadiness from xfce-4.10. There's a long delay on start, like a DNS timeout (but I have working DNS). Switching to console works, switching back usually does not, rebooting the machine. Leaving X and starting again reboots the machine. These last two could be due to the recent X upgrade, except I'm pretty sure they did not happen until xfce-4.10. thanks. i'll check it out.. Waitman spending some time troubleshooting this. it's a weird harold, the machine runs fine for days doing various things (but if i want X i have to log in as root first and startx, otherwise instant reboot). I've noticed that if i do a pkg_add the thing reboots, if i run SciTe editor it reboots. like snap of a finger instantly. I can do pkg_delete, i deleted cairo (but it claimed to be 1.10). i'll have to re-add somehow, might have to build from source if it won't stop rebooting :) i'll try the pkg_libchk Thanks, Waitman this is kind of strange, ls -l /usr/local/lib | grep cairo - what's up with the zero-byte files.. i did do a pkg_delete but didn't expect to see this. -rw-r--r-- 1 root wheel 0 May 30 23:16 libcairo-gobject.a -rwxr-xr-x 1 root wheel 0 May 30 23:16 libcairo-gobject.la lrwxr-xr-x 1 root wheel 0 May 30 23:16 libcairo-gobject.so - -rwxr-xr-x 1 root wheel 0 May 30 23:16 libcairo-gobject.so.2 -rw-r--r-- 1 root wheel 0 May 30 23:16 libcairo-script-interpreter.a -rwxr-xr-x 1 root wheel 0 May 30 23:16 libcairo-script-interpreter.la lrwxr-xr-x 1 root wheel 0 May 30 23:16 libcairo-script-interpreter.so - -rwxr-xr-x 1 root wheel 0 May 30 23:16 libcairo-script-interpreter.so.2 -rw-r--r-- 1 root wheel 0 May 30 23:16 libcairo.a -rwxr-xr-x 1 root wheel 0 May 30 23:16 libcairo.la lrwxr-xr-x 1 root wheel 0 May 30 23:16 libcairo.so - -rwxr-xr-x 1 root wheel 0 May 30 23:16 libcairo.so.2 -rw-r--r-- 1 root wheel 75894 Mar 5 06:32 libpangocairo-1.0.a -rwxr-xr-x 1 root wheel 1705 Mar 5 06:32 libpangocairo-1.0.la lrwxr-xr-x 1 root wheel22 Mar 5 06:32 libpangocairo-1.0.so - libpangocairo-1.0.so.0 -rwxr-xr-x 1 root wheel 53539 Mar 5 06:32 libpangocairo-1.0.so.0 ___ 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: starting xfce4 reboots machine
On Mon, May 28, 2012 at 7:42 AM, Warren Block wbl...@wonkity.com wrote: On Sun, 27 May 2012, Waitman Gobble wrote: Hi, I've been running FreeBSD 10.0-CURRENT for some months, last time i rebuilt the system was April 20th. I've rebooted my machine many times and started X and Xfce4 without any trouble, however today I'm out of town on the road and when I startx my machine reboots. If I log in as root and startx i can run xorg without xfce4. but if i try startxfce4 the machine reboots. If I try to startx without xfce4 from my non-root account it locks up. It's pretty quick and nothing I can see in the logs... Anyone have any ideas about troubleshooting??? It seems like it's out of the blue with no changes to the system that I recall. :) First, make sure you have cairo-1.10 instead of 1.12. After that, run pkg_libchk from sysutils/bsdadminscripts. Rebuild anything that says it is missing libxfce4-utils. After that, well, I still see some unsteadiness from xfce-4.10. There's a long delay on start, like a DNS timeout (but I have working DNS). Switching to console works, switching back usually does not, rebooting the machine. Leaving X and starting again reboots the machine. These last two could be due to the recent X upgrade, except I'm pretty sure they did not happen until xfce-4.10. thanks. i'll check it out.. Waitman ___ 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
starting xfce4 reboots machine
Hi, I've been running FreeBSD 10.0-CURRENT for some months, last time i rebuilt the system was April 20th. I've rebooted my machine many times and started X and Xfce4 without any trouble, however today I'm out of town on the road and when I startx my machine reboots. If I log in as root and startx i can run xorg without xfce4. but if i try startxfce4 the machine reboots. If I try to startx without xfce4 from my non-root account it locks up. It's pretty quick and nothing I can see in the logs... Anyone have any ideas about troubleshooting??? It seems like it's out of the blue with no changes to the system that I recall. :) Thanks Waitman Gobble San Jose California USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 10 prognostication...
On Sun, May 20, 2012 at 10:16 AM, Vance Siemens vance.siem...@gmail.comwrote: Maybe there is some truth to this. FreeBSD uses use clang, Apple's compiler, since FreeBSD 9: http://lists.freebsd.org/pipermail/freebsd-stable/2012-May/067486.html. On Sat, May 12, 2012 at 11:45 AM, Matthew Jacob m...@feral.com wrote: On 5/12/2012 6:25 AM, Vance Siemens wrote: Can you share a brief overview of what's wrong with it? I guess I'm not as knowledgeable as I thought. The story was quite enticing to me. Very few of the historical facts are actually correct. ___ freebsd-curr...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-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 I thought clang was a University of Illinois project. http://llvm.org/ There are notes from a meeting in 2007 when they announced clang to be part of llvm, and it appears that out of 60 attendees there were a couple of apple folks. But i don't know much more about it, maybe it is 'apple's clang'. over a decade ago i was setting up some X servers for toyota and noticed in the documentation about 'Apple Services for Windows', but getting down into the software i realized it was actually Samba. And you know I just can't seem to find the word Apple on the author's wikipedia page. http://en.wikipedia.org/wiki/Andrew_Tridgell but maybe they had something to do with it? Waitman Gobble San Jose California USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: help me please
On Fri, May 11, 2012 at 11:55 PM, Thomas Mueller muelle...@insightbb.comwrote: from Vinicio Santiago Altamirano Mendez mail@gmail.com: please can u tell me how to remapping tftp with a remapping file or exist another form?. i see that in tftp manual no exist the -m option how to do remapping on tftp on mac os x 10.6 pleas thanks. Is this question for FreeBSD or Mac OS X? This emailing list is for FreeBSD, as the email address suggests. Tom ___ 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 Gosh, it sounds kind of drastic. Have you tried fuse? http://groups.google.com/group/macfuse/browse_thread/thread/97951b355e57db56 Waitman Gobble San Jose California USA ___ 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: editor that understands CTRL/B, CTRL/I, CTRL/U
On Tue, Apr 24, 2012 at 11:10 AM, Tim Daneliuk tun...@tundraware.comwrote: On 04/24/2012 12:50 PM, Anton Shterenlikht wrote: My daughter is doing a touch typing course that presumes MS Word. So far she was fine with pico, but now they want the kids to practice CTRL/B (bold), CTRL/I (italic), CTRL/U (underline). She really needs to use these particular combinations because that is how the on-line assessment tool is set out. I use nothing but vi, so have no clue which, if any, editor from ports/editors will have these particular combinations implemented. Please recommend one, preferably as simple and as small as possible. Thanks I am not certain, but I think it is possible to create your own keyboard maps in both joe and vim... -- --**--** --- Tim Daneliuk __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org try AbiWord, /usr/*ports*/editors/*abiword* should be 'close match' to ms word... Waitman Gobble San Jose California USA ___ 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: Xorg bug
On Apr 6, 2012 10:40 AM, d...@safeport.com wrote: This is 9.0-RELEASE with all else installed via pkg_add. Xorg is 7.5.1; xdm is 1.1.11. When logging out or terminating Xorg the screen flashes a line that is the login pattern at the top of the screen. The rest of the screen is black. ctrl-alt-F1 switches to the console but the monitor is disconnected (e.g., I eventually get 'no signal' as if the system is powered down). ctrl-alt-F9 returns to the xdm login which then works normally. I am using xfce and see no problems after logging. There are no errors logged in .xsession-errors, Xorg.0.log or xdm.log. I get the same symptoms with and without hal and when Xorg is started with startx or startxfce4. xorg.conf is unmodified from a 'Xorg -configure'. The monitor driver select is radeon. The radeonhd driver crashes. The system is not down, as I can ssh into it,the only real bug is that the consoles are not available. I think this is a bug handling the monitor rather than the keyboard because of the 'no signal' indication and the ctrl-alt keys work, I just can not see whats on the console. Is additional logging available? Anybody seen one like this? _ Douglas Denault http://www.safeport.com d...@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 ___ 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 Hi, On my amd64 machine running 10.0-CURRENT with xfce4 the screen turns white when i logout or use the shutdown button. i'm running the latest in packages, will have to check the version. ssh into machine still works except that within 40 seconds or so the machine freezes. my work-around is to do shutdown -r now from terminal, which shuts down before 40 seconds :) shutdown without r does not stop it from freezing. i have not yet taken the time to troubleshoot but maybe this weekend ill get the details together and try to see what the problem is. Waitman Gobble San Jose California USA ___ 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
/usr/lib32 question
Hi, I have four files in /usr/lib32 - libc.so.7, libcrypt.so.5, librt.so.1, libthr.so.3 that are 444 root. Seems like i am unable to change permissions or remove... any idea why? or really, how to delete those files. it's an amd64 machine. Thanks, Waitman Gobble San Jose California USA ___ 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: /usr/lib32 question
On Mon, Mar 12, 2012 at 11:49 PM, Waitman Gobble gobble...@gmail.comwrote: Hi, I have four files in /usr/lib32 - libc.so.7, libcrypt.so.5, librt.so.1, libthr.so.3 that are 444 root. Seems like i am unable to change permissions or remove... any idea why? or really, how to delete those files. it's an amd64 machine. Thanks, Waitman Gobble San Jose California USA oops, duh sorry it's late. figured it out. :) chflags noschg Thanks Waitman Gobble San Jose California USA ___ 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: /usr/lib32 question
On Tue, Mar 13, 2012 at 12:06 AM, Polytropon free...@edvax.de wrote: On Mon, 12 Mar 2012 23:49:50 -0700, Waitman Gobble wrote: Hi, I have four files in /usr/lib32 - libc.so.7, libcrypt.so.5, librt.so.1, libthr.so.3 that are 444 root. Seems like i am unable to change permissions or remove... any idea why? or really, how to delete those files. it's an amd64 machine. I'm on i386 here, so I can't check, but: See if the files have additional flags set, especially the system immutable flag (schg): # ls -lo /usr/lib32 If neccessary, use: # chflags noschg /usr/lib32/* and continue trying to change permissions or remove the files in that directory. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... cool, thank you. Waitman Gobble San Jose California USa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Help compiling ffmpeg from source
On Feb 29, 2012 12:10 PM, Andy Wodfer wod...@gmail.com wrote: On Wed, Feb 29, 2012 at 3:09 PM, Andy Wodfer wod...@gmail.com wrote: On Wed, Feb 29, 2012 at 2:50 PM, Da Rock freebsd-questi...@herveybayaustralia.com.au wrote: On 02/29/12 23:48, Andy Wodfer wrote: I'm on FreeBSD 8.2 STABLE (AMD64). I need to install the latest ffmpeg 0.10, but it fails when compiling. I must admit I very rarely do it this way. Normally all software is installed from ports, but I couldn't find this version of ffmpeg there. Heres what I do: ./configure gmake and the problem looks like this: [snip] /var/tmp//ccKzWhb0.s:26921: Error: `ff_h264_norm_shift(%r10d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:26923: Error: `ff_h264_mlps_state+128(%edi)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:26931: Error: `-1(%r9d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:26936: Error: `ff_h264_norm_shift(%ecx)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27045: Error: `ff_h264_lps_range(%r9d,%r12d,**2)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27055: Error: `ff_h264_norm_shift(%r12d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27057: Error: `ff_h264_mlps_state+128(%r9d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27065: Error: `-1(%r11d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27070: Error: `ff_h264_norm_shift(%ecx)' is not a valid 64 bit base/index expression gmake: *** [libavcodec/h264_cabac.o] Error 1 Thats right, I remember this one- really simple but will get you every time! You need a newer gcc version (probably 4.6 will get you out of trouble if I remember correctly). The port already sets this, it will only bite when you're working solo. Ok - thanks! I'm currently doing this: http://www.freebsd.org/doc/en/articles/custom-gcc/article.html I will report back on how it goes. :-) Cheers, Andy So, I updated gmake to 3.82 from ports and installed gcc47 from ports. I updated /etc/make.conf as described here: http://www.freebsd.org/doc/en/articles/custom-gcc/article.html However, I don't have a libmap file so I skipped this one and the other ones below in the article. Here's some outputs: # gmake -v GNU Make 3.82 Built for amd64-portbld-freebsd8.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. # gcc -v Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.2 20070831 prerelease [FreeBSD] How do I tell the system to use gcc47 instead of 4.2.2 (if that's what causes the problems)? Compiling ffmpeg from source still failes on the same line as in my orginal post. Thanks a lot for any pointers that will help me resolve this. :-) All the best, Andy ___ 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 is there a gcc47 or maybe a typo? should be # export CC=gcc46 or # setenv CC gcc46 if building from source -- Waitman Gobble San Jose California USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Help compiling ffmpeg from source
On Wed, Feb 29, 2012 at 12:20 PM, Waitman Gobble gobble...@gmail.comwrote: On Feb 29, 2012 12:10 PM, Andy Wodfer wod...@gmail.com wrote: On Wed, Feb 29, 2012 at 3:09 PM, Andy Wodfer wod...@gmail.com wrote: On Wed, Feb 29, 2012 at 2:50 PM, Da Rock freebsd-questi...@herveybayaustralia.com.au wrote: On 02/29/12 23:48, Andy Wodfer wrote: I'm on FreeBSD 8.2 STABLE (AMD64). I need to install the latest ffmpeg 0.10, but it fails when compiling. I must admit I very rarely do it this way. Normally all software is installed from ports, but I couldn't find this version of ffmpeg there. Heres what I do: ./configure gmake and the problem looks like this: [snip] /var/tmp//ccKzWhb0.s:26921: Error: `ff_h264_norm_shift(%r10d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:26923: Error: `ff_h264_mlps_state+128(%edi)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:26931: Error: `-1(%r9d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:26936: Error: `ff_h264_norm_shift(%ecx)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27045: Error: `ff_h264_lps_range(%r9d,%r12d,**2)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27055: Error: `ff_h264_norm_shift(%r12d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27057: Error: `ff_h264_mlps_state+128(%r9d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27065: Error: `-1(%r11d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27070: Error: `ff_h264_norm_shift(%ecx)' is not a valid 64 bit base/index expression gmake: *** [libavcodec/h264_cabac.o] Error 1 Thats right, I remember this one- really simple but will get you every time! You need a newer gcc version (probably 4.6 will get you out of trouble if I remember correctly). The port already sets this, it will only bite when you're working solo. Ok - thanks! I'm currently doing this: http://www.freebsd.org/doc/en/articles/custom-gcc/article.html I will report back on how it goes. :-) Cheers, Andy So, I updated gmake to 3.82 from ports and installed gcc47 from ports. I updated /etc/make.conf as described here: http://www.freebsd.org/doc/en/articles/custom-gcc/article.html However, I don't have a libmap file so I skipped this one and the other ones below in the article. Here's some outputs: # gmake -v GNU Make 3.82 Built for amd64-portbld-freebsd8.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. # gcc -v Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.2 20070831 prerelease [FreeBSD] How do I tell the system to use gcc47 instead of 4.2.2 (if that's what causes the problems)? Compiling ffmpeg from source still failes on the same line as in my orginal post. Thanks a lot for any pointers that will help me resolve this. :-) All the best, Andy ___ 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 is there a gcc47 or maybe a typo? should be # export CC=gcc46 or # setenv CC gcc46 if building from source -- Waitman Gobble San Jose California USA OOps my bad, that's the gcc development version... stable is 4.6.2.. or gcc46 ... didn't notice there was a port :) Waitman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Help compiling ffmpeg from source
On Wed, Feb 29, 2012 at 12:37 PM, Andy Wodfer wod...@gmail.com wrote: On Wed, Feb 29, 2012 at 9:20 PM, Waitman Gobble gobble...@gmail.com wrote: On Feb 29, 2012 12:10 PM, Andy Wodfer wod...@gmail.com wrote: On Wed, Feb 29, 2012 at 3:09 PM, Andy Wodfer wod...@gmail.com wrote: On Wed, Feb 29, 2012 at 2:50 PM, Da Rock freebsd-questi...@herveybayaustralia.com.au wrote: On 02/29/12 23:48, Andy Wodfer wrote: I'm on FreeBSD 8.2 STABLE (AMD64). I need to install the latest ffmpeg 0.10, but it fails when compiling. I must admit I very rarely do it this way. Normally all software is installed from ports, but I couldn't find this version of ffmpeg there. Heres what I do: ./configure gmake and the problem looks like this: [snip] /var/tmp//ccKzWhb0.s:26921: Error: `ff_h264_norm_shift(%r10d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:26923: Error: `ff_h264_mlps_state+128(%edi)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:26931: Error: `-1(%r9d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:26936: Error: `ff_h264_norm_shift(%ecx)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27045: Error: `ff_h264_lps_range(%r9d,%r12d,**2)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27055: Error: `ff_h264_norm_shift(%r12d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27057: Error: `ff_h264_mlps_state+128(%r9d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27065: Error: `-1(%r11d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27070: Error: `ff_h264_norm_shift(%ecx)' is not a valid 64 bit base/index expression gmake: *** [libavcodec/h264_cabac.o] Error 1 Thats right, I remember this one- really simple but will get you every time! You need a newer gcc version (probably 4.6 will get you out of trouble if I remember correctly). The port already sets this, it will only bite when you're working solo. Ok - thanks! I'm currently doing this: http://www.freebsd.org/doc/en/articles/custom-gcc/article.html I will report back on how it goes. :-) Cheers, Andy So, I updated gmake to 3.82 from ports and installed gcc47 from ports. I updated /etc/make.conf as described here: http://www.freebsd.org/doc/en/articles/custom-gcc/article.html However, I don't have a libmap file so I skipped this one and the other ones below in the article. Here's some outputs: # gmake -v GNU Make 3.82 Built for amd64-portbld-freebsd8.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. # gcc -v Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.2 20070831 prerelease [FreeBSD] How do I tell the system to use gcc47 instead of 4.2.2 (if that's what causes the problems)? Compiling ffmpeg from source still failes on the same line as in my orginal post. Thanks a lot for any pointers that will help me resolve this. :-) All the best, Andy ___ 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 is there a gcc47 or maybe a typo? should be # export CC=gcc46 or # setenv CC gcc46 if building from source -- Waitman Gobble San Jose California USA Yes, gcc47 was out a few days ago. So, I'm making some progress. I now export CC=gcc47 and by adding this ./configure --extra-cflags=-DBROKEN_RELOCATIONS (what does this mean/do???) I'm able to get past the h264 compile fail. However, I now stop at vp5 with the following message: CC libavcodec/vp5.o /var/tmp//ccmvakth.s: Assembler messages: /var/tmp//ccmvakth.s:323: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccmvakth.s:436: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccmvakth.s:548: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccmvakth.s:669: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccmvakth.s:920: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccmvakth.s:1136: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccmvakth.s:1422: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
Re: Help compiling ffmpeg from source
On Wed, Feb 29, 2012 at 1:03 PM, Andy Wodfer wod...@gmail.com wrote: On Wed, Feb 29, 2012 at 9:46 PM, Waitman Gobble gobble...@gmail.comwrote: On Wed, Feb 29, 2012 at 12:37 PM, Andy Wodfer wod...@gmail.com wrote: On Wed, Feb 29, 2012 at 9:20 PM, Waitman Gobble gobble...@gmail.com wrote: On Feb 29, 2012 12:10 PM, Andy Wodfer wod...@gmail.com wrote: On Wed, Feb 29, 2012 at 3:09 PM, Andy Wodfer wod...@gmail.com wrote: On Wed, Feb 29, 2012 at 2:50 PM, Da Rock freebsd-questi...@herveybayaustralia.com.au wrote: On 02/29/12 23:48, Andy Wodfer wrote: I'm on FreeBSD 8.2 STABLE (AMD64). I need to install the latest ffmpeg 0.10, but it fails when compiling. I must admit I very rarely do it this way. Normally all software is installed from ports, but I couldn't find this version of ffmpeg there. Heres what I do: ./configure gmake and the problem looks like this: [snip] /var/tmp//ccKzWhb0.s:26921: Error: `ff_h264_norm_shift(%r10d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:26923: Error: `ff_h264_mlps_state+128(%edi)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:26931: Error: `-1(%r9d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:26936: Error: `ff_h264_norm_shift(%ecx)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27045: Error: `ff_h264_lps_range(%r9d,%r12d,**2)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27055: Error: `ff_h264_norm_shift(%r12d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27057: Error: `ff_h264_mlps_state+128(%r9d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27065: Error: `-1(%r11d)' is not a valid 64 bit base/index expression /var/tmp//ccKzWhb0.s:27070: Error: `ff_h264_norm_shift(%ecx)' is not a valid 64 bit base/index expression gmake: *** [libavcodec/h264_cabac.o] Error 1 Thats right, I remember this one- really simple but will get you every time! You need a newer gcc version (probably 4.6 will get you out of trouble if I remember correctly). The port already sets this, it will only bite when you're working solo. Ok - thanks! I'm currently doing this: http://www.freebsd.org/doc/en/articles/custom-gcc/article.html I will report back on how it goes. :-) Cheers, Andy So, I updated gmake to 3.82 from ports and installed gcc47 from ports. I updated /etc/make.conf as described here: http://www.freebsd.org/doc/en/articles/custom-gcc/article.html However, I don't have a libmap file so I skipped this one and the other ones below in the article. Here's some outputs: # gmake -v GNU Make 3.82 Built for amd64-portbld-freebsd8.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. # gcc -v Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.2 20070831 prerelease [FreeBSD] How do I tell the system to use gcc47 instead of 4.2.2 (if that's what causes the problems)? Compiling ffmpeg from source still failes on the same line as in my orginal post. Thanks a lot for any pointers that will help me resolve this. :-) All the best, Andy ___ 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 is there a gcc47 or maybe a typo? should be # export CC=gcc46 or # setenv CC gcc46 if building from source -- Waitman Gobble San Jose California USA Yes, gcc47 was out a few days ago. So, I'm making some progress. I now export CC=gcc47 and by adding this ./configure --extra-cflags=-DBROKEN_RELOCATIONS (what does this mean/do???) I'm able to get past the h264 compile fail. However, I now stop at vp5 with the following message: CC libavcodec/vp5.o /var/tmp//ccmvakth.s: Assembler messages: /var/tmp//ccmvakth.s:323: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccmvakth.s:436: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccmvakth.s:548: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccmvakth.s:669: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccmvakth.s:920: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccmvakth.s:1136: Error
Re: Is it worthy upgrading to 9.0 ?
On Feb 28, 2012 4:13 AM, Erich Dollansky erichfreebsdl...@ovitrap.com wrote: Hi, I cannot tell how often I have said this already. I stay with the even branches until the next even branch comes out. Currently, the machine here runs 8.3 and will stick to 8 until 10.0 or 10.1 will arrive at the scene. But for technical reasons, I have left one machine on 7 after the upgrade from 6 to 8 failed. It is a very old machine and some hardware support got dropped. Erich On Tuesday 28 February 2012 15:03:45 Damien Fleuriot wrote: On 2/28/12 1:52 AM, sw2wolf wrote: uname -a FreeBSD mybsd.zsoft.com 8.2-RELEASE FreeBSD 8.2-RELEASE #3: Fri Sep 30 15:23:56 CST 2011 r...@mybsd.zsoft.com:/media/G/usr/obj/media/G/usr/src/sys/MYKERNEL i386 I am using 8.2 for a long time. And it works VERY well. Any suggestion is appreciated! This is an entirely subjective question and one that only you can answer. For example, given the number of problem reports I'm seeing on the lists, I'm going to stick with the 8-STABLE branch for still a long time, likely until 9.1 or 9.2-RELEASE. You may want to reflect on the features you currently use and whether they've been improved in 9.0-RELEASE or not (eg ZFS v28) ___ 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 10.0-CURRENT works pretty good for me, i'm running it on an intel 32 machine and an amd64 machine. i have some servers running 7, i totally skipped 8 and tried 9 for a couple of months. but i wanted better wireless hardware support so i started pulling cvs head. For kicks i'm merging updated gnu and gpl software (that's been frozen since GPLv3 hit) into 10 src (ie /usr/src/gnu and /usr/src/contrib) just to see what kind of trouble it will cause. Waitman Gobble San Jose California USA ___ 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: Question regarding SPF records
On Feb 18, 2012 8:53 AM, Jonathan Vomacka juvi...@gmail.com wrote: I am inquiring about how to setup a proper SPF record. I know there are SPF wizards/generators available but each seem to have a different opinion of what should be included and what should not be included. Let me give you a scenario of my setup, and hopefully someone can help me out. My domain is: test.com My mailserver hostname is: mail.host.com which also has a MATCHING PTR record mail.host.com (for example) resolves to 50.1.1.1 and 50.1.1.1 resolves to mail.host.com This is a STANDALONE mail server which will receive and send email without any VIP's or load balancing. There is however one additional host that will send out mail from the domain but it wont be receiving mail, it will only be used as an SMTP (outbound only) server attached to a website automailer which is on a seperate webserver... It only generates error reports and sends them out... so technically it isn't a full mail server but it will be sending (outbound only) mail on behalf of the domain. The additional host is: mail2.test.com which resolves to 50.2.2.2 and there is a Matching PTR. These are the ONLY mail servers and IP addresses that will be sending out mail from the test.com domain. Some websites say I should use -all and others say -all will cause some MTA's to reject and ~all is better to use even if those are the only two hosts sending out mail. Would you be able to assist with a solid SPF record? ___ 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 I usually choose soft fail because a user might decide to use a mobile device for email. Waitman Gobble San Jose California USA ___ 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