fubar'ed it good this time...
Sitrep: Lenovo T61, dual booting WinXP and FreeBSD (amd64 8.1-RELEASE) on a 500gb drive. Just did a freebsd-update from 8.1 to 8.2, just doing the second boot to do 'freebsd-update install' for the second time, and got dumped into the mountroot prompt. AFAICT, I managed somehow to write something strange into /etc/fstab. Can't tell what it is, because during boot it passes by too quickly for me to read, and the boot process dumps me into the mountroot prompt. WinXP still boots just fine, and the FreeBSD boot manager is in place, and was working before the update. FreeBSD was booting just fine from /dev/ad0s2a, prior to running freebsd-update. Now, however, when I select f1 to boot FreeBSD, I get the boot menu, output from the boot process, and (as I've mentioned) then I get the mountroot prompt. I've even downloaded and burned the 8.2 live boot iso, but it says it can't find a hard drive from sysinstall - both the Fdisk and Label options say No disks found! Please verify that your disk controller is being properly probed at boot time. See the Hardware guide on the Documentation menu for clues on diagnosing this type of problem. I get no love from the Fixit shell, either, with /dev being void of any reference to the hard drive - just acd0. I'm pretty sure that if I can mount the disk that I can just edit the cruft out of /etc/fstab, and it will all be fine, but I can't get there... Anyone have a thought on how to get this running? I've googled myself silly on this, and am getting nowhere. Kurt ___ 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: pkg-config --cflags glib-2.0 gives wrong -I dir
El día Saturday, June 25, 2011 a las 07:20:52PM -0500, Dan Nelson escribió: Checking Solaris and SUSE Linux, I see a similar pair of directories: solaris$ pkg-config --cflags glib-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include linux$ pkg-config --cflags glib-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include The /usr/lib* directory on each system contains a single file: glibconfig.h. On FreeBSD, this file is in /usr/local/include/glib-2.0/ along with all the other headers (headers don't belong in /lib/ anyway). I totally agree: headers don't belong there. The same is broken for: $ pkg-config --cflags gtk+-2.0 -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include... matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ ___ 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
Ko Htoo has invited you to open a Google mail account
I've been using Gmail and thought you might like to try it out. Here's an invitation to create an account. You're Invited to Gmail! Ko Htoo has invited you to open a Gmail account. Gmail is Google's free email service, built on the idea that email can be intuitive, efficient, and fun. Gmail has: *Less spam* Keep unwanted messages out of your inbox with Google's innovative technology. *Lots of space* Enough storage so that you'll never have to delete another message. *Built-in chat* Text or video chat with Ko Htoo and other friends in real time. *Mobile access* Get your email anywhere with Gmail on your mobile phone. You can even import your contacts and email from Yahoo!, Hotmail, AOL, or any other web mail or POP accounts. Once you create your account, Ko Htoo will be notified of your new Gmail address so you can stay in touch. Learn morehttp://mail.google.com/mail/help/intl/en/about.htmlor get startedhttp://mail.google.com/mail/a-b13d05e4a0-389b6220a9-Fv82pmp3znAkyLhmQARR_wO-WBY ! Sign uphttp://mail.google.com/mail/a-b13d05e4a0-389b6220a9-Fv82pmp3znAkyLhmQARR_wO-WBY Google Inc. | 1600 Ampitheatre Parkway | Mountain View, California 94043 ___ 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: Performance of a USB ZIL for ZFS
On 6/26/11 7:25 AM, Joshua Isom wrote: On 6/25/2011 9:32 PM, Damien Fleuriot wrote: On 25 Jun 2011, at 19:17, Joshua Isomjri...@gmail.com wrote: I was wondering if anyone had tried using a decent USB flash drive for the ZIL. I know it'd be hard finding one fast enough, but some from patriot seem like they might be suitable for home use. Part of the idea is to just minimize hard drive thrashing and the wear and tear associated with it. If it helps prevent the drives from going bad, and doesn't hurt performance too bad all the better. But if it's going to hurt performance too much or not help prevent thrashing there isn't a point. ___ 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 stopped reading at the title. The answer is no. Grab a SSD for $80-120ish. Perhaps it would have helped to read the email. Part of the concern is making sure the drives don't fail and not just throughput. Given that Kingston sells an SATA SSD for $40 that only gets writes at 30mb/s write, and some USB drives might get up to 20mb/s. If I get two drives and put them on different controllers, mirrored, I might get acceptable performance. I may still loose performance, but if my drives last a year longer, I can probably accept it. I'm ok with loosing some performance, but I just don't want it dragging down the system. And if it won't help the drives last longer there's no point. What do you want to do here, data security or performance ? Having a dedicated ZIL is accepted to be a performance concern, more than security. Obviously you'll do as you please, but I'll tell you what: If you're going to play cheap and grab a USB key for your ZIL, don't be surprised when you lose your data and/or experience downtime because your key went boom, or the USB controller hung for a sec and your sync failed. This is data we're talking about, and considering you want a dedicated ZIL this is probably important and/or voluminous data. ___ 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: cvs vs. DVD
From: Lars Eighner luvbeas...@larseighner.com To: wayne mitchell wayne.mitchell...@gmail.com Cc: questi...@freebsd.org Sent: Sun, June 26, 2011 3:57:50 PM Subject: Re: cvs vs. DVD On Sun, 26 Jun 2011, wayne mitchell wrote: hey, be warned, you are dealing with a 'newbie' Be warned, I don't know the official best practices response. I'm just telling you what I would do^H^Htry in your circumstances. i have one machine that has internet access and another that does not both machines were installed with FreeBSD_RELEASE_8_1 with a DVD i am now using cvsup to upgrade the RELENG_8_1_RELEASE tree my second machine does not have working ethernet how do i transfer the updated ports tree to the other machine using only storage media (DVD, USB) This is assuming 1) You haven't crossed a major release number since you installed from disc on both. 2) you know how to make a dvd from a file system. Since you are going from BSD to BSD, you don't have to make ISOs, but it will do no harm if you do (and might even be good for you). In the updated machine go to /usr/src/ and make clean. The official right way, I think is to use backup to make the file you will write to DVD and restore on the netdead machine to recreate /usr/src/ from disc. tar + dd or cp might work. (backup and restore are commands, check them out) Then on the netdead machine do the make buildworld, make kernel, etc. to update the machine's system. The instructions are in /usr/src/UPDATING near the bottom. In /usr/ports/ (master machine) use portsclean -CDP. This should clean out all the working directories and the old versions of packages and distributions which are no longer necessary to recreate the ports you have installed. This is not strictly necessary, but there is no point in carrying over the deadwood. If you have a relatively young installation, on the other hand, this may not save much. Now you can do whatever you did (backup/restore), dd, etc. with the source tree to the ports tree. Then you can update ports on the slave machine, or hold off. The important thing is for the ports tree itself to be somewhat in sync with world. my guess (hack) is to find all relavent files/data trees and simply copy over, then run necessary updates (portsdb, make world...) Do not mess directly with the ports database (in /var/db/pkg) on either machine. Until you actually do some updates in ports, pkgdb, which deals with installed ports, will not change. if that is correct then can you tell where those files are ? The whole ports tree is in /usr/ports/. This should include the distfiles and packages you have installed since you installed from disc. The whole source tree is in /usr/src/. It is possible to install from disc without installing either of these, but if you have been cvsup'ing or cvs source and ports on the netlive machine, it certainly has them. If you did not install them on the netdead machine, you can install the copies from the netlive machine without further ado. You can even delete them from the netdead machine (if they are there) on the netdead machine, and you will still have an operable system -- nothing in them is necessary to run. But if you have the disc space, I suggest you rename (mv) them until you know your update is successful. I suggest you go through the mergemaster both times in rebuilding the system on the netdead machine. It is almost impossible to keep configuration files sufficiently in sync to make copying /etc and /usr/local/ect a viable plan (moreover, it would certainly be wrong to do so if both machines are on a net, local or internet). if not then how should i do this ? I think you are basically on the right track. This probably will work across major releases and with drastically different architectures between the machines, but caution on the target machine is in order. (Other than cleaning, this process should not involve anything remotely dangerous to the source machine.) -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ 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 Call me old-fashioned but with Ethernet cards only costing $5 these days, what's holding you back from installing a NIC in the other machine. This would simplify all your problems. ___ 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: I have a error in freebsd 8.2, an internal system error has ocurred
On 6/26/11 5:33 PM, Edgar Rodolfo wrote: Hi guys!, i am new on freebsd, but i had installed freebsd 8.2 with graphical interface (gnome), i was very happy, but suddendly i saw a message, exactly the message said: we were not expecting has ocurred ..., look the photo, i don't understand exactly, 30 min the message appears, is dangerous the message? http://subefotos.com/ver/?46893c74c902254a3d7789bb38a6b457o.png ___ 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, While I have no idea what it means and what its cause could be, this is a KDE error. You might want to check with them directly ? ___ 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: fubar'ed it good this time...
On 6/27/11 8:17 AM, Kurt Buff wrote: Sitrep: Lenovo T61, dual booting WinXP and FreeBSD (amd64 8.1-RELEASE) on a 500gb drive. Just did a freebsd-update from 8.1 to 8.2, just doing the second boot to do 'freebsd-update install' for the second time, and got dumped into the mountroot prompt. AFAICT, I managed somehow to write something strange into /etc/fstab. Can't tell what it is, because during boot it passes by too quickly for me to read, and the boot process dumps me into the mountroot prompt. WinXP still boots just fine, and the FreeBSD boot manager is in place, and was working before the update. FreeBSD was booting just fine from /dev/ad0s2a, prior to running freebsd-update. Now, however, when I select f1 to boot FreeBSD, I get the boot menu, output from the boot process, and (as I've mentioned) then I get the mountroot prompt. I've even downloaded and burned the 8.2 live boot iso, but it says it can't find a hard drive from sysinstall - both the Fdisk and Label options say No disks found! Please verify that your disk controller is being properly probed at boot time. See the Hardware guide on the Documentation menu for clues on diagnosing this type of problem. I get no love from the Fixit shell, either, with /dev being void of any reference to the hard drive - just acd0. I'm pretty sure that if I can mount the disk that I can just edit the cruft out of /etc/fstab, and it will all be fine, but I can't get there... Anyone have a thought on how to get this running? I've googled myself silly on this, and am getting nowhere. Kurt ___ 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'll want to download a live CD with UFS support :) MFSBSD comes to mind: http://mfsbsd.vx.sk/ ___ 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
BIG OFERTA! Playstation 2 Destravado com 31% OFF. De R$399, 90 Por R$ 275, 00 em 10X.
Adicione no-re...@pankmail.com.br [mailto:novida...@pank.com.br]; aos seus endereços para receber sempre os e-mails do Pank! Se este e-mail não aparecer corretamente, veja a versão online, acesse aqui [http://tr2.virtualtarget.com.br/index.dma/DmaClick?5163,56,34775,971,4af33db1f6acfa58b3f9d970071b1cc2,aHR0cDovL3d3dy5wYW5rLmNvbS5ici9tYWlsL09mZXJ0YURpYS5hc3B4P29mZXJ0YT0yMDE=,2]. [http://tr2.virtualtarget.com.br/index.dma/DmaClick?5163,56,34775,972,4af33db1f6acfa58b3f9d970071b1cc2,aHR0cDovL3d3dy5wYW5rLmNvbS5ici8=,2] BIG OFERTA! Playstation 2 Destravado com 31% OFF. De R$399,90 por apenas R$ 275,00. É Diversão para a família toda! Não Perca. [http://tr2.virtualtarget.com.br/index.dma/DmaClick?5163,56,34775,973,4af33db1f6acfa58b3f9d970071b1cc2,aHR0cDovL3d3dy5wYW5rLmNvbS5ici9EZWZhdWx0LmFzcHg/aWQ9MjAx,2] [http://tr2.virtualtarget.com.br/index.dma/DmaClick?5163,56,34775,973,4af33db1f6acfa58b3f9d970071b1cc2,aHR0cDovL3d3dy5wYW5rLmNvbS5ici9EZWZhdWx0LmFzcHg/aWQ9MjAx,2] de R$399,90 - por R$275,00 [http://tr2.virtualtarget.com.br/index.dma/DmaClick?5163,56,34775,974,4af33db1f6acfa58b3f9d970071b1cc2,aHR0cDovL3d3dy5wYW5rLmNvbS5ici92ZW5kYS9Db21wcmFyLmFzcHg/b2ZlcnRhPTIwMQ==,2] Economia de R$ 124,90 - Desconto de 31% [http://tr2.virtualtarget.com.br/index.dma/DmaClick?5163,56,34775,975,4af33db1f6acfa58b3f9d970071b1cc2,aHR0cDovL3R3aXR0ZXIuY29tL29mZXJ0YXNwYW5r,2] [http://tr2.virtualtarget.com.br/index.dma/DmaClick?5163,56,34775,976,4af33db1f6acfa58b3f9d970071b1cc2,aHR0cDovL3d3dy5wYW5rLmNvbS5ici9JbmRpcXVlLmFzcHg=,2] O Pank respeita a sua privacidade e é contra o spam na rede. Você recebeu este e-mail porque faz parte da lista de pessoas selecionadas do Pank!. Diariamente você irá receber ofertas de bares, restaurantes, academia, hotéis e pousadas na praia e muito mais. © Pank!, é bom demais. Se você não deseja mais receber nossos e-mails, cancele sua inscrição aqui [http://tr2.virtualtarget.com.br/index.dma/DmaClick?5163,56,34775,977,4af33db1f6acfa58b3f9d970071b1cc2,aHR0cDovL3d3dy5wYW5rLmNvbS5ici9CbGFja0xpc3QuYXNweD9tYWlsPXshRU1BSUx9,2] ___ 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: Using a special proxy for ports
On Sun, 26 Jun 2011, Dennis Glatting wrote: I have a requirement where I need to archive ports used across twenty hosts for a year or more. I've decided to do this using Squid and to take advantage of Squid's cache when updating common ports across those hosts. (BTW, at another site I used rsync to sync /usr/ports/distfiles across the hosts to a local master site then specified _MASTER_SITES_DEFAULT in make.conf to a FTP server on the local site. That method works when the port is previously cached however if the file isn't in the cache and I simultaneously install the port across ten hosts, the port is fetched ten times. Sigh.) I have a Squid proxy installed that isn't meant for every-day/every-user use and requires authentication. (Users either go through another Squid proxy or direct.) The special Squid proxy works. No surprise there. Authentication works. No surprise there. What I need is a method to embed into make.conf a proxy specification for fetch. Setting the environment variable HTTP_PROXY from the login shell /is not/ preferred because the account is used by different administrators, I don't what the special proxy accidentally polluted with non-port stuff, and it would only create confusion. Setting http_proxy in make.conf does not work. .netrc doesn't appear to be a viable method (if it did, I could specify FETCH_ARGS in make.conf). I forgot to mention that I also thought about redefining SHELL in make.conf to a small program that sets HTTP_PROXY in the environment then execs the desired target but I felt that approach was fraught with peril. ___ 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
Installing php-fpm without apache
How can I install php-fpm without installing apache? Is it possible? [root@timp /usr/ports/lang/php5]# make showconfig === The following configuration options are available for php5-5.3.6_1: CLI=off Build CLI version CGI=off Build CGI version FPM=on Build FPM version (experimental) APACHE=off Build Apache module AP2FILTER=off Use Apache 2.x filter interface (experimental) DEBUG=off Enable debug SUHOSIN=off Enable Suhosin protection system MULTIBYTE=off Enable zend multibyte support IPV6=off Enable ipv6 support MAILHEAD=off Enable mail header patch LINKTHR=off Link thread lib (for threaded extensions) === Use 'make config' to modify these settings Only FPM is on [root@timp /usr/ports/lang/php5]# make missing www/apache13 textproc/libxml2 textproc/expat2 in spite of this I see apache13 as dependency ___ 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: fubar'ed it good this time...
On Sun, 26 Jun 2011, Kurt Buff wrote: Sitrep: Lenovo T61, dual booting WinXP and FreeBSD (amd64 8.1-RELEASE) on a 500gb drive. Just did a freebsd-update from 8.1 to 8.2, just doing the second boot to do 'freebsd-update install' for the second time, and got dumped into the mountroot prompt. AFAICT, I managed somehow to write something strange into /etc/fstab. Can't tell what it is, because during boot it passes by too quickly for me to read, and the boot process dumps me into the mountroot prompt. Scroll Lock and Page Up/Down should work there to scroll back to see the disk device numbers. WinXP still boots just fine, and the FreeBSD boot manager is in place, and was working before the update. FreeBSD was booting just fine from /dev/ad0s2a, prior to running freebsd-update. Don't know what would cause that. Custom kernels could have the ATA_STATIC_ID option removed, which might give the disk a different number, ad2 or ad4 usually. The BIOS could have AHCI mode set, but that should not change with 8.2. That would make the disk ada0. I second the suggestion of mfsBSD. ___ 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: Installing php-fpm without apache
I'm very sorry! I had vars like WITH_APACHE=foo in /etc/make.conf! It's ok in ports. 2011/6/27 Pavel Timofeev tim...@gmail.com How can I install php-fpm without installing apache? Is it possible? [root@timp /usr/ports/lang/php5]# make showconfig === The following configuration options are available for php5-5.3.6_1: CLI=off Build CLI version CGI=off Build CGI version FPM=on Build FPM version (experimental) APACHE=off Build Apache module AP2FILTER=off Use Apache 2.x filter interface (experimental) DEBUG=off Enable debug SUHOSIN=off Enable Suhosin protection system MULTIBYTE=off Enable zend multibyte support IPV6=off Enable ipv6 support MAILHEAD=off Enable mail header patch LINKTHR=off Link thread lib (for threaded extensions) === Use 'make config' to modify these settings Only FPM is on [root@timp /usr/ports/lang/php5]# make missing www/apache13 textproc/libxml2 textproc/expat2 in spite of this I see apache13 as dependency ___ 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: fubar'ed it good this time...
On Mon, Jun 27, 2011 at 03:03, Damien Fleuriot m...@my.gd wrote: On 6/27/11 8:17 AM, Kurt Buff wrote: snip I've even downloaded and burned the 8.2 live boot iso, but it says it can't find a hard drive from sysinstall - both the Fdisk and Label options say No disks found! Please verify that your disk controller is being properly probed at boot time. See the Hardware guide on the Documentation menu for clues on diagnosing this type of problem. I get no love from the Fixit shell, either, with /dev being void of any reference to the hard drive - just acd0. I'm pretty sure that if I can mount the disk that I can just edit the cruft out of /etc/fstab, and it will all be fine, but I can't get there... snip You'll want to download a live CD with UFS support :) MFSBSD comes to mind: http://mfsbsd.vx.sk/ Your advice sounds reasonable, but that site seems devoted to zfs bootables. I wonder if an 8.1 livefs iso will do the trick... Kurt ___ 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: Using a special proxy for ports
On 6/27/11 4:52 AM, Dennis Glatting wrote: I have a requirement where I need to archive ports used across twenty hosts for a year or more. I've decided to do this using Squid and to take advantage of Squid's cache when updating common ports across those hosts. (BTW, at another site I used rsync to sync /usr/ports/distfiles across the hosts to a local master site then specified _MASTER_SITES_DEFAULT in make.conf to a FTP server on the local site. That method works when the port is previously cached however if the file isn't in the cache and I simultaneously install the port across ten hosts, the port is fetched ten times. Sigh.) I have a Squid proxy installed that isn't meant for every-day/every-user use and requires authentication. (Users either go through another Squid proxy or direct.) The special Squid proxy works. No surprise there. Authentication works. No surprise there. What I need is a method to embed into make.conf a proxy specification for fetch. Setting the environment variable HTTP_PROXY from the login shell /is not/ preferred because the account is used by different administrators, I don't what the special proxy accidentally polluted with non-port stuff, and it would only create confusion. Setting http_proxy in make.conf does not work. .netrc doesn't appear to be a viable method (if it did, I could specify FETCH_ARGS in make.conf). ___ 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 What about using a NFS share for /usr/ports/distfiles ? ___ 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
Fwd: fubar'ed it good this time...
This should have gone to the list - sorry. -- Forwarded message -- From: Kurt Buff kurt.b...@gmail.com Date: Mon, Jun 27, 2011 at 07:17 Subject: Re: fubar'ed it good this time... To: Warren Block wbl...@wonkity.com On Mon, Jun 27, 2011 at 06:40, Warren Block wbl...@wonkity.com wrote: On Sun, 26 Jun 2011, Kurt Buff wrote: Sitrep: Lenovo T61, dual booting WinXP and FreeBSD (amd64 8.1-RELEASE) on a 500gb drive. Just did a freebsd-update from 8.1 to 8.2, just doing the second boot to do 'freebsd-update install' for the second time, and got dumped into the mountroot prompt. AFAICT, I managed somehow to write something strange into /etc/fstab. Can't tell what it is, because during boot it passes by too quickly for me to read, and the boot process dumps me into the mountroot prompt. Scroll Lock and Page Up/Down should work there to scroll back to see the disk device numbers. Scroll lok and page up work, and what I see is the following, copied by hand: atapci0: Intel ICH8M SATA300 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1c30-0x1c3f,0x1c20,0x1x2f at decive 31.2 on pci0 ata0: ATA channel 0 on atapci0 ata0: [ITHREAD] ata1: ATA channel 1 on atapci0 ata1: [ITHREAD] Then, at the end, I show: Trying to mount root from ufs:/dev/ad0s2a ROOT MOUNT ERROR: If you have invalid mount options, reboot, and first thre the following from the loader prompt: etc. WinXP still boots just fine, and the FreeBSD boot manager is in place, and was working before the update. FreeBSD was booting just fine from /dev/ad0s2a, prior to running freebsd-update. Don't know what would cause that. Custom kernels could have the ATA_STATIC_ID option removed, which might give the disk a different number, ad2 or ad4 usually. The BIOS could have AHCI mode set, but that should not change with 8.2. That would make the disk ada0. I second the suggestion of mfsBSD. OK - when I get home from work, I'll download and see what that does for me. Thanks, Kurt ___ 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: Using a special proxy for ports
On Mon, 27 Jun 2011, Damien Fleuriot wrote: On 6/27/11 4:52 AM, Dennis Glatting wrote: I have a requirement where I need to archive ports used across twenty hosts for a year or more. I've decided to do this using Squid and to take advantage of Squid's cache when updating common ports across those hosts. (BTW, at another site I used rsync to sync /usr/ports/distfiles across the hosts to a local master site then specified _MASTER_SITES_DEFAULT in make.conf to a FTP server on the local site. That method works when the port is previously cached however if the file isn't in the cache and I simultaneously install the port across ten hosts, the port is fetched ten times. Sigh.) I have a Squid proxy installed that isn't meant for every-day/every-user use and requires authentication. (Users either go through another Squid proxy or direct.) The special Squid proxy works. No surprise there. Authentication works. No surprise there. What I need is a method to embed into make.conf a proxy specification for fetch. Setting the environment variable HTTP_PROXY from the login shell /is not/ preferred because the account is used by different administrators, I don't what the special proxy accidentally polluted with non-port stuff, and it would only create confusion. Setting http_proxy in make.conf does not work. .netrc doesn't appear to be a viable method (if it did, I could specify FETCH_ARGS in make.conf). What about using a NFS share for /usr/ports/distfiles ? Many of these servers provide network/system services across a WAN. If a link goes down or is congested, NFS may hang them all. NFS also provides certain security challenges. ___ 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: Using a special proxy for ports
On 6/27/11 4:27 PM, Dennis Glatting wrote: On Mon, 27 Jun 2011, Damien Fleuriot wrote: On 6/27/11 4:52 AM, Dennis Glatting wrote: I have a requirement where I need to archive ports used across twenty hosts for a year or more. I've decided to do this using Squid and to take advantage of Squid's cache when updating common ports across those hosts. (BTW, at another site I used rsync to sync /usr/ports/distfiles across the hosts to a local master site then specified _MASTER_SITES_DEFAULT in make.conf to a FTP server on the local site. That method works when the port is previously cached however if the file isn't in the cache and I simultaneously install the port across ten hosts, the port is fetched ten times. Sigh.) I have a Squid proxy installed that isn't meant for every-day/every-user use and requires authentication. (Users either go through another Squid proxy or direct.) The special Squid proxy works. No surprise there. Authentication works. No surprise there. What I need is a method to embed into make.conf a proxy specification for fetch. Setting the environment variable HTTP_PROXY from the login shell /is not/ preferred because the account is used by different administrators, I don't what the special proxy accidentally polluted with non-port stuff, and it would only create confusion. Setting http_proxy in make.conf does not work. .netrc doesn't appear to be a viable method (if it did, I could specify FETCH_ARGS in make.conf). What about using a NFS share for /usr/ports/distfiles ? Many of these servers provide network/system services across a WAN. If a link goes down or is congested, NFS may hang them all. NFS also provides certain security challenges. What about using a SSHFS share for /usr/ports/distfiles ? *wink* ___ 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: fubar'ed it good this time...
On 6/27/11 3:40 PM, Kurt Buff wrote: On Mon, Jun 27, 2011 at 03:03, Damien Fleuriot m...@my.gd wrote: On 6/27/11 8:17 AM, Kurt Buff wrote: snip I've even downloaded and burned the 8.2 live boot iso, but it says it can't find a hard drive from sysinstall - both the Fdisk and Label options say No disks found! Please verify that your disk controller is being properly probed at boot time. See the Hardware guide on the Documentation menu for clues on diagnosing this type of problem. I get no love from the Fixit shell, either, with /dev being void of any reference to the hard drive - just acd0. I'm pretty sure that if I can mount the disk that I can just edit the cruft out of /etc/fstab, and it will all be fine, but I can't get there... snip You'll want to download a live CD with UFS support :) MFSBSD comes to mind: http://mfsbsd.vx.sk/ Your advice sounds reasonable, but that site seems devoted to zfs bootables. I wonder if an 8.1 livefs iso will do the trick... Kurt Works just fine for non ZFS stuff, we actually use it here with PXE to install new firewalls. Really, it'll do what you want, it has ee which is all you need. ___ 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: Using a special proxy for ports
On Mon, 27 Jun 2011, Damien Fleuriot wrote: On 6/27/11 4:27 PM, Dennis Glatting wrote: On Mon, 27 Jun 2011, Damien Fleuriot wrote: On 6/27/11 4:52 AM, Dennis Glatting wrote: I have a requirement where I need to archive ports used across twenty hosts for a year or more. I've decided to do this using Squid and to take advantage of Squid's cache when updating common ports across those hosts. (BTW, at another site I used rsync to sync /usr/ports/distfiles across the hosts to a local master site then specified _MASTER_SITES_DEFAULT in make.conf to a FTP server on the local site. That method works when the port is previously cached however if the file isn't in the cache and I simultaneously install the port across ten hosts, the port is fetched ten times. Sigh.) I have a Squid proxy installed that isn't meant for every-day/every-user use and requires authentication. (Users either go through another Squid proxy or direct.) The special Squid proxy works. No surprise there. Authentication works. No surprise there. What I need is a method to embed into make.conf a proxy specification for fetch. Setting the environment variable HTTP_PROXY from the login shell /is not/ preferred because the account is used by different administrators, I don't what the special proxy accidentally polluted with non-port stuff, and it would only create confusion. Setting http_proxy in make.conf does not work. .netrc doesn't appear to be a viable method (if it did, I could specify FETCH_ARGS in make.conf). What about using a NFS share for /usr/ports/distfiles ? Many of these servers provide network/system services across a WAN. If a link goes down or is congested, NFS may hang them all. NFS also provides certain security challenges. What about using a SSHFS share for /usr/ports/distfiles ? I don't know much about that file system and will have to look into it. I have had problems with FUSE code, as recently as last week (i.e., very large files). How does SSHFS resolve multiple systems simultaneously downloading and caching ports? I assume much the same as any file system where there is a reasonable risk of content corruption (e.g., one of the downloads abort resulting in a partial download or a lack of file locking results in multiple processes simultaneously writing to the same file with unpredictable content). Many of my servers provide network/system services over a dodgy ATT MPLS. As such, the servers must be as autonomous as possible. In the _MASTER_SITES_DEFAULT technique I used at another site, if my site-local FTP server is unavailable then fetch does the normal stuff (i.e., it fails to the next site in the list). The compromise with a proxy technique is to disable the proxy spec if there is a network problem. This works because I have three, independent Internet exit points across my WAN linked together with local-preferenced BGP. ___ 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
pkg-add - package insists on old version of Perl
I am trying to install the Amanda server package. I am running FreeBSD 8.2 with Perl 5.12.3. The package lists Perl 5.10.1 as a dependency and since my newer version of Perl conlicts with the older version the install fails. pkg_add with -f just tries to force the installation of the older Perl and fails. How do I get the package to install and use the Perl I already have? I'd rather not downgrade Perl. ___ 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: pkg-add - package insists on old version of Perl
On 27/06/2011 17:15, Joe in MPLS wrote: I am trying to install the Amanda server package. I am running FreeBSD 8.2 with Perl 5.12.3. The package lists Perl 5.10.1 as a dependency and since my newer version of Perl conlicts with the older version the install fails. pkg_add with -f just tries to force the installation of the older Perl and fails. How do I get the package to install and use the Perl I already have? I'd rather not downgrade Perl. Unfortunately, you don't. Not with packages at least. This version mis-match thing is a known limitation with FreeBSD pkgs: changes are under development, but nowhere near ready for primetime yet. Instead, install amanda from ports. Ports will automatically adapt to the version of perl you already have installed, and generally do what you want. Amanda is not (as I recall) something with a huge dependency list, nor is it a particularly enormous program in its own right, so compiling the port shouldn't be too onerous. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: pkg-add - package insists on old version of Perl
in message 4e08aca7.5080...@gracenpeace.net, wrote Joe in MPLS thusly... I am trying to install the Amanda server package. I am running FreeBSD 8.2 with Perl 5.12.3. The package lists Perl 5.10.1 as a dependency and since my newer version of Perl conlicts with the older version the install fails. pkg_add with -f just tries to force the installation of the older Perl and fails. How do I get the package to install and use the Perl I already have? I'd rather not downgrade Perl. pkg_add should not fail itself in installing a package ... -f, --force Force installation to proceed even if prerequisite packages are not installed or the requirements script fails. Although pkg_add will still try to find and auto-install missing prerequisite packages, a failure to find one will not be fatal. ... then, just to confirm, pkg_add did not succeed in installing the desired package in the end? I wonder if using -F ... -F Already installed packages are not an error. ... would install perl 5.10 too in addition to 5.12, or install of 5.10 would be skipped?. - parv -- ___ 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: Dual Boot 8.2 and Windows 7
Gyrd Thane Lange gyrd...@thanelange.no wrote: On Fri, 24 Jun 2011 16:47:26 -0700 per...@pluto.rain.com wrote: ... The code in i386/boot2 and lib/libstand is written to find the / (or /boot) FS on a BSD partition of an fdisk primary partition (aka slice), or in a GPT partition, and would need additions to handle fdisk extended partitions. Some years ago I ran into a similar problem. I ran out of primary partitions (using MBR-speak) and had to move FreeBSD into an extended partition. Here the simple patch I wrote for the FreeBSD boot loader: http://parvati.thanelange.no/freebsd/boot_loader/boot_loader.diff http://parvati.thanelange.no/freebsd/boot_loader/ Any thought of submitting that as a PR? The next challenge is to find a boot manager that will pick up FreeBSD in an extended partition. For myself I use a self patched GRUB. (GRUB also nearly worked out of the box, but had a different problem.) It makes sense that GRUB would understand extended partitions since its roots are in Linux which is often installed in extended partitions. Ideally FreeBSD should have a native solution, i.e. a version of boot2 that would understand extended partitions. Dunno without trying it if the capability could be added to the existing boot2 without exceeding available space, or if it would need a new variant. You're welcome to have those patches as well if you need them. It would be good to get them posted somewhere. GRUB is not in the FreeBSD tree AFAIK, so send-pr is likely not all that good a method, but perhaps they could be pushed upstream to the GRUB maintainers? Lastly I have the following in my kernel configuration file: include GENERIC ... nooptions GEOM_PART_BSD nooptions GEOM_PART_MBR options GEOM_BSD options GEOM_MBR That is because I am not fond of the new mangled device names, but prefer the old ones. What differences? AFAIK a disk sliced with fdisk and partitioned with bsdlabel will have partition names like ad0s1a regardless of which GEOM modules are used to process the MBR and partitions. It's only if one uses the GPT partitioning scheme instead of fdisk/bsdlabel that the disk will have partition names like ad0a. ___ 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: I have a error in freebsd 8.2, an internal system error has ocurred
2011/6/27 Damien Fleuriot m...@my.gd: On 6/26/11 5:33 PM, Edgar Rodolfo wrote: Hi guys!, i am new on freebsd, but i had installed freebsd 8.2 with graphical interface (gnome), i was very happy, but suddendly i saw a message, exactly the message said: we were not expecting has ocurred ..., look the photo, i don't understand exactly, 30 min the message appears, is dangerous the message? http://subefotos.com/ver/?46893c74c902254a3d7789bb38a6b457o.png ___ 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, While I have no idea what it means and what its cause could be, this is a KDE error. You might want to check with them directly ? that message i saw: A problem that we were not expecting has occurred. please report this bug in your distribution bugtraker with the error description more details the backend exited unexpectedly this is a serious error as the spawned did not complete the pending transaction. it appears each 20 minutes again, i don't know, suddenly..., when i am doing something, no exactly ping..., what is the meaning exactly the message? I red about it, is a problem with gnome..., but some can help me? ___ 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 -- Edguitar ;) http://cybernautape.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
cvsup and versions
hey, i have just cvsup'ed for first time (newbie) RELENG_8_1_RELEASE rebuilt world... there is a problem with a particular port: audio/libsndfile the version in this system ports tree is 1.0.21 the set of versions available within the cvs repository are: 1.0.20, 1.0.23, 1.0.24 - but not 1.0.21 1.0.24 is latest it seems that the latest version did not carry across with the cvsup i have most documentation available have tried portupgrade - no go am stuck how do i update this individual port and is it possible to have two separate versions of same port in the tree example: to rename libsndfile dirs to libsndfile-1.0.21, libsndfile-1.0.24 for sake dependancies am guessing, though i suspect that the two installed binaries may conflict... ___ 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: Using a special proxy for ports
On Sun, 26 Jun 2011 20:52:09 -0600 (MDT) Dennis Glatting wrote: I need is a method to embed into make.conf a proxy specification for fetch. Setting the environment variable HTTP_PROXY from the login shell /is not/ preferred because the account is used by different administrators, I don't what the special proxy accidentally polluted with non-port stuff, and it would only create confusion. Setting http_proxy in make.conf does not work. .netrc doesn't appear to be a viable method (if it did, I could specify FETCH_ARGS in make.conf). I think what you need is: FETCH_ENV= http_proxy=squid server ___ 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: cvsup and versions
On Mon, 27 Jun 2011 22:17:09 +0100 wayne mitchell wrote: hey, i have just cvsup'ed for first time (newbie) RELENG_8_1_RELEASE You probably want to use RELENG_8_1 which is the security branch for the 8.1 release. RELENG_8_1_RELEASE is the version on the CD, without any security fixes. rebuilt world... there is a problem with a particular port: audio/libsndfile the version in this system ports tree is 1.0.21 the set of versions available within the cvs repository are: 1.0.20, 1.0.23, 1.0.24 - but not 1.0.21 1.0.24 is latest I updated my ports this morning and have 1.0.24. You probably just updated the World (base-system) source code. I think the sample sup files have separate files for world and ports . I think that's the best way to do it although some people prefer to do them together. Most people these days use portsnap for updating the ports tree. ___ 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: SAS controller for FreeBSD
On Sat, Jun 25, 2011 at 04:47:19PM -0400, Daniel Feenberg wrote: On Sat, 25 Jun 2011, Leon Meßner wrote: On Fri, Jun 24, 2011 at 06:51:37PM -0400, Daniel Feenberg wrote: ... There are some SAS RAID controllers that claim to support FreeBSD but I can't tell if their JBOD mode is a true pass-through, or leaves some undesirable junk on the disk. So does anyone have a recomendation for a reasonably priced SAS controller? We aren't looking for anything fancy at this point. We are using two of the LSI SAS2008 based cards here and have no problems with them. Be sure to run a recent STABLE as the mps driver is relatively new. Speed and reliability are very nice. The only thing we February of this year: http://lists.freebsd.org/pipermail/freebsd-scsi/2011-February/004784.html are missing is IR-Firmware support but if you only want a HBA this won't bother you. If I search the LSI website for SAS2008 the first hit includes a description of the chipset features, including the bullet point * Integrated RAID All the cards on the LSI website that I can find using the SAS2008 chipset include the sentence Integrated RAID avoids additional host CPU overhead in their brief description, even the ones labeled HBA. Apparently the FreeBSD driver does not include an interface to the RAID capability, but it seems that the chipset still provides it. I suppose this still avoids controller lock in, so it should be satisfactory. Can I ask what model you have? We are running the SAS 9200-8e and the onboard version on the X8SI6-F Mainboard from Supermicro. It was possible to Flash IT-Firmware on Systems that had been delivered with IR-Firmware. I think they removed that feature from their flashing utility. cheers, Leon ___ 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: cvsup and versions
On 27 June 2011 17:17, wayne mitchell wayne.mitchell...@gmail.com wrote: hey, i have just cvsup'ed for first time (newbie) RELENG_8_1_RELEASE rebuilt world... there is a problem with a particular port: audio/libsndfile the version in this system ports tree is 1.0.21 the set of versions available within the cvs repository are: 1.0.20, 1.0.23, 1.0.24 - but not 1.0.21 1.0.24 is latest it seems that the latest version did not carry across with the cvsup i have most documentation available have tried portupgrade - no go am stuck how do i update this individual port and is it possible to have two separate versions of same port in the tree example: to rename libsndfile dirs to libsndfile-1.0.21, libsndfile-1.0.24 for sake dependancies am guessing, though i suspect that the two installed binaries may conflict... You need to update your ports tree, which is handled separately from the base system. The simplest method is via portsnap(8) (qv http://www.freebsd.org/cgi/man.cgi?query=portsnapapropos=0sektion=0manpath=FreeBSD+8.2-RELEASEformat=html or http://tinyurl.com/3cr6ktw ) And then run portupgrade (or portmanager, or portmaster) to upgrade your installed ports. You can also use cvs to update your ports tree, but it occasionally presents certain difficulties. -- -- ___ 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: cvsup and versions
wayne mitchell wrote: hey, i have just cvsup'ed for first time (newbie) Cvsup as an add-on port is actually no longer needed. Csup is cvsup rewritten in C and is a part of the base OS now. Functionally identical. RELENG_8_1_RELEASE rebuilt world... there is a problem with a particular port: audio/libsndfile I am uncertain if you are aware of the difference between 'world' and installed ports. The make target of buildworld, buildkernel, etc apply to the OS itself and would pertain mostly to OS version upgrades and custom kernels. This can be reflected in the supfile you might utilize for each purpose. I keep 2 different ones, because they pull different bits. By way of example, my 'src' supfile for OS source updating will have something along the lines of: [...] *default release=cvs tag=RELENG_8_2 *default delete use-rel-suffix compress src-all The tag RELENG_8_2 is known as the security branch of Release. The only bits that change with regard to Release is the inclusion of security update patches. The src-all collection contains the OS bits. My 'ports' supfile has a different tag and collection: [...] *default release=cvs tag=. *default delete use-rel-suffix compress ports-all The ports-all collection updates the ports tree. Note the different tag. If you were to use this tag _and_ the src-all collection you would be pulling the OS bits for -HEAD. When used for ports tree refresh you will always be on the most current ports tree at each refresh. Since dependency tracking comes from the ports tree, each time it 'moves' forward (that is applications get newer with version number changes) all dependencies slide along for the ride. This is what enables one to utilize portupgrade and portmaster to keep installed applciations (and their dependencies) updated and matching version-wise. So most refresh their ports tree immediately prior to adding, installing, or updating 3rd party applications, ensuring that everything is always the latest and greatest. The possibility does exist that one may 'freeze' a ports tree in time, although not many good reasons for doing so exist. In the ports supfile can be added a date parameter which will select a version of the tree as it existed at that time. Not something I'd recommend dealing with, per se. the version in this system ports tree is 1.0.21 the set of versions available within the cvs repository are: 1.0.20, 1.0.23, 1.0.24 - but not 1.0.21 1.0.24 is latest it seems that the latest version did not carry across with the cvsup i have most documentation available have tried portupgrade - no go am stuck how do i update this individual port and is it possible to have two separate versions of same port in the tree example: to rename libsndfile dirs to libsndfile-1.0.21, libsndfile-1.0.24 for sake dependancies am guessing, though i suspect that the two installed binaries may conflict... ___ Although not particularly recommended it is possible to have one binary version of a lib reported as multiple versions. See man libmap.conf. I believe it is better to have recompiled apps linked to the correct lib, e.g. libfoo.so.3 may be possibly different enough so that when you lie to app xyz it is libfoo.so.2 app xyz may malfunction. -Mike ___ 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: Dual Boot 8.2 and Windows 7
On Mon, 27 Jun 2011 09:56:51 -0700 per...@pluto.rain.com wrote: Gyrd Thane Lange gyrd...@thanelange.no wrote: On Fri, 24 Jun 2011 16:47:26 -0700 per...@pluto.rain.com wrote: ... The code in i386/boot2 and lib/libstand is written to find the / (or /boot) FS on a BSD partition of an fdisk primary partition (aka slice), or in a GPT partition, and would need additions to handle fdisk extended partitions. Some years ago I ran into a similar problem. I ran out of primary partitions (using MBR-speak) and had to move FreeBSD into an extended partition. Here the simple patch I wrote for the FreeBSD boot loader: http://parvati.thanelange.no/freebsd/boot_loader/boot_loader.diff http://parvati.thanelange.no/freebsd/boot_loader/ Any thought of submitting that as a PR? I've always meant to submit it as a PR, but found the send-pr(1) too daunting. (It is impossible/undesirable for me to have a working mail sender on my system and I have not yet found a way for send-pr(1) to work in offline mode for delayed sending by a different machine.) I suppose I could give the HTML version a try... The next challenge is to find a boot manager that will pick up FreeBSD in an extended partition. For myself I use a self patched GRUB. (GRUB also nearly worked out of the box, but had a different problem.) It makes sense that GRUB would understand extended partitions since its roots are in Linux which is often installed in extended partitions. Ideally FreeBSD should have a native solution, i.e. a version of boot2 that would understand extended partitions. Dunno without trying it if the capability could be added to the existing boot2 without exceeding available space, or if it would need a new variant. I agree that would have been more convenient, but since MBR is going the way of the dodo I haven't looked that closely into it. You're welcome to have those patches as well if you need them. It would be good to get them posted somewhere. GRUB is not in the FreeBSD tree AFAIK, so send-pr is likely not all that good a method, but perhaps they could be pushed upstream to the GRUB maintainers? The problem with GRUB was computing the correct absolute start sector of FreeBSD partitions, as in bsdlabel(8), when they resided in extended partitions. More details are available as comments in the patch. http://parvati.thanelange.no/freebsd/grub/patch-ufs-in-logical-partition All that's required is to drop the file into: /usr/ports/sysutils/grub/files/ and then build the port, install grub, e.t.c. I can make a PR for it against the sysutils/grub port. I'll also look into how to push it upstream. Lastly I have the following in my kernel configuration file: include GENERIC ... nooptions GEOM_PART_BSD nooptions GEOM_PART_MBR options GEOM_BSD options GEOM_MBR That is because I am not fond of the new mangled device names, but prefer the old ones. What differences? AFAIK a disk sliced with fdisk and partitioned with bsdlabel will have partition names like ad0s1a regardless of which GEOM modules are used to process the MBR and partitions. It's only if one uses the GPT partitioning scheme instead of fdisk/bsdlabel that the disk will have partition names like ad0a. Sorry, I didn't explain that very well. Yes, I agree that there probably aren't any differences for primary slices, but I had some trouble with slice names for slices in extended partitions. For instance, my root volume is on /dev/ad8s11a. I don't remember what the new GEOM_PART_* suggested to call it, but it was very different. Also I wanted to avoid using the hard-to-read names like /dev/ufsid/442602f4ad1b67d2 I suppose I could always get around that problem by using tunefs -L myroot and putting vfs.root.mountfrom=ufs:/dev/ufs/myroot in /boot/loader.conf. Similar change to /etc/fstab. Gyrd ^_^ ___ 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: Where to download latest FreeBSD snapshots
Pan Tsu iny...@gmail.com wrote in 864o3dtsey@gmail.com: in Hiroki Sato h...@freebsd.org writes: in in Hello, in in dave jones s.dave.jo...@gmail.com wrote inin BANLkTikR-GL9LFkTL6f=pm5vcazaftk...@mail.gmail.com: in in s. It seems that allbsd.org is up, but I can't find the HEAD snapshots, in s. only RELENG. in s. Would you like to build HEAD snapshots? Thank you very much. in in Building snapshots of HEAD and RELENG_[67] are temporarily disabled in because a maintenance work is now in progress. They will be back on in the page in the next week. in in Are there more places for *daily* HEAD snapshots? I used them a few in times to report regressions with a clean environment. The HEAD snapshot build is finally getting recovered (currently for amd64 and i386 only, though). Some hardware failure prevented the build cluster from working. -- Hiroki pgpJPL7F3aVxA.pgp Description: PGP signature
Re: Dual Boot 8.2 and Windows 7
On Tue, 28 Jun 2011 01:52:16 +0200 Gyrd Thane Lange gyrd...@thanelange.no wrote: On Mon, 27 Jun 2011 09:56:51 -0700 per...@pluto.rain.com wrote: Gyrd Thane Lange gyrd...@thanelange.no wrote: On Fri, 24 Jun 2011 16:47:26 -0700 per...@pluto.rain.com wrote: ... The code in i386/boot2 and lib/libstand is written to find the / (or /boot) FS on a BSD partition of an fdisk primary partition (aka slice), or in a GPT partition, and would need additions to handle fdisk extended partitions. Some years ago I ran into a similar problem. I ran out of primary partitions (using MBR-speak) and had to move FreeBSD into an extended partition. Here the simple patch I wrote for the FreeBSD boot loader: http://parvati.thanelange.no/freebsd/boot_loader/boot_loader.diff http://parvati.thanelange.no/freebsd/boot_loader/ Any thought of submitting that as a PR? I've always meant to submit it as a PR, but found the send-pr(1) too daunting. (It is impossible/undesirable for me to have a working mail sender on my system and I have not yet found a way for send-pr(1) to work in offline mode for delayed sending by a different machine.) I suppose I could give the HTML version a try... http://www.freebsd.org/cgi/query-pr.cgi?pr=158358 kern/158358: [patch] allow /boot/loader to work from an MBR extended partition The next challenge is to find a boot manager that will pick up FreeBSD in an extended partition. For myself I use a self patched GRUB. (GRUB also nearly worked out of the box, but had a different problem.) It makes sense that GRUB would understand extended partitions since its roots are in Linux which is often installed in extended partitions. Ideally FreeBSD should have a native solution, i.e. a version of boot2 that would understand extended partitions. Dunno without trying it if the capability could be added to the existing boot2 without exceeding available space, or if it would need a new variant. I agree that would have been more convenient, but since MBR is going the way of the dodo I haven't looked that closely into it. You're welcome to have those patches as well if you need them. It would be good to get them posted somewhere. GRUB is not in the FreeBSD tree AFAIK, so send-pr is likely not all that good a method, but perhaps they could be pushed upstream to the GRUB maintainers? The problem with GRUB was computing the correct absolute start sector of FreeBSD partitions, as in bsdlabel(8), when they resided in extended partitions. More details are available as comments in the patch. http://parvati.thanelange.no/freebsd/grub/patch-ufs-in-logical-partition All that's required is to drop the file into: /usr/ports/sysutils/grub/files/ and then build the port, install grub, e.t.c. I can make a PR for it against the sysutils/grub port. I'll also look into how to push it upstream. I have filed the following PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=158362 ports/158362: sysutils/grub [patch] allow GRUB to boot FreeBSD from an extended partition While doing so I discovered another one with a similar theme. http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/152389 ports/152389: sysutils/grub and sysutils/grub2 misinterpret disklabels created with bsdlabel Gyrd ^_^ ___ 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: fubar'ed it good this time...
On Mon, 27 Jun 2011 06:40:27 -0700, Kurt Buff wrote: Your advice sounds reasonable, but that site seems devoted to zfs bootables. I wonder if an 8.1 livefs iso will do the trick... Check if you can download FreeSBIE somewhere. It's a live system using the 5.x and 6.x kernel which should be fine. Next to two GUI modes (light, heavy) it also has a versatile maintenance mode for such operations. I have already successfully used this system for solving similar situations, for diagnostics, and for data recovery preparation. -- 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