Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2016 14:09:54 +0000
From:      Jonathan Moore <jdm7dv@outlook.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Cc:        "chris@stankevitz.com" <chris@stankevitz.com>
Subject:   RE: Building world vs freebsd-update: merging files
Message-ID:  <MWHPR02MB2479A5B50FCA60F387EDC6489ABE0@MWHPR02MB2479.namprd02.prod.outlook.com>

Next in thread | Raw E-Mail | Index | Archive | Help
Because merge master merges your confg files and update does not.

Here is a quick and dirty build world

http://hades.palmboys.nl/freebsd-updating.html

Jonathan Moore

-----Original Message-----
From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@f=
reebsd.org] On Behalf Of freebsd-questions-request@freebsd.org
Sent: Wednesday, November 16, 2016 7:00 AM
To: freebsd-questions@freebsd.org
Subject: freebsd-questions Digest, Vol 650, Issue 3

Send freebsd-questions mailing list submissions to
	freebsd-questions@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
	freebsd-questions-request@freebsd.org

You can reach the person managing the list at
	freebsd-questions-owner@freebsd.org

When replying, please edit your Subject line so it is more specific than "R=
e: Contents of freebsd-questions digest..."


Today's Topics:

   1. Re: Hello - i5 processors and,Nvidia GPUs (Allen)
   2. Re: problem starting dhcpd (Trond Endrest?l)
   3. zfs: how to find out when a disk failed (Dr. Nikolaus Klepp)
   4. Re: problem starting dhcpd (The Doctor)
   5. wireless woes ieee80211_new_state_locked: pending INIT ->
      SCAN transition lost (Christoph P.U. Kukulies)
   6. Re: ezjail problem (Ernie Luzar)
   7. Building world vs freebsd-update: merging files (Chris Stankevitz)
   8. [OPINION] Picture Management (J)
   9. Re: ezjail problem (DTD)
  10. Re: gdb / dwarf issue (Gary Aitken)
  11. Re: zfs: how to find out when a disk failed (Dr. Nikolaus Klepp)
  12. Re: Installing to RAIDZ1 (Baho Utot)
  13. Re: Building world vs freebsd-update: merging files
      (CyberLeo Kitsana)
  14. Re: Building world vs freebsd-update: merging files
      (Chris Stankevitz)
  15. Re: zfs: how to find out when a disk failed (Adam Vande More)
  16. Mr. Turritopsis Dohrnii Teo En Ming (Zhang Enming) is Looking
      for Information Technology-related Job Opportunities World Wide
      (Turritopsis Dohrnii Teo)
  17. Re: gdb / dwarf issue (SOLVED) (Gary Aitken)
  18. FreeBSD-HEAD + diligent: Program received signal SIGBUS, Bus
      error (Boris Samorodov)
  19. Re: Letting you know about a broken link (Danielle James)
  20. make buildkernel in 11.0 (Christoph P.U. Kukulies)
  21. Re: make buildkernel in 11.0 (Christoph P.U. Kukulies)


----------------------------------------------------------------------

Message: 1
Date: Tue, 15 Nov 2016 09:35:12 -0500
From: Allen <bsd_atog@comcast.net>
To: freebsd-questions@freebsd.org
Subject: Re: Hello - i5 processors and,Nvidia GPUs
Message-ID: <20161115093512.60e3597c@KoggyBSD.org>
Content-Type: text/plain; charset=3DUS-ASCII

> > PS > May I make a suggestion? why does not the FreeBSD project sell=20
> > computers that are fully compatible with FreeBSD. The proceeds would=20
> > go straight to the project to fund + r&d. Just an idea. I would=20
> > certainly buy a computer from you guys. The confusion surrounding=20
> > compatibilities etc is mind boggling. It does not have to be this=20
> > way. It could be so much simpler, I think. Well, i am not an expert=20
> > so maybe I am talking nonsense.

I just wanted to pop in here real quick and add something to that:

iX Systems. They're the main company that I know of that actually sells mac=
hines with BSD on them.

Just check out the iX Systems page, and look through the products they offe=
r. I don't work for them and so I feel no shame in giving them a Thumbs up =
and a free Plug on my end, and I've seen their work before, and I respect t=
hem.

I go to the FreeBSD Mall when I'm ordering stuff I want for BSD related thi=
ngs, and also, if you're a fan of Slackware Linux, they are also the "back =
end" of that as well.

I first learned about this years ago when I had a particularly large order =
from both The FreeBSD Mall, and the Slackware Store, and though I had alrea=
dy suspected they were very close, being that FreeBSD CD and or DVD sets lo=
ok almost exactly like Slackware ones do (I've been buying from this compan=
y for a long time, and you tend to notice things like this) and seeing the =
Slackware CD set I bought looking a lot like the FreeBSD CD Sets I'd bought=
, was only a small part of it, but one day, the large order I'm talking abo=
ut, I'd paid extra to get my things overnighted to me so I could get my stu=
ff quicker, and the next day, I had a very large box on my Porch, and insid=
e were BOTH my FreeBSD Mall Purchases, and my Slackware Store Purchases, al=
l in the same box, and with all of the things I ordered.

