From realrichardsharpe at gmail.com Fri Mar 1 07:04:59 2013 From: realrichardsharpe at gmail.com (Richard Sharpe) Date: Thu, 28 Feb 2013 23:04:51 -0800 Subject: Does anyone know how to install FreeBSD 8.3 under Virtual Box 4.2.6? Message-ID: Hi, I booted the FreeBSD 8.3 DVD1 under Virtual Box, but it crashes in VB 4.2.6 under Win 7 and Linux. Seems to install OK on QEMU/VMM under Linux ... Does anyone know how to get it to run under Virtual Box? -- Regards, Richard Sharpe (??????????--??) From Trond.Endrestol at fagskolen.gjovik.no Fri Mar 1 07:29:15 2013 From: Trond.Endrestol at fagskolen.gjovik.no (=?ISO-8859-1?Q?Trond_Endrest=F8l?=) Date: Fri, 1 Mar 2013 08:29:10 +0100 (CET) Subject: Does anyone know how to install FreeBSD 8.3 under Virtual Box 4.2.6? In-Reply-To: References: Message-ID: On Thu, 28 Feb 2013 23:04-0800, Richard Sharpe 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. > > Seems to install OK on QEMU/VMM under Linux ... > > Does anyone know how to get it to run under Virtual Box? Ensure firmware settings (i.e. BIOS) allow for hw virtualization. You don't specify if you are attempting i386 or amd64. VB needs to know if you're running a 32 bit or 64 bit guest OS. A higher degree of details would be nice. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrest?l, | Trond Endrest?l, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From realrichardsharpe at gmail.com Fri Mar 1 07:43:15 2013 From: realrichardsharpe at gmail.com (Richard Sharpe) Date: Thu, 28 Feb 2013 23:43:14 -0800 Subject: Does anyone know how to install FreeBSD 8.3 under Virtual Box 4.2.6? In-Reply-To: References: Message-ID: On Thu, Feb 28, 2013 at 11:29 PM, Trond Endrest?l wrote: > On Thu, 28 Feb 2013 23:04-0800, Richard Sharpe 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. >> >> Seems to install OK on QEMU/VMM under Linux ... >> >> Does anyone know how to get it to run under Virtual Box? > > Ensure firmware settings (i.e. BIOS) allow for hw virtualization. Thanks Trond. I assume you mean the host here. Since it has installed under QEMU/vmm on Linux, I guess that I have HW Virtualization enabled. Actually, I know that this is the case, since I have run OpenIndianna under Virtual Box as well as Windows Server 2008. > You don't specify if you are attempting i386 or amd64. True. AMD64. Maybe I need to check that. > VB needs to know if you're running a 32 bit or 64 bit guest OS. > > A higher degree of details would be nice. > > -- > +-------------------------------+------------------------------------+ > | Vennlig hilsen, | Best regards, | > | Trond Endrest?l, | Trond Endrest?l, | > | IT-ansvarlig, | System administrator, | > | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | > +-------------------------------+------------------------------------+ -- Regards, Richard Sharpe (??????????--??) From aryeh.friedman at gmail.com Fri Mar 1 07:51:03 2013 From: aryeh.friedman at gmail.com (Aryeh Friedman) Date: Fri, 1 Mar 2013 02:50:57 -0500 Subject: an upto date list of new ports Message-ID: is there a site or other location that lists *NEW* (not updated) ports since a given date? From cpghost at cordula.ws Fri Mar 1 08:27:26 2013 From: cpghost at cordula.ws (C. P. Ghost) Date: Fri, 1 Mar 2013 09:27:24 +0100 Subject: an upto date list of new ports In-Reply-To: References: Message-ID: On Fri, Mar 1, 2013 at 8:50 AM, Aryeh Friedman 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/ From kaltheat at googlemail.com Fri Mar 1 10:11:50 2013 From: kaltheat at googlemail.com (kaltheat) Date: Fri, 01 Mar 2013 10:19:56 +0100 Subject: Which core belongs to which cpu? Message-ID: <239283220.30575.1362129596726.JavaMail.sas1@[172.29.251.236]> Hi, is there a way to determine which core (virtual or real) belongs to which cpu? Regards, kaltheat From jcigar at ulb.ac.be Fri Mar 1 10:50:16 2013 From: jcigar at ulb.ac.be (Julien Cigar) Date: Fri, 01 Mar 2013 11:49:05 +0100 Subject: Soekris or .. ? Message-ID: <513087A1.3020308@ulb.ac.be> 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. From frank at undermydesk.org Fri Mar 1 11:02:15 2013 From: frank at undermydesk.org (Frank Reppin) Date: Fri, 01 Mar 2013 11:56:51 +0100 Subject: Soekris or .. ? In-Reply-To: <513087A1.3020308@ulb.ac.be> References: <513087A1.3020308@ulb.ac.be> Message-ID: <51308973.3010301@undermydesk.org> 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 From freebsd at qeng-ho.org Fri Mar 1 12:35:50 2013 From: freebsd at qeng-ho.org (Arthur Chance) Date: Fri, 01 Mar 2013 12:18:03 +0000 Subject: Soekris or .. ? In-Reply-To: <51308973.3010301@undermydesk.org> References: <513087A1.3020308@ulb.ac.be> <51308973.3010301@undermydesk.org> Message-ID: <51309C7B.1050804@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 From demelier.david at gmail.com Fri Mar 1 12:47:58 2013 From: demelier.david at gmail.com (David Demelier) Date: Fri, 1 Mar 2013 13:47:56 +0100 Subject: Soekris or .. ? In-Reply-To: <51309C7B.1050804@qeng-ho.org> References: <513087A1.3020308@ulb.ac.be> <51308973.3010301@undermydesk.org> <51309C7B.1050804@qeng-ho.org> Message-ID: 2013/3/1 Arthur Chance > 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 From cpghost at cordula.ws Fri Mar 1 13:24:47 2013 From: cpghost at cordula.ws (C. P. Ghost) Date: Fri, 1 Mar 2013 14:24:45 +0100 Subject: Soekris or .. ? In-Reply-To: <513087A1.3020308@ulb.ac.be> References: <513087A1.3020308@ulb.ac.be> Message-ID: On Fri, Mar 1, 2013 at 11:49 AM, Julien Cigar 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/ From paul at kraus-haus.org Fri Mar 1 13:39:13 2013 From: paul at kraus-haus.org (Paul Kraus) Date: Fri, 1 Mar 2013 08:39:05 -0500 Subject: Does anyone know how to install FreeBSD 8.3 under Virtual Box 4.2.6? In-Reply-To: References: Message-ID: <18C7BA2F-D283-4BB1-A320-617474BB87B4@kraus-haus.org> On Mar 1, 2013, at 2:04 AM, Richard Sharpe 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 From fbsd8 at a1poweruser.com Fri Mar 1 14:08:23 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Fri, 01 Mar 2013 09:08:17 -0500 Subject: https://wiki.freebsd.org/ certificate error Message-ID: <5130B651.9030607@a1poweruser.com> When my browser access wiki.freebsd.org I get certificate error message. Who should I notify about this problem? From ralf.mardorf at rocketmail.com Fri Mar 1 14:17:18 2013 From: ralf.mardorf at rocketmail.com (Ralf Mardorf) Date: Fri, 01 Mar 2013 15:14:16 +0100 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: <5130B651.9030607@a1poweruser.com> References: <5130B651.9030607@a1poweruser.com> Message-ID: <1362147256.788.3.camel@archlinux> 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 From peter at aboutsupport.com Fri Mar 1 14:33:04 2013 From: peter at aboutsupport.com (Zyumbilev, Peter) Date: Fri, 01 Mar 2013 16:32:54 +0200 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: <1362147256.788.3.camel@archlinux> References: <5130B651.9030607@a1poweruser.com> <1362147256.788.3.camel@archlinux> Message-ID: <5130BC16.8020903@aboutsupport.com> On 01/03/2013 16:14, Ralf Mardorf wrote: > [1] $ firefox -version > Mozilla Firefox 19.0 > No problem with SeaMonkey 2.16. Peter From feld at feld.me Fri Mar 1 14:37:52 2013 From: feld at feld.me (Mark Felder) Date: Fri, 1 Mar 2013 08:37:40 -0600 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: <5130B651.9030607@a1poweruser.com> References: <5130B651.9030607@a1poweruser.com> Message-ID: On Fri, 01 Mar 2013 08:08:17 -0600, 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 From fbsd8 at a1poweruser.com Fri Mar 1 14:38:06 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Fri, 01 Mar 2013 09:38:05 -0500 Subject: Limiting jail CPU & memory resources Message-ID: <5130BD4D.5000305@a1poweruser.com> Is there anything in 9.1 to Limit jail CPU & memory resources? From feld at feld.me Fri Mar 1 14:40:26 2013 From: feld at feld.me (Mark Felder) Date: Fri, 1 Mar 2013 08:40:23 -0600 Subject: Limiting jail CPU & memory resources In-Reply-To: <5130BD4D.5000305@a1poweruser.com> References: <5130BD4D.5000305@a1poweruser.com> Message-ID: On Fri, 01 Mar 2013 08:38:05 -0600, wrote: > Is there anything in 9.1 to Limit jail CPU & memory resources? https://wiki.freebsd.org/Hierarchical_Resource_Limits From javad.kouhi at gmail.com Fri Mar 1 14:41:45 2013 From: javad.kouhi at gmail.com (Javad Kouhi) Date: Fri, 1 Mar 2013 18:11:44 +0330 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: <5130BC16.8020903@aboutsupport.com> References: <5130B651.9030607@a1poweruser.com> <1362147256.788.3.camel@archlinux> <5130BC16.8020903@aboutsupport.com> Message-ID: 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 wrote: > > > 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 at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > From jerry at seibercom.net Fri Mar 1 15:23:29 2013 From: jerry at seibercom.net (Jerry) Date: Fri, 1 Mar 2013 10:23:25 -0500 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: References: <5130B651.9030607@a1poweruser.com> Message-ID: <20130301102325.69156a49@scorpio> On Fri, 1 Mar 2013 08:37:40 -0600 Mark Felder articulated: > On Fri, 01 Mar 2013 08:08:17 -0600, 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(00000003) 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 RkznehR2W0wdhKEgdB8uS1xwiNy99xk97VkN4j8m4pyspDyVHPi+jAOu8OWcTbzH m1gAv6+t+jducW0YNA7B6mr4Dd9pVFYV8iiz/qRj7MUEZGC7/irw9IehsK69quQv 4wMLL2ZfhaQye0btJQzn8bfnGf1gul+Hd96YB5bkXupjfajeVdphXDyQg0MEBzzd 8/ifBlIK3se2e4/hEfcEejX/arxbx1BJCHBvlEPNnsdw8dvQbdqP -----END CERTIFICATE----- --- Server certificate subject=/OU=Domain Control Validated/OU=Gandi Standard SSL/CN=www.freebsd.org issuer=/C=FR/O=GANDI SAS/CN=Gandi Standard SSL CA --- No client certificate CA names sent --- SSL handshake has read 3289 bytes and written 520 bytes --- New, TLSv1/SSLv3, Cipher is DHE-RSA-AES256-SHA Server public key is 2048 bit Secure Renegotiation IS supported Compression: NONE Expansion: NONE SSL-Session: Protocol : TLSv1 Cipher : DHE-RSA-AES256-SHA Session-ID: F4731E0FE7795DB2ADD9B41909DCC42AAE3C18E3D0267652203A54F1BFB14283 Session-ID-ctx: Master-Key: 7D85DD55FCE7502A92BFF7B18A25857DDC1CD6731B36DF5E2172773F618E043228076142258387E6F3CCA41952F288E2 Key-Arg : None PSK identity: None PSK identity hint: None SRP username: None TLS session ticket: 0000 - 90 02 ad a1 a6 ca 65 5e-c2 d5 f5 c7 70 f4 8c da ......e^....p... 0010 - f1 1d 2b 81 6d ac 9e f3-90 0b 12 63 f0 0f 2b 5f ..+.m......c..+_ 0020 - c3 b0 aa 1a e5 c0 8d 1c-96 14 70 14 04 35 89 c2 ..........p..5.. 0030 - c5 99 04 46 dd ae 71 40-5d be d7 31 51 2f 00 0d ...F..q@]..1Q/.. 0040 - 8a 40 15 3b 3d 59 d2 98-fb 00 8c 94 5d de 74 9a . at .;=Y......].t. 0050 - ad 7f ed ec 6a 56 e6 f2-ac 0a 19 25 db fe bd 24 ....jV.....%...$ 0060 - 90 c9 ab 73 da de 5d f6-8f 3c b8 de 37 9e 4d 9d ...s..]..<..7.M. 0070 - 7e 1b f5 76 99 4b 88 80-8d ff d6 60 3b d7 6c fc ~..v.K.....`;.l. 0080 - d7 d7 02 3d ec 06 46 9d-f6 22 c4 e9 fa 07 ac 9b ...=..F.."...... 0090 - 90 c9 48 21 ad c2 c7 44-14 2d 45 a2 ac a2 c8 8b ..H!...D.-E..... Start Time: 1362151251 Timeout : 300 (sec) Verify return code: 20 (unable to get local issuer certificate) --- -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From feld at feld.me Fri Mar 1 15:35:50 2013 From: feld at feld.me (Mark Felder) Date: Fri, 1 Mar 2013 09:35:41 -0600 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: <20130301102325.69156a49@scorpio> References: <5130B651.9030607@a1poweruser.com> <20130301102325.69156a49@scorpio> Message-ID: On Fri, 01 Mar 2013 09:23:25 -0600, 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. From fbsd8 at a1poweruser.com Fri Mar 1 15:43:00 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Fri, 01 Mar 2013 10:42:58 -0500 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: References: <5130B651.9030607@a1poweruser.com> <1362147256.788.3.camel@archlinux> <5130BC16.8020903@aboutsupport.com> Message-ID: <5130CC82.4000607@a1poweruser.com> 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 wrote: > >> >> 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. From fbsd8 at a1poweruser.com Fri Mar 1 15:52:47 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Fri, 01 Mar 2013 10:52:41 -0500 Subject: Limiting jail CPU & memory resources In-Reply-To: References: <5130BD4D.5000305@a1poweruser.com> Message-ID: <5130CEC9.30005@a1poweruser.com> Mark Felder wrote: > On Fri, 01 Mar 2013 08:38:05 -0600, 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. From feld at feld.me Fri Mar 1 16:11:40 2013 From: feld at feld.me (Mark Felder) Date: Fri, 1 Mar 2013 10:11:29 -0600 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: <5130CC82.4000607@a1poweruser.com> References: <5130B651.9030607@a1poweruser.com> <1362147256.788.3.camel@archlinux> <5130BC16.8020903@aboutsupport.com> <5130CC82.4000607@a1poweruser.com> Message-ID: On Fri, 01 Mar 2013 09:42:58 -0600, 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. From feld at feld.me Fri Mar 1 16:12:47 2013 From: feld at feld.me (Mark Felder) Date: Fri, 1 Mar 2013 10:12:44 -0600 Subject: Limiting jail CPU & memory resources In-Reply-To: <5130CEC9.30005@a1poweruser.com> References: <5130BD4D.5000305@a1poweruser.com> <5130CEC9.30005@a1poweruser.com> Message-ID: On Fri, 01 Mar 2013 09:52:41 -0600, 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. From pulley at dabus.com Fri Mar 1 16:29:21 2013 From: pulley at dabus.com (Eric S Pulley) Date: Fri, 1 Mar 2013 09:21:39 -0700 Subject: Soekris or .. ? In-Reply-To: References: <513087A1.3020308@ulb.ac.be> Message-ID: > On Fri, Mar 1, 2013 at 11:49 AM, Julien Cigar 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 at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at 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 From bmettee at pchotshots.com Fri Mar 1 16:45:03 2013 From: bmettee at pchotshots.com (Brad Mettee) Date: Fri, 01 Mar 2013 11:40:48 -0500 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: References: <5130B651.9030607@a1poweruser.com> <1362147256.788.3.camel@archlinux> <5130BC16.8020903@aboutsupport.com> <5130CC82.4000607@a1poweruser.com> Message-ID: <5130DA10.7010904@pchotshots.com> On 3/1/2013 11:11 AM, Mark Felder wrote: > On Fri, 01 Mar 2013 09:42:58 -0600, 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 From feld at feld.me Fri Mar 1 16:58:17 2013 From: feld at feld.me (Mark Felder) Date: Fri, 1 Mar 2013 10:57:49 -0600 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: <5130DA10.7010904@pchotshots.com> References: <5130B651.9030607@a1poweruser.com> <1362147256.788.3.camel@archlinux> <5130BC16.8020903@aboutsupport.com> <5130CC82.4000607@a1poweruser.com> <5130DA10.7010904@pchotshots.com> Message-ID: On Fri, 01 Mar 2013 10:40:48 -0600, Brad Mettee wrote: > On 3/1/2013 11:11 AM, Mark Felder wrote: >> On Fri, 01 Mar 2013 09:42:58 -0600, 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...... > From feld at feld.me Fri Mar 1 17:02:35 2013 From: feld at feld.me (Mark Felder) Date: Fri, 1 Mar 2013 11:02:31 -0600 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: <5130DA10.7010904@pchotshots.com> References: <5130B651.9030607@a1poweruser.com> <1362147256.788.3.camel@archlinux> <5130BC16.8020903@aboutsupport.com> <5130CC82.4000607@a1poweruser.com> <5130DA10.7010904@pchotshots.com> Message-ID: On Fri, 01 Mar 2013 10:40:48 -0600, Brad Mettee 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. From cms at balius.com Fri Mar 1 17:39:33 2013 From: cms at balius.com (Chad M Stewart) Date: Fri, 1 Mar 2013 11:39:23 -0600 Subject: hast, zfs, unable to flush disk cache Message-ID: <3367E416-493C-44EC-9259-89877EDF6DE8@balius.com> 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 root at 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 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 but HAST still outputs those lines in the log file. Any suggestions? Thank you, Chad From Devin.Teske at fisglobal.com Fri Mar 1 17:54:35 2013 From: Devin.Teske at fisglobal.com (Teske, Devin) Date: Fri, 1 Mar 2013 17:54:22 +0000 Subject: Jail question In-Reply-To: <5130DDD8.3080704@bananmonarki.se> References: <512CB738.50502@bananmonarki.se> <13CA24D6AB415D428143D44749F57D7201EAE456@ltcfiswmsgmb21> <512DDD9C.5070502@bananmonarki.se>,<5130DDD8.3080704@bananmonarki.se> Message-ID: <13CA24D6AB415D428143D44749F57D7201EB027E@ltcfiswmsgmb21> 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. From arab at tangerine-army.co.uk Fri Mar 1 18:03:40 2013 From: arab at tangerine-army.co.uk (Graeme Dargie) Date: Fri, 1 Mar 2013 17:40:44 +0000 Subject: zfs and 9.1 upgrade Message-ID: <14980AB869AD6B47A8803DB297CD21923F08AE13@MERCURY.universe.galaxy.lcl> 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 From kaltheat at googlemail.com Fri Mar 1 18:14:43 2013 From: kaltheat at googlemail.com (kaltheat at googlemail.com) Date: Fri, 1 Mar 2013 19:14:33 +0100 Subject: Which core belongs to which cpu? In-Reply-To: <239283220.30575.1362129596726.JavaMail.sas1@[172.29.251.236]> References: <239283220.30575.1362129596726.JavaMail.sas1@[172.29.251.236]> Message-ID: <20130301181433.GA2161@sol> 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. From vijaykaul at gmail.com Fri Mar 1 20:07:15 2013 From: vijaykaul at gmail.com (Vijay Kaul) Date: Fri, 1 Mar 2013 15:07:07 -0500 Subject: Installing Matlab In-Reply-To: <511E6509.9090703@coosemans.org> References: <511E01BA.20307@coosemans.org> <511E6509.9090703@coosemans.org> Message-ID: On Fri, Feb 15, 2013 at 11:40 AM, Tijl Coosemans 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: >>> , >>> 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 at darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64 >>> >>> The install script in question: >> >> 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 From jw3mlreader at gmail.com Fri Mar 1 20:10:50 2013 From: jw3mlreader at gmail.com (Butch Whitby) Date: Fri, 01 Mar 2013 15:10:47 -0500 Subject: Cannot install on HP Pavilion In-Reply-To: <512BDCA5.6060202@mail.com> References: <512BDCA5.6060202@mail.com> Message-ID: <51310B47.60405@gmail.com> 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 at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at 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?" From to.my.trociny at gmail.com Fri Mar 1 20:25:55 2013 From: to.my.trociny at gmail.com (Mikolaj Golub) Date: Fri, 1 Mar 2013 22:25:50 +0200 Subject: hast, zfs, unable to flush disk cache In-Reply-To: <3367E416-493C-44EC-9259-89877EDF6DE8@balius.com> References: <3367E416-493C-44EC-9259-89877EDF6DE8@balius.com> Message-ID: <20130301202549.GA2874@gmail.com> 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 root at 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 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 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 From tijl at coosemans.org Fri Mar 1 20:28:34 2013 From: tijl at coosemans.org (Tijl Coosemans) Date: Fri, 01 Mar 2013 21:27:17 +0100 Subject: Installing Matlab In-Reply-To: References: <511E01BA.20307@coosemans.org> <511E6509.9090703@coosemans.org> Message-ID: <51310F25.9070404@coosemans.org> On 01-03-2013 21:07, Vijay Kaul wrote: > On Fri, Feb 15, 2013 at 11:40 AM, Tijl Coosemans 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: >>>> , >>>> 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 at darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64 >>>> >>>> The install script in question: >>> >>> 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 228 bytes Desc: OpenPGP digital signature URL: From cms at balius.com Fri Mar 1 20:36:42 2013 From: cms at balius.com (Chad M Stewart) Date: Fri, 1 Mar 2013 14:36:40 -0600 Subject: hast, zfs, unable to flush disk cache In-Reply-To: <20130301202549.GA2874@gmail.com> References: <3367E416-493C-44EC-9259-89877EDF6DE8@balius.com> <20130301202549.GA2874@gmail.com> Message-ID: 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 root at 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=0xbfebfbff Features2=0x4400 real memory = 3221225472 (3072 MB) avail memory = 3136851968 (2991 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: 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 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard ioapic2 irqs 32-47 on motherboard ioapic3 irqs 48-63 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 attimer0: 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: on acpi0 pcib0: Length mismatch for 4 range: 2900 vs 28ff pci0: on pcib0 vgapci0: port 0x2400-0x24ff mem 0xf1000000-0xf1ffffff,0xf0ff0000-0xf0ff0fff at device 3.0 on pci0 pci0: at device 4.0 (no driver attached) pci0: at device 4.2 (no driver attached) isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2000-0x200f at device 15.1 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 ohci0: mem 0xf0ef0000-0xf0ef0fff irq 7 at device 15.2 on pci0 usbus0 on ohci0 pcib1: on acpi0 pcib1: Length mismatch for 4 range: 100 vs ff pci1: on pcib1 ciss0: port 0x3000-0x30ff mem 0xf2cc0000-0xf2cfffff,0xf2bf0000-0xf2bf3fff irq 30 at device 3.0 on pci1 ciss0: PERFORMANT Transport pcib2: on acpi0 pci2: on pcib2 bge0: mem 0xf2df0000-0xf2dfffff irq 29 at device 1.0 on pci2 bge0: CHIP ID 0x00001002; ASIC REV 0x01; CHIP REV 0x10; PCI-X 100 MHz miibus0: on bge0 brgphy0: 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: mem 0xf2de0000-0xf2deffff irq 31 at device 2.0 on pci2 bge1: CHIP ID 0x00001002; ASIC REV 0x01; CHIP REV 0x10; PCI-X 100 MHz miibus1: on bge1 brgphy1: 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: on acpi0 pci3: on pcib3 pcib4: on acpi0 pcib4: Length mismatch for 4 range: 2000 vs 1fff pci6: on pcib4 bge2: mem 0xf7ff0000-0xf7ffffff irq 26 at device 2.0 on pci6 bge2: CHIP ID 0x00000105; ASIC REV 0x00; CHIP REV 0x01; PCI-X 33 MHz miibus2: on bge2 brgphy2: 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: at device 30.0 (no driver attached) acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 fdc0: port 0x3f2-0x3f5 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xcc000-0xcd7ff,0xcd800-0xcefff,0xee000-0xeffff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atrtc0: at port 0x70 irq 8 on isa0 atrtc0: Warning: Couldn't map I/O. Event timer "RTC" frequency 32768 Hz quality 0 ppc0: parallel port not found. ctl: CAM Target Layer loaded p4tcc0: on cpu0 p4tcc1: on cpu1 p4tcc2: on cpu2 p4tcc3: on cpu3 ZFS NOTICE: Prefetch is disabled by default on i386 -- to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. ZFS filesystem version 5 ZFS storage pool version 28 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 ugen0.1: <0x1166> at usbus0 uhub0: <0x1166 OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 uhub0: 4 ports with 4 removable, self powered da0 at ciss0 bus 0 scbus2 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device cd0 at ata0 bus 0 scbus0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 16.700MB/s transfers (PIO4, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present da0: 135.168MB/s transfers da0: Command Queueing enabled da0: 34727MB (71122560 512 byte sectors: 255H 32S/T 8716C) da1 at ciss0 bus 0 scbus2 target 1 lun 0 da1: Fixed Direct Access SCSI-0 device da1: 135.168MB/s transfers da1: Command Queueing enabled da1: 34727MB (71122560 512 byte sectors: 255H 32S/T 8716C) da2 at ciss0 bus 0 scbus2 target 2 lun 0 da2: Fixed Direct Access SCSI-0 device da2: 135.168MB/s transfers da2: Command Queueing enabled da2: 34727MB (71122560 512 byte sectors: 255H 32S/T 8716C) da3 at ciss0 bus 0 scbus2 target 3 lun 0 da3: Fixed Direct Access SCSI-0 device da3: 135.168MB/s transfers da3: Command Queueing enabled da3: 34727MB (71122560 512 byte sectors: 255H 32S/T 8716C) da4 at ciss0 bus 0 scbus2 target 4 lun 0 da4: Fixed Direct Access SCSI-0 device da4: 135.168MB/s transfers da4: Command Queueing enabled da4: 34727MB (71122560 512 byte sectors: 255H 32S/T 8716C) da5 at ciss0 bus 0 scbus2 target 5 lun 0 da5: Fixed Direct Access SCSI-0 device da5: 135.168MB/s transfers da5: Command Queueing enabled da5: 34727MB (71122560 512 byte sectors: 255H 32S/T 8716C) SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! Trying to mount root from zfs:zroot/ROOT []... carp0: link state changed to UP carp1: link state changed to UP -Chad From pjd at FreeBSD.org Fri Mar 1 20:39:18 2013 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Fri, 1 Mar 2013 21:40:32 +0100 Subject: hast, zfs, unable to flush disk cache In-Reply-To: <20130301202549.GA2874@gmail.com> References: <3367E416-493C-44EC-9259-89877EDF6DE8@balius.com> <20130301202549.GA2874@gmail.com> Message-ID: <20130301204032.GC16664@garage.freebsd.pl> 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 root at 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 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 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available URL: From vijaykaul at gmail.com Fri Mar 1 21:35:45 2013 From: vijaykaul at gmail.com (Vijay Kaul) Date: Fri, 1 Mar 2013 16:35:43 -0500 Subject: Installing Matlab In-Reply-To: <51310F25.9070404@coosemans.org> References: <511E01BA.20307@coosemans.org> <511E6509.9090703@coosemans.org> <51310F25.9070404@coosemans.org> Message-ID: On Fri, Mar 1, 2013 at 3:27 PM, Tijl Coosemans wrote: > On 01-03-2013 21:07, Vijay Kaul wrote: >> On Fri, Feb 15, 2013 at 11:40 AM, Tijl Coosemans 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: >>>>> , >>>>> 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 at darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64 >>>>> >>>>> The install script in question: >>>> >>>> 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!! 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 . 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. From roberthuff at rcn.com Fri Mar 1 21:46:25 2013 From: roberthuff at rcn.com (Robert Huff) Date: Fri, 1 Mar 2013 16:46:17 -0500 Subject: buildowrld fails in sendmail Message-ID: <20785.8617.401737.814680@jerusalem.litteratus.org> 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 'void (*)(char *, bool, MAILER *, struct mailer_con_info *, ENVELOPE *)' [-Werror,-Wincompatible-pointer-types] getsasldata, NULL, XS_AUTH); ^~~~~~~~~~~ /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:1864:8: error: incompatible pointer types passing 'void ()' to parameter of type 'void (*)(char *, bool, MAILER *, struct mailer_con_info *, ENVELOPE *)' [-Werror,-Wincompatible-pointer-types] getsasldata, NULL, XS_AUTH); ^~~~~~~~~~~ /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 */ ^ 3 errors generated. *** [usersmtp.o] Error code 1 Stop in /usr/src/usr.sbin/sendmail. *** [all] Error code 1 Stop in /usr/src/usr.sbin. *** [usr.sbin.all__D] Error code 1 "make.conf" is appended. Any idea what I've borked? Respectfully, Robert Huff **** make.conf CFLAGS= -O -pipe -g STRIP= SYMVER_ENABLED= yes X_WINDOW_SYSTEM= xorg HAVE_MOTIF= yes #FC="gfortran42" KERNCONF=JERUSALEM # To avoid building various parts of the base system: # (copied from /usr/share/examples/etc/make.conf #NO_BOOT= true # do not build boot blocks and loader #NO_CVS= true # do not build CVS #NO_CXX= true # do not build C++ and friends #NO_BIND= true # do not build BIND NO_BIND_ETC= true # Do not install files to /etc/namedb NO_BLUETOOTH= true # do not build Bluetooth related stuff #NO_FORTRAN= true # do not build g77 and related libraries #NO_GDB= true # do not build GDB #NO_I4B= true # do not build isdn4bsd package #NO_IPFILTER= true # do not build IP Filter package #NO_PF= true # do not build PF firewall package #NO_AUTHPF= true # do not build and install authpf (setuid/gid) #NO_KERBEROS= true # do not build and install Kerberos 5 (KTH Heimdal) #NO_LPR= true # do not build lpr and related programs #NO_MAILWRAPPER=true # do not build the mailwrapper(8) MTA selector #NO_MODULES= true # do not build modules with the kernel #NO_OBJC= true # do not build Objective C support #NO_OPENSSH= true # do not build OpenSSH #NO_OPENSSL= true # do not build OpenSSL (implies NO_KERBEROS/NO_OPENSSH) #NO_SENDMAIL= true # do not build sendmail and related programs #NO_SHAREDOCS= true # do not build the 4.4BSD legacy docs #NO_TCSH= true # do not build and install /bin/csh (which is tcsh) #NO_VINUM= true # do not build Vinum utilities #NOCRYPT= true # do not build any crypto code #NOGAMES= true # do not build games (games/ subdir) #NOINFO= true # do not make or install info files #NOLIBC_R= true # do not build libc_r (re-entrant version of libc) #NOMAN= true # do not build manual pages NO_PROFILE= true # Avoid compiling profiled libraries #NOSHARE= true # do not go into the share subdir # to get automatic SASL in sendmail SENDMAIL_CFLAGS+= -I/usr/local/include/ -DSASL=2 SENDMAIL_LDFLAGS+= -L/usr/local/lib SENDMAIL_LDADD+= -lsasl2 # # to make CUPS magically keep working # See: http://www.csua.berkeley.edu/~ranga/notes/freebsd_cups.html # CUPS_OVERWRITE_BASE= yes NO_LPR= true # added per /usr/ports/UPDATING entry 20090401 OVERRIDE_LINUX_BASE_PORT=f10 OVERRIDE_LINUX_NONBASE_PORTS=f10 # WITH_MOZILLA= libxul WITH_GECKO= libxul # # added 2007/03/04 per advice of # in re science/gramps # WITH_BERKELEYDB=db43 WITH_BDB_VER=43 WANT_OPENLDAP_VER=24 WANT_OPENLDAP_SASL=true # # as required by ports/UPDATING of 20121012 # SAMBA_ENABLE=YES # # PORTS: use clang unless gcc is explicitly required # # # default to using clang for all port builds, with the following # exceptions # ports which will only build with the base system GNU compiler (4.2) # # the "make index" target also seems to need this, for some reason .if target(index) | \ ${.CURDIR:M*/devel/antlr*} | \ ${.CURDIR:M*/devel/google-perftools* } | \ ${.CURDIR:M*/graphics/ImageMagick* } | \ ${.CURDIR:M*/graphics/opencv*} | \ ${.CURDIR:M*/x11/kdelibs4*} | \ USE_GCC?=4.2 .endif # ports which need *some* version of the GNU compiler (won't build with # clang or have runtime issues if built with clang) # use the highest version of gcc we have installed from ports (4.6) .if ${.CURDIR:M*/accessibility/jovie*} | \ ${.CURDIR:M*/accessibility/kdeaccessibility4*} | \ ${.CURDIR:M*/audio/grip*} | \ ${.CURDIR:M*/audio/mpg123*} | \ ${.CURDIR:M*/audio/rosegarden*} | \ ${.CURDIR:M*/databases/virtuoso*} | \ ${.CURDIR:M*/deskutils/kdepimlibs4*} | \ ${.CURDIR:M*/devel/apache-ant*} | \ ${.CURDIR:M*/devel/icu*} | \ ${.CURDIR:M*/devel/kdevelop-kde4*} | \ ${.CURDIR:M*/devel/kdevplatform*} | \ ${.CURDIR:M*/devel/log4j*} | \ ${.CURDIR:M*/games/kdegames4*} | \ ${.CURDIR:M*/graphics/tonicpoint-viewer*} | \ ${.CURDIR:M*/java/* } | \ ${.CURDIR:M*/lang/gcc* } | \ ${.CURDIR:M*/math/fftw3*} | \ ${.CURDIR:M*/multimedia/avidemux2*} | \ ${.CURDIR:M*/multimedia/kdemultimedia4*} | \ ${.CURDIR:M*/multimedia/vlc*} | \ ${.CURDIR:M*/multimedia/xbmc*} | \ ${.CURDIR:M*/net/kdenetwork4*} | \ ${.CURDIR:M*/net/mpich2*} | \ ${.CURDIR:M*/net/opal3*} | \ ${.CURDIR:M*/net-p2p/ktorrent*} | \ ${.CURDIR:M*/net-p2p/vuze*} | \ ${.CURDIR:M*/sysutils/lsof*} | \ ${.CURDIR:M*/textproc/docbook-xsl*} | \ ${.CURDIR:M*/textproc/fop*} | \ ${.CURDIR:M*/www/libxul*} | \ ${.CURDIR:M*/x11/kde4-baseapps*} | \ ${.CURDIR:M*/x11/kde4-workspace*} | \ ${.CURDIR:M*/x11/lxpanel*} | \ USE_GCC?=4.6+ .endif .if ${.CURDIR:M*/usr/ports/*} .if !defined(USE_GCC) .if !defined(CC) || ${CC} == "cc" CC=clang .endif .if !defined(CXX) || ${CXX} == "c++" CXX=clang++ .endif .if !defined(CPP) || ${CPP} == "cpp" CPP=clang-cpp .endif .endif .endif WITH_NEW_XORG=yes WITH_BSD_SORT= WITH_PKGNG=yes # added by use.perl 2012-12-29 10:59:31 PERL_VERSION=5.16.2 From pschmehl_lists at tx.rr.com Fri Mar 1 22:21:26 2013 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Fri, 01 Mar 2013 12:29:14 -0600 Subject: FBSD 9.1.0 - make buildworld running for 1.5 hours??? Message-ID: <1BBFCBC0B60383A7EC5EC83C@utd71538.campus.ad.utdallas.edu> 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 From tijl at coosemans.org Fri Mar 1 22:27:27 2013 From: tijl at coosemans.org (Tijl Coosemans) Date: Fri, 01 Mar 2013 23:27:13 +0100 Subject: Installing Matlab In-Reply-To: References: <511E01BA.20307@coosemans.org> <511E6509.9090703@coosemans.org> <51310F25.9070404@coosemans.org> Message-ID: <51312B41.2060901@coosemans.org> On 01-03-2013 22:35, Vijay Kaul wrote: > On Fri, Mar 1, 2013 at 3:27 PM, Tijl Coosemans wrote: >> On 01-03-2013 21:07, Vijay Kaul wrote: >>> On Fri, Feb 15, 2013 at 11:40 AM, Tijl Coosemans 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: >>>>>> , >>>>>> 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 at darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64 >>>>>> >>>>>> The install script in question: >>>>> >>>>> 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!! > > > > 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 . 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 /tmp/mathworks_22112/bin/glnx86/libinstutil.so -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 228 bytes Desc: OpenPGP digital signature URL: From lenzi.sergio at gmail.com Fri Mar 1 22:27:52 2013 From: lenzi.sergio at gmail.com (Sergio de Almeida Lenzi) Date: Fri, 01 Mar 2013 19:27:45 -0300 Subject: buildowrld fails in sendmail In-Reply-To: <20785.8617.401737.814680@jerusalem.litteratus.org> References: <20785.8617.401737.814680@jerusalem.litteratus.org> Message-ID: <1362176865.29467.12.camel@z6000.lenzicasa> 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 From lenzi.sergio at gmail.com Fri Mar 1 22:33:59 2013 From: lenzi.sergio at gmail.com (Sergio de Almeida Lenzi) Date: Fri, 01 Mar 2013 19:33:52 -0300 Subject: zfs and 9.1 upgrade In-Reply-To: <14980AB869AD6B47A8803DB297CD21923F08AE13@MERCURY.universe.galaxy.lcl> References: <14980AB869AD6B47A8803DB297CD21923F08AE13@MERCURY.universe.galaxy.lcl> Message-ID: <1362177232.29467.17.camel@z6000.lenzicasa> Em Sex, 2013-03-01 ?s 17:40 +0000, 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=10000 restart the machine, should work Sergio From lenzi.sergio at gmail.com Fri Mar 1 22:38:40 2013 From: lenzi.sergio at gmail.com (Sergio de Almeida Lenzi) Date: Fri, 01 Mar 2013 19:38:33 -0300 Subject: FBSD 9.1.0 - make buildworld running for 1.5 hours??? In-Reply-To: <1BBFCBC0B60383A7EC5EC83C@utd71538.campus.ad.utdallas.edu> References: <1BBFCBC0B60383A7EC5EC83C@utd71538.campus.ad.utdallas.edu> Message-ID: <1362177513.29467.21.camel@z6000.lenzicasa> 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 From fbsd8 at a1poweruser.com Fri Mar 1 22:41:09 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Fri, 01 Mar 2013 17:41:07 -0500 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: References: <5130B651.9030607@a1poweruser.com> <20130301102325.69156a49@scorpio> Message-ID: <51312E83.6070006@a1poweruser.com> Mark Felder wrote: > On Fri, 01 Mar 2013 09:23:25 -0600, 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. From fbsd8 at a1poweruser.com Fri Mar 1 22:51:38 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Fri, 01 Mar 2013 17:51:36 -0500 Subject: Limiting jail CPU & memory resources In-Reply-To: References: <5130BD4D.5000305@a1poweruser.com> <5130CEC9.30005@a1poweruser.com> Message-ID: <513130F8.4010308@a1poweruser.com> Mark Felder wrote: > On Fri, 01 Mar 2013 09:52:41 -0600, 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. From jhs at berklix.com Sat Mar 2 00:00:53 2013 From: jhs at berklix.com (Julian H. Stacey) Date: Sat, 02 Mar 2013 01:00:26 +0100 Subject: buildowrld fails in sendmail In-Reply-To: Your message "Fri, 01 Mar 2013 16:46:17 EST." <20785.8617.401737.814680@jerusalem.litteratus.org> Message-ID: <201303020000.r2200Qrg005278@fire.js.berklix.net> Hi, Reference: > From: Robert Huff > Date: Fri, 1 Mar 2013 16:46:17 -0500 > Message-id: <20785.8617.401737.814680 at 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: 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 'void (*)(char *, bool, MAILER *, struct mailer_con_info *, ENVELOPE *)' [-Werror,-Wincompatible-pointer-types] > getsasldata, NULL, XS_AUTH); > ^~~~~~~~~~~ > /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:1864:8: error: incompatible pointer types passing 'void ()' to parameter of type 'void (*)(char *, bool, MAILER *, struct mailer_con_info *, ENVELOPE *)' [-Werror,-Wincompatible-pointer-types] > getsasldata, NULL, XS_AUTH); > ^~~~~~~~~~~ > /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 */ > ^ > 3 errors generated. > *** [usersmtp.o] Error code 1 > > Stop in /usr/src/usr.sbin/sendmail. > *** [all] Error code 1 > > Stop in /usr/src/usr.sbin. > *** [usr.sbin.all__D] Error code 1 > > "make.conf" is appended. > Any idea what I've borked? > Respectfully, > > > Robert Huff > > **** make.conf > > CFLAGS= -O -pipe -g > STRIP= > SYMVER_ENABLED= yes > X_WINDOW_SYSTEM= xorg > HAVE_MOTIF= yes > > #FC="gfortran42" > > KERNCONF=JERUSALEM > > # To avoid building various parts of the base system: > # (copied from /usr/share/examples/etc/make.conf > > #NO_BOOT= true # do not build boot blocks and loader > #NO_CVS= true # do not build CVS > #NO_CXX= true # do not build C++ and friends > #NO_BIND= true # do not build BIND > NO_BIND_ETC= true # Do not install files to /etc/namedb > NO_BLUETOOTH= true # do not build Bluetooth related stuff > #NO_FORTRAN= true # do not build g77 and related libraries > #NO_GDB= true # do not build GDB > #NO_I4B= true # do not build isdn4bsd package > #NO_IPFILTER= true # do not build IP Filter package > #NO_PF= true # do not build PF firewall package > #NO_AUTHPF= true # do not build and install authpf (setuid/gid) > #NO_KERBEROS= true # do not build and install Kerberos 5 (KTH Heimdal) > #NO_LPR= true # do not build lpr and related programs > #NO_MAILWRAPPER=true # do not build the mailwrapper(8) MTA selector > #NO_MODULES= true # do not build modules with the kernel > #NO_OBJC= true # do not build Objective C support > #NO_OPENSSH= true # do not build OpenSSH > #NO_OPENSSL= true # do not build OpenSSL (implies NO_KERBEROS/NO_OPENSSH) > #NO_SENDMAIL= true # do not build sendmail and related programs > #NO_SHAREDOCS= true # do not build the 4.4BSD legacy docs > #NO_TCSH= true # do not build and install /bin/csh (which is tcsh) > #NO_VINUM= true # do not build Vinum utilities > #NOCRYPT= true # do not build any crypto code > #NOGAMES= true # do not build games (games/ subdir) > #NOINFO= true # do not make or install info files > #NOLIBC_R= true # do not build libc_r (re-entrant version of libc) > #NOMAN= true # do not build manual pages > NO_PROFILE= true # Avoid compiling profiled libraries > #NOSHARE= true # do not go into the share subdir > > # to get automatic SASL in sendmail > > SENDMAIL_CFLAGS+= -I/usr/local/include/ -DSASL=2 > SENDMAIL_LDFLAGS+= -L/usr/local/lib > SENDMAIL_LDADD+= -lsasl2 > > # > # to make CUPS magically keep working > # See: http://www.csua.berkeley.edu/~ranga/notes/freebsd_cups.html > # > > CUPS_OVERWRITE_BASE= yes > NO_LPR= true > > # added per /usr/ports/UPDATING entry 20090401 > > OVERRIDE_LINUX_BASE_PORT=f10 > OVERRIDE_LINUX_NONBASE_PORTS=f10 > > # > > WITH_MOZILLA= libxul > WITH_GECKO= libxul > > # > # added 2007/03/04 per advice of > # in re science/gramps > # > > WITH_BERKELEYDB=db43 > WITH_BDB_VER=43 > WANT_OPENLDAP_VER=24 > WANT_OPENLDAP_SASL=true > > # > # as required by ports/UPDATING of 20121012 > # > > SAMBA_ENABLE=YES > > # > # PORTS: use clang unless gcc is explicitly required > # > > # > # default to using clang for all port builds, with the following > # exceptions > > # ports which will only build with the base system GNU compiler (4.2) > # > # the "make index" target also seems to need this, for some reason > > .if target(index) | \ > ${.CURDIR:M*/devel/antlr*} | \ > ${.CURDIR:M*/devel/google-perftools* } | \ > ${.CURDIR:M*/graphics/ImageMagick* } | \ > ${.CURDIR:M*/graphics/opencv*} | \ > ${.CURDIR:M*/x11/kdelibs4*} | \ > USE_GCC?=4.2 > .endif > > # ports which need *some* version of the GNU compiler (won't build with > # clang or have runtime issues if built with clang) > # use the highest version of gcc we have installed from ports (4.6) > > .if ${.CURDIR:M*/accessibility/jovie*} | \ > ${.CURDIR:M*/accessibility/kdeaccessibility4*} | \ > ${.CURDIR:M*/audio/grip*} | \ > ${.CURDIR:M*/audio/mpg123*} | \ > ${.CURDIR:M*/audio/rosegarden*} | \ > ${.CURDIR:M*/databases/virtuoso*} | \ > ${.CURDIR:M*/deskutils/kdepimlibs4*} | \ > ${.CURDIR:M*/devel/apache-ant*} | \ > ${.CURDIR:M*/devel/icu*} | \ > ${.CURDIR:M*/devel/kdevelop-kde4*} | \ > ${.CURDIR:M*/devel/kdevplatform*} | \ > ${.CURDIR:M*/devel/log4j*} | \ > ${.CURDIR:M*/games/kdegames4*} | \ > ${.CURDIR:M*/graphics/tonicpoint-viewer*} | \ > ${.CURDIR:M*/java/* } | \ > ${.CURDIR:M*/lang/gcc* } | \ > ${.CURDIR:M*/math/fftw3*} | \ > ${.CURDIR:M*/multimedia/avidemux2*} | \ > ${.CURDIR:M*/multimedia/kdemultimedia4*} | \ > ${.CURDIR:M*/multimedia/vlc*} | \ > ${.CURDIR:M*/multimedia/xbmc*} | \ > ${.CURDIR:M*/net/kdenetwork4*} | \ > ${.CURDIR:M*/net/mpich2*} | \ > ${.CURDIR:M*/net/opal3*} | \ > ${.CURDIR:M*/net-p2p/ktorrent*} | \ > ${.CURDIR:M*/net-p2p/vuze*} | \ > ${.CURDIR:M*/sysutils/lsof*} | \ > ${.CURDIR:M*/textproc/docbook-xsl*} | \ > ${.CURDIR:M*/textproc/fop*} | \ > ${.CURDIR:M*/www/libxul*} | \ > ${.CURDIR:M*/x11/kde4-baseapps*} | \ > ${.CURDIR:M*/x11/kde4-workspace*} | \ > ${.CURDIR:M*/x11/lxpanel*} | \ > USE_GCC?=4.6+ > .endif > > .if ${.CURDIR:M*/usr/ports/*} > .if !defined(USE_GCC) > .if !defined(CC) || ${CC} == "cc" > CC=clang > .endif > .if !defined(CXX) || ${CXX} == "c++" > CXX=clang++ > .endif > .if !defined(CPP) || ${CPP} == "cpp" > CPP=clang-cpp > .endif > .endif > .endif > > > WITH_NEW_XORG=yes > > WITH_BSD_SORT= > > > WITH_PKGNG=yes > > # added by use.perl 2012-12-29 10:59:31 > PERL_VERSION=5.16.2 > > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > Try mv /etc/make.conf /etc/make.conf.mv ; cd /usr/src ; make world & it should work, proving its your make.conf I normally do a world with a vanilla system & then slowly carefully add SASL, 'cos yes it breaks things as you saw. I have a # .include "/site/domain/this/etc/make.conf.sasl" with SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 I see you have += not = so you may be inheriting other parameters too. > SENDMAIL_CFLAGS+= -I/usr/local/include/ -DSASL=2 > SENDMAIL_LDFLAGS+= -L/usr/local/lib > SENDMAIL_LDADD+= -lsasl2 I'm using 9.1-RELEASE. As you'r quoting 10, you should ask on current at freebsd.org (questions@ was started to support beginners questions (on releases), you've moved beyond :-) Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. No quoted-printable, HTML, base64, multipart/alternative. From bah at bananmonarki.se Sat Mar 2 02:16:47 2013 From: bah at bananmonarki.se (Bernt Hansson) Date: Sat, 02 Mar 2013 03:16:30 +0100 Subject: dvd+rw-tools/cdrtools write only 4GB to BluRay In-Reply-To: References: <512CC3D2.50801@bananmonarki.se> Message-ID: <513160FE.3060507@bananmonarki.se> 2013-02-26 16:32, Tomek CEDRO skrev: > I guess its time to update Handbook again :-) That was from the handbook. From nazir.haron at gmail.com Sat Mar 2 02:47:24 2013 From: nazir.haron at gmail.com (Nazir) Date: Sat, 2 Mar 2013 10:47:15 +0800 Subject: Freebsd 9.0 LSI MegaRaid issue Message-ID: 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 From freebsd at edvax.de Sat Mar 2 05:12:25 2013 From: freebsd at edvax.de (Polytropon) Date: Sat, 2 Mar 2013 06:12:22 +0100 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: <5130CC82.4000607@a1poweruser.com> References: <5130B651.9030607@a1poweruser.com> <1362147256.788.3.camel@archlinux> <5130BC16.8020903@aboutsupport.com> <5130CC82.4000607@a1poweruser.com> Message-ID: <20130302061222.75ebe236.freebsd@edvax.de> 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 wrote: > > > >> > >> 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, ... From mapsware at prodigy.net.mx Sat Mar 2 05:28:09 2013 From: mapsware at prodigy.net.mx (Martin Alejandro Paredes Sanchez) Date: Fri, 1 Mar 2013 22:22:57 -0700 Subject: connect to a network printer to be able to print In-Reply-To: References: Message-ID: <201303012222.58083.mapsware@prodigy.net.mx> 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.3 hplj-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) From tomek.cedro at gmail.com Sat Mar 2 07:26:40 2013 From: tomek.cedro at gmail.com (Tomek CEDRO) Date: Sat, 2 Mar 2013 08:26:38 +0100 Subject: dvd+rw-tools/cdrtools write only 4GB to BluRay In-Reply-To: <513160FE.3060507@bananmonarki.se> References: <512CC3D2.50801@bananmonarki.se> <513160FE.3060507@bananmonarki.se> Message-ID: On 2 Mar 2013 03:16, "Bernt Hansson" 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 From jdc at koitsu.org Sat Mar 2 07:48:18 2013 From: jdc at koitsu.org (Jeremy Chadwick) Date: Fri, 1 Mar 2013 23:48:16 -0800 Subject: https://wiki.freebsd.org/ certificate error Message-ID: <20130302074816.GA61133@icarus.home.lan> (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 jdc at koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB | From tijl at coosemans.org Sat Mar 2 09:31:22 2013 From: tijl at coosemans.org (Tijl Coosemans) Date: Sat, 02 Mar 2013 10:31:13 +0100 Subject: Installing Matlab In-Reply-To: References: <511E01BA.20307@coosemans.org> <511E6509.9090703@coosemans.org> <51310F25.9070404@coosemans.org> <51312B41.2060901@coosemans.org> Message-ID: <5131C6E1.3050000@coosemans.org> On 01-03-2013 23:55, Vijay Kaul wrote: > On Fri, Mar 1, 2013 at 5:27 PM, Tijl Coosemans wrote: >> On 01-03-2013 22:35, Vijay Kaul wrote: >>> On Fri, Mar 1, 2013 at 3:27 PM, Tijl Coosemans wrote: >>>> On 01-03-2013 21:07, Vijay Kaul wrote: >>>>> On Fri, Feb 15, 2013 at 11:40 AM, Tijl Coosemans 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: >>>>>>>> , >>>>>>>> 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 at darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64 >>>>>>>> >>>>>>>> The install script in question: >>>>>>> >>>>>>> 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!! >>> >>> >>> >>> 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 . >> >> I suspect the installer already contains java, so you don't have to >> install anything. > > Yes, the installer *does* in fact seem to contain a jre of its own, a > point I had been confused about. > >> 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 > > I do have linprocfs in my fstab, and that seemed to work. Should I set > this command somewhere so that it executes on boot? > >> The Java exception is caused by a link error though. Can you send the >> output of: >> >> objdump -p /tmp/mathworks_22112/bin/glnx86/libinstutil.so >> > > Actually, no, I can't. It seems that the install script is not > actually even getting to a point where it creates anything in the /tmp > directory. I was thinking it might be cleaning up after itself, but > no, the directory doesn't get touched. (At least, if I 'touch > empty_file' or 'mkdir empty_dir' in /tmp, the timestamp on the > directory (from 'ls -al') is modified. Running the installer script > does not update the last modified timestamp on /tmp.) > > On the other hand, if I run "sudo ./install -test -v" (the 'test' flag > suppresses execution of the java command, and the 'v' is for verbose) > I get the following output: > > *** > Preparing installation files ... > -> DVD = /usr/home/vijay/Downloads/matlab_x86 > -> ARCH = glnx86 > -> DISPLAY = :0 > -> TESTONLY = 1 > -> JRE_LOC = /tmp/mathworks_35348/sys/java/jre/glnx86/jre > -> LD_LIBRARY_PATH = /tmp/mathworks_35348/bin/glnx86 > > Command to run: > /tmp/mathworks_35348/sys/java/jre/glnx86/jre/bin/java > -splash:"/usr/home/vijay/Downloads/matlab_x86/java/splash.png" > -Djava.ext.dirs=/tmp/mathworks_35348/sys/java/jre/glnx86/jre/lib/ext:/tmp/mathworks_35348/java/jar:/tmp/mathworks_35348/java/jarext:/tmp/mathworks_35348/java/jarext/axis2/:/tmp/mathworks_35348/java/jarext/guice/:/tmp/mathworks_35348/java/jarext/webservices/ > com/mathworks/professionalinstaller/Launcher -root > "/usr/home/vijay/Downloads/matlab_x86" -tmpdir "/tmp/mathworks_35348" > > Finished > *** > > I *do* get to see that splash image when I run the script, so somehow, > java is running. (Or something else is throwing up a spash screen?) > > Any thoughts on a next step? Maybe it uses /compat/linux/tmp? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 228 bytes Desc: OpenPGP digital signature URL: From ml at netfence.it Sat Mar 2 09:46:47 2013 From: ml at netfence.it (Andrea Venturoli) Date: Sat, 02 Mar 2013 10:46:26 +0100 Subject: Old releases support Message-ID: <5131CA72.6040108@netfence.it> Hello. Just a quick question on EOL dates. According to http://www.freebsd.org/security/security.html#sup, 7.4R support should have ended two days ago. Did it? Is Feb 28 2013 date confirmed? Next, 9.0 should reach EOL at the end of this month. Is this confirmed too? bye & Thanks av. From jerry at seibercom.net Sat Mar 2 11:30:44 2013 From: jerry at seibercom.net (Jerry) Date: Sat, 2 Mar 2013 06:30:40 -0500 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: <20130302061222.75ebe236.freebsd@edvax.de> References: <5130B651.9030607@a1poweruser.com> <1362147256.788.3.camel@archlinux> <5130BC16.8020903@aboutsupport.com> <5130CC82.4000607@a1poweruser.com> <20130302061222.75ebe236.freebsd@edvax.de> Message-ID: <20130302063040.5710c374@scorpio> On Sat, 2 Mar 2013 06:12:22 +0100 Polytropon articulated: > 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 > > > wrote: > > >> > > >> On 01/03/2013 16:14, Ralf Mardorf wrote: > > >> > > >>> [1] $ firefox -version > > >>> Mozilla Firefox 19.0 > > >>> > > >> No problem with SeaMonkey 2.16. > > >> > > 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. I think Brad Mettee nailed it with his response. 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...... I have seen this sort of thing several times before with different sites. The older versions of Firefox never picked up on it as often as IE would. I just tried this site using IE and immediately received the error message. The message stating: "The security certificate presented by this website was issued for a different website's address. Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server." It then went on to give me the normal options of leaving the site or ignoring the error. Interestingly enough, Firefox, on the same machine, does not provide any indication that the certificate is questionable. Given the choice of being warned about a questionable certificate or having the browser silently ignore it, I would choose to be warned about it. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From peter at aboutsupport.com Sat Mar 2 11:47:56 2013 From: peter at aboutsupport.com (Zyumbilev, Peter) Date: Sat, 02 Mar 2013 13:47:46 +0200 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: <20130302063040.5710c374@scorpio> References: <5130B651.9030607@a1poweruser.com> <1362147256.788.3.camel@archlinux> <5130BC16.8020903@aboutsupport.com> <5130CC82.4000607@a1poweruser.com> <20130302061222.75ebe236.freebsd@edvax.de> <20130302063040.5710c374@scorpio> Message-ID: <5131E6E2.2040305@aboutsupport.com> On 02/03/2013 13:30, Jerry wrote: > On Sat, 2 Mar 2013 06:12:22 +0100 No problem with IE 10. Peter From jerry at seibercom.net Sat Mar 2 12:13:16 2013 From: jerry at seibercom.net (Jerry) Date: Sat, 2 Mar 2013 07:13:13 -0500 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: <5131E6E2.2040305@aboutsupport.com> References: <5130B651.9030607@a1poweruser.com> <1362147256.788.3.camel@archlinux> <5130BC16.8020903@aboutsupport.com> <5130CC82.4000607@a1poweruser.com> <20130302061222.75ebe236.freebsd@edvax.de> <20130302063040.5710c374@scorpio> <5131E6E2.2040305@aboutsupport.com> Message-ID: <20130302071313.76094b9e@scorpio> On Sat, 02 Mar 2013 13:47:46 +0200 Zyumbilev, Peter articulated: > On 02/03/2013 13:30, Jerry wrote: > > On Sat, 2 Mar 2013 06:12:22 +0100 > > No problem with IE 10. See for the full explanation. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From laszlo_danielisz at yahoo.com Sat Mar 2 14:36:01 2013 From: laszlo_danielisz at yahoo.com (Laszlo Danielisz) Date: Sat, 2 Mar 2013 15:35:57 +0100 Subject: 9.1 packages Message-ID: Hi Guys, Do you have any idea when are going to be the packages available for FreeBSD 9.1? thx! Laszlo From kernel at webrz.net Sat Mar 2 15:51:57 2013 From: kernel at webrz.net (Jos Chrispijn) Date: Sat, 02 Mar 2013 16:50:06 +0100 Subject: rm -R Message-ID: <51321FAE.2010803@webrz.net> I made a folder called -S; how can I remove that again? did a rm -R '-S;' but that doesn't work (...). thanks for your advise, Jos Chrispijn From Devin.Teske at fisglobal.com Sat Mar 2 15:55:20 2013 From: Devin.Teske at fisglobal.com (Teske, Devin) Date: Sat, 2 Mar 2013 15:55:15 +0000 Subject: rm -R In-Reply-To: <51321FAE.2010803@webrz.net> References: <51321FAE.2010803@webrz.net> Message-ID: <13CA24D6AB415D428143D44749F57D7201EBE870@ltcfiswmsgmb21> rm -R -- -S The "--" tells it "here's the end of the options, here come the file/directories" -- Devin ________________________________________ From: owner-freebsd-questions at freebsd.org [owner-freebsd-questions at freebsd.org] on behalf of Jos Chrispijn [kernel at webrz.net] Sent: Saturday, March 02, 2013 7:50 AM To: freebsd-questions at FreeBSD.org Subject: rm -R I made a folder called -S; how can I remove that again? did a rm -R '-S;' but that doesn't work (...). thanks for your advise, Jos Chrispijn _______________________________________________ freebsd-questions at freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" _____________ 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. From ralf.mardorf at rocketmail.com Sat Mar 2 15:55:38 2013 From: ralf.mardorf at rocketmail.com (Ralf Mardorf) Date: Sat, 02 Mar 2013 16:55:32 +0100 Subject: rm -R In-Reply-To: <51321FAE.2010803@webrz.net> References: <51321FAE.2010803@webrz.net> Message-ID: <1362239732.585.2.camel@archlinux> On Sat, 2013-03-02 at 16:50 +0100, Jos Chrispijn wrote: > I made a folder called -S; > > how can I remove that again? > > did a rm -R '-S;' but that doesn't work (...). rm -R "-S\;" rm -R ?S? From simon at qxnitro.org Sat Mar 2 15:59:08 2013 From: simon at qxnitro.org (Simon L. B. Nielsen) Date: Sat, 2 Mar 2013 15:59:07 +0000 Subject: Old releases support In-Reply-To: <5131CA72.6040108@netfence.it> References: <5131CA72.6040108@netfence.it> Message-ID: On 2 Mar 2013 09:47, "Andrea Venturoli" wrote: > Just a quick question on EOL dates. > > According to http://www.freebsd.org/security/security.html#sup, 7.4R support should have ended two days ago. Did it? > Is Feb 28 2013 date confirmed? > > Next, 9.0 should reach EOL at the end of this month. > Is this confirmed too? Correct on both accounts. As the updates are manual nobody just got to removing 7.4 yet. I should have sent a mail out with warning a month ago but forgot. -- Simon From kernel at webrz.net Sat Mar 2 17:40:37 2013 From: kernel at webrz.net (Jos Chrispijn) Date: Sat, 02 Mar 2013 18:40:36 +0100 Subject: rm -R In-Reply-To: <1362239732.585.2.camel@archlinux> References: <51321FAE.2010803@webrz.net> <1362239732.585.2.camel@archlinux> Message-ID: <51323994.9000109@webrz.net> Ralf Mardorf: > rm -R "-S\;" rm -R ?S? rm: illegal option -- S usage: rm [-f | -i] [-dIPRrvW] file ... unlink file regards, Jos Chrispijn From jos at webrz.net Sat Mar 2 17:43:19 2013 From: jos at webrz.net (Jos Chrispijn) Date: Sat, 02 Mar 2013 18:43:17 +0100 Subject: rm -R In-Reply-To: <13CA24D6AB415D428143D44749F57D7201EBE870@ltcfiswmsgmb21> References: <51321FAE.2010803@webrz.net> <13CA24D6AB415D428143D44749F57D7201EBE870@ltcfiswmsgmb21> Message-ID: <51323A35.2090307@webrz.net> Teske, Devin: > rm -R -- -S > > The "--" tells it "here's the end of the options, here come the file/directories" Almost : rm -R -- -S; did it, thanks very much! BR, Jos Chrispijn. From kernel at webrz.net Sat Mar 2 17:44:23 2013 From: kernel at webrz.net (Jos Chrispijn) Date: Sat, 02 Mar 2013 18:44:22 +0100 Subject: rm -R In-Reply-To: <13CA24D6AB415D428143D44749F57D7201EBE870@ltcfiswmsgmb21> References: <51321FAE.2010803@webrz.net> <13CA24D6AB415D428143D44749F57D7201EBE870@ltcfiswmsgmb21> Message-ID: <51323A76.2040203@webrz.net> Teske, Devin: > rm -R -- -S > > The "--" tells it "here's the end of the options, here come the file/directories" Almost: rm -R -- -S; did it, thanks very much for you help! BR, Jos Chrispijn From kaltheat at googlemail.com Sat Mar 2 18:03:51 2013 From: kaltheat at googlemail.com (kaltheat at googlemail.com) Date: Sat, 2 Mar 2013 19:03:32 +0100 Subject: how to disable bluetooth In-Reply-To: References: <20130227174137.cc0c9ad4.freebsd@edvax.de> <20130301183049.GB2161@sol> Message-ID: <20130302180332.GA54872@sol> On Fri, Mar 01, 2013 at 09:50:45PM +0100, CeDeROM wrote: > On Fri, Mar 1, 2013 at 7:30 PM, kaltheat wrote: > > On Wed, Feb 27, 2013 at 06:31:38PM +0100, CeDeROM wrote: > >> hey hey :-) its not that i dont want the bluetooth at all, just want to > >> shut it down when its supposed to be shut down :-) bluetooth stack is > >> always functional and my device is always visible even if i disable all > >> bluetooth services, this seems insecure a bit huh. :-) > > > > You might want to create a cutomized minimal kernel and load every module > > either by /boot/loader.conf or by hand. > > Yea, I have noticed that defaul kernel now contains everything. I am > not sure if this is a good choice. Do you know how can I mark which > code pieces should be build as modules and which ones should become > part of kernel? I got lots of modules - are they built into the kernel > or loaded one by one at boot time? > > Thank you! :-) > Tomek Well. I don't think that it contains everything. Do `kldstat -v` to get informations on modules built into kernel and modules loaded seperately. You can mark code pieces you want to have in kernel by writing a KERNCONF file. Details can be taken from handbook[1]. You may find other step-by-step instructions in forum[2] and on several blogs. I saw some posts of people sharing their minimal kernel configuration file. It's interesting for people using laptops and wanting to save as much power as possible, too. Regards, kaltheat [1] http://www.freebsd.org/doc/handbook/kernelconfig-building.html [2] https://forums.freebsd.org/ From remko at FreeBSD.org Sat Mar 2 18:32:50 2013 From: remko at FreeBSD.org (Remko Lodder) Date: Sat, 2 Mar 2013 19:32:56 +0100 Subject: Old releases support In-Reply-To: References: <5131CA72.6040108@netfence.it> Message-ID: <92950455-2626-4961-A131-DECCB16D5ADC@FreeBSD.org> On Mar 2, 2013, at 4:59 PM, Simon L. B. Nielsen wrote: > On 2 Mar 2013 09:47, "Andrea Venturoli" wrote: >> Just a quick question on EOL dates. >> >> According to http://www.freebsd.org/security/security.html#sup, 7.4R > support should have ended two days ago. Did it? >> Is Feb 28 2013 date confirmed? >> >> Next, 9.0 should reach EOL at the end of this month. >> Is this confirmed too? > > Correct on both accounts. As the updates are manual nobody just got to > removing 7.4 yet. Hello, I just removed 7.4/7-STABLE from the list and moved it to the 'unsupported' section. Thanks for mentioning this! Cheers Remko > > I should have sent a mail out with warning a month ago but forgot. > > -- > Simon > _______________________________________________________ > Please think twice when forwarding, cc:ing, or bcc:ing > security-team messages. Ask if you are unsure. -- /"\ With kind regards, | remko at elvandar.org \ / Remko Lodder | remko at FreeBSD.org X FreeBSD | http://www.evilcoder.org / \ The Power to Serve | Quis custodiet ipsos custodes From dmtilbrook at gmail.com Sat Mar 2 20:43:51 2013 From: dmtilbrook at gmail.com (David Tilbrook) Date: Sat, 2 Mar 2013 15:43:50 -0500 Subject: rm -R In-Reply-To: <13CA24D6AB415D428143D44749F57D7201EBE870@ltcfiswmsgmb21> References: <51321FAE.2010803@webrz.net> <13CA24D6AB415D428143D44749F57D7201EBE870@ltcfiswmsgmb21> Message-ID: Wjy are we syill having this conversation? The problem (and its solution) have been raised for at least 39 years. To specify a file, directory, device, whatever, whose leaf name begins with a `-', name it using a leading `./' as in: whatever ./-S That will work for all programs, even those that do not support -- to terminate flags. Furthermore it will support glob patterns. Now was that so difficult? -- dt From realrichardsharpe at gmail.com Sat Mar 2 22:00:10 2013 From: realrichardsharpe at gmail.com (Richard Sharpe) Date: Sat, 2 Mar 2013 14:00:09 -0800 Subject: listxattr and friends on FreeBSD 8.3 and above Message-ID: Hi folks, Can anyone tell me how to get listxattr and co support on FreeBSD 8.3 and above? A link would be enough. I did a brief search but cannot find anything FreeBSD specific. -- Regards, Richard Sharpe (??????????--??) From jhs at berklix.com Sat Mar 2 23:11:20 2013 From: jhs at berklix.com (Julian H. Stacey) Date: Sat, 02 Mar 2013 23:45:30 +0100 Subject: rm -R In-Reply-To: Your message "Sat, 02 Mar 2013 18:44:22 +0100." <51323A76.2040203@webrz.net> Message-ID: <201303022246.r22MjUfO034030@fire.js.berklix.net> Hi, Reference: > From: Jos Chrispijn > Date: Sat, 02 Mar 2013 18:44:22 +0100 > Message-id: <51323A76.2040203 at webrz.net> Jos Chrispijn wrote: > > Teske, Devin: > > rm -R -- -S > > > > The "--" tells it "here's the end of the options, here come the file/directories" > > Almost: > > rm -R -- -S; > > did it, thanks very much for you help! This also works rmdir ./-S (& is probably the best generic naming method, & was valid decades ago, before rm got the luxury of modern stuff eg -- & would work for other commands that might not have delimieters such as -- ) This also work but is over kill : rmdir './-S' Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. No quoted-printable, HTML, base64, multipart/alternative. From doug at safeport.com Sat Mar 2 23:29:16 2013 From: doug at safeport.com (doug at safeport.com) Date: Sat, 2 Mar 2013 17:59:22 -0500 (EST) Subject: rm -R In-Reply-To: References: <51321FAE.2010803@webrz.net> <13CA24D6AB415D428143D44749F57D7201EBE870@ltcfiswmsgmb21> Message-ID: On Sat, 2 Mar 2013, David Tilbrook wrote: > Wjy are we syill having this conversation? > The problem (and its solution) have been > raised for at least 39 years. > > To specify a file, directory, device, whatever, > whose leaf name begins with a `-', name it using > a leading `./' as in: > > whatever ./-S > > That will work for all programs, even those that > do not support -- to terminate flags. > > Furthermore it will support glob patterns. > > Now was that so difficult? > > -- dt Also find -type [df] -name "string" | xargs command find is pretty good about finding names with special characters and they get passed though xargs ok. This does not work with names with spaces of course. Also pretty easy to test at each step to make sure you are doing want you intend. From jrisom at gmail.com Sun Mar 3 01:43:56 2013 From: jrisom at gmail.com (Joshua Isom) Date: Sat, 02 Mar 2013 19:43:50 -0600 Subject: rm -R In-Reply-To: References: <51321FAE.2010803@webrz.net> <13CA24D6AB415D428143D44749F57D7201EBE870@ltcfiswmsgmb21> Message-ID: <5132AAD6.5060301@gmail.com> On 3/2/2013 2:43 PM, David Tilbrook wrote: > The problem (and its solution) have been > raised for at least 39 years. But google and other search engines treats words([A-Za-z0-9]) starting with - as meaning exclude results with this, even when obvious it's about unix commands. It can be rather annoying when searching for help. From kline at thought.org Sun Mar 3 02:29:58 2013 From: kline at thought.org (Gary Kline) Date: Sat, 2 Mar 2013 18:27:15 -0800 Subject: rm -R In-Reply-To: <5132AAD6.5060301@gmail.com> References: <51321FAE.2010803@webrz.net> <13CA24D6AB415D428143D44749F57D7201EBE870@ltcfiswmsgmb21> <5132AAD6.5060301@gmail.com> Message-ID: <20130303022715.GA913@ethic.thought.org> On Sat, Mar 02, 2013 at 07:43:50PM -0600, Joshua Isom wrote: > On 3/2/2013 2:43 PM, David Tilbrook wrote: > >The problem (and its solution) have been > >raised for at least 39 years. > > But google and other search engines treats words([A-Za-z0-9]) > starting with - as meaning exclude results with this, even when > obvious it's about unix commands. It can be rather annoying when > searching for help. > _______________________________________________ sorry to be so dense; can you give me a few concrete examples? ya lost me! tx.... > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" -- Gary Kline kline at thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. From freebsd at edvax.de Sun Mar 3 03:08:11 2013 From: freebsd at edvax.de (Polytropon) Date: Sun, 3 Mar 2013 04:08:13 +0100 Subject: rm -R In-Reply-To: <20130303022715.GA913@ethic.thought.org> References: <51321FAE.2010803@webrz.net> <13CA24D6AB415D428143D44749F57D7201EBE870@ltcfiswmsgmb21> <5132AAD6.5060301@gmail.com> <20130303022715.GA913@ethic.thought.org> Message-ID: <20130303040813.eeec9530.freebsd@edvax.de> On Sat, 2 Mar 2013 18:27:15 -0800, Gary Kline wrote: > On Sat, Mar 02, 2013 at 07:43:50PM -0600, Joshua Isom wrote: > > On 3/2/2013 2:43 PM, David Tilbrook wrote: > > >The problem (and its solution) have been > > >raised for at least 39 years. > > > > But google and other search engines treats words([A-Za-z0-9]) > > starting with - as meaning exclude results with this, even when > > obvious it's about unix commands. It can be rather annoying when > > searching for help. > > _______________________________________________ > > > sorry to be so dense; can you give me a few concrete examples? ya > lost me! Just as one of many examples, google for "find -name" (without the quotes of course), a typical combination which the "AND NEAR" search should return sufficient results for. Compare the list of results to what you would expect. Now, google for "find -name" _including_ the quotes (!) in order to have google treat the search string literally. The results will be different, as you would expect. In ye olde times when search engine meant altavista.digital.com (if I remember correctly), search strings usually needed to include + (AND) and - (AND NOT) if you wanted to construct a search term consisting of more than one word. With google implying a "+ prefix" for every search word _and_ assuming they should be as near as possible to each other (therefor the name "AND NEAR" for the kind of search) this became obsolete. Almost, as it seems... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From jrisom at gmail.com Sun Mar 3 03:18:57 2013 From: jrisom at gmail.com (Joshua Isom) Date: Sat, 02 Mar 2013 21:18:51 -0600 Subject: rm -R In-Reply-To: <20130303022715.GA913@ethic.thought.org> References: <51321FAE.2010803@webrz.net> <13CA24D6AB415D428143D44749F57D7201EBE870@ltcfiswmsgmb21> <5132AAD6.5060301@gmail.com> <20130303022715.GA913@ethic.thought.org> Message-ID: <5132C11B.4050808@gmail.com> On 3/2/2013 8:27 PM, Gary Kline wrote: > On Sat, Mar 02, 2013 at 07:43:50PM -0600, Joshua Isom wrote: >> On 3/2/2013 2:43 PM, David Tilbrook wrote: >>> The problem (and its solution) have been >>> raised for at least 39 years. >> >> But google and other search engines treats words([A-Za-z0-9]) >> starting with - as meaning exclude results with this, even when >> obvious it's about unix commands. It can be rather annoying when >> searching for help. >> _______________________________________________ > > > sorry to be so dense; can you give me a few concrete examples? ya > lost me! > > tx.... > Start with basics, http://www.lmgtfy.com/?q=rm+-rf now find something relevant even though `rm -rf` is so common under unix. Oddly, `rm -S` gives the wikipedia webpage first. It doesn't mention anything about -- or using ./ to delete files. The man page lists is, so the "true" documentation is sound, but if you're looking on the internet you have to know how to search. From freebsd at edvax.de Sun Mar 3 03:25:07 2013 From: freebsd at edvax.de (Polytropon) Date: Sun, 3 Mar 2013 04:17:42 +0100 Subject: rm -R In-Reply-To: <201303022246.r22MjUfO034030@fire.js.berklix.net> References: <51323A76.2040203@webrz.net> <201303022246.r22MjUfO034030@fire.js.berklix.net> Message-ID: <20130303041742.d445f674.freebsd@edvax.de> On Sat, 02 Mar 2013 23:45:30 +0100, Julian H. Stacey wrote: > Hi, > Reference: > > From: Jos Chrispijn > > Date: Sat, 02 Mar 2013 18:44:22 +0100 > > Message-id: <51323A76.2040203 at webrz.net> > > Jos Chrispijn wrote: > > > > Teske, Devin: > > > rm -R -- -S > > > > > > The "--" tells it "here's the end of the options, here come the file/directories" > > > > Almost: > > > > rm -R -- -S; > > > > did it, thanks very much for you help! > > This also works > rmdir ./-S > (& is probably the best generic naming method, & was valid decades > ago, before rm got the luxury of modern stuff eg -- & would work > for other commands that might not have delimieters such as -- ) > This also work but is over kill : > rmdir './-S' Just note that the ; has been part of the name in question, so the "end of command" sign would have to be part of the directory name: "rmdir ./-S;" and "rmdir './-S;' would be the alternatives to "rm -R -- -S;". I'd be interested in what happens when you have such a directory name and press PF8 in the Midnight Commander in order to delete it. Now go ahead and create a file "*" in / and tell a junior sysadmin to remove it. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From perryh at pluto.rain.com Sun Mar 3 05:01:05 2013 From: perryh at pluto.rain.com (Perry Hutchison) Date: Sat, 02 Mar 2013 20:53:44 -0800 Subject: rm -R In-Reply-To: <5132AAD6.5060301@gmail.com> References: <51321FAE.2010803@webrz.net> <13CA24D6AB415D428143D44749F57D7201EBE870@ltcfiswmsgmb21> <5132AAD6.5060301@gmail.com> Message-ID: <5132c948.kFZOe3OEy+VGm3JP%perryh@pluto.rain.com> Joshua Isom wrote: > But google and other search engines treats words([A-Za-z0-9]) > starting with - as meaning exclude results with this, even when > obvious it's about unix commands. It can be rather annoying > when searching for help. This comment suggests a new translation of GNU: Google's Not Unix (although it may well be _hosted on_ a Unix variant). Absent some very advanced AI, nothing is "obvious" to a computer :) The "-" character means different things in different environments. When you know what command is needed, the manpage is usually the best reference. Save the search engines for when you _don't_ know which command to use -- and even then you probably should try "man -k" or "apropos" first. From cederom at tlen.pl Sun Mar 3 08:35:04 2013 From: cederom at tlen.pl (CeDeROM) Date: Sun, 3 Mar 2013 09:34:57 +0100 Subject: how to disable bluetooth In-Reply-To: <20130302180332.GA54872@sol> References: <20130227174137.cc0c9ad4.freebsd@edvax.de> <20130301183049.GB2161@sol> <20130302180332.GA54872@sol> Message-ID: Thank you Kaltheat! :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From peter at aboutsupport.com Sun Mar 3 20:52:43 2013 From: peter at aboutsupport.com (Zyumbilev, Peter) Date: Sun, 03 Mar 2013 22:52:31 +0200 Subject: h264 streaming and lighttpd Message-ID: <5133B80F.3010101@aboutsupport.com> Hi, Port /usr/ports/www/lighttpd-mod_h264_streaming seems broken. It installs just fine, lighttpd runs but at the moment I enable h264_streaming module it dies like this: kernel: pid 50660 (lighttpd), uid 80: exited on signal 11 Nothing in error log. Without the module lighttpd runs like charm. Configuration is default, not changes except port number, FreeBSD version: 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 Any hints ? Thanks, Peter From andrewpack54 at yahoo.com Sun Mar 3 22:59:34 2013 From: andrewpack54 at yahoo.com (Andrew Pack) Date: Sun, 3 Mar 2013 14:56:42 -0800 (PST) Subject: VIA PV530 Message-ID: <1362351402.61999.YahooMailNeo@web164001.mail.gq1.yahoo.com> Does anyone have any experience running FreeBSD on this platform? Unless I'm mistaken, I could't find it listed under the new release compatibility list.? From freebsd at edvax.de Mon Mar 4 00:36:06 2013 From: freebsd at edvax.de (Polytropon) Date: Mon, 4 Mar 2013 01:36:08 +0100 Subject: Grepping though a disk Message-ID: <20130304013608.7981e8a9.freebsd@edvax.de> Due to a fsck file system repair I lost the content of a file I consider important, but it hasn't been backed up yet. The file name is still present, but no blocks are associated (file size is zero). I hope the data blocks (which are now probably marked "unused") are still intact, so I thought I'd search for them because I can remember specific text that should have been in that file. As I don't need any fancy stuff like a progress bar, I decided to write a simple command, and I quickly got something up and running which I _assume_ will do what I need. This is the command I've been running interactively in bash: $ N=0; while true; do echo "${N}"; dd if=/dev/ad6 of=/dev/stdout bs=10240 count=1 skip=${N} 2>/dev/null | grep ""; if [ $? -eq 0 ]; then break; fi; N=`expr ${N} + 1`; done To make it look a bit better and illustrate the simple logic behind my idea: N=0 while true; do echo "${N}" dd if=/dev/ad6 of=/dev/stdout bs=10240 count=1 skip=${N} \ 2>/dev/null | grep "" if [ $? -eq 0 ]; then break fi N=`expr ${N} + 1` done Here refers to the text. It's only a small, but very distinctive portion. I'm searching in blocks of 10 kB so it's easier to continue in case something has been found. I plan to output the resulting "block" (it's not a real disk block, I know, it's simply a unit of 10 kB disk space) and maybe the previous and next one (in case the file, the _real_ block containing the data, has been split across more than one of those units. I will then clean the "garbage" (maybe from other files) because I can easily determine the beginning and the end of the file. Needless to say, it's a _text_ file. I understand that grep operates on text files, but it will also happily return 0 if the text to search for will appear in a binary file, and possibly return the whole file as a search result (in case there are no newlines in it). My questions: 1. Is this the proper way of stupidly searching a disk? 2. Is the block size (bs= parameter to dd) good, or should I use a different value for better performance? 3. Is there a program known that already implements the functionality I need in terms of data recovery? Results so far: The disk in question is a 1 TB SATA disk. The command has been running for more than 12 hours now and returned one false-positive result, so basically it seems to work, but maybe I can do better? I can always continue search by adding 1 to ${N}, set it as start value, and re-run the command. Any suggestion is welcome! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From peter at aboutsupport.com Mon Mar 4 07:06:46 2013 From: peter at aboutsupport.com (Zyumbilev, Peter) Date: Mon, 04 Mar 2013 09:06:41 +0200 Subject: unable to compile lighttpd form source Message-ID: <51344801.8030206@aboutsupport.com> Hi, I am trying to follow instructions on this page: http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2 and compile lighttpd. [root at pistolmp01 ~/lighttpd-1.4.28]# ./autogen.sh ./autogen.sh: running `libtoolize --copy --force' libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' ./autogen.sh: running `aclocal -I m4' configure.ac:42: error: automatic de-ANSI-fication support has been removed /usr/local/share/aclocal-1.12/protos.m4:12: AM_C_PROTOTYPES is expanded from... configure.ac:42: the top level autom4te-2.69: /usr/local/bin/gm4 failed with exit status: 1 aclocal-1.12: error: /usr/local/bin/autom4te-2.69 failed with exit status: 1 System version is: FreeBSD 8.3-RELEASE-p3 Please give me some hints as I am unable to install lighttpd with h264 streaming support from both ports and source on FreeBSD. Peter From ml at netfence.it Mon Mar 4 08:25:54 2013 From: ml at netfence.it (Andrea Venturoli) Date: Mon, 04 Mar 2013 09:25:33 +0100 Subject: Old releases support In-Reply-To: <92950455-2626-4961-A131-DECCB16D5ADC@FreeBSD.org> References: <5131CA72.6040108@netfence.it> <92950455-2626-4961-A131-DECCB16D5ADC@FreeBSD.org> Message-ID: <51345A7D.6060408@netfence.it> On 03/02/13 19:32, Remko Lodder wrote: > I just removed 7.4/7-STABLE from the list and moved it to the 'unsupported' > section. > > Thanks for mentioning this! Thanks to you! Although I'm fine (I know what I asked for :-), I'll point out another little thing: 7.4 is still listed as "legacy" in the home and here: http://www.freebsd.org/releases/. I guess it should go away there too. bye av. From ml at my.gd Mon Mar 4 09:17:00 2013 From: ml at my.gd (Damien Fleuriot) Date: Mon, 4 Mar 2013 10:09:50 +0100 Subject: Grepping though a disk In-Reply-To: <20130304013608.7981e8a9.freebsd@edvax.de> References: <20130304013608.7981e8a9.freebsd@edvax.de> Message-ID: <8402144E-5ECB-44E9-99FB-0258C855FE7B@my.gd> On 4 Mar 2013, at 01:36, Polytropon wrote: > Due to a fsck file system repair I lost the content of a file > I consider important, but it hasn't been backed up yet. The > file name is still present, but no blocks are associated > (file size is zero). I hope the data blocks (which are now > probably marked "unused") are still intact, so I thought > I'd search for them because I can remember specific text > that should have been in that file. > > As I don't need any fancy stuff like a progress bar, I > decided to write a simple command, and I quickly got > something up and running which I _assume_ will do what > I need. > > This is the command I've been running interactively in bash: > > $ N=0; while true; do echo "${N}"; dd if=/dev/ad6 of=/dev/stdout bs=10240 count=1 skip=${N} 2>/dev/null | grep ""; if [ $? -eq 0 ]; then break; fi; N=`expr ${N} + 1`; done > > To make it look a bit better and illustrate the simple > logic behind my idea: > > N=0 > while true; do > echo "${N}" > dd if=/dev/ad6 of=/dev/stdout bs=10240 count=1 skip=${N} \ > 2>/dev/null | grep "" > if [ $? -eq 0 ]; then > break > fi > N=`expr ${N} + 1` > done > > Here refers to the text. It's only a small, but > very distinctive portion. I'm searching in blocks of 10 kB > so it's easier to continue in case something has been found. > I plan to output the resulting "block" (it's not a real disk > block, I know, it's simply a unit of 10 kB disk space) and > maybe the previous and next one (in case the file, the _real_ > block containing the data, has been split across more than > one of those units. I will then clean the "garbage" (maybe > from other files) because I can easily determine the beginning > and the end of the file. > > Needless to say, it's a _text_ file. > > I understand that grep operates on text files, but it will > also happily return 0 if the text to search for will appear > in a binary file, and possibly return the whole file as a > search result (in case there are no newlines in it). > > My questions: > > 1. Is this the proper way of stupidly searching a disk? > > 2. Is the block size (bs= parameter to dd) good, or should > I use a different value for better performance? > > 3. Is there a program known that already implements the > functionality I need in terms of data recovery? > > Results so far: > > The disk in question is a 1 TB SATA disk. The command has > been running for more than 12 hours now and returned one > false-positive result, so basically it seems to work, but > maybe I can do better? I can always continue search by > adding 1 to ${N}, set it as start value, and re-run the > command. > > Any suggestion is welcome! > > Hey that's actually a pretty creative way of doing things ;) Just to make sure, you've stopped daemons and all the stuff that could potentially write to the drive and nuke your blocks right ? From rfg at tristatelogic.com Mon Mar 4 09:47:40 2013 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Mon, 04 Mar 2013 01:47:24 -0800 Subject: Confused by restore(8) man page example Message-ID: <4861.1362390444@server1.tristatelogic.com> In the man page for restore(8) I see the following: The -r flag ... can be detrimental to one's health if not used carefully (not to mention the disk). An example: newfs /dev/da0s1a mount /dev/da0s1a /mnt cd /mnt restore rf /dev/sa0 Personally, I utterly fail to see what point the author is attempting to illustrate with the above example. I mean what part of this, exactly, may be "detrimental to one's health" ? It's an enigma to me. All I see is a pre-existing BSD partition being explicitly newfs'ed and then mounted, followed by some stuff being restored to that (clean) BSD partition from whatever is currently sitting on the tape drive called /dev/sa0. So? What possible problem could derive from merely that? I don't see any. What's the problem? I'm confused. From tamino at wolfhut.org Mon Mar 4 09:57:36 2013 From: tamino at wolfhut.org (Ben Cottrell) Date: Mon, 4 Mar 2013 01:57:28 -0800 Subject: Confused by restore(8) man page example In-Reply-To: <4861.1362390444@server1.tristatelogic.com> References: <4861.1362390444@server1.tristatelogic.com> Message-ID: <63618304-837E-4B76-8157-D99C744AC72F@wolfhut.org> On Mar 4, 2013, at 01:47, "Ronald F. Guilmette" wrote: > All I see is a pre-existing BSD partition being explicitly newfs'ed and > then mounted, followed by some stuff being restored to that (clean) > BSD partition from whatever is currently sitting on the tape drive > called /dev/sa0. > > So? What possible problem could derive from merely that? I don't see > any. I guess the same text in the man page could be read several different ways! The way I read it (which may or may not be correct) is that the example given is an example of how to use it *correctly*. It sounds to me like it's warning against deviating too far from the steps given in the example. I can see as how the text might allow other interpretations, though! ~Ben (who is always careful to avoid using out-of-range values with mktime() when setting up lunch with promptness sticklers in Riyadh...) From freebsd at edvax.de Mon Mar 4 09:58:47 2013 From: freebsd at edvax.de (Polytropon) Date: Mon, 4 Mar 2013 10:58:44 +0100 Subject: Grepping though a disk In-Reply-To: <8402144E-5ECB-44E9-99FB-0258C855FE7B@my.gd> References: <20130304013608.7981e8a9.freebsd@edvax.de> <8402144E-5ECB-44E9-99FB-0258C855FE7B@my.gd> Message-ID: <20130304105844.72c259f6.freebsd@edvax.de> On Mon, 4 Mar 2013 10:09:50 +0100, Damien Fleuriot wrote: > Hey that's actually a pretty creative way of doing things ;) It could be more optimum. :-) My thought is that I could maybe use a better bs= to make the whole thing run faster. I understand that for every unit, a subprocess dd | grep is started and an if [] test is run. Maybe doing this with 1 MB per unit would be better? Note that I need to grep through 1 TB in 10 kB steps... > Just to make sure, you've stopped daemons and all the stuff > that could potentially write to the drive and nuke your > blocks right ? Of course. The /dev/ad6 disk is a separate data disk which is not in use at the moment (unmounted). Still it is possible that the block has already been overwritten, but when the search has finished, it's almost certain in what state the data is. I would rewrite the file, but my eidetic memory is not working well anymore, so I can only remember parts of it... :-( -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wolfgang.riegler at gmx.de Mon Mar 4 10:08:50 2013 From: wolfgang.riegler at gmx.de (Wolfgang Riegler) Date: Fri, 01 Mar 2013 14:06:02 +0100 Subject: p5-Bit-Vector SHA256 Checksum mismatch (was PERL problem installing SQLgrey) In-Reply-To: <51253e9d.901a.28c09d00.5088e293@go2france.com> References: <51253e9d.901a.28c09d00.5088e293@go2france.com> Message-ID: <2594141.AlMBf4Kn0Z@wolfgang> Hi, I have the same problem. I use poudriere to package all needed software for my servers. SQLgrey is the only one failing because of the dependency for p5-Bit-Vector. I tried it several times. Even downloading manually to /usr/ports/distfiles doesn't work. I test the sha256 checksum manually, and it is correct. Here the log from poudriere: # cat p5-Bit-Vector-7.2_2.log build started at Fri Mar 1 12:38:24 CET 2013 port directory: /usr/ports/math/p5-Bit-Vector building for: 9.1-RELEASE amd64 maintained by: tobez at FreeBSD.org Makefile ident: $FreeBSD: ports/math/p5-Bit-Vector/Makefile,v 1.22 2013/01/22 09:50:13 svnexp Exp $ ---Begin Environment--- OSVERSION=901000 UNAME_v=FreeBSD 9.1-RELEASE UNAME_r=9.1-RELEASE BLOCKSIZE=K MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin STATUS=1 PKG_EXT=txz WITH_CCACHE_BUILD=yes FORCE_PACKAGE=yes tpid=15131 POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKG_DELETE=/usr/local/sbin/pkg delete -y -f PKG_ADD=/usr/local/sbin/pkg add CCACHE_DIR=/var/cache/ccache PWD=/mnt/system/DATEN/poudriere/basefs/data/logs/bulk/91amd64/hostportstree LOGS=/mnt/system/DATEN/poudriere/basefs/data/logs HOME=/root USER=root SKIPSANITY=0 LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- ================================================= ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /usr/ports/packages/All/pkg-1.0.8.txz Installing pkg-1.0.8... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of p5-Bit-Vector-7.2_2 ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/bin/perl5.14.2 - not found ===> Verifying install for /usr/local/bin/perl5.14.2 in /usr/ports/lang/perl5.14 ===> Installing existing package /usr/ports/packages/All/perl-5.14.2_2.txz Installing perl-5.14.2_2...Removing stale symlinks from /usr/bin... Skipping /usr/bin/perl Skipping /usr/bin/perl5 Done. Creating various symlinks in /usr/bin... Symlinking /usr/local/bin/perl5.14.2 to /usr/bin/perl Symlinking /usr/local/bin/perl5.14.2 to /usr/bin/perl5 Done. Cleaning up /etc/make.conf... Done. Spamming /etc/make.conf... Done. done ===> Returning to build of p5-Bit-Vector-7.2_2 ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/bin/perl5.14.2 - found ===> p5-Bit-Vector-7.2_2 depends on package: p5-Carp-Clan>=0 - not found ===> Verifying install for p5-Carp-Clan>=0 in /usr/ports/devel/p5-Carp-Clan ===> Installing existing package /usr/ports/packages/All/p5-Carp-Clan-6.04.txz Installing p5-Carp-Clan-6.04... done ===> Returning to build of p5-Bit-Vector-7.2_2 ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/bin/perl5.14.2 - found ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/bin/ccache - not found ===> Verifying install for /usr/local/bin/ccache in /usr/ports/devel/ccache ===> Installing existing package /usr/ports/packages/All/ccache-3.1.9.txz Installing ccache-3.1.9...Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) done NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> Returning to build of p5-Bit-Vector-7.2_2 ====================================================================== ===> Cleaning for p5-Bit-Vector-7.2_2 ================================================= ====================================================================== ================================================= ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/sbin/pkg - found ====================================================================== ================================================= ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/sbin/pkg - found => SHA256 Checksum mismatch for Bit-Vector-7.2.tar.gz. ===> Refetch for 1 more times files: Bit-Vector-7.2.tar.gz ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/sbin/pkg - found => Bit-Vector-7.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz fetch: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Unknown FTP error => Attempting to fetch http://www.cpan.dk/modules/by-module/Bit/Bit-Vector-7.2.tar.gz fetch: http://www.cpan.dk/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable => Attempting to fetch ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz fetch: Bit-Vector-7.2.tar.gz: local file (137817 bytes) is longer than remote file (135586 bytes) => Attempting to fetch http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz fetch: http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable => Attempting to fetch ftp://ftp.dti.ad.jp/pub/lang/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz fetch: Bit-Vector-7.2.tar.gz: local file (137817 bytes) is longer than remote file (135586 bytes) => Attempting to fetch ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz fetch: ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Unknown FTP error => Attempting to fetch ftp://mirror.hiwaay.net/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz fetch: Bit-Vector-7.2.tar.gz: local file (137817 bytes) is longer than remote file (135586 bytes) => Attempting to fetch ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz fetch: Bit-Vector-7.2.tar.gz: local file (137817 bytes) is longer than remote file (135586 bytes) => Attempting to fetch http://at.cpan.org/modules/by-module/Bit/Bit-Vector-7.2.tar.gz fetch: http://at.cpan.org/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable => Attempting to fetch ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz fetch: Bit-Vector-7.2.tar.gz: local file (137817 bytes) is longer than remote file (135586 bytes) => Attempting to fetch http://backpan.perl.org/modules/by-module/Bit/Bit-Vector-7.2.tar.gz fetch: http://backpan.perl.org/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Not Found => Attempting to fetch ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz fetch: ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Unknown FTP error => Attempting to fetch http://cpan.nctu.edu.tw/modules/by-module/Bit/Bit-Vector-7.2.tar.gz fetch: http://cpan.nctu.edu.tw/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable => Attempting to fetch http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz fetch: http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable => Attempting to fetch ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz fetch: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Unknown FTP error => Attempting to fetch http://www.cpan.dk/modules/by-module/Bit/Bit-Vector-7.2.tar.gz fetch: http://www.cpan.dk/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable => Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/Bit-Vector-7.2.tar.gz fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/Bit-Vector-7.2.tar.gz: size mismatch: expected 135586, actual 137817 => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** [do-fetch] Error code 1 Stop in /usr/ports/math/p5-Bit-Vector. *** [checksum] Error code 1 Stop in /usr/ports/math/p5-Bit-Vector. ===> Cleaning for p5-Bit-Vector-7.2_2 build of /usr/ports/math/p5-Bit-Vector ended at Fri Mar 1 12:39:17 CET 2013 From jrisom at gmail.com Mon Mar 4 10:15:58 2013 From: jrisom at gmail.com (Joshua Isom) Date: Mon, 04 Mar 2013 04:15:48 -0600 Subject: Grepping though a disk In-Reply-To: <20130304013608.7981e8a9.freebsd@edvax.de> References: <20130304013608.7981e8a9.freebsd@edvax.de> Message-ID: <51347454.5060605@gmail.com> On 3/3/2013 6:36 PM, Polytropon wrote: > Due to a fsck file system repair I lost the content of a file > I consider important, but it hasn't been backed up yet. The > file name is still present, but no blocks are associated > (file size is zero). I hope the data blocks (which are now > probably marked "unused") are still intact, so I thought > I'd search for them because I can remember specific text > that should have been in that file. > > As I don't need any fancy stuff like a progress bar, I > decided to write a simple command, and I quickly got > something up and running which I _assume_ will do what > I need. > > This is the command I've been running interactively in bash: > > $ N=0; while true; do echo "${N}"; dd if=/dev/ad6 of=/dev/stdout bs=10240 count=1 skip=${N} 2>/dev/null | grep ""; if [ $? -eq 0 ]; then break; fi; N=`expr ${N} + 1`; done > > To make it look a bit better and illustrate the simple > logic behind my idea: > > N=0 > while true; do > echo "${N}" > dd if=/dev/ad6 of=/dev/stdout bs=10240 count=1 skip=${N} \ > 2>/dev/null | grep "" > if [ $? -eq 0 ]; then > break > fi > N=`expr ${N} + 1` > done > > Here refers to the text. It's only a small, but > very distinctive portion. I'm searching in blocks of 10 kB > so it's easier to continue in case something has been found. > I plan to output the resulting "block" (it's not a real disk > block, I know, it's simply a unit of 10 kB disk space) and > maybe the previous and next one (in case the file, the _real_ > block containing the data, has been split across more than > one of those units. I will then clean the "garbage" (maybe > from other files) because I can easily determine the beginning > and the end of the file. > > Needless to say, it's a _text_ file. > > I understand that grep operates on text files, but it will > also happily return 0 if the text to search for will appear > in a binary file, and possibly return the whole file as a > search result (in case there are no newlines in it). > > My questions: > > 1. Is this the proper way of stupidly searching a disk? > > 2. Is the block size (bs= parameter to dd) good, or should > I use a different value for better performance? > > 3. Is there a program known that already implements the > functionality I need in terms of data recovery? > > Results so far: > > The disk in question is a 1 TB SATA disk. The command has > been running for more than 12 hours now and returned one > false-positive result, so basically it seems to work, but > maybe I can do better? I can always continue search by > adding 1 to ${N}, set it as start value, and re-run the > command. > > Any suggestion is welcome! > > > I'd call bs= essential for speed. Any copying will be faster with something higher. Also, there's the possibility, very annoying, that your search string overlaps a place where you read. I'd probably check 1M blocks, but advance maybe 950k each time. Make sure you're reading from block offsets for maximum speed. I know disk editors exist, I remember using one on Mac OS 8.6 for find a lost file. That was back on a 6 gig hard drive. Depending on the file size, you could open the disk in vi and just search from there, or just run strings on the disk and pipe it to vi. From steve at sohara.org Mon Mar 4 10:29:58 2013 From: steve at sohara.org (Steve O'Hara-Smith) Date: Mon, 4 Mar 2013 10:08:37 +0000 Subject: Confused by restore(8) man page example In-Reply-To: <4861.1362390444@server1.tristatelogic.com> References: <4861.1362390444@server1.tristatelogic.com> Message-ID: <20130304100837.41f5084d9b0c5817957a6ed1@sohara.org> On Mon, 04 Mar 2013 01:47:24 -0800 "Ronald F. Guilmette" wrote: > > > In the man page for restore(8) I see the following: > > The -r flag ... can be detrimental to one's health if > not used carefully (not to mention the disk). An example: > > newfs /dev/da0s1a > mount /dev/da0s1a /mnt > cd /mnt > > restore rf /dev/sa0 > > > Personally, I utterly fail to see what point the author is attempting > to illustrate with the above example. I mean what part of this, exactly, > may be "detrimental to one's health" ? It's an enigma to me. There's nothing wrong with the example. I think "An example:" should be in a new paragraph to make it clear that it is not related to the warning. The detrimental effects cut in when you use -r on a filesystem that is not pristine, or at least in the expected state for restoring an incremental dump. -- Steve O'Hara-Smith From freebsd at edvax.de Mon Mar 4 11:15:26 2013 From: freebsd at edvax.de (Polytropon) Date: Mon, 4 Mar 2013 12:15:24 +0100 Subject: Grepping though a disk In-Reply-To: <51347454.5060605@gmail.com> References: <20130304013608.7981e8a9.freebsd@edvax.de> <51347454.5060605@gmail.com> Message-ID: <20130304121524.63685108.freebsd@edvax.de> On Mon, 04 Mar 2013 04:15:48 -0600, Joshua Isom wrote: > I'd call bs= essential for speed. Any copying will be faster with > something higher. I thought about that. Narrowing down _if_ something has found is easy, e. g. when the positive 1 MB unit is dd'ed to a file, further work can easily be applied. > Also, there's the possibility, very annoying, that > your search string overlaps a place where you read. I'd probably check > 1M blocks, but advance maybe 950k each time. I also thought about that, that's why the distinctive phrase I'm searching for is less than 10 characters long. Still it's possible that it appears "across" a boundary of units, no matter how big or small I select bs=. But I don't know how to do this. From reading "man dd" my impression (consistent with my experience) is that the option skip= operates in units of bs= size, so I'm not sure how to compose a command that reads units of 1 MB, but skips in units of 950 kB. Maybe some parts of my memory have also been marked "unused" by fsck. :-) > Make sure you're reading > from block offsets for maximum speed. How do I do that? The disk is a normal HDD which has been initialized with "newfs -U" and no further options. ad6: 953869MB at ata3-master UDMA100 SATA 1.5Gb/s The file system spans the whole disk. > I know disk editors exist, I > remember using one on Mac OS 8.6 for find a lost file. That was back on > a 6 gig hard drive. Ha, I've done stuff like that on DOS with "important business data" many years ago, using the "Norton Disk Doctor" (NDD.EXE) when Norton (today: Symantec) wasn't yet synonymous for "The Yellow Plague". This program actually was quite cool, and you could search for things, manipulate disks on several levels (files, file system and below). I had even rewritten an entire partition table from scratch, memory and handheld calculator after an OS/2 installation went crazy. :-) > Depending on the file size, you could open the disk in vi and just > search from there, or just run strings on the disk and pipe it to vi. You mean like "strings /dev/ad6 | something", without dd? That would give me _no_ progress indicator (with my initial approach I have increasing numbers at least), but I doubt I can load a 1 TB partition in a vi session with only 2 GB RAM in the machine. If I try "strings /dev/ad6" I get a warning: "strings: Warning: '/dev/ad6' is not an ordinary file". True. But this opens a useful use of cat: "cat /dev/ad6 | strings". (Interesting idea, I will investigate this further.) The file size of the file I'm searching for is less than 10 kB. It's a relatively small text file which got some subsequent additions in the last days, but hasn't been part of the backup job yet. I can only remember parts of those additions, because as I said my brain is not good with computer. :-) Or do you think of something different? If yes, please explain. The urge to learn is strong when something went wrong. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From steve at sohara.org Mon Mar 4 11:29:32 2013 From: steve at sohara.org (Steve O'Hara-Smith) Date: Mon, 4 Mar 2013 11:29:00 +0000 Subject: Grepping though a disk In-Reply-To: <20130304121524.63685108.freebsd@edvax.de> References: <20130304013608.7981e8a9.freebsd@edvax.de> <51347454.5060605@gmail.com> <20130304121524.63685108.freebsd@edvax.de> Message-ID: <20130304112900.660b3e29dbec8f2f60fffa9b@sohara.org> On Mon, 4 Mar 2013 12:15:24 +0100 Polytropon wrote: > But I don't know how to do this. From reading "man dd" > my impression (consistent with my experience) is that > the option skip= operates in units of bs= size, so I'm > not sure how to compose a command that reads units of > 1 MB, but skips in units of 950 kB. Maybe some parts of > my memory have also been marked "unused" by fsck. :-) Not too hard (you'll kick yourself when you read down) - translation to valid shell script is left as an exercise for the reader :) bs=50k count=(n*20) skip=(n*20 - 1) Probably nicer to use powers of 2 bs=64k count=(n*16) skip=(n*16 - 1) -- Steve O'Hara-Smith From rfg at tristatelogic.com Mon Mar 4 11:35:36 2013 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Mon, 04 Mar 2013 03:35:30 -0800 Subject: backups using rsync Message-ID: <6126.1362396930@server1.tristatelogic.com> As a result of this past Black Friday weekend, I now enjoy a true abundance of disk space, for the first time in my life. I wanna make a full backup, on a weekly basis, of my main system's shiny new 1TB drive onto another 1TB drive that I also picked up cheap back on Black Friday. I've been planning to set this up for some long time now, but I've only gotten 'round to working on it now. Now, unfortunately, I have just been bitten by the evil... and apparently widely known (except to me)... ``You can't use dump(8) to dump a journaled filesystem with soft updates'' bug-a-boo. Sigh. The best laid plans of mice and men... I _had_ planned on using dump/restore and making backups from live mounted filesystems while the system was running. But I really don't want to have to take the system down to single-user mode every week for a few hours while I'm making my disk-to-disk backup. So now I'm looking at doing the backups using rsync. I see that rsync can nowadays properly cope with all sorts of oddities, like fer instance device files, hard-linked files, ACLs, file attributes, and all sorts of other unusual but important filesystem thingies. That's good news, but I still have to ask the obvious question: If I use all of the following rsync options... -a,-H,-A, -X, and -S .... when trying to make my backups, and if I do whatever additional fiddling is necessary to insure that I separately copy over the MBR and boot loader also to my backup drive, then is there any reason that, in the event of a sudden meteor shower that takes out my primary disk drive while leaving my backup drive intact, I can't just unplug my old primary drive, plug in my (rsync-created) backup drive, reboot and be back in the sadddle again, almost immediately, and with -zero- problems? Regards, rfg P.S. My apologies if I've already asked this exact same question here before. I'm getting a sense of deja vu... or else a feeling that I am often running around in circles, chasing my own tail. P.P.S. Before anyone asks, no I really _do not_ want to just use RAID as my one and only backup strategy. RAID is swell if your only problem is hardware failures. As far as I know however it will not save your bacon in the event of a fumble fingers "rm -rf *" moment. Only frequent and routine actual backups can do that. From freebsd at edvax.de Mon Mar 4 11:39:10 2013 From: freebsd at edvax.de (Polytropon) Date: Mon, 4 Mar 2013 12:39:14 +0100 Subject: Grepping though a disk In-Reply-To: <20130304112900.660b3e29dbec8f2f60fffa9b@sohara.org> References: <20130304013608.7981e8a9.freebsd@edvax.de> <51347454.5060605@gmail.com> <20130304121524.63685108.freebsd@edvax.de> <20130304112900.660b3e29dbec8f2f60fffa9b@sohara.org> Message-ID: <20130304123914.c18a9eb6.freebsd@edvax.de> On Mon, 4 Mar 2013 11:29:00 +0000, Steve O'Hara-Smith wrote: > On Mon, 4 Mar 2013 12:15:24 +0100 > Polytropon wrote: > > > But I don't know how to do this. From reading "man dd" > > my impression (consistent with my experience) is that > > the option skip= operates in units of bs= size, so I'm > > not sure how to compose a command that reads units of > > 1 MB, but skips in units of 950 kB. Maybe some parts of > > my memory have also been marked "unused" by fsck. :-) > > Not too hard (you'll kick yourself when you read down) - translation > to valid shell script is left as an exercise for the reader :) > > bs=50k count=(n*20) skip=(n*20 - 1) > > Probably nicer to use powers of 2 > > bs=64k count=(n*16) skip=(n*16 - 1) Thanks for the pointer. I was so concentrated on finding the answer within dd that I hadn't thought about that. It's easy to write this in shell code. As a conclusion, I will apply for further IQ reduction, seems that I have enough spare brain power I don't use anyway. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From rfg at tristatelogic.com Mon Mar 4 11:40:16 2013 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Mon, 04 Mar 2013 03:40:15 -0800 Subject: chmod... what am I missing? Message-ID: <6154.1362397215@server1.tristatelogic.com> I must not be attending the Right conferences, or else the Right parties, because I don't get the joke. Could somebody please explain to me the meaning of the BUGS section of the chmod(1) man page, as distributed with 9.1-RELEASE? From freebsd at edvax.de Mon Mar 4 11:56:30 2013 From: freebsd at edvax.de (Polytropon) Date: Mon, 4 Mar 2013 12:56:34 +0100 Subject: backups using rsync In-Reply-To: <6126.1362396930@server1.tristatelogic.com> References: <6126.1362396930@server1.tristatelogic.com> Message-ID: <20130304125634.8450cfaf.freebsd@edvax.de> On Mon, 04 Mar 2013 03:35:30 -0800, Ronald F. Guilmette wrote: > Now, unfortunately, I have just been bitten by the evil... and apparently > widely known (except to me)... ``You can't use dump(8) to dump a journaled > filesystem with soft updates'' bug-a-boo. There are other tools you can use, for example tar or cpdup or rsync, as you've mentioned in the subject. > I _had_ planned on using dump/restore and making backups from live mounted > filesystems while the system was running. But I really don't want to have > to take the system down to single-user mode every week for a few hours while > I'm making my disk-to-disk backup. So now I'm looking at doing the backups > using rsync. The same problems that apply when dumping live systems can bite you using rsync, but support for this "on file system level" seems to be better in rsync than what dump does "on block level". > If I use all of the following rsync options... -a,-H,-A, -X, and -S .... > when trying to make my backups, and if I do whatever additional fiddling > is necessary to insure that I separately copy over the MBR and boot loader > also to my backup drive, then is there any reason that, in the event of > a sudden meteor shower that takes out my primary disk drive while leaving > my backup drive intact, I can't just unplug my old primary drive, plug in > my (rsync-created) backup drive, reboot and be back in the sadddle again, > almost immediately, and with -zero- problems? You would have to make sure _many_ things are consistent on the backup disk. Regarding terminology, that would make the disk a failover disk, even if the act of making it the actual "work disk" is something you do manually. The disk would need to have an initialized file system and a working boot mechanism, both things rsync does not deal with, if I remember correctly. But as soon as you have initialized the disk for the first time and made sure (by testing your first result of a rsync run), it should work with any subsequent change of data you transfer to that disk. > P.P.S. Before anyone asks, no I really _do not_ want to just use RAID > as my one and only backup strategy. RAID _is_ **NO** backup. It's for dedundancy and performance. If something is erased or corrupted, it's on all disks. And all the disks permanently run. A backup disk only runs twice: when backing something up, or when restoring. In your case, restoring means that the disk is put into operation in its role as a failover disk. > RAID is swell if your only problem > is hardware failures. Still hardware failures can corrupt data on all participating disks. > As far as I know however it will not save your > bacon in the event of a fumble fingers "rm -rf *" moment. Only frequent > and routine actual backups can do that. Correct. It's important to learn that lesson _before_ it is actually needed. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From Trond.Endrestol at fagskolen.gjovik.no Mon Mar 4 11:56:49 2013 From: Trond.Endrestol at fagskolen.gjovik.no (=?ISO-8859-1?Q?Trond_Endrest=F8l?=) Date: Mon, 4 Mar 2013 12:56:44 +0100 (CET) Subject: p5-Bit-Vector SHA256 Checksum mismatch (was PERL problem installing SQLgrey) In-Reply-To: <2594141.AlMBf4Kn0Z@wolfgang> References: <51253e9d.901a.28c09d00.5088e293@go2france.com> <2594141.AlMBf4Kn0Z@wolfgang> Message-ID: On Fri, 1 Mar 2013 14:06+0100, Wolfgang Riegler wrote: > SQLgrey is the only one failing because of the dependency for > p5-Bit-Vector. I tried it several times. Even downloading manually > to /usr/ports/distfiles doesn't work. I test the sha256 checksum > manually, and it is correct. I came across the same problem using portupgrade the other day, this was actually a few weeks ago. My solution was to delete Bit-Vector-* from /usr/ports/distfiles and retry the portupgrade operation. The Bit-Vector-7.2.tar.gz file on my system is dated 2012-05-17T13:32:09+0000, has a size of 135586 bytes, and produce this SHA256 hash: SHA256 (Bit-Vector-7.2.tar.gz) = d60630f0eb033edabfe904416c6e7324fefff13699e97302361d1bad80f62e0f This seem consistent with the contents of the distinfo file. Make sure Bit-Vector-7.2.tar.gz is the only file in the distfiles directory with filenames beginning with "Bit-Vector-7.2". > Here the log from poudriere: # cat p5-Bit-Vector-7.2_2.log > > build started at Fri Mar 1 12:38:24 CET 2013 > port directory: /usr/ports/math/p5-Bit-Vector > building for: 9.1-RELEASE amd64 > maintained by: tobez at FreeBSD.org > Makefile ident: $FreeBSD: ports/math/p5-Bit-Vector/Makefile,v 1.22 2013/01/22 09:50:13 svnexp Exp $ > ---Begin Environment--- > OSVERSION=901000 > UNAME_v=FreeBSD 9.1-RELEASE > UNAME_r=9.1-RELEASE > BLOCKSIZE=K > MAIL=/var/mail/root > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin > STATUS=1 > PKG_EXT=txz > WITH_CCACHE_BUILD=yes > FORCE_PACKAGE=yes > tpid=15131 > POUDRIERE_BUILD_TYPE=bulk > PKGNG=1 > PKG_DELETE=/usr/local/sbin/pkg delete -y -f > PKG_ADD=/usr/local/sbin/pkg add > CCACHE_DIR=/var/cache/ccache > PWD=/mnt/system/DATEN/poudriere/basefs/data/logs/bulk/91amd64/hostportstree > LOGS=/mnt/system/DATEN/poudriere/basefs/data/logs > HOME=/root > USER=root > SKIPSANITY=0 > LOCALBASE=/usr/local > PACKAGE_BUILDING=yes > ---End Environment--- > > ---Begin OPTIONS List--- > ---End OPTIONS List--- > ================================================= > ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/sbin/pkg - not found > ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg > ===> Installing existing package /usr/ports/packages/All/pkg-1.0.8.txz > Installing pkg-1.0.8... done > If you are upgrading from the old package format, first run: > > # pkg2ng > ===> Returning to build of p5-Bit-Vector-7.2_2 > ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/bin/perl5.14.2 - not found > ===> Verifying install for /usr/local/bin/perl5.14.2 in /usr/ports/lang/perl5.14 > ===> Installing existing package /usr/ports/packages/All/perl-5.14.2_2.txz > Installing perl-5.14.2_2...Removing stale symlinks from /usr/bin... > Skipping /usr/bin/perl > Skipping /usr/bin/perl5 > Done. > Creating various symlinks in /usr/bin... > Symlinking /usr/local/bin/perl5.14.2 to /usr/bin/perl > Symlinking /usr/local/bin/perl5.14.2 to /usr/bin/perl5 > Done. > Cleaning up /etc/make.conf... Done. > Spamming /etc/make.conf... Done. > done > ===> Returning to build of p5-Bit-Vector-7.2_2 > ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/bin/perl5.14.2 - found > ===> p5-Bit-Vector-7.2_2 depends on package: p5-Carp-Clan>=0 - not found > ===> Verifying install for p5-Carp-Clan>=0 in /usr/ports/devel/p5-Carp-Clan > ===> Installing existing package /usr/ports/packages/All/p5-Carp-Clan-6.04.txz > Installing p5-Carp-Clan-6.04... done > ===> Returning to build of p5-Bit-Vector-7.2_2 > ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/bin/perl5.14.2 - found > ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/bin/ccache - not found > ===> Verifying install for /usr/local/bin/ccache in /usr/ports/devel/ccache > ===> Installing existing package /usr/ports/packages/All/ccache-3.1.9.txz > Installing ccache-3.1.9...Create compiler links... > create symlink for cc > create symlink for cc (world) > create symlink for c++ > create symlink for c++ (world) > create symlink for gcc > create symlink for gcc (world) > create symlink for g++ > create symlink for g++ (world) > create symlink for clang > create symlink for clang (world) > create symlink for clang++ > create symlink for clang++ (world) > done > > NOTE: > Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for > information on using ccache with FreeBSD ports and src. > ===> Returning to build of p5-Bit-Vector-7.2_2 > ====================================================================== > ===> Cleaning for p5-Bit-Vector-7.2_2 > ================================================= > ====================================================================== > ================================================= > ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/sbin/pkg - found > ====================================================================== > ================================================= > ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/sbin/pkg - found > => SHA256 Checksum mismatch for Bit-Vector-7.2.tar.gz. > ===> Refetch for 1 more times files: Bit-Vector-7.2.tar.gz > ===> p5-Bit-Vector-7.2_2 depends on file: /usr/local/sbin/pkg - found > => Bit-Vector-7.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. > => Attempting to fetch ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Unknown FTP error > => Attempting to fetch http://www.cpan.dk/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: http://www.cpan.dk/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable > => Attempting to fetch ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: Bit-Vector-7.2.tar.gz: local file (137817 bytes) is longer than remote file (135586 bytes) > => Attempting to fetch http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable > => Attempting to fetch ftp://ftp.dti.ad.jp/pub/lang/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: Bit-Vector-7.2.tar.gz: local file (137817 bytes) is longer than remote file (135586 bytes) > => Attempting to fetch ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Unknown FTP error > => Attempting to fetch ftp://mirror.hiwaay.net/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: Bit-Vector-7.2.tar.gz: local file (137817 bytes) is longer than remote file (135586 bytes) > => Attempting to fetch ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: Bit-Vector-7.2.tar.gz: local file (137817 bytes) is longer than remote file (135586 bytes) > => Attempting to fetch http://at.cpan.org/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: http://at.cpan.org/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable > => Attempting to fetch ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: Bit-Vector-7.2.tar.gz: local file (137817 bytes) is longer than remote file (135586 bytes) > => Attempting to fetch http://backpan.perl.org/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: http://backpan.perl.org/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Not Found > => Attempting to fetch ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Unknown FTP error > => Attempting to fetch http://cpan.nctu.edu.tw/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: http://cpan.nctu.edu.tw/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable > => Attempting to fetch http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable > => Attempting to fetch ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Unknown FTP error > => Attempting to fetch http://www.cpan.dk/modules/by-module/Bit/Bit-Vector-7.2.tar.gz > fetch: http://www.cpan.dk/modules/by-module/Bit/Bit-Vector-7.2.tar.gz: Requested Range Not Satisfiable > => Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/Bit-Vector-7.2.tar.gz > fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/Bit-Vector-7.2.tar.gz: size mismatch: expected 135586, actual 137817 > => Couldn't fetch it - please try to retrieve this > => port manually into /usr/ports/distfiles/ and try again. > *** [do-fetch] Error code 1 > > Stop in /usr/ports/math/p5-Bit-Vector. > *** [checksum] Error code 1 > > Stop in /usr/ports/math/p5-Bit-Vector. > ===> Cleaning for p5-Bit-Vector-7.2_2 > build of /usr/ports/math/p5-Bit-Vector ended at Fri Mar 1 12:39:17 CET 2013 -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrest?l, | Trond Endrest?l, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From b.smeelen at ose.nl Mon Mar 4 11:57:13 2013 From: b.smeelen at ose.nl (Bas Smeelen) Date: Mon, 04 Mar 2013 12:46:44 +0100 Subject: chmod... what am I missing? In-Reply-To: <6154.1362397215@server1.tristatelogic.com> References: <6154.1362397215@server1.tristatelogic.com> Message-ID: <513489A4.8080902@ose.nl> On 03/04/2013 12:40 PM, Ronald F. Guilmette wrote: > I must not be attending the Right conferences, or else the Right parties, > because I don't get the joke. > > Could somebody please explain to me the meaning of the BUGS section of the > chmod(1) man page, as distributed with 9.1-RELEASE? http://www.mail-archive.com/svn-src-all at freebsd.org/msg04124.html From jhs at berklix.com Mon Mar 4 12:21:57 2013 From: jhs at berklix.com (Julian H. Stacey) Date: Mon, 04 Mar 2013 13:21:23 +0100 Subject: Grepping though a disk In-Reply-To: Your message "Mon, 04 Mar 2013 01:36:08 +0100." <20130304013608.7981e8a9.freebsd@edvax.de> Message-ID: <201303041221.r24CLNwT011267@fire.js.berklix.net> Hi Polytropon & cc questions@ > Any suggestion is welcome! Ideas: A themed list: freebsd-fs at freebsd.org There's a bunch of fs tools in /usr/ports/sysutils/ My http://www.berklix.com/~jhs/src/bsd/jhs/bin/public/slice/ slices large images such as tapes & disks (also the slice names would give numbers convertable to offsets probaably useful to eg ..a) man fsdb A bit of custom C should run a lot faster than shells & greps, eg when I was looking for nasty files from a bad scsi controller, I wrote http://www.berklix.com/~jhs/src/bsd/jhs/bin/public/8f/ One could run eg slice asynchronously & suspend ^Z when you run out of space, & periodicaly run some custom C (like 8f.c) or some find grep -v rm loop to discard most slices as of no interest. Then resume slicing. OK, thats doing writes too, so slower than just read & a later dd with seek=whatever, depends how conservative one's feeling, about doing reruns with other search criteria. You mentioned risk of text string chopped across a slice/block boundary. Certainly a risk. Presumably solution is to search twice. 2nd time after a dd with a half block/ slice size offset, then slice/search again. If you runout of space to do that, you might write a temporary disklabel/bsdlabel with an extra partition with a half block offset .. dodgy stuff that, do it while you'r wide awake :-) Always a pain these scenarios, loosing hours of human & CPU time, I hope data's worth it, good luck. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. No quoted-printable, HTML, base64, multipart/alternative. From jcigar at ulb.ac.be Mon Mar 4 12:50:28 2013 From: jcigar at ulb.ac.be (Julien Cigar) Date: Mon, 04 Mar 2013 13:50:19 +0100 Subject: Soekris or .. ? In-Reply-To: References: <513087A1.3020308@ulb.ac.be> Message-ID: <5134988B.3040704@ulb.ac.be> On 03/01/2013 14:24, C. P. Ghost wrote: > On Fri, Mar 1, 2013 at 11:49 AM, Julien Cigar 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. > Thanks for all your answers ..! it's to replace our old linux router, so I think I'll go with a Soekris box..! -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. From cpghost at cordula.ws Mon Mar 4 13:18:18 2013 From: cpghost at cordula.ws (C. P. Ghost) Date: Mon, 4 Mar 2013 14:18:09 +0100 Subject: Grepping though a disk In-Reply-To: <20130304013608.7981e8a9.freebsd@edvax.de> References: <20130304013608.7981e8a9.freebsd@edvax.de> Message-ID: On Mon, Mar 4, 2013 at 1:36 AM, Polytropon wrote: > Any suggestion is welcome! How about crawling the metadata, locating each block that is already allocated, and skip those blocks when you scan the disk? That could reduce the searching space significantly. blkls(1) et al. from the Sleuth Kit are your friends. Good luck, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From kris.universe at gmail.com Mon Mar 4 13:28:13 2013 From: kris.universe at gmail.com (KrisUniverse) Date: Mon, 4 Mar 2013 07:28:09 -0600 Subject: Zlib version in FreeBSD - 3 releases behind? Message-ID: The Zlib baked into FreeBSD is Zlib 1.2.4 even on 9.1R. However, Zlib has gone to 1.2.7 sometime ago after stepping through 1.2.5, 1.2.6 and 1.2.7 with bug fixes. Is there any reason for not using Zlib 1.2.7? Thanks. Kris From wblock at wonkity.com Mon Mar 4 13:41:35 2013 From: wblock at wonkity.com (Warren Block) Date: Mon, 4 Mar 2013 06:41:30 -0700 (MST) Subject: Grepping though a disk In-Reply-To: <20130304121524.63685108.freebsd@edvax.de> References: <20130304013608.7981e8a9.freebsd@edvax.de> <51347454.5060605@gmail.com> <20130304121524.63685108.freebsd@edvax.de> Message-ID: On Mon, 4 Mar 2013, Polytropon wrote: > The file size of the file I'm searching for is less than 10 kB. > It's a relatively small text file which got some subsequent > additions in the last days, but hasn't been part of the backup > job yet. There have been some good suggestions. I would use a large buffer with dd, say 1M or more, both for speed and to reduce the chance of hitting only part of the search string. For the future, look at sysutils/rsnapshot. Easy to set up, space-efficient, and provides an easily-accessed file history. From wblock at wonkity.com Mon Mar 4 14:00:35 2013 From: wblock at wonkity.com (Warren Block) Date: Mon, 4 Mar 2013 07:00:29 -0700 (MST) Subject: backups using rsync In-Reply-To: <6126.1362396930@server1.tristatelogic.com> References: <6126.1362396930@server1.tristatelogic.com> Message-ID: On Mon, 4 Mar 2013, Ronald F. Guilmette wrote: > Now, unfortunately, I have just been bitten by the evil... and apparently > widely known (except to me)... ``You can't use dump(8) to dump a journaled > filesystem with soft updates'' bug-a-boo. Until SUJ has been deemed 100%, I avoid it and suggest others do also. It can be disabled on an existing filesystem from single user mode. > If I use all of the following rsync options... -a,-H,-A, -X, and -S .... > when trying to make my backups, and if I do whatever additional fiddling > is necessary to insure that I separately copy over the MBR and boot loader > also to my backup drive, then is there any reason that, in the event of > a sudden meteor shower that takes out my primary disk drive while leaving > my backup drive intact, I can't just unplug my old primary drive, plug in > my (rsync-created) backup drive, reboot and be back in the sadddle again, > almost immediately, and with -zero- problems? It works. I use this to "slow mirror" SSDs to a hard disk, avoiding the speed penalty of combining an SSD with a hard disk in RAID1. Use the latest net/rsync port, and enable the FLAGS option. I use these options, copying each filesystem individually: -axHAXS --delete --fileflags --force-change --delete removes files present on the copy that are not on the original. Some people may want to leave those. --exclude= is used on certain filesystems to skip directories that are full of easily recreated data that changes often, like /usr/obj. Yes, the partitions and bootcode must be set up beforehand. After that, it works. Like any disk redundancy scheme, test it before an emergency. > P.P.S. Before anyone asks, no I really _do not_ want to just use RAID > as my one and only backup strategy. RAID is swell if your only problem > is hardware failures. As far as I know however it will not save your > bacon in the event of a fumble fingers "rm -rf *" moment. Only frequent > and routine actual backups can do that. Yes, RAID is not a backup. Another suggestion I've been making often: use sysutils/rsnapshot to make an accessible history of files. The archive go on another partition on the mirror drive, which likely has more space than the original. rsnapshot uses rsync with hard links to make an archive that lets you easily get to old versions of files that have changed in the last few hours/days/weeks/months. From jerrymc at msu.edu Mon Mar 4 15:27:49 2013 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon, 4 Mar 2013 10:14:10 -0500 Subject: Confused by restore(8) man page example Message-ID: <20130304151410.GB76266@jerrymc.net> Subject: Re: Confused by restore(8) man page example On Mon, Mar 04, 2013 at 10:08:37AM +0000, Steve O'Hara-Smith wrote: > On Mon, 04 Mar 2013 01:47:24 -0800 > "Ronald F. Guilmette" wrote: > > > > > In the man page for restore(8) I see the following: > > > > The -r flag ... can be detrimental to one's health if > > not used carefully (not to mention the disk). An example: > > > > newfs /dev/da0s1a > > mount /dev/da0s1a /mnt > > cd /mnt > > > > restore rf /dev/sa0 > > > > Personally, I utterly fail to see what point the author is attempting > > to illustrate with the above example. I mean what part of this, exactly, > > may be "detrimental to one's health" ? It's an enigma to me. > > There's nothing wrong with the example. I think "An example:" > should be in a new paragraph to make it clear that it is not related to > the warning. The detrimental effects cut in when you use -r on a filesystem > that is not pristine, or at least in the expected state for restoring an > incremental dump. This and the previous reply are correct. This example shows a correct way to use 'restore -r' The '-r' flag causes it to write where you are cd-ed to without any warning what you are doing or overwriting. If there are other files in the directory that is to receive the files from a 'restore -r' has other files, you may unexpectedly overwrite some of them. Also, if you are not cd-ed in to the correct place (the mount point, for example) using the '-r' will quickly write all over whatever directory you are cd-ed to without warning. In other words '-r' causes it to splat out everything right where you are without warning and too fast to interrupt it before too much damage is done. I often do a 'restore -r' into an existing -eg not newly newfs-ed, directory, but have to make sure I am clear about what I am doing. For example, I usually keep a large (large for my little stuff) drive mounted as '/work'. Within that filesystem I may create a directory such as './unroll' eg '/work/unroll' or some other similar name and mass restore a dump in to it using 'restore -r' so I can easily shuffle files around from the backup in to several new directories. If there are a bunch of destination directories, it is easier this way than doing a 'restore -i'. But, as said, I have to be careful just how I am using it. It works well. Have fun, ////jerry > > -- > Steve O'Hara-Smith > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From rfg at tristatelogic.com Mon Mar 4 19:53:32 2013 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Mon, 04 Mar 2013 11:53:31 -0800 Subject: Confused by restore(8) man page example In-Reply-To: <63618304-837E-4B76-8157-D99C744AC72F@wolfhut.org> Message-ID: <8876.1362426811@server1.tristatelogic.com> In message <63618304-837E-4B76-8157-D99C744AC72F at wolfhut.org>, Ben Cottrell wrote: >I guess the same text in the man page could be read several >different ways! The way I read it (which may or may not be >correct) is that the example given is an example of how to >use it *correctly*. It sounds to me like it's warning against >deviating too far from the steps given in the example. > >I can see as how the text might allow other interpretations, >though! Thanks for the response Ben. As others have pointed out, it would probably be less confusing if the material starting with "An example:" were in a different paragraph. As the text stands now, first we have a sentence that gives a frightening warning about possible mangling of a disk/partition if restore -r is not used correctly, and then immediately following that is "An example:" with an example of _correct_ usage. I hope and trust that folks can understand my earlier befuddlement. Anyway, I have just now filed a PR suggesting a new paragraph at the appropriate point in the man page. Thanks to all who responded. Regards, rfg From rfg at tristatelogic.com Mon Mar 4 20:19:10 2013 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Mon, 04 Mar 2013 12:19:09 -0800 Subject: backups using rsync In-Reply-To: <20130304125634.8450cfaf.freebsd@edvax.de> Message-ID: <10012.1362428349@server1.tristatelogic.com> In message <20130304125634.8450cfaf.freebsd at edvax.de>, Polytropon wrote: >On Mon, 04 Mar 2013 03:35:30 -0800, Ronald F. Guilmette wrote: >> Now, unfortunately, I have just been bitten by the evil... and apparently >> widely known (except to me)... ``You can't use dump(8) to dump a journaled >> filesystem with soft updates'' bug-a-boo. > >There are other tools you can use, for example tar or cpdup >or rsync, as you've mentioned in the subject. tar I already knew about, but I think you will agree that it has lots of limitations that make it entirely inappropriate for mirroring an entire system. This cpdup thing is entirely new to me. Thanks for mentioning it! I really never heard of it before, but I just now installed it from ports, and I'm perusing the man page. It looks very promising. Too bad it doesn't properly handle sparse files, but oh well. That's just a very minor nit. (Does it properly handle everything else that rsync claims to be able to properly handle, e.g. ACLs, file attributes, etc., etc.?) >The same problems that apply when dumping live systems can >bite you using rsync, What problems are we talking about, in particular? I am guessing that if I use rsync, then I *won't* encounter this rather annoying issue/problem relating to UFS filesystems that have both soft updates and journaling enabled, correct? >but support for this "on file system >level" seems to be better in rsync than what dump does "on >block level". What exactly did you mean by "this" ? >> If I use all of the following rsync options... -a,-H,-A, -X, and -S .... >> when trying to make my backups, and if I do whatever additional fiddling >> is necessary to insure that I separately copy over the MBR and boot loader >> also to my backup drive, then is there any reason that, in the event of >> a sudden meteor shower that takes out my primary disk drive while leaving >> my backup drive intact, I can't just unplug my old primary drive, plug in >> my (rsync-created) backup drive, reboot and be back in the sadddle again, >> almost immediately, and with -zero- problems? > >You would have to make sure _many_ things are consistent >on the backup disk. Well, this is what I am getting at. This is/was the whole point of my post and my question. I want to know: What is that set of things, exactly? >Regarding terminology, that would make the disk a failover disk OK. Thank you. I will henceforth use that terminology. >The disk would need to have an initialized file system and >a working boot mechanism, both things rsync does not deal with Check and check. I implicitly understood the former, and I explicitly mentioned the latter in my original post in this thread. But is there anything else, other than those two things (which, just as you say, are both clearly outside of the scope of what rsync does)? Anything else I need to do or worry about in order to be able to use rsync to create & maintain a full-blown fully-working system failover drive? If so, I'd much rather learn about it now... you know... as opposed to learning about it if and when I actually have to _use_ my failover drive. Regards, rfg From rfg at tristatelogic.com Mon Mar 4 20:38:08 2013 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Mon, 04 Mar 2013 12:38:07 -0800 Subject: backups using rsync In-Reply-To: Message-ID: <10173.1362429487@server1.tristatelogic.com> In message , Warren Block wrote: >Until SUJ has been deemed 100%, I avoid it and suggest others do also. >It can be disabled on an existing filesystem from single user mode. hehe Silly me! What do *I* know? I just go about my business and try not to create too much trouble for myself. To be honest and truthful I have to say that this journaling stuff entirely snuck up on me. I confess... I wasn't paying attention (to the world of FreeBSD innovations) and thus, when I moved myself recently to 9.x (from 8.3) I did so without even having been aware that the new filesystems that I was creating during my clean/fresh install of 9.1 had journaling turned on by default. (As the saying goes, I didn't get the memo.) Not that I mind, really. It sounds like a great concept and a great feature and I was happy to have it right up until the moment that "dump -L" told me to go pound sand. :-( So, um, I was reading about this last night, but I was sleepy and my eyes glazed over... Please remind me, what is the exact procedire for turning off the journaling? I boot to single user mode (from a live cd?) and then what? Is it tunefs with some special option? >> If I use all of the following rsync options... -a,-H,-A, -X, and -S .... >> when trying to make my backups, and if I do whatever additional fiddling >> is necessary to insure that I separately copy over the MBR and boot loader >> also to my backup drive, then is there any reason that, in the event of >> a sudden meteor shower that takes out my primary disk drive while leaving >> my backup drive intact, I can't just unplug my old primary drive, plug in >> my (rsync-created) backup drive, reboot and be back in the sadddle again, >> almost immediately, and with -zero- problems? > >It works. I use this to "slow mirror" SSDs to a hard disk, avoiding the >speed penalty of combining an SSD with a hard disk in RAID1. Great! Thanks Warren. >Use the latest net/rsync port, and enable the FLAGS option. I use these >options, copying each filesystem individually: > >-axHAXS --delete --fileflags --force-change Hummm... I guess that I have some non-current rsync installed. In the man page I have there is no mention of any "--force-change" option. What does it do? >Yes, the partitions and bootcode must be set up beforehand. After that, >it works. Good to know. Thanks again Warren. >Like any disk redundancy scheme, test it before an emergency. Naw. I like to live dangerously. :-) Regards, rfg From rfg at tristatelogic.com Mon Mar 4 21:12:56 2013 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Mon, 04 Mar 2013 13:12:41 -0800 Subject: Confused by restore(8) man page example Message-ID: <10423.1362431561@server1.tristatelogic.com> In message <20130304151707.GC76266 at jerrymc.net>, Jerry McAllister wrote: >This and the previous reply are correct. This example shows >a correct way to use 'restore -r' > >The '-r' flag causes it to write where you are cd-ed to without any >warning what you are doing or overwriting. If there are other files >in the directory that is to receive the files from a 'restore -r' has >other files, you may unexpectedly overwrite some of them. I'm thinking: If it is worth putting a warning into the man page, perhaps it is worth putting a warning into the code itself, to protect the unwary. Anybody here ever used Clonezilla? A nice useful tool. When Clonezilla runs, and when it is just about to overwrite a target drive, it first asks you explicitly "Do you really want to proceed (Y/n)?" After you respond "Y" it asks you again, one more time, the same question. I for one have never felt put upon by these safety catches. I know they are there for my own protection. Maybe restore should have something similar, along with some special option to disable the extra security check, you know, for use in non-interactive batch scripts. >Also, if >you are not cd-ed in to the correct place (the mount point, for example) >using the '-r' will quickly write all over whatever directory you >are cd-ed to without warning. In other words '-r' causes it to >splat out everything right where you are without warning and too fast >to interrupt it before too much damage is done. I understand. This is quite obviously different than "rm -fr *", but I can see how it could be equally disasterous. Regards, rfg From cyberleo at cyberleo.net Mon Mar 4 21:37:22 2013 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Mon, 04 Mar 2013 15:37:20 -0600 Subject: backups using rsync In-Reply-To: <6126.1362396930@server1.tristatelogic.com> References: <6126.1362396930@server1.tristatelogic.com> Message-ID: <51351410.4060600@cyberleo.net> On 03/04/2013 05:35 AM, Ronald F. Guilmette wrote: > As a result of this past Black Friday weekend, I now enjoy a true abundance > of disk space, for the first time in my life. > > I wanna make a full backup, on a weekly basis, of my main system's shiny > new 1TB drive onto another 1TB drive that I also picked up cheap back on > Black Friday. > > I've been planning to set this up for some long time now, but I've only > gotten 'round to working on it now. > > Now, unfortunately, I have just been bitten by the evil... and apparently > widely known (except to me)... ``You can't use dump(8) to dump a journaled > filesystem with soft updates'' bug-a-boo. You can use dump(8) to dump a SU-journaled filesystem; you just cannot create a snapshot. This implies that dump(8) will be run against the live and possibly changing filesystem, which can lead to issues with the consistency of the contents of files thus dumped; but not necessarily with the consistency of the dump itself. Any tool that backs up a live filesystem, such as rsync or tar, will have these issues. > Sigh. The best laid plans of mice and men... > > I _had_ planned on using dump/restore and making backups from live mounted > filesystems while the system was running. But I really don't want to have > to take the system down to single-user mode every week for a few hours while > I'm making my disk-to-disk backup. So now I'm looking at doing the backups > using rsync. I've used rsync to back up Linux and FreeBSD machines daily for years, and I've never had a problem with the backups nor subsequent restorations. Especially for restorations of the laptop that ate SSDs. Having a decent snapshot capability on the backup target filesystem can help a lot if you want to maintain multiple sparse backup revisions; otherwise, you're stuck using creative scripting around rsync's --link-dest option. > I see that rsync can nowadays properly cope with all sorts of oddities, > like fer instance device files, hard-linked files, ACLs, file attributes, > and all sorts of other unusual but important filesystem thingies. That's > good news, but I still have to ask the obvious question: > > If I use all of the following rsync options... -a,-H,-A, -X, and -S .... > when trying to make my backups, and if I do whatever additional fiddling > is necessary to insure that I separately copy over the MBR and boot loader > also to my backup drive, then is there any reason that, in the event of > a sudden meteor shower that takes out my primary disk drive while leaving > my backup drive intact, I can't just unplug my old primary drive, plug in > my (rsync-created) backup drive, reboot and be back in the sadddle again, > almost immediately, and with -zero- problems? There will /always/ be problems. The best you can do is become familiar with the tools and procedures so you can tackle them when they happen. My suggestion for something that you can use as a warm standby is to create it as a warm standby: go through the entire installation procedure again for the backup drive, and then use rsync or suchlike to periodically synchronize the second filesystem with the first. When you update the boot code on one, do so on the other. Be extremely careful if you decide to do this with both disks attached to the same machine: if you use geom labels (gpt, ufs, glabel, et alia) or dynamically numbered storage devices, you can easily run into a situation where a reboot with both devices attached suddenly starts using your backup instead without you realizing it, or flips back and forth. > P.S. My apologies if I've already asked this exact same question here > before. I'm getting a sense of deja vu... or else a feeling that I am > often running around in circles, chasing my own tail. > > P.P.S. Before anyone asks, no I really _do not_ want to just use RAID > as my one and only backup strategy. RAID is swell if your only problem > is hardware failures. As far as I know however it will not save your > bacon in the event of a fumble fingers "rm -rf *" moment. Only frequent > and routine actual backups can do that. -- Fuzzy love, -CyberLeo Furry Peace! - http://www.fur.com/peace/ From lkchen at ksu.edu Mon Mar 4 23:01:50 2013 From: lkchen at ksu.edu (Lawrence K. Chen, P.Eng.) Date: Mon, 4 Mar 2013 18:01:48 -0500 (EST) Subject: backups using rsync In-Reply-To: <20130304125634.8450cfaf.freebsd@edvax.de> Message-ID: <1136349782.22539950.1362438108974.JavaMail.root@k-state.edu> ----- Original Message ----- > On Mon, 04 Mar 2013 03:35:30 -0800, Ronald F. Guilmette wrote: > > Now, unfortunately, I have just been bitten by the evil... and > > apparently > > widely known (except to me)... ``You can't use dump(8) to dump a > > journaled > > filesystem with soft updates'' bug-a-boo. > > There are other tools you can use, for example tar or cpdup > or rsync, as you've mentioned in the subject. > > Or if you want to be ambitious you could install something like 'sysutils/backuppc' (where one of its methods is rsync, its what I use for all the systems I back up with it. - Windows, Linux, Mac OSX.) And, then could get more than just the weekly rsync to it....though it could probably be made to only do fulls every week. But, you could potentially then restore from an older full. I do system fulls of my other systems to it...can't do a baremetal restore, but it can get me back up and running faster. IE: I recently had harddrive failures in a couple of FreeBSD systems. I did a fresh install and at first I restored /home and /usr/local (and some other dirs, like /var/db/pkg & /var/db/ports)...and then other dirs and files as I found things missing. Had to rebuild a handful of ports after that and then things were good. The second system didn't go as well, because it had been silently corrupting things for a long time before....but I still did the same kind of restore at first, but ended up rebuilding all the ports to get things good again. Not sure if losing the system disk, if I could recover from a local backuppc... but I have my old backuppc system, getting most of my current system (mainly omit the backuppc pool, think my backup storage requirements would grow exponentially if I didn't....my main backuppc pool is currently 6300G out of 7300G zpool.) But, I've suffered bit rot on the old backuppc pool in the past..when it was a RAID 1+0 array....probably worse now that its a 2.7TB volume without raid (the only volume on that system that isn't mirrored.) Though wonder if I want to try zfs on linux again, or replace it with FreeBSD. I was faced with something like this on my Windows box....where eventually, I ended up writing off restoring from the local backup (a commercial time machine like product)...the mistake was using a windows fake raid5 external array as my backup drive. And, losing the system due to problems in the fake raid. I did briefly put together a CentOS live CD that could access the array, but the drives I copied the data to promptly failed on me shortly after I had broken the array and turned them into a raidz pool. Someday I need to get back to going through the disk image of the failed system drive and recover as much as possible from that. The box that was my Windows desktop is now my FreeBSD desktop.... Lawrence From wblock at wonkity.com Tue Mar 5 01:29:04 2013 From: wblock at wonkity.com (Warren Block) Date: Mon, 4 Mar 2013 18:28:59 -0700 (MST) Subject: backups using rsync In-Reply-To: <10173.1362429487@server1.tristatelogic.com> References: <10173.1362429487@server1.tristatelogic.com> Message-ID: On Mon, 4 Mar 2013, Ronald F. Guilmette wrote: > So, um, I was reading about this last night, but I was sleepy and my eyes > glazed over... Please remind me, what is the exact procedire for turning > off the journaling? I boot to single user mode (from a live cd?) and > then what? Is it tunefs with some special option? Just boot in single user mode so all the filesystems are unmounted or mounted readonly. Then use 'tunefs -j disable /dev/...'. It will also mention the name of the journal file, which can be deleted. >> Use the latest net/rsync port, and enable the FLAGS option. I use these >> options, copying each filesystem individually: >> >> -axHAXS --delete --fileflags --force-change > > Hummm... I guess that I have some non-current rsync installed. In the man > page I have there is no mention of any "--force-change" option. What does > it do? "affect user/system immutable files/dirs". Probably only included in the man page when the port is built with the FLAGS option set. An additional note: the script that runs my rsync backup also modifies the mirrored /etc/fstab to use the appropriate labels for the backup filesystems. From guru at unixarea.de Tue Mar 5 05:50:06 2013 From: guru at unixarea.de (Matthias Apitz) Date: Tue, 5 Mar 2013 06:49:56 +0100 Subject: Confused by restore(8) man page example In-Reply-To: <10423.1362431561@server1.tristatelogic.com> References: <10423.1362431561@server1.tristatelogic.com> Message-ID: <20130305054956.GA2339@tinyCurrent> El d?a Monday, March 04, 2013 a las 01:12:41PM -0800, Ronald F. Guilmette escribi?: > I'm thinking: If it is worth putting a warning into the man page, > perhaps it is worth putting a warning into the code itself, to > protect the unwary. > > Anybody here ever used Clonezilla? A nice useful tool. > > When Clonezilla runs, and when it is just about to overwrite a target > drive, it first asks you explicitly "Do you really want to proceed (Y/n)?" > > After you respond "Y" it asks you again, one more time, the same question. > > I for one have never felt put upon by these safety catches. I know they > are there for my own protection. ... In the old days of UNIX V7 when newfs(8) was still mkfs(8), there was also a last and final question "Last chance before scribbling on disk." to answer. And even after you hit ENTER to confirm, there was an internal wait of some 5 secs to let you interrupt with Ctrl-C in case of error. Just remembering those days :-) matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru at unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From jnagyjr1978 at gmail.com Tue Mar 5 08:10:56 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Tue, 05 Mar 2013 02:10:51 -0600 Subject: Problems Printing Message-ID: <5135A88B.1000100@gmail.com> Cups is setup so I should be able to print: http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png My pdf reader sees the printer: http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png yet it won't print and delivers this dialog: http://www.joseph-a-nagy-jr.us/images/problems/print-error.png any ideas on how to correct this? -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From leslie at eskk.nu Tue Mar 5 09:44:29 2013 From: leslie at eskk.nu (Leslie Jensen) Date: Tue, 05 Mar 2013 10:44:13 +0100 Subject: SV: Problems Printing Message-ID: I've had problems when I haven't set the printer to server default. I use xpdf and print with the printer choice lp Skickat fr?n min Samsung Mobil -------- Originalmeddelande -------- Fr?n: "Joseph A. Nagy, Jr" Datum: Till: "Questions @ FreeBSD" Rubrik: Problems Printing Cups is setup so I should be able to print: http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png My pdf reader sees the printer: http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png yet it won't print and delivers this dialog: http://www.joseph-a-nagy-jr.us/images/problems/print-error.png any ideas on how to correct this? -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt _______________________________________________ freebsd-questions at freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From guru at unixarea.de Tue Mar 5 09:57:35 2013 From: guru at unixarea.de (Matthias Apitz) Date: Tue, 5 Mar 2013 10:57:30 +0100 Subject: Problems Printing In-Reply-To: <5135A88B.1000100@gmail.com> References: <5135A88B.1000100@gmail.com> Message-ID: <20130305095729.GA1123@tiny.Sisis.de> El d?a Tuesday, March 05, 2013 a las 02:10:51AM -0600, Joseph A. Nagy, Jr escribi?: > Cups is setup so I should be able to print: > http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png > > My pdf reader sees the printer: > http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png > > yet it won't print and delivers this dialog: > http://www.joseph-a-nagy-jr.us/images/problems/print-error.png > > any ideas on how to correct this? Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in /usr/local/bin/lpr in your PATH; just do as root: # chmod 0000 /usr/bin/lpr matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru at unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From jnagyjr1978 at gmail.com Tue Mar 5 10:20:44 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Tue, 05 Mar 2013 04:20:37 -0600 Subject: SV: Problems Printing In-Reply-To: References: Message-ID: <5135C6F5.6040002@gmail.com> On 03/05/13 03:44, Leslie Jensen wrote: > I've had problems when I haven't set the printer to server default. I > use xpdf and print with the printer choice lp The printer is set as the default printer, I cannot print from any application, but acroread9 is the only one to pop up an error message. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From guru at unixarea.de Tue Mar 5 10:29:57 2013 From: guru at unixarea.de (Matthias Apitz) Date: Tue, 5 Mar 2013 11:29:51 +0100 Subject: Problems Printing In-Reply-To: <5135C776.9000603@gmail.com> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> Message-ID: <20130305102951.GA1325@tiny.Sisis.de> El d?a Tuesday, March 05, 2013 a las 04:22:46AM -0600, Joseph A. Nagy, Jr escribi?: > The lpr error message is now gone, but no printing activity is going on. ): Try first printing a simple text file or even stdin from the cmd line, like: $ date | lpr -Pfoo if this works, check the CUPS log files what the problem might be when you print from your whatever graphical tool. matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru at unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From jerry at seibercom.net Tue Mar 5 10:46:05 2013 From: jerry at seibercom.net (Jerry) Date: Tue, 5 Mar 2013 05:46:01 -0500 Subject: Problems Printing In-Reply-To: <20130305095729.GA1123@tiny.Sisis.de> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> Message-ID: <20130305054601.52571210@scorpio> On Tue, 5 Mar 2013 10:57:30 +0100 Matthias Apitz articulated: > El d?a Tuesday, March 05, 2013 a las 02:10:51AM -0600, Joseph A. > Nagy, Jr escribi?: > > > Cups is setup so I should be able to print: > > http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png > > > > My pdf reader sees the printer: > > http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png > > > > yet it won't print and delivers this dialog: > > http://www.joseph-a-nagy-jr.us/images/problems/print-error.png > > > > any ideas on how to correct this? > > Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in > /usr/local/bin/lpr in your PATH; just do as root: > > # chmod 0000 /usr/bin/lpr A long time ago, I don't remember by whom or when, I was told to put this in the "/etc/make.conf" file: WITH_CUPS=YES CUPS_OVERWRITE_BASE=YES WITHOUT_LPR=YES Then rebuild the system and re-install CUPS and all would be well. I did it and it worked so I guess it was okay to do. Was that info actually correct or did I just luck out? -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From jnagyjr1978 at gmail.com Tue Mar 5 10:50:27 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Tue, 05 Mar 2013 04:50:21 -0600 Subject: Problems Printing In-Reply-To: <20130305054601.52571210@scorpio> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <20130305054601.52571210@scorpio> Message-ID: <5135CDED.808@gmail.com> On 03/05/13 04:46, Jerry wrote: > On Tue, 5 Mar 2013 10:57:30 +0100 > Matthias Apitz articulated: > >> El d?a Tuesday, March 05, 2013 a las 02:10:51AM -0600, Joseph A. >> Nagy, Jr escribi?: >> >>> Cups is setup so I should be able to print: >>> http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png >>> >>> My pdf reader sees the printer: >>> http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png >>> >>> yet it won't print and delivers this dialog: >>> http://www.joseph-a-nagy-jr.us/images/problems/print-error.png >>> >>> any ideas on how to correct this? >> >> Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in >> /usr/local/bin/lpr in your PATH; just do as root: >> >> # chmod 0000 /usr/bin/lpr > > A long time ago, I don't remember by whom or when, I was told to put > this in the "/etc/make.conf" file: > > WITH_CUPS=YES > CUPS_OVERWRITE_BASE=YES > WITHOUT_LPR=YES > > Then rebuild the system and re-install CUPS and all would be well. I > did it and it worked so I guess it was okay to do. Was that info > actually correct or did I just luck out? > It might be right, but it isn't helping. That's already in my make.conf -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From jnagyjr1978 at gmail.com Tue Mar 5 10:51:26 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Tue, 05 Mar 2013 04:22:46 -0600 Subject: Problems Printing In-Reply-To: <20130305095729.GA1123@tiny.Sisis.de> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> Message-ID: <5135C776.9000603@gmail.com> On 03/05/13 03:57, Matthias Apitz wrote: > El d?a Tuesday, March 05, 2013 a las 02:10:51AM -0600, Joseph A. Nagy, Jr escribi?: > >> Cups is setup so I should be able to print: >> http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png >> >> My pdf reader sees the printer: >> http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png >> >> yet it won't print and delivers this dialog: >> http://www.joseph-a-nagy-jr.us/images/problems/print-error.png >> >> any ideas on how to correct this? > > Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in > /usr/local/bin/lpr in your PATH; just do as root: > > # chmod 0000 /usr/bin/lpr > > matthias > The lpr error message is now gone, but no printing activity is going on. ): -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From guru at unixarea.de Tue Mar 5 11:10:58 2013 From: guru at unixarea.de (Matthias Apitz) Date: Tue, 5 Mar 2013 12:10:52 +0100 Subject: Problems Printing In-Reply-To: <20130305054601.52571210@scorpio> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <20130305054601.52571210@scorpio> Message-ID: <20130305111051.GA1427@tiny.Sisis.de> El d?a Tuesday, March 05, 2013 a las 05:46:01AM -0500, Jerry escribi?: > > Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in > > /usr/local/bin/lpr in your PATH; just do as root: > > > > # chmod 0000 /usr/bin/lpr > > A long time ago, I don't remember by whom or when, I was told to put > this in the "/etc/make.conf" file: > > WITH_CUPS=YES > CUPS_OVERWRITE_BASE=YES > WITHOUT_LPR=YES > > Then rebuild the system and re-install CUPS and all would be well. I > did it and it worked so I guess it was okay to do. Was that info > actually correct or did I just luck out? yes, correct; this will a) not install lpr in the base system, but b) allow later CUPS to do a symlink from /usr/bin/lpr to /usr/local/bin/lpr; I did not want to send the OP to a complete rebuild for such a small issue :-) matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru at unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From jnagyjr1978 at gmail.com Tue Mar 5 11:30:49 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Tue, 05 Mar 2013 05:30:44 -0600 Subject: Problems Printing In-Reply-To: <20130305111051.GA1427@tiny.Sisis.de> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <20130305054601.52571210@scorpio> <20130305111051.GA1427@tiny.Sisis.de> Message-ID: <5135D764.1060303@gmail.com> On 03/05/13 05:10, Matthias Apitz wrote: > El d?a Tuesday, March 05, 2013 a las 05:46:01AM -0500, Jerry escribi?: > >>> Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in >>> /usr/local/bin/lpr in your PATH; just do as root: >>> >>> # chmod 0000 /usr/bin/lpr >> >> A long time ago, I don't remember by whom or when, I was told to put >> this in the "/etc/make.conf" file: >> >> WITH_CUPS=YES >> CUPS_OVERWRITE_BASE=YES >> WITHOUT_LPR=YES >> >> Then rebuild the system and re-install CUPS and all would be well. I >> did it and it worked so I guess it was okay to do. Was that info >> actually correct or did I just luck out? > > yes, correct; this will a) not install lpr in the base system, but b) > allow later CUPS to do a symlink from /usr/bin/lpr to > /usr/local/bin/lpr; > > I did not want to send the OP to a complete rebuild for such a small > issue :-) > > matthias > Not a small issue for me, tbh, and libffi, pcre, and icu I pretty much do the same for. buildworld and installworld, then? -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From guru at unixarea.de Tue Mar 5 11:36:19 2013 From: guru at unixarea.de (Matthias Apitz) Date: Tue, 5 Mar 2013 12:36:15 +0100 Subject: Problems Printing In-Reply-To: <5135D764.1060303@gmail.com> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <20130305054601.52571210@scorpio> <20130305111051.GA1427@tiny.Sisis.de> <5135D764.1060303@gmail.com> Message-ID: <20130305113614.GA1494@tiny.Sisis.de> El d?a Tuesday, March 05, 2013 a las 05:30:44AM -0600, Joseph A. Nagy, Jr escribi?: > >> WITH_CUPS=YES > >> CUPS_OVERWRITE_BASE=YES > >> WITHOUT_LPR=YES > >> > >> Then rebuild the system and re-install CUPS and all would be well. I > >> did it and it worked so I guess it was okay to do. Was that info > >> actually correct or did I just luck out? > > > > yes, correct; this will a) not install lpr in the base system, but b) > > allow later CUPS to do a symlink from /usr/bin/lpr to > > /usr/local/bin/lpr; > > > > I did not want to send the OP to a complete rebuild for such a small > > issue :-) > > > > matthias > > > > Not a small issue for me, tbh, and libffi, pcre, and icu I pretty much > do the same for. buildworld and installworld, then? no; just fix the problem as I said in my first reply; matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru at unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From jmc-freebsd2 at milibyte.co.uk Tue Mar 5 11:43:07 2013 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Tue, 5 Mar 2013 11:39:54 +0000 Subject: Problems Printing In-Reply-To: <20130305095729.GA1123@tiny.Sisis.de> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> Message-ID: <201303051139.54865.jmc-freebsd2@milibyte.co.uk> On Tuesday 05 Mar 2013 09:57:30 Matthias Apitz wrote: > Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in > /usr/local/bin/lpr in your PATH; just do as root: > > # chmod 0000 /usr/bin/lpr And for full CUPS functionality you should do the same for /usr/bin/lp, /usr/bin/lpq and /usr/bin/lprm -- Mike Clarke From jnagyjr1978 at gmail.com Tue Mar 5 11:52:59 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Tue, 05 Mar 2013 05:52:53 -0600 Subject: Problems Printing In-Reply-To: <20130305102951.GA1325@tiny.Sisis.de> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> Message-ID: <5135DC95.4000800@gmail.com> On 03/05/13 04:29, Matthias Apitz wrote: > El d?a Tuesday, March 05, 2013 a las 04:22:46AM -0600, Joseph A. Nagy, Jr escribi?: > >> The lpr error message is now gone, but no printing activity is going on. ): > > Try first printing a simple text file or even stdin from the cmd line, > like: > > $ date | lpr -Pfoo > > if this works, check the CUPS log files what the problem might be when > you print from your whatever graphical tool. > > matthias > # date | lpr -Pfoo lpr: The printer or class does not exist. /var/log/cups/# less error_log X [05/Mar/2013:05:45:41 -0600] kevent() returned Bad file descriptor W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Brother/BR5070DN_GPL.ppd.gz! W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp830c.ppd.gz! W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp850c.ppd.gz! W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp880c.ppd.gz! W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp9100.ppd.gz! W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp920c.ppd.gz! W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp950c.ppd.gz! W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp960s.ppd.gz! W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp980c.ppd.gz! W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/KONICA_MINOLTA/KOC451JX.ppd.gz! E [05/Mar/2013:05:45:57 -0600] [cups-driverd] Bad driver information file "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"! E [05/Mar/2013:05:45:57 -0600] [cups-driverd] Bad driver information file "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/kyocera_ppd_8.2.txt"! not sure why its using Kyocera when I told cups the printer is a Pixma MP210 (using the gutenprint driver). /var/log/cups/# less access_log localhost - root [05/Mar/2013:05:45:48 -0600] "POST /admin/ HTTP/1.1" 200 168 CUPS-Delete-Printer successful-ok (I decided to delete the printer and reinstall it) localhost - - [05/Mar/2013:05:45:55 -0600] "POST / HTTP/1.1" 401 112 CUPS-Get-Devices successful-ok localhost - root [05/Mar/2013:05:45:55 -0600] "POST / HTTP/1.1" 200 1586 CUPS-Get-Devices - localhost - root [05/Mar/2013:05:45:57 -0600] "POST / HTTP/1.1" 200 4558380 CUPS-Get-PPDs - localhost - - [05/Mar/2013:05:47:18 -0600] "POST /admin/ HTTP/1.1" 401 393 CUPS-Add-Modify-Printer successful-ok localhost - root [05/Mar/2013:05:47:18 -0600] "POST /admin/ HTTP/1.1" 200 393 CUPS-Add-Modify-Printer successful-ok localhost - - [05/Mar/2013:05:47:24 -0600] "POST /printers/foo HTTP/1.1" 200 172 Create-Job client-error-not-found localhost - - [05/Mar/2013:05:47:36 -0600] "POST /printers/foo HTTP/1.1" 200 172 Create-Job client-error-not-found Also, to Mike: On 03/05/13 05:39, Mike Clarke wrote:> On Tuesday 05 Mar 2013 09:57:30 Matthias Apitz wrote: > >> Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in >> /usr/local/bin/lpr in your PATH; just do as root: >> >> # chmod 0000 /usr/bin/lpr > > And for full CUPS functionality you should do the same for /usr/bin/lp, > /usr/bin/lpq and /usr/bin/lprm > I did that before deleting and re-adding the printer. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From guru at unixarea.de Tue Mar 5 12:20:05 2013 From: guru at unixarea.de (Matthias Apitz) Date: Tue, 5 Mar 2013 13:19:58 +0100 Subject: Problems Printing In-Reply-To: <5135DC95.4000800@gmail.com> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> Message-ID: <20130305121957.GA1581@tiny.Sisis.de> El d?a Tuesday, March 05, 2013 a las 05:52:53AM -0600, Joseph A. Nagy, Jr escribi?: > On 03/05/13 04:29, Matthias Apitz wrote: > > El d?a Tuesday, March 05, 2013 a las 04:22:46AM -0600, Joseph A. Nagy, Jr escribi?: > > > >> The lpr error message is now gone, but no printing activity is going on. ): > > > > Try first printing a simple text file or even stdin from the cmd line, > > like: > > > > $ date | lpr -Pfoo > > > > if this works, check the CUPS log files what the problem might be when > > you print from your whatever graphical tool. > > > > matthias > > > # date | lpr -Pfoo > lpr: The printer or class does not exist. what is the name of your printer in CUPS? You named it "foo"? Please try it to configure as well as a Generic Postscript printer; matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru at unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From jnagyjr1978 at gmail.com Tue Mar 5 12:38:30 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Tue, 05 Mar 2013 06:38:24 -0600 Subject: Problems Printing In-Reply-To: <20130305121957.GA1581@tiny.Sisis.de> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> Message-ID: <5135E740.1080808@gmail.com> On 03/05/13 06:19, Matthias Apitz wrote: > El d?a Tuesday, March 05, 2013 a las 05:52:53AM -0600, Joseph A. Nagy, Jr escribi?: > >> On 03/05/13 04:29, Matthias Apitz wrote: >>> El d?a Tuesday, March 05, 2013 a las 04:22:46AM -0600, Joseph A. Nagy, Jr escribi?: >>> >>>> The lpr error message is now gone, but no printing activity is going on. ): >>> >>> Try first printing a simple text file or even stdin from the cmd line, >>> like: >>> >>> $ date | lpr -Pfoo >>> >>> if this works, check the CUPS log files what the problem might be when >>> you print from your whatever graphical tool. >>> >>> matthias >>> >> # date | lpr -Pfoo >> lpr: The printer or class does not exist. > > what is the name of your printer in CUPS? You named it "foo"? > Please try it to configure as well as a Generic Postscript printer; > > matthias > Sorry, I haven't had sleep for 24 hours. It's named PIXMA. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From guru at unixarea.de Tue Mar 5 12:49:52 2013 From: guru at unixarea.de (Matthias Apitz) Date: Tue, 5 Mar 2013 13:49:47 +0100 Subject: Problems Printing In-Reply-To: <5135E740.1080808@gmail.com> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> Message-ID: <20130305124946.GA1653@tiny.Sisis.de> El d?a Tuesday, March 05, 2013 a las 06:38:24AM -0600, Joseph A. Nagy, Jr escribi?: > >> # date | lpr -Pfoo > >> lpr: The printer or class does not exist. > > > > what is the name of your printer in CUPS? You named it "foo"? > > Please try it to configure as well as a Generic Postscript printer; > > > > matthias > > > > Sorry, I haven't had sleep for 24 hours. It's named PIXMA. then the test is $ date | lpr -PPIXMA matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru at unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From freebsd at edvax.de Tue Mar 5 14:59:12 2013 From: freebsd at edvax.de (Polytropon) Date: Tue, 5 Mar 2013 15:59:07 +0100 Subject: backups using rsync In-Reply-To: <10012.1362428349@server1.tristatelogic.com> References: <20130304125634.8450cfaf.freebsd@edvax.de> <10012.1362428349@server1.tristatelogic.com> Message-ID: <20130305155907.004c7b57.freebsd@edvax.de> On Mon, 04 Mar 2013 12:19:09 -0800, Ronald F. Guilmette wrote: > > In message <20130304125634.8450cfaf.freebsd at edvax.de>, > Polytropon wrote: > > >On Mon, 04 Mar 2013 03:35:30 -0800, Ronald F. Guilmette wrote: > >> Now, unfortunately, I have just been bitten by the evil... and apparently > >> widely known (except to me)... ``You can't use dump(8) to dump a journaled > >> filesystem with soft updates'' bug-a-boo. > > > >There are other tools you can use, for example tar or cpdup > >or rsync, as you've mentioned in the subject. > > tar I already knew about, but I think you will agree that it has lots of > limitations that make it entirely inappropriate for mirroring an entire > system. That's true. If your purpose is "backup of data files", tar is a good tool, especially for cross-platform use. But if you need to deal with "exceptional" things like extended permissions, ACL, sparse files and such, you will quickly see its limits. On the other hand, it can be used for multi-volume savesets, but this is not your intention. > This cpdup thing is entirely new to me. Thanks for mentioning it! I really > never heard of it before, but I just now installed it from ports, and I'm > perusing the man page. It's a little bit comparable to rsync and can also do things like "only add" (so you won't lose any files: if they are removed in source, they will be kept in backup). It also has limitations that rsync will not. > It looks very promising. Too bad it doesn't > properly handle sparse files, but oh well. That's just a very minor nit. > (Does it properly handle everything else that rsync claims to be able to > properly handle, e.g. ACLs, file attributes, etc., etc.?) That's something you should check with an "example dataset" you back up, restore, and compare. I've been using it for "normal files" successfully. > >The same problems that apply when dumping live systems can > >bite you using rsync, > > What problems are we talking about, in particular? The problems I'm refering to is the kind of _possible_ trouble you can get into when backing up files that keep changing. The ability to make a snapshot prior to starting the backup is a great help here (if you don't have the chance to unmount the partitions to backup). I can't imagine _how_ programs will react if they start reading a file, prepare sufficient space in some kind of TOC, then continue reading while the file grows... or if a file is being read which is removed during read... If you minimize the writing activity to the (still) _live_ data you're dealing with, that could be a benefit. > I am guessing that if I use rsync, then I *won't* encounter this rather > annoying issue/problem relating to UFS filesystems that have both soft > updates and journaling enabled, correct? > > >but support for this "on file system > >level" seems to be better in rsync than what dump does "on > >block level". > > What exactly did you mean by "this" ? As mentioned above: Unexpected and unpredictable results, strange kinds of inconsistency, may they appear during backup or later on restore. > >> If I use all of the following rsync options... -a,-H,-A, -X, and -S .... > >> when trying to make my backups, and if I do whatever additional fiddling > >> is necessary to insure that I separately copy over the MBR and boot loader > >> also to my backup drive, then is there any reason that, in the event of > >> a sudden meteor shower that takes out my primary disk drive while leaving > >> my backup drive intact, I can't just unplug my old primary drive, plug in > >> my (rsync-created) backup drive, reboot and be back in the sadddle again, > >> almost immediately, and with -zero- problems? > > > >You would have to make sure _many_ things are consistent > >on the backup disk. > > Well, this is what I am getting at. This is/was the whole point of my post > and my question. I want to know: What is that set of things, exactly? The backup disk (or failover disk, as I said) needs to be initialized properly prior to the first backup run: Make sure it's bootable. Depending on how you handle identification of the disk (by device name, by label or UFSID) and how you're going to boot from it (by selecting the failover disk in some post-BIOS/POST dialog or by swapping cables or bays), you should check it actually starts booting. > >Regarding terminology, that would make the disk a failover disk > > OK. Thank you. I will henceforth use that terminology. Just a suggestion from how you described you will be using the disk, which isn't what commonly (or mostly) is expressed by the term "backup" (also cf. "archive" which is something entirely different). > >The disk would need to have an initialized file system and > >a working boot mechanism, both things rsync does not deal with > > Check and check. I implicitly understood the former, and I explicitly > mentioned the latter in my original post in this thread. > > But is there anything else, other than those two things (which, just as > you say, are both clearly outside of the scope of what rsync does)? > Anything else I need to do or worry about in order to be able to use > rsync to create & maintain a full-blown fully-working system failover > drive? I don't think so, the provided summary seems to be complete from my understanding. > If so, I'd much rather learn about it now... you know... as opposed > to learning about it if and when I actually have to _use_ my failover > drive. No. That's the case when you learn about forensic analysis and disaster recovery. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd-questions-local at be-well.ilk.org Tue Mar 5 14:59:26 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue, 05 Mar 2013 09:59:14 -0500 Subject: VIA PV530 In-Reply-To: <1362351402.61999.YahooMailNeo@web164001.mail.gq1.yahoo.com> (Andrew Pack's message of "Sun, 3 Mar 2013 14:56:42 -0800 (PST)") References: <1362351402.61999.YahooMailNeo@web164001.mail.gq1.yahoo.com> Message-ID: <441ubt51vh.fsf@lowell-desk.lan> Andrew Pack writes: > Does anyone have any experience running FreeBSD on this platform? > Unless I'm mistaken, I could't find it listed under the new release > compatibility list.? I haven't used that one specifically, but Via processors have worked fine for me, including the power and encryption facilities. From keramida at ceid.upatras.gr Tue Mar 5 16:00:30 2013 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Tue, 5 Mar 2013 17:00:23 +0100 Subject: backups using rsync In-Reply-To: <6126.1362396930@server1.tristatelogic.com> References: <6126.1362396930@server1.tristatelogic.com> Message-ID: <20130305160021.GA9376@saturn> On 2013-03-04 03:35, "Ronald F. Guilmette" wrote: > As a result of this past Black Friday weekend, I now enjoy a true > abundance of disk space, for the first time in my life. > > I wanna make a full backup, on a weekly basis, of my main system's > shiny new 1TB drive onto another 1TB drive that I also picked up cheap > back on Black Friday. > > I've been planning to set this up for some long time now, but I've > only gotten 'round to working on it now. > > Now, unfortunately, I have just been bitten by the evil... and > apparently widely known (except to me)... ``You can't use dump(8) to > dump a journaled filesystem with soft updates'' bug-a-boo. > > Sigh. The best laid plans of mice and men... > > I _had_ planned on using dump/restore and making backups from live mounted > filesystems while the system was running. But I really don't want to have > to take the system down to single-user mode every week for a few hours while > I'm making my disk-to-disk backup. So now I'm looking at doing the backups > using rsync. Yes, this should be possible... One thing that can bite you when using rsync to traverse & copy large filesystems is that the filesystem may still be changing beneath rsync *as it's doing* the copy. If this is a UFS2 filesystem, it may be a good idea to snapshot the filesystem, and then rsync-backup the snapshot instead. From keramida at FreeBSD.org Tue Mar 5 16:12:11 2013 From: keramida at FreeBSD.org (Giorgos Keramidas) Date: Tue, 5 Mar 2013 17:12:04 +0100 Subject: Zlib version in FreeBSD - 3 releases behind? In-Reply-To: References: Message-ID: <20130305161158.GB9376@saturn> On 2013-03-04 07:28, KrisUniverse wrote: > The Zlib baked into FreeBSD is Zlib 1.2.4 even on 9.1R. > > However, Zlib has gone to 1.2.7 sometime ago after stepping through > 1.2.5, 1.2.6 and 1.2.7 with bug fixes. > > Is there any reason for not using Zlib 1.2.7? I don't have a 9.1-RELEASE system nearby, but I think zlib 1.2.7 _should_ already be there... Are you sure it's still an old version? The zlib on /head is 1.2.7, merged from the vendor branch on 2012-06-21. | % svn log --limit 1 svn://svn.freebsd.org/base/head/lib/libz | ------------------------------------------------------------------------ | r237410 | delphij | 2012-06-21 23:47:08 +0200 (???, 21 ??? 2012) | 8 lines | | MFV: Update zlib to 1.2.7. | | (x86 assembler optimization disabled for now because it | requires the new .cfi_* directives that is not supported | by base system binutils). | | MFC after: 1 week This was later merged to 9.1-STABLE after about a week of burn-in on /head: | % svn log --limit 1 svn://svn.freebsd.org/base/stable/9/lib/libz | ------------------------------------------------------------------------ | r237691 | delphij | 2012-06-28 09:08:48 +0200 (???, 28 ??? 2012) | 2 | lines | | MFC r237410: zlib 1.2.7. Then the 9.1-RELEASE branch was copied from releng/9.1 on 2012-12-03, long after the MFC of zlib 1.2.7 to the stable/9 branch. | ------------------------------------------------------------------------ | r243808 | kensmith | 2012-12-03 06:03:33 +0100 (???, 03 ??? 2012) | 4 lines | | Copy releng/9.1 to release/9.1.0 as part of 9.1-RELEASE. | | Approved by: re (implicit) I'm confused now. By tracking down these commits in our svn repository I would expect libz on 9.1-RELEASE to be version 1.2.7. From freebsd-questions-local at be-well.ilk.org Tue Mar 5 16:27:04 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue, 05 Mar 2013 11:26:57 -0500 Subject: unable to compile lighttpd form source In-Reply-To: <51344801.8030206@aboutsupport.com> (Peter Zyumbilev's message of "Mon, 04 Mar 2013 09:06:41 +0200") References: <51344801.8030206@aboutsupport.com> Message-ID: <44boax3j8u.fsf@lowell-desk.lan> "Zyumbilev, Peter" writes: > Hi, > > I am trying to follow instructions on this page: > > http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2 > > and compile lighttpd. > > [root at pistolmp01 ~/lighttpd-1.4.28]# ./autogen.sh > ./autogen.sh: running `libtoolize --copy --force' > libtoolize: putting auxiliary files in `.'. > libtoolize: copying file `./ltmain.sh' > libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. > libtoolize: copying file `m4/libtool.m4' > libtoolize: copying file `m4/ltoptions.m4' > libtoolize: copying file `m4/ltsugar.m4' > libtoolize: copying file `m4/ltversion.m4' > libtoolize: copying file `m4/lt~obsolete.m4' > ./autogen.sh: running `aclocal -I m4' > configure.ac:42: error: automatic de-ANSI-fication support has been removed > /usr/local/share/aclocal-1.12/protos.m4:12: AM_C_PROTOTYPES is expanded > from... > configure.ac:42: the top level > autom4te-2.69: /usr/local/bin/gm4 failed with exit status: 1 > aclocal-1.12: error: /usr/local/bin/autom4te-2.69 failed with exit status: 1 > > System version is: FreeBSD 8.3-RELEASE-p3 > > > Please give me some hints as I am unable to install lighttpd with h264 > streaming support from both ports and source on FreeBSD. The port seems to work fine, so I'd recommend you try to figure out where that goes wrong for you, rather than figuring out version incompatibilities in autotools... From paul at kraus-haus.org Tue Mar 5 16:51:55 2013 From: paul at kraus-haus.org (Paul Kraus) Date: Tue, 5 Mar 2013 11:51:49 -0500 Subject: cmake fails to build under 9.1 Message-ID: In trying to build NagIOS, one of the dependencies is cmake and it is failing to build. See below. And if I run make again it will fail on a different file, see further down. Any ideas ? I am running 64 bit 9.1 under VBox 4.2.6 and the parent host is Mac OS X 10.8. [ 61%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmComputeLinkInformation.cxx.o {standard input}: Assembler messages: {standard input}:14628: Warning: end of file not at end of a line; newline inserted {standard input}:16093: Error: bad register name `%r1' c++: Internal error: Killed: 9 (program cc1plus) Please submit a full bug report. See for instructions. *** [Source/CMakeFiles/CMakeLib.dir/cmBootstrapCommands.cxx.o] Error code 1 1 error *** [Source/CMakeFiles/CMakeLib.dir/all] Error code 2 1 error *** [all] Error code 2 1 error *** [do-build] Error code 1 Stop in /usr/ports/devel/cmake. [ 68%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmGlobalGenerator.cxx.o [ 68%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmGlobalUnixMakefileGenerator3.cxx.o [ 68%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmGraphVizWriter.cxx.o {standard input}: Assembler messages: {standard input}:119141: Warning: end of file not at end of a line; newline inserted {standard input}:119618: Error: bad register name `%rb' c++: Internal error: Killed: 9 (program cc1plus) Please submit a full bug report. See for instructions. *** [Source/CMakeFiles/CMakeLib.dir/cmBootstrapCommands.cxx.o] Error code 1 1 error *** [Source/CMakeFiles/CMakeLib.dir/all] Error code 2 1 error *** [all] Error code 2 1 error *** [do-build] Error code 1 Stop in /usr/ports/devel/cmake. Thanks. -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company From c.kworr at gmail.com Tue Mar 5 17:20:04 2013 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Tue, 05 Mar 2013 19:19:59 +0200 Subject: cmake fails to build under 9.1 In-Reply-To: References: Message-ID: <5136293F.10808@gmail.com> 05.03.2013 18:51, Paul Kraus: > In trying to build NagIOS, one of the dependencies is cmake and it is failing to build. See below. And if I run make again it will fail on a different file, see further down. Any ideas ? I am running 64 bit 9.1 under VBox 4.2.6 and the parent host is Mac OS X 10.8. > > [ 61%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmComputeLinkInformation.cxx.o > {standard input}: Assembler messages: > {standard input}:14628: Warning: end of file not at end of a line; newline inserted > {standard input}:16093: Error: bad register name `%r1' > c++: Internal error: Killed: 9 (program cc1plus) > Please submit a full bug report. > See for instructions. > *** [Source/CMakeFiles/CMakeLib.dir/cmBootstrapCommands.cxx.o] Error code 1 > 1 error > *** [Source/CMakeFiles/CMakeLib.dir/all] Error code 2 > 1 error > *** [all] Error code 2 > 1 error > *** [do-build] Error code 1 > > Stop in /usr/ports/devel/cmake. Any messages on the system console? -- Sphinx of black quartz, judge my vow. From matthias at d2ux.org Tue Mar 5 17:48:01 2013 From: matthias at d2ux.org (Matthias Petermann) Date: Tue, 05 Mar 2013 18:42:02 +0100 Subject: Jailed process listening to broadcast address of host system - possible? Message-ID: <20130305184202.Horde.eDUXhBWXINRGxbZx4ZcRCQ2@d2ux.org> Hello, is there any way to listen to a networks broadcast adress from within a Jail? Given ist the following setup: * The host (IP 192.168.2.127) * The jail (same IP as host, 192.168.2.127) When I do: $ nc -l 192.168.2.255 9999 I got the following results: root at host # nc -l 192.168.2.255 9999 root at jail # nc -l 192.168.2.255 9999 nc: Can't assign requested address The latter is the problem. I already sat security.jail.allow_raw_sockets=1 and now not sure if I am trying to do something which is not allowed by design? Thanks in advance, Matthias # Additional Information: ## ifconfig (host): root at host # ifconfig -a em0: flags=8843 metric 0 mtu 1500 options=9b ether 08:00:27:b3:64:f2 inet 192.168.2.127 netmask 0xffffff00 broadcast 192.168.2.255 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 inet 10.0.0.1 netmask 0xffffffff inet 10.0.0.2 netmask 0xffffffff inet 10.0.0.3 netmask 0xffffffff inet 10.0.0.4 netmask 0xffffffff inet 10.0.0.5 netmask 0xffffffff nd6 options=21 pflog0: flags=141 metric 0 mtu 33152 nd6 options=21 ## ifconfig (jail): root at jail # ifconfig -a em0: flags=8843 metric 0 mtu 1500 options=9b ether 08:00:27:b3:64:f2 inet 192.168.2.127 netmask 0xffffff00 broadcast 192.168.2.255 media: Ethernet autoselect (1000baseT ) status: active lo0: flags=8049 metric 0 mtu 16384 options=600003 pflog0: flags=141 metric 0 mtu 33152 -- Matthias Petermann From doug at polands.org Tue Mar 5 18:44:50 2013 From: doug at polands.org (Doug Poland) Date: Tue, 5 Mar 2013 12:44:48 -0600 Subject: Booting from an aribrary disk in ZFS RAIDZ on 8.x Message-ID: <20130305184446.GA81297@polands.org> Hello, I'm running ZFS filesystem ver 3, storage pool ver 14, on 8-STABLE amd64. The kernel build is rather dated from around Feb 2010. I have 6 disks in a RAIDZ configuration. All disks were sliced the same with gpart (da(n)p1,p2,p3) with bootcode written to index 1, swap on index 2 and freebsd-zfs on index 3. Given this configuration, I should be able to boot from any of the 6 disks in the RAIDZ. If this is a true statement, how do I make that happen from the loader prompt? At the loader prompt when I type show, I get the following relevant variables: currdev="zfs0" loaddev="disk1a:" vfs.root.mountfrom="zfs:rpool" A peek at man loader(1) shows me two interesting variables: root_disk_unit rootdev If disk0 is the legacy floppy device, presumably disk1a: maps to da0. What variable do I set to signify boot from what I know as: da0p1 == gpt/boot0 da0p2 == gpt/swap0 da0p3 == gpt/disk0 ... snip ... da5p1 == gpt/boot5 da5p2 == gpt/swap5 da5p3 == gpt/disk5 Thanks very much in advance. BTW, is it bad form to cross-post to forums.freebsd.org? -- Regards, Doug From matthias at d2ux.org Tue Mar 5 19:30:25 2013 From: matthias at d2ux.org (Matthias Petermann) Date: Tue, 05 Mar 2013 20:30:22 +0100 Subject: backups using rsync In-Reply-To: <20130305160021.GA9376@saturn> References: <6126.1362396930@server1.tristatelogic.com> <20130305160021.GA9376@saturn> Message-ID: <20130305203022.Horde.dksye196oEwlUQ41iOTg2Q9@d2ux.org> Hello, Zitat von Giorgos Keramidas : > If this is a UFS2 filesystem, it may be a good idea to snapshot the > filesystem, and then rsync-backup the snapshot instead. Last time I tried UFS2 snapshots I found out two serious limitations. The first is it doesn't work when UFS Journaling is used. The second is that taking a snapshop on a large filesystem can cause parts of the system to freeze for many minutes up to hours when accessing files part of the snapshot, depending on the size of the filesystem. That's why I could not use it on my server with > 1TB UFS2. Did this improve in the last year? (I guess my experience is from the time around 9.0 release). Kind regards, Matthias -- Matthias Petermann From jnagyjr1978 at gmail.com Tue Mar 5 21:42:30 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Tue, 05 Mar 2013 15:42:15 -0600 Subject: Problems Printing In-Reply-To: <20130305124946.GA1653@tiny.Sisis.de> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> Message-ID: <513666B7.4080708@gmail.com> On 03/05/13 06:49, Matthias Apitz wrote: > El d?a Tuesday, March 05, 2013 a las 06:38:24AM -0600, Joseph A. Nagy, Jr escribi?: > >>>> # date | lpr -Pfoo >>>> lpr: The printer or class does not exist. >>> >>> what is the name of your printer in CUPS? You named it "foo"? >>> Please try it to configure as well as a Generic Postscript printer; >>> >>> matthias >>> >> >> Sorry, I haven't had sleep for 24 hours. It's named PIXMA. > > then the test is > > $ date | lpr -PPIXMA > > matthias > I figured that out, sent the test, it queud the job and stuck there. When I get home I'm going to clear the cups logs and start over again. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From nm.knife at gmail.com Tue Mar 5 22:44:27 2013 From: nm.knife at gmail.com (=?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?=) Date: Tue, 5 Mar 2013 14:44:26 -0800 Subject: How to connect to VPN Message-ID: I have been trying to find a way to connect to a PPTP or L2TP VPN for over a year now. There is no GUI client that I know of and any text configuration I try with pptpclient fails. How can I connect to a VPN, the fast way as in Windows, OS X and GNU/Linux. I have the following information (no internal IP's or ranges or NAT): Gateway - I have the URL to connect to, I suppose I can map it to IP Username Password MSCHAP MSCHAPv2 Use point-to-point encryption (MPPE) Allow BSD data compression Allow deflate data compression Use TCP header compression How can I connect to the VPN with just this information above? Everything I find requires internal IP's, ranges, NAT and other things making a 5 second gui configuration take months. The VPN server supports PPTP and L2TP as mentioned. Any advice on how I can connect will be helpful. -- Lyubomir Grigorov (bgalakazam) From fbsd8 at a1poweruser.com Wed Mar 6 01:03:37 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Tue, 05 Mar 2013 20:03:35 -0500 Subject: Jailed process listening to broadcast address of host system - possible? In-Reply-To: <20130305184202.Horde.eDUXhBWXINRGxbZx4ZcRCQ2@d2ux.org> References: <20130305184202.Horde.eDUXhBWXINRGxbZx4ZcRCQ2@d2ux.org> Message-ID: <513695E7.8090201@a1poweruser.com> Matthias Petermann wrote: > > Hello, > > is there any way to listen to a networks broadcast adress from within a > Jail? > > Given ist the following setup: > > * The host (IP 192.168.2.127) > * The jail (same IP as host, 192.168.2.127) > > When I do: > > $ nc -l 192.168.2.255 9999 > > I got the following results: > > root at host # nc -l 192.168.2.255 9999 > > > root at jail # nc -l 192.168.2.255 9999 > nc: Can't assign requested address > > The latter is the problem. I already sat security.jail.allow_raw_sockets=1 > and now not sure if I am trying to do something which is not allowed by > design? > > Thanks in advance, > Matthias > > > > # Additional Information: > > ## ifconfig (host): > > root at host # ifconfig -a > em0: flags=8843 metric 0 mtu 1500 > options=9b > ether 08:00:27:b3:64:f2 > inet 192.168.2.127 netmask 0xffffff00 broadcast 192.168.2.255 > nd6 options=29 > media: Ethernet autoselect (1000baseT ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet 127.0.0.1 netmask 0xff000000 > inet 10.0.0.1 netmask 0xffffffff > inet 10.0.0.2 netmask 0xffffffff > inet 10.0.0.3 netmask 0xffffffff > inet 10.0.0.4 netmask 0xffffffff > inet 10.0.0.5 netmask 0xffffffff > nd6 options=21 > pflog0: flags=141 metric 0 mtu 33152 > nd6 options=21 > > ## ifconfig (jail): > > root at jail # ifconfig -a > em0: flags=8843 metric 0 mtu 1500 > options=9b > ether 08:00:27:b3:64:f2 > inet 192.168.2.127 netmask 0xffffff00 broadcast 192.168.2.255 > media: Ethernet autoselect (1000baseT ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > pflog0: flags=141 metric 0 mtu 33152 > Since your talking about a jail process, you really need to provide details on how you configured the jail and if your using the interface parameter? From cartwright at asu.edu Wed Mar 6 02:37:04 2013 From: cartwright at asu.edu (Reed A. Cartwright) Date: Tue, 5 Mar 2013 19:36:57 -0700 Subject: Tuning ZFS ARC for 512GB Memory Message-ID: I have a 512GB memory system that has a 480GB (or so) L2ARC, and a raidz2 storage pool. No dedup or compression is enabled. Although, I will enable compression in the future. By default vfs.zfs.arc_max is about 300GB and the L2ARC is hardly touched. I've seen a couple hints recently on the mailing lists that having too big of an ARC can be a performance hit because it takes a long time to inspect it when something needs to integrate over the entries. I've also had issues with running 9.1 on this machine due to zfs deadlocks or stalls and am currently "stuck" using 9.0 with no issue. So, I was wondering if shrinking the ARC would potentially help and what should I shrink it to? I am thinking about setting vfs.zfs.arc_max to 64GB. Does anyone have an opinion? -- Reed A. Cartwright, PhD Assistant Professor of Genomics, Evolution, and Bioinformatics School of Life Sciences Center for Evolutionary Medicine and Informatics The Biodesign Institute Arizona State University From FreeBSD at ShaneWare.Biz Wed Mar 6 02:56:15 2013 From: FreeBSD at ShaneWare.Biz (Shane Ambler) Date: Wed, 06 Mar 2013 13:26:07 +1030 Subject: Booting from an aribrary disk in ZFS RAIDZ on 8.x In-Reply-To: <20130305184446.GA81297@polands.org> References: <20130305184446.GA81297@polands.org> Message-ID: <5136B047.3000700@ShaneWare.Biz> On 06/03/2013 05:14, Doug Poland wrote: > Hello, > > I'm running ZFS filesystem ver 3, storage pool ver 14, on 8-STABLE > amd64. The kernel build is rather dated from around Feb 2010. You probably want to update that sometime. > I have 6 disks in a RAIDZ configuration. All disks were sliced > the same with gpart (da(n)p1,p2,p3) with bootcode written to index 1, > swap on index 2 and freebsd-zfs on index 3. > > Given this configuration, I should be able to boot from any of the 6 > disks in the RAIDZ. If this is a true statement, how do I make that > happen from the loader prompt? You don't boot from an individual disk you boot from a zpool - all disks are linked together making one zpool "disk". > At the loader prompt when I type show, I get the following relevant > variables: > > currdev="zfs0" > loaddev="disk1a:" > vfs.root.mountfrom="zfs:rpool" zfs:rpool is the "disk" you boot from. I'm guessing that you ask as your machine isn't booting. You probably need to boot from a cd and do adjustments. You have zfs_load=yes in /boot/loader.conf ? You have vfs.root.mountfrom="zfs:rpool" in /boot/loader.conf ? You have zfs_enable=yes in /etc/rc.conf ? You have zpool set bootfs=rpool rpool or similar? I think it has been resolved recently but you used to have to copy the zpool.cache into /boot Did you set the mountpoint when installing and not change it back? I had issues with setting up with a mountpoint / and changing it to legacy. Setting the mountpoint as you want before setup then use altroot to mount it for install is the way to go. If you search wiki.freebsd.org for zfs you can find several examples that may provide hints to what you missed. From gezeala at gmail.com Wed Mar 6 05:47:51 2013 From: gezeala at gmail.com (=?ISO-8859-1?Q?Gezeala_M=2E_Bacu=F1o_II?=) Date: Tue, 5 Mar 2013 21:47:09 -0800 Subject: Tuning ZFS ARC for 512GB Memory In-Reply-To: References: Message-ID: Try to read through the email thread I have started and specifically posts (replies) by alc: http://lists.freebsd.org/pipermail/freebsd-performance/2012-August/thread.html#4640 I have followed his suggestions, and with the arc_max setting I used we still have on average free RAM ~137GB. HTH. On Tue, Mar 5, 2013 at 6:36 PM, Reed A. Cartwright wrote: > I have a 512GB memory system that has a 480GB (or so) L2ARC, and a > raidz2 storage pool. No dedup or compression is enabled. Although, I > will enable compression in the future. > > By default vfs.zfs.arc_max is about 300GB and the L2ARC is hardly touched. > > I've seen a couple hints recently on the mailing lists that having too > big of an ARC can be a performance hit because it takes a long time to > inspect it when something needs to integrate over the entries. > > I've also had issues with running 9.1 on this machine due to zfs > deadlocks or stalls and am currently "stuck" using 9.0 with no issue. > > So, I was wondering if shrinking the ARC would potentially help and > what should I shrink it to? > > I am thinking about setting vfs.zfs.arc_max to 64GB. > > Does anyone have an opinion? > > > -- > Reed A. Cartwright, PhD > Assistant Professor of Genomics, Evolution, and Bioinformatics > School of Life Sciences > Center for Evolutionary Medicine and Informatics > The Biodesign Institute > Arizona State University > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > From guru at unixarea.de Wed Mar 6 05:58:08 2013 From: guru at unixarea.de (Matthias Apitz) Date: Wed, 6 Mar 2013 06:47:01 +0100 Subject: Problems Printing In-Reply-To: <513666B7.4080708@gmail.com> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> <513666B7.4080708@gmail.com> Message-ID: <20130306054701.GA2295@tinyCurrent> El d?a Tuesday, March 05, 2013 a las 03:42:15PM -0600, Joseph A. Nagy, Jr escribi?: > > then the test is > > > > $ date | lpr -PPIXMA > > > > matthias > > > > I figured that out, sent the test, it queud the job and stuck there. > When I get home I'm going to clear the cups logs and start over again. Does the CUPS' test page works from the web interface? If not, try to configure the printer as Generic Postscript first. matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru at unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From freebsd at qeng-ho.org Wed Mar 6 08:06:58 2013 From: freebsd at qeng-ho.org (Arthur Chance) Date: Wed, 06 Mar 2013 08:06:48 +0000 Subject: Zlib version in FreeBSD - 3 releases behind? In-Reply-To: <20130305161158.GB9376@saturn> References: <20130305161158.GB9376@saturn> Message-ID: <5136F918.70105@qeng-ho.org> On 03/05/13 16:12, Giorgos Keramidas wrote: > On 2013-03-04 07:28, KrisUniverse wrote: >> The Zlib baked into FreeBSD is Zlib 1.2.4 even on 9.1R. >> >> However, Zlib has gone to 1.2.7 sometime ago after stepping through >> 1.2.5, 1.2.6 and 1.2.7 with bug fixes. >> >> Is there any reason for not using Zlib 1.2.7? > > I don't have a 9.1-RELEASE system nearby, but I think zlib 1.2.7 _should_ > already be there... Are you sure it's still an old version? On my machine: # uname -r 9.1-RELEASE [It's actually -p1 but I've not bothered replacing the kernel as the problems were in user space.] # grep 'define ZLIB_VERSION' /usr/src/lib/libz/zlib.h #define ZLIB_VERSION "1.2.7" From matthias at d2ux.org Wed Mar 6 08:45:51 2013 From: matthias at d2ux.org (Matthias Petermann) Date: Wed, 06 Mar 2013 09:45:46 +0100 Subject: Jailed process listening to broadcast address of host system - possible? In-Reply-To: <513695E7.8090201@a1poweruser.com> References: <20130305184202.Horde.eDUXhBWXINRGxbZx4ZcRCQ2@d2ux.org> <513695E7.8090201@a1poweruser.com> Message-ID: <20130306094546.Horde.R9zgW7yQNb5tlZ2idRBaJQ1@d2ux.org> Hello, thanks for your response. Zitat von Fbsd8 : > Since your talking about a jail process, you really need to provide > details on how you configured the jail and if your using the > interface parameter? The jail is configured using the interface parameter, sat to the same IP as the Host. More details I can provide tonight. Kind regards, Matthias -- Matthias Petermann From talayeh.asadi at gmail.com Wed Mar 6 08:46:26 2013 From: talayeh.asadi at gmail.com (Talayeh Asadi) Date: Wed, 6 Mar 2013 12:16:05 +0330 Subject: difference between cu and putty for serial connections Message-ID: hi all, i'm trying to activate my custom boot0 on a headless server. i got my required results while connecting by cu, but not when i use putty to connect.. here's the scenario: one of my goals in this custom boot0 is to deactivate all keys but F2 for some reasons.. i applied required changes to the boot0.S code and applied DONLY_F_KEYS in the Makefile and changed the flags BOOT_BOOT0_FLAGS to required values and got required output using cu. but when i connect to the mentioned server using putty, my F keys don't work and i have to remove DONLY_F_KEYS in Makefile so '2' Key become available (SIO mode activated??) i don't know so much things about this sio mode here.. would someone please explain their difference to me? i have no idea.. is it related to the keymap differences? any suggestions are really appritiated.. Thank you all :) Best Regards, t.a.k From tak.official at gmail.com Wed Mar 6 08:54:41 2013 From: tak.official at gmail.com (takCoder) Date: Wed, 6 Mar 2013 12:24:20 +0330 Subject: difference between cu and putty for serial connections Message-ID: hi all, i'm trying to activate my custom boot0 on a headless server. i got my required results while connecting by cu, but not when i use putty to connect.. here's the scenario: one of my goals in this custom boot0 is to deactivate all keys but F2 for some reasons.. i applied required changes to the boot0.S code and applied DONLY_F_KEYS in the Makefile and changed the flags BOOT_BOOT0_FLAGS to required values and got required output using cu. but when i connect to the mentioned server using putty, my F keys don't work and i have to remove DONLY_F_KEYS in Makefile so '2' Key become available (SIO mode activated??) i don't know so much things about this sio mode here.. would someone please explain their difference to me? i have no idea.. is it related to the keymap differences? any suggestions are really appritiated.. Thank you all :) Best Regards, t.a.k From ohartman at zedat.fu-berlin.de Wed Mar 6 10:05:36 2013 From: ohartman at zedat.fu-berlin.de (Hartmann, O.) Date: Wed, 06 Mar 2013 11:06:29 +0100 Subject: CURRENT: "broken pipe" / SIGNAL 13 / no X11 / OpenLDAP/nscd weirdness Message-ID: <51371525.4070408@zedat.fu-berlin.de> The most recent CURRENT (FreeBSD 10.0-CURRENT #0 r247865: Wed Mar 6 08:52:15 CET 2013/amd64, built with CLANG and CXXFLAGS+= -stdlib=libc++ CXXFLAGS+= -std=c++11 set in /etc/src.conf, for the record) does have some serious issues and I'm wondering why others do not. The problems I face affect ALL most recent FreeBSD CURRENT boxes. It doesn't matter whether I use my customized kernel config or GENERIC. The symptoms are weird. Using system commands like top(1) give me a "broken pipe" on the console. Repeating the command gives me then after a while top screen as expected. Services, like OpenLDAP (which I use throughout all systems with nscd and /etc/nsswitch.conf configured), nagios, hald, dbusd or starting X11, doesn't work properly: starting or not starting seems to be a statistical game. Since some kernel modifications needs recompiling ports which provides kernel modules, like emulators/virtual-box-ose-kmod x11/nvidia-driver fail with [...] *** [do-extract] Signal 13 This happens to all ports I try to compile/recompile, but sometimes, again the gamble, a simple make in the port's directory works and I can recompile. Also strange and possibly a sort of indication for the problem is the behaviour of sudo(1): hartmann at gate: [~] sudo su - Password: hartmann at gate: [~] sudo(1) does not switch to the superuser as it is expected, sometimes I receive a "broken pipe" error, sometimes it works as expected. In single user mode, I can cmpile ports without problems and I do not see this "broken pipe" issue. To be able to compile and install a port, I need to perform*** [do-extract] Signal 13 service ldconfig start which works, so all "suspicious" libraries should be loaded (as a naiv guess, I thought a miscompiled shared lib could casue the problem). Well, in general for the ports problem, the SINGLEUSER mode doesn't show the problem. The X11 system isn't starting up anymore. The problem why this doesn't work seems to "change": with sources/kernel prior or equal to r247839, dbusd couldn't start (obviously broken pipe ...). Sporadically non-working services, like slapd (OpenLDAP) seem to start after repeatedly issue "service slapd restart", but I can not reproduce by a number the failings. Sometimes the services start at boot time on a regular basis, sometimes not. For further informations of the settings: I use TEMPFS for /var/run and /tmp. This is common to all systems (but it doesn't affect single user mode, somehow). Things which do not work or solve the problem: a) use a GENERIC kernel b) avoid either in GENERIC or CUSTOM kernel CXXFLAGS+= in /etc/src.conf c) disable nscd d) recompile ports which cause trouble or tend to be highly inresponsive: openldap24-sasl-client/server, pam_ldap, nss_ldap, sudo, dbus and hal, xdm, xorg-server, virtualbox-ose-kmod I tried to recompile for now several times the whole sources with all standard setting (no custom /etc/src.conf or make.conf, also GENERIC kernel). No salvation. I also switched off SMP via setting #kern.smp.disabled=1 since this caused earlier some trouble - but this is more a desperate move to narrow down the problem a bit. I hope someone can reproduce this problem since I think I'm not the only one who is using CURRENT in a server-like multiuser/workstation environment (not only Vbox images, jails). Regards, oh From tak.official at gmail.com Wed Mar 6 10:12:00 2013 From: tak.official at gmail.com (takCoder) Date: Wed, 6 Mar 2013 14:41:33 +0430 Subject: difference between cu and putty for serial connections In-Reply-To: References: Message-ID: nice to mention, at least for me, that changing putty keyboard settings from ESC[n~ to VT100+ solved my problem temporarily.. :) i'll work on solving my problem permanently, may be via working on keymap differences.. Thank you all :) Best Regards, t.a.k On Wed, Mar 6, 2013 at 1:24 PM, takCoder wrote: > hi all, > > i'm trying to activate my custom boot0 on a headless server. i got my > required results while connecting by cu, but not when i use putty to > connect.. > > here's the scenario: > one of my goals in this custom boot0 is to deactivate all keys but F2 for > some reasons.. > i applied required changes to the boot0.S code and applied DONLY_F_KEYS in > the Makefile and changed the flags BOOT_BOOT0_FLAGS to required values and > got required output using cu. > > but when i connect to the mentioned server using putty, my F keys don't > work and i have to remove DONLY_F_KEYS in Makefile so '2' Key become > available (SIO mode activated??) > > i don't know so much things about this sio mode here.. would someone > please explain their difference to me? i have no idea.. is it related to > the keymap differences? > > any suggestions are really appritiated.. Thank you all :) > > Best Regards, > t.a.k > From brentgclarklist at gmail.com Wed Mar 6 10:37:11 2013 From: brentgclarklist at gmail.com (Brent Clark) Date: Wed, 06 Mar 2013 12:38:02 +0200 Subject: OpenVPN vm cant connect to other VM's Message-ID: <51371C8A.8050205@gmail.com> Hi guys Im struggling with a freebsd vm, that I have that I use for a VPN connection too, from my workstation to my home LAN. And I was wondering if someone could peer review me and my problem. OpenVPN is working beautifully. I.e. I can connect to some services (apache etc) that I run directly on my FreeBSD / openvpn vm. What im now trying to achieve is that I can connect to other VMs / machines on my home LAN. Im using tun for my VPN, and my pf.conf looks like so (please see the nat on ...) [root at freebsd /usr/home/bclark]# cat /etc/pf.conf ext_if="re0" vpn_if="tun0" int_net="10.0.0.0/24" vpn_net="192.168.200.0/24" set skip on lo0 set optimization normal #set block-policy drop set limit { states 20000, frags 10000, src-nodes 20000 } # Normalization: reassemble fragments and resolve or reduce traffic ambiguities. scrub in all # Translation: specify how addresses are to be mapped or redirected. # NAT rules # enabling NAT currently breaks policy based routing #nat on $ext_if from { $int_net, $vpn_net } to any -> ($ext_if) #nat on tun0 from { 192.168.200.0/24 } to any -> (re0) nat on re0 from { 192.168.200.0/24 } to any -> (re0) table persist block in quick on re0 proto tcp from to any port ssh label "ssh brute" What am I missing? If anyone could assist, it would be appreciated. Kind Regards Brent Clark From paul at kraus-haus.org Wed Mar 6 14:34:15 2013 From: paul at kraus-haus.org (Paul Kraus) Date: Wed, 6 Mar 2013 09:34:06 -0500 Subject: cmake fails to build under 9.1 In-Reply-To: <5136293F.10808@gmail.com> References: <5136293F.10808@gmail.com> Message-ID: <273C931C-3D04-4F55-865C-8D7929569F25@kraus-haus.org> On Mar 5, 2013, at 12:19 PM, Volodymyr Kostyrko wrote: > 05.03.2013 18:51, Paul Kraus: >> In trying to build NagIOS, one of the dependencies is cmake and it is failing to build. See below. And if I run make again it will fail on a different file, see further down. Any ideas ? I am running 64 bit 9.1 under VBox 4.2.6 and the parent host is Mac OS X 10.8. > > Any messages on the system console? No. -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company From paul at kraus-haus.org Wed Mar 6 21:50:52 2013 From: paul at kraus-haus.org (Paul Kraus) Date: Wed, 6 Mar 2013 16:50:47 -0500 Subject: Booting from an aribrary disk in ZFS RAIDZ on 8.x In-Reply-To: <20130305184446.GA81297@polands.org> References: <20130305184446.GA81297@polands.org> Message-ID: <5177CF5D-D677-4158-8179-0304D803F531@kraus-haus.org> On Mar 5, 2013, at 1:44 PM, Doug Poland wrote: > I'm running ZFS filesystem ver 3, storage pool ver 14, on 8-STABLE > amd64. The kernel build is rather dated from around Feb 2010. > > I have 6 disks in a RAIDZ configuration. All disks were sliced > the same with gpart (da(n)p1,p2,p3) with bootcode written to index 1, > swap on index 2 and freebsd-zfs on index 3. > > Given this configuration, I should be able to boot from any of the 6 > disks in the RAIDZ. If this is a true statement, how do I make that > happen from the loader prompt? Boot in terms of root FS or in terms of boot loader ? The boot loader would be set in your BIOS (which physical drive you read for that). / comes from the zpool/zfs dataset once the boot loader loads enough code to find and mount the filesystem. That comes from all the drives in the zpool. -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company From schweikh at schweikhardt.net Wed Mar 6 22:16:45 2013 From: schweikh at schweikhardt.net (Jens Schweikhardt) Date: Wed, 6 Mar 2013 22:25:27 +0100 Subject: Anyone got an EPSON Perfection V33 scanner working? Message-ID: <20130306212527.GB92049@schweikhardt.net> hello, world\n so I got an EPSON Perfection V33 scanner, needless to say it works under Win7 with the provided SW on the CD. Needless to say, it's one of those scanners unsupported by SANE according to their list, http://www.sane-project.org/sane-mfgs.html#Z-EPSON While it can be probed with # sane-find-scanner -q found USB scanner (vendor=0x04b8 [EPSON], product=0x0142 [EPSON Perfection V33/V330]) at libusb:/dev/usb:/dev/ugen3.3 that's about the end of it. A lot of googling turned up that some company named Avasys/Seiko/Epson provides an "Image Scan!" application for Linux, which, strangely enough, also uses some sane-backend. Now before I try to make that pig fly by installing rpms in the Linuxulator, (just to find out that for yet more obscure reason this does't work so easily), has anyone gotten a V33 to successfully scan under FreeBSD? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) From aimass at yabarana.com Wed Mar 6 22:40:45 2013 From: aimass at yabarana.com (Alejandro Imass) Date: Wed, 6 Mar 2013 17:40:38 -0500 Subject: Anyone got an EPSON Perfection V33 scanner working? In-Reply-To: <20130306212527.GB92049@schweikhardt.net> References: <20130306212527.GB92049@schweikhardt.net> Message-ID: On Wed, Mar 6, 2013 at 4:25 PM, Jens Schweikhardt wrote: > hello, world\n > > so I got an EPSON Perfection V33 scanner, needless to say it works > under Win7 with the provided SW on the CD. > > Needless to say, it's one of those scanners unsupported by SANE > according to their list, http://www.sane-project.org/sane-mfgs.html#Z-EPSON > On Sane Linux yes. Haven't tried on FBSD. It needs some binaries provided with the scan and iscan plugins. I got the RPMs and alienated to deb and it gets the Epson Perfection working on a Debian system. Maybe you can do something with Sane on Linuxator on FBSD and the binaries I have. I have the RPMs and I can send them to you or post them somewhere for download. Cheers, -- Alejandro Imass From keramida at FreeBSD.org Wed Mar 6 23:28:01 2013 From: keramida at FreeBSD.org (Giorgos Keramidas) Date: Thu, 7 Mar 2013 00:27:52 +0100 Subject: Zlib version in FreeBSD - 3 releases behind? In-Reply-To: <5136F918.70105@qeng-ho.org> References: <20130305161158.GB9376@saturn> <5136F918.70105@qeng-ho.org> Message-ID: <20130306232750.GA25598@saturn> On 2013-03-06 08:06, Arthur Chance wrote: > On 03/05/13 16:12, Giorgos Keramidas wrote: > >On 2013-03-04 07:28, KrisUniverse wrote: > >>The Zlib baked into FreeBSD is Zlib 1.2.4 even on 9.1R. > >> > >>However, Zlib has gone to 1.2.7 sometime ago after stepping through > >>1.2.5, 1.2.6 and 1.2.7 with bug fixes. > >> > >>Is there any reason for not using Zlib 1.2.7? > > > >I don't have a 9.1-RELEASE system nearby, but I think zlib 1.2.7 _should_ > >already be there... Are you sure it's still an old version? > > On my machine: > > # uname -r > 9.1-RELEASE > > [It's actually -p1 but I've not bothered replacing the kernel as the > problems were in user space.] > > # grep 'define ZLIB_VERSION' /usr/src/lib/libz/zlib.h > #define ZLIB_VERSION "1.2.7" That's what I'd expect. Thanks :) From gull at gull.us Thu Mar 7 01:41:44 2013 From: gull at gull.us (David Brodbeck) Date: Wed, 6 Mar 2013 17:41:42 -0800 Subject: backups using rsync In-Reply-To: <51351410.4060600@cyberleo.net> References: <6126.1362396930@server1.tristatelogic.com> <51351410.4060600@cyberleo.net> Message-ID: On Mon, Mar 4, 2013 at 1:37 PM, CyberLeo Kitsana wrote: > You can use dump(8) to dump a SU-journaled filesystem; you just cannot > create a snapshot. This implies that dump(8) will be run against the > live and possibly changing filesystem, which can lead to issues with the > consistency of the contents of files thus dumped; but not necessarily > with the consistency of the dump itself. Any tool that backs up a live > filesystem, such as rsync or tar, will have these issues. > Note that this is mainly a problem for things like databases, where the contents of multiple files, or different portions of the same file, have to be in sync. For example, take your typical MySQL database table. You have the actual data, in a .MYD file, and the indexes, in a .MYI file. If your rsync backup hits while a table is being updated, it might get the .MYD file before an update, and the .MYI file after, leaving the table and index inconsistent. Or it might catch the .MYD file *partway* through an update, giving a file that's internally inconsistent. This is likely to give very unexpected results if you load the backup back into the database. Note that even if you take a filesystem snapshot, if you don't halt database updates while you take it, you can still end up with inconsistent files. Snapshots are mostly useful for limiting the downtime in these kinds of scenarios -- instead of taking the DB offline for the whole backup window, you just down it long enough to take the snapshot. In the absence of snapshots, the easiest way is to use whatever backup tools the database offers to make sure a consistent copy exists to be backed up. For example, before you run the backup, run mysqlhotcopy or mysqldump to write-lock the database, make consistent backup copies of all the files, then unlock it. That way, even if the backup of the active database is inconsistent, the copies that were backed up along with it are guaranteed to be consistent. Anything database-like can have this problem; another common example is a Subversion FSFS repository. Backing it up without running "svnadmin hotcopy" first is asking for corrupt commits when you do a restore. From FreeBSD at ShaneWare.Biz Thu Mar 7 04:41:34 2013 From: FreeBSD at ShaneWare.Biz (Shane Ambler) Date: Thu, 07 Mar 2013 15:11:29 +1030 Subject: Booting from an aribrary disk in ZFS RAIDZ on 8.x In-Reply-To: <20130306042456.GA92710@polands.org> References: <20130305184446.GA81297@polands.org> <5136B047.3000700@ShaneWare.Biz> <20130306042456.GA92710@polands.org> Message-ID: <51381A79.2070305@ShaneWare.Biz> On 06/03/2013 14:54, Doug Poland wrote: > On Wed, Mar 06, 2013 at 01:26:07PM +1030, Shane Ambler wrote: >> On 06/03/2013 05:14, Doug Poland wrote: >>> I have 6 disks in a RAIDZ configuration. All disks were sliced >>> the same with gpart (da(n)p1,p2,p3) with bootcode written to >>> index 1, swap on index 2 and freebsd-zfs on index 3. >>> >>> Given this configuration, I should be able to boot from any of >>> the 6 disks in the RAIDZ. If this is a true statement, how do I >>> make that happen from the loader prompt? >> >> You don't boot from an individual disk you boot from a zpool - all >> disks are linked together making one zpool "disk". >> > Something has to pick a physical device from which to boot, does it > not?. All the HP Smart Array 6i controller knows is I have 6 RAID 0 > disks to present to the OS. I meant to add if the bootcode is installed on each disk then pointing the bios to any individual disk as the primary boot device will lead to the boot process loading the zpool. Installing it on each disk gives the redundancy to match the raid in the zpool. If you only have one disk with bootcode and it is the one that needs replacing then you can't boot. Then having 100 disks in a pool with bootcode would be overkill, but the consistency may be easier to maintain. >> I'm guessing that you ask as your machine isn't booting. You >> probably need to boot from a cd and do adjustments. >> > Not exactly, I have a failing disk in slot 0, which corresponds to > da0 in my device list (AKA gpt/disk0). I want to make sure I can > boot if I pull this disk and replace it. If the zpool redundancy is sufficient for the zpool to work without the drive it shouldn't make any difference as to how the disk "disappears" only that the data is accessible/rebuildable. > I've had issues with this RAID controller in the past where it won't > present the new disk to the OS. I've had to reboot, go into the > RAID config and tell it it's a single RAID 0 device (stupid, I > know). When you think about it, as a raid controller it shouldn't make assumptions as to how to use the new disk, should it add it to an existing raid set, replace a missing drive or show it as a new single drive? Being able to specify per socket as permanently jbod could be useful feature though. > The roll of /boot/zfs/zpool.cache is a mystery to me. I belive it > somehow tells ZFS what devices are in use. What if a disk goes > offline or is removed? > As I understand it the zpool.cache contains the zpools mounted by the system. After reboot it then re-imports each zpool in the cache. I believe a recent commit enabled the vfs.root.mountfrom zpool to be imported even if there was no cache available. From what I have heard and seen the data about the zpool it belongs to and the role the disk plays in the zpool is stored on each disk and duplicated at the beginning and end of the disk. In my early experiments after starting clean even after gparting and zeroing out the start of the disks, zpool still says it belongs to a pool. From mexas at bristol.ac.uk Thu Mar 7 09:56:09 2013 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu, 7 Mar 2013 09:40:47 GMT Subject: fetchmail/sendmail: Domain of sender address does not exist Message-ID: <201303070940.r279elHS001082@mech-cluster241.men.bris.ac.uk> I'm running sendmail, and using fetchmail to fetch my mail from the university IMAP server. I sometimes see fetchmail complain: fetchmail: SMTP error: 553 5.1.8 ... Domain of sender address admin at system.mail does not exist And this is doubled in /var/log/maillog: sm-mta[14642]: r270BO3L014642: ruleset=check_mail, arg1=, relay=localhost [127.0. 0.1], reject=553 5.1.8 ... Domain of sender address admin at system.mail does not exist How do I set fetchmail and sendmail to fetch such emails? Thanks Anton From mexas at bristol.ac.uk Thu Mar 7 10:01:11 2013 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu, 7 Mar 2013 10:01:03 GMT Subject: process eating up all memory - what should happen next? Message-ID: <201303071001.r27A13A5000885@mech-cluster241.men.bris.ac.uk> I have a process that eats up al memory, in my case science/paraview if I try to analyse a large model. What should FreeBSD do when a process tries to use all RAM or more? I my case I get a complete freeze, can't even login from the console, and requiring a cold reboot. I guess this is not supposed to happen, but what is supposed to happen in situations like this? This is on ia64, so it might be something to do with instability there. Thanks Anton From freebsd at edvax.de Thu Mar 7 10:18:00 2013 From: freebsd at edvax.de (Polytropon) Date: Thu, 7 Mar 2013 11:17:56 +0100 Subject: process eating up all memory - what should happen next? In-Reply-To: <201303071001.r27A13A5000885@mech-cluster241.men.bris.ac.uk> References: <201303071001.r27A13A5000885@mech-cluster241.men.bris.ac.uk> Message-ID: <20130307111756.e4e31a9c.freebsd@edvax.de> On Thu, 7 Mar 2013 10:01:03 GMT, Anton Shterenlikht wrote: > I have a process that eats up al memory, > in my case science/paraview if I try to > analyse a large model. What should FreeBSD > do when a process tries to use all RAM or more? In this case, the swap space would be used, until the system runs out of swap space. > I my case I get a complete freeze, can't even > login from the console, and requiring a cold > reboot. I guess this is not supposed to happen, > but what is supposed to happen in situations like this? A normal reboot (including a proper shutdown) should at least be possible. If the machine seems to freeze entirely, this simply looks wrong, so maybe it's more than just eating all the RAM? You could try to impose a resource limit, see "man limits" for details, so you could "trigger" the undesired behaviour while e. g. only 50% of the available RAM is being used by _that_ process (and therefor still leaving enough resources for other system and user processes). You could also monitor resource consumption with tools like top, htop, vmstat or systat in adjacent xterms while you run the test, seeing "trouble pile up"... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From Nick at Pettefar.com Thu Mar 7 10:35:10 2013 From: Nick at Pettefar.com (Nick Pettefar) Date: Thu, 7 Mar 2013 10:34:37 +0000 Subject: Raspberry Pi Message-ID: Hi, where can I download the Raspberry Pi version please? Regards, Nick Pettefar From vince at unsane.co.uk Thu Mar 7 10:43:53 2013 From: vince at unsane.co.uk (Vincent Hoffman) Date: Thu, 07 Mar 2013 10:43:49 +0000 Subject: Raspberry Pi In-Reply-To: References: Message-ID: <51386F65.4040704@unsane.co.uk> On 07/03/2013 10:34, Nick Pettefar wrote: > Hi, where can I download the Raspberry Pi version please? There's no official release for it but http://www.raspberrypi.org/archives/3094 and there were some build instructions at http://kernelnomicon.org/?p=275 I havent got a pi and havent tried either of these though. Vince > > Regards, > > Nick Pettefar > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From freebsd at edvax.de Thu Mar 7 10:43:58 2013 From: freebsd at edvax.de (Polytropon) Date: Thu, 7 Mar 2013 11:44:01 +0100 Subject: Raspberry Pi In-Reply-To: References: Message-ID: <20130307114401.c40e9aed.freebsd@edvax.de> On Thu, 7 Mar 2013 10:34:37 +0000, Nick Pettefar wrote: > Hi, where can I download the Raspberry Pi version please? I think you'll need the arm version of FreeBSD. Check those links for more information: http://www.raspberrypi.org/archives/3094 http://www.freebsdarm.org/ http://www.freebsd.org/platforms/arm.html https://wiki.freebsd.org/WhatsNew/FreeBSD10#Overall_system_.2F_architectural_changes http://people.freebsd.org/~dmarion/beaglebone/creating_bootable_sd_card/ http://www.raspberrypi.org/phpBB3/viewtopic.php?f=85&t=30148 You can obtain more references by employing a google search. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From Olivier.Nicole at cs.ait.ac.th Thu Mar 7 11:20:05 2013 From: Olivier.Nicole at cs.ait.ac.th (Olivier Nicole) Date: Thu, 7 Mar 2013 18:09:57 +0700 (ICT) Subject: Reccording from a webcam Message-ID: <201303071109.r27B9vTv031483@banyan.cs.ait.ac.th> Hi, I have a machine running FreeBSD 6.4. I can hardly upgrade it because it is more or less an embeded system. Until recently I was reccording video through a video graber card (brooktree I think), with mencoder, but the card died. The easiest way would be to use a USB camera; I plugged one in and it came as /dev/ugen0. When I try to use mplayer, it tells me that the driver v4l2 does not exist, nor v4l. Current version of mplayer/mencoder is 1.0rc2-3.4.6, I tried to compile the latest version, but I have issue with the Makefile in the ports. So the question is, what else could I use to record a video (command line). Best regards, Olivier From nvass at gmx.com Thu Mar 7 11:48:16 2013 From: nvass at gmx.com (Nikos Vassiliadis) Date: Thu, 07 Mar 2013 13:48:09 +0200 Subject: process eating up all memory - what should happen next? In-Reply-To: <20130307111756.e4e31a9c.freebsd@edvax.de> References: <201303071001.r27A13A5000885@mech-cluster241.men.bris.ac.uk> <20130307111756.e4e31a9c.freebsd@edvax.de> Message-ID: <51387E79.80204@gmx.com> On 7/3/2013 12:17 ??, Polytropon wrote: > On Thu, 7 Mar 2013 10:01:03 GMT, Anton Shterenlikht wrote: >> I have a process that eats up al memory, >> in my case science/paraview if I try to >> analyse a large model. What should FreeBSD >> do when a process tries to use all RAM or more? > > In this case, the swap space would be used, until the > system runs out of swap space. > > > >> I my case I get a complete freeze, can't even >> login from the console, and requiring a cold >> reboot. I guess this is not supposed to happen, >> but what is supposed to happen in situations like this? > > A normal reboot (including a proper shutdown) should > at least be possible. If the machine seems to freeze > entirely, this simply looks wrong, so maybe it's more > than just eating all the RAM? > > You could try to impose a resource limit, see "man limits" > for details, so you could "trigger" the undesired behaviour > while e. g. only 50% of the available RAM is being used > by _that_ process (and therefor still leaving enough > resources for other system and user processes). You could > also monitor resource consumption with tools like top, > htop, vmstat or systat in adjacent xterms while you run > the test, seeing "trouble pile up"... > > > I think Anton is interested in the system's behavior when there is no enforced limit. Processes tend to be killed quite quickly when there is no on-disk swap backing. > root at awethu:/root # swapinfo > Device 1K-blocks Used Avail Capacity > root at awethu:/root # nice python -c 'a = [f for f in range(80000000)]' > Killed When on-disk swap backing exists and multiple processes are competing for memory things are are not that straightforward. I think you hit a bug on ia64. Could you test the behavior using the above "program" and report back? I would run top in one terminal(so i can monitor and kill the program) and I would use a second terminal to run the program using increasingly larger values. Also, I wouldn't try that under X, at least i would test first without X... HTH, Nikos From matrix at itlegion.ru Thu Mar 7 12:16:45 2013 From: matrix at itlegion.ru (Artem Kuchin) Date: Thu, 07 Mar 2013 16:10:00 +0400 Subject: gjournal for hosting server Message-ID: <51388398.5030409@itlegion.ru> Hello! I am setting up a new hosting server which will host about 100 sites and mysql databases for them. I've read about gjournal and as i see the following benefits: 1) NO fsck after crash 2) 2x speed for small files writes 3) Some extra speed for small files reads (why???) The web servers are mostly serving tons of small files and do tons of small writes. I thinks the all in all with gjournal the fs speed should be higher. Any thoughts? Artem From gkontos.mail at gmail.com Thu Mar 7 13:09:04 2013 From: gkontos.mail at gmail.com (George Kontostanos) Date: Thu, 7 Mar 2013 15:09:03 +0200 Subject: FBSD 9.1.0 - make buildworld running for 1.5 hours??? In-Reply-To: <1362177513.29467.21.camel@z6000.lenzicasa> References: <1BBFCBC0B60383A7EC5EC83C@utd71538.campus.ad.utdallas.edu> <1362177513.29467.21.camel@z6000.lenzicasa> Message-ID: On Sat, Mar 2, 2013 at 12:38 AM, Sergio de Almeida Lenzi wrote: > 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 at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" You can easily go to -j16 if the box is not doing anything else. What are your current load averages? -- George Kontostanos --- http://www.aisecure.net From freebsd at edvax.de Thu Mar 7 13:45:07 2013 From: freebsd at edvax.de (Polytropon) Date: Thu, 7 Mar 2013 14:45:01 +0100 Subject: fetchmail/sendmail: Domain of sender address does not exist In-Reply-To: <201303070940.r279elHS001082@mech-cluster241.men.bris.ac.uk> References: <201303070940.r279elHS001082@mech-cluster241.men.bris.ac.uk> Message-ID: <20130307144501.37632a8a.freebsd@edvax.de> On Thu, 7 Mar 2013 09:40:47 GMT, Anton Shterenlikht wrote: > How do I set fetchmail and sendmail to fetch > such emails? Maybe it helps if you add the options "fetchall flush" to your .fetchmailrc configuration file? I've had a similar problem some years ago and I think this was the solution. See "man fetchmail" for the corresponding command line options (and you could probably add -v to see what's actually going on). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From doug at polands.org Thu Mar 7 14:03:21 2013 From: doug at polands.org (Doug Poland) Date: Thu, 7 Mar 2013 07:33:20 -0600 Subject: Booting from an aribrary disk in ZFS RAIDZ on 8.x In-Reply-To: <51381A79.2070305@ShaneWare.Biz> References: <20130305184446.GA81297@polands.org> <5136B047.3000700@ShaneWare.Biz> <20130306042456.GA92710@polands.org> <51381A79.2070305@ShaneWare.Biz> Message-ID: <20130307133319.GA71468@lystra.neenah.na.plexus.com> On Thu, Mar 07, 2013 at 03:11:29PM +1030, Shane Ambler wrote: > On 06/03/2013 14:54, Doug Poland wrote: > >On Wed, Mar 06, 2013 at 01:26:07PM +1030, Shane Ambler wrote: > >>On 06/03/2013 05:14, Doug Poland wrote: > > >>>I have 6 disks in a RAIDZ configuration. All disks were sliced the > >>>same with gpart (da(n)p1,p2,p3) with bootcode written to index 1, > >>>swap on index 2 and freebsd-zfs on index 3. > >>> > >>>Given this configuration, I should be able to boot from any of the > >>>6 disks in the RAIDZ. If this is a true statement, how do I make > >>>that happen from the loader prompt? > >> > >>You don't boot from an individual disk you boot from a zpool - all > >>disks are linked together making one zpool "disk". > >> > >Something has to pick a physical device from which to boot, does it > >not?. All the HP Smart Array 6i controller knows is I have 6 RAID 0 > >disks to present to the OS. > > I meant to add if the bootcode is installed on each disk then pointing > the bios to any individual disk as the primary boot device will lead > to the boot process loading the zpool. Installing it on each disk > gives the redundancy to match the raid in the zpool. If you only have > one disk with bootcode and it is the one that needs replacing then you > can't boot. Then having 100 disks in a pool with bootcode would be > overkill, but the consistency may be easier to maintain. > So in my case, the HP SmartArray doesn't allow me to choose an individual boot disk. So it's up to the controller to keep trying to boot from the next configured disk. I believe I'm going to craft a test to prove this out. > >I've had issues with this RAID controller in the past where it won't > >present the new disk to the OS. I've had to reboot, go into the > >RAID config and tell it it's a single RAID 0 device (stupid, I > >know). > > When you think about it, as a raid controller it shouldn't make > assumptions as to how to use the new disk, should it add it to an > existing raid set, replace a missing drive or show it as a new single > drive? Being able to specify per socket as permanently jbod could be > useful feature though. > One would think. I've been testing this on a similarly configured machine and the controller eventually presents a new drive to the OS. It takes a couple of minutes, but appears to work on this test box. > >The roll of /boot/zfs/zpool.cache is a mystery to me. I belive it > >somehow tells ZFS what devices are in use. What if a disk goes > >offline or is removed? > > > > As I understand it the zpool.cache contains the zpools mounted by the > system. After reboot it then re-imports each zpool in the cache. I > believe a recent commit enabled the vfs.root.mountfrom zpool to be > imported even if there was no cache available. > > From what I have heard and seen the data about the zpool it belongs to > and the role the disk plays in the zpool is stored on each disk and > duplicated at the beginning and end of the disk. In my early > experiments after starting clean even after gparting and zeroing out > the start of the disks, zpool still says it belongs to a pool. > If that's the case, I wonder about the wisdom of re-using a drive from my test configuration? My plan has been to prove this out on test and use the same disk from test and insert it into production. One would think ZFS is smart enough to recognize a "different" drive has been inserted, even if it has the same gpart structure and came from a pool with the same name. Thanks for your help. -- Regards, Doug From mail25 at bzerk.org Thu Mar 7 15:52:59 2013 From: mail25 at bzerk.org (Ruben de Groot) Date: Thu, 7 Mar 2013 15:52:53 +0000 Subject: no 9.1-release packages? Message-ID: <20130307155253.GA24876@eris.bzerk.org> Hi, I just rented a 9.1-release VPS and was trying to install some packages. This however does not work as there is no directory "packages-9.1-release" on the ftp server (ftp.freebsd.org). Why is this? ftp> pwd Remote directory: /pub/FreeBSD/ports/amd64 ftp> ls 229 Entering Extended Passive Mode (|||40379|). 150 Here comes the directory listing. lrwxrwxrwx 1 633 493 15 Apr 19 2007 packages -> packages-stable drwxrwxr-x 95 967 100 2048 Jul 17 2012 packages-10-current drwxrwxr-x 95 967 100 2048 Oct 07 08:18 packages-7-stable drwxrwxr-x 95 967 100 2048 Oct 11 16:19 packages-8-stable drwxrwxr-x 95 967 100 2048 Feb 10 2011 packages-8.2-release drwxrwxr-x 95 967 100 2048 Mar 28 2012 packages-8.3-release lrwxr-xr-x 1 967 100 17 Dec 09 2011 packages-9-current -> packages-9-stable drwxrwxr-x 95 967 100 2048 Oct 16 21:26 packages-9-stable drwxrwxr-x 95 967 100 2048 Dec 29 2011 packages-9.0-release lrwxr-xr-x 1 967 100 19 Dec 03 2011 packages-current -> packages-10-current lrwxr-xr-x 1 967 100 17 Nov 07 2011 packages-stable -> packages-9-stable ftp> -- Ruben From joh.hendriks at gmail.com Thu Mar 7 15:58:49 2013 From: joh.hendriks at gmail.com (Johan Hendriks) Date: Thu, 07 Mar 2013 16:58:39 +0100 Subject: no 9.1-release packages? In-Reply-To: <20130307155253.GA24876@eris.bzerk.org> References: <20130307155253.GA24876@eris.bzerk.org> Message-ID: <5138B92F.4060800@gmail.com> Ruben de Groot schreef: > Hi, > > I just rented a 9.1-release VPS and was trying to install some packages. > This however does not work as there is no directory "packages-9.1-release" on the ftp server (ftp.freebsd.org). Why is this? > > ftp> pwd > Remote directory: /pub/FreeBSD/ports/amd64 > ftp> ls > 229 Entering Extended Passive Mode (|||40379|). > 150 Here comes the directory listing. > lrwxrwxrwx 1 633 493 15 Apr 19 2007 packages -> packages-stable > drwxrwxr-x 95 967 100 2048 Jul 17 2012 packages-10-current > drwxrwxr-x 95 967 100 2048 Oct 07 08:18 packages-7-stable > drwxrwxr-x 95 967 100 2048 Oct 11 16:19 packages-8-stable > drwxrwxr-x 95 967 100 2048 Feb 10 2011 packages-8.2-release > drwxrwxr-x 95 967 100 2048 Mar 28 2012 packages-8.3-release > lrwxr-xr-x 1 967 100 17 Dec 09 2011 packages-9-current -> packages-9-stable > drwxrwxr-x 95 967 100 2048 Oct 16 21:26 packages-9-stable > drwxrwxr-x 95 967 100 2048 Dec 29 2011 packages-9.0-release > lrwxr-xr-x 1 967 100 19 Dec 03 2011 packages-current -> packages-10-current > lrwxr-xr-x 1 967 100 17 Nov 07 2011 packages-stable -> packages-9-stable > ftp> > > -- > Ruben > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" There was a security issue and therefor there are no packages for 9.1 Due to the security incident reported here: http://www.FreeBSD.org/news/2012-compromise.html only the small third-party package set on the DVD image is available at this time for users who require pre-built packages (just GNOME and KDE windowing systems). The FreeBSD Project's package building infrastructure is undergoing a complete review and redesign. At this time we can not commit to a date the full release package set will become available. A separate announcement will be made when that becomes available. If you wish to install 9.1-RELEASE now you can build your own packages using portsnap(8) to obtain an up to date ports tree and then build the packages. If you require pre-built packages you should wait for the announcement of the full release package set becoming available. FreeBSD 9.1-RELEASE can also be purchased on CD-ROM or DVD from several vendors. One of the vendors that will be offering FreeBSD 9.1-based products is: regards Johan From vmiller at hostileadmin.com Thu Mar 7 19:37:49 2013 From: vmiller at hostileadmin.com (Rick Miller) Date: Thu, 7 Mar 2013 14:37:48 -0500 Subject: building crunchgen fails In-Reply-To: <82E7A4A3-B65D-4ECA-BEF4-FD67445AF1B2@fisglobal.com> References: <82E7A4A3-B65D-4ECA-BEF4-FD67445AF1B2@fisglobal.com> Message-ID: Hi All, In the thread below, my custom boot_crunch.conf works in releng/8, but fails in stable/8. Here is the failure message: cc -static -o boot_crunch boot_crunch.o hostname.lo pwd.lo rm.lo sh.lo ls.lo test.lo cat.lo df.lo sleep.lo camcontrol.lo dhclient.lo fsck_ffs.lo ifconfig.lo mount_nfs.lo newfs.lo route.lo rtsol.lo tunefs.lo kenv.lo sysctl.lo mdmfs.lo mdconfig.lo mount.lo dmesg.lo fdisk.lo bsdlabel.lo uname.lo cpio.lo find.lo minigzip.lo sed.lo awk.lo fetch.lo arp.lo sysinstall.lo usbconfig.lo grep.lo -ll -ledit -lfetch -lmd -lcrypt -lftpio -lz -lnetgraph -ldialog -lncurses -lcam -lsbuf -lutil -ldisk -lufs -ldevinfo -lkvm -lgeom -lbsdxml -larchive -lbz2 -lusb -lgnuregex -llzma -lssl -lcrypto -ljail -lm camcontrol.lo(.text+0x13fe): In function `mode_list': : undefined reference to `mode_sense' camcontrol.lo(.text+0x1e93): In function `mode_edit': : undefined reference to `mode_sense' camcontrol.lo(.text+0x1ee7): In function `mode_edit': : undefined reference to `mode_sense' camcontrol.lo(.text+0x1f6a): In function `mode_edit': : undefined reference to `mode_sense' camcontrol.lo(.text+0x209e): In function `mode_edit': : undefined reference to `mode_sense' camcontrol.lo(.text+0x2118): In function `mode_edit': : undefined reference to `mode_select' *** Error code 1 Stop in /usr/obj/usr/src/release/boot_crunch. *** Error code 1 Stop in /usr/src/release. + umount /dev *** Error code 1 Stop in /usr/src/release. I attempted my custom boot_crunch.conf as well as the default. Both fail with the same error. My custom boot_crunch.conf is @ http://pastebin.com/jfcJKb08 Note the "special" line included as Devin recommends the thread below. mode_sense and mode_select appear to be defined (but I am far from proficient with C to declare with any authority what the problem might be. I'm hoping someone could help me understand and correct the problem. On Wed, Jan 23, 2013 at 11:01 AM, Devin Teske wrote: > > On Jan 23, 2013, at 7:22 AM, Rick Miller wrote: > >> Hi All, >> >> When executing crunchgen -o boot_crunch.conf && make -f boot_crunch.mk >> I get the following error: >> >> cc -static -o boot_crunch boot_crunch.o hostname.lo pwd.lo rm.lo sh.lo >> ls.lo test.lo cat.lo df.lo sleep.lo camcontrol.lo dhclient.lo >> fsck_ffs.lo ifconfig.lo mount_nfs.lo newfs.lo route.lo rtsol.lo >> tunefs.lo kenv.lo sysctl.lo mdmfs.lo dmesg.lo fdisk.lo bsdlabel.lo >> uname.lo cpio.lo find.lo minigzip.lo sed.lo awk.lo fetch.lo arp.lo >> sysinstall.lo usbconfig.lo grep.lo -lcam -lsbuf -lutil -ll -ledit >> -lfetch -lmd -lcrypt -lftpio -lz -lnetgraph -ldialog -lncurses -ldisk >> -lufs -ldevinfo -lkvm -lgeom -lbsdxml -larchive -lbz2 -lusb -lgnuregex >> -llzma -lssl -lcrypto -ljail -lm >> camcontrol.lo(.text+0x730b): In function `main': >> : undefined reference to `mode_edit' >> camcontrol.lo(.text+0x73fa): In function `main': >> : undefined reference to `mode_list' >> *** Error code 1 >> >> Stop in /tmp/crunchtmp. >> >> I understand that there may need to be some shuffling of the libraries >> in the boot_crunch.conf, but I've done that to no avail. Wondering if >> anyone else may be able to shed some light on this... >> >> The boot_crunch.conf can be viewed at http://pastebin.com/ZwVPQn3h >> > > According to the Makefile, if RELEASE_CRUNCH is defined, then modeedit.o object is omitted (causing your undefined references). > > I perceive the long-term real solution would be to patch camcontrol.c (and pedantically camcontrol.h) to not use mode_edit()/mode_list() when RELEASE_CRUNCH is defined. > > However, you should be able to get through your problem by adjusting your boot_crunch.conf slightly: > > Try http://pastebin.com/Ge6UCZEZ > > The difference being: > > --- boot_crunch.conf.orig 2013-01-03 16:29:20.000000000 -0800 > +++ boot_crunch.conf 2013-01-03 16:29:13.000000000 -0800 > @@ -17,6 +17,7 @@ > > srcdirs /usr/src/sbin > progs camcontrol > +special camcontrol objs camcontrol.o modeedit.o util.o > progs dhclient > progs fsck_ffs > progs ifconfig > > -- > 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. -- Take care Rick Miller From kris.universe at gmail.com Thu Mar 7 19:53:07 2013 From: kris.universe at gmail.com (Kris Sridhar) Date: Thu, 7 Mar 2013 13:53:03 -0600 Subject: Zlib version in FreeBSD - 3 releases behind? In-Reply-To: <20130306232750.GA25598@saturn> References: <20130305161158.GB9376@saturn> <5136F918.70105@qeng-ho.org> <20130306232750.GA25598@saturn> Message-ID: <6D7C4F7F-B392-49E8-83A6-ACC61803E378@gmail.com> Gentlemen, The library (/lib/libz.so.6) in FreeBSD 9.1R does seem to have Zlib 1.2.4 based on the complaints from the following at least: libarchive.so.* libssh.so.* grep gzip I've provided objdump -p output from my machine: ---------------------------------------------------------------- fBSD9# objdump -p libz.so.6 libz.so.6: file format elf32-i386-freebsd Program Header: LOAD off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12 filesz 0x000124c4 memsz 0x000124c4 flags r-x LOAD off 0x000124c4 vaddr 0x000134c4 paddr 0x000134c4 align 2**12 filesz 0x000002e0 memsz 0x000002e4 flags rw- DYNAMIC off 0x00012588 vaddr 0x00013588 paddr 0x00013588 align 2**2 filesz 0x000000d8 memsz 0x000000d8 flags rw- STACK off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2 filesz 0x00000000 memsz 0x00000000 flags rw- Dynamic Section: NEEDED libc.so.7 SONAME libz.so.6 INIT 0x13f0 FINI 0xe1b4 HASH 0xb4 STRTAB 0xaec SYMTAB 0x3fc STRSZ 0x49f SYMENT 0x10 PLTGOT 0x1367c PLTRELSZ 0x1b0 PLTREL 0x11 JMPREL 0x1240 REL 0x1130 RELSZ 0x110 RELENT 0x8 VERDEF 0x106c VERDEFNUM 0x5 VERNEED 0x1110 VERNEEDNUM 0x1 VERSYM 0xf8c RELCOUNT 0x1e Version definitions: 1 0x01 0x09d5f4e6 libz.so.6 2 0x00 0x07e5cf30 ZLIB_1.2.4.0 3 0x00 0x053ecdd0 ZLIBprivate_1.0 ZLIB_1.2.4.0 4 0x00 0x07e5c230 ZLIB_1.2.7.0 ZLIB_1.2.4.0 5 0x00 0x077a28b2 FBSD_1.2 ZLIB_1.2.4.0 Version References: required from libc.so.7: 0x077a28b0 0x00 06 FBSD_1.0 fBSD9# uname -r 9.1-RELEASE ---------------------------------------------------------------- If Zlib 1.2.7 were installed independently from tar.gz downloaded from zlib.net site, it produces, /usr/local/lib/libz.so.1.2.7 which is different from /lib/libz.so.6 of course. But this installs a /usr/local/include/zlib.h that is identical to /usr/src/lib/libz/zlib.h as well as /usr/include/zlib.h The complaint mentioned before from dependent objects like libarchive that the "/lib/libz.so.6 containing ZLIB_1_2_4 is missing" results if one removes /lib/libz.so.6 and replaces with a symlink to the new version like: /lib/libz.so.6 --> /usr/local/lib/libz.so.1.2.7 Given the version definitions from the objdump -p of the original /lib/libz.so.6 that was installed as part of a fresh, clean install of FreeBSD 9.1R, as provided above, any thoughts on the Zlib version actually baked into the release please? Thanks. Kris On Mar 6, 2013, at 5:27 PM, Giorgos Keramidas wrote: > On 2013-03-06 08:06, Arthur Chance wrote: >> On 03/05/13 16:12, Giorgos Keramidas wrote: >>> On 2013-03-04 07:28, KrisUniverse wrote: >>>> The Zlib baked into FreeBSD is Zlib 1.2.4 even on 9.1R. >>>> >>>> However, Zlib has gone to 1.2.7 sometime ago after stepping through >>>> 1.2.5, 1.2.6 and 1.2.7 with bug fixes. >>>> >>>> Is there any reason for not using Zlib 1.2.7? >>> >>> I don't have a 9.1-RELEASE system nearby, but I think zlib 1.2.7 _should_ >>> already be there... Are you sure it's still an old version? >> >> On my machine: >> >> # uname -r >> 9.1-RELEASE >> >> [It's actually -p1 but I've not bothered replacing the kernel as the >> problems were in user space.] >> >> # grep 'define ZLIB_VERSION' /usr/src/lib/libz/zlib.h >> #define ZLIB_VERSION "1.2.7" > > That's what I'd expect. Thanks :) > From Gabor at Zahemszky.HU Thu Mar 7 20:36:59 2013 From: Gabor at Zahemszky.HU (Zahemszky =?ISO-8859-2?Q?G=E1bor?=) Date: Thu, 7 Mar 2013 21:06:06 +0100 Subject: How to mount enhanced-CD on 9.1R? Message-ID: <20130307210606.7a11c9d2@Picasso.Zahemszky.HU> Hi! I think I've found a regression on 9.1R. I used to mount some of Oxford University Press's New English File CD-ROM on 9.0. These CD-s are actually enhanced CDs with some audio tracks, and a data track at the end. Actually, I cannot mount them on 9.1. Neither on Amd64 nor on i386. Neither with a SCSI DVD-drive, nor with ATAPI drives. On 9.0, I need only to 'mount -r -t cd9660 /dev/cd0 /mnt' - on 9.1 it doesn't work. And doesn't work with the -s option of mount_cdrom - I can get the start of the data track with either cdcontrol info or with cdda2wav -info-only. They give me the same nubmber as the sector number of the data track, but mount_cdrom doesn't work with it. Actually, I've sent bug report about it, but there weren't any reaction: http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/176262 Nye, G?bor -- #!/bin/ksh # # See my GPG key at http://www.Zahemszky.HU # Z='21N16I25C25E30, 40M30E33E25T15U!'; IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ '; set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break; [[ $i = ??? ]]&&j=$i&&i=${i%?}; typeset -i40 i=8#$i;print -n ${i#???}; [[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;}; IFS=' 0123456789 ';set -- $Z;for i;{ [[ $i = , ]]&&i=2; [[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l i;};print "$j" From perrin at apotheon.com Thu Mar 7 20:48:47 2013 From: perrin at apotheon.com (Chad Perrin) Date: Thu, 7 Mar 2013 13:48:45 -0700 Subject: fetchmail/sendmail: Domain of sender address does not exist In-Reply-To: <201303070940.r279elHS001082@mech-cluster241.men.bris.ac.uk> References: <201303070940.r279elHS001082@mech-cluster241.men.bris.ac.uk> Message-ID: <20130307204845.GA2466@glaze.hydra> On Thu, Mar 07, 2013 at 09:40:47AM +0000, Anton Shterenlikht wrote: > I'm running sendmail, and using fetchmail to fetch > my mail from the university IMAP server. > > I sometimes see fetchmail complain: > > fetchmail: SMTP error: 553 5.1.8 ... Domain of sender address admin at system.mail does not exist > > And this is doubled in /var/log/maillog: > > sm-mta[14642]: r270BO3L014642: ruleset=check_mail, arg1=, relay=localhost [127.0. > 0.1], reject=553 5.1.8 ... Domain of sender address admin at system.mail does not exist > > How do I set fetchmail and sendmail to fetch > such emails? You might want to try out the mail/fdm port instead of fetchmail. I have found fetchmail to be obtuse and cantankerous; I stopped using it a long time ago. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From martin at x.it.okstate.edu Thu Mar 7 21:00:26 2013 From: martin at x.it.okstate.edu (Martin McCormick) Date: Thu, 07 Mar 2013 14:37:32 -0600 Subject: Revisiting Traceroute Through ipfw FreeBSD9.x Message-ID: <201303072037.r27KbWsE004345@x.it.okstate.edu> I immediately found several plausible examples of what to put in the firewall rules file and the following rules were set just after the local loopback address: ip="139.78.2.13" setup_loopback # Allow traceroute to function, but not to get in. ${fwcmd} add unreach port udp from any to ${ip} 33435-33524 # Allow some inbound icmps - echo reply, dest unreach, source quench, # echo, ttl exceeded. ${fwcmd} add allow icmp from any to any icmptypes 0,3,4,8,11 My thanks to previous posters for these rules. I still, however only get *traceroute: sendto: Permission denied traceroute: wrote 192.168.1.125 52 chars, ret=-1 I also did try: sysctl net.inet.udp.blackhole=0 then 1 and even 2 with no change. What else should I look at? The firewall rules are otherwise working as they should. Thank you. Martin McCormick From suseuser04 at lajt.hu Thu Mar 7 21:42:51 2013 From: suseuser04 at lajt.hu (=?UTF-8?Q?Istvan_Gabor?=) Date: Thu, 07 Mar 2013 22:42:45 +0100 Subject: =?UTF-8?Q?Re:_How_to_connect_to_VPN?= In-Reply-To: References: Message-ID: <584e1036.41c74522.513909d5.97cb8@lajt.hu> 2013. m?rcius 5. 23:44 napon ??????? ???????? ?rta: > I have been trying to find a way to connect to a PPTP or L2TP VPN for over > a year now. There is no GUI client that I know of and any text > configuration I try with pptpclient fails. > > How can I connect to a VPN, the fast way as in Windows, OS X and GNU/Linux. > I have the following information (no internal IP's or ranges or NAT): > > Gateway - I have the URL to connect to, I suppose I can map it to IP > Username > Password > MSCHAP > MSCHAPv2 > Use point-to-point encryption (MPPE) > Allow BSD data compression > Allow deflate data compression > Use TCP header compression > > > How can I connect to the VPN with just this information above? Everything I > find requires internal IP's, ranges, NAT and other things making a 5 second > gui configuration take months. The VPN server supports PPTP and L2TP as > mentioned. Any advice on how I can connect will be helpful. > > Hello: I too had problems with vpn in FreeBSD 9.0 RELEASE. I don't know specifically about PPTP or L2TP, but there is vpn over ipsec. Fot that you need to customize and rebuild your kernel. FreeBSD handbook says: To add IPsec support to your kernel, add the following options to your kernel configuration file: options IPSEC #IP security device crypto see: http://www.freebsd.org/doc/handbook/ipsec.html After this install shrew vpn client. Once more, I don't know whether this is relevant in any way in your case but that's how I solved vpn to cisco server earlier. Istvan From suseuser04 at lajt.hu Thu Mar 7 21:45:02 2013 From: suseuser04 at lajt.hu (=?UTF-8?Q?Istvan_Gabor?=) Date: Thu, 07 Mar 2013 22:44:50 +0100 Subject: =?UTF-8?Q?kde3_maintainer_contact?= Message-ID: <79cf3d30.15cc5d12.51390a52.78c4b@lajt.hu> Hello: I have a few specific questions regarding kde3 in freebsd. As there is no freebsd kde3 list I would like to ask my questions directly from port maintainer(s). Do you know how can I contact them? Thanks, Istvan From freebsd-questions-local at be-well.ilk.org Thu Mar 7 21:51:59 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu, 07 Mar 2013 16:51:47 -0500 Subject: kde3 maintainer contact In-Reply-To: <79cf3d30.15cc5d12.51390a52.78c4b@lajt.hu> (Istvan Gabor's message of "Thu, 07 Mar 2013 22:44:50 +0100") References: <79cf3d30.15cc5d12.51390a52.78c4b@lajt.hu> Message-ID: <44zjye7ua4.fsf@lowell-desk.lan> Istvan Gabor writes: > I have a few specific questions regarding kde3 in freebsd. > As there is no freebsd kde3 list I would like to ask my questions > directly from port maintainer(s). Do you know how can I contact > them? There isn't one. There is a kde at freebsd.org mailing list, but it's listed as maintaining kde4, not kde3. From mexas at bristol.ac.uk Thu Mar 7 21:56:00 2013 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu, 7 Mar 2013 21:55:57 GMT Subject: fetchmail/sendmail: Domain of sender address does not exist In-Reply-To: <20130307204845.GA2466@glaze.hydra> Message-ID: <201303072155.r27Ltvuq002811@mech-cluster241.men.bris.ac.uk> Date: Thu, 7 Mar 2013 13:48:45 -0700 From: Chad Perrin To: freebsd-questions at freebsd.org Subject: Re: fetchmail/sendmail: Domain of sender address does not exist On Thu, Mar 07, 2013 at 09:40:47AM +0000, Anton Shterenlikht wrote: > I'm running sendmail, and using fetchmail to fetch > my mail from the university IMAP server. > > I sometimes see fetchmail complain: > > fetchmail: SMTP error: 553 5.1.8 ... Domain of sender address admin at system.mail does not exist > > And this is doubled in /var/log/maillog: > > sm-mta[14642]: r270BO3L014642: ruleset=check_mail, arg1=, relay=localhost [127.0. > 0.1], reject=553 5.1.8 ... Domain of sender address admin at system.mail does not exist > > How do I set fetchmail and sendmail to fetch > such emails? You might want to try out the mail/fdm port instead of fetchmail. I have found fetchmail to be obtuse and cantankerous; I stopped using it a long time ago. No, I think fetchmail's great! And Matthias already helped me sort it out. Thanks for the advice anyway. Anton From mail25 at bzerk.org Thu Mar 7 22:13:03 2013 From: mail25 at bzerk.org (Ruben de Groot) Date: Thu, 7 Mar 2013 23:12:56 +0100 Subject: no 9.1-release packages? In-Reply-To: <5138B92F.4060800@gmail.com> References: <20130307155253.GA24876@eris.bzerk.org> <5138B92F.4060800@gmail.com> Message-ID: <28B0C7E5-4BD0-451E-9C4A-DD0A5EBA43E7@bzerk.org> On 7 mrt 2013, at 16:58, Johan Hendriks wrote: > Ruben de Groot schreef: >> Hi, >> >> I just rented a 9.1-release VPS and was trying to install some packages. >> This however does not work as there is no directory "packages-9.1-release" on the ftp server (ftp.freebsd.org). Why is this? > There was a security issue and therefor there are no packages for 9.1 > > > Due to the security incident reported here: > > http://www.FreeBSD.org/news/2012-compromise.html > > only the small third-party package set on the DVD image is available at this time for users who require pre-built packages (just GNOME and KDE windowing systems). The FreeBSD Project's package building infrastructure is undergoing a complete review and redesign. At this time we can not commit to a date the full release package set will become available. A separate announcement will be made when that becomes available. If you wish to install 9.1-RELEASE now you can build your own packages using portsnap(8) to obtain an up to date ports tree and then build the packages. If you require pre-built packages you should wait for the announcement of the full release package set becoming available. > > FreeBSD 9.1-RELEASE can also be purchased on CD-ROM or DVD from several vendors. One of the vendors that will be offering FreeBSD 9.1-based products is: Thanks for the info Johan. I was aware of the compromise, just not of it still affecting the package building for 9.1 release. No problem, there's no absolute requirement for pre-build packages here, so I installed some tools from packages-9-stable by setting PACKAGESITE and building the rest now from ports. cheers, Ruben From freebsd at edvax.de Fri Mar 8 07:38:21 2013 From: freebsd at edvax.de (Polytropon) Date: Fri, 8 Mar 2013 08:38:23 +0100 Subject: fetchmail/sendmail: Domain of sender address does not exist In-Reply-To: <201303072155.r27Ltvuq002811@mech-cluster241.men.bris.ac.uk> References: <20130307204845.GA2466@glaze.hydra> <201303072155.r27Ltvuq002811@mech-cluster241.men.bris.ac.uk> Message-ID: <20130308083823.58c61486.freebsd@edvax.de> On Thu, 7 Mar 2013 21:55:57 GMT, Anton Shterenlikht wrote: > And Matthias already helped me sort it out. Could you write to the list how you solved the problem? I think it would be interesting to those running into similar problems. I remember that in the end, my "clever" solution involved logging into the ugly webmailer of my ISP and deleting the few offending messages manually. It should be easier than that. :-) Thanks in advance. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at qeng-ho.org Fri Mar 8 08:49:14 2013 From: freebsd at qeng-ho.org (Arthur Chance) Date: Fri, 08 Mar 2013 08:49:05 +0000 Subject: Zlib version in FreeBSD - 3 releases behind? In-Reply-To: <6D7C4F7F-B392-49E8-83A6-ACC61803E378@gmail.com> References: <20130305161158.GB9376@saturn> <5136F918.70105@qeng-ho.org> <20130306232750.GA25598@saturn> <6D7C4F7F-B392-49E8-83A6-ACC61803E378@gmail.com> Message-ID: <5139A601.8040509@qeng-ho.org> On 03/07/13 19:53, Kris Sridhar wrote: > Gentlemen, > > The library (/lib/libz.so.6) in FreeBSD 9.1R does seem to have Zlib 1.2.4 based on the complaints from the following at least: > > libarchive.so.* > libssh.so.* > grep > gzip > > I've provided objdump -p output from my machine: > ---------------------------------------------------------------- > fBSD9# objdump -p libz.so.6 > > libz.so.6: file format elf32-i386-freebsd > > Program Header: > LOAD off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12 > filesz 0x000124c4 memsz 0x000124c4 flags r-x > LOAD off 0x000124c4 vaddr 0x000134c4 paddr 0x000134c4 align 2**12 > filesz 0x000002e0 memsz 0x000002e4 flags rw- > DYNAMIC off 0x00012588 vaddr 0x00013588 paddr 0x00013588 align 2**2 > filesz 0x000000d8 memsz 0x000000d8 flags rw- > STACK off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2 > filesz 0x00000000 memsz 0x00000000 flags rw- > > Dynamic Section: > NEEDED libc.so.7 > SONAME libz.so.6 > INIT 0x13f0 > FINI 0xe1b4 > HASH 0xb4 > STRTAB 0xaec > SYMTAB 0x3fc > STRSZ 0x49f > SYMENT 0x10 > PLTGOT 0x1367c > PLTRELSZ 0x1b0 > PLTREL 0x11 > JMPREL 0x1240 > REL 0x1130 > RELSZ 0x110 > RELENT 0x8 > VERDEF 0x106c > VERDEFNUM 0x5 > VERNEED 0x1110 > VERNEEDNUM 0x1 > VERSYM 0xf8c > RELCOUNT 0x1e > > Version definitions: > 1 0x01 0x09d5f4e6 libz.so.6 > 2 0x00 0x07e5cf30 ZLIB_1.2.4.0 > 3 0x00 0x053ecdd0 ZLIBprivate_1.0 > ZLIB_1.2.4.0 > 4 0x00 0x07e5c230 ZLIB_1.2.7.0 > ZLIB_1.2.4.0 > 5 0x00 0x077a28b2 FBSD_1.2 > ZLIB_1.2.4.0 > > Version References: > required from libc.so.7: > 0x077a28b0 0x00 06 FBSD_1.0 > > fBSD9# uname -r > 9.1-RELEASE > ---------------------------------------------------------------- > > If Zlib 1.2.7 were installed independently from tar.gz downloaded from zlib.net site, it produces, > /usr/local/lib/libz.so.1.2.7 which is different from /lib/libz.so.6 of course. > But this installs a /usr/local/include/zlib.h that is identical to /usr/src/lib/libz/zlib.h as well as /usr/include/zlib.h > > The complaint mentioned before from dependent objects like libarchive that the "/lib/libz.so.6 containing ZLIB_1_2_4 is missing" results if one removes /lib/libz.so.6 and replaces with a symlink to the new version like: > /lib/libz.so.6 --> /usr/local/lib/libz.so.1.2.7 > > Given the version definitions from the objdump -p of the original /lib/libz.so.6 that was installed as part of a fresh, clean install of FreeBSD 9.1R, as provided above, any thoughts on the Zlib version actually baked into the release please? > > Thanks. > Kris I note that /usr/src/lib/libz/ChangeLog starts ChangeLog file for zlib Changes in 1.2.7 (2 May 2012) and the Symbol.map file has four sections, two of which are labelled ZLIB_1.2.7.0 and ZLIB_1.2.4.0. This is getting beyond my experience as I'm very rusty on library handling tools, a core developer is what you need. However, a wild guess would be that it supports (or is intended to support) both 1.2.4 and 1.2.7 features. From mexas at bristol.ac.uk Fri Mar 8 09:06:07 2013 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Fri, 8 Mar 2013 09:05:46 GMT Subject: fetchmail/sendmail: Domain of sender address does not exist In-Reply-To: <20130308083823.58c61486.freebsd@edvax.de> Message-ID: <201303080905.r2895kqV011087@mech-cluster241.men.bris.ac.uk> From freebsd at edvax.de Fri Mar 8 07:50:06 2013 On Thu, 7 Mar 2013 21:55:57 GMT, Anton Shterenlikht wrote: > And Matthias already helped me sort it out. Could you write to the list how you solved the problem? http://lists.freebsd.org/pipermail/freebsd-ports/2013-March/081919.html Anton From makc at issp.ac.ru Fri Mar 8 15:00:29 2013 From: makc at issp.ac.ru (Max Brazhnikov) Date: Fri, 08 Mar 2013 15:01:24 +0000 Subject: [kde-freebsd] kde3 maintainer contact In-Reply-To: <44zjye7ua4.fsf@lowell-desk.lan> References: <79cf3d30.15cc5d12.51390a52.78c4b@lajt.hu> <44zjye7ua4.fsf@lowell-desk.lan> Message-ID: <2120746.59j0UpAM7d@mercury.ph.man.ac.uk> On Thu, 07 Mar 2013 16:51:47 -0500 Lowell Gilbert wrote: > Istvan Gabor writes: > > > I have a few specific questions regarding kde3 in freebsd. > > As there is no freebsd kde3 list I would like to ask my questions > > directly from port maintainer(s). Do you know how can I contact > > them? > > There isn't one. There is a kde at freebsd.org mailing list, but it's > listed as maintaining kde4, not kde3. KDE 3 ports are not maintained. You can use general ports@ mailist, CCing to kde at freebsd.org won't hurt, but not expect much response. Max From kris.universe at gmail.com Fri Mar 8 16:27:51 2013 From: kris.universe at gmail.com (Kris Sridhar) Date: Thu, 7 Mar 2013 13:53:03 -0600 Subject: Zlib version in FreeBSD - 3 releases behind? In-Reply-To: <20130306232750.GA25598@saturn> References: <20130305161158.GB9376@saturn> <5136F918.70105@qeng-ho.org> <20130306232750.GA25598@saturn> Message-ID: <6D7C4F7F-B392-49E8-83A6-ACC61803E378@gmail.com> Gentlemen, The library (/lib/libz.so.6) in FreeBSD 9.1R does seem to have Zlib 1.2.4 based on the complaints from the following at least: libarchive.so.* libssh.so.* grep gzip I've provided objdump -p output from my machine: ---------------------------------------------------------------- fBSD9# objdump -p libz.so.6 libz.so.6: file format elf32-i386-freebsd Program Header: LOAD off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12 filesz 0x000124c4 memsz 0x000124c4 flags r-x LOAD off 0x000124c4 vaddr 0x000134c4 paddr 0x000134c4 align 2**12 filesz 0x000002e0 memsz 0x000002e4 flags rw- DYNAMIC off 0x00012588 vaddr 0x00013588 paddr 0x00013588 align 2**2 filesz 0x000000d8 memsz 0x000000d8 flags rw- STACK off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2 filesz 0x00000000 memsz 0x00000000 flags rw- Dynamic Section: NEEDED libc.so.7 SONAME libz.so.6 INIT 0x13f0 FINI 0xe1b4 HASH 0xb4 STRTAB 0xaec SYMTAB 0x3fc STRSZ 0x49f SYMENT 0x10 PLTGOT 0x1367c PLTRELSZ 0x1b0 PLTREL 0x11 JMPREL 0x1240 REL 0x1130 RELSZ 0x110 RELENT 0x8 VERDEF 0x106c VERDEFNUM 0x5 VERNEED 0x1110 VERNEEDNUM 0x1 VERSYM 0xf8c RELCOUNT 0x1e Version definitions: 1 0x01 0x09d5f4e6 libz.so.6 2 0x00 0x07e5cf30 ZLIB_1.2.4.0 3 0x00 0x053ecdd0 ZLIBprivate_1.0 ZLIB_1.2.4.0 4 0x00 0x07e5c230 ZLIB_1.2.7.0 ZLIB_1.2.4.0 5 0x00 0x077a28b2 FBSD_1.2 ZLIB_1.2.4.0 Version References: required from libc.so.7: 0x077a28b0 0x00 06 FBSD_1.0 fBSD9# uname -r 9.1-RELEASE ---------------------------------------------------------------- If Zlib 1.2.7 were installed independently from tar.gz downloaded from zlib.net site, it produces, /usr/local/lib/libz.so.1.2.7 which is different from /lib/libz.so.6 of course. But this installs a /usr/local/include/zlib.h that is identical to /usr/src/lib/libz/zlib.h as well as /usr/include/zlib.h The complaint mentioned before from dependent objects like libarchive that the "/lib/libz.so.6 containing ZLIB_1_2_4 is missing" results if one removes /lib/libz.so.6 and replaces with a symlink to the new version like: /lib/libz.so.6 --> /usr/local/lib/libz.so.1.2.7 Given the version definitions from the objdump -p of the original /lib/libz.so.6 that was installed as part of a fresh, clean install of FreeBSD 9.1R, as provided above, any thoughts on the Zlib version actually baked into the release please? Thanks. Kris On Mar 6, 2013, at 5:27 PM, Giorgos Keramidas wrote: > On 2013-03-06 08:06, Arthur Chance wrote: >> On 03/05/13 16:12, Giorgos Keramidas wrote: >>> On 2013-03-04 07:28, KrisUniverse wrote: >>>> The Zlib baked into FreeBSD is Zlib 1.2.4 even on 9.1R. >>>> >>>> However, Zlib has gone to 1.2.7 sometime ago after stepping through >>>> 1.2.5, 1.2.6 and 1.2.7 with bug fixes. >>>> >>>> Is there any reason for not using Zlib 1.2.7? >>> >>> I don't have a 9.1-RELEASE system nearby, but I think zlib 1.2.7 _should_ >>> already be there... Are you sure it's still an old version? >> >> On my machine: >> >> # uname -r >> 9.1-RELEASE >> >> [It's actually -p1 but I've not bothered replacing the kernel as the >> problems were in user space.] >> >> # grep 'define ZLIB_VERSION' /usr/src/lib/libz/zlib.h >> #define ZLIB_VERSION "1.2.7" > > That's what I'd expect. Thanks :) > From dweimer at dweimer.net Fri Mar 8 20:34:39 2013 From: dweimer at dweimer.net (dweimer) Date: Fri, 08 Mar 2013 14:34:31 -0600 Subject: FreeBSD Squid 3.2 Reverse Proxy with HTTPS Message-ID: <76f3b5bb87262230095c8b3c322aecb7@dweimer.net> I am stuck in a kind of desperate situation, I have been managing several FreeBSD systems as forward proxy servers with Squid on them for 13 years, and a few with reverse proxies for around 4 years. But for the last few months, I have been struggling with HTTPS uploads failing on the reverse proxies. I have personally built and destroyed over 20 virtual machines, and spent countless hours on this. Every time duplicating the problem, no matter how basic I strip the process down, I have tried FreeBSD 8.3, 9.0, 9.1, with Squid 3.2.6, 3.2.7, 3.2.8, and a couple different versions of the Squid 3.1 port. Everything installs without errors, services all start, pages load all looks great, until you try to do a POST on HTTPS. I thought at first it was just when the size was over a certain amount, but that turned out to be a wrong assumption. I have a test scenario that can duplicate the problem with exact same results every time. In the end my test is just simple HTML form that submits a file to a PHP script that saves it. I have a directory of 7 .png image files that are screenshots from some documentation I wrote for our PC support desk. 3 of the files upload successfully, and 4 of them fail. Its the same 3 and 4 every time, I can't find any thing in common between that ones that succeed and fail. They will all work if you use http going to the same exact HTML form and PHP script. If I remove Squid and go directly to the Apache process using HTTPS all files upload fine. After a lot of debugging, and painstakingly reading very long Squid debugging logs. I found out that Squid appears to continue waiting for the end of the file after the client browser has stopped sending data, for almost 5 minutes, before just returning complete, and not actually submitting the file to the Apache process. If you actually stop the browser while its sitting there waiting for a response, the file gets submitted to Apache process and saves successfully. I have a couple existing production servers that are running 9.0, with Squid 3.1.21, that are working, but I am in desperate need of updating them to meet requirements. I have posted several messages to the Squid mailing list, received some initial suggestions that didn't get anywhere, but I haven't been able to get any more help. I am hoping to find someone else out there that is running FreeBSD with Squid in a Reverse proxy setup with HTTPS that has not ran into this issue and is willing to share configurations with me, so I can possibly find out what's wrong with my setup. Or if you have also ran into this issue, perhaps we can share notes and possibly find something to will make it possible to file a bug report somewhere. Even though I can reproduce this without fail none of my debugging output actually gives an error, it just doesn't behave correctly. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From norgaard at locolomo.org Sat Mar 9 00:01:03 2013 From: norgaard at locolomo.org (=?ISO-8859-1?Q?Erik_N=F8rgaard?=) Date: Sat, 09 Mar 2013 00:53:27 +0100 Subject: What is your favorite board for a micro system? Message-ID: <513A79F7.8030203@locolomo.org> Hi! What is your favorite mini/micro/nano/pico-itx platform for home projects? I currently run a home server on an Intel mini-itx board but was looking around for something fun to play with with the following specs: - mini-itx or smaller, low profile - fanless - low power 12V external PSU - 1 LAN, preferably 2 - 2 USB2/3 - Flash bootable, but with option for hdd boot - GPIO would be fun - hdmi out would be nice I have tried VIA boards but found they were flacky... Any suggestion regarding ARM vs Intel based? Thanks, Erik -- M: +34 666 334 818 T: +34 915 211 157 From v.velox at vvelox.net Sat Mar 9 03:34:07 2013 From: v.velox at vvelox.net (Zane C. B-H.) Date: Fri, 8 Mar 2013 21:23:08 -0600 Subject: What is your favorite board for a micro system? In-Reply-To: <513A79F7.8030203@locolomo.org> References: <513A79F7.8030203@locolomo.org> Message-ID: <20130308212308.0784bbfc@vixen42.vulpes.vvelox.net> On Sat, 09 Mar 2013 00:53:27 +0100 Erik N?rgaard wrote: > Hi! > > What is your favorite mini/micro/nano/pico-itx platform for home > projects? > > I currently run a home server on an Intel mini-itx board but was > looking around for something fun to play with with the following > specs: > > - mini-itx or smaller, low profile > - fanless > - low power 12V external PSU > - 1 LAN, preferably 2 > - 2 USB2/3 > - Flash bootable, but with option for hdd boot > - GPIO would be fun > - hdmi out would be nice > > I have tried VIA boards but found they were flacky... > > Any suggestion regarding ARM vs Intel based? Can't think of any off hand in that small of form factor, but I strongly suggest looking to see what you can find running an Intel Atom. I've been very happy with those and their related chipsets so far for microATX boards. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available URL: From bc979 at lafn.org Sat Mar 9 04:43:42 2013 From: bc979 at lafn.org (Doug Hardie) Date: Fri, 8 Mar 2013 20:43:38 -0800 Subject: What is your favorite board for a micro system? In-Reply-To: <513A79F7.8030203@locolomo.org> References: <513A79F7.8030203@locolomo.org> Message-ID: <0C236BF3-7BFB-41B7-B627-3D607818BAF5@lafn.org> On 8 March 2013, at 15:53, Erik N?rgaard wrote: > Hi! > > What is your favorite mini/micro/nano/pico-itx platform for home projects? > > I currently run a home server on an Intel mini-itx board but was looking around for something fun to play with with the following specs: > > - mini-itx or smaller, low profile > - fanless > - low power 12V external PSU > - 1 LAN, preferably 2 > - 2 USB2/3 > - Flash bootable, but with option for hdd boot > - GPIO would be fun > - hdmi out would be nice > > I have tried VIA boards but found they were flacky... > > Any suggestion regarding ARM vs Intel based? Look at the Mac Mini. Only has one LAN though. It does have a fan but I have never had it come on. Runs 9.1 (amd or i386) although booting is currently a challenge. I am working on that. It does require 120 VAC though. From mapsware at prodigy.net.mx Sat Mar 9 05:37:46 2013 From: mapsware at prodigy.net.mx (Martin Alejandro Paredes Sanchez) Date: Fri, 8 Mar 2013 22:36:57 -0700 Subject: What is your favorite board for a micro system? In-Reply-To: <513A79F7.8030203@locolomo.org> References: <513A79F7.8030203@locolomo.org> Message-ID: <201303082237.19872.mapsware@prodigy.net.mx> On Friday 08 March 2013 16:53:27 Erik N?rgaard wrote: > Hi! > > What is your favorite mini/micro/nano/pico-itx platform for home projects? > > I currently run a home server on an Intel mini-itx board but was looking > around for something fun to play with with the following specs: > > - mini-itx or smaller, low profile > - fanless > - low power 12V external PSU > - 1 LAN, preferably 2 > - 2 USB2/3 > - Flash bootable, but with option for hdd boot > - GPIO would be fun > - hdmi out would be nice > > I have tried VIA boards but found they were flacky... > > Any suggestion regarding ARM vs Intel based? > > Thanks, Erik http://www.pandaboard.org/ http://beagleboard.org/ From wblock at wonkity.com Sat Mar 9 06:19:25 2013 From: wblock at wonkity.com (Warren Block) Date: Fri, 8 Mar 2013 23:19:23 -0700 (MST) Subject: What is your favorite board for a micro system? In-Reply-To: <20130308212308.0784bbfc@vixen42.vulpes.vvelox.net> References: <513A79F7.8030203@locolomo.org> <20130308212308.0784bbfc@vixen42.vulpes.vvelox.net> Message-ID: On Fri, 8 Mar 2013, Zane C. B-H. wrote: > On Sat, 09 Mar 2013 00:53:27 +0100 > Erik N?rgaard wrote: > >> Hi! >> >> What is your favorite mini/micro/nano/pico-itx platform for home >> projects? >> >> I currently run a home server on an Intel mini-itx board but was >> looking around for something fun to play with with the following >> specs: >> >> - mini-itx or smaller, low profile >> - fanless >> - low power 12V external PSU >> - 1 LAN, preferably 2 >> - 2 USB2/3 >> - Flash bootable, but with option for hdd boot >> - GPIO would be fun >> - hdmi out would be nice >> >> I have tried VIA boards but found they were flacky... >> >> Any suggestion regarding ARM vs Intel based? > > Can't think of any off hand in that small of form factor, but I > strongly suggest looking to see what you can find running an Intel > Atom. I've been very happy with those and their related chipsets so > far for microATX boards. An interesting mini-ITX board was brought up in the forums recently: https://forums.freebsd.org/showthread.php?t=38255 Four Ethernet ports! It does have a fan, though. From emorrasg at yahoo.es Sat Mar 9 09:53:55 2013 From: emorrasg at yahoo.es (Eduardo Morras) Date: Sat, 9 Mar 2013 10:54:00 +0100 Subject: How to know % of read file in cat? Message-ID: <20130309105400.b181e12aa222502974715a1b@yahoo.es> Hello, I use cat to read a file and pass it to another app, the command is this: camibar% cat file.git | fossil import --git file.fossil It takes a lot of time, file.git is 12GB, and i want to know if there's some 'magic' trick can I use to show me how many bytes or the % of the file.git cat sent to the other app. Maybe cat isn't the correct tool? Thanks. --- --- Eduardo Morras From guru at unixarea.de Sat Mar 9 10:11:36 2013 From: guru at unixarea.de (Matthias Apitz) Date: Sat, 9 Mar 2013 11:11:26 +0100 Subject: How to know % of read file in cat? In-Reply-To: <20130309105400.b181e12aa222502974715a1b@yahoo.es> References: <20130309105400.b181e12aa222502974715a1b@yahoo.es> Message-ID: <20130309101126.GA2609@tinyCurrent> El d?a Saturday, March 09, 2013 a las 10:54:00AM +0100, Eduardo Morras escribi?: > > Hello, > > I use cat to read a file and pass it to another app, the command is this: > > camibar% cat file.git | fossil import --git file.fossil > > It takes a lot of time, file.git is 12GB, and i want to know if there's some 'magic' trick can I use to show me how many bytes or the % of the file.git cat sent to the other app. > > Maybe cat isn't the correct tool? Yes, in your case cat(1) is superflues (see also the Useless Use of Cat Award) because the correct way would be: camibar% fossil import --git file.fossil < file.git It depends of the tool 'fossil' if you can monitor somehow the progress, for example if it writes a log or with accounting tools how many bytes have been read, etc. HIH matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru at unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From nukama at gmail.com Sat Mar 9 10:16:12 2013 From: nukama at gmail.com (Hakisho Nukama) Date: Sat, 9 Mar 2013 10:16:10 +0000 Subject: How to know % of read file in cat? In-Reply-To: <20130309105400.b181e12aa222502974715a1b@yahoo.es> References: <20130309105400.b181e12aa222502974715a1b@yahoo.es> Message-ID: On Sat, Mar 9, 2013 at 9:54 AM, Eduardo Morras wrote: > > Hello, > > I use cat to read a file and pass it to another app, the command is this: > > camibar% cat file.git | fossil import --git file.fossil > > It takes a lot of time, file.git is 12GB, and i want to know if there's some 'magic' trick can I use to show me how many bytes or the % of the file.git cat sent to the other app. > > Maybe cat isn't the correct tool? > > Thanks. > > > --- --- > Eduardo Morras > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" Hello Eduardo Morras, try hitting CTRL+T while running a command to show some process information. Best Regards, Hakisho Nukama From freebsd at edvax.de Sat Mar 9 10:41:38 2013 From: freebsd at edvax.de (Polytropon) Date: Sat, 9 Mar 2013 11:41:34 +0100 Subject: How to know % of read file in cat? In-Reply-To: <20130309105400.b181e12aa222502974715a1b@yahoo.es> References: <20130309105400.b181e12aa222502974715a1b@yahoo.es> Message-ID: <20130309114134.eb42ba2f.freebsd@edvax.de> On Sat, 9 Mar 2013 10:54:00 +0100, Eduardo Morras wrote: > > Hello, > > I use cat to read a file and pass it to another app, the command is this: > > camibar% cat file.git | fossil import --git file.fossil > > It takes a lot of time, file.git is 12GB, and i want to know if > there's some 'magic' trick can I use to show me how many bytes > or the % of the file.git cat sent to the other app. > > Maybe cat isn't the correct tool? Your example could be considered a "useless use of cat", because you could have used the < redirection instead. However, if the _actual_ program you're running, fossil, has an option for a verbose output or progress indicator, I would suggest using this (maybe "man fossil" lists something like -v). There are also tools that act on SIGINT or SIGINFO. This signal can be sent by pressing Ctrl-T. Maybe fossil also outputs a status message? Offering a percentage of how much of a file has been read would imply knowledge about the size of the file. The construct cat | fossil does not provide fossil with that information or even the file name in question. But obtaining the amount of data processed should be possible somehow. PS. cat-less command: fossil import --git file.fossil < file.git -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From emorrasg at yahoo.es Sat Mar 9 11:24:19 2013 From: emorrasg at yahoo.es (Eduardo Morras) Date: Sat, 9 Mar 2013 12:24:25 +0100 Subject: What is your favorite board for a micro system? In-Reply-To: <513A79F7.8030203@locolomo.org> References: <513A79F7.8030203@locolomo.org> Message-ID: <20130309122425.b019dad203789ba4fd6bcd1a@yahoo.es> On Sat, 09 Mar 2013 00:53:27 +0100 Erik N?rgaard wrote: > Hi! > > What is your favorite mini/micro/nano/pico-itx platform for home projects? > > I currently run a home server on an Intel mini-itx board but was looking > around for something fun to play with with the following specs: > > - mini-itx or smaller, low profile > - fanless > - low power 12V external PSU > - 1 LAN, preferably 2 > - 2 USB2/3 > - Flash bootable, but with option for hdd boot > - GPIO would be fun > - hdmi out would be nice > > I have tried VIA boards but found they were flacky... > > Any suggestion regarding ARM vs Intel based? > I'm playing now with GK802, an arm based one. Freebsd don't run on it :( and LAN is wifi b/g/n + bluetooth https://www.miniand.com/products/GK802%20Android%20Mini%20PC The advantage over similar ones is that internal flash memory is a micro sd card, so you can build your os on other machine "plug it in" > Thanks, Erik > > -- > M: +34 666 334 818 > T: +34 915 211 157 > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" --- --- Eduardo Morras From emorrasg at yahoo.es Sat Mar 9 11:26:36 2013 From: emorrasg at yahoo.es (Eduardo Morras) Date: Sat, 9 Mar 2013 12:26:42 +0100 Subject: How to know % of read file in cat? In-Reply-To: <20130309101126.GA2609@tinyCurrent> References: <20130309105400.b181e12aa222502974715a1b@yahoo.es> <20130309101126.GA2609@tinyCurrent> Message-ID: <20130309122642.c1112d80f8c8c671b10ea87f@yahoo.es> On Sat, 9 Mar 2013 11:11:26 +0100 Matthias Apitz wrote: > Yes, in your case cat(1) is superflues (see also the Useless Use of Cat > Award) because the correct way would be: > > camibar% fossil import --git file.fossil < file.git > > It depends of the tool 'fossil' if you can monitor somehow the progress, > for example if it writes a log or with accounting tools how many bytes > have been read, etc. No, it doesn't show any output or log about how many bytes has been processed or in what state of import is it. Nothing is shown. I'm going to modify fossil so it writes to output how many lines has been processed, it's trivial and i think enough. A wc -l file.git shows 430 millions of lines. Thanks to all --- --- Eduardo Morras From jerry at seibercom.net Sat Mar 9 11:54:08 2013 From: jerry at seibercom.net (Jerry) Date: Sat, 9 Mar 2013 06:54:04 -0500 Subject: fbsdmon error message Message-ID: <20130309065404.45bece21@scorpio> After working fine for over a year, the "ports-mgmt/fbsdmon" port has started spitting out errors once a week for the past month. ********************************************************************** Rebuilding locate database: Rebuilding whatis database: makewhatis: /usr/local/man/man3/EVP_PKEY_verifyrecover_init.3.gz: No such file or directory Sending statistic to fbsdmon.org -- End of weekly output -- ********************************************************************* This line is from the "/etc/periodic.conf" file. weekly_fbsdmon_enable="YES" Has anyone else experienced this problem? -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From simon at qxnitro.org Sat Mar 9 14:48:26 2013 From: simon at qxnitro.org (Simon L. B. Nielsen) Date: Sat, 9 Mar 2013 14:48:24 +0000 Subject: https://wiki.freebsd.org/ certificate error In-Reply-To: <20130302074816.GA61133@icarus.home.lan> References: <20130302074816.GA61133@icarus.home.lan> Message-ID: On 2 March 2013 07:48, Jeremy Chadwick wrote: > (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.) > [...] > 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. AFAIR the problem is that some crypto library on Windows XP does not support SNI. IE uses it, Firefox and others probably don't. > 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. I agree that SNI is suboptimal, unfortunately it was the best of bad solutions: - We just don't have enough IPv4 addresses to dedicate one per virtual hostname. - We could use IPv6 only which means excluding even more "legacy" clients. - Bundling all sites under www.freebsd.org creates problems with cookies, more pain in configuration, and less flexibility in moving things around. - Using SubjectAlternatName (SAN) certificates where strongly considered, but fewer CA's support them (most have no clue) and it becomes a lot more painful to add new hosts. Those are also not fully supported by all older OS'es still in use. -- Simon L. B. Nielsen From freebsd at qeng-ho.org Sat Mar 9 14:50:39 2013 From: freebsd at qeng-ho.org (Arthur Chance) Date: Sat, 09 Mar 2013 14:50:27 +0000 Subject: What is your favorite board for a micro system? In-Reply-To: <513A79F7.8030203@locolomo.org> References: <513A79F7.8030203@locolomo.org> Message-ID: <513B4C33.2020307@qeng-ho.org> On 03/08/13 23:53, Erik N?rgaard wrote: > Hi! > > What is your favorite mini/micro/nano/pico-itx platform for home projects? > > I currently run a home server on an Intel mini-itx board but was looking > around for something fun to play with with the following specs: > > - mini-itx or smaller, low profile > - fanless > - low power 12V external PSU > - 1 LAN, preferably 2 > - 2 USB2/3 > - Flash bootable, but with option for hdd boot > - GPIO would be fun > - hdmi out would be nice > > I have tried VIA boards but found they were flacky... > > Any suggestion regarding ARM vs Intel based? Depending exactly how small you want it, how about a Raspberry Pi Model B? Dirt cheap, 1 LAN, but you can add others via USB if you want (although it will never be high performance), 2 USB, HDMI output, GPIO, boot from SD card. Even runs FreeBSD (although still being developed). From iamatt at gmail.com Sat Mar 9 15:51:54 2013 From: iamatt at gmail.com (iamatt) Date: Sat, 9 Mar 2013 09:51:52 -0600 Subject: What is your favorite board for a micro system? In-Reply-To: <513B4C33.2020307@qeng-ho.org> References: <513A79F7.8030203@locolomo.org> <513B4C33.2020307@qeng-ho.org> Message-ID: On Sat, Mar 9, 2013 at 8:50 AM, Arthur Chance wrote: > On 03/08/13 23:53, Erik N?rgaard wrote: >> >> Hi! >> >> What is your favorite mini/micro/nano/pico-itx platform for home projects? >> >> I currently run a home server on an Intel mini-itx board but was looking >> around for something fun to play with with the following specs: >> >> - mini-itx or smaller, low profile >> - fanless >> - low power 12V external PSU >> - 1 LAN, preferably 2 >> - 2 USB2/3 >> - Flash bootable, but with option for hdd boot >> - GPIO would be fun >> - hdmi out would be nice >> >> I have tried VIA boards but found they were flacky... >> >> Any suggestion regarding ARM vs Intel based? > > > Depending exactly how small you want it, how about a Raspberry Pi Model B? > Dirt cheap, 1 LAN, but you can add others via USB if you want (although it > will never be high performance), 2 USB, HDMI output, GPIO, boot from SD > card. Even runs FreeBSD (although still being developed). > Hello, Been running Freebsd on an intel D525 as suggested by a mailing list user over a year ago. This box has been running great with the exception of 9.1 not detecting the onboard ethernet. Currently running jails on it, http, mail, mincraft server for the kids, and some others. FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 CPU: Intel(R) Atom(TM) CPU D525 @ 1.80GHz (1800.10-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x106ca Family = 6 Model = 1c Stepping = 10 Features=0xbfebfbff Features2=0x40e31d AMD Features=0x20100800 AMD Features2=0x1 TSC: P-state invariant, performance statistics I also have a raspberry pi B which I use to stream video and music from a jail on my 525 but it is not freebsd. OpenBSD-current on soekris 5501 has been running flawless for years too Lastly I have a beagleboard system which I won that is not doing anything but I do hear that netbsd guys can boot on it. Haven't tried atm. There are options out there for sure. The D525 was under 100 USD , not including case and some misc. parts. From mark at exonetric.com Sat Mar 9 16:47:26 2013 From: mark at exonetric.com (Mark Blackman) Date: Sat, 9 Mar 2013 16:38:41 +0000 Subject: no 9.1-release packages? In-Reply-To: <20130307155253.GA24876@eris.bzerk.org> References: <20130307155253.GA24876@eris.bzerk.org> Message-ID: <955DBA31-0BBD-4CFD-84A0-D0FB50886BFB@exonetric.com> On 7 Mar 2013, at 15:52, Ruben de Groot wrote: > > Hi, > > I just rented a 9.1-release VPS and was trying to install some packages. > This however does not work as there is no directory "packages-9.1-release" on the ftp server (ftp.freebsd.org). Why is this? > If you're prepared to move to pkgng for binary packages, https://wiki.freebsd.org/pkgng There's an unofficial pkgng format repository of binary packages available After installing pkgng (from ports), then edit your /usr/local/etc/pkg.conf to use this line. PACKAGESITE : http://mirror.exonetric.net/pub/pkgng/${ABI}/latest - Mark From leeoliveshackelford at surewest.net Sat Mar 9 20:11:10 2013 From: leeoliveshackelford at surewest.net (leeoliveshackelford at surewest.net) Date: Sat, 9 Mar 2013 12:07:41 -0800 (PST) Subject: FreeBSD 9 and Windows XP Message-ID: <20130309120741.DED57767@ms5.mc.surewest.net> Good afternoon, FreeBSD enthusiasts. Can FreeBSD 9.1 be installed on a computer on which Windows XP currently resides? If so, how can this installation be done? In particular, is there a way to install 9.1 so that it can be booted from the traditional master boot record? It is important that, when I am done, I can still boot to Windows XP, as I must run some applications not available on FreeBSD. If the idea I am proposing is not feasible with version 9.1, will it work with 8.3? Any comments are appreciated. If this question has already been asked many times before, please just let me know where to look to find the answer. Thanks. Newbie502 From v.velox at vvelox.net Sat Mar 9 20:26:44 2013 From: v.velox at vvelox.net (Zane C. B-H.) Date: Sat, 9 Mar 2013 14:25:09 -0600 Subject: FreeBSD 9 and Windows XP In-Reply-To: <20130309120741.DED57767@ms5.mc.surewest.net> References: <20130309120741.DED57767@ms5.mc.surewest.net> Message-ID: <20130309142509.78e62c3c@vixen42.vulpes.vvelox.net> On Sat, 9 Mar 2013 12:07:41 -0800 (PST) wrote: > Good afternoon, FreeBSD enthusiasts. Can FreeBSD 9.1 be installed > on a computer on which Windows XP currently resides? If so, how > can this installation be done? In particular, is there a way to > install 9.1 so that it can be booted from the traditional master > boot record? It is important that, when I am done, I can still > boot to Windows XP, as I must run some applications not available > on FreeBSD. If the idea I am proposing is not feasible with > version 9.1, will it work with 8.3? Any comments are appreciated. > If this question has already been asked many times before, please > just let me know where to look to find the answer. Thanks. > Newbie502 When I did it, I shrunk the Windows partition and installed FreeBSD to the a new partition created on the free space of the drive. The multiboot version of the MBR stuff for FreeBSD should be able to handle it for you with out issue. I've not done it with 9.1, but when I did it with 6 way back when, it worked nicely. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available URL: From freebsd at edvax.de Sat Mar 9 20:27:48 2013 From: freebsd at edvax.de (Polytropon) Date: Sat, 9 Mar 2013 21:27:45 +0100 Subject: FreeBSD 9 and Windows XP In-Reply-To: <20130309120741.DED57767@ms5.mc.surewest.net> References: <20130309120741.DED57767@ms5.mc.surewest.net> Message-ID: <20130309212745.c875489b.freebsd@edvax.de> On Sat, 9 Mar 2013 12:07:41 -0800 (PST), leeoliveshackelford at surewest.net wrote: > Good afternoon, FreeBSD enthusiasts. Can FreeBSD 9.1 be > installed on a computer on which Windows XP currently > resides? Yes. > If so, how can this installation be done? First of all, you need a tool to make disk space available; you can do this by adding an additional hard disk, or by resizing the "Windows" partition. As "Windows" does not seem to provide native tools to do this, you will have to download a live system CD that contains a partition management tool such as GParted; the UBCD live system CD contains such a tool, if I remember correctly. There are also dedicated boot CDs for this task, I think "Partition Magic" is one of them. (Sorry I can't be more specific, I have only limited experience with dual-booting and the need to use such tools.) > In particular, is there a way to install 9.1 so that it > can be booted from the traditional master boot record? In the installer, install the boot manager. This will allow you to select if to boot FreeBSD or "Windows" when the system has started. > It is important that, when I am done, I can still boot to > Windows XP, as I must run some applications not available > on FreeBSD. That's the purpose of such a tool. :-) > If the idea I am proposing is not feasible with version 9.1, > will it work with 8.3? If I remember correctly, it has already been working in much older versions (such as 5.0). The old installer (sysinstall) had three options for dealing with the MBR: write a standard MBR (will boot FreeBSD, typically used on a system that runs this OS dedicatedly), install the boot manager (allows to select what to boot), or leave the MBR untouched (will require booting by a different means). The new installer (bsdinstall) offers similar options. > If this question has already been asked many times before, > please just let me know where to look to find the answer. Check The FreeBSD Handbook for detailed instructions about the new installer. This will also cover dual-booting. http://www.freebsd.org/doc/en/books/handbook/index.html http://www.freebsd.org/doc/faq/disks.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From aimass at yabarana.com Sat Mar 9 20:30:58 2013 From: aimass at yabarana.com (Alejandro Imass) Date: Sat, 9 Mar 2013 15:30:56 -0500 Subject: FreeBSD 9 and Windows XP In-Reply-To: <20130309120741.DED57767@ms5.mc.surewest.net> References: <20130309120741.DED57767@ms5.mc.surewest.net> Message-ID: On Sat, Mar 9, 2013 at 3:07 PM, wrote: > Good afternoon, FreeBSD enthusiasts. Can FreeBSD 9.1 be installed on a computer on which Windows XP currently resides? As others have already answered, yes. The risks are minimal if you are careful but you will always have the risk of breaking something so make a backup of your XP before doing _anything_. Also, even before doing that, run a de-fragmenter. -- Alejandro Imass From info.mardorf at rocketmail.com Sat Mar 9 20:49:35 2013 From: info.mardorf at rocketmail.com (Ralf Mardorf) Date: Sat, 09 Mar 2013 21:49:29 +0100 Subject: FreeBSD 9 and Windows XP In-Reply-To: <20130309212745.c875489b.freebsd@edvax.de> References: <20130309120741.DED57767@ms5.mc.surewest.net> <20130309212745.c875489b.freebsd@edvax.de> Message-ID: <1362862169.593.110.camel@archlinux> On Sat, 2013-03-09 at 21:27 +0100, Polytropon wrote: > "Partition Magic" I would avoid to use proprietary software, ntfs, fat16 and fat32 are full supported by Linux gparted, available for free as in beer at http://partedmagic.com as a live media. Perhaps you need to defragment the Windows partitions first. You need to add a primary partition for FreeBSD, an extended partition with logical partitions can't be used to install FreeBSD. I've got FreeBSD and tons of Linux installed, no Windows. However, my partition table is MBR based, as yours. Gparted can't create the FreeBSD slice, you need to do this with e.g. the FreeBSD installer. I had to use 8.3 and than to update to 9.1, I tested 9.0 first, but I couldn't create the slice, resp. the partitions in that slice. Hth, Ralf -- http://sacom.hk/mission From freebsd at edvax.de Sat Mar 9 21:42:26 2013 From: freebsd at edvax.de (Polytropon) Date: Sat, 9 Mar 2013 22:42:28 +0100 Subject: FreeBSD 9 and Windows XP In-Reply-To: <1362862169.593.110.camel@archlinux> References: <20130309120741.DED57767@ms5.mc.surewest.net> <20130309212745.c875489b.freebsd@edvax.de> <1362862169.593.110.camel@archlinux> Message-ID: <20130309224228.0b3ada80.freebsd@edvax.de> On Sat, 09 Mar 2013 21:49:29 +0100, Ralf Mardorf wrote: > On Sat, 2013-03-09 at 21:27 +0100, Polytropon wrote: > > "Partition Magic" > > I would avoid to use proprietary software, ntfs, fat16 and fat32 are > full supported by Linux gparted, available for free as in beer at > http://partedmagic.com as a live media. Thanks for mentioning it - "Parted Magic" was the project I was actually refering to. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From gmx at ross.cx Sat Mar 9 22:24:43 2013 From: gmx at ross.cx (Michael Ross) Date: Sat, 09 Mar 2013 23:24:27 +0100 Subject: FreeBSD 9 and Windows XP In-Reply-To: <20130309212745.c875489b.freebsd@edvax.de> References: <20130309120741.DED57767@ms5.mc.surewest.net> <20130309212745.c875489b.freebsd@edvax.de> Message-ID: On Sat, 09 Mar 2013 21:27:45 +0100, Polytropon wrote: > On Sat, 9 Mar 2013 12:07:41 -0800 (PST), > leeoliveshackelford at surewest.net wrote: >> Good afternoon, FreeBSD enthusiasts. Can FreeBSD 9.1 be >> installed on a computer on which Windows XP currently >> resides? > > Yes. > > > >> If so, how can this installation be done? > > First of all, you need a tool to make disk space available; > you can do this by adding an additional hard disk, or by > resizing the "Windows" partition. As "Windows" does not > seem to provide native tools to do this I may misremember, but Win7 does have a functional "shrink drive" in the drive administration console, and I do think that was there in XP already. Michael From modulok at gmail.com Sat Mar 9 22:34:19 2013 From: modulok at gmail.com (Modulok) Date: Sat, 9 Mar 2013 15:34:17 -0700 Subject: Revoke a DHCP lease early? Message-ID: List, I'm running isc-dhcpd to serve leases to clients. Is there a way to expire a lease before it normally would, i.e. force a client to re-negotiate a lease early? Perhaps some shell command akin to the following (which would be nice, but obviously doesn't work):: dhcpd --revoke 192.168.1.24 How do you revoke a client's lease prematurely? Thanks. -Modulok- From keramida at ceid.upatras.gr Sat Mar 9 22:50:05 2013 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sat, 09 Mar 2013 23:49:59 +0100 Subject: backups using rsync In-Reply-To: <20130305203022.Horde.dksye196oEwlUQ41iOTg2Q9@d2ux.org> (Matthias Petermann's message of "Tue, 05 Mar 2013 20:30:22 +0100") References: <6126.1362396930@server1.tristatelogic.com> <20130305160021.GA9376@saturn> <20130305203022.Horde.dksye196oEwlUQ41iOTg2Q9@d2ux.org> Message-ID: <87vc902noo.fsf@kobe.laptop> On Tue, 05 Mar 2013 20:30:22 +0100, Matthias Petermann wrote: > Hello, > Zitat von Giorgos Keramidas : > >> If this is a UFS2 filesystem, it may be a good idea to snapshot the >> filesystem, and then rsync-backup the snapshot instead. > > Last time I tried UFS2 snapshots I found out two serious limitations. > The first is it doesn't work when UFS Journaling is used. The second is > that taking a snapshop on a large filesystem can cause parts of the > system to freeze for many minutes up to hours when accessing files > part of the snapshot, depending on the size of the filesystem. > That's why I could not use it on my server with > 1TB UFS2. > > Did this improve in the last year? (I guess my experience is from the > time around 9.0 release). Hi Matthias, Unfortunately I don't know if snapshots for such large filesystems are faster now. I've only used UFS2 snapshots in about 10x times smaller filesystems here. From fbsd8 at a1poweruser.com Sat Mar 9 23:25:28 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Sat, 09 Mar 2013 18:25:22 -0500 Subject: svn & new pkg system Message-ID: <513BC4E2.4040708@a1poweruser.com> Is svn going to become part of the base system in 9.2-RELEASE? Is the new pkg system going to totally replace the pkg_ system in the base 9.2-Release? From mexas at bristol.ac.uk Sat Mar 9 23:55:37 2013 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Sat, 9 Mar 2013 23:55:27 GMT Subject: how to forbid a process to use swap? Message-ID: <201303092355.r29NtRX4015510@mech-cluster241.men.bris.ac.uk> I run a program that uses large arrays. I don't want it to use swap, because it's too slow. I want the program to fail when there's not enough RAM, rather than using swap. How to do this? Is it something to do with these kernel variables: kern.dfldsiz: 34359738368 kern.dflssiz: 8388608 kern.maxdsiz: 34359738368 kern.maxssiz: 536870912 kern.maxtsiz: 134217728 Many thanks Anton From keramida at ceid.upatras.gr Sat Mar 9 23:57:31 2013 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sun, 10 Mar 2013 00:57:25 +0100 Subject: svn & new pkg system In-Reply-To: <513BC4E2.4040708@a1poweruser.com> (fbsd8@a1poweruser.com's message of "Sat, 09 Mar 2013 18:25:22 -0500") References: <513BC4E2.4040708@a1poweruser.com> Message-ID: <87ppz8ceje.fsf@kobe.laptop> On Sat, 09 Mar 2013 18:25:22 -0500, Fbsd8 wrote: > Is svn going to become part of the base system in 9.2-RELEASE? No. Subversion is a large system, with a ton of dependencies, and there's basically _nothing_ to gain by having to spend extra effort trying to keep an imported version up to date. Having svn-X.0 in the source tree, imported at great expense of time and effort, will provide exactly _zero_ benefits if the underlying format of the repository changes (like subversion likes doing really often). On the other hand, installing subversion from the ports or even from the precompiled packages is always going to work, and we're always going to have a port for it as long as it's a tool that's required to work with the source tree of the system. > Is the new pkg system going to totally replace the pkg_ system in the > base 9.2-Release? I think so. But I have to check to be sure. From tamino at wolfhut.org Sun Mar 10 00:07:49 2013 From: tamino at wolfhut.org (Ben Cottrell) Date: Sat, 9 Mar 2013 16:07:41 -0800 Subject: how to forbid a process to use swap? In-Reply-To: <201303092355.r29NtRX4015510@mech-cluster241.men.bris.ac.uk> References: <201303092355.r29NtRX4015510@mech-cluster241.men.bris.ac.uk> Message-ID: <4E64D344-5552-444B-B915-A0773A848379@wolfhut.org> On Mar 9, 2013, at 15:55, Anton Shterenlikht wrote: > I run a program that uses large arrays. > I don't want it to use swap, because it's > too slow. I want the program to fail when > there's not enough RAM, rather than using > swap. How to do this? If it were me I would start with mlockall() and work from there... do you have source code to the program in question? You could also play with resource limits, just from the shell (ulimit in sh, limit in csh) -- but that's less of an exact science, since you don't *know* for sure how much memory the process will be able to use before swap starts being used. ~Ben From m.e.sanliturk at gmail.com Sun Mar 10 00:18:24 2013 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Sat, 9 Mar 2013 16:18:23 -0800 Subject: how to forbid a process to use swap? In-Reply-To: <201303092355.r29NtRX4015510@mech-cluster241.men.bris.ac.uk> References: <201303092355.r29NtRX4015510@mech-cluster241.men.bris.ac.uk> Message-ID: On Sat, Mar 9, 2013 at 3:55 PM, Anton Shterenlikht wrote: > I run a program that uses large arrays. > I don't want it to use swap, because it's > too slow. I want the program to fail when > there's not enough RAM, rather than using > swap. How to do this? > > Is it something to do with these kernel > variables: > > kern.dfldsiz: 34359738368 > kern.dflssiz: 8388608 > > kern.maxdsiz: 34359738368 > kern.maxssiz: 536870912 > kern.maxtsiz: 134217728 > > Many thanks > > Anton > If you have program source , you may do the following : Define a constant : Maximum_Allocatable_Memory = ? Define a variable : Total_Allocated_Memory = 0 Before allocating a memory of size M , check whether Total_Allocated_Memory + M < Maximum_Allocatable_Memory If yes : Allocate memory ; Add M to Total_Allocated_Memory . If no : Return an error and gracefully stop your program instead of a crash which will loose data . Thank you very much . Mehmet Erol Sanliturk From mexas at bristol.ac.uk Sun Mar 10 00:30:56 2013 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Sun, 10 Mar 2013 00:30:45 GMT Subject: how to forbid a process to use swap? In-Reply-To: Message-ID: <201303100030.r2A0UjoS058395@mech-cluster241.men.bris.ac.uk> From m.e.sanliturk at gmail.com Sun Mar 10 00:25:27 2013 On Sat, Mar 9, 2013 at 3:55 PM, Anton Shterenlikht wrote: > I run a program that uses large arrays. > I don't want it to use swap, because it's > too slow. I want the program to fail when > there's not enough RAM, rather than using > swap. How to do this? > > Is it something to do with these kernel > variables: > > kern.dfldsiz: 34359738368 > kern.dflssiz: 8388608 > > kern.maxdsiz: 34359738368 > kern.maxssiz: 536870912 > kern.maxtsiz: 134217728 > > Many thanks > > Anton > If you have program source , you may do the following : Define a constant : Maximum_Allocatable_Memory = ? Define a variable : Total_Allocated_Memory = 0 Before allocating a memory of size M , check whether Total_Allocated_Memory + M < Maximum_Allocatable_Memory If yes : Allocate memory ; Add M to Total_Allocated_Memory . If no : Return an error and gracefully stop your program instead of a crash which will loose data . It's a fortran program. I'm not very stong in C. Ideally I'd just use the OS (shell) means, but I need to understand better which resourse limit controls what. For example, with sh limits(1), I see: $ limits Resource limits (current): cputime infinity secs filesize infinity kB datasize 524168 kB stacksize 524168 kB coredumpsize infinity kB memoryuse infinity kB memorylocked 64 kB maxprocesses 12200 openfiles 117594 sbsize infinity bytes vmemoryuse infinity kB pseudo-terminals infinity swapuse infinity kB $ Which of these are relevant to my case? Finally, the actual problem is on linux, but I hope if I'm able to understand how things work on FreeBSD, then I could do it on linux too, especially if it's just a sh command. Thanks Anton From feenberg at nber.org Sun Mar 10 00:45:50 2013 From: feenberg at nber.org (Daniel Feenberg) Date: Sat, 9 Mar 2013 19:36:32 -0500 (EST) Subject: Revoke a DHCP lease early? In-Reply-To: References: Message-ID: On Sat, 9 Mar 2013, Modulok wrote: > List, > > I'm running isc-dhcpd to serve leases to clients. Is there a way to expire a > lease before it normally would, i.e. force a client to re-negotiate a lease > early? Perhaps some shell command akin to the following (which would be nice, > but obviously doesn't work):: > > dhcpd --revoke 192.168.1.24 I am pretty sure there is no message the dhcp server can send to a client to request it give up its IP address unless the client has asked for an address or renewal. dhcpd is a server, it doesn't initiate commands. I expect that if you modified the entry in the dhcpd.conf file and restarted dhcpd that the client would be assigned (and use) a new address the next time it tried to renew (which is typically when half the lease has been used up). My view tends to be confirmed here - http://www.cites.illinois.edu/ipam/leases.html daniel feenberg > > How do you revoke a client's lease prematurely? > > Thanks. > -Modulok- > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > From m.e.sanliturk at gmail.com Sun Mar 10 01:19:31 2013 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Sat, 9 Mar 2013 17:19:29 -0800 Subject: how to forbid a process to use swap? In-Reply-To: <201303100030.r2A0UjoS058395@mech-cluster241.men.bris.ac.uk> References: <201303100030.r2A0UjoS058395@mech-cluster241.men.bris.ac.uk> Message-ID: On Sat, Mar 9, 2013 at 4:30 PM, Anton Shterenlikht wrote: > From m.e.sanliturk at gmail.com Sun Mar 10 00:25:27 2013 > > On Sat, Mar 9, 2013 at 3:55 PM, Anton Shterenlikht < > mexas at bristol.ac.uk>wrote: > > > I run a program that uses large arrays. > > I don't want it to use swap, because it's > > too slow. I want the program to fail when > > there's not enough RAM, rather than using > > swap. How to do this? > > > > Is it something to do with these kernel > > variables: > > > > kern.dfldsiz: 34359738368 > > kern.dflssiz: 8388608 > > > > kern.maxdsiz: 34359738368 > > kern.maxssiz: 536870912 > > kern.maxtsiz: 134217728 > > > > Many thanks > > > > Anton > > > > > > If you have program source , you may do the following : > > > > Define a constant : Maximum_Allocatable_Memory = ? > > > Define a variable : Total_Allocated_Memory = 0 > > > > Before allocating a memory of size M , > check whether Total_Allocated_Memory + M < > Maximum_Allocatable_Memory > > If yes : Allocate memory ; > Add M to Total_Allocated_Memory . > > If no : > > Return an error and gracefully stop your program instead of a > crash which > will loose data . > > It's a fortran program. I'm not very stong in C. > Ideally I'd just use the OS (shell) means, > but I need to understand better which resourse > limit controls what. > > For example, with sh limits(1), I see: > > $ limits > Resource limits (current): > cputime infinity secs > filesize infinity kB > datasize 524168 kB > stacksize 524168 kB > coredumpsize infinity kB > memoryuse infinity kB > memorylocked 64 kB > maxprocesses 12200 > openfiles 117594 > sbsize infinity bytes > vmemoryuse infinity kB > pseudo-terminals infinity > swapuse infinity kB > $ > > Which of these are relevant to my case? > > Finally, the actual problem is on linux, > but I hope if I'm able to understand how > things work on FreeBSD, then I could do > it on linux too, especially if it's just > a sh command. > > Thanks > > Anton > It is not necessary to know C for the above steps . If you have source and if it is compilable by Fortran 90 or later standard , it may use allocation . ( Please see ALLOCATABLE , ALLOCATE , DEALLOCATE in a Fortran >= 90 manual ). I am compiling Fortran 77 programs with respect to 2003 standart by specifying lines as "fixed" by G95 which it is available in FreeBSD also ( www.g95.org ) . It may be necessary to convert Hollerith format specifiers to apostrophes . Personally I do not any idea about the above parameters . You may use "System Monitor" or "top" to see memory usage . If there is no sufficient memory , you may not start your program , or it starts to swap you may kill suitable programs , etc. . Thank you very much . Mehmet Erol Sanliturk From doug at safeport.com Sun Mar 10 01:54:17 2013 From: doug at safeport.com (doug at safeport.com) Date: Sat, 9 Mar 2013 20:49:54 -0500 (EST) Subject: vlan routing Message-ID: I am trying set this up. First I munged the IP addresses. Not to worry if I hit yours. I did the following commands: ifconfig vlan0 create ifconfig vlan0 vlan 95 vlandev fxp0 ifconfig vlan0 inet 134.217.128.117 netmask 255.255.255.0 ifconfig fxp0 add 134.217.128.117 netmask 255.255.255.0 route add -inet 134.217.128.117 134.217.128.1 ifconfig shows: fxp0: flags=8843 metric 0 mtu 1500 options=8 ether 00:d0:b7:56:cf:ab inet 45.22.17.3 netmask 0xfffffc00 broadcast 45.22.19.255 inet 45.22.17.17 netmask 0xffffffff broadcast 45.22.17.17 inet 134.217.128.117 netmask 0xffffff00 broadcast 134.217.128.255 media: Ethernet autoselect (100baseTX ) status: active bge0: flags=8802 metric 0 mtu 1500 options=9b ether 00:09:5b:60:e4:1f media: Ethernet autoselect (none) status: no carrier vlan0: flags=8843 metric 0 mtu 1500 ether 00:d0:b7:56:cf:ab inet 134.217.128.117 netmask 0xffffff00 broadcast 134.217.128.255 media: Ethernet autoselect (100baseTX ) status: active vlan: 95 parent interface: fxp0 Needless to say it does not work. The switch is programmed correctly (I am told). My questions are (1) it seems like the option got applied to the wrong interface; (2) what did I miss?? I also tried booting the system with IP of 134.217.128.117 but I did not get the rc.conf macros correctly. I do know I can not route through the switch without going the vlan commands. _____ Douglas Denault http://www.safeport.com doug at safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From schultz at ime.usp.br Sun Mar 10 01:58:59 2013 From: schultz at ime.usp.br (=?iso-8859-1?Q?Lu=EDs?= Fernando Schultz Xavier da Silveira) Date: Sat, 9 Mar 2013 22:52:47 -0300 Subject: How to know % of read file in cat? In-Reply-To: <20130309105400.b181e12aa222502974715a1b@yahoo.es> References: <20130309105400.b181e12aa222502974715a1b@yahoo.es> Message-ID: <20130310015247.GA2681@g470> You might want to try the sysutils/pv port, which is a small program that works like cat, but provides a progress bar. On Sat, Mar 09, 2013 at 10:54:00AM +0100, Eduardo Morras wrote: > > Hello, > > I use cat to read a file and pass it to another app, the command is this: > > camibar% cat file.git | fossil import --git file.fossil > > It takes a lot of time, file.git is 12GB, and i want to know if there's some 'magic' trick can I use to show me how many bytes or the % of the file.git cat sent to the other app. > > Maybe cat isn't the correct tool? > > Thanks. > > > --- --- > Eduardo Morras > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > From roberthuff at rcn.com Sun Mar 10 03:04:45 2013 From: roberthuff at rcn.com (Robert Huff) Date: Sat, 9 Mar 2013 22:04:36 -0500 Subject: svn & new pkg system In-Reply-To: <87ppz8ceje.fsf@kobe.laptop> References: <513BC4E2.4040708@a1poweruser.com> <87ppz8ceje.fsf@kobe.laptop> Message-ID: <20795.63556.581627.956239@jerusalem.litteratus.org> Giorgos Keramidas writes: > > Is svn going to become part of the base system in 9.2-RELEASE? > > No. [good reasons for not including subversion ellided] On the other hand ... The traditional - and I believe still canonical - way of updating the system is to recompile from source. I know I am not alone in feeling the system is substantially incomplete if it does not come with all the tools necessary to do that. (Not slighting freebsd-update (don't know enough about it to have an opinion); just pointing out it has limitations.) Respectfully, Robert Huff From sr at genyosha.net Sun Mar 10 03:29:50 2013 From: sr at genyosha.net (Steve Rikli) Date: Sun, 10 Mar 2013 03:26:35 +0000 (UTC) Subject: periodic security always sends output mail Message-ID: I would like to configure periodic on my FreeBSD servers to only send daily/weekly/monthly/security mails (or logs) when there is something "important" to report. I'm close, but periodic security seems to _always_ send mail, even when there is nothing to report. My periodic.conf.local has these pertinent lines (ignore weekly and monthly for now): daily_show_success="NO" security_show_success="NO" daily_show_info="NO" security_show_info="NO" This has the desired effect on daily -- no mail unless something has happened. And it _almost_ works for security, but it still sends a nearly-empty report with only this: Security check: -- End of daily output -- That behavior is the same whether security is a separate report or included into daily using daily_status_security_inline="YES". I think the reason is /etc/periodic/daily/450.status-security sets "rc=3" after running 'periodic security', and so there's no way to mask the output. Is there some other (preferably supported) means of achieving the goal of no mail or log unless there's something to report? Thanks, sr. -- || Steve Rikli ||| Well, we've stared at it... that oughta || || Systems Administrator ||| fix it! Let's get outta here. || || Genyosha Networks ||| || || sr at genyosha.net ||| - Crow, MST3K || From nomadlogic at gmail.com Sun Mar 10 04:08:29 2013 From: nomadlogic at gmail.com (pete wright) Date: Sat, 9 Mar 2013 20:08:28 -0800 Subject: svn & new pkg system In-Reply-To: <513BC4E2.4040708@a1poweruser.com> References: <513BC4E2.4040708@a1poweruser.com> Message-ID: On Sat, Mar 9, 2013 at 3:25 PM, Fbsd8 wrote: > Is svn going to become part of the base system in 9.2-RELEASE? > not sure about svn, but this port has recently been commited: http://www.freshports.org/net/svnup/ it is a csup replacement. -pete -- pete wright www.nycbug.org @nomadlogicLA From corebug at corebug.net Sun Mar 10 06:17:26 2013 From: corebug at corebug.net (=?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0KLRg9GA0L7QstC10YY=?=) Date: Sun, 10 Mar 2013 08:17:04 +0200 Subject: vlan routing In-Reply-To: References: Message-ID: 2013/3/10 : > I am trying set this up. First I munged the IP addresses. Not to worry if I > hit yours. I did the following commands: > > ifconfig vlan0 create > ifconfig vlan0 vlan 95 vlandev fxp0 > ifconfig vlan0 inet 134.217.128.117 netmask 255.255.255.0 > ifconfig fxp0 add 134.217.128.117 netmask 255.255.255.0 > route add -inet 134.217.128.117 134.217.128.1 > > ifconfig shows: > > fxp0: flags=8843 metric 0 mtu 1500 > options=8 > ether 00:d0:b7:56:cf:ab > inet 45.22.17.3 netmask 0xfffffc00 broadcast 45.22.19.255 > inet 45.22.17.17 netmask 0xffffffff broadcast 45.22.17.17 > inet 134.217.128.117 netmask 0xffffff00 broadcast 134.217.128.255 > media: Ethernet autoselect (100baseTX ) > status: active > bge0: flags=8802 metric 0 mtu 1500 > options=9b > ether 00:09:5b:60:e4:1f > media: Ethernet autoselect (none) > status: no carrier > vlan0: flags=8843 metric 0 mtu 1500 > ether 00:d0:b7:56:cf:ab > inet 134.217.128.117 netmask 0xffffff00 broadcast 134.217.128.255 > media: Ethernet autoselect (100baseTX ) > status: active > vlan: 95 parent interface: fxp0 > > Needless to say it does not work. The switch is programmed correctly (I am > told). My questions are (1) it seems like the option got applied to the > wrong interface; (2) what did I miss?? > > I also tried booting the system with IP of 134.217.128.117 but I did not get > the rc.conf macros correctly. I do know I can not route through the switch > without going the vlan commands. > > _____ > Douglas Denault > http://www.safeport.com > doug at safeport.com > Voice: 301-217-9220 > Fax: 301-217-9277 > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" I guess you shouldn't put the same IP address on two interfaces (vlan and fxp0), you need to decide wherther you need tagged or untagged vlan frames there and, depending on this decision put the IP address on VLAN interface (tagged variant) or fxp0 (untagged one). If i understand your task correctly, then this line is faulty from your configuration: > ifconfig fxp0 add 134.217.128.117 netmask 255.255.255.0 You don't need it. > route add -inet 134.217.128.117 134.217.128.1 This is smth absoulutely wrong:) Basically, if you only need a vlan interface that could be used for routing, you need these commands only: ifconfig vlan95 create ifconfig vlan95 inet 134.217.128.117/24 vlan 95 vlandev fxp0 and in /etc/rc.conf you should put such strings: cloned_interfaces="vlan95" ifconfig_vlan95="inet 134.217.128.117/24 vlan 95 vlandev fxp0" for the interface to be created on reboot. Hope this helps. -- ~~~ WBR, Vitaliy Turovets NOC Lead @TV-Net ISP NOC Lead @Service Outsourcing company +38(093)265-70-55 VITU-RIPE X-NCC-RegID: ua.tv From FreeBSD at ShaneWare.Biz Sun Mar 10 10:43:14 2013 From: FreeBSD at ShaneWare.Biz (Shane Ambler) Date: Sun, 10 Mar 2013 21:13:10 +1030 Subject: fbsdmon error message In-Reply-To: <20130309065404.45bece21@scorpio> References: <20130309065404.45bece21@scorpio> Message-ID: <513C63BE.6020808@ShaneWare.Biz> On 09/03/2013 22:24, Jerry wrote: > After working fine for over a year, the "ports-mgmt/fbsdmon" port has > started spitting out errors once a week for the past month. > > ********************************************************************** > Rebuilding locate database: > > Rebuilding whatis database: > makewhatis: /usr/local/man/man3/EVP_PKEY_verifyrecover_init.3.gz: No such file or directory > > Sending statistic to fbsdmon.org > > -- End of weekly output -- > ********************************************************************* The error isn't from fbsdmon, the message is from the weekly periodic run which has fbsdmon on it's list of tasks. The error is from the task before fbsdmon - rebuilding the whatis database. While I know the error originates from an openssl item being renamed from EVP_PKEY_verifyrecover_init to EVP_PKEY_verify_recover_init I'm not sure why it still tries to find the old man page. From freebsd at qeng-ho.org Sun Mar 10 12:43:59 2013 From: freebsd at qeng-ho.org (Arthur Chance) Date: Sun, 10 Mar 2013 12:43:54 +0000 Subject: periodic security always sends output mail In-Reply-To: References: Message-ID: <513C800A.2030605@qeng-ho.org> On 03/10/13 03:26, Steve Rikli wrote: > I would like to configure periodic on my FreeBSD servers to only send > daily/weekly/monthly/security mails (or logs) when there is something > "important" to report. > > I'm close, but periodic security seems to _always_ send mail, even > when there is nothing to report. I suspect the logic is that by always sending a mail, even if it contains nothing important, it means that when you don't get mail you should check to see what happened. Otherwise an attacker could simply prevent periodic security checks to cover up any changes made and you'd just think there was nothing important to report. From jerry at seibercom.net Sun Mar 10 12:57:56 2013 From: jerry at seibercom.net (Jerry) Date: Sun, 10 Mar 2013 08:57:53 -0400 Subject: fbsdmon error message In-Reply-To: <513C63BE.6020808@ShaneWare.Biz> References: <20130309065404.45bece21@scorpio> <513C63BE.6020808@ShaneWare.Biz> Message-ID: <20130310085753.4ff814b6@scorpio> On Sun, 10 Mar 2013 21:13:10 +1030 Shane Ambler articulated: > On 09/03/2013 22:24, Jerry wrote: > > After working fine for over a year, the "ports-mgmt/fbsdmon" port > > has started spitting out errors once a week for the past month. > > > > ********************************************************************** > > Rebuilding locate database: > > > > Rebuilding whatis database: > > makewhatis: /usr/local/man/man3/EVP_PKEY_verifyrecover_init.3.gz: > > No such file or directory > > > > Sending statistic to fbsdmon.org > > > > -- End of weekly output -- > > ********************************************************************* > > The error isn't from fbsdmon, the message is from the weekly periodic > run which has fbsdmon on it's list of tasks. The error is from the > task before fbsdmon - rebuilding the whatis database. > > While I know the error originates from an openssl item being renamed > from EVP_PKEY_verifyrecover_init to EVP_PKEY_verify_recover_init I'm > not sure why it still tries to find the old man page. Should a PR be filed against this or has one all ready been filed? I didn't find any. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From keramida at ceid.upatras.gr Sun Mar 10 15:08:35 2013 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sun, 10 Mar 2013 16:08:22 +0100 Subject: svn & new pkg system In-Reply-To: <20795.63556.581627.956239@jerusalem.litteratus.org> References: <513BC4E2.4040708@a1poweruser.com> <87ppz8ceje.fsf@kobe.laptop> <20795.63556.581627.956239@jerusalem.litteratus.org> Message-ID: <20130310150820.GA20819@saturn> On 2013-03-09 22:04, Robert Huff wrote: > Giorgos Keramidas writes: > > > Is svn going to become part of the base system in 9.2-RELEASE? > > > > No. > > [good reasons for not including subversion ellided] > > On the other hand ... > > The traditional - and I believe still canonical - way of updating the > system is to recompile from source. > > I know I am not alone in feeling the system is substantially > incomplete if it does not come with all the tools necessary to do > that. > > (Not slighting freebsd-update (don't know enough about it to have an > opinion); just pointing out it has limitations.) This has been traditionally true with CVS, which was also a complex piece of software, but still merged periodically into FreeBSD src. I think it's always a small annoyance when things break away from 'tradition', but on the other hand tradition shouldn't be able to put a stop to moving along or act as an impediment for doing our 'real' work. And the real work of the team is to develop FreeBSD, not to develop a version control system. There's a lot of know-how and development happening in the main Subversion development process; a lof of experience that we do not necessarily need to duplicate in our own team to do what we like best: that is, develop FreeBSD. It's understandable that having to install a package to check-out the sources is a diversion from previous practice, and it may be somewhat annoying -- like every change is annoying at first. But the package is not going to go away and it won't stop working, at least as long as we are using it ourselves to develop the system. So other than the difference that now the sources of the VCS used for development are not part of src/, conceptually there isn't a lot of difference from before. The previous state of things was: FreeBSD developers use CVS to check out the sources, and develop the system itself. CVS is available [as part of the base system] to everyone else who wants to grab a copy of the source tree. WHat happens now is quite similar, except for the bracketed text: FreeBSD developers use SVN to check out the sources, and develop the system itself. SVN is available [as part of the official packages] to everyone else who wants to grab a copy of the source tree. From sr at genyosha.net Sun Mar 10 15:52:05 2013 From: sr at genyosha.net (Steve Rikli) Date: Sun, 10 Mar 2013 08:41:45 -0700 Subject: periodic security always sends output mail In-Reply-To: <513C800A.2030605@qeng-ho.org> References: <513C800A.2030605@qeng-ho.org> Message-ID: <20130310154145.GA13034@dragon.genyosha.home> On Sun, Mar 10, 2013 at 12:43:54PM +0000, Arthur Chance wrote: > On 03/10/13 03:26, Steve Rikli wrote: > >I would like to configure periodic on my FreeBSD servers to only send > >daily/weekly/monthly/security mails (or logs) when there is something > >"important" to report. > > > >I'm close, but periodic security seems to _always_ send mail, even > >when there is nothing to report. > > I suspect the logic is that by always sending a mail, even if it > contains nothing important, it means that when you don't get mail > you should check to see what happened. Otherwise an attacker could > simply prevent periodic security checks to cover up any changes made > and you'd just think there was nothing important to report. You may be correct. It may also be nothing more complicated than "security is important", which is hard to argue with. :-) However it appears the logic has changed somewhat in FreeBSD-9 (my 1st example was from an 8.3 server), where the 450.status-security script now sets and resets rc= conditionally, and it seems to behave more closely to my desired behavior, though I need to test a bit. One undesireable thing in the FreeBSD-9 scripts is it appears that if you have daily_status_security_inline enabled, and mask away the daily success & info results, the security results are also masked away regardless of security success,info settings. E.g. this config on a FreeBSD 9.1 system: daily_show_success="NO" security_show_success="NO" daily_show_info="NO" security_show_info="YES" daily_status_security_inline="YES" apparently won't include security info events either, though I'm not sure why not. I'm still tuning and testing to get it set the way I want. Cheers, sr. From fbsd8 at a1poweruser.com Sun Mar 10 17:18:09 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Sun, 10 Mar 2013 13:18:04 -0400 Subject: svn & new pkg system In-Reply-To: <20130310150820.GA20819@saturn> References: <513BC4E2.4040708@a1poweruser.com> <87ppz8ceje.fsf@kobe.laptop> <20795.63556.581627.956239@jerusalem.litteratus.org> <20130310150820.GA20819@saturn> Message-ID: <513CC04C.3020403@a1poweruser.com> Giorgos Keramidas wrote: > On 2013-03-09 22:04, Robert Huff wrote: >> Giorgos Keramidas writes: >>> > Is svn going to become part of the base system in 9.2-RELEASE? >>> >>> No. >> [good reasons for not including subversion ellided] >> >> On the other hand ... >> >> The traditional - and I believe still canonical - way of updating the >> system is to recompile from source. >> >> I know I am not alone in feeling the system is substantially >> incomplete if it does not come with all the tools necessary to do >> that. >> >> (Not slighting freebsd-update (don't know enough about it to have an >> opinion); just pointing out it has limitations.) > > This has been traditionally true with CVS, which was also a complex > piece of software, but still merged periodically into FreeBSD src. > > I think it's always a small annoyance when things break away from > 'tradition', but on the other hand tradition shouldn't be able to put > a stop to moving along or act as an impediment for doing our 'real' > work. And the real work of the team is to develop FreeBSD, not to > develop a version control system. There's a lot of know-how and > development happening in the main Subversion development process; > a lof of experience that we do not necessarily need to duplicate > in our own team to do what we like best: that is, develop FreeBSD. > > It's understandable that having to install a package to check-out > the sources is a diversion from previous practice, and it may be > somewhat annoying -- like every change is annoying at first. But > the package is not going to go away and it won't stop working, at > least as long as we are using it ourselves to develop the system. > > So other than the difference that now the sources of the VCS used > for development are not part of src/, conceptually there isn't a > lot of difference from before. The previous state of things was: > > FreeBSD developers use CVS to check out the sources, and > develop the system itself. CVS is available [as part of the > base system] to everyone else who wants to grab a copy of > the source tree. > > WHat happens now is quite similar, except for the bracketed text: > > FreeBSD developers use SVN to check out the sources, and > develop the system itself. SVN is available [as part of the > official packages] to everyone else who wants to grab a copy of > the source tree. > > Your thinking is way to narrow. Besides source, svn can also grab a copy to the ports tree or just a single port. This a much quicker and a more flexible approach than using portsnap. No body has made a case for NOT including svn in the base system. If it can be a port there is no reason why it can not be included in the base system. Just because developers us it is no reason to make life difficult of those who are not devolopers and have other uses for it. From steve at sohara.org Sun Mar 10 17:32:47 2013 From: steve at sohara.org (Steve O'Hara-Smith) Date: Sun, 10 Mar 2013 17:31:48 +0000 Subject: svn & new pkg system In-Reply-To: <513CC04C.3020403@a1poweruser.com> References: <513BC4E2.4040708@a1poweruser.com> <87ppz8ceje.fsf@kobe.laptop> <20795.63556.581627.956239@jerusalem.litteratus.org> <20130310150820.GA20819@saturn> <513CC04C.3020403@a1poweruser.com> Message-ID: <20130310173148.02bd958efa4538938992dc97@sohara.org> On Sun, 10 Mar 2013 13:18:04 -0400 Fbsd8 wrote: > No body has made a case for NOT including svn in the base system. If it > can be a port there is no reason why it can not be included in the base > system. Giorgos did when he said "Subversion is a large system, with a ton of dependencies" which translates to a lot of work to keep it up to date in the base system, and all sorts of fun and games when other things using those dependencies need a newer version. -- Steve O'Hara-Smith From fbsd8 at a1poweruser.com Sun Mar 10 17:37:09 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Sun, 10 Mar 2013 13:37:08 -0400 Subject: day light saving time happened today Message-ID: <513CC4C4.8080405@a1poweruser.com> day light saving time happened early sunday morning and the time shown by the date command is still one hour behind. I just did a clean 9.1 install from cdrom and selected the correct time zone for my location. I don't see any entry for daylight saving time in tzsetup I though the EDT had daylight saving time built in. How do I configure time for auto daylight saving time corrections? From fbsd8 at a1poweruser.com Sun Mar 10 17:39:51 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Sun, 10 Mar 2013 13:39:50 -0400 Subject: svn & new pkg system In-Reply-To: <20130310173148.02bd958efa4538938992dc97@sohara.org> References: <513BC4E2.4040708@a1poweruser.com> <87ppz8ceje.fsf@kobe.laptop> <20795.63556.581627.956239@jerusalem.litteratus.org> <20130310150820.GA20819@saturn> <513CC04C.3020403@a1poweruser.com> <20130310173148.02bd958efa4538938992dc97@sohara.org> Message-ID: <513CC566.9050104@a1poweruser.com> Steve O'Hara-Smith wrote: > On Sun, 10 Mar 2013 13:18:04 -0400 > Fbsd8 wrote: > >> No body has made a case for NOT including svn in the base system. If it >> can be a port there is no reason why it can not be included in the base >> system. > > Giorgos did when he said "Subversion is a large system, with a ton > of dependencies" which translates to a lot of work to keep it up to date in > the base system, and all sorts of fun and games when other things using > those dependencies need a newer version. > And how is that any different from any other package or pkgng situation. From keramida at ceid.upatras.gr Sun Mar 10 17:46:07 2013 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sun, 10 Mar 2013 18:45:59 +0100 Subject: svn & new pkg system In-Reply-To: <513CC566.9050104@a1poweruser.com> (fbsd8@a1poweruser.com's message of "Sun, 10 Mar 2013 13:39:50 -0400") References: <513BC4E2.4040708@a1poweruser.com> <87ppz8ceje.fsf@kobe.laptop> <20795.63556.581627.956239@jerusalem.litteratus.org> <20130310150820.GA20819@saturn> <513CC04C.3020403@a1poweruser.com> <20130310173148.02bd958efa4538938992dc97@sohara.org> <513CC566.9050104@a1poweruser.com> Message-ID: <87fw03ywq0.fsf@kobe.laptop> On Sun, 10 Mar 2013 13:39:50 -0400, Fbsd8 wrote: > Steve O'Hara-Smith wrote: >> On Sun, 10 Mar 2013 13:18:04 -0400 >> Fbsd8 wrote: >> >>> No body has made a case for NOT including svn in the base system. If >>> it can be a port there is no reason why it can not be included in the >>> base system. >> >> Giorgos did when he said "Subversion is a large system, with a ton of >> dependencies" which translates to a lot of work to keep it up to date >> in the base system, and all sorts of fun and games when other things >> using those dependencies need a newer version. > > And how is that any different from any other package or pkgng situation. Imagine what happens when library libfoo is a dependency of subversion, and they are both imported into the base system. At the same time there are 2-3 incompatible versions of libfoo in the ports. When libfoo is part of the base system we have to: a) Make sure that it works for the base system version of subversion. b) Other programs from ports do not accidentally link with the wrong version of the library from base. c) All programs that subversion uses (possibly plugins and extensions that are now part of base, but part of the packages) use the right 'mix' of libraries. This gets fairly complicated and a brittle _very_ very fast. On the other hand, the inconvenience of having to install subversion from ports is offset by the fact that _everything_ it depends on and everything that depends on _subversion_ itself, is now handled in an homogeneous manner, with exactly the same amount of effort that we would have to spend anyway to maintain it in the ports. From jnagyjr1978 at gmail.com Sun Mar 10 19:26:49 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Sun, 10 Mar 2013 14:26:43 -0500 Subject: Problems Printing In-Reply-To: <20130306054701.GA2295@tinyCurrent> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> <513666B7.4080708@gmail.com> <20130306054701.GA2295@tinyCurrent> Message-ID: <513CDE73.4010505@gmail.com> On 03/05/13 23:47, Matthias Apitz wrote: > El d?a Tuesday, March 05, 2013 a las 03:42:15PM -0600, Joseph A. Nagy, Jr escribi?: > >>> then the test is >>> >>> $ date | lpr -PPIXMA >>> >>> matthias >>> >> >> I figured that out, sent the test, it queud the job and stuck there. >> When I get home I'm going to clear the cups logs and start over again. > > Does the CUPS' test page works from the web interface? If not, try to > configure the printer as Generic Postscript first. > > matthias > w/o using the web interface (I don't particularly care for it, honestly, I find it confusing) I deleted the old logs, restarted the cupsd service, and sent # date | lpr -PPIXMA less access_log localhost - - [10/Mar/2013:14:08:23 -0500] "POST /printers/PIXMA HTTP/1.1" 200 302 Create-Job successful-ok localhost - - [10/Mar/2013:14:08:23 -0500] "POST /printers/PIXMA HTTP/1.1" 200 261 Send-Document successful-ok Nothing in error_log or page_log Trying the web interface now. Added the printer via the web interface using usual drivers, logs show the following: # less access_log localhost - - [10/Mar/2013:14:14:53 -0500] "POST /admin/ HTTP/1.1" 200 66 - - localhost - - [10/Mar/2013:14:14:53 -0500] "POST / HTTP/1.1" 401 75 CUPS-Get-Devices successful-ok localhost - - [10/Mar/2013:14:14:53 -0500] "POST /admin/ HTTP/1.1" 200 1864 - - localhost - - [10/Mar/2013:14:14:58 -0500] "POST /admin/ HTTP/1.1" 200 60 - - localhost - - [10/Mar/2013:14:14:58 -0500] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok localhost - - [10/Mar/2013:14:14:58 -0500] "POST /admin/ HTTP/1.1" 401 60 - - localhost - - [10/Mar/2013:14:14:58 -0500] "POST /admin/ HTTP/1.1" 200 60 - - localhost - root [10/Mar/2013:14:15:07 -0500] "POST /admin/ HTTP/1.1" 200 60 - - localhost - - [10/Mar/2013:14:15:07 -0500] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok localhost - root [10/Mar/2013:14:15:07 -0500] "POST / HTTP/1.1" 200 1565 CUPS-Get-Devices - localhost - root [10/Mar/2013:14:15:07 -0500] "POST /admin/ HTTP/1.1" 200 3062 - - localhost - - [10/Mar/2013:14:15:24 -0500] "POST /admin HTTP/1.1" 200 92 - - localhost - - [10/Mar/2013:14:15:24 -0500] "POST /admin HTTP/1.1" 200 3148 - - localhost - - [10/Mar/2013:14:15:39 -0500] "POST /admin HTTP/1.1" 200 212 - - localhost - - [10/Mar/2013:14:15:39 -0500] "POST / HTTP/1.1" 200 1581 CUPS-Get-PPDs - localhost - - [10/Mar/2013:14:15:39 -0500] "POST /admin HTTP/1.1" 200 5514 - - localhost - - [10/Mar/2013:14:15:59 -0500] "POST /admin HTTP/1.1" 200 1932 - - localhost - - [10/Mar/2013:14:15:59 -0500] "POST / HTTP/1.1" 200 493199 CUPS-Get-PPDs - localhost - - [10/Mar/2013:14:15:59 -0500] "POST /admin HTTP/1.1" 200 206446 - - localhost - - [10/Mar/2013:14:16:59 -0500] "POST /admin HTTP/1.1" 200 1951 - - localhost - - [10/Mar/2013:14:16:59 -0500] "POST /admin/ HTTP/1.1" 401 352 CUPS-Add-Modify-Printer successful-ok localhost - - [10/Mar/2013:14:16:59 -0500] "POST /admin HTTP/1.1" 401 1951 - - localhost - - [10/Mar/2013:14:16:59 -0500] "POST /admin HTTP/1.1" 200 1951 - - localhost - root [10/Mar/2013:14:16:59 -0500] "POST /admin HTTP/1.1" 200 1951 - - localhost - - [10/Mar/2013:14:16:59 -0500] "POST /admin/ HTTP/1.1" 401 352 CUPS-Add-Modify-Printer successful-ok localhost - root [10/Mar/2013:14:16:59 -0500] "POST /admin/ HTTP/1.1" 200 352 CUPS-Add-Modify-Printer successful-ok localhost - root [10/Mar/2013:14:16:59 -0500] "POST /admin HTTP/1.1" 200 70230 - - localhost - root [10/Mar/2013:14:17:29 -0500] "POST /admin HTTP/1.1" 200 2063 - - localhost - - [10/Mar/2013:14:17:29 -0500] "POST /admin/ HTTP/1.1" 401 522723 CUPS-Add-Modify-Printer successful-ok localhost - root [10/Mar/2013:14:17:29 -0500] "POST /admin/ HTTP/1.1" 200 522723 CUPS-Add-Modify-Printer successful-ok localhost - root [10/Mar/2013:14:17:29 -0500] "POST /admin HTTP/1.1" 200 4015 - - localhost - - [10/Mar/2013:14:18:04 -0500] "POST /printers/PIXMA HTTP/1.1" 200 302 Create-Job successful-ok localhost - - [10/Mar/2013:14:18:04 -0500] "POST /printers/PIXMA HTTP/1.1" 200 261 Send-Document successful-ok # less error_log W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Brother/BR5070DN_GPL.ppd.gz! W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp830c.ppd.gz! W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp850c.ppd.gz! W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp880c.ppd.gz! W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp9100.ppd.gz! W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp920c.ppd.gz! W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp950c.ppd.gz! W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp960s.ppd.gz! W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp980c.ppd.gz! W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/KONICA_MINOLTA/KOC451JX.ppd.gz! E [10/Mar/2013:14:15:40 -0500] [cups-driverd] Bad driver information file "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"! E [10/Mar/2013:14:15:40 -0500] [cups-driverd] Bad driver information file "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/kyocera_ppd_8.2.txt"! W [10/Mar/2013:14:15:59 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Brother/BR5070DN_GPL.ppd.gz! W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp830c.ppd.gz! W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp850c.ppd.gz! W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp880c.ppd.gz! W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp9100.ppd.gz! W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp920c.ppd.gz! W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp950c.ppd.gz! W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp960s.ppd.gz! W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp980c.ppd.gz! W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/KONICA_MINOLTA/KOC451JX.ppd.gz! E [10/Mar/2013:14:16:00 -0500] [cups-driverd] Bad driver information file "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"! E [10/Mar/2013:14:16:00 -0500] [cups-driverd] Bad driver information file "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/kyocera_ppd_8.2.txt"! E [10/Mar/2013:14:18:04 -0500] [Job 12] Job stopped due to filter errors; please consult the error_log file for details. D [10/Mar/2013:14:18:04 -0500] [Job 12] The following messages were recorded from 14:18:04 to 14:18:04 D [10/Mar/2013:14:18:04 -0500] [Job 12] Adding start banner page "none". D [10/Mar/2013:14:18:04 -0500] [Job 12] Queued on "PIXMA" by "root". D [10/Mar/2013:14:18:04 -0500] [Job 12] Auto-typing file... D [10/Mar/2013:14:18:04 -0500] [Job 12] Request file type is text/plain. D [10/Mar/2013:14:18:04 -0500] [Job 12] File of type text/plain queued by "root". D [10/Mar/2013:14:18:04 -0500] [Job 12] Adding end banner page "none". D [10/Mar/2013:14:18:04 -0500] [Job 12] job-sheets=none,none D [10/Mar/2013:14:18:04 -0500] [Job 12] argv[0]="PIXMA" D [10/Mar/2013:14:18:04 -0500] [Job 12] argv[1]="12" D [10/Mar/2013:14:18:04 -0500] [Job 12] argv[2]="root" D [10/Mar/2013:14:18:04 -0500] [Job 12] argv[3]="(stdin)" D [10/Mar/2013:14:18:04 -0500] [Job 12] argv[4]="1" D [10/Mar/2013:14:18:04 -0500] [Job 12] argv[5]="finishings=3 number-up=1 job-uuid=urn:uuid:580bc5de-6ae0-3db1-7a65-e048e3412ee3 job-originating-host-name=localhost time-at-creation=1362943084 time-at-processing=1362943084" D [10/Mar/2013:14:18:04 -0500] [Job 12] argv[6]="/var/spool/cups/d00012-001" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[0]="CUPS_CACHEDIR=/var/db/cups" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[1]="CUPS_DATADIR=/usr/local/share/cups" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[2]="CUPS_DOCROOT=/usr/local/share/doc/cups" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[3]="CUPS_FONTPATH=/usr/local/share/cups/fonts" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[5]="CUPS_SERVERBIN=/usr/local/libexec/cups" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[6]="CUPS_SERVERROOT=/usr/local/etc/cups" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[7]="CUPS_STATEDIR=/var/run/cups" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[8]="HOME=/var/spool/cups/tmp" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[9]="PATH=/usr/local/libexec/cups/filter:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[10]="SERVER_ADMIN=root at alex-laptop" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[11]="SOFTWARE=CUPS/1.5.4" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[12]="TMPDIR=/var/spool/cups/tmp" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[13]="USER=root" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[14]="CUPS_MAX_MESSAGE=2047" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[15]="CUPS_SERVER=/var/run/cups.sock" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[16]="CUPS_ENCRYPTION=IfRequested" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[17]="IPP_PORT=631" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[18]="CHARSET=utf-8" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[19]="LANG=en_US.UTF-8" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[20]="PPD=/usr/local/etc/cups/ppd/PIXMA.ppd" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[21]="RIP_MAX_CACHE=128m" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[22]="CONTENT_TYPE=text/plain" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[23]="DEVICE_URI=usb:/dev/ulpt0" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[24]="PRINTER_INFO=Pixma MP-210" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[25]="PRINTER_LOCATION=office" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[26]="PRINTER=PIXMA" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[27]="PRINTER_STATE_REASONS=none" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[28]="CUPS_FILETYPE=document" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[29]="FINAL_CONTENT_TYPE=printer/PIXMA" D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[30]="AUTH_I****" D [10/Mar/2013:14:18:04 -0500] [Job 12] Started filter /usr/local/libexec/cups/filter/texttops (PID 26709) D [10/Mar/2013:14:18:04 -0500] [Job 12] Started filter /usr/local/libexec/cups/filter/pstops (PID 26710) D [10/Mar/2013:14:18:04 -0500] [Job 12] Started filter /usr/local/libexec/cups/filter/pstoraster (PID 26711) D [10/Mar/2013:14:18:04 -0500] [Job 12] Started filter /usr/local/libexec/cups/filter/rastertogutenprint.5.2 (PID 26712) D [10/Mar/2013:14:18:04 -0500] [Job 12] Started backend /usr/local/libexec/cups/backend/usb (PID 26713) D [10/Mar/2013:14:18:04 -0500] [Job 12] STATE: +connecting-to-device D [10/Mar/2013:14:18:04 -0500] [Job 12] Starting GNU/GPL Ghostscript... D [10/Mar/2013:14:18:04 -0500] [Job 12] Set job-printer-state-message to "Starting GNU/GPL Ghostscript...", current level=INFO D [10/Mar/2013:14:18:04 -0500] [Job 12] Running /usr/local/bin/espgs -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c - D [10/Mar/2013:14:18:04 -0500] [Job 12] STATE: -connecting-to-device D [10/Mar/2013:14:18:04 -0500] [Job 12] backendRunLoop(print_fd=0, device_fd=5, snmp_fd=-1, addr=0x0, use_bc=0, side_cb=0x4021f0) D [10/Mar/2013:14:18:04 -0500] [Job 12] Page = 612x792; 0,0 to 612,792 D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->num_fonts = 35 D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[0] = AvantGarde-Book D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[1] = AvantGarde-BookOblique D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[2] = AvantGarde-Demi D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[3] = AvantGarde-DemiOblique D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[4] = Bookman-Demi D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[5] = Bookman-DemiItalic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[6] = Bookman-Light D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[7] = Bookman-LightItalic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[8] = Courier D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[9] = Courier-Bold D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[10] = Courier-BoldOblique D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[11] = Courier-Oblique D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[12] = Helvetica D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[13] = Helvetica-Bold D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[14] = Helvetica-BoldOblique D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[15] = Helvetica-Narrow D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[16] = Helvetica-Narrow-Bold D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[17] = Helvetica-Narrow-BoldOblique D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[18] = Helvetica-Narrow-Oblique D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[19] = Helvetica-Oblique D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[20] = NewCenturySchlbk-Bold D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[21] = NewCenturySchlbk-BoldItalic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[22] = NewCenturySchlbk-Italic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[23] = NewCenturySchlbk-Roman D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[24] = Palatino-Bold D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[25] = Palatino-BoldItalic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[26] = Palatino-Italic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[27] = Palatino-Roman D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[28] = Symbol D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[29] = Times-Bold D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[30] = Times-BoldItalic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[31] = Times-Italic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[32] = Times-Roman D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[33] = ZapfChancery-MediumItalic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[34] = ZapfDingbats D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->num_fonts = 35 D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[0] = AvantGarde-Book D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[1] = AvantGarde-BookOblique D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[2] = AvantGarde-Demi D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[3] = AvantGarde-DemiOblique D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[4] = Bookman-Demi D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[5] = Bookman-DemiItalic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[6] = Bookman-Light D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[7] = Bookman-LightItalic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[8] = Courier D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[9] = Courier-Bold D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[10] = Courier-BoldOblique D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[11] = Courier-Oblique D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[12] = Helvetica D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[13] = Helvetica-Bold D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[14] = Helvetica-BoldOblique D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[15] = Helvetica-Narrow D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[16] = Helvetica-Narrow-Bold D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[17] = Helvetica-Narrow-BoldOblique D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[18] = Helvetica-Narrow-Oblique D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[19] = Helvetica-Oblique D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[20] = NewCenturySchlbk-Bold D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[21] = NewCenturySchlbk-BoldItalic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[22] = NewCenturySchlbk-Italic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[23] = NewCenturySchlbk-Roman D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[24] = Palatino-Bold D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[25] = Palatino-BoldItalic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[26] = Palatino-Italic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[27] = Palatino-Roman D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[28] = Symbol D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[29] = Times-Bold D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[30] = Times-BoldItalic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[31] = Times-Italic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[32] = Times-Roman D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[33] = ZapfChancery-MediumItalic D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[34] = ZapfDingbats D [10/Mar/2013:14:18:04 -0500] [Job 12] Shared object "libgnutls.so.47" not found, required by "rastertogutenprint.5.2" D [10/Mar/2013:14:18:04 -0500] [Job 12] Shared object "libgnutls.so.47" not found, required by "espgs" D [10/Mar/2013:14:18:04 -0500] [Job 12] Page = 612x792; 0,0 to 612,792 D [10/Mar/2013:14:18:04 -0500] [Job 12] slow_collate=0, slow_duplex=0, slow_order=0 D [10/Mar/2013:14:18:04 -0500] [Job 12] Before copy_comments - %!PS-Adobe-3.0 D [10/Mar/2013:14:18:04 -0500] [Job 12] %!PS-Adobe-3.0 D [10/Mar/2013:14:18:04 -0500] [Job 12] %%BoundingBox: 0 0 612 792 D [10/Mar/2013:14:18:04 -0500] [Job 12] %cupsRotation: 0 D [10/Mar/2013:14:18:04 -0500] [Job 12] %%Creator: texttops/CUPS v1.5.4 D [10/Mar/2013:14:18:04 -0500] [Job 12] %%CreationDate: Sun Mar 10 14:18:04 2013 D [10/Mar/2013:14:18:04 -0500] [Job 12] %%Title: ((stdin)) D [10/Mar/2013:14:18:04 -0500] [Job 12] %%For: (root) D [10/Mar/2013:14:18:04 -0500] [Job 12] %%Pages: (atend) D [10/Mar/2013:14:18:04 -0500] [Job 12] %%DocumentNeededResources: font Monospace-Bold D [10/Mar/2013:14:18:04 -0500] [Job 12] %%+ font Monospace D [10/Mar/2013:14:18:04 -0500] [Job 12] %%DocumentSuppliedResources: procset texttops 1.1 0 D [10/Mar/2013:14:18:04 -0500] [Job 12] %%+ font Monospace-Bold D [10/Mar/2013:14:18:04 -0500] [Job 12] %%+ font Monospace D [10/Mar/2013:14:18:04 -0500] [Job 12] %%EndComments D [10/Mar/2013:14:18:04 -0500] [Job 12] Before copy_prolog - %%BeginProlog D [10/Mar/2013:14:18:04 -0500] [Job 12] Before copy_setup - %%Page: 1 1 D [10/Mar/2013:14:18:04 -0500] [Job 12] Before page loop - %%Page: 1 1 D [10/Mar/2013:14:18:04 -0500] [Job 12] Copying page 1... D [10/Mar/2013:14:18:04 -0500] [Job 12] pagew = 612.0, pagel = 792.0 D [10/Mar/2013:14:18:04 -0500] [Job 12] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792 D [10/Mar/2013:14:18:04 -0500] [Job 12] PageLeft = 0.0, PageRight = 612.0 D [10/Mar/2013:14:18:04 -0500] [Job 12] PageTop = 792.0, PageBottom = 0.0 D [10/Mar/2013:14:18:04 -0500] [Job 12] PageWidth = 612.0, PageLength = 792.0 D [10/Mar/2013:14:18:04 -0500] [Job 12] Wrote 1 pages... D [10/Mar/2013:14:18:04 -0500] [Job 12] End of messages D [10/Mar/2013:14:18:04 -0500] [Job 12] printer-state=3(idle) D [10/Mar/2013:14:18:04 -0500] [Job 12] printer-state-message="/usr/local/libexec/cups/filter/rastertogutenprint.5.2 failed" D [10/Mar/2013:14:18:04 -0500] [Job 12] printer-state-reasons=none # less page_log has no entries now trying through web interface as generic printer, resetting all logs, too. sending command: # date | lpr -PPIXMA returns w/o error, logs show: # less access_log localhost - root [10/Mar/2013:14:22:56 -0500] "POST /admin/ HTTP/1.1" 200 60 - - localhost - - [10/Mar/2013:14:22:56 -0500] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok localhost - root [10/Mar/2013:14:22:56 -0500] "POST / HTTP/1.1" 200 1565 CUPS-Get-Devices - localhost - root [10/Mar/2013:14:22:56 -0500] "POST /admin/ HTTP/1.1" 200 3062 - - localhost - root [10/Mar/2013:14:23:02 -0500] "POST /admin HTTP/1.1" 200 92 - - localhost - root [10/Mar/2013:14:23:02 -0500] "POST /admin HTTP/1.1" 200 3148 - - localhost - root [10/Mar/2013:14:23:18 -0500] "POST /admin HTTP/1.1" 200 191 - - localhost - - [10/Mar/2013:14:23:18 -0500] "POST / HTTP/1.1" 200 1581 CUPS-Get-PPDs - localhost - root [10/Mar/2013:14:23:18 -0500] "POST /admin HTTP/1.1" 200 5497 - - localhost - root [10/Mar/2013:14:23:38 -0500] "POST /admin HTTP/1.1" 200 1900 - - localhost - - [10/Mar/2013:14:23:38 -0500] "POST / HTTP/1.1" 200 26055 CUPS-Get-PPDs - localhost - root [10/Mar/2013:14:23:38 -0500] "POST /admin HTTP/1.1" 200 15717 - - localhost - root [10/Mar/2013:14:24:10 -0500] "POST /admin HTTP/1.1" 200 1938 - - localhost - - [10/Mar/2013:14:24:10 -0500] "POST /admin/ HTTP/1.1" 401 325 CUPS-Add-Modify-Printer successful-ok localhost - root [10/Mar/2013:14:24:10 -0500] "POST /admin/ HTTP/1.1" 200 325 CUPS-Add-Modify-Printer successful-ok localhost - root [10/Mar/2013:14:24:10 -0500] "POST /admin HTTP/1.1" 200 8976 - - localhost - root [10/Mar/2013:14:24:14 -0500] "POST /admin HTTP/1.1" 200 249 - - localhost - - [10/Mar/2013:14:24:14 -0500] "POST /admin/ HTTP/1.1" 401 8108 CUPS-Add-Modify-Printer successful-ok localhost - root [10/Mar/2013:14:24:14 -0500] "POST /admin/ HTTP/1.1" 200 8108 CUPS-Add-Modify-Printer successful-ok localhost - root [10/Mar/2013:14:24:14 -0500] "POST /admin HTTP/1.1" 200 2201 - - localhost - - [10/Mar/2013:14:24:37 -0500] "POST /printers/PIXMA HTTP/1.1" 200 302 Create-Job successful-ok localhost - - [10/Mar/2013:14:24:37 -0500] "POST /printers/PIXMA HTTP/1.1" 200 261 Send-Document successful-ok # less error_log W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Brother/BR5070DN_GPL.ppd.gz! W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp830c.ppd.gz! W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp850c.ppd.gz! W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp880c.ppd.gz! W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp9100.ppd.gz! W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp920c.ppd.gz! W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp950c.ppd.gz! W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp960s.ppd.gz! W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp980c.ppd.gz! W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/KONICA_MINOLTA/KOC451JX.ppd.gz! E [10/Mar/2013:14:23:19 -0500] [cups-driverd] Bad driver information file "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"! E [10/Mar/2013:14:23:19 -0500] [cups-driverd] Bad driver information file "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/kyocera_ppd_8.2.txt"! W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Brother/BR5070DN_GPL.ppd.gz! W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp830c.ppd.gz! W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp850c.ppd.gz! W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp880c.ppd.gz! W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp9100.ppd.gz! W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp920c.ppd.gz! W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp950c.ppd.gz! W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp960s.ppd.gz! W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp980c.ppd.gz! W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in /usr/local/share/cups/model/foomatic-db-ppds/KONICA_MINOLTA/KOC451JX.ppd.gz! E [10/Mar/2013:14:23:39 -0500] [cups-driverd] Bad driver information file "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"! E [10/Mar/2013:14:23:39 -0500] [cups-driverd] Bad driver information file "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/kyocera_ppd_8.2.txt"! less page_log PIXMA root 13 [10/Mar/2013:14:24:37 -0500] 1 1 - localhost (stdin) - - Still no printing going on. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From doug at safeport.com Sun Mar 10 19:31:43 2013 From: doug at safeport.com (doug at safeport.com) Date: Sun, 10 Mar 2013 15:31:41 -0400 (EDT) Subject: vlan routing In-Reply-To: References: Message-ID: On Sun, 10 Mar 2013, ??????? ??????? wrote: > 2013/3/10 : >> I am trying set this up. First I munged the IP addresses. Not to worry if I >> hit yours. I did the following commands: >> >> ifconfig vlan0 create >> ifconfig vlan0 vlan 95 vlandev fxp0 >> ifconfig vlan0 inet 134.217.128.117 netmask 255.255.255.0 >> ifconfig fxp0 add 134.217.128.117 netmask 255.255.255.0 >> route add -inet 134.217.128.117 134.217.128.1 >> >> ifconfig shows: >> >> fxp0: flags=8843 metric 0 mtu 1500 >> options=8 >> ether 00:d0:b7:56:cf:ab >> inet 45.22.17.3 netmask 0xfffffc00 broadcast 45.22.19.255 >> inet 45.22.17.17 netmask 0xffffffff broadcast 45.22.17.17 >> inet 134.217.128.117 netmask 0xffffff00 broadcast 134.217.128.255 >> media: Ethernet autoselect (100baseTX ) >> status: active >> bge0: flags=8802 metric 0 mtu 1500 >> options=9b >> ether 00:09:5b:60:e4:1f >> media: Ethernet autoselect (none) >> status: no carrier >> vlan0: flags=8843 metric 0 mtu 1500 >> ether 00:d0:b7:56:cf:ab >> inet 134.217.128.117 netmask 0xffffff00 broadcast 134.217.128.255 >> media: Ethernet autoselect (100baseTX ) >> status: active >> vlan: 95 parent interface: fxp0 >> >> Needless to say it does not work. The switch is programmed correctly (I am >> told). My questions are (1) it seems like the option got applied to the >> wrong interface; (2) what did I miss?? >> >> I also tried booting the system with IP of 134.217.128.117 but I did not get >> the rc.conf macros correctly. I do know I can not route through the switch >> without going the vlan commands. >> >> _____ >> Douglas Denault >> http://www.safeport.com >> doug at safeport.com >> Voice: 301-217-9220 >> Fax: 301-217-9277 >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > > I guess you shouldn't put the same IP address on two interfaces (vlan > and fxp0), you need to decide wherther you need tagged or untagged > vlan frames there and, depending on this decision put the IP address > on VLAN interface (tagged variant) or fxp0 (untagged one). > > If i understand your task correctly, then this line is faulty from > your configuration: >> ifconfig fxp0 add 134.217.128.117 netmask 255.255.255.0 > You don't need it. > >> route add -inet 134.217.128.117 134.217.128.1 > This is smth absoulutely wrong:) > > Basically, if you only need a vlan interface that could be used for > routing, you need these commands only: > > ifconfig vlan95 create > ifconfig vlan95 inet 134.217.128.117/24 vlan 95 vlandev fxp0 > > and in /etc/rc.conf you should put such strings: > > cloned_interfaces="vlan95" > ifconfig_vlan95="inet 134.217.128.117/24 vlan 95 vlandev fxp0" > > for the interface to be created on reboot. > Hope this helps. Thanks I will try _____ Douglas Denault http://www.safeport.com doug at safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From cederom at tlen.pl Sun Mar 10 20:07:39 2013 From: cederom at tlen.pl (CeDeROM) Date: Sun, 10 Mar 2013 21:07:31 +0100 Subject: growisofs does not burn folders correctly all files are flat on the disk no folders Message-ID: Hey :-) I have problem with growisofs - I get all files flat on the disk there are no directories as on the source drive :-( I had this once with BD and once with DVD disk on my new 9.1-RELEASE machine. growisofs -Z/dev/cd2 -dvd-compat -R -J -iso-level 3 -udf * % growisofs --version * growisofs by , version 7.1, front-ending to mkisofs: mkisofs 3.00 (amd64-unknown-freebsd9.1) Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2010 J?rg Schilling Any hints welcome :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From jnagyjr1978 at gmail.com Sun Mar 10 20:41:26 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Sun, 10 Mar 2013 15:41:21 -0500 Subject: Problems Printing In-Reply-To: <513CED38.3020405@sdf.org> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> <513666B7.4080708@gmail.com> <20130306054701.GA2295@tinyCurrent> <513CDE73.4010505@gmail.com> <513CED38.3020405@sdf.org> Message-ID: <513CEFF1.2090102@gmail.com> On 03/10/13 15:29, Chris Petrik wrote: > Are you using /usr/local/bin/lpr or /usr/bin/lpr also did you specify to > rename cups stuff to be installed as system wide ? I don't know? make.conf: WITH_CUPS=YES CUPS_OVERWRITE_BASE=YES WITHOUT_LPR=YES And, as per earlier in this thread: ls -la /usr/bin/lpr ---------- 1 root daemon 37104 Dec 4 03:34 /usr/bin/lpr > Also you dont specify which printer is it > Sorry, I thought I brought in the maintainer on my first email, saw s/he wasn't in later emails and added. Canon Pixma MP210 -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From cpet at sdf.org Sun Mar 10 20:57:18 2013 From: cpet at sdf.org (Chris Petrik) Date: Sun, 10 Mar 2013 14:29:44 -0600 Subject: Problems Printing In-Reply-To: <513CDE73.4010505@gmail.com> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> <513666B7.4080708@gmail.com> <20130306054701.GA2295@tinyCurrent> <513CDE73.4010505@gmail.com> Message-ID: <513CED38.3020405@sdf.org> On 03/10/2013 01:26 PM, Joseph A. Nagy, Jr wrote: > On 03/05/13 23:47, Matthias Apitz wrote: >> El d?a Tuesday, March 05, 2013 a las 03:42:15PM -0600, Joseph A. >> Nagy, Jr escribi?: >> >>>> then the test is >>>> >>>> $ date | lpr -PPIXMA >>>> >>>> matthias >>>> >>> >>> I figured that out, sent the test, it queud the job and stuck there. >>> When I get home I'm going to clear the cups logs and start over again. >> >> Does the CUPS' test page works from the web interface? If not, try to >> configure the printer as Generic Postscript first. >> >> matthias >> > w/o using the web interface (I don't particularly care for it, > honestly, I find it confusing) I deleted the old logs, restarted the > cupsd service, and sent > > # date | lpr -PPIXMA > less access_log > localhost - - [10/Mar/2013:14:08:23 -0500] "POST /printers/PIXMA > HTTP/1.1" 200 302 Create-Job successful-ok > localhost - - [10/Mar/2013:14:08:23 -0500] "POST /printers/PIXMA > HTTP/1.1" 200 261 Send-Document successful-ok > > Nothing in error_log or page_log > > Trying the web interface now. > > Added the printer via the web interface using usual drivers, logs show > the following: > # less access_log > localhost - - [10/Mar/2013:14:14:53 -0500] "POST /admin/ HTTP/1.1" 200 > 66 - - > localhost - - [10/Mar/2013:14:14:53 -0500] "POST / HTTP/1.1" 401 75 > CUPS-Get-Devices successful-ok > localhost - - [10/Mar/2013:14:14:53 -0500] "POST /admin/ HTTP/1.1" 200 > 1864 - - > localhost - - [10/Mar/2013:14:14:58 -0500] "POST /admin/ HTTP/1.1" 200 > 60 - - > localhost - - [10/Mar/2013:14:14:58 -0500] "POST / HTTP/1.1" 401 91 > CUPS-Get-Devices successful-ok > localhost - - [10/Mar/2013:14:14:58 -0500] "POST /admin/ HTTP/1.1" 401 > 60 - - > localhost - - [10/Mar/2013:14:14:58 -0500] "POST /admin/ HTTP/1.1" 200 > 60 - - > localhost - root [10/Mar/2013:14:15:07 -0500] "POST /admin/ HTTP/1.1" > 200 60 - - > localhost - - [10/Mar/2013:14:15:07 -0500] "POST / HTTP/1.1" 401 91 > CUPS-Get-Devices successful-ok > localhost - root [10/Mar/2013:14:15:07 -0500] "POST / HTTP/1.1" 200 > 1565 CUPS-Get-Devices - > localhost - root [10/Mar/2013:14:15:07 -0500] "POST /admin/ HTTP/1.1" > 200 3062 - - > localhost - - [10/Mar/2013:14:15:24 -0500] "POST /admin HTTP/1.1" 200 > 92 - - > localhost - - [10/Mar/2013:14:15:24 -0500] "POST /admin HTTP/1.1" 200 > 3148 - - > localhost - - [10/Mar/2013:14:15:39 -0500] "POST /admin HTTP/1.1" 200 > 212 - - > localhost - - [10/Mar/2013:14:15:39 -0500] "POST / HTTP/1.1" 200 1581 > CUPS-Get-PPDs - > localhost - - [10/Mar/2013:14:15:39 -0500] "POST /admin HTTP/1.1" 200 > 5514 - - > localhost - - [10/Mar/2013:14:15:59 -0500] "POST /admin HTTP/1.1" 200 > 1932 - - > localhost - - [10/Mar/2013:14:15:59 -0500] "POST / HTTP/1.1" 200 > 493199 CUPS-Get-PPDs - > localhost - - [10/Mar/2013:14:15:59 -0500] "POST /admin HTTP/1.1" 200 > 206446 - - > localhost - - [10/Mar/2013:14:16:59 -0500] "POST /admin HTTP/1.1" 200 > 1951 - - > localhost - - [10/Mar/2013:14:16:59 -0500] "POST /admin/ HTTP/1.1" 401 > 352 CUPS-Add-Modify-Printer successful-ok > localhost - - [10/Mar/2013:14:16:59 -0500] "POST /admin HTTP/1.1" 401 > 1951 - - > localhost - - [10/Mar/2013:14:16:59 -0500] "POST /admin HTTP/1.1" 200 > 1951 - - > localhost - root [10/Mar/2013:14:16:59 -0500] "POST /admin HTTP/1.1" > 200 1951 - - > localhost - - [10/Mar/2013:14:16:59 -0500] "POST /admin/ HTTP/1.1" 401 > 352 CUPS-Add-Modify-Printer successful-ok > localhost - root [10/Mar/2013:14:16:59 -0500] "POST /admin/ HTTP/1.1" > 200 352 CUPS-Add-Modify-Printer successful-ok > localhost - root [10/Mar/2013:14:16:59 -0500] "POST /admin HTTP/1.1" > 200 70230 - - > localhost - root [10/Mar/2013:14:17:29 -0500] "POST /admin HTTP/1.1" > 200 2063 - - > localhost - - [10/Mar/2013:14:17:29 -0500] "POST /admin/ HTTP/1.1" 401 > 522723 CUPS-Add-Modify-Printer successful-ok > localhost - root [10/Mar/2013:14:17:29 -0500] "POST /admin/ HTTP/1.1" > 200 522723 CUPS-Add-Modify-Printer successful-ok > localhost - root [10/Mar/2013:14:17:29 -0500] "POST /admin HTTP/1.1" > 200 4015 - - > localhost - - [10/Mar/2013:14:18:04 -0500] "POST /printers/PIXMA > HTTP/1.1" 200 302 Create-Job successful-ok > localhost - - [10/Mar/2013:14:18:04 -0500] "POST /printers/PIXMA > HTTP/1.1" 200 261 Send-Document successful-ok > > # less error_log > W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Brother/BR5070DN_GPL.ppd.gz! > W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp830c.ppd.gz! > W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp850c.ppd.gz! > W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp880c.ppd.gz! > W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp9100.ppd.gz! > W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp920c.ppd.gz! > W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp950c.ppd.gz! > W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp960s.ppd.gz! > W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp980c.ppd.gz! > W [10/Mar/2013:14:15:40 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/KONICA_MINOLTA/KOC451JX.ppd.gz! > E [10/Mar/2013:14:15:40 -0500] [cups-driverd] Bad driver information > file "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"! > E [10/Mar/2013:14:15:40 -0500] [cups-driverd] Bad driver information > file > "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/kyocera_ppd_8.2.txt"! > W [10/Mar/2013:14:15:59 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Brother/BR5070DN_GPL.ppd.gz! > W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp830c.ppd.gz! > W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp850c.ppd.gz! > W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp880c.ppd.gz! > W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp9100.ppd.gz! > W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp920c.ppd.gz! > W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp950c.ppd.gz! > W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp960s.ppd.gz! > W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp980c.ppd.gz! > W [10/Mar/2013:14:16:00 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/KONICA_MINOLTA/KOC451JX.ppd.gz! > E [10/Mar/2013:14:16:00 -0500] [cups-driverd] Bad driver information > file "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"! > E [10/Mar/2013:14:16:00 -0500] [cups-driverd] Bad driver information > file > "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/kyocera_ppd_8.2.txt"! > E [10/Mar/2013:14:18:04 -0500] [Job 12] Job stopped due to filter > errors; please consult the error_log file for details. > D [10/Mar/2013:14:18:04 -0500] [Job 12] The following messages were > recorded from 14:18:04 to 14:18:04 > D [10/Mar/2013:14:18:04 -0500] [Job 12] Adding start banner page "none". > D [10/Mar/2013:14:18:04 -0500] [Job 12] Queued on "PIXMA" by "root". > D [10/Mar/2013:14:18:04 -0500] [Job 12] Auto-typing file... > D [10/Mar/2013:14:18:04 -0500] [Job 12] Request file type is text/plain. > D [10/Mar/2013:14:18:04 -0500] [Job 12] File of type text/plain queued > by "root". > D [10/Mar/2013:14:18:04 -0500] [Job 12] Adding end banner page "none". > D [10/Mar/2013:14:18:04 -0500] [Job 12] job-sheets=none,none > D [10/Mar/2013:14:18:04 -0500] [Job 12] argv[0]="PIXMA" > D [10/Mar/2013:14:18:04 -0500] [Job 12] argv[1]="12" > D [10/Mar/2013:14:18:04 -0500] [Job 12] argv[2]="root" > D [10/Mar/2013:14:18:04 -0500] [Job 12] argv[3]="(stdin)" > D [10/Mar/2013:14:18:04 -0500] [Job 12] argv[4]="1" > D [10/Mar/2013:14:18:04 -0500] [Job 12] argv[5]="finishings=3 > number-up=1 job-uuid=urn:uuid:580bc5de-6ae0-3db1-7a65-e048e3412ee3 > job-originating-host-name=localhost time-at-creation=1362943084 > time-at-processing=1362943084" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > argv[6]="/var/spool/cups/d00012-001" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[0]="CUPS_CACHEDIR=/var/db/cups" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[1]="CUPS_DATADIR=/usr/local/share/cups" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[2]="CUPS_DOCROOT=/usr/local/share/doc/cups" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[3]="CUPS_FONTPATH=/usr/local/share/cups/fonts" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[4]="CUPS_REQUESTROOT=/var/spool/cups" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[5]="CUPS_SERVERBIN=/usr/local/libexec/cups" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[6]="CUPS_SERVERROOT=/usr/local/etc/cups" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[7]="CUPS_STATEDIR=/var/run/cups" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[8]="HOME=/var/spool/cups/tmp" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[9]="PATH=/usr/local/libexec/cups/filter:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[10]="SERVER_ADMIN=root at alex-laptop" > D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[11]="SOFTWARE=CUPS/1.5.4" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[12]="TMPDIR=/var/spool/cups/tmp" > D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[13]="USER=root" > D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[14]="CUPS_MAX_MESSAGE=2047" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[15]="CUPS_SERVER=/var/run/cups.sock" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[16]="CUPS_ENCRYPTION=IfRequested" > D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[17]="IPP_PORT=631" > D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[18]="CHARSET=utf-8" > D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[19]="LANG=en_US.UTF-8" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[20]="PPD=/usr/local/etc/cups/ppd/PIXMA.ppd" > D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[21]="RIP_MAX_CACHE=128m" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[22]="CONTENT_TYPE=text/plain" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[23]="DEVICE_URI=usb:/dev/ulpt0" > D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[24]="PRINTER_INFO=Pixma > MP-210" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[25]="PRINTER_LOCATION=office" > D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[26]="PRINTER=PIXMA" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[27]="PRINTER_STATE_REASONS=none" > D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[28]="CUPS_FILETYPE=document" > D [10/Mar/2013:14:18:04 -0500] [Job 12] > envp[29]="FINAL_CONTENT_TYPE=printer/PIXMA" > D [10/Mar/2013:14:18:04 -0500] [Job 12] envp[30]="AUTH_I****" > D [10/Mar/2013:14:18:04 -0500] [Job 12] Started filter > /usr/local/libexec/cups/filter/texttops (PID 26709) > D [10/Mar/2013:14:18:04 -0500] [Job 12] Started filter > /usr/local/libexec/cups/filter/pstops (PID 26710) > D [10/Mar/2013:14:18:04 -0500] [Job 12] Started filter > /usr/local/libexec/cups/filter/pstoraster (PID 26711) > D [10/Mar/2013:14:18:04 -0500] [Job 12] Started filter > /usr/local/libexec/cups/filter/rastertogutenprint.5.2 (PID 26712) > D [10/Mar/2013:14:18:04 -0500] [Job 12] Started backend > /usr/local/libexec/cups/backend/usb (PID 26713) > D [10/Mar/2013:14:18:04 -0500] [Job 12] STATE: +connecting-to-device > D [10/Mar/2013:14:18:04 -0500] [Job 12] Starting GNU/GPL Ghostscript... > D [10/Mar/2013:14:18:04 -0500] [Job 12] Set job-printer-state-message > to "Starting GNU/GPL Ghostscript...", current level=INFO > D [10/Mar/2013:14:18:04 -0500] [Job 12] Running /usr/local/bin/espgs > -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS > -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c - > D [10/Mar/2013:14:18:04 -0500] [Job 12] STATE: -connecting-to-device > D [10/Mar/2013:14:18:04 -0500] [Job 12] backendRunLoop(print_fd=0, > device_fd=5, snmp_fd=-1, addr=0x0, use_bc=0, side_cb=0x4021f0) > D [10/Mar/2013:14:18:04 -0500] [Job 12] Page = 612x792; 0,0 to 612,792 > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->num_fonts = 35 > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[0] = AvantGarde-Book > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[1] = > AvantGarde-BookOblique > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[2] = AvantGarde-Demi > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[3] = > AvantGarde-DemiOblique > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[4] = Bookman-Demi > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[5] = > Bookman-DemiItalic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[6] = Bookman-Light > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[7] = > Bookman-LightItalic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[8] = Courier > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[9] = Courier-Bold > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[10] = > Courier-BoldOblique > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[11] = Courier-Oblique > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[12] = Helvetica > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[13] = Helvetica-Bold > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[14] = > Helvetica-BoldOblique > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[15] = Helvetica-Narrow > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[16] = > Helvetica-Narrow-Bold > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[17] = > Helvetica-Narrow-BoldOblique > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[18] = > Helvetica-Narrow-Oblique > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[19] = > Helvetica-Oblique > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[20] = > NewCenturySchlbk-Bold > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[21] = > NewCenturySchlbk-BoldItalic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[22] = > NewCenturySchlbk-Italic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[23] = > NewCenturySchlbk-Roman > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[24] = Palatino-Bold > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[25] = > Palatino-BoldItalic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[26] = Palatino-Italic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[27] = Palatino-Roman > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[28] = Symbol > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[29] = Times-Bold > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[30] = Times-BoldItalic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[31] = Times-Italic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[32] = Times-Roman > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[33] = > ZapfChancery-MediumItalic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[34] = ZapfDingbats > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->num_fonts = 35 > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[0] = AvantGarde-Book > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[1] = > AvantGarde-BookOblique > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[2] = AvantGarde-Demi > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[3] = > AvantGarde-DemiOblique > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[4] = Bookman-Demi > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[5] = > Bookman-DemiItalic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[6] = Bookman-Light > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[7] = > Bookman-LightItalic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[8] = Courier > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[9] = Courier-Bold > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[10] = > Courier-BoldOblique > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[11] = Courier-Oblique > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[12] = Helvetica > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[13] = Helvetica-Bold > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[14] = > Helvetica-BoldOblique > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[15] = Helvetica-Narrow > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[16] = > Helvetica-Narrow-Bold > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[17] = > Helvetica-Narrow-BoldOblique > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[18] = > Helvetica-Narrow-Oblique > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[19] = > Helvetica-Oblique > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[20] = > NewCenturySchlbk-Bold > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[21] = > NewCenturySchlbk-BoldItalic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[22] = > NewCenturySchlbk-Italic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[23] = > NewCenturySchlbk-Roman > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[24] = Palatino-Bold > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[25] = > Palatino-BoldItalic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[26] = Palatino-Italic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[27] = Palatino-Roman > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[28] = Symbol > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[29] = Times-Bold > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[30] = Times-BoldItalic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[31] = Times-Italic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[32] = Times-Roman > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[33] = > ZapfChancery-MediumItalic > D [10/Mar/2013:14:18:04 -0500] [Job 12] ppd->fonts[34] = ZapfDingbats > D [10/Mar/2013:14:18:04 -0500] [Job 12] Shared object > "libgnutls.so.47" not found, required by "rastertogutenprint.5.2" > D [10/Mar/2013:14:18:04 -0500] [Job 12] Shared object > "libgnutls.so.47" not found, required by "espgs" > D [10/Mar/2013:14:18:04 -0500] [Job 12] Page = 612x792; 0,0 to 612,792 > D [10/Mar/2013:14:18:04 -0500] [Job 12] slow_collate=0, slow_duplex=0, > slow_order=0 > D [10/Mar/2013:14:18:04 -0500] [Job 12] Before copy_comments - > %!PS-Adobe-3.0 > D [10/Mar/2013:14:18:04 -0500] [Job 12] %!PS-Adobe-3.0 > D [10/Mar/2013:14:18:04 -0500] [Job 12] %%BoundingBox: 0 0 612 792 > D [10/Mar/2013:14:18:04 -0500] [Job 12] %cupsRotation: 0 > D [10/Mar/2013:14:18:04 -0500] [Job 12] %%Creator: texttops/CUPS v1.5.4 > D [10/Mar/2013:14:18:04 -0500] [Job 12] %%CreationDate: Sun Mar 10 > 14:18:04 2013 > D [10/Mar/2013:14:18:04 -0500] [Job 12] %%Title: ((stdin)) > D [10/Mar/2013:14:18:04 -0500] [Job 12] %%For: (root) > D [10/Mar/2013:14:18:04 -0500] [Job 12] %%Pages: (atend) > D [10/Mar/2013:14:18:04 -0500] [Job 12] %%DocumentNeededResources: > font Monospace-Bold > D [10/Mar/2013:14:18:04 -0500] [Job 12] %%+ font Monospace > D [10/Mar/2013:14:18:04 -0500] [Job 12] %%DocumentSuppliedResources: > procset texttops 1.1 0 > D [10/Mar/2013:14:18:04 -0500] [Job 12] %%+ font Monospace-Bold > D [10/Mar/2013:14:18:04 -0500] [Job 12] %%+ font Monospace > D [10/Mar/2013:14:18:04 -0500] [Job 12] %%EndComments > D [10/Mar/2013:14:18:04 -0500] [Job 12] Before copy_prolog - > %%BeginProlog > D [10/Mar/2013:14:18:04 -0500] [Job 12] Before copy_setup - %%Page: 1 1 > D [10/Mar/2013:14:18:04 -0500] [Job 12] Before page loop - %%Page: 1 1 > D [10/Mar/2013:14:18:04 -0500] [Job 12] Copying page 1... > D [10/Mar/2013:14:18:04 -0500] [Job 12] pagew = 612.0, pagel = 792.0 > D [10/Mar/2013:14:18:04 -0500] [Job 12] bboxx = 0, bboxy = 0, bboxw = > 612, bboxl = 792 > D [10/Mar/2013:14:18:04 -0500] [Job 12] PageLeft = 0.0, PageRight = 612.0 > D [10/Mar/2013:14:18:04 -0500] [Job 12] PageTop = 792.0, PageBottom = 0.0 > D [10/Mar/2013:14:18:04 -0500] [Job 12] PageWidth = 612.0, PageLength > = 792.0 > D [10/Mar/2013:14:18:04 -0500] [Job 12] Wrote 1 pages... > D [10/Mar/2013:14:18:04 -0500] [Job 12] End of messages > D [10/Mar/2013:14:18:04 -0500] [Job 12] printer-state=3(idle) > D [10/Mar/2013:14:18:04 -0500] [Job 12] > printer-state-message="/usr/local/libexec/cups/filter/rastertogutenprint.5.2 > failed" > D [10/Mar/2013:14:18:04 -0500] [Job 12] printer-state-reasons=none > > # less page_log > has no entries > > now trying through web interface as generic printer, resetting all > logs, too. > > sending command: > # date | lpr -PPIXMA > > returns w/o error, logs show: > > # less access_log > localhost - root [10/Mar/2013:14:22:56 -0500] "POST /admin/ HTTP/1.1" > 200 60 - - > localhost - - [10/Mar/2013:14:22:56 -0500] "POST / HTTP/1.1" 401 91 > CUPS-Get-Devices successful-ok > localhost - root [10/Mar/2013:14:22:56 -0500] "POST / HTTP/1.1" 200 > 1565 CUPS-Get-Devices - > localhost - root [10/Mar/2013:14:22:56 -0500] "POST /admin/ HTTP/1.1" > 200 3062 - - > localhost - root [10/Mar/2013:14:23:02 -0500] "POST /admin HTTP/1.1" > 200 92 - - > localhost - root [10/Mar/2013:14:23:02 -0500] "POST /admin HTTP/1.1" > 200 3148 - - > localhost - root [10/Mar/2013:14:23:18 -0500] "POST /admin HTTP/1.1" > 200 191 - - > localhost - - [10/Mar/2013:14:23:18 -0500] "POST / HTTP/1.1" 200 1581 > CUPS-Get-PPDs - > localhost - root [10/Mar/2013:14:23:18 -0500] "POST /admin HTTP/1.1" > 200 5497 - - > localhost - root [10/Mar/2013:14:23:38 -0500] "POST /admin HTTP/1.1" > 200 1900 - - > localhost - - [10/Mar/2013:14:23:38 -0500] "POST / HTTP/1.1" 200 26055 > CUPS-Get-PPDs - > localhost - root [10/Mar/2013:14:23:38 -0500] "POST /admin HTTP/1.1" > 200 15717 - - > localhost - root [10/Mar/2013:14:24:10 -0500] "POST /admin HTTP/1.1" > 200 1938 - - > localhost - - [10/Mar/2013:14:24:10 -0500] "POST /admin/ HTTP/1.1" 401 > 325 CUPS-Add-Modify-Printer successful-ok > localhost - root [10/Mar/2013:14:24:10 -0500] "POST /admin/ HTTP/1.1" > 200 325 CUPS-Add-Modify-Printer successful-ok > localhost - root [10/Mar/2013:14:24:10 -0500] "POST /admin HTTP/1.1" > 200 8976 - - > localhost - root [10/Mar/2013:14:24:14 -0500] "POST /admin HTTP/1.1" > 200 249 - - > localhost - - [10/Mar/2013:14:24:14 -0500] "POST /admin/ HTTP/1.1" 401 > 8108 CUPS-Add-Modify-Printer successful-ok > localhost - root [10/Mar/2013:14:24:14 -0500] "POST /admin/ HTTP/1.1" > 200 8108 CUPS-Add-Modify-Printer successful-ok > localhost - root [10/Mar/2013:14:24:14 -0500] "POST /admin HTTP/1.1" > 200 2201 - - > localhost - - [10/Mar/2013:14:24:37 -0500] "POST /printers/PIXMA > HTTP/1.1" 200 302 Create-Job successful-ok > localhost - - [10/Mar/2013:14:24:37 -0500] "POST /printers/PIXMA > HTTP/1.1" 200 261 Send-Document successful-ok > > # less error_log > W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Brother/BR5070DN_GPL.ppd.gz! > W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp830c.ppd.gz! > W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp850c.ppd.gz! > W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp880c.ppd.gz! > W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp9100.ppd.gz! > W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp920c.ppd.gz! > W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp950c.ppd.gz! > W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp960s.ppd.gz! > W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp980c.ppd.gz! > W [10/Mar/2013:14:23:19 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/KONICA_MINOLTA/KOC451JX.ppd.gz! > E [10/Mar/2013:14:23:19 -0500] [cups-driverd] Bad driver information > file "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"! > E [10/Mar/2013:14:23:19 -0500] [cups-driverd] Bad driver information > file > "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/kyocera_ppd_8.2.txt"! > W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Brother/BR5070DN_GPL.ppd.gz! > W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp830c.ppd.gz! > W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp850c.ppd.gz! > W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp880c.ppd.gz! > W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp9100.ppd.gz! > W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp920c.ppd.gz! > W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp950c.ppd.gz! > W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp960s.ppd.gz! > W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp980c.ppd.gz! > W [10/Mar/2013:14:23:38 -0500] [CGI] Missing NickName and ModelName in > /usr/local/share/cups/model/foomatic-db-ppds/KONICA_MINOLTA/KOC451JX.ppd.gz! > E [10/Mar/2013:14:23:39 -0500] [cups-driverd] Bad driver information > file "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"! > E [10/Mar/2013:14:23:39 -0500] [cups-driverd] Bad driver information > file > "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/kyocera_ppd_8.2.txt"! > > less page_log > PIXMA root 13 [10/Mar/2013:14:24:37 -0500] 1 1 - localhost (stdin) - - > > Still no printing going on. Are you using /usr/local/bin/lpr or /usr/bin/lpr also did you specify to rename cups stuff to be installed as system wide ? Also you dont specify which printer is it From tamino at wolfhut.org Sun Mar 10 21:06:41 2013 From: tamino at wolfhut.org (Ben Cottrell) Date: Sun, 10 Mar 2013 14:06:40 -0700 Subject: day light saving time happened today In-Reply-To: <513CC4C4.8080405@a1poweruser.com> References: <513CC4C4.8080405@a1poweruser.com> Message-ID: On Mar 10, 2013, at 10:37, Fbsd8 wrote: > day light saving time happened early sunday morning and the time shown by the date command is still one hour behind. I just did a clean 9.1 install from cdrom and selected the correct time zone for my location. The DST change worked fine for me...! I'm curious what it prints if you run the command: find /usr/share/zoneinfo -type f -print | xargs md5 | grep `md5 -q /etc/localtime` It used to be that /etc/localtime was, by convention if nothing else, a symlink so you could easily see what it pointed to, but not anymore... the above is the easiest way I can think of to figure out what time zone your system is *really* set to. Yes, it should have happened automatically. There's no special setting you have to enable. It should have "just worked". So my suspicion is that your /etc/localtime isn't pointing to what you think it's pointing to... ~Ben From johnl at iecc.com Sun Mar 10 21:15:11 2013 From: johnl at iecc.com (John Levine) Date: 10 Mar 2013 21:14:47 -0000 Subject: day light saving time happened today In-Reply-To: <513CC4C4.8080405@a1poweruser.com> Message-ID: <20130310211447.58408.qmail@joyce.lan> >day light saving time happened early sunday morning and the time shown >by the date command is still one hour behind. I just did a clean 9.1 >install from cdrom and selected the correct time zone for my location. > >I don't see any entry for daylight saving time in tzsetup > >I though the EDT had daylight saving time built in. It does. Any chance your computer's clock got reset an hour slow? My 8.3 and 9.1 systems handled the daylight switch just like they were supposed to. -- Regards, John Levine, johnl at iecc.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. http://jl.ly From cpet at sdf.org Sun Mar 10 21:19:28 2013 From: cpet at sdf.org (Chris Petrik) Date: Sun, 10 Mar 2013 15:19:22 -0600 Subject: Problems Printing In-Reply-To: <513CEFF1.2090102@gmail.com> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> <513666B7.4080708@gmail.com> <20130306054701.GA2295@tinyCurrent> <513CDE73.4010505@gmail.com> <513CED38.3020405@sdf.org> <513CEFF1.2090102@gmail.com> Message-ID: <513CF8DA.8050600@sdf.org> On 03/10/2013 02:41 PM, Joseph A. Nagy, Jr wrote: > On 03/10/13 15:29, Chris Petrik wrote: > >> Are you using /usr/local/bin/lpr or /usr/bin/lpr also did you specify to >> rename cups stuff to be installed as system wide ? > > I don't know? make.conf: > > WITH_CUPS=YES > CUPS_OVERWRITE_BASE=YES > WITHOUT_LPR=YES > > And, as per earlier in this thread: > ls -la /usr/bin/lpr > ---------- 1 root daemon 37104 Dec 4 03:34 /usr/bin/lpr > >> Also you dont specify which printer is it >> > > Sorry, I thought I brought in the maintainer on my first email, saw > s/he wasn't in later emails and added. > > Canon Pixma MP210 > I am the maintainer I just don't use the other email in ML's From jnagyjr1978 at gmail.com Sun Mar 10 21:40:07 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Sun, 10 Mar 2013 16:40:01 -0500 Subject: Problems Printing In-Reply-To: <513CF8DA.8050600@sdf.org> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> <513666B7.4080708@gmail.com> <20130306054701.GA2295@tinyCurrent> <513CDE73.4010505@gmail.com> <513CED38.3020405@sdf.org> <513CEFF1.2090102@gmail.com> <513CF8DA.8050600@sdf.org> Message-ID: <513CFDB1.2050800@gmail.com> On 03/10/13 16:19, Chris Petrik wrote: > On 03/10/2013 02:41 PM, Joseph A. Nagy, Jr wrote: >> On 03/10/13 15:29, Chris Petrik wrote: >> >>> Are you using /usr/local/bin/lpr or /usr/bin/lpr also did you specify to >>> rename cups stuff to be installed as system wide ? >> >> I don't know? make.conf: >> >> WITH_CUPS=YES >> CUPS_OVERWRITE_BASE=YES >> WITHOUT_LPR=YES >> >> And, as per earlier in this thread: >> ls -la /usr/bin/lpr >> ---------- 1 root daemon 37104 Dec 4 03:34 /usr/bin/lpr >> >>> Also you dont specify which printer is it >>> >> >> Sorry, I thought I brought in the maintainer on my first email, saw >> s/he wasn't in later emails and added. >> >> Canon Pixma MP210 >> > I am the maintainer I just don't use the other email in ML's Well...that's your choice. Again, I thought I brought you in on the first email (or a earlier followup) but I didn't. My bad on that. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From jnagyjr1978 at gmail.com Sun Mar 10 21:45:39 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Sun, 10 Mar 2013 16:45:31 -0500 Subject: While Updating doxygen Message-ID: <513CFEFB.5070903@gmail.com> (./install.tex [5] [6] [7] [8] Overfull \hbox (127.39917pt too wide) in paragraph at lines 231--232 []\T1/phv/m/n/10 Note that com-pil-ing Doxy-wiz-ard cur-rently re-quires Qt ver -sion 4 (see [][]\T1/pcr/m/n/10 http-://qt.-nokia.-com/products/platform/qt-for -windows[][]\T1/phv/m/n/10 ). [9]) [10] Chapter 3. (./starting.tex ! LaTeX Error: File `infoflow' not found. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.9 \includegraphics[width=14cm]{infoflow} ? and that is where I am sitting right now, unsure what to do. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From fbsd8 at a1poweruser.com Sun Mar 10 21:50:31 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Sun, 10 Mar 2013 17:50:30 -0400 Subject: day light saving time happened today In-Reply-To: References: <513CC4C4.8080405@a1poweruser.com> Message-ID: <513D0026.6030109@a1poweruser.com> Ben Cottrell wrote: > On Mar 10, 2013, at 10:37, Fbsd8 wrote: >> day light saving time happened early sunday morning and the time shown by the date command is still one hour behind. I just did a clean 9.1 install from cdrom and selected the correct time zone for my location. > > The DST change worked fine for me...! > > I'm curious what it prints if you run the command: > > find /usr/share/zoneinfo -type f -print | xargs md5 | grep `md5 -q /etc/localtime` > > It used to be that /etc/localtime was, by convention if > nothing else, a symlink so you could easily see what it pointed > to, but not anymore... the above is the easiest way I can think > of to figure out what time zone your system is *really* set to. > > Yes, it should have happened automatically. There's no special > setting you have to enable. It should have "just worked". So > my suspicion is that your /etc/localtime isn't pointing to > what you think it's pointing to... > > ~Ben This is what that find produced # /root >find /usr/share/zoneinfo -type f -print | xargs md5 | grep `md5 -q /etc /localtime` MD5 (/usr/share/zoneinfo/America/New_York) = e4ca381035a34b7a852184cc0dd89baa MD5 (/usr/share/zoneinfo/posixrules) = e4ca381035a34b7a852184cc0dd89baa echo $TZ undefined variable From freebsd at edvax.de Sun Mar 10 21:59:16 2013 From: freebsd at edvax.de (Polytropon) Date: Sun, 10 Mar 2013 22:59:08 +0100 Subject: While Updating doxygen In-Reply-To: <513CFEFB.5070903@gmail.com> References: <513CFEFB.5070903@gmail.com> Message-ID: <20130310225908.1821d063.freebsd@edvax.de> On Sun, 10 Mar 2013 16:45:31 -0500, Joseph A. Nagy, Jr wrote: > (./install.tex [5] [6] [7] [8] > Overfull \hbox (127.39917pt too wide) in paragraph at lines 231--232 > []\T1/phv/m/n/10 Note that com-pil-ing Doxy-wiz-ard cur-rently re-quires > Qt ver > -sion 4 (see [][]\T1/pcr/m/n/10 > http-://qt.-nokia.-com/products/platform/qt-for > -windows[][]\T1/phv/m/n/10 ). > [9]) [10] > Chapter 3. > (./starting.tex > > ! LaTeX Error: File `infoflow' not found. > > See the LaTeX manual or LaTeX Companion for explanation. > Type H for immediate help. > ... > > l.9 \includegraphics[width=14cm]{infoflow} > > ? > > and that is where I am sitting right now, unsure what to do. Enter the "q" command. This will end the LaTeX processor. It seems that your LaTeX installation (TeXLive or teTeX) is missing a file required for building the documentation. Is the file /usr/local/share/doc/doxygen/html/infoflow.gif present on your system? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From jnagyjr1978 at gmail.com Sun Mar 10 22:01:01 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Sun, 10 Mar 2013 17:00:57 -0500 Subject: While Updating doxygen In-Reply-To: <20130310225908.1821d063.freebsd@edvax.de> References: <513CFEFB.5070903@gmail.com> <20130310225908.1821d063.freebsd@edvax.de> Message-ID: <513D0299.2030501@gmail.com> On 03/10/13 16:59, Polytropon wrote: > On Sun, 10 Mar 2013 16:45:31 -0500, Joseph A. Nagy, Jr wrote: >> (./install.tex [5] [6] [7] [8] >> Overfull \hbox (127.39917pt too wide) in paragraph at lines 231--232 >> []\T1/phv/m/n/10 Note that com-pil-ing Doxy-wiz-ard cur-rently re-quires >> Qt ver >> -sion 4 (see [][]\T1/pcr/m/n/10 >> http-://qt.-nokia.-com/products/platform/qt-for >> -windows[][]\T1/phv/m/n/10 ). >> [9]) [10] >> Chapter 3. >> (./starting.tex >> >> ! LaTeX Error: File `infoflow' not found. >> >> See the LaTeX manual or LaTeX Companion for explanation. >> Type H for immediate help. >> ... >> >> l.9 \includegraphics[width=14cm]{infoflow} >> >> ? >> >> and that is where I am sitting right now, unsure what to do. > > Enter the "q" command. This will end the LaTeX processor. > > It seems that your LaTeX installation (TeXLive or teTeX) > is missing a file required for building the documentation. doh > Is the file /usr/local/share/doc/doxygen/html/infoflow.gif > present on your system? > > > nope, but I do have: ls in index.html infoflow.png install.html -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From jnagyjr1978 at gmail.com Sun Mar 10 22:04:39 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Sun, 10 Mar 2013 17:04:34 -0500 Subject: While Updating doxygen In-Reply-To: <20130310225908.1821d063.freebsd@edvax.de> References: <513CFEFB.5070903@gmail.com> <20130310225908.1821d063.freebsd@edvax.de> Message-ID: <513D0372.9070909@gmail.com> On 03/10/13 16:59, Polytropon wrote: > On Sun, 10 Mar 2013 16:45:31 -0500, Joseph A. Nagy, Jr wrote: >> (./install.tex [5] [6] [7] [8] >> Overfull \hbox (127.39917pt too wide) in paragraph at lines 231--232 >> []\T1/phv/m/n/10 Note that com-pil-ing Doxy-wiz-ard cur-rently re-quires >> Qt ver >> -sion 4 (see [][]\T1/pcr/m/n/10 >> http-://qt.-nokia.-com/products/platform/qt-for >> -windows[][]\T1/phv/m/n/10 ). >> [9]) [10] >> Chapter 3. >> (./starting.tex >> >> ! LaTeX Error: File `infoflow' not found. >> >> See the LaTeX manual or LaTeX Companion for explanation. >> Type H for immediate help. >> ... >> >> l.9 \includegraphics[width=14cm]{infoflow} >> >> ? >> >> and that is where I am sitting right now, unsure what to do. > > Enter the "q" command. This will end the LaTeX processor. > > It seems that your LaTeX installation (TeXLive or teTeX) > is missing a file required for building the documentation. > > Is the file /usr/local/share/doc/doxygen/html/infoflow.gif > present on your system? > > > Sent that last email too early. Update terminated. c'est la vie. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From freebsd at edvax.de Sun Mar 10 22:06:47 2013 From: freebsd at edvax.de (Polytropon) Date: Sun, 10 Mar 2013 23:06:51 +0100 Subject: While Updating doxygen In-Reply-To: <513D0299.2030501@gmail.com> References: <513CFEFB.5070903@gmail.com> <20130310225908.1821d063.freebsd@edvax.de> <513D0299.2030501@gmail.com> Message-ID: <20130310230651.ac7b1699.freebsd@edvax.de> On Sun, 10 Mar 2013 17:00:57 -0500, Joseph A. Nagy, Jr wrote: > On 03/10/13 16:59, Polytropon wrote: > > On Sun, 10 Mar 2013 16:45:31 -0500, Joseph A. Nagy, Jr wrote: > >> (./install.tex [5] [6] [7] [8] > >> Overfull \hbox (127.39917pt too wide) in paragraph at lines 231--232 > >> []\T1/phv/m/n/10 Note that com-pil-ing Doxy-wiz-ard cur-rently re-quires > >> Qt ver > >> -sion 4 (see [][]\T1/pcr/m/n/10 > >> http-://qt.-nokia.-com/products/platform/qt-for > >> -windows[][]\T1/phv/m/n/10 ). > >> [9]) [10] > >> Chapter 3. > >> (./starting.tex > >> > >> ! LaTeX Error: File `infoflow' not found. > >> > >> See the LaTeX manual or LaTeX Companion for explanation. > >> Type H for immediate help. > >> ... > >> > >> l.9 \includegraphics[width=14cm]{infoflow} > >> > >> ? > >> > >> and that is where I am sitting right now, unsure what to do. > > > > Enter the "q" command. This will end the LaTeX processor. > > > > It seems that your LaTeX installation (TeXLive or teTeX) > > is missing a file required for building the documentation. > > doh Not your fault. :-) > > Is the file /usr/local/share/doc/doxygen/html/infoflow.gif > > present on your system? > > > > > > > nope, but I do have: > ls in > index.html infoflow.png install.html That looks valid (I'm on a much older system here, so things might have changed). What directory are those in? Somewhere in the port's working directory? Try "make clean" and rebuild. >From the source file, you've quoted the following line: \includegraphics[width=14cm]{infoflow} This means the graphicx package will obtain the required file automatically, that could be in a different format (PNG is supported by pdflatex, EPS is common for "normal" latex). If a conversion is required, the port should have done this prior to running LaTeX (be it from teTeX or TeXLive which is "today's preferred LaTeX distribution"). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From tamino at wolfhut.org Sun Mar 10 22:10:03 2013 From: tamino at wolfhut.org (Ben Cottrell) Date: Sun, 10 Mar 2013 15:10:02 -0700 Subject: day light saving time happened today In-Reply-To: <513D0026.6030109@a1poweruser.com> References: <513CC4C4.8080405@a1poweruser.com> <513D0026.6030109@a1poweruser.com> Message-ID: <5C91A731-BF1E-4FD2-AB26-5348F0685967@wolfhut.org> On Mar 10, 2013, at 14:50, Fbsd8 wrote: > # /root >find /usr/share/zoneinfo -type f -print | xargs md5 | grep `md5 -q /etc /localtime` > MD5 (/usr/share/zoneinfo/America/New_York) = e4ca381035a34b7a852184cc0dd89baa That's really, really odd. I'm confused. If you run "date" does it show the time zone as EST or EDT? If you have python installed, you might also try: python -c 'import time; print time.localtime().tm_isdst' (it should be 1) Is the year correct? I mean, could it be thinking it's some different year, where the time zone rules are different? Now *I'm* curious. :-) I've honestly never seen a system do that before. If you figure it out, I hope you'll let either me, or the list, know what it was! ~Ben From jnagyjr1978 at gmail.com Sun Mar 10 22:12:05 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Sun, 10 Mar 2013 17:11:59 -0500 Subject: While Updating doxygen In-Reply-To: <20130310230651.ac7b1699.freebsd@edvax.de> References: <513CFEFB.5070903@gmail.com> <20130310225908.1821d063.freebsd@edvax.de> <513D0299.2030501@gmail.com> <20130310230651.ac7b1699.freebsd@edvax.de> Message-ID: <513D052F.1050102@gmail.com> On 03/10/13 17:06, Polytropon wrote: > On Sun, 10 Mar 2013 17:00:57 -0500, Joseph A. Nagy, Jr wrote: >>> Is the file /usr/local/share/doc/doxygen/html/infoflow.gif >>> present on your system? >>> >>> >>> >> nope, but I do have: >> ls in >> index.html infoflow.png install.html > > That looks valid (I'm on a much older system here, so things > might have changed). > > What directory are those in? Somewhere in the port's working > directory? Try "make clean" and rebuild. Nope, from /usr/local/share/doc/doxygen/html/ I'll do that once the other updates are run through (a bunch of them to be sure). > > From the source file, you've quoted the following line: > > \includegraphics[width=14cm]{infoflow} > > This means the graphicx package will obtain the required > file automatically, that could be in a different format > (PNG is supported by pdflatex, EPS is common for "normal" > latex). If a conversion is required, the port should have > done this prior to running LaTeX (be it from teTeX or > TeXLive which is "today's preferred LaTeX distribution"). > > > I think it's teTex, but I'm not sure. Whatever one got pulled in for Scribus and the other programs that dep on it. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From freebsd at edvax.de Sun Mar 10 22:21:58 2013 From: freebsd at edvax.de (Polytropon) Date: Sun, 10 Mar 2013 23:22:01 +0100 Subject: While Updating doxygen In-Reply-To: <513D052F.1050102@gmail.com> References: <513CFEFB.5070903@gmail.com> <20130310225908.1821d063.freebsd@edvax.de> <513D0299.2030501@gmail.com> <20130310230651.ac7b1699.freebsd@edvax.de> <513D052F.1050102@gmail.com> Message-ID: <20130310232201.0bd509a5.freebsd@edvax.de> On Sun, 10 Mar 2013 17:11:59 -0500, Joseph A. Nagy, Jr wrote: > On 03/10/13 17:06, Polytropon wrote: > > On Sun, 10 Mar 2013 17:00:57 -0500, Joseph A. Nagy, Jr wrote: > > >>> Is the file /usr/local/share/doc/doxygen/html/infoflow.gif > >>> present on your system? > >>> > >>> > >>> > >> nope, but I do have: > >> ls in > >> index.html infoflow.png install.html > > > > That looks valid (I'm on a much older system here, so things > > might have changed). > > > > What directory are those in? Somewhere in the port's working > > directory? Try "make clean" and rebuild. > > Nope, from /usr/local/share/doc/doxygen/html/ I have different files there, but as I said, that could be normal given the fact that my system here is rather old. % ls in* index.hhc index.html installdox_usage.html index.hhk infoflow.gif index.hhp install.html Still any format conversion that is required (because the file name is not explicitely named in the LaTeX source, so some default or fall-through list would apply) should be done by the port when building. > I'll do that once the other updates are run through (a bunch of them to > be sure). You should make sure all the required stuff for the port is there. I would _guess_ that building takes place in the working directory of the port, and all source files should be in _there_, but I could be wrong, as "modern" software tends to be unpredictable. :-) A "make clean; make fetch; make" run should satisfy all needs. > > From the source file, you've quoted the following line: > > > > \includegraphics[width=14cm]{infoflow} > > > > This means the graphicx package will obtain the required > > file automatically, that could be in a different format > > (PNG is supported by pdflatex, EPS is common for "normal" > > latex). If a conversion is required, the port should have > > done this prior to running LaTeX (be it from teTeX or > > TeXLive which is "today's preferred LaTeX distribution"). > > > > > > > > I think it's teTex, but I'm not sure. Simple (and stupid, but working) way to find out: % ls /var/db/pkg/ | grep TeX teTeX-3.0_5/ teTeX-base-3.0_22/ teTeX-texmf-3.0_8/ In this case, it's teTeX, _not_ TeXlive. > Whatever one got pulled in for > Scribus and the other programs that dep on it. I think teTeX is still the default LaTeX dependency, even though it's considered outdated, obsolete and such. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From fbsd8 at a1poweruser.com Sun Mar 10 22:56:58 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Sun, 10 Mar 2013 18:56:58 -0400 Subject: day light saving time happened today In-Reply-To: <5C91A731-BF1E-4FD2-AB26-5348F0685967@wolfhut.org> References: <513CC4C4.8080405@a1poweruser.com> <513D0026.6030109@a1poweruser.com> <5C91A731-BF1E-4FD2-AB26-5348F0685967@wolfhut.org> Message-ID: <513D0FBA.1070303@a1poweruser.com> Ben Cottrell wrote: > On Mar 10, 2013, at 14:50, Fbsd8 wrote: >> # /root >find /usr/share/zoneinfo -type f -print | xargs md5 | grep `md5 -q /etc /localtime` >> MD5 (/usr/share/zoneinfo/America/New_York) = e4ca381035a34b7a852184cc0dd89baa > > That's really, really odd. I'm confused. > > If you run "date" does it show the time zone as EST or EDT? If you > have python installed, you might also try: > > python -c 'import time; print time.localtime().tm_isdst' > (it should be 1) > > Is the year correct? I mean, could it be thinking it's some different > year, where the time zone rules are different? > > Now *I'm* curious. :-) I've honestly never seen a system do that > before. If you figure it out, I hope you'll let either me, or the > list, know what it was! > > ~Ben > date command shows Sun Mar 10 16:50:33 EDT 2013 No python on my system. The real question is does New York State have day light saving time? From chris at monochrome.org Sun Mar 10 23:31:39 2013 From: chris at monochrome.org (Chris Hill) Date: Sun, 10 Mar 2013 19:19:36 -0400 (EDT) Subject: day light saving time happened today In-Reply-To: <513D0FBA.1070303@a1poweruser.com> References: <513CC4C4.8080405@a1poweruser.com> <513D0026.6030109@a1poweruser.com> <5C91A731-BF1E-4FD2-AB26-5348F0685967@wolfhut.org> <513D0FBA.1070303@a1poweruser.com> Message-ID: On Sun, 10 Mar 2013, Fbsd8 wrote: > date command shows > Sun Mar 10 16:50:33 EDT 2013 Very odd that your clock would be off by *two* hours. > The real question is does New York State have day light saving time? Yes, it does. I lived there for many years. -- Chris Hill chris at monochrome.org ** [ Busy Expunging ] From freebsd-questions-local at be-well.ilk.org Sun Mar 10 23:44:43 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sun, 10 Mar 2013 19:44:34 -0400 Subject: day light saving time happened today In-Reply-To: (Chris Hill's message of "Sun, 10 Mar 2013 19:19:36 -0400 (EDT)") References: <513CC4C4.8080405@a1poweruser.com> <513D0026.6030109@a1poweruser.com> <5C91A731-BF1E-4FD2-AB26-5348F0685967@wolfhut.org> <513D0FBA.1070303@a1poweruser.com> Message-ID: <44fw02lt0d.fsf@lowell-desk.lan> Chris Hill writes: > On Sun, 10 Mar 2013, Fbsd8 wrote: > >> date command shows >> Sun Mar 10 16:50:33 EDT 2013 > > Very odd that your clock would be off by *two* hours. Yep. The next test is to check the clock in GMT. I expect it to be off, which means that the timezone rules are not the problem. If this is not the case, the diagnosis gets more interesting. >> The real question is does New York State have day light saving time? > > Yes, it does. I lived there for many years. He's not making this up, folks. [On the other hand, the rules have changed multiple times since he left there.] From fbsd8 at a1poweruser.com Mon Mar 11 01:42:53 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Sun, 10 Mar 2013 21:42:52 -0400 Subject: day light saving time happened today In-Reply-To: <44fw02lt0d.fsf@lowell-desk.lan> References: <513CC4C4.8080405@a1poweruser.com> <513D0026.6030109@a1poweruser.com> <5C91A731-BF1E-4FD2-AB26-5348F0685967@wolfhut.org> <513D0FBA.1070303@a1poweruser.com> <44fw02lt0d.fsf@lowell-desk.lan> Message-ID: <513D369C.8080907@a1poweruser.com> Lowell Gilbert wrote: > > The next test is to check the clock in GMT. > I expect it to be off, which means that the timezone rules are not the > problem. If this is not the case, the diagnosis gets more interesting. > > And how do you purpose I check the clock in GMT? From mike.jeays at rogers.com Mon Mar 11 01:56:40 2013 From: mike.jeays at rogers.com (Mike Jeays) Date: Sun, 10 Mar 2013 21:56:32 -0400 Subject: [Bulk] Re: day light saving time happened today In-Reply-To: <513D369C.8080907@a1poweruser.com> References: <513CC4C4.8080405@a1poweruser.com> <513D0026.6030109@a1poweruser.com> <5C91A731-BF1E-4FD2-AB26-5348F0685967@wolfhut.org> <513D0FBA.1070303@a1poweruser.com> <44fw02lt0d.fsf@lowell-desk.lan> <513D369C.8080907@a1poweruser.com> Message-ID: <20130310215632.3c0344f2@europa> On Sun, 10 Mar 2013 21:42:52 -0400 Fbsd8 wrote: > Lowell Gilbert wrote: > > > > The next test is to check the clock in GMT. > > I expect it to be off, which means that the timezone rules are not the > > problem. If this is not the case, the diagnosis gets more interesting. > > > > > > And how do you purpose I check the clock in GMT? > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" date -u should do it. From fbsd8 at a1poweruser.com Mon Mar 11 02:18:23 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Sun, 10 Mar 2013 22:18:19 -0400 Subject: [Bulk] Re: day light saving time happened today In-Reply-To: <20130310215632.3c0344f2@europa> References: <513CC4C4.8080405@a1poweruser.com> <513D0026.6030109@a1poweruser.com> <5C91A731-BF1E-4FD2-AB26-5348F0685967@wolfhut.org> <513D0FBA.1070303@a1poweruser.com> <44fw02lt0d.fsf@lowell-desk.lan> <513D369C.8080907@a1poweruser.com> <20130310215632.3c0344f2@europa> Message-ID: <513D3EEB.3020201@a1poweruser.com> Mike Jeays wrote: > On Sun, 10 Mar 2013 21:42:52 -0400 > Fbsd8 wrote: > >> Lowell Gilbert wrote: >>> The next test is to check the clock in GMT. >>> I expect it to be off, which means that the timezone rules are not the >>> problem. If this is not the case, the diagnosis gets more interesting. >>> >>> >> And how do you purpose I check the clock in GMT? >> > > date -u should do it. > > date -u shows Mon Mar 11 01:08:39 UTC 2013 date shows Sun Mar 10 01:08:47 EDT 2013 In tzsetup I selected north America, EDT. It's the first one on the list. What is really needed is for the tzsetup program to state which east coast selections have day light saving included. Maybe a pr is in order. From tamino at wolfhut.org Mon Mar 11 02:49:55 2013 From: tamino at wolfhut.org (Ben Cottrell) Date: Sun, 10 Mar 2013 19:49:49 -0700 Subject: [Bulk] Re: day light saving time happened today In-Reply-To: <513D3EEB.3020201@a1poweruser.com> References: <513CC4C4.8080405@a1poweruser.com> <513D0026.6030109@a1poweruser.com> <5C91A731-BF1E-4FD2-AB26-5348F0685967@wolfhut.org> <513D0FBA.1070303@a1poweruser.com> <44fw02lt0d.fsf@lowell-desk.lan> <513D369C.8080907@a1poweruser.com> <20130310215632.3c0344f2@europa> <513D3EEB.3020201@a1poweruser.com> Message-ID: <57B1D1B8-5DBC-41C9-AB76-55687AB45359@wolfhut.org> On Mar 10, 2013, at 19:18, Fbsd8 wrote: > What is really needed is for the tzsetup program to state which east coast selections have day light saving included. Maybe a pr is in order. Nope, you pretty conclusively proved that you're using the right time zone setting. Trust me. :-) That md5 you posted is the exact same md5 that's on my own system. My own America/New_York is doing just fine, thank you. ;-) Something else is going on. *What*, I don't know. But you chose the right time zone in tzsetup and that time zone description file definitely does have DST rules in it. I never use the wall_cmos_clock setting, because I don't trust it -- at least with the traditional behavior (wall_cmos_clock=0) I know *exactly* what's going on. I really don't know what is happening under the hood when that's turned on, so I have no idea if it could be related or not. But I'm curious what it shows if you run: sysctl machdep.wall_cmos_clock ~Ben From FreeBSD at ShaneWare.Biz Mon Mar 11 04:31:50 2013 From: FreeBSD at ShaneWare.Biz (Shane Ambler) Date: Mon, 11 Mar 2013 15:01:20 +1030 Subject: fbsdmon error message In-Reply-To: <20130310085753.4ff814b6@scorpio> References: <20130309065404.45bece21@scorpio> <513C63BE.6020808@ShaneWare.Biz> <20130310085753.4ff814b6@scorpio> Message-ID: <513D5E18.2060602@ShaneWare.Biz> On 10/03/2013 23:27, Jerry wrote: > On Sun, 10 Mar 2013 21:13:10 +1030 > Shane Ambler articulated: >> While I know the error originates from an openssl item being renamed >> from EVP_PKEY_verifyrecover_init to EVP_PKEY_verify_recover_init I'm >> not sure why it still tries to find the old man page. > > Should a PR be filed against this or has one all ready been filed? I > didn't find any. > A pr should probably be submitted, I haven't. While the fix may be to clear a cache file, there should be a way to stop makewhatis always searching for non-existent man files. From bah at bananmonarki.se Mon Mar 11 04:53:01 2013 From: bah at bananmonarki.se (Bernt Hansson) Date: Mon, 11 Mar 2013 05:52:22 +0100 Subject: growisofs does not burn folders correctly all files are flat on the disk no folders In-Reply-To: References: Message-ID: <513D6306.3050300@bananmonarki.se> 2013-03-10 21:07, CeDeROM skrev: > Hey :-) > > I have problem with growisofs - I get all files flat on the disk there > are no directories as on the source drive :-( I had this once with BD > and once with DVD disk on my new 9.1-RELEASE machine. > > growisofs -Z/dev/cd2 -dvd-compat -R -J -iso-level 3 -udf * > > % growisofs --version > * growisofs by , version 7.1, > front-ending to mkisofs: mkisofs 3.00 (amd64-unknown-freebsd9.1) > Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2010 J?rg Schilling > > Any hints welcome :-) > Tomek > Make an ISO file first, then burn. From bah at bananmonarki.se Mon Mar 11 05:27:24 2013 From: bah at bananmonarki.se (Bernt Hansson) Date: Mon, 11 Mar 2013 06:26:52 +0100 Subject: Problems Printing In-Reply-To: <513CDE73.4010505@gmail.com> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> <513666B7.4080708@gmail.com> <20130306054701.GA2295@tinyCurrent> <513CDE73.4010505@gmail.com> Message-ID: <513D6B1C.5020005@bananmonarki.se> 2013-03-10 20:26, Joseph A. Nagy, Jr skrev: > D [10/Mar/2013:14:18:04 -0500] [Job 12] Running /usr/local/bin/espgs > -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS > -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c - What happens when you run this from a prompt. > D [10/Mar/2013:14:18:04 -0500] [Job 12] Shared object "libgnutls.so.47" > not found, required by "rastertogutenprint.5.2" > D [10/Mar/2013:14:18:04 -0500] [Job 12] Shared object "libgnutls.so.47" > not found, required by "espgs" > printer-state-message="/usr/local/libexec/cups/filter/rastertogutenprint.5.2 > failed" > D [10/Mar/2013:14:18:04 -0500] [Job 12] printer-state-reasons=none This doesn't look right. Do you have gnutls installed? > Still no printing going on. From bah at bananmonarki.se Mon Mar 11 06:18:13 2013 From: bah at bananmonarki.se (Bernt Hansson) Date: Mon, 11 Mar 2013 07:17:37 +0100 Subject: Problems Printing In-Reply-To: <5135A88B.1000100@gmail.com> References: <5135A88B.1000100@gmail.com> Message-ID: <513D7701.7000605@bananmonarki.se> 2013-03-05 09:10, Joseph A. Nagy, Jr skrev: > Cups is setup so I should be able to print: > http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png > > My pdf reader sees the printer: > http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png > > yet it won't print and delivers this dialog: > http://www.joseph-a-nagy-jr.us/images/problems/print-error.png > > any ideas on how to correct this? http://www.openprinting.org/printer/Canon/Canon-PIXMA_MP210 From cederom at tlen.pl Mon Mar 11 10:11:05 2013 From: cederom at tlen.pl (CeDeROM) Date: Mon, 11 Mar 2013 11:10:58 +0100 Subject: growisofs does not burn folders correctly all files are flat on the disk no folders In-Reply-To: <513D6306.3050300@bananmonarki.se> References: <513D6306.3050300@bananmonarki.se> Message-ID: On Mon, Mar 11, 2013 at 5:52 AM, Bernt Hansson wrote: > 2013-03-10 21:07, CeDeROM skrev: >> I have problem with growisofs - I get all files flat on the disk there >> are no directories as on the source drive :-( I had this once with BD >> and once with DVD disk on my new 9.1-RELEASE machine. > Make an ISO file first, then burn. Yea I will try that way to see what is wrong, but I hoped maybe someone had this problem also and found the solution :-) Best regards :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From freebsd-listen at fabiankeil.de Mon Mar 11 11:35:25 2013 From: freebsd-listen at fabiankeil.de (Fabian Keil) Date: Mon, 11 Mar 2013 12:19:34 +0100 Subject: growisofs does not burn folders correctly all files are flat on the disk no folders In-Reply-To: References: Message-ID: <20130311121934.5cd981f6@fabiankeil.de> CeDeROM wrote: > I have problem with growisofs - I get all files flat on the disk there > are no directories as on the source drive :-( I had this once with BD > and once with DVD disk on my new 9.1-RELEASE machine. > > growisofs -Z/dev/cd2 -dvd-compat -R -J -iso-level 3 -udf * > > % growisofs --version > * growisofs by , version 7.1, > front-ending to mkisofs: mkisofs 3.00 (amd64-unknown-freebsd9.1) > Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2010 J?rg Schilling > > Any hints welcome :-) I've never used growisofs, but given that it's a mkisofs front-end I suspect that you may want to change the pathspec from "*" to the path to the directory that contains the directory structure you want on the disc. For example ".", if it's also the current working directory. For details see mkisofs(8). Fabian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available URL: From jnagyjr1978 at gmail.com Mon Mar 11 12:17:29 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Mon, 11 Mar 2013 07:17:24 -0500 Subject: Problems Printing In-Reply-To: <513D6B1C.5020005@bananmonarki.se> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> <513666B7.4080708@gmail.com> <20130306054701.GA2295@tinyCurrent> <513CDE73.4010505@gmail.com> <513D6B1C.5020005@bananmonarki.se> Message-ID: <513DCB54.3070609@gmail.com> On 03/11/13 00:26, Bernt Hansson wrote: > 2013-03-10 20:26, Joseph A. Nagy, Jr skrev: > >> D [10/Mar/2013:14:18:04 -0500] [Job 12] Running /usr/local/bin/espgs >> -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS >> -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c - > > What happens when you run this from a prompt. > > >> D [10/Mar/2013:14:18:04 -0500] [Job 12] Shared object "libgnutls.so.47" >> not found, required by "rastertogutenprint.5.2" >> D [10/Mar/2013:14:18:04 -0500] [Job 12] Shared object "libgnutls.so.47" >> not found, required by "espgs" >> printer-state-message="/usr/local/libexec/cups/filter/rastertogutenprint.5.2 >> >> failed" >> D [10/Mar/2013:14:18:04 -0500] [Job 12] printer-state-reasons=none > > This doesn't look right. Do you have gnutls installed? > >> Still no printing going on. # /usr/local/bin/espgs -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c - Shared object "libgnutls.so.47" not found, required by "espgs" I thought at one point I did, but apparently not. Will re-install after I finish running the updates currently going on. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From fbsd8 at a1poweruser.com Mon Mar 11 12:49:48 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Mon, 11 Mar 2013 08:49:45 -0400 Subject: day light saving time happened today In-Reply-To: <57B1D1B8-5DBC-41C9-AB76-55687AB45359@wolfhut.org> References: <513CC4C4.8080405@a1poweruser.com> <513D0026.6030109@a1poweruser.com> <5C91A731-BF1E-4FD2-AB26-5348F0685967@wolfhut.org> <513D0FBA.1070303@a1poweruser.com> <44fw02lt0d.fsf@lowell-desk.lan> <513D369C.8080907@a1poweruser.com> <20130310215632.3c0344f2@europa> <513D3EEB.3020201@a1poweruser.com> <57B1D1B8-5DBC-41C9-AB76-55687AB45359@wolfhut.org> Message-ID: <513DD2E9.2040700@a1poweruser.com> Ben Cottrell wrote: > On Mar 10, 2013, at 19:18, Fbsd8 wrote: >> What is really needed is for the tzsetup program to state which east coast selections have day light saving included. Maybe a pr is in order. > > Nope, you pretty conclusively proved that you're using the right > time zone setting. Trust me. :-) That md5 you posted is the exact > same md5 that's on my own system. My own America/New_York is > doing just fine, thank you. ;-) > > Something else is going on. *What*, I don't know. But you chose > the right time zone in tzsetup and that time zone description > file definitely does have DST rules in it. > > I never use the wall_cmos_clock setting, because I don't trust > it -- at least with the traditional behavior (wall_cmos_clock=0) > I know *exactly* what's going on. I really don't know what is > happening under the hood when that's turned on, so I have no > idea if it could be related or not. But I'm curious what > it shows if you run: > > sysctl machdep.wall_cmos_clock > > ~Ben > sysctl machdep.wall_cmos_clock returned 0 Ran this little test. Last night before turning off my system I used the date command to set the date to 3/9 with the correct DST. This morning when I turned on my system the time had advanced by one hour. So this proves that the time zone setting does have DST in it and every thing worked as expected. Even though the system is now on DST the date command still displays EDT. Does the date command ever show DST? Now about the question of why did the time not jump forward on the date it was suppose to? It all boils down to this, On 3/9 I did not check the time. I just expected it to be correct. Even though the date and time is displayed every morning when I boot my system, I have never in 20 years taken the time to verify if its correct on any of the many PCs I have used. It is totally possible that the system time was incorrect and I was just not aware of it before DST went into effect, after which I checked the time as I did with all the other clocks in the house. So for now, thats how I am leaving things. From emorrasg at yahoo.es Mon Mar 11 12:51:04 2013 From: emorrasg at yahoo.es (Eduardo Morras) Date: Mon, 11 Mar 2013 13:51:10 +0100 Subject: FreeBSD 9 and Windows XP In-Reply-To: <20130309120741.DED57767@ms5.mc.surewest.net> References: <20130309120741.DED57767@ms5.mc.surewest.net> Message-ID: <20130311135110.9da99d99cfe968f2d904acd0@yahoo.es> On Sat, 9 Mar 2013 12:07:41 -0800 (PST) wrote: > Good afternoon, FreeBSD enthusiasts. Can FreeBSD 9.1 be installed on a computer on which Windows XP currently resides? If so, how can this installation be >done? In particular, is there a way to install 9.1 so that it can be booted from the traditional master boot record? It is important that, when I am done, I can >still boot to Windows XP, as I must run some applications not available on FreeBSD. If the idea I am proposing is not feasible with version 9.1, will it work with >8.3? Any comments are appreciated. If this question has already been asked many times before, please just let me know where to look to find the answer. Thanks. >Newbie502 As an addon to other answers, you can install VirtualBox, create a minimal hard disk with MBR boot menu that points to the WindowsXP partition. This way you don't need to restart in WinXP. The same can be done from WinXP side, a minimal hd with MBR boot menu to startup the FreeBSD. --- --- Eduardo Morras From ralf.mardorf at rocketmail.com Mon Mar 11 13:14:08 2013 From: ralf.mardorf at rocketmail.com (Ralf Mardorf) Date: Mon, 11 Mar 2013 14:14:05 +0100 Subject: FreeBSD 9 and Windows XP In-Reply-To: <20130311135110.9da99d99cfe968f2d904acd0@yahoo.es> References: <20130309120741.DED57767@ms5.mc.surewest.net> <20130311135110.9da99d99cfe968f2d904acd0@yahoo.es> Message-ID: <1363007645.631.43.camel@archlinux> On Mon, 2013-03-11 at 13:51 +0100, Eduardo Morras wrote: > As an addon to other answers, you can install VirtualBox, create a > minimal hard disk with MBR boot menu that points to the WindowsXP > partition. This way you don't need to restart in WinXP. The same can > be done from WinXP side, a minimal hd with MBR boot menu to startup > the FreeBSD. This does work? I've got XP as VBox's vdi and just a folder to share content with *nix. It would be possible to install XP bootable without VBox to a ntfs partition, to boot it directly and if wanted, to use it also as guest in VBox? I only use VBox to get applications for an iPad and to copy PDFs to an iPad, since ad-hoc networks until now never worked for me, but I also would like to test hardware sometimes, impossible with VBox, so sometimes it would be nice to have a real Windows install. If this should work, will it become impossible to use snapshots made by VBox? Will there be no confusion regarding to different drivers for the XP booted as VBox guest and booted directly? Regards, Ralf From jnagyjr1978 at gmail.com Mon Mar 11 13:25:44 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Mon, 11 Mar 2013 08:25:38 -0500 Subject: Problems Printing In-Reply-To: <513D6B1C.5020005@bananmonarki.se> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> <513666B7.4080708@gmail.com> <20130306054701.GA2295@tinyCurrent> <513CDE73.4010505@gmail.com> <513D6B1C.5020005@bananmonarki.se> Message-ID: <513DDB52.7060903@gmail.com> On 03/11/13 00:26, Bernt Hansson wrote: > 2013-03-10 20:26, Joseph A. Nagy, Jr skrev: > >> D [10/Mar/2013:14:18:04 -0500] [Job 12] Running /usr/local/bin/espgs >> -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS >> -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c - > > What happens when you run this from a prompt. > > >> D [10/Mar/2013:14:18:04 -0500] [Job 12] Shared object "libgnutls.so.47" >> not found, required by "rastertogutenprint.5.2" >> D [10/Mar/2013:14:18:04 -0500] [Job 12] Shared object "libgnutls.so.47" >> not found, required by "espgs" >> printer-state-message="/usr/local/libexec/cups/filter/rastertogutenprint.5.2 >> >> failed" >> D [10/Mar/2013:14:18:04 -0500] [Job 12] printer-state-reasons=none > > This doesn't look right. Do you have gnutls installed? I did indeed have it installed, just reinstalled (which updated another port), but apparently not the right version? -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From emorrasg at yahoo.es Mon Mar 11 13:31:06 2013 From: emorrasg at yahoo.es (Eduardo Morras) Date: Mon, 11 Mar 2013 14:31:13 +0100 Subject: FreeBSD 9 and Windows XP In-Reply-To: <1363007645.631.43.camel@archlinux> References: <20130309120741.DED57767@ms5.mc.surewest.net> <20130311135110.9da99d99cfe968f2d904acd0@yahoo.es> <1363007645.631.43.camel@archlinux> Message-ID: <20130311143113.d87dc3181183a4d8059a0810@yahoo.es> On Mon, 11 Mar 2013 14:14:05 +0100 Ralf Mardorf wrote: > On Mon, 2013-03-11 at 13:51 +0100, Eduardo Morras wrote: > > As an addon to other answers, you can install VirtualBox, create a > > minimal hard disk with MBR boot menu that points to the WindowsXP > > partition. This way you don't need to restart in WinXP. The same can > > be done from WinXP side, a minimal hd with MBR boot menu to startup > > the FreeBSD. > > This does work? I followed the instructions (only once) from this page http://geekery.amhill.net/2010/01/27/virtualbox-with-existing-windows-partition/ and it works under FreeBSD 8.3 and WinXP. > I've got XP as VBox's vdi and just a folder to share content with *nix. > It would be possible to install XP bootable without VBox to a ntfs > partition, to boot it directly and if wanted, to use it also as guest in > VBox? I use it that way, my set up is 2 primary mbr partitions, one with XP ntfs, the other with FreeBSD ufs2+su. VBox installed on both. > > I only use VBox to get applications for an iPad and to copy PDFs to an > iPad, since ad-hoc networks until now never worked for me, but I also > would like to test hardware sometimes, impossible with VBox, so > sometimes it would be nice to have a real Windows install. > > If this should work, will it become impossible to use snapshots made by > VBox? Will there be no confusion regarding to different drivers for the > XP booted as VBox guest and booted directly? Don't know if VBox snapshots are usable, never tried. There's no confusion, WinXP access directly to the XP partition and FreeBSD to FreeBSD partition. If you don't play with VBox internal commands you are safe. I got a dirty fs on FreeBSD when WinXP crashed once. HTH > Regards, > Ralf --- --- Eduardo Morras From ralf.mardorf at rocketmail.com Mon Mar 11 13:38:47 2013 From: ralf.mardorf at rocketmail.com (Ralf Mardorf) Date: Mon, 11 Mar 2013 14:38:39 +0100 Subject: FreeBSD 9 and Windows XP In-Reply-To: <20130311143113.d87dc3181183a4d8059a0810@yahoo.es> References: <20130309120741.DED57767@ms5.mc.surewest.net> <20130311135110.9da99d99cfe968f2d904acd0@yahoo.es> <1363007645.631.43.camel@archlinux> <20130311143113.d87dc3181183a4d8059a0810@yahoo.es> Message-ID: <1363009119.631.58.camel@archlinux> On Mon, 2013-03-11 at 14:31 +0100, Eduardo Morras wrote: > On Mon, 11 Mar 2013 14:14:05 +0100 > Ralf Mardorf wrote: > > > On Mon, 2013-03-11 at 13:51 +0100, Eduardo Morras wrote: > > > As an addon to other answers, you can install VirtualBox, create a > > > minimal hard disk with MBR boot menu that points to the WindowsXP > > > partition. This way you don't need to restart in WinXP. The same > can > > > be done from WinXP side, a minimal hd with MBR boot menu to > startup > > > the FreeBSD. > > > > This does work? > > I followed the instructions (only once) from this page > http://geekery.amhill.net/2010/01/27/virtualbox-with-existing-windows-partition/ and it works under FreeBSD 8.3 and WinXP. > > > I've got XP as VBox's vdi and just a folder to share content with > *nix. > > It would be possible to install XP bootable without VBox to a ntfs > > partition, to boot it directly and if wanted, to use it also as > guest in > > VBox? > > I use it that way, my set up is 2 primary mbr partitions, one with XP > ntfs, the other with FreeBSD ufs2+su. VBox installed on both. > > > > > I only use VBox to get applications for an iPad and to copy PDFs to > an > > iPad, since ad-hoc networks until now never worked for me, but I > also > > would like to test hardware sometimes, impossible with VBox, so > > sometimes it would be nice to have a real Windows install. > > > > If this should work, will it become impossible to use snapshots made > by > > VBox? Will there be no confusion regarding to different drivers for > the > > XP booted as VBox guest and booted directly? > > Don't know if VBox snapshots are usable, never tried. > > There's no confusion, WinXP access directly to the XP partition and > FreeBSD to FreeBSD partition. If you don't play with VBox internal > commands you are safe. I got a dirty fs on FreeBSD when WinXP crashed > once. Thank you :) I'll flag your reply as "useful information", perhaps I come back to that later. Regards, Ralf From richard at inf.ed.ac.uk Mon Mar 11 14:05:10 2013 From: richard at inf.ed.ac.uk (Richard Tobin) Date: Mon, 11 Mar 2013 13:26:57 +0000 (GMT) Subject: How to know % of read file in cat? In-Reply-To: Eduardo Morras's message of Sat, 9 Mar 2013 10:54:00 +0100 Message-ID: <20130311132657.ECD016D0DB9@macavity.inf.ed.ac.uk> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From noeldude at gmail.com Mon Mar 11 14:18:32 2013 From: noeldude at gmail.com (Noel) Date: Mon, 11 Mar 2013 09:18:23 -0500 Subject: day light saving time happened today In-Reply-To: <513DD2E9.2040700@a1poweruser.com> References: <513CC4C4.8080405@a1poweruser.com> <513D0026.6030109@a1poweruser.com> <5C91A731-BF1E-4FD2-AB26-5348F0685967@wolfhut.org> <513D0FBA.1070303@a1poweruser.com> <44fw02lt0d.fsf@lowell-desk.lan> <513D369C.8080907@a1poweruser.com> <20130310215632.3c0344f2@europa> <513D3EEB.3020201@a1poweruser.com> <57B1D1B8-5DBC-41C9-AB76-55687AB45359@wolfhut.org> <513DD2E9.2040700@a1poweruser.com> Message-ID: <513DE7AF.6090509@gmail.com> On 3/11/2013 7:49 AM, Fbsd8 wrote: > > Even though the system is now on DST the date command still > displays EDT. Does the date command ever show DST? EDT = Eastern Daylight Time timezone not to be confused with EST = Eastern Standard Time timezone not to be confused with DST = daylight savings time, not a timezone, never shown on a computer. Your system correctly switched to daylight savings time, as verified by the EDT timezone indicator. Most likely the clock was already an hour slow before the time change. -- Noel Jones From pgiessel at mac.com Mon Mar 11 14:19:32 2013 From: pgiessel at mac.com (Peter A. Giessel) Date: Mon, 11 Mar 2013 05:19:12 -0800 Subject: day light saving time happened today In-Reply-To: <513DD2E9.2040700@a1poweruser.com> References: <513CC4C4.8080405@a1poweruser.com> <513D0026.6030109@a1poweruser.com> <5C91A731-BF1E-4FD2-AB26-5348F0685967@wolfhut.org> <513D0FBA.1070303@a1poweruser.com> <44fw02lt0d.fsf@lowell-desk.lan> <513D369C.8080907@a1poweruser.com> <20130310215632.3c0344f2@europa> <513D3EEB.3020201@a1poweruser.com> <57B1D1B8-5DBC-41C9-AB76-55687AB45359@wolfhut.org> <513DD2E9.2040700@a1poweruser.com> Message-ID: On 2013, Mar 11, at 4:49, Fbsd8 wrote: > Even though the system is now on DST the date command still displays EDT. Does the date command ever show DST? EST = Eastern Standard Time EDT = Eastern Daylight Savings Time EDT = Daylight Savings. Your date command is showing DST. From jerry at seibercom.net Mon Mar 11 14:45:10 2013 From: jerry at seibercom.net (Jerry) Date: Mon, 11 Mar 2013 10:37:12 -0400 Subject: day light saving time happened today In-Reply-To: <513DE7AF.6090509@gmail.com> References: <513CC4C4.8080405@a1poweruser.com> <513D0026.6030109@a1poweruser.com> <5C91A731-BF1E-4FD2-AB26-5348F0685967@wolfhut.org> <513D0FBA.1070303@a1poweruser.com> <44fw02lt0d.fsf@lowell-desk.lan> <513D369C.8080907@a1poweruser.com> <20130310215632.3c0344f2@europa> <513D3EEB.3020201@a1poweruser.com> <57B1D1B8-5DBC-41C9-AB76-55687AB45359@wolfhut.org> <513DD2E9.2040700@a1poweruser.com> <513DE7AF.6090509@gmail.com> Message-ID: <20130311103712.79287cb9@scorpio> On Mon, 11 Mar 2013 09:18:23 -0500 Noel articulated: > On 3/11/2013 7:49 AM, Fbsd8 wrote: > > > > Even though the system is now on DST the date command still > > displays EDT. Does the date command ever show DST? > > EDT = Eastern Daylight Time timezone > not to be confused with > EST = Eastern Standard Time timezone > not to be confused with > DST = daylight savings time, not a timezone, never shown on a > computer. > > Your system correctly switched to daylight savings time, as verified > by the EDT timezone indicator. Most likely the clock was already an > hour slow before the time change. Just wondering, but do you have NTP running to keep the time accurate? -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From carlj at peak.org Mon Mar 11 16:05:42 2013 From: carlj at peak.org (Carl Johnson) Date: Mon, 11 Mar 2013 09:05:38 -0700 Subject: FreeBSD 9 and Windows XP In-Reply-To: <20130311135110.9da99d99cfe968f2d904acd0@yahoo.es> (Eduardo Morras's message of "Mon, 11 Mar 2013 13:51:10 +0100") References: <20130309120741.DED57767@ms5.mc.surewest.net> <20130311135110.9da99d99cfe968f2d904acd0@yahoo.es> Message-ID: <87a9q9udkd.fsf@oak.localnet> Eduardo Morras writes: > On Sat, 9 Mar 2013 12:07:41 -0800 (PST) > wrote: > >> Good afternoon, FreeBSD enthusiasts. Can FreeBSD 9.1 be installed on >> a computer on which Windows XP currently resides? If so, how can >> this installation be >done? In particular, is there a way to install >> 9.1 so that it can be booted from the traditional master boot record? >> It is important that, when I am done, I can >still boot to Windows >> XP, as I must run some applications not available on FreeBSD. If the >> idea I am proposing is not feasible with version 9.1, will it work >> with >8.3? Any comments are appreciated. If this question has >> already been asked many times before, please just let me know where >> to look to find the answer. Thanks. >Newbie502 > > > As an addon to other answers, you can install VirtualBox, create a > minimal hard disk with MBR boot menu that points to the WindowsXP > partition. This way you don't need to restart in WinXP. The same can > be done from WinXP side, a minimal hd with MBR boot menu to startup > the FreeBSD. It is my understanding that FreeBSD doesn't allow using part of a disk, but grabs the entire disk. That means that VirtualBox can't use partitions on a disk that any other partitions are being used by anything else, including FreeBSD itself. Am I wrong about this? I use VirtualBox using vdmk for an entire disk, but I have never been able to share with anything else. -- Carl Johnson carlj at peak.org From ralf.mardorf at rocketmail.com Mon Mar 11 16:40:14 2013 From: ralf.mardorf at rocketmail.com (Ralf Mardorf) Date: Mon, 11 Mar 2013 17:40:11 +0100 Subject: FreeBSD 9 and Windows XP In-Reply-To: <87a9q9udkd.fsf@oak.localnet> References: <20130309120741.DED57767@ms5.mc.surewest.net> <20130311135110.9da99d99cfe968f2d904acd0@yahoo.es> <87a9q9udkd.fsf@oak.localnet> Message-ID: <1363020011.631.80.camel@archlinux> On Mon, 2013-03-11 at 09:05 -0700, Carl Johnson wrote: > It is my understanding that FreeBSD doesn't allow using part of a disk, > but grabs the entire disk. That means that VirtualBox can't use > partitions on a disk that any other partitions are being used by > anything else, including FreeBSD itself. Am I wrong about this? I use > VirtualBox using vdmk for an entire disk, but I have never been able to > share with anything else. No, this is a misunderstanding. The primary below [1] is the ufs including my FreeBSD, it's just that Linux's parted doesn't show it (gparted does show) and I can't access BSD by my Linux installs. And no, the ntfs isn't Windows. FWIW my old drives have only one primary and a extended + tons of logical partitions, but I started to partition new drives with 3 primary and one extended including as much logical partitions as needed [2]. To have one partition that can be accessed by the BIOS I format one with fat32, since it can't access ntfs partitions. Most Linux use ext4 by default, I've got ext3 and ext4, because FreeBSD can share ext3 partitions without issues with Linux. I'm using GRUB2 from Linux to boot FreeBSD [3], it's sharing a drive with several Linux installs, more installs anybody does need ;). I'm not maintaining all installs. Regards, Ralf [1] [rocketmouse at archlinux ~]$ sudo parted /dev/sda print Model: ATA SAMSUNG HD321KJ (scsi) Disk /dev/sda: 320GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 32.3kB 62.1GB 62.1GB primary boot 2 62.1GB 320GB 258GB extended 5 62.1GB 94.1GB 32.0GB logical ntfs 6 94.1GB 126GB 32.1GB logical ext3 7 126GB 158GB 32.2GB logical ext3 8 158GB 185GB 27.0GB logical ext3 9 185GB 223GB 37.7GB logical ext3 10 223GB 225GB 2328MB logical linux-swap(v1) 11 225GB 288GB 62.3GB logical ext3 12 288GB 291GB 3759MB logical ext3 13 291GB 315GB 23.7GB logical ext3 14 315GB 320GB 4927MB logical ext3 [2] [rocketmouse at archlinux ~]$ sudo parted /dev/sdc print Model: WD Ext HDD 1021 (scsi) Disk /dev/sdc: 2000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 68.0GB 68.0GB primary ext3 2 68.0GB 138GB 69.6GB primary ext4 3 138GB 413GB 276GB primary ext4 4 413GB 2000GB 1587GB extended [snip] [3] [rocketmouse at archlinux ~]$ cat /run/media/rocketmouse/q/boot/grub/grub.cfg set timeout=8 set default='0'; if [ x"$default" = xsaved ]; then load_env; set default="$saved_entry"; fi set color_normal='light-blue/black'; set color_highlight='light-cyan/blue' menuentry "FreeBSD"{ set root=(hd0,msdos1) chainloader +1 } menuentry 'Ubuntu Quantal, kernel 3.6.5-rt14' { set root='(hd1,9)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.6.5-rt14' '/boot/vmlinuz-3.6.5-rt14' 'root=/dev/sdb9' 'ro' 'quiet' '' legacy_initrd '/boot/initrd.img-3.6.5-rt14' '/boot/initrd.img-3.6.5-rt14' } menuentry 'Ubuntu Quantal, kernel 3.5.0-18-lowlatency threadirqs' { set root='(hd1,9)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.5.0-18-lowlatency' '/boot/vmlinuz-3.5.0-18-lowlatency' 'root=/dev/sdb9' 'ro' 'quiet' 'threadirqs' legacy_initrd '/boot/initrd.img-3.5.0-18-lowlatency' '/boot/initrd.img-3.5.0-18-lowlatency' } menuentry 'Ubuntu Quantal, kernel 3.5.0-18-lowlatency (recovery mode)' { set root='(hd1,9)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.5.0-18-lowlatency' '/boot/vmlinuz-3.5.0-18-lowlatency' 'root=/dev/sdb9' 'ro' 'single' legacy_initrd '/boot/initrd.img-3.5.0-18-lowlatency' '/boot/initrd.img-3.5.0-18-lowlatency' } menuentry 'Ubuntu Studio Quantal, Kernel 3.6.5-rt14' { set root='(hd1,13)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.6.5-rt14' '/boot/vmlinuz-3.6.5-rt14' 'root=/dev/sdb13' 'ro' 'quiet' legacy_initrd '/boot/initrd.img-3.6.5-rt14' '/boot/initrd.img-3.6.5-rt14' } menuentry 'Ubuntu Studio Quantal, Kernel 3.5.0-18-lowlatency threadirqs' { set root='(hd1,13)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.5.0-18-lowlatency' '/boot/vmlinuz-3.5.0-18-lowlatency' 'root=/dev/sdb13' 'ro' 'quiet' 'threadirqs' legacy_initrd '/boot/initrd.img-3.5.0-18-lowlatency' '/boot/initrd.img-3.5.0-18-lowlatency' } menuentry 'Ubuntu Studio Precise, Kernel 3.0.30 threadirqs' { set root='(hd1,1)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.0.30' '/boot/vmlinuz-3.0.30' 'root=UUID=338316fb-364e-4a43-8deb-738127f878ce' 'ro' 'quiet' 'threadirqs' legacy_initrd '/boot/initrd.img-3.0.30' '/boot/initrd.img-3.0.30' } menuentry 'Ubuntu Studio Precise, Kernel 3.2.0-23-lowlatency threadirqs' { set root='(hd1,1)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.2.0-23-lowlatency' '/boot/vmlinuz-3.2.0-23-lowlatency' 'root=UUID=338316fb-364e-4a43-8deb-738127f878ce' 'ro' 'quiet' 'threadirqs' legacy_initrd '/boot/initrd.img-3.2.0-23-lowlatency' '/boot/initrd.img-3.2.0-23-lowlatency' } menuentry 'AVlinux 5.0.3, Kernel 3.0.23-rt40' { set root='(hd1,11)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.0.23-rt40' '/boot/vmlinuz-3.0.23-rt40' 'root=/dev/sdb11' 'ro' 'quiet' legacy_initrd '/boot/initrd.img-3.0.23-rt40' '/boot/initrd.img-3.0.23-rt40' } menuentry 'AVlinux 5.0.3, Kernel 3.0.23-avl-7-pae threadirqs' { set root='(hd1,11)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.0.23-avl-7-pae' '/boot/vmlinuz-3.0.23-avl-7-pae' 'root=/dev/sdb11' 'ro' 'threadirqs' 'quiet' legacy_initrd '/boot/initrd.img-3.0.23-avl-7-pae' '/boot/initrd.img-3.0.23-avl-7-pae' } menuentry 'Edubuntu 10.10, Kernel 2.6.33.9-rt31' { set root='(hd1,8)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-2.6.33.9-rt31' '/boot/vmlinuz-2.6.33.9-rt31' 'root=UUID=ded93dfb-37ae-48cf-a3a3-b613aa5704fd' 'ro' legacy_initrd '/boot/initrd.img-2.6.33.9-rt31' '/boot/initrd.img-2.6.33.9-rt31' } menuentry 'Ubuntu Studio Oz, Kernel 3.0.0-17-generic' { set root='(hd1,6)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.0.0-17-generic' '/boot/vmlinuz-3.0.0-17-generic' 'root=UUID=0241b2ac-a0ab-44de-8d73-0ed084e152e6' legacy_initrd '/boot/initrd.img-3.0.0-17-generic' '/boot/initrd.img-3.0.0-17-generic' } menuentry 'Ubuntu Studio Oz, Kernel 3.0.0-20-generic' { set root='(hd1,6)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-3.0.0-20-generic' '/boot/vmlinuz-3.0.0-20-generic' 'root=UUID=0241b2ac-a0ab-44de-8d73-0ed084e152e6' legacy_initrd '/boot/initrd.img-3.0.0-20-generic' '/boot/initrd.img-3.0.0-20-generic' } menuentry 'Arch Linux Rt' { set root='(hd0,9)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-linux-rt' '/boot/vmlinuz-linux-rt' 'root=/dev/sda9' 'ro' legacy_initrd '/boot/initramfs-linux-rt.img' '/boot/initramfs-linux-rt.img' } menuentry 'Arch Linux' { set root='(hd0,9)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-linux' '/boot/vmlinuz-linux' 'root=/dev/sda9' 'ro' legacy_initrd '/boot/initramfs-linux.img' '/boot/initramfs-linux.img' } menuentry 'Arch Linux Fallback' { set root='(hd0,9)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-linux' '/boot/vmlinuz-linux' 'root=/dev/sda9' 'ro' legacy_initrd '/boot/initramfs-linux-fallback.img' '/boot/initramfs-linux-fallback.img' } menuentry 'openSUSE 11.2, Kernel 2.6.31.6-rt19' { set root='(hd0,7)'; set legacy_hdbias='0' legacy_kernel '/boot/vmlinuz-2.6.31.6-rt19' '/boot/vmlinuz-2.6.31.6-rt19' 'root=/dev/sda7' legacy_initrd '/boot/initrd-2.6.31.6-rt19' '/boot/initrd-2.6.31.6-rt19' } From jeff.t at mail.com Mon Mar 11 16:59:35 2013 From: jeff.t at mail.com (Jeff Tipton) Date: Mon, 11 Mar 2013 18:59:25 +0200 Subject: Error: shared library "mysqlclient.18" does not exist Message-ID: <513E0D6D.10503@mail.com> Hi, I'm trying to set up security/maia, and this is the error message I get: Error: shared library "mysqlclient.18" does not exist Of course, the library does exist :( # ls /usr/local/lib/mysql/ libmysqlclient.a libmysqlclient_r.a libmysqld.a libmysqlclient.so libmysqlclient_r.so libmysqlservices.a libmysqlclient.so.18 libmysqlclient_r.so.18 plugin I googled about this, and I found 3 things to try but none of that was helpful here: 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 /usr/local/lib/libmysqlclient.so.18 2. Check the root's umask and the directory permissions if they are correct, and they are: # umask 22 #ll /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel 41 Mar 11 16:25 libmysqlclient.so.18@ -> /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 libmysqlclient.so@ -> libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar 11 16:22 libmysqlclient_r.a@ -> libmysqlclient.a lrwxr-xr-x 1 root wheel 17 Mar 11 16:22 libmysqlclient_r.so@ -> libmysqlclient.so lrwxr-xr-x 1 root wheel 17 Mar 11 16:22 libmysqlclient_r.so.18@ -> libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 plugin/ 3. Update the ports tree. Ports tree is up to date. Could someone, please, suggest what I could try to solve this? Thanks, Jeff From lokadamus at gmx.de Mon Mar 11 17:52:22 2013 From: lokadamus at gmx.de (lokadamus at gmx.de) Date: Mon, 11 Mar 2013 18:52:21 +0100 Subject: OpenVPN vm cant connect to other VM's In-Reply-To: <51371C8A.8050205@gmail.com> References: <51371C8A.8050205@gmail.com> Message-ID: <513E19D5.1060004@gmx.de> On 06.03.2013 11:38, Brent Clark wrote: > Hi guys > > Im struggling with a freebsd vm, that I have that I use for a VPN > connection too, from my workstation to my home LAN. And I was > wondering if someone could peer review me and my problem. > > OpenVPN is working beautifully. I.e. I can connect to some services > (apache etc) that I run directly on my FreeBSD / openvpn vm. > > What im now trying to achieve is that I can connect to other VMs / > machines on my home LAN. > > Im using tun for my VPN, and my pf.conf looks like so (please see the > nat on ...) > > [root at freebsd /usr/home/bclark]# cat /etc/pf.conf > ext_if="re0" > vpn_if="tun0" > int_net="10.0.0.0/24" > vpn_net="192.168.200.0/24" > set skip on lo0 > set optimization normal > #set block-policy drop > set limit { states 20000, frags 10000, src-nodes 20000 } > # Normalization: reassemble fragments and resolve or reduce traffic > ambiguities. > scrub in all > # Translation: specify how addresses are to be mapped or redirected. > # NAT rules > # enabling NAT currently breaks policy based routing > #nat on $ext_if from { $int_net, $vpn_net } to any -> ($ext_if) > #nat on tun0 from { 192.168.200.0/24 } to any -> (re0) > nat on re0 from { 192.168.200.0/24 } to any -> (re0) > > table persist > block in quick on re0 proto tcp from to any port ssh label > "ssh brute" > > What am I missing? > > If anyone could assist, it would be appreciated. > > Kind Regards > Brent Clark > > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org" > Is "sysctl net.inet.ip.forwarding=1" ? http://www.freebsd.org/doc/handbook/network-natd.html Have you set your route for 10.8.x.x- subnet to your vpn-host? Else all your traffic will go to your default gateway and when there is no route, it will go ins internet. Make a test with tcpdump and ping to see, where your traffic is going. Regards From jeff.t at mail.com Mon Mar 11 18:10:09 2013 From: jeff.t at mail.com (Jeff Tipton) Date: Mon, 11 Mar 2013 20:10:00 +0200 Subject: Error: shared library "mysqlclient.18" does not exist In-Reply-To: <513E1BC9.6040207@FreeBSD.org> References: <513E0D6D.10503@mail.com> <513E1BC9.6040207@FreeBSD.org> Message-ID: <513E1DF8.3020408@mail.com> On 03/11/2013 20:00, Greg Larkin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 3/11/13 12:59 PM, Jeff Tipton wrote: >> Hi, >> >> I'm trying to set up security/maia, and this is the error message I >> get: >> >> Error: shared library "mysqlclient.18" does not exist >> >> Of course, the library does exist :( >> >> # ls /usr/local/lib/mysql/ libmysqlclient.a >> libmysqlclient_r.a libmysqld.a libmysqlclient.so >> libmysqlclient_r.so libmysqlservices.a libmysqlclient.so.18 >> libmysqlclient_r.so.18 plugin >> >> I googled about this, and I found 3 things to try but none of that >> was helpful here: >> >> 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 >> /usr/local/lib/libmysqlclient.so.18 >> >> 2. Check the root's umask and the directory permissions if they >> are correct, and they are: # umask 22 #ll /usr/local/lib |grep >> mysql lrwxr-xr-x 1 root wheel 41 Mar 11 16:25 >> libmysqlclient.so.18@ -> /usr/local/lib/mysql/libmysqlclient.so.18 >> drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ >> >> # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel >> 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel >> 20 Mar 11 16:22 libmysqlclient.so@ -> libmysqlclient.so.18 >> -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 >> libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar 11 >> 16:22 libmysqlclient_r.a@ -> libmysqlclient.a lrwxr-xr-x 1 root >> wheel 17 Mar 11 16:22 libmysqlclient_r.so@ -> >> libmysqlclient.so lrwxr-xr-x 1 root wheel 17 Mar 11 16:22 >> libmysqlclient_r.so.18@ -> libmysqlclient.so -rw-r--r-- 1 root >> wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel >> 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel >> 512 Mar 8 19:01 plugin/ >> >> 3. Update the ports tree. Ports tree is up to date. >> >> Could someone, please, suggest what I could try to solve this? >> >> Thanks, Jeff > Hi Jeff, > > At what point do you receive the error message? Is it when you > attempt to run the executable built by the port? If so, please run > the ldd command against the executable and post the output back here. > > Thank you, > Greg > > > - -- > Greg Larkin > > http://www.FreeBSD.org/ - The Power To Serve > http://www.sourcehosting.net/ - Ready. Set. Code. > http://twitter.com/cpucycle/ - Follow you, follow me > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.13 (Darwin) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iEYEARECAAYFAlE+G8kACgkQ0sRouByUApCnLgCgwKZvBM7v60BXemWpG5v3k+IL > A2sAn2+xMhPf4x5bnqt02b+hds1inMUj > =nI5p > -----END PGP SIGNATURE----- Thank you, Greg, for the reply. I get the error message while compiling security/maia port. mysql client itself is working ok, I can connect to my database server. ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: libreadline.so.8 => /lib/libreadline.so.8 (0x800ab5000) libz.so.6 => /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 => /lib/libm.so.5 (0x801219000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 => /lib/libthr.so.3 (0x801647000) libc.so.7 => /lib/libc.so.7 (0x801869000) libncurses.so.8 => /lib/libncurses.so.8 (0x801bbc000) From wblock at wonkity.com Mon Mar 11 18:25:45 2013 From: wblock at wonkity.com (Warren Block) Date: Mon, 11 Mar 2013 12:25:37 -0600 (MDT) Subject: FreeBSD 9 and Windows XP In-Reply-To: <87a9q9udkd.fsf@oak.localnet> References: <20130309120741.DED57767@ms5.mc.surewest.net> <20130311135110.9da99d99cfe968f2d904acd0@yahoo.es> <87a9q9udkd.fsf@oak.localnet> Message-ID: On Mon, 11 Mar 2013, Carl Johnson wrote: > Eduardo Morras writes: > >> On Sat, 9 Mar 2013 12:07:41 -0800 (PST) >> wrote: >> >>> Good afternoon, FreeBSD enthusiasts. Can FreeBSD 9.1 be installed on >>> a computer on which Windows XP currently resides? If so, how can >>> this installation be >done? In particular, is there a way to install >>> 9.1 so that it can be booted from the traditional master boot record? >>> It is important that, when I am done, I can >still boot to Windows >>> XP, as I must run some applications not available on FreeBSD. If the >>> idea I am proposing is not feasible with version 9.1, will it work >>> with >8.3? Any comments are appreciated. If this question has >>> already been asked many times before, please just let me know where >>> to look to find the answer. Thanks. >Newbie502 >> >> >> As an addon to other answers, you can install VirtualBox, create a >> minimal hard disk with MBR boot menu that points to the WindowsXP >> partition. This way you don't need to restart in WinXP. The same can >> be done from WinXP side, a minimal hd with MBR boot menu to startup >> the FreeBSD. > > It is my understanding that FreeBSD doesn't allow using part of a disk, > but grabs the entire disk. That means that VirtualBox can't use > partitions on a disk that any other partitions are being used by > anything else, including FreeBSD itself. Am I wrong about this? I use > VirtualBox using vdmk for an entire disk, but I have never been able to > share with anything else. It's very hard to tell what situation is being described here. If the VMDK is a pointer to a whole physical disk, that would probably make the disk only usable by one VM. It should be possible to make the VMDK point to just one partition on the disk. Then other VMs or a physical machine could use those other partitions while the FreeBSD VM was running. Booting the same Windows install alternately in a VM and then on real hardware may trigger the "Genuine Advantage" annoyance. From glarkin at FreeBSD.org Mon Mar 11 18:29:07 2013 From: glarkin at FreeBSD.org (Greg Larkin) Date: Mon, 11 Mar 2013 14:00:41 -0400 Subject: Error: shared library "mysqlclient.18" does not exist In-Reply-To: <513E0D6D.10503@mail.com> References: <513E0D6D.10503@mail.com> Message-ID: <513E1BC9.6040207@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/11/13 12:59 PM, Jeff Tipton wrote: > Hi, > > I'm trying to set up security/maia, and this is the error message I > get: > > Error: shared library "mysqlclient.18" does not exist > > Of course, the library does exist :( > > # ls /usr/local/lib/mysql/ libmysqlclient.a > libmysqlclient_r.a libmysqld.a libmysqlclient.so > libmysqlclient_r.so libmysqlservices.a libmysqlclient.so.18 > libmysqlclient_r.so.18 plugin > > I googled about this, and I found 3 things to try but none of that > was helpful here: > > 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 > /usr/local/lib/libmysqlclient.so.18 > > 2. Check the root's umask and the directory permissions if they > are correct, and they are: # umask 22 #ll /usr/local/lib |grep > mysql lrwxr-xr-x 1 root wheel 41 Mar 11 16:25 > libmysqlclient.so.18@ -> /usr/local/lib/mysql/libmysqlclient.so.18 > drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ > > # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel > 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel > 20 Mar 11 16:22 libmysqlclient.so@ -> libmysqlclient.so.18 > -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 > libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar 11 > 16:22 libmysqlclient_r.a@ -> libmysqlclient.a lrwxr-xr-x 1 root > wheel 17 Mar 11 16:22 libmysqlclient_r.so@ -> > libmysqlclient.so lrwxr-xr-x 1 root wheel 17 Mar 11 16:22 > libmysqlclient_r.so.18@ -> libmysqlclient.so -rw-r--r-- 1 root > wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel > 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel > 512 Mar 8 19:01 plugin/ > > 3. Update the ports tree. Ports tree is up to date. > > Could someone, please, suggest what I could try to solve this? > > Thanks, Jeff Hi Jeff, At what point do you receive the error message? Is it when you attempt to run the executable built by the port? If so, please run the ldd command against the executable and post the output back here. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE+G8kACgkQ0sRouByUApCnLgCgwKZvBM7v60BXemWpG5v3k+IL A2sAn2+xMhPf4x5bnqt02b+hds1inMUj =nI5p -----END PGP SIGNATURE----- From glarkin at FreeBSD.org Mon Mar 11 18:32:05 2013 From: glarkin at FreeBSD.org (Greg Larkin) Date: Mon, 11 Mar 2013 14:31:54 -0400 Subject: Error: shared library "mysqlclient.18" does not exist In-Reply-To: <513E1DF8.3020408@mail.com> References: <513E0D6D.10503@mail.com> <513E1BC9.6040207@FreeBSD.org> <513E1DF8.3020408@mail.com> Message-ID: <513E231A.90105@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/11/13 2:10 PM, Jeff Tipton wrote: > On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff > Tipton wrote: >>>> Hi, >>>> >>>> I'm trying to set up security/maia, and this is the error >>>> message I get: >>>> >>>> Error: shared library "mysqlclient.18" does not exist >>>> >>>> Of course, the library does exist :( >>>> >>>> # ls /usr/local/lib/mysql/ libmysqlclient.a >>>> libmysqlclient_r.a libmysqld.a libmysqlclient.so >>>> libmysqlclient_r.so libmysqlservices.a >>>> libmysqlclient.so.18 libmysqlclient_r.so.18 plugin >>>> >>>> I googled about this, and I found 3 things to try but none of >>>> that was helpful here: >>>> >>>> 1. make a link: ln -s >>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>> /usr/local/lib/libmysqlclient.so.18 >>>> >>>> 2. Check the root's umask and the directory permissions if >>>> they are correct, and they are: # umask 22 #ll /usr/local/lib >>>> |grep mysql lrwxr-xr-x 1 root wheel 41 Mar 11 >>>> 16:25 libmysqlclient.so.18@ -> >>>> /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root >>>> wheel 512 Mar 11 16:22 mysql/ >>>> >>>> # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root >>>> wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 >>>> root wheel 20 Mar 11 16:22 libmysqlclient.so@ -> >>>> libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar >>>> 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel >>>> 16 Mar 11 16:22 libmysqlclient_r.a@ -> libmysqlclient.a >>>> lrwxr-xr-x 1 root wheel 17 Mar 11 16:22 >>>> libmysqlclient_r.so@ -> libmysqlclient.so lrwxr-xr-x 1 root >>>> wheel 17 Mar 11 16:22 libmysqlclient_r.so.18@ -> >>>> libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 >>>> 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 >>>> libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 >>>> plugin/ >>>> >>>> 3. Update the ports tree. Ports tree is up to date. >>>> >>>> Could someone, please, suggest what I could try to solve >>>> this? >>>> >>>> Thanks, Jeff > Hi Jeff, > > At what point do you receive the error message? Is it when you > attempt to run the executable built by the port? If so, please > run the ldd command against the executable and post the output back > here. > > Thank you, Greg > > > -- Greg Larkin > > http://www.FreeBSD.org/ - The Power To Serve > http://www.sourcehosting.net/ - Ready. Set. Code. > http://twitter.com/cpucycle/ - Follow you, follow me Thank > you, Greg, for the reply. I get the error message while compiling > security/maia port. mysql client itself is working ok, I can > connect to my database server. > > ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: > libreadline.so.8 => /lib/libreadline.so.8 (0x800ab5000) libz.so.6 > => /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 => > /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 => /lib/libm.so.5 > (0x801219000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x80143a000) > libthr.so.3 => /lib/libthr.so.3 (0x801647000) libc.so.7 => > /lib/libc.so.7 (0x801869000) libncurses.so.8 => > /lib/libncurses.so.8 (0x801bbc000) > Hi Jeff, Can you post the relevant bits of build output where the error message shows up? If it happens during the configure phase of the port build, you'll also want to post the end of the config.log file found in the port work directory. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE+IxoACgkQ0sRouByUApB5XQCfcFo9nRCtFzuWJB/yg7tB6W6O h5MAnAqKEtOUuCwqlf0+HM5GSifo6PAk =drjz -----END PGP SIGNATURE----- From jeff.t at mail.com Mon Mar 11 18:47:41 2013 From: jeff.t at mail.com (Jeff Tipton) Date: Mon, 11 Mar 2013 20:47:30 +0200 Subject: Error: shared library "mysqlclient.18" does not exist In-Reply-To: <513E231A.90105@FreeBSD.org> References: <513E0D6D.10503@mail.com> <513E1BC9.6040207@FreeBSD.org> <513E1DF8.3020408@mail.com> <513E231A.90105@FreeBSD.org> Message-ID: <513E26C2.9040601@mail.com> On 03/11/2013 20:31, Greg Larkin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 3/11/13 2:10 PM, Jeff Tipton wrote: >> On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff >> Tipton wrote: >>>>> Hi, >>>>> >>>>> I'm trying to set up security/maia, and this is the error >>>>> message I get: >>>>> >>>>> Error: shared library "mysqlclient.18" does not exist >>>>> >>>>> Of course, the library does exist :( >>>>> >>>>> # ls /usr/local/lib/mysql/ libmysqlclient.a >>>>> libmysqlclient_r.a libmysqld.a libmysqlclient.so >>>>> libmysqlclient_r.so libmysqlservices.a >>>>> libmysqlclient.so.18 libmysqlclient_r.so.18 plugin >>>>> >>>>> I googled about this, and I found 3 things to try but none of >>>>> that was helpful here: >>>>> >>>>> 1. make a link: ln -s >>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>> /usr/local/lib/libmysqlclient.so.18 >>>>> >>>>> 2. Check the root's umask and the directory permissions if >>>>> they are correct, and they are: # umask 22 #ll /usr/local/lib >>>>> |grep mysql lrwxr-xr-x 1 root wheel 41 Mar 11 >>>>> 16:25 libmysqlclient.so.18@ -> >>>>> /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root >>>>> wheel 512 Mar 11 16:22 mysql/ >>>>> >>>>> # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root >>>>> wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 >>>>> root wheel 20 Mar 11 16:22 libmysqlclient.so@ -> >>>>> libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar >>>>> 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel >>>>> 16 Mar 11 16:22 libmysqlclient_r.a@ -> libmysqlclient.a >>>>> lrwxr-xr-x 1 root wheel 17 Mar 11 16:22 >>>>> libmysqlclient_r.so@ -> libmysqlclient.so lrwxr-xr-x 1 root >>>>> wheel 17 Mar 11 16:22 libmysqlclient_r.so.18@ -> >>>>> libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 >>>>> 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 >>>>> libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 >>>>> plugin/ >>>>> >>>>> 3. Update the ports tree. Ports tree is up to date. >>>>> >>>>> Could someone, please, suggest what I could try to solve >>>>> this? >>>>> >>>>> Thanks, Jeff >> Hi Jeff, >> >> At what point do you receive the error message? Is it when you >> attempt to run the executable built by the port? If so, please >> run the ldd command against the executable and post the output back >> here. >> >> Thank you, Greg >> >> >> -- Greg Larkin >> >> http://www.FreeBSD.org/ - The Power To Serve >> http://www.sourcehosting.net/ - Ready. Set. Code. >> http://twitter.com/cpucycle/ - Follow you, follow me Thank >> you, Greg, for the reply. I get the error message while compiling >> security/maia port. mysql client itself is working ok, I can >> connect to my database server. >> >> ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: >> libreadline.so.8 => /lib/libreadline.so.8 (0x800ab5000) libz.so.6 >> => /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 => >> /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 => /lib/libm.so.5 >> (0x801219000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x80143a000) >> libthr.so.3 => /lib/libthr.so.3 (0x801647000) libc.so.7 => >> /lib/libc.so.7 (0x801869000) libncurses.so.8 => >> /lib/libncurses.so.8 (0x801bbc000) >> > Hi Jeff, > > Can you post the relevant bits of build output where the error message > shows up? If it happens during the configure phase of the port build, > you'll also want to post the end of the config.log file found in the > port work directory. > > Thank you, > Greg > > > - -- > Greg Larkin > > http://www.FreeBSD.org/ - The Power To Serve > http://www.sourcehosting.net/ - Ready. Set. Code. > http://twitter.com/cpucycle/ - Follow you, follow me > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.13 (Darwin) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iEYEARECAAYFAlE+IxoACgkQ0sRouByUApB5XQCfcFo9nRCtFzuWJB/yg7tB6W6O > h5MAnAqKEtOUuCwqlf0+HM5GSifo6PAk > =drjz > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" I tried to run "make" several times, and previously some build depends were compiled. But now the "work" directory doesn't even get created, and the process stops immediately: /usr/ports/security/maia# make install clean ===> maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not found ===> Verifying install for mysqlclient.18 in /usr/ports/databases/mysql55-client ===> Returning to build of maia-1.0.3.r1575_3 Error: shared library "mysqlclient.18" does not exist *** [lib-depends] Error code 1 Stop in /basejail/usr/ports/security/maia. /usr/ports/security/maia# From matthew at FreeBSD.org Mon Mar 11 18:54:47 2013 From: matthew at FreeBSD.org (Matthew Seaman) Date: Mon, 11 Mar 2013 18:54:24 +0000 Subject: Error: shared library "mysqlclient.18" does not exist In-Reply-To: <513E0D6D.10503@mail.com> References: <513E0D6D.10503@mail.com> Message-ID: <513E2860.9000907@FreeBSD.org> On 11/03/2013 16:59, Jeff Tipton wrote: > I'm trying to set up security/maia, and this is the error message I get: > > Error: shared library "mysqlclient.18" does not exist > > Of course, the library does exist :( > > # ls /usr/local/lib/mysql/ > libmysqlclient.a libmysqlclient_r.a libmysqld.a > libmysqlclient.so libmysqlclient_r.so libmysqlservices.a > libmysqlclient.so.18 libmysqlclient_r.so.18 plugin > > I googled about this, and I found 3 things to try but none of that was > helpful here: One other thing to try: examine the output of 'ldconfig -r' -- you should see -libmysqlclient.18 somewhere in the listing. The default location the ports will install that library is /usr/local/lib/mysql/libmysqlclient.so.18 which, you'll notice is in a subdirectory of /usr/local/lib -- not on the default shared library search path. If it's been correctly installed however you should see /usr/local/lib/mysql amongst the search directories around the 2nd line of the ldconfig -r output. If not, you can run this: ldconfig -m /usr/local/lib/mysql You only need to do that once, and the system should remember it. Installing from the port or packages (old or pkgng style) should do that automatically. How did you install mysql-client? Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 268 bytes Desc: OpenPGP digital signature URL: From glarkin at FreeBSD.org Mon Mar 11 19:00:43 2013 From: glarkin at FreeBSD.org (Greg Larkin) Date: Mon, 11 Mar 2013 15:00:33 -0400 Subject: Error: shared library "mysqlclient.18" does not exist In-Reply-To: <513E26C2.9040601@mail.com> References: <513E0D6D.10503@mail.com> <513E1BC9.6040207@FreeBSD.org> <513E1DF8.3020408@mail.com> <513E231A.90105@FreeBSD.org> <513E26C2.9040601@mail.com> Message-ID: <513E29D1.8030709@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/11/13 2:47 PM, Jeff Tipton wrote: > On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff > Tipton wrote: >>>> On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, >>>> Jeff Tipton wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I'm trying to set up security/maia, and this is the >>>>>>> error message I get: >>>>>>> >>>>>>> Error: shared library "mysqlclient.18" does not exist >>>>>>> >>>>>>> Of course, the library does exist :( >>>>>>> >>>>>>> # ls /usr/local/lib/mysql/ libmysqlclient.a >>>>>>> libmysqlclient_r.a libmysqld.a libmysqlclient.so >>>>>>> libmysqlclient_r.so libmysqlservices.a >>>>>>> libmysqlclient.so.18 libmysqlclient_r.so.18 plugin >>>>>>> >>>>>>> I googled about this, and I found 3 things to try but >>>>>>> none of that was helpful here: >>>>>>> >>>>>>> 1. make a link: ln -s >>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>>> /usr/local/lib/libmysqlclient.so.18 >>>>>>> >>>>>>> 2. Check the root's umask and the directory permissions >>>>>>> if they are correct, and they are: # umask 22 #ll >>>>>>> /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel >>>>>>> 41 Mar 11 16:25 libmysqlclient.so.18@ -> >>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x >>>>>>> 3 root wheel 512 Mar 11 16:22 mysql/ >>>>>>> >>>>>>> # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 >>>>>>> root wheel 4844270 Mar 11 16:17 libmysqlclient.a >>>>>>> lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 >>>>>>> libmysqlclient.so@ -> libmysqlclient.so.18 -rwxr-xr-x >>>>>>> 1 root wheel 3364688 Mar 11 16:22 >>>>>>> libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar >>>>>>> 11 16:22 libmysqlclient_r.a@ -> libmysqlclient.a >>>>>>> lrwxr-xr-x 1 root wheel 17 Mar 11 16:22 >>>>>>> libmysqlclient_r.so@ -> libmysqlclient.so lrwxr-xr-x 1 >>>>>>> root wheel 17 Mar 11 16:22 >>>>>>> libmysqlclient_r.so.18@ -> libmysqlclient.so -rw-r--r-- >>>>>>> 1 root wheel 20019340 Mar 7 15:08 libmysqld.a >>>>>>> -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 >>>>>>> libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 >>>>>>> 19:01 plugin/ >>>>>>> >>>>>>> 3. Update the ports tree. Ports tree is up to date. >>>>>>> >>>>>>> Could someone, please, suggest what I could try to >>>>>>> solve this? >>>>>>> >>>>>>> Thanks, Jeff >>>> Hi Jeff, >>>> >>>> At what point do you receive the error message? Is it when >>>> you attempt to run the executable built by the port? If so, >>>> please run the ldd command against the executable and post >>>> the output back here. >>>> >>>> Thank you, Greg >>>> >>>> >>>> -- Greg Larkin >>>> >>>> http://www.FreeBSD.org/ - The Power To Serve >>>> http://www.sourcehosting.net/ - Ready. Set. Code. >>>> http://twitter.com/cpucycle/ - Follow you, follow me >>>> Thank you, Greg, for the reply. I get the error message while >>>> compiling security/maia port. mysql client itself is working >>>> ok, I can connect to my database server. >>>> >>>> ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: >>>> libreadline.so.8 => /lib/libreadline.so.8 (0x800ab5000) >>>> libz.so.6 => /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 => >>>> /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 => >>>> /lib/libm.so.5 (0x801219000) libgcc_s.so.1 => >>>> /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 => >>>> /lib/libthr.so.3 (0x801647000) libc.so.7 => /lib/libc.so.7 >>>> (0x801869000) libncurses.so.8 => /lib/libncurses.so.8 >>>> (0x801bbc000) >>>> > Hi Jeff, > > Can you post the relevant bits of build output where the error > message shows up? If it happens during the configure phase of the > port build, you'll also want to post the end of the config.log file > found in the port work directory. > > Thank you, Greg > > > I tried to run "make" several times, and previously some build > depends were compiled. But now the "work" directory doesn't even > get created, and the process stops immediately: > > /usr/ports/security/maia# make install clean ===> > maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not > found ===> Verifying install for mysqlclient.18 in > /usr/ports/databases/mysql55-client ===> Returning to build of > maia-1.0.3.r1575_3 Error: shared library "mysqlclient.18" does not > exist *** [lib-depends] Error code 1 > > Stop in /basejail/usr/ports/security/maia. > /usr/ports/security/maia# > > Ok, it looks like something is messed up with your ldconfig search path. To confirm that, please run this command and post results back here: ldconfig -r| grep mysql Thank you, Greg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE+KdEACgkQ0sRouByUApBP3gCfalFeDTMflaCy+vnF3FMoTht8 +8sAn0oZBRgUlryNk21zzYZ0KMJYsGER =3LRY -----END PGP SIGNATURE----- From kudzu at tenebras.com Mon Mar 11 19:13:38 2013 From: kudzu at tenebras.com (Michael Sierchio) Date: Mon, 11 Mar 2013 12:13:36 -0700 Subject: OpenVPN vm cant connect to other VM's In-Reply-To: <51371C8A.8050205@gmail.com> References: <51371C8A.8050205@gmail.com> Message-ID: Are you pushing routes in your server.conf file? (hint - show, don't tell) - M On Wed, Mar 6, 2013 at 2:38 AM, Brent Clark wrote: > Hi guys > > Im struggling with a freebsd vm, that I have that I use for a VPN connection > too, from my workstation to my home LAN. And I was wondering if someone > could peer review me and my problem. > > OpenVPN is working beautifully. I.e. I can connect to some services (apache > etc) that I run directly on my FreeBSD / openvpn vm. > > What im now trying to achieve is that I can connect to other VMs / machines > on my home LAN. > > Im using tun for my VPN, and my pf.conf looks like so (please see the nat on > ...) > > [root at freebsd /usr/home/bclark]# cat /etc/pf.conf > ext_if="re0" > vpn_if="tun0" > int_net="10.0.0.0/24" > vpn_net="192.168.200.0/24" > set skip on lo0 > set optimization normal > #set block-policy drop > set limit { states 20000, frags 10000, src-nodes 20000 } > # Normalization: reassemble fragments and resolve or reduce traffic > ambiguities. > scrub in all > # Translation: specify how addresses are to be mapped or redirected. > # NAT rules > # enabling NAT currently breaks policy based routing > #nat on $ext_if from { $int_net, $vpn_net } to any -> ($ext_if) > #nat on tun0 from { 192.168.200.0/24 } to any -> (re0) > nat on re0 from { 192.168.200.0/24 } to any -> (re0) > > table persist > block in quick on re0 proto tcp from to any port ssh label "ssh > brute" > > What am I missing? > > If anyone could assist, it would be appreciated. > > Kind Regards > Brent Clark > > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From ralf.mardorf at rocketmail.com Mon Mar 11 19:22:40 2013 From: ralf.mardorf at rocketmail.com (Ralf Mardorf) Date: Mon, 11 Mar 2013 20:20:52 +0100 Subject: FreeBSD 9 and Windows XP In-Reply-To: References: <20130309120741.DED57767@ms5.mc.surewest.net> <20130311135110.9da99d99cfe968f2d904acd0@yahoo.es> <87a9q9udkd.fsf@oak.localnet> Message-ID: <1363029652.631.123.camel@archlinux> On Mon, 2013-03-11 at 12:25 -0600, Warren Block wrote: > Booting the same Windows install alternately in a VM and then on real > hardware may trigger the "Genuine Advantage" annoyance. This is true, but for some exceptional cases perhaps untrue. I wasn't aware about this possibility, but it does sound interesting to me. I run Windows in VBox only to use an iPad I won and to transfer documents from my *nix to the iPad. So my exceptional cases is, that I've got something useful I didn't buy myself. This thing, the iPad, has a lot of disadvantages, I don't pay for apps etc., but it's useful as a reader and for some other tasks. I don't need and I don't use Windows, with this exception (to use the "reader"/iPad). It's a XP without admin account and service pack 2 only, I don't give a damn about the state of this Windows or the state of the "reader". Ok, I made some snapshots, I use this advantage, but I could live without snapshots. I'm a *nix only user, the iPad and regarding to this, Windows XP too, fall into my lap. iPad and Windows aren't important for me, I don't need the security advantages of the virtual machine. I chose it, to avoid issues with installing Windows to a real partition, no primary was free and fixing the boot loader is work and I wish to access iTunes from my *nix ... however, since *nix tend to be problematic regarding to hardware, it can't harm to have a Windows to test hardware that does cause issues with *nix, to ensure that the hardware isn't broken. In my very exceptional, individual case it might be really interesting to share a "real" Windows install, directly booted and booted as guest in VBox. I'm thinking of making a backup of the virtual partition and to restore it on a real, primary ntfs partition or something similar, perhaps I can copy just the iTunes data and make a new Windows install ... OTOH I didn't use a Windows install before, disk space isn't expensive, so I'm uncertain, if I really want a real Windows install and if I should wish to have one, it's not to share it with VBox, but keep a separated version in VBox. I'm not sure that it's really easy to test hardware when booting it directly and to have completely different _virtual_ hardware by VBox. What would happen, if for the _virtual_ boot of XP, the professional audio card is missing? The setups might be that different, that it perhaps can't switch between a _real_ and a _virtual_ boot without much editing. From jeff.t at mail.com Mon Mar 11 19:34:20 2013 From: jeff.t at mail.com (Jeff Tipton) Date: Mon, 11 Mar 2013 21:34:16 +0200 Subject: Error: shared library "mysqlclient.18" does not exist In-Reply-To: <513E29D1.8030709@FreeBSD.org> References: <513E0D6D.10503@mail.com> <513E1BC9.6040207@FreeBSD.org> <513E1DF8.3020408@mail.com> <513E231A.90105@FreeBSD.org> <513E26C2.9040601@mail.com> <513E29D1.8030709@FreeBSD.org> Message-ID: <513E31B8.2020509@mail.com> On 03/11/2013 21:00, Greg Larkin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 3/11/13 2:47 PM, Jeff Tipton wrote: >> On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff >> Tipton wrote: >>>>> On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, >>>>> Jeff Tipton wrote: >>>>>>>> Hi, >>>>>>>> >>>>>>>> I'm trying to set up security/maia, and this is the >>>>>>>> error message I get: >>>>>>>> >>>>>>>> Error: shared library "mysqlclient.18" does not exist >>>>>>>> >>>>>>>> Of course, the library does exist :( >>>>>>>> >>>>>>>> # ls /usr/local/lib/mysql/ libmysqlclient.a >>>>>>>> libmysqlclient_r.a libmysqld.a libmysqlclient.so >>>>>>>> libmysqlclient_r.so libmysqlservices.a >>>>>>>> libmysqlclient.so.18 libmysqlclient_r.so.18 plugin >>>>>>>> >>>>>>>> I googled about this, and I found 3 things to try but >>>>>>>> none of that was helpful here: >>>>>>>> >>>>>>>> 1. make a link: ln -s >>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>>>> /usr/local/lib/libmysqlclient.so.18 >>>>>>>> >>>>>>>> 2. Check the root's umask and the directory permissions >>>>>>>> if they are correct, and they are: # umask 22 #ll >>>>>>>> /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel >>>>>>>> 41 Mar 11 16:25 libmysqlclient.so.18@ -> >>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x >>>>>>>> 3 root wheel 512 Mar 11 16:22 mysql/ >>>>>>>> >>>>>>>> # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 >>>>>>>> root wheel 4844270 Mar 11 16:17 libmysqlclient.a >>>>>>>> lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 >>>>>>>> libmysqlclient.so@ -> libmysqlclient.so.18 -rwxr-xr-x >>>>>>>> 1 root wheel 3364688 Mar 11 16:22 >>>>>>>> libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar >>>>>>>> 11 16:22 libmysqlclient_r.a@ -> libmysqlclient.a >>>>>>>> lrwxr-xr-x 1 root wheel 17 Mar 11 16:22 >>>>>>>> libmysqlclient_r.so@ -> libmysqlclient.so lrwxr-xr-x 1 >>>>>>>> root wheel 17 Mar 11 16:22 >>>>>>>> libmysqlclient_r.so.18@ -> libmysqlclient.so -rw-r--r-- >>>>>>>> 1 root wheel 20019340 Mar 7 15:08 libmysqld.a >>>>>>>> -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 >>>>>>>> libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 >>>>>>>> 19:01 plugin/ >>>>>>>> >>>>>>>> 3. Update the ports tree. Ports tree is up to date. >>>>>>>> >>>>>>>> Could someone, please, suggest what I could try to >>>>>>>> solve this? >>>>>>>> >>>>>>>> Thanks, Jeff >>>>> Hi Jeff, >>>>> >>>>> At what point do you receive the error message? Is it when >>>>> you attempt to run the executable built by the port? If so, >>>>> please run the ldd command against the executable and post >>>>> the output back here. >>>>> >>>>> Thank you, Greg >>>>> >>>>> >>>>> -- Greg Larkin >>>>> >>>>> http://www.FreeBSD.org/ - The Power To Serve >>>>> http://www.sourcehosting.net/ - Ready. Set. Code. >>>>> http://twitter.com/cpucycle/ - Follow you, follow me >>>>> Thank you, Greg, for the reply. I get the error message while >>>>> compiling security/maia port. mysql client itself is working >>>>> ok, I can connect to my database server. >>>>> >>>>> ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: >>>>> libreadline.so.8 => /lib/libreadline.so.8 (0x800ab5000) >>>>> libz.so.6 => /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 => >>>>> /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 => >>>>> /lib/libm.so.5 (0x801219000) libgcc_s.so.1 => >>>>> /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 => >>>>> /lib/libthr.so.3 (0x801647000) libc.so.7 => /lib/libc.so.7 >>>>> (0x801869000) libncurses.so.8 => /lib/libncurses.so.8 >>>>> (0x801bbc000) >>>>> >> Hi Jeff, >> >> Can you post the relevant bits of build output where the error >> message shows up? If it happens during the configure phase of the >> port build, you'll also want to post the end of the config.log file >> found in the port work directory. >> >> Thank you, Greg >> >> >> I tried to run "make" several times, and previously some build >> depends were compiled. But now the "work" directory doesn't even >> get created, and the process stops immediately: >> >> /usr/ports/security/maia# make install clean ===> >> maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not >> found ===> Verifying install for mysqlclient.18 in >> /usr/ports/databases/mysql55-client ===> Returning to build of >> maia-1.0.3.r1575_3 Error: shared library "mysqlclient.18" does not >> exist *** [lib-depends] Error code 1 >> >> Stop in /basejail/usr/ports/security/maia. >> /usr/ports/security/maia# >> >> > Ok, it looks like something is messed up with your ldconfig search > path. To confirm that, please run this command and post results back > here: > > ldconfig -r| grep mysql > > Thank you, > Greg > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.13 (Darwin) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iEYEARECAAYFAlE+KdEACgkQ0sRouByUApBP3gCfalFeDTMflaCy+vnF3FMoTht8 > +8sAn0oZBRgUlryNk21zzYZ0KMJYsGER > =3LRY > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" # ldconfig -r| grep mysql search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth 218:-lmysqlclient.18 => /usr/local/lib/libmysqlclient.so.18 219:-lmysqlclient.18 => /usr/local/lib/mysql/libmysqlclient.so.18 220:-lmysqlclient_r.18 => /usr/local/lib/mysql/libmysqlclient_r.so.18 I installed both mysql client and server from ports. The versions are: mysql-client-5.5.30 mysql-server-5.5.30 From jnagyjr1978 at gmail.com Mon Mar 11 19:49:33 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Mon, 11 Mar 2013 14:49:24 -0500 Subject: Problems Printing In-Reply-To: <513D7701.7000605@bananmonarki.se> References: <5135A88B.1000100@gmail.com> <513D7701.7000605@bananmonarki.se> Message-ID: <513E3544.6080208@gmail.com> On 03/11/13 01:17, Bernt Hansson wrote: > 2013-03-05 09:10, Joseph A. Nagy, Jr skrev: >> Cups is setup so I should be able to print: >> http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png >> >> My pdf reader sees the printer: >> http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png >> >> yet it won't print and delivers this dialog: >> http://www.joseph-a-nagy-jr.us/images/problems/print-error.png >> >> any ideas on how to correct this? > > http://www.openprinting.org/printer/Canon/Canon-PIXMA_MP210 http://www.joseph-a-nagy-jr.us/images/problems/still-no-luck_cups.png -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From guru at unixarea.de Mon Mar 11 20:08:51 2013 From: guru at unixarea.de (Matthias Apitz) Date: Mon, 11 Mar 2013 21:08:39 +0100 Subject: Problems Printing In-Reply-To: <513E3544.6080208@gmail.com> References: <5135A88B.1000100@gmail.com> <513D7701.7000605@bananmonarki.se> <513E3544.6080208@gmail.com> Message-ID: <20130311200838.GA1348@tiny.Sisis.de> El d?a Monday, March 11, 2013 a las 02:49:24PM -0500, Joseph A. Nagy, Jr escribi?: > On 03/11/13 01:17, Bernt Hansson wrote: > > 2013-03-05 09:10, Joseph A. Nagy, Jr skrev: > >> Cups is setup so I should be able to print: > >> http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png What kind of software does this scree shows? And why do you think with this that CUPS is setup as it should? > >> > >> My pdf reader sees the printer: > >> http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png yes it sees some printer with this name 'PIXMA...', nothing more; > >> > >> yet it won't print and delivers this dialog: > >> http://www.joseph-a-nagy-jr.us/images/problems/print-error.png this shows that the software is using the lpr(1) command from base system, but not the lpr command of CUPS; > >> > >> any ideas on how to correct this? > > > > http://www.openprinting.org/printer/Canon/Canon-PIXMA_MP210 > > http://www.joseph-a-nagy-jr.us/images/problems/still-no-luck_cups.png it shows that you have NOT configured the printer PIXMA as a Generic Postscript printer (as I said)! Please, drop all sofisticated PPD stuff, use Generic (generated) Postscript PPD and ensure first that the CUPS test page comes out (from the web interface) and after this, test from lpr-command line from shell. I think, I'm repeating me matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru at unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From jnagyjr1978 at gmail.com Mon Mar 11 20:16:58 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Mon, 11 Mar 2013 15:16:52 -0500 Subject: Problems Printing In-Reply-To: <20130311200838.GA1348@tiny.Sisis.de> References: <5135A88B.1000100@gmail.com> <513D7701.7000605@bananmonarki.se> <513E3544.6080208@gmail.com> <20130311200838.GA1348@tiny.Sisis.de> Message-ID: <513E3BB4.305@gmail.com> On 03/11/13 15:08, Matthias Apitz wrote: > El d?a Monday, March 11, 2013 a las 02:49:24PM -0500, Joseph A. Nagy, Jr escribi?: > >> On 03/11/13 01:17, Bernt Hansson wrote: >>> 2013-03-05 09:10, Joseph A. Nagy, Jr skrev: >>>> Cups is setup so I should be able to print: >>>> http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png > > What kind of software does this scree shows? And why do you think with > this that CUPS is setup as it should? > >>>> >>>> My pdf reader sees the printer: >>>> http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png > > yes it sees some printer with this name 'PIXMA...', nothing more; > >>>> >>>> yet it won't print and delivers this dialog: >>>> http://www.joseph-a-nagy-jr.us/images/problems/print-error.png > > this shows that the software is using the lpr(1) command from base > system, but not the lpr command of CUPS; > >>>> >>>> any ideas on how to correct this? >>> >>> http://www.openprinting.org/printer/Canon/Canon-PIXMA_MP210 >> >> http://www.joseph-a-nagy-jr.us/images/problems/still-no-luck_cups.png > > it shows that you have NOT configured the printer PIXMA as a Generic > Postscript printer (as I said)! Please, drop all sofisticated PPD stuff, use Generic > (generated) Postscript PPD and ensure first that the CUPS test page > comes out (from the web interface) and after this, test from lpr-command > line from shell. > > I think, I'm repeating me > > matthias > You're only repeating yourself because you missed the post where I ALREADY DID THAT. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From guru at unixarea.de Mon Mar 11 20:26:33 2013 From: guru at unixarea.de (Matthias Apitz) Date: Mon, 11 Mar 2013 21:26:28 +0100 Subject: Problems Printing In-Reply-To: <513E3BB4.305@gmail.com> References: <5135A88B.1000100@gmail.com> <513D7701.7000605@bananmonarki.se> <513E3544.6080208@gmail.com> <20130311200838.GA1348@tiny.Sisis.de> <513E3BB4.305@gmail.com> Message-ID: <20130311202628.GA1413@tiny.Sisis.de> El d?a Monday, March 11, 2013 a las 03:16:52PM -0500, Joseph A. Nagy, Jr escribi?: > >> http://www.joseph-a-nagy-jr.us/images/problems/still-no-luck_cups.png > > > > it shows that you have NOT configured the printer PIXMA as a Generic > > Postscript printer (as I said)! Please, drop all sofisticated PPD stuff, use Generic > > (generated) Postscript PPD and ensure first that the CUPS test page > > comes out (from the web interface) and after this, test from lpr-command > > line from shell. > > > > I think, I'm repeating me > > > > matthias > > > > You're only repeating yourself because you missed the post where I > ALREADY DID THAT. Please show a screen of the CUPS' web interface (or the lines of the printers.conf file) where the printer is configured as a Generic Postscript. And, I have read all your postings in detail, which do not show a structured way to nail down a problem. matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru at unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From jnagyjr1978 at gmail.com Mon Mar 11 20:34:11 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Mon, 11 Mar 2013 15:34:05 -0500 Subject: Problems Printing In-Reply-To: <20130311202628.GA1413@tiny.Sisis.de> References: <5135A88B.1000100@gmail.com> <513D7701.7000605@bananmonarki.se> <513E3544.6080208@gmail.com> <20130311200838.GA1348@tiny.Sisis.de> <513E3BB4.305@gmail.com> <20130311202628.GA1413@tiny.Sisis.de> Message-ID: <513E3FBD.5000302@gmail.com> On 03/11/13 15:26, Matthias Apitz wrote: > El d?a Monday, March 11, 2013 a las 03:16:52PM -0500, Joseph A. Nagy, Jr escribi?: > >>>> http://www.joseph-a-nagy-jr.us/images/problems/still-no-luck_cups.png >>> >>> it shows that you have NOT configured the printer PIXMA as a Generic >>> Postscript printer (as I said)! Please, drop all sofisticated PPD stuff, use Generic >>> (generated) Postscript PPD and ensure first that the CUPS test page >>> comes out (from the web interface) and after this, test from lpr-command >>> line from shell. >>> >>> I think, I'm repeating me >>> >>> matthias >>> >> >> You're only repeating yourself because you missed the post where I >> ALREADY DID THAT. > > Please show a screen of the CUPS' web interface (or the lines of the > printers.conf file) where the printer is configured as a Generic > Postscript. If you do not believe I've configured it as you suggested/requested, that's your problem. If you want it redone, contact me off-list and I'll provide my mailing address so you can come do it yourself. > And, I have read all your postings in detail, which do not show a > structured way to nail down a problem. > > matthias > As for not showing a structured way to nail down the problem, I'm not sure what else to do. I've provided the logs in their entirety. I've shown where I used gnome-cups-manager to try and configure it, I - in a very lengthy (mostly due to log file entries) post - went step by step trying to do it several ways (including using the web interface). What more do you want? I even reinstalled gnutls to no avail. The next step is to rebuild all the cups related ports with gnutls disabled. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From guru at unixarea.de Mon Mar 11 20:43:57 2013 From: guru at unixarea.de (Matthias Apitz) Date: Mon, 11 Mar 2013 21:43:51 +0100 Subject: Problems Printing In-Reply-To: <513E3FBD.5000302@gmail.com> References: <5135A88B.1000100@gmail.com> <513D7701.7000605@bananmonarki.se> <513E3544.6080208@gmail.com> <20130311200838.GA1348@tiny.Sisis.de> <513E3BB4.305@gmail.com> <20130311202628.GA1413@tiny.Sisis.de> <513E3FBD.5000302@gmail.com> Message-ID: <20130311204351.GA1485@tiny.Sisis.de> El d?a Monday, March 11, 2013 a las 03:34:05PM -0500, Joseph A. Nagy, Jr escribi?: > > Please show a screen of the CUPS' web interface (or the lines of the > > printers.conf file) where the printer is configured as a Generic > > Postscript. > > If you do not believe I've configured it as you suggested/requested, > that's your problem. If you want it redone, contact me off-list and I'll > provide my mailing address so you can come do it yourself. We are not in church here and it has nothing to do with believe... The long logs you provided never have shown the printer as Generic PS. > > And, I have read all your postings in detail, which do not show a > > structured way to nail down a problem. > > > > matthias > > > > As for not showing a structured way to nail down the problem, I'm not > sure what else to do. I've provided the logs in their entirety. I've > shown where I used gnome-cups-manager to try and configure it, I - in a > very lengthy (mostly due to log file entries) post - went step by step > trying to do it several ways (including using the web interface). What > more do you want? Just configure a Generic PS in addition pointing to the same device, show the screen of the web interface or the printers.conf file and do a test print from CUPS. > > I even reinstalled gnutls to no avail. The next step is to rebuild all > the cups related ports with gnutls disabled. This is unrelated to the problem. matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru at unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From glarkin at FreeBSD.org Mon Mar 11 21:01:42 2013 From: glarkin at FreeBSD.org (Greg Larkin) Date: Mon, 11 Mar 2013 17:01:34 -0400 Subject: Error: shared library "mysqlclient.18" does not exist In-Reply-To: <513E31B8.2020509@mail.com> References: <513E0D6D.10503@mail.com> <513E1BC9.6040207@FreeBSD.org> <513E1DF8.3020408@mail.com> <513E231A.90105@FreeBSD.org> <513E26C2.9040601@mail.com> <513E29D1.8030709@FreeBSD.org> <513E31B8.2020509@mail.com> Message-ID: <513E462E.7080809@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/11/13 3:34 PM, Jeff Tipton wrote: > On 03/11/2013 21:00, Greg Larkin wrote: On 3/11/13 2:47 PM, Jeff > Tipton wrote: >>>> On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, >>>> Jeff Tipton wrote: >>>>>>> On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 >>>>>>> 12:59 PM, Jeff Tipton wrote: >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> I'm trying to set up security/maia, and this is >>>>>>>>>> the error message I get: >>>>>>>>>> >>>>>>>>>> Error: shared library "mysqlclient.18" does not >>>>>>>>>> exist >>>>>>>>>> >>>>>>>>>> Of course, the library does exist :( >>>>>>>>>> >>>>>>>>>> # ls /usr/local/lib/mysql/ libmysqlclient.a >>>>>>>>>> libmysqlclient_r.a libmysqld.a >>>>>>>>>> libmysqlclient.so libmysqlclient_r.so >>>>>>>>>> libmysqlservices.a libmysqlclient.so.18 >>>>>>>>>> libmysqlclient_r.so.18 plugin >>>>>>>>>> >>>>>>>>>> I googled about this, and I found 3 things to try >>>>>>>>>> but none of that was helpful here: >>>>>>>>>> >>>>>>>>>> 1. make a link: ln -s >>>>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>>>>>> /usr/local/lib/libmysqlclient.so.18 >>>>>>>>>> >>>>>>>>>> 2. Check the root's umask and the directory >>>>>>>>>> permissions if they are correct, and they are: # >>>>>>>>>> umask 22 #ll /usr/local/lib |grep mysql >>>>>>>>>> lrwxr-xr-x 1 root wheel 41 Mar 11 16:25 >>>>>>>>>> libmysqlclient.so.18@ -> >>>>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>>>>>> drwxr-xr-x 3 root wheel 512 Mar 11 16:22 >>>>>>>>>> mysql/ >>>>>>>>>> >>>>>>>>>> # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- >>>>>>>>>> 1 root wheel 4844270 Mar 11 16:17 >>>>>>>>>> libmysqlclient.a lrwxr-xr-x 1 root wheel 20 Mar >>>>>>>>>> 11 16:22 libmysqlclient.so@ -> >>>>>>>>>> libmysqlclient.so.18 -rwxr-xr-x 1 root wheel >>>>>>>>>> 3364688 Mar 11 16:22 libmysqlclient.so.18* >>>>>>>>>> lrwxr-xr-x 1 root wheel 16 Mar 11 16:22 >>>>>>>>>> libmysqlclient_r.a@ -> libmysqlclient.a >>>>>>>>>> lrwxr-xr-x 1 root wheel 17 Mar 11 16:22 >>>>>>>>>> libmysqlclient_r.so@ -> libmysqlclient.so >>>>>>>>>> lrwxr-xr-x 1 root wheel 17 Mar 11 16:22 >>>>>>>>>> libmysqlclient_r.so.18@ -> libmysqlclient.so >>>>>>>>>> -rw-r--r-- 1 root wheel 20019340 Mar 7 15:08 >>>>>>>>>> libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 >>>>>>>>>> 16:17 libmysqlservices.a drwxr-xr-x 2 root >>>>>>>>>> wheel 512 Mar 8 19:01 plugin/ >>>>>>>>>> >>>>>>>>>> 3. Update the ports tree. Ports tree is up to >>>>>>>>>> date. >>>>>>>>>> >>>>>>>>>> Could someone, please, suggest what I could try >>>>>>>>>> to solve this? >>>>>>>>>> >>>>>>>>>> Thanks, Jeff >>>>>>> Hi Jeff, >>>>>>> >>>>>>> At what point do you receive the error message? Is it >>>>>>> when you attempt to run the executable built by the >>>>>>> port? If so, please run the ldd command against the >>>>>>> executable and post the output back here. >>>>>>> >>>>>>> Thank you, Greg >>>>>>> >>>>>>> >>>>>>> -- Greg Larkin >>>>>>> >>>>>>> http://www.FreeBSD.org/ - The Power To Serve >>>>>>> http://www.sourcehosting.net/ - Ready. Set. Code. >>>>>>> http://twitter.com/cpucycle/ - Follow you, follow >>>>>>> me Thank you, Greg, for the reply. I get the error >>>>>>> message while compiling security/maia port. mysql >>>>>>> client itself is working ok, I can connect to my >>>>>>> database server. >>>>>>> >>>>>>> ldd output: # ldd /usr/local/bin/mysql >>>>>>> /usr/local/bin/mysql: libreadline.so.8 => >>>>>>> /lib/libreadline.so.8 (0x800ab5000) libz.so.6 => >>>>>>> /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 => >>>>>>> /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 => >>>>>>> /lib/libm.so.5 (0x801219000) libgcc_s.so.1 => >>>>>>> /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 => >>>>>>> /lib/libthr.so.3 (0x801647000) libc.so.7 => >>>>>>> /lib/libc.so.7 (0x801869000) libncurses.so.8 => >>>>>>> /lib/libncurses.so.8 (0x801bbc000) >>>>>>> >>>> Hi Jeff, >>>> >>>> Can you post the relevant bits of build output where the >>>> error message shows up? If it happens during the configure >>>> phase of the port build, you'll also want to post the end of >>>> the config.log file found in the port work directory. >>>> >>>> Thank you, Greg >>>> >>>> >>>> I tried to run "make" several times, and previously some >>>> build depends were compiled. But now the "work" directory >>>> doesn't even get created, and the process stops immediately: >>>> >>>> /usr/ports/security/maia# make install clean ===> >>>> maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 >>>> - not found ===> Verifying install for mysqlclient.18 in >>>> /usr/ports/databases/mysql55-client ===> Returning to build >>>> of maia-1.0.3.r1575_3 Error: shared library "mysqlclient.18" >>>> does not exist *** [lib-depends] Error code 1 >>>> >>>> Stop in /basejail/usr/ports/security/maia. >>>> /usr/ports/security/maia# >>>> >>>> > Ok, it looks like something is messed up with your ldconfig search > path. To confirm that, please run this command and post results > back here: > > ldconfig -r| grep mysql > > Thank you, Greg >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions To >> unsubscribe, send any mail to >> "freebsd-questions-unsubscribe at freebsd.org" > # ldconfig -r| grep mysql search directories: > /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth > > 218:-lmysqlclient.18 => /usr/local/lib/libmysqlclient.so.18 > 219:-lmysqlclient.18 => /usr/local/lib/mysql/libmysqlclient.so.18 > 220:-lmysqlclient_r.18 => > /usr/local/lib/mysql/libmysqlclient_r.so.18 > > I installed both mysql client and server from ports. The versions > are: mysql-client-5.5.30 mysql-server-5.5.30 > Ok, here's a last ditch attempt to see exactly why the code in bsd.port.mk is failing to find that shlib on your machine. Run these commands: cd /usr/ports/security/maia make clean make -n lib-depends | sh -x Post the output of the make command, and that should help troubleshoot this further. Regards, Greg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE+Ri0ACgkQ0sRouByUApA2nwCdHpyPY6av8IvaBqTM0eurZl9r KFsAn38Ey2ZEVdcnpRzDHKe3Ncxec3gB =BrF3 -----END PGP SIGNATURE----- From lokadamus at gmx.de Mon Mar 11 21:06:46 2013 From: lokadamus at gmx.de (lokadamus at gmx.de) Date: Mon, 11 Mar 2013 22:06:48 +0100 Subject: OpenVPN vm cant connect to other VM's In-Reply-To: References: <51371C8A.8050205@gmail.com> Message-ID: <513E4768.7020309@gmx.de> On 11.03.2013 20:13, Michael Sierchio wrote: > Are you pushing routes in your server.conf file? > > (hint - show, don't tell) > > - M > > On Wed, Mar 6, 2013 at 2:38 AM, Brent Clark wrote: >> Hi guys >> >> Im struggling with a freebsd vm, that I have that I use for a VPN connection >> too, from my workstation to my home LAN. And I was wondering if someone >> could peer review me and my problem. >> >> OpenVPN is working beautifully. I.e. I can connect to some services (apache >> etc) that I run directly on my FreeBSD / openvpn vm. >> >> What im now trying to achieve is that I can connect to other VMs / machines >> on my home LAN. >> >> Im using tun for my VPN, and my pf.conf looks like so (please see the nat on >> ...) >> >> [root at freebsd /usr/home/bclark]# cat /etc/pf.conf >> ext_if="re0" >> vpn_if="tun0" >> int_net="10.0.0.0/24" >> vpn_net="192.168.200.0/24" >> set skip on lo0 >> set optimization normal >> #set block-policy drop >> set limit { states 20000, frags 10000, src-nodes 20000 } >> # Normalization: reassemble fragments and resolve or reduce traffic >> ambiguities. >> scrub in all >> # Translation: specify how addresses are to be mapped or redirected. >> # NAT rules >> # enabling NAT currently breaks policy based routing >> #nat on $ext_if from { $int_net, $vpn_net } to any -> ($ext_if) >> #nat on tun0 from { 192.168.200.0/24 } to any -> (re0) >> nat on re0 from { 192.168.200.0/24 } to any -> (re0) >> >> table persist >> block in quick on re0 proto tcp from to any port ssh label "ssh >> brute" >> >> What am I missing? >> >> If anyone could assist, it would be appreciated. >> >> Kind Regards >> Brent Clark >> >> >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > For your own network yes. You must route all your traffic, which is for your other lan/ subnet. Every VPN connect must be corrected routed, equal which vpn is used. Else every traffic will go loose through internet traffic. I connect some subnets with OpenVPN and every subnet must configured with "ccd" (its a subfolder with a filename of certificate- name and content with "iroute subnet" to tell, when client xyz is connect, subnet is there) and in server.conf. Else this subnets won't routed correct. You can add this route manuell through its OpenVPN- Gateway. Show: server.conf: look for "client-config-dir /usr/local/.../ccd" in server.conf and insert your subnet: route 192.168.x.x 255.255.255.0 create a file with certificate-name under "/usr/local/etc/openvpn/config/"your connect-name"/ccd/ and insert: iroute 192.168.x.x 255.255.255.0 Look in /var/log/openvpn.log for the right certificate-name. Everytime this certificat/ client is connect the subnet- traffic will be routed through him. Don't forget to restart openvpn. ;) *Sorry, my english is not so good* Regards From jnagyjr1978 at gmail.com Mon Mar 11 21:08:39 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Mon, 11 Mar 2013 16:08:33 -0500 Subject: Problems Printing In-Reply-To: <20130311204351.GA1485@tiny.Sisis.de> References: <5135A88B.1000100@gmail.com> <513D7701.7000605@bananmonarki.se> <513E3544.6080208@gmail.com> <20130311200838.GA1348@tiny.Sisis.de> <513E3BB4.305@gmail.com> <20130311202628.GA1413@tiny.Sisis.de> <513E3FBD.5000302@gmail.com> <20130311204351.GA1485@tiny.Sisis.de> Message-ID: <513E47D1.2030403@gmail.com> Thank you all for all your help, this is apparently an unsolvable problem. Seems I wasted your time as well as mine trying to get yet another piece of hardware working under FreeBSD. I've done everything asked of me, several times over, and this ends with someone deciding I'm a liar. Have a nice day. I'll just find another way to do my printing. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From iamatt at gmail.com Mon Mar 11 21:14:06 2013 From: iamatt at gmail.com (iamatt) Date: Mon, 11 Mar 2013 16:14:04 -0500 Subject: Problems Printing In-Reply-To: <513E47D1.2030403@gmail.com> References: <5135A88B.1000100@gmail.com> <513D7701.7000605@bananmonarki.se> <513E3544.6080208@gmail.com> <20130311200838.GA1348@tiny.Sisis.de> <513E3BB4.305@gmail.com> <20130311202628.GA1413@tiny.Sisis.de> <513E3FBD.5000302@gmail.com> <20130311204351.GA1485@tiny.Sisis.de> <513E47D1.2030403@gmail.com> Message-ID: Everything but your due diligence. 34+ thread on printing, some crap you probably don't even need to print, Jesus. Never had an issue printing from freebsd. HP jet direct with postscript are cheap(the old ones being the good ones). I print from winblows if I need to do real printing. On Mar 11, 2013 4:08 PM, "Joseph A. Nagy, Jr" wrote: > Thank you all for all your help, this is apparently an unsolvable problem. > > Seems I wasted your time as well as mine trying to get yet another piece > of hardware working under FreeBSD. I've done everything asked of me, > several times over, and this ends with someone deciding I'm a liar. > > Have a nice day. I'll just find another way to do my printing. > > -- > Yours in Christ, > > Joseph A Nagy Jr > "Whoever loves instruction loves knowledge, But he who hates correction > is stupid." -- Proverbs 12:1 > Emails are not formal business letters, whatever businesses may want. > Original content CopyFree (F) under the OWL http://copyfree.org/licenses/* > *owl/license.txt > ______________________________**_________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe at freebsd.org " > From guru at unixarea.de Mon Mar 11 21:14:45 2013 From: guru at unixarea.de (Matthias Apitz) Date: Mon, 11 Mar 2013 22:14:38 +0100 Subject: Problems Printing In-Reply-To: <513E47D1.2030403@gmail.com> References: <5135A88B.1000100@gmail.com> <513D7701.7000605@bananmonarki.se> <513E3544.6080208@gmail.com> <20130311200838.GA1348@tiny.Sisis.de> <513E3BB4.305@gmail.com> <20130311202628.GA1413@tiny.Sisis.de> <513E3FBD.5000302@gmail.com> <20130311204351.GA1485@tiny.Sisis.de> <513E47D1.2030403@gmail.com> Message-ID: <20130311211437.GA1575@tiny.Sisis.de> El d?a Monday, March 11, 2013 a las 04:08:33PM -0500, Joseph A. Nagy, Jr escribi?: > Thank you all for all your help, this is apparently an unsolvable problem. I don't think so that this is an unsolvable problem. > Seems I wasted your time as well as mine trying to get yet another piece > of hardware working under FreeBSD. I've done everything asked of me, > several times over, and this ends with someone deciding I'm a liar. Nobody says that you are a liar. Just follow the hints given, do it with calm and do not test several changes at the same time. matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru at unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From clarkp at mtmary.edu Mon Mar 11 21:25:51 2013 From: clarkp at mtmary.edu (Peter Clark) Date: Mon, 11 Mar 2013 21:25:43 +0000 Subject: pkg_updating -d Message-ID: <7DDC772D24706440BB39D4EF481473C7979D1790@SN2PRD0310MB395.namprd03.prod.outlook.com> Hello, I am new to using pkg_updating -d to look at new entries in /usr/ports/UPDATING. From what I have read I should be able to just use: # pkg_updating -d 20130301 (for example) And that should give me everything in /usr/ports/UPDATING newer than that date. When I run that command I get: root at monitor:/ # pkg_updating -d 20130301 root at monitor:/ # When I try # pkg_updating -d 20130201 root at monitor:/ # pkg_updating -d 20130201 root at monitor:/ # When I try # pkg_updating -d 20130101 root at monitor:/ # pkg_updating -d 20130101 root at monitor:/ # When I try # pkg_updating -d 20121201 root at monitor:/ # pkg_updating -d 20121201 20121211: AFFECTS: users of devel/pcre AUTHOR: bdrewery at FreeBSD.org The pcre library has been updated to version 8.32. Please rebuild all ports that depend on it. If you use portmaster: portmaster -w -r pcre If you use portupgrade: portupgrade -fr devel/pcre If you use pkgng with binary packages: pkg install -fR devel/pcre root at monitor:/ # Now that confuses me even more, it only returned one of the 2 advisories on 12/11/2012. I am running: 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 I have "portsnap fetch update" today. Any ideas on how I can correct this behavior? Thank you, Peter From jeff.t at mail.com Mon Mar 11 21:42:20 2013 From: jeff.t at mail.com (Jeff Tipton) Date: Mon, 11 Mar 2013 23:42:16 +0200 Subject: Error: shared library "mysqlclient.18" does not exist In-Reply-To: <513E31B8.2020509@mail.com> References: <513E0D6D.10503@mail.com> <513E1BC9.6040207@FreeBSD.org> <513E1DF8.3020408@mail.com> <513E231A.90105@FreeBSD.org> <513E26C2.9040601@mail.com> <513E29D1.8030709@FreeBSD.org> <513E31B8.2020509@mail.com> Message-ID: <513E4FB8.2060506@mail.com> On 03/11/2013 21:34, Jeff Tipton wrote: > On 03/11/2013 21:00, Greg Larkin wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 3/11/13 2:47 PM, Jeff Tipton wrote: >>> On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff >>> Tipton wrote: >>>>>> On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, >>>>>> Jeff Tipton wrote: >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> I'm trying to set up security/maia, and this is the >>>>>>>>> error message I get: >>>>>>>>> >>>>>>>>> Error: shared library "mysqlclient.18" does not exist >>>>>>>>> >>>>>>>>> Of course, the library does exist :( >>>>>>>>> >>>>>>>>> # ls /usr/local/lib/mysql/ libmysqlclient.a >>>>>>>>> libmysqlclient_r.a libmysqld.a libmysqlclient.so >>>>>>>>> libmysqlclient_r.so libmysqlservices.a >>>>>>>>> libmysqlclient.so.18 libmysqlclient_r.so.18 plugin >>>>>>>>> >>>>>>>>> I googled about this, and I found 3 things to try but >>>>>>>>> none of that was helpful here: >>>>>>>>> >>>>>>>>> 1. make a link: ln -s >>>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>>>>> /usr/local/lib/libmysqlclient.so.18 >>>>>>>>> >>>>>>>>> 2. Check the root's umask and the directory permissions >>>>>>>>> if they are correct, and they are: # umask 22 #ll >>>>>>>>> /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel >>>>>>>>> 41 Mar 11 16:25 libmysqlclient.so.18@ -> >>>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x >>>>>>>>> 3 root wheel 512 Mar 11 16:22 mysql/ >>>>>>>>> >>>>>>>>> # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 >>>>>>>>> root wheel 4844270 Mar 11 16:17 libmysqlclient.a >>>>>>>>> lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 >>>>>>>>> libmysqlclient.so@ -> libmysqlclient.so.18 -rwxr-xr-x >>>>>>>>> 1 root wheel 3364688 Mar 11 16:22 >>>>>>>>> libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar >>>>>>>>> 11 16:22 libmysqlclient_r.a@ -> libmysqlclient.a >>>>>>>>> lrwxr-xr-x 1 root wheel 17 Mar 11 16:22 >>>>>>>>> libmysqlclient_r.so@ -> libmysqlclient.so lrwxr-xr-x 1 >>>>>>>>> root wheel 17 Mar 11 16:22 >>>>>>>>> libmysqlclient_r.so.18@ -> libmysqlclient.so -rw-r--r-- >>>>>>>>> 1 root wheel 20019340 Mar 7 15:08 libmysqld.a >>>>>>>>> -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 >>>>>>>>> libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 >>>>>>>>> 19:01 plugin/ >>>>>>>>> >>>>>>>>> 3. Update the ports tree. Ports tree is up to date. >>>>>>>>> >>>>>>>>> Could someone, please, suggest what I could try to >>>>>>>>> solve this? >>>>>>>>> >>>>>>>>> Thanks, Jeff >>>>>> Hi Jeff, >>>>>> >>>>>> At what point do you receive the error message? Is it when >>>>>> you attempt to run the executable built by the port? If so, >>>>>> please run the ldd command against the executable and post >>>>>> the output back here. >>>>>> >>>>>> Thank you, Greg >>>>>> >>>>>> >>>>>> -- Greg Larkin >>>>>> >>>>>> http://www.FreeBSD.org/ - The Power To Serve >>>>>> http://www.sourcehosting.net/ - Ready. Set. Code. >>>>>> http://twitter.com/cpucycle/ - Follow you, follow me >>>>>> Thank you, Greg, for the reply. I get the error message while >>>>>> compiling security/maia port. mysql client itself is working >>>>>> ok, I can connect to my database server. >>>>>> >>>>>> ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: >>>>>> libreadline.so.8 => /lib/libreadline.so.8 (0x800ab5000) >>>>>> libz.so.6 => /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 => >>>>>> /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 => >>>>>> /lib/libm.so.5 (0x801219000) libgcc_s.so.1 => >>>>>> /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 => >>>>>> /lib/libthr.so.3 (0x801647000) libc.so.7 => /lib/libc.so.7 >>>>>> (0x801869000) libncurses.so.8 => /lib/libncurses.so.8 >>>>>> (0x801bbc000) >>>>>> >>> Hi Jeff, >>> >>> Can you post the relevant bits of build output where the error >>> message shows up? If it happens during the configure phase of the >>> port build, you'll also want to post the end of the config.log file >>> found in the port work directory. >>> >>> Thank you, Greg >>> >>> >>> I tried to run "make" several times, and previously some build >>> depends were compiled. But now the "work" directory doesn't even >>> get created, and the process stops immediately: >>> >>> /usr/ports/security/maia# make install clean ===> >>> maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not >>> found ===> Verifying install for mysqlclient.18 in >>> /usr/ports/databases/mysql55-client ===> Returning to build of >>> maia-1.0.3.r1575_3 Error: shared library "mysqlclient.18" does not >>> exist *** [lib-depends] Error code 1 >>> >>> Stop in /basejail/usr/ports/security/maia. >>> /usr/ports/security/maia# >>> >>> >> Ok, it looks like something is messed up with your ldconfig search >> path. To confirm that, please run this command and post results back >> here: >> >> ldconfig -r| grep mysql >> >> Thank you, >> Greg >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.13 (Darwin) >> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ >> >> iEYEARECAAYFAlE+KdEACgkQ0sRouByUApBP3gCfalFeDTMflaCy+vnF3FMoTht8 >> +8sAn0oZBRgUlryNk21zzYZ0KMJYsGER >> =3LRY >> -----END PGP SIGNATURE----- >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe at freebsd.org" > # ldconfig -r| grep mysql > search directories: > /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth > 218:-lmysqlclient.18 => /usr/local/lib/libmysqlclient.so.18 > 219:-lmysqlclient.18 => /usr/local/lib/mysql/libmysqlclient.so.18 > 220:-lmysqlclient_r.18 => /usr/local/lib/mysql/libmysqlclient_r.so.18 > > I installed both mysql client and server from ports. The versions are: > mysql-client-5.5.30 > mysql-server-5.5.30 > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org" Thank you, Greg. As a result, databases/mysql55-client got rebuilt, so I lost the beginning of the log. The end is this: [100%] Built target mysqlshow Linking CXX executable mysqlslap cd /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/client && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/mysqlslap.dir/link.txt --verbose=1 /usr/bin/c++ -O2 -pipe -fno-strict-aliasing -Wall -Wno-unused-parameter -fno-implicit-templates -fno-exceptions -fno-rtti -O2 -pipe -fno-strict-aliasing -DDBUG_OFF CMakeFiles/mysqlslap.dir/mysqlslap.c.o -o mysqlslap -pthread ../libmysql/libmysqlclient.a -pthread -lz -lm /usr/local/bin/cmake -E cmake_progress_report /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/CMakeFiles [100%] Built target mysqlslap /usr/local/bin/cmake -E cmake_progress_start /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/CMakeFiles 0 ===> Installing for mysql-client-5.5.30 ===> Generating temporary packing list ===> Checking if databases/mysql55-client already installed ===> mysql-client-5.5.30 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of databases/mysql55-client without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** [check-already-installed] Error code 1 Stop in /basejail/usr/ports/databases/mysql55-client. + echo '===> Returning to build of maia-1.0.3.r1575_3' ===> Returning to build of maia-1.0.3.r1575_3 + /sbin/ldconfig -32 -r + /usr/bin/grep -vwF -e /usr/local/lib/compat/pkg + /usr/bin/grep -qwE -e '-lmysqlclient\.18' + echo 'Error: shared library "mysqlclient.18" does not exist' Error: shared library "mysqlclient.18" does not exist + false /usr/ports/security/maia# From glarkin at FreeBSD.org Mon Mar 11 22:07:36 2013 From: glarkin at FreeBSD.org (Greg Larkin) Date: Mon, 11 Mar 2013 18:07:28 -0400 Subject: Error: shared library "mysqlclient.18" does not exist In-Reply-To: <513E4FB8.2060506@mail.com> References: <513E0D6D.10503@mail.com> <513E1BC9.6040207@FreeBSD.org> <513E1DF8.3020408@mail.com> <513E231A.90105@FreeBSD.org> <513E26C2.9040601@mail.com> <513E29D1.8030709@FreeBSD.org> <513E31B8.2020509@mail.com> <513E4FB8.2060506@mail.com> Message-ID: <513E55A0.7030109@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/11/13 5:42 PM, Jeff Tipton wrote: > On 03/11/2013 21:34, Jeff Tipton wrote: >> On 03/11/2013 21:00, Greg Larkin wrote: > On 3/11/13 2:47 PM, Jeff Tipton wrote: >>>>> On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, >>>>> Jeff Tipton wrote: >>>>>>>> On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 >>>>>>>> 12:59 PM, Jeff Tipton wrote: >>>>>>>>>>> Hi, >>>>>>>>>>> >>>>>>>>>>> I'm trying to set up security/maia, and this is >>>>>>>>>>> the error message I get: >>>>>>>>>>> >>>>>>>>>>> Error: shared library "mysqlclient.18" does not >>>>>>>>>>> exist >>>>>>>>>>> >>>>>>>>>>> Of course, the library does exist :( >>>>>>>>>>> >>>>>>>>>>> # ls /usr/local/lib/mysql/ libmysqlclient.a >>>>>>>>>>> libmysqlclient_r.a libmysqld.a >>>>>>>>>>> libmysqlclient.so libmysqlclient_r.so >>>>>>>>>>> libmysqlservices.a libmysqlclient.so.18 >>>>>>>>>>> libmysqlclient_r.so.18 plugin >>>>>>>>>>> >>>>>>>>>>> I googled about this, and I found 3 things to >>>>>>>>>>> try but none of that was helpful here: >>>>>>>>>>> >>>>>>>>>>> 1. make a link: ln -s >>>>>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>>>>>>> /usr/local/lib/libmysqlclient.so.18 >>>>>>>>>>> >>>>>>>>>>> 2. Check the root's umask and the directory >>>>>>>>>>> permissions if they are correct, and they are: >>>>>>>>>>> # umask 22 #ll /usr/local/lib |grep mysql >>>>>>>>>>> lrwxr-xr-x 1 root wheel 41 Mar 11 16:25 >>>>>>>>>>> libmysqlclient.so.18@ -> >>>>>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>>>>>>> drwxr-xr-x 3 root wheel 512 Mar 11 16:22 >>>>>>>>>>> mysql/ >>>>>>>>>>> >>>>>>>>>>> # ll /usr/local/lib/mysql/ total 27276 >>>>>>>>>>> -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 >>>>>>>>>>> libmysqlclient.a lrwxr-xr-x 1 root wheel 20 >>>>>>>>>>> Mar 11 16:22 libmysqlclient.so@ -> >>>>>>>>>>> libmysqlclient.so.18 -rwxr-xr-x 1 root wheel >>>>>>>>>>> 3364688 Mar 11 16:22 libmysqlclient.so.18* >>>>>>>>>>> lrwxr-xr-x 1 root wheel 16 Mar 11 16:22 >>>>>>>>>>> libmysqlclient_r.a@ -> libmysqlclient.a >>>>>>>>>>> lrwxr-xr-x 1 root wheel 17 Mar 11 >>>>>>>>>>> 16:22 libmysqlclient_r.so@ -> libmysqlclient.so >>>>>>>>>>> lrwxr-xr-x 1 root wheel 17 Mar 11 >>>>>>>>>>> 16:22 libmysqlclient_r.so.18@ -> >>>>>>>>>>> libmysqlclient.so -rw-r--r-- 1 root wheel >>>>>>>>>>> 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 >>>>>>>>>>> root wheel 4598 Mar 11 16:17 >>>>>>>>>>> libmysqlservices.a drwxr-xr-x 2 root wheel >>>>>>>>>>> 512 Mar 8 19:01 plugin/ >>>>>>>>>>> >>>>>>>>>>> 3. Update the ports tree. Ports tree is up to >>>>>>>>>>> date. >>>>>>>>>>> >>>>>>>>>>> Could someone, please, suggest what I could try >>>>>>>>>>> to solve this? >>>>>>>>>>> >>>>>>>>>>> Thanks, Jeff >>>>>>>> Hi Jeff, >>>>>>>> >>>>>>>> At what point do you receive the error message? Is >>>>>>>> it when you attempt to run the executable built by >>>>>>>> the port? If so, please run the ldd command against >>>>>>>> the executable and post the output back here. >>>>>>>> >>>>>>>> Thank you, Greg >>>>>>>> >>>>>>>> >>>>>>>> -- Greg Larkin >>>>>>>> >>>>>>>> http://www.FreeBSD.org/ - The Power To >>>>>>>> Serve http://www.sourcehosting.net/ - Ready. Set. >>>>>>>> Code. http://twitter.com/cpucycle/ - Follow you, >>>>>>>> follow me Thank you, Greg, for the reply. I get the >>>>>>>> error message while compiling security/maia port. >>>>>>>> mysql client itself is working ok, I can connect to >>>>>>>> my database server. >>>>>>>> >>>>>>>> ldd output: # ldd /usr/local/bin/mysql >>>>>>>> /usr/local/bin/mysql: libreadline.so.8 => >>>>>>>> /lib/libreadline.so.8 (0x800ab5000) libz.so.6 => >>>>>>>> /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 => >>>>>>>> /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 => >>>>>>>> /lib/libm.so.5 (0x801219000) libgcc_s.so.1 => >>>>>>>> /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 => >>>>>>>> /lib/libthr.so.3 (0x801647000) libc.so.7 => >>>>>>>> /lib/libc.so.7 (0x801869000) libncurses.so.8 => >>>>>>>> /lib/libncurses.so.8 (0x801bbc000) >>>>>>>> >>>>> Hi Jeff, >>>>> >>>>> Can you post the relevant bits of build output where the >>>>> error message shows up? If it happens during the configure >>>>> phase of the port build, you'll also want to post the end >>>>> of the config.log file found in the port work directory. >>>>> >>>>> Thank you, Greg >>>>> >>>>> >>>>> I tried to run "make" several times, and previously some >>>>> build depends were compiled. But now the "work" directory >>>>> doesn't even get created, and the process stops >>>>> immediately: >>>>> >>>>> /usr/ports/security/maia# make install clean ===> >>>>> maia-1.0.3.r1575_3 depends on shared library: >>>>> mysqlclient.18 - not found ===> Verifying install for >>>>> mysqlclient.18 in /usr/ports/databases/mysql55-client ===> >>>>> Returning to build of maia-1.0.3.r1575_3 Error: shared >>>>> library "mysqlclient.18" does not exist *** [lib-depends] >>>>> Error code 1 >>>>> >>>>> Stop in /basejail/usr/ports/security/maia. >>>>> /usr/ports/security/maia# >>>>> >>>>> > Ok, it looks like something is messed up with your ldconfig search > path. To confirm that, please run this command and post results > back here: > > ldconfig -r| grep mysql > > Thank you, Greg >>> _______________________________________________ >>> freebsd-questions at freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions To >>> unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe at freebsd.org" >> # ldconfig -r| grep mysql search directories: >> /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth >> >> >> 218:-lmysqlclient.18 => /usr/local/lib/libmysqlclient.so.18 >> 219:-lmysqlclient.18 => >> /usr/local/lib/mysql/libmysqlclient.so.18 220:-lmysqlclient_r.18 >> => /usr/local/lib/mysql/libmysqlclient_r.so.18 >> >> I installed both mysql client and server from ports. The versions >> are: mysql-client-5.5.30 mysql-server-5.5.30 >> >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions To >> unsubscribe, send any mail to >> "freebsd-questions-unsubscribe at freebsd.org" > Thank you, Greg. As a result, databases/mysql55-client got rebuilt, > so I lost the beginning of the log. The end is this: > > [100%] Built target mysqlshow Linking CXX executable mysqlslap cd > /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/client > > && /usr/local/bin/cmake -E cmake_link_script > CMakeFiles/mysqlslap.dir/link.txt --verbose=1 /usr/bin/c++ -O2 > -pipe -fno-strict-aliasing -Wall -Wno-unused-parameter > -fno-implicit-templates -fno-exceptions -fno-rtti -O2 -pipe > -fno-strict-aliasing -DDBUG_OFF > CMakeFiles/mysqlslap.dir/mysqlslap.c.o -o mysqlslap -pthread > ../libmysql/libmysqlclient.a -pthread -lz -lm /usr/local/bin/cmake > -E cmake_progress_report > /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/CMakeFiles > > [100%] Built target mysqlslap /usr/local/bin/cmake -E > cmake_progress_start > /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/CMakeFiles > > 0 > ===> Installing for mysql-client-5.5.30 ===> Generating > temporary packing list ===> Checking if databases/mysql55-client > already installed ===> mysql-client-5.5.30 is already installed > You may wish to ``make deinstall'' and install this port again by > ``make reinstall'' to upgrade it properly. If you really wish to > overwrite the old port of databases/mysql55-client without deleting > it first, set the variable "FORCE_PKG_REGISTER" in your environment > or the "make install" command line. *** [check-already-installed] > Error code 1 > > Stop in /basejail/usr/ports/databases/mysql55-client. + echo '===> > Returning to build of maia-1.0.3.r1575_3' ===> Returning to build > of maia-1.0.3.r1575_3 + /sbin/ldconfig -32 -r + /usr/bin/grep -vwF > -e /usr/local/lib/compat/pkg + /usr/bin/grep -qwE -e > '-lmysqlclient\.18' + echo 'Error: shared library "mysqlclient.18" > does not exist' Error: shared library "mysqlclient.18" does not > exist + false /usr/ports/security/maia# Try one more test for me - deselect the "RAR" option in the maia port, run "make clean build" and let me know what happens. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE+VaAACgkQ0sRouByUApBczQCfRAln8yQ0nBHNF5Ks3TePgAhv DdEAoIFeWmRzuN2soCxzkUHnMjDYhHtu =W5RR -----END PGP SIGNATURE----- From jeff.t at mail.com Mon Mar 11 22:21:10 2013 From: jeff.t at mail.com (Jeff Tipton) Date: Tue, 12 Mar 2013 00:21:06 +0200 Subject: Error: shared library "mysqlclient.18" does not exist In-Reply-To: <513E55A0.7030109@FreeBSD.org> References: <513E0D6D.10503@mail.com> <513E1BC9.6040207@FreeBSD.org> <513E1DF8.3020408@mail.com> <513E231A.90105@FreeBSD.org> <513E26C2.9040601@mail.com> <513E29D1.8030709@FreeBSD.org> <513E31B8.2020509@mail.com> <513E4FB8.2060506@mail.com> <513E55A0.7030109@FreeBSD.org> Message-ID: <513E58D2.8000503@mail.com> On 03/12/2013 00:07, Greg Larkin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 3/11/13 5:42 PM, Jeff Tipton wrote: >> On 03/11/2013 21:34, Jeff Tipton wrote: >>> On 03/11/2013 21:00, Greg Larkin wrote: >> On 3/11/13 2:47 PM, Jeff Tipton wrote: >>>>>> On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, >>>>>> Jeff Tipton wrote: >>>>>>>>> On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 >>>>>>>>> 12:59 PM, Jeff Tipton wrote: >>>>>>>>>>>> Hi, >>>>>>>>>>>> >>>>>>>>>>>> I'm trying to set up security/maia, and this is >>>>>>>>>>>> the error message I get: >>>>>>>>>>>> >>>>>>>>>>>> Error: shared library "mysqlclient.18" does not >>>>>>>>>>>> exist >>>>>>>>>>>> >>>>>>>>>>>> Of course, the library does exist :( >>>>>>>>>>>> >>>>>>>>>>>> # ls /usr/local/lib/mysql/ libmysqlclient.a >>>>>>>>>>>> libmysqlclient_r.a libmysqld.a >>>>>>>>>>>> libmysqlclient.so libmysqlclient_r.so >>>>>>>>>>>> libmysqlservices.a libmysqlclient.so.18 >>>>>>>>>>>> libmysqlclient_r.so.18 plugin >>>>>>>>>>>> >>>>>>>>>>>> I googled about this, and I found 3 things to >>>>>>>>>>>> try but none of that was helpful here: >>>>>>>>>>>> >>>>>>>>>>>> 1. make a link: ln -s >>>>>>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>>>>>>>> /usr/local/lib/libmysqlclient.so.18 >>>>>>>>>>>> >>>>>>>>>>>> 2. Check the root's umask and the directory >>>>>>>>>>>> permissions if they are correct, and they are: >>>>>>>>>>>> # umask 22 #ll /usr/local/lib |grep mysql >>>>>>>>>>>> lrwxr-xr-x 1 root wheel 41 Mar 11 16:25 >>>>>>>>>>>> libmysqlclient.so.18@ -> >>>>>>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>>>>>>>> drwxr-xr-x 3 root wheel 512 Mar 11 16:22 >>>>>>>>>>>> mysql/ >>>>>>>>>>>> >>>>>>>>>>>> # ll /usr/local/lib/mysql/ total 27276 >>>>>>>>>>>> -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 >>>>>>>>>>>> libmysqlclient.a lrwxr-xr-x 1 root wheel 20 >>>>>>>>>>>> Mar 11 16:22 libmysqlclient.so@ -> >>>>>>>>>>>> libmysqlclient.so.18 -rwxr-xr-x 1 root wheel >>>>>>>>>>>> 3364688 Mar 11 16:22 libmysqlclient.so.18* >>>>>>>>>>>> lrwxr-xr-x 1 root wheel 16 Mar 11 16:22 >>>>>>>>>>>> libmysqlclient_r.a@ -> libmysqlclient.a >>>>>>>>>>>> lrwxr-xr-x 1 root wheel 17 Mar 11 >>>>>>>>>>>> 16:22 libmysqlclient_r.so@ -> libmysqlclient.so >>>>>>>>>>>> lrwxr-xr-x 1 root wheel 17 Mar 11 >>>>>>>>>>>> 16:22 libmysqlclient_r.so.18@ -> >>>>>>>>>>>> libmysqlclient.so -rw-r--r-- 1 root wheel >>>>>>>>>>>> 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 >>>>>>>>>>>> root wheel 4598 Mar 11 16:17 >>>>>>>>>>>> libmysqlservices.a drwxr-xr-x 2 root wheel >>>>>>>>>>>> 512 Mar 8 19:01 plugin/ >>>>>>>>>>>> >>>>>>>>>>>> 3. Update the ports tree. Ports tree is up to >>>>>>>>>>>> date. >>>>>>>>>>>> >>>>>>>>>>>> Could someone, please, suggest what I could try >>>>>>>>>>>> to solve this? >>>>>>>>>>>> >>>>>>>>>>>> Thanks, Jeff >>>>>>>>> Hi Jeff, >>>>>>>>> >>>>>>>>> At what point do you receive the error message? Is >>>>>>>>> it when you attempt to run the executable built by >>>>>>>>> the port? If so, please run the ldd command against >>>>>>>>> the executable and post the output back here. >>>>>>>>> >>>>>>>>> Thank you, Greg >>>>>>>>> >>>>>>>>> >>>>>>>>> -- Greg Larkin >>>>>>>>> >>>>>>>>> http://www.FreeBSD.org/ - The Power To >>>>>>>>> Serve http://www.sourcehosting.net/ - Ready. Set. >>>>>>>>> Code. http://twitter.com/cpucycle/ - Follow you, >>>>>>>>> follow me Thank you, Greg, for the reply. I get the >>>>>>>>> error message while compiling security/maia port. >>>>>>>>> mysql client itself is working ok, I can connect to >>>>>>>>> my database server. >>>>>>>>> >>>>>>>>> ldd output: # ldd /usr/local/bin/mysql >>>>>>>>> /usr/local/bin/mysql: libreadline.so.8 => >>>>>>>>> /lib/libreadline.so.8 (0x800ab5000) libz.so.6 => >>>>>>>>> /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 => >>>>>>>>> /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 => >>>>>>>>> /lib/libm.so.5 (0x801219000) libgcc_s.so.1 => >>>>>>>>> /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 => >>>>>>>>> /lib/libthr.so.3 (0x801647000) libc.so.7 => >>>>>>>>> /lib/libc.so.7 (0x801869000) libncurses.so.8 => >>>>>>>>> /lib/libncurses.so.8 (0x801bbc000) >>>>>>>>> >>>>>> Hi Jeff, >>>>>> >>>>>> Can you post the relevant bits of build output where the >>>>>> error message shows up? If it happens during the configure >>>>>> phase of the port build, you'll also want to post the end >>>>>> of the config.log file found in the port work directory. >>>>>> >>>>>> Thank you, Greg >>>>>> >>>>>> >>>>>> I tried to run "make" several times, and previously some >>>>>> build depends were compiled. But now the "work" directory >>>>>> doesn't even get created, and the process stops >>>>>> immediately: >>>>>> >>>>>> /usr/ports/security/maia# make install clean ===> >>>>>> maia-1.0.3.r1575_3 depends on shared library: >>>>>> mysqlclient.18 - not found ===> Verifying install for >>>>>> mysqlclient.18 in /usr/ports/databases/mysql55-client ===> >>>>>> Returning to build of maia-1.0.3.r1575_3 Error: shared >>>>>> library "mysqlclient.18" does not exist *** [lib-depends] >>>>>> Error code 1 >>>>>> >>>>>> Stop in /basejail/usr/ports/security/maia. >>>>>> /usr/ports/security/maia# >>>>>> >>>>>> >> Ok, it looks like something is messed up with your ldconfig search >> path. To confirm that, please run this command and post results >> back here: >> >> ldconfig -r| grep mysql >> >> Thank you, Greg >>>> _______________________________________________ >>>> freebsd-questions at freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions To >>>> unsubscribe, send any mail to >>>> "freebsd-questions-unsubscribe at freebsd.org" >>> # ldconfig -r| grep mysql search directories: >>> /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth >>> >>> >>> > 218:-lmysqlclient.18 => /usr/local/lib/libmysqlclient.so.18 >>> 219:-lmysqlclient.18 => >>> /usr/local/lib/mysql/libmysqlclient.so.18 220:-lmysqlclient_r.18 >>> => /usr/local/lib/mysql/libmysqlclient_r.so.18 >>> >>> I installed both mysql client and server from ports. The versions >>> are: mysql-client-5.5.30 mysql-server-5.5.30 >>> >>> _______________________________________________ >>> freebsd-questions at freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions To >>> unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe at freebsd.org" >> Thank you, Greg. As a result, databases/mysql55-client got rebuilt, >> so I lost the beginning of the log. The end is this: >> >> [100%] Built target mysqlshow Linking CXX executable mysqlslap cd >> /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/client >> >> > && /usr/local/bin/cmake -E cmake_link_script >> CMakeFiles/mysqlslap.dir/link.txt --verbose=1 /usr/bin/c++ -O2 >> -pipe -fno-strict-aliasing -Wall -Wno-unused-parameter >> -fno-implicit-templates -fno-exceptions -fno-rtti -O2 -pipe >> -fno-strict-aliasing -DDBUG_OFF >> CMakeFiles/mysqlslap.dir/mysqlslap.c.o -o mysqlslap -pthread >> ../libmysql/libmysqlclient.a -pthread -lz -lm /usr/local/bin/cmake >> -E cmake_progress_report >> /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/CMakeFiles >> >> [100%] Built target mysqlslap /usr/local/bin/cmake -E >> cmake_progress_start >> /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/CMakeFiles >> >> > 0 >> ===> Installing for mysql-client-5.5.30 ===> Generating >> temporary packing list ===> Checking if databases/mysql55-client >> already installed ===> mysql-client-5.5.30 is already installed >> You may wish to ``make deinstall'' and install this port again by >> ``make reinstall'' to upgrade it properly. If you really wish to >> overwrite the old port of databases/mysql55-client without deleting >> it first, set the variable "FORCE_PKG_REGISTER" in your environment >> or the "make install" command line. *** [check-already-installed] >> Error code 1 >> >> Stop in /basejail/usr/ports/databases/mysql55-client. + echo '===> >> Returning to build of maia-1.0.3.r1575_3' ===> Returning to build >> of maia-1.0.3.r1575_3 + /sbin/ldconfig -32 -r + /usr/bin/grep -vwF >> -e /usr/local/lib/compat/pkg + /usr/bin/grep -qwE -e >> '-lmysqlclient\.18' + echo 'Error: shared library "mysqlclient.18" >> does not exist' Error: shared library "mysqlclient.18" does not >> exist + false /usr/ports/security/maia# > Try one more test for me - deselect the "RAR" option in the maia port, > run "make clean build" and let me know what happens. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.13 (Darwin) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iEYEARECAAYFAlE+VaAACgkQ0sRouByUApBczQCfRAln8yQ0nBHNF5Ks3TePgAhv > DdEAoIFeWmRzuN2soCxzkUHnMjDYhHtu > =W5RR > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" Ok, deselected RAR. Output: /usr/ports/security/maia# make clean build ===> Cleaning for maia-1.0.3.r1575_3 ===> Found saved configuration for maia-1.0.3.r1575_3 ===> Extracting for maia-1.0.3.r1575_3 => SHA256 Checksum OK for maia-1.0.3-r1575.tar.gz. ===> Patching for maia-1.0.3.r1575_3 ===> maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - found ===> Configuring for maia-1.0.3.r1575_3 /usr/ports/security/maia# From glarkin at FreeBSD.org Mon Mar 11 22:36:58 2013 From: glarkin at FreeBSD.org (Greg Larkin) Date: Mon, 11 Mar 2013 18:36:51 -0400 Subject: Error: shared library "mysqlclient.18" does not exist In-Reply-To: <513E58D2.8000503@mail.com> References: <513E0D6D.10503@mail.com> <513E1BC9.6040207@FreeBSD.org> <513E1DF8.3020408@mail.com> <513E231A.90105@FreeBSD.org> <513E26C2.9040601@mail.com> <513E29D1.8030709@FreeBSD.org> <513E31B8.2020509@mail.com> <513E4FB8.2060506@mail.com> <513E55A0.7030109@FreeBSD.org> <513E58D2.8000503@mail.com> Message-ID: <513E5C83.7040802@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/11/13 6:21 PM, Jeff Tipton wrote: > On 03/12/2013 00:07, Greg Larkin wrote: On 3/11/13 5:42 PM, Jeff > Tipton wrote: >>>> On 03/11/2013 21:34, Jeff Tipton wrote: >>>>> On 03/11/2013 21:00, Greg Larkin wrote: >>>> On 3/11/13 2:47 PM, Jeff Tipton wrote: >>>>>>>> On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 >>>>>>>> 2:10 PM, Jeff Tipton wrote: >>>>>>>>>>> On 03/11/2013 20:00, Greg Larkin wrote: On >>>>>>>>>>> 3/11/13 12:59 PM, Jeff Tipton wrote: >>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>> >>>>>>>>>>>>>> I'm trying to set up security/maia, and >>>>>>>>>>>>>> this is the error message I get: >>>>>>>>>>>>>> >>>>>>>>>>>>>> Error: shared library "mysqlclient.18" >>>>>>>>>>>>>> does not exist >>>>>>>>>>>>>> >>>>>>>>>>>>>> Of course, the library does exist :( >>>>>>>>>>>>>> >>>>>>>>>>>>>> # ls /usr/local/lib/mysql/ >>>>>>>>>>>>>> libmysqlclient.a libmysqlclient_r.a >>>>>>>>>>>>>> libmysqld.a libmysqlclient.so >>>>>>>>>>>>>> libmysqlclient_r.so libmysqlservices.a >>>>>>>>>>>>>> libmysqlclient.so.18 >>>>>>>>>>>>>> libmysqlclient_r.so.18 plugin >>>>>>>>>>>>>> >>>>>>>>>>>>>> I googled about this, and I found 3 >>>>>>>>>>>>>> things to try but none of that was >>>>>>>>>>>>>> helpful here: >>>>>>>>>>>>>> >>>>>>>>>>>>>> 1. make a link: ln -s >>>>>>>>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>>>>>>>>>> >>>>>>>>>>>>>> /usr/local/lib/libmysqlclient.so.18 >>>>>>>>>>>>>> >>>>>>>>>>>>>> 2. Check the root's umask and the >>>>>>>>>>>>>> directory permissions if they are >>>>>>>>>>>>>> correct, and they are: # umask 22 #ll >>>>>>>>>>>>>> /usr/local/lib |grep mysql lrwxr-xr-x 1 >>>>>>>>>>>>>> root wheel 41 Mar 11 16:25 >>>>>>>>>>>>>> libmysqlclient.so.18@ -> >>>>>>>>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>>>>>>>>>> >>>>>>>>>>>>>> drwxr-xr-x 3 root wheel 512 Mar 11 16:22 >>>>>>>>>>>>>> mysql/ >>>>>>>>>>>>>> >>>>>>>>>>>>>> # ll /usr/local/lib/mysql/ total 27276 >>>>>>>>>>>>>> -rw-r--r-- 1 root wheel 4844270 Mar 11 >>>>>>>>>>>>>> 16:17 libmysqlclient.a lrwxr-xr-x 1 root >>>>>>>>>>>>>> wheel 20 Mar 11 16:22 libmysqlclient.so@ >>>>>>>>>>>>>> -> libmysqlclient.so.18 -rwxr-xr-x 1 root >>>>>>>>>>>>>> wheel 3364688 Mar 11 16:22 >>>>>>>>>>>>>> libmysqlclient.so.18* lrwxr-xr-x 1 root >>>>>>>>>>>>>> wheel 16 Mar 11 16:22 libmysqlclient_r.a@ >>>>>>>>>>>>>> -> libmysqlclient.a lrwxr-xr-x 1 root >>>>>>>>>>>>>> wheel 17 Mar 11 16:22 >>>>>>>>>>>>>> libmysqlclient_r.so@ -> >>>>>>>>>>>>>> libmysqlclient.so lrwxr-xr-x 1 root >>>>>>>>>>>>>> wheel 17 Mar 11 16:22 >>>>>>>>>>>>>> libmysqlclient_r.so.18@ -> >>>>>>>>>>>>>> libmysqlclient.so -rw-r--r-- 1 root >>>>>>>>>>>>>> wheel 20019340 Mar 7 15:08 libmysqld.a >>>>>>>>>>>>>> -rw-r--r-- 1 root wheel 4598 Mar 11 >>>>>>>>>>>>>> 16:17 libmysqlservices.a drwxr-xr-x 2 >>>>>>>>>>>>>> root wheel 512 Mar 8 19:01 plugin/ >>>>>>>>>>>>>> >>>>>>>>>>>>>> 3. Update the ports tree. Ports tree is >>>>>>>>>>>>>> up to date. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Could someone, please, suggest what I >>>>>>>>>>>>>> could try to solve this? >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thanks, Jeff >>>>>>>>>>> Hi Jeff, >>>>>>>>>>> >>>>>>>>>>> At what point do you receive the error message? >>>>>>>>>>> Is it when you attempt to run the executable >>>>>>>>>>> built by the port? If so, please run the ldd >>>>>>>>>>> command against the executable and post the >>>>>>>>>>> output back here. >>>>>>>>>>> >>>>>>>>>>> Thank you, Greg >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- Greg Larkin >>>>>>>>>>> >>>>>>>>>>> http://www.FreeBSD.org/ - The Power >>>>>>>>>>> To Serve http://www.sourcehosting.net/ - >>>>>>>>>>> Ready. Set. Code. http://twitter.com/cpucycle/ >>>>>>>>>>> - Follow you, follow me Thank you, Greg, for >>>>>>>>>>> the reply. I get the error message while >>>>>>>>>>> compiling security/maia port. mysql client >>>>>>>>>>> itself is working ok, I can connect to my >>>>>>>>>>> database server. >>>>>>>>>>> >>>>>>>>>>> ldd output: # ldd /usr/local/bin/mysql >>>>>>>>>>> /usr/local/bin/mysql: libreadline.so.8 => >>>>>>>>>>> /lib/libreadline.so.8 (0x800ab5000) libz.so.6 >>>>>>>>>>> => /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 >>>>>>>>>>> => /usr/lib/libstdc++.so.6 (0x800f09000) >>>>>>>>>>> libm.so.5 => /lib/libm.so.5 (0x801219000) >>>>>>>>>>> libgcc_s.so.1 => /lib/libgcc_s.so.1 >>>>>>>>>>> (0x80143a000) libthr.so.3 => /lib/libthr.so.3 >>>>>>>>>>> (0x801647000) libc.so.7 => /lib/libc.so.7 >>>>>>>>>>> (0x801869000) libncurses.so.8 => >>>>>>>>>>> /lib/libncurses.so.8 (0x801bbc000) >>>>>>>>>>> >>>>>>>> Hi Jeff, >>>>>>>> >>>>>>>> Can you post the relevant bits of build output where >>>>>>>> the error message shows up? If it happens during the >>>>>>>> configure phase of the port build, you'll also want >>>>>>>> to post the end of the config.log file found in the >>>>>>>> port work directory. >>>>>>>> >>>>>>>> Thank you, Greg >>>>>>>> >>>>>>>> >>>>>>>> I tried to run "make" several times, and previously >>>>>>>> some build depends were compiled. But now the "work" >>>>>>>> directory doesn't even get created, and the process >>>>>>>> stops immediately: >>>>>>>> >>>>>>>> /usr/ports/security/maia# make install clean ===> >>>>>>>> maia-1.0.3.r1575_3 depends on shared library: >>>>>>>> mysqlclient.18 - not found ===> Verifying install >>>>>>>> for mysqlclient.18 in >>>>>>>> /usr/ports/databases/mysql55-client ===> Returning to >>>>>>>> build of maia-1.0.3.r1575_3 Error: shared library >>>>>>>> "mysqlclient.18" does not exist *** [lib-depends] >>>>>>>> Error code 1 >>>>>>>> >>>>>>>> Stop in /basejail/usr/ports/security/maia. >>>>>>>> /usr/ports/security/maia# >>>>>>>> >>>>>>>> >>>> Ok, it looks like something is messed up with your ldconfig >>>> search path. To confirm that, please run this command and >>>> post results back here: >>>> >>>> ldconfig -r| grep mysql >>>> >>>> Thank you, Greg >>>>>> _______________________________________________ >>>>>> freebsd-questions at freebsd.org mailing list >>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>>> To unsubscribe, send any mail to >>>>>> "freebsd-questions-unsubscribe at freebsd.org" >>>>> # ldconfig -r| grep mysql search directories: >>>>> /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth >>>>> >>>>> >>>>> >>>>> > >>>>> 218:-lmysqlclient.18 => /usr/local/lib/libmysqlclient.so.18 >>>>> 219:-lmysqlclient.18 => >>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>> 220:-lmysqlclient_r.18 => >>>>> /usr/local/lib/mysql/libmysqlclient_r.so.18 >>>>> >>>>> I installed both mysql client and server from ports. The >>>>> versions are: mysql-client-5.5.30 mysql-server-5.5.30 >>>>> >>>>> _______________________________________________ >>>>> freebsd-questions at freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>> To unsubscribe, send any mail to >>>>> "freebsd-questions-unsubscribe at freebsd.org" >>>> Thank you, Greg. As a result, databases/mysql55-client got >>>> rebuilt, so I lost the beginning of the log. The end is >>>> this: >>>> >>>> [100%] Built target mysqlshow Linking CXX executable >>>> mysqlslap cd >>>> /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/client >>>> >>>> >>>> > >>>> && /usr/local/bin/cmake -E cmake_link_script >>>> CMakeFiles/mysqlslap.dir/link.txt --verbose=1 /usr/bin/c++ >>>> -O2 -pipe -fno-strict-aliasing -Wall -Wno-unused-parameter >>>> -fno-implicit-templates -fno-exceptions -fno-rtti -O2 -pipe >>>> -fno-strict-aliasing -DDBUG_OFF >>>> CMakeFiles/mysqlslap.dir/mysqlslap.c.o -o mysqlslap >>>> -pthread ../libmysql/libmysqlclient.a -pthread -lz -lm >>>> /usr/local/bin/cmake -E cmake_progress_report >>>> /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/CMakeFiles >>>> >>>> >>>> >>>> [100%] Built target mysqlslap /usr/local/bin/cmake -E >>>> cmake_progress_start >>>> /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/CMakeFiles >>>> >>>> >>>> > >>>> 0 >>>> ===> Installing for mysql-client-5.5.30 ===> Generating >>>> temporary packing list ===> Checking if >>>> databases/mysql55-client already installed ===> >>>> mysql-client-5.5.30 is already installed You may wish to >>>> ``make deinstall'' and install this port again by ``make >>>> reinstall'' to upgrade it properly. If you really wish to >>>> overwrite the old port of databases/mysql55-client without >>>> deleting it first, set the variable "FORCE_PKG_REGISTER" in >>>> your environment or the "make install" command line. *** >>>> [check-already-installed] Error code 1 >>>> >>>> Stop in /basejail/usr/ports/databases/mysql55-client. + echo >>>> '===> Returning to build of maia-1.0.3.r1575_3' ===> >>>> Returning to build of maia-1.0.3.r1575_3 + /sbin/ldconfig -32 >>>> -r + /usr/bin/grep -vwF -e /usr/local/lib/compat/pkg + >>>> /usr/bin/grep -qwE -e '-lmysqlclient\.18' + echo 'Error: >>>> shared library "mysqlclient.18" does not exist' Error: shared >>>> library "mysqlclient.18" does not exist + false >>>> /usr/ports/security/maia# > Try one more test for me - deselect the "RAR" option in the maia > port, run "make clean build" and let me know what happens. >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions To >> unsubscribe, send any mail to >> "freebsd-questions-unsubscribe at freebsd.org" > Ok, deselected RAR. Output: > > /usr/ports/security/maia# make clean build ===> Cleaning for > maia-1.0.3.r1575_3 ===> Found saved configuration for > maia-1.0.3.r1575_3 ===> Extracting for maia-1.0.3.r1575_3 => > SHA256 Checksum OK for maia-1.0.3-r1575.tar.gz. ===> Patching for > maia-1.0.3.r1575_3 ===> maia-1.0.3.r1575_3 depends on shared > library: mysqlclient.18 - found ===> Configuring for > maia-1.0.3.r1575_3 /usr/ports/security/maia# > Ok, that means you can go and run "make install" if you don't actually need the RAR option. If you do need that option, then I need to look into what the port is trying to do and then file a PR to fix it. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE+XIIACgkQ0sRouByUApBWswCfQo3THzdOo0APka+7fcANmYS2 5DYAni4eCxa4D/+HDlF9TX7zH9bIng0M =94VX -----END PGP SIGNATURE----- From jeff.t at mail.com Mon Mar 11 22:51:49 2013 From: jeff.t at mail.com (Jeff Tipton) Date: Tue, 12 Mar 2013 00:51:45 +0200 Subject: Error: shared library "mysqlclient.18" does not exist In-Reply-To: <513E5C83.7040802@FreeBSD.org> References: <513E0D6D.10503@mail.com> <513E1BC9.6040207@FreeBSD.org> <513E1DF8.3020408@mail.com> <513E231A.90105@FreeBSD.org> <513E26C2.9040601@mail.com> <513E29D1.8030709@FreeBSD.org> <513E31B8.2020509@mail.com> <513E4FB8.2060506@mail.com> <513E55A0.7030109@FreeBSD.org> <513E58D2.8000503@mail.com> <513E5C83.7040802@FreeBSD.org> Message-ID: <513E6001.9040206@mail.com> On 03/12/2013 00:36, Greg Larkin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 3/11/13 6:21 PM, Jeff Tipton wrote: >> On 03/12/2013 00:07, Greg Larkin wrote: On 3/11/13 5:42 PM, Jeff >> Tipton wrote: >>>>> On 03/11/2013 21:34, Jeff Tipton wrote: >>>>>> On 03/11/2013 21:00, Greg Larkin wrote: >>>>> On 3/11/13 2:47 PM, Jeff Tipton wrote: >>>>>>>>> On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 >>>>>>>>> 2:10 PM, Jeff Tipton wrote: >>>>>>>>>>>> On 03/11/2013 20:00, Greg Larkin wrote: On >>>>>>>>>>>> 3/11/13 12:59 PM, Jeff Tipton wrote: >>>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I'm trying to set up security/maia, and >>>>>>>>>>>>>>> this is the error message I get: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Error: shared library "mysqlclient.18" >>>>>>>>>>>>>>> does not exist >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Of course, the library does exist :( >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # ls /usr/local/lib/mysql/ >>>>>>>>>>>>>>> libmysqlclient.a libmysqlclient_r.a >>>>>>>>>>>>>>> libmysqld.a libmysqlclient.so >>>>>>>>>>>>>>> libmysqlclient_r.so libmysqlservices.a >>>>>>>>>>>>>>> libmysqlclient.so.18 >>>>>>>>>>>>>>> libmysqlclient_r.so.18 plugin >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I googled about this, and I found 3 >>>>>>>>>>>>>>> things to try but none of that was >>>>>>>>>>>>>>> helpful here: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> 1. make a link: ln -s >>>>>>>>>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> > /usr/local/lib/libmysqlclient.so.18 >>>>>>>>>>>>>>> 2. Check the root's umask and the >>>>>>>>>>>>>>> directory permissions if they are >>>>>>>>>>>>>>> correct, and they are: # umask 22 #ll >>>>>>>>>>>>>>> /usr/local/lib |grep mysql lrwxr-xr-x 1 >>>>>>>>>>>>>>> root wheel 41 Mar 11 16:25 >>>>>>>>>>>>>>> libmysqlclient.so.18@ -> >>>>>>>>>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> > drwxr-xr-x 3 root wheel 512 Mar 11 16:22 >>>>>>>>>>>>>>> mysql/ >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # ll /usr/local/lib/mysql/ total 27276 >>>>>>>>>>>>>>> -rw-r--r-- 1 root wheel 4844270 Mar 11 >>>>>>>>>>>>>>> 16:17 libmysqlclient.a lrwxr-xr-x 1 root >>>>>>>>>>>>>>> wheel 20 Mar 11 16:22 libmysqlclient.so@ >>>>>>>>>>>>>>> -> libmysqlclient.so.18 -rwxr-xr-x 1 root >>>>>>>>>>>>>>> wheel 3364688 Mar 11 16:22 >>>>>>>>>>>>>>> libmysqlclient.so.18* lrwxr-xr-x 1 root >>>>>>>>>>>>>>> wheel 16 Mar 11 16:22 libmysqlclient_r.a@ >>>>>>>>>>>>>>> -> libmysqlclient.a lrwxr-xr-x 1 root >>>>>>>>>>>>>>> wheel 17 Mar 11 16:22 >>>>>>>>>>>>>>> libmysqlclient_r.so@ -> >>>>>>>>>>>>>>> libmysqlclient.so lrwxr-xr-x 1 root >>>>>>>>>>>>>>> wheel 17 Mar 11 16:22 >>>>>>>>>>>>>>> libmysqlclient_r.so.18@ -> >>>>>>>>>>>>>>> libmysqlclient.so -rw-r--r-- 1 root >>>>>>>>>>>>>>> wheel 20019340 Mar 7 15:08 libmysqld.a >>>>>>>>>>>>>>> -rw-r--r-- 1 root wheel 4598 Mar 11 >>>>>>>>>>>>>>> 16:17 libmysqlservices.a drwxr-xr-x 2 >>>>>>>>>>>>>>> root wheel 512 Mar 8 19:01 plugin/ >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> 3. Update the ports tree. Ports tree is >>>>>>>>>>>>>>> up to date. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Could someone, please, suggest what I >>>>>>>>>>>>>>> could try to solve this? >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Thanks, Jeff >>>>>>>>>>>> Hi Jeff, >>>>>>>>>>>> >>>>>>>>>>>> At what point do you receive the error message? >>>>>>>>>>>> Is it when you attempt to run the executable >>>>>>>>>>>> built by the port? If so, please run the ldd >>>>>>>>>>>> command against the executable and post the >>>>>>>>>>>> output back here. >>>>>>>>>>>> >>>>>>>>>>>> Thank you, Greg >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- Greg Larkin >>>>>>>>>>>> >>>>>>>>>>>> http://www.FreeBSD.org/ - The Power >>>>>>>>>>>> To Serve http://www.sourcehosting.net/ - >>>>>>>>>>>> Ready. Set. Code. http://twitter.com/cpucycle/ >>>>>>>>>>>> - Follow you, follow me Thank you, Greg, for >>>>>>>>>>>> the reply. I get the error message while >>>>>>>>>>>> compiling security/maia port. mysql client >>>>>>>>>>>> itself is working ok, I can connect to my >>>>>>>>>>>> database server. >>>>>>>>>>>> >>>>>>>>>>>> ldd output: # ldd /usr/local/bin/mysql >>>>>>>>>>>> /usr/local/bin/mysql: libreadline.so.8 => >>>>>>>>>>>> /lib/libreadline.so.8 (0x800ab5000) libz.so.6 >>>>>>>>>>>> => /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 >>>>>>>>>>>> => /usr/lib/libstdc++.so.6 (0x800f09000) >>>>>>>>>>>> libm.so.5 => /lib/libm.so.5 (0x801219000) >>>>>>>>>>>> libgcc_s.so.1 => /lib/libgcc_s.so.1 >>>>>>>>>>>> (0x80143a000) libthr.so.3 => /lib/libthr.so.3 >>>>>>>>>>>> (0x801647000) libc.so.7 => /lib/libc.so.7 >>>>>>>>>>>> (0x801869000) libncurses.so.8 => >>>>>>>>>>>> /lib/libncurses.so.8 (0x801bbc000) >>>>>>>>>>>> >>>>>>>>> Hi Jeff, >>>>>>>>> >>>>>>>>> Can you post the relevant bits of build output where >>>>>>>>> the error message shows up? If it happens during the >>>>>>>>> configure phase of the port build, you'll also want >>>>>>>>> to post the end of the config.log file found in the >>>>>>>>> port work directory. >>>>>>>>> >>>>>>>>> Thank you, Greg >>>>>>>>> >>>>>>>>> >>>>>>>>> I tried to run "make" several times, and previously >>>>>>>>> some build depends were compiled. But now the "work" >>>>>>>>> directory doesn't even get created, and the process >>>>>>>>> stops immediately: >>>>>>>>> >>>>>>>>> /usr/ports/security/maia# make install clean ===> >>>>>>>>> maia-1.0.3.r1575_3 depends on shared library: >>>>>>>>> mysqlclient.18 - not found ===> Verifying install >>>>>>>>> for mysqlclient.18 in >>>>>>>>> /usr/ports/databases/mysql55-client ===> Returning to >>>>>>>>> build of maia-1.0.3.r1575_3 Error: shared library >>>>>>>>> "mysqlclient.18" does not exist *** [lib-depends] >>>>>>>>> Error code 1 >>>>>>>>> >>>>>>>>> Stop in /basejail/usr/ports/security/maia. >>>>>>>>> /usr/ports/security/maia# >>>>>>>>> >>>>>>>>> >>>>> Ok, it looks like something is messed up with your ldconfig >>>>> search path. To confirm that, please run this command and >>>>> post results back here: >>>>> >>>>> ldconfig -r| grep mysql >>>>> >>>>> Thank you, Greg >>>>>>> _______________________________________________ >>>>>>> freebsd-questions at freebsd.org mailing list >>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>>>> To unsubscribe, send any mail to >>>>>>> "freebsd-questions-unsubscribe at freebsd.org" >>>>>> # ldconfig -r| grep mysql search directories: >>>>>> /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth >>>>>> >>>>>> >>>>>> >>>>>> > 218:-lmysqlclient.18 => /usr/local/lib/libmysqlclient.so.18 >>>>>> 219:-lmysqlclient.18 => >>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>> 220:-lmysqlclient_r.18 => >>>>>> /usr/local/lib/mysql/libmysqlclient_r.so.18 >>>>>> >>>>>> I installed both mysql client and server from ports. The >>>>>> versions are: mysql-client-5.5.30 mysql-server-5.5.30 >>>>>> >>>>>> _______________________________________________ >>>>>> freebsd-questions at freebsd.org mailing list >>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>>> To unsubscribe, send any mail to >>>>>> "freebsd-questions-unsubscribe at freebsd.org" >>>>> Thank you, Greg. As a result, databases/mysql55-client got >>>>> rebuilt, so I lost the beginning of the log. The end is >>>>> this: >>>>> >>>>> [100%] Built target mysqlshow Linking CXX executable >>>>> mysqlslap cd >>>>> /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/client >>>>> >>>>> >>>>> > && /usr/local/bin/cmake -E cmake_link_script >>>>> CMakeFiles/mysqlslap.dir/link.txt --verbose=1 /usr/bin/c++ >>>>> -O2 -pipe -fno-strict-aliasing -Wall -Wno-unused-parameter >>>>> -fno-implicit-templates -fno-exceptions -fno-rtti -O2 -pipe >>>>> -fno-strict-aliasing -DDBUG_OFF >>>>> CMakeFiles/mysqlslap.dir/mysqlslap.c.o -o mysqlslap >>>>> -pthread ../libmysql/libmysqlclient.a -pthread -lz -lm >>>>> /usr/local/bin/cmake -E cmake_progress_report >>>>> /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/CMakeFiles >>>>> >>>>> >>>>> >>>>> > [100%] Built target mysqlslap /usr/local/bin/cmake -E >>>>> cmake_progress_start >>>>> /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/CMakeFiles >>>>> >>>>> >>>>> > 0 >>>>> ===> Installing for mysql-client-5.5.30 ===> Generating >>>>> temporary packing list ===> Checking if >>>>> databases/mysql55-client already installed ===> >>>>> mysql-client-5.5.30 is already installed You may wish to >>>>> ``make deinstall'' and install this port again by ``make >>>>> reinstall'' to upgrade it properly. If you really wish to >>>>> overwrite the old port of databases/mysql55-client without >>>>> deleting it first, set the variable "FORCE_PKG_REGISTER" in >>>>> your environment or the "make install" command line. *** >>>>> [check-already-installed] Error code 1 >>>>> >>>>> Stop in /basejail/usr/ports/databases/mysql55-client. + echo >>>>> '===> Returning to build of maia-1.0.3.r1575_3' ===> >>>>> Returning to build of maia-1.0.3.r1575_3 + /sbin/ldconfig -32 >>>>> -r + /usr/bin/grep -vwF -e /usr/local/lib/compat/pkg + >>>>> /usr/bin/grep -qwE -e '-lmysqlclient\.18' + echo 'Error: >>>>> shared library "mysqlclient.18" does not exist' Error: shared >>>>> library "mysqlclient.18" does not exist + false >>>>> /usr/ports/security/maia# >> Try one more test for me - deselect the "RAR" option in the maia >> port, run "make clean build" and let me know what happens. >>> _______________________________________________ >>> freebsd-questions at freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions To >>> unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe at freebsd.org" >> Ok, deselected RAR. Output: >> >> /usr/ports/security/maia# make clean build ===> Cleaning for >> maia-1.0.3.r1575_3 ===> Found saved configuration for >> maia-1.0.3.r1575_3 ===> Extracting for maia-1.0.3.r1575_3 => >> SHA256 Checksum OK for maia-1.0.3-r1575.tar.gz. ===> Patching for >> maia-1.0.3.r1575_3 ===> maia-1.0.3.r1575_3 depends on shared >> library: mysqlclient.18 - found ===> Configuring for >> maia-1.0.3.r1575_3 /usr/ports/security/maia# >> > Ok, that means you can go and run "make install" if you don't actually > need the RAR option. If you do need that option, then I need to look > into what the port is trying to do and then file a PR to fix it. > > Regards, > Greg > > > - -- > Greg Larkin > > http://www.FreeBSD.org/ - The Power To Serve > http://www.sourcehosting.net/ - Ready. Set. Code. > http://twitter.com/cpucycle/ - Follow you, follow me > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.13 (Darwin) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iEYEARECAAYFAlE+XIIACgkQ0sRouByUApBWswCfQo3THzdOo0APka+7fcANmYS2 > 5DYAni4eCxa4D/+HDlF9TX7zH9bIng0M > =94VX > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" Yes, it starts building. Thank you! I'm not sure, though, what exactly I am losing. I tought RAR is for scanning RARed attatchments (which is important), but then there's also UNRAR which I left selected. From perrin at apotheon.com Mon Mar 11 23:02:40 2013 From: perrin at apotheon.com (Chad Perrin) Date: Mon, 11 Mar 2013 17:02:18 -0600 Subject: day light saving time happened today In-Reply-To: <513DD2E9.2040700@a1poweruser.com> References: <513D0026.6030109@a1poweruser.com> <5C91A731-BF1E-4FD2-AB26-5348F0685967@wolfhut.org> <513D0FBA.1070303@a1poweruser.com> <44fw02lt0d.fsf@lowell-desk.lan> <513D369C.8080907@a1poweruser.com> <20130310215632.3c0344f2@europa> <513D3EEB.3020201@a1poweruser.com> <57B1D1B8-5DBC-41C9-AB76-55687AB45359@wolfhut.org> <513DD2E9.2040700@a1poweruser.com> Message-ID: <20130311230218.GA2234@glaze.hydra> On Mon, Mar 11, 2013 at 08:49:45AM -0400, Fbsd8 wrote: > > > Ran this little test. > Last night before turning off my system I used the date command to set > the date to 3/9 with the correct DST. This morning when I turned on my > system the time had advanced by one hour. So this proves that the time > zone setting does have DST in it and every thing worked as expected. > > Even though the system is now on DST the date command still displays > EDT. Does the date command ever show DST? As noted by others, "EDT" is "Eastern Daylight Time", which is what should be showing during DST in the Eastern (US) time zone. When it's not DST, what should be showing in the Eastern time zone is "EST" instead. From what you said, though, it seems you had set it to "EDT" when it was not yet daylight saving time. I wonder if this might be the cause of the actual problem. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From fortezza at mechanicalism.net Mon Mar 11 23:16:33 2013 From: fortezza at mechanicalism.net (Jason Fortezzo) Date: Mon, 11 Mar 2013 18:07:46 -0500 Subject: What is your favorite board for a micro system? In-Reply-To: <513A79F7.8030203@locolomo.org> References: <513A79F7.8030203@locolomo.org> Message-ID: <20130311230746.GA20819@alderaan.mechanicalism.net> On Sat, Mar 09, 2013 at 12:53:27AM +0100, Erik N?rgaard wrote: > What is your favorite mini/micro/nano/pico-itx platform for home projects? > > I currently run a home server on an Intel mini-itx board but was > looking around for something fun to play with with the following > specs: > > - mini-itx or smaller, low profile > - fanless > - low power 12V external PSU > - 1 LAN, preferably 2 > - 2 USB2/3 > - Flash bootable, but with option for hdd boot > - GPIO would be fun > - hdmi out would be nice I'm using the Intel DQ77KB Thin Mini ITX board and it almost meets all of your criteria. The heatsink has a fan but it is silent (even after 12 hours of Prime95). This board has AMT so when used with a vPro capable CPU (I'm using an i7-3770S), you get all sorts of nifty OOB features. I'm using ESXi 5.1 right now but I'm pretty sure it would boot FreeBSD fine. -- Jason Fortezzo fortezza at mechanicalism.net From walterhurry at gmail.com Mon Mar 11 23:42:01 2013 From: walterhurry at gmail.com (Walter Hurry) Date: Mon, 11 Mar 2013 23:41:41 +0000 (UTC) Subject: Pan-0.139 won't compile Message-ID: Trying to upgrade /usr/ports/news/pan I get this: ___________________________________________________________________ mime-utils.cc: In function 'char* pan::__g_mime_iconv_strndup(void*, const char*, size_t, const char*)': mime-utils.cc:80: error: invalid conversion from 'char**' to 'const char**' mime-utils.cc:80: error: initializing argument 2 of 'size_t libiconv (void*, const char**, size_t*, char**, size_t*)' gmake[3]: *** [mime-utils.o] Error 1 gmake[3]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan/ usenet-utils' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/news/pan/work/pan-0.139' gmake: *** [all] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/news/pan. *** [build] Error code 1 ___________________________________________________________________ What should I do next? From carlj at peak.org Mon Mar 11 23:42:08 2013 From: carlj at peak.org (Carl Johnson) Date: Mon, 11 Mar 2013 16:42:03 -0700 Subject: FreeBSD 9 and Windows XP In-Reply-To: (Warren Block's message of "Mon, 11 Mar 2013 12:25:37 -0600 (MDT)") References: <20130309120741.DED57767@ms5.mc.surewest.net> <20130311135110.9da99d99cfe968f2d904acd0@yahoo.es> <87a9q9udkd.fsf@oak.localnet> Message-ID: <87620xtsfo.fsf@oak.localnet> Warren Block writes: > On Mon, 11 Mar 2013, Carl Johnson wrote: > >> It is my understanding that FreeBSD doesn't allow using part of a disk, >> but grabs the entire disk. That means that VirtualBox can't use >> partitions on a disk that any other partitions are being used by >> anything else, including FreeBSD itself. Am I wrong about this? I use >> VirtualBox using vdmk for an entire disk, but I have never been able to >> share with anything else. > > It's very hard to tell what situation is being described here. If the > VMDK is a pointer to a whole physical disk, that would probably make > the disk only usable by one VM. It should be possible to make the > VMDK point to just one partition on the disk. Then other VMs or a > physical machine could use those other partitions while the FreeBSD VM > was running. I was thinking of the case where I tried to allow direct access by a virtual machine to a slice on the same disk that I was running FreeBSD off of. I just looked further into that and discovered that it is possible, but not allowed by geom by default. It can be done by setting 'sysctl kern.geom.debugflags=0x10'. I am sure that you are aware of the dangers, but for anybody else reading this check out the warning in the geom(4) manpage. They refer to this option as 'allow foot shooting' for a reason. -- Carl Johnson carlj at peak.org From fbsd8 at a1poweruser.com Tue Mar 12 00:45:22 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Mon, 11 Mar 2013 20:45:15 -0400 Subject: day light saving time happened today In-Reply-To: <20130311103712.79287cb9@scorpio> References: <513CC4C4.8080405@a1poweruser.com> <513D0026.6030109@a1poweruser.com> <5C91A731-BF1E-4FD2-AB26-5348F0685967@wolfhut.org> <513D0FBA.1070303@a1poweruser.com> <44fw02lt0d.fsf@lowell-desk.lan> <513D369C.8080907@a1poweruser.com> <20130310215632.3c0344f2@europa> <513D3EEB.3020201@a1poweruser.com> <57B1D1B8-5DBC-41C9-AB76-55687AB45359@wolfhut.org> <513DD2E9.2040700@a1poweruser.com> <513DE7AF.6090509@gmail.com> <20130311103712.79287cb9@scorpio> Message-ID: <513E7A9B.9050705@a1poweruser.com> Jerry wrote: > On Mon, 11 Mar 2013 09:18:23 -0500 > Noel articulated: > >> On 3/11/2013 7:49 AM, Fbsd8 wrote: >>> Even though the system is now on DST the date command still >>> displays EDT. Does the date command ever show DST? >> EDT = Eastern Daylight Time timezone >> not to be confused with >> EST = Eastern Standard Time timezone >> not to be confused with >> DST = daylight savings time, not a timezone, never shown on a >> computer. >> >> Your system correctly switched to daylight savings time, as verified >> by the EDT timezone indicator. Most likely the clock was already an >> hour slow before the time change. > > Just wondering, but do you have NTP running to keep the time accurate? > no but I do run ntpd -q a few times a year to keep the tine accurate. From wblock at wonkity.com Tue Mar 12 01:17:21 2013 From: wblock at wonkity.com (Warren Block) Date: Mon, 11 Mar 2013 19:17:19 -0600 (MDT) Subject: FreeBSD 9 and Windows XP In-Reply-To: <87620xtsfo.fsf@oak.localnet> References: <20130309120741.DED57767@ms5.mc.surewest.net> <20130311135110.9da99d99cfe968f2d904acd0@yahoo.es> <87a9q9udkd.fsf@oak.localnet> <87620xtsfo.fsf@oak.localnet> Message-ID: On Mon, 11 Mar 2013, Carl Johnson wrote: > Warren Block writes: > >> On Mon, 11 Mar 2013, Carl Johnson wrote: >> >>> It is my understanding that FreeBSD doesn't allow using part of a disk, >>> but grabs the entire disk. That means that VirtualBox can't use >>> partitions on a disk that any other partitions are being used by >>> anything else, including FreeBSD itself. Am I wrong about this? I use >>> VirtualBox using vdmk for an entire disk, but I have never been able to >>> share with anything else. >> >> It's very hard to tell what situation is being described here. If the >> VMDK is a pointer to a whole physical disk, that would probably make >> the disk only usable by one VM. It should be possible to make the >> VMDK point to just one partition on the disk. Then other VMs or a >> physical machine could use those other partitions while the FreeBSD VM >> was running. > > I was thinking of the case where I tried to allow direct access by a > virtual machine to a slice on the same disk that I was running FreeBSD > off of. I just looked further into that and discovered that it is > possible, but not allowed by geom by default. It can be done by setting > 'sysctl kern.geom.debugflags=0x10'. I am sure that you are aware of the > dangers, but for anybody else reading this check out the warning in the > geom(4) manpage. They refer to this option as 'allow foot shooting' for > a reason. That's kind of what I was saying. If you can get the VMDK to refer to just the one slice/partition that the VM needs, it won't lock the whole disk. For example, ada0s2a rather than ada0s2. Of course, it would be bad to share the same partition between more than one VM or physical machine at the same time unless it is mounted read-only by all of them. From guru at unixarea.de Tue Mar 12 05:49:16 2013 From: guru at unixarea.de (Matthias Apitz) Date: Tue, 12 Mar 2013 06:49:11 +0100 Subject: Problems Printing In-Reply-To: <513CDE73.4010505@gmail.com> References: <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> <513666B7.4080708@gmail.com> <20130306054701.GA2295@tinyCurrent> <513CDE73.4010505@gmail.com> Message-ID: <20130312054911.GA2298@tinyCurrent> El d?a Sunday, March 10, 2013 a las 02:26:43PM -0500, Joseph A. Nagy, Jr escribi?: > On 03/05/13 23:47, Matthias Apitz wrote: > > El d?a Tuesday, March 05, 2013 a las 03:42:15PM -0600, Joseph A. Nagy, Jr escribi?: > > > >>> then the test is > >>> > >>> $ date | lpr -PPIXMA > >>> > >>> matthias > >>> > >> > >> I figured that out, sent the test, it queud the job and stuck there. > >> When I get home I'm going to clear the cups logs and start over again. > > > > Does the CUPS' test page works from the web interface? If not, try to > > configure the printer as Generic Postscript first. > > > > matthias > > > w/o using the web interface (I don't particularly care for it, honestly, > I find it confusing) I deleted the old logs, restarted the cupsd > service, and sent > > # date | lpr -PPIXMA Please show the config of the printer, either as screen shoot of CUPS web or from printers.conf file; matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru at unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From guru at unixarea.de Tue Mar 12 12:07:20 2013 From: guru at unixarea.de (Matthias Apitz) Date: Tue, 12 Mar 2013 13:07:15 +0100 Subject: Problems Printing In-Reply-To: <20130311211437.GA1575@tiny.Sisis.de> References: <5135A88B.1000100@gmail.com> <513D7701.7000605@bananmonarki.se> <513E3544.6080208@gmail.com> <20130311200838.GA1348@tiny.Sisis.de> <513E3BB4.305@gmail.com> <20130311202628.GA1413@tiny.Sisis.de> <513E3FBD.5000302@gmail.com> <20130311204351.GA1485@tiny.Sisis.de> <513E47D1.2030403@gmail.com> <20130311211437.GA1575@tiny.Sisis.de> Message-ID: <20130312120715.GA1827@tiny.Sisis.de> I have checked your logs of last night and I have a few questions: Can you please show the file /usr/local/etc/cups/ppd/PIXMA.ppd when the printer PIXMA is configured as Generic PS printer? The log says, that CUPS is starting a filter chain of: testtops-->pstops-->pstoraster-->rastertogutenprint-->backend/usb Why it is using pstoraster and rastertogutenprint if the printer should be a Generic PS one? It should just handover the PS output of testtops to the backend/usb? Is this visible in the above PPD file? The chain is failing in: > "libgnutls.so.47" not found, required by "rastertogutenprint.5.2" > D [10/Mar/2013:14:18:04 -0500] [Job 12] Shared object > "libgnutls.so.47" not found, required by "espgs" that's why it does not print anything, this is clear. But why it wants to use this? matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru at unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From freebsd-questions-local at be-well.ilk.org Tue Mar 12 13:40:54 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue, 12 Mar 2013 09:40:40 -0400 Subject: Pan-0.139 won't compile In-Reply-To: (Walter Hurry's message of "Mon, 11 Mar 2013 23:41:41 +0000 (UTC)") References: Message-ID: <44zjy8lorr.fsf@lowell-desk.lan> Walter Hurry writes: > Trying to upgrade /usr/ports/news/pan I get this: > ___________________________________________________________________ > mime-utils.cc: In function 'char* pan::__g_mime_iconv_strndup(void*, > const char*, size_t, const char*)': > mime-utils.cc:80: error: invalid conversion from 'char**' to 'const > char**' > mime-utils.cc:80: error: initializing argument 2 of 'size_t libiconv > (void*, const char**, size_t*, char**, size_t*)' > gmake[3]: *** [mime-utils.o] Error 1 > gmake[3]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan/ > usenet-utils' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/news/pan/work/pan-0.139' > gmake: *** [all] Error 2 > *** [do-build] Error code 1 > > Stop in /usr/ports/news/pan. > *** [build] Error code 1 > ___________________________________________________________________ > > What should I do next? Hmm. Interesting; looks like a compiler issue (the error strikes me as likely bogus). What compiler were you using? From feld at feld.me Tue Mar 12 13:56:00 2013 From: feld at feld.me (Mark Felder) Date: Tue, 12 Mar 2013 08:55:49 -0500 Subject: snd_hda and front headphones jack Message-ID: Hi guys, I seem to be having problems getting my front headphones jack to work. I've read the snd_hda man page and perhaps I'm doing this wrong, but here's my setup: dev.hdaa.4.%desc: Conexant CX20641 Audio Function Group dev.hdaa.0.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.1.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.2.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.3.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.4.nid24_original: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1 dev.hdaa.4.nid25_original: 0x02214040 as=4 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Front color=Green misc=0 dev.hdaa.4.nid26_original: 0x02a19020 as=2 seq=0 device=Mic conn=Jack ctype=1/8 loc=Front color=Pink misc=0 dev.hdaa.4.nid27_original: 0x01a1903e as=3 seq=14 device=Mic conn=Jack ctype=1/8 loc=Rear color=Pink misc=0 dev.hdaa.4.nid28_original: 0x01014010 as=1 seq=0 device=Line-out conn=Jack ctype=1/8 loc=Rear color=Green misc=0 dev.hdaa.4.nid29_original: 0x01813030 as=3 seq=0 device=Line-in conn=Jack ctype=1/8 loc=Rear color=Blue misc=0 dev.hdaa.4.nid30_original: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1 dev.hdaa.4.nid31_original: 0x9217011f as=1 seq=15 device=Speaker conn=Fixed ctype=Analog loc=0x12 color=Unknown misc=1 dev.hdaa.4.nid32_original: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1 dev.hdaa.4.nid33_original: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1 dev.hdaa.4.nid38_original: 0x40f001ff as=15 seq=15 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1 If I am looking at this right I believe I need to set nid25 to as=1 which matches the nid31 Speaker and probably also set seq=15. However, this doesn't seem to be working. Am I overlooking something obvious? Thanks From walterhurry at gmail.com Tue Mar 12 14:07:03 2013 From: walterhurry at gmail.com (Walter Hurry) Date: Tue, 12 Mar 2013 14:06:35 +0000 (UTC) Subject: Pan-0.139 won't compile References: <44zjy8lorr.fsf@lowell-desk.lan> Message-ID: On Tue, 12 Mar 2013 09:40:40 -0400, Lowell Gilbert wrote: > Walter Hurry writes: > >> Trying to upgrade /usr/ports/news/pan I get this: >> ___________________________________________________________________ >> mime-utils.cc: In function 'char* pan::__g_mime_iconv_strndup(void*, >> const char*, size_t, const char*)': >> mime-utils.cc:80: error: invalid conversion from 'char**' to 'const >> char**' >> mime-utils.cc:80: error: initializing argument 2 of 'size_t libiconv >> (void*, const char**, size_t*, char**, size_t*)' >> gmake[3]: *** [mime-utils.o] Error 1 gmake[3]: Leaving directory >> `/usr/ports/news/pan/work/pan-0.139/pan/ usenet-utils' >> gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory >> `/usr/ports/news/pan/work/pan-0.139/pan' gmake[1]: *** [all-recursive] >> Error 1 gmake[1]: Leaving directory >> `/usr/ports/news/pan/work/pan-0.139' gmake: *** [all] Error 2 *** >> [do-build] Error code 1 >> >> Stop in /usr/ports/news/pan. >> *** [build] Error code 1 >> ___________________________________________________________________ >> >> What should I do next? > > Hmm. Interesting; looks like a compiler issue (the error strikes me as > likely bogus). What compiler were you using? Well, this is 9.1-RELEASE on amd64, and I'm using the default, which I believe is the cc1plus in gcc-4.2.1 From glarkin at FreeBSD.org Tue Mar 12 15:03:55 2013 From: glarkin at FreeBSD.org (Greg Larkin) Date: Tue, 12 Mar 2013 11:03:38 -0400 Subject: Error: shared library "mysqlclient.18" does not exist In-Reply-To: <513E6001.9040206@mail.com> References: <513E0D6D.10503@mail.com> <513E1BC9.6040207@FreeBSD.org> <513E1DF8.3020408@mail.com> <513E231A.90105@FreeBSD.org> <513E26C2.9040601@mail.com> <513E29D1.8030709@FreeBSD.org> <513E31B8.2020509@mail.com> <513E4FB8.2060506@mail.com> <513E55A0.7030109@FreeBSD.org> <513E58D2.8000503@mail.com> <513E5C83.7040802@FreeBSD.org> <513E6001.9040206@mail.com> Message-ID: <513F43CA.1070204@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/11/13 6:51 PM, Jeff Tipton wrote: > On 03/12/2013 00:36, Greg Larkin wrote: On 3/11/13 6:21 PM, Jeff > Tipton wrote: >>>> On 03/12/2013 00:07, Greg Larkin wrote: On 3/11/13 5:42 PM, >>>> Jeff Tipton wrote: >>>>>>> On 03/11/2013 21:34, Jeff Tipton wrote: >>>>>>>> On 03/11/2013 21:00, Greg Larkin wrote: >>>>>>> On 3/11/13 2:47 PM, Jeff Tipton wrote: >>>>>>>>>>> On 03/11/2013 20:31, Greg Larkin wrote: On >>>>>>>>>>> 3/11/13 2:10 PM, Jeff Tipton wrote: >>>>>>>>>>>>>> On 03/11/2013 20:00, Greg Larkin wrote: >>>>>>>>>>>>>> On 3/11/13 12:59 PM, Jeff Tipton wrote: >>>>>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> I'm trying to set up security/maia, >>>>>>>>>>>>>>>>> and this is the error message I >>>>>>>>>>>>>>>>> get: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Error: shared library >>>>>>>>>>>>>>>>> "mysqlclient.18" does not exist >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Of course, the library does exist >>>>>>>>>>>>>>>>> :( >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> # ls /usr/local/lib/mysql/ >>>>>>>>>>>>>>>>> libmysqlclient.a >>>>>>>>>>>>>>>>> libmysqlclient_r.a libmysqld.a >>>>>>>>>>>>>>>>> libmysqlclient.so >>>>>>>>>>>>>>>>> libmysqlclient_r.so >>>>>>>>>>>>>>>>> libmysqlservices.a >>>>>>>>>>>>>>>>> libmysqlclient.so.18 >>>>>>>>>>>>>>>>> libmysqlclient_r.so.18 plugin >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> I googled about this, and I found >>>>>>>>>>>>>>>>> 3 things to try but none of that >>>>>>>>>>>>>>>>> was helpful here: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> 1. make a link: ln -s >>>>>>>>>>>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> /usr/local/lib/libmysqlclient.so.18 >>>>>>>>>>>>>>>>> 2. Check the root's umask and the >>>>>>>>>>>>>>>>> directory permissions if they are >>>>>>>>>>>>>>>>> correct, and they are: # umask 22 >>>>>>>>>>>>>>>>> #ll /usr/local/lib |grep mysql >>>>>>>>>>>>>>>>> lrwxr-xr-x 1 root wheel 41 Mar 11 >>>>>>>>>>>>>>>>> 16:25 libmysqlclient.so.18@ -> >>>>>>>>>>>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> drwxr-xr-x 3 root wheel 512 Mar 11 16:22 >>>>>>>>>>>>>>>>> mysql/ >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> # ll /usr/local/lib/mysql/ total >>>>>>>>>>>>>>>>> 27276 -rw-r--r-- 1 root wheel >>>>>>>>>>>>>>>>> 4844270 Mar 11 16:17 >>>>>>>>>>>>>>>>> libmysqlclient.a lrwxr-xr-x 1 >>>>>>>>>>>>>>>>> root wheel 20 Mar 11 16:22 >>>>>>>>>>>>>>>>> libmysqlclient.so@ -> >>>>>>>>>>>>>>>>> libmysqlclient.so.18 -rwxr-xr-x 1 >>>>>>>>>>>>>>>>> root wheel 3364688 Mar 11 16:22 >>>>>>>>>>>>>>>>> libmysqlclient.so.18* lrwxr-xr-x 1 >>>>>>>>>>>>>>>>> root wheel 16 Mar 11 16:22 >>>>>>>>>>>>>>>>> libmysqlclient_r.a@ -> >>>>>>>>>>>>>>>>> libmysqlclient.a lrwxr-xr-x 1 >>>>>>>>>>>>>>>>> root wheel 17 Mar 11 16:22 >>>>>>>>>>>>>>>>> libmysqlclient_r.so@ -> >>>>>>>>>>>>>>>>> libmysqlclient.so lrwxr-xr-x 1 >>>>>>>>>>>>>>>>> root wheel 17 Mar 11 16:22 >>>>>>>>>>>>>>>>> libmysqlclient_r.so.18@ -> >>>>>>>>>>>>>>>>> libmysqlclient.so -rw-r--r-- 1 >>>>>>>>>>>>>>>>> root wheel 20019340 Mar 7 15:08 >>>>>>>>>>>>>>>>> libmysqld.a -rw-r--r-- 1 root >>>>>>>>>>>>>>>>> wheel 4598 Mar 11 16:17 >>>>>>>>>>>>>>>>> libmysqlservices.a drwxr-xr-x 2 >>>>>>>>>>>>>>>>> root wheel 512 Mar 8 19:01 >>>>>>>>>>>>>>>>> plugin/ >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> 3. Update the ports tree. Ports >>>>>>>>>>>>>>>>> tree is up to date. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Could someone, please, suggest what >>>>>>>>>>>>>>>>> I could try to solve this? >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Thanks, Jeff >>>>>>>>>>>>>> Hi Jeff, >>>>>>>>>>>>>> >>>>>>>>>>>>>> At what point do you receive the error >>>>>>>>>>>>>> message? Is it when you attempt to run >>>>>>>>>>>>>> the executable built by the port? If so, >>>>>>>>>>>>>> please run the ldd command against the >>>>>>>>>>>>>> executable and post the output back >>>>>>>>>>>>>> here. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thank you, Greg >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- Greg Larkin >>>>>>>>>>>>>> >>>>>>>>>>>>>> http://www.FreeBSD.org/ - The >>>>>>>>>>>>>> Power To Serve >>>>>>>>>>>>>> http://www.sourcehosting.net/ - >>>>>>>>>>>>>> Ready. Set. Code. >>>>>>>>>>>>>> http://twitter.com/cpucycle/ - Follow >>>>>>>>>>>>>> you, follow me Thank you, Greg, for the >>>>>>>>>>>>>> reply. I get the error message while >>>>>>>>>>>>>> compiling security/maia port. mysql >>>>>>>>>>>>>> client itself is working ok, I can >>>>>>>>>>>>>> connect to my database server. >>>>>>>>>>>>>> >>>>>>>>>>>>>> ldd output: # ldd /usr/local/bin/mysql >>>>>>>>>>>>>> /usr/local/bin/mysql: libreadline.so.8 >>>>>>>>>>>>>> => /lib/libreadline.so.8 (0x800ab5000) >>>>>>>>>>>>>> libz.so.6 => /lib/libz.so.6 (0x800cf5000) >>>>>>>>>>>>>> libstdc++.so.6 => /usr/lib/libstdc++.so.6 >>>>>>>>>>>>>> (0x800f09000) libm.so.5 => /lib/libm.so.5 >>>>>>>>>>>>>> (0x801219000) libgcc_s.so.1 => >>>>>>>>>>>>>> /lib/libgcc_s.so.1 (0x80143a000) >>>>>>>>>>>>>> libthr.so.3 => /lib/libthr.so.3 >>>>>>>>>>>>>> (0x801647000) libc.so.7 => >>>>>>>>>>>>>> /lib/libc.so.7 (0x801869000) >>>>>>>>>>>>>> libncurses.so.8 => /lib/libncurses.so.8 >>>>>>>>>>>>>> (0x801bbc000) >>>>>>>>>>>>>> >>>>>>>>>>> Hi Jeff, >>>>>>>>>>> >>>>>>>>>>> Can you post the relevant bits of build output >>>>>>>>>>> where the error message shows up? If it >>>>>>>>>>> happens during the configure phase of the port >>>>>>>>>>> build, you'll also want to post the end of the >>>>>>>>>>> config.log file found in the port work >>>>>>>>>>> directory. >>>>>>>>>>> >>>>>>>>>>> Thank you, Greg >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> I tried to run "make" several times, and >>>>>>>>>>> previously some build depends were compiled. >>>>>>>>>>> But now the "work" directory doesn't even get >>>>>>>>>>> created, and the process stops immediately: >>>>>>>>>>> >>>>>>>>>>> /usr/ports/security/maia# make install clean >>>>>>>>>>> ===> maia-1.0.3.r1575_3 depends on shared >>>>>>>>>>> library: mysqlclient.18 - not found ===> >>>>>>>>>>> Verifying install for mysqlclient.18 in >>>>>>>>>>> /usr/ports/databases/mysql55-client ===> >>>>>>>>>>> Returning to build of maia-1.0.3.r1575_3 Error: >>>>>>>>>>> shared library "mysqlclient.18" does not exist >>>>>>>>>>> *** [lib-depends] Error code 1 >>>>>>>>>>> >>>>>>>>>>> Stop in /basejail/usr/ports/security/maia. >>>>>>>>>>> /usr/ports/security/maia# >>>>>>>>>>> >>>>>>>>>>> >>>>>>> Ok, it looks like something is messed up with your >>>>>>> ldconfig search path. To confirm that, please run this >>>>>>> command and post results back here: >>>>>>> >>>>>>> ldconfig -r| grep mysql >>>>>>> >>>>>>> Thank you, Greg >>>>>>>>> _______________________________________________ >>>>>>>>> freebsd-questions at freebsd.org mailing list >>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>>>>>> >>>>>>>>> To unsubscribe, send any mail to >>>>>>>>> "freebsd-questions-unsubscribe at freebsd.org" >>>>>>>> # ldconfig -r| grep mysql search directories: >>>>>>>> /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> > >>>>>>>> 218:-lmysqlclient.18 => /usr/local/lib/libmysqlclient.so.18 >>>>>>>> 219:-lmysqlclient.18 => >>>>>>>> /usr/local/lib/mysql/libmysqlclient.so.18 >>>>>>>> 220:-lmysqlclient_r.18 => >>>>>>>> /usr/local/lib/mysql/libmysqlclient_r.so.18 >>>>>>>> >>>>>>>> I installed both mysql client and server from ports. >>>>>>>> The versions are: mysql-client-5.5.30 >>>>>>>> mysql-server-5.5.30 >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> freebsd-questions at freebsd.org mailing list >>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>>>>> >>>>>>>> To unsubscribe, send any mail to >>>>>>>> "freebsd-questions-unsubscribe at freebsd.org" >>>>>>> Thank you, Greg. As a result, databases/mysql55-client >>>>>>> got rebuilt, so I lost the beginning of the log. The >>>>>>> end is this: >>>>>>> >>>>>>> [100%] Built target mysqlshow Linking CXX executable >>>>>>> mysqlslap cd >>>>>>> /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/client >>>>>>> >>>>>>> >>>>>>> >>>>>>> > >>>>>>> && /usr/local/bin/cmake -E cmake_link_script >>>>>>> CMakeFiles/mysqlslap.dir/link.txt --verbose=1 >>>>>>> /usr/bin/c++ -O2 -pipe -fno-strict-aliasing -Wall >>>>>>> -Wno-unused-parameter -fno-implicit-templates >>>>>>> -fno-exceptions -fno-rtti -O2 -pipe >>>>>>> -fno-strict-aliasing -DDBUG_OFF >>>>>>> CMakeFiles/mysqlslap.dir/mysqlslap.c.o -o mysqlslap >>>>>>> -pthread ../libmysql/libmysqlclient.a -pthread -lz -lm >>>>>>> /usr/local/bin/cmake -E cmake_progress_report >>>>>>> /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/CMakeFiles >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> > >>>>>>> [100%] Built target mysqlslap /usr/local/bin/cmake -E >>>>>>> cmake_progress_start >>>>>>> /var/ports/basejail/usr/ports/databases/mysql55-client/work/mysql-5.5.30/CMakeFiles >>>>>>> >>>>>>> >>>>>>> >>>>>>> > >>>>>>> 0 >>>>>>> ===> Installing for mysql-client-5.5.30 ===> >>>>>>> Generating temporary packing list ===> Checking if >>>>>>> databases/mysql55-client already installed ===> >>>>>>> mysql-client-5.5.30 is already installed You may wish >>>>>>> to ``make deinstall'' and install this port again by >>>>>>> ``make reinstall'' to upgrade it properly. If you >>>>>>> really wish to overwrite the old port of >>>>>>> databases/mysql55-client without deleting it first, set >>>>>>> the variable "FORCE_PKG_REGISTER" in your environment >>>>>>> or the "make install" command line. *** >>>>>>> [check-already-installed] Error code 1 >>>>>>> >>>>>>> Stop in /basejail/usr/ports/databases/mysql55-client. + >>>>>>> echo '===> Returning to build of maia-1.0.3.r1575_3' >>>>>>> ===> Returning to build of maia-1.0.3.r1575_3 + >>>>>>> /sbin/ldconfig -32 -r + /usr/bin/grep -vwF -e >>>>>>> /usr/local/lib/compat/pkg + /usr/bin/grep -qwE -e >>>>>>> '-lmysqlclient\.18' + echo 'Error: shared library >>>>>>> "mysqlclient.18" does not exist' Error: shared library >>>>>>> "mysqlclient.18" does not exist + false >>>>>>> /usr/ports/security/maia# >>>> Try one more test for me - deselect the "RAR" option in the >>>> maia port, run "make clean build" and let me know what >>>> happens. >>>>> _______________________________________________ >>>>> freebsd-questions at freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>> To unsubscribe, send any mail to >>>>> "freebsd-questions-unsubscribe at freebsd.org" >>>> Ok, deselected RAR. Output: >>>> >>>> /usr/ports/security/maia# make clean build ===> Cleaning >>>> for maia-1.0.3.r1575_3 ===> Found saved configuration for >>>> maia-1.0.3.r1575_3 ===> Extracting for maia-1.0.3.r1575_3 >>>> => SHA256 Checksum OK for maia-1.0.3-r1575.tar.gz. ===> >>>> Patching for maia-1.0.3.r1575_3 ===> maia-1.0.3.r1575_3 >>>> depends on shared library: mysqlclient.18 - found ===> >>>> Configuring for maia-1.0.3.r1575_3 /usr/ports/security/maia# >>>> > Ok, that means you can go and run "make install" if you don't > actually need the RAR option. If you do need that option, then I > need to look into what the port is trying to do and then file a PR > to fix it. > > Regards, Greg > > Yes, it starts building. Thank you! I'm not sure, though, what > exactly I am losing. I tought RAR is for scanning RARed > attatchments (which is important), but then there's also UNRAR > which I left selected. Hi Jeff, Good news and thanks for the update. The maia Makefile seems to imply that RAR support can be provided either by archivers/rar or archivers/unrar, and if so, those options should likely be exclusive. I found some problems related to detecting the MySQL dependencies in general, too. I'll create a PR to fix these issues. In the mean time, can you test whether maia does what you want with just the UNRAR option enabled? Thank you, Greg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE/Q8kACgkQ0sRouByUApDjIwCgqujnwXRPxrNq4/ARjK6Tv98m 5qsAn37lrANQqCp9op1Y4WPZXz1gcYn/ =NQdO -----END PGP SIGNATURE----- From suseuser04 at lajt.hu Tue Mar 12 16:47:09 2013 From: suseuser04 at lajt.hu (=?UTF-8?Q?Istvan_Gabor?=) Date: Tue, 12 Mar 2013 17:45:07 +0100 Subject: =?UTF-8?Q?configure_recursively_and_build_question?= Message-ID: <33e0ec72.507f04c6.513f5b93.143fa@lajt.hu> Hello: As there are no compiled FreeBSD 9.1 packages for pkg_tools I decided to build them. Last I started to build kde3. First I issued make configure-recursive in /usr/ports/x11/kde3, then make install clean, and left the computer for overnight to work. I expected a successful build by the morning but instead I found a screen requiring some config options (for apache). I selected the options and the build went on. But later other config windows came up, so far for mysqlclient, sane-backends, tk, tcl, libxine and sdl. So my question are: What is configure-recursive good for then? I thought it is for preventing interactions during the build process. Ho can I really configure everything in one step and leave the computer alone? Second, after I've done a configure-recursive, how can I start it over from scratch in case I want to change some config option? If I reissue make configure-recursive, I get only no configuration needed messages. Thanks, Istvan From jeff.t at mail.com Tue Mar 12 16:52:03 2013 From: jeff.t at mail.com (Jeff Tipton) Date: Tue, 12 Mar 2013 18:47:20 +0200 Subject: Error: shared library "mysqlclient.18" does not exist In-Reply-To: <513F43CA.1070204@FreeBSD.org> References: <513E0D6D.10503@mail.com> <513E1BC9.6040207@FreeBSD.org> <513E1DF8.3020408@mail.com> <513E231A.90105@FreeBSD.org> <513E26C2.9040601@mail.com> <513E29D1.8030709@FreeBSD.org> <513E31B8.2020509@mail.com> <513E4FB8.2060506@mail.com> <513E55A0.7030109@FreeBSD.org> <513E58D2.8000503@mail.com> <513E5C83.7040802@FreeBSD.org> <513E6001.9040206@mail.com> <513F43CA.1070204@FreeBSD.org> Message-ID: <513F5C18.6050806@mail.com> On 03/12/2013 17:03, Greg Larkin wrote: > Hi Jeff, Good news and thanks for the update. The maia Makefile seems > to imply that RAR support can be provided either by archivers/rar or > archivers/unrar, and if so, those options should likely be exclusive. > I found some problems related to detecting the MySQL dependencies in > general, too. I'll create a PR to fix these issues. In the mean time, > can you test whether maia does what you want with just the UNRAR > option enabled? Thank you, Greg -----BEGIN PGP SIGNATURE----- Version: > GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - > http://www.enigmail.net/ > iEYEARECAAYFAlE/Q8kACgkQ0sRouByUApDjIwCgqujnwXRPxrNq4/ARjK6Tv98m > 5qsAn37lrANQqCp9op1Y4WPZXz1gcYn/ =NQdO -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions To > unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" Hi Greg, Thank you very much, your really helped me. Ok, I think I will test Maia with RARed eicar; only it will still take some time until I finish the whole mailsystem. I'll report back as soon as I get to the point of testing. Jeff From paulz at vanderzwan.org Tue Mar 12 17:17:42 2013 From: paulz at vanderzwan.org (Paul van der Zwan) Date: Tue, 12 Mar 2013 18:17:33 +0100 Subject: Pan-0.139 won't compile In-Reply-To: References: Message-ID: <3D3AAC90-E883-431E-9772-14894EBEFC7C@vanderzwan.org> On 12 Mar 2013, at 0:41 , Walter Hurry wrote: > Trying to upgrade /usr/ports/news/pan I get this: > ___________________________________________________________________ > mime-utils.cc: In function 'char* pan::__g_mime_iconv_strndup(void*, > const char*, size_t, const char*)': > mime-utils.cc:80: error: invalid conversion from 'char**' to 'const > char**' > mime-utils.cc:80: error: initializing argument 2 of 'size_t libiconv > (void*, const char**, size_t*, char**, size_t*)' > gmake[3]: *** [mime-utils.o] Error 1 > gmake[3]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan/ > usenet-utils' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/news/pan/work/pan-0.139' > gmake: *** [all] Error 2 > *** [do-build] Error code 1 > > Stop in /usr/ports/news/pan. > *** [build] Error code 1 > ___________________________________________________________________ > > What should I do next? I ran into the same problem. I tried removing the cast on line 80 and now it compiles ( and seems to work, no crashes so far.) Paul From freebsd-questions-local at be-well.ilk.org Tue Mar 12 17:33:05 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue, 12 Mar 2013 13:32:56 -0400 Subject: iconv issue (Re: Pan-0.139 won't compile) In-Reply-To: (Walter Hurry's message of "Tue, 12 Mar 2013 14:06:35 +0000 (UTC)") References: <44zjy8lorr.fsf@lowell-desk.lan> Message-ID: <44vc8wle0n.fsf_-_@lowell-desk.lan> Walter Hurry writes: > On Tue, 12 Mar 2013 09:40:40 -0400, Lowell Gilbert wrote: > >> Walter Hurry writes: >> >>> Trying to upgrade /usr/ports/news/pan I get this: >>> ___________________________________________________________________ >>> mime-utils.cc: In function 'char* pan::__g_mime_iconv_strndup(void*, >>> const char*, size_t, const char*)': >>> mime-utils.cc:80: error: invalid conversion from 'char**' to 'const >>> char**' >>> mime-utils.cc:80: error: initializing argument 2 of 'size_t libiconv >>> (void*, const char**, size_t*, char**, size_t*)' >>> gmake[3]: *** [mime-utils.o] Error 1 gmake[3]: Leaving directory >>> `/usr/ports/news/pan/work/pan-0.139/pan/ usenet-utils' >>> gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory >>> `/usr/ports/news/pan/work/pan-0.139/pan' gmake[1]: *** [all-recursive] >>> Error 1 gmake[1]: Leaving directory >>> `/usr/ports/news/pan/work/pan-0.139' gmake: *** [all] Error 2 *** >>> [do-build] Error code 1 >>> >>> Stop in /usr/ports/news/pan. >>> *** [build] Error code 1 >>> ___________________________________________________________________ >>> >>> What should I do next? >> >> Hmm. Interesting; looks like a compiler issue (the error strikes me as >> likely bogus). What compiler were you using? > > Well, this is 9.1-RELEASE on amd64, and I'm using the default, which I > believe is the cc1plus in gcc-4.2.1 On closer look, the error isn't bogus, but looks like it results from an unnecessary pair of type casts. There's nothing in the autotools setups about iconv, nor are there any patches in the port, so I'm not seeing an obvious candidate for why this broke. My guess would be that this works if built with the base iconv, because the test builds must have worked. That is not guaranteed, because the port changes were both updating the version of pan and updating glib/gtk updates as part of a wider set of updates. I'll put in a PR, because I won't have a chance to look more at this today. Be well. From freebsd-questions-local at be-well.ilk.org Tue Mar 12 18:21:54 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue, 12 Mar 2013 14:21:46 -0400 Subject: iconv issue (Re: Pan-0.139 won't compile) In-Reply-To: <44vc8wle0n.fsf_-_@lowell-desk.lan> (Lowell Gilbert's message of "Tue, 12 Mar 2013 13:32:56 -0400") References: <44zjy8lorr.fsf@lowell-desk.lan> <44vc8wle0n.fsf_-_@lowell-desk.lan> Message-ID: <444ngglbr9.fsf@lowell-desk.lan> Lowell Gilbert writes: > I'll put in a PR, because I won't have a chance to look more at this > today. ports/176887 From freebsd-questions-local at be-well.ilk.org Tue Mar 12 19:50:19 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue, 12 Mar 2013 15:50:10 -0400 Subject: iconv issue (Re: Pan-0.139 won't compile) In-Reply-To: <444ngglbr9.fsf@lowell-desk.lan> (Lowell Gilbert's message of "Tue, 12 Mar 2013 14:21:46 -0400") References: <44zjy8lorr.fsf@lowell-desk.lan> <44vc8wle0n.fsf_-_@lowell-desk.lan> <444ngglbr9.fsf@lowell-desk.lan> Message-ID: <44vc8wjt3h.fsf@lowell-desk.lan> And it's already been fixed. From walterhurry at gmail.com Tue Mar 12 19:56:32 2013 From: walterhurry at gmail.com (Walter Hurry) Date: Tue, 12 Mar 2013 19:56:12 +0000 (UTC) Subject: Pan-0.139 won't compile References: <3D3AAC90-E883-431E-9772-14894EBEFC7C@vanderzwan.org> Message-ID: On Tue, 12 Mar 2013 18:17:33 +0100, Paul van der Zwan wrote: > On 12 Mar 2013, at 0:41 , Walter Hurry wrote: > >> Trying to upgrade /usr/ports/news/pan I get this: >> ___________________________________________________________________ >> mime-utils.cc: In function 'char* pan::__g_mime_iconv_strndup(void*, >> const char*, size_t, const char*)': >> mime-utils.cc:80: error: invalid conversion from 'char**' to 'const >> char**' >> mime-utils.cc:80: error: initializing argument 2 of 'size_t libiconv >> (void*, const char**, size_t*, char**, size_t*)' >> gmake[3]: *** [mime-utils.o] Error 1 gmake[3]: Leaving directory >> `/usr/ports/news/pan/work/pan-0.139/pan/ usenet-utils' >> gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory >> `/usr/ports/news/pan/work/pan-0.139/pan' gmake[1]: *** [all-recursive] >> Error 1 gmake[1]: Leaving directory >> `/usr/ports/news/pan/work/pan-0.139' gmake: *** [all] Error 2 *** >> [do-build] Error code 1 >> >> Stop in /usr/ports/news/pan. >> *** [build] Error code 1 >> ___________________________________________________________________ >> >> What should I do next? > > I ran into the same problem. I tried removing the cast on line 80 and > now it compiles ( and seems to work, no crashes so far.) Yes that works, thanks. Thanks also to Lowell Gilbert for his assistance, and to those concerned with identifying the patch (so quickly, too). http://www.freebsd.org/cgi/query-pr.cgi?pr=176887 Good work all round! From walterhurry at gmail.com Tue Mar 12 20:09:25 2013 From: walterhurry at gmail.com (Walter Hurry) Date: Tue, 12 Mar 2013 20:09:10 +0000 (UTC) Subject: iconv issue (Re: Pan-0.139 won't compile) References: <44zjy8lorr.fsf@lowell-desk.lan> <44vc8wle0n.fsf_-_@lowell-desk.lan> <444ngglbr9.fsf@lowell-desk.lan> <44vc8wjt3h.fsf@lowell-desk.lan> Message-ID: On Tue, 12 Mar 2013 15:50:10 -0400, Lowell Gilbert wrote: > And it's already been fixed. Well done, and thanks! If you look at my headers, you'll see I'm using it now. From freebsd-questions-local at be-well.ilk.org Tue Mar 12 20:17:33 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue, 12 Mar 2013 16:17:26 -0400 Subject: configure recursively and build question In-Reply-To: <33e0ec72.507f04c6.513f5b93.143fa@lajt.hu> (Istvan Gabor's message of "Tue, 12 Mar 2013 17:45:07 +0100") References: <33e0ec72.507f04c6.513f5b93.143fa@lajt.hu> Message-ID: <44ppz4jru1.fsf@lowell-desk.lan> Istvan Gabor writes: > As there are no compiled FreeBSD 9.1 packages for pkg_tools I decided to build them. > Last I started to build kde3. First I issued make configure-recursive in > /usr/ports/x11/kde3, then make install clean, and left the computer for overnight to work. > I expected a successful build by the morning but instead I found a screen requiring some > config options (for apache). I selected the options and the build went on. > But later other config windows came up, so far for mysqlclient, sane-backends, > tk, tcl, libxine and sdl. So my question are: > > What is configure-recursive good for then? I thought it is for preventing interactions > during the build process. Ho can I really configure everything in one step and leave > the computer alone? First of all, I think you mean config-recursive. Second, config-recursive only does the configuration of the port options. Third, handling of ports options has recently been changed to a new system. See ; intended for porters but revealing much internal workings. There may be some bugs (I think I've noticed a few but haven't looked much into it. You might want to ask the ports list about that. Fourth (and, you'll be glad to hear, finally) some ports are interactive for reasons beyond options. See the manual for ports(7), noting the environment variables INTERACTIVE and BATCH. > Second, after I've done a configure-recursive, how can I start it over from scratch in case > I want to change some config option? If I reissue make configure-recursive, > I get only no configuration needed messages. If you really want to start from scratch, you can use "rmconfig-recursive" on the dependent port. Or to start *all* ports from scratch, remove the contents of /var/db/ports/. But generally you won't want to do that. What you really want is most likely to be for one particular port, or for its full tree of dependencies. In the first case, go to that port's directory and just do a "make config" there. In the second case, go to that port's directory and use "make showconfig-recursive" to figure out which ports actually need to be changed. I hope that helps. From illoai at gmail.com Tue Mar 12 22:22:11 2013 From: illoai at gmail.com (illoai at gmail.com) Date: Tue, 12 Mar 2013 18:22:10 -0400 Subject: FBSD 9.1.0 - make buildworld running for 1.5 hours??? In-Reply-To: References: <1BBFCBC0B60383A7EC5EC83C@utd71538.campus.ad.utdallas.edu> <1362177513.29467.21.camel@z6000.lenzicasa> Message-ID: On 7 March 2013 08:09, George Kontostanos wrote: > On Sat, Mar 2, 2013 at 12:38 AM, Sergio de Almeida Lenzi > wrote: >> 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 ... > > You can easily go to -j16 if the box is not doing anything else. With 16 cores I'll bet the bottleneck is IO. If it were me, I'd do the build in a tmpfs(5). -- -- From freebsd at chthonixia.net Tue Mar 12 23:39:11 2013 From: freebsd at chthonixia.net (Joe Altman) Date: Tue, 12 Mar 2013 19:35:29 -0400 Subject: snd_hda and front headphones jack In-Reply-To: References: Message-ID: <20130312233529.GA68834@whisperer.chthonixia.net> On Tue, Mar 12, 2013 at 08:55:49AM -0500, Mark Felder wrote: > Hi guys, > > I seem to be having problems getting my front headphones jack to work. > > > If I am looking at this right I believe I need to set nid25 to as=1 which > matches the nid31 Speaker and probably also set seq=15. However, this > doesn't seem to be working. Am I overlooking something obvious? In XMMS, which is what I use, I have to choose the Front Analog (pcm 2) via Options => Preferences => Configure => Output Plugin for the front headphone jack. Normally, I have it set to Rear Digital (pcm 3) for speakers. HTH, Joe From bc979 at lafn.org Wed Mar 13 01:36:24 2013 From: bc979 at lafn.org (Doug Hardie) Date: Tue, 12 Mar 2013 18:36:15 -0700 Subject: Using bsdinstall to create MBR Message-ID: <9EA95DBE-04D0-4AAE-9ED8-BCDAFD6AEF55@lafn.org> I am trying to use bsdinstall to create a MBR partitioned disk. I can set the partition type to MBR fine. However, when trying to add in slices I can't figure out what to enter for the parameters. Everything I have tried gives an error message. I wanted one for / and one for swap. How do I create the two slices? From freebsd at edvax.de Wed Mar 13 01:48:51 2013 From: freebsd at edvax.de (Polytropon) Date: Wed, 13 Mar 2013 02:48:48 +0100 Subject: Using bsdinstall to create MBR In-Reply-To: <9EA95DBE-04D0-4AAE-9ED8-BCDAFD6AEF55@lafn.org> References: <9EA95DBE-04D0-4AAE-9ED8-BCDAFD6AEF55@lafn.org> Message-ID: <20130313024848.391b2eea.freebsd@edvax.de> On Tue, 12 Mar 2013 18:36:15 -0700, Doug Hardie wrote: > I am trying to use bsdinstall to create a MBR partitioned disk. > I can set the partition type to MBR fine. However, when trying > to add in slices I can't figure out what to enter for the parameters. > Everything I have tried gives an error message. I wanted one for / > and one for swap. How do I create the two slices? In what step of 2.7.2 (Manual Partitioning) do you experience problems? Can you provide the text of the error message? http://www.freebsd.org/doc/handbook/bsdinstall-partitioning.html This chapter covers GPT and MBR partitioning with the new bsdinstall program. If you don't have success using the installer, just try to use the command line's default tools. With gpart you can create GPT and MBR partitioning, but you can also use the "old-fashioned" tools like fdisk and disklabel / bsdlabel. You should be able to access them via the shell. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wblock at wonkity.com Wed Mar 13 01:50:50 2013 From: wblock at wonkity.com (Warren Block) Date: Tue, 12 Mar 2013 19:50:43 -0600 (MDT) Subject: Using bsdinstall to create MBR In-Reply-To: <9EA95DBE-04D0-4AAE-9ED8-BCDAFD6AEF55@lafn.org> References: <9EA95DBE-04D0-4AAE-9ED8-BCDAFD6AEF55@lafn.org> Message-ID: On Tue, 12 Mar 2013, Doug Hardie wrote: > I am trying to use bsdinstall to create a MBR partitioned disk. I can > set the partition type to MBR fine. However, when trying to add in > slices I can't figure out what to enter for the parameters. > Everything I have tried gives an error message. I wanted one for / > and one for swap. How do I create the two slices? http://forums.freebsd.org/showpost.php?p=149210&postcount=13 From erichsfreebsdlist at alogt.com Wed Mar 13 03:15:03 2013 From: erichsfreebsdlist at alogt.com (Erich Dollansky) Date: Wed, 13 Mar 2013 09:35:06 +0700 Subject: Using bsdinstall to create MBR In-Reply-To: <9EA95DBE-04D0-4AAE-9ED8-BCDAFD6AEF55@lafn.org> References: <9EA95DBE-04D0-4AAE-9ED8-BCDAFD6AEF55@lafn.org> Message-ID: <20130313093506.76dd3d6f@X220.ovitrap.com> Hi, On Tue, 12 Mar 2013 18:36:15 -0700 Doug Hardie wrote: > I am trying to use bsdinstall to create a MBR partitioned disk. I > can set the partition type to MBR fine. However, when trying to add > in slices I can't figure out what to enter for the parameters. > Everything I have tried gives an error message. I wanted one for / > and one for swap. How do I create the two slices? > I would recommend gpart. You can find out more here: http://www.wonkity.com/~wblock/docs/html/disksetup.html Erich > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org" From bc979 at lafn.org Wed Mar 13 04:25:50 2013 From: bc979 at lafn.org (Doug Hardie) Date: Tue, 12 Mar 2013 21:25:46 -0700 Subject: Using bsdinstall to create MBR In-Reply-To: References: <9EA95DBE-04D0-4AAE-9ED8-BCDAFD6AEF55@lafn.org> Message-ID: On 12 March 2013, at 18:50, Warren Block wrote: > On Tue, 12 Mar 2013, Doug Hardie wrote: > >> I am trying to use bsdinstall to create a MBR partitioned disk. I can set the partition type to MBR fine. However, when trying to add in slices I can't figure out what to enter for the parameters. Everything I have tried gives an error message. I wanted one for / and one for swap. How do I create the two slices? > > http://forums.freebsd.org/showpost.php?p=149210&postcount=13 > Thank you !!!!. That shows the correct procedure. I never would have guessed that. It works just fine. This needs to be included in the handbook. From justasic at gmail.com Wed Mar 13 05:55:40 2013 From: justasic at gmail.com (Justin Crawford) Date: Tue, 12 Mar 2013 22:55:43 -0700 Subject: Freebsd 9.1 kernel compile with Physical Address Extension Message-ID: <514014DF.1080604@gmail.com> Hi, I have been trying to compile the 9.1 kernel for an older system which has PAE support, unfortunately because -Werror is enabled, I cannot complete the compile (see warnings below). I am running a fresh install of FreeBSD 9.1-RELEASE. I can successfully compile the kernel without PAE. Kernel config: http://pastebin.com/5mzQagKM cc1: warnings being treated as errors /usr/src/sys/cam/ctl/ctl_frontend_cam_sim.c: In function 'cfcs_datamove': /usr/src/sys/cam/ctl/ctl_frontend_cam_sim.c:423: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] /usr/src/sys/cam/ctl/ctl_frontend_cam_sim.c:449: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *** [ctl_frontend_cam_sim.o] Error code 1 I am new to the mailing lists (and mailing lists in general) so let me know if you need any more information. Thanks From baerks at t-online.de Wed Mar 13 06:20:56 2013 From: baerks at t-online.de (Sabine Baer) Date: Wed, 13 Mar 2013 07:20:42 +0100 Subject: man mailcap Message-ID: <20130313062042.GF19073@amd.catfish.ddns.org> Hello, some time ago I upgraded from 7.6 to 8.3. Now I see that there's no manpage for mailcap anymore. I've got a backup of the old manpage, but why does it lack on 8.n? My .mailcap files do work but I would add something and was in need of a little help from the manpage. $apropos mailcap gives only |run-mailcap(1), view(1), see(1), edit(1), compose(1), print(1) - |execute programs via entries in the mailcap file Mail::Cap(3) |- Parse mailcap files which is a crap because eg 'view' is some kind of 'vim'. Sabine -- "Wissenschaftlich betrachtet wird das H?uschen kaputt sein." (Th. Waschke in dswc auf die Frage eines wissenschftlich Interessierten, was mit einem Holzhaus, in dem eine Atombombe gezuendet wird, passiere.) From paul at ifdnrg.com Wed Mar 13 14:59:21 2013 From: paul at ifdnrg.com (Paul Macdonald) Date: Wed, 13 Mar 2013 14:59:16 +0000 Subject: /23 static routing question Message-ID: <51409444.1090803@ifdnrg.com> Hi, I have added an IP of the 2nd group of 254 addresses in a /23. let's call them 100.100.98.0 and 100.100.99.0 what's the correct way to set up the routing table for this and how my rc.conf should look Currently netstat shows something like the below Destination Gateway Flags Refs Use Netif Expire default 100.100.98.254 UGS 0 111301074 bge0 100.100.98.0 link#1 U 0 1470707172 bge0 But i suspect i want: Internet: Destination Gateway Flags Refs Use Netif Expire default 100.100.98.254 UGS 0 111301074 bge0 100.100.98.0 link#1 U 0 1470707172 bge0 100.100.99.0 link#1 U 0 1470707172 bge0 or 100.100.98.0/23 link#1 U 0 1470707172 bge0 many thanks Paul. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul at ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- High Specification Dedicated Servers from ?100.00pm ---------------------------------------------------- From jnagyjr1978 at gmail.com Wed Mar 13 15:35:05 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Wed, 13 Mar 2013 10:34:59 -0500 Subject: Problems Printing In-Reply-To: <5140973A.1080807@bananmonarki.se> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> <513666B7.4080708@gmail.com> <20130306054701.GA2295@tinyCurrent> <513CDE73.4010505@gmail.com> <5140973A.1080807@bananmonarki.se> Message-ID: <51409CA3.1060007@gmail.com> On 03/13/13 10:11, Bernt Hansson wrote: > On 2013-03-10 20:26, Joseph A. Nagy, Jr wrote: >> On 03/05/13 23:47, Matthias Apitz wrote: >>> El d?a Tuesday, March 05, 2013 a las 03:42:15PM -0600, Joseph A. >>> Nagy, Jr escribi?: >> > Canon pixma mp210. Is not 100% supported under cups. > > > Surprise surprise -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From paul at ifdnrg.com Wed Mar 13 15:37:27 2013 From: paul at ifdnrg.com (Paul Macdonald) Date: Wed, 13 Mar 2013 15:37:29 +0000 Subject: SOLVED /23 static routing question In-Reply-To: <51409444.1090803@ifdnrg.com> References: <51409444.1090803@ifdnrg.com> Message-ID: <51409D39.6030107@ifdnrg.com> On 13/03/2013 14:59, Paul Macdonald wrote: > > Hi, > > I have added an IP of the 2nd group of 254 addresses in a /23. > > let's call them 100.100.98.0 and 100.100.99.0 > > what's the correct way to set up the routing table for this and how my > rc.conf should look > > Currently netstat shows something like the below > > Destination Gateway Flags Refs Use Netif Expire > default 100.100.98.254 UGS 0 111301074 bge0 > 100.100.98.0 link#1 U 0 1470707172 bge0 > > But i suspect i want: > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 100.100.98.254 UGS 0 111301074 bge0 > 100.100.98.0 link#1 U 0 1470707172 bge0 > 100.100.99.0 link#1 U 0 1470707172 bge0 > > or > 100.100.98.0/23 link#1 U 0 1470707172 bge0 > > restarting routing seemed to do this fine...:P /" FreeBSD will automatically identify any hosts (//test0//in the example) on the local Ethernet and add a route for that host, directly to it over the Ethernet interface, //ed0"// /http://www.freebsd.org/doc/handbook/network-routing.html From guru at unixarea.de Wed Mar 13 18:52:00 2013 From: guru at unixarea.de (Matthias Apitz) Date: Wed, 13 Mar 2013 19:51:44 +0100 Subject: Problems Printing In-Reply-To: <51409CA3.1060007@gmail.com> References: <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> <513666B7.4080708@gmail.com> <20130306054701.GA2295@tinyCurrent> <513CDE73.4010505@gmail.com> <5140973A.1080807@bananmonarki.se> <51409CA3.1060007@gmail.com> Message-ID: <20130313185143.GA1222@tiny.Sisis.de> El d?a Wednesday, March 13, 2013 a las 10:34:59AM -0500, Joseph A. Nagy, Jr escribi?: > On 03/13/13 10:11, Bernt Hansson wrote: > > On 2013-03-10 20:26, Joseph A. Nagy, Jr wrote: > >> On 03/05/13 23:47, Matthias Apitz wrote: > >>> El d?a Tuesday, March 05, 2013 a las 03:42:15PM -0600, Joseph A. > >>> Nagy, Jr escribi?: > >> > > Canon pixma mp210. Is not 100% supported under cups. > > > > > > > > Surprise surprise Whatever this means if something "is not 100% supported under cups", if the printer in question understands Postscript or PCL it will be possible with (or without) CUPS to print nearly any file to it. The OP should provide the detailed information he was asked for, or he is on his own and we can close this thread. matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru at unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From cpet at sdf.org Wed Mar 13 20:54:56 2013 From: cpet at sdf.org (Chris Petrik) Date: Wed, 13 Mar 2013 14:54:45 -0600 Subject: Problems Printing In-Reply-To: <51409CA3.1060007@gmail.com> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> <513666B7.4080708@gmail.com> <20130306054701.GA2295@tinyCurrent> <513CDE73.4010505@gmail.com> <5140973A.1080807@bananmonarki.se> <51409CA3.1060007@gmail.com> Message-ID: <5140E795.1040305@sdf.org> On 03/13/2013 09:34 AM, Joseph A. Nagy, Jr wrote: > On 03/13/13 10:11, Bernt Hansson wrote: >> On 2013-03-10 20:26, Joseph A. Nagy, Jr wrote: >>> On 03/05/13 23:47, Matthias Apitz wrote: >>>> El d?a Tuesday, March 05, 2013 a las 03:42:15PM -0600, Joseph A. >>>> Nagy, Jr escribi?: >>> >> Canon pixma mp210. Is not 100% supported under cups. >> >> >> > > Surprise surprise > should of been done before posting here if said printer is supported or not. From andre at drenet.info Wed Mar 13 21:26:30 2013 From: andre at drenet.info (Andre Goree) Date: Wed, 13 Mar 2013 17:26:26 -0400 Subject: Issue with building custom kernel Message-ID: I seem to be having trouble building my custom kernel. I've removed several things that I believe were unnecessary, and added Linux support, but I don't think I'm missing anything that is very important. Here is the last few lines of the build: ===> zlib (all) /usr/local/libexec/ccache/world/cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/BUILD130313/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/BUILD130313 -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c /usr/src/sys/modules/zlib/../../net/zlib.c ld -d -warn-common -r -d -o zlib.ko.debug zlib.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk zlib.ko.debug export_syms | xargs -J% objcopy % zlib.ko.debug objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols objcopy --strip-debug --add-gnu-debuglink=zlib.ko.symbols zlib.ko.debug zlib.ko 1 error *** [buildkernel] Error code 2 1 error *** [buildkernel] Error code 2 1 error Here is my KERNCONF: http://www.drenet.net/BUILD130313 I've also created a diff of what's missing from my configuration compared to GENERIC: http://www.drenet.net/kern_diff.txt Thanks in advance for any guidance you can provide! -- Andre Goree andre at drenet.info From demelier.david at gmail.com Wed Mar 13 21:30:21 2013 From: demelier.david at gmail.com (David Demelier) Date: Wed, 13 Mar 2013 22:30:15 +0100 Subject: Disable liberation fonts Message-ID: <5140EFE7.7020508@gmail.com> Hello, I've installed editors/libreoffice, but that port requires liberation fonts. I have nothing against that but when liberations font is installed the fonts looks so ugly in firefox and sometime when I click links, all the text in the page get bold for a second, it's just annoying. I'm not used to fontconfig sadly, I just want to disable every liberation fonts but not deinstall it (to use it if needed in libreoffice). Regards, David. From ml at my.gd Wed Mar 13 21:49:14 2013 From: ml at my.gd (Damien Fleuriot) Date: Wed, 13 Mar 2013 22:43:40 +0100 Subject: Issue with building custom kernel In-Reply-To: References: Message-ID: On 13 Mar 2013, at 22:26, "Andre Goree" wrote: > I seem to be having trouble building my custom kernel. I've removed several things that I believe were unnecessary, and added Linux support, but I don't think I'm missing anything that is very important. Here is the last few lines of the build: > > ===> zlib (all) > /usr/local/libexec/ccache/world/cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/BUILD130313/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/BUILD130313 -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c /usr/src/sys/modules/zlib/../../net/zlib.c > ld -d -warn-common -r -d -o zlib.ko.debug zlib.o > :> export_syms > awk -f /usr/src/sys/conf/kmod_syms.awk zlib.ko.debug export_syms | xargs -J% objcopy % zlib.ko.debug > objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols > objcopy --strip-debug --add-gnu-debuglink=zlib.ko.symbols zlib.ko.debug zlib.ko > 1 error > *** [buildkernel] Error code 2 > 1 error > *** [buildkernel] Error code 2 > 1 error > > Here is my KERNCONF: > http://www.drenet.net/BUILD130313 > > I've also created a diff of what's missing from my configuration compared to GENERIC: > http://www.drenet.net/kern_diff.txt > > Thanks in advance for any guidance you can provide! > > -- > Andre Goree > andre at drenet.info > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" Nothing in your diff shocks me. Wanna re SVN up your sources, rebuild your kernel-toolchain and try again ? From freebsd at qeng-ho.org Wed Mar 13 21:56:35 2013 From: freebsd at qeng-ho.org (Arthur Chance) Date: Wed, 13 Mar 2013 21:56:27 +0000 Subject: Port devel/arduino serial port problems Message-ID: <5140F60B.20106@qeng-ho.org> I'm trying to get devel/arduino working. Plugging in the USB cable to the Arduino creates /dev/cuaU0* and /dev/ttyU0* and I'm manually changing them to mode 666 while trying to get started so should be able to access them as my normal user. However, the Tools => Serial Port menu item in the Arduino IDE is always greyed out, and whatever I set serial.port to in ~/.arduino/preferences.txt when trying to upload a sketch I always get the error message Serial port '' not found. Any hints and clues would be very welcome. My system is 9.1-RELEASE-p1 and amd64 pkg info arduino shows arduino-1.0.3_1,1 Open-source electronics prototyping platform My /dev with the Arduino plugged in and a chmod a+rw done suitably: fileserver# ls -l /dev/{cua,tty}U* crw-rw-rw- 1 uucp operator 0, 242 Mar 13 21:24 /dev/cuaU0 crw-rw-rw- 1 uucp operator 0, 243 Mar 13 21:24 /dev/cuaU0.init crw-rw-rw- 1 uucp operator 0, 244 Mar 13 21:24 /dev/cuaU0.lock crw-rw-rw- 1 root wheel 0, 239 Mar 13 21:24 /dev/ttyU0 crw-rw-rw- 1 root wheel 0, 240 Mar 13 21:24 /dev/ttyU0.init crw-rw-rw- 1 root wheel 0, 241 Mar 13 21:24 /dev/ttyU0.lock From bah at bananmonarki.se Thu Mar 14 05:56:23 2013 From: bah at bananmonarki.se (Bernt Hansson) Date: Thu, 14 Mar 2013 06:55:45 +0100 Subject: Problems Printing In-Reply-To: <51409CA3.1060007@gmail.com> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> <513666B7.4080708@gmail.com> <20130306054701.GA2295@tinyCurrent> <513CDE73.4010505@gmail.com> <5140973A.1080807@bananmonarki.se> <51409CA3.1060007@gmail.com> Message-ID: <51416661.4000903@bananmonarki.se> 2013-03-13 16:34, Joseph A. Nagy, Jr skrev: > On 03/13/13 10:11, Bernt Hansson wrote: >> On 2013-03-10 20:26, Joseph A. Nagy, Jr wrote: >>> On 03/05/13 23:47, Matthias Apitz wrote: >>>> El d?a Tuesday, March 05, 2013 a las 03:42:15PM -0600, Joseph A. >>>> Nagy, Jr escribi?: >>> >> Canon pixma mp210. Is not 100% supported under cups. >> >> >> > > Surprise surprise No. Not really. If you had followed the link to openprinting.org you would have knowed that. So no surprise, not for me anyhow. From freebsd at qeng-ho.org Thu Mar 14 08:48:25 2013 From: freebsd at qeng-ho.org (Arthur Chance) Date: Thu, 14 Mar 2013 08:48:22 +0000 Subject: Port devel/arduino serial port problems [SOLVED] In-Reply-To: <5140F60B.20106@qeng-ho.org> References: <5140F60B.20106@qeng-ho.org> Message-ID: <51418ED6.7000400@qeng-ho.org> On 03/13/13 21:56, Arthur Chance wrote: > I'm trying to get devel/arduino working.[snip] I shouldn't work 13 hour days. Now I've had some sleep, I've spotted what I missed last night. The underlying code from comms/rxtx is trying to create a lock file in /var/spool/lock and that is only writeable by user uucp and group dialer. Given that I have absolutely no serial devices (or ports) on this box apart from the Arduino when it's plugged in, can anyone see any problems with making the lock directory world writeable? From odhiambo at gmail.com Thu Mar 14 10:02:14 2013 From: odhiambo at gmail.com (Odhiambo Washington) Date: Thu, 14 Mar 2013 13:01:32 +0300 Subject: ofBiz on FreeBSD Message-ID: Has anyone managed to install ofBiz on FreeBSD. Could you please share the steps followed to achieve this? I am also interested in using MySQL as the DB backend. This is just for fun. Thanks. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. From iamatt at gmail.com Thu Mar 14 06:37:16 2013 From: iamatt at gmail.com (iamatt) Date: Thu, 14 Mar 2013 01:37:08 -0500 Subject: Problems Printing In-Reply-To: <51416661.4000903@bananmonarki.se> References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> <513666B7.4080708@gmail.com> <20130306054701.GA2295@tinyCurrent> <513CDE73.4010505@gmail.com> <5140973A.1080807@bananmonarki.se> <51409CA3.1060007@gmail.com> <51416661.4000903@bananmonarki.se> Message-ID: What a waste of time. Yours under Christ On Mar 14, 2013 12:56 AM, "Bernt Hansson" wrote: > 2013-03-13 16:34, Joseph A. Nagy, Jr skrev: > >> On 03/13/13 10:11, Bernt Hansson wrote: >> >>> On 2013-03-10 20:26, Joseph A. Nagy, Jr wrote: >>> >>>> On 03/05/13 23:47, Matthias Apitz wrote: >>>> >>>>> El d?a Tuesday, March 05, 2013 a las 03:42:15PM -0600, Joseph A. >>>>> Nagy, Jr escribi?: >>>>> >>>> >>>> Canon pixma mp210. Is not 100% supported under cups. >>> >>> >>> >>> >> Surprise surprise >> > > No. Not really. If you had followed the link to openprinting.org > you would have knowed that. So no surprise, not for me anyhow. > > ______________________________**_________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe at freebsd.org " > From leslie at eskk.nu Thu Mar 14 11:57:16 2013 From: leslie at eskk.nu (Leslie Jensen) Date: Thu, 14 Mar 2013 12:57:00 +0100 Subject: I just had a crash, core dump Message-ID: <5141BB0C.6020704@eskk.nu> My system 9.1-RELEASE ll /var/crash/ total 697996 -rw-r--r-- 1 root wheel 2 14 Mar 12:51 bounds -rw------- 1 root wheel 577047 14 Mar 12:52 core.txt.0 -rw------- 1 root wheel 460 14 Mar 12:51 info.0 -rw-r--r-- 1 root wheel 5 4 Dec 10:34 minfree -rw------- 1 root wheel 784556032 14 Mar 12:52 vmcore.0 Who would be interested in this? /Leslie From jnagyjr1978 at gmail.com Thu Mar 14 11:46:00 2013 From: jnagyjr1978 at gmail.com (Joseph A. Nagy, Jr) Date: Thu, 14 Mar 2013 06:45:48 -0500 Subject: Problems Printing In-Reply-To: References: <5135A88B.1000100@gmail.com> <20130305095729.GA1123@tiny.Sisis.de> <5135C776.9000603@gmail.com> <20130305102951.GA1325@tiny.Sisis.de> <5135DC95.4000800@gmail.com> <20130305121957.GA1581@tiny.Sisis.de> <5135E740.1080808@gmail.com> <20130305124946.GA1653@tiny.Sisis.de> <513666B7.4080708@gmail.com> <20130306054701.GA2295@tinyCurrent> <513CDE73.4010505@gmail.com> <5140973A.1080807@bananmonarki.se> <51409CA3.1060007@gmail.com> <51416661.4000903@bananmonarki.se> Message-ID: <5141B86C.1030000@gmail.com> On 03/14/13 01:37, iamatt wrote: > What a waste of time. Yours under Christ No, the only waste of time is repeating the same steps over and over and expecting different results. I followed all instructions. I followed the link provided and tried the MP220 driver setting (to no avail). I'm tired of half- or non-supported 4+ year old hardware (well really I imagine most of the tch on this laptop is over 4 years old, but my wife has only had this laptop for four years, bought new; the printer, no clue as I got that from a yard sale about 2 years ago but it's a good indication it also is around 4 or more years old). I'm tired of not having my wi-fi card work. I'm tired of only a select support for certain brands. Secure? In spades. Stable? Ditto. Usable? Not by a long shot. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt From freebsd at edvax.de Thu Mar 14 12:40:22 2013 From: freebsd at edvax.de (Polytropon) Date: Thu, 14 Mar 2013 13:33:48 +0100 Subject: Port devel/arduino serial port problems [SOLVED] In-Reply-To: <51418ED6.7000400@qeng-ho.org> References: <5140F60B.20106@qeng-ho.org> <51418ED6.7000400@qeng-ho.org> Message-ID: <20130314133348.fdbdc755.freebsd@edvax.de> On Thu, 14 Mar 2013 08:48:22 +0000, Arthur Chance wrote: > On 03/13/13 21:56, Arthur Chance wrote: > > I'm trying to get devel/arduino working.[snip] > > I shouldn't work 13 hour days. Now I've had some sleep, I've spotted > what I missed last night. The underlying code from comms/rxtx is trying > to create a lock file in /var/spool/lock and that is only writeable by > user uucp and group dialer. Given that I have absolutely no serial > devices (or ports) on this box apart from the Arduino when it's plugged > in, can anyone see any problems with making the lock directory world > writeable? Simply add your user (or the account the program is running under) to the "dialer" group. This has been a common method to allow users to access dialing programs (which were reserved for root use without this group addition). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wblock at wonkity.com Thu Mar 14 13:08:34 2013 From: wblock at wonkity.com (Warren Block) Date: Thu, 14 Mar 2013 07:08:23 -0600 (MDT) Subject: Port devel/arduino serial port problems [SOLVED] In-Reply-To: <20130314133348.fdbdc755.freebsd@edvax.de> References: <5140F60B.20106@qeng-ho.org> <51418ED6.7000400@qeng-ho.org> <20130314133348.fdbdc755.freebsd@edvax.de> Message-ID: On Thu, 14 Mar 2013, Polytropon wrote: > On Thu, 14 Mar 2013 08:48:22 +0000, Arthur Chance wrote: >> On 03/13/13 21:56, Arthur Chance wrote: >>> I'm trying to get devel/arduino working.[snip] >> >> I shouldn't work 13 hour days. Now I've had some sleep, I've spotted >> what I missed last night. The underlying code from comms/rxtx is trying >> to create a lock file in /var/spool/lock and that is only writeable by >> user uucp and group dialer. Given that I have absolutely no serial >> devices (or ports) on this box apart from the Arduino when it's plugged >> in, can anyone see any problems with making the lock directory world >> writeable? > > Simply add your user (or the account the program is running > under) to the "dialer" group. This has been a common method > to allow users to access dialing programs (which were reserved > for root use without this group addition). This is also mentioned when the Arduino port is installed: To allow serial port locking, add your user to the dialer group: pw usermod myuser -G dialer From recommend at johnsonengine.info.tm Thu Mar 14 13:55:06 2013 From: recommend at johnsonengine.info.tm (========= Johnson Motor Free Revolutionary New "triple-patented" device produces 100% free electricity... =========) Date: Thu, 14 Mar 2013 14:29:59 +0100 Subject: ========= Johnson Motor Free Revolutionary New "triple-patented" device produces 100% free electricity... ========= vous recommande ce produit de Terre de Sel Message-ID: <624161a213c59df342bb12ffb12b1145@www.boutique.seldeguerande.com> Bonjour, Une de vos connaissances, ========= Johnson Motor Free Revolutionary New "triple-patented" device produces 100% free electricity... =========, souhaite vous pr?senter le produit suivant : Sel fin de Gu?rande bo?te 250g de Terre de Sel. ========================================================= Let's face it... Electricity is big business. And not just for the utility companies charging you through the nose to keep your house warm in the winter... But also for the scammers and con artists trying to cash in on your difficult situation. Thankfully however... even amongst the junk... there's some real, honest offerings... Like the "Johnson Motor". ___ http://thejohnsonengine.info.tm See, the Johnson Motor isn't just any "free energy" device... And I'm not saying that simply because it actually works. As far as I'm aware... it's the only device of its kind with not just one... not even two... but three patents awarded to it. In fact... the US Patent Office have actually certified it produces free energy out of "thin air"! Don't believe me? Then take a look at this page and see the proof for yourself. Hell, you can even look up the US patent numbers for third-party confirmation! ___ http://thejohnsonengine.info.tm Thing is though, with electricity being such a huge income- generator for big business, this page may not be up for long. In fact, apparently the corporate fat cats have already had it taken down once. Thankfully, the creators of the Johnson Motor were able to get their site back up... and at least for now you can discover how to build your own for next to nothing. But who knows how long it will be until the fat cats manage to get the page taken down a second and possibly final time? Don't gamble on something so important... Check out this free video right now. ___ http://thejohnsonengine.info.tm See you there! P.S. This thing really is ingenious. I've never seen anything like it... and apparently neither have the US Patent Office. Do yourself a favor and check it out right now. ___ http://thejohnsonengine.info.tm ========================================================= Pour visualiser le produit, cliquez sur le lien ci-dessous ou copier/coller le lien dans votre navigateur : http://www.boutique.seldeguerande.com/product_info.php?products_id=357 Cordialement, Terre de Sel http://www.boutique.seldeguerande.com/ From ml at my.gd Thu Mar 14 13:59:48 2013 From: ml at my.gd (Damien Fleuriot) Date: Thu, 14 Mar 2013 14:55:04 +0100 Subject: I just had a crash, core dump In-Reply-To: <5141BB0C.6020704@eskk.nu> References: <5141BB0C.6020704@eskk.nu> Message-ID: <1B1DD25B-A69E-4497-9767-7023C1248D7C@my.gd> On 14 Mar 2013, at 12:57, Leslie Jensen wrote: > > > My system > 9.1-RELEASE > > > ll /var/crash/ > total 697996 > -rw-r--r-- 1 root wheel 2 14 Mar 12:51 bounds > -rw------- 1 root wheel 577047 14 Mar 12:52 core.txt.0 > -rw------- 1 root wheel 460 14 Mar 12:51 info.0 > -rw-r--r-- 1 root wheel 5 4 Dec 10:34 minfree > -rw------- 1 root wheel 784556032 14 Mar 12:52 vmcore.0 > > > Who would be interested in this? > > > /Leslie > You, I assume ? From leslie at eskk.nu Thu Mar 14 14:45:40 2013 From: leslie at eskk.nu (Leslie Jensen) Date: Thu, 14 Mar 2013 15:45:28 +0100 Subject: I just had a crash, core dump In-Reply-To: <1B1DD25B-A69E-4497-9767-7023C1248D7C@my.gd> References: <5141BB0C.6020704@eskk.nu> <1B1DD25B-A69E-4497-9767-7023C1248D7C@my.gd> Message-ID: <5141E288.9000908@eskk.nu> 2013-03-14 14:55, Damien Fleuriot skrev: > > On 14 Mar 2013, at 12:57, Leslie Jensen wrote: > >> >> >> My system >> 9.1-RELEASE >> >> >> ll /var/crash/ >> total 697996 >> -rw-r--r-- 1 root wheel 2 14 Mar 12:51 bounds >> -rw------- 1 root wheel 577047 14 Mar 12:52 core.txt.0 >> -rw------- 1 root wheel 460 14 Mar 12:51 info.0 >> -rw-r--r-- 1 root wheel 5 4 Dec 10:34 minfree >> -rw------- 1 root wheel 784556032 14 Mar 12:52 vmcore.0 >> >> >> Who would be interested in this? >> >> >> /Leslie >> > > You, I assume ? > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > Yes of course! Unfortunately I do not know what to do with this information. I thought that maybe it could be useful for someone working on development of FreeBSD. Thanks /Leslie From fernando.apesteguia at gmail.com Thu Mar 14 14:58:52 2013 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Thu, 14 Mar 2013 15:58:51 +0100 Subject: I just had a crash, core dump In-Reply-To: <5141E288.9000908@eskk.nu> References: <5141BB0C.6020704@eskk.nu> <1B1DD25B-A69E-4497-9767-7023C1248D7C@my.gd> <5141E288.9000908@eskk.nu> Message-ID: On Thu, Mar 14, 2013 at 3:45 PM, Leslie Jensen wrote: > > > 2013-03-14 14:55, Damien Fleuriot skrev: > >> >> On 14 Mar 2013, at 12:57, Leslie Jensen wrote: >> >>> >>> >>> My system >>> 9.1-RELEASE >>> >>> >>> ll /var/crash/ >>> total 697996 >>> -rw-r--r-- 1 root wheel 2 14 Mar 12:51 bounds >>> -rw------- 1 root wheel 577047 14 Mar 12:52 core.txt.0 >>> -rw------- 1 root wheel 460 14 Mar 12:51 info.0 >>> -rw-r--r-- 1 root wheel 5 4 Dec 10:34 minfree >>> -rw------- 1 root wheel 784556032 14 Mar 12:52 vmcore.0 >>> >>> >>> Who would be interested in this? >>> >>> >>> /Leslie >>> >> >> You, I assume ? >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe at freebsd.org" >> > > > Yes of course! > > Unfortunately I do not know what to do with this information. I thought that > maybe it could be useful for someone working on development of FreeBSD. Take a look at this[1] and try to extract a backtrace. Post it again to see if it catches the attention of a kernel hacker ;) Cheers [1] http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html > > Thanks > > /Leslie > > > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From freebsd at qeng-ho.org Thu Mar 14 14:59:17 2013 From: freebsd at qeng-ho.org (Arthur Chance) Date: Thu, 14 Mar 2013 14:59:12 +0000 Subject: Port devel/arduino serial port problems [SOLVED] In-Reply-To: References: <5140F60B.20106@qeng-ho.org> <51418ED6.7000400@qeng-ho.org> <20130314133348.fdbdc755.freebsd@edvax.de> Message-ID: <5141E5C0.2040606@qeng-ho.org> On 03/14/13 13:08, Warren Block wrote: > On Thu, 14 Mar 2013, Polytropon wrote: > >> On Thu, 14 Mar 2013 08:48:22 +0000, Arthur Chance wrote: >>> On 03/13/13 21:56, Arthur Chance wrote: >>>> I'm trying to get devel/arduino working.[snip] >>> >>> I shouldn't work 13 hour days. Now I've had some sleep, I've spotted >>> what I missed last night. The underlying code from comms/rxtx is trying >>> to create a lock file in /var/spool/lock and that is only writeable by >>> user uucp and group dialer. Given that I have absolutely no serial >>> devices (or ports) on this box apart from the Arduino when it's plugged >>> in, can anyone see any problems with making the lock directory world >>> writeable? >> >> Simply add your user (or the account the program is running >> under) to the "dialer" group. This has been a common method >> to allow users to access dialing programs (which were reserved >> for root use without this group addition). > > This is also mentioned when the Arduino port is installed: > > To allow serial port locking, add your user to the dialer group: > pw usermod myuser -G dialer Warren and Polytropon, thanks. I realised that this morning and added myself to dialer. I'd originally thought the requirement for dialler group was simply to access /dev/cuaU0 and wrote a devd.conf file to set that as mode 666. It was only after catching up with my sleep I thought of lock files. However, my point was a little more general than just fixing this specific access problem - many desktop machines these days don't have serial lines or any need for dialer programs, and adding yet another group to an ever increasing list just so that I can talk to an Arduino seems a little redundant. (As does using /var/spool/lock - isn't that what /dev/cuaU0.lock is for?) For anyone else thinking of playing with Arduinos on FreeBSD, this bug http://www.freebsd.org/cgi/query-pr.cgi?pr=163749 in avrdude bit me (on a 9.1-RELEASE-p1 amd64 machine, talking to an Arduino Uno R3). The second patch (patch-arduino.c) fixed the problem, but it's a shame it's not included in the port 14 months after it was submitted. From customs-wco at demosgroup.com Thu Mar 14 16:59:08 2013 From: customs-wco at demosgroup.com (WCO-Demos Team WCO-Demos Team) Date: Thu, 14 Mar 2013 12:43:41 -0400 Subject: WCO E-learning Customs Training - Register now! Message-ID: <1363279421.5141fe3d0b51c@etouches.com> Harmonized System 2012 Classroom Training Would you like to know the basic rules for classifying goods and justification of the classification opinions? Would you like to know more about the HS 2012 amendments and their consequences on the classification of goods? A two day training to guide you through the basic rules for classifying goods and justification of the classification opinions. Major amendments in HS 2012 and their consequential effects on classifying products. Core fundamentals of the Harmonized System and classification. Dates: September 26-27, 2012 Location: Brussels, Belgium The 2 day training will address the following main topics: The Harmonized System, an indispensable tool in international trade The application of the Harmonized System General Interpretative Rules The classification of sets and composite goods in the Harmonized System Case studies will complement the presentations on technical subject For more information visit our website www.wcoomdtraining.org, contact us at customs-wco at demosgroup.com Demos Group, WCO?s official training supplier for the private sector Do not miss this opportunity to enrich your knowledge! Register here: https://www.etouches.com/hs2012 -------------------------------------- To unsubscribe from this mailing list, please click here https://www.eiseverywhere.com/emarketing/profile.php?id=Z4sSfz0iMrZzONIgZysa63P3x%2BYq3g40y39ymNTyrFs%3D From paul.de_vlieger at moniut.univ-bpclermont.fr Thu Mar 14 16:51:24 2013 From: paul.de_vlieger at moniut.univ-bpclermont.fr (dv.paul) Date: Thu, 14 Mar 2013 09:51:23 -0700 (PDT) Subject: cmake fails to build under 9.1 In-Reply-To: References: Message-ID: <1363279883347-5795645.post@n5.nabble.com> Add a newline to: ./work/cmake-2.8.9/Source/cmGraphVizWriter.cxx and ./work/cmake-2.8.9/Source/cmBootstrapCommands.cxx fixed the problem for me, -- View this message in context: http://freebsd.1045724.n5.nabble.com/cmake-fails-to-build-under-9-1-tp5792876p5795645.html Sent from the freebsd-questions mailing list archive at Nabble.com. From openslateproj at gmail.com Thu Mar 14 17:49:37 2013 From: openslateproj at gmail.com (Open Slate) Date: Thu, 14 Mar 2013 07:49:30 -1000 Subject: Can't fetch boost-jam Message-ID: For several days I have not been able to update my ports due to fetch errors. Right now the first port portupgrade wants to update is devel/boost-jam. Here is the tail of the output of make issued in /usr/ports/devel/boost-jam: => Attempting to fetch http://netcologne.dl.sourceforge.net/project/boost/boost/1.52.0/boost_1_52_0.tar.bz2 fetch: http://netcologne.dl.sourceforge.net/project/boost/boost/1.52.0/boost_1_52_0.tar.bz2: Forbidden => Attempting to fetch http://ignum.dl.sourceforge.net/project/boost/boost/1.52.0/boost_1_52_0.tar.bz2 fetch: http://ignum.dl.sourceforge.net/project/boost/boost/1.52.0/boost_1_52_0.tar.bz2: Forbidden => Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/boost_1_52_0.tar.bz2 fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/boost_1_52_0.tar.bz2: File unavailable (e.g., file not found, no access) => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** [do-fetch] Error code 1 Stop in /usr/ports/devel/boost-jam. I can connect to the ftp server manually: $ ftp ftp.FreeBSD.org Trying 204.152.184.73:21 ... Connected to ftp.FreeBSD.org. 220 Welcome to freebsd.isc.org. Name (ftp.FreeBSD.org:gary): dir of the distfiles directory: ftp> dir boost* 229 Entering Extended Passive Mode (|||47008|) 150 Here comes the directory listing. -rw-r--r-- 1 967 100 1430115 Oct 01 2007 boost-build-2.0-m12.tar.bz2 -rw-r--r-- 1 967 100 29435646 Nov 02 2008 boost_1_37_0.tar.bz2 -rw-r--r-- 1 967 100 29408537 May 01 2009 boost_1_39_0.tar.bz2 -rw-r--r-- 1 967 100 33348161 Nov 17 2009 boost_1_41_0.tar.bz2 -rw-r--r-- 1 967 100 33892438 May 04 2010 boost_1_43_0.tar.bz2 -rw-r--r-- 1 967 100 39330184 Nov 17 2010 boost_1_45_0.tar.bz2 -rw-r--r-- 1 967 100 42001335 Mar 12 2011 boost_1_46_1.tar.bz2 -rw-r--r-- 1 967 100 48236989 Nov 15 2011 boost_1_48_0.tar.bz2 226 Directory send OK. >From uname; 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 How can I fix this? -- Gary Dunn Open Slate Project http://openslate.org/ From suseuser04 at lajt.hu Thu Mar 14 20:37:17 2013 From: suseuser04 at lajt.hu (=?UTF-8?Q?Istvan_Gabor?=) Date: Thu, 14 Mar 2013 21:37:13 +0100 Subject: =?UTF-8?Q?Re:_configure_recursively_and_build?= =?UTF-8?Q?_question?= In-Reply-To: <44ppz4jru1.fsf@lowell-desk.lan> References: <33e0ec72.507f04c6.513f5b93.143fa@lajt.hu> <44ppz4jru1.fsf@lowell-desk.lan> Message-ID: <4cf380c.a14043e.514234f9.77739@lajt.hu> 2013. m?rcius 12. 21:17 napon Lowell Gilbert ?rta: Thank you for answering. > Istvan Gabor writes: > > > As there are no compiled FreeBSD 9.1 packages for pkg_tools I decided to build them. > > Last I started to build kde3. First I issued make configure-recursive in > > /usr/ports/x11/kde3, then make install clean, and left the computer for overnight to work. > > I expected a successful build by the morning but instead I found a screen requiring some > > config options (for apache). I selected the options and the build went on. > > But later other config windows came up, so far for mysqlclient, sane-backends, > > tk, tcl, libxine and sdl. So my question are: > > > > What is configure-recursive good for then? I thought it is for preventing interactions > > during the build process. Ho can I really configure everything in one step and leave > > the computer alone? > > First of all, I think you mean config-recursive. Yes, I did. > > Second, config-recursive only does the configuration of the port > options. Then I misunderstood the handbook, chich says: "To avoid this when there are many dependencies, first run make config-recursive to do the configuration in one batch." I understood this as the configuration is done on all the dependencies as well. The handbook also writes: "Tip: When using config-recursive, the list of ports to configure are gathered by the all-depends-list make(1) target. It is often recommended to run make config-recursive until all dependent ports options have been defined, and ports options dialog(1) screens no longer appear, to be certain all ports options have been configured as intended." Does this mean if I run config-recursive several times in a raw, all the dependencies will be configured? ... > Fourth (and, you'll be glad to hear, finally) some ports are interactive > for reasons beyond options. See the manual for ports(7), noting the > environment variables INTERACTIVE and BATCH. I will look at this. > > Second, after I've done a configure-recursive, how can I start it over from scratch in case > > I want to change some config option? If I reissue make configure-recursive, > > I get only no configuration needed messages. > > If you really want to start from scratch, you can use > "rmconfig-recursive" on the dependent port. Yes I meant only the given port and its dependencies, not the all ports. Thank again, Istvan From suseuser04 at lajt.hu Thu Mar 14 20:44:21 2013 From: suseuser04 at lajt.hu (=?UTF-8?Q?Istvan_Gabor?=) Date: Thu, 14 Mar 2013 21:43:26 +0100 Subject: =?UTF-8?Q?linux_program_with_kernel_module?= Message-ID: <5100adb0.7659bc7d.5142366e.438ea@lajt.hu> Hello: This might be a silly question but I would like to be sure. FreeBSD can run linux programs with its linux compatibility module (linuxulator). Can it run linux programs that have their own (linux) kernel module? If yes, how can I install such program, and how can I load the kernel module? (If I know correctly nvidia drivers have their own kernel modules, and FreeBSD can run linux nvidia drivers). Thanks, Istvan From amijaresp at gmail.com Thu Mar 14 21:31:30 2013 From: amijaresp at gmail.com (Alberto Mijares) Date: Thu, 14 Mar 2013 17:01:23 -0430 Subject: Identify USB device with devd Message-ID: Hi list, I have 3 USB GSM modems and I want to trigger some actions when they are plugged to the system. Each modem must trigger a different action, the problem is how to identify each modem because 1) none of the modems have a serial number iSerialNumber = 0x0000 2) two of three modems have same idProduct, so I can't rely on this 3) I don't know how to get the exact USB port where the modem is plugged. I can get the bus with the variable port # Hub port number (USB) // man devd.conf but this is not enough information. Any suggestion? Thanks in advance. Regards, Alberto Mijares From ralf.mardorf at rocketmail.com Thu Mar 14 21:42:47 2013 From: ralf.mardorf at rocketmail.com (Ralf Mardorf) Date: Thu, 14 Mar 2013 22:42:41 +0100 Subject: linux program with kernel module In-Reply-To: <5100adb0.7659bc7d.5142366e.438ea@lajt.hu> References: <5100adb0.7659bc7d.5142366e.438ea@lajt.hu> Message-ID: <1363297361.3685.32.camel@archlinux> On Thu, 2013-03-14 at 21:43 +0100, Istvan Gabor wrote: > Can it run linux programs that have their own (linux) kernel module? > If yes, how can I install such program, and how can I load the kernel module? > > (If I know correctly nvidia drivers have their own kernel modules, and FreeBSD can > run linux nvidia drivers). Yesno. You need to compile kernel modules to fit to the version of FreeBSD or Linux. I also call user space "FreeBSD" and "Linux", but it's _not_ correct to do it. FreeBSD is a kernel and Linux is a kernel, not the whole system is called Linux or FreeBSD and both kernels are available in different versions. To compile a module you need to install the kernel headers of the same version as the kernel. The module quasi is the driver. From four.harrisons at googlemail.com Thu Mar 14 21:50:16 2013 From: four.harrisons at googlemail.com (Peter Harrison) Date: Thu, 14 Mar 2013 22:59:09 +0000 Subject: No sound with Thinkpad X60 Message-ID: <20130314225908.GA2157@thinkpad.piggybox> Hi list, I've a problem with sound on a Thinkpad X60, which has an Intel HDA chip. This is what I see in dmesg: hdac0: mem 0xee240000-0xee243fff irq 17 at device 27.0 on pci0 hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 5 and 25,8 on hdaa0 hdacc1: at cad 1 on hdac0 unknown: at nid 2 on hdacc1 (no driver attached) and from sndstat: FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: pcm0: (play/rec) default and from mixer: Mixer vol is currently set to 100:100 Mixer pcm is currently set to 100:100 Mixer speaker is currently set to 100:100 Mixer cd is currently set to 1:1 Mixer rec is currently set to 1:1 Mixer igain is currently set to 42:42 Mixer ogain is currently set to 100:100 Mixer monitor is currently set to 67:67 Recording source: cd But I have no sound. This is using Gnome 2.32 on 9.1-R. I did initially accidentally install Pulseaudio, but have subsequently deleted it and reinstalled everything that depended on it without the Pulseaudio dependency. Any thoughts on what I'm doing wrong? Thanks in advance. Peter Harrison. From gull at gull.us Thu Mar 14 22:01:22 2013 From: gull at gull.us (David Brodbeck) Date: Thu, 14 Mar 2013 15:01:20 -0700 Subject: svn & new pkg system In-Reply-To: <87ppz8ceje.fsf@kobe.laptop> References: <513BC4E2.4040708@a1poweruser.com> <87ppz8ceje.fsf@kobe.laptop> Message-ID: On Sat, Mar 9, 2013 at 3:57 PM, Giorgos Keramidas wrote: > Having svn-X.0 in the source tree, imported at great expense of time and > effort, will provide exactly _zero_ benefits if the underlying format of > the repository changes (like subversion likes doing really often). > I agree with your other points, but I think it's worth noting that this particular one isn't actually a concern when it comes to retrieving source code. The subversion *client* doesn't have to care about the server's repository format. All SVN 1.x clients work with all SVN 1.x servers; you just may miss out on some advanced features or optimizations if there's a mismatch, since it'll settle on the lowest common denominator. The *working copy* format does change between client versions, but that's easily resolved by checking out a fresh WC. From freebsd at edvax.de Thu Mar 14 22:37:26 2013 From: freebsd at edvax.de (Polytropon) Date: Thu, 14 Mar 2013 23:37:28 +0100 Subject: Port devel/arduino serial port problems [SOLVED] In-Reply-To: <5141E5C0.2040606@qeng-ho.org> References: <5140F60B.20106@qeng-ho.org> <51418ED6.7000400@qeng-ho.org> <20130314133348.fdbdc755.freebsd@edvax.de> <5141E5C0.2040606@qeng-ho.org> Message-ID: <20130314233728.484d9e5a.freebsd@edvax.de> On Thu, 14 Mar 2013 14:59:12 +0000, Arthur Chance wrote: > However, my point was a little more general than just fixing this > specific access problem - many desktop machines these days don't have > serial lines or any need for dialer programs, and adding yet another > group to an ever increasing list just so that I can talk to an Arduino > seems a little redundant. Remember that this group isn't _that_ new, it has its own "historical value". :-) Furthermore, if you consider PPPoE, what are you actually doing? You're _dialing_ (not with a phone number, not even through the serial port, but utilizing means of PPP) with your modem connected by an Ethernet cable. This mechanism also requires root privileges, except you are in the "dialer" group. :-) http://www.freebsd.org/doc/faq/serial.html > (As does using /var/spool/lock - isn't that > what /dev/cuaU0.lock is for?) No, those are actual devices, see "man 4 uart" for details. The subtree /var/spool is primarily used for things like mail and printer subsystems. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From four.harrisons at googlemail.com Thu Mar 14 22:41:40 2013 From: four.harrisons at googlemail.com (peter harrison) Date: Thu, 14 Mar 2013 22:41:39 +0000 Subject: No sound on Thinkpad X60 Message-ID: Hi list, I've a problem with sound on a Thinkpad X60, which has an Intel HDA chip. This is what I see in dmesg: hdac0: mem 0xee240000-0xee243fff irq 17 at device 27.0 on pci0 hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 5 and 25,8 on hdaa0 hdacc1: at cad 1 on hdac0 unknown: at nid 2 on hdacc1 ( no driver attached) and from sndstat: FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: pcm0: (play/rec) default and from mixer: Mixer vol is currently set to 100:100 Mixer pcm is currently set to 100:100 Mixer speaker is currently set to 100:100 Mixer cd is currently set to 1:1 Mixer rec is currently set to 1:1 Mixer igain is currently set to 42:42 Mixer ogain is currently set to 100:100 Mixer monitor is currently set to 67:67 Recording source: cd But I have no sound. This is using Gnome 2.32 on 9.1-R. I did initially accidentally install Pulseaudio, but have subsequently deleted it and reinstalled everything that depended on it without the Pulseaudio dependency. Any thoughts on what I'm doing wrong? Thanks in advance. Peter Harrison. ps copying this via the gmail web interface as it didn't seem to make it through from Mutt. Apologies if it appears twice. From gmx at ross.cx Thu Mar 14 22:47:22 2013 From: gmx at ross.cx (Michael Ross) Date: Thu, 14 Mar 2013 23:47:03 +0100 Subject: svn & new pkg system In-Reply-To: <87ppz8ceje.fsf@kobe.laptop> References: <513BC4E2.4040708@a1poweruser.com> <87ppz8ceje.fsf@kobe.laptop> Message-ID: On Sun, 10 Mar 2013 00:57:25 +0100, Giorgos Keramidas wrote: > On Sat, 09 Mar 2013 18:25:22 -0500, Fbsd8 wrote: >> Is svn going to become part of the base system in 9.2-RELEASE? > > No. I'd like to reference a thread on the @stable list here: http://lists.freebsd.org/pipermail/freebsd-stable/2013-March/072765.html "svnup is a lightweight, dependency-free, BSD licensed program to pull source files from a Subversion server." Regards, Michael From ml at my.gd Thu Mar 14 22:53:29 2013 From: ml at my.gd (Damien Fleuriot) Date: Thu, 14 Mar 2013 23:52:58 +0100 Subject: 8.4-RELEASE (was Re: svn & new pkg system) In-Reply-To: References: <513BC4E2.4040708@a1poweruser.com> <87ppz8ceje.fsf@kobe.laptop> Message-ID: <575A0D87-B1A2-4CE2-B0AA-F18C55472CAB@my.gd> On 14 Mar 2013, at 23:47, "Michael Ross" wrote: > On Sun, 10 Mar 2013 00:57:25 +0100, Giorgos Keramidas wrote: > >> On Sat, 09 Mar 2013 18:25:22 -0500, Fbsd8 wrote: >>> Is svn going to become part of the base system in 9.2-RELEASE? >> >> No. > > I'd like to reference a thread on the @stable list here: > > http://lists.freebsd.org/pipermail/freebsd-stable/2013-March/072765.html > > "svnup is a lightweight, dependency-free, BSD licensed program to pull source files from a Subversion server." > > > Regards, > > Michael > Speaking of 9.2, are there any plans for a 8.4 ? From leeoliveshackelford at surewest.net Thu Mar 14 23:48:17 2013 From: leeoliveshackelford at surewest.net (leeoliveshackelford at surewest.net) Date: Thu, 14 Mar 2013 16:44:36 -0700 (PDT) Subject: Installing 9.1 without re-partitioning hard drive Message-ID: <20130314164436.DEM37662@ms5.mc.surewest.net> Good afternoon, FreeBSD enthusiasts. I am attempting to install FreeBSD 9.1 on a dual-boot configuration with Windows XP. I am using bsdinstall. I do not wish for the partition table to be changed. How do I instruct bsdinstall to skip the re-partitioning step? It gives an error message that it cannot write a certain file because the medium is write-only. Any suggestions would be appreciated. Yours truly, Newby Lee From ml at my.gd Fri Mar 15 01:16:17 2013 From: ml at my.gd (Damien Fleuriot) Date: Fri, 15 Mar 2013 02:16:15 +0100 Subject: Installing 9.1 without re-partitioning hard drive In-Reply-To: <20130314164436.DEM37662@ms5.mc.surewest.net> References: <20130314164436.DEM37662@ms5.mc.surewest.net> Message-ID: On Mar 15, 2013 12:48 AM, wrote: > > Good afternoon, FreeBSD enthusiasts. I am attempting to install FreeBSD 9.1 on a dual-boot configuration with Windows XP. I am using bsdinstall. I do not wish for the partition table to be changed. How do I instruct bsdinstall to skip the re-partitioning step? It gives an error message that it cannot write a certain file because the medium is write-only. Any suggestions would be appreciated. Yours truly, Newby Lee > You're trying to install to your windows partition, that won't work. You need free space on the drive which implies shrinking your existing partition. From bejoygthomas at yahoo.com Fri Mar 15 02:30:13 2013 From: bejoygthomas at yahoo.com (Bejoy Thomas) Date: Fri, 15 Mar 2013 07:56:42 +0530 Subject: Installing 9.1 without re-partitioning hard drive In-Reply-To: <20130314164436.DEM37662@ms5.mc.surewest.net> References: <20130314164436.DEM37662@ms5.mc.surewest.net> Message-ID: <021E2D93-E6E2-4C30-9728-845F2EDE31FB@yahoo.com> Hi Lee, One option to have a FreeBSD system on winxp, without any partitioning to the existing hard disk, is to have freebsd as a vm on virtualbox. For having a dual boot system you would need to partition the existing disk . If you have a second had disk you could select it and let FreeBSD partition it with the default configuration using "Entire Disk" . The FreeBSD handbook should help you http://www.freebsd.org/doc/handbook/bsdinstall-partitioning.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#windows-coexist Bejoy Thomas On 15-Mar-2013, at 5:14 AM, wrote: > Good afternoon, FreeBSD enthusiasts. I am attempting to install FreeBSD 9.1 on a dual-boot configuration with Windows XP. I am using bsdinstall. I do not wish for the partition table to be changed. How do I instruct bsdinstall to skip the re-partitioning step? It gives an error message that it cannot write a certain file because the medium is write-only. Any suggestions would be appreciated. Yours truly, Newby Lee > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From leeoliveshackelford at surewest.net Fri Mar 15 02:37:47 2013 From: leeoliveshackelford at surewest.net (leeoliveshackelford at surewest.net) Date: Thu, 14 Mar 2013 19:34:04 -0700 (PDT) Subject: Installing 9.1 without re-partitioning hard drive Message-ID: <20130314193404.DEM52311@ms5.mc.surewest.net> Good afternoon, FreeBSD enthusiasts. I am attempting to install FreeBSD 9.1 on a dual-boot configuration with Windows XP. I am using bsdinstall. I do not wish for the partition table to be changed. How do I instruct bsdinstall to skip the re-partitioning step? It gives an error message that it cannot write a certain file because the medium is write-only. Any suggestions would be appreciated. Yours truly, Newby Lee I forgot to mention some additional facts: The FreeBSD operating system is being installed from a d.v.d. I partitioned the hard drive into two equal partitions before re-installing Windows XP. Also, the following cryptic instruction was given to me by the bsdinstall program: "When finished, mount the system at /mnt and place an fstab file for the new system at tmp/bsdinstall_etc/fstab. Then type "exit". Please, can anyone explain to me what this instruction is telling me to do, and give me some details as to how to perform these tasks? Perhaps, also explain to me why I am supposed to do these things? How do I mount the system at /mnt? How do I compose an fstab file? How do I place the fstab file at tmp/bsdinstall_etc/fstab, a directory that does not exist until the filesystem is built? If the answers to any of these questions are explained in writing anywhere, please tell me where to look. Thank you. Again, yours truly, Newby Lee From andre at drenet.info Fri Mar 15 03:21:57 2013 From: andre at drenet.info (Andre Goree) Date: Thu, 14 Mar 2013 23:21:37 -0400 Subject: Issue with building custom kernel In-Reply-To: References: Message-ID: On Wed, 13 Mar 2013 17:43:40 -0400, Damien Fleuriot wrote: > > On 13 Mar 2013, at 22:26, "Andre Goree" wrote: > >> I seem to be having trouble building my custom kernel. I've removed >> several things that I believe were unnecessary, and added Linux >> support, but I don't think I'm missing anything that is very >> important. Here is the last few lines of the build: >> >> ===> zlib (all) >> /usr/local/libexec/ccache/world/cc -O2 -pipe -fno-strict-aliasing >> -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS >> -include /usr/obj/usr/src/sys/BUILD130313/opt_global.h -I. -I@ >> -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 >> --param large-function-growth=1000 -fno-common -g >> -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/BUILD130313 >> -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float >> -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector >> -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls >> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign >> -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option >> -c /usr/src/sys/modules/zlib/../../net/zlib.c >> ld -d -warn-common -r -d -o zlib.ko.debug zlib.o >> :> export_syms >> awk -f /usr/src/sys/conf/kmod_syms.awk zlib.ko.debug export_syms | >> xargs -J% objcopy % zlib.ko.debug >> objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols >> objcopy --strip-debug --add-gnu-debuglink=zlib.ko.symbols zlib.ko.debug >> zlib.ko >> 1 error >> *** [buildkernel] Error code 2 >> 1 error >> *** [buildkernel] Error code 2 >> 1 error >> >> Here is my KERNCONF: >> http://www.drenet.net/BUILD130313 >> >> I've also created a diff of what's missing from my configuration >> compared to GENERIC: >> http://www.drenet.net/kern_diff.txt >> >> Thanks in advance for any guidance you can provide! >> >> -- >> Andre Goree >> andre at drenet.info >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe at freebsd.org" > > Nothing in your diff shocks me. > > Wanna re SVN up your sources, rebuild your kernel-toolchain and try > again ? Hmmm, just tried that, and still get the same result. Seems I'll need to resort to trial-and-error at this point -- or just add Linux support to GENERIC, remove firewire, fdc and RAID controllers and call it a day :p Thanks for looking over the diff! -- Andre Goree andre at drenet.info From tamino at wolfhut.org Fri Mar 15 03:44:51 2013 From: tamino at wolfhut.org (Ben Cottrell) Date: Thu, 14 Mar 2013 20:44:45 -0700 Subject: Installing 9.1 without re-partitioning hard drive In-Reply-To: <20130314193404.DEM52311@ms5.mc.surewest.net> References: <20130314193404.DEM52311@ms5.mc.surewest.net> Message-ID: <4B56BC62-B8BC-4EB4-B356-988D5EC7C610@wolfhut.org> Lee, Are you using DOS-style or GPT partitions? I'm assuming DOS-style, and the rest of this email is only correct if that's the case, so correct me if I'm wrong. There's actually two partition tables at work here -- the "big" one, that lives at the start of the physical disk and divides up the FreeBSD from the Windows. Inside the FreeBSD "slice" (slice, partition, same thing, but just to be clear, call it a slice) there's going to be *another* partition table, to divide up the FreeBSD partitions amongst themselves. At a bare minimum you're going to have two partitions (which are really sub-partitions at this point), root and swap. Maybe even more. So it seems to me like, if you can get to the point where the FreeBSD installer recognizes the slice you've set aside for it, as its own, then you can let it rewrite the partition table *inside that slice* as much as it wants to. OK? Make sense? You just don't want it to touch the *outer* one. I honestly don't know enough about how the boot blocks work to know if that's going to work, in the end. You might still end up having to say yes to let it install FreeBSD boot blocks -- I don't know. But it seems to me like a prerequisite, in any case, is going to be to set the FreeBSD partition to partition type 165, so that the installer will recognize it as a FreeBSD slice. Is it already partition type 165? If not, can you make it type 165 and see if that changes anything? ~Ben From Trond.Endrestol at fagskolen.gjovik.no Fri Mar 15 06:51:28 2013 From: Trond.Endrestol at fagskolen.gjovik.no (=?ISO-8859-1?Q?Trond_Endrest=F8l?=) Date: Fri, 15 Mar 2013 07:51:22 +0100 (CET) Subject: 8.4-RELEASE (was Re: svn & new pkg system) In-Reply-To: <575A0D87-B1A2-4CE2-B0AA-F18C55472CAB@my.gd> References: <513BC4E2.4040708@a1poweruser.com> <87ppz8ceje.fsf@kobe.laptop> <575A0D87-B1A2-4CE2-B0AA-F18C55472CAB@my.gd> Message-ID: On Thu, 14 Mar 2013 23:52+0100, Damien Fleuriot wrote: > Speaking of 9.2, are there any plans for a 8.4 ? http://svnweb.freebsd.org/base?view=revision&revision=248213 -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrest?l, | Trond Endrest?l, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From jeff.t at mail.com Fri Mar 15 13:03:59 2013 From: jeff.t at mail.com (Jeff Tipton) Date: Fri, 15 Mar 2013 15:03:56 +0200 Subject: Error: shared library "mysqlclient.18" does not exist In-Reply-To: <513F5C18.6050806@mail.com> References: <513E0D6D.10503@mail.com> <513E1BC9.6040207@FreeBSD.org> <513E1DF8.3020408@mail.com> <513E231A.90105@FreeBSD.org> <513E26C2.9040601@mail.com> <513E29D1.8030709@FreeBSD.org> <513E31B8.2020509@mail.com> <513E4FB8.2060506@mail.com> <513E55A0.7030109@FreeBSD.org> <513E58D2.8000503@mail.com> <513E5C83.7040802@FreeBSD.org> <513E6001.9040206@mail.com> <513F43CA.1070204@FreeBSD.org> <513F5C18.6050806@mail.com> Message-ID: <51431C3C.9080009@mail.com> On 03/12/2013 18:47, Jeff Tipton wrote: > On 03/12/2013 17:03, Greg Larkin wrote: >> Hi Jeff, Good news and thanks for the update. The maia Makefile seems >> to imply that RAR support can be provided either by archivers/rar or >> archivers/unrar, and if so, those options should likely be exclusive. >> I found some problems related to detecting the MySQL dependencies in >> general, too. I'll create a PR to fix these issues. In the mean time, >> can you test whether maia does what you want with just the UNRAR >> option enabled? Thank you, Greg -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird >> - http://www.enigmail.net/ >> iEYEARECAAYFAlE/Q8kACgkQ0sRouByUApDjIwCgqujnwXRPxrNq4/ARjK6Tv98m >> 5qsAn37lrANQqCp9op1Y4WPZXz1gcYn/ =NQdO -----END PGP SIGNATURE----- >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions To >> unsubscribe, send any mail to >> "freebsd-questions-unsubscribe at freebsd.org" > Hi Greg, > > Thank you very much, your really helped me. Ok, I think I will test > Maia with RARed eicar; only it will still take some time until I > finish the whole mailsystem. I'll report back as soon as I get to the > point of testing. > > Jeff Hi Greg, I finished my mailsystem setup with Maia (without RAR support and with UNRAR support), and tried to scan a RARed eicar file, and, yes, it detected that file as infected. But there were 2 other issues: 1. configtest.pl hung because of p5-Forks. I found an explanation and a link to a patch for FreeBSD here: http://comments.gmane.org/gmane.mail.virus.maiamailguard/15493 The patch solved this problem. As I understood from the discussion, not every install might have this problem but it often shows up in a jail, and I have this installation in a jail. 2. When Maia was freshly installed, Logout did not work because the function "session_is_registered" is no longer supported in PHP 5.4. I replaced the row 87 in logout.php if (session_is_registered("uid")) { with if (isset($_SESSION['uid'])) { as explained here: http://comments.gmane.org/gmane.mail.virus.maiamailguard/15586 and now logging out works ok. Maybe this information is useful. Thanks, Greg for help and interest Jeff From mail25 at bzerk.org Fri Mar 15 15:03:19 2013 From: mail25 at bzerk.org (Ruben de Groot) Date: Fri, 15 Mar 2013 15:03:13 +0000 Subject: linux program with kernel module In-Reply-To: <1363297361.3685.32.camel@archlinux> References: <5100adb0.7659bc7d.5142366e.438ea@lajt.hu> <1363297361.3685.32.camel@archlinux> Message-ID: <20130315150313.GA22064@eris.bzerk.org> On Thu, Mar 14, 2013 at 10:42:41PM +0100, Ralf Mardorf typed: > On Thu, 2013-03-14 at 21:43 +0100, Istvan Gabor wrote: > > Can it run linux programs that have their own (linux) kernel module? > > If yes, how can I install such program, and how can I load the kernel module? > > > > (If I know correctly nvidia drivers have their own kernel modules, and FreeBSD can > > run linux nvidia drivers). > > Yesno. > > You need to compile kernel modules to fit to the version of FreeBSD or > Linux. > > I also call user space "FreeBSD" and "Linux", but it's _not_ correct to > do it. FreeBSD is a kernel and Linux is a kernel, not the whole system > is called Linux or FreeBSD and both kernels are available in different > versions. You're right about Linux (being only a kernel). Not so for FreeBSD. FreeBSD is the name of the OS,, kernel plus userland. You can compare it to debian, another (linux based) OS. From ralf.mardorf at rocketmail.com Fri Mar 15 15:27:06 2013 From: ralf.mardorf at rocketmail.com (Ralf Mardorf) Date: Fri, 15 Mar 2013 16:26:56 +0100 Subject: linux program with kernel module In-Reply-To: <20130315150313.GA22064@eris.bzerk.org> References: <5100adb0.7659bc7d.5142366e.438ea@lajt.hu> <1363297361.3685.32.camel@archlinux> <20130315150313.GA22064@eris.bzerk.org> Message-ID: <1363361216.595.73.camel@archlinux> On Fri, 2013-03-15 at 15:03 +0000, Ruben de Groot wrote: > On Thu, Mar 14, 2013 at 10:42:41PM +0100, Ralf Mardorf typed: > > On Thu, 2013-03-14 at 21:43 +0100, Istvan Gabor wrote: > > > Can it run linux programs that have their own (linux) kernel module? > > > If yes, how can I install such program, and how can I load the kernel module? > > > > > > (If I know correctly nvidia drivers have their own kernel modules, and FreeBSD can > > > run linux nvidia drivers). > > > > Yesno. > > > > You need to compile kernel modules to fit to the version of FreeBSD or > > Linux. > > > > I also call user space "FreeBSD" and "Linux", but it's _not_ correct to > > do it. FreeBSD is a kernel and Linux is a kernel, not the whole system > > is called Linux or FreeBSD and both kernels are available in different > > versions. > > You're right about Linux (being only a kernel). Not so for FreeBSD. FreeBSD > is the name of the OS,, kernel plus userland. You can compare it to debian, > another (linux based) OS. Ok, thanks :). However, I also should be more precise about compiling modules. It might be that somebody did build a package, that does provide a kernel module for a special kernel version. I don't have experiences with FreeBSD and for FreeBSD I anyway build from the ports tree, so I have no idea about packages for FreeBSD, but I suspect that it's as it is for most Linux distros. Sometimes packages do provide modules for the current default kernel. So on major Linux distros you usually can install VBox from a package and it will come with the kernel modules for the packaged default kernel of the distro. From dg at pki2.com Fri Mar 15 17:17:25 2013 From: dg at pki2.com (Dennis Glatting) Date: Fri, 15 Mar 2013 10:17:17 -0700 (PDT) Subject: Is the Intel X520-SR2 (82599ES) supported by the ixbe driver? Message-ID: I have a new Intel X520-SR2 that I plopped into my Supermicro H8QGL-6F with the hope I could connect 10GbE to a Cisco 3560. The links come but but there is much wierdness. Looking through the driver I see the 82599EB is supported but no mention of the ES. Should this work? I have: Keystone# uname -a FreeBSD Keystone 9.1-STABLE FreeBSD 9.1-STABLE #0 r248293: Thu Mar 14 19:31:29 PDT 2013 root at Keystone:/usr/obj/disk-3/src/sys/SECRACK amd64 Keystone# dmesg | egrep 'ix[01]' ix0: port 0x8400-0x841f mem 0xdce80000-0xdcefffff,0xdce7c000-0xdce7ffff irq 32 at device 0.0 on pci3 ix0: Using MSIX interrupts with 9 vectors ix0: Ethernet address: 90:e2:ba:2f:5f:9c ix0: PCI Express Bus: Speed 5.0Gb/s Width x8 ix1: port 0x8800-0x881f mem 0xdcf80000-0xdcffffff,0xdcf7c000-0xdcf7ffff irq 33 at device 0.1 on pci3 ix1: Using MSIX interrupts with 9 vectors ix1: Ethernet address: 90:e2:ba:2f:5f:9d ix1: PCI Express Bus: Speed 5.0Gb/s Width x8 ix0: link state changed to UP Keystone# ifconfig ix0 ix0: flags=8843 metric 0 mtu 8192 options=407bb ether 90:e2:ba:2f:5f:9c nd6 options=29 media: Ethernet autoselect (10Gbase-SR ) status: active Here's an interesting point. If I set the address for the interface, it is accepted but an ifconfig of the interface is shown above. Specifically, I previously executed this command: Keystone# ifconfig ix0 inet 192.168.3.2/24 mtu 8192 up Executing that command a second time yields: Keystone# ifconfig ix0 inet 192.168.3.2/24 mtu 8192 up ifconfig: ioctl (SIOCAIFADDR): File exists A truss of that command yields more interesting things, specifically: kldload("if_ix") ERR#2 'No such file or directory' There is no driver named if_ix. It is also weird that the interface is named ix0 rather than ixgbe0. Also, an arp shows: Keystone# arp -an ? (192.168.17.1) at 2c:21:72:cb:f5:0c on vlan17 expires in 166 seconds [vlan] ? (192.168.13.33) at 78:e7:d1:ea:7a:4e on vlan13 expires in 760 seconds [vlan] ? (192.168.13.1) at 2c:21:72:cb:f5:0c on vlan13 expires in 97 seconds [vlan] ? (192.168.13.3) at 00:21:d8:0b:57:98 on vlan13 expires in 232 seconds [vlan] ? (192.168.7.6) at dc:7b:94:9a:52:41 on vlan7 expires in 268 seconds [vlan] ? (192.168.7.4) at e0:2f:6d:30:39:41 on vlan7 expires in 290 seconds [vlan] ? (192.168.7.3) at 00:21:d8:0b:57:98 on vlan7 expires in 210 seconds [vlan] ? (192.168.7.66) at 28:92:4a:2e:e0:a0 on vlan7 expires in 1199 seconds [vlan] ? (192.168.7.33) at 78:e7:d1:ea:7a:4e on vlan7 expires in 143 seconds [vlan] ? (192.168.7.65) at 28:92:4a:2e:eb:22 on vlan7 expires in 615 seconds [vlan] ? (192.168.3.2) at 90:e2:ba:2f:5f:9c on ix0 permanent [ethernet] So clearly there is a MAC/IP association however I cannot ping the IP: Keystone# ping 192.168.3.2 PING 192.168.3.2 (192.168.3.2): 56 data bytes (nothing) Can someone clue me in? From Devin.Teske at fisglobal.com Fri Mar 15 17:29:42 2013 From: Devin.Teske at fisglobal.com (Teske, Devin) Date: Fri, 15 Mar 2013 17:29:39 +0000 Subject: Is the Intel X520-SR2 (82599ES) supported by the ixbe driver? In-Reply-To: References: Message-ID: <13CA24D6AB415D428143D44749F57D7201ED4642@ltcfiswmsgmb21> I suspect you're running out of mbuf clusters. Try: echo kern.ipc.nmbclusters=524288 >> /etc/sysctl.conf echo kern.ipc.nmbjumbop=524288 >> /etc/sysctl.conf reboot -- Devin ________________________________________ From: owner-freebsd-questions at freebsd.org [owner-freebsd-questions at freebsd.org] on behalf of Dennis Glatting [dg at pki2.com] Sent: Friday, March 15, 2013 10:17 AM To: freebsd-questions at freebsd.org Subject: Is the Intel X520-SR2 (82599ES) supported by the ixbe driver? I have a new Intel X520-SR2 that I plopped into my Supermicro H8QGL-6F with the hope I could connect 10GbE to a Cisco 3560. The links come but but there is much wierdness. Looking through the driver I see the 82599EB is supported but no mention of the ES. Should this work? I have: Keystone# uname -a FreeBSD Keystone 9.1-STABLE FreeBSD 9.1-STABLE #0 r248293: Thu Mar 14 19:31:29 PDT 2013 root at Keystone:/usr/obj/disk-3/src/sys/SECRACK amd64 Keystone# dmesg | egrep 'ix[01]' ix0: port 0x8400-0x841f mem 0xdce80000-0xdcefffff,0xdce7c000-0xdce7ffff irq 32 at device 0.0 on pci3 ix0: Using MSIX interrupts with 9 vectors ix0: Ethernet address: 90:e2:ba:2f:5f:9c ix0: PCI Express Bus: Speed 5.0Gb/s Width x8 ix1: port 0x8800-0x881f mem 0xdcf80000-0xdcffffff,0xdcf7c000-0xdcf7ffff irq 33 at device 0.1 on pci3 ix1: Using MSIX interrupts with 9 vectors ix1: Ethernet address: 90:e2:ba:2f:5f:9d ix1: PCI Express Bus: Speed 5.0Gb/s Width x8 ix0: link state changed to UP Keystone# ifconfig ix0 ix0: flags=8843 metric 0 mtu 8192 options=407bb ether 90:e2:ba:2f:5f:9c nd6 options=29 media: Ethernet autoselect (10Gbase-SR ) status: active Here's an interesting point. If I set the address for the interface, it is accepted but an ifconfig of the interface is shown above. Specifically, I previously executed this command: Keystone# ifconfig ix0 inet 192.168.3.2/24 mtu 8192 up Executing that command a second time yields: Keystone# ifconfig ix0 inet 192.168.3.2/24 mtu 8192 up ifconfig: ioctl (SIOCAIFADDR): File exists A truss of that command yields more interesting things, specifically: kldload("if_ix") ERR#2 'No such file or directory' There is no driver named if_ix. It is also weird that the interface is named ix0 rather than ixgbe0. Also, an arp shows: Keystone# arp -an ? (192.168.17.1) at 2c:21:72:cb:f5:0c on vlan17 expires in 166 seconds [vlan] ? (192.168.13.33) at 78:e7:d1:ea:7a:4e on vlan13 expires in 760 seconds [vlan] ? (192.168.13.1) at 2c:21:72:cb:f5:0c on vlan13 expires in 97 seconds [vlan] ? (192.168.13.3) at 00:21:d8:0b:57:98 on vlan13 expires in 232 seconds [vlan] ? (192.168.7.6) at dc:7b:94:9a:52:41 on vlan7 expires in 268 seconds [vlan] ? (192.168.7.4) at e0:2f:6d:30:39:41 on vlan7 expires in 290 seconds [vlan] ? (192.168.7.3) at 00:21:d8:0b:57:98 on vlan7 expires in 210 seconds [vlan] ? (192.168.7.66) at 28:92:4a:2e:e0:a0 on vlan7 expires in 1199 seconds [vlan] ? (192.168.7.33) at 78:e7:d1:ea:7a:4e on vlan7 expires in 143 seconds [vlan] ? (192.168.7.65) at 28:92:4a:2e:eb:22 on vlan7 expires in 615 seconds [vlan] ? (192.168.3.2) at 90:e2:ba:2f:5f:9c on ix0 permanent [ethernet] So clearly there is a MAC/IP association however I cannot ping the IP: Keystone# ping 192.168.3.2 PING 192.168.3.2 (192.168.3.2): 56 data bytes (nothing) Can someone clue me in? _______________________________________________ freebsd-questions at freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" _____________ 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. From gmx at ross.cx Fri Mar 15 17:48:38 2013 From: gmx at ross.cx (Michael Ross) Date: Fri, 15 Mar 2013 18:48:24 +0100 Subject: No sound with Thinkpad X60 In-Reply-To: <20130314225908.GA2157@thinkpad.piggybox> References: <20130314225908.GA2157@thinkpad.piggybox> Message-ID: On Thu, 14 Mar 2013 23:59:09 +0100, Peter Harrison wrote: > Hi list, > > I've a problem with sound on a Thinkpad X60, which has an Intel HDA chip. > > This is what I see in dmesg: > > hdac0: mem 0xee240000-0xee243fff irq 17 at > device 27.0 on pci0 > hdacc0: at cad 0 on hdac0 > hdaa0: at nid 1 on hdacc0 > pcm0: at nid 5 and 25,8 on hdaa0 > hdacc1: at cad 1 on hdac0 > unknown: at nid 2 on > hdacc1 (no driver attached) > > and from sndstat: > > FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) > Installed devices: > pcm0: (play/rec) default > > and from mixer: > > Mixer vol is currently set to 100:100 > Mixer pcm is currently set to 100:100 > Mixer speaker is currently set to 100:100 > Mixer cd is currently set to 1:1 > Mixer rec is currently set to 1:1 > Mixer igain is currently set to 42:42 > Mixer ogain is currently set to 100:100 > Mixer monitor is currently set to 67:67 > Recording source: cd > > But I have no sound. This is using Gnome 2.32 on 9.1-R. I did initially > accidentally install Pulseaudio, but have subsequently deleted it and > reinstalled everything that depended on it without the Pulseaudio > dependency. > > Any thoughts on what I'm doing wrong? > > Thanks in advance. Possibly not helping a lot: I have a T510 thinkpad with Intel HDA audio, running Windows 7. I need to have the audio driver *and* the modem driver installed for any sound to work. So possibly the modem part has to be initialised or something. You have "no driver attached" on your modem, so maybe that's worth looking at. You could also try if sound works from a terminal without running Gnome at all, just to be sure it's not some Gnome configuration thing. Regards, Michael From openslateproj at gmail.com Fri Mar 15 17:54:55 2013 From: openslateproj at gmail.com (Gary Dunn) Date: Fri, 15 Mar 2013 17:48:26 +0000 (UTC) Subject: Can't fetch boost-jam References: Message-ID: Open Slate gmail.com> writes: > > For several days I have not been able to update my ports due to fetch > errors. Right now the first port portupgrade wants to update is > devel/boost-jam. [snip] Still cannot build this port today. Same problem. From dg at pki2.com Fri Mar 15 18:02:42 2013 From: dg at pki2.com (Dennis Glatting) Date: Fri, 15 Mar 2013 11:02:31 -0700 (PDT) Subject: Is the Intel X520-SR2 (82599ES) supported by the ixbe driver? In-Reply-To: <13CA24D6AB415D428143D44749F57D7201ED4642@ltcfiswmsgmb21> References: <13CA24D6AB415D428143D44749F57D7201ED4642@ltcfiswmsgmb21> Message-ID: On Fri, 15 Mar 2013, Teske, Devin wrote: > I suspect you're running out of mbuf clusters. > > Try: > > echo kern.ipc.nmbclusters=524288 >> /etc/sysctl.conf > echo kern.ipc.nmbjumbop=524288 >> /etc/sysctl.conf > reboot These were my settings: Keystone> sysctl -a kern.ipc.nmbclusters kern.ipc.nmbclusters: 1048576 Keystone> sysctl -a kern.ipc.nmbjumbop kern.ipc.nmbjumbop: 524288 > > -- > Devin > > ________________________________________ > From: owner-freebsd-questions at freebsd.org [owner-freebsd-questions at freebsd.org] on behalf of Dennis Glatting [dg at pki2.com] > Sent: Friday, March 15, 2013 10:17 AM > To: freebsd-questions at freebsd.org > Subject: Is the Intel X520-SR2 (82599ES) supported by the ixbe driver? > > I have a new Intel X520-SR2 that I plopped into my Supermicro H8QGL-6F > with the hope I could connect 10GbE to a Cisco 3560. The links come but > but there is much wierdness. Looking through the driver I see the 82599EB > is supported but no mention of the ES. > > Should this work? > > I have: > > Keystone# uname -a > FreeBSD Keystone 9.1-STABLE FreeBSD 9.1-STABLE #0 r248293: Thu Mar 14 > 19:31:29 PDT 2013 root at Keystone:/usr/obj/disk-3/src/sys/SECRACK amd64 > > > Keystone# dmesg | egrep 'ix[01]' > ix0: STABLE/9> port 0x8400-0x841f mem > 0xdce80000-0xdcefffff,0xdce7c000-0xdce7ffff irq 32 at device 0.0 on pci3 > ix0: Using MSIX interrupts with 9 vectors > ix0: Ethernet address: 90:e2:ba:2f:5f:9c > ix0: PCI Express Bus: Speed 5.0Gb/s Width x8 > ix1: STABLE/9> port 0x8800-0x881f mem > 0xdcf80000-0xdcffffff,0xdcf7c000-0xdcf7ffff irq 33 at device 0.1 on pci3 > ix1: Using MSIX interrupts with 9 vectors > ix1: Ethernet address: 90:e2:ba:2f:5f:9d > ix1: PCI Express Bus: Speed 5.0Gb/s Width x8 > ix0: link state changed to UP > > > Keystone# ifconfig ix0 > ix0: flags=8843 metric 0 mtu 8192 > > options=407bb > ether 90:e2:ba:2f:5f:9c > nd6 options=29 > media: Ethernet autoselect (10Gbase-SR ) > status: active > > > Here's an interesting point. If I set the address for the interface, it is > accepted but an ifconfig of the interface is shown above. Specifically, I > previously executed this command: > > Keystone# ifconfig ix0 inet 192.168.3.2/24 mtu 8192 up > > > Executing that command a second time yields: > > Keystone# ifconfig ix0 inet 192.168.3.2/24 mtu 8192 up > ifconfig: ioctl (SIOCAIFADDR): File exists > > > A truss of that command yields more interesting things, specifically: > > kldload("if_ix") ERR#2 'No such file or directory' > > > There is no driver named if_ix. It is also weird that the interface is > named ix0 rather than ixgbe0. > > > Also, an arp shows: > > Keystone# arp -an > ? (192.168.17.1) at 2c:21:72:cb:f5:0c on vlan17 expires in 166 seconds > [vlan] > ? (192.168.13.33) at 78:e7:d1:ea:7a:4e on vlan13 expires in 760 seconds > [vlan] > ? (192.168.13.1) at 2c:21:72:cb:f5:0c on vlan13 expires in 97 seconds > [vlan] > ? (192.168.13.3) at 00:21:d8:0b:57:98 on vlan13 expires in 232 seconds > [vlan] > ? (192.168.7.6) at dc:7b:94:9a:52:41 on vlan7 expires in 268 seconds > [vlan] > ? (192.168.7.4) at e0:2f:6d:30:39:41 on vlan7 expires in 290 seconds > [vlan] > ? (192.168.7.3) at 00:21:d8:0b:57:98 on vlan7 expires in 210 seconds > [vlan] > ? (192.168.7.66) at 28:92:4a:2e:e0:a0 on vlan7 expires in 1199 seconds > [vlan] > ? (192.168.7.33) at 78:e7:d1:ea:7a:4e on vlan7 expires in 143 seconds > [vlan] > ? (192.168.7.65) at 28:92:4a:2e:eb:22 on vlan7 expires in 615 seconds > [vlan] > ? (192.168.3.2) at 90:e2:ba:2f:5f:9c on ix0 permanent [ethernet] > > > So clearly there is a MAC/IP association however I cannot ping the IP: > > > Keystone# ping 192.168.3.2 > PING 192.168.3.2 (192.168.3.2): 56 data bytes > (nothing) > > > Can someone clue me in? > > > > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > > _____________ > 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 at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > From freebsd-questions-local at be-well.ilk.org Fri Mar 15 18:06:14 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Fri, 15 Mar 2013 14:05:58 -0400 Subject: configure recursively and build question In-Reply-To: <4cf380c.a14043e.514234f9.77739@lajt.hu> (Istvan Gabor's message of "Thu, 14 Mar 2013 21:37:13 +0100") References: <33e0ec72.507f04c6.513f5b93.143fa@lajt.hu> <44ppz4jru1.fsf@lowell-desk.lan> <4cf380c.a14043e.514234f9.77739@lajt.hu> Message-ID: <448v5o5yih.fsf@lowell-desk.lan> Istvan Gabor writes: > 2013. m?rcius 12. 21:17 napon Lowell Gilbert ?rta: >> >> Second, config-recursive only does the configuration of the port >> options. > > Then I misunderstood the handbook, chich says: > > "To avoid this when there are many dependencies, first run make config-recursive > to do the configuration in one batch." > > I understood this as the configuration is done on all the dependencies as well. You understood the handbook correctly. My comment was poorly worded and unnecessary (I was actually making the same point as in #4. The word "options" can mean slightly different things. The port's framework may define options, which the port will require you to choose among before building its software. The program being built may *additionally* require user input for building, and the port framework (in particular, "make config") can't store those choices. This is unusual, but some common ports do it (for example, ghostscript is one). > The handbook also writes: > > "Tip: When using config-recursive, the list of ports to configure are gathered by the > all-depends-list make(1) target. It is often recommended to run make config-recursive > until all dependent ports options have been defined, and ports options dialog(1) screens > no longer appear, to be certain all ports options have been configured as intended." > > Does this mean if I run config-recursive several times in a raw, all the dependencies will > be configured? This is a slightly different issue. Changing a port's options may change its dependencies, so another round of config-recursive might be needed to config the new dependencies. > ... > >> Fourth (and, you'll be glad to hear, finally) some ports are interactive >> for reasons beyond options. See the manual for ports(7), noting the >> environment variables INTERACTIVE and BATCH. > > I will look at this. > >> > Second, after I've done a configure-recursive, how can I start it over from scratch in case >> > I want to change some config option? If I reissue make configure-recursive, >> > I get only no configuration needed messages. >> >> If you really want to start from scratch, you can use >> "rmconfig-recursive" on the dependent port. > > Yes I meant only the given port and its dependencies, not the all ports. From oscar.hodgson at gmail.com Fri Mar 15 19:19:01 2013 From: oscar.hodgson at gmail.com (Oscar Hodgson) Date: Fri, 15 Mar 2013 15:18:55 -0400 Subject: Can an ISO file be mounted from /etc/fstab at boot? Message-ID: I'm pretty sure the answer is "no, just write a local rc script to do that", but thought I'd check. Can't see any hint of that capability in the handbook or fstab(5). Really just looking for a single point of management for file systems .... Thanks in advance. Oscar From freebsd-questions-local at be-well.ilk.org Fri Mar 15 19:27:40 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Fri, 15 Mar 2013 15:27:31 -0400 Subject: Can't fetch boost-jam In-Reply-To: (Open Slate's message of "Thu, 14 Mar 2013 07:49:30 -1000") References: Message-ID: <44vc8sv4yk.fsf@lowell-desk.lan> Open Slate writes: > For several days I have not been able to update my ports due to fetch > errors. Right now the first port portupgrade wants to update is > devel/boost-jam. Here is the tail of the output of make issued in > /usr/ports/devel/boost-jam: You seem to have overridden a master site variable; downloading it from sourceforge (as the port does by default) works fine. From freebsd-questions-local at be-well.ilk.org Fri Mar 15 20:04:31 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Fri, 15 Mar 2013 16:04:23 -0400 Subject: Can an ISO file be mounted from /etc/fstab at boot? In-Reply-To: (Oscar Hodgson's message of "Fri, 15 Mar 2013 15:18:55 -0400") References: Message-ID: <44r4jgv394.fsf@lowell-desk.lan> Oscar Hodgson writes: > I'm pretty sure the answer is "no, just write a local rc script to do > that", but thought I'd check. > > Can't see any hint of that capability in the handbook or fstab(5). > > Really just looking for a single point of management for file systems .... I don't see a way offhand. You need to do the mdconfig before you can mount, and I don't think that can be done inside of fstab. I think that adding such a capability to mount(8) as a program option would be a fairly minor hack. From dg at pki2.com Fri Mar 15 21:11:01 2013 From: dg at pki2.com (Dennis Glatting) Date: Fri, 15 Mar 2013 14:10:53 -0700 (PDT) Subject: Is the Intel X520-SR2 (82599ES) supported by the ixbe driver? In-Reply-To: References: <13CA24D6AB415D428143D44749F57D7201ED4642@ltcfiswmsgmb21> Message-ID: Sorry for the noise. The problem was old sysctls. On Fri, 15 Mar 2013, Dennis Glatting wrote: > > > On Fri, 15 Mar 2013, Teske, Devin wrote: > >> I suspect you're running out of mbuf clusters. >> >> Try: >> >> echo kern.ipc.nmbclusters=524288 >> /etc/sysctl.conf >> echo kern.ipc.nmbjumbop=524288 >> /etc/sysctl.conf >> reboot > > These were my settings: > > Keystone> sysctl -a kern.ipc.nmbclusters > kern.ipc.nmbclusters: 1048576 > > Keystone> sysctl -a kern.ipc.nmbjumbop > kern.ipc.nmbjumbop: 524288 > > >> >> -- >> Devin >> >> ________________________________________ >> From: owner-freebsd-questions at freebsd.org >> [owner-freebsd-questions at freebsd.org] on behalf of Dennis Glatting >> [dg at pki2.com] >> Sent: Friday, March 15, 2013 10:17 AM >> To: freebsd-questions at freebsd.org >> Subject: Is the Intel X520-SR2 (82599ES) supported by the ixbe driver? >> >> I have a new Intel X520-SR2 that I plopped into my Supermicro H8QGL-6F >> with the hope I could connect 10GbE to a Cisco 3560. The links come but >> but there is much wierdness. Looking through the driver I see the 82599EB >> is supported but no mention of the ES. >> >> Should this work? >> >> I have: >> >> Keystone# uname -a >> FreeBSD Keystone 9.1-STABLE FreeBSD 9.1-STABLE #0 r248293: Thu Mar 14 >> 19:31:29 PDT 2013 root at Keystone:/usr/obj/disk-3/src/sys/SECRACK amd64 >> >> >> Keystone# dmesg | egrep 'ix[01]' >> ix0: > STABLE/9> port 0x8400-0x841f mem >> 0xdce80000-0xdcefffff,0xdce7c000-0xdce7ffff irq 32 at device 0.0 on pci3 >> ix0: Using MSIX interrupts with 9 vectors >> ix0: Ethernet address: 90:e2:ba:2f:5f:9c >> ix0: PCI Express Bus: Speed 5.0Gb/s Width x8 >> ix1: > STABLE/9> port 0x8800-0x881f mem >> 0xdcf80000-0xdcffffff,0xdcf7c000-0xdcf7ffff irq 33 at device 0.1 on pci3 >> ix1: Using MSIX interrupts with 9 vectors >> ix1: Ethernet address: 90:e2:ba:2f:5f:9d >> ix1: PCI Express Bus: Speed 5.0Gb/s Width x8 >> ix0: link state changed to UP >> >> >> Keystone# ifconfig ix0 >> ix0: flags=8843 metric 0 mtu 8192 >> >> options=407bb >> ether 90:e2:ba:2f:5f:9c >> nd6 options=29 >> media: Ethernet autoselect (10Gbase-SR ) >> status: active >> >> >> Here's an interesting point. If I set the address for the interface, it is >> accepted but an ifconfig of the interface is shown above. Specifically, I >> previously executed this command: >> >> Keystone# ifconfig ix0 inet 192.168.3.2/24 mtu 8192 up >> >> >> Executing that command a second time yields: >> >> Keystone# ifconfig ix0 inet 192.168.3.2/24 mtu 8192 up >> ifconfig: ioctl (SIOCAIFADDR): File exists >> >> >> A truss of that command yields more interesting things, specifically: >> >> kldload("if_ix") ERR#2 'No such file or >> directory' >> >> >> There is no driver named if_ix. It is also weird that the interface is >> named ix0 rather than ixgbe0. >> >> >> Also, an arp shows: >> >> Keystone# arp -an >> ? (192.168.17.1) at 2c:21:72:cb:f5:0c on vlan17 expires in 166 seconds >> [vlan] >> ? (192.168.13.33) at 78:e7:d1:ea:7a:4e on vlan13 expires in 760 seconds >> [vlan] >> ? (192.168.13.1) at 2c:21:72:cb:f5:0c on vlan13 expires in 97 seconds >> [vlan] >> ? (192.168.13.3) at 00:21:d8:0b:57:98 on vlan13 expires in 232 seconds >> [vlan] >> ? (192.168.7.6) at dc:7b:94:9a:52:41 on vlan7 expires in 268 seconds >> [vlan] >> ? (192.168.7.4) at e0:2f:6d:30:39:41 on vlan7 expires in 290 seconds >> [vlan] >> ? (192.168.7.3) at 00:21:d8:0b:57:98 on vlan7 expires in 210 seconds >> [vlan] >> ? (192.168.7.66) at 28:92:4a:2e:e0:a0 on vlan7 expires in 1199 seconds >> [vlan] >> ? (192.168.7.33) at 78:e7:d1:ea:7a:4e on vlan7 expires in 143 seconds >> [vlan] >> ? (192.168.7.65) at 28:92:4a:2e:eb:22 on vlan7 expires in 615 seconds >> [vlan] >> ? (192.168.3.2) at 90:e2:ba:2f:5f:9c on ix0 permanent [ethernet] >> >> >> So clearly there is a MAC/IP association however I cannot ping the IP: >> >> >> Keystone# ping 192.168.3.2 >> PING 192.168.3.2 (192.168.3.2): 56 data bytes >> (nothing) >> >> >> Can someone clue me in? >> >> >> >> >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe at freebsd.org" >> >> _____________ >> 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 at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe at freebsd.org" >> > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > From four.harrisons at googlemail.com Fri Mar 15 22:19:40 2013 From: four.harrisons at googlemail.com (Peter Harrison) Date: Fri, 15 Mar 2013 23:28:27 +0000 Subject: No sound with Thinkpad X60 In-Reply-To: References: <20130314225908.GA2157@thinkpad.piggybox> Message-ID: <20130315232827.GA2189@thinkpad.piggybox> Friday, 15 March 2013 at 18:48:24 +0100, Michael Ross said: > On Thu, 14 Mar 2013 23:59:09 +0100, Peter Harrison > wrote: > > > Hi list, > > > > I've a problem with sound on a Thinkpad X60, which has an Intel HDA chip. > > > > This is what I see in dmesg: > > > > hdac0: mem 0xee240000-0xee243fff irq 17 at > > device 27.0 on pci0 > > hdacc0: at cad 0 on hdac0 > > hdaa0: at nid 1 on hdacc0 > > pcm0: at nid 5 and 25,8 on hdaa0 > > hdacc1: at cad 1 on hdac0 > > unknown: at nid 2 on > > hdacc1 (no driver attached) > > > > and from sndstat: > > > > FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) > > Installed devices: > > pcm0: (play/rec) default > > > > and from mixer: > > > > Mixer vol is currently set to 100:100 > > Mixer pcm is currently set to 100:100 > > Mixer speaker is currently set to 100:100 > > Mixer cd is currently set to 1:1 > > Mixer rec is currently set to 1:1 > > Mixer igain is currently set to 42:42 > > Mixer ogain is currently set to 100:100 > > Mixer monitor is currently set to 67:67 > > Recording source: cd > > > > But I have no sound. This is using Gnome 2.32 on 9.1-R. I did initially > > accidentally install Pulseaudio, but have subsequently deleted it and > > reinstalled everything that depended on it without the Pulseaudio > > dependency. > > > > Any thoughts on what I'm doing wrong? > > > > Thanks in advance. > > Possibly not helping a lot: > > I have a T510 thinkpad with Intel HDA audio, running Windows 7. > I need to have the audio driver *and* the modem driver installed for any > sound to work. > So possibly the modem part has to be initialised or something. > You have "no driver attached" on your modem, so maybe that's worth looking > at. > > You could also try if sound works from a terminal without running Gnome at > all, > just to be sure it's not some Gnome configuration thing. > > Regards, > > Michael Thanks Michael. Tried turning gnome off. Still no sound from the console. Is there a FreeBSD kernel module for the modem? Thanks again, Peter Harrison. From gmx at ross.cx Fri Mar 15 23:17:38 2013 From: gmx at ross.cx (Michael Ross) Date: Sat, 16 Mar 2013 00:17:18 +0100 Subject: No sound with Thinkpad X60 In-Reply-To: <20130315232827.GA2189@thinkpad.piggybox> References: <20130314225908.GA2157@thinkpad.piggybox> <20130315232827.GA2189@thinkpad.piggybox> Message-ID: On Sat, 16 Mar 2013 00:28:27 +0100, Peter Harrison wrote: > Friday, 15 March 2013 at 18:48:24 +0100, Michael Ross said: >> On Thu, 14 Mar 2013 23:59:09 +0100, Peter Harrison >> wrote: >> >> > Hi list, >> > >> > I've a problem with sound on a Thinkpad X60, which has an Intel HDA >> chip. >> > >> > This is what I see in dmesg: >> > >> > hdac0: mem 0xee240000-0xee243fff irq 17 >> at >> > device 27.0 on pci0 >> > hdacc0: at cad 0 on hdac0 >> > hdaa0: at nid 1 on >> hdacc0 >> > pcm0: at nid 5 and 25,8 on hdaa0 >> > hdacc1: at cad 1 on hdac0 >> > unknown: at nid 2 >> on >> > hdacc1 (no driver attached) >> > >> > and from sndstat: >> > >> > FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) >> > Installed devices: >> > pcm0: (play/rec) default >> > >> > and from mixer: >> > >> > Mixer vol is currently set to 100:100 >> > Mixer pcm is currently set to 100:100 >> > Mixer speaker is currently set to 100:100 >> > Mixer cd is currently set to 1:1 >> > Mixer rec is currently set to 1:1 >> > Mixer igain is currently set to 42:42 >> > Mixer ogain is currently set to 100:100 >> > Mixer monitor is currently set to 67:67 >> > Recording source: cd >> > >> > But I have no sound. This is using Gnome 2.32 on 9.1-R. I did >> initially >> > accidentally install Pulseaudio, but have subsequently deleted it and >> > reinstalled everything that depended on it without the Pulseaudio >> > dependency. >> > >> > Any thoughts on what I'm doing wrong? >> > >> > Thanks in advance. >> >> Possibly not helping a lot: >> >> I have a T510 thinkpad with Intel HDA audio, running Windows 7. >> I need to have the audio driver *and* the modem driver installed for any >> sound to work. >> So possibly the modem part has to be initialised or something. >> You have "no driver attached" on your modem, so maybe that's worth >> looking >> at. >> >> You could also try if sound works from a terminal without running Gnome >> at >> all, >> just to be sure it's not some Gnome configuration thing. >> >> Regards, >> >> Michael > > Thanks Michael. > > Tried turning gnome off. Still no sound from the console. Is there a > FreeBSD kernel module for the modem? > Don't know. But stepping back, do you have snd_hda loaded? ( Silly me, should have been the first question. ) Found this: http://www.bmichelsen.no/blog/2012/01/28/configuring-freebsd-for-x60s/ Regards, Michael From openslateproj at gmail.com Sat Mar 16 00:08:35 2013 From: openslateproj at gmail.com (Open Slate) Date: Fri, 15 Mar 2013 14:08:28 -1000 Subject: Can't fetch boost-jam In-Reply-To: <44vc8sv4yk.fsf@lowell-desk.lan> References: <44vc8sv4yk.fsf@lowell-desk.lan> Message-ID: Apparently my employer blocks sourceforge. If the FreeBSD site would upgrade their distfiles this port, and I suspect a few more, would update just fine. I may have to give up running FreeBSD at work. On Fri, Mar 15, 2013 at 9:27 AM, Lowell Gilbert < freebsd-questions-local at be-well.ilk.org> wrote: > Open Slate writes: > > > For several days I have not been able to update my ports due to fetch > > errors. Right now the first port portupgrade wants to update is > > devel/boost-jam. Here is the tail of the output of make issued in > > /usr/ports/devel/boost-jam: > > You seem to have overridden a master site variable; downloading it from > sourceforge (as the port does by default) works fine. > -- Gary Dunn Open Slate Project http://openslate.org/ From tundra at tundraware.com Sat Mar 16 00:22:06 2013 From: tundra at tundraware.com (Tim Daneliuk) Date: Fri, 15 Mar 2013 19:09:31 -0500 Subject: Weird NFS Performance Problem Message-ID: <5143B83B.2080404@tundraware.com> I have a FreeBSD 9.1-STABLE exhibiting weird NFS performance issues and I'd appreciate any suggestions. I have several different directories exported from the same filesystem. The machine that mounts them (a Linux Mint 12 desktop) writes nice and fast to one of them, but writes to the other one are dreadfully slow. Both are mounted on the LM machine using 'rw,soft,intr' in that machine's fstab file. Any ideas on what might be the culprit here? -- ---------------------------------------------------------------------------- Tim Daneliuk tundra at tundraware.com PGP Key: http://www.tundraware.com/PGP/ From m.e.sanliturk at gmail.com Sat Mar 16 00:53:32 2013 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Fri, 15 Mar 2013 17:53:31 -0700 Subject: Weird NFS Performance Problem In-Reply-To: <5143B83B.2080404@tundraware.com> References: <5143B83B.2080404@tundraware.com> Message-ID: On Fri, Mar 15, 2013 at 5:09 PM, Tim Daneliuk wrote: > I have a FreeBSD 9.1-STABLE exhibiting weird NFS performance issues > and I'd appreciate any suggestions. > > I have several different directories exported from the same filesystem. > The machine that mounts them (a Linux Mint 12 desktop) writes > nice and fast to one of them, but writes to the other one > are dreadfully slow. Both are mounted on the LM machine using > 'rw,soft,intr' in that machine's fstab file. > > Any ideas on what might be the culprit here? > > > -- > ------------------------------**------------------------------** > ---------------- > Tim Daneliuk tundra at tundraware.com > PGP Key: http://www.tundraware.com/PGP/ > Is the slow directory a LINK ? If it is a LINK , then , try with the real directory name . Thank you very much . Mehmet Erol Sanliturk From leeoliveshackelford at surewest.net Sat Mar 16 03:11:32 2013 From: leeoliveshackelford at surewest.net (leeoliveshackelford at surewest.net) Date: Fri, 15 Mar 2013 20:11:24 -0700 (PDT) Subject: Installing 9.1 without re-partitioning hard drive Message-ID: <20130315201124.DEO31912@ms5.mc.surewest.net> Good evening, Free BSD enthusiasts. Thank you to each of the several people who have responded to my previous messages. I have made significant progress, but am now flummoxed at the installation of the boot loader. The handbook says to run this command, "boot0cfg -B ad0". When I run this command, I get the following error message: "Unable to get providername for ad0". What is a provider name? How do I determine the provider name for ad0? How do I communicate that information to boot0cfg? I know that this problem has something to do with the "geom" command, but the "man geom" goes on for many pages. While I think the answer may be in there somewhere, I could not find it. Any and all comments will be appreciated. Sincerely, Newby Lee From erichsfreebsdlist at alogt.com Sat Mar 16 04:09:03 2013 From: erichsfreebsdlist at alogt.com (Erich Dollansky) Date: Sat, 16 Mar 2013 11:08:52 +0700 Subject: Installing 9.1 without re-partitioning hard drive In-Reply-To: <20130315201124.DEO31912@ms5.mc.surewest.net> References: <20130315201124.DEO31912@ms5.mc.surewest.net> Message-ID: <20130316110852.3f3797dd@X220.ovitrap.com> Hi, On Fri, 15 Mar 2013 20:11:24 -0700 (PDT) wrote: > Good evening, Free BSD enthusiasts. Thank you to each of the several good morning, > people who have responded to my previous messages. I have made > significant progress, but am now flummoxed at the installation of the this is good to hear. > boot loader. The handbook says to run this command, "boot0cfg -B > ad0". When I run this command, I get the following error message: > "Unable to get providername for ad0". What is a provider name? How > do I determine the provider name for ad0? How do I communicate that > information to boot0cfg? I know that this problem has something to > do with the "geom" command, but the "man geom" goes on for many > pages. While I think the answer may be in there somewhere, I could > not find it. Any and all comments will be appreciated. Sincerely, > Newby Lee ad0? This sounds like that it would overwrite the loader from your Windows installation. Did you read man gpart? gpart should be able to show you the current layout of the disk. It is also able to install the boot code you need. If I remember, you want to have Windows and FreeBSD on the same disk. So, you should have some kind of boot manager which will give you the choice between them. Of course, you can use whatever boot manager you want. The one which comes with FreeBSD is a bit simple but does its job. Erich From wblock at wonkity.com Sat Mar 16 14:01:48 2013 From: wblock at wonkity.com (Warren Block) Date: Sat, 16 Mar 2013 08:01:46 -0600 (MDT) Subject: Installing 9.1 without re-partitioning hard drive In-Reply-To: <20130315201124.DEO31912@ms5.mc.surewest.net> References: <20130315201124.DEO31912@ms5.mc.surewest.net> Message-ID: On Fri, 15 Mar 2013, leeoliveshackelford at surewest.net wrote: > Good evening, Free BSD enthusiasts. Thank you to each of the several > people who have responded to my previous messages. I have made > significant progress, but am now flummoxed at the installation of the > boot loader. The handbook says to run this command, "boot0cfg -B > ad0". When I run this command, I get the following error message: > "Unable to get providername for ad0". This message means there is no disk called ad0. On FreeBSD 9.x, it is likely to be called ada0 instead. I can't find that command in the Handbook. Could you please point out where it is? From tundra at tundraware.com Sat Mar 16 18:49:41 2013 From: tundra at tundraware.com (Tim Daneliuk) Date: Sat, 16 Mar 2013 13:49:27 -0500 Subject: NFS Performance: Weirder And Weirder Message-ID: <5144BEB7.3090906@tundraware.com> This is really weird. A FreeBSD 9.1 system mounts the following: /dev/ad4s1a 989M 625M 285M 69% / devfs 1.0k 1.0k 0B 100% /dev /dev/ad4s1d 7.8G 1G 6.1G 14% /var /dev/ad4s1e 48G 9.4G 35G 21% /usr /dev/ad4s1f 390G 127G 231G 35% /usr1 /dev/ad6s1d 902G 710G 120G 86% /usr1/BKU /usr1/something (under ad4s1f) and /usr1/BKU (all of ad6s1d) are exported for NFS mounting on the LAN. I have tested the speeds of these two drives locally doing a 'dd if=/dev/zero ....'. Their speeds are quite comparable - around 55-60 MB/s so the problem below is not an artifact of a slow drive. The two mounts are imported like this on a Linux Mint 12 machine: machine:/usr1/BKU /BKU nfs rw,soft,intr 0 0 machine:/usr1/shared /shared nfs rw,soft,intr 0 0 Problem: When I write files from the LM12 machines to /BKU the writes are 1/10 the speed of when writing to /shared. Reads are fine in both cases, at near native disk speeds being reported. Someone here suggested I get rid of any symlinks in the mount and I did that to no avail. Incidentally, the only reason I just noticed this is that I upgraded the NIC on the FreeBSD machine and the switch into which it connects to 1000Base because the LM12 machine had a built in 1000Base NIC. I also changed the cables on both machines to ensure they were not the problem. Prior to this, I was bandwidth constrained by the 100Base so I never saw NFS performance as an issue. When I upgraded, I expected faster transfers and when I didn't get them, I started this whole investigation. So ... I'm stumped: - It's not the drive or SATA ports because both drives show comparable performance. - It's not the cables because I can get great throughput on one of the NFS mountpoints. - It's neither NIC for the same reason. Does anyone: A) Have a clue what might be doing this B) Have a suggestion how to track down the problem Thanks, -- ---------------------------------------------------------------------------- Tim Daneliuk tundra at tundraware.com PGP Key: http://www.tundraware.com/PGP/ From drew at mykitchentable.net Sat Mar 16 19:42:30 2013 From: drew at mykitchentable.net (Drew Tomlinson) Date: Sat, 16 Mar 2013 12:42:02 -0700 Subject: Upgrade from 6.4 to 9.1? Message-ID: <5144CB0A.6010801@mykitchentable.net> I have an old system happily running 6.4 but am finding that it can no longer download or build a ports index. Thus I guess it's time to upgrade. What "gotchas" do I need to look out for? In the past my upgrades have always been simply downloading new source, reviewing kernel config file, and then rebuilding the system. Any ports that didn't work after that I would just rebuild as well. However I've never waited this long to upgrade. Do I need to do anything different? Thanks, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com From dnelson at allantgroup.com Sat Mar 16 20:06:20 2013 From: dnelson at allantgroup.com (Dan Nelson) Date: Sat, 16 Mar 2013 15:01:52 -0500 Subject: Upgrade from 6.4 to 9.1? In-Reply-To: <5144CB0A.6010801@mykitchentable.net> References: <5144CB0A.6010801@mykitchentable.net> Message-ID: <20130316200152.GD80810@dan.emsphone.com> In the last episode (Mar 16), Drew Tomlinson said: > I have an old system happily running 6.4 but am finding that it can no > longer download or build a ports index. Thus I guess it's time to > upgrade. > > What "gotchas" do I need to look out for? In the past my upgrades have > always been simply downloading new source, reviewing kernel config file, > and then rebuilding the system. Any ports that didn't work after that I > would just rebuild as well. However I've never waited this long to > upgrade. Do I need to do anything different? You won't be able to do a straight source build from 6.4 to 9.1; too many low-level changes like Makefile syntax and compiler options have changed. If you are comfortable with temporarily disabling non-essential things that fail to build, it is definitely possible to do a long jump to 9.1, but it'd be safer to either hop from 6.4 -> (7-stable or 8-stable) -> 9 doing buildkernels and buildworlds, or just do a binary upgrade of kernel and base system to 9.1. -- Dan Nelson dnelson at allantgroup.com From m.e.sanliturk at gmail.com Sat Mar 16 21:20:34 2013 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Sat, 16 Mar 2013 14:20:32 -0700 Subject: NFS Performance: Weirder And Weirder In-Reply-To: <5144BEB7.3090906@tundraware.com> References: <5144BEB7.3090906@tundraware.com> Message-ID: On Sat, Mar 16, 2013 at 11:49 AM, Tim Daneliuk wrote: > This is really weird. A FreeBSD 9.1 system mounts the following: > > /dev/ad4s1a 989M 625M 285M 69% / > devfs 1.0k 1.0k 0B 100% /dev > /dev/ad4s1d 7.8G 1G 6.1G 14% /var > /dev/ad4s1e 48G 9.4G 35G 21% /usr > /dev/ad4s1f 390G 127G 231G 35% /usr1 > /dev/ad6s1d 902G 710G 120G 86% /usr1/BKU > > /usr1/something (under ad4s1f) and /usr1/BKU (all of ad6s1d) are > exported for NFS mounting on the LAN. I have tested the > speeds of these two drives locally doing a 'dd if=/dev/zero ....'. > Their speeds are quite comparable - around 55-60 MB/s so the > problem below is not an artifact of a slow drive. > > The two mounts are imported like this on a Linux Mint 12 machine: > > > machine:/usr1/BKU /BKU nfs rw,soft,intr 0 0 > machine:/usr1/shared /shared nfs rw,soft,intr 0 0 > > Problem: > > When I write files from the LM12 machines to /BKU the writes are > 1/10 the speed of when writing to /shared. Reads are fine in both > cases, at near native disk speeds being reported. > > Someone here suggested I get rid of any symlinks in the mount and I did > that to no avail. > > > Incidentally, the only reason I just noticed this is that I upgraded the > NIC on the FreeBSD machine and the switch into which it connects to > 1000Base > because the LM12 machine had a built in 1000Base NIC. I also changed > the cables on both machines to ensure they were not the problem. Prior > to this, I was bandwidth constrained by the 100Base so I never saw NFS > performance as an issue. When I upgraded, I expected faster transfers > and when I didn't get them, I started this whole investigation. > > So ... I'm stumped: > > - It's not the drive or SATA ports because both drives show comparable > performance. > - It's not the cables because I can get great throughput on one of the NFS > mountpoints. > - It's neither NIC for the same reason. > > Does anyone: > > A) Have a clue what might be doing this > B) Have a suggestion how to track down the problem > > Thanks, > > -- > ------------------------------**------------------------------** > ---------------- > Tim Daneliuk tundra at tundraware.com > PGP Key: http://www.tundraware.com/PGP/ > > With respect to your mount points : /usr1 is spanning TWO different partitions : /dev/ad4s1f 390G 127G 231G 35% /usr1 /dev/ad6s1d 902G 710G 120G 86% /usr1/BKU because /usr1/BKU is a sub-directory of /usr1 . If you create a new directory , for example /usr2 , and /usr2/BKU , and using this new separate directory for sharing , such as : /dev/ad6s1d 902G 710G 120G 86% /usr2/BKU and machine:/usr2/BKU /BKU nfs rw,soft,intr 0 0 will it make difference ? Mehmet Erol Sanliturk From tundra at tundraware.com Sat Mar 16 22:09:09 2013 From: tundra at tundraware.com (Tim Daneliuk) Date: Sat, 16 Mar 2013 17:07:15 -0500 Subject: NFS Performance: Weirder And Weirder In-Reply-To: References: <5144BEB7.3090906@tundraware.com> Message-ID: <5144ED13.7020808@tundraware.com> On 03/16/2013 04:20 PM, Mehmet Erol Sanliturk wrote: > > > > With respect to your mount points : /usr1 is spanning TWO different partitions : > > /dev/ad4s1f 390G 127G 231G 35% /usr1 > /dev/ad6s1d 902G 710G 120G 86% /usr1/BKU > > > because /usr1/BKU is a sub-directory of /usr1 . > > > If you create a new directory , for example /usr2 , and /usr2/BKU , and using this new separate directory for sharing , such as : > > /dev/ad6s1d 902G 710G 120G 86% /usr2/BKU > > and > > machine:/usr2/BKU /BKU nfs rw,soft,intr 0 0 > > > will it make difference ? > > > Mehmet Erol Sanliturk I just tried this and it made no difference. The same file copied onto the NFS mount on /usr1/shared takes about 20x as long when coppied on to /usr[1|2]/BKU. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra at tundraware.com PGP Key: http://www.tundraware.com/PGP/ From m.e.sanliturk at gmail.com Sat Mar 16 22:43:59 2013 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Sat, 16 Mar 2013 15:43:51 -0700 Subject: NFS Performance: Weirder And Weirder In-Reply-To: <5144ED13.7020808@tundraware.com> References: <5144BEB7.3090906@tundraware.com> <5144ED13.7020808@tundraware.com> Message-ID: On Sat, Mar 16, 2013 at 3:07 PM, Tim Daneliuk wrote: > On 03/16/2013 04:20 PM, Mehmet Erol Sanliturk wrote: > >> >> >> > >> With respect to your mount points : /usr1 is spanning TWO different >> partitions : >> >> /dev/ad4s1f 390G 127G 231G 35% /usr1 >> /dev/ad6s1d 902G 710G 120G 86% /usr1/BKU >> >> >> because /usr1/BKU is a sub-directory of /usr1 . >> >> >> If you create a new directory , for example /usr2 , and /usr2/BKU , and >> using this new separate directory for sharing , such as : >> >> /dev/ad6s1d 902G 710G 120G 86% /usr2/BKU >> >> and >> >> machine:/usr2/BKU /BKU nfs rw,soft,intr 0 0 >> >> >> will it make difference ? >> >> >> Mehmet Erol Sanliturk >> > > > I just tried this and it made no difference. The same file copied onto > the NFS mount on /usr1/shared takes about 20x as long when coppied > on to /usr[1|2]/BKU. > > > > -- > ------------------------------**------------------------------** > ---------------- > Tim Daneliuk tundra at tundraware.com > PGP Key: http://www.tundraware.com/PGP/ > > Michael W. Lucas in Absolute FeeBSD , 2nd Edition , ( ISBN : 978-1-59327-151-0 ) , is suggesting the following ( p. 248 ) : In client ( mount , or , fstab ) , use options ( -o tcp , intr , soft , -w=32768 , -r=32768 ) tcp option will request a TCP mount instead of UDP mount , because FreeBSD NFS defaults to running over UDF . This subject may be another check point . Mehmet Erol Sanliturk From iamatt at gmail.com Sat Mar 16 22:45:23 2013 From: iamatt at gmail.com (iamatt) Date: Sat, 16 Mar 2013 17:45:21 -0500 Subject: NFS Performance: Weirder And Weirder In-Reply-To: References: <5144BEB7.3090906@tundraware.com> <5144ED13.7020808@tundraware.com> Message-ID: just slap an netapp 8.x with an avere flash box in front if you want NFS performance... or isilon. On Sat, Mar 16, 2013 at 5:43 PM, Mehmet Erol Sanliturk wrote: > On Sat, Mar 16, 2013 at 3:07 PM, Tim Daneliuk wrote: > >> On 03/16/2013 04:20 PM, Mehmet Erol Sanliturk wrote: >> >>> >>> >>> >> >>> With respect to your mount points : /usr1 is spanning TWO different >>> partitions : >>> >>> /dev/ad4s1f 390G 127G 231G 35% /usr1 >>> /dev/ad6s1d 902G 710G 120G 86% /usr1/BKU >>> >>> >>> because /usr1/BKU is a sub-directory of /usr1 . >>> >>> >>> If you create a new directory , for example /usr2 , and /usr2/BKU , and >>> using this new separate directory for sharing , such as : >>> >>> /dev/ad6s1d 902G 710G 120G 86% /usr2/BKU >>> >>> and >>> >>> machine:/usr2/BKU /BKU nfs rw,soft,intr 0 0 >>> >>> >>> will it make difference ? >>> >>> >>> Mehmet Erol Sanliturk >>> >> >> >> I just tried this and it made no difference. The same file copied onto >> the NFS mount on /usr1/shared takes about 20x as long when coppied >> on to /usr[1|2]/BKU. >> >> >> >> -- >> ------------------------------**------------------------------** >> ---------------- >> Tim Daneliuk tundra at tundraware.com >> PGP Key: http://www.tundraware.com/PGP/ >> >> > > Michael W. Lucas in Absolute FeeBSD , 2nd Edition , ( ISBN : > 978-1-59327-151-0 ) , > is suggesting the following ( p. 248 ) : > > In client ( mount , or , fstab ) , use options ( -o tcp , intr , soft , > -w=32768 , -r=32768 ) > > tcp option will request a TCP mount instead of UDP mount , because FreeBSD > NFS defaults to running over UDF . > > This subject may be another check point . > > > Mehmet Erol Sanliturk > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From fbsd8 at a1poweruser.com Sat Mar 16 22:47:57 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Sat, 16 Mar 2013 18:46:51 -0400 Subject: Upgrade from 6.4 to 9.1? In-Reply-To: <20130316200152.GD80810@dan.emsphone.com> References: <5144CB0A.6010801@mykitchentable.net> <20130316200152.GD80810@dan.emsphone.com> Message-ID: <5144F65B.6080302@a1poweruser.com> Dan Nelson wrote: > In the last episode (Mar 16), Drew Tomlinson said: >> I have an old system happily running 6.4 but am finding that it can no >> longer download or build a ports index. Thus I guess it's time to >> upgrade. >> >> What "gotchas" do I need to look out for? In the past my upgrades have >> always been simply downloading new source, reviewing kernel config file, >> and then rebuilding the system. Any ports that didn't work after that I >> would just rebuild as well. However I've never waited this long to >> upgrade. Do I need to do anything different? > > You won't be able to do a straight source build from 6.4 to 9.1; too many > low-level changes like Makefile syntax and compiler options have changed. > If you are comfortable with temporarily disabling non-essential things that > fail to build, it is definitely possible to do a long jump to 9.1, but it'd > be safer to either hop from 6.4 -> (7-stable or 8-stable) -> 9 doing > buildkernels and buildworlds, or just do a binary upgrade of kernel and base > system to 9.1. > The best approach is to backup your user data and do a fresh install from 9.1 cdrom. You will bypass a bunch of headaches which may in the end force you to do a fresh install anyway. And it will save you a lot of compile time. It's alway a good feeling to know you have a pristine system when you start having problems. From tundra at tundraware.com Sun Mar 17 01:46:58 2013 From: tundra at tundraware.com (Tim Daneliuk) Date: Sat, 16 Mar 2013 20:46:40 -0500 Subject: NFS Performance: Weirder And Weirder In-Reply-To: References: <5144BEB7.3090906@tundraware.com> <5144ED13.7020808@tundraware.com> Message-ID: <51452080.7090909@tundraware.com> On 03/16/2013 05:43 PM, Mehmet Erol Sanliturk wrote: > > Michael W. Lucas in Absolute FeeBSD , 2nd Edition , ( ISBN : 978-1-59327-151-0 ) , > is suggesting the following ( p. 248 ) : > > In client ( mount , or , fstab ) , use options ( -o tcp , intr , soft , -w=32768 , -r=32768 ) > > tcp option will request a TCP mount instead of UDP mount , because FreeBSD NFS defaults to running over UDF . > > This subject may be another check point . > Another very good suggestion but ... to no avail. Thanks for pointing this out. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra at tundraware.com PGP Key: http://www.tundraware.com/PGP/ From m.e.sanliturk at gmail.com Sun Mar 17 03:15:16 2013 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Sat, 16 Mar 2013 20:15:09 -0700 Subject: NFS Performance: Weirder And Weirder In-Reply-To: <51452080.7090909@tundraware.com> References: <5144BEB7.3090906@tundraware.com> <5144ED13.7020808@tundraware.com> <51452080.7090909@tundraware.com> Message-ID: On Sat, Mar 16, 2013 at 6:46 PM, Tim Daneliuk wrote: > On 03/16/2013 05:43 PM, Mehmet Erol Sanliturk wrote: > >> >> > Michael W. Lucas in Absolute FeeBSD , 2nd Edition , ( ISBN : >> 978-1-59327-151-0 ) , >> is suggesting the following ( p. 248 ) : >> >> In client ( mount , or , fstab ) , use options ( -o tcp , intr , soft , >> -w=32768 , -r=32768 ) >> >> tcp option will request a TCP mount instead of UDP mount , because >> FreeBSD NFS defaults to running over UDF . >> >> This subject may be another check point . >> >> > > Another very good suggestion but ... to no avail. Thanks for pointing > this out. > > -- > ------------------------------**------------------------------** > ---------------- > Tim Daneliuk tundra at tundraware.com > PGP Key: http://www.tundraware.com/PGP/ > > I have read messages once more . There is a phrase : Linux Mint 12 machineS ( plural ) . In your descriptions , there is no any information about network setup : Single client , multiple clients , etc . Then , with some assumptions : If there is ONLY ONE client , and all of the tests are performed on this ONLY client , problem may be attributed to FreeBSD server or kind of file(s) in different directories : One of the is encrypted ( requires decryption ) , another is plain file , etc. . If there is MORE than ONE client , problem may be attributed to any one the components of the network ( server , clients , switch , cable , NICs , interfering other software , etc. ) . Assume there is MULTIPLE clients : Take two clients of them : (A) Client 1 : Mount two directories . (B) Client 2 : Mount two directories . Test transmission performance : If they are similar , inspect server settings , directory privileges , etc . , file systems ( one is ZFS , other is UFS2 , etc. ) . All of the hardware may work properly , but if the file reading is not able to feed NIC sufficiently fast , it may show up as degraded performance . Increasing NIC buffer size ( as standard it is around 1000 bytes ) to maximum available , may offset latency of supply of data to NIC . If they are different : Check client specialties : A cable may be CAT5 ( only maximum 100 Mbits transfer . Network cards are adaptive , they try 1 Gbits , if it is not achievable , it reduces to speed to 100 Mbits , even to 10 Mbits ) . In that case either use CAT6 cable or CAT5x ( for 1 Gbit transmission , I do not remember x now ) The cable kind should be written on cable , if it is not written , select a properly labelled cable . Interchange cable tips to clients : If performance interchanges also : Cable or SWITCH port is faulty : Check switch port : It may be a 100 Mbits , be sure that it is also 1 Gbits and working properly . Mehmet Erol Sanliturk From tundra at tundraware.com Sun Mar 17 03:46:59 2013 From: tundra at tundraware.com (Tim Daneliuk) Date: Sat, 16 Mar 2013 22:46:46 -0500 Subject: NFS Performance: Weirder And Weirder In-Reply-To: References: <5144BEB7.3090906@tundraware.com> <5144ED13.7020808@tundraware.com> <51452080.7090909@tundraware.com> Message-ID: <51453CA6.4060004@tundraware.com> On 03/16/2013 10:15 PM, Mehmet Erol Sanliturk wrote: > > > On Sat, Mar 16, 2013 at 6:46 PM, Tim Daneliuk > wrote: > > On 03/16/2013 05:43 PM, Mehmet Erol Sanliturk wrote: > > > > Michael W. Lucas in Absolute FeeBSD , 2nd Edition , ( ISBN : 978-1-59327-151-0 ) , > is suggesting the following ( p. 248 ) : > > In client ( mount , or , fstab ) , use options ( -o tcp , intr , soft , -w=32768 , -r=32768 ) > > tcp option will request a TCP mount instead of UDP mount , because FreeBSD NFS defaults to running over UDF . > > This subject may be another check point . > > > > Another very good suggestion but ... to no avail. Thanks for pointing > this out. > > -- > ------------------------------__------------------------------__---------------- > Tim Daneliuk tundra at tundraware.com > PGP Key: http://www.tundraware.com/PGP/ > > > > I have read messages once more . > > There is a phrase : Linux Mint 12 machineS ( plural ) . > > In your descriptions , there is no any information about network setup : > > Single client , > multiple clients , etc . > > Then , with some assumptions : > > If there is ONLY ONE client , and all of the tests are performed on this ONLY client , > problem may be attributed to FreeBSD server or kind of file(s) in different directories : > One of the is encrypted ( requires decryption ) , another is plain file , etc. . There is one server - FreeBSD, and one client - LM12. Both have had their cables replaced with new CAT6 wiring. Copying the exact same file to each of the NFS mounts exhibits the problem. Reading from the two NFS mount is fast and as expected, so I do not suspect network issues. The two drives used on the server show similar disk performance locally. The server side exports are identical for both mounts as are the client side mounts. The ONLY difference is that the "fast" NFS mount has server side permissions of 777 whereas the "slow" NFS mount has server side permissions of 775. Both are owned by root:wheel. The contents of each filesystem are owned by a user in the wheel group. The one other difference is that all the contents of the slow mount are in a particular user group, and all the ones in the fast mount are in the wheel group. Changing the group ownership of all the stuff in the slow mount to wheel makes no difference. The problem appears to be size related on the slow mount. When I copy, say, a 100MB file to it, performance is just fine. When I copy a 1G file, it's 1/20 the throughput (45MB/sec vs 2MB/sec). This feels like some kind of buffer starvation but the fact that I can run at full speed against another mount point leaves me scratching my head as to just where. It's almost like there's some kind of halting going on during the transfer. ---------------------------------------------------------------------------- Tim Daneliuk tundra at tundraware.com PGP Key: http://www.tundraware.com/PGP/ From m.e.sanliturk at gmail.com Sun Mar 17 04:56:11 2013 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Sat, 16 Mar 2013 21:56:04 -0700 Subject: NFS Performance: Weirder And Weirder Message-ID: There is one more point to check : >From your mount information , in the server , directories are on DIFFERENT drives . Assume one of the drives is very "INTELLIGENT" to save power . During local reading , due to reading speed , it may not go to "SLEEP" , but during network access , it may go to sleep due to its exceeded waiting time . If this is the case , please stay away from INTELLIGENT drives in a server : These are designed and produced by very IGNORANT entities . For simple , personal applications , their latency may not be noticed very much , but in a server , they can not be used . Another point may be file sizes . To check effect of file size , into the two different directories copy a large ( for example , 5 GB , or a 4.n GB .iso file ) and transmit these same files from their directories to a single client . If directory structure makes a difference , assuming hardware parts and client does not behave differently to these files , performance difference may be attributed to server side . Mehmet Erol Sanliturk From ted.reynard at yahoo.com Sun Mar 17 08:37:50 2013 From: ted.reynard at yahoo.com (Ted Reynard) Date: Sun, 17 Mar 2013 08:37:42 +0000 (GMT) Subject: serial programming using terios Message-ID: <1363509462.77245.YahooMailNeo@web133106.mail.ir2.yahoo.com> Hi fellas I'm trying to connect to a CISCO router by a program which I developed using termios. First I configure the local TTY to right settings : ??? struct termios old = {0}; ??? /*get current TTY settings*/ ??? if (tcgetattr(STDIN_FILENO, &old) < 0) ??????? perror("tcsetattr()"); ??????? old.c_iflag &= ~(ISTRIP|ICRNL); ??????? old.c_oflag &= ~OPOST; ??????? old.c_lflag &= ~(ICANON|IEXTEN|ECHO|ECHONL); ??????? old.c_cc[VMIN] = 1; ??????? old.c_cc[VTIME] = 0; ??????? if (tcsetattr(0, TCSANOW/*TCSAFLUSH*/, &old) < 0) ??????????????? perror("tcsetattr ICANON"); And then the TTY which users want to use? ??? struct termios dev; static int port=atoi(argv[1]); ?int fd = open_port(port); fcntl(fd, F_SETFL, FNDELAY); tcgetattr(mainfd, &dev); cfsetspeed(&dev, speed); dev.c_cflag |= (CLOCAL | CREAD); dev.c_cflag &= ~PARENB; dev.c_cflag |= CSTOPB; dev.c_cflag &= ~CSIZE; dev.c_cflag |= CS8; dev.c_cflag &= ~CRTSCTS; dev.c_iflag &= ~(ISTRIP|ICRNL); dev.c_oflag &= ~OPOST; dev.c_lflag &= ~(ICANON|ISIG|IEXTEN|ECHO); dev.c_cc[VMIN] = 1; dev.c_cc[VTIME] = 0; And I have two threads to handle read and write simultaneously. The problem is I have to add at least 2 seconds delay after writing user input to the port, otherwise the output would not be what I expect. Without this sleep command, every character I type, the output is shown with next character; not at time : Router> Router>abc // While I typed "abcd". If I continue with typing "e", then the output will be "abcd" and so on ... Am I missing something? From sam.gh1986 at gmail.com Sun Mar 17 08:45:56 2013 From: sam.gh1986 at gmail.com (s m) Date: Sun, 17 Mar 2013 12:15:53 +0330 Subject: how run snort in quiet and deamon mode Message-ID: hello guys i have a freebsd8.2 and wanna run snort on it. my snort version is 2.9.3.1. i want to run snort in deamon mode and quietly. man page says that "D" flag is for running snort in deamon mode and "q" flag is to run it quietly(do not show startup message). my problem is, these two flag can not work together. when i run "snort -q -D" or "snort -D -q", snort run in deamon mode but some startup messages are shown. when i run "snort -q" no message is shown. i know it is so simple issue but i do not know how to do that. any hints or comments are appreciated. sam From walterhurry at gmail.com Sun Mar 17 18:05:15 2013 From: walterhurry at gmail.com (Walter Hurry) Date: Sun, 17 Mar 2013 18:04:54 +0000 (UTC) Subject: Problem with news/pan Message-ID: This port (pan-0.139_1) will again not compile on 9.1-RELEASE (amd64). There are problems (with gtkspell) when using the default options, which are: GTK3 off gtkspell on The only way I dould get it to compile was by using 'make config' to turn the gtkspell option off. I hope Lowell Gilbert sees this, as he did such a splendid (and quick) job tracking down and applying the patch for a previous (different) problem. From walterhurry at gmail.com Sun Mar 17 18:24:15 2013 From: walterhurry at gmail.com (Walter Hurry) Date: Sun, 17 Mar 2013 18:23:58 +0000 (UTC) Subject: Problem with news/pan References: Message-ID: On Sun, 17 Mar 2013 18:04:54 +0000, Walter Hurry wrote: > dould s/dould/could/. No spell checker! From freebsd at edvax.de Sun Mar 17 18:46:26 2013 From: freebsd at edvax.de (Polytropon) Date: Sun, 17 Mar 2013 19:46:25 +0100 Subject: how run snort in quiet and deamon mode In-Reply-To: References: Message-ID: <20130317194625.3c4307c6.freebsd@edvax.de> On Sun, 17 Mar 2013 12:15:53 +0330, s m wrote: > hello guys > > i have a freebsd8.2 and wanna run snort on it. my snort version is > 2.9.3.1. i want to run snort in deamon mode and quietly. man page says > that "D" flag is for running snort in deamon mode and "q" flag is to > run it quietly(do not show startup message). my problem is, these two > flag can not work together. when i run "snort -q -D" or "snort -D -q", > snort run in deamon mode but some startup messages are shown. when i > run "snort -q" no message is shown. > > i know it is so simple issue but i do not know how to do that. any > hints or comments are appreciated. Maybe you can start the program as a (quite) background process? snort -q & If you encounter issues related to "controlling terminal disconnect", you can use the system's "daemon" command to basically do what -D would do, or use the port "detach". daemon snort -q See "man daemon" for options you might need to add. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From tundra at tundraware.com Sun Mar 17 19:36:59 2013 From: tundra at tundraware.com (Tim Daneliuk) Date: Sun, 17 Mar 2013 14:36:45 -0500 Subject: Looks Like New Changes To 'install' Break Mergemaster Message-ID: <51461B4D.2070806@tundraware.com> $ mergemaster -Fi *** The directory specified for the temporary root environment, /var/tmp/temproot, exists. This can be a security risk if untrusted users have access to the system. Use 'd' to delete the old /var/tmp/temproot and continue Use 't' to select a new temporary root directory Use 'e' to exit mergemaster Default is to use /var/tmp/temproot as is How should I deal with this? [Use the existing /var/tmp/temproot] d *** Deleting the old /var/tmp/temproot *** Creating the temporary root environment in /var/tmp/temproot *** /var/tmp/temproot ready for use *** Creating and populating directory structure in /var/tmp/temproot install: illegal option -- l usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to the temproot environment From tundra at tundraware.com Sun Mar 17 19:52:38 2013 From: tundra at tundraware.com (Tim Daneliuk) Date: Sun, 17 Mar 2013 14:52:24 -0500 Subject: Looks Like New Changes To 'install' Break Mergemaster In-Reply-To: <51461B4D.2070806@tundraware.com> References: <51461B4D.2070806@tundraware.com> Message-ID: <51461EF8.9020106@tundraware.com> On 03/17/2013 02:36 PM, Tim Daneliuk wrote: > $ mergemaster -Fi > > *** The directory specified for the temporary root environment, > /var/tmp/temproot, exists. This can be a security risk if untrusted > users have access to the system. > > Use 'd' to delete the old /var/tmp/temproot and continue > Use 't' to select a new temporary root directory > Use 'e' to exit mergemaster > > Default is to use /var/tmp/temproot as is > > How should I deal with this? [Use the existing /var/tmp/temproot] d > > *** Deleting the old /var/tmp/temproot > > *** Creating the temporary root environment in /var/tmp/temproot > *** /var/tmp/temproot ready for use > *** Creating and populating directory structure in /var/tmp/temproot > > install: illegal option -- l > usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > [-o owner] file1 file2 > install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > [-o owner] file1 ... fileN directory > install -d [-v] [-g group] [-m mode] [-o owner] directory ... > > *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to > the temproot environment > More specifically, running 'sh -x mergemaster' show us this: > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" + cd /usr/src + od=/var/tmp/temproot/usr/obj + make -m /usr/src/share/mk DESTDIR=/var/tmp/temproot distrib-dirs + MAKEOBJDIRPREFIX=/var/tmp/temproot/usr/obj make -m /usr/src/share/mk _obj SUBDIR_OVERRIDE=etc + MAKEOBJDIRPREFIX=/var/tmp/temproot/usr/obj make -m /usr/src/share/mk everything SUBDIR_OVERRIDE=etc + MAKEOBJDIRPREFIX=/var/tmp/temproot/usr/obj make -m /usr/src/share/mk DESTDIR=/var/tmp/temproot distribution install: illegal option -- l usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... + echo '' + echo ' *** FATAL ERROR: Cannot '\''cd'\'' to /usr/src and install files to' *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to + echo ' the temproot environment' the temproot environment + echo '' + exit 1 -- ---------------------------------------------------------------------------- Tim Daneliuk tundra at tundraware.com PGP Key: http://www.tundraware.com/PGP/ From tundra at tundraware.com Sun Mar 17 20:01:40 2013 From: tundra at tundraware.com (Tim Daneliuk) Date: Sun, 17 Mar 2013 15:01:28 -0500 Subject: Looks Like New Changes To 'install' Break Mergemaster In-Reply-To: <51461EF8.9020106@tundraware.com> References: <51461B4D.2070806@tundraware.com> <51461EF8.9020106@tundraware.com> Message-ID: <51462118.7060208@tundraware.com> On 03/17/2013 02:52 PM, Tim Daneliuk wrote: PR 177055 submitted. > -- ---------------------------------------------------------------------------- Tim Daneliuk tundra at tundraware.com PGP Key: http://www.tundraware.com/PGP/ From drew at mykitchentable.net Sun Mar 17 20:36:30 2013 From: drew at mykitchentable.net (Drew Tomlinson) Date: Sun, 17 Mar 2013 13:36:09 -0700 Subject: Upgrade from 6.4 to 9.1? In-Reply-To: <5144F65B.6080302@a1poweruser.com> References: <5144CB0A.6010801@mykitchentable.net> <20130316200152.GD80810@dan.emsphone.com> <5144F65B.6080302@a1poweruser.com> Message-ID: <51462939.1080609@mykitchentable.net> On 3/16/2013 3:46 PM, Fbsd8 wrote: > Dan Nelson wrote: >> In the last episode (Mar 16), Drew Tomlinson said: >>> I have an old system happily running 6.4 but am finding that it can no >>> longer download or build a ports index. Thus I guess it's time to >>> upgrade. >>> >>> What "gotchas" do I need to look out for? In the past my upgrades have >>> always been simply downloading new source, reviewing kernel config >>> file, >>> and then rebuilding the system. Any ports that didn't work after >>> that I >>> would just rebuild as well. However I've never waited this long to >>> upgrade. Do I need to do anything different? >> >> You won't be able to do a straight source build from 6.4 to 9.1; too >> many >> low-level changes like Makefile syntax and compiler options have >> changed. If you are comfortable with temporarily disabling >> non-essential things that >> fail to build, it is definitely possible to do a long jump to 9.1, >> but it'd >> be safer to either hop from 6.4 -> (7-stable or 8-stable) -> 9 doing >> buildkernels and buildworlds, or just do a binary upgrade of kernel >> and base >> system to 9.1. >> > > The best approach is to backup your user data and do a fresh install > from 9.1 cdrom. You will bypass a bunch of headaches which may in the > end force you to do a fresh install anyway. And it will save you a lot > of compile time. It's alway a good feeling to know you have a pristine > system when you start having problems. Thanks for the suggestions. I'll give these a try. Cheers, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com From drew at mykitchentable.net Sun Mar 17 22:07:41 2013 From: drew at mykitchentable.net (Drew Tomlinson) Date: Sun, 17 Mar 2013 15:07:35 -0700 Subject: Current Way To Update Sources & Rebuild World/Kernel? Message-ID: <51463EA7.2070108@mykitchentable.net> I've been away for a while. In the past, the proper way to update a system was to grab current sources via cvsup and then rebuild world and kernel. But now I see cvsup is no longer supported. The handbook talks about freebsd-update. I do not want binary upgrades but is this the tool to replace cvsup to update sources? How do I use it to replace the old way that went something like this: cvsup sources make buildworld make buildkernel make installkernel mergemaster make installworld (I'm not sure I have that in the exact proper order but it was something like that). So is freebsd-update what I need? Is there a page that describes the steps to accomplish this? Thanks, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com From freebsd at edvax.de Sun Mar 17 22:16:39 2013 From: freebsd at edvax.de (Polytropon) Date: Sun, 17 Mar 2013 23:16:37 +0100 Subject: Current Way To Update Sources & Rebuild World/Kernel? In-Reply-To: <51463EA7.2070108@mykitchentable.net> References: <51463EA7.2070108@mykitchentable.net> Message-ID: <20130317231637.555b1711.freebsd@edvax.de> On Sun, 17 Mar 2013 15:07:35 -0700, Drew Tomlinson wrote: > I've been away for a while. In the past, the proper way to update a > system was to grab current sources via cvsup and then rebuild world and > kernel. But now I see cvsup is no longer supported. Correct. The new way to obtain sources is via Subversion. The OS will hopefully soon get a csup equivalent (svnup) so you don't need to install a port with heavy dependencies. > The handbook talks > about freebsd-update. I do not want binary upgrades but is this the > tool to replace cvsup to update sources? Basically freebsd-update updates the system binarily, as you said. But it can also be used to only update sources. In order to do this, edit /etc/freebsd-update.conf to contain the line "Components src" (means: you remove all the other components such as "world" and "kernel"). Then you proceed to reinstall from source as known. > How do I use it to replace the > old way that went something like this: > > cvsup sources > make buildworld > make buildkernel > make installkernel > mergemaster > make installworld > > (I'm not sure I have that in the exact proper order but it was something > like that). The exact proper order can be found in the comment header of /usr/src/Makefile. You should stick to that order to avoid problems. Also see the corresponding handbook section. > So is freebsd-update what I need? As explained above - or make yourself familiar with SVN, which is the CVSup / csup replacement. > Is there a page that describes the > steps to accomplish this? See "man freebsd-update" and the comments in /etc/freebsd-update.conf for details. Also see the Handbook's section about updating. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From leeoliveshackelford at surewest.net Sun Mar 17 22:37:51 2013 From: leeoliveshackelford at surewest.net (leeoliveshackelford at surewest.net) Date: Sun, 17 Mar 2013 15:37:44 -0700 (PDT) Subject: Fwd: Re: Installing 9.1 without re-partitioning hard drive Message-ID: <20130317153744.DEQ57782@ms5.mc.surewest.net> -------------- next part -------------- An embedded message was scrubbed... From: Warren Block Subject: Re: Installing 9.1 without re-partitioning hard drive Date: Sat, 16 Mar 2013 19:29:33 -0600 (MDT) Size: 2859 URL: From ralf.mardorf at alice-dsl.net Mon Mar 18 10:58:08 2013 From: ralf.mardorf at alice-dsl.net (Ralf Mardorf) Date: Mon, 18 Mar 2013 09:15:43 +0100 Subject: OT: Installing 9.1 without re-partitioning hard drive In-Reply-To: <20130317153744.DEQ57782@ms5.mc.surewest.net> References: <20130317153744.DEQ57782@ms5.mc.surewest.net> Message-ID: <1363594543.1496.69.camel@archlinux> On Sun, 2013-03-17 at 15:37 -0700, leeoliveshackelford at surewest.net wrote: > Please Cc responses to the mailing list I know that it's tolerated by the FreeBSD lists, but for most mailing lists nowadays it's common to reply to the list only. Most MUA nowadays provide an option to automatically reply to the list only. So IMO even for this list the advice should at least be, "_if possible_ reply to the list only", if you want receive a copy directly, than ask the OP "reply to the list and (carbon copy) me, but don't address it to somebody else". 2 Cents, Ralf From sam.gh1986 at gmail.com Mon Mar 18 11:12:45 2013 From: sam.gh1986 at gmail.com (s m) Date: Mon, 18 Mar 2013 12:52:29 +0330 Subject: how run snort in quiet and deamon mode In-Reply-To: <20130317194625.3c4307c6.freebsd@edvax.de> References: <20130317194625.3c4307c6.freebsd@edvax.de> Message-ID: great!! "snort -q &" runs snort in daemon and silent mode as i expected:) thank you so much On 3/17/13, Polytropon wrote: > On Sun, 17 Mar 2013 12:15:53 +0330, s m wrote: >> hello guys >> >> i have a freebsd8.2 and wanna run snort on it. my snort version is >> 2.9.3.1. i want to run snort in deamon mode and quietly. man page says >> that "D" flag is for running snort in deamon mode and "q" flag is to >> run it quietly(do not show startup message). my problem is, these two >> flag can not work together. when i run "snort -q -D" or "snort -D -q", >> snort run in deamon mode but some startup messages are shown. when i >> run "snort -q" no message is shown. >> >> i know it is so simple issue but i do not know how to do that. any >> hints or comments are appreciated. > > Maybe you can start the program as a (quite) background process? > > snort -q & > > If you encounter issues related to "controlling terminal disconnect", > you can use the system's "daemon" command to basically do what -D > would do, or use the port "detach". > > daemon snort -q > > See "man daemon" for options you might need to add. > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > From mail25 at bzerk.org Mon Mar 18 12:43:15 2013 From: mail25 at bzerk.org (Ruben de Groot) Date: Mon, 18 Mar 2013 12:43:04 +0000 Subject: Can an ISO file be mounted from /etc/fstab at boot? In-Reply-To: <44r4jgv394.fsf@lowell-desk.lan> References: <44r4jgv394.fsf@lowell-desk.lan> Message-ID: <20130318124303.GA51760@eris.bzerk.org> On Fri, Mar 15, 2013 at 04:04:23PM -0400, Lowell Gilbert typed: > Oscar Hodgson writes: > > > I'm pretty sure the answer is "no, just write a local rc script to do > > that", but thought I'd check. > > > > Can't see any hint of that capability in the handbook or fstab(5). > > > > Really just looking for a single point of management for file systems .... > > I don't see a way offhand. You need to do the mdconfig before you can > mount, and I don't think that can be done inside of fstab. > > I think that adding such a capability to mount(8) as a program option > would be a fairly minor hack. If it was a standard (UFS) filesystem image (not ISO9600) it would be possible to mount from fstab with something like this: /dev/md0 /data/mfs mfs rw,-PF/path/to/some.img,async 0 0 Ruben From wblock at wonkity.com Mon Mar 18 15:00:42 2013 From: wblock at wonkity.com (Warren Block) Date: Mon, 18 Mar 2013 09:00:31 -0600 (MDT) Subject: OT: Installing 9.1 without re-partitioning hard drive In-Reply-To: <1363594543.1496.69.camel@archlinux> References: <20130317153744.DEQ57782@ms5.mc.surewest.net> <1363594543.1496.69.camel@archlinux> Message-ID: On Mon, 18 Mar 2013, Ralf Mardorf wrote: > On Sun, 2013-03-17 at 15:37 -0700, leeoliveshackelford at surewest.net wrote: >> Please Cc responses to the mailing list Actually, I had written that in a reply. > I know that it's tolerated by the FreeBSD lists, but for most mailing > lists nowadays it's common to reply to the list only. Most MUA nowadays > provide an option to automatically reply to the list only. So IMO even > for this list the advice should at least be, "_if possible_ reply to the > list only", if you want receive a copy directly, than ask the OP "reply > to the list and (carbon copy) me, but don't address it to somebody > else". Standard practice for this list is to Cc the responder and the list, because people are not required to subscribe to post. From ralf.mardorf at rocketmail.com Mon Mar 18 15:29:18 2013 From: ralf.mardorf at rocketmail.com (Ralf Mardorf) Date: Mon, 18 Mar 2013 16:29:09 +0100 Subject: OT: Installing 9.1 without re-partitioning hard drive In-Reply-To: References: <20130317153744.DEQ57782@ms5.mc.surewest.net> <1363594543.1496.69.camel@archlinux> Message-ID: <1363620549.604.85.camel@archlinux> On Mon, 2013-03-18 at 09:00 -0600, Warren Block wrote: > On Mon, 18 Mar 2013, Ralf Mardorf wrote: > Standard practice for this list is to Cc the responder and the list, > because people are not required to subscribe to post. That makes sense and does explain why my last mail came through the list, while my broken MUA didn't use the address, I used to subscribe to this list. So a smarter MUA should provide different reply settings for replying to different lists. I should take a look at the mailman settings, since at the moment I receive 2 mails in case of Cc'ing, IIRC this can be disabled. From fbsd8 at a1poweruser.com Mon Mar 18 16:58:00 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Mon, 18 Mar 2013 12:57:58 -0400 Subject: Handbook Jail Chapter rewrite available for critique Message-ID: <51474796.1030808@a1poweruser.com> To all interested parties; I have completed the final draft of the total rewrite of FreeBSD's handbook Chapter 16 on Jails. Before submitting my work for submission to the documentation group for insertion in the handbook I am looking for critique of the work to find errors in concept, wrong use of words, or anything to make it better. All feedback welcomed. Use this URL to access it http://www.jails.a1poweruser.com/ Thank You. From ike at blackskyresearch.net Mon Mar 18 17:30:52 2013 From: ike at blackskyresearch.net (Isaac (.ike) Levy) Date: Mon, 18 Mar 2013 13:29:18 -0400 Subject: Handbook Jail Chapter rewrite available for critique In-Reply-To: <51474796.1030808@a1poweruser.com> References: <51474796.1030808@a1poweruser.com> Message-ID: <1363627802-7836632.18463322.fr2IHTIkR030230@rs149.luxsci.com> Pretty heavy cross-posting here, could you perhaps reign this in to the freebsd-jail@ list, where it can be discussed in-context? This will help keep the noise down. On Mar 18, 2013, at 12:57 PM, Fbsd8 wrote: > To all interested parties; > > I have completed the final draft of the total rewrite of FreeBSD's handbook Chapter 16 on Jails. > > Before submitting my work for submission to the documentation group for insertion in the handbook I am looking for critique of the work to find errors in concept, wrong use of words, or anything to make it better. > > All feedback welcomed. > > Use this URL to access it http://www.jails.a1poweruser.com/ > > > Thank You. Wow, overall that's really quite cool. - Do you have a rough timeframe for when you want feedback? (I would like to give this the time it deserves). -- Feedback right off the bat, (please tell me if I'm off track here): - After a short skim- I do not believe the qjail utilities referenced are appropriate for the FreeBSD handbook. There are many 3rd party approaches to handling/managing jails, some of them with quite long histories and loyal user bases- it is impractical and not appropriate to try to cover any/all of them here. - The "Jail Cell" vocabulary is a serious departure- and may create some confusion- I'll read thoroughly to get your context right. In what I understand to be the majority of uses, it's confusing to think of the hardware host as the 'jail' and the jailed instance as the 'cell'. - The references and history cite some works, but do not cite the original (and possibly most important) document on jailing, http://docs.freebsd.org/44doc/papers/jail/jail.ps.gz - There are a number of common lexical errors right off the bat, (There instead of Their), etc? -- I look foreword to reading this on my subway commute this week- Best, .ike From roberthuff at rcn.com Mon Mar 18 17:45:53 2013 From: roberthuff at rcn.com (Robert Huff) Date: Mon, 18 Mar 2013 13:45:44 -0400 Subject: Handbook Jail Chapter rewrite available for critique In-Reply-To: <1363627802-7836632.18463322.fr2IHTIkR030230@rs149.luxsci.com> References: <51474796.1030808@a1poweruser.com> <1363627802-7836632.18463322.fr2IHTIkR030230@rs149.luxsci.com> Message-ID: <20807.21192.655076.142290@jerusalem.litteratus.org> Isaac (.ike) Levy writes: > Pretty heavy cross-posting here, could you perhaps reign this in > to the freebsd-jail@ list, where it can be discussed in-context? > This will help keep the noise down. It will also keep down the signal from people who use or are interested in jails, but do not (and do not plan to) subscribe to that list. Respectfully, Robert Huff From krjeschke at omniti.com Mon Mar 18 18:32:23 2013 From: krjeschke at omniti.com (Katherine Jeschke) Date: Mon, 18 Mar 2013 14:32:16 -0400 Subject: Surge 2013 CFP Open Message-ID: The Surge 2013 CFP is open. For details or to submit a paper, please visit http://surge.omniti.com/2013 -- Katherine Jeschke Director of Marketing and Creative Services OmniTI Computer Consulting, Inc. 11830 West Market Place, Suite F Fulton, MD 20759 O: 240-646-0770, 222 F: 301-497-2001 C: 443/643-6140 omniti.com Surge 2013 The information contained in this electronic message and any attached documents is privileged, confidential, and protected from disclosure. If you are not the intended recipient, note that any review, disclosure, copying, distribution, or use of the contents of this electronic message or any attached documents is prohibited. If you have received this communication in error, please destroy it and notify us immediately by telephone (1-443-325-1360) or by electronic mail (info at omniti.com). Thank you. From freebsd-questions-local at be-well.ilk.org Mon Mar 18 18:51:22 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Mon, 18 Mar 2013 14:51:04 -0400 Subject: Problem with news/pan In-Reply-To: (Walter Hurry's message of "Sun, 17 Mar 2013 18:04:54 +0000 (UTC)") References: Message-ID: <44sj3s5yp3.fsf@lowell-desk.lan> Walter Hurry writes: > This port (pan-0.139_1) will again not compile on 9.1-RELEASE (amd64). When did you last try it? It was last updated Saturday, and it builds fine for me. If it's still failing, post the error messages. From patfbsd at davenulle.org Mon Mar 18 21:53:28 2013 From: patfbsd at davenulle.org (Patrick Lamaiziere) Date: Sun, 17 Mar 2013 23:17:46 +0100 Subject: Current Way To Update Sources & Rebuild World/Kernel? In-Reply-To: <51463EA7.2070108@mykitchentable.net> References: <51463EA7.2070108@mykitchentable.net> Message-ID: <20130317231746.3feca323@davenulle.org> Le Sun, 17 Mar 2013 15:07:35 -0700, Drew Tomlinson a ?crit : > I've been away for a while. In the past, the proper way to update a > system was to grab current sources via cvsup and then rebuild world > and kernel. But now I see cvsup is no longer supported. The > handbook talks about freebsd-update. I do not want binary upgrades > but is this the tool to replace cvsup to update sources? How do I > use it to replace the old way that went something like this: > > cvsup sources > make buildworld > make buildkernel > make installkernel > mergemaster > make installworld Instead cvsup you have to use svn to retrieve the sources : http://www.freebsd.org/doc/handbook/svn.html The good way is (and was) mergemaster -p before make installworld and mergemaster after. regards From walterhurry at gmail.com Mon Mar 18 22:12:13 2013 From: walterhurry at gmail.com (Walter Hurry) Date: Mon, 18 Mar 2013 22:11:48 +0000 (UTC) Subject: Problem with news/pan References: <44sj3s5yp3.fsf@lowell-desk.lan> Message-ID: On Mon, 18 Mar 2013 14:51:04 -0400, Lowell Gilbert wrote: > Walter Hurry writes: > >> This port (pan-0.139_1) will again not compile on 9.1-RELEASE (amd64). > > When did you last try it? > > It was last updated Saturday, and it builds fine for me. > > If it's still failing, post the error messages. Weird. I last tried yesterday (Sunday). However, having re-enabled the GTKSPELL option (i.e. set it back to defaults), it compiles and builds fine. The port (I always use portsnap before updating) has *not* been updated between then and now. However, it's too difficult to pin down the issue at this point. Sorry for the noise. From andrnils at gmail.com Mon Mar 18 21:41:57 2013 From: andrnils at gmail.com (Andreas Nilsson) Date: Mon, 18 Mar 2013 22:41:56 +0100 Subject: Handbook Jail Chapter rewrite available for critique In-Reply-To: <20807.21192.655076.142290@jerusalem.litteratus.org> References: <51474796.1030808@a1poweruser.com> <1363627802-7836632.18463322.fr2IHTIkR030230@rs149.luxsci.com> <20807.21192.655076.142290@jerusalem.litteratus.org> Message-ID: On Mon, Mar 18, 2013 at 6:45 PM, Robert Huff wrote: > > Isaac (.ike) Levy writes: > > > Pretty heavy cross-posting here, could you perhaps reign this in > > to the freebsd-jail@ list, where it can be discussed in-context? > > This will help keep the noise down. > > It will also keep down the signal from people who use or are > interested in jails, but do not (and do not plan to) subscribe to > that list. > Respectfully, > > > Robert Huff > > Great! There really was a need to modernize the handbook with regards to jails. Since I'm not a native English speaker I'll leave grammar and spelling for those who are ;) My first impressions are along the lines: To much scripts, to few examples/scenarios. Our users are smart, show them what can be accomplished with "high-level" config, leave minutiae to some part of the appendix. Also the exclusion of zfs and vnet is surprising, as those really make jails shine, imo ( although jails really need to be thought about the "gray" area visa-vi networking in rc-scripts that vnet provides ). How about the resource control, which further makes jails really spiffy. I would have preferred top-level separation of the different methods, ie after the introduction there was one "track" manual, one for old-school rc-, one for new-school rc- and one for jail.conf-style jails. More specifically I agree with Isaac Levy's, especially in regards to the "jail cell" terminology: "16.1 Synopsis": the term jail cell is used, long before being defined. "16.2 Introduction": Mentioning jail cells in a historic contest is imho a "blatant" lie ( they were never known as such ). As far as I know, no official documentation has called them cells, either. That does not mean that it's not an appropriate term, though. As a contrast there is Solaris vocabulary of zones ( "cells" ) and global zone ( "jail system" ). In this regard I prefer the solaris one. Most importantly, a large chunk of 16.2 would imo fit much better as a "history"-appendix. Current and new users don't need to know and consider the limitations of earlier implementations. The "generations" talked about could perhaps be quantified with a release version :) There are, as stated by Isaac Levy, many (good) utils for managing jails. Why the focus on qjail? I also think that most of the strong points of jails are rendered moot without, in order, zfs and vimage. Linux jails might also interest quite a few people. Best regards Andreas From jerrymc at msu.edu Tue Mar 19 00:01:56 2013 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon, 18 Mar 2013 19:34:10 -0400 Subject: OT: Installing 9.1 without re-partitioning hard drive In-Reply-To: <1363594543.1496.69.camel@archlinux> References: <20130317153744.DEQ57782@ms5.mc.surewest.net> <1363594543.1496.69.camel@archlinux> Message-ID: <20130318233410.GA49915@jerrymc.net> On Mon, Mar 18, 2013 at 09:15:43AM +0100, Ralf Mardorf wrote: > On Sun, 2013-03-17 at 15:37 -0700, leeoliveshackelford at surewest.net wrote: > > Please Cc responses to the mailing list > > I know that it's tolerated by the FreeBSD lists, but for most mailing > lists nowadays it's common to reply to the list only. Most MUA nowadays > provide an option to automatically reply to the list only. As a matter of fact, on the FreeBSD Questions list it is recommended to send to both the poster and the list. On this list it is not required to be subscribed to post. It is an open list. ////jerry > So IMO even > for this list the advice should at least be, "_if possible_ reply to the > list only", if you want receive a copy directly, than ask the OP "reply > to the list and (carbon copy) me, but don't address it to somebody > else". > > 2 Cents, > Ralf > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From ml at my.gd Tue Mar 19 00:13:18 2013 From: ml at my.gd (Damien Fleuriot) Date: Tue, 19 Mar 2013 01:13:16 +0100 Subject: Current Way To Update Sources & Rebuild World/Kernel? In-Reply-To: <51463EA7.2070108@mykitchentable.net> References: <51463EA7.2070108@mykitchentable.net> Message-ID: On Mar 17, 2013 11:07 PM, "Drew Tomlinson" wrote: > > I've been away for a while. In the past, the proper way to update a system was to grab current sources via cvsup and then rebuild world and kernel. But now I see cvsup is no longer supported. The handbook talks about freebsd-update. I do not want binary upgrades but is this the tool to replace cvsup to update sources? How do I use it to replace the old way that went something like this: > > cvsup sources > make buildworld > make buildkernel > make installkernel > mergemaster > make installworld > > (I'm not sure I have that in the exact proper order but it was something like that). > > So is freebsd-update what I need? Is there a page that describes the steps to accomplish this? > > Thanks, > > Drew > http://www.wonkity.com/~wblock/docs/html/stable.html Buildworld Buildkernel Installkernel Reboot Mergemaster -p Installworld Mergemaster Rebuild ports Delete-old Delete-old-libs Delete-old-dirs Less /usr/src/Makefile From bujinkanninpo at live.com Tue Mar 19 01:46:08 2013 From: bujinkanninpo at live.com (Bujinkan Ninpo) Date: Mon, 18 Mar 2013 21:44:59 -0400 Subject: About freebsd Message-ID: Hello I was thinking about buying a new laptop I was looking at the dell Inspiron 15 3521 and I was wanting to order a cd copy of freebsd 9.1 and I was wondering how it would work running a dual boot win8 w/ freebsd 9.1 Thank you for you time and have a good day From Lost.PropertyDover at dfds.com Tue Mar 19 03:59:16 2013 From: Lost.PropertyDover at dfds.com (Lost Property Dover (DFDS Seaways)) Date: Tue, 19 Mar 2013 03:44:07 +0000 Subject: Automatisk svar: report In-Reply-To: References: Message-ID: <89f29b03d1064f53a7c7e87b1b6bba25@DKCPH-DKMAIL2.dk.dfds.root> lostproperty.dover at dfds.com Auto Response Thank you for contacting DFDS Seaways Lost Property Office. We are open from 0900hrs to 1600hrs Monday, Tuesday and Wednesday. During these times we aim to give you a response to your mail within 24 hours, the telephone number being 01304 218447. If you require an urgent response please phone our Contact Centre on 0871 230 0440* *Calls cost 10p a minute from BT landlines other phone providers may vary. Lost Property Office DFDS Seaways Eastern Docks Dover CT16 1JA Company Number: 271116770000 From ralf.mardorf at alice-dsl.net Tue Mar 19 05:28:15 2013 From: ralf.mardorf at alice-dsl.net (Ralf Mardorf) Date: Tue, 19 Mar 2013 06:25:10 +0100 Subject: About freebsd In-Reply-To: References: Message-ID: <1363670710.603.2.camel@archlinux> On Mon, 2013-03-18 at 21:44 -0400, Bujinkan Ninpo wrote: > Hello I was thinking about buying a new laptop I was looking at the dell Inspiron 15 3521 and I was wanting to order a cd copy of freebsd 9.1 and I was wondering how it would work running a dual boot win8 w/ freebsd 9.1 > Thank you for you time and have a good day I don't have knowledge about this, but there's a Wiki about UEFI that might answer your question, didn't read it myself. https://wiki.freebsd.org/UEFI Hth, Ralf From robnav247 at gmail.com Tue Mar 19 07:54:27 2013 From: robnav247 at gmail.com (Rob Navarro) Date: Tue, 19 Mar 2013 00:54:15 -0700 Subject: "make deinstall" within /usr/ports/lang - need to recover default language installs Message-ID: <514819A7.1080100@gmail.com> Hi Chaps, I typed "make deinstall" within the /usr/ports/lang directory of a FreeBSD 9.0 and mistakenly lost Perl, Python, Ruby and a whole host of default compiled languages. How can I get back to the default FreeBSD default installed language state (with Perl installed etc)? Crossing my fingers that I need not re-install the OS... Kind regards, Rob From demelier.david at gmail.com Tue Mar 19 08:14:04 2013 From: demelier.david at gmail.com (David Demelier) Date: Tue, 19 Mar 2013 09:14:02 +0100 Subject: "make deinstall" within /usr/ports/lang - need to recover default language installs In-Reply-To: <514819A7.1080100@gmail.com> References: <514819A7.1080100@gmail.com> Message-ID: lang/ contains all languages and so on ruby, lua, python, perl.. Of course you removed perl since you typed make deinstall in that parent port tree. You can type make install in /usr/ports/lang/perl5.14 to install it again. You don't need to reinstall FreeBSD, you're not on Windows here, you can repair everything :) Note: there is no perl installed by default, it's in the ports for few years now. Regards, 2013/3/19 Rob Navarro > Hi Chaps, > > I typed "make deinstall" within the /usr/ports/lang directory of a > FreeBSD 9.0 and mistakenly lost Perl, Python, Ruby and a whole host of > default compiled languages. > > How can I get back to the default FreeBSD default installed language > state (with Perl installed etc)? > > Crossing my fingers that I need not re-install the OS... > > Kind regards, > > Rob > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > -- Demelier David From matthew at freebsd.org Tue Mar 19 08:19:42 2013 From: matthew at freebsd.org (Matthew Seaman) Date: Tue, 19 Mar 2013 08:19:23 +0000 Subject: "make deinstall" within /usr/ports/lang - need to recover default language installs In-Reply-To: <514819A7.1080100@gmail.com> References: <514819A7.1080100@gmail.com> Message-ID: <51481F8B.6010206@freebsd.org> On 19/03/2013 07:54, Rob Navarro wrote: > Hi Chaps, > > I typed "make deinstall" within the /usr/ports/lang directory of a > FreeBSD 9.0 and mistakenly lost Perl, Python, Ruby and a whole host of > default compiled languages. > > How can I get back to the default FreeBSD default installed language > state (with Perl installed etc)? Ummm.... the default state is with just the base system installed: no extra languages like perl or python and no other additional software packages. > Crossing my fingers that I need not re-install the OS... Nope. You absolutely do not need to do that -- all you did will have affected the ports, which on FreeBSD is a distinct entity from the base system. To recover, you simply need to re-install the appropriate ports. If you know what you want installed, then it's easy: you can just feed a list of those ports into portmaster(8) or portupgrade(8). If you don't know what you need installed in order to support various end user programs, then there are various ways of checking that the dependencies of the required ports are installed. For instance, if you're using pkgng, you could run 'pkg check -da' At worst, and requiring the least amount of extra software, just try re-installing the packages in question. This should work, but you might end up doing a lot of strictly unnecessary recompiling. Matthew From robnav247 at gmail.com Tue Mar 19 08:37:28 2013 From: robnav247 at gmail.com (Rob Navarro) Date: Tue, 19 Mar 2013 01:37:22 -0700 Subject: "make deinstall" within /usr/ports/lang - need to recover default language installs In-Reply-To: <51481F8B.6010206@freebsd.org> References: <514819A7.1080100@gmail.com> <51481F8B.6010206@freebsd.org> Message-ID: <514823C2.1050406@gmail.com> Dear Chaps, Thank you very much for responding so quickly. Curiously the freeBSD 9.0 was installed with the standard answers to a sysinstall session and did contain a version of perl. I now seem to be in the state of discovering which languages I need and then re-installing. Is there a list/database for freeBSD 9.0 standard sysinstalls languages that I can view and use to re-install (via pkg_add -v -r perl etc) ? [there must a config file for sysinstall to use itself] Kind regards, Rob > lang/ contains all languages and so on ruby, lua, python, perl.. Of > course you removed perl since you typed make deinstall in that parent > port tree. > > You can type make install in /usr/ports/lang/perl5.14 to install it > again. You don't need to reinstall FreeBSD, you're not on Windows > here, you can repair everything :) > > Note: there is no perl installed by default, it's in the ports for few > years now. > > Regards, On 19/03/2013 01:19, Matthew Seaman wrote: > On 19/03/2013 07:54, Rob Navarro wrote: >> Hi Chaps, >> >> I typed "make deinstall" within the /usr/ports/lang directory of a >> FreeBSD 9.0 and mistakenly lost Perl, Python, Ruby and a whole host of >> default compiled languages. >> >> How can I get back to the default FreeBSD default installed language >> state (with Perl installed etc)? > Ummm.... the default state is with just the base system installed: no > extra languages like perl or python and no other additional software > packages. > >> Crossing my fingers that I need not re-install the OS... > Nope. You absolutely do not need to do that -- all you did will have > affected the ports, which on FreeBSD is a distinct entity from the base > system. > > To recover, you simply need to re-install the appropriate ports. If you > know what you want installed, then it's easy: you can just feed a list > of those ports into portmaster(8) or portupgrade(8). > > If you don't know what you need installed in order to support various > end user programs, then there are various ways of checking that the > dependencies of the required ports are installed. For instance, if > you're using pkgng, you could run 'pkg check -da' At worst, and > requiring the least amount of extra software, just try re-installing the > packages in question. This should work, but you might end up doing a > lot of strictly unnecessary recompiling. > > Matthew > > > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From ralf.mardorf at rocketmail.com Tue Mar 19 10:12:06 2013 From: ralf.mardorf at rocketmail.com (Ralf Mardorf) Date: Tue, 19 Mar 2013 11:12:03 +0100 Subject: EU Regulation and gvfs Message-ID: <1363687923.586.32.camel@archlinux> Hi, there's an issue with gvfs. Regarding to an EU Regulation external drives must spin down after a while, but gvfs make external drives spin up and down again and again so they don't stay asleep. I own a new WD Elements and within one week it aged by years. I marked a thread about this issue as solved, but it isn't, it's just a workaround. For some drives it's possible to disable it, but for drives where you can't open the case it can be impossible to do it. One way to safe lifetime then is to touch the drive in short intervals, to avoid a spin down and the other way is to remove gvfs and to mount block devices, not only USB devices, by a workaround. Other USB gear, but block devices, don't need gvfs, such as WiFi adapters. Since I'm short in time at the moment, I only tested Arch Linux and Ubuntu Linux intensively [1]. I'm cross-posting this information, hopefully you understand why I'm doing this. Regards, Ralf [1] From: Ralf Mardorf To: linux-audio-user Subject: [solved] External USB 2 HD for real-time recording Date: Tue, 19 Mar 2013 08:43:57 +0100 On Mon, 2013-03-18 at 18:12 +0100, Ralf Mardorf wrote: > The issue that the drive will spin up and down again and again can be > avoided. > > I removed > > - thunar-volman > - tumbler > - gvfs > > on Arch Linux. No packages depend on those packages for my Arch Linux. > The drive keeps asleep, even with still one partition mounted. > Later I'll add one package after the other, to find out what does cause > the access and I also will take a look at Ubuntu. Arch Linux: Only gvfs needs to be removed, no need to remove thunar-volman and tumbler. However, thunar-volman without gvfs seems to be useless. Tumbler doesn't cause issues, but I don't know what it's good for. To see thumbnails with Thunar it isn't needed. I keep thunar-volman and tumbler on Arch and only removed gvfs. For my Arch nothing depends on gvfs, so it was the only package I had to remove. Ubuntu Quantal: root at q:~# apt-get purge gvfs The following packages will be REMOVED: brasero* gvfs* gvfs-backends* gvfs-fuse* nautilus* nautilus-sendto* nautilus-share* Who cares about the packages that depend on it? I anyway use Thunar instead of Nautilus and K3b instead of Brasero. R?sum?: So who is to blame? By EU Regulation external drives must spin down. I even didn't completely read the German blah blah blah, http://www.heise.de/newsticker/meldung/Ab-2010-Maximal-2-Watt-im-Standby-Betrieb-von-Haushaltsgeraeten-PCs-und-Unterhaltungselektronik-Update-193947.html and I won't search for links in English. Xfce doesn't depend on gvfs, neither the Arch, nor the Ubuntu packages. Until now it seems to be, that without gvfs, partitions can't be mounted with a file browser, they have to be mounted by CLI. It's not only an issue for the USB drive, but also for USB sticks. It takes 30 minutes, then the WD Elements spins down and stays asleep. If you don't like this,than blame the EU. If you like it, then blame gvfs. Does VirtualBox still see my iPad 2 connected by USB when gvfs is removed? No problem, even an USB stick and even the external USB hard disk are available by VirtualBox. Is my KORG nanoKONTROL still accessible after removing gvfs? It still does show up in QjackCtl's ALSA tab. From vagner at bsdway.ru Tue Mar 19 12:29:51 2013 From: vagner at bsdway.ru (Vagner) Date: Tue, 19 Mar 2013 16:06:17 +0400 Subject: IPC Shared memory segment Message-ID: <20130319120617.GA6934@vagner-wrk.bsdway.ru> Hi all! Tell me please, how may I remove shared memory segment like this: T:m shmid:65537 shmkey:0 mode:--rw-rw-rw- owner:root group:wheel creator:root cgroup:wheel NATTCH:2 SEGSZ:1048576000 CPID:2982 LPID:54375 ATIME:10:29:12 DTIME:15:56:14 CTIME:10:51:00 Pid 2982 and pid 54375 is killed. -- Respectfully, Stanislav Putrya System administrator FotoStrana.Ru Ltd. ICQ IM: 328585847 Jabber-GoogleTalk: root.vagner mob.phone SPB: +79215788755 mob.phone RND: +79525600664 email: vagner at bsdway.ru email: putrya at playform.ru email: root.vagner at gmail.com site: bsdway.ru site: fotostrana.ru ---------------------------------------- ( ) ASCII ribbon campaign X - against HTML, vCards and / \ - proprietary attachments in e-mail From jcigar at ulb.ac.be Tue Mar 19 12:47:53 2013 From: jcigar at ulb.ac.be (Julien Cigar) Date: Tue, 19 Mar 2013 13:46:43 +0100 Subject: IPC Shared memory segment In-Reply-To: <20130319120617.GA6934@vagner-wrk.bsdway.ru> References: <20130319120617.GA6934@vagner-wrk.bsdway.ru> Message-ID: <51485E33.1050807@ulb.ac.be> On 03/19/2013 13:06, Vagner wrote: > Hi all! > Tell me please, how may I remove shared memory segment like this: > > T:m shmid:65537 shmkey:0 mode:--rw-rw-rw- owner:root group:wheel creator:root cgroup:wheel > NATTCH:2 SEGSZ:1048576000 CPID:2982 LPID:54375 ATIME:10:29:12 DTIME:15:56:14 CTIME:10:51:00 > > Pid 2982 and pid 54375 is killed. > man ipcrm -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. From amutu at amutu.com Tue Mar 19 14:44:35 2013 From: amutu at amutu.com (Jov) Date: Tue, 19 Mar 2013 22:44:07 +0800 Subject: Handbook Jail Chapter rewrite available for critique In-Reply-To: <51474796.1030808@a1poweruser.com> References: <51474796.1030808@a1poweruser.com> Message-ID: useful doc?greate job? find a mybe copy/past mistake in 16.7.1? > *exec.stop* This is the normal script used to *start *the jail. should be? *exec.stop* This is the normal script used to *stop *the jail. regards, 2013/3/19 Fbsd8 > To all interested parties; > > I have completed the final draft of the total rewrite of FreeBSD's > handbook Chapter 16 on Jails. > > Before submitting my work for submission to the documentation group for > insertion in the handbook I am looking for critique of the work to find > errors in concept, wrong use of words, or anything to make it better. > > All feedback welcomed. > > Use this URL to access it http://www.jails.a1poweruser.**com/ > > > Thank You. > > ______________________________**_________________ > freebsd-current at freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@** > freebsd.org " > -- Jov blog: http:amutu.com/blog From guru at unixarea.de Tue Mar 19 15:46:15 2013 From: guru at unixarea.de (Matthias Apitz) Date: Tue, 19 Mar 2013 16:46:03 +0100 Subject: adding a TrueType font Message-ID: <20130319154603.GA5474@tinyCurrent> Hello, I have a need for a very special font (which is used for the chars how they are teached to my son in school in first grade). I have found the TTF file and installed it as: $ file /usr/local/lib/X11/fonts/TrueType/DruckschriftBayern.ttf /usr/local/lib/X11/fonts/TrueType/DruckschriftBayern.ttf: TrueType font data and did the additional steps as described in the handbook http://www.freebsd.org/doc/handbook/x-fonts.html The new font shows up fine in some KDE apps, in firefox etc.; as well I can see it with fc-list(1) as: $ fc-list | fgrep BY Druckschrift BY WOK:style=Medium but I can't use is, for example with xterm, it says: $ xterm -fn 'Druckschrift BY WOK' xterm: cannot load font Druckschrift BY WOK and even more magic: I can set it in 'kedit' via preferences, but when I launch it from cmd line it says: $ kedit --fn 'Druckschrift BY WOK' QFont::setRawName(): Invalid XLFD: "Druckschrift BY WOK" Any idea why is this? I'd like to have it in xterm or in uRxvt, even better. Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru at unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From suseuser04 at lajt.hu Tue Mar 19 16:00:00 2013 From: suseuser04 at lajt.hu (=?UTF-8?Q?Istvan_Gabor?=) Date: Tue, 19 Mar 2013 16:59:56 +0100 Subject: =?UTF-8?Q?w_and_who_don't_list_users_in_FreeBSD?= =?UTF-8?Q?_9.0_and_9.1?= Message-ID: <56707a03.4dd020e4.51488b7c.7858d@lajt.hu> Hello: I have both FreeBSD 9.0 and 9.1 on two different computers. w and who commands do not list logged in users in any of them (either for root or a regular user). The output of w is: root@:/root # w 4:56PM up 10 mins, 0 users, load averages: 0.18, 0.26, 0.20 USER TTY FROM LOGIN@ IDLE WHAT root@:/root # And the output of who: root@:/root # who root@:/root # Why is this and how can I fix it? Thanks, Istvan ps: I tried google search but w and who are not good search terms. From ukaszg at gmail.com Tue Mar 19 16:00:29 2013 From: ukaszg at gmail.com (uki) Date: Tue, 19 Mar 2013 16:54:59 +0100 Subject: adding a TrueType font In-Reply-To: <20130319154603.GA5474@tinyCurrent> References: <20130319154603.GA5474@tinyCurrent> Message-ID: 2013/3/19 Matthias Apitz : > I have a need for a very special font (which is used for the chars how > they are teached to my son in school in first grade). For such unusual fonts, or fonts that are not in package of some kind I pu them into ~/.fonts and have the following in my .xinitrc (don't know how that applies to gnome or kde): xset +fp $HOME/.fonts xset fp rehash You might have to run mkfontdir if your ~/.fonts is not 'a font dir' yet. From mail25 at bzerk.org Tue Mar 19 16:03:30 2013 From: mail25 at bzerk.org (Ruben de Groot) Date: Tue, 19 Mar 2013 16:03:24 +0000 Subject: w and who don't list users in FreeBSD 9.0 and 9.1 In-Reply-To: <56707a03.4dd020e4.51488b7c.7858d@lajt.hu> References: <56707a03.4dd020e4.51488b7c.7858d@lajt.hu> Message-ID: <20130319160324.GA63756@eris.bzerk.org> On Tue, Mar 19, 2013 at 04:59:56PM +0100, Istvan Gabor typed: > Hello: > > I have both FreeBSD 9.0 and 9.1 on two different computers. > w and who commands do not list logged in users in any of them > (either for root or a regular user). > > The output of w is: > > root@:/root # w > 4:56PM up 10 mins, 0 users, load averages: 0.18, 0.26, 0.20 > USER TTY FROM LOGIN@ IDLE WHAT > root@:/root # > > And the output of who: > > root@:/root # who > root@:/root # > > Why is this and how can I fix it? This can happen if your kernel and world are out of sync. Ruben From ralf.mardorf at rocketmail.com Tue Mar 19 16:12:26 2013 From: ralf.mardorf at rocketmail.com (Ralf Mardorf) Date: Tue, 19 Mar 2013 17:12:17 +0100 Subject: w and who don't list users in FreeBSD 9.0 and 9.1 In-Reply-To: <56707a03.4dd020e4.51488b7c.7858d@lajt.hu> References: <56707a03.4dd020e4.51488b7c.7858d@lajt.hu> Message-ID: <1363709537.2602.20.camel@archlinux> On Tue, 2013-03-19 at 16:59 +0100, Istvan Gabor wrote: > I tried google search but w and who are not good search terms. Indeed, it for sure isn't easy, but did you try with quotes and other options? http://lmgtfy.com/?q=freebsd+%22who+command%22 I don't know if there is a solution, but you're at least not the first who experienced this issue. From cederom at tlen.pl Tue Mar 19 16:22:33 2013 From: cederom at tlen.pl (CeDeROM) Date: Tue, 19 Mar 2013 17:16:05 +0100 Subject: fresh binary packages for 9.1 / 9 stable Message-ID: Hey hey :-) Are there any news on fresh binary packages for 9.1-RELEASE / 9-STABLE? :-) Best regards, Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From nvass at gmx.com Tue Mar 19 17:44:54 2013 From: nvass at gmx.com (Nikos Vassiliadis) Date: Tue, 19 Mar 2013 19:44:44 +0200 Subject: w and who don't list users in FreeBSD 9.0 and 9.1 In-Reply-To: <20130319160324.GA63756@eris.bzerk.org> References: <56707a03.4dd020e4.51488b7c.7858d@lajt.hu> <20130319160324.GA63756@eris.bzerk.org> Message-ID: <5148A40C.3090003@gmx.com> On 19/3/2013 6:03 ??, Ruben de Groot wrote: > On Tue, Mar 19, 2013 at 04:59:56PM +0100, Istvan Gabor typed: >> Hello: >> >> I have both FreeBSD 9.0 and 9.1 on two different computers. >> w and who commands do not list logged in users in any of them >> (either for root or a regular user). >> >> The output of w is: >> >> root@:/root # w >> 4:56PM up 10 mins, 0 users, load averages: 0.18, 0.26, 0.20 >> USER TTY FROM LOGIN@ IDLE WHAT >> root@:/root # >> >> And the output of who: >> >> root@:/root # who >> root@:/root # >> >> Why is this and how can I fix it? > > This can happen if your kernel and world are out of sync. It can also happen if /var/run/utx.active is corrupt. Could you try deleting it? It will be re-created after a successful login. Nikos From wblock at wonkity.com Tue Mar 19 20:02:56 2013 From: wblock at wonkity.com (Warren Block) Date: Tue, 19 Mar 2013 14:02:55 -0600 (MDT) Subject: OT: Installing 9.1 without re-partitioning hard drive In-Reply-To: <1363620549.604.85.camel@archlinux> References: <20130317153744.DEQ57782@ms5.mc.surewest.net> <1363594543.1496.69.camel@archlinux> <1363620549.604.85.camel@archlinux> Message-ID: On Mon, 18 Mar 2013, Ralf Mardorf wrote: > On Mon, 2013-03-18 at 09:00 -0600, Warren Block wrote: >> On Mon, 18 Mar 2013, Ralf Mardorf wrote: >> Standard practice for this list is to Cc the responder and the list, >> because people are not required to subscribe to post. > > That makes sense and does explain why my last mail came through the > list, while my broken MUA didn't use the address, I used to subscribe to > this list. So a smarter MUA should provide different reply settings for > replying to different lists. I should take a look at the mailman > settings, since at the moment I receive 2 mails in case of Cc'ing, IIRC > this can be disabled. Mailing list settings may not help, since it's really up to the sender. But it's easy to filter out duplicates with maildrop or procmail. From drew at mykitchentable.net Tue Mar 19 21:07:50 2013 From: drew at mykitchentable.net (Drew Tomlinson) Date: Tue, 19 Mar 2013 14:06:41 -0700 Subject: Current Way To Update Sources & Rebuild World/Kernel? -- SOLVED In-Reply-To: <20130317231637.555b1711.freebsd@edvax.de> References: <51463EA7.2070108@mykitchentable.net> <20130317231637.555b1711.freebsd@edvax.de> Message-ID: <5148D361.8040102@mykitchentable.net> On 3/17/2013 3:16 PM, Polytropon wrote: > On Sun, 17 Mar 2013 15:07:35 -0700, Drew Tomlinson wrote: >> I've been away for a while. In the past, the proper way to update a >> system was to grab current sources via cvsup and then rebuild world and >> kernel. But now I see cvsup is no longer supported. > Correct. The new way to obtain sources is via Subversion. > The OS will hopefully soon get a csup equivalent (svnup) > so you don't need to install a port with heavy dependencies. > > > >> The handbook talks >> about freebsd-update. I do not want binary upgrades but is this the >> tool to replace cvsup to update sources? > Basically freebsd-update updates the system binarily, as you > said. But it can also be used to only update sources. In order > to do this, edit /etc/freebsd-update.conf to contain the line > "Components src" (means: you remove all the other components > such as "world" and "kernel"). Then you proceed to reinstall > from source as known. > > > >> How do I use it to replace the >> old way that went something like this: >> >> cvsup sources >> make buildworld >> make buildkernel >> make installkernel >> mergemaster >> make installworld >> >> (I'm not sure I have that in the exact proper order but it was something >> like that). > The exact proper order can be found in the comment header of > /usr/src/Makefile. You should stick to that order to avoid > problems. Also see the corresponding handbook section. > > > >> So is freebsd-update what I need? > As explained above - or make yourself familiar with SVN, which > is the CVSup / csup replacement. > > > >> Is there a page that describes the >> steps to accomplish this? > See "man freebsd-update" and the comments in /etc/freebsd-update.conf > for details. Also see the Handbook's section about updating. Thanks for the replies. Using freebsd-update seemed the simplest method since it was already included. Worked just fine for getting the sources. And following the steps listed in comments in /usr/src/Makefile worked for building and installing the sources. Cheers, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com From drew at mykitchentable.net Tue Mar 19 21:13:17 2013 From: drew at mykitchentable.net (Drew Tomlinson) Date: Tue, 19 Mar 2013 14:13:01 -0700 Subject: How To Get App To Start At Boot? Message-ID: <5148D4DD.7010703@mykitchentable.net> I installed Splunk which is not part of the ports tree. It's a proprietary app that I downloaded and installed on it's own. I start it with '/usr/local/splunk/bin/splunk start'. It should also be stopped with '/usr/local/splunk/bin/splunk stop'. In an attempt to automate it, I created this symlink in /usr/local/etc/rc.d: lrwxr-xr-x 1 root wheel 28 Mar 3 12:32 splunk -> /usr/local/splunk/bin/splunk However it's still not automatic. I can run '/usr/local/etc/rc.d/splunk start' at the command line and that works. What do I need to do to get this automated? Thanks, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com From kudzu at tenebras.com Tue Mar 19 21:33:34 2013 From: kudzu at tenebras.com (Michael Sierchio) Date: Tue, 19 Mar 2013 14:33:33 -0700 Subject: How To Get App To Start At Boot? In-Reply-To: <5148D4DD.7010703@mykitchentable.net> References: <5148D4DD.7010703@mykitchentable.net> Message-ID: On Tue, Mar 19, 2013 at 2:13 PM, Drew Tomlinson wrote: > I installed Splunk which is not part of the ports tree. It's a proprietary > app that I downloaded and installed on it's own. I start it with > '/usr/local/splunk/bin/splunk start'. It should also be stopped with > '/usr/local/splunk/bin/splunk stop'. In an attempt to automate it, I > created this symlink in /usr/local/etc/rc.d: Not the way to do it at all. ;-) (assuming /opt/splunk*/bin is in your path) # splunk enable boot-start This installs the script below as /etc/rc.d/splunk. You then merely need to put splunk_enable="YES" in /etc/rc.conf Questions like this are better answered by searching the splunk FAQs, etc. Lots of good info there. #!/bin/sh # PROVIDE: splunkd # REQUIRE: LOGIN # KEYWORD: shutdown # /etc/rc.d/splunk # init script for Splunk. # generated by 'splunk enable boot-start'. . /etc/rc.subr name=splunk extra_commands="status" rcvar=`set_rcvar` eval "${rcvar}=\${${rcvar}:-'NO'}" splunk_start() { "${splunk_home:-/opt/splunkforwarder}/bin/splunk" start --no-prompt --answer-yes "$@" } start_cmd=splunk_start splunk_stop() { "${splunk_home:-/opt/splunkforwarder}/bin/splunk" stop "$@" } stop_cmd=splunk_stop splunk_restart() { "${splunk_home:-/opt/splunkforwarder}/bin/splunk" restart "$@" } restart_cmd=splunk_restart splunk_status() { "${splunk_home:-/opt/splunkforwarder}/bin/splunk" status "$@" } status_cmd=splunk_status load_rc_config $name run_rc_command "$@" From drew at mykitchentable.net Tue Mar 19 21:34:13 2013 From: drew at mykitchentable.net (Drew Tomlinson) Date: Tue, 19 Mar 2013 14:33:51 -0700 Subject: cannot ssh into a box with DHCP assigned IP address In-Reply-To: <201302201355.r1KDt8Lt063091@mech-cluster241.men.bris.ac.uk> References: <201302201355.r1KDt8Lt063091@mech-cluster241.men.bris.ac.uk> Message-ID: <5148D9BF.5000006@mykitchentable.net> On 2/20/2013 5:55 AM, Anton Shterenlikht wrote: > From feenberg at nber.org Wed Feb 20 13:39:28 2013 > > > From: Fleuriot Damien > > To: mexas at bristol.ac.uk > > Subject: Re: cannot ssh into a box with DHCP assigned IP address > > Date: Wed, 20 Feb 2013 10:31:22 +0100 > > Cc: freebsd-questions at freebsd.org > > > > On Feb 20, 2013, at 10:28 AM, Anton Shterenlikht wrote: > > > > > I have a laptop with FreeBSD -current, > > > with ip address assigned via DHCP. > > > The laptop has neither a static ip address, > > > nor a domain. > > > > > > I can ping the laptop fine, but cannot I doubt that you can ping 172.21.220.12 from 137.222.187.241 as 172.21.220.12 is private IP address space and is not routed across the Internet. > > > ssh into it. The sshd is running, /etc/ssh/ssd_config > > > seems fine, /etc/hosts.allow is fine. > > > However, /etc/hosts is just the default: > > While on the problem machine, can you ssh to localhost? ssh to the IP > address? > > yes to both > > I would suspect the problem is in /etc/hosts.allow > or /etc/hosts.deny, > > The first non-comment line in /etc/hosts.allow is > ALL : ALL : allow > > and I don't have /etc/hosts.deny: > > root at zzz:~ # ls /etc/hosts* > /etc/hosts /etc/hosts.equiv > /etc/hosts.allow /etc/hosts.lpd > root at zzz:~ # > > or perhaps the subnet mask is incorrect. > > Well.. what should it be? > I have on the problem box (ssh server): > > wlan0: flags=8943 metric 0 mtu 1 > 500 > ether 00:21:5c:50:68:c3 > inet 172.21.220.12 netmask 0xfffffc00 broadcast 255.255.255.255 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g > status: associated > ssid eduroam channel 1 (2412 MHz 11g) bssid 00:3a:98:62:cd:a0 > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 14 bmiss 10 scanvalid 450 > bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 > protmode CTS wme roaming MANUAL > > I'm trying to ssh from 137.222.187.241. > > I wonder, perhaps it somehow built into the > Eduroam wireless, provided by the University, > that the devices connected to it cannot be > accessible. They can only initiate outgoing > connections, but all incoming connections are > somehow blocked? Given that the majority of > the devices will be unsecured MS boxes, maybe > the university thought that this is wise idea > for safety. Perhaps I can investigate this > with my IT guys. > > Or I might be talking complete nonsense here, not my area at all. It is kind of "built in" as you say. The Eduroam wireless network appears to be a private network sitting behind a NAT gateway. Thus what happens when you access the Internet is that your laptop sends that request to the NAT gateway on the Eduroam network. The NAT gateway strips off your private IP address and replaces it with a public IP address , marks the connection in its table, and sends it on it's way. Then when the answer comes back from the Internet, the NAT gateway strips off the public IP address and replaces with your private IP address, and sends it to your laptop. While on the Eduroam network, go to http://whatismyip.com. You will see that your IP is not 172.21.220.12. It will be a public IP address that Eduroam uses. Bottom line is that the only way you could ssh to your laptop from the Internet is if you got the university to give you a public IP address and port and then they set up NAT and port forwarding on their network to point that public IP address to your laptop private IP address ssh port. Since I doubt you will have much luck with that, I suspect the short answer is "you can't ssh to your laptop from the Internet when it's connected to your university network". I'm sure this isn't the answer you wanted but hopefully this will save you some frustration. Cheers, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com From kaltheat at googlemail.com Tue Mar 19 22:06:36 2013 From: kaltheat at googlemail.com (kaltheat at googlemail.com) Date: Tue, 19 Mar 2013 23:06:25 +0100 Subject: Intel microcode update Message-ID: <20130319220625.GB5368@sol> Hi, I was wondering how to update microcode of an Intel CPU and came across cpucontrol and sysutils/devcpu-data . But last mentioned port is not up-to-date anymore. I searched Intel's webpages for microcode updates and found archives for Linux containing one single microcode.dat file. Could someone tell me if that file is compatible with FreeBSD? As devcpu-data installs .fw files it might be proper to convert/compile microcode.dat in some way. How? Regards, kaltheat From kaltheat at googlemail.com Tue Mar 19 22:32:06 2013 From: kaltheat at googlemail.com (kaltheat at googlemail.com) Date: Tue, 19 Mar 2013 23:32:00 +0100 Subject: configure recursively and build question In-Reply-To: <33e0ec72.507f04c6.513f5b93.143fa@lajt.hu> References: <33e0ec72.507f04c6.513f5b93.143fa@lajt.hu> Message-ID: <20130319223200.GC5368@sol> On Tue, Mar 12, 2013 at 05:45:07PM +0100, Istvan Gabor wrote: > Hello: > > As there are no compiled FreeBSD 9.1 packages for pkg_tools I decided to build them. > Last I started to build kde3. First I issued make configure-recursive in > /usr/ports/x11/kde3, then make install clean, and left the computer for overnight to work. > I expected a successful build by the morning but instead I found a screen requiring some > config options (for apache). I selected the options and the build went on. > But later other config windows came up, so far for mysqlclient, sane-backends, > tk, tcl, libxine and sdl. So my question are: > > What is configure-recursive good for then? I thought it is for preventing interactions > during the build process. Ho can I really configure everything in one step and leave > the computer alone? > > Second, after I've done a configure-recursive, how can I start it over from scratch in case > I want to change some config option? If I reissue make configure-recursive, > I get only no configuration needed messages. > > Thanks, > > Istvan make config-recursive seems to be buggy. It seems not to be recursive as this would mean that with every change of an option of the root port or it's dependencies dependencies of the root port might change. This could mean that make config needs to be invoked for a port that wasn't in the inital dependecy list of root port. The "root of all evil" seems to be in /usr/ports/Mk/bsd.port.mk line 6187 ff. You might want to use ports-mgmt/portmaster. It creates options-files of a port and it's dependencies in a better way before starting to compile ports. Regards, kaltheat From noc at hdk5.net Wed Mar 20 03:19:25 2013 From: noc at hdk5.net (Al Plant) Date: Tue, 19 Mar 2013 17:09:38 -1000 Subject: Dumb down a Netgear Smart Switch Message-ID: <51492872.7040400@hdk5.net> Aloha, Anybody on our list who can tell me how to set a Netgear GS108T 8 Port Smart Switch (Gigabit) to pass thru to a modem under FreeBSD. I have 2 other (non Smart) ones working with FreeBSD just fine in my rack and need to have the new one connect with a DSL modem on a static address. The instructions they sent me along with the switch that was a replacement for a non smart one at no charge is the type for using a DHCP service on Microsoft. (I cant complain about the up grade but its over kill for my purpose. Any help would be appreciated. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc at hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From qq1595544360645 at 163.com Wed Mar 20 06:26:51 2013 From: qq1595544360645 at 163.com (qq1595544360645 at 163.com) Date: Wed, 20 Mar 2013 14:27:03 +0800 Subject: USB Flash Drive in Stock Message-ID: <514956A0.129B4E.09851@m12-12.163.com> Hi, Glad to hear that you're on the market for usb driver memory, we are experienced in this field for about 8 years. There is much experience in usb driver memory with higher quality. What?s more, we have our own R&D to meet any of your requirements. There are usb driver memory in stock and the quotation as follows: 1GB: EXW US$2.10, 2GB: EXW US$2.42, 4GB: EXW US$2.91, 8GB: EXW US$3.55, 16GB: EXW US$6.13, 32GB: EXW US$10.49, 64GB: EXW US$ 22.26, 128GB: EXW US$ 25.49, 256GB: EXW US$30.33 M.O.Q: 500PCS Please contact us without any hesitation if there is anything we can do for you. Look forward to hearing from you and establishing friendly business relationship between us. Best Regards. Jane2 -------------- next part -------------- A non-text attachment was scrubbed... Name: USB Flash Drive.jpg Type: application/octet-stream Size: 9119 bytes Desc: not available URL: From mexas at bristol.ac.uk Wed Mar 20 09:11:00 2013 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Wed, 20 Mar 2013 09:10:45 GMT Subject: USB host controllers on a server that does not use USB devices? Message-ID: <201303200910.r2K9AjTN041940@mech-cluster241.men.bris.ac.uk> This is on an ia64 server. Do I need these devices in kernel: device ehci # EHCI host controller device ohci # OHCI PCI->USB interface device uhci # UHCI PCI->USB interface if I don't ever attach any usb devices to it? Thanks Anton From suseuser04 at lajt.hu Wed Mar 20 09:25:47 2013 From: suseuser04 at lajt.hu (=?UTF-8?Q?Istvan_Gabor?=) Date: Wed, 20 Mar 2013 10:25:44 +0100 Subject: =?UTF-8?Q?Re:_configure_recursively_and_build?= =?UTF-8?Q?_question?= In-Reply-To: <20130319223200.GC5368@sol> References: <33e0ec72.507f04c6.513f5b93.143fa@lajt.hu> <20130319223200.GC5368@sol> Message-ID: <149e39bf.63f10213.51498098.2043a@lajt.hu> 2013. m?rcius 19. 23:32 napon kaltheat at googlemail.com ?rta: > On Tue, Mar 12, 2013 at 05:45:07PM +0100, Istvan Gabor wrote: > > Hello: > > > > As there are no compiled FreeBSD 9.1 packages for pkg_tools I decided to build them. > > Last I started to build kde3. First I issued make configure-recursive in > > /usr/ports/x11/kde3, then make install clean, and left the computer for overnight to work. > > I expected a successful build by the morning but instead I found a screen requiring some > > config options (for apache). I selected the options and the build went on. > > But later other config windows came up, so far for mysqlclient, sane-backends, > > tk, tcl, libxine and sdl. So my question are: > > > > What is configure-recursive good for then? I thought it is for preventing interactions > > during the build process. Ho can I really configure everything in one step and leave > > the computer alone? > > > > Second, after I've done a configure-recursive, how can I start it over from scratch in case > > I want to change some config option? If I reissue make configure-recursive, > > I get only no configuration needed messages. > > > > Thanks, > > > > Istvan > > make config-recursive seems to be buggy. > It seems not to be recursive as this would mean that with every change of an option of > the root port or it's dependencies dependencies of the root port might change. This could mean > that make config needs to be invoked for a port that wasn't in the inital dependecy list of root > port. > The "root of all evil" seems to be in /usr/ports/Mk/bsd.port.mk line 6187 ff. > > You might want to use ports-mgmt/portmaster. It creates options-files of a port and it's dependencies > in a better way before starting to compile ports. OK. Thanks for the explanation and suggestion. Istvan From suseuser04 at lajt.hu Wed Mar 20 09:36:27 2013 From: suseuser04 at lajt.hu (=?UTF-8?Q?Istvan_Gabor?=) Date: Wed, 20 Mar 2013 10:36:24 +0100 Subject: =?UTF-8?Q?Re:_w_and_who_don't_list_users_in?= =?UTF-8?Q?_FreeBSD_9.0_and_9.1?= In-Reply-To: <1363709537.2602.20.camel@archlinux> References: <56707a03.4dd020e4.51488b7c.7858d@lajt.hu> <1363709537.2602.20.camel@archlinux> Message-ID: <2d488c97.232b3b66.51498318.511af@lajt.hu> 2013. m?rcius 19. 17:12 napon Ralf Mardorf ?rta: > On Tue, 2013-03-19 at 16:59 +0100, Istvan Gabor wrote: > > I tried google search but w and who are not good search terms. > > Indeed, it for sure isn't easy, but did you try with quotes and other > options? > > http://lmgtfy.com/?q=freebsd+%22who+command%22 > > I don't know if there is a solution, but you're at least not the first > who experienced this issue. Thank you. I tried this type of search before my posting but the results I looked at were not relevant or did not give a solution. I did not know about "let me google that for you", thanks for that. Istvan From suseuser04 at lajt.hu Wed Mar 20 09:37:09 2013 From: suseuser04 at lajt.hu (=?UTF-8?Q?Istvan_Gabor?=) Date: Wed, 20 Mar 2013 10:31:29 +0100 Subject: =?UTF-8?Q?Re:_w_and_who_don't_list_users_in?= =?UTF-8?Q?_FreeBSD_9.0_and_9.1?= In-Reply-To: <20130319160324.GA63756@eris.bzerk.org> References: <56707a03.4dd020e4.51488b7c.7858d@lajt.hu> <20130319160324.GA63756@eris.bzerk.org> Message-ID: <7143c3e1.5f870c49.514981f1.d9ec5@lajt.hu> 2013. m?rcius 19. 17:03 napon Ruben de Groot ?rta: > On Tue, Mar 19, 2013 at 04:59:56PM +0100, Istvan Gabor typed: > > Hello: > > > > I have both FreeBSD 9.0 and 9.1 on two different computers. > > w and who commands do not list logged in users in any of them > > (either for root or a regular user). > > > > The output of w is: > > > > root@:/root # w > > 4:56PM up 10 mins, 0 users, load averages: 0.18, 0.26, 0.20 > > USER TTY FROM LOGIN@ IDLE WHAT > > root@:/root # > > > > And the output of who: > > > > root@:/root # who > > root@:/root # > > > > Why is this and how can I fix it? > > This can happen if your kernel and world are out of sync. 1. How could I check this? 2. I found that users are reported if they are logged in on terminal session or through ssh. User who is logged in through KDM3 into KDE3 session is not shown. Does this change the above diagnosis? Can it be something else, maybe? Thanks, Istvan From suseuser04 at lajt.hu Wed Mar 20 09:39:18 2013 From: suseuser04 at lajt.hu (=?UTF-8?Q?Istvan_Gabor?=) Date: Wed, 20 Mar 2013 10:39:16 +0100 Subject: =?UTF-8?Q?Re:_w_and_who_don't_list_users_in?= =?UTF-8?Q?_FreeBSD_9.0_and_9.1?= In-Reply-To: <5148A40C.3090003@gmx.com> References: <56707a03.4dd020e4.51488b7c.7858d@lajt.hu> <20130319160324.GA63756@eris.bzerk.org> <5148A40C.3090003@gmx.com> Message-ID: <1a0644d8.76b3142c.514983c4.8f113@lajt.hu> 2013. m?rcius 19. 18:44 napon Nikos Vassiliadis ?rta: > On 19/3/2013 6:03 ??, Ruben de Groot wrote: > > On Tue, Mar 19, 2013 at 04:59:56PM +0100, Istvan Gabor typed: > >> Hello: > >> > >> I have both FreeBSD 9.0 and 9.1 on two different computers. > >> w and who commands do not list logged in users in any of them > >> (either for root or a regular user). > >> > >> The output of w is: > >> > >> root@:/root # w > >> 4:56PM up 10 mins, 0 users, load averages: 0.18, 0.26, 0.20 > >> USER TTY FROM LOGIN@ IDLE WHAT > >> root@:/root # > >> > >> And the output of who: > >> > >> root@:/root # who > >> root@:/root # > >> > >> Why is this and how can I fix it? > > > > This can happen if your kernel and world are out of sync. > > It can also happen if /var/run/utx.active is corrupt. Could you > try deleting it? It will be re-created after a successful login. I tried this but did not make any change. Maybe the problem is related to the session type, KDE3. See my answer to Ruben. Thanks, Istvan From lenzi.sergio at gmail.com Wed Mar 20 11:38:05 2013 From: lenzi.sergio at gmail.com (Sergio de Almeida Lenzi) Date: Wed, 20 Mar 2013 08:37:59 -0300 Subject: Dumb down a Netgear Smart Switch In-Reply-To: <51492872.7040400@hdk5.net> References: <51492872.7040400@hdk5.net> Message-ID: <1363779479.15852.26.camel@z6000.lenzicasa> Em Ter, 2013-03-19 ?s 17:09 -1000, Al Plant escreveu: > Aloha, > > Anybody on our list who can tell me how to set a Netgear GS108T 8 Port > Smart Switch (Gigabit) to pass thru to a modem under FreeBSD. I have 2 > other (non Smart) ones working with FreeBSD just fine in my rack and > need to have the new one connect with a DSL modem on a static address. > > The instructions they sent me along with the switch that was a > replacement for a non smart one at no charge is the type for using a > DHCP service on Microsoft. (I cant complain about the up grade but its > over kill for my purpose. > > Any help would be appreciated. Hello, My experience with "smart" switches is at minimum "not good" they sometimes "block", they need "programming", I had an experience with a dell smart switch that blocks the entire network of servers when a set of diskless stations boots, the only solution is to make it dumber. finally we changed that one for about 3 cisco gigabit 48 ports dumb switches and never ever heard about network problems again... Sergio From Belle_Kuo at wiwynn.com Wed Mar 20 11:49:33 2013 From: Belle_Kuo at wiwynn.com (Belle_Kuo at wiwynn.com) Date: Wed, 20 Mar 2013 11:44:21 +0000 Subject: FreeBSD 8.1 install on Intel Romley platform Message-ID: <768FC1F11AB93D4094E46B651C58EE171A0665@GDC-CLDMBX-P02.whq.wistron> Dear Sir/Madam, We are facing a problem to install FreeBSD8.1 on Intel Romley platform, SAS HDD could not be detected. While we tried FreeBSD 9.1, it has no problem. However, our Firewall application only work on FreeBSD 8.1 and 8.3. Is there any driver or kernel update that we can integrate to let FreeBSD 8.1 install successfully? Best Regards, Belle Kuo Product Management Wiwynn Corporation Address: 8F, No. 90, Sec. 1, Xintai 5th Rd., Xizhi Dist., New Taipei City 22102, Taiwan Direct: +886 2-6612-3010 Mobile: +886 933 667688 Facsimile: +886 2 6615-8999 Email: Belle_Kuo at wiwynn.com From naddy at mips.inka.de Wed Mar 20 13:26:39 2013 From: naddy at mips.inka.de (Christian Weisgerber) Date: Wed, 20 Mar 2013 12:55:56 +0000 (UTC) Subject: fetchmail/sendmail: Domain of sender address does not exist References: <201303070940.r279elHS001082@mech-cluster241.men.bris.ac.uk> Message-ID: Anton Shterenlikht wrote: > I sometimes see fetchmail complain: > > fetchmail: SMTP error: 553 5.1.8 ... Domain of sender > address admin at system.mail does not exist Add FEATURE(accept_unresolvable_domains) to your sendmail configuration. -- Christian "naddy" Weisgerber naddy at mips.inka.de From freebsd-questions-local at be-well.ilk.org Wed Mar 20 13:40:49 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Wed, 20 Mar 2013 09:40:37 -0400 Subject: w and who don't list users in FreeBSD 9.0 and 9.1 In-Reply-To: <7143c3e1.5f870c49.514981f1.d9ec5@lajt.hu> (Istvan Gabor's message of "Wed, 20 Mar 2013 10:31:29 +0100") References: <56707a03.4dd020e4.51488b7c.7858d@lajt.hu> <20130319160324.GA63756@eris.bzerk.org> <7143c3e1.5f870c49.514981f1.d9ec5@lajt.hu> Message-ID: <448v5i2nqi.fsf@lowell-desk.lan> Istvan Gabor writes: > 2. I found that users are reported if they are logged in on terminal session or through ssh. > User who is logged in through KDM3 into KDE3 session is not shown. > Does this change the above diagnosis? Can it be something else, maybe? Well, if they don't start a login shell, they're not going to show up as logged in. Most terminal programs have an option to start them as login shells, but I don't know KDE well enough to know what the normal practice there would be. From feenberg at nber.org Wed Mar 20 13:53:43 2013 From: feenberg at nber.org (Daniel Feenberg) Date: Wed, 20 Mar 2013 09:26:32 -0400 (EDT) Subject: Dumb down a Netgear Smart Switch In-Reply-To: <1363779479.15852.26.camel@z6000.lenzicasa> References: <51492872.7040400@hdk5.net> <1363779479.15852.26.camel@z6000.lenzicasa> Message-ID: On Wed, 20 Mar 2013, Sergio de Almeida Lenzi wrote: > Em Ter, 2013-03-19 ?s 17:09 -1000, Al Plant escreveu: > >> Aloha, >> >> Anybody on our list who can tell me how to set a Netgear GS108T 8 Port >> Smart Switch (Gigabit) to pass thru to a modem under FreeBSD. I have 2 >> other (non Smart) ones working with FreeBSD just fine in my rack and >> need to have the new one connect with a DSL modem on a static address. I have one of that model, and if you reset to factory defaults it should act as a dumb switch. There are some options that could be set that would interfere with operation (flow control, port negotiation, etc) but I am confident that none are set in the factory default configuration. (Stick a pin in the hole while power cycling). daniel feenberg From illoai at gmail.com Wed Mar 20 14:06:55 2013 From: illoai at gmail.com (illoai at gmail.com) Date: Wed, 20 Mar 2013 09:59:25 -0400 Subject: USB host controllers on a server that does not use USB devices? In-Reply-To: <201303200910.r2K9AjTN041940@mech-cluster241.men.bris.ac.uk> References: <201303200910.r2K9AjTN041940@mech-cluster241.men.bris.ac.uk> Message-ID: On 20 March 2013 05:10, Anton Shterenlikht wrote: > This is on an ia64 server. > > Do I need these devices in kernel: > > device ehci # EHCI host controller > device ohci # OHCI PCI->USB interface > device uhci # UHCI PCI->USB interface > > if I don't ever attach any usb devices to it? Probably not on a server, but there are some built-in devices in some notebooks (webcam & bluetooth) that are run through a usb bus. usbconfig(8) may be helpful. -- -- From ml at netfence.it Wed Mar 20 14:11:50 2013 From: ml at netfence.it (Andrea Venturoli) Date: Wed, 20 Mar 2013 14:49:27 +0100 Subject: FreeBSD 8.1 install on Intel Romley platform In-Reply-To: <768FC1F11AB93D4094E46B651C58EE171A0665@GDC-CLDMBX-P02.whq.wistron> References: <768FC1F11AB93D4094E46B651C58EE171A0665@GDC-CLDMBX-P02.whq.wistron> Message-ID: <5149BE67.60201@netfence.it> On 03/20/13 12:44, Belle_Kuo at wiwynn.com wrote: > We are facing a problem to install FreeBSD8.1 8.1 is not supported anymore; I don't think you'll get much help. > our Firewall application only work on FreeBSD 8.1 and 8.3. 8.3 is still supported, so I'd move on to that one. > SAS HDD could not be detected. > While we tried FreeBSD 9.1, it has no problem. So, how does 9.1 detect it? > However, Is there any driver or kernel update that we can integrate > to let FreeBSD 8.1 install successfully? Perhaps you could post the dmesg at boot from 9.1. This could give the list some useful info. bye av. From ml at netfence.it Wed Mar 20 14:33:20 2013 From: ml at netfence.it (Andrea Venturoli) Date: Wed, 20 Mar 2013 15:12:43 +0100 Subject: USB host controllers on a server that does not use USB devices? In-Reply-To: References: <201303200910.r2K9AjTN041940@mech-cluster241.men.bris.ac.uk> Message-ID: <5149C3DB.90506@netfence.it> On 03/20/13 14:59, illoai at gmail.com wrote: > Probably not on a server, but there are some built-in > devices in some notebooks (webcam & bluetooth) > that are run through a usb bus. It happened to me to see an internal USB tape drive, connected to an USB port on the motherboard. bye av. From godders at gmail.com Wed Mar 20 15:30:08 2013 From: godders at gmail.com (Dan Thomas) Date: Wed, 20 Mar 2013 15:23:18 +0000 Subject: "Leaking" disk space Message-ID: Hi Guys, We're seeing a problem with some of our FreeBSD/PostgreSQL servers "leaking" quite significant amounts of disk space: > df -h /usr/local/pgsql/ Filesystem Size Used Avail Capacity Mounted on /dev/mfid1s1d 1.1T 772G 222G 78% /usr/local/pgsql > du -sh /usr/local/pgsql/ 741G /usr/local/pgsql/ Stopping Postgres doesn't fix it, but rebooting does which points at the OS rather than PG to me. However, the leak is only apparent in the dedicated pgsql partition, and only on our database servers, so PostgreSQL seems to at least be involved. The partition itself is a relatively standard UFS partition: > grep /usr/local/pgsql /etc/fstab /dev/mfid1s1d /usr/local/pgsql ufs rw 2 2 > tunefs -p /usr/local/pgsql/ tunefs: POSIX.1e ACLs: (-a) disabled tunefs: NFSv4 ACLs: (-N) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: gjournal: (-J) disabled tunefs: trim: (-t) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) LSOF isn't showing any open files: > lsof +L /usr/local/pgsql/ | awk '{ print $8 }' | grep 0 | wc -l 0 We're not creating filesystem snapshots: > find /usr/local/pgsql/ -flags snapshot > Not all of our servers are leaking space, it's only the more recently-installed systems. Here's a quick breakdown of versions: FreeBSD PostgreSQL Leaking? 8.0 8.4.4 no 8.2 9.0.4 no 8.3 9.1.4 yes 8.3 9.2.3 yes 9.1 9.2.3 yes Any ideas what's going on here, or where we could start debugging? Thanks, Dan From emorrasg at yahoo.es Wed Mar 20 16:02:49 2013 From: emorrasg at yahoo.es (Eduardo Morras) Date: Wed, 20 Mar 2013 17:02:41 +0100 Subject: "Leaking" disk space In-Reply-To: References: Message-ID: <20130320170241.278d4fb515536cb6669ae0bf@yahoo.es> On Wed, 20 Mar 2013 15:23:18 +0000 Dan Thomas wrote: > Hi Guys, > > We're seeing a problem with some of our FreeBSD/PostgreSQL servers > "leaking" quite significant amounts of disk space: > > > df -h /usr/local/pgsql/ > Filesystem Size Used Avail Capacity Mounted on > /dev/mfid1s1d 1.1T 772G 222G 78% /usr/local/pgsql > > > du -sh /usr/local/pgsql/ > 741G /usr/local/pgsql/ > > Stopping Postgres doesn't fix it, but rebooting does which points at > the OS rather than PG to me. However, the leak is only apparent in the > dedicated pgsql partition, and only on our database servers, so > PostgreSQL seems to at least be involved. The partition itself is a > relatively standard UFS partition: > > > grep /usr/local/pgsql /etc/fstab > /dev/mfid1s1d /usr/local/pgsql ufs rw 2 2 > > > tunefs -p /usr/local/pgsql/ > tunefs: POSIX.1e ACLs: (-a) disabled > tunefs: NFSv4 ACLs: (-N) disabled > tunefs: MAC multilabel: (-l) disabled > tunefs: soft updates: (-n) enabled > tunefs: gjournal: (-J) disabled > tunefs: trim: (-t) disabled > tunefs: maximum blocks per file in a cylinder group: (-e) 2048 > tunefs: average file size: (-f) 16384 > tunefs: average number of files in a directory: (-s) 64 > tunefs: minimum percentage of free space: (-m) 8% > tunefs: optimization preference: (-o) time > tunefs: volume label: (-L) > > LSOF isn't showing any open files: > > > lsof +L /usr/local/pgsql/ | awk '{ print $8 }' | grep 0 | wc -l > 0 > > We're not creating filesystem snapshots: > > > find /usr/local/pgsql/ -flags snapshot > > > > Not all of our servers are leaking space, it's only the more > recently-installed systems. Here's a quick breakdown of versions: > > FreeBSD PostgreSQL Leaking? > 8.0 8.4.4 no > 8.2 9.0.4 no > 8.3 9.1.4 yes > 8.3 9.2.3 yes > 9.1 9.2.3 yes > > Any ideas what's going on here, or where we could start debugging? Somethings to check: a) Where do you have the wal files? b) Are you sure that unused/old wal files are erased? c) Do you have any postgres log level activated (like the ones used for long queries)? d) Does your queries have GROUP BY on very big data sets? Those create big temporal data files. e) With question a) and b), do you use streaming replication? > > Thanks, > > Dan --- --- Eduardo Morras From matthew at freebsd.org Wed Mar 20 16:09:59 2013 From: matthew at freebsd.org (Matthew Seaman) Date: Wed, 20 Mar 2013 16:09:54 +0000 Subject: "Leaking" disk space In-Reply-To: References: Message-ID: <5149DF52.5040804@freebsd.org> On 20/03/2013 15:23, Dan Thomas wrote: > Hi Guys, > > We're seeing a problem with some of our FreeBSD/PostgreSQL servers > "leaking" quite significant amounts of disk space: > > > df -h /usr/local/pgsql/ > Filesystem Size Used Avail Capacity Mounted on > /dev/mfid1s1d 1.1T 772G 222G 78% /usr/local/pgsql > > > du -sh /usr/local/pgsql/ > 741G /usr/local/pgsql/ > > Stopping Postgres doesn't fix it, but rebooting does which points at > the OS rather than PG to me. However, the leak is only apparent in the > dedicated pgsql partition, and only on our database servers, so > PostgreSQL seems to at least be involved. The partition itself is a > relatively standard UFS partition: Hi, Dan You're not the first person to report that. Please see the thread: "leaking lots of unreferenced inodes (pg_xlog files?), maybe after moving tables and indexes to tablespace on different volume" on the freebsd-fs at freebsd.org mailing list. Kirk McKusick was investigating the original report: CC'd. Cheers, Matthew From godders at gmail.com Wed Mar 20 16:55:41 2013 From: godders at gmail.com (Dan Thomas) Date: Wed, 20 Mar 2013 16:55:34 +0000 Subject: "Leaking" disk space In-Reply-To: <20130320170241.278d4fb515536cb6669ae0bf@yahoo.es> References: <20130320170241.278d4fb515536cb6669ae0bf@yahoo.es> Message-ID: > a) Where do you have the wal files? pg_xlog is symlinked to /usr/local/pglog/pg_xlog (ie, out of the partition mounted as /usr/local/pgsql which is exhibiting this behaviour). b) Are you sure that unused/old wal files are erased? As above, but yes they seem to be being deleted properly c) Do you have any postgres log level activated (like the ones used for long queries)? Yes we have slow query logging enabled. pg_log is symlinked out of that partition to /usr/local/pglog/pg_log as well. d) Does your queries have GROUP BY on very big data sets? Those create big temporal data files. Yes we do a lot of that! However there are definitely no unlinked files, and the problem doesn't go away when pg is shut down. However a reboot does fix it. e) With question a) and b), do you use streaming replication? Yes we do. This problem is not present on the warm standby servers that are being streamed to. We have failed over to the warm standbys previously (we're currently doing this regularly to work around the problem without too much downtime). Once we switch the warm standby to primary, it begins leaking space. On 20 March 2013 16:02, Eduardo Morras wrote: > On Wed, 20 Mar 2013 15:23:18 +0000 > Dan Thomas wrote: > >> Hi Guys, >> >> We're seeing a problem with some of our FreeBSD/PostgreSQL servers >> "leaking" quite significant amounts of disk space: >> >> > df -h /usr/local/pgsql/ >> Filesystem Size Used Avail Capacity Mounted on >> /dev/mfid1s1d 1.1T 772G 222G 78% /usr/local/pgsql >> >> > du -sh /usr/local/pgsql/ >> 741G /usr/local/pgsql/ >> >> Stopping Postgres doesn't fix it, but rebooting does which points at >> the OS rather than PG to me. However, the leak is only apparent in the >> dedicated pgsql partition, and only on our database servers, so >> PostgreSQL seems to at least be involved. The partition itself is a >> relatively standard UFS partition: >> >> > grep /usr/local/pgsql /etc/fstab >> /dev/mfid1s1d /usr/local/pgsql ufs rw 2 2 >> >> > tunefs -p /usr/local/pgsql/ >> tunefs: POSIX.1e ACLs: (-a) disabled >> tunefs: NFSv4 ACLs: (-N) disabled >> tunefs: MAC multilabel: (-l) disabled >> tunefs: soft updates: (-n) enabled >> tunefs: gjournal: (-J) disabled >> tunefs: trim: (-t) disabled >> tunefs: maximum blocks per file in a cylinder group: (-e) 2048 >> tunefs: average file size: (-f) 16384 >> tunefs: average number of files in a directory: (-s) 64 >> tunefs: minimum percentage of free space: (-m) 8% >> tunefs: optimization preference: (-o) time >> tunefs: volume label: (-L) >> >> LSOF isn't showing any open files: >> >> > lsof +L /usr/local/pgsql/ | awk '{ print $8 }' | grep 0 | wc -l >> 0 >> >> We're not creating filesystem snapshots: >> >> > find /usr/local/pgsql/ -flags snapshot >> > >> >> Not all of our servers are leaking space, it's only the more >> recently-installed systems. Here's a quick breakdown of versions: >> >> FreeBSD PostgreSQL Leaking? >> 8.0 8.4.4 no >> 8.2 9.0.4 no >> 8.3 9.1.4 yes >> 8.3 9.2.3 yes >> 9.1 9.2.3 yes >> >> Any ideas what's going on here, or where we could start debugging? > > Somethings to check: > > a) Where do you have the wal files? > b) Are you sure that unused/old wal files are erased? > c) Do you have any postgres log level activated (like the ones used for long queries)? > d) Does your queries have GROUP BY on very big data sets? Those create big temporal data files. > e) With question a) and b), do you use streaming replication? > >> >> Thanks, >> >> Dan > > --- --- > Eduardo Morras > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From suseuser04 at lajt.hu Wed Mar 20 17:43:59 2013 From: suseuser04 at lajt.hu (=?UTF-8?Q?Istvan_Gabor?=) Date: Wed, 20 Mar 2013 18:43:52 +0100 Subject: =?UTF-8?Q?getopt_port_in_FreeBSD-9.1?= Message-ID: <5c57e72e.462568ef.5149f558.38431@lajt.hu> Hello: I would like to install firefox-esr-i18n port but is stops at getopt install. I tried to install getopt port but it gives: root@:/usr/ports/misc/getopt # make install clean ===> Extracting for getopt-1.1.5 => SHA256 Checksum mismatch for getopt-1.1.5.tar.gz. ===> Refetch for 1 more times files: getopt-1.1.5.tar.gz => getopt-1.1.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch http://software.frodo.looijaard.name/getopt/files/getopt-1.1.5.tar.gz fetch: http://software.frodo.looijaard.name/getopt/files/getopt-1.1.5.tar.gz: Connection refused => Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/getopt-1.1.5.tar.gz fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/getopt-1.1.5.tar.gz: File unavailable (e.g., file not found, no access) => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** [do-fetch] Error code 1 Stop in /usr/ports/misc/getopt. *** [checksum] Error code 1 Stop in /usr/ports/misc/getopt. The getopt which has the checksum mismatch is from http://software.frodo.looijaard.name/getopt/files/getopt-1.1.5.tar.gz downloaded manually by browser and copied into /usr/ports/distfiles. I tried to download manually ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/getopt-1.1.5.tar.gz but my browser can't find it either. That directory has getopt-1.1.4.tar.gz How to solve this? Thanks, Istvan From vagner at bsdway.ru Wed Mar 20 19:51:04 2013 From: vagner at bsdway.ru (Vagner) Date: Wed, 20 Mar 2013 23:50:48 +0400 Subject: IPC Shared memory segment Message-ID: <20130320195048.GA6479@vagner-wrk.bsdway.ru> The solution was given at revision 233760. Link for description: http://svnweb.freebsd.org/base?view=revision&revision=233760 Thanks to all! -- Respectfully, Stanislav Putrya System administrator FotoStrana.Ru Ltd. ICQ IM: 328585847 Jabber-GoogleTalk: root.vagner mob.phone SPB: +79215788755 mob.phone RND: +79525600664 email: vagner at bsdway.ru email: putrya at playform.ru email: root.vagner at gmail.com site: bsdway.ru site: fotostrana.ru ---------------------------------------- ( ) ASCII ribbon campaign X - against HTML, vCards and / \ - proprietary attachments in e-mail From freebsd at edvax.de Wed Mar 20 21:13:48 2013 From: freebsd at edvax.de (Polytropon) Date: Wed, 20 Mar 2013 22:13:45 +0100 Subject: Current Way To Update Sources & Rebuild World/Kernel? -- SOLVED In-Reply-To: <5148D361.8040102@mykitchentable.net> References: <51463EA7.2070108@mykitchentable.net> <20130317231637.555b1711.freebsd@edvax.de> <5148D361.8040102@mykitchentable.net> Message-ID: <20130320221345.79333adb.freebsd@edvax.de> On Tue, 19 Mar 2013 14:06:41 -0700, Drew Tomlinson wrote: > Thanks for the replies. Using freebsd-update seemed the simplest method > since it was already included. Worked just fine for getting the > sources. Probably in the future there will be a csup-equivalent included with the OS, plus configuration templates that can be used to do a source incorporation via SVN. > And following the steps listed in comments in > /usr/src/Makefile worked for building and installing the sources. I've relied on them for many years, and they seem to work happily. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From alexmiroslav at gmail.com Wed Mar 20 22:18:07 2013 From: alexmiroslav at gmail.com (Aleksandr Miroslav) Date: Wed, 20 Mar 2013 18:18:05 -0400 Subject: ports issue: delete upstream perl dependencies by mistake Message-ID: I did something dumb I think with ports on my box. In the process of upgrading Perl, for every package that depended on Perl, via pkgdb, I somehow managed to delete the fact that the package depends on Perl itself. So now I have a bunch of packages that no longer reference Perl in it's upstream dependency listing. e.g. $ pkg_info -R p5-Mail-SpamAssassin-3.3.2_8 Information for p5-Mail-SpamAssassin-3.3.2_8: $ How can I fix this? Short of deleting all the packages (which I don't even know all they are, except for the p5-ones) and rebuilding? Thanks in advance, Alex From danny at clari.net.au Wed Mar 20 23:09:11 2013 From: danny at clari.net.au (Daniel O'Callaghan) Date: Thu, 21 Mar 2013 10:08:28 +1100 Subject: "Leaking" disk space In-Reply-To: References: <20130320170241.278d4fb515536cb6669ae0bf@yahoo.es> Message-ID: <514A416C.1040706@clari.net.au> On 21/03/2013 3:55 AM, Dan Thomas wrote: > Stopping Postgres doesn't fix it, but rebooting does which points at Have you used fstat to identify the big growing file which is taking up the space, and which process has the file open? A file which has been unlinked from all directories won't be seen by du, but it does not free disk space until no process has it open. USER CMD PID FD MOUNT INUM MODE SZ|DV R/W root syslogd 47648 8 / 4317027 -rw-r--r-- 19776 w root syslogd 47648 9 / 4317041 -rw------- 63 w That might help to track it down. Danny From quartz at sneakertech.com Thu Mar 21 00:49:33 2013 From: quartz at sneakertech.com (Quartz) Date: Wed, 20 Mar 2013 20:49:25 -0400 Subject: ZFS question Message-ID: <514A5915.1050409@sneakertech.com> I'm experiencing fatal issues with pools hanging my machine requiring a hard-reset. I'm new to freebsd and these mailing lists in particular, is this the place to ask for help? ______________________________________ it has a certain smooth-brained appeal From cartwright at asu.edu Thu Mar 21 02:51:49 2013 From: cartwright at asu.edu (Reed A. Cartwright) Date: Wed, 20 Mar 2013 19:51:48 -0700 Subject: ZFS question In-Reply-To: <514A5915.1050409@sneakertech.com> References: <514A5915.1050409@sneakertech.com> Message-ID: Several people, including me, have an issue like this with 9.1. Your best bet is to try 9.0. On Wed, Mar 20, 2013 at 5:49 PM, Quartz wrote: > I'm experiencing fatal issues with pools hanging my machine requiring a > hard-reset. I'm new to freebsd and these mailing lists in particular, is > this the place to ask for help? > > ______________________________________ > it has a certain smooth-brained appeal > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" -- Reed A. Cartwright, PhD Assistant Professor of Genomics, Evolution, and Bioinformatics School of Life Sciences Center for Evolutionary Medicine and Informatics The Biodesign Institute Arizona State University From hmembershipsa at yahoo.com Thu Mar 21 03:07:53 2013 From: hmembershipsa at yahoo.com (hmembershipsa) Date: Thu, 21 Mar 2013 11:05:16 +0800 Subject: health club Message-ID: <35363613485761184322194@Cherry-PC> [1]www.healthclubrev.com MMC? is proud to announce our new daily Blog with free health club marketing and free health club professional sales training to assist you in growing your health club and your health and fitness career. Here some of the titles of our Blogs that may interest you: HEALTH CLUB BUSINESS MODELING IS YOUR HEALTH CLUB THE FROG IN A POT JUST WAITING TO BE BOILED? HEALTH CLUB MARKETING HEADLINES HOW MUCH IS A HEALTH CLUB MEMBER WORTH? To read more click on the link below. [2]http://www.healthclubrev.com/ALL_BLOGS.html MMC?'s site has free videos on how to increase revenue (immediate cash, monthly receivables and member retention), capture the difficult to reach market, engage the de-conditioned and the health and fitness conscience prospect, increase revenue in your profit centers e.g. pro-shop, food and beverage, guest fees, personal training and so much more, absolutely free. Click on the link below to learn about MMC?'s CASH promotion and how we have raised $250,000 and more, in just 45 days for numerous Health Clubs. [3]http://www.healthclubrev.com/CASH_PROMOTION.html "I would like to express my appreciation to MMC and all the staff. As a Health Club owner for twenty years, and operating one of the largest Gold's Gym, I did have some initial reservations regarding your Company and the amount of revenue that you indicated were possible with your promotion. I am happy to say that the promotion was a great success and also that the revenues you predicted were very accurate. We were able to add an additional 1200 plus members in a short time. Impact upon the current members was very minimal." Gold's Gym and Racquet club Randy Musloki Owner "The MMC program not only assisted with putting cash in hand but also afforded our staff new insight into sales and membership techniques that will be useful well past the end of the program." Yorktown Racquet, Fitness and Sport Complex Joseph D. Glitz Owner/President Dear Chuck, We have seven hundred (700) new members, money in the bank and a staff that can't wait until the next promotion. I just wanted to take a moment to personally thank you and let you know just how satisfied we were with MMC and you. North Shore Athletic Club JoAnn C. Ribaudo Owner Dear Chuck, I wanted to write you and let you know how satisfied we were with you and Mulligan Marketing. What great couple of months it has been at the club. Now only did your company deliver a "turn-key" promotion, the entire campaign was run with little or no effort on my part, which allowed me to concentrate on my day to day business of running the club. The promotion raised almost $400,000, nearly twice what we projected. In addition, not only did your on-site training have an immediate impact on my sales staff, the techniques you taught them and the materials that you distributed will benefit them for the long term. Your professionalism and enthusiasm throughout the campaign has truly made it a pleasurable experience. It is refreshing to work with someone as honest as you who truly deliver results. The Auburn Club Jennifer Nabbo Wishing you good health and prosperity, Chuck Thompson Founder/President MMC? 904-307-6736 Cell 904-448-5727 Office 877-620-8135 Toll Free If you wish not to receive these free tips on growing your health club and your health and fitness career, simply click on the unsubscribe button below to be taken off our list. [4][Unsubscribe] Notice: It is not our intention to "spam" any person or company. We have received your email through a legitimate avenue. We have been in business for more than 20 plus years and have collected opt-in emails from all of our internal resources i.e. employees, sales consultants, co-op marketing partners, etc. We have never done e-marketing over the past twenty plus years because we never offered anything of value on our site (with the exception of product information), until now. We are simply making an attempt to connect and re-connect with our clients, prospects and associates of past and present and make them aware of our new educational site and domain. We do realize some of you may have forgotten us or don't remember (or know) how we received your email (as we can't remember every email either) and for that we apologize in advance. Please be patient with us. If you do not wish to receive further communication from us please reply with the word "REMOVE" or "UNSUBSCRIBE" in the subject field and we will make every effort to eliminate you from all of our data bases immediately. Also, please make sure you reply from the original e-mail address this message was addressed to, or, include that address in the removal request. Please excuse any inconvenience. References 1. http://www.healthclubrev.com/ 2. http://www.healthclubrev.com/ALL_BLOGS.html 3. http://www.healthclubrev.com/CASH_PROMOTION.html 4. mailto:?subject=Unsubscribe From quartz at sneakertech.com Thu Mar 21 03:45:30 2013 From: quartz at sneakertech.com (Quartz) Date: Wed, 20 Mar 2013 23:45:27 -0400 Subject: ZFS question In-Reply-To: References: <514A5915.1050409@sneakertech.com> Message-ID: <514A8257.9020102@sneakertech.com> > Several people, including me, have an issue like this with 9.1. Your > best bet is to try 9.0. Hmm... interesting. Is there any consensus as to what's going on? Before anyone jumps to conclusions though, lemme just post the whole issue so we're on the same page (apologizes if it turns out this isn't the right mailing list for this): I have a raidz2 comprised of six sata drives connected via my motherboard's intel southbridge sata ports. All of the bios raid options are disabled and the drives are in straight ahci mode (hotswap enabled). The system (accounts, home dir, etc) is installed on a separate 7th drive formatted as normal ufs, connected to a separate non-intel motherboard port. As part of my initial stress testing, I'm simulating failures by popping the sata cable to various drives in the 6x pool. If I pop two drives, the pool goes into 'degraded' mode and everything works as expected. I can zero and replace the drives, etc, no problem. However, when I pop a third drive, the machine becomes VERY unstable. I can nose around the boot drive just fine, but anything involving i/o that so much as sneezes in the general direction of the pool hangs the machine. Once this happens I can log in via ssh, but that's pretty much it. I've reinstalled and tested this over a dozen times, and it's perfectly repeatable: `ls` the dir where the pool is mounted? hang. I'm already in the dir, and try to `cd` back to my home dir? hang. zpool destroy? hang. zpool replace? hang. zpool history? hang. shutdown -r now? gets halfway through, then hang. reboot -q? same as shutdown. The machine never recovers (at least, not inside 35 minutes, which is the most I'm willing to wait). Reconnecting the drives has no effect. My only option is to hard reset the machine with the front panel button. Googling for info suggested I try changing the pool's "failmode" setting from "wait" to "continue", but that doesn't appear to make any difference. For reference, this is a virgin 9.1-release installed off the dvd image with no ports or packages or any extra anything. I don't think I'm doing anything wrong procedure wise. I fully understand and accept that a raidz2 with three dead drives is toast, but I will NOT accept having it take down the rest of the machine with it. As it stands, I can't even reliably look at what state the pool is in. I can't even nuke the pool and start over without taking the whole machine offline. ______________________________________ it has a certain smooth-brained appeal From jdc at koitsu.org Thu Mar 21 04:45:58 2013 From: jdc at koitsu.org (Jeremy Chadwick) Date: Wed, 20 Mar 2013 21:45:57 -0700 Subject: ZFS question Message-ID: <20130321044557.GA15977@icarus.home.lan> (Please keep me CC'd as I'm not subscribed to -questions) Lots to say about this. 1. freebsd-fs is the proper list for filesystem-oriented questions of this sort, especially for ZFS. 2. The issue you've described is experienced by some, and **not** experienced by even more/just as many, so please keep that in mind. Each/every person's situation/environment/issue has to be treated separately/as unique. 3. You haven't provided any useful details, even in your follow-up post here: http://lists.freebsd.org/pipermail/freebsd-questions/2013-March/249958.html All you've provided is a "general overview" with no technical details, no actual data. You need to provide that data verbatim. You need to provide: - Contents of /boot/loader.conf - Contents of /etc/sysctl.conf - Output from "zpool status" - Output from "zpool get all" - Output from "zfs get all" - Output from "dmesg" (probably the most important) - Output from "sysctl vfs.zfs kstat.zfs" I particularly tend to assist with disk-level problems, so if this turns out to be a disk-level issue (and NOT a controller or controller driver issue), I can help quite a bit with that. 4. I would **not** suggest rolling back to 9.0. This recommendation is solves nothing -- if there is truly a bug/livelock issue, then that needs to be tracked down. By rolling back, if there is an issue, you're effectively ensuring it'll never get investigated or fixed, which means you can probably expect to see this in 9.2, 9.3, or even 10.x onward. If you can't deal with the instability, or don't have the time/cycles/interest to help track it down, that's perfectly okay too: my recommendation is to go back to UFS (there's no shame in that). Else, as always, I strongly recommend running stable/9 (keep reading). 5. stable/9 (a.k.a. FreeBSD 9.1-STABLE) just recently (~5 days ago) MFC'd an Illumos ZFS feature solely to help debug/troubleshoot this exact type of situation: introduction of the ZFS deadmean thread. Reference materials for what that is: http://svnweb.freebsd.org/base?view=revision&revision=248369 http://svnweb.freebsd.org/base?view=revision&revision=247265 https://www.illumos.org/issues/3246 The purpose of this feature (enabled by default) is to induce a kernel panic when ZFS I/O stalls/hangs for unexpectedly long periods of time (configurable via vfs.zfs.deadman_synctime). Once the panic happens (assuming your system is configured with a slice dedicated to swap (ZFS-backed swap = bad bad bad) and use of dumpdev="auto" in rc.conf), upon reboot the system should extract the crash dump from swap and save it into /var/crash. At that point kernel developers on the -fs list can help tell you *exactly* what to do with kgdb(1) that can shed some light on what happened/where the issue may lie. All that's assuming that the issue truly is ZFS waiting for I/O and not something else (like ZFS internally spinning hard in its own code). Good luck, and let us know how you want to proceed. -- | Jeremy Chadwick jdc at koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB | From cartwright at asu.edu Thu Mar 21 05:10:22 2013 From: cartwright at asu.edu (Reed A. Cartwright) Date: Wed, 20 Mar 2013 22:10:20 -0700 Subject: ZFS question In-Reply-To: <20130321044557.GA15977@icarus.home.lan> References: <20130321044557.GA15977@icarus.home.lan> Message-ID: Note that my issue seems to do with an interaction between the CAM system and the MPS driver in 9.1. Thus it is more than likely different than what you are experiencing Quartz. Now that ZFS deadman has been incorporated into stable, I'll probably give a 9.1 (i.e. 9/stable) another try. Jeremy, I have a question about enabling kernel dumps based on my current swap config. I currently have a 1TB drive split into 4 geli encrypted swap partitions (Freebsd doesn't like swap partitions over ~250 GB and I have lots of RAM). These partitions are UFS-swap partitions and are not backed by any mirroing or ZFSing. So, how do I best enable crash dumps? If I need to remove encryption, I can do that. On Wed, Mar 20, 2013 at 9:45 PM, Jeremy Chadwick wrote: > (Please keep me CC'd as I'm not subscribed to -questions) > > > Lots to say about this. > > 1. freebsd-fs is the proper list for filesystem-oriented questions of > this sort, especially for ZFS. > > 2. The issue you've described is experienced by some, and **not** > experienced by even more/just as many, so please keep that in mind. > Each/every person's situation/environment/issue has to be treated > separately/as unique. > > 3. You haven't provided any useful details, even in your follow-up post > here: > > http://lists.freebsd.org/pipermail/freebsd-questions/2013-March/249958.html > > All you've provided is a "general overview" with no technical details, > no actual data. You need to provide that data verbatim. You need to > provide: > > - Contents of /boot/loader.conf > - Contents of /etc/sysctl.conf > - Output from "zpool status" > - Output from "zpool get all" > - Output from "zfs get all" > - Output from "dmesg" (probably the most important) > - Output from "sysctl vfs.zfs kstat.zfs" > > I particularly tend to assist with disk-level problems, so if this turns > out to be a disk-level issue (and NOT a controller or controller driver > issue), I can help quite a bit with that. > > 4. I would **not** suggest rolling back to 9.0. This recommendation is > solves nothing -- if there is truly a bug/livelock issue, then that > needs to be tracked down. By rolling back, if there is an issue, you're > effectively ensuring it'll never get investigated or fixed, which means > you can probably expect to see this in 9.2, 9.3, or even 10.x onward. > > If you can't deal with the instability, or don't have the > time/cycles/interest to help track it down, that's perfectly okay too: > my recommendation is to go back to UFS (there's no shame in that). > > Else, as always, I strongly recommend running stable/9 (keep reading). > > 5. stable/9 (a.k.a. FreeBSD 9.1-STABLE) just recently (~5 days ago) > MFC'd an Illumos ZFS feature solely to help debug/troubleshoot this > exact type of situation: introduction of the ZFS deadmean thread. > Reference materials for what that is: > > http://svnweb.freebsd.org/base?view=revision&revision=248369 > http://svnweb.freebsd.org/base?view=revision&revision=247265 > https://www.illumos.org/issues/3246 > > The purpose of this feature (enabled by default) is to induce a kernel > panic when ZFS I/O stalls/hangs for unexpectedly long periods of time > (configurable via vfs.zfs.deadman_synctime). > > Once the panic happens (assuming your system is configured with a slice > dedicated to swap (ZFS-backed swap = bad bad bad) and use of > dumpdev="auto" in rc.conf), upon reboot the system should extract the > crash dump from swap and save it into /var/crash. At that point kernel > developers on the -fs list can help tell you *exactly* what to do with > kgdb(1) that can shed some light on what happened/where the issue may > lie. > > All that's assuming that the issue truly is ZFS waiting for I/O and not > something else (like ZFS internally spinning hard in its own code). > > Good luck, and let us know how you want to proceed. > > -- > | Jeremy Chadwick jdc at koitsu.org | > | UNIX Systems Administrator http://jdc.koitsu.org/ | > | Mountain View, CA, US | > | Making life hard for others since 1977. PGP 4BD6C0CB | > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" -- Reed A. Cartwright, PhD Assistant Professor of Genomics, Evolution, and Bioinformatics School of Life Sciences Center for Evolutionary Medicine and Informatics The Biodesign Institute Arizona State University From quartz at sneakertech.com Thu Mar 21 05:58:45 2013 From: quartz at sneakertech.com (Quartz) Date: Thu, 21 Mar 2013 01:58:42 -0400 Subject: ZFS question In-Reply-To: <20130321044557.GA15977@icarus.home.lan> References: <20130321044557.GA15977@icarus.home.lan> Message-ID: <514AA192.2090006@sneakertech.com> > 1. freebsd-fs is the proper list for filesystem-oriented questions of > this sort, especially for ZFS. Ok, I'm assuming I should subscribe to that list and post there then? > 2. The issue you've described is experienced by some, and **not** > experienced by even more/just as many, so please keep that in mind. Well, that's a given. Presumably if zfs was flat out totally broken, 9.x wouldn't have been released or I would've already found a million pages about this via google. I'm assuming my problem is a corner case and there might've been a bug/regression, or I fundamentally don't understand how this works. > 3. You haven't provided any useful details, even in your follow-up post > here: I got the impression that there wasn't a lot of overlap between the mailing lists and the forums, so I wanted to post in both simultaneously. > - Contents of /boot/loader.conf > - Contents of /etc/sysctl.conf > - Output from "zpool get all" > - Output from "zfs get all" > - Output from "sysctl vfs.zfs kstat.zfs" I'm running a *virgin* 9.1 with no installed software or modifications of any kind (past setting up a non-root user). All of these will be at their install defaults (with the possible exception of the "failmode" setting, but that didn't help when I tried it the first time, so I didn't bother during later re-installs). > - Output from "zpool status" There isn't a lot of detail to be had here.... after I pop the 3rd drive, zfs/zpool commands almost always cause the system to hang, so I'm not sure if I can get anything out of them. Prior to the hang it will just tell you I have a six-drive raidz2 with two of the drives "removed", so I'm not sure how that will be terribly useful. I can tell you though that I'm creating the array with the following command: zpool create -f array raidz2 ada{2,3,4,5,6,7} There are eight drives in the machine at the moment, and I'm not messing with partitions yet because I don't want to complicate things. (I will eventually be going that route though as the controller tends to renumber drives in a first-come-first-serve order that makes some things difficult). > - Output from "dmesg" (probably the most important) When? ie; right after boot, or after I've hot plugged a few drives, or yanked them, or created a pool, or what? > I particularly tend to assist with disk-level problems, This machine is using a pile of spare seagate 250gb drives, if that makes any difference. > By rolling back, if there is an issue, you're > effectively ensuring it'll never get investigated or fixed, That's why I asked for clarification, to see if it was a known regression in 9.1 or something similar. >or don't have the > time/cycles/interest to help track it down, I have plenty of all that, for better or worse :) >that's perfectly okay too: > my recommendation is to go back to UFS (there's no shame in that). At the risk of being flamed off the list, I'll switch to debian if it comes to that. I use freebsd exclusively for zfs. > Else, as always, I strongly recommend running stable/9 (keep reading). My problem with tracking -stable is the relative volatility. If I'm trying to debug a problem it's not always easy or possible to keep consistent/known versions of things. With -release I know exactly what I'm getting and it cuts out a lot of variables. >just recently (~5 days ago) > MFC'd an Illumos ZFS feature solely to help debug/troubleshoot this > exact type of situation: introduction of the ZFS deadmean thread. Yes, I already discovered this from various solaris threads I encountered. > The purpose of this feature (enabled by default) is to induce a kernel > panic when ZFS I/O stalls/hangs This doesn't really help my situation though. If I wanted a panic I'd just set failmode=panic. > All that's assuming that the issue truly is ZFS waiting for I/O and not > something else Well, everything I've read so far indicates that zfs has issues when dealing with un-writable pools, so I assume that's what's going on here. ______________________________________ it has a certain smooth-brained appeal From jdc at koitsu.org Thu Mar 21 06:06:40 2013 From: jdc at koitsu.org (Jeremy Chadwick) Date: Wed, 20 Mar 2013 23:06:38 -0700 Subject: ZFS question In-Reply-To: References: <20130321044557.GA15977@icarus.home.lan> Message-ID: <20130321060638.GA16997@icarus.home.lan> On Wed, Mar 20, 2013 at 10:10:20PM -0700, Reed A. Cartwright wrote: > {snipped stuff about CAM and mps and ZFS deadman} > > Jeremy, I have a question about enabling kernel dumps based on my > current swap config. > > I currently have a 1TB drive split into 4 geli encrypted swap > partitions (Freebsd doesn't like swap partitions over ~250 GB and I > have lots of RAM). > > These partitions are UFS-swap partitions and are > not backed by any mirroing or ZFSing. > > So, how do I best enable crash dumps? If I need to remove encryption, > I can do that. I have zero familiarity with geli(8), gbde(8), and file-based swap. My gut feeling is that you cannot use this to achieve a proper kernel panic dump, but I have not tried it. You can force a kernel panic via "sysctl debug.kdb.panic=1". I'm not sure if an automatic memory dump to swap happens with the stock GENERIC kernel however. I can talk more about that if needed (it involves adding some options to your kernel config, and one rc.conf variable). Regarding "enabling crash dumps" as a general concept: In rc.conf you need to have dumpdev="auto" (or point it to a specific disk slice, but auto works just fine assuming you have a "swap" or "dump" device defines in /etc/fstab -- see savecore(8) man page). Full details are in rc.conf(5). How this works: After a system reboots, during rc script startup, rc.d/savecore runs savecore which examines the configured dumpdev for headers + tries to detect if there was previously a kernel panic. If it finds one, it begins pulling the data out of swap and writing the results directly to /var/crash in a series of files (again, see savecore(8)). It does this ***before*** swapon(8) is run (reason why should be obvious) via rc.d/swapon. After it finishes, swapon is run (meaning anything previously written to the swap slice is effectively lost), and the system continues through the rest of the rc scripts. Purely for educational purposes: to examine system rc script order, see rcorder(8) or run "rcorder /etc/rc.d/*". -- | Jeremy Chadwick jdc at koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB | From smithi at nimnet.asn.au Thu Mar 21 07:35:37 2013 From: smithi at nimnet.asn.au (Ian Smith) Date: Thu, 21 Mar 2013 18:35:22 +1100 (EST) Subject: Handbook Jail Chapter rewrite available for critique In-Reply-To: <5148980A.1070408@erdgeist.org> References: <1UHfYF-000LVV-4Y@internal.tormail.org> <5148980A.1070408@erdgeist.org> Message-ID: <20130321170556.Q32142@sola.nimnet.asn.au> On Tue, 19 Mar 2013 17:53:30 +0100, Dirk Engling wrote: > On 18.03.13 20:16, sib at tormail.org wrote: > > > to configure things themselves. In my experience, ezjail is a much better > > solution. I also see that you are the maintainer/author of qjail and like > > to shovel your opinion as the only solution, both in this "rewrite" and > > all over the FreeBSD forums. > > Taking a look at the qjail code I can not help to notice several odd > similarities with the ezjail-admin script, down to the very basic bail > out routines. I would not go so far to claim it was just a global > search/replace job but to me the code looks familiar enough to find the > > # Copyright 2010, Qjail project. All rights reserved. > > offensive. I am usually quite open with the license of my software, > beerware is as permissive as it gets. I just can not take some script > kiddie right out copying my code verbatim and selling it as his, not > even acknowledging me as the original author. > > Anyone here with suggestions how to properly react to this kind of "fork"? Yes. Publicity. Making sure the FreeBSD community gets to finds out. You may be polite and un-selfserving enough to not go so far Dirk, but I will. Huge swathes of qjail are direct copies of your code, in most cases only with the names of the variables changed from ezjail_* to qjail_*. I found it cute renaming 'flavour' to the American spelling. Anyone looking at bin/qjail from qjail-2.1.tbz alongside the latest ezjail-admin (mine downloaded from your cvsweb) cannot fail to notice within the first couple of screens. Sure there are changes, additions and deletions, but to fail to acknowledge the original authorship of this code, and the implication that Joe Barbish (aka 'Qjail project') is its original author is entirely outrageous; not ethical, even if legal. To that end I'm cross-posting this to -questions, where Mr Barbish has also posted about his proposed "rewrite" of Chapter 16 of the Handbook, which is nothing but a huge and poorly written manual for 'the qjail way', with its peculiar assumptions and unique "jailcell" terminology. "Fourth Generation", no less! The idea that the "doc gang" would entertain the idea of removing all of the worthy content of the present Chapter 16 - even if it does need some updating - and replace it with this effort is laughable, yet stranger things have happened if there's any disconnect between developers and documenters .. witness the Handbook firewalls section, by Joe Barbish. cheers, Ian From jdc at koitsu.org Thu Mar 21 08:56:17 2013 From: jdc at koitsu.org (Jeremy Chadwick) Date: Thu, 21 Mar 2013 01:56:15 -0700 Subject: ZFS question In-Reply-To: <514AA192.2090006@sneakertech.com> References: <20130321044557.GA15977@icarus.home.lan> <514AA192.2090006@sneakertech.com> Message-ID: <20130321085615.GA20791@icarus.home.lan> {thread snip} For those following/interested in this conversation, it's been moved to freebsd-fs: http://lists.freebsd.org/pipermail/freebsd-fs/2013-March/016812.html http://lists.freebsd.org/pipermail/freebsd-fs/2013-March/016813.html And the long/more recent analysis I did of the problem stated: http://lists.freebsd.org/pipermail/freebsd-fs/2013-March/016814.html -- | Jeremy Chadwick jdc at koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB | From godders at gmail.com Thu Mar 21 10:40:49 2013 From: godders at gmail.com (Dan Thomas) Date: Thu, 21 Mar 2013 10:40:43 +0000 Subject: "Leaking" disk space In-Reply-To: <514A416C.1040706@clari.net.au> References: <20130320170241.278d4fb515536cb6669ae0bf@yahoo.es> <514A416C.1040706@clari.net.au> Message-ID: > Have you used fstat to identify the big growing file which is taking up the space, and which process has the file open? It's not an unlinked file. I've tried using fstat and lsof to identify it, and there's no inodes with zero links or that don't have a matching file on disk. Dan On 20 March 2013 23:08, Daniel O'Callaghan wrote: > On 21/03/2013 3:55 AM, Dan Thomas wrote: >> >> Stopping Postgres doesn't fix it, but rebooting does which points at > > Have you used fstat to identify the big growing file which is taking up the > space, and which process has the file open? > A file which has been unlinked from all directories won't be seen by du, but > it does not free disk space until no process has it open. > > USER CMD PID FD MOUNT INUM MODE SZ|DV R/W > root syslogd 47648 8 / 4317027 -rw-r--r-- 19776 w > root syslogd 47648 9 / 4317041 -rw------- 63 w > > That might help to track it down. > > Danny > > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From aimass at yabarana.com Thu Mar 21 15:21:31 2013 From: aimass at yabarana.com (Alejandro Imass) Date: Thu, 21 Mar 2013 11:21:29 -0400 Subject: Handbook Jail Chapter rewrite available for critique In-Reply-To: <20130321170556.Q32142@sola.nimnet.asn.au> References: <1UHfYF-000LVV-4Y@internal.tormail.org> <5148980A.1070408@erdgeist.org> <20130321170556.Q32142@sola.nimnet.asn.au> Message-ID: On Thu, Mar 21, 2013 at 3:35 AM, Ian Smith wrote: > On Tue, 19 Mar 2013 17:53:30 +0100, Dirk Engling wrote: > > On 18.03.13 20:16, sib at tormail.org wrote: > > > > > to configure things themselves. In my experience, ezjail is a much better > > > solution. I also see that you are the maintainer/author of qjail and like > > > to shovel your opinion as the only solution, both in this "rewrite" and > > > all over the FreeBSD forums. [...] > > > > # Copyright 2010, Qjail project. All rights reserved. > > > > offensive. I am usually quite open with the license of my software, > > beerware is as permissive as it gets. I just can not take some script > > kiddie right out copying my code verbatim and selling it as his, not > > even acknowledging me as the original author. > > > > Anyone here with suggestions how to properly react to this kind of "fork"? > > Yes. Publicity. Making sure the FreeBSD community gets to finds out. > [...] > To that end I'm cross-posting this to -questions, where Mr Barbish has > also posted about his proposed "rewrite" of Chapter 16 of the Handbook, > which is nothing but a huge and poorly written manual for 'the qjail > way', with its peculiar assumptions and unique "jailcell" terminology. > "Fourth Generation", no less! > +1 Thank you Ian for cross-posting here. The first thing I did when I got the new chapter for review was search for the work EzJail and I was curious as to why EzJail is not mentioned anywhere in this new proposal and why it isn't mentioned in the current handbook either under in section "16.5.2 High-Level Administrative Tools in the FreeBSD Ports Collection". If there is __any__ tool that should be mentioned in the jails chapter it is EzJail because it's really easy to use and does a damn good job. We've been using it in production __extensively__ since about 2010 and the one and only issue we've had was probably related to some sort of border-line bug with nullfs which has never happened since. We currently run half a dozen servers with anywhere from 12 to 24 jails each and we've only had a single isolated incident and it wasn't even related directly to EzJail. We use flavours extensively and constantly derive jails from others and move jails between servers, much like if we were using VMWare; it's that easy, or easier, and works every time. NOW some things start to make sense to me, when I posted a problem with EzJail here last year that very few people, if any, knew what I was talking about. An how could they? if it's not mentioned anywhere in the handbook or that jail man page(s). In fact, looking back at this thread[1] I can see that great deal of misunderstanding an unnecessary confusion could have been that the term "EzJail" meant nothing to most people commenting on the thread. When I commented the problem to Dirk he immediately recognized that it could have been a problem with nullfs and so did "jb"[2], who not only immediately thought of nulls, but actually found some bugs that were very similar to my situation[3], and which is BTW still open AFAICT. Anyway, the point I'm trying to make is that it seems quite odd that EzJail is not very publicized and I would like to see it prominently mentioned in the handbook and man pages as a great tool for Jail administration. Thanks, -- Alejandro Imass [1] http://lists.freebsd.org/pipermail/freebsd-questions/2012-April/240468.html http://lists.freebsd.org/pipermail/freebsd-questions/2012-April/240501.html http://lists.freebsd.org/pipermail/freebsd-questions/2012-April/240551.html [2] http://lists.freebsd.org/pipermail/freebsd-questions/2012-April/240566.html http://lists.freebsd.org/pipermail/freebsd-questions/2012-April/240569.html [3] PR#147420 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/147420 From dannygia90 at gmail.com Thu Mar 21 16:57:54 2013 From: dannygia90 at gmail.com (Danny Gia) Date: Thu, 21 Mar 2013 23:57:53 +0700 Subject: http://localhost/phpmyadmin Message-ID: From j.ballantine at gmail.com Thu Mar 21 18:06:52 2013 From: j.ballantine at gmail.com (Jim Ballantine) Date: Thu, 21 Mar 2013 14:06:52 -0400 Subject: Installing openssl from ports Message-ID: Hi, I understand that heimdal and openssl are both port of the base system and both install fine with a system build/install. But when I attempt to install the latest openssl for the port system, it fails with a conflict (installs file in the same place) with heimdal. I've search the web for an answer but haven't found one and asked the port owner. So my question is short of editing the Make file to remove the installation of the file in conflict, what do I need to do to install the openssl port? Thanks Jim Ballantine From fbsd8 at a1poweruser.com Thu Mar 21 19:54:28 2013 From: fbsd8 at a1poweruser.com (Fbsd8) Date: Thu, 21 Mar 2013 15:54:22 -0400 Subject: kernel config file Message-ID: <514B656E.3060106@a1poweruser.com> Back around 4.x there was a File that had all the available kernel compile options with their meanings as comments. On 9.1 I don't see that file any more. Where can I find that file that lists all the kernel compile options? The 9.1 NOTES file is not that file. I have "makeoptions NO_MODULES=yes" statement in my kernel config file and the "blanktime" and "warp_saver" load modules don't get created. I need the options statements for those items so I can compile then into the kernel. Thanks From jerry at seibercom.net Thu Mar 21 20:08:33 2013 From: jerry at seibercom.net (Jerry) Date: Thu, 21 Mar 2013 16:08:30 -0400 Subject: Installing openssl from ports In-Reply-To: References: Message-ID: <20130321160830.7f02479e@scorpio> On Thu, 21 Mar 2013 14:06:52 -0400 Jim Ballantine articulated: > Hi, > > I understand that heimdal and openssl are both port of the base > system and both install > fine with a system build/install. But when I attempt to install the > latest openssl for the > port system, it fails with a conflict (installs file in the same > place) with heimdal. I've search > the web for an answer but haven't found one and asked the port owner. > > So my question is short of editing the Make file to remove the > installation of the file in > conflict, what do I need to do to install the openssl port? I have the port version installed also. You need to put this in your /etc/make.conf file sans quotations marks: "WITH_OPENSSL_PORT=yes" and then build the port. Be sure to run "make config" in the port prior to actually building it and that is about it. If you are building it manually, you might want to run "make clean" in the port prior to attempting to build it though. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From cwhiteh at onetel.com Thu Mar 21 20:38:29 2013 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Thu, 21 Mar 2013 20:36:44 +0000 Subject: kernel config file In-Reply-To: <514B656E.3060106@a1poweruser.com> References: <514B656E.3060106@a1poweruser.com> Message-ID: <514B6F5C.8060706@onetel.com> On 21/03/2013 19:54, Fbsd8 wrote: > Back around 4.x there was a File that had all the available kernel > compile options with their meanings as comments. On 9.1 I don't see that > file any more. Where can I find that file that lists all the kernel > compile options? The 9.1 NOTES file is not that file. > > I have "makeoptions NO_MODULES=yes" statement in my kernel config file > and the "blanktime" and "warp_saver" load modules don't get created. > > I need the options statements for those items so I can compile then into > the kernel. Would it be /usr/src/sys/conf/NOTES ? %grep warp_saver /usr/src/sys/conf/NOTES device warp_saver And isn't blanktime set in rc.conf? %grep blank /etc/defaults/rc.conf blanktime="300" # blank time (in seconds) or "NO" to turn it off. Chris > > Thanks > > > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org" > From freebsd at edvax.de Thu Mar 21 22:27:42 2013 From: freebsd at edvax.de (Polytropon) Date: Thu, 21 Mar 2013 23:27:41 +0100 Subject: kernel config file In-Reply-To: <514B656E.3060106@a1poweruser.com> References: <514B656E.3060106@a1poweruser.com> Message-ID: <20130321232741.a6f4629a.freebsd@edvax.de> On Thu, 21 Mar 2013 15:54:22 -0400, Fbsd8 wrote: > Back around 4.x there was a File that had all the available kernel > compile options with their meanings as comments. On 9.1 I don't see that > file any more. Where can I find that file that lists all the kernel > compile options? The 9.1 NOTES file is not that file. There are several files with such content. For architecture- independent and general settings: /usr/src/sys/conf/NOTES For i386 or amd64 architecture, individual: /usr/src/sys/i386/conf/NOTES /usr/src/sys/amd64/conf/NOTES Similarly, you'll find the DEFAULTS and GENERIC files helpful. > I have "makeoptions NO_MODULES=yes" statement in my kernel config file > and the "blanktime" and "warp_saver" load modules don't get created. Have a look at "man src.conf" for dealing with the creation of modules. > I need the options statements for those items so I can compile then into > the kernel. If I remember correctly, you'll need "device sc", "device vga" and "device splash" for the splash screen and screen saver support. Also see /usr/src/sys/conf/NOTES where several savers are listed with options like "device warp_saver". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From four.harrisons at googlemail.com Thu Mar 21 22:33:32 2013 From: four.harrisons at googlemail.com (Peter Harrison) Date: Thu, 21 Mar 2013 23:42:29 +0000 Subject: No sound with Thinkpad X60 In-Reply-To: References: <20130314225908.GA2157@thinkpad.piggybox> <20130315232827.GA2189@thinkpad.piggybox> Message-ID: <20130321234229.GA2205@thinkpad.piggybox> Saturday, 16 March 2013 at 0:17:18 +0100, Michael Ross said: > On Sat, 16 Mar 2013 00:28:27 +0100, Peter Harrison > wrote: > > > Friday, 15 March 2013 at 18:48:24 +0100, Michael Ross said: > >> On Thu, 14 Mar 2013 23:59:09 +0100, Peter Harrison > >> wrote: > >> > >> > Hi list, > >> > > >> > I've a problem with sound on a Thinkpad X60, which has an Intel HDA > >> chip. > >> > > >> > This is what I see in dmesg: > >> > > >> > hdac0: mem 0xee240000-0xee243fff irq 17 > >> at > >> > device 27.0 on pci0 > >> > hdacc0: at cad 0 on hdac0 > >> > hdaa0: at nid 1 on > >> hdacc0 > >> > pcm0: at nid 5 and 25,8 on hdaa0 > >> > hdacc1: at cad 1 on hdac0 > >> > unknown: at nid 2 > >> on > >> > hdacc1 (no driver attached) > >> > > >> > and from sndstat: > >> > > >> > FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) > >> > Installed devices: > >> > pcm0: (play/rec) default > >> > > >> > and from mixer: > >> > > >> > Mixer vol is currently set to 100:100 > >> > Mixer pcm is currently set to 100:100 > >> > Mixer speaker is currently set to 100:100 > >> > Mixer cd is currently set to 1:1 > >> > Mixer rec is currently set to 1:1 > >> > Mixer igain is currently set to 42:42 > >> > Mixer ogain is currently set to 100:100 > >> > Mixer monitor is currently set to 67:67 > >> > Recording source: cd > >> > > >> > But I have no sound. This is using Gnome 2.32 on 9.1-R. I did > >> initially > >> > accidentally install Pulseaudio, but have subsequently deleted it and > >> > reinstalled everything that depended on it without the Pulseaudio > >> > dependency. > >> > > >> > Any thoughts on what I'm doing wrong? > >> > > >> > Thanks in advance. > >> > >> Possibly not helping a lot: > >> > >> I have a T510 thinkpad with Intel HDA audio, running Windows 7. > >> I need to have the audio driver *and* the modem driver installed for any > >> sound to work. > >> So possibly the modem part has to be initialised or something. > >> You have "no driver attached" on your modem, so maybe that's worth > >> looking > >> at. > >> > >> You could also try if sound works from a terminal without running Gnome > >> at > >> all, > >> just to be sure it's not some Gnome configuration thing. > >> > >> Regards, > >> > >> Michael > > > > Thanks Michael. > > > > Tried turning gnome off. Still no sound from the console. Is there a > > FreeBSD kernel module for the modem? > > > > Don't know. > But stepping back, do you have snd_hda loaded? > ( Silly me, should have been the first question. ) > > Found this: > http://www.bmichelsen.no/blog/2012/01/28/configuring-freebsd-for-x60s/ > > Regards, > > Michael Sorry for the late reply, been away from the keyboard for a while. I'm not loading snd_hda separately, but it's definitely there: root at thinkpad:/home/peter # kldload snd_hda kldload: can't load snd_hda: File exists I've seen that blog and a couple of other sites describing configure FreeBSD on the X60, and they all seem to infer that sound works without a problem. So for the moment at least I'm stumped. Thanks for trying to help. Cheers, Peter Harrison. From jasjus.bwi at gmail.com Fri Mar 22 01:28:09 2013 From: jasjus.bwi at gmail.com (just man man) Date: Fri, 22 Mar 2013 09:28:07 +0800 Subject: route BGP Message-ID: dear firiend, do you have configuration routing BGP in freebsd ? thank you From danny at clari.net.au Fri Mar 22 01:33:02 2013 From: danny at clari.net.au (Daniel O'Callaghan) Date: Fri, 22 Mar 2013 12:32:51 +1100 Subject: route BGP In-Reply-To: References: Message-ID: <514BB4C3.2050403@clari.net.au> Hi, On 22/03/2013 12:28 PM, just man man wrote: > do you have configuration routing BGP in freebsd ? > thank you I use quagga, because that's what I have been using for the last 10 years. http://www.freshports.org/net/quagga-re/ http://www.freshports.org/net/quagga/ You might also like to try OpenBGPD http://www.freshports.org/net/openbgpd/ Danny From universite at ukr.net Fri Mar 22 02:25:10 2013 From: universite at ukr.net (Vladislav Prodan) Date: Fri, 22 Mar 2013 04:25:08 +0200 Subject: route BGP In-Reply-To: <514BB4C3.2050403@clari.net.au> References: <514BB4C3.2050403@clari.net.au> Message-ID: <45972.1363919108.100438613963374592@ffe17.ukr.net> > Hi, > > On 22/03/2013 12:28 PM, just man man wrote: > > do you have configuration routing BGP in freebsd ? > > thank you > > I use quagga, because that's what I have been using for the last 10 years. > http://www.freshports.org/net/quagga-re/ > http://www.freshports.org/net/quagga/ > > You might also like to try OpenBGPD > http://www.freshports.org/net/openbgpd/ Or bird http://www.freshports.org/net/bird/ -- Vladislav V. Prodan System & Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE From bah at bananmonarki.se Fri Mar 22 04:27:57 2013 From: bah at bananmonarki.se (Bernt Hansson) Date: Fri, 22 Mar 2013 05:27:22 +0100 Subject: No sound with Thinkpad X60 In-Reply-To: <20130321234229.GA2205@thinkpad.piggybox> References: <20130314225908.GA2157@thinkpad.piggybox> <20130315232827.GA2189@thinkpad.piggybox> <20130321234229.GA2205@thinkpad.piggybox> Message-ID: <514BDDAA.5050401@bananmonarki.se> 2013-03-22 00:42, Peter Harrison skrev: > Sorry for the late reply, been away from the keyboard for a while. > > I'm not loading snd_hda separately, but it's definitely there: > > root at thinkpad:/home/peter # kldload snd_hda > kldload: can't load snd_hda: File exists > > I've seen that blog and a couple of other sites describing configure FreeBSD on the X60, and they all seem to infer that sound works without a problem. > > So for the moment at least I'm stumped. > > Thanks for trying to help. > > Cheers, In your /etc/rc.conf you have mixer_enable="YES" # Run the sound mixer. sound_enable="YES" Dont know if that should be in loader.conf or rc.conf. Not having it myself. From freebsd at edvax.de Fri Mar 22 04:40:35 2013 From: freebsd at edvax.de (Polytropon) Date: Fri, 22 Mar 2013 05:40:33 +0100 Subject: No sound with Thinkpad X60 In-Reply-To: <514BDDAA.5050401@bananmonarki.se> References: <20130314225908.GA2157@thinkpad.piggybox> <20130315232827.GA2189@thinkpad.piggybox> <20130321234229.GA2205@thinkpad.piggybox> <514BDDAA.5050401@bananmonarki.se> Message-ID: <20130322054033.cdc923cb.freebsd@edvax.de> On Fri, 22 Mar 2013 05:27:22 +0100, Bernt Hansson wrote: > sound_enable="YES" Dont know if that should be in loader.conf or > rc.conf. Not having it myself. That would be /boot/loader.conf, see /boot/defaults/loader.conf for examples (e. g. how to specify snd_hda use). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From bah at bananmonarki.se Fri Mar 22 05:29:33 2013 From: bah at bananmonarki.se (Bernt Hansson) Date: Fri, 22 Mar 2013 06:28:57 +0100 Subject: No sound with Thinkpad X60 In-Reply-To: <20130321234229.GA2205@thinkpad.piggybox> References: <20130314225908.GA2157@thinkpad.piggybox> <20130315232827.GA2189@thinkpad.piggybox> <20130321234229.GA2205@thinkpad.piggybox> Message-ID: <514BEC19.2060802@bananmonarki.se> 2013-03-22 00:42, Peter Harrison skrev: Put this in your /boot/loader.conf and report back. hw.snd.default_unit="0" Test with other nubers if 0 do not work. From jerry at seibercom.net Fri Mar 22 11:31:15 2013 From: jerry at seibercom.net (Jerry) Date: Fri, 22 Mar 2013 07:31:06 -0400 Subject: No sound with Thinkpad X60 In-Reply-To: <514BEC19.2060802@bananmonarki.se> References: <20130314225908.GA2157@thinkpad.piggybox> <20130315232827.GA2189@thinkpad.piggybox> <20130321234229.GA2205@thinkpad.piggybox> <514BEC19.2060802@bananmonarki.se> Message-ID: <20130322073106.10ab6e89@scorpio> On Fri, 22 Mar 2013 06:28:57 +0100 Bernt Hansson articulated: > 2013-03-22 00:42, Peter Harrison skrev: > > Put this in your /boot/loader.conf and report back. > > hw.snd.default_unit="0" > > Test with other nubers if 0 do not work. Using an nVidia card, I had to do the following: /etc/sysctl.conf hw.snd.default_unit=4 Rebooted and the sound worked. I never found any truly accurate information on it, it was basically just a trail and error experiment. And YES, it sucks that in all to many cases, sound doesn't "just work". -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From godders at gmail.com Fri Mar 22 11:41:58 2013 From: godders at gmail.com (Dan Thomas) Date: Fri, 22 Mar 2013 11:41:52 +0000 Subject: "Leaking" disk space In-Reply-To: <514B0962.7080606@bananmonarki.se> References: <20130320170241.278d4fb515536cb6669ae0bf@yahoo.es> <514A416C.1040706@clari.net.au> <514B0962.7080606@bananmonarki.se> Message-ID: > A stab in the dark, but does # sync change anything Alas, no. On 21 March 2013 13:21, Bernt Hansson wrote: > On 2013-03-21 11:40, Dan Thomas wrote: >>> >>> Have you used fstat to identify the big growing file which is taking up >>> the space, and which process has the file open? >> >> >> It's not an unlinked file. I've tried using fstat and lsof to identify >> it, and there's no inodes with zero links or that don't have a >> matching file on disk. > > > A stab in the dark, but does # sync change anything. > > > >> Dan >> >> On 20 March 2013 23:08, Daniel O'Callaghan wrote: >>> >>> On 21/03/2013 3:55 AM, Dan Thomas wrote: >>>> >>>> >>>> Stopping Postgres doesn't fix it, but rebooting does which points at >>> >>> >>> Have you used fstat to identify the big growing file which is taking up >>> the >>> space, and which process has the file open? >>> A file which has been unlinked from all directories won't be seen by du, >>> but >>> it does not free disk space until no process has it open. >>> >>> USER CMD PID FD MOUNT INUM MODE SZ|DV R/W >>> root syslogd 47648 8 / 4317027 -rw-r--r-- 19776 w >>> root syslogd 47648 9 / 4317041 -rw------- 63 w >>> >>> That might help to track it down. >>> >>> Danny >>> >>> >>> _______________________________________________ >>> freebsd-questions at freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe at freebsd.org" >> >> _______________________________________________ >> freebsd-questions at freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe at freebsd.org" >> >> > From FreeBSD at ShaneWare.Biz Fri Mar 22 12:09:49 2013 From: FreeBSD at ShaneWare.Biz (Shane Ambler) Date: Fri, 22 Mar 2013 22:39:33 +1030 Subject: Installing openssl from ports In-Reply-To: References: Message-ID: <514C49FD.90700@ShaneWare.Biz> On 22/03/2013 04:36, Jim Ballantine wrote: > But when I attempt to install the latest openssl for the > port system, it fails with a conflict (installs file in the same place) > with heimdal. Take a close look at the message and what happens before. openssl only gives a conflict message if the base version is newer than the port. Heimdal conflicts with krb4 krb5 and srp Any other conflicts will be from dependencies, you'll need to check what port brings in a dependency that generates the conflict. From emorrasg at yahoo.es Fri Mar 22 12:59:52 2013 From: emorrasg at yahoo.es (Eduardo Morras) Date: Fri, 22 Mar 2013 13:59:45 +0100 Subject: "Leaking" disk space In-Reply-To: References: <20130320170241.278d4fb515536cb6669ae0bf@yahoo.es> Message-ID: <20130322135945.3bf78de167d56d8019072626@yahoo.es> On Wed, 20 Mar 2013 16:55:34 +0000 Dan Thomas wrote: > > a) Where do you have the wal files? > > pg_xlog is symlinked to /usr/local/pglog/pg_xlog (ie, out of the > partition mounted as /usr/local/pgsql which is exhibiting this > behaviour). > As Matthew Seaman says in other answer, this is the problem. Check http://lists.freebsd.org/pipermail/freebsd-fs/2013-March/016702.html and next thread messages. It seems that writing file follow the symlink but makes a shadow/ghost file entry in original directory/disk. I see that you don't have trim enabled on the postgres fs, tunefs -p /usr/local/pgsql/ shows option t disabled. Is trim enabled on the fs where the symlink points? (Show the output of tunefs -p /dev/_don't_know_the_dev_entry_name) > b) Are you sure that unused/old wal files are erased? > > As above, but yes they seem to be being deleted properly > > c) Do you have any postgres log level activated (like the ones used > for long queries)? > > Yes we have slow query logging enabled. pg_log is symlinked out of > that partition to /usr/local/pglog/pg_log as well. > > d) Does your queries have GROUP BY on very big data sets? Those create > big temporal data files. > > Yes we do a lot of that! However there are definitely no unlinked > files, and the problem doesn't go away when pg is shut down. However a > reboot does fix it. Those questions were only to check and be sure is not a "normal" temp files problem. What does dmesg show about filesystem check? Does it mark dirty filesystem? # WARNING!! Make a backup first!!! If you stop postgres, and shoot #fsck_ffs -E /dev/mfid1s1d , does the problem solve? # END WARNING!! Please post the output of the fsck_ffs. If the fsck_ffs doesn't solve the problem, check if there exist a lost+found directory on /usr/local/pgsql/ and it's content. > > e) With question a) and b), do you use streaming replication? > > Yes we do. This problem is not present on the warm standby servers > that are being streamed to. We have failed over to the warm standbys > previously (we're currently doing this regularly to work around the > problem without too much downtime). Once we switch the warm standby to > primary, it begins leaking space. It may store old&all wal files, but it seems a bug at filesystem level. Trim support in ufs was added to 9.0 and backported to 8 and may be a candidate to watch. --- --- Eduardo Morras From smithi at nimnet.asn.au Fri Mar 22 13:04:06 2013 From: smithi at nimnet.asn.au (Ian Smith) Date: Sat, 23 Mar 2013 00:03:49 +1100 (EST) Subject: Handbook Jail Chapter rewrite available for critique In-Reply-To: References: <1UHfYF-000LVV-4Y@internal.tormail.org> <5148980A.1070408@erdgeist.org> <20130321170556.Q32142@sola.nimnet.asn.au> Message-ID: <20130322220317.A32142@sola.nimnet.asn.au> On Thu, 21 Mar 2013 11:21:29 -0400, Alejandro Imass wrote: > On Thu, Mar 21, 2013 at 3:35 AM, Ian Smith wrote: > > On Tue, 19 Mar 2013 17:53:30 +0100, Dirk Engling wrote: [.. also chopping mercilessly ..] > > > # Copyright 2010, Qjail project. All rights reserved. > > > > > > offensive. I am usually quite open with the license of my software, > > > beerware is as permissive as it gets. I just can not take some script > > > kiddie right out copying my code verbatim and selling it as his, not > > > even acknowledging me as the original author. > > > > > > Anyone here with suggestions how to properly react to this kind of "fork"? > > > > Yes. Publicity. Making sure the FreeBSD community gets to finds out. > > > > [...] > > > To that end I'm cross-posting this to -questions, where Mr Barbish has > > also posted about his proposed "rewrite" of Chapter 16 of the Handbook, > > which is nothing but a huge and poorly written manual for 'the qjail > > way', with its peculiar assumptions and unique "jailcell" terminology. > > "Fourth Generation", no less! > > > > +1 > > Thank you Ian for cross-posting here. > > The first thing I did when I got the new chapter for review was search > for the work EzJail and I was curious as to why EzJail is not > mentioned anywhere in this new proposal and why it isn't mentioned in > the current handbook either under in section "16.5.2 High-Level > Administrative Tools in the FreeBSD Ports Collection". If there is > __any__ tool that should be mentioned in the jails chapter it is > EzJail because it's really easy to use and does a damn good job. Actually, ezjail has been explicitly mentioned in '16.6 Application of Jails' http://www.freebsd.org/doc/handbook/jails-application.html since revision 30226 by danger, Mon May 28 20:02:46 2007 UTC, which section was just 6 weeks ago updated with a (preceding) similar port reference to qjail: http://svnweb.freebsd.org/doc?view=revision&revision=40900 [..] > NOW some things start to make sense to me, when I posted a problem > with EzJail here last year that very few people, if any, knew what I > was talking about. An how could they? if it's not mentioned anywhere > in the handbook or that jail man page(s). man pages aren't an appropriate place to recommend particular ports; there are others, and there will be more. The above are mentioned in the handbook page in the context of simpler alternatives to following the more detailed procedures presented to actually teach one how jail technology may be implemented, which - in my view - is the Good Stuff. There have been about 20 messages in freebsd-jail@ referring to ezjail this year so far before this thread, as in previous years; try browsing the archives from http://lists.freebsd.org/pipermail/freebsd-jail/ OTOH, I've seen no prior posts in jail@ about qjail before this thread. cheers, Ian From aimass at yabarana.com Fri Mar 22 13:15:41 2013 From: aimass at yabarana.com (Alejandro Imass) Date: Fri, 22 Mar 2013 09:15:40 -0400 Subject: Handbook Jail Chapter rewrite available for critique In-Reply-To: <20130322220317.A32142@sola.nimnet.asn.au> References: <1UHfYF-000LVV-4Y@internal.tormail.org> <5148980A.1070408@erdgeist.org> <20130321170556.Q32142@sola.nimnet.asn.au> <20130322220317.A32142@sola.nimnet.asn.au> Message-ID: On Fri, Mar 22, 2013 at 9:03 AM, Ian Smith wrote: > On Thu, 21 Mar 2013 11:21:29 -0400, Alejandro Imass wrote: > > On Thu, Mar 21, 2013 at 3:35 AM, Ian Smith wrote: > > > On Tue, 19 Mar 2013 17:53:30 +0100, Dirk Engling wrote: > [...] >> mentioned anywhere in this new proposal and why it isn't mentioned in >> the current handbook either under in section "16.5.2 High-Level >> Administrative Tools in the FreeBSD Ports Collection". If there is >> __any__ tool that should be mentioned in the jails chapter it is [..] > Actually, ezjail has been explicitly mentioned in '16.6 Application of > Jails' http://www.freebsd.org/doc/handbook/jails-application.html since > revision 30226 by danger, Mon May 28 20:02:46 2007 UTC, which section > was just 6 weeks ago updated with a (preceding) similar port reference > to qjail: http://svnweb.freebsd.org/doc?view=revision&revision=40900 > Never seen it before. First time I read about service jails it wasn't there. Further to my point doesn't it make more sense to mention them under "16.5.2 High-Level Administrative Tools in the FreeBSD Ports Collection" or in both places? [...] > > There have been about 20 messages in freebsd-jail@ referring to ezjail > this year so far before this thread, as in previous years; try browsing > the archives from http://lists.freebsd.org/pipermail/freebsd-jail/ > I posted on the wrong list then ;-) Subscribing today, thanks! -- Alejandro Imass From j.ballantine at gmail.com Fri Mar 22 13:51:12 2013 From: j.ballantine at gmail.com (Jim Ballantine) Date: Fri, 22 Mar 2013 09:51:06 -0400 Subject: Installing openssl from ports In-Reply-To: <514C49FD.90700@ShaneWare.Biz> References: <514C49FD.90700@ShaneWare.Biz> Message-ID: The port is newer than the base version: port is 1.0.1_8 and the base is 0.9.2 Both openssl and heimdal install fine from the base system src, it's only when I try to install openssl from the ports, with heimdal installed by the base system that I get the error. When I run make install, what I get before the conflict message is: ===> Compressing manual pages for openssl-1.0.1_8zopenssl-1.0.1_8 ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib Installing openssl-1.0.1_8...pkg: openssl-1.0.1_8 conflicts with heimdal-1.5.2_4 (installs files into the same place). Problematic files: /usr/local/man/man3/DH_generate_key.3.gz *** [fale-pkg] Error code 70 On Fri, Mar 22, 2013 at 8:09 AM, Shane Ambler wrote: > On 22/03/2013 04:36, Jim Ballantine wrote: > > But when I attempt to install the latest openssl for the >> port system, it fails with a conflict (installs file in the same place) >> with heimdal. >> > > Take a close look at the message and what happens before. openssl only > gives a conflict message if the base version is newer than the port. > > Heimdal conflicts with krb4 krb5 and srp > > Any other conflicts will be from dependencies, you'll need to check what > port brings in a dependency that generates the conflict. > > > From bah at bananmonarki.se Fri Mar 22 14:26:01 2013 From: bah at bananmonarki.se (Bernt Hansson) Date: Fri, 22 Mar 2013 15:25:22 +0100 Subject: No sound with Thinkpad X60 In-Reply-To: <20130322073106.10ab6e89@scorpio> References: <20130314225908.GA2157@thinkpad.piggybox> <20130315232827.GA2189@thinkpad.piggybox> <20130321234229.GA2205@thinkpad.piggybox> <514BEC19.2060802@bananmonarki.se> <20130322073106.10ab6e89@scorpio> Message-ID: <514C69D2.1040409@bananmonarki.se> 2013-03-22 12:31, Jerry skrev: > On Fri, 22 Mar 2013 06:28:57 +0100 > Bernt Hansson articulated: > >> 2013-03-22 00:42, Peter Harrison skrev: >> >> Put this in your /boot/loader.conf and report back. >> >> hw.snd.default_unit="0" >> >> Test with other nubers if 0 do not work. > > Using an nVidia card, I had to do the following: > > /etc/sysctl.conf > hw.snd.default_unit=4 > > Rebooted and the sound worked. I never found any truly accurate > information on it, it was basically just a trail and error experiment. > And YES, it sucks that in all to many cases, sound doesn't "just work". > If it "just work" there is no fun. Tinkering and using a braincell, or at the most two is much more rewarding. From mla_strick at att.net Fri Mar 22 14:33:49 2013 From: mla_strick at att.net (mla_strick at att.net) Date: Fri, 22 Mar 2013 07:33:38 -0700 (PDT) Subject: Is fdisk broken? Message-ID: <20130322143338.36D368634@mist.localdomain> I recently bought a 4 TB usb disk drive and discovered that it reported a sector size of 4096 bytes instead of the traditional 512 bytes. This is apparently necessary because there may be a 32 bit sector number field somewhere in the usb mass storage protocols. It turns out that disk drive manufacturers have been producing disks with large sector sizes for some years now. The feature goes by the name "Advanced Format" and other things. Look it up in Wikipedia. FreeBSD seems to use the sector size information when interpreting MBR partition offsets and sizes. Unfortunately, when I try to use fdisk to print out the partition table on my new disk drive, fdisk just says "fdisk: could not detect sector size". Otherwise the MBR partition table seems to work correctly and newfs seems to have done the right thing. (It made the file system fragment size a multiple of the sector size and I am not getting any weird error messages out of the disk driver.) It would be nice if fdisk also worked. I do have to share the disk with other operating systems that might not understand other partition table schemes. Is may analysis of what is going on essentially correct? Can fdisk be made happy again? (At least for a few more years?) Dan Strick (mla_strick at att.net) From kudzu at tenebras.com Fri Mar 22 14:45:34 2013 From: kudzu at tenebras.com (Michael Sierchio) Date: Fri, 22 Mar 2013 07:45:33 -0700 Subject: Is fdisk broken? In-Reply-To: <20130322143338.36D368634@mist.localdomain> References: <20130322143338.36D368634@mist.localdomain> Message-ID: On Fri, Mar 22, 2013 at 7:33 AM, wrote: > Can fdisk be made happy again? (At least for a few more years?) The short answer is: no. Fdisk comes from a world where even 1G drives were not yet on the horizon. Use gpart. The long answer is readily available in the forums - google is your friend. - M From freebsd-questions-local at be-well.ilk.org Fri Mar 22 16:30:51 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Fri, 22 Mar 2013 12:30:37 -0400 Subject: No sound with Thinkpad X60 In-Reply-To: <20130322073106.10ab6e89@scorpio> (jerry@seibercom.net's message of "Fri, 22 Mar 2013 07:31:06 -0400") References: <20130314225908.GA2157@thinkpad.piggybox> <20130315232827.GA2189@thinkpad.piggybox> <20130321234229.GA2205@thinkpad.piggybox> <514BEC19.2060802@bananmonarki.se> <20130322073106.10ab6e89@scorpio> Message-ID: <444ng3qtw2.fsf@lowell-desk.lan> Jerry writes: > On Fri, 22 Mar 2013 06:28:57 +0100 > Bernt Hansson articulated: > >> 2013-03-22 00:42, Peter Harrison skrev: >> >> Put this in your /boot/loader.conf and report back. >> >> hw.snd.default_unit="0" >> >> Test with other nubers if 0 do not work. > > Using an nVidia card, I had to do the following: > > /etc/sysctl.conf > hw.snd.default_unit=4 > > Rebooted and the sound worked. I never found any truly accurate > information on it, it was basically just a trail and error experiment. > And YES, it sucks that in all to many cases, sound doesn't "just work". You don't actually need to reboot for each trial. Running sysctl(8) from the command line will do. And /dev/sndstat would probably tell you the right value to try. These things are covered in the Handbook.. From brde at optusnet.com.au Fri Mar 22 16:51:27 2013 From: brde at optusnet.com.au (Bruce Evans) Date: Sat, 23 Mar 2013 03:51:14 +1100 (EST) Subject: Is fdisk broken? In-Reply-To: <20130322143338.36D368634@mist.localdomain> References: <20130322143338.36D368634@mist.localdomain> Message-ID: <20130323031855.K1757@besplex.bde.org> On Fri, 22 Mar 2013 mla_strick at att.net wrote: > I recently bought a 4 TB usb disk drive and discovered that it reported > a sector size of 4096 bytes instead of the traditional 512 bytes. This > is apparently necessary because there may be a 32 bit sector number field > somewhere in the usb mass storage protocols. It turns out that disk > drive manufacturers have been producing disks with large sector sizes > for some years now. The feature goes by the name "Advanced Format" and > other things. Look it up in Wikipedia. > > FreeBSD seems to use the sector size information when interpreting MBR > partition offsets and sizes. Unfortunately, when I try to use fdisk to > print out the partition table on my new disk drive, fdisk just says > "fdisk: could not detect sector size". It has the following gratuitous breakage at 2K for its probe of the sector size: #define MAX_SEC_SIZE 2048 /* maximum section size that is supported */ ^^^^ #define MIN_SEC_SIZE 512 /* the sector size to start sensing at */ I used 64K for the probe maximum limit when I fixed fsck_msdosfs (fsck_msdosfs doesn't has a probe and only supports sector sizes of 512 in -current). Most file systems in FreeBSD have gratuitous limits on the size in their probe for there superblock, but the limit is mostly larger than 4K. Most of them don't need to know the sector size and don't have a probe, but they read a fixed size that is larger than their superblock size, so they fail if this size is smaller than the the sector size. > Otherwise the MBR partition > table seems to work correctly and newfs seems to have done the right > thing. (It made the file system fragment size a multiple of the sector > size and I am not getting any weird error messages out of the disk > driver.) It would be nice if fdisk also worked. I do have to share > the disk with other operating systems that might not understand other > partition table schemes. > > Is may analysis of what is going on essentially correct? > Can fdisk be made happy again? (At least for a few more years?) Changing the above should fix fdisk for FreeBSD. A sector size of 4K gives a limit of 16TB for the partition table data structure, which is enough for a few more years with single disks. After that, double the sector size to 8K to work for another year or two. However, to share the disk you need all the other operating systems and BIOS to agree that _this_ partition table scheme (with units of 4K sectors) is what the partition table records. Bruce From ivan1709 at netzero.net Fri Mar 22 19:53:51 2013 From: ivan1709 at netzero.net (ivan1709 at netzero.net) Date: Fri, 22 Mar 2013 19:51:49 GMT Subject: trying freeBSD 9.1 w/o installing Message-ID: <20130322.125149.14243.0@webmail03.dca.untd.com> HelloIn command-line form, the disk which i received in linuxpro magazine is asking for a login and password, please assist.ThanksSteve ____________________________________________________________ Woman is 53 But Looks 25 53/YO Mom reveals 1 simple wrinkle trick that has angered doctors... http://thirdpartyoffers.netzero.net/TGL3231/514cb693e7ed036930196st02duc From walterhurry at gmail.com Fri Mar 22 21:16:41 2013 From: walterhurry at gmail.com (Walter Hurry) Date: Fri, 22 Mar 2013 21:16:16 +0000 (UTC) Subject: trying freeBSD 9.1 w/o installing References: <20130322.125149.14243.0@webmail03.dca.untd.com> Message-ID: On Fri, 22 Mar 2013 19:51:49 +0000, ivan1709 at netzero.net wrote: > HelloIn command-line form, the disk which i received in linuxpro > magazine is asking for a login and password, please assist.ThanksSteve If it's a live CD, username is root. Password is not required. From kline at thought.org Fri Mar 22 21:37:53 2013 From: kline at thought.org (Gary Kline) Date: Fri, 22 Mar 2013 14:36:15 -0700 Subject: mutt and http//url??? Message-ID: <20130322213615.GA23467@tao.thought.org> guys, ==many== yeears ago when i was running Only FBSD, I asked this list how i could use mutt when somebody included an http://url.com; and i got replies that worked. --sseems like the url string got moved to the end and clicking on the string exec'd firefox. in the past couple years i've sub'd to the nytimes and other places where the http string is several dozens of bytes. in my mutt at least, there are "+" marks embedded at the beginning of each new lines. so that when i mouse lick on the url, i almost invariably get either Nothing from my browswer, or the wrong page. i've googled for days. zero. im finally asking the top list on the web. can anybody clue me in? i'm using linux/gnome/mutt. but it shouldnt make any difference. [?!] tia, everybody, gary -- Gary Kline kline at thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. From freebsd at edvax.de Sat Mar 23 00:20:14 2013 From: freebsd at edvax.de (Polytropon) Date: Sat, 23 Mar 2013 01:20:18 +0100 Subject: mutt and http//url??? In-Reply-To: <20130322213615.GA23467@tao.thought.org> References: <20130322213615.GA23467@tao.thought.org> Message-ID: <20130323012018.3aa0235b.freebsd@edvax.de> On Fri, 22 Mar 2013 14:36:15 -0700, Gary Kline wrote: > in the past couple years i've sub'd to the nytimes and other places > where the http string is several dozens of bytes. in my mutt > at least, there are "+" marks embedded at the beginning of each > new lines. so that when i mouse lick on the url, i almost > invariably get either Nothing from my browswer, or the wrong > page. That's to be expected. A URL covering several lines _can_ be copied (selected) when the line wrap is "uninterrupted". It will even work for double- or triple-click (select word, select line) with the normal edit buffer (left swipe to select, in Firefox middle click or mousewheel press to go to URL). As the '+' character will be part of the wrapped URL (which can span several lines), the URL will be wrong, as you've seen. > i've googled for days. zero. im finally asking the top list > on the web. can anybody clue me in? i'm using linux/gnome/mutt. > but it shouldnt make any difference. [?!] If I remember correctly, there's a way to disable the line break emphasizer ('+' character) in the display. Have you tried set markers=no in your ~/.muttrc? Or was it unset markers Something with "markers"... I'm not fully sure if this is the setting you're searching for, but go ahead and try it. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From vogelke+unix at pobox.com Sat Mar 23 00:40:27 2013 From: vogelke+unix at pobox.com (Karl Vogel) Date: Fri, 22 Mar 2013 20:39:07 -0400 (EDT) Subject: mutt and http//url??? In-Reply-To: <20130322213615.GA23467@tao.thought.org> (message from Gary Kline on Fri, 22 Mar 2013 14:36:15 -0700) References: <20130322213615.GA23467@tao.thought.org> Message-ID: <20130323003907.C53EBBF82@kev.msw.wpafb.af.mil> >> On Fri, 22 Mar 2013 14:36:15 -0700, >> Gary Kline said: G> in the past couple years i've sub'd to the nytimes and other places G> where the http string is several dozens of bytes. in my mutt at least, G> there are "+" marks embedded at the beginning of each new lines. so G> that when i mouse lick on the url, Don't lick your mouse. That's gross. G> i almost invariably get either Nothing from my browswer, or the wrong G> page. You might want to try urlview, bound to Ctrl-B in mutt by default. It's a screen-oriented program for extracting URLs from text files, putting them in a menu, and letting you run a command to view a specific item. If you're on a FreeBSD system, it's in /usr/ports/textproc/urlview. -- Karl Vogel I don't speak for the USAF or my company Oh, to be only half as wonderful as my child thought I was when he was small, and only half as stupid as my teenager now thinks I am. --Rebecca Richards From kline at thought.org Sat Mar 23 01:20:34 2013 From: kline at thought.org (Gary Kline) Date: Fri, 22 Mar 2013 18:18:55 -0700 Subject: mutt and http//url??? In-Reply-To: <20130323012018.3aa0235b.freebsd@edvax.de> References: <20130322213615.GA23467@tao.thought.org> <20130323012018.3aa0235b.freebsd@edvax.de> Message-ID: <20130323011855.GA1983@tao.thought.org> On Sat, Mar 23, 2013 at 01:20:18AM +0100, Polytropon wrote: > On Fri, 22 Mar 2013 14:36:15 -0700, Gary Kline wrote: > > in the past couple years i've sub'd to the nytimes and other places > > where the http string is several dozens of bytes. in my mutt > > at least, there are "+" marks embedded at the beginning of each > > new lines. so that when i mouse lick on the url, i almost > > invariably get either Nothing from my browswer, or the wrong > > page. > > That's to be expected. A URL covering several lines _can_ be > copied (selected) when the line wrap is "uninterrupted". It > will even work for double- or triple-click (select word, select > line) with the normal edit buffer (left swipe to select, in > Firefox middle click or mousewheel press to go to URL). As the > '+' character will be part of the wrapped URL (which can span > several lines), the URL will be wrong, as you've seen. > > > > > i've googled for days. zero. im finally asking the top list > > on the web. can anybody clue me in? i'm using linux/gnome/mutt. > > but it shouldnt make any difference. [?!] > > If I remember correctly, there's a way to disable the line break > emphasizer ('+' character) in the display. Have you tried > > set markers=no > > in your ~/.muttrc? Or was it > > unset markers > > Something with "markers"... I'm not fully sure if this is the > setting you're searching for, but go ahead and try it. > theres a 'set markers' that defaults to yes. I edited it to no and, presto, no mo' '+' in the url strings. ---how you ever remembered the variable 'markers' is beyound me, but yup. anyway, with my konsole at std size, ~37x80, I moused dead-on the http string. same as before: the string showed up from the 'http://.....' to the eol. and when I clicked, I got garbage. wait, there's more. I blew up the konsole until it filled the entire screen. [i did this once before and got the right page.] it still worked. no '+' line break, but still. it's a bear to have to enlage the xterm/konsole just to read some mail, but it works with the two embedded urls that I've tried so far. why? dunno. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" -- Gary Kline kline at thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. From kline at thought.org Sat Mar 23 01:41:56 2013 From: kline at thought.org (Gary Kline) Date: Fri, 22 Mar 2013 18:40:16 -0700 Subject: mutt and http//url??? In-Reply-To: <20130323003907.C53EBBF82@kev.msw.wpafb.af.mil> References: <20130322213615.GA23467@tao.thought.org> <20130323003907.C53EBBF82@kev.msw.wpafb.af.mil> Message-ID: <20130323014016.GB1983@tao.thought.org> On Fri, Mar 22, 2013 at 08:39:07PM -0400, Karl Vogel wrote: > >> On Fri, 22 Mar 2013 14:36:15 -0700, > >> Gary Kline said: > > G> in the past couple years i've sub'd to the nytimes and other places > G> where the http string is several dozens of bytes. in my mutt at least, > G> there are "+" marks embedded at the beginning of each new lines. so > G> that when i mouse lick on the url, > > Don't lick your mouse. That's gross. but it was so tasty! 'specially with chocolatte syrup. > G> i almost invariably get either Nothing from my browswer, or the wrong > G> page. > > You might want to try urlview, bound to Ctrl-B in mutt by default. It's a > screen-oriented program for extracting URLs from text files, putting > them in a menu, and letting you run a command to view a specific item. > > If you're on a FreeBSD system, it's in /usr/ports/textproc/urlview. this was one of the things I tried. I followed the instructions exactly--with urlview and ^B. eventually I wound up with the list but it was hard to decide which was the text! maybe leave o ne konsole wide open on my 4th workspace > -- > Karl Vogel I don't speak for the USAF or my company > > Oh, to be only half as wonderful as my child thought I was when he was small, > and only half as stupid as my teenager now thinks I am. --Rebecca Richards > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" -- Gary Kline kline at thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. From freebsd at edvax.de Sat Mar 23 02:04:11 2013 From: freebsd at edvax.de (Polytropon) Date: Sat, 23 Mar 2013 03:04:14 +0100 Subject: mutt and http//url??? In-Reply-To: <20130323011855.GA1983@tao.thought.org> References: <20130322213615.GA23467@tao.thought.org> <20130323012018.3aa0235b.freebsd@edvax.de> <20130323011855.GA1983@tao.thought.org> Message-ID: <20130323030414.31cf0995.freebsd@edvax.de> On Fri, 22 Mar 2013 18:18:55 -0700, Gary Kline wrote: > anyway, with my konsole at std size, ~37x80, I moused dead-on > the http string. same as before: the string showed up from the > 'http://.....' to the eol. and when I clicked, I got garbage. The only way I tried (and confirmed) to deal with this particular problem is to make the "select URL" process a bit more complex (in terms of steps involed): Use a triple-click to select the whole (multi-line) URL, OR select it manually. Doing so with a held-down left mouse button will transfer the selected text into the edit buffer. In this specific case where the '+' characters have been eliminated, the line breaks will also _not_ be part of the edit buffer content. I've tried this by selecting a multi-line URL in a normal X terminal (xterm) and pasting it to a GUI text editor - result: one line, as intended. Now if I do a middle-click in the web browser (Opera in my case), it will navigate to that URL in the current tab (or open a new tab for it if I click on an empty space on the tab bar). The same concept applies to Firefox, but you need to have one instance of it started. Click the middle mouse button (or if you don't have one, press down the mouse wheel). Now Firefox will receive the full URL and go to that web page. However, this is, as you see, a bit more complicated. You can still try it and verify if it will work in your setting. > wait, there's more. I blew up the konsole until it filled the > entire screen. [i did this once before and got the right page.] > it still worked. no '+' line break, but still. That's an interesting workaround, but also makes things unneccessarily complicated. An intermediate solution could be to maximize the whole terminal application and use virtual desktops (workspaces) to switch between MUA and web browser. Still that's suboptimum. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From smithi at nimnet.asn.au Sat Mar 23 05:17:54 2013 From: smithi at nimnet.asn.au (Ian Smith) Date: Sat, 23 Mar 2013 16:17:43 +1100 (EST) Subject: Handbook Jail Chapter rewrite available for critique (fwd) Message-ID: <20130323153728.Y32142@sola.nimnet.asn.au> Joe, your mailer dropped -questions from the ccs on your response. Fixed, Ian ---------- Forwarded message ---------- Date: Fri, 22 Mar 2013 18:12:18 -0400 From: Fbsd8 To: freebsd-jail at freebsd.org Cc: Ian Smith , Dirk Engling Subject: Re: Handbook Jail Chapter rewrite available for critique Ian Smith wrote: > On Tue, 19 Mar 2013 17:53:30 +0100, Dirk Engling wrote: > > On 18.03.13 20:16, sib at tormail.org wrote: > > > > to configure things themselves. In my experience, ezjail is a much > better > > > solution. I also see that you are the maintainer/author of qjail and like > > > to shovel your opinion as the only solution, both in this "rewrite" and > > > all over the FreeBSD forums. > > > Taking a look at the qjail code I can not help to notice several odd > > similarities with the ezjail-admin script, down to the very basic bail > > out routines. I would not go so far to claim it was just a global > > search/replace job but to me the code looks familiar enough to find the > > > # Copyright 2010, Qjail project. All rights reserved. > > > offensive. I am usually quite open with the license of my software, > > beerware is as permissive as it gets. I just can not take some script > > kiddie right out copying my code verbatim and selling it as his, not > > even acknowledging me as the original author. > > > Anyone here with suggestions how to properly react to this kind of > "fork"? > > Yes. Publicity. Making sure the FreeBSD community gets to finds out. > > You may be polite and un-selfserving enough to not go so far Dirk, but I will. > Huge swathes of qjail are direct copies of your code, in most cases only with > the names of the variables changed from ezjail_* to qjail_*. I found it cute > renaming 'flavour' to the American spelling. > > Anyone looking at bin/qjail from qjail-2.1.tbz alongside the latest > ezjail-admin (mine downloaded from your cvsweb) cannot fail to notice > within the first couple of screens. Sure there are changes, additions and > deletions, but to fail to acknowledge the original authorship of this code, > and the implication that Joe Barbish (aka 'Qjail project') is its original > author is entirely outrageous; not ethical, even if legal. > > To that end I'm cross-posting this to -questions, where Mr Barbish has also > posted about his proposed "rewrite" of Chapter 16 of the Handbook, which is > nothing but a huge and poorly written manual for 'the qjail way', with its > peculiar assumptions and unique "jailcell" terminology. "Fourth Generation", > no less! > > The idea that the "doc gang" would entertain the idea of removing all of the > worthy content of the present Chapter 16 - even if it does need some updating > - and replace it with this effort is laughable, yet stranger things have > happened if there's any disconnect between developers and documenters .. > witness the Handbook firewalls section, by Joe Barbish. > > cheers, Ian > Boy this simple critique request sure has gotten out of hand. So lets set the record straight. On the subject ezjail not being referenced in the document like it is in the current version of the online handbook is just a writing content error. The document being critiqued is the first public draft. Pointing out over sights like not included ezjail in that section is the type of constructive feedback that is desired. Any inference it was done on purpose is just crazy. When it comes to the question of the handbook jail chapter needing updating, A member of the document team has already offered to partner up with me to get it added to the handbook as fast as possible. To me that means the document team is already aware the current handbook jail chapter is outdated and has just been waiting for someone to write a update which is just what I did. If you people have a beef with that, take it up with the document team not me. If any of you think you can do a better job then NOW is the time to step up or shut up. On the subject of qjail being a fork of ezjail, of course it is. Qjail was developed by the qjail project team who are a group of FreeBSD users who live around Angeles City, Philippines. Of the seven members 2 are foreigners living in the area, one American and one British. Our British member concluded that the author of ezjail must be British based solely on the spelling of the flavour directory. He also convinced us that his Beerware license was British humor, a joke, and should not be taken serous. In our review of other jail ports we did not see this Beerware license again or for that matter, see it in any of the 5000+ ports we looked at or use. So the group coincided to the British members view point as sound advice. If you inspect the qjail source, you should recognize the comments at the beginning as a copy of what is included in every FreeBSD config file. It was inserted in the front like they have. We though that was how you make software opensource which was the intention. There are no formal copyright documents; it's just a extrapolation from the FreeBSD comments. Maybe our local view of worldly subjects like this is not correct, so please forgive us and help use learn what the accepted viewpoint should be. I was chosen the project leader and public voice only because my English was the best among us. If the Freebsd comments section is not appropriate to include qjail under Freebsd opensource type of license, then we can change the comments to say "totally free to do as you wish as opensource" and leave it at that. If something else is needed, please inform what that is by private email. To continue this this subject in public is not appropriate. Please respect our wish in this matter. This is to Ian Smith, your tone and uncalled for content is very un-professional and borders on slander. In some circles it would label you as a flame war inciter and get you banned from the list. Best you read what you write before posting it so you can reconsider the tone of what you have written. Please present a more professional manner in your list post content. Thank you Ian for your attention to this matter in future posts to this list and any other Freebsd lists you may belong to. Joe From ralf.mardorf at alice-dsl.net Sat Mar 23 06:20:59 2013 From: ralf.mardorf at alice-dsl.net (Ralf Mardorf) Date: Sat, 23 Mar 2013 07:20:11 +0100 Subject: Don't replay to spam Message-ID: <1364019611.4783.84.camel@archlinux> The original "trying freeBSD 9.1 [...]" mail is spam, since the original message had a "signature" about face lifting or something like that. Take a look at http://lists.freebsd.org/pipermail/freebsd-questions/2013-March/249992.html Once you visited the page from the link in the signature, you even can't leave this page. It's hard to train spam filters, if people reply to spam. Regards, Ralf From FreeBSD at ShaneWare.Biz Sat Mar 23 08:42:41 2013 From: FreeBSD at ShaneWare.Biz (Shane Ambler) Date: Sat, 23 Mar 2013 19:12:38 +1030 Subject: security/heimdal generates openssl conflict [was - Re: Installing openssl from ports] In-Reply-To: References: <514C49FD.90700@ShaneWare.Biz> Message-ID: <514D6AFE.1030708@ShaneWare.Biz> On 23/03/2013 00:21, Jim Ballantine wrote: > Both openssl and heimdal install fine from the base system src, it's > only when I try to install openssl from the ports, with heimdal > installed by the base system that I get the error. > > When I run make install, what I get before the conflict message is: > > ===> Compressing manual pages for openssl-1.0.1_8zopenssl-1.0.1_8 > ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib Installing > openssl-1.0.1_8...pkg: openssl-1.0.1_8 conflicts with > heimdal-1.5.2_4 (installs files into the same place). Problematic > files: /usr/local/man/man3/DH_generate_key.3.gz > *** [fale-pkg] Error code 70 I'll make the subject a bit more descriptive and cc the heimdal maintainer. The error appears to be generated by pkg and would indicate that you have installed heimdal from ports. heimdal uses libcrypto from openssl and may have been installed as a dependency for another port. The base system doesn't install into /usr/local and pkg shouldn't monitor any files installed by the base system, so the conflict with /usr/local/man/man3/DH_generate_key.3.gz must be from the heimdal port. I just tried a compile of heimdal within tinderbox where I have set WITH_OPENSSL_PORT=true and the log for the heimdal indicates that it deletes man pages installed by security/openssl. So either heimdal installs a duplicate copy of the openssl man pages or it erroneously includes the man pages in it's package list generation. part of tinderbox log - ================================================================ ======================================== ===> Building package for heimdal-1.5.2_4 Deleting heimdal-1.5.2_4 ================================================================ === Checking filesystem state list of files present before this port was installed but missing after it was deinstalled) ./usr/local/man/man3/DES_cbc_cksum.3.gz missing ./usr/local/man/man3/DH_free.3.gz missing ./usr/local/man/man3/DH_generate_key.3.gz missing ./usr/local/man/man3/DH_get_default_method.3.gz missing ./usr/local/man/man3/RSA_new.3.gz missing ./usr/local/man/man3/RSA_new_method.3.gz missing ./usr/local/man/man3/RSA_set_method.3.gz missing Deleting sqlite3-3.7.14.1 Deleting openssl-1.0.1_8 pkg_delete: file '/usr/local/man/man3/DH_generate_key.3.gz' doesn't exist pkg_delete: file '/usr/local/man/man3/DH_new.3.gz' doesn't exist pkg_delete: file '/usr/local/man/man3/DH_set_method.3.gz' doesn't exist pkg_delete: file '/usr/local/man/man3/DES_set_odd_parity.3.gz' doesn't exist pkg_delete: file '/usr/local/man/man3/DES_string_to_key.3.gz' doesn't exist pkg_delete: couldn't entirely delete package `openssl-1.0.1_8' (perhaps the packing list is incorrectly specified?) Deleting libtool-2.4.2 Deleting libXt-1.1.1,1 Deleting db41-4.1.25_4 From sts at tp1.rub.de Sat Mar 23 12:01:38 2013 From: sts at tp1.rub.de (Stephan Schindel) Date: Sat, 23 Mar 2013 12:57:51 +0100 Subject: Attaching GELI device on boot Message-ID: <514D98BF.7090202@tp1.rub.de> Hey, i've got a problem attaching a geli device on boot. My setup: ada0 and ada1 full geli setup (no partition schemes). ZFS on both. ada0 is my root device. I can boot into the system there is no problem with it. But now I want to attach ada1 on boot as well using a single keyfile. My rc.conf looks like this: ... geli_autodetach="NO" geli_devices="ada1" geli_ada1_flags="-p -k /root/ada1.key" ... The problem is that geli does not want to attach the device at first. It claims about (missing?) metadata and inappropriate file format (I dont know where geli logs this). It tries to attach the device 3 times which is the default option with no success. BUT once the system is booted up and I can login, I can manually start /etc/rc.d/geli onestart and it will successfully attach the device. So configuration seems to be fine, only the order the services started seems to be wrong (e.g. devd is being started AFTER geli tries to attach the device, why??) Also there is a problem with sabnzbd which is being started before the network is set-up, which is wrong as well. Here is my full rc.conf: hostname="freebsd" ifconfig_nfe0="DHCP" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="NO" devd_enable="YES" devfs_enable="YES" zfs_enable="YES" rpcbind_enable="YES" nfs_server_enable="YES" mountd_flags="-r" linux_enable="YES" dbus_enable="YES" hald_enable="YES" powerd_flags="-a adp" sshd_enable="YES" sabnzbd_user="sts" sabnzbd_group="sts" sabnzbd_conf_dir="/usr/home/sts/.sabnzbd" sabnzbd_enable="YES" geli_autodetach="NO" geli_devices="ada1" geli_ada1_flags="-p -k /root/ada1.key" I hope somebody can help me, Stephan From four.harrisons at googlemail.com Sat Mar 23 15:15:46 2013 From: four.harrisons at googlemail.com (Peter Harrison) Date: Sat, 23 Mar 2013 16:24:42 +0000 Subject: No sound with Thinkpad X60 In-Reply-To: <514BEC19.2060802@bananmonarki.se> References: <20130314225908.GA2157@thinkpad.piggybox> <20130315232827.GA2189@thinkpad.piggybox> <20130321234229.GA2205@thinkpad.piggybox> <514BEC19.2060802@bananmonarki.se> Message-ID: <20130323162442.GA2173@thinkpad.piggybox> Friday, 22 March 2013 at 6:28:57 +0100, Bernt Hansson said: > 2013-03-22 00:42, Peter Harrison skrev: > > Put this in your /boot/loader.conf and report back. > > hw.snd.default_unit="0" > > Test with other nubers if 0 do not work. Thanks Bernt. Here's the relevant bit of rc.conf snddetect_enable="YES" mixer_enable="YES" and I have snd_hda_load="YES" in my loader.conf, so shouldn't need the sound_enable you suggested I think? I also have this in my device.hints: hint.hdac.0.cad0nid7.config="as=1" but I think that's a typo and there should be an extra period in there somewhere That said, I'm not going to change anything because all of a sudden and for no reason that I can figure out, it is now working. I have sound. Go figure. Thanks for your help. Peter Harrison. From four.harrisons at googlemail.com Sat Mar 23 15:17:21 2013 From: four.harrisons at googlemail.com (Peter Harrison) Date: Sat, 23 Mar 2013 16:26:14 +0000 Subject: No sound with Thinkpad X60 In-Reply-To: <444ng3qtw2.fsf@lowell-desk.lan> References: <20130314225908.GA2157@thinkpad.piggybox> <20130315232827.GA2189@thinkpad.piggybox> <20130321234229.GA2205@thinkpad.piggybox> <514BEC19.2060802@bananmonarki.se> <20130322073106.10ab6e89@scorpio> <444ng3qtw2.fsf@lowell-desk.lan> Message-ID: <20130323162614.GB2173@thinkpad.piggybox> Friday, 22 March 2013 at 12:30:37 -0400, Lowell Gilbert said: > Jerry writes: > > > On Fri, 22 Mar 2013 06:28:57 +0100 > > Bernt Hansson articulated: > > > >> 2013-03-22 00:42, Peter Harrison skrev: > >> > >> Put this in your /boot/loader.conf and report back. > >> > >> hw.snd.default_unit="0" > >> > >> Test with other nubers if 0 do not work. > > > > Using an nVidia card, I had to do the following: > > > > /etc/sysctl.conf > > hw.snd.default_unit=4 > > > > Rebooted and the sound worked. I never found any truly accurate > > information on it, it was basically just a trail and error experiment. > > And YES, it sucks that in all to many cases, sound doesn't "just work". > > You don't actually need to reboot for each trial. Running sysctl(8) from > the command line will do. And /dev/sndstat would probably tell you the > right value to try. These things are covered in the Handbook.. > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" Indeed. I've been faffing around with various sysctl settings from the command line without rebooting. As I mentioned in a slightly earlier email though, it's working now - although I can't figure out why, it is. Thanks for your help. Peter Harrison. From chuck2 at zms2.com Sat Mar 23 17:45:46 2013 From: chuck2 at zms2.com (chuck2 at zms2.com) Date: Sun, 24 Mar 2013 01:19:31 +0800 Subject: [listoso.com] new producst list of tab computer Message-ID: <20130323171931125.7BC54DA26E561A0F@Ujzthbxjaax>


To: freebsd-questions at freebsd.org via listoso.com

Good Moring, What's a great day! Greetings from Sammy, sales manager of The compony name with great experience with tablet pc.. I send this mails because I see you on http://es.listoso.com/freebsd-questions/2012-05/msg00805.html, and get the idea that you are doing business on tablet pc.
I amvery excited to tell you that we are manufactuaer of tablet pc.

As for tablet pc, Only 43$ tablet pc. senven inch, 512m,

For Android phone, now we have a 100 percent ofof galaxy s3 copy.

We also have Samsung note and note2.
If you want to get our full product list with photos and specifictions, please just reply this mail. Thanks!

Best regards
Chuck

From jrisom at gmail.com Sat Mar 23 18:51:31 2013 From: jrisom at gmail.com (Joshua Isom) Date: Sat, 23 Mar 2013 13:51:25 -0500 Subject: Current motherboard recommendations? Message-ID: <514DF9AD.6020805@gmail.com> I'm planning on getting a new motherboard and ram. I'm keeping the processor so it'll have to be an AMD board. What manufacturers tend to be best, with bios/ufi support and chipset support? Is there anything to avoid? From WD at US-Webmasters.com Sat Mar 23 21:31:51 2013 From: WD at US-Webmasters.com (W. D.) Date: Sat, 23 Mar 2013 16:25:00 -0500 Subject: Current motherboard recommendations? In-Reply-To: <514DF9AD.6020805@gmail.com> References: <514DF9AD.6020805@gmail.com> Message-ID: <20130323213151.9A4C5BC2@hub.freebsd.org> At 13:51 3/23/2013, Joshua Isom wrote: >I'm planning on getting a new motherboard and ram. I'm keeping the >processor so it'll have to be an AMD board. What manufacturers tend to >be best, with bios/ufi support and chipset support? Is there anything >to avoid? Gigabyte works for me. Start Here to Find It Fast!? -> http://www.US-Webmasters.com/best-start-page/ $9.99 Domain Names -> http://domains.us-webmasters.com/ From cyberleo at cyberleo.net Sat Mar 23 21:39:25 2013 From: cyberleo at cyberleo.net (CyberLeo Kitsana) Date: Sat, 23 Mar 2013 13:02:37 -0500 Subject: Don't replay to spam In-Reply-To: <1364019611.4783.84.camel@archlinux> References: <1364019611.4783.84.camel@archlinux> Message-ID: <514DEE3D.7040705@cyberleo.net> On 03/23/2013 01:20 AM, Ralf Mardorf wrote: > The original "trying freeBSD 9.1 [...]" mail is spam, since the original > message had a "signature" about face lifting or something like that. > > Take a look at > http://lists.freebsd.org/pipermail/freebsd-questions/2013-March/249992.html > > Once you visited the page from the link in the signature, you even can't > leave this page. > > It's hard to train spam filters, if people reply to spam. That spam sig appears to be NetZero appending advertisements to legitimate outgoing messages. I doubt the OP has much control over that behaviour; especially if that happens to be their ISP. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From lars at larseighner.com Sat Mar 23 22:13:12 2013 From: lars at larseighner.com (Lars Eighner) Date: Sat, 23 Mar 2013 23:10:05 -0500 (CDT) Subject: Don't replay to spam In-Reply-To: <514DEE3D.7040705@cyberleo.net> References: <1364019611.4783.84.camel@archlinux> <514DEE3D.7040705@cyberleo.net> Message-ID: On Sat, 23 Mar 2013, CyberLeo Kitsana wrote: > On 03/23/2013 01:20 AM, Ralf Mardorf wrote: >> The original "trying freeBSD 9.1 [...]" mail is spam, since the original >> message had a "signature" about face lifting or something like that. >> >> Take a look at >> http://lists.freebsd.org/pipermail/freebsd-questions/2013-March/249992.html >> >> Once you visited the page from the link in the signature, you even can't >> leave this page. >> >> It's hard to train spam filters, if people reply to spam. > > That spam sig appears to be NetZero appending advertisements to > legitimate outgoing messages. I doubt the OP has much control over that > behaviour; especially if that happens to be their ISP. > > I agree, but what the OP can do is use a proper sig which begins in the first column with a hyphen followed by another hyphen, a space, and a newline. That will not prevent the service provider from appending the ad, but it will make it possible for many (most? all?) mail readers to hide the sig (and everything after it) if the user so desires. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From lumiwa at gmail.com Sat Mar 23 22:50:44 2013 From: lumiwa at gmail.com (ajtiM) Date: Sat, 23 Mar 2013 17:50:32 -0500 Subject: skype Message-ID: <10125981.V5ek5bpvjG@luna.wi.rr.com> Hi! My system: FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 and I use Skype 2.1.0.81 from ports. When I am using Skype, the conversation often (every 1-5 minutes) gets disconnected or better I hear but the other side doesn't hear me. I know that long time ago the line kern.hz="100" in loader.conf help me but it doesn't work anymore. I start using my Androind phone and I don't have any problem. The friend also talking with people from Europe and USA which they have Linux or Windows and it works. Thanks in advance... Mitja ---------- http://www.redbubble.com/people/lumiwa From bc979 at lafn.org Sun Mar 24 04:25:32 2013 From: bc979 at lafn.org (Doug Hardie) Date: Sat, 23 Mar 2013 21:22:07 -0700 Subject: Client Authentication Message-ID: I am not sure this is the best place to ask this, but I didn't see any other maillists that seemed more appropriate. Basically, my outgoing mail server is being systematically attacked to try passwords looking for one that works. When they do find one, we get inundated by spam sent through that account throughout the world. The situation is such that most of our users are older and their computer is a hand-me-down so they can talk to their grandchildren. Passwords are a great inconvenience for them and create numerous problems with remembering them even when they are simple. Unfortunately, most of them are quite easy to guess. Telling users to use more appropriate passwords is a complete waste of my time. Its never going to make any changes as they probably would not remember any other password (or where they wrote down the password). This situation requires a technical solution. I have been investigating the use of client authentication through SSL. DoD uses this approach by having the certificates on an ID card and a card reader on each computer. We don't have the money to use that approach no could we every get our users to spring for that. I was hoping to figure out a way to put the certificate on a flash drive or CD that the user would carry. The approach we use has to also work for iPads, smart phones etc that do not have an interface for a card reader. At this time, I have successfully configured a test for openssl client authentication using a client certificate. There are a few issues remaining. DoD uses a p12 format for their certificates. Many browsers support that format. It encrypts the certificate and private key so they are not easily obtained from the smart card. Openssl's s_client uses pem certificates and the key has to be included in the certificate file. While that is easily transported on CD or flash drive, the private key is in the clear on the device. Thats not really viable. S_client works properly without a certificate when the certificate check in the server is set to not fail if a certificate is not provided. This is needed because we will never get all our users to use this approach at home. They will still want to use passwords. Since the certificate request is made before the connection information is available, there is no easy way to request it only when needed. I have only been able to test with the Safari browser and it does not handle the no certificate case properly. I believe it is dropping the connection when the user does not select a certificate. I still have to test the other browsers. There is an interesting aspect of openssl that the certificate it uses for normal SSL authentication is not used for client authentication. There are another completely different set of calls that have to be made to set the certificate/key for use in validating the client certificates. Much of this is only documented in existing code. With Safari you have to import the client's certificate into the keychain. Then it works fine. Unfortunately, it doesn't go away when you are done with it. Unlike the smart card which, when removed, removes the certificate, the Safari certificate can continue to be used by anyone afterwards. Hence, its not all that useful for authentication. One approach I have heard about, but not investigated yet is to place the keychain on the removable device. That would make it go away. However, that approach would not work with any other browser or mail program. Any ideas/suggestions on this will be appreciated. Thanks, -- Doug From m.e.sanliturk at gmail.com Sun Mar 24 04:51:54 2013 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Sat, 23 Mar 2013 21:51:53 -0700 Subject: Client Authentication In-Reply-To: References: Message-ID: On Sat, Mar 23, 2013 at 9:22 PM, Doug Hardie wrote: > I am not sure this is the best place to ask this, but I didn't see any > other maillists that seemed more appropriate. > > Basically, my outgoing mail server is being systematically attacked to try > passwords looking for one that works. When they do find one, we get > inundated by spam sent through that account throughout the world. The > situation is such that most of our users are older and their computer is a > hand-me-down so they can talk to their grandchildren. Passwords are a > great inconvenience for them and create numerous problems with remembering > them even when they are simple. Unfortunately, most of them are quite easy > to guess. > > Telling users to use more appropriate passwords is a complete waste of my > time. Its never going to make any changes as they probably would not > remember any other password (or where they wrote down the password). This > situation requires a technical solution. > > I have been investigating the use of client authentication through SSL. > DoD uses this approach by having the certificates on an ID card and a card > reader on each computer. We don't have the money to use that approach no > could we every get our users to spring for that. I was hoping to figure > out a way to put the certificate on a flash drive or CD that the user would > carry. The approach we use has to also work for iPads, smart phones etc > that do not have an interface for a card reader. > > At this time, I have successfully configured a test for openssl client > authentication using a client certificate. There are a few issues > remaining. DoD uses a p12 format for their certificates. Many browsers > support that format. It encrypts the certificate and private key so they > are not easily obtained from the smart card. Openssl's s_client uses pem > certificates and the key has to be included in the certificate file. While > that is easily transported on CD or flash drive, the private key is in the > clear on the device. Thats not really viable. > > S_client works properly without a certificate when the certificate check > in the server is set to not fail if a certificate is not provided. This is > needed because we will never get all our users to use this approach at > home. They will still want to use passwords. Since the certificate > request is made before the connection information is available, there is no > easy way to request it only when needed. I have only been able to test > with the Safari browser and it does not handle the no certificate case > properly. I believe it is dropping the connection when the user does not > select a certificate. I still have to test the other browsers. > > There is an interesting aspect of openssl that the certificate it uses for > normal SSL authentication is not used for client authentication. There are > another completely different set of calls that have to be made to set the > certificate/key for use in validating the client certificates. Much of > this is only documented in existing code. > > With Safari you have to import the client's certificate into the keychain. > Then it works fine. Unfortunately, it doesn't go away when you are done > with it. Unlike the smart card which, when removed, removes the > certificate, the Safari certificate can continue to be used by anyone > afterwards. Hence, its not all that useful for authentication. One > approach I have heard about, but not investigated yet is to place the > keychain on the removable device. That would make it go away. However, > that approach would not work with any other browser or mail program. > > Any ideas/suggestions on this will be appreciated. Thanks, > > -- Doug > Using Static IP in the client side , and checking Static IP of the user may be a possibility : In that way , any message from another IP will not be accepted . If this is possible for your systems , it may be checked for usability . One difficulty is that each user should obtain a Static IP and can not connect to his/her ISP from another IP . Good side is that nobody can connect to ISP of the user from another IP : It supplies hardware security ( we are assuming that the user computer is not captured ) .. Thank you very much . Mehmet Erol Sanliturk From bc979 at lafn.org Sun Mar 24 05:16:39 2013 From: bc979 at lafn.org (Doug Hardie) Date: Sat, 23 Mar 2013 22:16:37 -0700 Subject: Client Authentication In-Reply-To: References: Message-ID: <8680FAB3-4943-4F91-935B-E11511C3FD4E@lafn.org> On 23 March 2013, at 21:51, Mehmet Erol Sanliturk wrote: > > Using Static IP in the client side , and checking Static IP of the user may be a possibility : > In that way , any message from another IP will not be accepted . > > If this is possible for your systems , it may be checked for usability . > > One difficulty is that each user should obtain a Static IP and can not connect to his/her ISP from another IP . > > Good side is that nobody can connect to ISP of the user from another IP : It supplies hardware security ( we are assuming that the user computer is not captured ) .. That is an interesting idea, but unfortunately our users tend to travel a lot and need to be able to access mail from anywhere. Also, static IPs can get quite expensive from some ISPs. Our users are pretty much on fixed incomes and any expense is a hardship for them. -- Doug From m.e.sanliturk at gmail.com Sun Mar 24 06:06:45 2013 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Sat, 23 Mar 2013 22:59:14 -0700 Subject: Client Authentication In-Reply-To: <8680FAB3-4943-4F91-935B-E11511C3FD4E@lafn.org> References: <8680FAB3-4943-4F91-935B-E11511C3FD4E@lafn.org> Message-ID: On Sat, Mar 23, 2013 at 10:16 PM, Doug Hardie wrote: > > On 23 March 2013, at 21:51, Mehmet Erol Sanliturk > wrote: > > > > > Using Static IP in the client side , and checking Static IP of the user > may be a possibility : > > In that way , any message from another IP will not be accepted . > > > > If this is possible for your systems , it may be checked for usability . > > > > One difficulty is that each user should obtain a Static IP and can not > connect to his/her ISP from another IP . > > > > Good side is that nobody can connect to ISP of the user from another IP > : It supplies hardware security ( we are assuming that the user computer is > not captured ) .. > > That is an interesting idea, but unfortunately our users tend to travel a > lot and need to be able to access mail from anywhere. Also, static IPs can > get quite expensive from some ISPs. Our users are pretty much on fixed > incomes and any expense is a hardship for them. > > -- Doug > > The following steps may be another idea : Assume that you supply to your users a small login program prepared for them specifically ( since you are using SSH ) : Compile that program for each user with a special identifier for him/her and ship this program to your user and require that the login will be performed by this program . This program will send a very long code to your system with user password which is only known to you and to your user . Since external users will not know this code , they will not be able to login into their accounts by using only password . This will also easily identify fake login trials : It is very obvious that to estimate a very long code will require a large number of tries : If code fails , it means that login trial is from a fake user . If password fails , it may be allowed a fixed number of trials ( The banks are allowing only TWO failed passwords , on third , a new attempt can be made after 24 hours , in Turkey ) . This program may also additionally send computer signature to your system which is previously send to you on subscription computed by a program prepared by you . If the user changes / or uses a different computer , he/she should supply a signature of the computer . Here , important point is that , always you should verify that you are communicating the real user , not a faked user in behalf of the real user . For the stolen program/codes , prepare a new program and ship to the user . Another idea may be the following : Assume the user computer is NOT captured by a criminal bandit . On subscription , send to the user a square bar code printed on a card like credit card having a very long code specifically prepared for the user . On login , the user will show this card to the camera of the computer and will be transmitted to your system . In your system , it will be decoded , and it will be used to identify the user with his/her password . If this application is used , it may not be necessary to send the users a special login program prepared for each of them . Thank you very much . Mehmet ERol Sanliturk From cederom at tlen.pl Sun Mar 24 08:04:04 2013 From: cederom at tlen.pl (CeDeROM) Date: Sun, 24 Mar 2013 09:03:58 +0100 Subject: Client Authentication In-Reply-To: References: Message-ID: Why don't you just use PKI for authentication (you can generate your own certificates)? You can easily upload keys/certificated to client machines (PC, Android, Apple, ...). That should work :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From cederom at tlen.pl Sun Mar 24 08:06:28 2013 From: cederom at tlen.pl (CeDeROM) Date: Sun, 24 Mar 2013 09:06:27 +0100 Subject: Client Authentication In-Reply-To: References: Message-ID: On Sun, Mar 24, 2013 at 9:03 AM, CeDeROM wrote: > Why don't you just use PKI for authentication (you can generate your > own certificates)? You can easily upload keys/certificated to client > machines (PC, Android, Apple, ...). That should work :-) You can additionally encrypt keys/vertificates with a easy to remember short PIN or password for increased security. I have seen this working with Aladdin eToken maybe there is a pure software solution :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From gobble.wa at gmail.com Sun Mar 24 08:10:10 2013 From: gobble.wa at gmail.com (Waitman Gobble) Date: Sun, 24 Mar 2013 01:10:08 -0700 Subject: Client Authentication In-Reply-To: References: Message-ID: On Sat, Mar 23, 2013 at 9:22 PM, Doug Hardie wrote: > > Basically, my outgoing mail server is being systematically attacked to try > passwords looking for one that works. When they do find one, we get > inundated by spam sent through that account throughout the world. The > situation is such that most of our users are older and their computer is a > hand-me-down so they can talk to their grandchildren. Passwords are a > great inconvenience for them and create numerous problems with remembering > them even when they are simple. Unfortunately, most of them are quite easy > to guess. > > You might consider disabling external smtp auth service and using ssh tunnel to server to connect to mail. Also provide web based convenience service. It might be interesting to encrypt mail to the user's cloud service that operates in a gpg zone. I think this operation could be mostly transparent to the user, so kids and granpamas can use it without concern. -- Waitman Gobble San Jose California USA 510-830-7975 From bc979 at lafn.org Sun Mar 24 08:16:37 2013 From: bc979 at lafn.org (Doug Hardie) Date: Sun, 24 Mar 2013 01:16:33 -0700 Subject: Client Authentication In-Reply-To: References: Message-ID: <85D3DEE2-3E4E-4B68-87B0-6B946F15581C@lafn.org> On 24 March 2013, at 01:03, CeDeROM wrote: > Why don't you just use PKI for authentication (you can generate your > own certificates)? You can easily upload keys/certificated to client > machines (PC, Android, Apple, ...). That should work :-) > Thats exactly what I have been testing. Its easy in concept, but there are issues in the details. Once the certificate is loaded in a Mac and the password entered, its available for anyone to use thereafter. You actually have to remove the certificate from the keychain to disable it. Not a great approach for shared computers. Most users will not know how to remove it properly. I don't know about PCs yet though. In addition there are possible issues with mail clients. I have not tried them yet. It all depends if they can handle p12 format certificates. Pem format certificates must have the private key in plain format which renders them completely insecure. Then there still is the issue about Safari (at least) not handling the no certificate case properly. -- Doug From bc979 at lafn.org Sun Mar 24 08:21:14 2013 From: bc979 at lafn.org (Doug Hardie) Date: Sun, 24 Mar 2013 01:21:12 -0700 Subject: Client Authentication In-Reply-To: References: <8680FAB3-4943-4F91-935B-E11511C3FD4E@lafn.org> Message-ID: <15F2FFE1-C05D-4663-BCD6-58A893CA1C24@lafn.org> On 23 March 2013, at 22:59, Mehmet Erol Sanliturk wrote: > The following steps may be another idea : > > Assume that you supply to your users a small login program prepared for them specifically ( since you are using SSH ) : > > Compile that program for each user with a special identifier for him/her and ship this program to your user and require that the login will be performed by this program . This program will send a very long code to your system with user password which is only known to you and to your user . Since external users will not know this code , they will not be able to login into their accounts by using only password . > > This will also easily identify fake login trials : It is very obvious that to estimate a very long code will require a large number of tries : If code fails , it means that login trial is from a fake user . > If password fails , it may be allowed a fixed number of trials ( The banks are allowing only TWO failed passwords , on third , a new attempt can be made after 24 hours , in Turkey ) . > > This program may also additionally send computer signature to your system which is previously send to you on subscription computed by a program prepared by you . > > If the user changes / or uses a different computer , he/she should supply a signature of the computer . > > Here , important point is that , always you should verify that you are communicating the real user , not a faked user in behalf of the real user . > > For the stolen program/codes , prepare a new program and ship to the user . Thats an interesting approach but becomes difficult to use when traveling as you have no idea what computer you will be able to use today until you get to it. Then you might have only a few minutes access to it before moving on. > > Another idea may be the following : > > Assume the user computer is NOT captured by a criminal bandit . > > On subscription , send to the user a square bar code printed on a card like credit card having a very long code specifically prepared for the user . > On login , the user will show this card to the camera of the computer and will be transmitted to your system . In your system , it will be decoded , and it will be used to identify the user with his/her password . > > If this application is used , it may not be necessary to send the users a special login program prepared for each of them . > This idea shows a lot of promise. I have to figure out how to tie it into mail, web etc. There is libqrencode for creating the QR images. I am downloading it now. -- Doug From freebsd at edvax.de Sun Mar 24 08:22:49 2013 From: freebsd at edvax.de (Polytropon) Date: Sun, 24 Mar 2013 09:22:48 +0100 Subject: Client Authentication In-Reply-To: <85D3DEE2-3E4E-4B68-87B0-6B946F15581C@lafn.org> References: <85D3DEE2-3E4E-4B68-87B0-6B946F15581C@lafn.org> Message-ID: <20130324092248.76809163.freebsd@edvax.de> On Sun, 24 Mar 2013 01:16:33 -0700, Doug Hardie wrote: > > On 24 March 2013, at 01:03, CeDeROM wrote: > > > Why don't you just use PKI for authentication (you can generate your > > own certificates)? You can easily upload keys/certificated to client > > machines (PC, Android, Apple, ...). That should work :-) > > > > Thats exactly what I have been testing. Its easy in concept, but > there are issues in the details. Once the certificate is loaded > in a Mac and the password entered, its available for anyone to use > thereafter. You actually have to remove the certificate from the > keychain to disable it. Not a great approach for shared computers. Wouldn't there be a possibility to combine key _and_ password? The key shouldn't have to be removed, but it should only work with a password (which again is kept individual to each user). The process has to be made "more uncomfortable" to be secure, i. e., the password should _not_ be stored, instead it _has_ to be entered every time the secure connection is to be used. If a different user gets his hands on a running session (in terms of user-separation or profiles on a particular machine), he won't be able to do anything with mail as he does not know the password, and the password will not be automatically provided for the sake of being "less complicated". I don't know your particular end user machine settings, so this is just a broad suggestion. Many things in this idea depend on what software the client systems use, and how this software actually deals with security-related settings and procedures. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From bc979 at lafn.org Sun Mar 24 08:25:16 2013 From: bc979 at lafn.org (Doug Hardie) Date: Sun, 24 Mar 2013 01:25:13 -0700 Subject: Client Authentication In-Reply-To: References: Message-ID: <21ECABE0-0946-469F-8A6C-08194571A8D9@lafn.org> On 24 March 2013, at 01:10, Waitman Gobble wrote: > > > You might consider disabling external smtp auth service and using ssh tunnel to server to connect to mail. Also provide web based convenience service. I am not convinced that a ssh tunnel is going to be easy for my users. We do provide a web based mail client, but I wouldn't describe it as convenient. I find it a pain in the neck, but so many users requested it that we provide it. It is password authenticated but so slow it will never be attacked with password guessing. > > It might be interesting to encrypt mail to the user's cloud service that operates in a gpg zone. I think this operation could be mostly transparent to the user, so kids and granpamas can use it without concern. This one I don't understand. Can you provide pointers to this type of service? From cederom at tlen.pl Sun Mar 24 08:31:18 2013 From: cederom at tlen.pl (CeDeROM) Date: Sun, 24 Mar 2013 09:31:10 +0100 Subject: Client Authentication In-Reply-To: <20130324092248.76809163.freebsd@edvax.de> References: <85D3DEE2-3E4E-4B68-87B0-6B946F15581C@lafn.org> <20130324092248.76809163.freebsd@edvax.de> Message-ID: Certificate + Password/PIN should be okay. You can maybe create a policy for the target system to enable a screensaver to block the screen after short period that will force user to enter his/hers password..? I know in theory all seems easy :-) :-) Good luck! :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From bc979 at lafn.org Sun Mar 24 08:33:17 2013 From: bc979 at lafn.org (Doug Hardie) Date: Sun, 24 Mar 2013 01:33:11 -0700 Subject: Client Authentication In-Reply-To: <20130324092248.76809163.freebsd@edvax.de> References: <85D3DEE2-3E4E-4B68-87B0-6B946F15581C@lafn.org> <20130324092248.76809163.freebsd@edvax.de> Message-ID: <99C3507E-A7C5-4DC0-AB75-26D649CE8C97@lafn.org> On 24 March 2013, at 01:22, Polytropon wrote: > > Wouldn't there be a possibility to combine key _and_ password? > The key shouldn't have to be removed, but it should only work > with a password (which again is kept individual to each user). > The process has to be made "more uncomfortable" to be secure, > i. e., the password should _not_ be stored, instead it _has_ > to be entered every time the secure connection is to be used. > If a different user gets his hands on a running session (in > terms of user-separation or profiles on a particular machine), > he won't be able to do anything with mail as he does not know > the password, and the password will not be automatically > provided for the sake of being "less complicated". > > I don't know your particular end user machine settings, so this > is just a broad suggestion. Many things in this idea depend on > what software the client systems use, and how this software > actually deals with security-related settings and procedures. The p12 format certificate includes the key and both are encrypted. This seems like the best distribution format. From what I have read most browsers can handle this distribution format since it is used in smart cards. However, on Safari, at least, when you import the certificate you have to enter the encryption key for the certificate and key. Then those are stored in the keychain (without any additional reference to that encryption key). They than can be used by anyone on that machine. It kind of defeats all the effort for security up to that point. DoD addresses this issue by somehow making the certificate not be imported into the keychain, but retained on the smart card only. Pulling the card from the reader eliminates any future use of it. Thats what I would like to achieve. -- Doug From m.e.sanliturk at gmail.com Sun Mar 24 08:48:36 2013 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Sun, 24 Mar 2013 01:48:35 -0700 Subject: Client Authentication In-Reply-To: <15F2FFE1-C05D-4663-BCD6-58A893CA1C24@lafn.org> References: <8680FAB3-4943-4F91-935B-E11511C3FD4E@lafn.org> <15F2FFE1-C05D-4663-BCD6-58A893CA1C24@lafn.org> Message-ID: On Sun, Mar 24, 2013 at 1:21 AM, Doug Hardie wrote: > > On 23 March 2013, at 22:59, Mehmet Erol Sanliturk > wrote: > > > The following steps may be another idea : > > > > Assume that you supply to your users a small login program prepared for > them specifically ( since you are using SSH ) : > > > > Compile that program for each user with a special identifier for him/her > and ship this program to your user and require that the login will be > performed by this program . This program will send a very long code to > your system with user password which is only known to you and to your user > . Since external users will not know this code , they will not be able to > login into their accounts by using only password . > > > > This will also easily identify fake login trials : It is very obvious > that to estimate a very long code will require a large number of tries : If > code fails , it means that login trial is from a fake user . > > If password fails , it may be allowed a fixed number of trials ( The > banks are allowing only TWO failed passwords , on third , a new attempt can > be made after 24 hours , in Turkey ) . > > > > This program may also additionally send computer signature to your > system which is previously send to you on subscription computed by a > program prepared by you . > > > > If the user changes / or uses a different computer , he/she should > supply a signature of the computer . > > > > Here , important point is that , always you should verify that you are > communicating the real user , not a faked user in behalf of the real user . > > > > For the stolen program/codes , prepare a new program and ship to the > user . > > Thats an interesting approach but becomes difficult to use when traveling > as you have no idea what computer you will be able to use today until you > get to it. Then you might have only a few minutes access to it before > moving on. > > > > > Another idea may be the following : > > > > Assume the user computer is NOT captured by a criminal bandit . > > > > On subscription , send to the user a square bar code printed on a card > like credit card having a very long code specifically prepared for the user > . > > On login , the user will show this card to the camera of the computer > and will be transmitted to your system . In your system , it will be > decoded , and it will be used to identify the user with his/her password . > > > > If this application is used , it may not be necessary to send the users > a special login program prepared for each of them . > > > > This idea shows a lot of promise. I have to figure out how to tie it into > mail, web etc. There is libqrencode for creating the QR images. I am > downloading it now. > > -- Doug > > A single method may not be so much useful for ALL the users . You may design a part for mostly static users . For traveling persons , by using relevant information in your system , you may use a approximate solution : QR code , password , computer signature : If two of them is correct , and in user profile there is an information that the user travels frequently , you may assume his/her login is correct . Another point may be that the user inform your system that he will travel between dates ( if foreing countries are involved , he may specify them ) . By using such information , it may be possible to identify users correctly as much as possible . This requires a good user profile definition in your system , and temporary exception which these exceptions should ALWAYS be obtained from fully verified login to prevent fake changes . As an example of bank robbery : A criminal , applying to a user GSM company instead of another "person to be robbed" by saying that "My GSM device has been stolen . Please cancel it . Give a new GSM chip and number ." After getting the new GSM number , the criminal is applying to bank for request "Change my GSM number ." instead of another "person to be robbed" . During money transfer of "person to be robbed" , the bank is sending a GSM message to the person , but diverted to criminal to get authorization . Person is giving authorization . As a result : Money is stolen . Rest is not important . The real person should go to court to prove that his/her money is stolen : Such a trial is taking almost five years . This means that security measures / steps should be designed with extremely carefully . All over the world , there a large millions of personal computers captured by criminals and are used for crime performance with the responsibility being on the real owner of the computer . For your users , some of them may obtain or have static IP numbers . Therefore , it is not necessary completely discard such an alternative . By using most secure method which can be implemented for the suitable users to least secure methods have been implemented persons with difficulty may be applied . For least secure methods , some statistical measures may be implemented : For example , average daily number of logins , average number of messages , a white list of target addresses , etc. If some of these measures violated , the case may be inspected for possible security breaches . Thank you very much . Mehmet Erol Sanliturk From LConrad at Go2France.com Sun Mar 24 10:01:31 2013 From: LConrad at Go2France.com (Len Conrad) Date: Sun, 24 Mar 2013 05:01:09 -0500 Subject: Client Authentication In-Reply-To: References: Message-ID: <201303241101935.SM01804@W500.Go2France.com> At 11:22 PM 3/23/2013, you wrote: >I am not sure this is the best place to ask this, but I didn't see any other maillists that seemed more appropriate. > >Basically, my outgoing mail server is being systematically attacked to try passwords looking for one that works. brute force attacks are easily blocked with pf's connection rate-limiting. Because our mail users are not world travellers, we use PF to block sending IPs by country. Any IP that TCP connects x times in y minutes to your mail server gets blocked for z hours. Cracked passwords on our mail users seem to be stolen by infections or phished rather than obtained by brute force. Our sender rate-limiting has three levels Our outbound server (postfix + postfwd) has per-sender rate limiting, which has totally stopped the really high volume password cracks. We have 3 levels of rate limiting. 1. 2000 msgs limit for every sender. We chose 2000 by identifying a handful of legit habitual senders of up to 1500 msgs, who are whitelisted from rate-limiting for the following levels. 2. 700 msgs limit for senders who habitually send up to 500 msgs, who are whitelisted from the following limit. 3 50 msgs limit for all senders who are not whitelisted above. Rate limiting causes the msgs to be held, not discarded or rejected, with an alert msg to the mail admin, who then inspects the held msgs for releasing or deleting. All the cert and PIN stuff appears to be theoretical suggestions not based on experience, since while effective, it would be a practical nightmare of training and maintenance. Len From norgaard at locolomo.org Sun Mar 24 10:20:55 2013 From: norgaard at locolomo.org (=?ISO-8859-1?Q?Erik_N=F8rgaard?=) Date: Sun, 24 Mar 2013 11:12:00 +0100 Subject: Client Authentication In-Reply-To: References: Message-ID: <514ED170.2090004@locolomo.org> On 24/03/2013 05:22, Doug Hardie wrote: > Basically, my outgoing mail server is being systematically attacked to try passwords looking for one that works. Have you investigated to identify where these attacks originate from? Even if the IP is not fixed, they often belong to ranges assigned to a particular country or even a particular ISP. AFAIK best practice is to use port 25 for relaying mail between the servers, hence your server should only allow incomming mail on this port. This does not require authentication. Users should connect to port 587 on your server to send mail. This ofcourse requires authentication. If your users are not mobile, then you can simply block port 587 for external connections. Even if you have mobile users you can likely make some safe assumptions about where they will connect from, for example only national connections. > The situation is such that most of our users are older and their computer is a hand-me-down so they can talk to their grandchildren. Passwords are a great inconvenience for them and create numerous problems with remembering them even when they are simple. So, I assume that each user has a PC or laptop for personal use only? Do you need mail passwords to be the same as computer or network passwords? If not then help your users choose a strong mail password and enter it in the mail client's password manager. Writing down a password can actually be a better solution than bad passwords. If people have a private PC at home, it may even be acceptable to stick a post-it to the screen. Consider implementing a password policy that is enforced by technical means, requireing regular change and strength test before a new password is accepted. You may get heaps of user complaints with this though. But I think that users aversion for good passwords is that they have no idea of how to pick one that is easy to remember yet hard to guess, and that they may have to authenticate many times with many different passwords throughout the day. > This situation requires a technical solution. > I have been investigating the use of client authentication through SSL. With certificates you will likely encounter user problems as with passwords: You can install the certificates in the users keychain, with or without password protection or protected by the system password. This may actually be OK if that requires physical access to the user's computer. Or you can use some card reader as you mention, but if users have problem managing a piece of paper with a password, how will they do with a card? You will have to deal with lost cards in stead of forgotten passwords. From the description of your users I don't think this is a solution. In either case, whenever a certificate expire you will have to update it and help install the new certificate, and it becomes a hazle if the users gets a new computer. > Any ideas/suggestions on this will be appreciated. Thanks, I think, given user's abilities the best option is use port 587 for authenticated outgoing SMTP with STARTTLS and a server side certificate. Restrict external access to port 587. Use mail client's password manager to store mail password and help users choose a strong password which will only be used once. Or, you can make away with the mail client and offer a web interface. Then mail can only be relayed for connections from localhost. BR, Erik From kaltheat at googlemail.com Sun Mar 24 12:03:05 2013 From: kaltheat at googlemail.com (kaltheat at googlemail.com) Date: Sun, 24 Mar 2013 13:02:55 +0100 Subject: snd_hda and front headphones jack In-Reply-To: References: Message-ID: <20130324120255.GA2988@sol> On Tue, Mar 12, 2013 at 08:55:49AM -0500, Mark Felder wrote: > Hi guys, > > I seem to be having problems getting my front headphones jack to work. > I've read the snd_hda man page and perhaps I'm doing this wrong, but > here's my setup: > > ... > > If I am looking at this right I believe I need to set nid25 to as=1 which > matches the nid31 Speaker and probably also set seq=15. However, this > doesn't seem to be working. Am I overlooking something obvious? > > > Thanks > Hi, in my setup I disabled all pins referring to "Unknown" and I disabled pins I don't need by setting as=0 without having any issues. I put Headphones and Speaker in same association (anything between 0 and 15, not 0, not 15), then I gave Headphones seq=15 and Speaker seq=14. As mentioned in manpage seq=15 for headphones will duplicate first pin in association, that would be Speaker. If I remember correctly online reconfiguring of device using dev.hdaa.*.reconfig sysctl-variable produced in some cases different devices than rebooting system with same changes of default configuration in device.hints. Regards, kaltheat From kaltheat at googlemail.com Sun Mar 24 13:22:10 2013 From: kaltheat at googlemail.com (kaltheat at googlemail.com) Date: Sun, 24 Mar 2013 14:22:04 +0100 Subject: Intel microcode update In-Reply-To: <20130319220625.GB5368@sol> References: <20130319220625.GB5368@sol> Message-ID: <20130324132204.GB2988@sol> On Tue, Mar 19, 2013 at 11:06:25PM +0100, kaltheat at googlemail.com wrote: > > Hi, > > I was wondering how to update microcode of an Intel CPU and came across > cpucontrol and sysutils/devcpu-data . But last mentioned port is not up-to-date > anymore. I searched Intel's webpages for microcode updates and found archives > for Linux containing one single microcode.dat file. Could someone tell me if > that file is compatible with FreeBSD? As devcpu-data installs .fw files it > might be proper to convert/compile microcode.dat in some way. How? > > Regards, > kaltheat > Just for the records: Question was answered [1]here. 1. http://lists.freebsd.org/pipermail/freebsd-hackers/2013-March/042248.html From freebsd-questions-local at be-well.ilk.org Sun Mar 24 13:27:20 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sun, 24 Mar 2013 09:27:05 -0400 Subject: Client Authentication In-Reply-To: <8680FAB3-4943-4F91-935B-E11511C3FD4E@lafn.org> (Doug Hardie's message of "Sat, 23 Mar 2013 22:16:37 -0700") References: <8680FAB3-4943-4F91-935B-E11511C3FD4E@lafn.org> Message-ID: <44d2upylli.fsf@lowell-desk.lan> Doug Hardie writes: > That is an interesting idea, but unfortunately our users tend to > travel a lot and need to be able to access mail from anywhere. Also, > static IPs can get quite expensive from some ISPs. Our users are > pretty much on fixed incomes and any expense is a hardship for them. I've been thinking about setting up certificates for pretty much the same reason, but I haven't gotten around to it yet. My standing impression is that the setup is mostly specific to the mail server, which in my case is currently dovecot. Regardless of what else you do, there are some defensive things you could do to take some of the pressure off. They won't be a solution, but they might make your life easier while you work on a solution. Port knocking would make it harder for the attackers to get through to try passwords, and it's fairly easy to install on any particular type of client. With the variety of clients you have to deal with, the cumulative effort may be overwhelming, but it's at least worth a thought. Another thing to try would be temporarily blocking any IP address that tries several different user names in a short period of time. Again, these kinds of things won't solve your problem, but they may reduce the intensity of the attack. Good luck. From Lena at lena.kiev.ua Sun Mar 24 13:30:19 2013 From: Lena at lena.kiev.ua (Lena at lena.kiev.ua) Date: Sun, 24 Mar 2013 15:30:05 +0200 Subject: Client Authentication Message-ID: <20130324133005.GA913@lena.kiev> Doug Hardie wrote: > my outgoing mail server is being systematically attacked to try > passwords looking for one that works. When they do find one, > we get inundated by spam sent through that account throughout the world. How such spam is injected into your mail relay - via SMTP? > most of our users are older and their computer is a hand-me-down > so they can talk to their grandchildren. > our users tend to travel a lot and need to be able to access mail > from anywhere. I bet that most of your users use Windows, many are clueless. So, many will click a link in a letter from a known sender if the letter contains nothing more than a link and the sender's correct signature, possibly with a correct sender name or a few very generic words added in Subject or body. Links in such spam lead to drive-by exploit kits such as Blackhole which silently (without user consent) install password-stealing trojans such as ZeuS or SpyEye in user's Windows. These trojans also are stealing FTP passwords (many webmasters use Windows too), it's how the felons make pages they link to (on legitimate websites), so content-filtering of such spam fails. Stolen yahoo, AOL, MSN webmail passwords are used for sending such spam via the webmail interface (with correct hostname, SPF, DKIM) to addresses harvested from the user's webmail interface's address book and Sent and Inbox folders. Also, some of your users will yield to phishing. Strong (long, complicate, unique) passwords are stolen with Windows trojans and phishing as easily as weak ones. You can block brute-force password guessing, but you cannot prevent password stealing by Windows trojans and phishing. Unfortunately, you cannot force your users to use FreeBSD or some other free operating system instead of Windows. But travelling users do need to send mail via SMTP. Passwords are stolen along with username, relay hostname and port. Second factor authentication for SMTP is more difficult in practice than for HTTP. So, you need to block _using_ stolen passwords by spammers. My implementation is for Exim (instead of Postfix or sendmail): https://github.com/Exim/exim/wiki/BlockCracking It also blocks brute-force password guessing via SMTP, but that's a side benefit. Lena From freebsd-listen at fabiankeil.de Sun Mar 24 13:42:58 2013 From: freebsd-listen at fabiankeil.de (Fabian Keil) Date: Sun, 24 Mar 2013 14:37:24 +0100 Subject: Attaching GELI device on boot In-Reply-To: <514D98BF.7090202@tp1.rub.de> References: <514D98BF.7090202@tp1.rub.de> Message-ID: <20130324143724.61268ca2@fabiankeil.de> Stephan Schindel wrote: > i've got a problem attaching a geli device on boot. My setup: > > ada0 and ada1 full geli setup (no partition schemes). ZFS on both. ada0 > is my root device. I can boot into the system there is no problem with > it. But now I want to attach ada1 on boot as well using a single > keyfile. My rc.conf looks like this: > > ... > geli_autodetach="NO" > geli_devices="ada1" > geli_ada1_flags="-p -k /root/ada1.key" > ... > > The problem is that geli does not want to attach the device at first. It > claims about (missing?) metadata and inappropriate file format (I dont > know where geli logs this). It tries to attach the device 3 times which > is the default option with no success. Are you sure that "It" is the geli rc script and not the kernel itself which could happen if the BOOT flag was set on ada1. You can increase the geli log level with kern.geom.eli.debug. For details see "man geli". > BUT once the system is booted up and I can login, I can manually start > > /etc/rc.d/geli onestart > > and it will successfully attach the device. Does this result in the "Configuring Disk Encryption for ..." message? > So configuration seems to be > fine, only the order the services started seems to be wrong (e.g. devd > is being started AFTER geli tries to attach the device, why??) devd is supposed to be started between geli and geli2: fk at r500 ~ $rcorder /etc/rc.d/* | egrep devd\|geli /etc/rc.d/geli /etc/rc.d/devd /etc/rc.d/geli2 > Also there is a problem with sabnzbd which is being started before the > network is set-up, which is wrong as well. That seems to be an unrelated problem so probably it belongs in a different thread. I don't use sabnzbd and thus have no opinion on this. Fabian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available URL: From ukaszg at gmail.com Sun Mar 24 14:14:36 2013 From: ukaszg at gmail.com (uki) Date: Sun, 24 Mar 2013 14:14:28 +0000 Subject: can not use intel GPU, no /dev/dri/card0 Message-ID: Hi, I'm getting the folowing error when I try to start X using intel drivers: [ 8669.844] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so [ 8669.844] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 8669.844] drmOpenDevice: node name is /dev/dri/card0 [ 8669.844] Failed to change owner or group for file /dev/dri! 2: No such file or directory [ 8669.844] Failed to change owner or group for file /dev/dri/card0! 2: No such file or directory [ 8669.844] drmOpenDevice: open result is -1, (No such file or directory) [ 8669.844] Failed to change owner or group for file /dev/dri/card0! 2: No such file or directory [ 8669.844] drmOpenDevice: open result is -1, (No such file or directory) [ 8669.844] drmOpenDevice: Open failed I assume I overlooked something while configuring the system (I dual boot stable and release, this is on stable, release works fine). Please help. my make.conf has: WITH_NEW_XORG="YES" WITH_KMS="YES" my kernconf: device agp device dpms options X86BIOS device drm device i915drm device radeondrm Cheers, ?ukasz Gruner From erichsfreebsdlist at alogt.com Sun Mar 24 14:44:23 2013 From: erichsfreebsdlist at alogt.com (Erich Dollansky) Date: Sun, 24 Mar 2013 21:23:45 +0700 Subject: can not use intel GPU, no /dev/dri/card0 In-Reply-To: References: Message-ID: <20130324212345.300ed438@X220.ovitrap.com> Hi, On Sun, 24 Mar 2013 14:14:28 +0000 uki wrote: > Hi, > > I'm getting the folowing error when I try to start X using intel > drivers: > > [ 8669.844] (II) > Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so [ 8669.844] > (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support > [ 8669.844] drmOpenDevice: node name is /dev/dri/card0 [ 8669.844] > Failed to change owner or group for file /dev/dri! 2: No such file or > directory [ 8669.844] Failed to change owner or group for > file /dev/dri/card0! 2: No such file or directory > [ 8669.844] drmOpenDevice: open result is -1, (No such file or > directory) [ 8669.844] Failed to change owner or group for > file /dev/dri/card0! 2: No such file or directory > [ 8669.844] drmOpenDevice: open result is -1, (No such file or > directory) [ 8669.844] drmOpenDevice: Open failed > > I assume I overlooked something while configuring the system (I dual > boot stable and release, this is on stable, release works fine). > Please help. > > my make.conf has: > WITH_NEW_XORG="YES" > WITH_KMS="YES" > > my kernconf: > device agp > device dpms > options X86BIOS > > device drm > device i915drm > device radeondrm > you should not need the last line. Delete it and see what happens. Erich From feenberg at nber.org Sun Mar 24 16:14:44 2013 From: feenberg at nber.org (Daniel Feenberg) Date: Sun, 24 Mar 2013 12:01:11 -0400 (EDT) Subject: Client Authentication In-Reply-To: <8680FAB3-4943-4F91-935B-E11511C3FD4E@lafn.org> References: <8680FAB3-4943-4F91-935B-E11511C3FD4E@lafn.org> Message-ID: On Sat, 23 Mar 2013, Doug Hardie wrote: > > On 23 March 2013, at 21:51, Mehmet Erol Sanliturk wrote: > >> >> Using Static IP in the client side , and checking Static IP of the user >> may be a possibility : In that way , any message from another IP will >> not be accepted . >> >> If this is possible for your systems , it may be checked for usability >> . >> >> One difficulty is that each user should obtain a Static IP and can not >> connect to his/her ISP from another IP . >> >> Good side is that nobody can connect to ISP of the user from another IP >> : It supplies hardware security ( we are assuming that the user >> computer is not captured ) .. > > That is an interesting idea, but unfortunately our users tend to travel > a lot and need to be able to access mail from anywhere. Also, static > IPs can get quite expensive from some ISPs. Our users are pretty much > on fixed incomes and any expense is a hardship for them. Can you filter outgoing mail with Spamassassin? How about refusing to relay mail from addresses in a good DNSBL? Do you rate-limit outgoing mail? Can you just refuse to relay mail from other continents, using a geolocation service? daniel feenberg > > -- Doug > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > From sts at tp1.rub.de Sun Mar 24 16:35:36 2013 From: sts at tp1.rub.de (Stephan Schindel) Date: Sun, 24 Mar 2013 17:31:51 +0100 Subject: Attaching GELI device on boot In-Reply-To: <20130324143724.61268ca2@fabiankeil.de> References: <514D98BF.7090202@tp1.rub.de> <20130324143724.61268ca2@fabiankeil.de> Message-ID: <514F2A77.2060801@tp1.rub.de> Thank you for your answer. > Are you sure that "It" is the geli rc script and not the kernel > itself which could happen if the BOOT flag was set on ada1. I tried (un)setting the BOOT flag. With boot flag no key files are defined in loader.conf, which is fine: ada1 at ata5 bus 0 scbus5 target 0 lun 0 ada1: ATA-7 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad10 GEOM_ELI: Found no key files in loader.conf for ada1. Unsetting the BOOT flag does not work either. > Does this result in the "Configuring Disk Encryption for ..." message? Yes. Three times (default amount of tries). Stephan From gobble.wa at gmail.com Sun Mar 24 16:50:17 2013 From: gobble.wa at gmail.com (Waitman Gobble) Date: Sun, 24 Mar 2013 09:50:15 -0700 Subject: Client Authentication In-Reply-To: <21ECABE0-0946-469F-8A6C-08194571A8D9@lafn.org> References: <21ECABE0-0946-469F-8A6C-08194571A8D9@lafn.org> Message-ID: On Sun, Mar 24, 2013 at 1:25 AM, Doug Hardie wrote: > > On 24 March 2013, at 01:10, Waitman Gobble wrote: > > > > > > > You might consider disabling external smtp auth service and using ssh > tunnel to server to connect to mail. Also provide web based convenience > service. > > I am not convinced that a ssh tunnel is going to be easy for my users. We > do provide a web based mail client, but I wouldn't describe it as > convenient. I find it a pain in the neck, but so many users requested it > that we provide it. It is password authenticated but so slow it will never > be attacked with password guessing. > One idea is to run a different server process on 25 which does not do SMTP AUTH,, then run SMTP AUTH on 465 or 587. I don't really see a reason to advertise SMTP AUTH on 25, for some reason all mail servers seem to do AUTH on all ports or none. Maybe there is a way to configure SMTP AUTH only on certain ports, one way I can think of is to run two processes with two configs. If some people are specifically attacking your service this may not be optimal, but if it's script kiddies scanning servers on port 25 this might discourage them. Another thought is to modify the SMTP server to allow one or two failed attempts then lock the account. IRL people set up their password into their email program and don't type it in all the time, or in the case of web mail they make their browser remember it. There isn't a good reason I can think of to allow 100 failed SMTP AUTH attempts. This concept would have to be tweaked a bit to balance customer service demand. You could also use the age of the account to determine the number of failed attempts, newer accounts might get 10 failed attempts, for example. Or you could disable SMTP auth altogether and make a little program that sets up a tunnel. Here's an ssh library that's BSD licensed http://www.libssh2.org/examples/tcpip-forward.html I think you can decide how much user intervention is needed for port forwarding. IT could be something like the user has to have the service installed on their machine, or it's a 'click for email' type thing. A little program that sets up the tunnel behind the scenes. It takes a day or two of front end programming but might be a good solution that works on unix/mac/linux/ms machines. You can have your SMTP AUTH service listening only on localhost. Handheld devices might become a challenge. > > > > > It might be interesting to encrypt mail to the user's cloud service that > operates in a gpg zone. I think this operation could be mostly transparent > to the user, so kids and granpamas can use it without concern. > > This one I don't understand. Can you provide pointers to this type of > service? Sorry I don't have any pointers, it was an idea last night. The concept is that users have 'cloud' accounts, email is encrypted to their account, perhaps (off the top of my head) in a fashion similar to the way friendica works.(it's not working with cloud systems, but it encrypts information to individual users, this could be analyzed for ideas for a cloud based system). This kind of solution might take a week of programming to set up, so it's more work on the front end. If you have some archival requirement or need to parse/key or otherwise analyze messages, in that scenario you would have to copy the message I think. -- Waitman Gobble San Jose California USA 510-830-7975 From Lena at lena.kiev.ua Sun Mar 24 16:59:16 2013 From: Lena at lena.kiev.ua (Lena at lena.kiev.ua) Date: Sun, 24 Mar 2013 18:59:09 +0200 Subject: Client Authentication Message-ID: <20130324165909.GC913@lena.kiev> > How about refusing to > relay mail from addresses in a good DNSBL? Bad idea. Legitimate users connecting from dynamic IP-addresses is normal. DNSBLs list a dynamic IP-address permanently or for long time after a zombied Windows spewed spam from it. Some DNSBLs warn about that explicitly, for example: http://www.spamhaus.org/zen/ | Caution: Because ZEN includes the XBL and PBL lists, do not use ZEN | on smarthosts or SMTP AUTH outbound servers for your own customers | (or you risk blocking your own customers). From norgaard at locolomo.org Sun Mar 24 17:04:47 2013 From: norgaard at locolomo.org (=?ISO-8859-1?Q?Erik_N=F8rgaard?=) Date: Sun, 24 Mar 2013 18:04:43 +0100 Subject: Client Authentication In-Reply-To: References: <21ECABE0-0946-469F-8A6C-08194571A8D9@lafn.org> Message-ID: <514F322B.2010106@locolomo.org> On 24/03/2013 17:50, Waitman Gobble wrote: > On Sun, Mar 24, 2013 at 1:25 AM, Doug Hardie wrote: > > One idea is to run a different server process on 25 which does not do SMTP > AUTH,, then run SMTP AUTH on 465 or 587. I don't really see a reason to > advertise SMTP AUTH on 25, for some reason all mail servers seem to do AUTH > on all ports or none. Maybe there is a way to configure SMTP AUTH only on > certain ports, one way I can think of is to run two processes with two > configs. Port 25 should be open for external connections and allow only local delivery. 465 is STMPS and should be configured as 25 but with SSL, this is really only useful if you have a certificate issued by a trusted CA as other servers will otherwise reject your certificate as untrusted. Port 587 is for message submission, see RFC 2476, you can configure it with TLS (serverside) and it should only advertise STARTTLS. Here you can create your own CA as you control all clients who are authorized to connect and can install the CA certificate. A simpler setup though is to have yor MTA listen on both port 25 and 587 and announce all services required for local delivery plus STARTTLS. Then require TLS for authentication. I understood you use dovecut as MDA? which is your MTA? With postfix the above is pretty simple to set up. BR, Erik -- M: +34 666 334 818 T: +34 915 211 157 From ukaszg at gmail.com Sun Mar 24 17:36:37 2013 From: ukaszg at gmail.com (uki) Date: Sun, 24 Mar 2013 17:30:48 +0000 Subject: can not use intel GPU, no /dev/dri/card0 In-Reply-To: <20130324212345.300ed438@X220.ovitrap.com> References: <20130324212345.300ed438@X220.ovitrap.com> Message-ID: That was not it (tried), the reason was my kernconf was wrong (didn't yet figure out the details), because the GENERIC works flawlessly. Cheers, ?ukasz Gruner 2013/3/24 Erich Dollansky : > Hi, > > On Sun, 24 Mar 2013 14:14:28 +0000 > uki wrote: > >> Hi, >> >> I'm getting the folowing error when I try to start X using intel >> drivers: >> >> [ 8669.844] (II) >> Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so [ 8669.844] >> (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support >> [ 8669.844] drmOpenDevice: node name is /dev/dri/card0 [ 8669.844] >> Failed to change owner or group for file /dev/dri! 2: No such file or >> directory [ 8669.844] Failed to change owner or group for >> file /dev/dri/card0! 2: No such file or directory >> [ 8669.844] drmOpenDevice: open result is -1, (No such file or >> directory) [ 8669.844] Failed to change owner or group for >> file /dev/dri/card0! 2: No such file or directory >> [ 8669.844] drmOpenDevice: open result is -1, (No such file or >> directory) [ 8669.844] drmOpenDevice: Open failed >> >> I assume I overlooked something while configuring the system (I dual >> boot stable and release, this is on stable, release works fine). >> Please help. >> >> my make.conf has: >> WITH_NEW_XORG="YES" >> WITH_KMS="YES" >> >> my kernconf: >> device agp >> device dpms >> options X86BIOS >> >> device drm >> device i915drm >> device radeondrm >> > you should not need the last line. Delete it and see what happens. > > Erich From sts at tp1.rub.de Sun Mar 24 17:39:06 2013 From: sts at tp1.rub.de (Stephan Schindel) Date: Sun, 24 Mar 2013 18:41:57 +0100 Subject: Attaching GELI device on boot In-Reply-To: <514F2A77.2060801@tp1.rub.de> References: <514D98BF.7090202@tp1.rub.de> <20130324143724.61268ca2@fabiankeil.de> <514F2A77.2060801@tp1.rub.de> Message-ID: <514F3AE5.4040601@tp1.rub.de> This is the output at boot time: Configuring Disk Encryption for ada1. geli: Cannot read metadata from ada1: Inappropriate file type or format. Attach failed; attempt 1 of 3. ... And the "Configuring..." part is from /etc/rc.d/geli. One the system is ready the same attempt works fine: root at freebsd:/home/sts # /etc/rc.d/geli start Configuring Disk Encryption for ada1. root at freebsd:/home/sts # geli list | grep ada | grep Geom Geom name: ada0.eli Geom name: ada1.eli From sts at tp1.rub.de Sun Mar 24 19:19:13 2013 From: sts at tp1.rub.de (Stephan Schindel) Date: Sun, 24 Mar 2013 20:15:20 +0100 Subject: Attaching GELI device on boot In-Reply-To: <514F3AE5.4040601@tp1.rub.de> References: <514D98BF.7090202@tp1.rub.de> <20130324143724.61268ca2@fabiankeil.de> <514F2A77.2060801@tp1.rub.de> <514F3AE5.4040601@tp1.rub.de> Message-ID: <514F50C8.1000605@tp1.rub.de> OK I found the issue: I reinitialized the provider, same problem. Then I put a partition scheme (BSD) on it.... here it works fine. My guess is this is not intended and might be a bug. Geli should work fine for the "whole" disk (no scheme at all). It works fine for the root device, but fails when trying to attach another device on bootup. But I do not see the reason for it :-/. Stephan From mrs.musahsarah at gmail.com Sun Mar 24 20:06:45 2013 From: mrs.musahsarah at gmail.com (Mrs Sarah Musah) Date: Sun, 24 Mar 2013 20:06:44 +0000 Subject: Invitation: attn @ Sun Mar 24, 2013 (questions@freebsd.org) Message-ID: You have been invited to the following event. Title: attn Dear Good day to you, I am so sorry for sending you this unsolicited and unexpected Email. I got your contact from a Business Directory in my agents office and I decided to contact you directly for the sake of business. My full Name is Mrs Sarah Musah with my son Ibrahim Musah we are from Liberia , I am here in LONDON UK for my health treatment and my son currently in Ghana Accra Capital, searching for a reliable and experience business partner. I would need your assistance in the area of developing it before investing it either here in LONDON UK, or any country of your choice under your guidance. So I am only soliciting for your assistance to help me develop the currency and then invest. My Business is totally free of risk and trouble. If you are willing to help me in this business, please give me your confidential contact phone number so that my son Ibrahim will call you and discuss on how to see FACE to FACE and discuss more in details Thank you once again for your interest and waiting for your reply. mail address: mrssarah.musah at rediffmail.com Best Regards, Mrs sarah Musah When: Sun Mar 24, 2013 Calendar: questions at freebsd.org Who: (Guest list has been hidden at organizer's request) Event details: https://www.google.com/calendar/event?action=VIEW&eid=cTc4c2tpcjJmM3M1bmMydG9tOXIxdmtzdGsgcXVlc3Rpb25zQGZyZWVic2Qub3Jn&tok=MjQjbXJzLm11c2Foc2FyYWhAZ21haWwuY29tMjE4MmRmZDhkODM5NWFjNDM5OGQ5MGIyMzUzYjAwYjgwOWFlYjFjOQ&ctz=America/New_York&hl=en Invitation from Google Calendar: https://www.google.com/calendar/ You are receiving this courtesy email at the account questions at freebsd.org because you are an attendee of this event. To stop receiving future notifications for this event, decline this event. Alternatively you can sign up for a Google account at https://www.google.com/calendar/ and control your notification settings for your entire calendar. From jerry at seibercom.net Sun Mar 24 20:06:53 2013 From: jerry at seibercom.net (Jerry) Date: Sun, 24 Mar 2013 16:06:43 -0400 Subject: Client Authentication In-Reply-To: <20130324165909.GC913@lena.kiev> References: <20130324165909.GC913@lena.kiev> Message-ID: <20130324160643.459a19c5@scorpio> On Sun, 24 Mar 2013 18:59:09 +0200 Lena at lena.kiev.ua articulated: > Bad idea. Legitimate users connecting from dynamic IP-addresses is > normal. I disagree. There is no legitimate reason a user cannot use a bonafide ISP to send mail. I block dynamic ISPs by default. I have found that 99% of it is just SPAM or some asshole attempting to relay thorough my system. If a user cannot afford to get a STATIC IP, then I cannot afford to waste my time with them. Just my 2?. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From erichsfreebsdlist at alogt.com Mon Mar 25 01:00:06 2013 From: erichsfreebsdlist at alogt.com (Erich Dollansky) Date: Mon, 25 Mar 2013 08:00:00 +0700 Subject: can not use intel GPU, no /dev/dri/card0 In-Reply-To: References: <20130324212345.300ed438@X220.ovitrap.com> Message-ID: <20130325080000.2ea51723@X220.ovitrap.com> Hi, On Sun, 24 Mar 2013 17:30:48 +0000 uki wrote: > That was not it (tried), the reason was my kernconf was wrong (didn't > yet figure out the details), because the GENERIC works flawlessly. I have an i7 and use no drm in the kernel. Just load the modules when you need them. Erich > > Cheers, > ?ukasz Gruner > > > 2013/3/24 Erich Dollansky : > > Hi, > > > > On Sun, 24 Mar 2013 14:14:28 +0000 > > uki wrote: > > > >> Hi, > >> > >> I'm getting the folowing error when I try to start X using intel > >> drivers: > >> > >> [ 8669.844] (II) > >> Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so > >> [ 8669.844] (WW) VGA arbiter: cannot open kernel arbiter, no > >> multi-card support [ 8669.844] drmOpenDevice: node name > >> is /dev/dri/card0 [ 8669.844] Failed to change owner or group for > >> file /dev/dri! 2: No such file or directory [ 8669.844] Failed to > >> change owner or group for file /dev/dri/card0! 2: No such file or > >> directory [ 8669.844] drmOpenDevice: open result is -1, (No such > >> file or directory) [ 8669.844] Failed to change owner or group for > >> file /dev/dri/card0! 2: No such file or directory > >> [ 8669.844] drmOpenDevice: open result is -1, (No such file or > >> directory) [ 8669.844] drmOpenDevice: Open failed > >> > >> I assume I overlooked something while configuring the system (I > >> dual boot stable and release, this is on stable, release works > >> fine). Please help. > >> > >> my make.conf has: > >> WITH_NEW_XORG="YES" > >> WITH_KMS="YES" > >> > >> my kernconf: > >> device agp > >> device dpms > >> options X86BIOS > >> > >> device drm > >> device i915drm > >> device radeondrm > >> > > you should not need the last line. Delete it and see what happens. > > > > Erich > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org" From Lena at lena.kiev.ua Mon Mar 25 05:04:03 2013 From: Lena at lena.kiev.ua (Lena at lena.kiev.ua) Date: Mon, 25 Mar 2013 07:03:54 +0200 Subject: Client Authentication In-Reply-To: <20130324165909.GC913@lena.kiev> References: <20130324165909.GC913@lena.kiev> Message-ID: <20130325050354.GA1228@lena.kiev> Jerry wrote: > > > How about refusing to > > > relay mail from addresses in a good DNSBL? > > > > Bad idea. Legitimate users connecting from dynamic IP-addresses is normal. > > I disagree. There is no legitimate reason a user cannot use a bonafide > ISP to send mail. The talk is about RELAYING mail sent with authentication when legitimate users travel and connect from another ISP. When you send mail from a mobile, should your relay (you use Gmail) block you because you connected from a dynamic IP-address? From leslie at eskk.nu Mon Mar 25 06:56:28 2013 From: leslie at eskk.nu (Leslie Jensen) Date: Mon, 25 Mar 2013 07:56:16 +0100 Subject: Crash when trying to rsync to external NTFS-formatted HD Message-ID: <514FF510.5020605@eskk.nu> Hello list. I'm trying the following on my 9.1-RELEASE #0 system: Mounting the external HD ntfs-3g /dev/da0s1 /mnt/backup/ And doing rsync -av /home/les /mnt/backup/BSD_backup/ I get "Building incremental file list" for about one minute then my system freezes and reboots. I'm aware that NTFS might be the culprit. I have chosen it for convenience and the possibility to move my data to machines without FreeBSD. Manually copying of files one by one works. Thanks /Leslie From demelier.david at gmail.com Mon Mar 25 08:16:14 2013 From: demelier.david at gmail.com (David Demelier) Date: Mon, 25 Mar 2013 09:16:13 +0100 Subject: snd_hda and front headphones jack In-Reply-To: References: Message-ID: Try something like : In /boot/device.hints hint.hdaa.4.nid31.config="as=1 seq=0" # or seq=1 if does not work hint.hdaa.4.nid25.config="as=1 seq=15" Also don't forget to add hw.snd.default_unit=4 in your /etc/sysctl.conf Regards, 2013/3/12 Mark Felder : > Hi guys, > > I seem to be having problems getting my front headphones jack to work. I've > read the snd_hda man page and perhaps I'm doing this wrong, but here's my > setup: > > > dev.hdaa.4.%desc: Conexant CX20641 Audio Function Group > dev.hdaa.0.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack > ctype=Digital loc=0x18 color=Unknown misc=0 > dev.hdaa.1.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack > ctype=Digital loc=0x18 color=Unknown misc=0 > dev.hdaa.2.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack > ctype=Digital loc=0x18 color=Unknown misc=0 > dev.hdaa.3.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack > ctype=Digital loc=0x18 color=Unknown misc=0 > dev.hdaa.4.nid24_original: 0x40f001f0 as=15 seq=0 device=Other conn=None > ctype=Unknown loc=0x00 color=Unknown misc=1 > dev.hdaa.4.nid25_original: 0x02214040 as=4 seq=0 device=Headphones conn=Jack > ctype=1/8 loc=Front color=Green misc=0 > dev.hdaa.4.nid26_original: 0x02a19020 as=2 seq=0 device=Mic conn=Jack > ctype=1/8 loc=Front color=Pink misc=0 > dev.hdaa.4.nid27_original: 0x01a1903e as=3 seq=14 device=Mic conn=Jack > ctype=1/8 loc=Rear color=Pink misc=0 > dev.hdaa.4.nid28_original: 0x01014010 as=1 seq=0 device=Line-out conn=Jack > ctype=1/8 loc=Rear color=Green misc=0 > dev.hdaa.4.nid29_original: 0x01813030 as=3 seq=0 device=Line-in conn=Jack > ctype=1/8 loc=Rear color=Blue misc=0 > dev.hdaa.4.nid30_original: 0x40f001f0 as=15 seq=0 device=Other conn=None > ctype=Unknown loc=0x00 color=Unknown misc=1 > dev.hdaa.4.nid31_original: 0x9217011f as=1 seq=15 device=Speaker conn=Fixed > ctype=Analog loc=0x12 color=Unknown misc=1 > dev.hdaa.4.nid32_original: 0x40f001f0 as=15 seq=0 device=Other conn=None > ctype=Unknown loc=0x00 color=Unknown misc=1 > dev.hdaa.4.nid33_original: 0x40f001f0 as=15 seq=0 device=Other conn=None > ctype=Unknown loc=0x00 color=Unknown misc=1 > dev.hdaa.4.nid38_original: 0x40f001ff as=15 seq=15 device=Other conn=None > ctype=Unknown loc=0x00 color=Unknown misc=1 > > > If I am looking at this right I believe I need to set nid25 to as=1 which > matches the nid31 Speaker and probably also set seq=15. However, this > doesn't seem to be working. Am I overlooking something obvious? > > > Thanks > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" -- Demelier David From aryeh.friedman at gmail.com Mon Mar 25 09:46:24 2013 From: aryeh.friedman at gmail.com (Aryeh Friedman) Date: Mon, 25 Mar 2013 05:40:52 -0400 Subject: stupid portmaster question Message-ID: How do I tell portmaster -ad to ignore certain ports because they are broken such as editors/libreoffice is currently marked as (I am sure this will change soon) From demelier.david at gmail.com Mon Mar 25 09:57:05 2013 From: demelier.david at gmail.com (David Demelier) Date: Mon, 25 Mar 2013 10:57:02 +0100 Subject: stupid portmaster question In-Reply-To: References: Message-ID: Just use -x switch portmaster -ad -x libreoffice 2013/3/25 Aryeh Friedman : > How do I tell portmaster -ad to ignore certain ports because they are > broken such as editors/libreoffice is currently marked as (I am sure this > will change soon) > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" -- Demelier David From jcigar at ulb.ac.be Mon Mar 25 10:00:34 2013 From: jcigar at ulb.ac.be (Julien Cigar) Date: Mon, 25 Mar 2013 11:00:26 +0100 Subject: stupid portmaster question In-Reply-To: References: Message-ID: <5150203A.2080102@ulb.ac.be> On 03/25/2013 10:40, Aryeh Friedman wrote: > How do I tell portmaster -ad to ignore certain ports because they are > broken such as editors/libreoffice is currently marked as (I am sure this > will change soon) > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" -x libreoffice -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. From leslie at eskk.nu Mon Mar 25 10:24:01 2013 From: leslie at eskk.nu (Leslie Jensen) Date: Mon, 25 Mar 2013 11:23:58 +0100 Subject: stupid portmaster question In-Reply-To: References: Message-ID: <515025BE.9030904@eskk.nu> 2013-03-25 10:40, Aryeh Friedman skrev: > How do I tell portmaster -ad to ignore certain ports because they are > broken such as editors/libreoffice is currently marked as (I am sure this > will change soon) > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" > Create the file +IGNOREME for all ports you want to ignore ;-) Example Touch /var/db/pkg/libreoffice-4.0.1_1/+IGNOREME /Leslie From radek.krejca at starnet.cz Mon Mar 25 11:09:28 2013 From: radek.krejca at starnet.cz (=?utf-8?B?UmFkZWsgS3JlasSNYQ==?=) Date: Mon, 25 Mar 2013 12:09:19 +0100 Subject: Remote IP to script over inetd Message-ID: <5150305F.6000205@starnet.cz> Hello, I need to get remote ip of client who is runnig script over inetd. A found that on linux is possible to use environment variable REMOTEHOST. But if I try it on FreeBSD it doesnt work well. There is stored something host but not actual. I thing that this variable is taken from root environment and not show actual ip of client connected over port serviced by inetd . So question is - how I can get client ip addres to my script serviced by inetd? I am starting inetd only with inetd_enable in rc.conf, no other attribues, so inetd i running: /usr/sbin/inetd -wW -C 60 Its freebsd 9.1 amd64 and script looks like: #!/bin/sh echo $REMOTEHOST I runs it on port 9000 serviced by inetd and started in inetd.conf redirect stream tcp nowait root /root/redirects.sh redirects.sh Thank you Radek From mexas at bristol.ac.uk Mon Mar 25 11:12:36 2013 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Mon, 25 Mar 2013 11:12:24 GMT Subject: stupid portmaster question In-Reply-To: Message-ID: <201303251112.r2PBCOj9065509@mech-cluster241.men.bris.ac.uk> How do I tell portmaster -ad to ignore certain ports because they are broken such as editors/libreoffice is currently marked as (I am sure this will change soon) -x avoid building or updating ports that match this pattern. Can be specified more than once. If a port is not already installed the exclude pattern will be run against the directory name from /usr/ports. Is that what you are looking for? Anton From neko at takino.org Mon Mar 25 11:14:15 2013 From: neko at takino.org (Mikhail Krutov) Date: Mon, 25 Mar 2013 15:06:17 +0400 Subject: Intel Centrion Wireless N-2230 status? Message-ID: <20130325110617.GA63698@takino.org> Hello! Recently I've bought a laptop which has Intel Centrino N-2230 wireless card in it. Currently it runs Linux, however I'd like to be able to have WiFi available for FreeBSD (wifi is almost the only thing that stops me from installing bsd) Is any work ongoing for that chip? From freebsd-questions-local at be-well.ilk.org Mon Mar 25 13:53:13 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Mon, 25 Mar 2013 09:53:00 -0400 Subject: stupid portmaster question In-Reply-To: (Aryeh Friedman's message of "Mon, 25 Mar 2013 05:40:52 -0400") References: Message-ID: <44y5dbbn7n.fsf@lowell-desk.lan> Aryeh Friedman writes: > How do I tell portmaster -ad to ignore certain ports because they are > broken such as editors/libreoffice is currently marked as (I am sure this > will change soon) Your direct question was already answered, but note that libreoffice is not broken overall, just with certain options that probably won't affect its operation for you. From freebsd-questions-local at be-well.ilk.org Mon Mar 25 16:01:08 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Mon, 25 Mar 2013 12:01:01 -0400 Subject: Crash when trying to rsync to external NTFS-formatted HD In-Reply-To: <514FF510.5020605@eskk.nu> (Leslie Jensen's message of "Mon, 25 Mar 2013 07:56:16 +0100") References: <514FF510.5020605@eskk.nu> Message-ID: <44k3ovbhaa.fsf@lowell-desk.lan> Leslie Jensen writes: > I'm trying the following on my 9.1-RELEASE #0 system: > > Mounting the external HD > ntfs-3g /dev/da0s1 /mnt/backup/ > > And doing > rsync -av /home/les /mnt/backup/BSD_backup/ > > > I get "Building incremental file list" for about one minute then my > system freezes and reboots. > > I'm aware that NTFS might be the culprit. I have chosen it for > convenience and the possibility to move my data to machines without > FreeBSD. > > Manually copying of files one by one works. Yes, it definitely sounds like fuse is corrupting something in the kernel. Could be tricky to debug, and forcing a kernel dump would be the first step. The traditional most-portable way of moving files is to tar(1) onto a raw device rather than having any filesystem at all. From olivares14031 at gmail.com Mon Mar 25 16:52:03 2013 From: olivares14031 at gmail.com (Antonio Olivares) Date: Mon, 25 Mar 2013 11:52:02 -0500 Subject: gettext problem in FreeBSD 8.3 system hosed Message-ID: Dear folks, As following /usr/port/UPDATING, I ran into a bit of trouble. System is hosed and I cannot update any ports. I tried to follow advice here: 20130316: AFFECTS: users of converters/libiconv and devel/gettext AUTHOR: bapt at FreeBSD.org libiconv now handles the lib/charset.alias file instead of devel/gettext. If you are using pkgng 'and' upgrading from source with portupgrade or portmaster, first delete gettext, upgrade libiconv, then reinstall gettext. # pkg delete -f devel/gettext # portmaster converters/libiconv devel/gettext or # pkg delete -f devel/gettext # portupgrade converters/libiconv devel/gettext but I get error(s) in gettext. I see that there is a small problem with gettext: http://www.freebsd.org/cgi/query-pr.cgi?pr=177176 How can I get around it, I made errors by deleting devel/gmake, and devel/glib20 and I tried to reinstall these, I did a make deinstall reinstall to see if I could bypass the error, but update(s) always fail with gettext. Any ideas/suggestions to fix this problem? Thanks in Advance, Antonio From gobble.wa at gmail.com Mon Mar 25 17:55:18 2013 From: gobble.wa at gmail.com (Waitman Gobble) Date: Mon, 25 Mar 2013 10:55:16 -0700 Subject: Crash when trying to rsync to external NTFS-formatted HD In-Reply-To: <44k3ovbhaa.fsf@lowell-desk.lan> References: <514FF510.5020605@eskk.nu> <44k3ovbhaa.fsf@lowell-desk.lan> Message-ID: Waitman Gobble San Jose California USA On Mar 25, 2013 9:01 AM, "Lowell Gilbert" < freebsd-questions-local at be-well.ilk.org> wrote: > > Leslie Jensen writes: > > > I'm trying the following on my 9.1-RELEASE #0 system: > > > > Mounting the external HD > > ntfs-3g /dev/da0s1 /mnt/backup/ > > > > And doing > > rsync -av /home/les /mnt/backup/BSD_backup/ > > > > > > I get "Building incremental file list" for about one minute then my > > system freezes and reboots. > > > > I'm aware that NTFS might be the culprit. I have chosen it for > > convenience and the possibility to move my data to machines without > > FreeBSD. > > > > Manually copying of files one by one works. > > Yes, it definitely sounds like fuse is corrupting something in the > kernel. Could be tricky to debug, and forcing a kernel dump would be the > first step. > > The traditional most-portable way of moving files is to tar(1) onto a > raw device rather than having any filesystem at all. > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " freebsd-questions-unsubscribe at freebsd.org" I have noticed this behavior with rsync and fuse mounted ntfs drives, hooking the drive up to an ms machine and doing a chkdisk type of operation may solve it for you, however i recommend using ufs formatted usb drives, it will ease headaches :) Waitman Gobble San Jose California From walterhurry at gmail.com Mon Mar 25 18:38:38 2013 From: walterhurry at gmail.com (Walter Hurry) Date: Mon, 25 Mar 2013 18:38:16 +0000 (UTC) Subject: stupid portmaster question References: <44y5dbbn7n.fsf@lowell-desk.lan> Message-ID: On Mon, 25 Mar 2013 09:53:00 -0400, Lowell Gilbert wrote: > Aryeh Friedman writes: > >> How do I tell portmaster -ad to ignore certain ports because they are >> broken such as editors/libreoffice is currently marked as (I am sure >> this will change soon) > > Your direct question was already answered, but note that libreoffice is > not broken overall, just with certain options that probably won't affect > its operation for you. To amplify, the (main?) culprit is MERGELIBS. OP: If you are trying to upgrade, just do a 'make config' first and uncheck the option. From olivares14031 at gmail.com Mon Mar 25 19:34:48 2013 From: olivares14031 at gmail.com (Antonio Olivares) Date: Mon, 25 Mar 2013 14:34:47 -0500 Subject: gettext problem in FreeBSD 8.3 system hosed In-Reply-To: References: Message-ID: Dear folks, On Mon, Mar 25, 2013 at 11:52 AM, Antonio Olivares wrote: > Dear folks, > > As following /usr/port/UPDATING, I ran into a bit of trouble. System > is hosed and I cannot update any ports. I tried to follow advice > here: > > 20130316: > AFFECTS: users of converters/libiconv and devel/gettext > AUTHOR: bapt at FreeBSD.org > > libiconv now handles the lib/charset.alias file instead of devel/gettext. > If you are using pkgng 'and' upgrading from source with portupgrade or > portmaster, first delete gettext, upgrade libiconv, then reinstall gettext. > > # pkg delete -f devel/gettext > # portmaster converters/libiconv devel/gettext > or > # pkg delete -f devel/gettext > # portupgrade converters/libiconv devel/gettext > > but I get error(s) in gettext. I see that there is a small problem > with gettext: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=177176 > > How can I get around it, I made errors by deleting devel/gmake, and > devel/glib20 and I tried to reinstall these, I did a make deinstall > reinstall to see if I could bypass the error, but update(s) always > fail with gettext. Any ideas/suggestions to fix this problem? > > Thanks in Advance, > > > Antonio In case if anyone is wondering which error I am encountering: It is the following: http://lists.freebsd.org/pipermail/freebsd-ports/2013-February/081576.html http://forums.freebsd.org/showthread.php?t=38558 devel/glib20 fails to build also with error: http://www.freebsd.org/cgi/query-pr.cgi?pr=177069 I have tried to follow the instructions included in /usr/ports/UPDATING but I have not succeeded in this machine. I am thinking of moving it to 8.4-BETA1 release and then reworking the ports or deleting them and restarting in case of not having replies I have gotten myself out of trouble before but it can take days to get the machine back in working order :( Best Regards, Antonio From allan at physics.umn.edu Mon Mar 25 21:06:26 2013 From: allan at physics.umn.edu (Graham Allan) Date: Mon, 25 Mar 2013 15:50:20 -0500 Subject: 8.3 hanging on boot, Dell 1950 with mfi and qlogic HBA Message-ID: <5150B88C.4050501@physics.umn.edu> I feel sure I'm missing something pretty obvious here but I can't figure out what. I have a Dell 1950 which I just installed 8.3 (amd64) onto. It has an internal OS drive on mfi (Dell PERC) and a qlogic QLE2462 for external SAN connection. Problem is, the machine hangs on boot if the SAN fiber is connected. It boots up fine if disconnected, then I can reconnect the fiber and mount the SAN drives. When booting with fiber connected, it hangs after these messages: kbd3 at ukbd1 kbd3: ukbd1, generic (0), config:0x0, flags:0x3d0000 ums1: on usbus1 ums1: 3 buttons and [XYZ] coordinates ID=0 uhub5: 4 ports with 4 removable, self powered (which just look like normal device probes) then if I reboot with the fiber disconnected, the next lines are: Trying to mount root from ufs:/dev/mfid0s1a start_init: trying /sbin/init Verbose boot doesn't seem to give any additional clues. I feel convinced it's failing to find or mount the root filesystem - I've certainly seen this in the past where an add-in HBA like this usurps the internal OS drive, fixable by hard-wiring the bus order in /boot/device.hints. That's what I thought of first here, but mfi doesn't use CAM (I guess), and the OS drive /dev/mfid0 isn't changing its device name... and of course I'm not getting any root mount errors either. Is there part of the boot mechanism I'm missing? Graham -- ------------------------------------------------------------------------- Graham Allan School of Physics and Astronomy - University of Minnesota ------------------------------------------------------------------------- From danny at clari.net.au Mon Mar 25 22:28:25 2013 From: danny at clari.net.au (Daniel O'Callaghan) Date: Tue, 26 Mar 2013 09:27:59 +1100 Subject: Remote IP to script over inetd In-Reply-To: <5150305F.6000205@starnet.cz> References: <5150305F.6000205@starnet.cz> Message-ID: <5150CF6F.7000208@clari.net.au> Hi Radek, On 25/03/2013 10:09 PM, Radek Krejc(a wrote: > #!/bin/sh > echo $REMOTEHOST getpeername() info is not available in Bourne shell directly. You need to use perl or C or .... So you can do something like this: ---------------------- #!/usr/bin/perl # Example code from http://perldoc.perl.org/functions/getpeername.html use Socket; $hersockaddr = getpeername(SOCK); ($port, $iaddr) = sockaddr_in($hersockaddr); $herhostname = gethostbyaddr($iaddr, AF_INET); $herstraddr = inet_ntoa($iaddr); # $herstraddr is of form "12.34.56.78" # Now you know the remote IP address, do what we want to do # eg run a shell script and put IP into $1 $cmd = "/root/redirects.sh $herstraddr"; exec($cmd); ---------------------- PS, if you are just sending an HTTP redirect or similar, you don't need to run the script as root. Cheers, Danny From nightrecon at hotmail.com Tue Mar 26 00:12:33 2013 From: nightrecon at hotmail.com (Michael Powell) Date: Mon, 25 Mar 2013 20:12:14 -0400 Subject: gettext problem in FreeBSD 8.3 system hosed References: Message-ID: Antonio Olivares wrote: [snip] >> As following /usr/port/UPDATING, I ran into a bit of trouble. System >> is hosed and I cannot update any ports. I tried to follow advice >> here: >> >> 20130316: >> AFFECTS: users of converters/libiconv and devel/gettext >> AUTHOR: bapt at FreeBSD.org >> >> libiconv now handles the lib/charset.alias file instead of >> devel/gettext. If you are using pkgng 'and' upgrading from source with >> portupgrade or portmaster, first delete gettext, upgrade libiconv, then >> reinstall gettext. >> >> # pkg delete -f devel/gettext >> # portmaster converters/libiconv devel/gettext >> or >> # pkg delete -f devel/gettext >> # portupgrade converters/libiconv devel/gettext [snip] > > I have tried to follow the instructions included in > /usr/ports/UPDATING but I have not succeeded in this machine. I am > thinking of moving it to 8.4-BETA1 release and then reworking the > ports or deleting them and restarting in case of not having replies I > have gotten myself out of trouble before but it can take days to get > the machine back in working order :( > Not exactly an answer here, in terms of recovery, but more along the lines of trying to figure out how it happened. Did you previously convert this machine to pkgng? The reason I ask is the instructions in UPDATING _only_ apply if you did so. If you did not, then you did not need to pay any attention to that section in UPDATING. I have not yet investigated the changeover to pkgng. I recently just did a portupgrade -a without doing as UPDATING suggested and had no difficulty with either port. So if you have not converted to pkgng then there is/was a misunderstanding in the reading of UPDATING. If you did convert to pkgng then you are in new territory I have not seen yet, and the point is moot. -Mike From FreeBSD at ShaneWare.Biz Tue Mar 26 01:24:04 2013 From: FreeBSD at ShaneWare.Biz (Shane Ambler) Date: Tue, 26 Mar 2013 11:53:59 +1030 Subject: security/heimdal generates openssl conflict [was - Re: Installing openssl from ports] In-Reply-To: References: <514C49FD.90700@ShaneWare.Biz> <514D6AFE.1030708@ShaneWare.Biz> Message-ID: <5150F8AF.5090403@ShaneWare.Biz> On 26/03/2013 00:42, Jim Ballantine wrote: > Hi > > I had removed the port, but it was reinstalled as a dependency of > other ports. I have WITH_OPENSSL_PORT=yes in /etc/make.conf, and > after I do a pkg delete -f heimdal openssl installs fine, but when I > try to install heimdal from ports (with DISABLE_CONFLICTS= > openssl-1.0.1_8 in the Makefile) the installs ends with: > > Stop in /usr/ports/security/heimdal. > > So I must be doing something wrong, but what?? > Your not doing anything wrong, that's why I cc'd the last email to the heimdal maintainer. I might look at making a patch to fix it today and submit a PR as it appears the maintainer didn't respond to a previous PR From what I see heimdal includes the openssl man pages in it's list of files it installs, the new pkg system is picking up the same files installed by openssl and heimdal and preventing the conflict, while the old install system overlooked it. Either the man pages list is incorrect or heimdal installs a duplicate copy of the openssl man pages - maybe this could be disabled if openssl from ports is used. From illoai at gmail.com Tue Mar 26 04:13:38 2013 From: illoai at gmail.com (illoai at gmail.com) Date: Tue, 26 Mar 2013 00:13:37 -0400 Subject: gettext problem in FreeBSD 8.3 system hosed In-Reply-To: References: Message-ID: On 25 March 2013 20:12, Michael Powell wrote: > Antonio Olivares wrote: > > [snip] >>> As following /usr/port/UPDATING, I ran into a bit of trouble. System >>> is hosed and I cannot update any ports. I tried to follow advice >>> here: >>> >>> 20130316: >>> AFFECTS: users of converters/libiconv and devel/gettext >>> AUTHOR: bapt at FreeBSD.org >>> >>> libiconv now handles the lib/charset.alias file instead of >>> devel/gettext. If you are using pkgng 'and' upgrading from source with >>> portupgrade or portmaster, first delete gettext, upgrade libiconv, then >>> reinstall gettext. >>> >>> # pkg delete -f devel/gettext >>> # portmaster converters/libiconv devel/gettext >>> or >>> # pkg delete -f devel/gettext >>> # portupgrade converters/libiconv devel/gettext > [snip] >> >> I have tried to follow the instructions included in >> /usr/ports/UPDATING but I have not succeeded in this machine. I am >> thinking of moving it to 8.4-BETA1 release and then reworking the >> ports or deleting them and restarting in case of not having replies I >> have gotten myself out of trouble before but it can take days to get >> the machine back in working order :( >> > > Not exactly an answer here, in terms of recovery, but more along the lines > of trying to figure out how it happened. > > Did you previously convert this machine to pkgng? The reason I ask is the > instructions in UPDATING _only_ apply if you did so. If you did not, then > you did not need to pay any attention to that section in UPDATING. > > I have not yet investigated the changeover to pkgng. I recently just did a > portupgrade -a without doing as UPDATING suggested and had no difficulty with > either port. > > So if you have not converted to pkgng then there is/was a misunderstanding > in the reading of UPDATING. If you did convert to pkgng then you are in new > territory I have not seen yet, and the point is moot. > Having switched to pkgng & failing in my duty to carefully read /usr/ports/UPDATING before rather blindly running portmaster -a I ran into this problem (to a smaller extent, at least). I ran the suggested pkg delete -f gettext, which instantly hosed sudo. (Why sudo has NLS on by default is beyond me. Why sudo isn't a static binary is another issue entirely.) However, su still worked & I the "portmaster" stage ran without difficulty. In a pre-pkgng world (& without portmaster) I would run "pkg_delete -f gettext && cd /usr/ports/converters/libiconv && make deinstall reinstall && cd ../../devel/gettext && make install" as root. Or some variation on that, perhaps involving -C (I've become addicted to abusing make -C ;) &/or a "clean" being added to the make arguments. -- -- From illoai at gmail.com Tue Mar 26 04:16:08 2013 From: illoai at gmail.com (illoai at gmail.com) Date: Tue, 26 Mar 2013 00:16:01 -0400 Subject: gettext problem in FreeBSD 8.3 system hosed In-Reply-To: References: Message-ID: On 25 March 2013 12:52, Antonio Olivares wrote: > Dear folks, > > As following /usr/port/UPDATING, I ran into a bit of trouble. System > is hosed and I cannot update any ports. I tried to follow advice > here: > > 20130316: > AFFECTS: users of converters/libiconv and devel/gettext > AUTHOR: bapt at FreeBSD.org > > libiconv now handles the lib/charset.alias file instead of devel/gettext. > If you are using pkgng 'and' upgrading from source with portupgrade or > portmaster, first delete gettext, upgrade libiconv, then reinstall gettext. > > # pkg delete -f devel/gettext > # portmaster converters/libiconv devel/gettext > or > # pkg delete -f devel/gettext > # portupgrade converters/libiconv devel/gettext > > but I get error(s) in gettext. I see that there is a small problem > with gettext: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=177176 > > How can I get around it, I made errors by deleting devel/gmake, and > devel/glib20 and I tried to reinstall these, I did a make deinstall > reinstall to see if I could bypass the error, but update(s) always > fail with gettext. Any ideas/suggestions to fix this problem? > As bapt@ hints: try rebuilding binutils without NLS. -- -- From budiyt at gmail.com Tue Mar 26 08:28:55 2013 From: budiyt at gmail.com (budsz) Date: Tue, 26 Mar 2013 15:28:53 +0700 Subject: freebsd-hackers@freebsd.org Message-ID: Hi folks, I want ask about error in `dmesg` output "remove Bump sched buckets to 64 (was 0)" in FreeBSD 8.3 STABLE version. Where's the code lines should be remove (safety)? Thank You -- budsz From olivares14031 at gmail.com Tue Mar 26 11:53:12 2013 From: olivares14031 at gmail.com (Antonio Olivares) Date: Tue, 26 Mar 2013 06:53:11 -0500 Subject: gettext problem in FreeBSD 8.3 system hosed In-Reply-To: References: Message-ID: Dear Sir, > > As bapt@ hints: try rebuilding binutils without NLS. > > -- > -- I have binutils installed without NLS. I ran make deinstall reinstall inside /usr/ports/devel/binutils/ and it deinstalls and it fails to reinstall because it depends on gettext :( Now I guess I am really in trouble. I am not using pkgng just ports. On three machines I am successfull, two 9.1-RELEASE-p1 and one 8.3-RELEASE, but this 9.1-RELEASE box I could not build some ports, I tried deinstall/reinstall options, and now I guess I am in a major problem, unless gettext starts to build soon, I uninstalled glib20, and tried reinstall it fails with gettext. There is a new version out, but it has not made it to ports :( I'll hang in there for a little while longer, but if it comes down to deleting and reinstalling all ports, I may do just that. Best Regards && Thanks for the suggestions and advice provided. Antonio From cpghost at cordula.ws Tue Mar 26 13:00:12 2013 From: cpghost at cordula.ws (C. P. Ghost) Date: Tue, 26 Mar 2013 14:00:10 +0100 Subject: Status of Xen/Dom0 on FreeBSD? Message-ID: Hello, I'm wondering if there's been some progress on the Xen/Dom0 front recently. The Wiki https://wiki.freebsd.org/FreeBSD/Xen still doesn't show any improvements in this area, but it may also be outdated (?). Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From EDMUND.C.OBLITEY at saic.com Tue Mar 26 14:25:59 2013 From: EDMUND.C.OBLITEY at saic.com (Oblitey, Edmund) Date: Tue, 26 Mar 2013 10:10:46 -0400 Subject: software support Message-ID: <50A24799DF969E4B960A48EC973F643607B3B72E@0015-its-exmb13.us.saic.com> I am trying to install FreeBSD on a E7520/6300ESB chipset. Program freezes during probing devices. It always restart when it gets to the atkbd0. Want to know if u can help me on it. From matthew at freebsd.org Tue Mar 26 14:52:43 2013 From: matthew at freebsd.org (Matthew Seaman) Date: Tue, 26 Mar 2013 14:52:29 +0000 Subject: software support In-Reply-To: <50A24799DF969E4B960A48EC973F643607B3B72E@0015-its-exmb13.us.saic.com> References: <50A24799DF969E4B960A48EC973F643607B3B72E@0015-its-exmb13.us.saic.com> Message-ID: <5151B62D.5080308@freebsd.org> On 26/03/2013 14:10, Oblitey, Edmund wrote: > I am trying to install FreeBSD on a E7520/6300ESB chipset. Program > freezes during probing devices. It always restart when it gets to the > atkbd0. Want to know if u can help me on it. Sounds like there's something on-board that either isn't supported or that doesn't get the right driver bound to it. Or that might possibly be defective. What version of FreeBSD are you trying to install? Can you definitely run other OSes without problems on this same hardware? Can you try disconnecting as many non-essential peripherals as possible and see if that allows FreeBSD to boot? Cheers, Matthew From FreeBSD at ShaneWare.Biz Tue Mar 26 16:10:09 2013 From: FreeBSD at ShaneWare.Biz (Shane Ambler) Date: Wed, 27 Mar 2013 02:40:05 +1030 Subject: Status of Xen/Dom0 on FreeBSD? In-Reply-To: References: Message-ID: <5151C85D.4050702@ShaneWare.Biz> On 26/03/2013 23:30, C. P. Ghost wrote: > Hello, > > I'm wondering if there's been some progress on the Xen/Dom0 > front recently. The Wiki > https://wiki.freebsd.org/FreeBSD/Xen > still doesn't show any improvements in this area, but it may > also be outdated (?). Not sure about any Xen/Dom0 work but I get the impression that bhyve is the focus of freebsd development in that area. https://wiki.freebsd.org/bhyve From FreeBSD at ShaneWare.Biz Tue Mar 26 16:21:18 2013 From: FreeBSD at ShaneWare.Biz (Shane Ambler) Date: Wed, 27 Mar 2013 02:51:15 +1030 Subject: security/heimdal generates openssl conflict [was - Re: Installing openssl from ports] In-Reply-To: <5150F8AF.5090403@ShaneWare.Biz> References: <514C49FD.90700@ShaneWare.Biz> <514D6AFE.1030708@ShaneWare.Biz> <5150F8AF.5090403@ShaneWare.Biz> Message-ID: <5151CAFB.8040509@ShaneWare.Biz> On 26/03/2013 11:53, Shane Ambler wrote: > Either the man pages list is incorrect or heimdal installs a > duplicate copy of the openssl man pages - maybe this could be > disabled if openssl from ports is used. For reference - heimdal includes source for libhcrypto which it uses if openssl is not present. While it doesn't install libhcrypto it still installs the man pages which conflicts with the openssl port man pages. I have submitted a patch to fix this - http://www.freebsd.org/cgi/query-pr.cgi?pr=177397 From joji at eskimo.com Tue Mar 26 17:23:47 2013 From: joji at eskimo.com (Joseph Olatt) Date: Tue, 26 Mar 2013 10:18:12 -0700 Subject: Client Authentication In-Reply-To: References: Message-ID: <20130326171812.GA20118@shellx.eskimo.com> On Sat, Mar 23, 2013 at 09:22:07PM -0700, Doug Hardie wrote: > I am not sure this is the best place to ask this, but I didn't see any other maillists that seemed more appropriate. > > Basically, my outgoing mail server is being systematically attacked to try passwords looking for one that works. When they do find one, we get inundated by spam sent through that account throughout the world. The situation is such that most of our users are older and their computer is a hand-me-down so they can talk to their grandchildren. Passwords are a great inconvenience for them and create numerous problems with remembering them even when they are simple. Unfortunately, most of them are quite easy to guess. > > Telling users to use more appropriate passwords is a complete waste of my time. Its never going to make any changes as they probably would not remember any other password (or where they wrote down the password). This situation requires a technical solution. > > I have been investigating the use of client authentication through SSL. DoD uses this approach by having the certificates on an ID card and a card reader on each computer. We don't have the money to use that approach no could we every get our users to spring for that. I was hoping to figure out a way to put the certificate on a flash drive or CD that the user would carry. The approach we use has to also work for iPads, smart phones etc that do not have an interface for a card reader. > > At this time, I have successfully configured a test for openssl client authentication using a client certificate. There are a few issues remaining. DoD uses a p12 format for their certificates. Many browsers support that format. It encrypts the certificate and private key so they are not easily obtained from the smart card. Openssl's s_client uses pem certificates and the key has to be included in the certificate file. While that is easily transported on CD or flash drive, the private key is in the clear on the device. Thats not really viable. > > S_client works properly without a certificate when the certificate check in the server is set to not fail if a certificate is not provided. This is needed because we will never get all our users to use this approach at home. They will still want to use passwords. Since the certificate request is made before the connection information is available, there is no easy way to request it only when needed. I have only been able to test with the Safari browser and it does not handle the no certificate case properly. I believe it is dropping the connection when the user does not select a certificate. I still have to test the other browsers. > > There is an interesting aspect of openssl that the certificate it uses for normal SSL authentication is not used for client authentication. There are another completely different set of calls that have to be made to set the certificate/key for use in validating the client certificates. Much of this is only documented in existing code. > > With Safari you have to import the client's certificate into the keychain. Then it works fine. Unfortunately, it doesn't go away when you are done with it. Unlike the smart card which, when removed, removes the certificate, the Safari certificate can continue to be used by anyone afterwards. Hence, its not all that useful for authentication. One approach I have heard about, but not investigated yet is to place the keychain on the removable device. That would make it go away. However, that approach would not work with any other browser or mail program. > > Any ideas/suggestions on this will be appreciated. Thanks, > > -- Doug A little while back I wrote a system to do a simple Two Factor Authentication and dynamic manipulation of PF (Packet Filter) Tables. I created it to prevent brute-force attacks on the servers that I have exposed on the Internet. Users would carry around a flash drive that has an HTML file containing a "message" that is signed by your server (Alternatively, the HTML file can be saved/placed of frequently used devices). When users double-click that file, that message is verfified and the user is then prompted for his/her password. If the password is correct, then access from the user's IP is allowed to your server. The system is released as FOSS and is available at: http://taferno.sourceforge.net More info may be found at: http://taferno.com I don't know if it will work for you. But, you can try if you'd like. > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" From cpghost at cordula.ws Tue Mar 26 17:46:59 2013 From: cpghost at cordula.ws (C. P. Ghost) Date: Tue, 26 Mar 2013 18:46:57 +0100 Subject: Status of Xen/Dom0 on FreeBSD? In-Reply-To: <5151C85D.4050702@ShaneWare.Biz> References: <5151C85D.4050702@ShaneWare.Biz> Message-ID: On Tue, Mar 26, 2013 at 5:10 PM, Shane Ambler wrote: > On 26/03/2013 23:30, C. P. Ghost wrote: > >> Hello, >> >> I'm wondering if there's been some progress on the Xen/Dom0 >> front recently. The Wiki >> https://wiki.freebsd.org/**FreeBSD/Xen >> still doesn't show any improvements in this area, but it may >> also be outdated (?). >> > > Not sure about any Xen/Dom0 work but I get the impression that bhyve is > the focus of freebsd development in that area. > > https://wiki.freebsd.org/bhyve > > Interesting! Thanks for the hint. However, that's not what I'm looking for. I'm interested in running a type-1 Hypervisor with FreeBSD as the host (as in Xen/Dom0) and all kinds of DomU clients (FreeBSD, Linux, Windows, etc.). The host machine will be a server with at least 90 GB RAM (later up to 512 GB) and plenty of SAS/SATA drives. Since I'm considering running ZFS on those drives at the host level, and serving the clients on top of that, FreeBSD as Xen/Dom0 seems like a good idea... if it was already available. However, I'm not sure yet if ZFS would be advisable for this scenario or if it would kill performance. If not, I wouldn't mind running Xen/Dom0 with some lightweight Linux distro as host, and FreeBSD as DomU. It wouldn't be as nice as a native FreeBSD setup, but it's better than nothing. Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From walterhurry at gmail.com Tue Mar 26 19:13:26 2013 From: walterhurry at gmail.com (Walter Hurry) Date: Tue, 26 Mar 2013 19:13:04 +0000 (UTC) Subject: Still a problem with 'pkg check -Ba' Message-ID: I hope Matthew Seaman sees this: All the files are of course present and correct in /usr/local/lib/ virtualbox # pkg check -Ba pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxAutostart - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxAutostart - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxBalloonCtrl - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxBalloonCtrl - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxManage - shared library VBoxDDU.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxManage - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxManage - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxSVC - shared library VBoxDDU.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxSVC - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxSVC - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxTestOGL - shared library VBoxOGLhostcrutil.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxTestOGL - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxTestOGL - shared library VBoxREM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxTestOGL - shared library VBoxVMM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxTestOGL - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxXPCOMIPCD - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/bin/VBoxXPCOMIPCD - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxAutostart - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxAutostart - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxBalloonCtrl - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxBalloonCtrl - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/ VBoxExtPackHelperApp - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxManage - shared library VBoxDDU.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxManage - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxManage - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxSVC - shared library VBoxDDU.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxSVC - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxSVC - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxTestOGL - shared library VBoxOGLhostcrutil.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxTestOGL - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxTestOGL - shared library VBoxREM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxTestOGL - shared library VBoxVMM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxTestOGL - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxXPCOMIPCD - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxXPCOMIPCD - shared library VBoxRT.so not found # From walterhurry at gmail.com Tue Mar 26 19:19:11 2013 From: walterhurry at gmail.com (Walter Hurry) Date: Tue, 26 Mar 2013 19:18:50 +0000 (UTC) Subject: Still a problem with 'pkg check -Ba' References: Message-ID: On Tue, 26 Mar 2013 19:13:04 +0000, Walter Hurry wrote: > I hope Matthew Seaman sees this: > > All the files are of course present and correct in /usr/local/lib/ > virtualbox Should have mentioned: This is pkg-1.0.9_2 From m.seaman at infracaninophile.co.uk Tue Mar 26 21:36:26 2013 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue, 26 Mar 2013 21:36:13 +0000 Subject: Still a problem with 'pkg check -Ba' In-Reply-To: References: Message-ID: <515214CD.6030507@infracaninophile.co.uk> On 26/03/2013 19:18, Walter Hurry wrote: > On Tue, 26 Mar 2013 19:13:04 +0000, Walter Hurry wrote: > >> I hope Matthew Seaman sees this: >> >> All the files are of course present and correct in /usr/local/lib/ >> virtualbox > > > > Should have mentioned: This is pkg-1.0.9_2 I see it. There haven't been any changes to the shlib code in pkg-1.0.x -- however, things have been improved in pkg-1.1. Still not perfect though: worm:...matthew/src/pkgng:# pkg check -B virtualbox-ose pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxAutostart - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxAutostart - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxBalloonCtrl - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxBalloonCtrl - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxExtPackHelperApp - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxManage - shared library VBoxDDU.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxManage - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxManage - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxSVC - shared library VBoxDDU.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxSVC - shared library VBoxRT.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxSVC - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxXPCOMIPCD - shared library VBoxXPCOM.so not found pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxXPCOMIPCD - shared library VBoxRT.so not found Still working on it... Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew at infracaninophile.co.uk -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 268 bytes Desc: OpenPGP digital signature URL: From danny at clari.net.au Tue Mar 26 21:57:14 2013 From: danny at clari.net.au (Daniel O'Callaghan) Date: Wed, 27 Mar 2013 08:56:37 +1100 Subject: Client Authentication In-Reply-To: <20130326171812.GA20118@shellx.eskimo.com> References: <20130326171812.GA20118@shellx.eskimo.com> Message-ID: <51521995.5080203@clari.net.au> On 27/03/2013 4:18 AM, Joseph Olatt wrote: >> Any ideas/suggestions on this will be appreciated. Thanks, >> > >> >-- Doug > A little while back I wrote a system to do a simple Two Factor > Authentication and dynamic manipulation of PF (Packet Filter) Tables. I > created it to prevent brute-force attacks on the servers that I have > exposed on the Internet. I'm happy to share a program I wrote which slows down the brute force attackers. It simply counts the SYN packets from a given IP and limits the rate per minute by dropping the packet if they are coming too fast. Uses ipfw divert sockets, so would work if you prefer ipfw over pf. If you have a known set of OK IP addresses, you can allow them in ipfw rules before the packets get passed through ratelimit. ratelimit usage: -p maximum packet size (default: 16384 bytes) -d divert port number (default: 1) -r rate at which 50% of packets are dropped (default: 4) -f rate at which 100% of packets are dropped (default: 8) -l number of seconds to sleep between syslog() calls (default: 30) -z path path of pidfile (default: /var/run/ratelimit.pid) -h this message Have you looked at simply using a non-standard port? Danny From m.seaman at infracaninophile.co.uk Tue Mar 26 22:02:59 2013 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue, 26 Mar 2013 22:02:53 +0000 Subject: Still a problem with 'pkg check -Ba' In-Reply-To: <515214CD.6030507@infracaninophile.co.uk> References: <515214CD.6030507@infracaninophile.co.uk> Message-ID: <51521B0D.3050204@infracaninophile.co.uk> On 26/03/2013 21:36, Matthew Seaman wrote: > On 26/03/2013 19:18, Walter Hurry wrote: >> On Tue, 26 Mar 2013 19:13:04 +0000, Walter Hurry wrote: >> >>> I hope Matthew Seaman sees this: >>> >>> All the files are of course present and correct in /usr/local/lib/ >>> virtualbox >> >> >> >> Should have mentioned: This is pkg-1.0.9_2 > > I see it. There haven't been any changes to the shlib code in pkg-1.0.x > -- however, things have been improved in pkg-1.1. Still not perfect though: > > worm:...matthew/src/pkgng:# pkg check -B virtualbox-ose > pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxAutostart - > shared library VBoxRT.so not found > pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxAutostart - > shared library VBoxXPCOM.so not found > pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxBalloonCtrl - > shared library VBoxRT.so not found > pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxBalloonCtrl - > shared library VBoxXPCOM.so not found > pkg: (virtualbox-ose-4.2.6) > /usr/local/lib/virtualbox/VBoxExtPackHelperApp - shared library > VBoxRT.so not found > pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxManage - > shared library VBoxDDU.so not found > pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxManage - > shared library VBoxRT.so not found > pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxManage - > shared library VBoxXPCOM.so not found > pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxSVC - shared > library VBoxDDU.so not found > pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxSVC - shared > library VBoxRT.so not found > pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxSVC - shared > library VBoxXPCOM.so not found > pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxXPCOMIPCD - > shared library VBoxXPCOM.so not found > pkg: (virtualbox-ose-4.2.6) /usr/local/lib/virtualbox/VBoxXPCOMIPCD - > shared library VBoxRT.so not found > > Still working on it... Actually, fixed that problem and just pushed the commit to master... worm:...matthew/src/pkgng:# pkg check -vB virtualbox-ose Reanalyzing files for shlibs: virtualbox-ose worm:...matthew/src/pkgng:# pkg info -B virtualbox-ose virtualbox-ose-4.2.6: libxml2.so.5 libvncserver.so.0 libssl.so.8 libpng15.so.15 libiconv.so.3 libcurl.so.6 libcrypto.so.8 VBoxXPCOM.so VBoxVMM.so VBoxRT.so VBoxREM.so VBoxDDU.so VBoxDD2.so Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew at infracaninophile.co.uk -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 268 bytes Desc: OpenPGP digital signature URL: From gmx at ross.cx Wed Mar 27 00:08:24 2013 From: gmx at ross.cx (Michael Ross) Date: Wed, 27 Mar 2013 00:37:59 +0100 Subject: Client Authentication In-Reply-To: <51521995.5080203@clari.net.au> References: <20130326171812.GA20118@shellx.eskimo.com> <51521995.5080203@clari.net.au> Message-ID: On Tue, 26 Mar 2013 22:56:37 +0100, Daniel O'Callaghan wrote: > On 27/03/2013 4:18 AM, Joseph Olatt wrote: >>> Any ideas/suggestions on this will be appreciated. Thanks, >>> > >>> >-- Doug >> A little while back I wrote a system to do a simple Two Factor >> Authentication and dynamic manipulation of PF (Packet Filter) Tables. I >> created it to prevent brute-force attacks on the servers that I have >> exposed on the Internet. > I'm happy to share a program I wrote which slows down the brute force > attackers. > It simply counts the SYN packets from a given IP and limits the rate per > minute by dropping the packet if they are coming too fast. > > Uses ipfw divert sockets, so would work if you prefer ipfw over pf. Me Me Me! ...ahem. I do prefer IPFW over PF and would very much like to try it out, so please do share. Regards, Michael From danny at clari.net.au Wed Mar 27 00:38:13 2013 From: danny at clari.net.au (Daniel O'Callaghan) Date: Wed, 27 Mar 2013 11:37:36 +1100 Subject: Client Authentication In-Reply-To: References: <20130326171812.GA20118@shellx.eskimo.com> <51521995.5080203@clari.net.au> Message-ID: <51523F50.3040205@clari.net.au> On 27/03/2013 10:37 AM, Michael Ross wrote: >> I'm happy to share a program I wrote which slows down the brute force >> attackers. >> It simply counts the SYN packets from a given IP and limits the rate >> per minute by dropping the packet if they are coming too fast. >> >> Uses ipfw divert sockets, so would work if you prefer ipfw over pf. > > Me Me Me! ...ahem. > I do prefer IPFW over PF and would very much like to try it out, > so please do share. OK, here 'tis https://secure.clari.net.au/ratelimit2.tgz Danny From gmx at ross.cx Wed Mar 27 01:59:17 2013 From: gmx at ross.cx (Michael Ross) Date: Wed, 27 Mar 2013 02:59:06 +0100 Subject: Client Authentication In-Reply-To: <51523F50.3040205@clari.net.au> References: <20130326171812.GA20118@shellx.eskimo.com> <51521995.5080203@clari.net.au> <51523F50.3040205@clari.net.au> Message-ID: On Wed, 27 Mar 2013 01:37:36 +0100, Daniel O'Callaghan wrote: > On 27/03/2013 10:37 AM, Michael Ross wrote: >>> I'm happy to share a program I wrote which slows down the brute force >>> attackers. >>> It simply counts the SYN packets from a given IP and limits the rate >>> per minute by dropping the packet if they are coming too fast. >>> >>> Uses ipfw divert sockets, so would work if you prefer ipfw over pf. >> >> Me Me Me! ...ahem. >> I do prefer IPFW over PF and would very much like to try it out, >> so please do share. > OK, here 'tis > > https://secure.clari.net.au/ratelimit2.tgz > > Danny Thanks! I'd like to be able to change the time window: http://gurder.ross.cx/misc/ratelimit.patch Regards, Michael From danny at clari.net.au Wed Mar 27 02:29:56 2013 From: danny at clari.net.au (Daniel O'Callaghan) Date: Wed, 27 Mar 2013 13:29:20 +1100 Subject: Client Authentication In-Reply-To: References: <20130326171812.GA20118@shellx.eskimo.com> <51521995.5080203@clari.net.au> <51523F50.3040205@clari.net.au> Message-ID: <51525980.1020008@clari.net.au> On 27/03/2013 12:59 PM, Michael Ross wrote: > I'd like to be able to change the time window: > > http://gurder.ross.cx/misc/ratelimit.patch Neat. Thanks for that. Danny From perryh at pluto.rain.com Wed Mar 27 09:01:02 2013 From: perryh at pluto.rain.com (Perry Hutchison) Date: Wed, 27 Mar 2013 01:57:48 -0700 Subject: line lengths in /etc/hosts Message-ID: <5152b48c.U+MyuQ85COeWB4wW%perryh@pluto.rain.com> Is there a limit on line length in FreeBSD's /etc/hosts? I'm not finding any mention of such a limit in hosts(5), but characters beyond the first 660 or so seem to be ignored. To answer the inevitable followup "why would anyone need such a long line in /etc/hosts": With this line in /etc/nsswitch.conf hosts: files dns I can easily suppress access to unwanted web sites by adding names to the localhost line in /etc/hosts, like this: 127.0.0.1 localhost localhost.my.domain bad1.com bad2.com ... My version of that line has gotten rather long :) From freebsd at edvax.de Wed Mar 27 09:06:40 2013 From: freebsd at edvax.de (Polytropon) Date: Wed, 27 Mar 2013 10:06:39 +0100 Subject: line lengths in /etc/hosts In-Reply-To: <5152b48c.U+MyuQ85COeWB4wW%perryh@pluto.rain.com> References: <5152b48c.U+MyuQ85COeWB4wW%perryh@pluto.rain.com> Message-ID: <20130327100639.bcdaf9cc.freebsd@edvax.de> On Wed, 27 Mar 2013 01:57:48 -0700, Perry Hutchison wrote: > I can easily suppress access to unwanted web sites by adding > names to the localhost line in /etc/hosts, like this: > > 127.0.0.1 localhost localhost.my.domain bad1.com bad2.com ... > > My version of that line has gotten rather long :) Without actually havint tested this, but have you considered using the \ continuation character (linebreak escape) to avoid the problem? Also I think there's not a generic limit to the /etc/hosts file itself, but maybe to the input buffers of the programs that read this file... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From norgaard at locolomo.org Wed Mar 27 09:09:44 2013 From: norgaard at locolomo.org (=?utf-8?Q?Erik_N=C3=B8rgaard?=) Date: Wed, 27 Mar 2013 10:09:29 +0100 Subject: line lengths in /etc/hosts In-Reply-To: <5152b48c.U+MyuQ85COeWB4wW%perryh@pluto.rain.com> References: <5152b48c.U+MyuQ85COeWB4wW%perryh@pluto.rain.com> Message-ID: On 27 Mar 2013, at 09:57, perryh at pluto.rain.com (Perry Hutchison) wrote: > Is there a limit on line length in FreeBSD's /etc/hosts? > > I'm not finding any mention of such a limit in hosts(5), but > characters beyond the first 660 or so seem to be ignored. > > To answer the inevitable followup "why would anyone need such > a long line in /etc/hosts": > > With this line in /etc/nsswitch.conf > > hosts: files dns > > I can easily suppress access to unwanted web sites by adding > names to the localhost line in /etc/hosts, like this: > > 127.0.0.1 localhost localhost.my.domain bad1.com bad2.com ... > > My version of that line has gotten rather long :) AFAIK you can have multiple lines. BR From erichsfreebsdlist at alogt.com Wed Mar 27 09:31:34 2013 From: erichsfreebsdlist at alogt.com (Erich Dollansky) Date: Wed, 27 Mar 2013 16:31:20 +0700 Subject: line lengths in /etc/hosts In-Reply-To: References: <5152b48c.U+MyuQ85COeWB4wW%perryh@pluto.rain.com> Message-ID: <20130327163120.6877eeee@X220.ovitrap.com> Hi, On Wed, 27 Mar 2013 10:09:29 +0100 Erik N?rgaard wrote: > On 27 Mar 2013, at 09:57, perryh at pluto.rain.com (Perry Hutchison) > wrote: > > > Is there a limit on line length in FreeBSD's /etc/hosts? > > > > I'm not finding any mention of such a limit in hosts(5), but > > characters beyond the first 660 or so seem to be ignored. > > > > To answer the inevitable followup "why would anyone need such > > a long line in /etc/hosts": > > > > With this line in /etc/nsswitch.conf > > > > hosts: files dns > > > > I can easily suppress access to unwanted web sites by adding > > names to the localhost line in /etc/hosts, like this: > > > > 127.0.0.1 localhost localhost.my.domain bad1.com bad2.com ... > > > > My version of that line has gotten rather long :) > > AFAIK you can have multiple lines. > yes, I have hundreds or even thousands of lines and never ran into any problems. Erich From guru at unixarea.de Wed Mar 27 09:49:37 2013 From: guru at unixarea.de (Matthias Apitz) Date: Wed, 27 Mar 2013 10:49:25 +0100 Subject: OT: The future of USENET? Message-ID: <20130327094925.GA2867@tinyCurrent> Hello, This is a bit OT, but maybe some of you FreeBSD folks are as well affected like me and/or have any answer or comments... In the past I've used a lot the so called newsgroups, even running my own inn news server for our company and nn as the newsreader. I liked to post there technical (and other) questions and answers, or I've google'ed for solutions. Nowadays there is a big silence :-( Where have all the people gone? Is USENET coming to its end? matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru at unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From quartz at sneakertech.com Wed Mar 27 10:50:04 2013 From: quartz at sneakertech.com (Quartz) Date: Wed, 27 Mar 2013 06:49:57 -0400 Subject: OT: The future of USENET? In-Reply-To: <20130327094925.GA2867@tinyCurrent> References: <20130327094925.GA2867@tinyCurrent> Message-ID: <5152CED5.20005@sneakertech.com> >Is USENET coming to its end? Yes, for better or worse. It's been a slow downward spiral since the late 90's. I can't speak for other countries, but in the US the majority of ISPs started dropping access as a cost cutting measure since your average layman didn't really understand or use it. Younger generations in turn never knew it existed and ended up reinventing most of the functionality with web forums. Not helping matters is that, due to a couple isolated cases, the news media ignorantly view usenet as a haven for child porn and pirate movies, so there's increasing clamor to shut it down. There were a few 3rd party companies here and there that offered dedicated access, but most of them have closed up shop by this point due to social/political pressure. ______________________________________ it has a certain smooth-brained appeal From freebsd at edvax.de Wed Mar 27 10:52:29 2013 From: freebsd at edvax.de (Polytropon) Date: Wed, 27 Mar 2013 11:52:34 +0100 Subject: OT: The future of USENET? In-Reply-To: <20130327094925.GA2867@tinyCurrent> References: <20130327094925.GA2867@tinyCurrent> Message-ID: <20130327115234.1ff721ae.freebsd@edvax.de> On Wed, 27 Mar 2013 10:49:25 +0100, Matthias Apitz wrote: > Where have all the people gone? They're using wibbly wobbly web wonder services, unless they've been placed in a retirement castle. :-) > Is USENET coming to its end? I think it's just changing audiences. A common means of USENET today seems to be binary groups for sharing warez. There are few newsgroups considered "old-fashioned", "greybeard" and "elitist" grounds. The common means of communication probably has moved to other services, generic ones such as mailing lists, and more "service- oriented" ones like the many web-based platforms. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From quartz at sneakertech.com Wed Mar 27 10:55:55 2013 From: quartz at sneakertech.com (Quartz) Date: Wed, 27 Mar 2013 06:55:47 -0400 Subject: OT: The future of USENET? In-Reply-To: <5152CED5.20005@sneakertech.com> References: <20130327094925.GA2867@tinyCurrent> <5152CED5.20005@sneakertech.com> Message-ID: <5152D033.2030501@sneakertech.com> >Younger generations In my experience, few people under the age of 30 have used usenet, and no one under the age of 20 has even heard of it. ______________________________________ it has a certain smooth-brained appeal From aimass at yabarana.com Wed Mar 27 11:35:54 2013 From: aimass at yabarana.com (Alejandro Imass) Date: Wed, 27 Mar 2013 07:35:53 -0400 Subject: OT: The future of USENET? In-Reply-To: <5152D033.2030501@sneakertech.com> References: <20130327094925.GA2867@tinyCurrent> <5152CED5.20005@sneakertech.com> <5152D033.2030501@sneakertech.com> Message-ID: On Wed, Mar 27, 2013 at 6:55 AM, Quartz wrote: >> Younger generations > > > In my experience, few people under the age of 30 have used usenet, and no > one under the age of 20 has even heard of it. > It's interesting to see all the re-inventions that occur all the time. It's basically the same stuff, just re-invented for a wider audience, lowering the barrier of entry in some cases and in others just plain stupidity and ignorance. Many times these re-inventions happen without even prior knowledge of what exists and other times are "simplified" forks, or robbed ideas that wind up being the same or worse than their original counterparts. Examples are in all areas of technology, and in society in general. For example, chat and instant messaging have always been avail for IRC users since the late eighties but have been re-invented in the late nineties with a bunch of incompatible and overlapping IM protocols. Blogs and forums are also re-inventions of older and in many cases more robust and versatile technologies like USENET and mailing lists. In many cases what I find that is a shame is that these re-inventions don't build on top of mature technologies but rather start out as simple things and then evolve to overly complex things without any elegance and that (as stated above) wind up being even more complex and generally much less elegant than their older counterparts. A good example is Windows and perhaps most of MS technology in general, with a few counted exceptions. In some cases the prior art in known quite well, take for example PHP which was originally written in Perl, then forked to a new language for whatever reasons, and the evolves to be as complex or worse than Perl itself, and after all these years it's still not a full-fledged and decent programming language. In some cases, the evolutionary line is actually positive, take for example Ruby. Yet in this case, Perl has continued to evolve quite well, as Larry Wall well put it: "The camel has evolved to be relatively self-sufficient. (On the other hand, the camel has not evolved to smell good. Neither has Perl.)". One could go on forever with thousands of example, but it's all about evolution and you can only evaluate these things with time. Who knows, maybe USENET, IRC. etc. will continue to evolve and survive in niches, or someday make a great comeback when other options have run their course and have gone extinct. Best, -- Alejandro From cpghost at cordula.ws Wed Mar 27 11:45:57 2013 From: cpghost at cordula.ws (C. P. Ghost) Date: Wed, 27 Mar 2013 12:45:55 +0100 Subject: OT: The future of USENET? In-Reply-To: <20130327094925.GA2867@tinyCurrent> References: <20130327094925.GA2867@tinyCurrent> Message-ID: On Wed, Mar 27, 2013 at 10:49 AM, Matthias Apitz wrote: > > Hello, > > This is a bit OT, but maybe some of you FreeBSD folks are as well > affected like me and/or have any answer or comments... > > In the past I've used a lot the so called newsgroups, even running my own > inn > news server for our company and nn as the newsreader. I liked to post > there technical (and other) questions and answers, or I've google'ed for > solutions. > > Nowadays there is a big silence :-( > Where have all the people gone? Is USENET coming to its end? > Well, the public Usenet forums are dwindling, but still there, and some of them are still quite active. Usenet is also still doing well in closed communities which can afford to run a newsserver (e.g. some Universities). I wouldn't write off Usenet yet; neither as a technology nor as a real network. -cpghost. > matthias > -- > Matthias Apitz | /"\ ASCII Ribbon Campaign: > www.asciiribbon.org > E-mail: guru at unixarea.de | \ / - No HTML/RTF in E-mail > WWW: http://www.unixarea.de/ | X - No proprietary attachments > phone: +49-170-4527211 | / \ - Respect for open standards > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > -- Cordula's Web. http://www.cordula.ws/ From me at staticsafe.ca Wed Mar 27 12:01:04 2013 From: me at staticsafe.ca (staticsafe) Date: Wed, 27 Mar 2013 08:00:54 -0400 Subject: OT: The future of USENET? In-Reply-To: <5152D033.2030501@sneakertech.com> References: <20130327094925.GA2867@tinyCurrent> <5152CED5.20005@sneakertech.com> <5152D033.2030501@sneakertech.com> Message-ID: <5152DF76.1020108@staticsafe.ca> On 3/27/2013 6:55, Quartz wrote: >> Younger generations > > In my experience, few people under the age of 30 have used usenet, and > no one under the age of 20 has even heard of it. > 19 year old usenet subscriber reporting in! I subscribe to ASR and c.p.t.ntp which are the only decent newsgroups that I have found, I've tried a few others but they seem to be dead and filled with spam. Anyone got any recommendations for newsgroups to subscribe to? :) -- staticsafe O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post - http://goo.gl/YrmAb Don't CC me! I'm subscribed to whatever list I just posted on. From lolox-freebsd at lolox.net Wed Mar 27 12:22:11 2013 From: lolox-freebsd at lolox.net (Loic Capdeville) Date: Wed, 27 Mar 2013 13:22:19 +0100 Subject: Upgrade devel/py-setuptools Message-ID: <5152E47B.6080904@lolox.net> Hi ! I'm trying to update devel/py-setuptools which has been replaced by devel/py-distribute. As mentioned in /usr/ports/UPDATING I did "portupgrade -fo devel/py-distribute devel/py-setuptools" since I'm using ports, but nothing happens. Output of "pkg_version -vIL=" : py27-setuptools-0.6c11_3 > succeeds index (index has 0.6.35) I already tried to fix the package registry using "pkgdb -F". I've been trying to fix this for days, but still can't find a solution. Any idea ? Thanks. Loic From jerry at seibercom.net Wed Mar 27 12:33:51 2013 From: jerry at seibercom.net (Jerry) Date: Wed, 27 Mar 2013 08:33:41 -0400 Subject: Upgrade devel/py-setuptools In-Reply-To: <5152E47B.6080904@lolox.net> References: <5152E47B.6080904@lolox.net> Message-ID: <20130327083341.3871ee5a@scorpio> On Wed, 27 Mar 2013 13:22:19 +0100 Loic Capdeville articulated: > I'm trying to update devel/py-setuptools which has been replaced by > devel/py-distribute. > As mentioned in /usr/ports/UPDATING I did "portupgrade -fo > devel/py-distribute devel/py-setuptools" since I'm using ports, but > nothing happens. > > Output of "pkg_version -vIL=" : > py27-setuptools-0.6c11_3 > succeeds index (index has > 0.6.35) > > I already tried to fix the package registry using "pkgdb -F". > > I've been trying to fix this for days, but still can't find a > solution. I have the same problem. However, since everything is apparently working I just chose to ignore it. It probably should get corrected though. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From c.kworr at gmail.com Wed Mar 27 12:51:03 2013 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Wed, 27 Mar 2013 14:50:59 +0200 Subject: Upgrade devel/py-setuptools In-Reply-To: <5152E47B.6080904@lolox.net> References: <5152E47B.6080904@lolox.net> Message-ID: <5152EB33.4010009@gmail.com> 2013-03-27 14:22, Loic Capdeville wrote: > Hi ! > > I'm trying to update devel/py-setuptools which has been replaced by > devel/py-distribute. > As mentioned in /usr/ports/UPDATING I did "portupgrade -fo > devel/py-distribute devel/py-setuptools" since I'm using ports, but > nothing happens. > > Output of "pkg_version -vIL=" : > py27-setuptools-0.6c11_3 > succeeds index (index has 0.6.35) > > I already tried to fix the package registry using "pkgdb -F". > > I've been trying to fix this for days, but still can't find a solution. > > Any idea ? Can you post contents of /usr/local/lib/python2.7/site-packages/easy-install.pth* files? -- Sphinx of black quartz, judge my vow. From lolox-freebsd at lolox.net Wed Mar 27 13:00:43 2013 From: lolox-freebsd at lolox.net (Loic Capdeville) Date: Wed, 27 Mar 2013 14:00:59 +0100 Subject: Upgrade devel/py-setuptools In-Reply-To: <5152EB33.4010009@gmail.com> References: <5152E47B.6080904@lolox.net> <5152EB33.4010009@gmail.com> Message-ID: <5152ED8B.8080408@lolox.net> On 27/03/2013 13:50, Volodymyr Kostyrko wrote: > 2013-03-27 14:22, Loic Capdeville wrote: >> Hi ! >> >> I'm trying to update devel/py-setuptools which has been replaced by >> devel/py-distribute. >> As mentioned in /usr/ports/UPDATING I did "portupgrade -fo >> devel/py-distribute devel/py-setuptools" since I'm using ports, but >> nothing happens. >> >> Output of "pkg_version -vIL=" : >> py27-setuptools-0.6c11_3 > succeeds index (index has 0.6.35) >> >> I already tried to fix the package registry using "pkgdb -F". >> >> I've been trying to fix this for days, but still can't find a solution. >> >> Any idea ? > > Can you post contents of > /usr/local/lib/python2.7/site-packages/easy-install.pth* files? > Thanks for your quick response. Here is what you requested: -rw-r--r-- 1 root wheel 395 Mar 13 04:50 /usr/local/lib/python2.7/site-packages/easy-install.pth -rw-r--r-- 1 root wheel 215 Dec 30 15:04 /usr/local/lib/python2.7/site-packages/easy-install.pth.dist From lolox-freebsd at lolox.net Wed Mar 27 13:05:55 2013 From: lolox-freebsd at lolox.net (Loic Capdeville) Date: Wed, 27 Mar 2013 14:06:04 +0100 Subject: Upgrade devel/py-setuptools In-Reply-To: <5152ED8B.8080408@lolox.net> References: <5152E47B.6080904@lolox.net> <5152EB33.4010009@gmail.com> <5152ED8B.8080408@lolox.net> Message-ID: <5152EEBC.20805@lolox.net> On 27/03/2013 14:00, Loic Capdeville wrote: > On 27/03/2013 13:50, Volodymyr Kostyrko wrote: >> 2013-03-27 14:22, Loic Capdeville wrote: >>> Hi ! >>> >>> I'm trying to update devel/py-setuptools which has been replaced by >>> devel/py-distribute. >>> As mentioned in /usr/ports/UPDATING I did "portupgrade -fo >>> devel/py-distribute devel/py-setuptools" since I'm using ports, but >>> nothing happens. >>> >>> Output of "pkg_version -vIL=" : >>> py27-setuptools-0.6c11_3 > succeeds index (index has >>> 0.6.35) >>> >>> I already tried to fix the package registry using "pkgdb -F". >>> >>> I've been trying to fix this for days, but still can't find a solution. >>> >>> Any idea ? >> >> Can you post contents of >> /usr/local/lib/python2.7/site-packages/easy-install.pth* files? >> > > Thanks for your quick response. > Here is what you requested: > > -rw-r--r-- 1 root wheel 395 Mar 13 04:50 > /usr/local/lib/python2.7/site-packages/easy-install.pth > -rw-r--r-- 1 root wheel 215 Dec 30 15:04 > /usr/local/lib/python2.7/site-packages/easy-install.pth.dist > > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe at freebsd.org" ... and the files content: /usr/local/lib/python2.7/site-packages/easy-install.pth: import sys; sys.__plen = len(sys.path) ./setuptools-0.6c11-py2.7.egg ./Pygments-1.5-py2.7.egg ./Babel-0.9.6-py2.7.egg ./MarkupSafe-0.15-py2.7-freebsd-9.0-RELEASE-amd64.egg ./Jinja2-2.6-py2.7.egg ./Sphinx-1.1.3-py2.7.egg ./virtualenv-1.9.1-py2.7.egg import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new) /usr/local/lib/python2.7/site-packages/easy-install.pth.dist: import sys; sys.__plen = len(sys.path) ./setuptools-0.6c11-py2.7.egg import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new) From c.kworr at gmail.com Wed Mar 27 13:27:14 2013 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Wed, 27 Mar 2013 15:27:10 +0200 Subject: Upgrade devel/py-setuptools In-Reply-To: <5152EEBC.20805@lolox.net> References: <5152E47B.6080904@lolox.net> <5152EB33.4010009@gmail.com> <5152ED8B.8080408@lolox.net> <5152EEBC.20805@lolox.net> Message-ID: <5152F3AE.3010604@gmail.com> 2013-03-27 15:06, Loic Capdeville wrote: > /usr/local/lib/python2.7/site-packages/easy-install.pth: > > import sys; sys.__plen = len(sys.path) > ../setuptools-0.6c11-py2.7.egg > ../Pygments-1.5-py2.7.egg > ../Babel-0.9.6-py2.7.egg > ../MarkupSafe-0.15-py2.7-freebsd-9.0-RELEASE-amd64.egg > ../Jinja2-2.6-py2.7.egg > ../Sphinx-1.1.3-py2.7.egg > ../virtualenv-1.9.1-py2.7.egg > import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; > p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = > p+len(new) > > > /usr/local/lib/python2.7/site-packages/easy-install.pth.dist: > > import sys; sys.__plen = len(sys.path) > ../setuptools-0.6c11-py2.7.egg > import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; > p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = > p+len(new) Looks like py-distribute is not installed at all. what was the outcome of "portupgrade -fo devel/py-distribute devel/py-setuptools"? Can you try running that again? -- Sphinx of black quartz, judge my vow. From lsantagostini at gmail.com Wed Mar 27 13:29:06 2013 From: lsantagostini at gmail.com (Leonardo Santagostini) Date: Wed, 27 Mar 2013 10:29:05 -0300 Subject: Release 9.1 and 3G usb Modem Message-ID: Hello all. I have a latitude e6400 with FreeBSD Release 9.1. And i can't get the USB modem working. I tried with umodem, u3g but no luck :( -- Dmesg root@:/root # dmesg 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 root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 CPU: Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz (2261.05-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x1067a Family = 6 Model = 17 Stepping = 10 Features=0xbfebfbff Features2=0x408e3fd AMD Features=0x20100000 AMD Features2=0x1 TSC: P-state invariant, performance statistics real memory = 2147483648 (2048 MB) avail memory = 1967104000 (1875 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 kqemu version 0x00010400 kqemu: KQEMU installed, max_locked_mem=980872kB. acpi0: on motherboard Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Event timer "HPET3" frequency 14318180 Hz quality 440 acpi0: reservation of 0, 9f000 (3) failed acpi0: reservation of 100000, 78f4d400 (3) failed cpu0: on acpi0 cpu1: on acpi0 atrtc0: port 0x70-0x71,0x72-0x77 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43,0x50-0x53 irq 2 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: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_ec0: port 0x930,0x934 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xef70-0xef77 mem 0xf6c00000-0xf6ffffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: aperture size is 256M, detected 32764k stolen memory vgapci1: mem 0xf6b00000-0xf6bfffff at device 2.1 on pci0 pci0: at device 3.0 (no driver attached) atapci0: port 0xef78-0xef7f,0xef68-0xef6b,0xef80-0xef87,0xef6c-0xef6f,0xef90-0xef9f irq 18 at device 3.2 on pci0 ata2: at channel 0 on atapci0 ata3: at channel 1 on atapci0 pci0: at device 3.3 (no driver attached) em0: port 0xefe0-0xefff mem 0xf6ae0000-0xf6afffff,0xf6adb000-0xf6adbfff irq 22 at device 25.0 on pci0 em0: Using an MSI interrupt em0: Ethernet address: 00:1e:c9:25:e8:07 uhci0: port 0x6f60-0x6f7f irq 20 at device 26.0 on pci0 uhci0: LegSup = 0x2f00 usbus0 on uhci0 uhci1: port 0x6f80-0x6f9f irq 21 at device 26.1 on pci0 uhci1: LegSup = 0x2f00 usbus1 on uhci1 uhci2: port 0x6fa0-0x6fbf irq 22 at device 26.2 on pci0 uhci2: LegSup = 0x2f00 usbus2 on uhci2 ehci0: mem 0xfed1c400-0xfed1c7ff irq 22 at device 26.7 on pci0 usbus3: EHCI version 1.0 usbus3 on ehci0 hdac0: mem 0xf6adc000-0xf6adffff irq 21 at device 27.0 on pci0 pcib1: at device 28.0 on pci0 pci11: on pcib1 pcib2: at device 28.1 on pci0 pci12: on pcib2 iwn0: mem 0xf69fe000-0xf69fffff irq 17 at device 0.0 on pci12 pcib3: at device 28.2 on pci0 pci13: on pcib3 uhci3: port 0x6f00-0x6f1f irq 20 at device 29.0 on pci0 uhci3: LegSup = 0x2f00 usbus4 on uhci3 uhci4: port 0x6f20-0x6f3f irq 21 at device 29.1 on pci0 uhci4: LegSup = 0x2f00 usbus5 on uhci4 uhci5: port 0x6f40-0x6f5f irq 22 at device 29.2 on pci0 uhci5: LegSup = 0x2f00 usbus6 on uhci5 ehci1: mem 0xfed1c000-0xfed1c3ff irq 20 at device 29.7 on pci0 usbus7: EHCI version 1.0 usbus7 on ehci1 pcib4: at device 30.0 on pci0 pci3: on pcib4 cbb0: irq 19 at device 1.0 on pci3 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 fwohci0: <1394 Open Host Controller Interface> mem 0xf68ff800-0xf68fffff irq 17 at device 1.1 on pci3 fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 35:4f:c0:00:2e:29:4e:21 fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 36:4f:c0:29:4e:21 fwe0: Ethernet address: 36:4f:c0:29:4e:21 fwip0: on firewire0 fwip0: Firewire address: 35:4f:c0:00:2e:29:4e:21 @ 0xfffe00000000, S400, maxrec 2048 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x76db8000 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode pci3: at device 1.2 (no driver attached) pci3: at device 1.3 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0x6e70-0x6e77,0x6e78-0x6e7b,0x6e80-0x6e87,0x6e88-0x6e8b,0x6ea0-0x6eaf,0x6e90-0x6e9f irq 19 at device 31.2 on pci0 ata4: at channel 0 on atapci1 ata5: at channel 1 on atapci1 pci0: at device 31.3 (no driver attached) atapci2: port 0x6eb0-0x6eb7,0x6eb8-0x6ebb,0x6ec0-0x6ec7,0x6ec8-0x6ecb,0x6ee0-0x6eef,0xefa0-0xefaf irq 19 at device 31.5 on pci0 ata6: at channel 0 on atapci2 ata7: at channel 1 on atapci2 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_acad0: on acpi0 battery0: on acpi0 battery1: on acpi0 acpi_tz0: port 0x100-0x107 on acpi0 atkbdc0: port 0x60,0x64,0x62,0x66 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model GlidePoint, device ID 0 uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcf7ff,0xcf800-0xcffff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ata0: at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata1: at port 0x170-0x177,0x376 irq 15 on isa0 ppc0: parallel port not found. ctl: CAM Target Layer loaded est0: on cpu0 p4tcc0: on cpu0 est1: on cpu1 p4tcc1: on cpu1 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus manager 0 hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 13,10 and 11,14 on hdaa0 pcm1: at nid 15 and 24 on hdaa0 hdacc1: at cad 1 on hdac0 unknown: at nid 2 on hdacc1 (no driver attached) hdacc2: at cad 2 on hdac0 hdaa1: at nid 1 on hdacc2 pcm2: at nid 3 on hdaa1 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 12Mbps Full Speed USB v1.0 usbus7: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 ugen6.1: at usbus6 uhub6: on usbus6 ugen7.1: at usbus7 uhub7: on usbus7 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered uhub3: 6 ports with 6 removable, self powered uhub7: 6 ports with 6 removable, self powered ada0 at ata4 bus 0 scbus2 target 0 lun 0 ada0: ATA-8 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada0: 114473MB (234441648 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad8 cd0 at ata5 bus 0 scbus3 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed SMP: AP CPU #1 Launched! Root mount waiting for: usbus3 Root mount waiting for: usbus3 ugen3.2: at usbus3 Trying to mount root from ufs:/dev/ada0p2 [rw]... ugen0.2: at usbus0 uhub8: on usbus0 ugen2.2: at usbus2 uhub8: 3 ports with 0 removable, self powered ugen0.3: at usbus0 ukbd0: on usbus0 kbd2 at ukbd0 ugen0.4: at usbus0 ums0: on usbus0 ums0: 3 buttons and [XY] coordinates ID=2 wlan0: Ethernet address: 00:21:6a:4b:da:1c wlan0: link state changed to UP ugen7.2: at usbus7 ugen7.2: at usbus7 (disconnected) ugen7.2: at usbus7 umodem0: on usbus7 umodem0: data interface 0, has no CM over data, has no break umodem1: on usbus7 umodem1: data interface 1, has no CM over data, has no break umodem2: on usbus7 umodem2: data interface 2, has no CM over data, has no break umass0: on usbus7 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:9:0:-1: Attached to scbus9 cd1 at umass-sim0 bus 0 scbus9 target 0 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: 40.000MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present umass1: on usbus7 umass1: SCSI over Bulk-Only; quirks = 0x0000 umass1:10:1:-1: Attached to scbus10 da0 at umass-sim1 bus 1 scbus10 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present -- usbconfig list output root@:/root # usbconfig list ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen3.1: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen4.1: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen5.1: at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen6.1: at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen7.1: at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen3.2: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen2.2: <5880 Broadcom Corp> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.3: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen7.2: at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON root@:/root # kldload ucom kldload: can't load ucom: File exists root@:/root # kldload u3g kldload: can't load u3g: File exists root@:/root # sysctl -a dev.u3g sysctl: unknown oid 'dev.u3g' root@:/root # anyone could give to me some clue. Thanks in advance. Saludos / Regards Leonardo Santagostini From lolox-freebsd at lolox.net Wed Mar 27 13:32:52 2013 From: lolox-freebsd at lolox.net (Loic Capdeville) Date: Wed, 27 Mar 2013 14:33:07 +0100 Subject: Upgrade devel/py-setuptools In-Reply-To: <5152F3AE.3010604@gmail.com> References: <5152E47B.6080904@lolox.net> <5152EB33.4010009@gmail.com> <5152ED8B.8080408@lolox.net> <5152EEBC.20805@lolox.net> <5152F3AE.3010604@gmail.com> Message-ID: <5152F513.3040205@lolox.net> On 27/03/2013 14:27, Volodymyr Kostyrko wrote: > 2013-03-27 15:06, Loic Capdeville wrote: >> /usr/local/lib/python2.7/site-packages/easy-install.pth: >> >> import sys; sys.__plen = len(sys.path) >> ../setuptools-0.6c11-py2.7.egg >> ../Pygments-1.5-py2.7.egg >> ../Babel-0.9.6-py2.7.egg >> ../MarkupSafe-0.15-py2.7-freebsd-9.0-RELEASE-amd64.egg >> ../Jinja2-2.6-py2.7.egg >> ../Sphinx-1.1.3-py2.7.egg >> ../virtualenv-1.9.1-py2.7.egg >> import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; >> p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = >> p+len(new) >> >> >> /usr/local/lib/python2.7/site-packages/easy-install.pth.dist: >> >> import sys; sys.__plen = len(sys.path) >> ../setuptools-0.6c11-py2.7.egg >> import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; >> p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = >> p+len(new) > > Looks like py-distribute is not installed at all. > > what was the outcome of "portupgrade -fo devel/py-distribute > devel/py-setuptools"? Can you try running that again? > It hasn't printed anything since the first time I tried to run it... and still print nothing. From andre at drenet.info Wed Mar 27 14:05:19 2013 From: andre at drenet.info (Andre Goree) Date: Wed, 27 Mar 2013 10:05:15 -0400 Subject: icedtea plugin alongside linux-sun-jdk Message-ID: I have linux-sun-jdk16 installed on my workstation at my workplace due to certain linux-based software that I need to be able to run. This works flawlessly, however I'm wondering what caveats I'll run into by now installing the icedtea web browser plugin, since it seems to depend on FreeBSD's openjdk. Is it possible to run these two alongside each other? -- Andre Goree andre at drenet.info From fbsd8 at a1poweruser.com Wed Mar 27 15:55:55 2013 From: fbsd8 at a1poweruser.com (Joe) Date: Wed, 27 Mar 2013 11:54:36 -0400 Subject: /etc/sudoers Message-ID: <5153163C.5070809@a1poweruser.com> I have been moving this file forward since about release 5.0. Today is tried the do a man sudoers and got no page found. The su man page does not reference it. Has the file been removed? Does it maybe belong to some port? Any ideas? Thanks From ml at my.gd Wed Mar 27 16:00:10 2013 From: ml at my.gd (Fleuriot Damien) Date: Wed, 27 Mar 2013 17:00:05 +0100 Subject: /etc/sudoers In-Reply-To: <5153163C.5070809@a1poweruser.com> References: <5153163C.5070809@a1poweruser.com> Message-ID: On Mar 27, 2013, at 4:54 PM, Joe wrote: > I have been moving this file forward since about release 5.0. > Today is tried the do a man sudoers and got no page found. > The su man page does not reference it. > > Has the file been removed? > Does it maybe belong to some port? > Any ideas? > > Thanks The file is actually /usr/loal/etc/sudoers and is tied to /usr/ports/security/sudo Install sudo from there and you automagically get the man page. From freebsd-questions-local at be-well.ilk.org Wed Mar 27 16:05:50 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Wed, 27 Mar 2013 12:05:37 -0400 Subject: freebsd-hackers@freebsd.org In-Reply-To: (budsz's message of "Tue, 26 Mar 2013 15:28:53 +0700") References: Message-ID: <44txnw6d66.fsf@lowell-desk.lan> budsz writes: > I want ask about error in `dmesg` output "remove Bump sched buckets to > 64 (was 0)" > in FreeBSD 8.3 STABLE version. Where's the code lines should be remove (safety)? That message isn't in RELENG_9, so I can't give you details. It's probably resizing a dummynet queue, so it's likely to be in one of the c files in /usr/src/sys/netpfil/ipfw/. Removing the print statment is *probably* safe, but will leave you with less information if something actually goes wrong with allocating buckets the next time you add a new queue. Or you could update to something more recent, where that specific message isn't present at all. From olivares14031 at gmail.com Wed Mar 27 16:24:16 2013 From: olivares14031 at gmail.com (Antonio Olivares) Date: Wed, 27 Mar 2013 11:24:15 -0500 Subject: any 9.1-RELEASE-p1 to 10.0-CURRENT howtos? Message-ID: Dear folks, On one of my machines I cannot get it to update ports, most fail with gettext. I tried some options like disabling Native Language Support in binutils, but it still fails. I deleted all the ports and am looking at starting from scratch again, but this time move to CLANG and build world and install world and not USE gcc and GNU anymore (on the machine which gettext fails). Is there a nice howto as to how to do this? How can it be done in easy steps and then try to track current? I am aware that I would be on my own if I track current, but I want to test many programs to see if they would build without GCC and with CLANG only and report back to the developers and let them know of issues. Thanks, Antonio From c.kworr at gmail.com Wed Mar 27 16:30:13 2013 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Wed, 27 Mar 2013 18:30:09 +0200 Subject: Upgrade devel/py-setuptools In-Reply-To: <5152F513.3040205@lolox.net> References: <5152E47B.6080904@lolox.net> <5152EB33.4010009@gmail.com> <5152ED8B.8080408@lolox.net> <5152EEBC.20805@lolox.net> <5152F3AE.3010604@gmail.com> <5152F513.3040205@lolox.net> Message-ID: <51531E91.7000306@gmail.com> 2013-03-27 15:33, Loic Capdeville wrote: > On 27/03/2013 14:27, Volodymyr Kostyrko wrote: >> 2013-03-27 15:06, Loic Capdeville wrote: >>> /usr/local/lib/python2.7/site-packages/easy-install.pth: >>> >>> import sys; sys.__plen = len(sys.path) >>> ../setuptools-0.6c11-py2.7.egg >>> ../Pygments-1.5-py2.7.egg >>> ../Babel-0.9.6-py2.7.egg >>> ../MarkupSafe-0.15-py2.7-freebsd-9.0-RELEASE-amd64.egg >>> ../Jinja2-2.6-py2.7.egg >>> ../Sphinx-1.1.3-py2.7.egg >>> ../virtualenv-1.9.1-py2.7.egg >>> import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; >>> p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = >>> p+len(new) >>> >>> >>> /usr/local/lib/python2.7/site-packages/easy-install.pth.dist: >>> >>> import sys; sys.__plen = len(sys.path) >>> ../setuptools-0.6c11-py2.7.egg >>> import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; >>> p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = >>> p+len(new) >> >> Looks like py-distribute is not installed at all. >> >> what was the outcome of "portupgrade -fo devel/py-distribute >> devel/py-setuptools"? Can you try running that again? >> > > It hasn't printed anything since the first time I tried to run it... > and still print nothing. So here is a main problem. If it prints nothing it doesn't work. Do you have portupgrade or portmaster installed? Did it yield at least one line? Some errors? If it doesn't that's surely a sign that something is going wrong. -- Sphinx of black quartz, judge my vow. From odhiambo at gmail.com Wed Mar 27 16:31:48 2013 From: odhiambo at gmail.com (Odhiambo Washington) Date: Wed, 27 Mar 2013 19:31:06 +0300 Subject: Release 9.1 and 3G usb Modem In-Reply-To: References: Message-ID: On 27 March 2013 16:29, Leonardo Santagostini wrote: > Hello all. > > I have a latitude e6400 with FreeBSD Release 9.1. And i can't get the USB > modem working. > > I tried with umodem, u3g but no luck :( > [snip] > ugen7.2: at usbus7 > ugen7.2: at usbus7 (disconnected) > ugen7.2: at usbus7 > umodem0: on usbus7 > umodem0: data interface 0, has no CM over data, has no break > umodem1: on usbus7 > umodem1: data interface 1, has no CM over data, has no break > umodem2: on usbus7 > umodem2: data interface 2, has no CM over data, has no break > umass0: on usbus7 > umass0: SCSI over Bulk-Only; quirks = 0x0000 > umass0:9:0:-1: Attached to scbus9 > cd1 at umass-sim0 bus 0 scbus9 target 0 lun 0 > cd1: Removable CD-ROM SCSI-2 device > cd1: 40.000MB/s transfers > cd1: Attempt to query device size failed: NOT READY, Medium not present > umass1: on usbus7 > umass1: SCSI over Bulk-Only; quirks = 0x0000 > umass1:10:1:-1: Attached to scbus10 > da0 at umass-sim1 bus 1 scbus10 target 0 lun 0 > da0: Removable Direct Access SCSI-2 device > da0: 40.000MB/s transfers > da0: Attempt to query device size failed: NOT READY, Medium not present > [snip] Huawei modem, as I can see. That should be easy. Connect to the modem through HyperTerminal or Putty on a different machine Issue the command: AT^U2DIAG=0 That should disable the virtual CD-ROM and FreeBSD will see the modem. Here are some commands you'll need to know about: Do you have a Windows PC near you? If you plug the device into it and the virtualCD pops up, then it means command was not successful. The fact that fake CD still shows means command did not succeed! AT^u2diag=0 (all off) AT^u2diag=1 (CD on, SD off) AT^u2diag=256 (CD off, SD is on) AT^u2diag=255 (all on - including SD Card) AT^u2diag=276 (Factory Reset) A+CLAC - Display all available commands. However it does not tell you how to use them And here is a working ppp.conf - but you need to change the *bolded* values to match your end of the environment:) u3g: set device */dev/cuaU0.0* set server /var/run/3g-internet "" 0177 set speed 921600 set timeout 0 set authname *saf* set authkey *data* set dial "ABORT BUSY ABORT NO\\sTIMEOUT 2 \ \"\" \ AT OK-AT-OK \ AT+CFUN=1 OK-AT-OK \ AT+CMEE=2 OK-AT-OK \ AT+CSQ OK \ AT+CGDCONT=1,\\\"IP\\\",\\\"*APN*\\\" OK \ ATD**99#* CONNECT" set crtscts on disable vjcomp disable acfcomp disable deflate disable deflate24 disable pred1 disable protocomp disable mppe disable ipv6cp disable lqr disable echo #nat enable yes enable dns resolv writable set dns 8.8.8.8 set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0 add default HISADDR # See ppp.link* Lemme know if you get stuck. Also, always give details about modem - manufacturer, model... -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler." From lolox-freebsd at lolox.net Wed Mar 27 16:37:18 2013 From: lolox-freebsd at lolox.net (Loic Capdeville) Date: Wed, 27 Mar 2013 17:37:32 +0100 Subject: Upgrade devel/py-setuptools In-Reply-To: <51531E91.7000306@gmail.com> References: <5152E47B.6080904@lolox.net> <5152EB33.4010009@gmail.com> <5152ED8B.8080408@lolox.net> <5152EEBC.20805@lolox.net> <5152F3AE.3010604@gmail.com> <5152F513.3040205@lolox.net> <51531E91.7000306@gmail.com> Message-ID: <5153204C.6080905@lolox.net> On 27/03/2013 17:30, Volodymyr Kostyrko wrote: > 2013-03-27 15:33, Loic Capdeville wrote: >> On 27/03/2013 14:27, Volodymyr Kostyrko wrote: >>> 2013-03-27 15:06, Loic Capdeville wrote: >>>> /usr/local/lib/python2.7/site-packages/easy-install.pth: >>>> >>>> import sys; sys.__plen = len(sys.path) >>>> ../setuptools-0.6c11-py2.7.egg >>>> ../Pygments-1.5-py2.7.egg >>>> ../Babel-0.9.6-py2.7.egg >>>> ../MarkupSafe-0.15-py2.7-freebsd-9.0-RELEASE-amd64.egg >>>> ../Jinja2-2.6-py2.7.egg >>>> ../Sphinx-1.1.3-py2.7.egg >>>> ../virtualenv-1.9.1-py2.7.egg >>>> import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; >>>> p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = >>>> p+len(new) >>>> >>>> >>>> /usr/local/lib/python2.7/site-packages/easy-install.pth.dist: >>>> >>>> import sys; sys.__plen = len(sys.path) >>>> ../setuptools-0.6c11-py2.7.egg >>>> import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; >>>> p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = >>>> p+len(new) >>> >>> Looks like py-distribute is not installed at all. >>> >>> what was the outcome of "portupgrade -fo devel/py-distribute >>> devel/py-setuptools"? Can you try running that again? >>> >> >> It hasn't printed anything since the first time I tried to run it... >> and still print nothing. > > So here is a main problem. If it prints nothing it doesn't work. > > Do you have portupgrade or portmaster installed? Did it yield at least > one line? Some errors? If it doesn't that's surely a sign that something > is going wrong. > I use portupgrade regularly to upgrade my ports, and usually everything goes right. If fails only with that particular operation (or these portupgrade options) Do I have to install "devel/py-distribute" separately, or should the "portupgrade -fo" command do everything itself (uninstall py-setuptools and install py-distribute) ? From c.kworr at gmail.com Wed Mar 27 16:43:32 2013 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Wed, 27 Mar 2013 18:43:28 +0200 Subject: Upgrade devel/py-setuptools In-Reply-To: <5153204C.6080905@lolox.net> References: <5152E47B.6080904@lolox.net> <5152EB33.4010009@gmail.com> <5152ED8B.8080408@lolox.net> <5152EEBC.20805@lolox.net> <5152F3AE.3010604@gmail.com> <5152F513.3040205@lolox.net> <51531E91.7000306@gmail.com> <5153204C.6080905@lolox.net> Message-ID: <515321B0.4020900@gmail.com> 2013-03-27 18:37, Loic Capdeville wrote: >>>>> import sys; sys.__plen = len(sys.path) >>>>> ../setuptools-0.6c11-py2.7.egg >>>>> import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; >>>>> p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = >>>>> p+len(new) >>>> >>>> Looks like py-distribute is not installed at all. >>>> >>>> what was the outcome of "portupgrade -fo devel/py-distribute >>>> devel/py-setuptools"? Can you try running that again? >>>> >>> >>> It hasn't printed anything since the first time I tried to run it... >>> and still print nothing. >> >> So here is a main problem. If it prints nothing it doesn't work. >> >> Do you have portupgrade or portmaster installed? Did it yield at least >> one line? Some errors? If it doesn't that's surely a sign that something >> is going wrong. >> > I use portupgrade regularly to upgrade my ports, and usually everything > goes right. > If fails only with that particular operation (or these portupgrade options) > Do I have to install "devel/py-distribute" separately, or should the > "portupgrade -fo" command do everything itself (uninstall py-setuptools > and install py-distribute) ? This command should forcefully deintsall second package and replace it with first one. I'm not using portupgrade, I switched to portmaster long time ago so I can't help you with it. If you want to make the switch by hand I think you should: pkg_delete -f py27-setuptools-0.6c11_3 # now write down the whole list of dependent packages cd /usr/ports/devel/py-distribute ; make install clean portupgrade -f ..list of packages that require setuptools.. -- Sphinx of black quartz, judge my vow. From peter at boosten.org Wed Mar 27 16:47:21 2013 From: peter at boosten.org (Peter Boosten) Date: Wed, 27 Mar 2013 17:46:55 +0100 Subject: Upgrade devel/py-setuptools In-Reply-To: <5153204C.6080905@lolox.net> References: <5152E47B.6080904@lolox.net> <5152EB33.4010009@gmail.com> <5152ED8B.8080408@lolox.net> <5152EEBC.20805@lolox.net> <5152F3AE.3010604@gmail.com> <5152F513.3040205@lolox.net> <51531E91.7000306@gmail.com> <5153204C.6080905@lolox.net> Message-ID: <5153227F.6050405@boosten.org> On 27-3-2013 17:37, Loic Capdeville wrote: >> > I use portupgrade regularly to upgrade my ports, and usually everything > goes right. > If fails only with that particular operation (or these portupgrade options) > Do I have to install "devel/py-distribute" separately, or should the > "portupgrade -fo" command do everything itself (uninstall py-setuptools > and install py-distribute) ? I had some problems with this one as well. I eventually ended up by pkg_deleting -f the package, delete manually some file portinstall complaints about, and after that it worked. Peter -- http://www.boosten.org ----- Geen virus gevonden in dit bericht. Gecontroleerd door AVG - www.avg.com Versie: 2013.0.2904 / Virusdatabase: 2641/6206 - datum van uitgifte: 03/26/13 From walterhurry at gmail.com Wed Mar 27 17:02:39 2013 From: walterhurry at gmail.com (Walter Hurry) Date: Wed, 27 Mar 2013 17:02:21 +0000 (UTC) Subject: line lengths in /etc/hosts References: <5152b48c.U+MyuQ85COeWB4wW%perryh@pluto.rain.com> Message-ID: On Wed, 27 Mar 2013 01:57:48 -0700, Perry Hutchison wrote: > Is there a limit on line length in FreeBSD's /etc/hosts? > > I'm not finding any mention of such a limit in hosts(5), but characters > beyond the first 660 or so seem to be ignored. > > To answer the inevitable followup "why would anyone need such a long > line in /etc/hosts": > > With this line in /etc/nsswitch.conf > > hosts: files dns > > I can easily suppress access to unwanted web sites by adding names to > the localhost line in /etc/hosts, like this: > > 127.0.0.1 localhost localhost.my.domain bad1.com bad2.com ... > > My version of that line has gotten rather long :) $ tail -20 /etc/hosts 127.0.0.1 r1.zedo.com 127.0.0.1 simg.zedo.com 127.0.0.1 ss1.zedo.com 127.0.0.1 ss2.zedo.com 127.0.0.1 ss7.zedo.com 127.0.0.1 xads.zedo.com 127.0.0.1 yads.zedo.com 127.0.0.1 www.zedo.com #[Adware.RaxSearch] 127.0.0.1 c1.zxxds.net #[g1.panthercdn.com] 127.0.0.1 c7.zxxds.net # [Zero Lag][AS20093][67.201.0.0 - 67.201.63.255] 127.0.0.1 ads.namiflow.com 127.0.0.1 adunit.namiflow.com # [Zero Lag][AS20093][68.71.240.0 - 68.71.255.255] 127.0.0.1 rt.udmserve.net # [Zero Lag][AS20093][72.37.216.0 - 72.37.217.255] 127.0.0.1 www.stickylogic.com 127.0.0.1 www.winadiscount.com #[Dr.Web.Adware.Xbarre] 127.0.0.1 www.winaproduct.com # [end of entries generated by MVPS HOSTS] $ From grarpamp at gmail.com Wed Mar 27 18:12:08 2013 From: grarpamp at gmail.com (grarpamp) Date: Wed, 27 Mar 2013 14:12:06 -0400 Subject: OT: The future of USENET? Message-ID: Usenet was great. 'Was' because it really isn't there anymore. Servers used to be widespread, you could use your ISP, your school, your work, and failing that plenty of free ones even if for the asking, even some public/open ones. Now there are very few, if any, free servers and likely none are public/open for obvious reasons. Post 2000 Web 2.0 and those eyeballs destroyed usenet. They are the idiot mass and they demanded to only see the world through their browser window. And when usenet died off, so did the long running text only archive servers, taking decades of human knowledge with them. Vanished. Just the same as web forums do when they vanish. Google's 'group' archive doesn't count, they're a corporation, they wrapped it in web 2.0, they don't care, it will die. The bandwidth cost, piracy and porn was just as damning as web 2.0. The former caused the formal ISP/school/work support to die. The latter stole the eyeballs. Back then you had to have brains to be on the net, now everyone is web 2.0, and they're satisfied with ridiculous web forums. Any brains today are all but forced to use them because the population is so slim anywhere else. Usenet has suffered its generational penalty. Usenet is still viable long term as a free/donation service, as is irc, if operators do not carry the binary groups. Its new hope lies with the opensource, hackerspace, anonymous, and related communities of all sorts. As a giant distributed mailing list, it's an awesome service that these communities really should look at more closely. Its future is up to you... will you run a server and list it as a communication method (even primary) for your project, or not? Will you donate a server to the public, or not? FreeBSD related... it would be really nice if someone would shim the FreeBSD forum to cause every post to be copied out to a set of FreeBSD mailing lists. So the efficient/interested among us could at least read, search and archive them without being forced to waste time with the web interface. From lsantagostini at gmail.com Wed Mar 27 20:09:23 2013 From: lsantagostini at gmail.com (Leonardo Santagostini) Date: Wed, 27 Mar 2013 17:09:22 -0300 Subject: Release 9.1 and 3G usb Modem In-Reply-To: References: Message-ID: Hello Odhiambo . The 3G model is Huawei E173 with Movistar Argentina. Ive tried but i cant see in windows de USB port to have a serial link :( Saludos / Regards Leonardo Santagostini 2013/3/27 Odhiambo Washington > > On 27 March 2013 16:29, Leonardo Santagostini wrote: > >> Hello all. >> >> I have a latitude e6400 with FreeBSD Release 9.1. And i can't get the USB >> modem working. >> >> I tried with umodem, u3g but no luck :( >> > > [snip] > > >> ugen7.2: at usbus7 >> ugen7.2: at usbus7 (disconnected) >> ugen7.2: at usbus7 >> umodem0: on >> usbus7 >> umodem0: data interface 0, has no CM over data, has no break >> umodem1: on >> usbus7 >> umodem1: data interface 1, has no CM over data, has no break >> umodem2: on >> usbus7 >> umodem2: data interface 2, has no CM over data, has no break >> umass0: on usbus7 >> umass0: SCSI over Bulk-Only; quirks = 0x0000 >> umass0:9:0:-1: Attached to scbus9 >> cd1 at umass-sim0 bus 0 scbus9 target 0 lun 0 >> cd1: Removable CD-ROM SCSI-2 device >> cd1: 40.000MB/s transfers >> cd1: Attempt to query device size failed: NOT READY, Medium not present >> umass1: on usbus7 >> umass1: SCSI over Bulk-Only; quirks = 0x0000 >> umass1:10:1:-1: Attached to scbus10 >> da0 at umass-sim1 bus 1 scbus10 target 0 lun 0 >> da0: Removable Direct Access SCSI-2 device >> da0: 40.000MB/s transfers >> da0: Attempt to query device size failed: NOT READY, Medium not present >> > > > [snip] > > Huawei modem, as I can see. That should be easy. > > Connect to the modem through HyperTerminal or Putty on a different machine > Issue the command: AT^U2DIAG=0 > That should disable the virtual CD-ROM and FreeBSD will see the modem. > > Here are some commands you'll need to know about: > Do you have a Windows PC near you? If you plug the device into it and the > virtualCD pops up, then it means command was not successful. The fact that > fake CD still shows means command did not succeed! > > AT^u2diag=0 (all off) > AT^u2diag=1 (CD on, SD off) > AT^u2diag=256 (CD off, SD is on) > AT^u2diag=255 (all on - including SD Card) > AT^u2diag=276 (Factory Reset) > A+CLAC - Display all available commands. However it does not tell you how > to use them > > > > And here is a working ppp.conf - but you need to change the *bolded* values > to match your end of the environment:) > > u3g: > set device */dev/cuaU0.0* > set server /var/run/3g-internet "" 0177 > set speed 921600 > set timeout 0 > set authname *saf* > set authkey *data* > set dial "ABORT BUSY ABORT NO\\sTIMEOUT 2 \ > \"\" \ > AT OK-AT-OK \ > AT+CFUN=1 OK-AT-OK \ > AT+CMEE=2 OK-AT-OK \ > AT+CSQ OK \ > AT+CGDCONT=1,\\\"IP\\\",\\\"*APN*\\\" OK \ > ATD**99#* CONNECT" > set crtscts on > disable vjcomp > disable acfcomp > disable deflate > disable deflate24 > disable pred1 > disable protocomp > disable mppe > disable ipv6cp > disable lqr > disable echo > #nat enable yes > enable dns > resolv writable > set dns 8.8.8.8 > set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0 > add default HISADDR # See ppp.link* > > > Lemme know if you get stuck. > > Also, always give details about modem - manufacturer, model... > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > "I can't hear you -- I'm using the scrambler." > From odhiambo at gmail.com Wed Mar 27 20:18:11 2013 From: odhiambo at gmail.com (Odhiambo Washington) Date: Wed, 27 Mar 2013 23:17:28 +0300 Subject: Release 9.1 and 3G usb Modem In-Reply-To: References: Message-ID: On Windows, install the modem drivers and make it usable. Then connect to the port on which it is installed using putty or HyperTerminal. I am hoping you know how to do that. Then type the commands: at^u2diag=0 atz Disconnect modem and connect to FreeBSD. You will see the modem correctly identified and connected to a port. On Windows, when you go to Hardware->Device Manager, look at the Serial ports available. One of them MUST be the one the modem is using! On 27 March 2013 23:09, Leonardo Santagostini wrote: > Hello Odhiambo . > > The 3G model is Huawei E173 with Movistar Argentina. > > Ive tried but i cant see in windows de USB port to have a serial link :( > > Saludos / Regards > Leonardo Santagostini > > > > > > 2013/3/27 Odhiambo Washington > >> >> On 27 March 2013 16:29, Leonardo Santagostini wrote: >> >>> Hello all. >>> >>> I have a latitude e6400 with FreeBSD Release 9.1. And i can't get the USB >>> modem working. >>> >>> I tried with umodem, u3g but no luck :( >>> >> >> [snip] >> >> >>> ugen7.2: at usbus7 >>> ugen7.2: at usbus7 (disconnected) >>> ugen7.2: at usbus7 >>> umodem0: on >>> usbus7 >>> umodem0: data interface 0, has no CM over data, has no break >>> umodem1: on >>> usbus7 >>> umodem1: data interface 1, has no CM over data, has no break >>> umodem2: on >>> usbus7 >>> umodem2: data interface 2, has no CM over data, has no break >>> umass0: on >>> usbus7 >>> umass0: SCSI over Bulk-Only; quirks = 0x0000 >>> umass0:9:0:-1: Attached to scbus9 >>> cd1 at umass-sim0 bus 0 scbus9 target 0 lun 0 >>> cd1: Removable CD-ROM SCSI-2 device >>> cd1: 40.000MB/s transfers >>> cd1: Attempt to query device size failed: NOT READY, Medium not present >>> umass1: on >>> usbus7 >>> umass1: SCSI over Bulk-Only; quirks = 0x0000 >>> umass1:10:1:-1: Attached to scbus10 >>> da0 at umass-sim1 bus 1 scbus10 target 0 lun 0 >>> da0: Removable Direct Access SCSI-2 device >>> da0: 40.000MB/s transfers >>> da0: Attempt to query device size failed: NOT READY, Medium not present >>> >> >> >> [snip] >> >> Huawei modem, as I can see. That should be easy. >> >> Connect to the modem through HyperTerminal or Putty on a different machine >> Issue the command: AT^U2DIAG=0 >> That should disable the virtual CD-ROM and FreeBSD will see the modem. >> >> Here are some commands you'll need to know about: >> Do you have a Windows PC near you? If you plug the device into it and the >> virtualCD pops up, then it means command was not successful. The fact that >> fake CD still shows means command did not succeed! >> >> AT^u2diag=0 (all off) >> AT^u2diag=1 (CD on, SD off) >> AT^u2diag=256 (CD off, SD is on) >> AT^u2diag=255 (all on - including SD Card) >> AT^u2diag=276 (Factory Reset) >> A+CLAC - Display all available commands. However it does not tell you how >> to use them >> >> >> >> And here is a working ppp.conf - but you need to change the *bolded* values >> to match your end of the environment:) >> >> u3g: >> set device */dev/cuaU0.0* >> set server /var/run/3g-internet "" 0177 >> set speed 921600 >> set timeout 0 >> set authname *saf* >> set authkey *data* >> set dial "ABORT BUSY ABORT NO\\sTIMEOUT 2 \ >> \"\" \ >> AT OK-AT-OK \ >> AT+CFUN=1 OK-AT-OK \ >> AT+CMEE=2 OK-AT-OK \ >> AT+CSQ OK \ >> AT+CGDCONT=1,\\\"IP\\\",\\\"*APN*\\\" OK \ >> ATD**99#* CONNECT" >> set crtscts on >> disable vjcomp >> disable acfcomp >> disable deflate >> disable deflate24 >> disable pred1 >> disable protocomp >> disable mppe >> disable ipv6cp >> disable lqr >> disable echo >> #nat enable yes >> enable dns >> resolv writable >> set dns 8.8.8.8 >> set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0 >> add default HISADDR # See ppp.link* >> >> >> Lemme know if you get stuck. >> >> Also, always give details about modem - manufacturer, model... >> >> >> -- >> Best regards, >> Odhiambo WASHINGTON, >> Nairobi,KE >> +254733744121/+254722743223 >> "I can't hear you -- I'm using the scrambler." >> > > -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler." From walterhurry at gmail.com Wed Mar 27 20:26:02 2013 From: walterhurry at gmail.com (Walter Hurry) Date: Wed, 27 Mar 2013 20:25:29 +0000 (UTC) Subject: OT: The future of USENET? References: Message-ID: On Wed, 27 Mar 2013 14:12:06 -0400, grarpamp wrote: > Now there are very few, if any, free servers There are still free news servers available. My ISP bundles usenet, nevertheless I prefer the free one as it's faster and more reliable. From guru at unixarea.de Wed Mar 27 20:34:58 2013 From: guru at unixarea.de (Matthias Apitz) Date: Wed, 27 Mar 2013 21:34:47 +0100 Subject: Release 9.1 and 3G usb Modem In-Reply-To: References: Message-ID: <20130327203446.GA1414@tiny.Sisis.de> El d?a Wednesday, March 27, 2013 a las 05:09:22PM -0300, Leonardo Santagostini escribi?: > Hello Odhiambo . > > The 3G model is Huawei E173 with Movistar Argentina. > > Ive tried but i cant see in windows de USB port to have a serial link :( > > Saludos / Regards > Leonardo Santagostini Hi, Pls check if this E173 card is supported by the /sys/dev/usb/serial/u3g.c driver; figure out the vendorID and productID of this card and check if it is in the driver to attach to; I own an E220 and an E1750 Huawei card, both are just working fine without any tricks. matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru at unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From jrisom at gmail.com Wed Mar 27 20:37:46 2013 From: jrisom at gmail.com (Joshua Isom) Date: Wed, 27 Mar 2013 15:37:43 -0500 Subject: OT: The future of USENET? In-Reply-To: References: Message-ID: <51535897.3000901@gmail.com> On 3/27/2013 3:25 PM, Walter Hurry wrote: > On Wed, 27 Mar 2013 14:12:06 -0400, grarpamp wrote: > >> Now there are very few, if any, free servers > > There are still free news servers available. My ISP bundles usenet, > nevertheless I prefer the free one as it's faster and more reliable. > The last ISP I knew had usenet complained about the bandwidth and storage required. They had a dedicated satellite instead of using their backbone, and only cached a couple days. All the porn and warez has the side affect of wiping out the cost benefit. From freebsd-questions-local at be-well.ilk.org Wed Mar 27 20:55:23 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Wed, 27 Mar 2013 16:55:17 -0400 Subject: any 9.1-RELEASE-p1 to 10.0-CURRENT howtos? In-Reply-To: (Antonio Olivares's message of "Wed, 27 Mar 2013 11:24:15 -0500") References: Message-ID: <44mwto5zre.fsf@lowell-desk.lan> Antonio Olivares writes: > On one of my machines I cannot get it to update ports, most fail with > gettext. I tried some options like disabling Native Language Support > in binutils, but it still fails. I deleted all the ports and am > looking at starting from scratch again, but this time move to CLANG > and build world and install world and not USE gcc and GNU anymore (on > the machine which gettext fails). Is there a nice howto as to how to > do this? > How can it be done in easy steps and then try to track current? Current isn't necessary, although it often has slightly newer versions of the related tools. Clang will work fine on recent 9.x (I don't know when it was imported, so it may need something more recent than 9.1). Furthermore, it will support building the world and ports, as detailed in: https://wiki.freebsd.org/BuildingFreeBSDWithClang > I am aware that I would be on my own if I track current, but I want to > test many programs to see if they would build without GCC and with > CLANG only and report back to the developers and let them know of > issues. You are not entirely on your own with current, but you are expected to more of the heavy lifting when a problem comes up that doesn't happen for other people. You actually have a number of choices that should work for you. You can run current, which probably won't be very difficult (but nobody's going to guarantee that). You can run RELENG_9 using clang as the default compiler. Or you could use a jail to build with clang when the host system builds with gcc. And I've most likely overlooked other possibilities. If you are really starting from scratch on a particular machine, then a clean install is worth considering; it guarantees that you're not bringing along the effects of mistakes made previously on the system. If the system is also needed stable for other purposes, then doing your experiments in a jail may be your easiest path (a jail may even be overkill; a chroot will handle it for some purposes). Good luck. From rfg at tristatelogic.com Wed Mar 27 21:19:44 2013 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Wed, 27 Mar 2013 14:10:21 -0700 Subject: Copying memstick image to a USB (flash/thumb) drive Message-ID: <6148.1364418621@server1.tristatelogic.com> I've never used any FreeBSD memstick image before, but now I have reason to do so. I'm reading the instructions for creating a bootable memstick that are located on this page: http://www.freebsd.org/releases/9.1R/announce.html which include the following example of how to perform the copy: # dd if=FreeBSD-9.1-RELEASE-amd64-memstick.img of=/dev/da0 bs=10240 conv=sync Question: Why exactly is "conv=sync" is there? Also, in practice what does it actually do? (I've used dd plenty in my lifetime, but never found any reason to use conv= at all. I always thought that it was... mostly... just an archaic leftover from the days when some big iron used EBCDIC that needed to get converted to ASCII or vise versa.) The dd man page describes the "sync" type of "conversion" thusly: "Pad every input block to the input buffer size. Spaces are used for pad bytes if a block oriented conversion value is specified, otherwise NUL bytes are used." Ummm... ok. WTF is a "block oriented conversion value"? How would I know if I had specified one? Question: Why exactly is the "bs=10240" is there? Wouldn't the default of 512 do just as well? Regards, rfg From guru at unixarea.de Wed Mar 27 21:20:13 2013 From: guru at unixarea.de (Matthias Apitz) Date: Wed, 27 Mar 2013 22:20:05 +0100 Subject: OT: The future of USENET? In-Reply-To: <51535897.3000901@gmail.com> References: <51535897.3000901@gmail.com> Message-ID: <20130327212004.GA1571@tiny.Sisis.de> El d?a Wednesday, March 27, 2013 a las 03:37:43PM -0500, Joshua Isom escribi?: > The last ISP I knew had usenet complained about the bandwidth and > storage required. They had a dedicated satellite instead of using their > backbone, and only cached a couple days. All the porn and warez has the > side affect of wiping out the cost benefit. I'm using since some years http://www.aioe.org/ which has no binary groups (i.e. no porn or warez) and a cache of 25 days. Just works. matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru at unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From lsantagostini at gmail.com Wed Mar 27 21:41:05 2013 From: lsantagostini at gmail.com (Leonardo Santagostini) Date: Wed, 27 Mar 2013 18:41:04 -0300 Subject: Release 9.1 and 3G usb Modem In-Reply-To: <20130327203446.GA1414@tiny.Sisis.de> References: <20130327203446.GA1414@tiny.Sisis.de> Message-ID: Hello Matthias, thanks for your response, Odhiambo was helping me with this modem with no luck. Tomorrow we will continuing trying to get this modem running. Thanks all, and thanks Odhiambo for all the support he is giving to get this piece working :) I really apreciate it !!! Saludos / Regards Leonardo Santagostini 2013/3/27 Matthias Apitz > El d?a Wednesday, March 27, 2013 a las 05:09:22PM -0300, Leonardo > Santagostini escribi?: > > > Hello Odhiambo . > > > > The 3G model is Huawei E173 with Movistar Argentina. > > > > Ive tried but i cant see in windows de USB port to have a serial link :( > > > > Saludos / Regards > > Leonardo Santagostini > > Hi, > > Pls check if this E173 card is supported by the /sys/dev/usb/serial/u3g.c > driver; figure out the vendorID and productID of this card and check if > it is in the driver to attach to; I own an E220 and an E1750 Huawei card, > both are just working fine without any tricks. > > matthias > -- > Sent from my FreeBSD netbook > > Matthias Apitz | - No system with backdoors like > Apple/Android > E-mail: guru at unixarea.de | - Never being an iSlave > WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF > in E-mail > phone: +49-170-4527211 | - Respect for open standards > From dnelson at allantgroup.com Wed Mar 27 21:46:21 2013 From: dnelson at allantgroup.com (Dan Nelson) Date: Wed, 27 Mar 2013 16:39:08 -0500 Subject: Copying memstick image to a USB (flash/thumb) drive In-Reply-To: <6148.1364418621@server1.tristatelogic.com> References: <6148.1364418621@server1.tristatelogic.com> Message-ID: <20130327213908.GA5447@dan.emsphone.com> In the last episode (Mar 27), Ronald F. Guilmette said: > I've never used any FreeBSD memstick image before, but now I have reason > to do so. > > I'm reading the instructions for creating a bootable memstick that are > located on this page: > > http://www.freebsd.org/releases/9.1R/announce.html > > which include the following example of how to perform the copy: > > # dd if=FreeBSD-9.1-RELEASE-amd64-memstick.img of=/dev/da0 bs=10240 conv=sync > > Question: > > Why exactly is "conv=sync" is there? > > Question: > > Why exactly is the "bs=10240" is there? Wouldn't the default of 512 > do just as well? It looks like someone just copied a dd commandline from somewhere else, maybe something to do with tar files (since tar defaults to a 10k blocksize when writing to tape). conv=sync isn't needed since the source file is already a multiple of the target device blocksize (512 bytes), and bs=64k would be much faster when writing to cheap flash devices like USB sticks since they don't have a write cache and individual writes are slowish. -- Dan Nelson dnelson at allantgroup.com From danny at clari.net.au Wed Mar 27 21:57:44 2013 From: danny at clari.net.au (Daniel O'Callaghan) Date: Thu, 28 Mar 2013 08:52:01 +1100 Subject: Copying memstick image to a USB (flash/thumb) drive In-Reply-To: <6148.1364418621@server1.tristatelogic.com> References: <6148.1364418621@server1.tristatelogic.com> Message-ID: <51536A01.6000005@clari.net.au> On 28/03/2013 8:10 AM, Ronald F. Guilmette wrote: > Question: > > Why exactly is "conv=sync" is there? I found this on http://www.mkssoftware.com/docs/man1/dd.1.asp If you specified conv=sync and this input block is smaller than the specified input block size, dd pads it to the specified size with null bytes. When you also specify a block or unblock conversion, dd uses spaces instead of null bytes. So the last block of output gets padded with 0x00 at the end to fill the input block size (from bs=...) > Question: > > Why exactly is the "bs=10240" is there? Wouldn't the default of 512 > do just as well? It would, but then you would have FILESIZE/512 reads and writes instead of FILESIZE/10240 reads and writes - 20 times more. The end result is the same, but the large bs makes the operation go faster. I routinely use bs=655360 simply because it is a big number divisible by 512, which I can easily remember. 512000 would do just as well, though... Danny From walterhurry at gmail.com Wed Mar 27 22:40:06 2013 From: walterhurry at gmail.com (Walter Hurry) Date: Wed, 27 Mar 2013 22:39:41 +0000 (UTC) Subject: OT: The future of USENET? References: <51535897.3000901@gmail.com> Message-ID: On Wed, 27 Mar 2013 15:37:43 -0500, Joshua Isom wrote: > On 3/27/2013 3:25 PM, Walter Hurry wrote: >> On Wed, 27 Mar 2013 14:12:06 -0400, grarpamp wrote: >> >>> Now there are very few, if any, free servers >> >> There are still free news servers available. My ISP bundles usenet, >> nevertheless I prefer the free one as it's faster and more reliable. >> >> > The last ISP I knew had usenet complained about the bandwidth and > storage required. They had a dedicated satellite instead of using their > backbone, and only cached a couple days. All the porn and warez has the > side affect of wiping out the cost benefit. I have no idea whether my usenet provider includes porn or warez groups, since I am interested in neither, so have not checked. All I know is that I use their service because it is free, reliable and fast. Actually, I read this list via the usenet group gmane.os.freebsd.questions, since I find that convenient. From cpghost at cordula.ws Wed Mar 27 22:54:00 2013 From: cpghost at cordula.ws (C. P. Ghost) Date: Wed, 27 Mar 2013 23:53:58 +0100 Subject: OT: The future of USENET? In-Reply-To: <51535897.3000901@gmail.com> References: <51535897.3000901@gmail.com> Message-ID: On Wed, Mar 27, 2013 at 9:37 PM, Joshua Isom wrote: > On 3/27/2013 3:25 PM, Walter Hurry wrote: > >> On Wed, 27 Mar 2013 14:12:06 -0400, grarpamp wrote: >> >> Now there are very few, if any, free servers >>> >> >> There are still free news servers available. My ISP bundles usenet, >> nevertheless I prefer the free one as it's faster and more reliable. >> >> > The last ISP I knew had usenet complained about the bandwidth and storage > required. If they carried alt.binaries.*, then yes: it was a legitimate concern. To carry those groups requires enormous bandwidth, and bandwidth costs money, a lot of money. Storage isn't really an issue though.., even with smallish retention periods of 60 days or so. That's what commercial Usenet providers a la Giganews are for: they have some very big pipes and the necessary storage infrastructure for many-years retention, and can pay for all this through their subscribers fees. I see no problems that regular ISPs dropped Usenet as part of their standard offering, as long as alternatives such as those Usenet providers are available for a couple of bucks per month to those who need them. > They had a dedicated satellite instead of using their backbone, and only > cached a couple days. All the porn and warez has the side affect of wiping > out the cost benefit. > -cpghost. -- Cordula's Web. http://www.cordula.ws/ From quartz at sneakertech.com Thu Mar 28 01:55:17 2013 From: quartz at sneakertech.com (Quartz) Date: Wed, 27 Mar 2013 21:55:09 -0400 Subject: Copying memstick image to a USB (flash/thumb) drive In-Reply-To: <6148.1364418621@server1.tristatelogic.com> References: <6148.1364418621@server1.tristatelogic.com> Message-ID: <5153A2FD.8020804@sneakertech.com> > Why exactly is the "bs=10240" is there? Wouldn't the default of 512 > do just as well? Modern systems can read and write far more than 512 bytes per operation. Sticking with 512 would work perfectly fine, but you'd be imposing an unnecessary bottleneck and the copy would be a lot slower overall. Whether 10K is optimal or not depends on the exact hardware you're messing with (it looks pretty low to me, I'd suggest more like 1M). ______________________________________ it has a certain smooth-brained appeal From steve at sohara.org Thu Mar 28 06:28:14 2013 From: steve at sohara.org (Steve O'Hara-Smith) Date: Thu, 28 Mar 2013 05:59:16 +0000 Subject: OT: The future of USENET? In-Reply-To: References: Message-ID: <20130328055916.d80acbbc06db0c4f2761bcfd@sohara.org> On Wed, 27 Mar 2013 14:12:06 -0400 grarpamp wrote: > Usenet was great. 'Was' because it really isn't there anymore. > Servers used to be widespread, you could use your ISP, your school, > your work, and failing that plenty of free ones even if for the > asking, even some public/open ones. Now there are very few, if any, > free servers and likely none are public/open for obvious reason There are several free public USENET text servers (no binary groups), granted it's nothing like the days when every ISP ran one but there are still several about (eternal-september.com is one of the biggest). There are also a few low cost paid servers (individual.net stands out here). There is also a thriving business in paid for USENET binary service. > Post 2000 Web 2.0 and those eyeballs destroyed usenet. They are the > idiot mass and they demanded to only see the world through their > browser window. And when usenet died off, so did the long running > text only archive servers, taking decades of human knowledge with > them. Vanished. Just the same as web forums do when they vanish. > Google's 'group' archive doesn't count, they're a corporation, they > wrapped it in web 2.0, they don't care, it will die. USENET is not dead, and the Google archive is all that remains of the only large archive that ever existed deja-news. Granted it is a sad and almost useless remnant. > The bandwidth cost, piracy and porn was just as damning as web 2.0. > The former caused the formal ISP/school/work support to die. > The latter stole the eyeballs. Bandwidth piracy and porn problems are all in the binary groups which is why the remaining free USENET services are text only. What has stolen eyeballs from a lot of groups is the trolls and troll bots where some idiot has decided to make a group unusable. > Back then you had to have brains to be on the net, now everyone is > web 2.0, and they're satisfied with ridiculous web forums. Any > brains today are all but forced to use them because the population > is so slim anywhere else. Usenet has suffered its generational > penalty. Actually the web forums are no help in that respect because they've caused what was once a concentrated audience to fragment over a hundred web forums. -- Steve O'Hara-Smith From rfg at tristatelogic.com Thu Mar 28 06:45:18 2013 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Wed, 27 Mar 2013 23:45:12 -0700 Subject: Copying memstick image to a USB (flash/thumb) drive In-Reply-To: <5153A2FD.8020804@sneakertech.com> Message-ID: <14008.1364453112@server1.tristatelogic.com> In message <5153A2FD.8020804 at sneakertech.com>, you wrote: > >> Why exactly is the "bs=10240" is there? Wouldn't the default of 512 >> do just as well? > >Modern systems can read and write far more than 512 bytes per operation. >Sticking with 512 would work perfectly fine, but you'd be imposing an >unnecessary bottleneck and the copy would be a lot slower overall. >Whether 10K is optimal or not depends on the exact hardware you're >messing with (it looks pretty low to me, I'd suggest more like 1M). I agree. And 10 kibibytes is probably quite a bit less than optimal. I have filed the following PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=177431 Thank you for your reply. Regards, rfg From quartz at sneakertech.com Thu Mar 28 08:27:51 2013 From: quartz at sneakertech.com (Quartz) Date: Thu, 28 Mar 2013 04:27:43 -0400 Subject: Copying memstick image to a USB (flash/thumb) drive In-Reply-To: <14008.1364453112@server1.tristatelogic.com> References: <14008.1364453112@server1.tristatelogic.com> Message-ID: <5153FEFF.4090305@sneakertech.com> > I have filed the following PR: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=177431 Er, don't take my word for law: I have *no* idea if 1M is a good idea for most systems, I'm not even sure if it's optimal for mine. I did a single test with three random values at different orders of magnitude and picked the fastest. I do think that 10k is probably way under the right value, but someone should do proper testing on a variety of hardware before changing all the docs. As for the conv=sync option, I'm not convinced it's necessary either way. I've dd'd zillions of images to various media over the years and have never specified a conv parameter and I've never had problems. I don't think modern systems really care what the end is padded with (provided nothing is corrupt of course). Someone with more experience would need to chime in on this. ______________________________________ it has a certain smooth-brained appeal From mail25 at bzerk.org Thu Mar 28 08:49:03 2013 From: mail25 at bzerk.org (Ruben de Groot) Date: Thu, 28 Mar 2013 08:48:57 +0000 Subject: gettext problem in FreeBSD 8.3 system hosed In-Reply-To: References: Message-ID: <20130328084857.GA65666@eris.bzerk.org> On Tue, Mar 26, 2013 at 06:53:11AM -0500, Antonio Olivares typed: > Dear Sir, > > > > > As bapt@ hints: try rebuilding binutils without NLS. > > > > -- > > -- > > I have binutils installed without NLS. I ran make deinstall reinstall > inside /usr/ports/devel/binutils/ and it deinstalls and it fails to > reinstall because it depends on gettext :( Now I guess I am really in > trouble. Don't do make deinstall reinstall! Run make deinstall, than make config, disable the NLS option and then run make install. Ruben From steve at sohara.org Thu Mar 28 09:12:47 2013 From: steve at sohara.org (Steve O'Hara-Smith) Date: Thu, 28 Mar 2013 09:12:45 +0000 Subject: Copying memstick image to a USB (flash/thumb) drive In-Reply-To: <5153FEFF.4090305@sneakertech.com> References: <14008.1364453112@server1.tristatelogic.com> <5153FEFF.4090305@sneakertech.com> Message-ID: <20130328091245.c5eecadea50b45f92e8363db@sohara.org> On Thu, 28 Mar 2013 04:27:43 -0400 Quartz wrote: > > > I have filed the following PR: > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=177431 > > Er, don't take my word for law: I have *no* idea if 1M is a good idea > for most systems, I'm not even sure if it's optimal for mine. I did a > single test with three random values at different orders of magnitude > and picked the fastest. I do think that 10k is probably way under the > right value, but someone should do proper testing on a variety of > hardware before changing all the docs. The 1M will work fine, it's way bigger than any physical write. In theory the performance should max out when the block size matches the maximum physical write size of the controller (often 64K), but that assumes zero read latency on the data feed so in practice larger block sizes help, but except for things like tape they don't help much once you pass the device/controller max write block size. -- Steve O'Hara-Smith From rfg at tristatelogic.com Thu Mar 28 10:32:06 2013 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Thu, 28 Mar 2013 03:32:01 -0700 Subject: Copying memstick image to a USB (flash/thumb) drive In-Reply-To: <5153FEFF.4090305@sneakertech.com> Message-ID: <19222.1364466721@server1.tristatelogic.com> In message <5153FEFF.4090305 at sneakertech.com>, you wrote: > >> I have filed the following PR: >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=177431 > >Er, don't take my word for law: I didn't. I won't. >I have *no* idea if 1M is a good idea Any size which is an exact multiple of the physical block size for the target device should provide performance which is as good as it gets. I googled around and read various comments. Some of these kinds of devices have a physical block size of 64KiB. Some have 128KiB. Some have 256KiB. Some have 1MiB. For all of these devices, seting blocksize to 1MiB will provide optimal performance with at worst only a _relatively_ tiny waste of space. >As for the conv=sync option, I'm not convinced it's necessary either >way. Neither am I, but I would rather have it there, than not and take chances. It won't hurt anything, and it appears that it _may_ perhaps help. >I don't think modern systems really care what the end is padded with That wasn't my concern. My concern is that I personally do not know what the officially defined semantics are in cases where dd is asked to copy data in a specific input block size _and_ the actual data available from the input device doesn't perfectly fill up that last block. It is possible, I would guess, that dd may notice the EOF occuring before it has filled up an entire input buffer, and then just quit at that point, _without_ writing the partial last block to the output device. It seems to me that conv=sync is cheap insurance against this possibility. I have always been a belt and suspenders kind of guy. Regards, rfg From paul at ifdnrg.com Thu Mar 28 10:53:20 2013 From: paul at ifdnrg.com (Paul Macdonald) Date: Thu, 28 Mar 2013 10:46:21 +0000 Subject: gettext-0.18.1.1_1 fails to build under jail Message-ID: <51541F7D.7080807@ifdnrg.com> this port upgrades fine on the host system but not under a jail.. FreeBSD 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 config.status: executing depfiles commands sed: 2: " s/^include inclu ...": unterminated substitute pattern sed: 1: "s/$(DEPDIR)/.deps .deps/g ": unescaped newline inside substitute pattern ./localename.c: In function '_nl_locale_name_thread_unsafe': ./localename.c:2607: error: 'locale_t' undeclared (first use in this function) ./localename.c:2607: error: (Each undeclared identifier is reported only once ./localename.c:2607: error: for each function it appears in.) ./localename.c:2607: error: expected ';' before 'thread_locale' ./localename.c:2608: error: 'thread_locale' undeclared (first use in this function) ./localename.c:2608: error: 'LC_GLOBAL_LOCALE' undeclared (first use in this function) *** Error code 1 Stop in /var/ports/basejail/usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime/intl. *** Error code 1 Stop in /var/ports/basejail/usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime. *** Error code 1 Stop in /var/ports/basejail/usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime. *** Error code 1 Stop in /var/ports/basejail/usr/ports/devel/gettext/work/gettext-0.18.1.1. *** Error code 1 Stop in /basejail/usr/ports/devel/gettext. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul at ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- High Specification Dedicated Servers from ?100.00pm ---------------------------------------------------- From lolox-freebsd at lolox.net Thu Mar 28 12:30:29 2013 From: lolox-freebsd at lolox.net (Loic Capdeville) Date: Thu, 28 Mar 2013 13:30:37 +0100 Subject: Upgrade devel/py-setuptools In-Reply-To: <515321B0.4020900@gmail.com> References: <5152E47B.6080904@lolox.net> <5152EB33.4010009@gmail.com> <5152ED8B.8080408@lolox.net> <5152EEBC.20805@lolox.net> <5152F3AE.3010604@gmail.com> <5152F513.3040205@lolox.net> <51531E91.7000306@gmail.com> <5153204C.6080905@lolox.net> <515321B0.4020900@gmail.com> Message-ID: <515437ED.7030204@lolox.net> On 27/03/2013 17:43, Volodymyr Kostyrko wrote: > 2013-03-27 18:37, Loic Capdeville wrote: >>>>>> import sys; sys.__plen = len(sys.path) >>>>>> ../setuptools-0.6c11-py2.7.egg >>>>>> import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; >>>>>> p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = >>>>>> p+len(new) >>>>> >>>>> Looks like py-distribute is not installed at all. >>>>> >>>>> what was the outcome of "portupgrade -fo devel/py-distribute >>>>> devel/py-setuptools"? Can you try running that again? >>>>> >>>> >>>> It hasn't printed anything since the first time I tried to run it... >>>> and still print nothing. >>> >>> So here is a main problem. If it prints nothing it doesn't work. >>> >>> Do you have portupgrade or portmaster installed? Did it yield at least >>> one line? Some errors? If it doesn't that's surely a sign that something >>> is going wrong. >>> >> I use portupgrade regularly to upgrade my ports, and usually everything >> goes right. >> If fails only with that particular operation (or these portupgrade >> options) >> Do I have to install "devel/py-distribute" separately, or should the >> "portupgrade -fo" command do everything itself (uninstall py-setuptools >> and install py-distribute) ? > > This command should forcefully deintsall second package and replace it > with first one. I'm not using portupgrade, I switched to portmaster long > time ago so I can't help you with it. > > If you want to make the switch by hand I think you should: > > pkg_delete -f py27-setuptools-0.6c11_3 > # now write down the whole list of dependent packages > > cd /usr/ports/devel/py-distribute ; make install clean > portupgrade -f ..list of packages that require setuptools.. > If finally did it by hand. Note: upgrading packages that require setuptools isn't necessary, since py-distribute is backward compatible with py-setuptools. Thanks for your help. Loic From freebsd at qeng-ho.org Thu Mar 28 13:01:20 2013 From: freebsd at qeng-ho.org (Arthur Chance) Date: Thu, 28 Mar 2013 12:45:46 +0000 Subject: Copying memstick image to a USB (flash/thumb) drive In-Reply-To: <19222.1364466721@server1.tristatelogic.com> References: <19222.1364466721@server1.tristatelogic.com> Message-ID: <51543B7A.4030300@qeng-ho.org> On 03/28/13 10:32, Ronald F. Guilmette wrote: > > In message <5153FEFF.4090305 at sneakertech.com>, you wrote: > >> >>> I have filed the following PR: >>> >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=177431 >> >> Er, don't take my word for law: > > I didn't. I won't. > >> I have *no* idea if 1M is a good idea > > Any size which is an exact multiple of the physical block size for > the target device should provide performance which is as good as > it gets. > > I googled around and read various comments. Some of these kinds > of devices have a physical block size of 64KiB. Some have 128KiB. > Some have 256KiB. Some have 1MiB. > > For all of these devices, seting blocksize to 1MiB will provide optimal > performance with at worst only a _relatively_ tiny waste of space. > >> As for the conv=sync option, I'm not convinced it's necessary either >> way. > > Neither am I, but I would rather have it there, than not and take > chances. > > It won't hurt anything, and it appears that it _may_ perhaps help. > >> I don't think modern systems really care what the end is padded with > > That wasn't my concern. My concern is that I personally do not know > what the officially defined semantics are in cases where dd is asked > to copy data in a specific input block size _and_ the actual data > available from the input device doesn't perfectly fill up that last > block. > > It is possible, I would guess, that dd may notice the EOF occuring > before it has filled up an entire input buffer, and then just quit > at that point, _without_ writing the partial last block to the > output device. It will attempt to write a short block. E.g. arthur at fileserver[2]> ls -l t.pdf -rw-rw-r-- 1 arthur arthur 233812 Feb 18 12:26 t.pdf arthur at fileserver[2]> dd if=t.pdf of=/dev/null bs=1k 228+1 records in 228+1 records out 233812 bytes transferred in 0.036731 secs (6365521 bytes/sec) Those +1 records are the final short block. > It seems to me that conv=sync is cheap insurance against this > possibility. It's used as an insurance against output devices which have a fixed (or in the case of tape, a minimum) block size. If the short block is not an exact integer multiple of the device block size then the final write will fail. conv=sync and a bs (or obs) that's a strict multiple of block size prevents the problem. That's exactly your use case. > I have always been a belt and suspenders kind of guy. Show me the experienced sysadmin who isn't. Invariably learnt the hard way. :-} From andrei693 at gmail.com Thu Mar 28 13:16:45 2013 From: andrei693 at gmail.com (Andrei Brezan) Date: Thu, 28 Mar 2013 14:16:36 +0100 Subject: databases/mysql55 to databases/mariadb Message-ID: <515442B4.1070906@gmail.com> Hello list, Is there a make.conf option that I can use to replace mysql55-[server,client] with mariadb55-[server,client] or i need to use for example pkg set -o databases/mysql55-client:databases/mariadb55-client? What happens if I want to use one port with mysql dependency and another one with mariadb as dependency? This is just a theoretical question, I don't have such a requirement, yet. All this is on 9.1-RELEASE but I think applies to different versions too. Thank you, Andrei Brezan From coco at executive-computing.de Thu Mar 28 14:13:52 2013 From: coco at executive-computing.de (Marco Steinbach) Date: Thu, 28 Mar 2013 15:14:09 +0100 Subject: gettext-0.18.1.1_1 fails to build under jail In-Reply-To: <51541F7D.7080807@ifdnrg.com> References: <51541F7D.7080807@ifdnrg.com> Message-ID: <51545031.8010104@executive-computing.de> Paul Macdonald wrote on 28.03.2013 11:46: > > this port upgrades fine on the host system but not under a jail.. > > FreeBSD 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 > UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > config.status: executing depfiles commands > sed: 2: " > s/^include > inclu ...": unterminated substitute pattern > sed: 1: "s/$(DEPDIR)/.deps > .deps/g > ": unescaped newline inside substitute pattern > > I've been getting this message, also. For quite a while, iirc, in jails and on hosts. > ./localename.c: In function '_nl_locale_name_thread_unsafe': > ./localename.c:2607: error: 'locale_t' undeclared (first use in this > function) > ./localename.c:2607: error: (Each undeclared identifier is reported only > once > ./localename.c:2607: error: for each function it appears in.) > ./localename.c:2607: error: expected ';' before 'thread_locale' > ./localename.c:2608: error: 'thread_locale' undeclared (first use in > this function) > ./localename.c:2608: error: 'LC_GLOBAL_LOCALE' undeclared (first use in > this function) > *** Error code 1 > > Stop in > /var/ports/basejail/usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime/intl. > > *** Error code 1 > > Stop in > /var/ports/basejail/usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime. > > *** Error code 1 > > Stop in > /var/ports/basejail/usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime. > > *** Error code 1 > > Stop in /var/ports/basejail/usr/ports/devel/gettext/work/gettext-0.18.1.1. > *** Error code 1 > > Stop in /basejail/usr/ports/devel/gettext. > > I didn't run into this, but seeing, that you're also using ezjail, maybe this thread in the FreeBSD forums can provide hints: http://forums.freebsd.org/showthread.php?t=38558 MfG CoCo From lsantagostini at gmail.com Thu Mar 28 16:33:53 2013 From: lsantagostini at gmail.com (Leonardo Santagostini) Date: Thu, 28 Mar 2013 13:33:52 -0300 Subject: Release 9.1 and 3G usb Modem In-Reply-To: <20130327203446.GA1414@tiny.Sisis.de> References: <20130327203446.GA1414@tiny.Sisis.de> Message-ID: Well, after trying so many things with no luck, i will give a try on ubuntu. I must say all the support that give to me Odhiambo was excellent. Thanks to all of you, thanks Odhiambo for all your effort. Lets see what happen. Saludos / Regards Leonardo Santagostini 2013/3/27 Matthias Apitz > El d?a Wednesday, March 27, 2013 a las 05:09:22PM -0300, Leonardo > Santagostini escribi?: > > > Hello Odhiambo . > > > > The 3G model is Huawei E173 with Movistar Argentina. > > > > Ive tried but i cant see in windows de USB port to have a serial link :( > > > > Saludos / Regards > > Leonardo Santagostini > > Hi, > > Pls check if this E173 card is supported by the /sys/dev/usb/serial/u3g.c > driver; figure out the vendorID and productID of this card and check if > it is in the driver to attach to; I own an E220 and an E1750 Huawei card, > both are just working fine without any tricks. > > matthias > -- > Sent from my FreeBSD netbook > > Matthias Apitz | - No system with backdoors like > Apple/Android > E-mail: guru at unixarea.de | - Never being an iSlave > WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF > in E-mail > phone: +49-170-4527211 | - Respect for open standards > From ait.mlist at gmail.com Thu Mar 28 16:39:31 2013 From: ait.mlist at gmail.com (Dmitry Sarkisov) Date: Thu, 28 Mar 2013 20:39:25 +0400 Subject: software support In-Reply-To: <50A24799DF969E4B960A48EC973F643607B3B72E@0015-its-exmb13.us.saic.com> References: <50A24799DF969E4B960A48EC973F643607B3B72E@0015-its-exmb13.us.saic.com> Message-ID: <20130328163925.GA2059@aperturescience.org> On 26-03-2013, Tue [10:10:46], Oblitey, Edmund wrote: > I am trying to install FreeBSD on a E7520/6300ESB chipset. Program > freezes during probing devices. It always restart when it gets to the > atkbd0. Want to know if u can help me on it. > Sometimes it helps to disable ACPI support in the loader menu, and enable debugging. You could also try to reset your system's BIOS settings, if you know what you're doing of course. ;) -- Dmitry Sarkisov <-\ Powered by <-------------------o <-/ FreeBSD From nightrecon at hotmail.com Thu Mar 28 18:06:08 2013 From: nightrecon at hotmail.com (Michael Powell) Date: Thu, 28 Mar 2013 14:05:36 -0400 Subject: databases/mysql55 to databases/mariadb References: <515442B4.1070906@gmail.com> Message-ID: Andrei Brezan wrote: > Hello list, > > Is there a make.conf option that I can use to replace > mysql55-[server,client] with mariadb55-[server,client] or i need to use > for example pkg set -o > databases/mysql55-client:databases/mariadb55-client? > > What happens if I want to use one port with mysql dependency and another > one with mariadb as dependency? This is just a theoretical question, I > don't have such a requirement, yet. > > All this is on 9.1-RELEASE but I think applies to different versions too. > Look at: /usr/ports/Mk/bsd.database.mk I only perused it briefly, but I think you want something such as MYSQL_VER=55m. The 'm', or 'p' suffix switches to either MariaDB or PostgreSQL if I understand correctly. At any rate, this is the file that controls this. If it doesn't work (possibly I've got it wrong), I'd suggest a PR to get it added in. -Mike From dweimer at dweimer.net Thu Mar 28 21:21:31 2013 From: dweimer at dweimer.net (dweimer) Date: Thu, 28 Mar 2013 15:55:30 -0500 Subject: FreeBSD on VMware ESXi with PCI Pass Through enabled Message-ID: Just curious if anyone has any good recommendations of settings for running FreeBSD under VMware ESXi 5.1 with PCI(e) pass through enabled. I have been doing some initial testing with a new motherboard processor and RAM. That I am hoping to be able to run 3 Servers on. The intended virtual machines for the setup. 1.) A FreeBSD system to run Bacula, which will require PCI pass through for an eSATA drive dock so backups volumes can be Rotated. 2.) A FreeBSD system to host my web/email server, no pass through required. 3.) A FreeNAS box host SMB shares and iSCSI, will use a PCI pass through to allow direct access to 4 Hard drives, attached to a separate SATA controller. Current Hardware Information: eSATA Controller for backups: Koutech IO-PESA111 PCI Express SATA II (3.0Gb/s) - uses Silicon Image 3132 Chipset System Board: ASUS F2A85-M PRO FM2 AMD A85X (Hudson D4) CPU: AMD A10-5800K Trinity 3.8GHz (4.2GHz Turbo) Socket FM2 100W Quad-Core Desktop APU (CPU + GPU) RAM: CORSAIR Vengeance 16GB (4 x 4GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) I still need to add an additional controller SATA controller for the FreeNAS VM, but so far testing with a new machine built for the Bacula install has only been consistently able to trigger a complete core dump and crash of the ESXi host machine, sometimes at boot of the VM with PCI pass through, sometimes not until a load has been applied to the external hard drive on the Pass through SATA controller. I have tried the following things to fix this that I have come across while searching for help. Added the following to /boot/loader.conf: hw.pci.enable_msi=0 hw.pci.enable_msix=0 Added the following to the Vmware Virtual Machine Configuration: pciPassthru0.msiEnabled = "FALSE" -- Thanks, Dean E. Weimer http://www.dweimer.net/ From jbelyea5 at gmail.com Thu Mar 28 22:03:33 2013 From: jbelyea5 at gmail.com (Jeff Belyea) Date: Thu, 28 Mar 2013 18:03:27 -0400 Subject: No subject Message-ID: I have a new computer with windows 8, which I hate with a passion. I don't play music and I don't do a lot of pictures. Basically I only search, some EBay and games. Can I replace win8 with BSD? From illoai at gmail.com Thu Mar 28 23:20:16 2013 From: illoai at gmail.com (illoai at gmail.com) Date: Thu, 28 Mar 2013 19:20:15 -0400 Subject: In-Reply-To: References: Message-ID: On 28 March 2013 18:03, Jeff Belyea wrote: > I have a new computer with windows 8, which I hate with a passion. I don't > play music and I don't do a lot of pictures. Basically I only search, some > EBay and games. Can I replace win8 with BSD? Games? -- -- From quartz at sneakertech.com Thu Mar 28 23:47:01 2013 From: quartz at sneakertech.com (Quartz) Date: Thu, 28 Mar 2013 19:46:53 -0400 Subject: In-Reply-To: References: Message-ID: <5154D66D.5090407@sneakertech.com> > I have a new computer with windows 8, which I hate with a passion. I don't > play music and I don't do a lot of pictures. Basically I only search, some > EBay and games. Can I replace win8 with BSD? [pc/free]bsd *can* be used as a desktop system, but it's really aimed more at servers... a lot of common desktopy things aren't covered well. Based on the wording of your question it sounds like you're new to non-windows systems. I'd suggest you look into some flavor of linux instead (eg; "ubuntu" or "mint"): they'll be geared more towards what you'd be looking for I think. ______________________________________ it has a certain smooth-brained appeal From info at rapsoodia.ee Thu Mar 28 23:50:35 2013 From: info at rapsoodia.ee (>Horse_Bedding<) Date: Fri, 29 Mar 2013 01:50:40 +0200 Subject: >Straw_Pellets> Message-ID: <20130328235035.DBBDA45D@hub.freebsd.org> ?R A P S O O D I A OU Reg Nr.11460101, Tel +372 56 617 695 , Fax +372 6070148 , info at rapsoodia.ee Suur-Sojamae poik 9 , Tallinn , 11415 , Estonia ----------------------------------------------------------------------------------------------- Gentlemen, Our company Rapsoodia OU from Estonia sells a straw pellets in the 1000 kg big-bag and 16 kg plastic bags . If you are interested in cooperation with us , please report on the your wishes and quantities . The price-135 EUR /per tonne in 1000 kg bags on the our warehouse in Tallinn. 145 EUR /per tonne in 16 kg plastic bags . Also is possible the organisation of delivery to the buyer . We hope to hear from you soon. The best regards, Sergey Bogomolov Sales Manager of Rapsoodia OU From jamesp at musicreports.com Fri Mar 29 00:09:33 2013 From: jamesp at musicreports.com (James D. Parra) Date: Thu, 28 Mar 2013 17:01:36 -0700 (PDT) Subject: In-Reply-To: <5154D66D.5090407@sneakertech.com> Message-ID: <1678703586.5418.1364515296021.JavaMail.root@mri-mail> > I have a new computer with windows 8, which I hate with a passion. I don't > play music and I don't do a lot of pictures. Basically I only search, some > EBay and games. Can I replace win8 with BSD? [pc/free]bsd *can* be used as a desktop system, but it's really aimed more at servers... a lot of common desktopy things aren't covered well. Based on the wording of your question it sounds like you're new to non-windows systems. I'd suggest you look into some flavor of linux instead (eg; "ubuntu" or "mint"): they'll be geared more towards what you'd be looking for I think. ~~~~~~~~~~~~~~~~~~~~~~~ Why not PC-BSD? Easy to install and has a great looking and functional desktop. http://www.pcbsd.org/ Best regards, James From patmcevoy at mac.com Fri Mar 29 00:34:31 2013 From: patmcevoy at mac.com (Patrick McEvoy) Date: Thu, 28 Mar 2013 19:34:23 -0400 Subject: In-Reply-To: References: Message-ID: <5154D37F.60608@mac.com> On 3/28/13 7:20 PM, illoai at gmail.com wrote: > On 28 March 2013 18:03, Jeff Belyea wrote: >> I have a new computer with windows 8, which I hate with a passion. I don't >> play music and I don't do a lot of pictures. Basically I only search, some >> EBay and games. Can I replace win8 with BSD? > Games? > Games? Over 1100 of 'em!: http://www.freshports.org/games/ :-) P From gobble.wa at gmail.com Fri Mar 29 00:53:20 2013 From: gobble.wa at gmail.com (Waitman Gobble) Date: Thu, 28 Mar 2013 17:53:18 -0700 Subject: In-Reply-To: References: Message-ID: Waitman Gobble San Jose California USA On Mar 28, 2013 3:03 PM, "Jeff Belyea" wrote: > > I have a new computer with windows 8, which I hate with a passion. I don't > play music and I don't do a lot of pictures. Basically I only search, some > EBay and games. Can I replace win8 with BSD? yes, but first snoop around bios admin screens for uefi settings (might not actually say uefi but something else, and might be in the back 40 so the motherboard manual might help). also might be good to figure out if someone could possibly decide that your machine qualifies as a mobile device, disrupting its planned operation could cause an issue) Waitman Gobble San Jose California From rfg at tristatelogic.com Fri Mar 29 01:17:24 2013 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Thu, 28 Mar 2013 18:17:23 -0700 Subject: Copying memstick image to a USB (flash/thumb) drive In-Reply-To: <51543B7A.4030300@qeng-ho.org> Message-ID: <26455.1364519843@server1.tristatelogic.com> In message <51543B7A.4030300 at qeng-ho.org>, Arthur Chance wrote: >On 03/28/13 10:32, Ronald F. Guilmette wrote: >> It is possible, I would guess, that dd may notice the EOF occuring >> before it has filled up an entire input buffer, and then just quit >> at that point, _without_ writing the partial last block to the >> output device. > >It will attempt to write a short block. E.g. > >arthur at fileserver[2]> ls -l t.pdf >-rw-rw-r-- 1 arthur arthur 233812 Feb 18 12:26 t.pdf >arthur at fileserver[2]> dd if=t.pdf of=/dev/null bs=1k >228+1 records in >228+1 records out >233812 bytes transferred in 0.036731 secs (6365521 bytes/sec) > >Those +1 records are the final short block. OK. Thanks. That's definitely good to know. I wonder if this behavior is documented in the man page. (It certainly should be, if it isn't already.) >> It seems to me that conv=sync is cheap insurance against this >> possibility. > >It's used as an insurance against output devices which have a fixed (or >in the case of tape, a minimum) block size. If the short block is not an >exact integer multiple of the device block size then the final write >will fail. Right. I understand. >conv=sync and a bs (or obs) that's a strict multiple of block >size prevents the problem. That's exactly your use case. Right. Regards, rfg From rfg at tristatelogic.com Fri Mar 29 01:29:17 2013 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Thu, 28 Mar 2013 18:29:16 -0700 Subject: Where's the metadata? Message-ID: <26967.1364520556@server1.tristatelogic.com> So, um, I downloaded the memstick.img file for FreeBSD 9.1-RELEASE and then I dd'ed that to my 16GB ADATA USB flash thingy. After that, it worked just fine, and as expected. No problems. I could boot FreeBSD from it. Now however, I need to use that USB stick for something else, and I want to reformat the thing as a single NTFS file system using, one of my Windows systems to do that (re-)format. The problem is that now, the Windows system seems to think that the size of the thing is only something like 24.2 Megabytes... *not* the actual size, which is vastly larger (16GB). So I take the thing back and plug it in again to my FreeBSD system and I'm just about ready to simply dd a whole bunch of /dev/zero to the thing... figuring that this will probably cure it of its current drain bamage... but then at the last second I hesitate and decide to actually try to _understand_ what's going on here, really, for a change. So now I'm reading the man page for glabel(8) and I figure that this may help me to understand how the heck a 16GB USB flash thing magically becomes a (much smaller) 24.4 MB flash thingy. And I immediately spot the "dump" option. naturally, based on the name and the (rather terse) description in the man page, and I figure that this has got to be be useful. So I try it: # glabel dump da0 Can't read metadata from da0: Invalid argument. glabel: Not fully done. # glabel dump /dev/da0 Can't read metadata from /dev/da0: Invalid argument. glabel: Not fully done. Now, I say to you all, WTF? Why don't this work? Why don't it show me anything useful? Also, what exactly is this "fully done" gibberish? Is this like a souffle? If I come back in an hour, will it be "fully done"? Regards, rfg P.S. Yes, I _did_ plug the thing in firmly. It's there alright. # ls -l /dev/da* crw-r----- 1 root operator 0, 169 Mar 28 15:59 /dev/da0 crw-r----- 1 root operator 0, 170 Mar 28 15:59 /dev/da0a P.P.S. So what _is_ the best tool for just simply taking some sort of drive... like a USB flash drive, or any other kind of drive for that matter... and returning it to it's actual size? From danny at clari.net.au Fri Mar 29 01:58:50 2013 From: danny at clari.net.au (Daniel O'Callaghan) Date: Fri, 29 Mar 2013 12:58:41 +1100 Subject: Where's the metadata? In-Reply-To: <26967.1364520556@server1.tristatelogic.com> References: <26967.1364520556@server1.tristatelogic.com> Message-ID: <5154F551.6050904@clari.net.au> On 29/03/2013 12:29 PM, Ronald F. Guilmette wrote: > So what_is_ the best tool for just simply taking some sort of > drive... like a USB flash drive, or any other kind of drive for that > matter... and returning it to it's actual size? Did you try using fdisk? It is probably a standard MBR boot record, not a GEOM one. Just a thought... Danny From quartz at sneakertech.com Fri Mar 29 02:04:47 2013 From: quartz at sneakertech.com (Quartz) Date: Thu, 28 Mar 2013 22:04:44 -0400 Subject: Where's the metadata? In-Reply-To: <26967.1364520556@server1.tristatelogic.com> References: <26967.1364520556@server1.tristatelogic.com> Message-ID: <5154F6BC.7020600@sneakertech.com> > The problem is that now, the Windows system seems to think that the > size of the thing is only something like 24.2 Megabytes... *not* the > actual size, which is vastly larger (16GB). >but then at the last second I hesitate and decide to > actually try to _understand_ what's going on here, really, for a change. By default, when looking with disks in explorer, windows will only mess with partitions (slices). In this case, your usb drive has a single partition just big enough to hold the installer, with the remainder of the drive being dead space. You need to delete this partition and create a new one that spans the entire size of the drive. Unfortunately, windows doesn't make this as easy as it should be. You'll need to open your control panel -> administrative tools -> computer management -> disk management > So now I'm reading the man page for glabel(8) glabel is totally not related to your problem at all. glabel is for when you want to refer to disks via a user created identifier string when you can't rely on the device id. > P.P.S. So what _is_ the best tool for just simply taking some sort of > drive... like a USB flash drive, or any other kind of drive for that > matter... and returning it to it's actual size? Use a real partitioning program as opposed to the crap built into the windows right-click menu. On freebsd, this would be 'gpart'. ______________________________________ it has a certain smooth-brained appeal From quartz at sneakertech.com Fri Mar 29 02:10:56 2013 From: quartz at sneakertech.com (Quartz) Date: Thu, 28 Mar 2013 22:10:48 -0400 Subject: Where's the metadata? In-Reply-To: <5154F551.6050904@clari.net.au> References: <26967.1364520556@server1.tristatelogic.com> <5154F551.6050904@clari.net.au> Message-ID: <5154F828.8010202@sneakertech.com> > Did you try using fdisk? Don't use fdisk, it's waaaaaay out of date, doesn't work with a lot of modern large drives, and has horribly arcane syntax. Modern versions of gpart support MBR, so there's basically no reason to suffer through fdisk anymore. ______________________________________ it has a certain smooth-brained appeal From patmcevoy at mac.com Fri Mar 29 04:09:24 2013 From: patmcevoy at mac.com (Patrick McEvoy) Date: Thu, 28 Mar 2013 23:09:16 -0400 Subject: In-Reply-To: <1678703586.5418.1364515296021.JavaMail.root@mri-mail> References: <1678703586.5418.1364515296021.JavaMail.root@mri-mail> Message-ID: <515505DC.5030007@mac.com> On 3/28/13 8:01 PM, James D. Parra wrote: >> I have a new computer with windows 8, which I hate with a passion. I don't >> play music and I don't do a lot of pictures. Basically I only search, some >> EBay and games. Can I replace win8 with BSD? > [pc/free]bsd *can* be used as a desktop system, but it's really aimed > more at servers... a lot of common desktopy things aren't covered well. > Based on the wording of your question it sounds like you're new to > non-windows systems. I'd suggest you look into some flavor of linux > instead (eg; "ubuntu" or "mint"): they'll be geared more towards what > you'd be looking for I think. > ~~~~~~~~~~~~~~~~~~~~~~~ > > Why not PC-BSD? Easy to install and has a great looking and functional desktop. > > http://www.pcbsd.org/ > > Best regards, > > James > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" +1 for PCBSD. I put together a PCBSD system for my sister who is not very technical and she likes it. It does everything she needs. She even prefers the version of Open Office to the MS version she uses at work. P From laszlo_danielisz at yahoo.com Fri Mar 29 04:39:30 2013 From: laszlo_danielisz at yahoo.com (Laszlo Danielisz) Date: Thu, 28 Mar 2013 22:10:42 +0100 Subject: external hdd Message-ID: Hi there, If I'm sharing an external 1TB HDD with FreeBSD and OS-X (I wan to use Time Machine), what is the best file system to use? thx! Laszlo From amutu at amutu.com Fri Mar 29 04:53:47 2013 From: amutu at amutu.com (Jov) Date: Fri, 29 Mar 2013 12:53:25 +0800 Subject: Where's the metadata? In-Reply-To: <26967.1364520556@server1.tristatelogic.com> References: <26967.1364520556@server1.tristatelogic.com> Message-ID: use newfs_msdos in FreeBSD,then format it to NTFS in windows. I used this command solve the same problem. 2013/3/29 Ronald F. Guilmette > > > So, um, I downloaded the memstick.img file for FreeBSD 9.1-RELEASE and > then I dd'ed that to my 16GB ADATA USB flash thingy. After that, it > worked just fine, and as expected. No problems. I could boot FreeBSD > from it. > > Now however, I need to use that USB stick for something else, and I > want to reformat the thing as a single NTFS file system using, one > of my Windows systems to do that (re-)format. > > The problem is that now, the Windows system seems to think that the > size of the thing is only something like 24.2 Megabytes... *not* the > actual size, which is vastly larger (16GB). > > So I take the thing back and plug it in again to my FreeBSD system > and I'm just about ready to simply dd a whole bunch of /dev/zero to > the thing... figuring that this will probably cure it of its current > drain bamage... but then at the last second I hesitate and decide to > actually try to _understand_ what's going on here, really, for a change. > > So now I'm reading the man page for glabel(8) and I figure that this > may help me to understand how the heck a 16GB USB flash thing magically > becomes a (much smaller) 24.4 MB flash thingy. And I immediately spot > the "dump" option. naturally, based on the name and the (rather terse) > description in the man page, and I figure that this has got to be be > useful. So I try it: > > # glabel dump da0 > Can't read metadata from da0: Invalid argument. > glabel: Not fully done. > # glabel dump /dev/da0 > Can't read metadata from /dev/da0: Invalid argument. > glabel: Not fully done. > > Now, I say to you all, WTF? Why don't this work? Why don't it show me > anything useful? > > Also, what exactly is this "fully done" gibberish? > > Is this like a souffle? If I come back in an hour, will it be "fully > done"? > > > Regards, > rfg > > > P.S. Yes, I _did_ plug the thing in firmly. It's there alright. > > # ls -l /dev/da* > crw-r----- 1 root operator 0, 169 Mar 28 15:59 /dev/da0 > crw-r----- 1 root operator 0, 170 Mar 28 15:59 /dev/da0a > > > P.P.S. So what _is_ the best tool for just simply taking some sort of > drive... like a USB flash drive, or any other kind of drive for that > matter... and returning it to it's actual size? > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > -- Jov blog: http:amutu.com/blog From amutu at amutu.com Fri Mar 29 05:08:38 2013 From: amutu at amutu.com (Jov) Date: Fri, 29 Mar 2013 13:08:11 +0800 Subject: Where's the metadata? In-Reply-To: <26967.1364520556@server1.tristatelogic.com> References: <26967.1364520556@server1.tristatelogic.com> Message-ID: use newfs_msdos /dev/da0 in FreeBSD,then format it to NTFS in windows. I used this command solve the same problem. 2013/3/29 Ronald F. Guilmette > > > So, um, I downloaded the memstick.img file for FreeBSD 9.1-RELEASE and > then I dd'ed that to my 16GB ADATA USB flash thingy. After that, it > worked just fine, and as expected. No problems. I could boot FreeBSD > from it. > > Now however, I need to use that USB stick for something else, and I > want to reformat the thing as a single NTFS file system using, one > of my Windows systems to do that (re-)format. > > The problem is that now, the Windows system seems to think that the > size of the thing is only something like 24.2 Megabytes... *not* the > actual size, which is vastly larger (16GB). > > So I take the thing back and plug it in again to my FreeBSD system > and I'm just about ready to simply dd a whole bunch of /dev/zero to > the thing... figuring that this will probably cure it of its current > drain bamage... but then at the last second I hesitate and decide to > actually try to _understand_ what's going on here, really, for a change. > > So now I'm reading the man page for glabel(8) and I figure that this > may help me to understand how the heck a 16GB USB flash thing magically > becomes a (much smaller) 24.4 MB flash thingy. And I immediately spot > the "dump" option. naturally, based on the name and the (rather terse) > description in the man page, and I figure that this has got to be be > useful. So I try it: > > # glabel dump da0 > Can't read metadata from da0: Invalid argument. > glabel: Not fully done. > # glabel dump /dev/da0 > Can't read metadata from /dev/da0: Invalid argument. > glabel: Not fully done. > > Now, I say to you all, WTF? Why don't this work? Why don't it show me > anything useful? > > Also, what exactly is this "fully done" gibberish? > > Is this like a souffle? If I come back in an hour, will it be "fully > done"? > > > Regards, > rfg > > > P.S. Yes, I _did_ plug the thing in firmly. It's there alright. > > # ls -l /dev/da* > crw-r----- 1 root operator 0, 169 Mar 28 15:59 /dev/da0 > crw-r----- 1 root operator 0, 170 Mar 28 15:59 /dev/da0a > > > P.P.S. So what _is_ the best tool for just simply taking some sort of > drive... like a USB flash drive, or any other kind of drive for that > matter... and returning it to it's actual size? > > _______________________________________________ > freebsd-questions at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe at freebsd.org" > -- Jov blog: http:amutu.com/blog From cybernautape at gmail.com Fri Mar 29 08:51:24 2013 From: cybernautape at gmail.com (Edgar Rodolfo) Date: Fri, 29 Mar 2013 03:51:22 -0500 Subject: Pkg in FreeBSD 9.1 release, file not found Message-ID: Hi guys! :) I put in .cshrc: setenv PACKAGESITE "ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest" and afterwards #pkg_add -r pkg to use pkg But currently i can not use pkg :(, but i remember that few days ago i was using I used pkg to update and install some binary package, but today I can not use pkg. today when i put pkg update: pkg: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest//repo.txz:File unavailable (e.g., file not found, no access) currently i have: #~pkg info pkg pkg-1.0.1 New generation manager I copy the file pkg.conf.sample to /usr/local/etc/pkg.conf #less /usr/local/etc/pkg.conf [...] #Configuraton options PACKAGESITE :http://pkg.freebsd.org/${ABI}/Latest [...] But it does not works :(, help me please :(, thanks in advice for you reply -- "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." -- Dennis M. Ritchie Mis bits: http://bitsenlared.wordpress.com Live free or die! From freebsd at edvax.de Fri Mar 29 09:12:12 2013 From: freebsd at edvax.de (Polytropon) Date: Fri, 29 Mar 2013 10:12:10 +0100 Subject: In-Reply-To: <5154D66D.5090407@sneakertech.com> References: <5154D66D.5090407@sneakertech.com> Message-ID: <20130329101210.ff3c4391.freebsd@edvax.de> Sorry I have to say that, but I feel I have to comment on this: On Thu, 28 Mar 2013 19:46:53 -0400, Quartz wrote: > [pc/free]bsd *can* be used as a desktop system, but it's really aimed > more at servers... FreeBSD is, per definition, a multi-purpose operating system. It can be used on servers, on desktops, on "combined forms", even on embedded. The description "desktop", as I will admit, includes the ability to do several things, such as web browsing, emailing, word processing. Someone may include multimedia, someone else may include gaming. There is no strict definition on what makes "desktop". > a lot of common desktopy things aren't covered well. Personally I'm using FreeBSD _exclusively_ (!) on the desktop since version 4.0, and I haven't missed _any_ "common desktopy thing" that is required for my daily work. So at least from my limited and very individual point of view, everything is covered fine, on my home machines, and on the several laptops I have been using. I know I'm probably doing something wrong. :-) > Based on the wording of your question it sounds like you're new to > non-windows systems. I'd suggest you look into some flavor of linux > instead (eg; "ubuntu" or "mint"): they'll be geared more towards what > you'd be looking for I think. This assumption is what PC-BSD has been invented for. :-) Honestly: I know there are several things that do not work out of the box with FreeBSD, such as specific network sets, strange electrical sheet feeders with inkpee mechanism, controlled by an unknown USB data stream, or "commodity gadgets". Problems can also occur when considering that some hardware manufacturers cripple their hardware intendedly in order to get permission to put a "Windows" advertising sticker on them. In such cases, Linux is often an advantage as they have developed means to deal with that. Still if the OP is explicitely _interested_ in running FreeBSD, what's wrong in a try first? Maybe first PC-BSD, then "normal" FreeBSD? In worst case, he would be able to download some Linux distribution (and I second your suggestions of Ubuntu and Mint, maybe add openSuSE?) and use that instead. There is no reason to stay with "Windows 8" when everything it gives you is headaches and rage attacks. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From sales3 at china-wipers.com Fri Mar 29 09:28:19 2013 From: sales3 at china-wipers.com (sales3) Date: Fri, 29 Mar 2013 17:30:10 +0800 Subject: Flat Windshield Wiper Blade You Want References: <201303011349095003173@fulongauto.com> Message-ID: <201303140959028598077@fulongauto.com> Dear Purchasing Manager, Glad to hear that you're in the market for wiper blades . We specialized in producing wiper blades for several years ,and hope to cooperate with you . More products details as follows: 1.Multifunctional wiper blades with eight new adaptors with special patented technology can be widely used for 99% cars. 2.Top quality natural rubber and spring steel resist ultraviolet radiation and noise well. 3. Worldwide sales, exported to more than 30 countries. Any query ,pls contact me freely. Thanks &best regards From cpghost at cordula.ws Fri Mar 29 12:48:14 2013 From: cpghost at cordula.ws (C. P. Ghost) Date: Fri, 29 Mar 2013 13:48:11 +0100 Subject: In-Reply-To: References: Message-ID: On Thu, Mar 28, 2013 at 11:03 PM, Jeff Belyea wrote: > I have a new computer with windows 8, which I hate with a passion. I don't > play music and I don't do a lot of pictures. Basically I only search, some > EBay and games. Can I replace win8 with BSD? > Of course you can. I suggest that you 0. make a full backup of your win8 drive... just in case you want to go back. You may also want to extract the win8 product key and write it down: * http://superuser.com/questions/495794/how-can-i-find-the-product-key-that-was-used-to-activate-windows-8 * http://forums.mydigitallife.info/threads/30363-Windows-8-Product-Key-Viewer 1. fetch a memstick image e.g. from here: ftp://ftp2.us.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.1/FreeBSD-9.1-RELEASE-amd64-memstick.img and write it with your favorite application on a USB flash drive. 2. switch your computer firmware from UEFI to CSM (compatibility support module), a.k.a. old BIOS mode, so you can boot external media. 3. boot from the USB flash drive, and experiment with FreeBSD. 4. install to disk (eventually after resizing and repartitioning the win8 part if you want to keep that). Good luck! -cpghost. -- Cordula's Web. http://www.cordula.ws/ From roberthuff at rcn.com Fri Mar 29 14:11:25 2013 From: roberthuff at rcn.com (Robert Huff) Date: Fri, 29 Mar 2013 10:11:17 -0400 Subject: dump locking up system Message-ID: <20821.41221.631111.321717@jerusalem.litteratus.org> (While the system involved is -CURRENT, this doesn't seem to have anything CURRENT-related.) On a system running: FreeBSD 10.0-CURRENT #0: Sun Dec 30 12:52:09 EST 2012 amd64 running dump causes the system to lock up ... sometimes. Specifics: I have a cron job which runs at 0200 local; it dumps three filesystems - /, /var, and /usr - to an external hard drive attached by eSATA. (Dump is incremental Tuesday through Sunday, full on Monday.) After some time of working transparently, this now semi- reliably causes the system to lock up requiring power-off to fix. a) According to dumpdates, the dump of / always completes. Only dumping /var or /usr cause the lock-up. b) There's nothing else in cron running about that time. c) "Top" doesn't show any suspicious processes or activity. d) When doing "fsck" on re-boot, the only thing suspicious is a file - caught in fsck phase 1 - large enough to be the usused space on the disk. e) The dump is run in snapshot mode; this has not previously been a problem. f) The exact command used is: dump $DUMP_LEVEL -D $DUMPDATES_FILE -C $DUMP_CACHE -b 64 -Lau -f $DUMP_DATE.var.dump /var where all of the $VARs are appropriately defined elsewhere. g) When run outside the cron environment, the script always runs to completion. Two possibilities come to mind: some kind of hardware failure, or a subtle corruption of the file system. Please - someone out there hav a better idea. ResEpoectfully, Robert Huff From davida at thurber.org Fri Mar 29 15:45:58 2013 From: davida at thurber.org (David Thurber) Date: Fri, 29 Mar 2013 09:19:02 -0600 Subject: EOL Message-ID: <5155B0E6.9030303@thurber.org> I have 5 XP machines on my node that are used to crunch data 24/7. So, I'm looking for an OS platform that has a 10 year EOL to replace XP/3. What I got from your website appears to be a year or two at most on freebsd 8.3, and we really don't want to repeat the travails of the transition from 98SE to XP/3 after this one because the research team will be mostly mid 80's early 90"s by then. It's a lot of data fetched over the web so we need security updates to keep the OS secure with minimal interaction. From freebsd at edvax.de Fri Mar 29 16:10:24 2013 From: freebsd at edvax.de (Polytropon) Date: Fri, 29 Mar 2013 17:03:38 +0100 Subject: EOL In-Reply-To: <5155B0E6.9030303@thurber.org> References: <5155B0E6.9030303@thurber.org> Message-ID: <20130329170338.f6e45c5c.freebsd@edvax.de> On Fri, 29 Mar 2013 09:19:02 -0600, David Thurber wrote: > I have 5 XP machines on my node that are used to crunch data 24/7. So, > I'm looking for an OS platform that has a 10 year EOL to replace XP/3. It's good you're paying attention to the upcoming death of "Windows XP" and the expected birth of lots of new malware, exploiting unfixed vulnerabilities. :-) > What I got from your website appears to be a year or two at most on > freebsd 8.3, and we really don't want to repeat the travails of the > transition from 98SE to XP/3 after this one because the research team > will be mostly mid 80's early 90"s by then. You should use the most recent FreeBSD version for your first installation unless there's a _valid_ reason to use an older release which you cannot avoid. As with many software projects, FreeBSD is continuously developed. Security patches are backported from the current development branches to older (legacy) ones for some time, as long as this is possible. This of couse does not stop you to keep a FreeBSD installation running. For example, I still have a FreeBSD 4.1 file server which I see no need to replace, primarily because it runs "in-house only" and has no connection to the Internet. This is probably your biggest concern. However, FreeBSD is much more secure than "Windows XP" due to design and defaults. But keep in mind you're not just using the OS, you're also using additional software which also has to be kept current to operate securely. FreeBSD allows you to update software (from the ports collection) even on older installations. Of course this is not "possible unlimited" - but as long as the required OS infrastructures are present, it can be done. > It's a lot of data fetched > over the web so we need security updates to keep the OS secure with > minimal interaction. FreeBSD and its applications can be updated from source. There are lots of tools (such as port management tools like portmaster) to help you with this task. But there are also tools for binary updates. They even cover transition to a new major release. You can use freebsd-update to get the security patches for the OS, this is very easy and does not involve much interaction. FreeBSD will provide a very solid foundation for running secure installations over a long time. Of course you will need to perform updates, but this is very easy to do, as I said. You may check "The FreeBSD Handbook" for more information. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From matthew at FreeBSD.org Fri Mar 29 16:38:30 2013 From: matthew at FreeBSD.org (Matthew Seaman) Date: Fri, 29 Mar 2013 16:38:14 +0000 Subject: EOL In-Reply-To: <5155B0E6.9030303@thurber.org> References: <5155B0E6.9030303@thurber.org> Message-ID: <5155C376.9020308@FreeBSD.org> On 29/03/2013 15:19, David Thurber wrote: > I have 5 XP machines on my node that are used to crunch data 24/7. So, > I'm looking for an OS platform that has a 10 year EOL to replace XP/3. > > What I got from your website appears to be a year or two at most on > freebsd 8.3, and we really don't want to repeat the travails of the > transition from 98SE to XP/3 after this one because the research team > will be mostly mid 80's early 90"s by then. It's a lot of data fetched > over the web so we need security updates to keep the OS secure with > minimal interaction. 10 years is an eternity in computing terms. In 10 years your five machines will be easily outclassed by a single machine costing a fraction as much, if Moore's Law holds up. In fact, by then you could probably virtualize all five onto the same platform and still come out ahead. Might I suggest that your best option is not to look for an OS which has a 10-year release lifetime; something I think you'ld struggle to find from any FOSS project, and would probably have to pay exhorbitantly for from a commercial provider. Instead, look for an OS where you can maintain a configuration environment for the lifetime of your project. By that I mean you can still run the original binaries. In this respect, I think FreeBSD would be one of the better choices. I mean, 10 years ago, FreeBSD 5.0 and 5.1 were the latest releases. Now, that release branch had its problems, but it marked the last hugely incompatible change across major version updates (as seen in the 3 -> 4 and 4 -> 5 upgrades). In principle, given a suitable set of compat5x libraries (ie. the misc/compat5x port) and a kernel compiled with 'options COMPAT_FREEBSD5' (which is in the default kernel), you could run software compiled for 5.x on a contemporary system. Of course, there can't be any guarantees that your project running on FreeBSD 9.2 now could be supported in compat9x mode on FreeBSD 15.x in 2023. But I'd suggest the FreeBSD is probably one of your best bets for achieving that. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 268 bytes Desc: OpenPGP digital signature URL: From cswiger at mac.com Fri Mar 29 17:07:00 2013 From: cswiger at mac.com (Chuck Swiger) Date: Fri, 29 Mar 2013 10:06:52 -0700 Subject: external hdd In-Reply-To: References: Message-ID: <6B60EA1E-0277-499A-917A-AA2B3030F0FD@mac.com> On Mar 28, 2013, at 2:10 PM, Laszlo Danielisz wrote: > If I'm sharing an external 1TB HDD with FreeBSD and OS-X (I wan to use Time Machine), what is the best file system to use? Time Machine is only supported on top of journaled HFS+; I'm not sure how fusefs-hfs is doing on FreeBSD, though. Or you could setup multiple partitions and have an exFAT partition for data interchange between other OSes. Regards, -- -Chuck From mexas at bristol.ac.uk Fri Mar 29 18:33:05 2013 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Fri, 29 Mar 2013 18:32:34 GMT Subject: Operation timed out with smtp.gmail.com - please help Message-ID: <201303291832.r2TIWYPW035723@zzz.men.bris.ac.uk> Please help debug sendmail / smtp.gmail config. My University just switched to gmail (dickheads) and I'm trying to figure out how to set it up. It used to work ok with the University smtp auth server. Now I get in /var/log/maillog: sm-mta[72300]: r2TI0vQc072134: to=, ctladdr= (1001/1001), delay=00:20:01, xdelay=00:00:00, mailer=relay, pri=210424, relay=smtp.gmail.com, dsn=4.0.0, stat=Deferred: Operation timed out with smtp.gmail.com I switched the firewall off completely. I have: # cat /etc/mail/auth/client-info AuthInfo:smtp.gmail.com "U:root" "I:mexas at bristol.ac.uk" "P:xxxxx" # and this in /etc/mail/freebsd.mc: define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`SMART_HOST', `smtp.gmail.com')dnl I rebuilt (run make under /etc/mail. This just renames freebsd.mc to .mc, and freebsd.submit.mc to .submit.mc) and restarted sendmail. I also use: MASQUERADE_AS(`bristol.ac.uk') MASQUERADE_DOMAIN(`bristol.ac.uk') to use the university domain instead of may xxxx.men.bris.ac.uk, which is not acceptable. What else am I missing? Thanks Anton From cederom at tlen.pl Fri Mar 29 19:03:59 2013 From: cederom at tlen.pl (CeDeROM) Date: Fri, 29 Mar 2013 20:03:58 +0100 Subject: Operation timed out with smtp.gmail.com - please help In-Reply-To: <201303291832.r2TIWYPW035723@zzz.men.bris.ac.uk> References: <201303291832.r2TIWYPW035723@zzz.men.bris.ac.uk> Message-ID: gmail has blocking mechanism when you use it from different devices, try this maybe it will help: https://accounts.google.com/DisplayUnlockCaptcha -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From walterhurry at gmail.com Fri Mar 29 19:12:10 2013 From: walterhurry at gmail.com (Walter Hurry) Date: Fri, 29 Mar 2013 19:11:43 +0000 (UTC) Subject: x11-toolkits/gtksourceview2 is broken Message-ID: FreeBSD 9.1-RELEASE on amd64 This afternoon I upgraded textproc/libxml2 from version 2.7.8_5 to version 2.7.8_0 (at least I think it's libxml2 that's the problem - I upgraded py27-libxml2 and gdk-pixbuf2 at the same time). Then x11-toolkits/gtksourceview2 would not compile. I got the following error: CCLD test-widget ../gtksourceview/.libs/libgtksourceview-2.0.so: undefined reference to `xmlTextReaderRelaxNGValidate' gmake[2]: *** [test-widget] Error 1 Sure enough, I see a similar error when I try to open a shell script with gedit: /usr/local/lib/libgtksourceview-2.0.so.0: Undefined symbol "xmlTextReaderRelaxNGValidate" Where do I go from here? From jerry at seibercom.net Fri Mar 29 19:41:34 2013 From: jerry at seibercom.net (Jerry) Date: Fri, 29 Mar 2013 15:36:19 -0400 Subject: Operation timed out with smtp.gmail.com - please help In-Reply-To: <201303291832.r2TIWYPW035723@zzz.men.bris.ac.uk> References: <201303291832.r2TIWYPW035723@zzz.men.bris.ac.uk> Message-ID: <20130329153619.69c5b4dd@scorpio> On Fri, 29 Mar 2013 18:32:34 GMT Anton Shterenlikht articulated: > Please help debug sendmail / smtp.gmail config. > > My University just switched to gmail (dickheads) > and I'm trying to figure out how to set it up. > > It used to work ok with the University smtp auth > server. Now I get in /var/log/maillog: > > sm-mta[72300]: r2TI0vQc072134: to=, > ctladdr= (1001/1001), > delay=00:20:01, xdelay=00:00:00, mailer=relay, pri=210424, > relay=smtp.gmail.com, dsn=4.0.0, > stat=Deferred: Operation timed out with smtp.gmail.com > > I switched the firewall off completely. > > I have: > > # cat /etc/mail/auth/client-info > AuthInfo:smtp.gmail.com "U:root" "I:mexas at bristol.ac.uk" "P:xxxxx" > # > > and this in /etc/mail/freebsd.mc: > > define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl > define(`SMART_HOST', `smtp.gmail.com')dnl > > I rebuilt (run make under /etc/mail. This just > renames freebsd.mc to .mc, and freebsd.submit.mc > to .submit.mc) and restarted sendmail. > > I also use: > > MASQUERADE_AS(`bristol.ac.uk') > MASQUERADE_DOMAIN(`bristol.ac.uk') > > to use the university domain instead of > may xxxx.men.bris.ac.uk, which is not > acceptable. Try this at the command line: openssl s_client -connect smtp.gmail.com:25 -starttls smtp If it times out, change the port number to 587 and try it again. If you cannot make a connect using either port number then you have a firewall problem. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From illoai at gmail.com Fri Mar 29 20:27:27 2013 From: illoai at gmail.com (illoai at gmail.com) Date: Fri, 29 Mar 2013 16:27:20 -0400 Subject: x11-toolkits/gtksourceview2 is broken In-Reply-To: References: Message-ID: On 29 March 2013 15:11, Walter Hurry wrote: > FreeBSD 9.1-RELEASE on amd64 > > This afternoon I upgraded textproc/libxml2 from version 2.7.8_5 to > version 2.7.8_0 (at least I think it's libxml2 that's the problem - I > upgraded py27-libxml2 and gdk-pixbuf2 at the same time). > > Then x11-toolkits/gtksourceview2 would not compile. I got the following > error: > > CCLD test-widget > ../gtksourceview/.libs/libgtksourceview-2.0.so: undefined reference to > `xmlTextReaderRelaxNGValidate' > gmake[2]: *** [test-widget] Error 1 > > Sure enough, I see a similar error when I try to open a shell script with > gedit: > > /usr/local/lib/libgtksourceview-2.0.so.0: Undefined symbol > "xmlTextReaderRelaxNGValidate" > > Where do I go from here? > > Looks like xmlTextReaderRelaxNGValidate is provided by /usr/local/include/libxml2/libxml/xmlreader.h As an analogy, I seem to recall having trouble in the past with the freetype2/freetype nested directories & #include statements that never seemed to pick up the subtleties & my solution at the time was to: # ln -s /usr/local/include/freetype2/freetype /usr/local/include/freetype This probably caused an orphan in Mumbai to experience an existential dread they still don't understand, but I'll be danged if it didn't work. Otherwise, you can blindly run # portmaster -r libxml2 (or some perverted equivalent thereof) & pray. It'll probably run for a good while. % pkg info -r libxml2 | wc -l 148 (that's including the "libxml2-2.7.8_5 is required by: " line though) HTH -- -- From andre at drenet.info Fri Mar 29 21:53:53 2013 From: andre at drenet.info (Andre Goree) Date: Fri, 29 Mar 2013 17:29:37 -0400 Subject: Proper way to update ports with svn Message-ID: <515607C1.2010701@drenet.info> I seem to have to run 'make index' in /usr/ports after I've run 'svn up /usr/ports' in order to see which ports need to be updated using 'portversion'. This doesn't seem correct...and if so portsnap would seem like a much better tool. Perhaps I should be running 'make fetchindex' instead? I'm sure I've read about the correct way to do so, but it doesn't appear to be here: https://wiki.freebsd.org/PortsSubversionPrimer Thanks in advance for any advice. -- Andre Goree andre at drenet.info From ml at my.gd Fri Mar 29 22:52:30 2013 From: ml at my.gd (Damien Fleuriot) Date: Fri, 29 Mar 2013 23:52:29 +0100 Subject: external hdd In-Reply-To: <6B60EA1E-0277-499A-917A-AA2B3030F0FD@mac.com> References: <6B60EA1E-0277-499A-917A-AA2B3030F0FD@mac.com> Message-ID: On 29 March 2013 18:06, Chuck Swiger wrote: > On Mar 28, 2013, at 2:10 PM, Laszlo Danielisz wrote: > > If I'm sharing an external 1TB HDD with FreeBSD and OS-X (I wan to use > Time Machine), what is the best file system to use? > > Time Machine is only supported on top of journaled HFS+; I'm not sure how > fusefs-hfs is doing on FreeBSD, though. Or you could setup multiple > partitions and have an exFAT partition for data interchange between other > OSes. > > Regards, > -- > -Chuck Now, unless I got things wrong, I believe you're mistaken. I, for instance, have a Time Machine server running on top of 10.0-CURRENT with ZFS. http://www.area536.com/projects/ironclad-time-machine-backups-on-freebsd/ From cswiger at mac.com Fri Mar 29 23:13:29 2013 From: cswiger at mac.com (Chuck Swiger) Date: Fri, 29 Mar 2013 16:13:22 -0700 Subject: external hdd In-Reply-To: References: <6B60EA1E-0277-499A-917A-AA2B3030F0FD@mac.com> Message-ID: <150B553F-AED1-45D7-86C9-EB482ED267EC@mac.com> Hi-- On Mar 29, 2013, at 3:52 PM, Damien Fleuriot wrote: > On 29 March 2013 18:06, Chuck Swiger wrote: >> Time Machine is only supported on top of journaled HFS+; I'm not sure how fusefs-hfs is doing on FreeBSD, though. Or you could setup multiple partitions and have an exFAT partition for data interchange between other OSes. > > Now, unless I got things wrong, I believe you're mistaken. The key word above which folks might not be paying enough attention towards-- particularly in the context of a backup solution-- is "supported". > I, for instance, have a Time Machine server running on top of 10.0-CURRENT with ZFS. > http://www.area536.com/projects/ironclad-time-machine-backups-on-freebsd/ Indeed. As one might note on that page: defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1 ^^^^^^^^^^^ #include Regards, -- -Chuck From gull at gull.us Fri Mar 29 23:39:19 2013 From: gull at gull.us (David Brodbeck) Date: Fri, 29 Mar 2013 16:39:17 -0700 Subject: OT: The future of USENET? In-Reply-To: <20130328055916.d80acbbc06db0c4f2761bcfd@sohara.org> References: <20130328055916.d80acbbc06db0c4f2761bcfd@sohara.org> Message-ID: On Wed, Mar 27, 2013 at 10:59 PM, Steve O'Hara-Smith wrote: > There are several free public USENET text servers (no binary > groups), granted it's nothing like the days when every ISP ran one but > there are still several about (eternal-september.com is one of the > biggest). There are also a few low cost paid servers (individual.netstands > out here). There is also a thriving business in paid for USENET binary > service. > Even back in the day I used to use public servers, because the ISP-run ones generally had poor uptime and a poor selection of groups. These days I tend not to read USENET groups because of the high amount of spam traffic, and the fact that the remaining posters tend to be interested mostly in continuing their own long-running flame wars while chasing off newbies. Maybe I just value my time more highly these days. ;) From erichsfreebsdlist at alogt.com Sat Mar 30 00:00:55 2013 From: erichsfreebsdlist at alogt.com (Erich Dollansky) Date: Sat, 30 Mar 2013 07:00:43 +0700 Subject: EOL In-Reply-To: <5155B0E6.9030303@thurber.org> References: <5155B0E6.9030303@thurber.org> Message-ID: <20130330070043.0f9fa66f@X220.ovitrap.com> Hi, On Fri, 29 Mar 2013 09:19:02 -0600 David Thurber wrote: > I have 5 XP machines on my node that are used to crunch data 24/7. > So, I'm looking for an OS platform that has a 10 year EOL to replace > XP/3. > if you do not count the service packs and updates, your XP installation is EOL since 2001. If you count service packs and patches, FreeBSD has no defined EOL. All you have to do, is to introduce an update and patch strategy and do it at predefined times. > What I got from your website appears to be a year or two at most on > freebsd 8.3, and we really don't want to repeat the travails of the > transition from 98SE to XP/3 after this one because the research team > will be mostly mid 80's early 90"s by then. It's a lot of data > fetched over the web so we need security updates to keep the OS > secure with minimal interaction. If you would like to stick with x86, I would say that FreeBSD has the smoothest update and upgrade path. If you want something better, you would have to move to AIX or Solaris. Erich From FreeBSD at ShaneWare.Biz Sat Mar 30 01:15:01 2013 From: FreeBSD at ShaneWare.Biz (Shane Ambler) Date: Sat, 30 Mar 2013 11:44:57 +1030 Subject: external hdd In-Reply-To: <150B553F-AED1-45D7-86C9-EB482ED267EC@mac.com> References: <6B60EA1E-0277-499A-917A-AA2B3030F0FD@mac.com> <150B553F-AED1-45D7-86C9-EB482ED267EC@mac.com> Message-ID: <51563C91.9090006@ShaneWare.Biz> On 30/03/2013 09:43, Chuck Swiger wrote: > Hi-- > > On Mar 29, 2013, at 3:52 PM, Damien Fleuriot wrote: >> On 29 March 2013 18:06, Chuck Swiger wrote: >>> Time Machine is only supported on top of journaled HFS+; I'm not >>> sure how fusefs-hfs is doing on FreeBSD, though. Or you could >>> setup multiple partitions and have an exFAT partition for data >>> interchange between other OSes. >> >> Now, unless I got things wrong, I believe you're mistaken. > > The key word above which folks might not be paying enough attention > towards-- particularly in the context of a backup solution-- is > "supported". > >> I, for instance, have a Time Machine server running on top of >> 10.0-CURRENT with ZFS. >> http://www.area536.com/projects/ironclad-time-machine-backups-on-freebsd/ > >> > Indeed. As one might note on that page: > > defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1 > ^^^^^^^^^^^ The real point to notice is that the mentioned zfs storage is accessed over the network not over a local usb/sata cable. The freebsd server reads/writes to zfs the remote mac only talks afp over tcp seeing it as another network fileserver. While 10.5 included a zfs read-only kext apple removed it in 10.6 or 10.7. There is an oss version of zfs started that appears to have been revived - maczfs.com. There is also a commercial package for osx zfs - zevo. I'm not vouching for either of these just mentioning that they exist. From ml at my.gd Sat Mar 30 01:49:23 2013 From: ml at my.gd (Damien Fleuriot) Date: Sat, 30 Mar 2013 02:49:20 +0100 Subject: external hdd In-Reply-To: <51563C91.9090006@ShaneWare.Biz> References: <6B60EA1E-0277-499A-917A-AA2B3030F0FD@mac.com> <150B553F-AED1-45D7-86C9-EB482ED267EC@mac.com> <51563C91.9090006@ShaneWare.Biz> Message-ID: On 30 March 2013 02:14, Shane Ambler wrote: > On 30/03/2013 09:43, Chuck Swiger wrote: > >> Hi-- >> >> On Mar 29, 2013, at 3:52 PM, Damien Fleuriot wrote: >> >>> On 29 March 2013 18:06, Chuck Swiger wrote: >>> >>>> Time Machine is only supported on top of journaled HFS+; I'm not >>>> sure how fusefs-hfs is doing on FreeBSD, though. Or you could >>>> setup multiple partitions and have an exFAT partition for data >>>> interchange between other OSes. >>>> >>> >>> Now, unless I got things wrong, I believe you're mistaken. >>> >> >> The key word above which folks might not be paying enough attention >> towards-- particularly in the context of a backup solution-- is >> "supported". >> >> I, for instance, have a Time Machine server running on top of >>> 10.0-CURRENT with ZFS. >>> http://www.area536.com/**projects/ironclad-time-** >>> machine-backups-on-freebsd/ >>> >> >> >>> Indeed. As one might note on that page: >> >> defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolume >> **s 1 >> ^^^^^^^^^^^ >> > > The real point to notice is that the mentioned zfs storage is accessed > over the network not over a local usb/sata cable. The freebsd server > reads/writes to zfs the remote mac only talks afp over tcp seeing it as > another network fileserver. > > While 10.5 included a zfs read-only kext apple removed it in 10.6 or 10.7. > > There is an oss version of zfs started that appears to have been revived - > maczfs.com. > There is also a commercial package for osx zfs - zevo. > I'm not vouching for either of these just mentioning that they exist. > > Aye, I know that. My point is, perhaps that'd be his best bet then ? Attach the USB device to the FreeBSD box, export it over afp. I know that's not really ideal, that's a given. However, this is a solution that allows him to use the disk on fbsd, and still be able to export TM backups. From ml at my.gd Sat Mar 30 01:52:43 2013 From: ml at my.gd (Damien Fleuriot) Date: Sat, 30 Mar 2013 02:52:41 +0100 Subject: Proper way to update ports with svn In-Reply-To: <515607C1.2010701@drenet.info> References: <515607C1.2010701@drenet.info> Message-ID: On 29 March 2013 22:29, Andre Goree wrote: > I seem to have to run 'make index' in /usr/ports after I've run 'svn up > /usr/ports' in order to see which ports need to be updated using > 'portversion'. This doesn't seem correct...and if so portsnap would > seem like a much better tool. Perhaps I should be running 'make > fetchindex' instead? I'm sure I've read about the correct way to do so, > but it doesn't appear to be here: > https://wiki.freebsd.org/PortsSubversionPrimer > > Thanks in advance for any advice. > 'make index' looks good to me, it's the right way to do things imo. What bothers you, following 'make index', pkg version output seems dodgy ? From quartz at sneakertech.com Sat Mar 30 02:34:50 2013 From: quartz at sneakertech.com (Quartz) Date: Fri, 29 Mar 2013 22:34:42 -0400 Subject: In-Reply-To: <20130329101210.ff3c4391.freebsd@edvax.de> References: <5154D66D.5090407@sneakertech.com> <20130329101210.ff3c4391.freebsd@edvax.de> Message-ID: <51564F42.5030404@sneakertech.com> > Personally I'm using FreeBSD _exclusively_ (!) on the desktop > since version 4.0, and I haven't missed _any_ "common desktopy > thing" that is required for my daily work. I was referring to general intent when I wrote that. For example, bsd has poor support for things like sleep/suspend/hibernate. While desktops and laptops would certainly take advantage of those things, severs generally don't, so fixing it has traditionally been low priority. In contrast, linux has that working out of the box on almost all hardware. Likewise in my experience a number of other home-use things like laptop wifi are generally better supported under linux. A similar situation exists for software, especially non-business software and oddball utilities. On bsd you can usually find something to do what you need, but you'll often be limited to one or two choices, whereas with linux you might have half a dozen. (Whether all these packages are GOOD or not is a separate issue :) I'm not saying that bsd *can't* be used for a home desktop, it certainly can, but it was never aimed at the grandma+laptop market and the hardware support and software selection reflects that. But I don't hold that against bsd. You can't be all things to all people, bsd is very good for servers and linux is good for home use, and they each have their place. ______________________________________ it has a certain smooth-brained appeal From laszlo_danielisz at yahoo.com Sat Mar 30 05:07:02 2013 From: laszlo_danielisz at yahoo.com (Laszlo Danielisz) Date: Sat, 30 Mar 2013 06:06:52 +0100 Subject: external hdd In-Reply-To: <6B60EA1E-0277-499A-917A-AA2B3030F0FD@mac.com> References: <6B60EA1E-0277-499A-917A-AA2B3030F0FD@mac.com> Message-ID: <913D8F4BA0E040959CB917664BAC188C@yahoo.com> Thank you Chuck! I've tried fusefs-hfs a couple months ago and wasn't working very well. So yeah, I might create some DOS partition to be shared. Regards, Laszlo -- Laszlo Danielisz On 2013 March 29 Friday at 6:06 PM, Chuck Swiger wrote: > On Mar 28, 2013, at 2:10 PM, Laszlo Danielisz wrote: > > If I'm sharing an external 1TB HDD with FreeBSD and OS-X (I wan to use Time Machine), what is the best file system to use? > > > Time Machine is only supported on top of journaled HFS+; I'm not sure how fusefs-hfs is doing on FreeBSD, though. Or you could setup multiple partitions and have an exFAT partition for data interchange between other OSes. > > Regards, > -- > -Chuck > > _______________________________________________ > freebsd-questions at freebsd.org (mailto:freebsd-questions at freebsd.org) mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org (mailto:freebsd-questions-unsubscribe at freebsd.org)" > > From johnl at iecc.com Sat Mar 30 05:59:11 2013 From: johnl at iecc.com (John Levine) Date: 30 Mar 2013 05:58:47 -0000 Subject: Portsnap gets ports that claim to be out of date Message-ID: <20130330055847.26015.qmail@joyce.lan> When I do portsnap update and try building stuff, I get errors like this: "Mk/bsd.port.mk", line 5: warning: You are using a ports file that originated from CVS!! "Mk/bsd.port.mk", line 6: warning: The FreeBSD project has switched from CVS to SubVersion. "Mk/bsd.port.mk", line 7: warning: This CVS repository is NO LONGER UPDATED! If you see this "Mk/bsd.port.mk", line 8: warning: message then your tree is STALE and you need to follow "Mk/bsd.port.mk", line 9: warning: the update instructions to receive any more updates. I'm not using CVS, I'm using portsnap. Any ideas? It's a 9.1 system, fully up to date as far as I know. From leslie at eskk.nu Sat Mar 30 06:30:33 2013 From: leslie at eskk.nu (Leslie Jensen) Date: Sat, 30 Mar 2013 07:30:21 +0100 Subject: Moving to pkg Message-ID: <5156867D.4040807@eskk.nu> I've done pkg2ng and added WITH_PKGNG=yes to /etc/make.conf When I do portsnap fetch update and pkg_version -vIL= To check which ports needs updating, I now get a message for all installed ports that the info are corrupt. Like this pkg_version: the package info for package 'zip-3.0' is corrupt Have I missed something? Thanks /Leslie From uwe at laverenz.de Sat Mar 30 07:22:06 2013 From: uwe at laverenz.de (Uwe Laverenz) Date: Sat, 30 Mar 2013 08:21:56 +0100 Subject: EOL In-Reply-To: <5155B0E6.9030303@thurber.org> References: <5155B0E6.9030303@thurber.org> Message-ID: <51569294.3080603@laverenz.de> Am 29.03.2013 16:19, schrieb David Thurber: > I have 5 XP machines on my node that are used to crunch data 24/7. So, > I'm looking for an OS platform that has a 10 year EOL to replace XP/3. RHEL: > http://www.redhat.com/about/news/press-archive/2012/1/red-hat-enterprise-linux-stability-drives-demand-for-more-flexibility-in-long-term-operating-system-deployments If you don't need/want support, there is CentOS (a RHEL clone): > http://wiki.centos.org/FAQ/General#head-fe8a0be91ee3e7dea812e8694491e1dde5b75e6d And another RHEL clone: > https://www.scientificlinux.org/ cu, Uwe From matthew at FreeBSD.org Sat Mar 30 07:38:31 2013 From: matthew at FreeBSD.org (Matthew Seaman) Date: Sat, 30 Mar 2013 07:38:20 +0000 Subject: Moving to pkg In-Reply-To: <5156867D.4040807@eskk.nu> References: <5156867D.4040807@eskk.nu> Message-ID: <5156966C.9060300@FreeBSD.org> On 30/03/2013 06:30, Leslie Jensen wrote: > > I've done pkg2ng and added WITH_PKGNG=yes to /etc/make.conf > > When I do > > portsnap fetch update > and > pkg_version -vIL= > > To check which ports needs updating, I now get a message for all > installed ports that the info are corrupt. > > Like this > > pkg_version: the package info for package 'zip-3.0' is corrupt > > > Have I missed something? Yes. In a pkgng-ized world, 'pkg_version' is redundant. Instead use: pkg version -vIL= (note: no underscore character) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 268 bytes Desc: OpenPGP digital signature URL: From nightrecon at hotmail.com Sat Mar 30 08:13:32 2013 From: nightrecon at hotmail.com (Michael Powell) Date: Sat, 30 Mar 2013 04:13:09 -0400 Subject: Portsnap gets ports that claim to be out of date References: <20130330055847.26015.qmail@joyce.lan> Message-ID: John Levine wrote: > When I do portsnap update and try building stuff, I get errors like this: ^^^^^^^^^^^^^^ > "Mk/bsd.port.mk", line 5: warning: You are using a ports file that > originated from CVS!! "Mk/bsd.port.mk", line 6: warning: The FreeBSD > project has switched from CVS to SubVersion. > "Mk/bsd.port.mk", line 7: warning: This CVS repository is NO LONGER > UPDATED! If you see this "Mk/bsd.port.mk", line 8: warning: message then > your tree is STALE and you need to follow "Mk/bsd.port.mk", line 9: > warning: the update instructions to receive any more updates. > > I'm not using CVS, I'm using portsnap. Any ideas? It's a 9.1 system, > fully up to date as far as I know. > Have you tried doing: portsnap fetch update instead of portsnap update? -Mike From rfg at tristatelogic.com Sat Mar 30 08:17:40 2013 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Sat, 30 Mar 2013 01:17:29 -0700 Subject: Ah crap! pkg_version: the package info for package '...' is corrupt Message-ID: <10944.1364631449@server1.tristatelogic.com> Today my system crashed twice while I was doing "portupgrade -a". I'm not sure but I suspect the new cards I have installed recently may just be a bit too much for the old power supply I have. (When the thing crashed, the machine just simply shut itself off. This exact same thing has also happened a couple of other times in the past week.) I'll deal with the power issue soon, but right now I am more worried about this new, different, and additional problem I seem to have created for myself. When I run pkg_version, I am getting a bunch of messages of the following general form: pkg_version: the package info for package 'PKG' is corrupt where `PKG' is the name of some package or another that I have installed. I have at least 6 such messages for different packages I have installed... and probably more. I googled around a bit and did not find any good explanation for the above error or, more importantly, what to do about it. I gather however that my package data base has become corrupted. OK, so how does one rebuild that from scratch? Please don't tell me that I have to reinstall every bleedin' port from scratch! Regards, rfg P.S. Oh! I just remembered. I made a full system backup quite recently... thank god. Do I just simply need to get the entire contents of /var/db/pkg/ from that and then do "rm -fr /var/db/pkg" and then copy my backup copy of /var/db/pkg to the real /var/db/pkg ? Hummm.. that won't reflect the several things that _did_ managed to get updated, you know, before my system crashed. From matthew at FreeBSD.org Sat Mar 30 08:38:16 2013 From: matthew at FreeBSD.org (Matthew Seaman) Date: Sat, 30 Mar 2013 08:38:11 +0000 Subject: Ah crap! pkg_version: the package info for package '...' is corrupt In-Reply-To: <10944.1364631449@server1.tristatelogic.com> References: <10944.1364631449@server1.tristatelogic.com> Message-ID: <5156A473.4030501@FreeBSD.org> On 30/03/2013 08:17, Ronald F. Guilmette wrote: > > > Today my system crashed twice while I was doing "portupgrade -a". > > I'm not sure but I suspect the new cards I have installed recently may > just be a bit too much for the old power supply I have. (When the thing > crashed, the machine just simply shut itself off. This exact same thing > has also happened a couple of other times in the past week.) > > I'll deal with the power issue soon, but right now I am more worried about > this new, different, and additional problem I seem to have created for > myself. When I run pkg_version, I am getting a bunch of messages of > the following general form: > > pkg_version: the package info for package 'PKG' is corrupt > > where `PKG' is the name of some package or another that I have installed. > > I have at least 6 such messages for different packages I have installed... > and probably more. Are you using pkgng? If so, you'll get the "'PKG' is corrupt" message for everything when you use pkg_version. That's because on a pkgng-ized you should instead be using 'pkg version'. Same command flags, just s/_/ /. > I googled around a bit and did not find any good explanation for the > above error or, more importantly, what to do about it. > > I gather however that my package data base has become corrupted. > > OK, so how does one rebuild that from scratch? > > Please don't tell me that I have to reinstall every bleedin' port from > scratch! > > > Regards, > rfg > > > P.S. Oh! I just remembered. I made a full system backup quite recently... > thank god. Do I just simply need to get the entire contents of /var/db/pkg/ > from that and then do "rm -fr /var/db/pkg" and then copy my backup copy > of /var/db/pkg to the real /var/db/pkg ? > > Hummm.. that won't reflect the several things that _did_ managed to get > updated, you know, before my system crashed. Assuming you *aren't* on a pkgng-ized system: If you have a recent backup of /var/db/pkg then you should restore from there. If you installed or updated any ports between taking the backup and the crash, then reinstalling those ports will fixup the /var/db/pkg entries for them. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 268 bytes Desc: OpenPGP digital signature URL: From freebsd at edvax.de Sat Mar 30 10:02:09 2013 From: freebsd at edvax.de (Polytropon) Date: Sat, 30 Mar 2013 11:02:13 +0100 Subject: In-Reply-To: <51564F42.5030404@sneakertech.com> References: <5154D66D.5090407@sneakertech.com> <20130329101210.ff3c4391.freebsd@edvax.de> <51564F42.5030404@sneakertech.com> Message-ID: <20130330110213.ec533547.freebsd@edvax.de> On Fri, 29 Mar 2013 22:34:42 -0400, Quartz wrote: > > > Personally I'm using FreeBSD _exclusively_ (!) on the desktop > > since version 4.0, and I haven't missed _any_ "common desktopy > > thing" that is required for my daily work. > > I was referring to general intent when I wrote that. For example, bsd > has poor support for things like sleep/suspend/hibernate. Okay, that is something I would not have suggested with "desktop" in the first place. Of course the support in regards of ACPI is limited. This is primarily because manufacturers don't seem to agree how to standardize things, and instead rely on closed-source drivers which are only developed for "Windows" (which is a financial decision, so fully valid for them). I've been lucky to only own hardware with good support, I may say IBM / Lenovo laptops, T and R series, various models, offer this functionality in a usable manner (with acpi_ibm.ko support). What would be considered the same "circle of problems" is when you have a laptop and a docking station, and you remove it while running, or you put it on the station, and now you expect network to "switch over", like audio and PS/2 keyboard, and maybe the screen too... but in some cases, all you get is a system freeze (to prevent worse things). If you select a good laptop model before purchasing it, or if you have the chance to do some testing prior to the purchase, you might be lucky that everything works. In the past, when APM has been fully functional, it has been abolished by ACPI. I fear if "everything" ACPI-related should work perfectly, it will be obsoleted by OEM-specific UEFI implementations. :-( So when you are in the happy situation of "not having bought the hardware yet", do some inquiries and investigation. If you have already purchased a device, _try_ something else, and keep in mind that the manufacturer disagrees with what you're doing. :-) > While desktops > and laptops would certainly take advantage of those things, severs > generally don't, so fixing it has traditionally been low priority. In > contrast, linux has that working out of the box on almost all hardware. > Likewise in my experience a number of other home-use things like laptop > wifi are generally better supported under linux. I can agree with that, it's also my observation. Still it seems to depend on what Linux distribution you use, as they usually don't provide a "one distro for all kinds of system", so there are server distros, desktop distros and laptop distros (or variations of one distro). Trial & error is possible due to the fact that many of them offer a bootable system that can be used to check support and functionality. > A similar situation exists for software, especially non-business > software and oddball utilities. On bsd you can usually find something to > do what you need, but you'll often be limited to one or two choices, > whereas with linux you might have half a dozen. (Whether all these > packages are GOOD or not is a separate issue :) I don't see the issue you're claiming. On FreeBSD, you can run (almost) all the Linux programs, so no problem here. :-) What you might find is that more and more software is developed for Linux "exclusively", taking advantage of "Linuxisms" that are not portable, so porting them to other systems like the BSDs is much more work, or maybe even impossible. In the Linux world, infrastructures chance often, they are different between the many distributions, be it system bootstrapping, package management, preferred (and supported) desktop environments and so on. For example, I've been running Linux and even "Windows" games on my FreeBSD home desktop without any problem (and I'm talking about 3D-intensive shooters here). There basically was no work I needed to invest to "cross a border". > I'm not saying that bsd *can't* be used for a home desktop, it certainly > can, but it was never aimed at the grandma+laptop market and the > hardware support and software selection reflects that. This is the case where PC-BSD comes into play. With the availability of live system CDs or USB media, it's not hard to simply try out things without damaging some installed "Windows" - a feature that emphasizes how non-invasive Linux and BSD treats their users. > But I don't hold > that against bsd. You can't be all things to all people, bsd is very > good for servers and linux is good for home use, and they each have > their place. In the end, all of them are just tools. The usefulness of a tool highly depends on the task you want to apply it to. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From mexas at bristol.ac.uk Sat Mar 30 10:14:48 2013 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Sat, 30 Mar 2013 10:14:44 GMT Subject: Operation timed out with smtp.gmail.com - please help In-Reply-To: <20130329153619.69c5b4dd@scorpio> Message-ID: <201303301014.r2UAEi1W081669@zzz.men.bris.ac.uk> Date: Fri, 29 Mar 2013 15:36:19 -0400 From: Jerry To: FreeBSD Subject: Re: Operation timed out with smtp.gmail.com - please help On Fri, 29 Mar 2013 18:32:34 GMT Anton Shterenlikht articulated: > Please help debug sendmail / smtp.gmail config. > > My University just switched to gmail (dickheads) > and I'm trying to figure out how to set it up. > > It used to work ok with the University smtp auth > server. Now I get in /var/log/maillog: > > sm-mta[72300]: r2TI0vQc072134: to=, > ctladdr= (1001/1001), > delay=00:20:01, xdelay=00:00:00, mailer=relay, pri=210424, > relay=smtp.gmail.com, dsn=4.0.0, > stat=Deferred: Operation timed out with smtp.gmail.com > > I switched the firewall off completely. > > I have: > > # cat /etc/mail/auth/client-info > AuthInfo:smtp.gmail.com "U:root" "I:mexas at bristol.ac.uk" "P:xxxxx" > # > > and this in /etc/mail/freebsd.mc: > > define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl > define(`SMART_HOST', `smtp.gmail.com')dnl > > I rebuilt (run make under /etc/mail. This just > renames freebsd.mc to .mc, and freebsd.submit.mc > to .submit.mc) and restarted sendmail. > > I also use: > > MASQUERADE_AS(`bristol.ac.uk') > MASQUERADE_DOMAIN(`bristol.ac.uk') > > to use the university domain instead of > may xxxx.men.bris.ac.uk, which is not > acceptable. Try this at the command line: openssl s_client -connect smtp.gmail.com:25 -starttls smtp If it times out, change the port number to 587 and try it again. If you cannot make a connect using either port number then you have a firewall problem. Thank you, I get: $ openssl s_client -connect smtp.gmail.com:25 -starttls smtp connect: Operation timed out connect:errno=60 $ $ openssl s_client -connect smtp.gmail.com:587 -starttls smtp CONNECTED(00000003) depth=1 C = US, O = Google Inc, CN = Google Internet Authority verify error:num=20:unable to get local issuer certificate verify return:0 --- Certificate chain 0 s:/C=US/ST=California/L=Mountain View/O=Google Inc/CN=smtp.gmail.com i:/C=US/O=Google Inc/CN=Google Internet Authority 1 s:/C=US/O=Google Inc/CN=Google Internet Authority i:/C=US/O=Equifax/OU=Equifax Secure Certificate Authority --- Server certificate -----BEGIN CERTIFICATE----- MIIDgDCCAumgAwIBAgIKO3T/ewAAAABoqDANBgkqhkiG9w0BAQUFADBGMQswCQYD VQQGEwJVUzETMBEGA1UEChMKR29vZ2xlIEluYzEiMCAGA1UEAxMZR29vZ2xlIElu dGVybmV0IEF1dGhvcml0eTAeFw0xMjA5MTIxMTU3NTBaFw0xMzA2MDcxOTQzMjda MGgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1N b3VudGFpbiBWaWV3MRMwEQYDVQQKEwpHb29nbGUgSW5jMRcwFQYDVQQDEw5zbXRw LmdtYWlsLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAv0UvQmjW1y96 cOK6AdQVEYPRd3ZQ9UhxkKfuVaYS9riOESFkWxkz+b3Ts/EOA5SY8axkaJS7Qa/v N7laztYY8tTkx9Ml+eCY4xh0fFq9z4/WWADGqTY5I0wvqjZr+jBuYGulK1fU4ZUS QpuZMMO9x7Bmr5LVP9C5r2qnoqtMtJUCAwEAAaOCAVEwggFNMB0GA1UdJQQWMBQG CCsGAQUFBwMBBggrBgEFBQcDAjAdBgNVHQ4EFgQUaCtARMZ9urIDfdpR6v1AkQsr 44owHwYDVR0jBBgwFoAUv8Aw6/VDET5nup6R+/xq2uNrEiQwWwYDVR0fBFQwUjBQ oE6gTIZKaHR0cDovL3d3dy5nc3RhdGljLmNvbS9Hb29nbGVJbnRlcm5ldEF1dGhv cml0eS9Hb29nbGVJbnRlcm5ldEF1dGhvcml0eS5jcmwwZgYIKwYBBQUHAQEEWjBY MFYGCCsGAQUFBzAChkpodHRwOi8vd3d3LmdzdGF0aWMuY29tL0dvb2dsZUludGVy bmV0QXV0aG9yaXR5L0dvb2dsZUludGVybmV0QXV0aG9yaXR5LmNydDAMBgNVHRMB Af8EAjAAMBkGA1UdEQQSMBCCDnNtdHAuZ21haWwuY29tMA0GCSqGSIb3DQEBBQUA A4GBADSkwmtEUhy/AhX2sIULT0Q5S9OlfKxbyE8hEc8nxls3jbk5yKZYd35Bzyy8 raoUPFuD3IH+zP/FGj5LPQirjnJLUvuFDsiM4eowPUthQad9SGWWdz6hCx8HpEUZ 1ssGnwb3HX34e9RH57v9LdtVUPdFYQsBJ36miGPylWk6r0xx -----END CERTIFICATE----- subject=/C=US/ST=California/L=Mountain View/O=Google Inc/CN=smtp.gmail.com issuer=/C=US/O=Google Inc/CN=Google Internet Authority --- No client certificate CA names sent --- SSL handshake has read 2317 bytes and written 476 bytes --- New, TLSv1/SSLv3, Cipher is ECDHE-RSA-RC4-SHA Server public key is 1024 bit Secure Renegotiation IS supported Compression: NONE Expansion: NONE SSL-Session: Protocol : TLSv1.2 Cipher : ECDHE-RSA-RC4-SHA Session-ID: 8CAF4204FADB72F58FA6334A62F65B7182EF06F3C9AD8042FD44B9F726E8C9D5 Session-ID-ctx: Master-Key: 45312AE23341AAFA1414BDDD30740E4FB40655986FD410A606CD351206BBAC5E5496F77DDF4DBE32B0E9B7E7FFA1057 Key-Arg : None PSK identity: None PSK identity hint: None SRP username: None TLS session ticket lifetime hint: 100800 (seconds) TLS session ticket: 0000 - 63 53 11 b3 92 0d 59 63-15 90 58 10 84 f2 f7 6a cS....Yc..X....j 0010 - 7c 7c 62 96 c5 3d cb 52-ca 32 2d 97 de 51 10 6d ||b..=.R.2-..Q.m 0020 - d2 97 ca 69 f8 cf 3d 6e-c9 60 73 3a 49 3a 4a 74 ...i..=n.`s:I:Jt 0030 - 88 ee 2c b0 75 4d 5b 61-56 a4 fe e3 42 56 7c 2d ..,.uM[aV...BV|- 0040 - 70 db e2 d7 5d 84 bd 88-06 7c c2 96 19 53 d0 58 p...]....|...S.X 0050 - f9 6a fb dd 3a 7b 73 3e-f9 bc 6d b1 ac 6a 63 13 .j..:{s>..m..jc. 0060 - 64 b8 be 1f b8 fd 05 da-7d 87 63 a4 53 6e 3a 55 d.......}.c.Sn:U 0070 - fe 73 f6 05 63 9a c6 c9-da cb 6c 4e ce 1d 1f a1 .s..c.....lN.... 0080 - 07 12 0b c7 d1 ce 71 5a-f1 2c b4 a9 20 32 e2 64 ......qZ.,.. 2.d 0090 - 49 fd 77 41 I.wA Start Time: 1364638180 Timeout : 300 (sec) Verify return code: 20 (unable to get local issuer certificate) --- 250 ENHANCEDSTATUSCODES ^C $ The university IT support page: http://www.bristol.ac.uk/it-services/applications/email/gmail/manual-config-gmail.html actually says that port 465 SSL should be used, so I also tried: $ openssl s_client -connect smtp.gmail.com:465 -starttls smtp CONNECTED(00000003) ^C $ Not sure what to make of this. Is the port set by sendmail config files? Many thanks for your help Anton From matthew at FreeBSD.org Sat Mar 30 10:49:57 2013 From: matthew at FreeBSD.org (Matthew Seaman) Date: Sat, 30 Mar 2013 10:49:45 +0000 Subject: Operation timed out with smtp.gmail.com - please help In-Reply-To: <201303301014.r2UAEi1W081669@zzz.men.bris.ac.uk> References: <201303301014.r2UAEi1W081669@zzz.men.bris.ac.uk> Message-ID: <5156C349.9010004@FreeBSD.org> On 30/03/2013 10:14, Anton Shterenlikht wrote: > The university IT support page: > http://www.bristol.ac.uk/it-services/applications/email/gmail/manual-config-gmail.html > > actually says that port 465 SSL should be used, > so I also tried: > > $ openssl s_client -connect smtp.gmail.com:465 -starttls smtp > CONNECTED(00000003) > ^C > $ > > Not sure what to make of this. > > Is the port set by sendmail config files? > > Many thanks for your help > Port 465 wouldn't use STARTTLS -- it requires SSL straight away. Try: % openssl s_client -connect smtp.gmail.com:465 If it works you should see output to do with setting up session keys etc. However, SMTP on port 465 seems to be mostly a windows thing, and generally discouraged -- use of STARTTLS or equivalent to allow both SSL and plaintext without having to allocate a separate port for SSL is preferred. I'm pretty sure that gmail does support STARTTLS... > $ openssl s_client -connect smtp.gmail.com:587 -starttls smtp > CONNECTED(00000003) > depth=1 C = US, O = Google Inc, CN = Google Internet Authority > verify error:num=20:unable to get local issuer certificate > verify return:0 > --- > Certificate chain > 0 s:/C=US/ST=California/L=Mountain View/O=Google Inc/CN=smtp.gmail.com > i:/C=US/O=Google Inc/CN=Google Internet Authority > 1 s:/C=US/O=Google Inc/CN=Google Internet Authority > i:/C=US/O=Equifax/OU=Equifax Secure Certificate Authority > --- Given you're seeing that CONNECTED message there, it certainly does. The problem with that openssl command seems to be the 'unable to get local issuer certificate' part. That's possibly openssl being pickier about verifying certs than sendmail would be, but that certificate verification step is probably where you're coming adrift. You need to have the intermediate certs used by Google in your cacert.pem file, so sendmail will trust the smtp.gmail.com cert. Check the 'confCACERT' setting in your sendmail.mc. I have a block of code like this: define(`CERT_DIR', `MAIL_SETTINGS_DIR`'certs')dnl define(`confCACERT_PATH', `CERT_DIR')dnl define(`confCACERT', `CERT_DIR/cacert.pem')dnl define(`confSERVER_CERT', `CERT_DIR/cert.pem')dnl define(`confSERVER_KEY', `CERT_DIR/key.pem')dnl define(`confCLIENT_CERT', `CERT_DIR/cert.pem')dnl define(`confCLIENT_KEY', `CERT_DIR/key.pem')dnl which allows me to put all the keys and certs in /etc/mail/certs/ Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 268 bytes Desc: OpenPGP digital signature URL: From jerry at seibercom.net Sat Mar 30 11:34:10 2013 From: jerry at seibercom.net (Jerry) Date: Sat, 30 Mar 2013 07:34:06 -0400 Subject: Operation timed out with smtp.gmail.com - please help In-Reply-To: <201303301014.r2UAEi1W081669@zzz.men.bris.ac.uk> References: <20130329153619.69c5b4dd@scorpio> <201303301014.r2UAEi1W081669@zzz.men.bris.ac.uk> Message-ID: <20130330073406.45d5593e@scorpio> On Sat, 30 Mar 2013 10:14:44 GMT Anton Shterenlikht articulated: > Date: Fri, 29 Mar 2013 15:36:19 -0400 > From: Jerry > To: FreeBSD > Subject: Re: Operation timed out with smtp.gmail.com - please > help > > On Fri, 29 Mar 2013 18:32:34 GMT > Anton Shterenlikht articulated: > > > Please help debug sendmail / smtp.gmail config. > > > > My University just switched to gmail (dickheads) > > and I'm trying to figure out how to set it up. > > > > It used to work ok with the University smtp auth > > server. Now I get in /var/log/maillog: > > > > sm-mta[72300]: r2TI0vQc072134: to=, > > ctladdr= (1001/1001), > > delay=00:20:01, xdelay=00:00:00, mailer=relay, pri=210424, > > relay=smtp.gmail.com, dsn=4.0.0, > > stat=Deferred: Operation timed out with smtp.gmail.com > > > > I switched the firewall off completely. > > > > I have: > > > > # cat /etc/mail/auth/client-info > > AuthInfo:smtp.gmail.com "U:root" "I:mexas at bristol.ac.uk" > > "P:xxxxx" # > > > > and this in /etc/mail/freebsd.mc: > > > > define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 > > LOGIN')dnl define(`SMART_HOST', `smtp.gmail.com')dnl > > > > I rebuilt (run make under /etc/mail. This just > > renames freebsd.mc to .mc, and freebsd.submit.mc > > to .submit.mc) and restarted sendmail. > > > > I also use: > > > > MASQUERADE_AS(`bristol.ac.uk') > > MASQUERADE_DOMAIN(`bristol.ac.uk') > > > > to use the university domain instead of > > may xxxx.men.bris.ac.uk, which is not > > acceptable. > > Try this at the command line: > > openssl s_client -connect smtp.gmail.com:25 -starttls smtp > > If it times out, change the port number to 587 and try it > again. If you cannot make a connect using either port number then you > have a firewall problem. > > Thank you, I get: > > $ openssl s_client -connect smtp.gmail.com:25 -starttls smtp > connect: Operation timed out > connect:errno=60 > $ > > $ openssl s_client -connect smtp.gmail.com:587 -starttls smtp > CONNECTED(00000003) > depth=1 C = US, O = Google Inc, CN = Google Internet Authority > verify error:num=20:unable to get local issuer certificate > verify return:0 > --- > Certificate chain > 0 s:/C=US/ST=California/L=Mountain View/O=Google > Inc/CN=smtp.gmail.com i:/C=US/O=Google Inc/CN=Google Internet > Authority 1 s:/C=US/O=Google Inc/CN=Google Internet Authority > i:/C=US/O=Equifax/OU=Equifax Secure Certificate Authority > --- > Server certificate > -----BEGIN CERTIFICATE----- > MIIDgDCCAumgAwIBAgIKO3T/ewAAAABoqDANBgkqhkiG9w0BAQUFADBGMQswCQYD > VQQGEwJVUzETMBEGA1UEChMKR29vZ2xlIEluYzEiMCAGA1UEAxMZR29vZ2xlIElu > dGVybmV0IEF1dGhvcml0eTAeFw0xMjA5MTIxMTU3NTBaFw0xMzA2MDcxOTQzMjda > MGgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1N > b3VudGFpbiBWaWV3MRMwEQYDVQQKEwpHb29nbGUgSW5jMRcwFQYDVQQDEw5zbXRw > LmdtYWlsLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAv0UvQmjW1y96 > cOK6AdQVEYPRd3ZQ9UhxkKfuVaYS9riOESFkWxkz+b3Ts/EOA5SY8axkaJS7Qa/v > N7laztYY8tTkx9Ml+eCY4xh0fFq9z4/WWADGqTY5I0wvqjZr+jBuYGulK1fU4ZUS > QpuZMMO9x7Bmr5LVP9C5r2qnoqtMtJUCAwEAAaOCAVEwggFNMB0GA1UdJQQWMBQG > CCsGAQUFBwMBBggrBgEFBQcDAjAdBgNVHQ4EFgQUaCtARMZ9urIDfdpR6v1AkQsr > 44owHwYDVR0jBBgwFoAUv8Aw6/VDET5nup6R+/xq2uNrEiQwWwYDVR0fBFQwUjBQ > oE6gTIZKaHR0cDovL3d3dy5nc3RhdGljLmNvbS9Hb29nbGVJbnRlcm5ldEF1dGhv > cml0eS9Hb29nbGVJbnRlcm5ldEF1dGhvcml0eS5jcmwwZgYIKwYBBQUHAQEEWjBY > MFYGCCsGAQUFBzAChkpodHRwOi8vd3d3LmdzdGF0aWMuY29tL0dvb2dsZUludGVy > bmV0QXV0aG9yaXR5L0dvb2dsZUludGVybmV0QXV0aG9yaXR5LmNydDAMBgNVHRMB > Af8EAjAAMBkGA1UdEQQSMBCCDnNtdHAuZ21haWwuY29tMA0GCSqGSIb3DQEBBQUA > A4GBADSkwmtEUhy/AhX2sIULT0Q5S9OlfKxbyE8hEc8nxls3jbk5yKZYd35Bzyy8 > raoUPFuD3IH+zP/FGj5LPQirjnJLUvuFDsiM4eowPUthQad9SGWWdz6hCx8HpEUZ > 1ssGnwb3HX34e9RH57v9LdtVUPdFYQsBJ36miGPylWk6r0xx > -----END CERTIFICATE----- > subject=/C=US/ST=California/L=Mountain View/O=Google > Inc/CN=smtp.gmail.com issuer=/C=US/O=Google Inc/CN=Google Internet > Authority --- > No client certificate CA names sent > --- > SSL handshake has read 2317 bytes and written 476 bytes > --- > New, TLSv1/SSLv3, Cipher is ECDHE-RSA-RC4-SHA > Server public key is 1024 bit > Secure Renegotiation IS supported > Compression: NONE > Expansion: NONE > SSL-Session: > Protocol : TLSv1.2 > Cipher : ECDHE-RSA-RC4-SHA > Session-ID: > 8CAF4204FADB72F58FA6334A62F65B7182EF06F3C9AD8042FD44B9F726E8C9D5 > Session-ID-ctx: Master-Key: > 45312AE23341AAFA1414BDDD30740E4FB40655986FD410A606CD351206BBAC5E5496F77DDF4DBE32B0E9B7E7FFA1057 > Key-Arg : None PSK identity: None > PSK identity hint: None > SRP username: None > TLS session ticket lifetime hint: 100800 (seconds) > TLS session ticket: > 0000 - 63 53 11 b3 92 0d 59 63-15 90 58 10 84 f2 f7 6a > cS....Yc..X....j 0010 - 7c 7c 62 96 c5 3d cb 52-ca 32 2d 97 de 51 10 > 6d ||b..=.R.2-..Q.m 0020 - d2 97 ca 69 f8 cf 3d 6e-c9 60 73 3a 49 > 3a 4a 74 ...i..=n.`s:I:Jt 0030 - 88 ee 2c b0 75 4d 5b 61-56 a4 fe > e3 42 56 7c 2d ..,.uM[aV...BV|- 0040 - 70 db e2 d7 5d 84 bd 88-06 > 7c c2 96 19 53 d0 58 p...]....|...S.X 0050 - f9 6a fb dd 3a 7b 73 > 3e-f9 bc 6d b1 ac 6a 63 13 .j..:{s>..m..jc. 0060 - 64 b8 be 1f b8 > fd 05 da-7d 87 63 a4 53 6e 3a 55 d.......}.c.Sn:U 0070 - fe 73 f6 > 05 63 9a c6 c9-da cb 6c 4e ce 1d 1f a1 .s..c.....lN.... 0080 - 07 > 12 0b c7 d1 ce 71 5a-f1 2c b4 a9 20 32 e2 64 ......qZ.,.. 2.d 0090 > - 49 fd 77 41 I.wA > > Start Time: 1364638180 > Timeout : 300 (sec) > Verify return code: 20 (unable to get local issuer certificate) > --- > 250 ENHANCEDSTATUSCODES > ^C > $ > > The university IT support page: > http://www.bristol.ac.uk/it-services/applications/email/gmail/manual-config-gmail.html > > actually says that port 465 SSL should be used, > so I also tried: > > $ openssl s_client -connect smtp.gmail.com:465 -starttls smtp > CONNECTED(00000003) > ^C > $ > > Not sure what to make of this. > > Is the port set by sendmail config files? > > Many thanks for your help It seems quite simple to me. A firewall (yours/university/whatever) is blocking port 25. Use port 587. I don't know who wrote that manual you referenced above, but they are on drugs. Gmail is perfectly workable with either port 25 or 587, assuming that the one you choose is not being blocked. GMAIL uses STATTTLS for its SMTP server. I use Postfix, and connect with Gmail on either port using TLS aka STARTTLS. By the way, "openssl s_client -connect smtp.gmail.com:465 -ssl3" will connect, but why use it. Your example using "-starttls" hangs after the connection because port 465 does not support "TLS". Port 465, is a depreciated method that was never supported via RFC. Only MS Outlook and early versions of Thunderbird supported it. It has been dead since at least 2003. Use port 587 and save yourself a lot of grief. You will need "TLS" on that port. How to configure Sendmail is beyond my pay scale. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From andrei693 at gmail.com Sat Mar 30 11:40:08 2013 From: andrei693 at gmail.com (Andrei Brezan) Date: Sat, 30 Mar 2013 12:40:04 +0100 Subject: databases/mysql55 to databases/mariadb In-Reply-To: References: <515442B4.1070906@gmail.com> Message-ID: <5156CF14.6000208@gmail.com> On 03/28/13 19:05, Michael Powell wrote: > Andrei Brezan wrote: > >> Hello list, >> >> Is there a make.conf option that I can use to replace >> mysql55-[server,client] with mariadb55-[server,client] or i need to use >> for example pkg set -o >> databases/mysql55-client:databases/mariadb55-client? >> >> What happens if I want to use one port with mysql dependency and another >> one with mariadb as dependency? This is just a theoretical question, I >> don't have such a requirement, yet. >> >> All this is on 9.1-RELEASE but I think applies to different versions too. >> > > Look at: /usr/ports/Mk/bsd.database.mk I only perused it briefly, but I > think you want something such as MYSQL_VER=55m. The 'm', or 'p' suffix > switches to either MariaDB or PostgreSQL if I understand correctly. > > At any rate, this is the file that controls this. If it doesn't work > (possibly I've got it wrong), I'd suggest a PR to get it added in. > > -Mike > Hi Mike, Why I'm trying to put this in make.conf is for poudriere to build a local repo. It seems that I needed to add WITH_MYSQL_VER=55m for eg security/amavisd-new to grab maria instead of my. Also what i've noticed is that 'p' as a suffix is for percona. Thanks for the tip, Andrei From jerry at seibercom.net Sat Mar 30 11:56:26 2013 From: jerry at seibercom.net (Jerry) Date: Sat, 30 Mar 2013 07:49:19 -0400 Subject: Operation timed out with smtp.gmail.com - please help In-Reply-To: <5156C349.9010004@FreeBSD.org> References: <201303301014.r2UAEi1W081669@zzz.men.bris.ac.uk> <5156C349.9010004@FreeBSD.org> Message-ID: <20130330074919.7902b8c2@scorpio> On Sat, 30 Mar 2013 10:49:45 +0000 Matthew Seaman articulated: > Given you're seeing that CONNECTED message there, it certainly does. > The problem with that openssl command seems to be the 'unable to get > local issuer certificate' part. That's possibly openssl being pickier > about verifying certs than sendmail would be, but that certificate > verification step is probably where you're coming adrift. You need to > have the intermediate certs used by Google in your cacert.pem file, so > sendmail will trust the smtp.gmail.com cert. Check the 'confCACERT' > setting in your sendmail.mc. I have a block of code like this: > > define(`CERT_DIR', `MAIL_SETTINGS_DIR`'certs')dnl > define(`confCACERT_PATH', `CERT_DIR')dnl > define(`confCACERT', `CERT_DIR/cacert.pem')dnl > define(`confSERVER_CERT', `CERT_DIR/cert.pem')dnl > define(`confSERVER_KEY', `CERT_DIR/key.pem')dnl > define(`confCLIENT_CERT', `CERT_DIR/cert.pem')dnl > define(`confCLIENT_KEY', `CERT_DIR/key.pem')dnl > > which allows me to put all the keys and certs in /etc/mail/certs/ If you really need the Gmail certs, you can use this to get them: openssl s_client -connect smtp.gmail.com:587 -starttls smtp -showcerts If you feel you really need the "Equifax Secure Certificate Authority" pem, go here and download it. Again, how to set up Sendmail is a task I leave for the student. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: From freebsd-questions-local at be-well.ilk.org Sat Mar 30 12:56:26 2013 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sat, 30 Mar 2013 08:56:12 -0400 Subject: Proper way to update ports with svn In-Reply-To: <515607C1.2010701@drenet.info> (Andre Goree's message of "Fri, 29 Mar 2013 17:29:37 -0400") References: <515607C1.2010701@drenet.info> Message-ID: <44d2uhcahf.fsf@lowell-desk.lan> Andre Goree writes: > I seem to have to run 'make index' in /usr/ports after I've run 'svn up > /usr/ports' in order to see which ports need to be updated using > 'portversion'. This doesn't seem correct...and if so portsnap would > seem like a much better tool. Perhaps I should be running 'make > fetchindex' instead? I'm sure I've read about the correct way to do so, > but it doesn't appear to be here: > https://wiki.freebsd.org/PortsSubversionPrimer Subversion is not relevant; it has not changed the use of the index file. 'portversion' is part of the portupgrade port, and requires not just an index but its own database version of the index file. Building your own index will be slightly more accurate for what is actually on your box, but fetching it will be much faster and nearly always accurate enough. From maikodaraine at gmail.com Sat Mar 30 13:22:29 2013 From: maikodaraine at gmail.com (Maikoda Sutter) Date: Sat, 30 Mar 2013 09:22:22 -0400 Subject: use of the kernel and licensing Message-ID: If I use the kernel as a basis for my own system and modify the kernel should I still maintain the licensing of the kernel bits, or could release it under it's own license? For example: I would like to rewrite the headers to be 100% POSIX compliant and I do like the BSD license, however I was planning on releasing my whole system under the Unlicense, I understand that certain headers and code that I do not modify has to be released under the BSD license as that is the original license of the code, however for headers or code that I modify can I release it under the Unlicense (http://unlicense.org/)? I do plan on giving credit where it is due and such to the wonderful developers of FreeBSD and those that wrote the original code because without you I would not be able to produce so rapidly that which I am looking to produce I just would like clarification on the extent that I would have to license things via the BSD license. Respectively Yours, Maikoda Raine Arrogant Penguin Industries From mexas at bristol.ac.uk Sat Mar 30 17:23:45 2013 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Sat, 30 Mar 2013 10:17:55 -0700 (PDT) Subject: Operation timed out with smtp.gmail.com - please help In-Reply-To: <20130330074919.7902b8c2@scorpio> Message-ID: <201303301717.r2UHHrd2083177@mech-cluster241.men.bris.ac.uk> Date: Sat, 30 Mar 2013 07:49:19 -0400 From: Jerry To: FreeBSD Subject: Re: Operation timed out with smtp.gmail.com - please help On Sat, 30 Mar 2013 10:49:45 +0000 Matthew Seaman articulated: > Given you're seeing that CONNECTED message there, it certainly does. > The problem with that openssl command seems to be the 'unable to get > local issuer certificate' part. That's possibly openssl being pickier > about verifying certs than sendmail would be, but that certificate > verification step is probably where you're coming adrift. You need to > have the intermediate certs used by Google in your cacert.pem file, so > sendmail will trust the smtp.gmail.com cert. Check the 'confCACERT' > setting in your sendmail.mc. I have a block of code like this: >=20 > define(`CERT_DIR', `MAIL_SETTINGS_DIR`'certs')dnl > define(`confCACERT_PATH', `CERT_DIR')dnl > define(`confCACERT', `CERT_DIR/cacert.pem')dnl > define(`confSERVER_CERT', `CERT_DIR/cert.pem')dnl > define(`confSERVER_KEY', `CERT_DIR/key.pem')dnl > define(`confCLIENT_CERT', `CERT_DIR/cert.pem')dnl > define(`confCLIENT_KEY', `CERT_DIR/key.pem')dnl >=20 > which allows me to put all the keys and certs in /etc/mail/certs/ If you really need the Gmail certs, you can use this to get them: openssl s_client -connect smtp.gmail.com:587 -starttls smtp -showcerts If you feel you really need the "Equifax Secure Certificate Authority" pem, go here and download it. Again, how to set up Sendmail is a task I leave for the student. Jerry, Matthew, thank you I think I got it working. In addition to your advice, this guide was very helpful: http://www.phinesolutions.com/sendmail-gmail-smtp-relay-howto.html It seems these two options were required: define(`RELAY_MAILER_ARGS', `TCP $h 587') define(`ESMTP_MAILER_ARGS', `TCP $h 587') Thanks again Anton From jerry at seibercom.net Sat Mar 30 18:19:37 2013 From: jerry at seibercom.net (Jerry) Date: Sat, 30 Mar 2013 14:19:27 -0400 Subject: Operation timed out with smtp.gmail.com - please help In-Reply-To: <201303301717.r2UHHrd2083177@mech-cluster241.men.bris.ac.uk> References: <20130330074919.7902b8c2@scorpio> <201303301717.r2UHHrd2083177@mech-cluster241.men.bris.ac.uk> Message-ID: <20130330141927.486afc97@scorpio> On Sat, 30 Mar 2013 10:17:55 -0700 (PDT) Anton Shterenlikht articulated: > Jerry, Matthew, thank you > > I think I got it working. > In addition to your advice, this guide was very helpful: > > http://www.phinesolutions.com/sendmail-gmail-smtp-relay-howto.html > > It seems these two options were required: > > define(`RELAY_MAILER_ARGS', `TCP $h 587') > define(`ESMTP_MAILER_ARGS', `TCP $h 587') After reading that "How-to", I am so glad I use Postfix. Anyway, glad you got it to work. You might find the idiot who wrote that first "manual" you referenced and tell him/her they are a dumb-ass and post a corrected manual. -- Jerry ? Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From walterhurry at gmail.com Sat Mar 30 21:37:48 2013 From: walterhurry at gmail.com (Walter Hurry) Date: Sat, 30 Mar 2013 21:37:22 +0000 (UTC) Subject: x11-toolkits/gtksourceview2 is broken References: Message-ID: On Fri, 29 Mar 2013 16:27:20 -0400, illoai at gmail.com wrote: > On 29 March 2013 15:11, Walter Hurry wrote: > >> FreeBSD 9.1-RELEASE on amd64 >> >> This afternoon I upgraded textproc/libxml2 from version 2.7.8_5 to >> version 2.7.8_0 (at least I think it's libxml2 that's the problem - I >> upgraded py27-libxml2 and gdk-pixbuf2 at the same time). >> >> Then x11-toolkits/gtksourceview2 would not compile. I got the following >> error: >> >> CCLD test-widget >> ../gtksourceview/.libs/libgtksourceview-2.0.so: undefined reference to >> `xmlTextReaderRelaxNGValidate' >> gmake[2]: *** [test-widget] Error 1 >> >> Sure enough, I see a similar error when I try to open a shell script >> with gedit: >> >> /usr/local/lib/libgtksourceview-2.0.so.0: Undefined symbol >> "xmlTextReaderRelaxNGValidate" >> >> Where do I go from here? >> >> > Otherwise, you can blindly run # portmaster -r libxml2 (or some > perverted equivalent thereof) > & pray. It'll probably run for a good while. Didn't help, I'm afraid. Same compilation error on x11-toolkits/ gtksourceview2 - as well as a few others. The only solution I found was to downgrade libxml2 (and py27-libxml2) again. Can anyone offer advice? From info at rapsoodia.ee Sat Mar 30 22:08:12 2013 From: info at rapsoodia.ee (>Horse_Bedding<) Date: Sun, 31 Mar 2013 00:08:23 +0200 Subject: Message-ID: <20130330220812.94C04E1E@hub.freebsd.org> ?R A P S O O D I A OU Reg Nr.11460101, Tel +372 56 617 695 , Fax +372 6070148 , info at rapsoodia.ee Suur-Sojamae poik 9 , Tallinn , 11415 , Estonia ----------------------------------------------------------------------------------------------- Gentlemen, Our company Rapsoodia OU from Estonia sells a straw pellets in the 1000 kg big-bag and 16 kg plastic bags . If you are interested in cooperation with us , please report on the your wishes and quantities . The price-135 EUR /per tonne in 1000 kg bags on the our warehouse in Tallinn. 145 EUR /per tonne in 16 kg plastic bags . Also is possible the organisation of delivery to the buyer . We hope to hear from you soon. The best regards, Sergey Bogomolov Sales Manager of Rapsoodia OU From dawes01 at gmx.co.uk Sat Mar 30 22:54:41 2013 From: dawes01 at gmx.co.uk (DAWES FOUNDATION,UK) Date: Sat, 30 Mar 2013 15:45:42 -0700 Subject: Information! Message-ID: <20130330225441.C1D80430@hub.freebsd.org> Hello, This message is from the DAWES FOUNDATION, UNITED KINGDOM and directly addressed to you. This foundation was set up this month March, 2013 with the intention to make out donations to charity projects and the less privileged all over the world through 20 LUCKY persons. Firstly we'll like to introduce ourselves...Dave and Angela Dawes are our names, the winners of one of Britain's biggest lottery (101 million pounds) in the month of october,2011. Please see our video/interview in the web link (http://www.telegraph.co.uk/news/newstopics/howaboutthat/8820740/101m-lottery-jackpot-winners-Dave-and-Angela-Dawes-to-give-millions-to-friends-and-family.html ). Exactly 16 months after our lottery winning, we finally have an approval from the Government to commence our 2013 charity foundation/projects, and also to use the opportunity to give out cash grant of 1 million pounds each to at least 20 persons. You received this message because your email address was submitted to us by your email service provider from your country, declaring YOU as the "LUCKY" individual for a cash grant of 1 million pounds from us. To you, this message may sound unreal BUT it is a 100% genuine, giving you a once in a life time opportunity to get more established. We anticipate your immediate response through our contact email below for comprehensive details on fund disbursement. Best of luck, Dave and Angela Dawes Email: dawes.foundation2013 at gmx.co.uk CEO DAWES FOUNDATION,UK. From andre at drenet.info Sun Mar 31 01:55:59 2013 From: andre at drenet.info (Andre Goree) Date: Sat, 30 Mar 2013 21:55:56 -0400 Subject: Proper way to update ports with svn In-Reply-To: <44d2uhcahf.fsf@lowell-desk.lan> References: <515607C1.2010701@drenet.info> <44d2uhcahf.fsf@lowell-desk.lan> Message-ID: On Sat, 30 Mar 2013 08:56:12 -0400, Lowell Gilbert wrote: > Andre Goree writes: > >> I seem to have to run 'make index' in /usr/ports after I've run 'svn up >> /usr/ports' in order to see which ports need to be updated using >> 'portversion'. This doesn't seem correct...and if so portsnap would >> seem like a much better tool. Perhaps I should be running 'make >> fetchindex' instead? I'm sure I've read about the correct way to do so, >> but it doesn't appear to be here: >> https://wiki.freebsd.org/PortsSubversionPrimer > > Subversion is not relevant; it has not changed the use of the > index file. 'portversion' is part of the portupgrade port, and > requires not just an index but its own database version of the > index file. Building your own index will be slightly more > accurate for what is actually on your box, but fetching it will > be much faster and nearly always accurate enough. Thanks for the insight! -- Andre Goree andre at drenet.info From andre at drenet.info Sun Mar 31 02:24:42 2013 From: andre at drenet.info (Andre Goree) Date: Sat, 30 Mar 2013 21:55:10 -0400 Subject: Proper way to update ports with svn In-Reply-To: References: <515607C1.2010701@drenet.info> Message-ID: On Fri, 29 Mar 2013 21:52:41 -0400, Damien Fleuriot wrote: > On 29 March 2013 22:29, Andre Goree wrote: > >> I seem to have to run 'make index' in /usr/ports after I've run 'svn up >> >> >> /usr/ports' in order to see which ports need to be updated using >> >> 'portversion'. This doesn't seem correct...and if so portsnap would >> >> seem like a much better tool. Perhaps I should be running 'make >> >> fetchindex' instead? I'm sure I've read about the correct way to do so, >> >> but it doesn't appear to be here: >> >> https://wiki.freebsd.org/PortsSubversionPrimer >> >> >> >> Thanks in advance for any advice. > > 'make index' looks good to me, it's the right way to do things imo. > > What bothers you, following 'make index', pkg version output seems dodgy > ? > > Mainly, just the amount of time it takes to run "make index", lol. And the fact that I never had to do so with portsnap. I'm thinking that perhaps portsnap runs something similar to 'make fetchindex' within the whole 'portsnap fetch update' process...? -- Andre Goree andre at drenet.info From zaphod at berentweb.com Sun Mar 31 06:36:56 2013 From: zaphod at berentweb.com (Beeblebrox) Date: Sat, 30 Mar 2013 23:36:50 -0700 (PDT) Subject: [ZFS] recover destroyed zpool - what are the available options? Message-ID: <1364711810171-5800299.post@n5.nabble.com> I destroyed my zpool but forgot to take the tar backup of /home folder. I was wondering if there's any way to restore the zpool? This was a single-HDD pool. zpool import -D shows the poolname but also shows that pool is unavailable and faulted. zdb commands give "no records available for poolname" The zpool command also shows the missing device by its ID number. I have left the HDD in the untouched state, and I am hopng that zpool may accept the HDD if I can figure out a way to pass the device number zpool is looking for to the GPT partition (or whatever ID mechanism zpool looks for) on the original HDD. Is there a way to do all that with ZFS? Thanks for any help. -- View this message in context: http://freebsd.1045724.n5.nabble.com/ZFS-recover-destroyed-zpool-what-are-the-available-options-tp5800299.html Sent from the freebsd-questions mailing list archive at Nabble.com. From nightrecon at hotmail.com Sun Mar 31 06:57:17 2013 From: nightrecon at hotmail.com (Michael Powell) Date: Sun, 31 Mar 2013 02:57:03 -0400 Subject: Proper way to update ports with svn References: <515607C1.2010701@drenet.info> Message-ID: Andre Goree wrote: > On Fri, 29 Mar 2013 21:52:41 -0400, Damien Fleuriot wrote: > >> On 29 March 2013 22:29, Andre Goree wrote: >> >>> I seem to have to run 'make index' in /usr/ports after I've run 'svn up >>> >>> >>> /usr/ports' in order to see which ports need to be updated using >>> >>> 'portversion'. This doesn't seem correct...and if so portsnap would >>> >>> seem like a much better tool. Perhaps I should be running 'make >>> >>> fetchindex' instead? I'm sure I've read about the correct way to do so, >>> >>> but it doesn't appear to be here: >>> >>> https://wiki.freebsd.org/PortsSubversionPrimer >>> >>> >>> >>> Thanks in advance for any advice. >> >> 'make index' looks good to me, it's the right way to do things imo. >> >> What bothers you, following 'make index', pkg version output seems dodgy >> ? >> >> > > Mainly, just the amount of time it takes to run "make index", lol. And > the fact that I never had to do so with portsnap. I'm thinking that > perhaps portsnap runs something similar to 'make fetchindex' within the > whole 'portsnap fetch update' process...? > In case you find this of interest, FWIW I changed from the old csup to using portsnap. I also still use portupgrade. This is the command I do to check for ports in need of update: # portsnap fetch update && portsdb -u && pkgdb -F && portversion The portsnap fetch update portion outputs "Building new INDEX files... done." at the end of its run. Notice the three subsequent commands are from the portupgrade package. Portsnap will alter or change the INDEX-7, INDEX-8, and INDEX-9 files. As pointed out elsewhere portupgrade manages its own index database file separately and in parallel, which is the INDEX-9.db file. At first glance it would seem that running portsdb and pkgdb might appear to be semi-superfluos, but doing so will check the package database and ensure it is exactly in sync with the ports INDEX-* files. I would rather pkgdb dump out an error if something is wrong, and it will if there is something not quite right in the package database. As long as everything is good it just sails on through and portversion tells me which ports are in need of upgrade. Then I read the new UPDATING file prior to doing portupgrade -a, following any instructions which may pertain. I have been doing this for 3-4 months now and it has served me well. I was doing something very similar back in the csup days, but I had to work out some small changes to the above command line using trial and error. The above result is very fast, as compared to just trying to use the same old identical CLI switches from csup days. To start from a clean slate I wiped /usr/ports and followed the Handbook commands of portsnap fetch followed by the portsnap extract commands. Once I had a new pristine ports tree I update it and check for new ports with the above command. It has worked well. -Mike From nightrecon at hotmail.com Sun Mar 31 07:25:16 2013 From: nightrecon at hotmail.com (Michael Powell) Date: Sun, 31 Mar 2013 03:25:01 -0400 Subject: databases/mysql55 to databases/mariadb References: <515442B4.1070906@gmail.com> <5156CF14.6000208@gmail.com> Message-ID: Andrei Brezan wrote: [snip] > Also what i've noticed is that 'p' as a suffix is for percona. Oops! And I was thinking Percona but for some reason PostgreSQL came out my fingers! DOH! -Mike From guru at unixarea.de Sun Mar 31 11:23:56 2013 From: guru at unixarea.de (Matthias Apitz) Date: Sun, 31 Mar 2013 12:02:00 +0200 Subject: Problems with ekiga3 build In-Reply-To: <20130307060112.GA2348@tinyCurrent> References: <3108039.oy3zg9g7JA@zeus> <20130307060112.GA2348@tinyCurrent> Message-ID: <20130331100200.GA17107@tinyCurrent> El d?a Thursday, March 07, 2013 a las 07:01:12AM +0100, Matthias Apitz escribi?: > El d?a Wednesday, March 06, 2013 a las 04:00:36PM -0500, Derrick Dantavious Edwards escribi?: > > > Hi, > > I continue to get this error when I attempt to compile ekiga3. Any ideas? > > > > FreeBSD 10.0-CURRENT #0 r247527: Fri Mar 1 00:38:04 EST 2013 > > > > v/r > > > > Derrick > > > > > Stop in /usr/ports/net/ekiga3. > > > > I can't comment on the error in question, but maybe better you compile > Ekiga (PTlib, ...) directly from the sources from git; in the Ekiga Wiki > there is a small guide (maybe outdated, if so I could update this) I've tried to build Ekiga from SVN (ptlib, opal) and git (Ekiga), but it now depends on: ... checking for GTK... no configure: error: Package requirements (gtk+-3.0 >= 3.4.0 gnome-icon-theme >= 3.0.0) were not met: No package 'gtk+-3.0' found Requested 'gnome-icon-theme >= 3.0.0' but version of gnome-icon-theme is 2.30.3 So, we FreeBSD folks, have no chance to build Ekiga 4.0.x :-( matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru at unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From kwm at rainbow-runner.nl Sun Mar 31 11:35:54 2013 From: kwm at rainbow-runner.nl (Koop Mast) Date: Sun, 31 Mar 2013 13:35:43 +0200 Subject: Problems with ekiga3 build In-Reply-To: <20130331100200.GA17107@tinyCurrent> References: <3108039.oy3zg9g7JA@zeus> <20130307060112.GA2348@tinyCurrent> <20130331100200.GA17107@tinyCurrent> Message-ID: <51581F8F.2010600@rainbow-runner.nl> On 31-3-2013 12:02, Matthias Apitz wrote: > El d?a Thursday, March 07, 2013 a las 07:01:12AM +0100, Matthias Apitz escribi?: > >> El d?a Wednesday, March 06, 2013 a las 04:00:36PM -0500, Derrick Dantavious Edwards escribi?: >> >>> Hi, >>> I continue to get this error when I attempt to compile ekiga3. Any ideas? >>> >>> FreeBSD 10.0-CURRENT #0 r247527: Fri Mar 1 00:38:04 EST 2013 >>> >>> v/r >>> >>> Derrick >>> Stop in /usr/ports/net/ekiga3. >>> >> I can't comment on the error in question, but maybe better you compile >> Ekiga (PTlib, ...) directly from the sources from git; in the Ekiga Wiki >> there is a small guide (maybe outdated, if so I could update this) Would be good to see the error. If this this problem happens on 10.0 only then you could try to add USE_GCC=any to the makefile and see if that fixes the problem. > I've tried to build Ekiga from SVN (ptlib, opal) and git (Ekiga), but it > now depends on: > > ... > checking for GTK... no > configure: error: Package requirements (gtk+-3.0 >= 3.4.0 > gnome-icon-theme >= 3.0.0) were not met: > > No package 'gtk+-3.0' found > Requested 'gnome-icon-theme >= 3.0.0' but version of gnome-icon-theme is 2.30.3 > > So, we FreeBSD folks, have no chance to build Ekiga 4.0.x :-( > > matthias > I'm looking into updating the ptlib/opal/ekiga ports. So ekiga 4 will happen. Btw if you can't wait for that, gtk30 was updated to 3.6, and you can get a more recent gnome-icon-theme port from our devel repo. -Koop From guru at unixarea.de Sun Mar 31 13:30:15 2013 From: guru at unixarea.de (Matthias Apitz) Date: Sun, 31 Mar 2013 15:30:09 +0200 Subject: Problems with ekiga3 build In-Reply-To: <51581F8F.2010600@rainbow-runner.nl> References: <3108039.oy3zg9g7JA@zeus> <20130307060112.GA2348@tinyCurrent> <20130331100200.GA17107@tinyCurrent> <51581F8F.2010600@rainbow-runner.nl> Message-ID: <20130331133009.GA17674@tinyCurrent> El d?a Sunday, March 31, 2013 a las 01:35:43PM +0200, Koop Mast escribi?: > > gnome-icon-theme >= 3.0.0) were not met: > > > > No package 'gtk+-3.0' found > > Requested 'gnome-icon-theme >= 3.0.0' but version of gnome-icon-theme is 2.30.3 > > > > So, we FreeBSD folks, have no chance to build Ekiga 4.0.x :-( > > > > matthias > > > > I'm looking into updating the ptlib/opal/ekiga ports. So ekiga 4 will > happen. ptlib and opal compile fine out of its SVN on my relatively old 9.0-CURRENT #1 r214444: Thu Oct 28 10:56:32 CEST 2010; > Btw if you can't wait for that, gtk30 was updated to 3.6, and > you can get a more recent gnome-icon-theme port from our devel repo. I will see if I can install x11-toolkits/gtk30 without updating all my ports tree; could you please point me to the gnome-icon-theme port; thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru at unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From fbsd8 at a1poweruser.com Sun Mar 31 13:39:34 2013 From: fbsd8 at a1poweruser.com (Joe) Date: Sun, 31 Mar 2013 09:39:29 -0400 Subject: use of the kernel and licensing In-Reply-To: <20130331001209.GA69583@neutralgood.org> References: <20130331001209.GA69583@neutralgood.org> Message-ID: <51583C91.5060000@a1poweruser.com> kpneal at pobox.com wrote: > On Sat, Mar 30, 2013 at 09:22:22AM -0400, Maikoda Sutter wrote: >> If I use the kernel as a basis for my own system and modify the kernel >> should I still maintain the licensing of the kernel bits, or could release >> it under it's own license? >> >> For example: I would like to rewrite the headers to be 100% POSIX compliant >> and I do like the BSD license, however I was planning on releasing my whole >> system under the Unlicense, I understand that certain headers and code that >> I do not modify has to be released under the BSD license as that is the >> original license of the code, however for headers or code that I modify can >> I release it under the Unlicense (http://unlicense.org/)? >> >> I do plan on giving credit where it is due and such to the wonderful >> developers of FreeBSD and those that wrote the original code because >> without you I would not be able to produce so rapidly that which I am >> looking to produce I just would like clarification on the extent that I >> would have to license things via the BSD license. > > You cannot yourself change the license on code you do not hold the copyright > on. Period. > > If you make changes and redistribute them then add your copyright notice > with license to the files. Do not remove the existing copyright notice(s) > and license(s). > > You hold the copyright for stuff you wrote, but the original copyright > stays for the parts that did not come from you. "Parts" means any fraction > of a file from the whole file down to small amounts. You are allowed to > add restrictions (unless the existing license says you can't), but you are > not allowed to loosen the existing restrictions (unless the existing license > says you can). Also, it follows from the copyright that your license only > applies to the parts copyrighted by you. The existing licenses are similar > in that they apply only to their parts of the file. All licenses must be > followed when the file is treated (copied, used, etc) as a whole. > > Make sure your license isn't incompatible with the license that applies > to other parts of the same file. If that happens then how it will turn out > in court is anyone's guess. The file may not be usable by the public, or > the incompatible license terms added by you may be struck down, or a judge > could cook up something else. It can't be predicted in advance so just > don't even go there. > > "Giving credit where it is due" is an important social convention, and I'm > glad to see that you aren't planning on doing anything unethical like > breaking it. But copyright comes from the law and thus must be obeyed even > if you wanted to break purely social conventions. > > Read up on copyright, and when you do pay close attention to the reliability > of the source. The issue has become very political in the past 15 years > or so. Don't be badly advised by someone who has their own agenda. Most > people, to varying degrees, have their own agenda. > > Finally, if money is at stake (directly or indirectly) I strongly advise > talking to a copyright lawyer in particular. That's just general advice. > Taking advice from random people online is not a good idea if any money > is involved, but I'd give the same advice to my best friend. The general > rule applies here as it does elsewhere: "You get what you pay for." > Does one have to file legal paper work with the government to be issued a copyright on software? Does any software not having a copyright statement or any license comments included in the source mean that it's public domain? From andrei693 at gmail.com Sun Mar 31 13:58:08 2013 From: andrei693 at gmail.com (Andrei Brezan) Date: Sun, 31 Mar 2013 15:58:04 +0200 Subject: pkgng / poudriere oddity Message-ID: <515840EC.4060706@gmail.com> Hello list, It seems I'm experiencing some issues while trying to install packages that have dependencies that have other dependencies as well, or at least that's how I understand it. # uname -a FreeBSD host.example.com 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 # pkg install mtr-nox11 Updating repository catalogue Repository catalogue is up-to-date, no need to fetch fresh copy The following packages will be installed: Installing gettext: 0.18.1.1_1 Installing pcre: 8.32 Installing libiconv: 1.14_1 Installing glib: 2.34.3 Installing libffi: 3.0.13 Installing perl: 5.14.2_3 Installing python27: 2.7.3_6 Installing mtr-nox11: 0.84 The installation will require 149 MB more space 0 B to be downloaded Proceed with installing packages [y/N]: y Checking integrity... done Installing gettext-0.18.1.1_1...missing dependency libiconv-1.14_1 # pkg rquery "%n-%v" libiconv libiconv-1.14_1 Is there an obvious reason why gettext dependencies are not pulled in and installed? If I do "pkg install gettext" all goes well and libiconv in installed as dependency. I've already did a "poudriere bulk -j jail_name -p ports_tree -c -f pkg_list.txt" for the pkg repo to no avail. To mention that on the host using pkgng I did several pkg delete -f for all packages installed except pkg. Thank you, Andrei Brezan From kwm at rainbow-runner.nl Sun Mar 31 14:13:41 2013 From: kwm at rainbow-runner.nl (Koop Mast) Date: Sun, 31 Mar 2013 16:13:31 +0200 Subject: Problems with ekiga3 build In-Reply-To: <20130331133009.GA17674@tinyCurrent> References: <3108039.oy3zg9g7JA@zeus> <20130307060112.GA2348@tinyCurrent> <20130331100200.GA17107@tinyCurrent> <51581F8F.2010600@rainbow-runner.nl> <20130331133009.GA17674@tinyCurrent> Message-ID: <5158448B.70302@rainbow-runner.nl> On 31-3-2013 15:30, Matthias Apitz wrote: > El d?a Sunday, March 31, 2013 a las 01:35:43PM +0200, Koop Mast escribi?: > >>> gnome-icon-theme >= 3.0.0) were not met: >>> >>> No package 'gtk+-3.0' found >>> Requested 'gnome-icon-theme >= 3.0.0' but version of gnome-icon-theme is 2.30.3 >>> >>> So, we FreeBSD folks, have no chance to build Ekiga 4.0.x :-( >>> >>> matthias >>> >> I'm looking into updating the ptlib/opal/ekiga ports. So ekiga 4 will >> happen. > ptlib and opal compile fine out of its SVN on my relatively old > 9.0-CURRENT #1 r214444: Thu Oct 28 10:56:32 CEST 2010; > >> Btw if you can't wait for that, gtk30 was updated to 3.6, and >> you can get a more recent gnome-icon-theme port from our devel repo. > I will see if I can install x11-toolkits/gtk30 without updating all my > ports tree; could you please point me to the gnome-icon-theme port; http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/ports/misc/gnome-icon-theme/ > > thanks > > matthias > From Devin.Teske at fisglobal.com Sun Mar 31 14:29:33 2013 From: Devin.Teske at fisglobal.com (Teske, Devin) Date: Sun, 31 Mar 2013 14:29:26 +0000 Subject: use of the kernel and licensing In-Reply-To: <51583C91.5060000@a1poweruser.com> References: <20130331001209.GA69583@neutralgood.org> <51583C91.5060000@a1poweruser.com> Message-ID: <13CA24D6AB415D428143D44749F57D7201EEC4FB@ltcfiswmsgmb21> On Mar 31, 2013, at 6:39 AM, Joe wrote: > kpneal at pobox.com wrote: >> On Sat, Mar 30, 2013 at 09:22:22AM -0400, Maikoda Sutter wrote: >>> If I use the kernel as a basis for my own system and modify the kernel >>> should I still maintain the licensing of the kernel bits, or could release >>> it under it's own license? >>> >>> For example: I would like to rewrite the headers to be 100% POSIX compliant >>> and I do like the BSD license, however I was planning on releasing my whole >>> system under the Unlicense, I understand that certain headers and code that >>> I do not modify has to be released under the BSD license as that is the >>> original license of the code, however for headers or code that I modify can >>> I release it under the Unlicense (http://unlicense.org/)? >>> >>> I do plan on giving credit where it is due and such to the wonderful >>> developers of FreeBSD and those that wrote the original code because >>> without you I would not be able to produce so rapidly that which I am >>> looking to produce I just would like clarification on the extent that I >>> would have to license things via the BSD license. >> You cannot yourself change the license on code you do not hold the copyright >> on. Period. >> If you make changes and redistribute them then add your copyright notice >> with license to the files. Do not remove the existing copyright notice(s) >> and license(s). >> You hold the copyright for stuff you wrote, but the original copyright >> stays for the parts that did not come from you. "Parts" means any fraction >> of a file from the whole file down to small amounts. You are allowed to >> add restrictions (unless the existing license says you can't), but you are >> not allowed to loosen the existing restrictions (unless the existing license >> says you can). Also, it follows from the copyright that your license only >> applies to the parts copyrighted by you. The existing licenses are similar >> in that they apply only to their parts of the file. All licenses must be >> followed when the file is treated (copied, used, etc) as a whole. >> Make sure your license isn't incompatible with the license that applies >> to other parts of the same file. If that happens then how it will turn out >> in court is anyone's guess. The file may not be usable by the public, or >> the incompatible license terms added by you may be struck down, or a judge >> could cook up something else. It can't be predicted in advance so just >> don't even go there. >> "Giving credit where it is due" is an important social convention, and I'm >> glad to see that you aren't planning on doing anything unethical like >> breaking it. But copyright comes from the law and thus must be obeyed even >> if you wanted to break purely social conventions. >> Read up on copyright, and when you do pay close attention to the reliability >> of the source. The issue has become very political in the past 15 years >> or so. Don't be badly advised by someone who has their own agenda. Most >> people, to varying degrees, have their own agenda. >> Finally, if money is at stake (directly or indirectly) I strongly advise >> talking to a copyright lawyer in particular. That's just general advice. >> Taking advice from random people online is not a good idea if any money >> is involved, but I'd give the same advice to my best friend. The general >> rule applies here as it does elsewhere: "You get what you pay for." > > Does one have to file legal paper work with the government to be issued a copyright on software? > No, copyrights are more like artists signing their work -- in a standardized way -- but every bit as legally binding. They are "first come" priority in the court of law and if-ever disputed, often require correlative evidentiary proof to show true ownership (a notarized copy of the work mailed to yourself kept in an unopened envelope perhaps). > Does any software not having a copyright statement or any license comments included in the source mean that it's public domain? > Be careful here. The answer to your question is NO. If a work lacks a license in the source, it may be on the website. If you can't find a license, you must always contact the author(s) before forking something. If you can neither find the license nor the contact info, it's always best to assume it is not for reuse. Even the, if you used code that was from an unknown origin with no license and no author, you should indicate as such in the header of such source files. Essentially what it boils down to, is that in the court of law (if someone indicts or brings a civil suit) you may have to account for the origin of every line -- so that's why: 1. If a file has an inline license (beerware, gpl, bsd, apple, or even one you make up all your own), it must stay there to mark the origins 2. If a file is lacking an inline license, it is often because the license is too long or unwieldy to embed and it is in a COPYING file distributed with the source code OR in a terms of agreement on the website (in which case you should download it and place it into a COPYING file). In either case, you must package up the same COPYING file or EULA (if allowed; the file/agreement must be read to know if the fork is even permitted). 3. For source files which do not have an inline license and you cannot find a separate license, add a note to the top saying how you acquired the source (feel free to put this in a separate file but it must appear somewhere or be readily available upon simple request to anybody and everybody). Then, if you make modifications to the source (of unknown origin), you then slap on your own license for your modifications. And as the last reply mentioned, if money is involved -- ask a cooyright lawyer (the same people in the profession of defending works in the court of law if issues arise). -- 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. From freebsd at edvax.de Sun Mar 31 14:31:45 2013 From: freebsd at edvax.de (Polytropon) Date: Sun, 31 Mar 2013 16:31:43 +0200 Subject: use of the kernel and licensing In-Reply-To: <51583C91.5060000@a1poweruser.com> References: <20130331001209.GA69583@neutralgood.org> <51583C91.5060000@a1poweruser.com> Message-ID: <20130331163143.aabedff2.freebsd@edvax.de> On Sun, 31 Mar 2013 09:39:29 -0400, Joe wrote: > Does one have to file legal paper work with the government to be issued > a copyright on software? With _which_ government? :-) Basic understanding of copyright is: The stuff _you_ write happens "automatically" under _your_ copyright, because you are the creator. There is nothing you need to do to achieve the copyright - it's yours by acting. At the moment you write something like "(C) Joe Sixpack 2012" it's "set in stone". There might be other ways to prove (!) copyright, e. g. when one of your files appears in someone else's work, but now with the originator line saying "(C) Nick Nosewhite 2013". In case of a court trial which involves copyright, you can prove from your CVS "log of creation" (or whatever source management system or even file system you use) that _you_ have been writing that code, nobody else. > Does any software not having a copyright statement or any license > comments included in the source mean that it's public domain? I would assume this. Imagine a snippet of code with no author mentioned in it (or in the source it comes from, or any file it is accompanied by), how would you be able to conclude something _else_ than this is public domain with _no_ copyright holder? Note that copyright and license are two different things. A skilled lawyer will be able to explain it more precisely and show you how it applies for the jurisdiction you're living in. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From gmx at ross.cx Sun Mar 31 14:43:39 2013 From: gmx at ross.cx (Michael Ross) Date: Sun, 31 Mar 2013 16:43:27 +0200 Subject: use of the kernel and licensing In-Reply-To: <20130331163143.aabedff2.freebsd@edvax.de> References: <20130331001209.GA69583@neutralgood.org> <51583C91.5060000@a1poweruser.com> <20130331163143.aabedff2.freebsd@edvax.de> Message-ID: On Sun, 31 Mar 2013 16:31:43 +0200, Polytropon wrote: > On Sun, 31 Mar 2013 09:39:29 -0400, Joe wrote: >> Does one have to file legal paper work with the government to be issued >> a copyright on software? > > With _which_ government? :-) > > Basic understanding of copyright is: The stuff _you_ write > happens "automatically" under _your_ copyright, because you > are the creator. There is nothing you need to do to achieve > the copyright - it's yours by acting. At the moment you > write something like "(C) Joe Sixpack 2012" it's "set in > stone". > > There might be other ways to prove (!) copyright, e. g. when > one of your files appears in someone else's work, but now > with the originator line saying "(C) Nick Nosewhite 2013". > In case of a court trial which involves copyright, you can > prove from your CVS "log of creation" (or whatever source > management system or even file system you use) that _you_ > have been writing that code, nobody else. > > > >> Does any software not having a copyright statement or any license >> comments included in the source mean that it's public domain? > > I would assume this. Imagine a snippet of code with no author > mentioned in it (or in the source it comes from, or any file > it is accompanied by), how would you be able to conclude > something _else_ than this is public domain with _no_ > copyright holder? I think you are wrong here. quoting http://en.wikipedia.org/wiki/Public_domain_software: "Under the Berne Convention, which most countries have signed, an author automatically obtains the exclusive copyright to anything they have written, and local law may similarly grant copyright, patent, or trademark rights by default. The Berne Convention also covers programs. Therefore, a program is automatically subject to a copyright, and if it is to be placed in the public domain, the author must explicitly disclaim the copyright and other rights on it in some way." Note the wording "explicitly disclaim". While German law has something like a "triviality threshold" which may well apply to very small code snippets, i'd say "no included license" by default means "all rights reserved". Regards, Michael From freebsd at edvax.de Sun Mar 31 15:08:57 2013 From: freebsd at edvax.de (Polytropon) Date: Sun, 31 Mar 2013 17:09:02 +0200 Subject: use of the kernel and licensing In-Reply-To: References: <20130331001209.GA69583@neutralgood.org> <51583C91.5060000@a1poweruser.com> <20130331163143.aabedff2.freebsd@edvax.de> Message-ID: <20130331170902.bbcd8179.freebsd@edvax.de> On Sun, 31 Mar 2013 16:43:27 +0200, Michael Ross wrote: > On Sun, 31 Mar 2013 16:31:43 +0200, Polytropon wrote: > > > On Sun, 31 Mar 2013 09:39:29 -0400, Joe wrote: > >> Does one have to file legal paper work with the government to be issued > >> a copyright on software? > > > > With _which_ government? :-) > > > > Basic understanding of copyright is: The stuff _you_ write > > happens "automatically" under _your_ copyright, because you > > are the creator. There is nothing you need to do to achieve > > the copyright - it's yours by acting. At the moment you > > write something like "(C) Joe Sixpack 2012" it's "set in > > stone". > > > > There might be other ways to prove (!) copyright, e. g. when > > one of your files appears in someone else's work, but now > > with the originator line saying "(C) Nick Nosewhite 2013". > > In case of a court trial which involves copyright, you can > > prove from your CVS "log of creation" (or whatever source > > management system or even file system you use) that _you_ > > have been writing that code, nobody else. > > > > > > > >> Does any software not having a copyright statement or any license > >> comments included in the source mean that it's public domain? > > > > I would assume this. Imagine a snippet of code with no author > > mentioned in it (or in the source it comes from, or any file > > it is accompanied by), how would you be able to conclude > > something _else_ than this is public domain with _no_ > > copyright holder? > > I think you are wrong here. > > quoting http://en.wikipedia.org/wiki/Public_domain_software: > "Under the Berne Convention, which most countries have signed, an author > automatically obtains the exclusive copyright to anything they have > written, and local law may similarly grant copyright, patent, or trademark > rights by default. The Berne Convention also covers programs. Therefore, a > program is automatically subject to a copyright, and if it is to be placed > in the public domain, the author must explicitly disclaim the copyright > and other rights on it in some way." > > Note the wording "explicitly disclaim". This exactly expresses my interpretation, maybe I didn't find the right words. "Obtaining" copyright is implicit (by creating stuff), giving up copyright is an explicit act. Copyright information and licensing statements don't have to be neccessarily included in the file in question, they could also be in a file "coming with" the file in question, such as a LICENSE text file or AUTHORS, or in a manpage refering to a specific program (even though it's quite common to place that information at least as comments in source files). No not finding this information in the source and therefor _assuming_ there is no copyright holder or no license (and therefor "all rights granted") is wrong. An exception might actually be code snippets "below the 'triviality threshold'" (as you mentioned is at least known in Germany) which have been published anonymously. In this case, neither an author or a license can be found, and in the absence of _both_, the assumption of the snippet being in the public domain would at least be undertandable. If it is _valid_ under all circumstances and in all juristictions, that's a totally different questions, to be answered by two lawyers with three opinions. :-) > While German law has something like a "triviality threshold" which may > well apply to very small code snippets, > i'd say "no included license" by default means "all rights reserved". As for licenses (copyright aside), this may very well be. If no rights are explicitely granted (even the "do whatever you want" right), it could be invalid to simply _assume_ such a right. The "no license included" approach, on the other hand, could also show the authors attitude as "I don't care", also a valid standpoint... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From andrei693 at gmail.com Sun Mar 31 15:14:27 2013 From: andrei693 at gmail.com (Andrei Brezan) Date: Sun, 31 Mar 2013 17:14:23 +0200 Subject: pkgng / poudriere oddity In-Reply-To: <51584318.1050000@cyberleo.net> References: <515840EC.4060706@gmail.com> <51584318.1050000@cyberleo.net> Message-ID: <515852CF.9000604@gmail.com> On 03/31/13 16:07, CyberLeo Kitsana wrote: > On 03/31/2013 08:58 AM, Andrei Brezan wrote: >> Hello list, >> >> It seems I'm experiencing some issues while trying to install packages >> that have dependencies that have other dependencies as well, or at least >> that's how I understand it. >> >> # uname -a >> FreeBSD host.example.com 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue >> Dec 4 09:23:10 UTC 2012 >> root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >> >> # pkg install mtr-nox11 >> Updating repository catalogue >> Repository catalogue is up-to-date, no need to fetch fresh copy >> The following packages will be installed: >> >> Installing gettext: 0.18.1.1_1 >> Installing pcre: 8.32 >> Installing libiconv: 1.14_1 >> Installing glib: 2.34.3 >> Installing libffi: 3.0.13 >> Installing perl: 5.14.2_3 >> Installing python27: 2.7.3_6 >> Installing mtr-nox11: 0.84 >> >> The installation will require 149 MB more space >> >> 0 B to be downloaded >> >> Proceed with installing packages [y/N]: y >> Checking integrity... done >> Installing gettext-0.18.1.1_1...missing dependency libiconv-1.14_1 >> >> # pkg rquery "%n-%v" libiconv >> libiconv-1.14_1 >> >> Is there an obvious reason why gettext dependencies are not pulled in >> and installed? >> If I do "pkg install gettext" all goes well and libiconv in installed as >> dependency. >> >> I've already did a "poudriere bulk -j jail_name -p ports_tree -c -f >> pkg_list.txt" for the pkg repo to no avail. >> >> To mention that on the host using pkgng I did several pkg delete -f for >> all packages installed except pkg. > Try turning PARALLEL_JOBS to 1 in poudriere.conf and then rebuilding all > the packages. > > This sounds very similar to a behaviour I was witnessing with non-pkgng > repos constructed by Poudriere, whereby the INDEX was ending up > incomplete, and so the dependencies were never installed by pkg_add -r. > I would imagine a similar race condition could be affecting pkgng as > well. I just haven't had time to troubleshoot it very far, and the above > seemed to alleviate the issue. > # By default MAKE_JOBS is disabled to allow only one process per cpu # Use the following to allow it anyway ALLOW_MAKE_JOBS=yes This one enabled was the reason behind it, disabling it and rebuilding the whole repo fixed it. I've left PARALLEL_JOBS to default, # of core's. Thanks for the pointer, Andrei From lumiwa at gmail.com Sun Mar 31 22:25:46 2013 From: lumiwa at gmail.com (ajtiM) Date: Sun, 31 Mar 2013 17:25:32 -0500 Subject: smartd Message-ID: <1669088.nIVdxTbFxh@luna.wi.rr.com> Hi! I installed smartmontools, "start_smartd=yes" I have in rc.conf and I edited /usr/local/etc/smart.conf where I have: /dev/ada0 -a -d auto -o on -S on -s (S/../.././02|L/../../6/03) -m root When I use top there are no smartd and if I run smartd again than top shows me smartd for few seconds and than it gone. smartctl -d auto -i /dev/ada0 show: smartctl 6.1 2013-03-16 r3800 [FreeBSD 9.1-RELEASE i386] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Western Digital Caviar SE Device Model: WDC WD800JB-00FSA0 Serial Number: WD-WCAJD1048022 Firmware Version: 77.07W77 User Capacity: 80,026,361,856 bytes [80.0 GB] Sector Size: 512 bytes logical/physical Device is: In smartctl database [for details use: -P show] ATA Version is: ATA/ATAPI-6 (minor revision not indicated) Local Time is: Sun Mar 31 17:11:23 2013 CDT SMART support is: Available - device has SMART capability. SMART support is: Enabled ps auxww | grep smartd shows: root 1342 0.0 0.1 11004 2304 ?? I 11:32AM 0:00.02 /usr/local/sbin/smartd -c /usr/local/etc/smartd.conf -p /var/run/smartd.pid root 1659 0.0 0.1 11004 2340 ?? I 11:33AM 0:00.02 smartd root 1668 0.0 0.1 11004 2340 ?? I 11:35AM 0:00.02 smartd root 7553 0.0 0.1 11004 2364 ?? I 11:41AM 0:00.02 smartd root 8589 0.0 0.2 11004 3476 ?? I 3:48PM 0:00.01 smartd root 8936 0.0 0.1 9636 1688 1 S+ 5:22PM 0:00.00 grep smartd Are my settings correct, please? Is it good that I put in /etc/periodic.conf: daily_status_smart_devices="/dev/ada0 Thanks in advance. Mitja ---------- http://www.redbubble.com/people/lumiwa From freebsd at edvax.de Sun Mar 31 22:39:54 2013 From: freebsd at edvax.de (Polytropon) Date: Mon, 1 Apr 2013 00:39:53 +0200 Subject: smartd In-Reply-To: <1669088.nIVdxTbFxh@luna.wi.rr.com> References: <1669088.nIVdxTbFxh@luna.wi.rr.com> Message-ID: <20130401003953.1b6403ed.freebsd@edvax.de> On Sun, 31 Mar 2013 17:25:32 -0500, ajtiM wrote: > I installed smartmontools, "start_smartd=yes" I have in rc.conf Without further investigation - shouldn't that be smartd_enable="YES" conforming to the syntax of other service start commands? At least that might be the reason why smartd doesn't automatically start. Sadly I can't find a reference to how to edit rc.conf in "man smartd"; at least the manual explains the options well... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From nightrecon at hotmail.com Sun Mar 31 23:25:17 2013 From: nightrecon at hotmail.com (Michael Powell) Date: Sun, 31 Mar 2013 19:24:49 -0400 Subject: smartd References: <1669088.nIVdxTbFxh@luna.wi.rr.com> <20130401003953.1b6403ed.freebsd@edvax.de> Message-ID: Polytropon wrote: > On Sun, 31 Mar 2013 17:25:32 -0500, ajtiM wrote: >> I installed smartmontools, "start_smartd=yes" I have in rc.conf > > Without further investigation - shouldn't that be > > smartd_enable="YES" > > conforming to the syntax of other service start commands? > At least that might be the reason why smartd doesn't > automatically start. Sadly I can't find a reference to > how to edit rc.conf in "man smartd"; at least the manual > explains the options well... ;-) This is correct, as per: /usr/ports/sysutils/smartmontools/files/pkg-message.in Don't know if it's a typo in his email but he was missing a " on the: daily_status_smart_devices="/dev/ada0" line as well. -Mike From lumiwa at gmail.com Sun Mar 31 23:33:43 2013 From: lumiwa at gmail.com (ajtiM) Date: Sun, 31 Mar 2013 18:33:19 -0500 Subject: smartd In-Reply-To: <20130401003953.1b6403ed.freebsd@edvax.de> References: <1669088.nIVdxTbFxh@luna.wi.rr.com> <20130401003953.1b6403ed.freebsd@edvax.de> Message-ID: <4440166.VnFqenzef9@luna.wi.rr.com> On Monday, April 01, 2013 00:39:53 Polytropon wrote: > On Sun, 31 Mar 2013 17:25:32 -0500, ajtiM wrote: > > I installed smartmontools, "start_smartd=yes" I have in rc.conf > > Without further investigation - shouldn't that be > > smartd_enable="YES" > > conforming to the syntax of other service start commands? > At least that might be the reason why smartd doesn't > automatically start. Sadly I can't find a reference to > how to edit rc.conf in "man smartd"; at least the manual > explains the options well... ;-) About smart_enable I red in the bellow link: http://www.freebsddiary.org/smart.php and also here is one: http://forums.freebsd.org/showthread.php?t=29503 Thank you. Mitja ---------- http://www.redbubble.com/people/lumiwa From lumiwa at gmail.com Sun Mar 31 23:44:54 2013 From: lumiwa at gmail.com (ajtiM) Date: Sun, 31 Mar 2013 18:37:08 -0500 Subject: smartd In-Reply-To: References: <1669088.nIVdxTbFxh@luna.wi.rr.com> <20130401003953.1b6403ed.freebsd@edvax.de> Message-ID: <1481333.sZQEoo4nyW@luna.wi.rr.com> On Sunday, March 31, 2013 19:24:49 Michael Powell wrote: > Polytropon wrote: > > On Sun, 31 Mar 2013 17:25:32 -0500, ajtiM wrote: > >> I installed smartmontools, "start_smartd=yes" I have in rc.conf > > > > Without further investigation - shouldn't that be > > > > smartd_enable="YES" > > > > conforming to the syntax of other service start commands? > > At least that might be the reason why smartd doesn't > > automatically start. Sadly I can't find a reference to > > how to edit rc.conf in "man smartd"; at least the manual > > explains the options well... ;-) > > This is correct, as per: > > /usr/ports/sysutils/smartmontools/files/pkg-message.in > > Don't know if it's a typo in his email but he was missing a " on the: > > daily_status_smart_devices="/dev/ada0" line as well. > > -Mike Yes, it was a typo and I don't have yet in periodic.conf. Thank you. Mitja ---------- http://www.redbubble.com/people/lumiwa