Re: Automating mounting of ISO images
On Wed, 23 Mar 2011 13:49:46 -0500, Ryan Coleman wrote: > I have a folder full of ISOs that we're sharing on the > network instead of having the discs available (seems > like a good idea, right?) Please use the correct terminology: FreeBSD (as any UNIX operating systems) calls them DIRECTORIES. "Folders" is something else, it's not equivalent to a directory, so "folders" is wrong. > But I want to automate the process on boot instead of > having to write a static script to do the work. > > Disc images are located in /mount/disc_images/ (all are ISOs) > They need to mount into /mount/office_files/images/FILENAME > [without the .iso extension] > > How can I do this? I've always been given these types of > scripts in the past at an old job but I don't have access > to those examples anymore. Something like this (not even tested, but quite verbose and unelegant) should work: #!/bin/sh NODE=0 for IMAGE in /mount/disc_images/*.iso; do mdconfig -a -t vnode -u $NODE -f $IMAGE mount -t cd9660 -o ro /dev/md$NODE /mount/office_files/images/`basename $IMAGE .iso` NODE=`expr $NODE + 1` done This of course assumes that you have PROPER file names. In case the ISO file names contain special characters, attention has to be paid for quoting and escaping. Worth reading: http://www.dwheeler.com/essays/filenames-in-shell.html http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html After reading it, you'll easily recognize that I did it wrong in the suggestive script. :-) I'm not sure if you can mount from ISO files directly, but maybe you can try that too. Remember unmounting the files when not in use (scripted: umount and mdconfig -d). -- 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" ___ 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: Automating mounting of ISO images
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/23/11 2:49 PM, Ryan Coleman wrote: > I have a folder full of ISOs that we're sharing on the network instead of > having the discs available (seems like a good idea, right?) > > But I want to automate the process on boot instead of having to write a > static script to do the work. > > Disc images are located in /mount/disc_images/ (all are ISOs) > They need to mount into /mount/office_files/images/FILENAME [without the .iso > extension] > > How can I do this? I've always been given these types of scripts in the past > at an old job but I don't have access to those examples anymore. Hi Ryan, You can put something like this in /etc/rc.conf to get the device files created automatically: mdconfig_md0="-t vnode -f /mount/disc_images/Image1.iso" mdconfig_md1="-t vnode -f /mount/disc_images/Image2.iso" mdconfig_md2="-t vnode -f /mount/disc_images/Image3.iso" Because these devices (/dev/md0, /dev/md1, /dev/md2) will be created before /etc/fstab is processed, you can then add the following entries in that file: /dev/md0/mount/office_files/images/Image1cd9660ro00 /dev/md1/mount/office_files/images/Image2cd9660ro00 /dev/md2/mount/office_files/images/Image3cd9660ro00 Check out the rc(8) man page (http://bit.ly/fuwn5n) for more information about how the startup scripts work, as well as the one that processes the device creation directives above - /etc/rc.d/mdconfig Finally, you can always add your own custom startup scripts to /usr/local/etc/rc.d if you need to do something that the standard startup scripts can't handle. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2KTn4ACgkQ0sRouByUApCAiwCfZzO8jnaKIFxuOoZotU8Ac49I MMIAni1KMFDqLe1YeMaS/LZUsgrV1PfY =JUk3 -END PGP SIGNATURE- ___ 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: google browser?
Sorry for top-posting - my 'phone makes doing it properly difficult. There is a similar extension to Vimperator for Chromium, but it's name escapes me (Vimeo?). Last time I checked though it didn't work on the FreeBSD version. After some time with Vimperator now, I find myself futilely bashing 'o' and 'j' and 'H' when browsing using IE on my works machine. Peter Harrison www.4harrisons.blogspot.com - From: "Chip Camden" Subject:Re: google browser? Date: 16th February 2011 16:06 Quoth Devin Teske on Wednesday, 23 July 2008: > On Feb 16, 2011, at 12:39 AM, Mihai Donțu wrote: > > > On Wednesday 16 February 2011 09:09:44 Gary Kline wrote: > >> Anybody know how to use this "Chrome"? I don't see any places to > >> plug in players ... like vlc, etc. Can't find and back/Forward > >> icons, nothing like firefoxI give it all three thumbs > >> down. > >> > >> Would still like to see GOOG have its own "twitter" and "facebook" > >> tho. > >> > >> Anybody else have the browser on FBSD?? > > > > I haven't tried it, but maybe it works under the FreeBSD Linux emulation. I > > found some build hints here too: http://wiki.freebsd.org/Chromium , however > > it > > definitely needs some love from a dedicated FreeBSD developer. > > > > I use Google Chrome (or Chromium - depends on how bleeding edge I want to > > be) > > on Linux. I'm amazed by the speed with which the project progresses and the > > incredible feel of the browser itself. > > I've heard certain noises on this list that the current port-maintainer of > Chromium has dropped the ball (not my words, just paraphrasing the sentiment > from the below thread). > > http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=890197+893402+/usr/local/www/db/text/2010/freebsd-questions/20101231.freebsd-questions > > The OP's concerns about security vulnerabilities (though voiced over 30 days > ago) still appear to be of concern (that is to say, nothing appears to have > changed except some _minor_ work on January 18th this year by rene). > > However, Freshports still has a less-than-favorable status for this port: > http://www.freshports.org/www/chromium/ > > Now... that being said, I have a co-worker that is running Chromium every day > on FreeBSD-8.1 and he's very happy with it. Though, given the above > consideration, both him and I have decided to _not_ deploy this browser in > production (at least until we can get some love on those vulnerabilities). > > So, I guess I'd like to throw the query out there... > > If you had to pick between Firefox and Chrome for distribution to >1000 > FreeBSD systems running 8.1 in production... which would you choose? We're > heavily leaning toward Firefox, but would love to hear other's opinions of > Chrome (if it requires Linux emulation, that may be a death-knell, leaving > Firefox the only real choice???). The chromium port does not require Linux emulation. Generally, I prefer chrome over firefox from the standpoint of performance and reliability, but the security issues in the port have put me off it. Meanwhile, I've become rather dependent on the Vimperator and GreaseMonkey extensions for Firefox, so I'm unlikely to change back to chrome even when its security issues are finally sorted. -- Sterling (Chip) Camden | sterl...@camdensoftware.com | 2048D/3A978E4F http://chipsquips.com | http://camdensoftware.com | http://chipstips.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"
protect a single interface with IPFW ?
Hello is it possible to protect a single interface with IPFW my server has only one interface and I want to allow only SSH LDAP LDAPS thanks for any examples ___ 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: Which php??
> Lots of warnings:: > > > Deprecated: Directive 'register_long_arrays' is deprecated in PHP > 5.3 and greater in Unknown on line 0 > > Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 > and greater in Unknown on line 0 > PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 11 2011 12:31:01) > (DEBUG) > Copyright (c) 1997-2009 The PHP Group > Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies > This is kinda good, at least its installed ! To turn off deprecated notices in looging: edit /usr/local/etc/php.ini ( approx line 523) error_reporting = E_ALL & ~E_DEPRECATED Make php log errors: ( line approx 646) error_log = /var/log/php_errors.log then try php -v from shell, ___ 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: Which php??
On 11/01/2011 16:46, Gary Kline wrote: > > > So:: are there other ways of installing this stuff? Should I > cp -rp this wordpress directory in [e.g.] > /usr/local/www/journey? > > Thanks for any clues, > > gary > It looks like you have a workign apache2 already. *For PHP *cd /usr/ports/lang/php5 make config ( choose apache module) make install clean *PHP5 Extensions *(lots to choose from but make sure you have mysql at least selected ( you'll need this installed obv for wordpress too ) cd /usr/ports/lang/php5-extensions make config make install clean in your apache httpd.conf in the "AddType" section add AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps In the DirectoryIndex section (or on a new line after it) Add this line DirectoryIndex index.php index.html index.htm *Checks *On shell do php-v on a webpage in your webroot (e.g test.php) add this php code http://localhost/test.php If that shows you a nice php page then you should be good to go with the wordpress installer Good luck! Paul. -- - Paul Macdonald IFDNRG Ltd Web and video hosting - t: 0131 5548070 m: 07534206249 e: p...@ifdnrg.com w: http://www.ifdnrg.com - IFDNRG 40 Maritime Street Edinburgh EH6 6SA - ___ 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"
problem with shell script
Hello I'm in trouble with a simple shell script that give erroneous value when running ... If I run commands interactively everything runs well > ps ax | grep slapd | grep -v grep | wc -l 1 If I run in the following shell script : #!/bin/sh SD=0 SD=`ps -ax | grep slapd | grep -v grep | wc -l` echo $SD the result is 3 !!! Any info welcome ! ___ 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"
pseuadofs security announcement...
CouLd someone confirm my reading of the pseudofs security announcement issued yesterday? It seems that it only applies to 7 prior to 7.3 and 8 prior to RC1. This means that it doesn't apply to 8.1-R, correct? TIA Peter. Peter Harrison www.4harrisons.blogspot.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"
Re: Android usb tethering
On Tue 2/11/10 11:37 AM , freebsd-questi...@herveybayaustralia.com.au wrote: On Tue 2/11/10 10:11 AM , Alejandro Imass wrote:On Mon, Nov 1, 2010 at 6:25 PM, Ivan Voras wrote: > On 11/01/10 15:42, Mark Atkinson wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 [...] > In the above messages, the kernel detaches the storage device (umass) and > tries to attach the new device, which doesn't have a driver so it's attached > as "ugen" - generic USB. > Yes. One has to remember that USB is just the bus just like pci, microchannel, etc. Even though you have access to the device on the bus you still need a driver for that specific ethernet chip your kernel. This is analogous to having a video card on the pci bus, you still need for the kernel to drive the specific chipset of the card regardless if it can see it on the bus. I have an HTC Nexus One so I may fiddle with this and see if I can help some more here. I am wishful that at least we can get a tty just like other gsm modems and from there it's pretty straight forward using wvdial or alike. If it's only the Ethernet over usb like you mention, then the chipset driver would have to be translated/ported to the FBSD kernel, if it's not already there ? Ok. But I will clarify here: The HTC Android systems uses an "Internet Sharing" feature- essentially Google has coded in routing/nat system into the base OS (probably moding the leftover code already in the linux base), and is trying to allow similar using bluetooth and wifi at a later date as well. The RNDIS is a M$ system that allows sharing anything over USB (network, files, etc- but all essentially operated as network anyway), something they've been playing with for some years- I was looking for an A-A USB cable since around 2003 or so to quickly transfer files when needed. Apparently M$ opened the specs a year or two ago and everyone's jumped on to use it. So where Google started was to start allowing the use of the router/nat via RNDIS USB - somehow this was easier than allowing bluetooth or wifi (probably security and available hardware features). So yes, apparently the phone hooks up as a usb mass storage device, uploads a file to the computer, and disconnects and becomes a network device. Here is the output from linux: usb 2-2.2: new high speed USB device using ehci_hcd and address 4 usb 2-2.2: configuration #1 chosen from 1 choice scsi9 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 4 usb-storage: waiting for device to settle before scanning usb 2-2.2: New USB device found, idVendor=0bb4, idProduct=0ff9 usb 2-2.2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb 2-2.2: Product: Android Phone usb 2-2.2: Manufacturer: HTC usb 2-2.2: SerialNumber: SH07TNX00726 usb-storage: device scan complete scsi 9:0:0:0: Direct-Access HTC Android Phone0100 PQ: 0 ANSI: 2 sd 9:0:0:0: [sdf] Attached SCSI removable disk sd 9:0:0:0: Attached scsi generic sg6 type 0 usb 2-2.2: USB disconnect, address 4 usb 2-2.2: new high speed USB device using ehci_hcd and address 5 usb 2-2.2: configuration #1 chosen from 1 choice usb 2-2.2: New USB device found, idVendor=0bb4, idProduct=0ffe usb 2-2.2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb 2-2.2: Product: Android Phone usb 2-2.2: Manufacturer: HTC usb 2-2.2: SerialNumber: SH07TNX00726 usbcore: registered new interface driver cdc_ether usb0: register 'rndis_host' at usb-:00:04.1-2.2, RNDIS device, ae:f6:3d:da:20:39 usbcore: registered new interface driver rndis_host usbcore: registered new interface driver rndis_wlan usb0: no IPv6 routers present usb 2-2.2: USB disconnect, address 5 usb0: unregister 'rndis_host' usb-:00:04.1-2.2, RNDIS device So. What would be my next step to make this work? OpenMoko have something similar and I tried moding some of their scripts (they've made theirs work with ALL OS- not just linux and Winblow$! Take heed manufacturers!) but it didn't mesh on the Android. I still end up with a generic host. As I mentioned, I tried modifying the cdce driver and the device list but that didn't help either, so when I moded the scripts and devd.conf I figured that was the missing piece of my puzzle. I'd actually pay someone to do this, but I do need to figure this out for myself anyway so I'm diving in deep and going to keep on struggling till I get it. I need it figured out before the year's end so I'm not going to sit on my laurels :) That, and a usb mass storage device emulator to trick a dumb digital photo frame > > So I have more on this: sourceforge.jp has a project rndis for freebsd. Its a little hard to navigate, but I downloaded the source code and tried to build it on 8.0. No go, but I'm not sure what usb library its using. I think it said usb2, but I'm not exactly sure what that meant (usb2.0, or libusb2, whatever). Now, I've only just quickly grabbed it a
Re: need help with php.
Sorry for top posting - I'm stuck on my phone. Shouldn't that be: use perl; ;-) Peter Harrison www.4harrisons.blogspot.com - From: "Alejandro Imass" Subject:Re: need help with php. Date: 20th October 2010 21:28 On Wed, Oct 20, 2010 at 1:49 PM, Gary Kline wrote: > On Wed, Oct 20, 2010 at 12:42:36PM +0300, Odhiambo Washington wrote: >> On Wed, Oct 20, 2010 at 5:34 AM, Alejandro Imass wrote: >> > Anyway, thanks, Wash, for your cookbook backup commands. ((See, > ***this*** is why I am not among the early adopters; it's why > I'm still at 7.3, etc, etc. )) > > Anyway, I'll try backing up and trying again, > > gary Yeah well, it's not so much the OS's fault here. I've said it before: the PHP people are crazy and irresponsible with their upgrades. I have never had these problems with Perl in the entire 5.x lifetime!!! If you want to avoid future problems I'd drop PHP altogether. I ask for appologies beforehand if this raises a language flame, but PHP sucks in so many ways that it would just take me too long to write. Use Perl. Best, Alejandro Imass ___ 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: Netbooks & BSD
Sorry for top posting - I'm stuck on my phone. I successfully installed FreeBSD on my Lenovo Ideapad before the memstick image was available by pulling the circuitry guts out of a USB HD and hooking it to a standard internal IDE CD-ROM. Wasn't pretty, but it worked. Best avoiding Ideapads generally though because of ACPI issues. Peter Harrison www.4harrisons.blogspot.com - From: "David Brodbeck" Subject:Re: Netbooks & BSD Date: 20th October 2010 19:33 On Wed, Oct 20, 2010 at 10:32 AM, Gary Kline wrote: > Sure, the optical uses [I think] a USB connector. Pretty sure > that all these tiny "toys" are made at one factory! and then > labeled by the vendor. If all the opticals are essentially > the same, then great. I think they all pretty much follow the same standard. I've even had success using an IDE CD-ROM drive plugged into a USB-to-IDE adapter cable, before. ___ 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: Clean up / filesystem
On Sun, Oct 10, 2010 at 8:40 AM, Mike Clarke wrote: > On Saturday 09 October 2010, Arthur Chance wrote: > >> Not if running an X desktop, as all sorts of things get stuck in /tmp >> that are needed. In single user mode it should be safe, and it >> probably is when simply running on the console. >> >> As a long term solution, if you wish to clear /tmp every reboot add >> clear_tmp_enable="YES" # Clear /tmp at startup. >> to your /etc/rc.conf > You may also want to consider changing /tmp to be a TMPFS file system add the line tmpfs /tmptmpfs rw,mode=01777 0 0 to /etc/fstab (and remove any other /tmp lines). A warning will come saying that it is highly experimental - but I've been running with it for a while now without any issues. -- 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" ___ 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[2]: How to obtain which interrupts cause system to hang?
On Sun, 10 Oct 2010, ??? ??? wrote: > >> #systat -v > >> 1 usersLoad 0.74 0.71 0.55 Oct 9 19:53 > IS> [..] > >> Proc: > Interrupts > >> r p d s w Csw Trp Sys Int Sof Flt 24 cow2008 > total > >> 2 3 39 23k 67 5639 1710 47 15 zfod 9 > ata0 irq14 > >> ozfod > nfe0 irq23 > >> 23.1%Sys 50.8%Intr 1.3%User 0.0%Nice 24.8%Idle%ozfod 1999 > cpu0: time > >> ||||||||||| daefr > >> +> 6 prcfr > > IS> Yes, system and esp. interrupt time is heavy .. 23k context switches!? > > IS> In addition to b. f.'s good advice .. as you later said, 2000 Hz slicing > IS> _should_ be ok, unless a slow CPU? Or perhaps a fast CPU throttled back > IS> too far .. powerd? Check sysctl dev.cpu.0.freq while this is happening. > > IS> Disable p4tcc if it's a modern CPU; that usually hurts more than helps. > IS> Disable polling if you're using that .. you haven't provided much info, > IS> like is this with any network load, despite nfe0 showing no interrupts? > Polling is ON. Traffice is about 60Mbit/s routed from nfe0 to vlan4 on rl0 > when interrupts are happen traffic slow down to 25-30Mbit/s. Out of my depth. If it's a net problem - maybe not - you may do better in freebsd-net@ if you provide enough information (dmesg plus ifconfig, vmstat -i etc, normally and while this problem is happening). > There is no p4tcc option in KERNEL config file. No, it can be enabled by cpufreq(4). See dmesg for acpi_throttle or p4tcc, but it looks like you might not have device cpufreq in your kernel or loaded, or dev.cpu.0.freq and more would have shown below. > disable/enable polling does not help. situation still same. > sysctl -a | grep freq > kern.acct_chkfreq: 15 > kern.timecounter.tc.i8254.frequency: 1193182 > kern.timecounter.tc.ACPI-fast.frequency: 3579545 > kern.timecounter.tc.TSC.frequency: 1809280975 > net.inet.sctp.sack_freq: 2 > debug.cpufreq.verbose: 0 > debug.cpufreq.lowest: 0 > machdep.acpi_timer_freq: 3579545 > machdep.tsc_freq: 1809280975 > machdep.i8254_freq: 1193182 Only useful for what it doesn't show :) > >> How to obtain what nasty happen, which process take 36-50% of CPU > >> resource? > > IS> Try 'top -S'. It's almost certainly system process[es], not shown above. Does that not show anything? Also, something like 'ps auxww | less' should show you what's using all that CPU. I'm out of wild clues. cheers, Ian ___ 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: ACPI & battery issues
Sorry for the top post - I'm on my mobile. I get the same messages with the stock acpi on a Lenovo S10e. Someone on the acpi list (who's name I forget) wrote a patch which removes the error. If you think it might help I'll root it out and forward it on. Regards, Peter Harrison www.4harrisons.blogspot.com - From: "Eitan Adler" Subject:ACPI & battery issues Date: 02nd October 2010 15:43 I see ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] (20100331/evregion-588) ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6adba60), AE_NO_HARDWARE_RESPONSE repeatedly in dmesg sysctl's relating to battery information is also slow: % time sysctl hw.acpi.battery.state hw.acpi.battery.state: 7 sysctl hw.acpi.battery.state 0.00s user 2.18s system 72% cpu 3.006 total % time sysctl hw.acpi.battery hw.acpi.battery.life: -1 hw.acpi.battery.time: -1 hw.acpi.battery.state: 7 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 sysctl hw.acpi.battery 0.00s user 6.58s system 67% cpu 9.779 total also note that the life and time are both negative one. This is on a Lenovo G530 laptop. -- 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" ___ 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: this is probably a little touchy to ask...
- From: "Eirik Øverby" Subject:Re: this is probably a little touchy to ask... Date: 10th September 2010 16:20 On 10. sep. 2010, at 16:29, mer...@stonehenge.com (Randal L. Schwartz) wrote: >> "Mark" == Mark Sommer writes: > > Mark> That's a pretty idealistic view of the upcoming release of HTML5. > Mark> I have yet to see a release of HTML that is compatible across > Mark> browsers, i.e. adapted universally by all browsers uniformly. > Mark> Java is still a very viable platform, even on the browser. > > Whenever I see Java firing up on my browser, I cringe. (Flash too.) > > There are darn few things either of these do that a good modern > cross-platform library, like jQueryUI, can't do instead. > > Except for video playback, which HTML5 fixes as well. And yes, until > then, we're stuck with Flash. > > We needed Java before we had good JavaScript. Now we have good > JavaScript. > > I repeat... Java had its day. Time to move on. You are forgetting - or conveniently ignoring - that many still NEED Java support in their browsers - and not of their own choice. Banks, insurances, digital signature services etc. Still frequently use Java as carrier for their services. Often this cannot be changed easily as such organizations have long turn-around times and make investments in the long term. Java is still very much alive, and until html5 can validate and run signed code it'll stay that way even on the client. And that is just one of the reasons/scenarios. I'm not using FreeBSD on the desktop for just this kind o reasons. I'm sure it would be a great choice in an ideal world but we are unfortunately living in a real one. So either one takes the time to implement what people _need_ in addition to what you would prefer them to need, or the desktop can as well be ditched and focus moved to improving FreeBSD for servers, where it already excels. /Eirik I've been running FreeBSD as my sole desktop since 5.2.1. I bank and shop online. I do not have either Java or Flash installed. I have yet to find any functionality missing because of the lack of Java. Some sites make accessing them difficult without Flash, but I consider that their problem and move on. FreeBSD isn't just good for servers. Peter Harrison www.4harrisons.blogspot.com > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 > http://www.stonehenge.com/merlyn/> > Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. > See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion > ___ > freebsd-j...@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-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" ___ 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"