Oh, by the way; I also use that site to order my copies of BSD Magazine, wh=
ich I love dearly, and Mouse Pads, Shirts, Boxers, basically everything. I =
also got my Copy of Marshal Kirk McKusick's DVD as well, which I HIGHLY Rec=
ommend to ANYONE with even the slightest interest in the History of BSD and=
 Unix in general, and I Love watching it. It's entertaining how he goes abo=
ut it, and very well done. It's basically a recorded speach he did at a BSD=
 Con, and I highly recommend it.

If you can't find it, just look for his Web Site, as I know he sells them f=
rom his site now. So you shouldn't have any problems finding it.

I actually received a phone call the last time I ordered some things from t=
he FreeBSD Mall, because they had run out of one of the things I ordered, a=
nd not only did they call to apologize for running out, but they asked me w=
hat I wanted to make things right.

To say that I was amazed doesn't even come close; Most online Companies wou=
ldn't have even bothered to try, and when I told the girl that called me th=
at she could just put whatever she wanted in there, I didn't expect the amo=
unt of stuff I got; I'm not even sure what it was now that they had run out=
 of, but in place of that item, she sent me a bunch of things to make up fo=
r it.

I felt bad for getting so much stuff over that because I'm pretty sure it w=
as simply an issue of BSD Magazine that they had sold out of, and BSD Magaz=
ine normally costs more than 10 dollars per issue, and they had a bunch of =
them on sale, which, I think they may still be on sale, for VERY cheap, and=
, to make up for one issue, I got a bunch of FreeBSD and PC-BSD Stickers, w=
hich I love, and then, I got some FreeBSD Bumper Stickers as well, and then=
, I got some Case Stickers (The ones that are the size of the Intel Inside,=
 or "Made for Windows whatever" and so on) and so I ended up getting LOTS o=
f Stickers, which is great, and then, I got the Bumper Stickers, and then, =
I got a new Bracelet that says FreeBSD, and a few other things.

But the point is, they went above and beyond anything I thought necessary, =
and they apologized, and all around, this was one of the first times I've e=
ver had to choose something else because they had run out of stock, and I s=
pend a decent amount of Money on both stores, so I've got plenty of experie=
nce with them, and I've always had a great experience and been treated very=
 well.

In short; Check out iX Systems, and you'll see they have a decent amount of=
 Hardware.

I do not know for certain if they are still selling Workstations, but the S=
ervers they sell, are VERY reasonably priced machines, and I personally hav=
e been trying to get one myself.

There's very good Ads in BSD Magazine for their Company, and the only reaso=
n I'm not sure about Workstations, is that the last time I looked, I couldn=
't find any Workstations for sale, but was told they did still have some fo=
r sale, so if you're serious about this, check them out, and see what they =
have, and even if you end up buying a low end Server, it will not only serv=
e you well, but you can rest assured that EVERY piece of Hardware in that m=
achine, will be built with BSD in mind.

Also; Don't forget that they are the company that backs up PC-BSD, which is=
 FreeBSD with a nice pain job, some nice GUI easy to use tools, and a PBI S=
ystem that even Microsoft could learn a few things from.

Sorry for the length of the post but it's mighty hard to run out of good th=
ings to say about iX Systems.

-Allen
=20
> Ah, FreeBSD is essentially a server. It works nicely as a desktop, but=20
> this needs some time and user skills. For making available a new and=20
> retailed computer that works out-of-the-box, I have set up a website=20
> last month. You can have a look at my website. If you like my website,=20
> I shall be delighted to honour you as my first customer. I offer free=20
> 24x7 support.


------------------------------

Message: 2
Date: Tue, 15 Nov 2016 14:49:07 +0100 (CET)
From: Trond Endrest?l <Trond.Endrestol@fagskolen.gjovik.no>
To: "Christoph P.U. Kukulies" <kuku@kukulies.org>
Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject: Re: problem starting dhcpd
Message-ID: <alpine.BSF.2.20.1611151441490.1016@mail.fig.ol.no>
Content-Type: text/plain; charset=3DISO-8859-1

On Tue, 15 Nov 2016 12:06+0100, Christoph P.U. Kukulies wrote:

> /usr/local/etc/rc.d # ./isc-dhcpd start
> chown: dhcpd: illegal user name
> ./isc-dhcpd: WARNING: unable to change permissions of /var/run/dhcpd
> ./isc-dhcpd: WARNING: safe_run: chown dhcpd:dhcpd /var/db/dhcpd
> ./isc-dhcpd: WARNING: unable to change permissions of /var/db/dhcpd
> chown: dhcpd: illegal user name
> ./isc-dhcpd: WARNING: unable to change permissions of=20
> /var/db/dhcpd/dhcpd.leases Starting dhcpd.
> ./isc-dhcpd: WARNING: failed to start dhcpd
>=20
>=20
>=20
> /etc/passwd:
>=20
> dhcpd:*:136:136::0:0:ISC DHCP daemon:/nonexistent:/usr/sbin/nologin

Does /etc/master.passwd contain the dhcpd user? Are the hash tables, /etc/p=
wd.db and /etc/spwd.db up to date?

Here's one way of ensuring this using csh syntax, the default shell for the=
 root user:

  setenv EDITOR ee # choose the ee editor over the vi editor

  vipw

Make a small change, say entering a space on the first line, then remove sa=
id space, save the file using esc, enter, enter in rapid succession.

> /etc/group:
>=20
> dhcpd:*:136:

The group file seems correct, and it doesn't have a hash table counterpart =
unlike the /etc/{master.,}passwd files.

