Re: an upto date list of new ports
On Fri, Mar 1, 2013 at 8:50 AM, Aryeh Friedman aryeh.fried...@gmail.com wrote: is there a site or other location that lists *NEW* (not updated) ports since a given date? http://www.freshports.org/ has some limited options (24hrs, 48hrs, 7days, one month)... but since the ports tree is now under SVN, it's probably easier to use SVN directly to find out. -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Which core belongs to which cpu?
Hi, is there a way to determine which core (virtual or real) belongs to which cpu? Regards, kaltheat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Soekris or .. ?
Hello, I'm looking for a small Soekris-like (http://soekris.com/) box which support FreeBSD, any experience or brand to advise .. ? Thank you, Julien -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-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: Soekris or .. ?
On 01.03.13 11:49, Julien Cigar wrote: [...] I'm looking for a small Soekris-like (http://soekris.com/) box which support FreeBSD, any experience or brand to advise .. ? I once had FreeBSD (7-CURRENT days) running on ALIX boards [ https://shop.tronico.net/ ] for quite a while (mini server). No problems at all. cheers, Frank Reppin -- 43rd Law of Computing: Anything that can go wr fortune: Segmentation violation -- Core dumped ___ freebsd-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: Soekris or .. ?
On 03/01/13 10:56, Frank Reppin wrote: On 01.03.13 11:49, Julien Cigar wrote: [...] I'm looking for a small Soekris-like (http://soekris.com/) box which support FreeBSD, any experience or brand to advise .. ? I once had FreeBSD (7-CURRENT days) running on ALIX boards [ https://shop.tronico.net/ ] for quite a while (mini server). No problems at all. I'll second that. I've had an Alix board running pfSense as my router/firewall for several years now with zero problems and any downtime was due to upgrading the system or power cuts. The manufacturer's web site is at http://www.pcengines.ch/alix.htm ___ freebsd-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: Soekris or .. ?
2013/3/1 Arthur Chance free...@qeng-ho.org On 03/01/13 10:56, Frank Reppin wrote: On 01.03.13 11:49, Julien Cigar wrote: [...] I'm looking for a small Soekris-like (http://soekris.com/) box which support FreeBSD, any experience or brand to advise .. ? I once had FreeBSD (7-CURRENT days) running on ALIX boards [ https://shop.tronico.net/ ] for quite a while (mini server). No problems at all. I'll second that. I've had an Alix board running pfSense as my router/firewall for several years now with zero problems and any downtime was due to upgrading the system or power cuts. The manufacturer's web site is at http://www.pcengines.ch/alix.htm I also have an alix at home running yet (Alix 2d2). It's a great one and I made an uptime of 500 days with FreeBSD 8.1 the last year :-). It does not consumes a lot of power ressources neither. However I advise only network gateway / firewall / wifi access uses point because of the small RAM available. It works out of the box with FreeBSD, only ACPI need to be disabled (for a date issue only). Cheers, -- Demelier David ___ freebsd-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: Soekris or .. ?
On Fri, Mar 1, 2013 at 11:49 AM, Julien Cigar jci...@ulb.ac.be wrote: Hello, I'm looking for a small Soekris-like (http://soekris.com/) box which support FreeBSD, any experience or brand to advise .. ? I'm using Soekris net4801 boxes with FreeBSD without problems since many years as small routers with pf, dhcp, bind, lighttpd etc... Last version i've tested is 8.3. I didn't update to 9.X yet for no other reasons than lack of time to try it, and I don't know if clang supports Geode well enough so I can't say anything about -CURRENT. But save for this, Soekris boxes and FreeBSD are a great match. Thank you, Julien -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-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: Does anyone know how to install FreeBSD 8.3 under Virtual Box 4.2.6?
On Mar 1, 2013, at 2:04 AM, Richard Sharpe realrichardsha...@gmail.com wrote: Hi, I booted the FreeBSD 8.3 DVD1 under Virtual Box, but it crashes in VB 4.2.6 under Win 7 and Linux. Can you install *other* Guest OSes under VBox on these hosts ? I have been running lots of 9.0 VMs under VBox with only minor issues :-) -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
https://wiki.freebsd.org/ certificate error
When my browser access wiki.freebsd.org I get certificate error message. Who should I notify about this problem? ___ freebsd-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: https://wiki.freebsd.org/ certificate error
On Fri, 2013-03-01 at 09:08 -0500, Fbsd8 wrote: When my browser access wiki.freebsd.org I get certificate error message. Who should I notify about this problem? No error here, with Firefox [1] Arch Linux. Regards, Ralf [1] $ firefox -version Mozilla Firefox 19.0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: https://wiki.freebsd.org/ certificate error
On 01/03/2013 16:14, Ralf Mardorf wrote: [1] $ firefox -version Mozilla Firefox 19.0 No problem with SeaMonkey 2.16. Peter ___ freebsd-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: https://wiki.freebsd.org/ certificate error
On Fri, 01 Mar 2013 08:08:17 -0600, fb...@a1poweruser.com wrote: When my browser access wiki.freebsd.org I get certificate error message. Who should I notify about this problem?] What do you get for results when you run # openssl s_client -showcerts -connect wiki.freebsd.org:443 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Limiting jail CPU memory resources
Is there anything in 9.1 to Limit jail CPU memory resources? ___ freebsd-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: Limiting jail CPU memory resources
On Fri, 01 Mar 2013 08:38:05 -0600, fb...@a1poweruser.com wrote: Is there anything in 9.1 to Limit jail CPU memory resources? https://wiki.freebsd.org/Hierarchical_Resource_Limits ___ freebsd-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: https://wiki.freebsd.org/ certificate error
Also no problem with FreeBSD 9.1 and chromium. But sometimes ago I have this problem with all https sites. because the government forged the wrong SSL certificate and my browser and my browser warned me about it. Do you have this problem with other websites? On Fri, Mar 1, 2013 at 6:02 PM, Zyumbilev, Peter pe...@aboutsupport.comwrote: On 01/03/2013 16:14, Ralf Mardorf wrote: [1] $ firefox -version Mozilla Firefox 19.0 No problem with SeaMonkey 2.16. Peter ___ freebsd-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: https://wiki.freebsd.org/ certificate error
On Fri, 1 Mar 2013 08:37:40 -0600 Mark Felder articulated: On Fri, 01 Mar 2013 08:08:17 -0600, fb...@a1poweruser.com wrote: When my browser access wiki.freebsd.org I get certificate error message. Who should I notify about this problem?] What do you get for results when you run # openssl s_client -showcerts -connect wiki.freebsd.org:443 I am not sure what he gets, but I receive this: openssl s_client -showcerts -connect wiki.freebsd.org:443 CONNECTED(0003) depth=1 C = FR, O = GANDI SAS, CN = Gandi Standard SSL CA verify error:num=20:unable to get local issuer certificate verify return:0 --- Certificate chain 0 s:/OU=Domain Control Validated/OU=Gandi Standard SSL/CN=www.freebsd.org i:/C=FR/O=GANDI SAS/CN=Gandi Standard SSL CA -BEGIN CERTIFICATE- MIIE3TCCA8WgAwIBAgIQStABQicagmyUdAdcZdHhbzANBgkqhkiG9w0BAQUFADBB MQswCQYDVQQGEwJGUjESMBAGA1UEChMJR0FOREkgU0FTMR4wHAYDVQQDExVHYW5k aSBTdGFuZGFyZCBTU0wgQ0EwHhcNMTMwMTA5MDAwMDAwWhcNMTQwMTA5MjM1OTU5 WjBaMSEwHwYDVQQLExhEb21haW4gQ29udHJvbCBWYWxpZGF0ZWQxGzAZBgNVBAsT EkdhbmRpIFN0YW5kYXJkIFNTTDEYMBYGA1UEAxMPd3d3LmZyZWVic2Qub3JnMIIB IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAte4et1M/Tzm1DnYdOkcg/TGP mspy7s6Rl1+G8ttVpMNYCYU4DZl4xMKsG6h0lc3n9eb86utvK5RWzpnb7+x+Pgtc yrJAgZAcI4qHmVZHllb+H4iUjNezhw4u4wxyJVx31UO0Z300R8VRBHbEhoyAKOMW qeqjE/H0rPrFzuxjf0yYHkAvb9AyrZ1D+TNSd5T+k9CEFFYiRE8Xe8t+i5agf2Mc CPcwp3RsHDnQ3JbvBF6HuuALFHt1wKSXFUs9nFKrqzG9LMqGqxAf/olbZ1gNnSyl rtRhCe9pLAk61VqKM8sf1B7b9cWvwRk32VEpmt5xXmT1ns198HMd1YXHuTLM/wID AQABo4IBtjCCAbIwHwYDVR0jBBgwFoAUtqj/oqgv0KbNS7Fo8+dQEDGneSEwHQYD VR0OBBYEFCdXnnMlBPMrCVsPEMbqP43RhF7oMA4GA1UdDwEB/wQEAwIFoDAMBgNV HRMBAf8EAjAAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjBgBgNVHSAE WTBXMEsGCysGAQQBsjEBAgIaMDwwOgYIKwYBBQUHAgEWLmh0dHA6Ly93d3cuZ2Fu ZGkubmV0L2NvbnRyYWN0cy9mci9zc2wvY3BzL3BkZi8wCAYGZ4EMAQIBMDwGA1Ud HwQ1MDMwMaAvoC2GK2h0dHA6Ly9jcmwuZ2FuZGkubmV0L0dhbmRpU3RhbmRhcmRT U0xDQS5jcmwwagYIKwYBBQUHAQEEXjBcMDcGCCsGAQUFBzAChitodHRwOi8vY3J0 LmdhbmRpLm5ldC9HYW5kaVN0YW5kYXJkU1NMQ0EuY3J0MCEGCCsGAQUFBzABhhVo dHRwOi8vb2NzcC5nYW5kaS5uZXQwJwYDVR0RBCAwHoIPd3d3LmZyZWVic2Qub3Jn ggtmcmVlYnNkLm9yZzANBgkqhkiG9w0BAQUFAAOCAQEAnTfCort6uF+Zqif1ZjWd OBxZdJCc6JX531Z7nMBQSdNnYmjmU5lGFV+3hA3lHfQ/wmwEKJa40UbSDyzfEXNB +AxCrCFSNA1IdrVTFgPfxA1kAPeji+ufR5Btgi4KV3+Nfi7wE8pjcExAuRRVdw6G 3ziscirNeywmQxiTN/eybmvCrCjtck5aBQpPS7lunYtVjaqAyI6blJpWt8zoBggh 8B6jweGtxq/YaFq4iwiUwIbR2DF0oDeJy0/JqyS5EZE2cjB4b4adBigKjK21FFJO YzcKX/xBrL+LB6WSUbl3xVywtdtBVexJlJquIjYwv+fvuuMsxTKiYuVJillqIRaN uQ== -END CERTIFICATE- 1 s:/C=FR/O=GANDI SAS/CN=Gandi Standard SSL CA i:/C=US/ST=UT/L=Salt Lake City/O=The USERTRUST Network/OU=http://www.usertrust.com/CN=UTN-USERFirst-Hardware -BEGIN CERTIFICATE- MIIEozCCA4ugAwIBAgIQWrYdrB5NogYUx1U9Pamy3DANBgkqhkiG9w0BAQUFADCB lzELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2Ug Q2l0eTEeMBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExho dHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xHzAdBgNVBAMTFlVUTi1VU0VSRmlyc3Qt SGFyZHdhcmUwHhcNMDgxMDIzMDAwMDAwWhcNMjAwNTMwMTA0ODM4WjBBMQswCQYD VQQGEwJGUjESMBAGA1UEChMJR0FOREkgU0FTMR4wHAYDVQQDExVHYW5kaSBTdGFu ZGFyZCBTU0wgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC2VD2l 2w0ieFBqWiOJP5eh1AcaqVgIm6AVwzK2t/HouaVvrTf2bnEbtHUtSF6fxhWqge/l xIiVijpsd8y1zWXkZ+VzyVBSlMEnST6ga0EWQbaUmUGuPsviBkYJ6U2+yUxVqRh+ pt9u/UqyzGxO2chQFZOz8unjwmqtOtX7w3lQnyV5KbJHZHwgPuIITZMpFLY0bs9x Rn52EPT9bKoB0sIG3pKDzFiQLpLeHmW3Yy89sutwjEzgvhWd3sFNVvgLxo4HuV3f lfB7QB8aLNecK0t29Fn1Q8EsZhCenmaWYJ0cdBtOGFwIsG5symkaAum7ynjvZi7j Mv1BXJV0gU302v5LAgMBAAGjggE+MIIBOjAfBgNVHSMEGDAWgBShcl8mGyiYQ5Vd BzfVhZadS9LDRTAdBgNVHQ4EFgQUtqj/oqgv0KbNS7Fo8+dQEDGneSEwDgYDVR0P AQH/BAQDAgEGMBIGA1UdEwEB/wQIMAYBAf8CAQAwGAYDVR0gBBEwDzANBgsrBgEE AbIxAQICGjBEBgNVHR8EPTA7MDmgN6A1hjNodHRwOi8vY3JsLnVzZXJ0cnVzdC5j b20vVVROLVVTRVJGaXJzdC1IYXJkd2FyZS5jcmwwdAYIKwYBBQUHAQEEaDBmMD0G CCsGAQUFBzAChjFodHRwOi8vY3J0LnVzZXJ0cnVzdC5jb20vVVROQWRkVHJ1c3RT ZXJ2ZXJfQ0EuY3J0MCUGCCsGAQUFBzABhhlodHRwOi8vb2NzcC51c2VydHJ1c3Qu Y29tMA0GCSqGSIb3DQEBBQUAA4IBAQAZU78DPZvia1r9ukkfT+zhxoI5PNIDBA+r ez6CqYUQH/TeMq9YP/9w8zAdly1MmuLsDD4ULS+YSJ2uFmqsLUKqtWSkcLvrc5R7
Re: https://wiki.freebsd.org/ certificate error
On Fri, 01 Mar 2013 09:23:25 -0600, je...@seibercom.net wrote: I am not sure what he gets, but I receive this: That Gandi certificate is correct. I wonder if he's got some strange MITM going on. ___ freebsd-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: https://wiki.freebsd.org/ certificate error
Javad Kouhi wrote: Also no problem with FreeBSD 9.1 and chromium. But sometimes ago I have this problem with all https sites. because the government forged the wrong SSL certificate and my browser and my browser warned me about it. Do you have this problem with other websites? On Fri, Mar 1, 2013 at 6:02 PM, Zyumbilev, Peter pe...@aboutsupport.comwrote: On 01/03/2013 16:14, Ralf Mardorf wrote: [1] $ firefox -version Mozilla Firefox 19.0 No problem with SeaMonkey 2.16. Peter I use xp browser and it's certificate checking is enabled. Maybe the browsers running from xorg desktops are NOT certificate aware so them not getting the error warning would be expected. The fact remains, the ms/browsers do find the wiki.freebsd.org wedsite's certificate invalid because the certificate ip address does not match the ip address the public dns points to. ___ freebsd-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: Limiting jail CPU memory resources
Mark Felder wrote: On Fri, 01 Mar 2013 08:38:05 -0600, fb...@a1poweruser.com wrote: Is there anything in 9.1 to Limit jail CPU memory resources? https://wiki.freebsd.org/Hierarchical_Resource_Limits Read that all ready and left me with more question than answers. Its experimental and has to be compiled into the kernel. Need solutions that are provided as part of the base system. Such as a loadable kernel module. Can not be risking the security of production jails on some experimental software. ___ freebsd-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: https://wiki.freebsd.org/ certificate error
On Fri, 01 Mar 2013 09:42:58 -0600, fb...@a1poweruser.com wrote: The fact remains, the ms/browsers do find the wiki.freebsd.org wedsite's certificate invalid because the certificate ip address does not match the ip address the public dns points to. You can put a certificate on any IP address you want. It's not embedded into the certificate. For the most part it only matters that the CommonName on the certificate matches the hostname of the website and the certificate chain is valid. ___ freebsd-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: Limiting jail CPU memory resources
On Fri, 01 Mar 2013 09:52:41 -0600, fb...@a1poweruser.com wrote: Read that all ready and left me with more question than answers. Its experimental and has to be compiled into the kernel. Need solutions that are provided as part of the base system. Such as a loadable kernel module. Can not be risking the security of production jails on some experimental software. Unfortunately there's nothing else available yet. You'd be better off using full-fledged hypervisors like Xen, KVM, or ESXi. I'm also anxiously awaiting some improvement in this area. ___ freebsd-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: Soekris or .. ?
On Fri, Mar 1, 2013 at 11:49 AM, Julien Cigar jci...@ulb.ac.be wrote: Hello, I'm looking for a small Soekris-like (http://soekris.com/) box which support FreeBSD, any experience or brand to advise .. ? I'm using Soekris net4801 boxes with FreeBSD without problems since many years as small routers with pf, dhcp, bind, lighttpd etc... Last version i've tested is 8.3. I didn't update to 9.X yet for no other reasons than lack of time to try it, and I don't know if clang supports Geode well enough so I can't say anything about -CURRENT. But save for this, Soekris boxes and FreeBSD are a great match. Thank you, Julien -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Just food for thought: You could also use a cheap netbook for about the same money as a new Soekris box. Unless you have minimalistic power requirements and really need the Seokris' 12-15W vs a netbooks 40-50W draw. Advantages, at least compared to my Soekris net4801, are integrated screen,keyboard and UPS and much better network throughput via ural(4) or similar versus the built in sis(4) of the net4801. If power is a major concern you can shut down the LCD assuming you can get APCI working correctly. -- ESP ___ freebsd-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: https://wiki.freebsd.org/ certificate error
On 3/1/2013 11:11 AM, Mark Felder wrote: On Fri, 01 Mar 2013 09:42:58 -0600, fb...@a1poweruser.com wrote: The fact remains, the ms/browsers do find the wiki.freebsd.org wedsite's certificate invalid because the certificate ip address does not match the ip address the public dns points to. You can put a certificate on any IP address you want. It's not embedded into the certificate. For the most part it only matters that the CommonName on the certificate matches the hostname of the website and the certificate chain is valid. And in this particular case, the certificate is for www.freebsd.org and freebsd.org, and the browser is complaining because it's being used on wiki.freebsd.org. Their certificate should have been issued for *.freebsd.org instead of just the main site name. Unfortunately I think all of the certificate issuers charge big $$$ for that type of cert.. -- Brad Mettee ___ freebsd-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: https://wiki.freebsd.org/ certificate error
On Fri, 01 Mar 2013 10:40:48 -0600, Brad Mettee bmet...@pchotshots.com wrote: On 3/1/2013 11:11 AM, Mark Felder wrote: On Fri, 01 Mar 2013 09:42:58 -0600, fb...@a1poweruser.com wrote: The fact remains, the ms/browsers do find the wiki.freebsd.org wedsite's certificate invalid because the certificate ip address does not match the ip address the public dns points to. You can put a certificate on any IP address you want. It's not embedded into the certificate. For the most part it only matters that the CommonName on the certificate matches the hostname of the website and the certificate chain is valid. And in this particular case, the certificate is for www.freebsd.org and freebsd.org, and the browser is complaining because it's being used on wiki.freebsd.org. Their certificate should have been issued for *.freebsd.org instead of just the main site name. Unfortunately I think all of the certificate issuers charge big $$$ for that type of cert.. ___ freebsd-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: https://wiki.freebsd.org/ certificate error
On Fri, 01 Mar 2013 10:40:48 -0600, Brad Mettee bmet...@pchotshots.com wrote: And in this particular case, the certificate is for www.freebsd.org and freebsd.org, and the browser is complaining because it's being used on wiki.freebsd.org. No, the certificate being used on wiki.freebsd.org is NOT the one being used for (www\.)?freebsd.org. http://i.imgur.com/WHg9hI1.png If you're seeing the certificate from (www\.)?freebsd.org on the wiki site you either are a victim of a MITM attack or the specific regional FreeBSD webserver you're talking to has the wrong certificate configured. I'm not even sure if the FreeBSD website has multiple webservers based on geographical region. If you're seeing the (www\.)?freebsd.org certificate on wiki.freebsd.org site please report which IP you're connecting to so we can start comparing notes. If we can prove there are multiple webservers/IPs hosting wiki.freebsd.org we need to contact whoever manages the webserver next. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
hast, zfs, unable to flush disk cache
I've setup a 2 node cluster using HAST. I'd previously had this running 9.0 and then rebuilt the nodes using 9.1. Under 9.0 I used vfs.zfs.vdev.bio_flush_disable=1 but that setting does not appear to work in 9.1. The other difference, previous build had root disk on UFS, while this build has only ZFS based file systems. FreeBSD node1.san 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Mar 1 17:07:25 node1 hastd[1446]: [disk5] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. Mar 1 17:07:28 node1 hastd[1440]: [disk3] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. Mar 1 17:07:28 node1 hastd[1437]: [disk2] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. Mar 1 17:07:28 node1 hastd[1434]: [disk1] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. Mar 1 17:07:28 node1 hastd[1446]: [disk5] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. Mar 1 17:07:28 node1 hastd[1443]: [disk4] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. I tried setting zfs set zfs:zfs_nocacheflush=1 pool but that diddn't appear to work either. I get a lot of lines in my log file because of this. I have also tried zfs set sync=disabled pool but HAST still outputs those lines in the log file. Any suggestions? Thank you, Chad ___ freebsd-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: Jail question
On Fri, 01 Mar 2013, Bernt Hansson wrote: On 2013-02-27 11:19, Bernt Hansson wrote: 2013-02-26 15:18, Teske, Devin skrev: Yes, this is possible. When I get into work, I'll share with you the recipe Please do share with us. Ok I rephrase my question. How do I install freebsd 4.9 in a jail on 8.3 amd64. Step 1. Download the following files/directories... bin/ catpages/ cdrom.inf compat1x/ compat22/ compat3x/ compat4x/ crypto/ dict/ doc/ games/ info/ manpages/ proflibs/ from: ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/4.9-RELEASE/ NOTE: For example, download those files/directories to /usr/repos/FreeBSD-4.9/4.9-RELEASE Step 2. Download my jail_build script from: http://druidbsd.sourceforge.net/download.shtml#jail_build Step 3: Run jail_build NOTE: If you put your downloaded files in /usr/repos/FreeBSD-4.9/4.9-RELEASE then jail_build will automatically find them and present 4.9 as an option. After selecting FreeBSD-4.9, it will then prompt you to enter the root directory where to unpack the jail to. When jail_build completes, you'll have a freshly unpacked FreeBSD-4.9 in the desired root directory. Step 4: Grab and install my vimage package: http://druidbsd.sourceforge.net/download.shtml#vimage About: http://druidbsd.sourceforge.net/vimage.shtml Step 5: Configure your vimage in /etc/rc.conf (see /etc/rc.conf.d/vimage for a sample). Example: vimage_enable=YES vimage_list=fbsd4_9 vimage_fbsd4_9_rootdir=/usr/jails/fbsd4_9 vimage_fbsd4_9_hostname=fbsd4_9 vimage_fbsd4_9_bridges=bge0 vimage_fbsd4_9_devfs_enable=YES vimage_fbsd4_9_procfs_enable=YES Step 6: [Pre-]configure the network interface for the visage Example: chroot /usr/jails/fbsd4_9 vi /etc/rc.conf NOTE: Since the vimage (aka vnet jail) isn't running yet, we use chroot instead of jexec. (Also note that the chroot is only for pedantic safety ... it prevents things such as what if /etc/rc.conf is a symlink to /etc/rc.conf.other -- without the chroot you'd accidentally edit the host machines /etc/rc.conf.other). Add the following: ifconfig_ng0_fbsd4_9=inet 192.168.1.123 netmask 255.255.255.0 defaultrouter=192.168.1.1 # or whatever fits your network # Don't forget /etc/resolv.conf # Don't forget to set sshd_enable=YES in rc.conf(5) if you want to be able to ssh into the vimage Step 7: Fix some binaries in the 4.9 distribution to work under the 8.3 kernel... Download my update411binaries.sh script (should work fine for 4.9 jails too) from... http://druidbsd.sf.net/download/update411binares.sh Step 8: Run update411binares.sh with a first argument of (for example) /usr/jails/fbsd4_9 Step 9: Fire up the vimage service vimage start fbsd4_9 Step 10: Check things out... jls ssh 192.168.1.123 jexec fbsd4_9 csh etc. etc. -- HTH Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
zfs and 9.1 upgrade
Hi All Upgraded 3 machines today from 9.0 to 9.1 all three run ZFS as a storage but not as a boot file system. One machine out of the three ended up with a very sick looking ZFS pool, not a big deal as this machine is a backup mirror for another system. So I did a zpool destroy tank then zpool create tank raidz ada1 ada2 ada3 ada4 ZFS tells me that ada1 might be part of an active pool and use -f to override this. zpool create -f tank raidz ada1 ada2 ada3 ada4 cannot create 'tank': no such pool or dataset Any clues anyone? Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Which core belongs to which cpu?
On Fri, Mar 01, 2013 at 10:19:56AM +0100, kaltheat wrote: Hi, is there a way to determine which core (virtual or real) belongs to which cpu? Regards, kaltheat I read smp(8). There was a link to kern.sched.topology_spec which shows exactly what I was searching for. ___ freebsd-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 Matlab
On Fri, Feb 15, 2013 at 11:40 AM, Tijl Coosemans t...@coosemans.org wrote: On 15-02-2013 10:36, Tijl Coosemans wrote: On 14-02-2013 22:42, Vijay Kaul wrote: I was wondering if anyone has had any recent (or not-so-recent) experience installing Matlab on FreeBSD/PC-BSD? (Yes, I know about octave.) I'm not entirely new to *nix, but I'm novice enough that I can't seem to get this to work. Perhaps the shortest and simplest solution would be if Mathworks own installer would function, but that runs as a Java Web Start application, and I can't seem to get that working in Opera, Firefox, or Konqueror. The automatic rout having failed, I've downloaded the files manually, and I've tried to run the install script; however, it's failed as well. I found this site: http://matrossi.blogspot.com/2011/08/installing-matlab-2011a-on-freebsd.html, which claims installation instructions for PC-BSD8.2 boiling down to: open up the shell scripts and take /bin/sh -- /compat/linux/bin/sh. Well, that seems to help a bit, but it also fails because the install script determines my architecture to be x68, while the downloads are for (what they call) a64. (My system is indeed a 64-bit system. Perhaps the above instructions were for an x86 system.) I feel like if I could modify the install script sufficiently, the install would work. My bash scripting is weak, though, and I worry about screwing up my system and/or the installation. There are only a few functions in there that are looking for architecture type, usually with the output from uname. I think fixing those would work...? Could anyone help me get past this point? Thanks in advance! And please, if there's any info I can provide that would be helpful, please just let me know. Output of uname -a: FreeBSD pcbsd-8517 9.1-RELEASE FreeBSD 9.1-RELEASE #2: Tue Nov 27 03:45:16 UTC 2012 root@darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64 The install script in question: http://pastebin.com/QkEH1vkF Try creating this link: ln -s ../usr/bin/expr /compat/linux/bin/expr Without this link Linux scripts run the FreeBSD expr which isn't fully compatible. And also, the Linux compatibility layer is 32bit so you need the x86 version of Matlab. Oh, I didn't realize that Linux on FBSD was 32 bit. Thanks for pointing that out. BTW, mathworks has stopped releasing new 32-bit versions of matlab for linux, but you can still get R2012a for 32-bit linux. Regarding the linking advice I have a /bin/expr and /compat/linux/usr/bin/expr. My naivety is showing, but if I did ~ ln -s /usr/bin/expr /compat/linux/usr/bin/expr don't I also need to edit my path so that the script would find my link before finding the built-in FBSD command? Currently, my path begins: /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin: So I think the script would still use '/bin/expr'. The install of the 32-bit linux matlab does still throw the error: expr: illegal option -- r expr: usage: expr [-e] expression presumably because I need to use the linux version. (The install script itself is essentially identical to the last.) It also is throwing some Java exceptions, but maybe let's take this one error at a time! Thanks for the tips and help so far! --Vijay ___ freebsd-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: Cannot install on HP Pavilion
On 02/25/2013 16:50, Jeff Tipton wrote: On 02/25/2013 22:39, Russell Murphy wrote: ERROR: No boot disk has been detected or the disk has failed Isn't this a BIOS message about a failing harddisk? http://h30434.www3.hp.com/t5/Desktop-Operating-Systems-e-g-Windows-8-Software-Recovery/Error-no-boot-disk-has-been-detected-or-the-disk-has-failed/td-p/1495065 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Are you sure the bootloader installed correctly? Also, in the bios, what is the drive type set to? I've seen that happen on a Lenovo when the drive type is set to AHCI. Changing it to either legacy or normal (don't recall which one) allowed the machine to boot from the hard disk without issue. -- Butch Why is there never time to do it right the first time, but there is always time to do it again? ___ freebsd-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: hast, zfs, unable to flush disk cache
On Fri, Mar 01, 2013 at 11:39:23AM -0600, Chad M Stewart wrote: I've setup a 2 node cluster using HAST. I'd previously had this running 9.0 and then rebuilt the nodes using 9.1. Under 9.0 I used vfs.zfs.vdev.bio_flush_disable=1 but that setting does not appear to work in 9.1. The other difference, previous build had root disk on UFS, while this build has only ZFS based file systems. FreeBSD node1.san 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Mar 1 17:07:25 node1 hastd[1446]: [disk5] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. Mar 1 17:07:28 node1 hastd[1440]: [disk3] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. Mar 1 17:07:28 node1 hastd[1437]: [disk2] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. Mar 1 17:07:28 node1 hastd[1434]: [disk1] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. Mar 1 17:07:28 node1 hastd[1446]: [disk5] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. Mar 1 17:07:28 node1 hastd[1443]: [disk4] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. I tried setting zfs set zfs:zfs_nocacheflush=1 pool but that diddn't appear to work either. I get a lot of lines in my log file because of this. I have also tried zfs set sync=disabled pool but HAST still outputs those lines in the log file. These flushes were generated by HAST itself when it tried to flush activemap updates, that is why disabling BIO_FLUSH for ZFS dis not help much. Setting metaflush off in hast.conf should help though. BTW, hastd tries to detect devices that do not support BIO_FLUSH, checking for the returned errno, and automatically disable flushes if the errno is EOPNOTSUPP (Operation not supported). Unfortunately, your device returned ENODEV (Operation not supported by device). What device do you have? Pawel, do you think it would be a good idea to automatically disable activemap flush for ENODEV case too? -- Mikolaj Golub ___ freebsd-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 Matlab
On 01-03-2013 21:07, Vijay Kaul wrote: On Fri, Feb 15, 2013 at 11:40 AM, Tijl Coosemans t...@coosemans.org wrote: On 15-02-2013 10:36, Tijl Coosemans wrote: On 14-02-2013 22:42, Vijay Kaul wrote: I was wondering if anyone has had any recent (or not-so-recent) experience installing Matlab on FreeBSD/PC-BSD? (Yes, I know about octave.) I'm not entirely new to *nix, but I'm novice enough that I can't seem to get this to work. Perhaps the shortest and simplest solution would be if Mathworks own installer would function, but that runs as a Java Web Start application, and I can't seem to get that working in Opera, Firefox, or Konqueror. The automatic rout having failed, I've downloaded the files manually, and I've tried to run the install script; however, it's failed as well. I found this site: http://matrossi.blogspot.com/2011/08/installing-matlab-2011a-on-freebsd.html, which claims installation instructions for PC-BSD8.2 boiling down to: open up the shell scripts and take /bin/sh -- /compat/linux/bin/sh. Well, that seems to help a bit, but it also fails because the install script determines my architecture to be x68, while the downloads are for (what they call) a64. (My system is indeed a 64-bit system. Perhaps the above instructions were for an x86 system.) I feel like if I could modify the install script sufficiently, the install would work. My bash scripting is weak, though, and I worry about screwing up my system and/or the installation. There are only a few functions in there that are looking for architecture type, usually with the output from uname. I think fixing those would work...? Could anyone help me get past this point? Thanks in advance! And please, if there's any info I can provide that would be helpful, please just let me know. Output of uname -a: FreeBSD pcbsd-8517 9.1-RELEASE FreeBSD 9.1-RELEASE #2: Tue Nov 27 03:45:16 UTC 2012 root@darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64 The install script in question: http://pastebin.com/QkEH1vkF Try creating this link: ln -s ../usr/bin/expr /compat/linux/bin/expr Without this link Linux scripts run the FreeBSD expr which isn't fully compatible. And also, the Linux compatibility layer is 32bit so you need the x86 version of Matlab. Oh, I didn't realize that Linux on FBSD was 32 bit. Thanks for pointing that out. BTW, mathworks has stopped releasing new 32-bit versions of matlab for linux, but you can still get R2012a for 32-bit linux. Regarding the linking advice I have a /bin/expr and /compat/linux/usr/bin/expr. My naivety is showing, but if I did ~ ln -s /usr/bin/expr /compat/linux/usr/bin/expr That's not the same command as above. don't I also need to edit my path so that the script would find my link before finding the built-in FBSD command? Currently, my path begins: /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin: So I think the script would still use '/bin/expr'. Under Linux compat the order becomes: 1: /compat/linux/sbin/expr 2: /sbin/expr 3: /compat/linux/bin/expr - You need to create this as a link to 7 4: /bin/expr- FreeBSD expr 5: /compat/linux/usr/sbin/expr 6: /usr/sbin/expr 7: /compat/linux/usr/bin/expr - Linux expr 8: /usr/bin/expr ... The install of the 32-bit linux matlab does still throw the error: expr: illegal option -- r expr: usage: expr [-e] expression presumably because I need to use the linux version. (The install script itself is essentially identical to the last.) It also is throwing some Java exceptions, but maybe let's take this one error at a time! signature.asc Description: OpenPGP digital signature
Re: hast, zfs, unable to flush disk cache
On Mar 1, 2013, at 2:25 PM, Mikolaj Golub wrote: What device do you have? Its an older HP GL380 server, I think. dmesg below, if you need output from something else I'm willing to provide. Copyright (c) 1992-2012 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2784.59-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf27 Family = f Model = 2 Stepping = 7 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x4400CNXT-ID,xTPR real memory = 3221225472 (3072 MB) avail memory = 3136851968 (2991 MB) Event timer LAPIC quality 400 ACPI APIC Table: COMPAQ 0083 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 2 package(s) x 1 core(s) x 2 HTT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP/HT): APIC ID: 7 ACPI Warning: Invalid length for Pm1aControlBlock: 32, using default 16 (20110527/tbfadt-638) ACPI Warning: Invalid length for Pm1bControlBlock: 32, using default 16 (20110527/tbfadt-638) MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-15 on motherboard ioapic1 Version 1.1 irqs 16-31 on motherboard ioapic2 Version 1.1 irqs 32-47 on motherboard ioapic3 Version 1.1 irqs 48-63 on motherboard kbd1 at kbdmux0 acpi0: COMPAQ P29 on motherboard acpi0: Power Button (fixed) cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 cpu2: ACPI CPU on acpi0 cpu3: ACPI CPU on acpi0 attimer0: AT timer port 0x40-0x43 irq 0 on acpi0 Timecounter i8254 frequency 1193182 Hz quality 0 Event timer i8254 frequency 1193182 Hz quality 100 Timecounter ACPI-fast frequency 3579545 Hz quality 900 acpi_timer0: 32-bit timer at 3.579545MHz port 0x920-0x923 on acpi0 pcib0: ACPI Host-PCI bridge on acpi0 pcib0: Length mismatch for 4 range: 2900 vs 28ff pci0: ACPI PCI bus on pcib0 vgapci0: VGA-compatible display port 0x2400-0x24ff mem 0xf100-0xf1ff,0xf0ff-0xf0ff0fff at device 3.0 on pci0 pci0: base peripheral at device 4.0 (no driver attached) pci0: base peripheral at device 4.2 (no driver attached) isab0: PCI-ISA bridge at device 15.0 on pci0 isa0: ISA bus on isab0 atapci0: ServerWorks CSB5 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2000-0x200f at device 15.1 on pci0 ata0: ATA channel at channel 0 on atapci0 ata1: ATA channel at channel 1 on atapci0 ohci0: OHCI (generic) USB controller mem 0xf0ef-0xf0ef0fff irq 7 at device 15.2 on pci0 usbus0 on ohci0 pcib1: ACPI Host-PCI bridge on acpi0 pcib1: Length mismatch for 4 range: 100 vs ff pci1: ACPI PCI bus on pcib1 ciss0: Compaq Smart Array 5i port 0x3000-0x30ff mem 0xf2cc-0xf2cf,0xf2bf-0xf2bf3fff irq 30 at device 3.0 on pci1 ciss0: PERFORMANT Transport pcib2: ACPI Host-PCI bridge on acpi0 pci2: ACPI PCI bus on pcib2 bge0: Compaq NC7781 Gigabit Server Adapter, ASIC rev. 0x001002 mem 0xf2df-0xf2df irq 29 at device 1.0 on pci2 bge0: CHIP ID 0x1002; ASIC REV 0x01; CHIP REV 0x10; PCI-X 100 MHz miibus0: MII bus on bge0 brgphy0: BCM5703 1000BASE-T media interface PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: Ethernet address: 00:0b:cd:3c:fe:7f bge1: Compaq NC7781 Gigabit Server Adapter, ASIC rev. 0x001002 mem 0xf2de-0xf2de irq 31 at device 2.0 on pci2 bge1: CHIP ID 0x1002; ASIC REV 0x01; CHIP REV 0x10; PCI-X 100 MHz miibus1: MII bus on bge1 brgphy1: BCM5703 1000BASE-T media interface PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge1: Ethernet address: 00:0b:cd:3c:fe:7e pcib3: ACPI Host-PCI bridge on acpi0 pci3: ACPI PCI bus on pcib3 pcib4: ACPI Host-PCI bridge on acpi0 pcib4: Length mismatch for 4 range: 2000 vs 1fff pci6: ACPI PCI bus on pcib4 bge2: Compaq NC7770 Gigabit Server Adapter, ASIC rev. 0x000105 mem 0xf7ff-0xf7ff irq 26 at device 2.0 on pci6 bge2: CHIP ID 0x0105; ASIC REV 0x00; CHIP REV 0x01; PCI-X 33 MHz miibus2: MII bus on bge2 brgphy2: BCM5701 1000BASE-T media interface PHY 1 on miibus2 brgphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge2: Ethernet address: 00:0b:cd:52:66:f1 pci6: base peripheral, PCI hot-plug controller at device 30.0 (no driver attached) acpi_tz0: Thermal Zone on acpi0 atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] uart0: 16550 or
Re: hast, zfs, unable to flush disk cache
On Fri, Mar 01, 2013 at 10:25:50PM +0200, Mikolaj Golub wrote: On Fri, Mar 01, 2013 at 11:39:23AM -0600, Chad M Stewart wrote: I've setup a 2 node cluster using HAST. I'd previously had this running 9.0 and then rebuilt the nodes using 9.1. Under 9.0 I used vfs.zfs.vdev.bio_flush_disable=1 but that setting does not appear to work in 9.1. The other difference, previous build had root disk on UFS, while this build has only ZFS based file systems. FreeBSD node1.san 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Mar 1 17:07:25 node1 hastd[1446]: [disk5] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. Mar 1 17:07:28 node1 hastd[1440]: [disk3] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. Mar 1 17:07:28 node1 hastd[1437]: [disk2] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. Mar 1 17:07:28 node1 hastd[1434]: [disk1] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. Mar 1 17:07:28 node1 hastd[1446]: [disk5] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. Mar 1 17:07:28 node1 hastd[1443]: [disk4] (primary) Unable to flush disk cache on activemap update: Operation not supported by device. I tried setting zfs set zfs:zfs_nocacheflush=1 pool but that diddn't appear to work either. I get a lot of lines in my log file because of this. I have also tried zfs set sync=disabled pool but HAST still outputs those lines in the log file. These flushes were generated by HAST itself when it tried to flush activemap updates, that is why disabling BIO_FLUSH for ZFS dis not help much. Setting metaflush off in hast.conf should help though. BTW, hastd tries to detect devices that do not support BIO_FLUSH, checking for the returned errno, and automatically disable flushes if the errno is EOPNOTSUPP (Operation not supported). Unfortunately, your device returned ENODEV (Operation not supported by device). What device do you have? Pawel, do you think it would be a good idea to automatically disable activemap flush for ENODEV case too? It would be better to find the driver that returns ENODEV and fix it, IMHO. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl pgpUGDh098WMq.pgp Description: PGP signature
Re: Installing Matlab
On Fri, Mar 1, 2013 at 3:27 PM, Tijl Coosemans t...@coosemans.org wrote: On 01-03-2013 21:07, Vijay Kaul wrote: On Fri, Feb 15, 2013 at 11:40 AM, Tijl Coosemans t...@coosemans.org wrote: On 15-02-2013 10:36, Tijl Coosemans wrote: On 14-02-2013 22:42, Vijay Kaul wrote: I was wondering if anyone has had any recent (or not-so-recent) experience installing Matlab on FreeBSD/PC-BSD? (Yes, I know about octave.) I'm not entirely new to *nix, but I'm novice enough that I can't seem to get this to work. Perhaps the shortest and simplest solution would be if Mathworks own installer would function, but that runs as a Java Web Start application, and I can't seem to get that working in Opera, Firefox, or Konqueror. The automatic rout having failed, I've downloaded the files manually, and I've tried to run the install script; however, it's failed as well. I found this site: http://matrossi.blogspot.com/2011/08/installing-matlab-2011a-on-freebsd.html, which claims installation instructions for PC-BSD8.2 boiling down to: open up the shell scripts and take /bin/sh -- /compat/linux/bin/sh. Well, that seems to help a bit, but it also fails because the install script determines my architecture to be x68, while the downloads are for (what they call) a64. (My system is indeed a 64-bit system. Perhaps the above instructions were for an x86 system.) I feel like if I could modify the install script sufficiently, the install would work. My bash scripting is weak, though, and I worry about screwing up my system and/or the installation. There are only a few functions in there that are looking for architecture type, usually with the output from uname. I think fixing those would work...? Could anyone help me get past this point? Thanks in advance! And please, if there's any info I can provide that would be helpful, please just let me know. Output of uname -a: FreeBSD pcbsd-8517 9.1-RELEASE FreeBSD 9.1-RELEASE #2: Tue Nov 27 03:45:16 UTC 2012 root@darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64 The install script in question: http://pastebin.com/QkEH1vkF Try creating this link: ln -s ../usr/bin/expr /compat/linux/bin/expr Without this link Linux scripts run the FreeBSD expr which isn't fully compatible. And also, the Linux compatibility layer is 32bit so you need the x86 version of Matlab. Oh, I didn't realize that Linux on FBSD was 32 bit. Thanks for pointing that out. BTW, mathworks has stopped releasing new 32-bit versions of matlab for linux, but you can still get R2012a for 32-bit linux. Regarding the linking advice I have a /bin/expr and /compat/linux/usr/bin/expr. My naivety is showing, but if I did ~ ln -s /usr/bin/expr /compat/linux/usr/bin/expr That's not the same command as above. You're right. I didn't understand at first, but I think the command you suggested assumed that the working directory was /compat/linux/bin. don't I also need to edit my path so that the script would find my link before finding the built-in FBSD command? Currently, my path begins: /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin: So I think the script would still use '/bin/expr'. Under Linux compat the order becomes: 1: /compat/linux/sbin/expr 2: /sbin/expr 3: /compat/linux/bin/expr - You need to create this as a link to 7 4: /bin/expr- FreeBSD expr 5: /compat/linux/usr/sbin/expr 6: /usr/sbin/expr 7: /compat/linux/usr/bin/expr - Linux expr 8: /usr/bin/expr ... I don't have #s 1, 2, 5, 6, or 8. I have created 3 as a link to 7. (And, of course, still have 4.) This does, indeed, clear up any errors from expr! Thanks!! snip The next issue is the java errors given. A brief linux install guide I was given instructed: ... (2) install Sun/Oracle java and plugin (32-bit) and you may actually need to use one or two versions back from the current version (depending on what's in the repositories anyway) I have, currently, installed the OpenJDK b27 PBI (recall I'm really on PC-BSD). Any tips or suggestions on where to find and how to install Oracle's Java? Why might I need an older version of Java? (Maybe they mean going back to JRE 6?) How would I know? (I ask about where to get Java, since Oracle claims only to support linux, and the handbook doesn't seem to have a section on it. I'm wondering if there's a right and wrong way to go here.) The Java exceptions I see are at http://pastebin.com/GJCnEXfR. If I can get all this done, and get matlab working, I'd love to contribute the write-up to the Handbook. It's matlab installation information is, um, dated, though I hope the post-install information has remained accurate. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
buildowrld fails in sendmail
On a system running: FreeBSD 10.0-CURRENT #0: Sun Dec 30 12:52:09 EST 2012 amd64 make buildworld fails with this: cc -O -pipe -g -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include/ -DSASL=2 -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sysexits.c cc -O -pipe -g -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include/ -DSASL=2 -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/timers.c cc -O -pipe -g -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include/ -DSASL=2 -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/tls.c cc -O -pipe -g -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include/ -DSASL=2 -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/trace.c cc -O -pipe -g -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include/ -DSASL=2 -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/udb.c cc -O -pipe -g -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include/ -DSASL=2 -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/usersmtp.c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/usersmtp.c:1797:50: error: incompatible pointer types passing 'void ()' to parameter of type 'void (*)(char *, bool, MAILER *, struct mailer_con_info *, ENVELOPE *)' [-Werror,-Wincompatible-pointer-types] smtpresult = reply(m, mci, e, TimeOuts.to_auth, getsasldata, NULL, ^~~ /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:2519:67: note: passing argument to parameter here extern int reply __P((MAILER *, MCI *, ENVELOPE *, time_t, void (*)__P((char *, bool, MAILER *, MCI *, ENVELOPE *)), char **, int)); ^ /usr/obj/usr/src/tmp/usr/include/sys/cdefs.h:136:21: note: expanded from macro '__P' #define __P(protos) protos /* full-blown ANSI C */ ^ /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/usersmtp.c:1842:9: error: incompatible pointer types passing 'void ()' to parameter of type
FBSD 9.1.0 - make buildworld running for 1.5 hours???
I'm running make buildworld on a quad processor quad core box with 16GB of ram, and it's been running already for more than an hour and a half. Has world really gotten that huge? Good lord! Good thing we have freebsd-update! -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead. Thomas Jefferson There are some ideas so wrong that only a very intelligent person could believe in them. George Orwell ___ freebsd-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 Matlab
On 01-03-2013 22:35, Vijay Kaul wrote: On Fri, Mar 1, 2013 at 3:27 PM, Tijl Coosemans t...@coosemans.org wrote: On 01-03-2013 21:07, Vijay Kaul wrote: On Fri, Feb 15, 2013 at 11:40 AM, Tijl Coosemans t...@coosemans.org wrote: On 15-02-2013 10:36, Tijl Coosemans wrote: On 14-02-2013 22:42, Vijay Kaul wrote: I was wondering if anyone has had any recent (or not-so-recent) experience installing Matlab on FreeBSD/PC-BSD? (Yes, I know about octave.) I'm not entirely new to *nix, but I'm novice enough that I can't seem to get this to work. Perhaps the shortest and simplest solution would be if Mathworks own installer would function, but that runs as a Java Web Start application, and I can't seem to get that working in Opera, Firefox, or Konqueror. The automatic rout having failed, I've downloaded the files manually, and I've tried to run the install script; however, it's failed as well. I found this site: http://matrossi.blogspot.com/2011/08/installing-matlab-2011a-on-freebsd.html, which claims installation instructions for PC-BSD8.2 boiling down to: open up the shell scripts and take /bin/sh -- /compat/linux/bin/sh. Well, that seems to help a bit, but it also fails because the install script determines my architecture to be x68, while the downloads are for (what they call) a64. (My system is indeed a 64-bit system. Perhaps the above instructions were for an x86 system.) I feel like if I could modify the install script sufficiently, the install would work. My bash scripting is weak, though, and I worry about screwing up my system and/or the installation. There are only a few functions in there that are looking for architecture type, usually with the output from uname. I think fixing those would work...? Could anyone help me get past this point? Thanks in advance! And please, if there's any info I can provide that would be helpful, please just let me know. Output of uname -a: FreeBSD pcbsd-8517 9.1-RELEASE FreeBSD 9.1-RELEASE #2: Tue Nov 27 03:45:16 UTC 2012 root@darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64 The install script in question: http://pastebin.com/QkEH1vkF Try creating this link: ln -s ../usr/bin/expr /compat/linux/bin/expr Without this link Linux scripts run the FreeBSD expr which isn't fully compatible. And also, the Linux compatibility layer is 32bit so you need the x86 version of Matlab. Oh, I didn't realize that Linux on FBSD was 32 bit. Thanks for pointing that out. BTW, mathworks has stopped releasing new 32-bit versions of matlab for linux, but you can still get R2012a for 32-bit linux. Regarding the linking advice I have a /bin/expr and /compat/linux/usr/bin/expr. My naivety is showing, but if I did ~ ln -s /usr/bin/expr /compat/linux/usr/bin/expr That's not the same command as above. You're right. I didn't understand at first, but I think the command you suggested assumed that the working directory was /compat/linux/bin. don't I also need to edit my path so that the script would find my link before finding the built-in FBSD command? Currently, my path begins: /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin: So I think the script would still use '/bin/expr'. Under Linux compat the order becomes: 1: /compat/linux/sbin/expr 2: /sbin/expr 3: /compat/linux/bin/expr - You need to create this as a link to 7 4: /bin/expr- FreeBSD expr 5: /compat/linux/usr/sbin/expr 6: /usr/sbin/expr 7: /compat/linux/usr/bin/expr - Linux expr 8: /usr/bin/expr ... I don't have #s 1, 2, 5, 6, or 8. I have created 3 as a link to 7. (And, of course, still have 4.) This does, indeed, clear up any errors from expr! Thanks!! snip The next issue is the java errors given. A brief linux install guide I was given instructed: ... (2) install Sun/Oracle java and plugin (32-bit) and you may actually need to use one or two versions back from the current version (depending on what's in the repositories anyway) I have, currently, installed the OpenJDK b27 PBI (recall I'm really on PC-BSD). Any tips or suggestions on where to find and how to install Oracle's Java? Why might I need an older version of Java? (Maybe they mean going back to JRE 6?) How would I know? (I ask about where to get Java, since Oracle claims only to support linux, and the handbook doesn't seem to have a section on it. I'm wondering if there's a right and wrong way to go here.) The Java exceptions I see are at http://pastebin.com/GJCnEXfR. I suspect the installer already contains java, so you don't have to install anything. The Linux version of java requires linprocfs though so make sure you have the following line in /etc/fstab: linprocfs /compat/linux/proc linprocfs rw 0 0 Then mount linprocfs using: mount /compat/linux/proc The Java exception is caused by a link error though. Can you send the output of: objdump -p
Re: buildowrld fails in sendmail
Em Sex, 2013-03-01 às 16:46 -0500, Robert Huff escreveu: On a system running: FreeBSD 10.0-CURRENT #0: Sun Dec 30 12:52:09 EST 2012 amd64 make buildworld fails with this: My solution is to edit /etc/src.conf like this: MALLOC_PRODUCTION=yes WITH_BSDCONFIG=yes WITH_BSD_PATCH=yes WITH_ICONV=yes WITH_IDEA=yes WITHOUT_PKGTOOLS=yes WARNS=2 NO_WERROR=yes and make buildworld again... You can use all the options, but for sendmail only the last 2 are significant... It works for 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
Re: zfs and 9.1 upgrade
Em Sex, 2013-03-01 às 17:40 +, Graeme Dargie escreveu: Hi All Upgraded 3 machines today from 9.0 to 9.1 all three run ZFS as a storage but not as a boot file system. One machine out of the three ended up with a very sick looking ZFS pool, not a big deal as this machine is a backup mirror for another system. So I did a zpool destroy tank then zpool create tank raidz ada1 ada2 ada3 ada4 ZFS tells me that ada1 might be part of an active pool and use -f to override this. zpool create -f tank raidz ada1 ada2 ada3 ada4 cannot create 'tank': no such pool or dataset Any clues anyone? make sure the operating system really upgraded without errors from 9.0 to 9.1 sometimes the kernel modules are not in sync with the zfs modules on the filesystem. ZAP the data on ada1 (will erase all data on ada1) dd bs=64k if=/dev/zero of=/dev/ada1 count=1 restart the machine, should work Sergio ___ freebsd-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: FBSD 9.1.0 - make buildworld running for 1.5 hours???
Em Sex, 2013-03-01 às 12:29 -0600, Paul Schmehl escreveu: I'm running make buildworld on a quad processor quad core box with 16GB of ram, and it's been running already for more than an hour and a half. Has world really gotten that huge? Good lord! Good thing we have freebsd-update! Perhaps you did not use the -j option on the make buildworld... env NOCLEAN=yes DESTDIR= make -j 4 buildworld without the -j option it runs on only one processor and can take up to 5 hours... Sergio ___ freebsd-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: https://wiki.freebsd.org/ certificate error
Mark Felder wrote: On Fri, 01 Mar 2013 09:23:25 -0600, je...@seibercom.net wrote: I am not sure what he gets, but I receive this: That Gandi certificate is correct. I wonder if he's got some strange MITM going on. Heres the link I followed https://wiki.freebsd.org/Hierarchical_Resource_Limits My xp browser showed me the cirt and also exported it to a file which I am attaching. ___ freebsd-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: Limiting jail CPU memory resources
Mark Felder wrote: On Fri, 01 Mar 2013 09:52:41 -0600, fb...@a1poweruser.com wrote: Read that all ready and left me with more question than answers. Its experimental and has to be compiled into the kernel. Need solutions that are provided as part of the base system. Such as a loadable kernel module. Can not be risking the security of production jails on some experimental software. Unfortunately there's nothing else available yet. You'd be better off using full-fledged hypervisors like Xen, KVM, or ESXi. I'm also anxiously awaiting some improvement in this area. What do you think about the new jail.conf parameter cpuset.id from jail(8)? Seems to me it's a way to dedicate one or more CPUs to a single jail for increased jail performance. Really the opposite of limiting cpu resources to a jail. ___ freebsd-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: buildowrld fails in sendmail
Hi, Reference: From: Robert Huff roberth...@rcn.com Date: Fri, 1 Mar 2013 16:46:17 -0500 Message-id: 20785.8617.401737.814...@jerusalem.litteratus.org Robert Huff wrote: On a system running: FreeBSD 10.0-CURRENT #0: Sun Dec 30 12:52:09 EST 2012 amd64 make buildworld fails with this: cc -O -pipe -g -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include/ -DSASL=2 -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sysexits.c cc -O -pipe -g -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include/ -DSASL=2 -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/timers.c cc -O -pipe -g -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include/ -DSASL=2 -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/tls.c cc -O -pipe -g -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include/ -DSASL=2 -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/trace.c cc -O -pipe -g -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include/ -DSASL=2 -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/udb.c cc -O -pipe -g -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include/ -DSASL=2 -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/usersmtp.c /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/usersmtp.c:1797:50: error: incompatible pointer types passing 'void ()' to parameter of type 'void (*)(char *, bool, MAILER *, struct mailer_con_info *, ENVELOPE *)' [-Werror,-Wincompatible-pointer-types] smtpresult = reply(m, mci, e, TimeOuts.to_auth, getsasldata, NULL, ^~~ /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:2519:67: note: passing argument to parameter here extern int reply __P((MAILER *, MCI *, ENVELOPE *, time_t, void (*)__P((char *, bool, MAILER *, MCI *, ENVELOPE *)), char **, int)); ^ /usr/obj/usr/src/tmp/usr/include/sys/cdefs.h:136:21: note:
Re: dvd+rw-tools/cdrtools write only 4GB to BluRay
2013-02-26 16:32, Tomek CEDRO skrev: I guess its time to update Handbook again :-) That was from the handbook. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Freebsd 9.0 LSI MegaRaid issue
I having problem when install freebsd 8.3 n 9.0 on ibm X series M4 server with LSI MEGARAID SAS DISK- there is no HDD or sas disk found when installation process. Please anyone help how solve this problem..thx in advance - Nazir ___ freebsd-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: https://wiki.freebsd.org/ certificate error
On Fri, 01 Mar 2013 10:42:58 -0500, Fbsd8 wrote: Javad Kouhi wrote: Also no problem with FreeBSD 9.1 and chromium. But sometimes ago I have this problem with all https sites. because the government forged the wrong SSL certificate and my browser and my browser warned me about it. Do you have this problem with other websites? On Fri, Mar 1, 2013 at 6:02 PM, Zyumbilev, Peter pe...@aboutsupport.comwrote: On 01/03/2013 16:14, Ralf Mardorf wrote: [1] $ firefox -version Mozilla Firefox 19.0 No problem with SeaMonkey 2.16. Peter I use xp browser and it's certificate checking is enabled. You are sure using a more than 10 year old system should be considered safe enough to provide a reference? Maybe the browsers running from xorg desktops are NOT certificate aware so them not getting the error warning would be expected. They are. Or to be correct: The most prominent ones are, like Firefox, Chrome, and Opera. More lightweight browsers like dillo actually might not have this functionality. The fact remains, the ms/browsers do find the wiki.freebsd.org wedsite's certificate invalid because the certificate ip address does not match the ip address the public dns points to. As it has been mentioned, one certificate can be used for several IP addresses. Both www and wiki are located at 8.8.178.110 (returned by host command), so there might be a DNS issue or something comparable strange... I've checked with Opera 11.50 here, no problems. -- 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
Re: connect to a network printer to be able to print
On Wednesday 27 February 2013 09:45:15 Antonio Olivares wrote: Dear folks, I am trying to connect a network printer to be able to print to it. I know the make/model of the printer: HP Color LaserJet CP4520 and the ip address it is on 10.155.135.3 1st you need to define a host name for the printer in /etc/hosts, add the next line to /etc/hosts 10.155.135.3hplj-cp4520 Then verify network conectivity with ping ping -c 4 hplj-cp4520 Now, create the spool directory and errors-log file mkdir -p /var/spool/lpd/LaserJetCP4520 chmod 770 /var/spool/lpd/LaserJetCP4520 touch /var/spool/lpd/LaserJetCP4520/errors-log chmod 660 /var/spool/lpd/LaserJetCP4520/errors-log chown -R daemon:daemon /var/spool/lpd/LaserJetCP4520 Next, add the printer definition to /etc/printcap LaserJetCP4520|lp|HP LaserJet CP4520:\ :banner.disable:max.blocks#0:tty.device=:\ :remote.host=hplj-cp4520:remote.queue=raw:\ :spool.dir=/var/spool/lpd/LaserJetCP4520:\ :spool.log=/var/spool/lpd/LaserJetCP4520/errors-log: Since the HP Color Laserjet Enterprise CP4520 accept the languages HP PCL 6 HP PCL 5c HP postscript level 3 emulation Direct PDF printing version 1.4 You should test with one file of that languages, I do not know if plain text can be printed without a text filter (input-filter) ___ freebsd-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: dvd+rw-tools/cdrtools write only 4GB to BluRay
On 2 Mar 2013 03:16, Bernt Hansson b...@bananmonarki.se wrote: 2013-02-26 16:32, Tomek CEDRO skrev: I guess its time to update Handbook again :-) That was from the handbook. yup, but from the dvd section, there is no bluray section yet... also for me 'single file over 4GB inside ISO' and 'ISO file over 4GB' are two different situations. anyway thank you for pointing the direction it worked!!:-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ___ freebsd-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: https://wiki.freebsd.org/ certificate error
(Please keep me CC'd as I'm not subscribed to -questions) (I'm CC'ing Simon Nielsen who maintains the FreeBSD webserver cluster, as this obviously needs to be looked at.) First, be aware that the following advice which was given: openssl s_client -showcerts -connect wiki.freebsd.org:443 ...is not a sufficient/correct test for this sort of thing. Let's talk about why, and how to do it right: OpenSSL since 0.9.8 has supported SNI (more on what that is in a moment), but only if the -servername flag is it used (with s_client specifically, I think). Otherwise, in this case, what gets returned is the webserver default SSL certificate. Expanding: Look very closely at the CN (CommonName) field in the below cert. I should note wiki.freebsd.org during both tests below resolved to 8.8.178.110: $ echo | openssl s_client -showcerts -connect wiki.freebsd.org:443 | grep CN= depth=1 /C=FR/O=GANDI SAS/CN=Gandi Standard SSL CA verify error:num=20:unable to get local issuer certificate verify return:0 0 s:/OU=Domain Control Validated/OU=Gandi Standard SSL/CN=www.freebsd.org i:/C=FR/O=GANDI SAS/CN=Gandi Standard SSL CA 1 s:/C=FR/O=GANDI SAS/CN=Gandi Standard SSL CA i:/C=US/ST=UT/L=Salt Lake City/O=The USERTRUST Network/OU=http://www.usertrust.com/CN=UTN-USERFirst-Hardware subject=/OU=Domain Control Validated/OU=Gandi Standard SSL/CN=www.freebsd.org issuer=/C=FR/O=GANDI SAS/CN=Gandi Standard SSL CA DONE This **is NOT** correct, and would result in a CN mismatch and throw an error in some browsers (keep reading), because wiki.freebsd.org != www.freebsd.org. What you need to do is this: openssl s_client -showcerts -connect wiki.freebsd.org:443 -servername wiki.freebsd.org Result: $ echo | openssl s_client -showcerts -connect wiki.freebsd.org:443 -servername wiki.freebsd.org | grep CN= depth=1 /C=FR/O=GANDI SAS/CN=Gandi Standard SSL CA verify error:num=20:unable to get local issuer certificate verify return:0 0 s:/OU=Domain Control Validated/OU=Gandi Standard SSL/CN=wiki.freebsd.org i:/C=FR/O=GANDI SAS/CN=Gandi Standard SSL CA 1 s:/C=FR/O=GANDI SAS/CN=Gandi Standard SSL CA i:/C=US/ST=UT/L=Salt Lake City/O=The USERTRUST Network/OU=http://www.usertrust.com/CN=UTN-USERFirst-Hardware subject=/OU=Domain Control Validated/OU=Gandi Standard SSL/CN=wiki.freebsd.org issuer=/C=FR/O=GANDI SAS/CN=Gandi Standard SSL CA DONE Much better. The -servername flag is not documented anywhere in the FreeBSD OpenSSL man page directory (/usr/share/openssl), and don't ask me why. So what's SNI? http://en.wikipedia.org/wiki/Server_Name_Indication For deep details, look at RFC 6066, RFC 4366, and RFC 3546. Otherwise the simple version is: SNI allows, at the SSL client level, a way to include a FQDN/hostname in the initial handshake. This solves the chicken-and-egg problem involving name-based virtualhosts where the webserver can't determine what the HTTP Host: header is because it's encrypted. The same goes for any protocol (not just HTTP) that has similar mechanisms. NOW BACK TO THE ACTUAL PROBLEM REPORTED -- It appears that whoever maintains the FreeBSD webservers in the cluster **assumes** that the connecting client supports SNI. That assumption, as someone who ran a hosting organisation since 1993, is rude (some might say bad, but I would say rude). Web browsers/clients that don't support SNI are screwed -- they'll receive a certificate validation failure error. Internet Explorer 6.x through 8.x -- newer is not available on Windows XP -- do not support SNI (this is even mentioned in the above Wikipedia page). They return the error There is a problem with this website's security certificate due to lack of SNI support. Let me be clear: THIS IS NOT THE FAULT (OR AGE) OF THE OS. THIS HAS TO DO WITH THE WEB BROWSER. Why? Because Firefox 19.0 on Windows XP works just fine, as it supports SNI. So how do you solve this problem for legacy clients? Simple: By dedicating an IP address to the SSL-based virtualhost/webserver (i.e. one IP address per SSL-based virtual host), and do away with name-based vhosting for SSL. That's the only way. You can continue to use name-based vhosting for non-SSL, as pretty much all browsers (including IE 6.x) support the HTTP Host: header. To find out if SNI is used or not, do a packet capture and look at the SSL Client Hello packet in Wireshark. Go looking for the Extension: server_name section of the TLSv1 portion of the packet (Wireshark can decode this) and you'll find it. -- | Jeremy Chadwick j...@koitsu.org | | UNIX Systems Administratorhttp://jdc.koitsu.org/ | | Mountain View, CA, US| | Making life hard for others since 1977. PGP 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to