Re: How to dual-boot FreeBSD 9 with Linux?
- Original Message - From: Thomas Mueller mueller6...@bellsouth.net To: freebsd-questions@FreeBSD.org Cc: Sent: Saturday, October 29, 2011 4:47 AM Subject: Re: How to dual-boot FreeBSD 9 with Linux? Is any one by now successfully dual-booting FreeBSD 9 with Linux? I have tried with OpenSuse 11.4 with FreeBSD 9. OpenSuse installs Grub1 to mbr. Grub1 doesn't seem to support FreeBSD 9. It cannot recognise the file system +type. Any help in this regard is very much appreciated. Many thanks in advance. Unga Not yet, but I intend to, once I get Linux built and installed, possibly starting with a cross-compile from FreeBSD 9. On my older computer, i386 (32-bit), I dual-boot FreeBSD 8.2 and Linux (Slackware) using LILO, also FreeDOS on another hard disk, can even boot grub4dos and Plop (http://www.plop.at/) boot manager from LILO. Can you use rootnoverify with grub1 (you must mean grub 0.97)? Yes, it is 0.97. You could also try grub2, which is in the ports under sysutils. Is your hard disk partitioned MBR or GPT? Its MBR. My hard disk is partitioned GPT, I still can't boot the hard disk directly, but using the System Rescue CD (http://sysresccd.org/), I go to the Super Grub Disk in the floppy images, hit c to get to command prompt, and set root=(hd0,3) kfreebsd /boot/loader boot You would use the actual FreeBSD partition which will probably be different from (hd0,3). Tom Tom, thanks for the reply. I managed to get both OpenSUSE 11.4 and FreeBSD 9 dual-boot on i386 desktop computer. Unga ___ 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: Fast personal printing _without_ CUPS
Then I have to portupgrade hplip and dependencies (portupgrade -r ...) or the portmaster equivalent. Welcome to the wonderful world of printing on FreeBSD. By the way, is the time you are investing in this venture considered billable hours or just self-flagellation? -- Jerry ??? jerry+f...@seibercom.net This is not for any current employment (future?), so I guess it would be self-flagellation. But I do want to try the Ethernet way, may need to buy an Ethernet switch or router. I also intend to build a Linux installation, don't really want to be without that. Linux has the best hardware and software support of any open-source OS; I don't think there is any argument about that: not to downgrade FreeBSD. 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
Re: Fast personal printing _without_ CUPS
On Fri, 28 Oct 2011 17:27:03 -0500 (CDT) Robert Bonomi articulated: Your insistance on trying to impose -your- standards on the world, and denying them the 'freedom of choice' to make their own decisions on the matter -- e.g. anyone offering such products should be to some degree held legally responsible to their worth -- is a fascist mind-set. You 'know better' than anybody else, what is 'right' _for_ them. snort BTW, I'd _love_ to see Microsoft held legally respnsible for _their_ product shortcomings. They'd be out of business in a week at the outside. Once again your argument is pathetic. Microsoft has been held legally responsible by laws written to curtail the robber barons (railroad oil) of the 19 and early 20th century.) Of course the EC, or is that the USSREC, strongly backed (pushed) by Opera, a maker of a web browser so pathetic that in two years a new upstart, Chrome actually has a larger market share, led a fight to curtail Microsoft's market share. This is Fascism at its best. A totally free and open market is the best way to insure the survival of the fittest. Of course socialists cannot survive in that environment and rush off to find ways of getting governments involved in protecting their turf. I have absolutely no problem with holding Microsoft legally responsible when they release a product with a bug or security flaw. However, this must be enforced across the board and against every entity that releases software irregardless of its price. It should probably even include port maintainers who release defective ports. Lets be honest, if that is even possible for a socialist like yourself, that if you want to go down that road then lets go -- all the way. Microsoft's very existence depends on its ability to create an operating system that allows users to fully use programming and devices that they choose to deploy. If they cannot achieve that goal then they die, or else have a market share equivalent to FreeBSD, virtually undetectable. Microsoft has done a fairly good job of that. FreeBSD, an the other non-windows operating systems, have not achieved that goal although a few forward thinking developers like those associated with Ubuntu have made huge strides in that direction. When it comes to technological advances, FreeBSD is at the bottom of the list. It is there primarily because of people who are simply willing to accept inferiority as the norm. I know I piss people off by my style of writing. I am just not the sort of person, a socialist primarily, who bends over and takes it up the ass everyday rather than say ENOUGH, lets fix this friggin mess. You cannot even get a decent N - protocol wireless device, or even a not so decent one for that matter, to work on FreeBSD while the rest of the world has had working solutions for 5 years. What the hell are they waiting for -- the second coming of the invisible man in the sky? Friggin PATHETIC. However, our esteemed leadership has managed to bump the version numbers from at least 6 to the soon to be 9 and we still have no working solution for an easy method of securing and installing printer drivers, or any drivers for that matter. Having to modify obscure system files and settings to get a simple sound card to work is always a PLUS. Pathetically enough, there are users who do actually feel that way. Microsoft sells it products for money -- in some cases a lot of money. FreeBSD and the open-source community as a whole (hole?) gives it away. Yet Microsoft controls over 90% of the home market. That alone proves my point. You cannot crate an inferior product and expect the general population to use it simply because you give it away? This discussion has gone on long enough and I am already bored by it. There are some posters like Poly who, while I am aware of his deeply rooted socialist concepts does actually raise some really useful ideas and actually to some degree attempts to qualify them. At the very least, he is willing to discuss them -- something extremely rare in this arena. Then there are posters like Chad who simply spews the company line -- Microsoft is bad, we are good, the corporations owe us, bla bla bla. You cannot hold an intelligent conversation with them because their mind is closed. I know that as would anyone who reads this forum with an open mind. Then Robert, there is you. A perfect example of a large majority of users here who would rather bend over every day and smile as it is rammed up your ass rather than scream, ENOUGH ALL READY -- LETS FIX THIS FRIGGIN MESS NOW!. You Robert are the reason that FreeBSD and to a large extent other non-windows OSs are trailing the pack. You have been brain washed to believe that inferiority is the norm and to accept it. Like a good little socialist you have fallen in line. The problem with that philosophy Robert is if you are not the lead dog, the view never changes. -- Jerry ✌ jerry+f...@seibercom.net Disclaimer: off-list followups get on-list replies or
Abstraction leakage burning test DVD+R
Hello, After my dump/restore test failed back in May of 2010[1], I finally got around to burning a test DVD after installing about 2.5 inches of semi-rigid foam under the machine to dampen any local vibration. In designing the test, I was under the mistaken impression that buffer under-runs would reduce the amount of space for writing. Apparently, DVD+R media supports loss-less linking[2]. Test Procedure (using ATAPI interface, rather than the newer ATAPI/CAM interface). The man pages do not imply any major differences for this test. The drive in question is a LG drive with the SuperMulti logo. Test procedure: 1.# mkfifo auxout aux45G 2. In other terminals: # cat auxout | md5 # dd if=aux45G count=2197266 bs=2048 | md5 3. Write test disk: # dd if=/dev/urandom bs=2048 count=2295104 | \ tee auxout aux45G | dd of=/dev/acd0 bs=2048 Error: dd:/dev/acd0: Input/output error 679+0 records in 678+0 records out 1388544 bytes transferred in 80.97 seconds (step 4 not completed due to premature burn failure after 684 blocks, 80 seconds (from 'dd if=aux45G'...) (15743 bytes/sec)) Drive spun up at least twice during this time. 4. Read test (in another term 'cat aux45G | md5') # dd if=/dev/acd0 bs=2048 count=2295104 | tee aux45G | md5 Questions: Currently, the drive is locked. Before forcefully ejecting it and risking an new disk, I want to know what may have gone wrong. Was I expecting too much of FreeBSD on old hardware? The hardware is a Pentium-II desktop machine with 256MB of RAM, with a Promise ATA100 controller card. An extra-long 80-wire cable is in use (to ad4). acd0: DVDR HL-DT-STDVD-RAM GSA-H55N/1.03 at ata-1-master UDMA33 ad4: 78167MB Maxtor 6Y080L0 YAR41WB0 at ata-2-master UDMA100 dd if=/dev/urandom of=/home/test Wrote at 4485315 bytes/second: faster than I was expecting (based on linux's slow urandom function), but still slow enough to cause buffer under-runs. So the second question is: do I have to do anything special to enable buffer underrun protection? (with DVD+R's lossless linking feature, no data should be lost.) How important is running ATAPI/CAM? Obviously DVD burning was happening before the release of version 8, as far as I know. If running out of data is supposed to be abstracted away, did I find a bug that only shows up on old hardware or heavy load? (Or possibly drive firmware bug?) Regards, James Phillips # uname -a FreeBSD dusty.inet 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 [1] dump/restore (to DVD+R) test failure http://docs.freebsd.org/cgi/getmsg.cgi?fetch=290415+0+archive/2010/freebsd-questions/20100530.freebsd-questions [2] Why DVD+R(W) is superior to DVD-R(W) http://www.myce.com/article/Why-DVDRW-is-superior-to-DVD-RW-203/ PS: is signing messages on the mailing list a faux-pas? -- OpenPGP Public Key: http://phillipsjk.ca/signature0611.txt signature.asc Description: Digital signature
update packages by pkg_add
Hi, Using version 8.2, can somebody tell me how I can upgrade packages that I installed using pkg_add? I'm trying to install more packages but get messages that there are package-conflicts because of older installed version. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: update packages by pkg_add
On Saturday 29 October 2011, hvn wrote: Using version 8.2, can somebody tell me how I can upgrade packages that I installed using pkg_add? I'm trying to install more packages but get messages that there are package-conflicts because of older installed version. pkg_delete -f name-of-package pkg_add name-of-package-file The pkg_delete command needs the full name of the package including the version number at the end. Since you're going to immediately re-install the package you don't need to worry about any warning messages saying that the package is needed by other packages. The above pkg_add command will install a package from a file that you've already downloaded. If you don't have the package file then you can fetch and install the package from an FTP site with the command: pkg_add -r name-of-package -- Mike Clarke ___ 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: Fast personal printing _without_ CUPS
While political and economic issues are important, most of them are not directly relevant to the freebsd-questions mailing list, and reduce the usefulness of the list in helping people get answers to questions about FreeBSD. Please continue such subjects somewhere else, like private email or another mailing list. http://xkcd.com/386/ might also be helpful. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: update packages by pkg_add
On Sat, 29 Oct 2011, hvn wrote: Using version 8.2, can somebody tell me how I can upgrade packages that I installed using pkg_add? I'm trying to install more packages but get messages that there are package-conflicts because of older installed version. sysutils/bsdadminscripts has a pkg_upgrade script. ___ 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: update packages by pkg_add
On Sat, Oct 29, 2011 at 3:01 PM, Mike Clarke jmc-freeb...@milibyte.co.ukwrote: On Saturday 29 October 2011, hvn wrote: Using version 8.2, can somebody tell me how I can upgrade packages that I installed using pkg_add? I'm trying to install more packages but get messages that there are package-conflicts because of older installed version. pkg_delete -f name-of-package pkg_add name-of-package-file The pkg_delete command needs the full name of the package including the version number at the end. Since you're going to immediately re-install the package you don't need to worry about any warning messages saying that the package is needed by other packages. The above pkg_add command will install a package from a file that you've already downloaded. If you don't have the package file then you can fetch and install the package from an FTP site with the command: pkg_add -r name-of-package -- Mike Clarke Thank you for your answer. But how about if the package-to-be-replaced is a dependency? Just remember the dependency and do the same ? ___ 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: update packages by pkg_add
On Sat, 29 Oct 2011 17:53:28 +0200, Huub van Niekerk wrote: Thank you for your answer. But how about if the package-to-be-replaced is a dependency? Just remember the dependency and do the same ? As you're going to reinstall the package immediately, there won't be a problem. Of course, a depending program won't properly run until you've actually replaced the package in question. For keeping track of dependencies, you can also use portmaster or portupgrade and use -P and -PP options to work with packages (like pkg_add does) instead of compiling from sources. The pkgdb -aF command will properly store dependency informations. -- 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
Samba/CIFS, what I'm serving?
Hi, I've installed Samba on my server to share some directories to Windows machines. It is working very well. Since a couple of days, I noted the whole server's performance was slow, then I started to check open ports, stopped some services, until samba was the only service still working (my wife's windows box had some shared files opened). I wonder if there's a way to configure CIFS to speed this up. Leonardo. ___ 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
Strange httpd-error.log
Hi, I installed the Apache::MP3 module, to stream mp3 files, it works ok, but I found this on my httpd-error.log: [Sat Oct 29 15:11:03 2011] [notice] Digest: generating secret for digest authentication ... [Sat Oct 29 15:11:03 2011] [notice] Digest: done [Sat Oct 29 15:11:04 2011] [notice] mod_python: Creating 8 session mutexes based on 256 max processes and 0 max threads. [Sat Oct 29 15:11:04 2011] [notice] mod_python: using mutex_directory /tmp [Sat Oct 29 15:11:04 2011] [notice] Apache/2.2.18 (FreeBSD) mod_ssl/2.2.18 OpenSSL/0.9.8q DAV/2 mod_python/3.3.1 Python/2.6.5 PHP/5.3.6 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.10.1 configu Usage: /usr/local/sbin/httpd [-D name] [-d directory] [-f file] [-C directive] [-c directive] [-k start|restart|graceful|graceful-stop|stop] [-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S] Options: -D name : define a name for use in IfDefine name directives -d directory : specify an alternate initial ServerRoot -f file : specify an alternate ServerConfigFile -C directive : process directive before reading config files -c directive : process directive after reading config files -e level : show startup errors of level (see LogLevel) -E file : log startup errors to file -v : show version number -V : show compile settings -h : list available command line options (this page) -l : list compiled in modules -L : list available configuration directives -t -D DUMP_VHOSTS : show parsed settings (currently only vhost settings) -S : a synonym for -t -D DUMP_VHOSTS -t -D DUMP_MODULES : show all loaded modules -M : a synonym for -t -D DUMP_MODULES -t : run syntax check for config files -T : start without DocumentRoot(s) check [Sat Oct 29 15:11:25 2011] Wav.pm: Inline::C installed, but your C compiler doesn't seem to work with it Does anyone knows how to fix this?. Thanks in advance, Leonardo. ___ 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: update packages by pkg_add
On Sat, 29 Oct 2011, Polytropon wrote: On Sat, 29 Oct 2011 17:53:28 +0200, Huub van Niekerk wrote: Thank you for your answer. But how about if the package-to-be-replaced is a dependency? Just remember the dependency and do the same ? As you're going to reinstall the package immediately, there won't be a problem. Of course, a depending program won't properly run until you've actually replaced the package in question. For keeping track of dependencies, you can also use portmaster or portupgrade and use -P and -PP options to work with packages (like pkg_add does) instead of compiling from sources. The pkgdb -aF command will properly store dependency informations. If you are not familiar with portmaster or portupgrade, I would see if portmaster would do what you want. It is written in shell script and uses the underlying package/port files. For me it has worked well as long as I do not try to update KDE. Two other packages that are very helpful in updating are pkg_tree and pkg_cleanup. In addition, if part of your problems are perl, python and maybe php, there are make.conf variables to specify (in effect) that the versions installed should meet any dependency requirements. portdowngrade is very helpful if you have a component that is newer than what you need. I needed this to install kdiff3 a while ago. ___ 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: Fast personal printing _without_ CUPS
From owner-freebsd-questi...@freebsd.org Sat Oct 29 06:29:33 2011 Date: Sat, 29 Oct 2011 07:28:24 -0400 From: Jerry je...@seibercom.net To: FreeBSD freebsd-questions@freebsd.org Subject: Re: Fast personal printing _without_ CUPS On Fri, 28 Oct 2011 17:27:03 -0500 (CDT) Robert Bonomi articulated: Your insistance on trying to impose -your- standards on the world, and denying them the 'freedom of choice' to make their own decisions on the matter -- e.g. anyone offering such products should be to some degree held legally responsible to their worth -- is a fascist mind-set. You 'know better' than anybody else, what is 'right' _for_ them. snort BTW, I'd _love_ to see Microsoft held legally respnsible for _their_ product shortcomings. They'd be out of business in a week at the outside. Once again your argument is pathetic. What argument is that? That you are trying to impose _your_ standards on on the world? That you would deny people the freedom to make up their own minds about whether they want vendor liability, versus accepting that risk for themselves? This discussion has gone on long enough and I am already bored by it. [drivelectomy -- ad hominems, and fact-free ranting removed] Poor ignorant, ill-informed, Jerry. The fool doesn't know that there *is* an existing, absolutely 'standard -- meaning 'totally uniform across all versions of Unix, *AND* Unix look-alikes -- that is available to every printer vendor. Any printer manufacturer that so desires _can_ produce a *SINGLE* program source that will allow a 'host based' printer to work on _any_ Unix (or look-alike) platform. That program can be distributed as a single 'platform- independant' file, using any (platform independant) 'interpreted' language OF THEIR CHOICE -- e.g.Java, Perl, Python, Ruby, or anything similar -- or as a 'native' executable (although that would probably require compiling and linking on each environment) for optimum performance/efficiency. The entire specifications that this program must be written to are about eight lines long. Installation/use directions are even shorter: Put the file 'somewhere convenient' in the file system. Make sure it is marke 'executable' by all -- i.e. 'chmod a+x' Place the complete pathname of the installed file as the 'if' paramter in the '/etc/printcap' entry for the printer queue(s) for this printer, and set the 'lp' paramter to the name of the I/O port to which it is attached. Writing to -this- standard is a _lot_ of work. And it *is* understandable that very few printer manufacturers have done so. It is worth noting, though, that printer manufacturers _have_ done it. Lexmark did it for an early color ink-jet (the ZX-80), providing a SunOS host-based executable that provided, self-contained in the executable, a full Color PostScript Level 3 'driver' for that printer. A _far_simpler_ approach -- which *still* meets the requirements of 'not disclosing anything proprietary', and writing _one_ driver that works on all Unix systems -- is to write a 'device-driver' module for GhostScript. The _single_ source-code does have to be compiled for each supported CPU architecture, There is a theoretical 'worst case' of needing to produce as many as three object files ('a.out', ELF, and COFF format) for a given CPU architecture. I don't expect this to convince the frothing loon of anything. But it should demonstrate that his screaming screeds are not based in fact. ___ 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