Next, try running the chown command manually, e.g.:

chown dhcpd:dhcpd /var/db/dhcpd /var/run/dhcpd

--=20
+-------------------------------+------------------------------------+
| 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.      |
+-------------------------------+------------------------------------+

------------------------------

Message: 3
Date: Tue, 15 Nov 2016 15:37:37 +0100
From: "Dr. Nikolaus Klepp" <dr.klepp@gmx.at>
To: freebsd-questions@freebsd.org
Subject: zfs: how to find out when a disk failed
Message-ID: <201611151537.37907.dr.klepp@gmx.at>
Content-Type: text/plain;  charset=3D"iso-8859-15"

Hi all!

I have a server with a zfs raid-z1 (3 disks). One disk failed/was removed s=
ome time ago and was not replaced till now.=20

Is there a way to find out when the  disk failed/was removed?

Nik


--
Please do not email me anything that you are not comfortable also sharing w=
ith the NSA.


------------------------------

Message: 4
Date: Tue, 15 Nov 2016 07:55:30 -0700
From: The Doctor <doctor@doctor.nl2k.ab.ca>
To: "Christoph P.U. Kukulies" <kuku@kukulies.org>
Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject: Re: problem starting dhcpd
Message-ID: <20161115145530.GA3776@doctor.nl2k.ab.ca>
Content-Type: text/plain; charset=3Dus-ascii

On Tue, Nov 15, 2016 at 12:06:56PM +0100, Christoph P.U. Kukulies wrote:
> /usr/local/etc/rc.d # ./isc-dhcpd start
> chown: dhcpd: illegal user name
> ./isc-dhcpd: WARNING: unable to change permissions of /var/run/dhcpd
> ./isc-dhcpd: WARNING: safe_run: chown dhcpd:dhcpd /var/db/dhcpd
> ./isc-dhcpd: WARNING: unable to change permissions of /var/db/dhcpd
> chown: dhcpd: illegal user name
> ./isc-dhcpd: WARNING: unable to change permissions of=20
> /var/db/dhcpd/dhcpd.leases
> Starting dhcpd.
> ./isc-dhcpd: WARNING: failed to start dhcpd
>=20
>=20
>=20
> /etc/passwd:
>=20
> dhcpd:*:136:136::0:0:ISC DHCP daemon:/nonexistent:/usr/sbin/nologin
>=20
>=20
> /etc/group:
>=20
> dhcpd:*:136:
>=20
>=20
> --
>=20
> Christoph
>

Have you tried a pwd_mkdb /etc/master.passwd ?

>=20
>=20
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"

--=20
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.=
ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist risi=
ng!=20
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Lest we forget 11 Nov


------------------------------

Message: 5
Date: Tue, 15 Nov 2016 17:32:19 +0100
From: "Christoph P.U. Kukulies" <kuku@kukulies.org>
To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject: wireless woes ieee80211_new_state_locked: pending INIT ->
	SCAN transition lost
Message-ID: <1ea7734e-cb60-0892-f7b3-c228aee53471@kukulies.org>
Content-Type: text/plain; charset=3Dutf-8; format=3Dflowed

Nov 15 18:02:30 myrouter kernel: wlan0: ieee80211_new_state_locked:=20
pending INIT -> SCAN transition lost


  ifconfig wlan0
wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15=
00
         ether 80:1f:02:e6:95:e1
         inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
         nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
         status: running
         ssid fantasy_name channel 1 (2412 MHz 11g) bssid 80:1f:02:e6:95:e1
         regdomain FCC country US authmode WPA2/802.11i privacy MIXED
         deftxkey 2 AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30=20
scanvalid 60
         protmode CTS wme dtimperiod 1 -dfs
         groups: wlan


rc.conf:




dhcpd_enable=3D"YES"                          # dhcpd enabled?
dhcpd_flags=3D"-q"                            # command option(s)
dhcpd_conf=3D"/usr/local/etc/dhcpd.conf"      # configuration file
dhcpd_ifaces=3D"wlan0"                             # ethernet interface(s)
dhcpd_withumask=3D"022"                       # file creation mask


hostapd_enable=3D"YES"

wlans_urtwn0=3D"wlan0"
create_args_wlan0=3D"wlanmode hostap"
ifconfig_wlan0=3D"inet 192.168.0.1 netmask 255.255.255.0"
#ifconfig_wlan0=3D"inet 192.168.0.1 netmask 255.255.255.0 ssid fantasy=20
channel 1"  commented (!)

hostapd.conf:

interface=3Dwlan0
debug=3D1
ctrl_interface=3D/var/run/hostapd
ctrl_interface_group=3Dwheel
ssid=3Dfantasy_name
channel=3D1
wpa=3D2
wpa_passphrase=3D?$%&/?$%&/
wpa_key_mgmt=3DWPA-PSK
wpa_pairwise=3DCCMP

The point is: clients don't receive a DHCP lease.

Also I don't know how to get into mode 11n and get automatic channel=20
choosing.


--

Christoph




------------------------------

Message: 6
Date: Tue, 15 Nov 2016 12:48:37 -0500
From: Ernie Luzar <luzar722@gmail.com>
To: DTD <doug@safeport.com>
Cc: freebsd-questions@FreeBSD.org
Subject: Re: ezjail problem
Message-ID: <582B4A75.9030806@gmail.com>
Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed

