Re: Need an audio multicasting solution
Eduardo Morras wrote: > > > >I need a solution to read sound from a soundcard (/dev/dsp) and > >multicast it into the network, for the multicast audio stream to be > >played on FreeBSD, Linux and Windows workstations. No sophisticated > >codecs needed, plain PCM would do. > > > >Can you advise something? I know that in theory there are many ways to > >implement this, but I am especially interested in personal first-hand > >experience, success stories or good white papers. Please no > >lmgtfu-type replies. Thanks very much in advance. > > You can use videolan / vlc. It allows you to multicast video too. In > September 2011 BSD Magazine you have some examples about that. I like vlc on Linux/Windows machines. But installing it to a streaming server is a pain. Even if you disable all options in "make config", it still tries to build scores of dependencies including some components of the X Window system. Not nice. Now I am experimenting with ffmpeg (with ffserver and without) with moderate success. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:suda...@sibptus.tomsk.ru ___ 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 an audio multicasting solution
Alejandro Imass wrote: > > > > > A quick look at Icecast showed that it does not support multicast either. > > It this true? If so, Icecast is completely useless for my scenario. > > > > AFAIK very few media streamers (or none) actually support real IPv4 > (Class D) Multicast. They support what is known as "application > multicast" akin to a multi-process/multi-threaded Web server. > > I don't know much about real IPv4 Multicast but I've heard it's not > that easy to do in the real world and would probably require > coordination with your ISP unless you're multicasting in a private > networks. I use multicasting in a corporate network. > Again, IMHO because I've never even attempted multicasting. It's fun and very pleasing aesthetically :) At least on Cisco. As to the original question. I have had some success with multimedia/ffmpeg, at least this: ffmpeg -i file.mp3 -acodec copy -f rtp rtp://239.8.8.8:5000 -re does send a multicast stream which can be listened to with VLC (but not mplayer for some reason) on multiple hosts. Now I need to figure out how to stream live sound from /dev/dsp. All my attemps to record sound from a USB audio interface have resulted so far in a severely distorted growl instead of normal voice. Does anybody know how to figure out the sampling rate and other parameters of the sound card? "cat /dev/sndstat" does not output anything really useful. > > Why do you need multicasting anyway? To save bandwidth mostly, and it's fun to setup :). Taking into account that I have PIM working across all our WAN links (an in-house monitoring/alarm system relies thereupon), it would be nice to use this infrastructure for sound too. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:suda...@sibptus.tomsk.ru ___ 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: Please secure your FTP access
On 15 September 2011 21:05, Frank Shute wrote: > On Thu, Sep 15, 2011 at 05:46:35PM -0400, Allen wrote: >> >> Sorry for top posting but can anyone send this to "Computer Stupidities" >> ? It seems to good to waste like this. Anyone who thinks they're a >> Hacker yet doesn't know how FTP works is not only funny, it's >> entertainment. And also, the web site I'm speaking of, has a similar >> story sent in from another reader, where they talked about back when >> they were in a Web Development class once, the teacher partnered >> everyone up with someone else, and so, since he had already made his own >> web site, he figured he'd show it to his new partner, and said "This is >> my web site here" and the guy, like a moron, highlighted ALL of the text >> with a Mouse, and threatened to hit the "Delete" button on the Keyboard... >> >> This reminds me of that quite a bit lol. >> > > You may mock him now but wait until he discovers csup. With his uber > skills he'll be able to delete all our source files! > > Will you be laughing then? > > ;) > I just ran svn co on your source repository and then symlinked to /dev/null Send me $45 and a Journey T-shirt or I'll run svn ci . . . -- -- ___ 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: Java6 problem
> On Fri, Sep 16, 2011 at 7:06 AM, Scott Ballantyne wrote: > > > Hi, > > > > After upgrading to Java6, I am having a problem when I launch the Java > > application that my bank/broker uses. It halts with "Start: applet not > > initialized." Unfortunately, FreeBSD is not a 'supported platform' > > for my bank/broker, and they won't provide any support. > > > > It does work on Windows platforms, but I would prefer to use it on FreeBSD. > > > > Any suggestions? > > > > > Can you provide any console output ? Hi Ashley, There is only one on the 'messages' console: www.webschwab.com : server does not support RFC 5746, see CVE-2009-3555 It worked with earlier versions, however. Thanks for any assistance you can provide. 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"
Re: Java6 problem
> [1:text/plain Hide] > On Thu, Sep 15, 2011 at 09:06:44PM -, Scott Ballantyne wrote: > > > > Hi, > > > > After upgrading to Java6, I am having a problem when I launch the Java > > application that my bank/broker uses. It halts with "Start: applet not > > initialized." Unfortunately, FreeBSD is not a 'supported platform' > > for my bank/broker, and they won't provide any support. > > > > It does work on Windows platforms, but I would prefer to use it on FreeBSD. > > > > Any suggestions? > > > > Did you register your new Java VM? See: javavm(1) and the manpages > referenced in the "See also:" section of that manpage. > Hi Frank, Thank you. That was apparently already taken care of by the installation: registervm: warning: JavaVM "/usr/local/diablo-jdk1.6.0/bin/java" is already registered Thanks again, 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"
Re: Please secure your FTP access
On Thu, Sep 15, 2011 at 05:46:35PM -0400, Allen wrote: > > Sorry for top posting but can anyone send this to "Computer Stupidities" > ? It seems to good to waste like this. Anyone who thinks they're a > Hacker yet doesn't know how FTP works is not only funny, it's > entertainment. And also, the web site I'm speaking of, has a similar > story sent in from another reader, where they talked about back when > they were in a Web Development class once, the teacher partnered > everyone up with someone else, and so, since he had already made his own > web site, he figured he'd show it to his new partner, and said "This is > my web site here" and the guy, like a moron, highlighted ALL of the text > with a Mouse, and threatened to hit the "Delete" button on the Keyboard... > > This reminds me of that quite a bit lol. > You may mock him now but wait until he discovers csup. With his uber skills he'll be able to delete all our source files! Will you be laughing then? ;) Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html pgppsQz04okoZ.pgp Description: PGP signature
Re: Java6 problem
On Thu, Sep 15, 2011 at 09:06:44PM -, Scott Ballantyne wrote: > > Hi, > > After upgrading to Java6, I am having a problem when I launch the Java > application that my bank/broker uses. It halts with "Start: applet not > initialized." Unfortunately, FreeBSD is not a 'supported platform' > for my bank/broker, and they won't provide any support. > > It does work on Windows platforms, but I would prefer to use it on FreeBSD. > > Any suggestions? > Did you register your new Java VM? See: javavm(1) and the manpages referenced in the "See also:" section of that manpage. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html pgpMBZuJ1QgWe.pgp Description: PGP signature
Re: Java6 problem
On Fri, Sep 16, 2011 at 7:06 AM, Scott Ballantyne wrote: > Hi, > > After upgrading to Java6, I am having a problem when I launch the Java > application that my bank/broker uses. It halts with "Start: applet not > initialized." Unfortunately, FreeBSD is not a 'supported platform' > for my bank/broker, and they won't provide any support. > > It does work on Windows platforms, but I would prefer to use it on FreeBSD. > > Any suggestions? > Can you provide any console output ? ___ 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: Please secure your FTP access
From: Sarang. To: freebsd-questions@FreeBSD.org Sent: Tuesday, September 13, 2011 3:43 PM Subject: Please secure your FTP access Oooh! This big bad but ethical hacker is going to erase all the FTP files I'm shaking in my boots. Please Mr. Big Bad, don't hurt us! Now close your cup holder and take this advice. Don't go away madjust go away! H! there, I have seen your site and also got ftp access.. Please secure your ftp acces otherwise anyone can delete your data Why anyone? even I am also interested in it.. please move your ass otherwise it will cost you. If you are not going to fix this problem then I will delete all the files tommorrow... Take care.. Ethical but Bad Hacker... ___ 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 FreeBSD HTPC
Thinking about doing an HTPC project, however I remember having problems with an avermedia tuner way back (damn I am old). Browsed through the hardware notes to the 8.2 and the situations seems to be pretty desperate, I've checked GNU/Linux and it is years ahead in this department. I also wonder if FreeBSD supports processor features like Intel's QuickSync (it is does depend on the app, however I imagine it does require some kernel support). So is the use of FreeBSD as an HTPC OS is illogical and I should use another one? ___ 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"
Thank you for excellent support
Recently the address I have used for years to post here stopped working. After several pleas for help some nice list owner forwarded by mail to the postmaster, who spent a lot of time tracking down the problem. My ISP has been bought and sold several times, so that my address no longer passes the test for validity. So now I am using a new gmail account. This is the kind of service that is all too often lacking these days. Thank you, whoever you were, for doing such a great job. Makes me proud to be associated with FreeBSD ... have been since 2.x. Gary Dunn Open Slate Project ___ 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: Please secure your FTP access
Sorry for top posting but can anyone send this to "Computer Stupidities" ? It seems to good to waste like this. Anyone who thinks they're a Hacker yet doesn't know how FTP works is not only funny, it's entertainment. And also, the web site I'm speaking of, has a similar story sent in from another reader, where they talked about back when they were in a Web Development class once, the teacher partnered everyone up with someone else, and so, since he had already made his own web site, he figured he'd show it to his new partner, and said "This is my web site here" and the guy, like a moron, highlighted ALL of the text with a Mouse, and threatened to hit the "Delete" button on the Keyboard... This reminds me of that quite a bit lol. On 9/14/2011 5:57 AM, Eduardo Morras wrote: > At 21:43 13/09/2011, Sarang. wrote: >> H! there, >> >> I have seen your site and also got ftp access.. >> >> Please secure your ftp acces otherwise anyone can delete your data >> >> Why anyone? even I am also interested in it.. please move your ass >> otherwise it will cost you. >> >> If you are not going to fix this problem then I will delete all the >> files tommorrow... >> >> Take care.. > > You log in as anonymous user but the user whom owns the ftp is another > one (perhaps ftp). The permises you get are r-x (thh last ones) not rwx. > > HTH > >> Ethical but Bad Hacker... ___ 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"
Java6 problem
Hi, After upgrading to Java6, I am having a problem when I launch the Java application that my bank/broker uses. It halts with "Start: applet not initialized." Unfortunately, FreeBSD is not a 'supported platform' for my bank/broker, and they won't provide any support. It does work on Windows platforms, but I would prefer to use it on FreeBSD. Any suggestions? Thanks very much, 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"
Re: gem19 missing (solved)
On Thu, 15 Sep 2011 21:00:06 +0200 Jens Jahnke wrote: JJ> If I do install devel/ruby-gems I get ruby18 and gem18. :-| After adding RUBY_DEFAULT_VER=1.9 to /etc/make.conf and rebuilding ruby19 and ruby-gems it finally works. :) Regards, Jens -- 15. Scheiding 2011, 21:29 Homepage : http://www.jan0sch.de Who does not trust enough will not be trusted. -- Lao Tsu pgpORve8r2rG3.pgp Description: PGP signature
gem19 missing
Hi, I just installed lang/ruby19 on my freebsd 8.2 box and I'm missing the gem command (gem19). If I do install devel/ruby-gems I get ruby18 and gem18. :-| Any ideas? Regards, Jens -- 15. Scheiding 2011, 20:58 Homepage : http://www.jan0sch.de Try to relax and enjoy the crisis. -- Ashleigh Brilliant pgpn6GBk5B4Ov.pgp Description: PGP signature
Re: FreeBSD 8.2 Partition Sizing question
Thanks again Matthew On 9/14/2011 2:55 PM, Matthew Seaman wrote: On 14/09/2011 19:31, Chuck Swiger wrote: On Sep 14, 2011, at 11:27 AM, Jonathan Vomacka wrote: In regards to partitioning, I have a question regarding a "rumor" that has been told to me by various different linux experts, and I wanted to confirm if this also takes place with FreeBSD Unix. In the past, I have always had the root filesystem (/) and the /usr filesystem all on seperate partitions. I was told that having /usr on a seperate partition is an "old" way of doing things and actually causes issues when /usr is mounted separately from root (/). Does this play true in FreeBSD or is that thought process nonsense? I was told to create a larger root filesystem and NOT create usr seperately as /usr will mount off the root filesystem anyway. Will there be any issues by having /usr on a separate partition then root? I will like to know any opinions on this, as well as suggestions based on how other FreeBSD guru's have their server setups. There is nothing wrong with having / and /usr on separate partitions; in fact, there are some mild advantages to fine-grained partitioning for folks who pay attention to their filesystem space usage. However, there is nothing wrong with a single root partition (well, and swap partition), either. Use ZFS and you can put / and /usr on different filesystems (zfses), without any need to worry about not having made any of those filesystems big enough. (Since all the free space is held in common for all of the zfses on the same zpool.) The best of both worlds. Cheers, Matthew ___ 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: Recommended SWAP space for large amounts of ram (8GB)
Thanks Matthew / Michael for your responses on this. On 9/14/2011 2:51 PM, Matthew Seaman wrote: On 14/09/2011 18:27, Michael Sierchio wrote: On Wed, Sep 14, 2011 at 6:55 AM, Matthew Seaman wrote: ... In these days of plentiful RAM, the new rule of thumb is "if you're swapping, then you're doing it wrong." I think your response follows the excellent pedagogical principle: "a little inaccuracy saves a lot of explanation." But... disk is still (by far) the cheapest commodity, and the opportunistic paging algorithm manages VM very well. VM is not by any means obsolete, and seeing paging behavior is not a sign of a misconfigured system. Well, yes. I was certainly glossing over a lot of complexity -- but I would maintain that I am fundamentally correct. Having some pages swapped out is absolutely not a problem. True. In fact, it's a positive benefit: swapping out memory pages that are exceedingly rarely referenced makes more room in RAM for more actively used pages. On the other hand, having pages continually swapping in and out definitely is a problem in terms of performance, given that disk IO takes of the order of milliseconds, while reference to main RAM is of the order of microseconds or less. Orders of magnitude faster. Now, while disk may well be the much the cheapest storage medium available, that's only part of the expense. In fact, up-front capital expenditure on the kit (perhaps several thousand pounds/euros/dollars) is outweighed by the operational expense (power, cooling, hardware support etc.) over the life of the equipment, so spending a bit more (capex) on components that run at lower power (opex) makes a lot of sense. Even more, if the server is being used for eg. e-Commerce, then the volume of the transactions and the data processed by the server makes all the difference to your margin: the more you can do with the same hardware - viz, the more efficiently and faster you can make the hardware run - then the more profit you make. Buying more RAM is peanuts on that scale. Cheers, Matthew ___ 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 8.2 Partition Sizing question
Thanks bud. On 9/15/2011 5:19 AM, f92...@hushmail.com wrote: There is nothing wrong with having / and /usr on separate partitions; in fact, there are some mild advantages to fine-grained partitioning for folks who pay attention to their filesystem space usage. To elaborate on this: Assuming you have separate /var, /tmp, /usr and /home partitions, the only files that should be on / are: 1. Part of base system not in /usr 2. Kernels (/boot/kernel) 3. root home directory (/root) Therefore the size of / does not grow with time on most systems. It also tends to be independent of what the system is used for, unlike the size of /usr for example. On my systems / is between 1.5 gb to 2 gb depending on overall disk size. /usr is up to 10 gb on desktop systems. A benefit of having / on its own partition is that it becomes much harder to run / out of disk space by accident. Checking out source trees (/usr/ports, /usr/src), building world (/usr/obj), building ports (/usr/ports), running software that uses /usr/local//logs for storing its log files, etc. all have potential to write to /usr if you don't have appropriate configuration/symlinks/partitions set up to redirect them to the right places. If your /usr is separate from / then running out of disk space on /usr is usually harmless. ___ 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"
9.0 bata2 & keymap
Out of the 9 USA maps only "us.iso.acc.kbd" worked somewhat. The keyboard 9 key block above the arrow keys don't function. Issuing the "man cmd_name" command doe's display the man page, but the {Page up, Page down keys } don't work. Also when using the "ee" edit command the {delete, Page up, Page down keys } don't work. This does not happen in any of the previous releases. Further more, localization of the keyboard should not be forced on the user during the install process. This BSDinstall option should be disabled or removed. ___ 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: Thinkpad audio question
According to Jakub Lach on Wed, 09/14/11 at 23:11: > > It was mav (Alexander Motin), he proposed those hints > after I complained that sound stopped working after > update. He wondered how I got sound to work > in the first place, with hints I had previously. I would have wondered the same. The question that remains to be answered is: how did mav (Alexander Motin) suss out the details of how to do this in the first place? :-) > I don't think pushing those specific hints somewhere > would be so beneficial, subtle hardware revision could > change pin associations. (e.g. Your friend's T500?) True, but it might give someone an idea of where to start looking... > I don't think man page is missing something, it's > verbose and exhaustive, with 4 examples of hints > for various purposes. (The truth is out there! heh.) We can agree to disagree, perhaps. The man page is complete, I agree, but it isn't a great read for a user who doesn't understand audio hardware, has never dealt with anything other than stereo speakers and stereo headphones (with or without microphone). The four (4!) examples all refer to the one (1!) HP Compaq system. And these explanations don't give a good description of the connection between "AS", "NID", "SEQ", etc. That is, there are examples there, but the explainations assume that the reader knows more about the underlying hardware and how audio systems and chips work in general than is likely the case for most users with laptops using the snd_hda(4) driver supported hardware. I hope that run-on sentence is comprehensible to folks... :-) > The problem is, most people don't want (or don't > know they need) to swap line-out and speaker > functions, to split headphones and mic to separate > device etc. This is completly true - I agree wholeheartedly with this. > They do not know why default pinout is not working > as it should, and what they should change. Yep. > They just want to have headphones and speakers > working as intended :) Well, d'oh! :-) > But I'm afraid this can't be directly addressed, as > possibilities of default wrong pin associations are > "endless". Sadly, I must agree with you here also, sigh... :-( > If you think otherwise you are free to submit PR > as well :) I am going to submit a PR (when I learn how from the handbook), but not to suggest new text or wording. Rather, I will make suggestions of areas that could be improved for readability and understanding. > best regards, > - Jakub Lach > > PS. I suspected that If by chance my device.hints > will "just work", the "pedantic engineer" in > you would be silenced somehow :P Well, then you don't know me very well then, do you?? ;^) Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template ->| ___ 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: Thinkpad audio question
According to Warren Block on Wed, 09/14/11 at 20:21: > > Two things you can do to improve the situation. Thanks. > First, describe the appropriate settings and files on > http://laptop.bsdgroup.de/freebsd/ Done. > Then write some updates to the man page, or at least describe what is > missing, and submit a PR. I will do this, but I first have to go through the procedure of how to do this (by reading the handbook, very likely). > This can be worthwhile doing just for yourself. If a man page is > missing something for me once, chances are I'll hit it again later. > Helping others is a side benefit. It isn't for me that I am doing this. It is to help others - really. :-) Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template ->| ___ 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"
ppp with mode -auto
Hello, I'm using ppp(1) with mode -auto in a FreeBSD 8.x (an older 8-CURRENT); I'm reading in the man page that the link is not coming up until packages for the tun interface are arriving... But my ppp starts chatting and LCP... just when it is started. My ppp.conf file is attached; any ideas? Thanks in advance matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ # # default: set log Phase Chat LCP IPCP CCP tun command umts: set device /dev/cuaU0.0 # device name in CURRENT set speed 230400 # set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATZ OK \ AT+CFUN=1 OK \ AT+COPS=0 OK \ AT+CGDCONT=1,\\\"IP\\\",\\\"pinternet.interkom.de\\\" OK \ \\dATDT\\T TIMEOUT 40 CONNECT" set logout "ABORT BUSY ABORT ERROR TIMEOUT 30 \"\" +++ATH O ATH OK" set phone *99*1\# set authname "fonic" set authkey "fonic" set timeout 300 set ifaddr 0.0.0.0/0 10.64.64.64/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns disable ipv6cp ___ 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 8.2 Partition Sizing question
I can't really see the rationale for putting / and /usr on separate partitions. Swap would go on a different partition because it does not use the same file system. I like to put /home on a separate partition, and don't like the idea of /usr/home. I also don't like to put /var and /tmp on separate partitions: problems with size and fitting the disk space. Putting /home on a separate partition allows the whole system to be upgraded, even newfs and reinstall, without touching user data. 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: Hardware booting problem
At 03:34 AM 9/15/2011, Doug Hardie wrote: I encountered a situation today that I do not understand. This is a very old i386 PC that does not have a usable CD drive. The existing drive uses a very funky SCSI connector that I have nothing for. The system disk is SCSI and there was one additional PATA drive used for additional storage. The PATA drive failed. It won't even stick around in /dev for more than a couple minutes after boot and there are lots of messages about bad sectors. The data is completely backed up and the that drive is over 5 years old. I removed the old drive and installed a new one. System will not boot. It hangs in the BIOS. Never gets around to installing the SCSI BIOS. My first guess was there was no boot sector on the SCSI drive. That seems unusual since my other systems boot off the SCSI drives just fine. This one used to also before I added the PATA drive. However, if I put the dead drive back in along with the new one, then it boots. This also implies that the boot sector was only on the PATA drive. But the PATA drive is for all intents and purposes dead. So how is it booting? Is there any way to look into the SCSI drive and see if there is a boot sector there? This is more a curiosity item as there are additional failures starting to occur in that computer. We are going to replace it. Its around 10 years old. Depending on your SCSI card BIOS, some allow you to set which LUN it boots. You may want to explore the SCSI settings, and try to set the new drive as the first boot device, then try removing the old drive. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ 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 8.2 Partition Sizing question
> There is nothing wrong with having / and /usr on separate partitions; in fact, there are some mild advantages to fine-grained partitioning for folks who pay attention to their filesystem space usage. To elaborate on this: Assuming you have separate /var, /tmp, /usr and /home partitions, the only files that should be on / are: 1. Part of base system not in /usr 2. Kernels (/boot/kernel) 3. root home directory (/root) Therefore the size of / does not grow with time on most systems. It also tends to be independent of what the system is used for, unlike the size of /usr for example. On my systems / is between 1.5 gb to 2 gb depending on overall disk size. /usr is up to 10 gb on desktop systems. A benefit of having / on its own partition is that it becomes much harder to run / out of disk space by accident. Checking out source trees (/usr/ports, /usr/src), building world (/usr/obj), building ports (/usr/ports), running software that uses /usr/local//logs for storing its log files, etc. all have potential to write to /usr if you don't have appropriate configuration/symlinks/partitions set up to redirect them to the right places. If your /usr is separate from / then running out of disk space on /usr is usually harmless. ___ 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: Intel 82573E NIC and BMC with FreeBSD 8
Ok I got the BMC responding when the "em" driver is loaded. I had to comment out the line corresponding to the "CRC Stripping" (#4153) in /usr/src/sys/dev/e1000/if_em.c and compile/install/loader.conf the driver. I know (from my google searches) that by doing it some other intel nics will not function properly with the driver. The only way to make every one happy would be to add a sysctl param to the driver, something like "hw.em.disable_crc_stripping" . Where can I commit such thing ? Rafael. > From: rnav...@hotmail.com > To: freebsd-questions@freebsd.org > Date: Tue, 13 Sep 2011 19:24:02 +0200 > Subject: Intel 82573E NIC and BMC with FreeBSD 8 > > > Hi there, > > I added a M3291 BMC on a TYAN S5197 motherboard and I'm trying to make it > work with FreeBSD 8. > > I first tried to set it up with Linux, and it was pretty annoying ... > What TYAN DID say to do is : > > - DOS, flash the S5197 Motherboard with the latest BIOS > - DOS, flash the M3291 BMC with the correct Firmware > - DOS, flash the Intel NIC (82573E) EEProm to enable IPMI > - DOS, configure the MAC/IP of the BMC (I choose a BMC MAC different from the > NIC MAC, and of course an IP different from the host) > - LINUX, "modprobe ipmi_si type=kcs ports=0xca8 irqs=0 regspacings=4" > > All that is correct but not sufficient because I can only access to the BMC > locally !!! > WHAT TYAN FORGOT TO SAY IS : > > - DOS, declare the BMC MAC on the Intel NIC (82573E) EEProm "eeupdate.exe > /NIC=1 /MNGMAC=00:E0:81:XX:XX:XX" > - LINUX, "modprobe e1000e CrcStripping=0" > > Now it works with Linux :D > > Now it is the FreeBSD turn :) > > Well, it doesn't work "as is" ... : > > - FREEBSD, "kldload ipmi" -> doesn't give access to the BMC locally > - FREEBSD, "ifconfig_em0=DHCP" -> makes the BMC to stop responding > > My question : is there any equivalent in FreeBSD of the Linux kernel > parameters that I have previously used ? > > Any help would be appreciated ;) > > Regards, > Rafael NAVAZA. > ___ 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"
Hardware booting problem
I encountered a situation today that I do not understand. This is a very old i386 PC that does not have a usable CD drive. The existing drive uses a very funky SCSI connector that I have nothing for. The system disk is SCSI and there was one additional PATA drive used for additional storage. The PATA drive failed. It won't even stick around in /dev for more than a couple minutes after boot and there are lots of messages about bad sectors. The data is completely backed up and the that drive is over 5 years old. I removed the old drive and installed a new one. System will not boot. It hangs in the BIOS. Never gets around to installing the SCSI BIOS. My first guess was there was no boot sector on the SCSI drive. That seems unusual since my other systems boot off the SCSI drives just fine. This one used to also before I added the PATA drive. However, if I put the dead drive back in along with the new one, then it boots. This also implies that the boot sector was only on the PATA drive. But the PATA drive is for all intents and purposes dead. So how is it booting? Is there any way to look into the SCSI drive and see if there is a boot sector there? This is more a curiosity item as there are additional failures starting to occur in that computer. We are going to replace it. Its around 10 years old. ___ 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"