DTD wrote:
> On Mon, 14 Nov 2016, Ernie Luzar wrote:
>=20
>> doug wrote:
>>> I am using ezjail-3.4.2. Changing the jail dir as defined by=20
>>> ezjail_jaildir in /usr/local/etc/ezjail.conf does not work. Install=20
>>> does not honor this change. This is easy enough to get around with a=20
>>> symlink. Am I missing something here?
>>>
>>> There is no option to construct the base jail without a buildworld=20
>>> having been done. Is there a technical reason for this?
>>>
>>> Thanks as always for any thought.
>>>
>>> DougD
>>>
>>
>> If I read your post correctly, you want to change the default=20
>> directory location for basejail. IIRC ezjail has a default config file=20
>> where you can change the default basejail location. First change this=20
>> file and then issue the install option to generate the basejail from=20
>> the RELEASE version that matches what your running on the host.
>>
>> If that is not what you are trying to do then you have to post a=20
>> better description of what your trying to do.
>=20
> Mistake was all mine. I had a dumb error in changing ezjail.conf. Thanks.
>=20
> My other question remains. Does having the jail have (potentially) a=20
> different userland than the host provide some functionality? I have=20
> always assumed the entire system needed to be updated at the same time.=20
> In any case the userland can/should not be a different release.
>=20
>=20

The ezjail basejail should contain the same RELEASE level as the host.
But will still work if sub-release is different between host and basejail.
The individual jails just contain the ports you have installed and can=20
be kept and used across sub-releases [ie; 10.0, 10.1, 10.3] but when=20
crossing a major release such as going from 9.x to 10.x or 10.x to 11.x=20
ports need to be updated in the individual jails or recreate the jail=20
and populate with desired ports.

I use qjail and find it more user friendly.





------------------------------

Message: 7
Date: Tue, 15 Nov 2016 10:03:15 -0800
From: Chris Stankevitz <chris@stankevitz.com>
To: FreeBSD Questions <freebsd-questions@freebsd.org>
Subject: Building world vs freebsd-update: merging files
Message-ID: <6d78a3d4-e1bd-a640-d395-6d809b0069f9@stankevitz.com>
Content-Type: text/plain; charset=3Dutf-8; format=3Dflowed

Hi,

When using mergemaster during buildworld/installworld, I am asked to=20
merge many files.

When using freebsd-update, I am never asked to merge any files.

Why the discrepancy?

Thank you,

Chris


------------------------------

Message: 8
Date: Tue, 15 Nov 2016 19:18:59 +0100
From: J <mailinglists@927589452.de>
To: freebsd-questions@freebsd.org
Cc: J <mailinglists@927589452.de>
Subject: [OPINION] Picture Management
Message-ID: <20161115181859.GB1500@bsd.duckdns.org>
Content-Type: text/plain; charset=3Dutf-8

Hey Guys,

i am looking for Input on a good Picture Managment tool,
which is included in the Portstree.
I am currently using DigiKam, but i am curious if there are similiar
tools, which run well on *BSD.
It should be able to Manage .5 TB of Pictures
and have a Database Backend (i really don't care which, as i have
running mysql and postgres jails)
it would be nice if there was a good network mount support,
and i kind of like the face recognition digikam has.

my current problem with digikam, is it's GUI does not seem to run very
stable.

Greets
J


------------------------------

Message: 9
Date: Tue, 15 Nov 2016 13:43:27 -0500 (EST)
From: DTD <doug@safeport.com>
To: Ernie Luzar <luzar722@gmail.com>
Cc: freebsd-questions@FreeBSD.org
Subject: Re: ezjail problem
Message-ID:
	<alpine.BSF.2.00.1611151342460.23545@bucksport.safeport.com>
Content-Type: TEXT/PLAIN; charset=3DUS-ASCII; format=3Dflowed

On Tue, 15 Nov 2016, Ernie Luzar wrote:

> DTD wrote:
>> On Mon, 14 Nov 2016, Ernie Luzar wrote:
>>=20
>>> doug wrote:
>>>> I am using ezjail-3.4.2. Changing the jail dir as defined by=20
>>>> ezjail_jaildir in /usr/local/etc/ezjail.conf does not work. Install do=
es=20
>>>> not honor this change. This is easy enough to get around with a symlin=
k.=20
>>>> Am I missing something here?
>>>>=20
>>>> There is no option to construct the base jail without a buildworld hav=
ing=20
>>>> been done. Is there a technical reason for this?
>>>>=20
>>>> Thanks as always for any thought.
>>>>=20
>>>> DougD
>>>>=20
>>>=20
>>> If I read your post correctly, you want to change the default directory=
=20
>>> location for basejail. IIRC ezjail has a default config file where you =
can=20
>>> change the default basejail location. First change this file and then=20
>>> issue the install option to generate the basejail from the RELEASE vers=
ion=20
>>> that matches what your running on the host.
>>>=20
>>> If that is not what you are trying to do then you have to post a better=
=20
>>> description of what your trying to do.
>>=20
>> Mistake was all mine. I had a dumb error in changing ezjail.conf. Thanks=
.
>>=20
>> My other question remains. Does having the jail have (potentially) a=20
>> different userland than the host provide some functionality? I have alwa=
ys=20
>> assumed the entire system needed to be updated at the same time. In any=
=20
>> case the userland can/should not be a different release.
>>=20
>>=20
>
> The ezjail basejail should contain the same RELEASE level as the host.
> But will still work if sub-release is different between host and basejail=
.
> The individual jails just contain the ports you have installed and can be=
=20
> kept and used across sub-releases [ie; 10.0, 10.1, 10.3] but when crossin=
g a=20
> major release such as going from 9.x to 10.x or 10.x to 11.x ports need t=
o be=20
> updated in the individual jails or recreate the jail and populate with=20
> desired ports.
>
> I use qjail and find it more user friendly.

Thank you, I appreciate your thoughts and experience

Doug

_____
Douglas Denault
http://www.safeport.com
doug@safeport.com
Voice: 301-217-9220
   Fax: 301-217-9277


------------------------------

Message: 10
Date: Tue, 15 Nov 2016 11:51:39 -0700
From: Gary Aitken <freebsd@dreamchaser.org>
To: FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject: Re: gdb / dwarf issue
Message-ID: <afa0f816-6767-6f2e-4ad4-7bce2b2e5338@dreamchaser.org>
Content-Type: text/plain; charset=3Dwindows-1252

On 11/14/16 22:55, Gary Aitken wrote:
> I'm having trouble getting gdb to agree to look at symbols:
>=20
> $ cd /usr/ports/graphics/rawtherapee
> $ make showconfig
> =3D=3D=3D> The following configuration options are available for rawthera=
pee-4.2_3:
>      OPENMP=3Don: Enable multicore processing using OpenMP
>      OPTIMIZED_CFLAGS=3Doff: Use extra compiler optimizations (requires S=
SE support)
>=20
> $ file /usr/local/bin/rawtherapee
> /usr/local/bin/rawtherapee: ELF 64-bit LSB executable, x86-64, version 1 =
(FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBS=
D 10.3, not stripped
>=20
> $ gdb /usr/local/bin/rawtherapee
> GNU gdb 6.1.1 [FreeBSD]
> <snip>
> This GDB was configured as "amd64-marcel-freebsd"...Dwarf Error: wrong ve=
rsion in compilation unit header (is 4, should be 2) [in module /usr/local/=
bin/rawtherapee]
> (gdb) break main
> No symbol table is loaded.  Use the "file" command.
>=20
> My search found implications that a single dependent library with=20
> optimization turned on could cause this to happen; is that what I'm
> seeing here, or something else?
>=20
> If so, is there an easy way to find out which libraries have compiler=20
> optimization turned on that causes this?
>=20
> Or do I need to be running something else like the gdb66 port?
>=20
> Or?...

now I'm really puzzled:

$ nm /usr/local/bin/rawtherapee | grep main
0000000000c2b45c T KLTCountRemainingFeatures
00000000007fecab t _GLOBAL__sub_I_main.cc
00000000011f76e0 b _ZGVZ4mainE8settings
000000000055516c T _ZN10EditWindow21on_mainNB_switch_pageEP16_GtkNotebookPa=
gej
00000000005da0b8 T _ZN8RTWindow21on_mainNB_switch_pageEP16_GtkNotebookPagej
00000000011f76e8 b _ZZ4mainE8settings
                 U gtk_main_quit
00000000007f8905 T main
00000000011f75e0 B mainThread

$ gdb /usr/local/bin/rawtherapee
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
<snip>
This GDB was configured as "amd64-marcel-freebsd"...Dwarf Error: wrong vers=
ion in compilation unit header (is 4, should be 2) [in module /usr/local/bi=
n/rawtherapee]

How do I get the right header, or what is the correct gdb to use?

Thanks for any pointers,
Gary


------------------------------

Message: 11
Date: Tue, 15 Nov 2016 20:41:32 +0100
From: "Dr. Nikolaus Klepp" <dr.klepp@gmx.at>
To: FreeBSD Questions <freebsd-questions@freebsd.org>
Subject: Re: zfs: how to find out when a disk failed
Message-ID: <201611152041.32559.dr.klepp@gmx.at>
Content-Type: Text/Plain;  charset=3D"utf-8"

Am Dienstag, 15. November 2016 schrieb Robison, Dave:
> On 11/15/2016 06:37, Dr. Nikolaus Klepp wrote:
> > Hi all!
> >
> > I have a server with a zfs raid-z1 (3 disks). One disk failed/was remov=
ed some time ago and was not replaced till now.
> >
> > Is there a way to find out when the  disk failed/was removed?
> >
> > Nik
> >
> >
>=20
> /var/log/messages perhaps?
>=20
> or dmesg?


Sorry, my description was incomplete: the server was rebooted ~ 32 days ago=
.
/var/run/dmesg.boot says, the missing disk was already missing at that time=
.=20
/var/log/messages to /var/log/messages.4.bz2 .4.bz2 are present, but the fi=
rst entry is from ~ 12 days ago.=20
There are no logfiles in the archive that are older than 30 days.=20

"zpool history -il" gives nor hint that the pool it's degraded.

Nik

--=20
Please do not email me anything that you are not comfortable also sharing w=
ith the NSA.


------------------------------

Message: 12
Date: Tue, 15 Nov 2016 16:46:50 -0500
From: Baho Utot <baho-utot@columbus.rr.com>
To: freebsd-questions@freebsd.org
Subject: Re: Installing to RAIDZ1
Message-ID: <134e2f09-993e-eed1-2088-c3ecfb617e9a@columbus.rr.com>
Content-Type: text/plain; charset=3Dwindows-1252; format=3Dflowed



On 11/12/16 11:52, Baho Utot wrote:
> I want to reinstall my desktop system using a raidz-1 filesystem using=20
> the current installation image for usb drive. Reading the handbook I=20
> find that bsdinstall will not do the installation I want.  I am using=20
> 4 1TB drives and I want to partition to 800GB and install the raidz=20
> there.  Can I create a raidz storage pool manually and then use=20
> bsdinstall or will I have to manually install freebsd not using=20
> bsdinstall?
>
> How do I do this?
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to=20
> "freebsd-questions-unsubscribe@freebsd.org"

Ok I got beyond the first part by patching=20
/usr/libexec/bsdintall/zfsboot to create 800GB partitions.

Now I have some questions as the zfs raidz-1 on root will not boot from=20
boot0cfg which I installed upon my original setup booting win7 and=20
freebsd 10.0.

Will Grub2 boot FreeBSD11 installed on zfs raidz-1?
If so can someone give me the scoop on how to do that as I just can not=20
afford to mess that up.
It will need to boot Win7, freebsd-10.0 and freebsd-11.0 on zfs raidz-1

I can I move the raidz install to different SATA controllers?  or will I=20
need to get down and dirty and fixup the drives in the raidz ?

As Always Thanks




------------------------------

Message: 13
Date: Tue, 15 Nov 2016 16:15:58 -0600
From: CyberLeo Kitsana <cyberleo@cyberleo.net>
To: Chris Stankevitz <chris@stankevitz.com>, FreeBSD Questions
	<freebsd-questions@freebsd.org>
Subject: Re: Building world vs freebsd-update: merging files
Message-ID: <6b6b7079-9cb1-da69-3099-2e418123f8ea@cyberleo.net>
Content-Type: text/plain; charset=3Dwindows-1252

On 11/15/2016 12:03 PM, Chris Stankevitz wrote:
> Hi,
>=20
> When using mergemaster during buildworld/installworld, I am asked to
> merge many files.
>=20
> When using freebsd-update, I am never asked to merge any files.
>=20
> Why the discrepancy?

What flags do you pass to mergemaster while installing world?

I usually use mergemaster -iFU - the caveat being that this requires an
mtree database to be maintained for it to detect changes to files, and
this database is only built and maintained when you use the -U flag.

Presumably, freebsd-update does similar automatically, and that's why it
never asks. Or maybe it just overwrites your local changes? I've only
ever used installworld, and freebsd-update(8) doesn't mention anything
about locally modified files.

--=20
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo@CyberLeo.Net>

Furry Peace! - http://www.fur.com/peace/


------------------------------

Message: 14
Date: Tue, 15 Nov 2016 16:01:41 -0800
From: Chris Stankevitz <chris@stankevitz.com>
To: CyberLeo Kitsana <cyberleo@cyberleo.net>, FreeBSD Questions
	<freebsd-questions@freebsd.org>
Subject: Re: Building world vs freebsd-update: merging files
Message-ID: <4562874c-79b1-72fb-fb6b-1b1fb79e9a5c@stankevitz.com>
Content-Type: text/plain; charset=3Dwindows-1252; format=3Dflowed

On 11/15/16 2:15 PM, CyberLeo Kitsana wrote:
> On 11/15/2016 12:03 PM, Chris Stankevitz wrote:
>>
>> When using mergemaster during buildworld/installworld, I am asked to
>> merge many files.
>>
>> When using freebsd-update, I am never asked to merge any files.
>>
>> Why the discrepancy?
>
> What flags do you pass to mergemaster while installing world?
>
> I usually use mergemaster -iFU - the caveat being that this requires an
> mtree database to be maintained for it to detect changes to files, and
> this database is only built and maintained when you use the -U flag.
>
> Presumably, freebsd-update does similar automatically, and that's why it
> never asks. Or maybe it just overwrites your local changes? I've only
> ever used installworld, and freebsd-update(8) doesn't mention anything
> about locally modified files.

Hi Leo,

I follow the handbook [1] when building/installing world:

   after installkerernel/reboot: mergemaster -p

   after installworld: mergemaster -iF

This process asks about updating configuration files (including=20
/etc/passwd which attempts to reset the root password).

As I mentioned in my original message (and as I'm sure you no doubt=20
experience) freebsd-update does not pester about files.

I need to look into the "mtree" method -- which I've never heard of before.

Thank you,

Chris

[1] https://www.freebsd.org/doc/handbook/makeworld.html


------------------------------

Message: 15
Date: Tue, 15 Nov 2016 18:27:23 -0600
From: Adam Vande More <amvandemore@gmail.com>
To: "Dr. Nikolaus Klepp" <dr.klepp@gmx.at>
Cc: FreeBSD Questions <freebsd-questions@freebsd.org>
Subject: Re: zfs: how to find out when a disk failed
Message-ID:
	<CA+tpaK0pE3bsobFjzqZbzWHpJggcDy3+e64nZbZAWnTGAsvTKw@mail.gmail.com>
Content-Type: text/plain; charset=3DUTF-8

On Nov 15, 2016 1:52 PM, "Dr. Nikolaus Klepp" <dr.klepp@gmx.at> wrote:
>
> Am Dienstag, 15. November 2016 schrieb Robison, Dave:
> > On 11/15/2016 06:37, Dr. Nikolaus Klepp wrote:
> > > Hi all!
> > >
> > > I have a server with a zfs raid-z1 (3 disks). One disk failed/was
removed some time ago and was not replaced till now.
> > >
> > > Is there a way to find out when the  disk failed/was removed?
> > >
> > > Nik
> > >
> > >
> >
> > /var/log/messages perhaps?
> >
> > or dmesg?
>
>
> Sorry, my description was incomplete: the server was rebooted ~ 32 days
ago.
> /var/run/dmesg.boot says, the missing disk was already missing at that
time.
> /var/log/messages to /var/log/messages.4.bz2 .4.bz2 are present, but the
first entry is from ~ 12 days ago.
> There are no logfiles in the archive that are older than 30 days.
>
> "zpool history -il" gives nor hint that the pool it's degraded.
>
> Nik
>
> --
> Please do not email me anything that you are not comfortable also sharing
with the NSA.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
freebsd-questions-unsubscribe@freebsd.org"

Sometimes the disk controller will have a log.


------------------------------

Message: 16
Date: Wed, 16 Nov 2016 10:27:40 +0800
From: Turritopsis Dohrnii Teo <turritopsis.dohrnii.teo@gmail.com>
To: freebsd-questions@freebsd.org
Cc: Turritopsis Dohrnii Teo <turritopsis.dohrnii.teo@gmail.com>
Subject: Mr. Turritopsis Dohrnii Teo En Ming (Zhang Enming) is Looking
	for Information Technology-related Job Opportunities World Wide
Message-ID:
	<CAOQu2_5uf26Kuq+Y2kPs+oRQLoCzvT0WVZG5xqp1kyiZwg7OeA@mail.gmail.com>
Content-Type: text/plain; charset=3DUTF-8

Dear Sir/Madam,

My academic and educational qualifications are now reflected in my
email signature.

I am an entry level/junior/beginner Information Technology (IT)
Specialist/Systems Engineer/Linux Server Administrator/Helpdesk
Support/Computer Technician available for hire anywhere in the
world!!! Prospective employers, businesses and companies in any part
of the world please feel free to contact me for my curriculum
vitae/resume.

Thank you very much!

Yours sincerely,

Mr. Turritopsis Dohrnii Teo En Ming (Zhang Enming) @ Time Traveller
Former old abandoned name: Mr. Teo En Ming (Zhang Enming)
SINGAPORE CITIZEN
Bachelor of Engineering (2nd Class Lower Honours) in Mechanical
Engineering with Aeronautics and Astronautics Option (Graduated from
National University of Singapore in December 2006)
Diploma in Mechatronics Engineering with Merit (Graduated from
Singapore Polytechnic in 1998)
Currently learning CISCO Switches and Routers, Computer Networking,
Network Operating Systems, Microsoft Windows Server 2012 R2, Active
Directory, DNS Server and DHCP Server as a *hobby* at Singapore
Polytechnic (information accurate as at 16 November 2016)
Mobile Phone #1: +65-8692-1024 (M1 Mobile Postpaid)
Mobile Phone #2: +65-8712-7323 (Singtel Mobile Prepaid)
Email Address #1: teo.en.ming@gmail.com
Email Address #2: turritopsis.dohrnii.teo@gmail.com
Age: 38 years old
16th November 2016 Wednesday 12:30 AM Singapore Time

*I am an entry level/junior/beginner Information Technology (IT)
Specialist/Systems Engineer/Linux Server Administrator/Helpdesk
Support/Computer Technician available for hire anywhere in the
world!!! Prospective employers, businesses and companies in any part
of the world please feel free to contact me for my curriculum
vitae/resume. Thank you very much.*


------------------------------

Message: 17
Date: Tue, 15 Nov 2016 20:48:54 -0700
From: Gary Aitken <ah@dreamchaser.org>
To: FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject: Re: gdb / dwarf issue (SOLVED)
Message-ID: <ed37fdc2-b572-d5b8-346d-1ace05dc7061@dreamchaser.org>
Content-Type: text/plain; charset=3Dwindows-1252

On 11/15/16 11:51, Gary Aitken wrote:
> On 11/14/16 22:55, Gary Aitken wrote:
>> I'm having trouble getting gdb to agree to look at symbols:
<snip>
>> $ gdb /usr/local/bin/rawtherapee GNU gdb 6.1.1 [FreeBSD] <snip>=20
>> This GDB was configured as "amd64-marcel-freebsd"...Dwarf Error:
>> wrong version in compilation unit header (is 4, should be 2) [in
>> module /usr/local/bin/rawtherapee] (gdb) break main No symbol table
>> is loaded.  Use the "file" command.

The solution is to compile the devel/gdb port, which installs gdb 7.11.1.
It appears to be able to deal with the different Dwarf versions.
It is installed as /usr/local/bin/gdb, so one has to be careful of the
path when starting it, since /usr/bin/gdb (6.1.1) still exists.

Gary


------------------------------

Message: 18
Date: Wed, 16 Nov 2016 10:00:24 +0300
From: Boris Samorodov <bsam@passap.ru>
To: freebsd-questions@freebsd.org
Subject: FreeBSD-HEAD + diligent: Program received signal SIGBUS, Bus
	error
Message-ID: <cec13e06-64ff-4db6-056e-31f932609bf6@passap.ru>
Content-Type: text/plain; charset=3Dutf-8

Hi All,

I must have done something stupid with my development system. But
cannot detect what.

---
% gdb diligent
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you ar=
e
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging
symbols found)...
(gdb) run
Starting program: /usr/local/bin/diligent
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...[New LWP 101526]
warning: Lowest section in /usr/local/lib/libicudata.so.57 is .hash at
0000000000000120
[New Thread 80fa16000 (LWP 101526/diligent)]
Cache path "/home/bsam/.cache/diligent/Diligent"
[New Thread 85b840000 (LWP 100315/diligent)]
[New Thread 859633500 (LWP 100314/diligent)]

Program received signal SIGBUS, Bus error.
[Switching to Thread 859633500 (LWP 100314/diligent)]
OBJ_obj2nid (a=3D0x72656954506b45) at
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/objects/obj_da=
t.c:417
417         if (a->nid !=3D 0)
(gdb)
---

The system:
---
% uname -a
FreeBSD apok.bsnet 12.0-CURRENT FreeBSD 12.0-CURRENT #7 r308718: Wed Nov
16 09:24:53 MSK 2016     bsam@apok.bsnet:/usr/obj/usr/src/sys/APOK64X  amd6=
4
---
All packages are up to date.

Any help is appreciated. Thank you.
--=20
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


------------------------------

Message: 19
Date: Wed, 16 Nov 2016 08:36:23 +0000
From: Danielle James <danielle.james@whoishostingthismail.com>
To: freebsd-questions@FreeBSD.org
Subject: Re: Letting you know about a broken link
Message-ID: <4610835.or_mail@whoishostingthismail.com>
Content-Type: text/plain; charset=3DUTF-8

Hi,=20

I appreciate you're busy so I just wanted to follow up on the email I sent =
you the other day, copy included below for reference.

		On Thu, Nov 10, 2016 at 8:39 AM, Danielle James <danielle.james@whoishost=
ingthismail.com> wrote:
	=09
			Hi,

I just wanted to let you know about a link that seems to be broken on this =
page http://www.freebsd.org/projects/cvsweb.html.

Here's the link http://www.mandriva.com/ "Mandriva Linux", but the page doe=
sn?t seem to be active any more.

We've put together a guide to Mandriva; you can see it here http://wiht.lin=
k/mandrivalinux.  I thought it may make a good replacement.

Kind Regards,
Danielle



------------------------------

Message: 20
Date: Wed, 16 Nov 2016 11:23:16 +0100
From: "Christoph P.U. Kukulies" <kuku@kukulies.org>
To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject: make buildkernel in 11.0
Message-ID: <076a131a-1e32-3e7b-e1fe-2da085f0ae70@kukulies.org>
Content-Type: text/plain; charset=3Dutf-8; format=3Dflowed

I downloaded 11.0-RELEASE /usr/src completely, did a

cd /usr/src/sys/amd64/conf,

copied GENERIC und GENERIC.hints to BRIDGE and BRIDGE.hints

edited BRIDGE to contain a line "options BRIDGE"

cd /usr/src and get:

root@myrouter:/usr/src # make buildkernel KERNCONF=3DBRIDGE
ERROR: Missing kernel configuration file(s) (BRIDGE).
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src


Can anyone bring me up to snuff with kernel building in 11.0-RELEASE?


--

Christoph




------------------------------

Message: 21
Date: Wed, 16 Nov 2016 11:36:01 +0100
From: "Christoph P.U. Kukulies" <kuku@kukulies.org>
To: freebsd-questions@freebsd.org
Subject: Re: make buildkernel in 11.0
Message-ID: <97b885dc-f910-6a34-73f4-41cda163ff26@kukulies.org>
Content-Type: text/plain; charset=3Dwindows-1252; format=3Dflowed

OK, I got a bit further:

make -j 8 buildkernel KERNCONF=3DBRIDGE TARGET=3Damd64

It starts the build but then it dislikes option BRIDGE

/usr/src/sys/amd64/conf/BRIDGE: unknown option "BRIDGE"
*** [buildkernel] Error code 1



Am 16.11.2016 um 11:23 schrieb Christoph P.U. Kukulies:
> I downloaded 11.0-RELEASE /usr/src completely, did a
>
> cd /usr/src/sys/amd64/conf,
>
> copied GENERIC und GENERIC.hints to BRIDGE and BRIDGE.hints
>
> edited BRIDGE to contain a line "options BRIDGE"
>
> cd /usr/src and get:
>
> root@myrouter:/usr/src # make buildkernel KERNCONF=3DBRIDGE
> ERROR: Missing kernel configuration file(s) (BRIDGE).
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/src
> *** Error code 1
>
> Stop.
> make: stopped in /usr/src
>
>
> Can anyone bring me up to snuff with kernel building in 11.0-RELEASE?
>
>
> --=20
>
> Christoph



------------------------------

Subject: Digest Footer

_______________________________________________
freebsd-questions@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org=
"

------------------------------

End of freebsd-questions Digest, Vol 650, Issue 3
*************************************************



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?MWHPR02MB2479A5B50FCA60F387EDC6489ABE0>