Building world vs freebsd-update: merging files
Jonathan Moore
jdm7dv at outlook.com
Wed Nov 16 14:10:03 UTC 2016
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 at freebsd.org [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of freebsd-questions-request at freebsd.org
Sent: Wednesday, November 16, 2016 7:00 AM
To: freebsd-questions at freebsd.org
Subject: freebsd-questions Digest, Vol 650, Issue 3
Send freebsd-questions mailing list submissions to
freebsd-questions at 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 at freebsd.org
You can reach the person managing the list at
freebsd-questions-owner at freebsd.org
When replying, please edit your Subject line so it is more specific than "Re: 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 at comcast.net>
To: freebsd-questions at freebsd.org
Subject: Re: Hello - i5 processors and,Nvidia GPUs
Message-ID: <20161115093512.60e3597c at KoggyBSD.org>
Content-Type: text/plain; charset=US-ASCII
> > PS > May I make a suggestion? why does not the FreeBSD project sell
> > computers that are fully compatible with FreeBSD. The proceeds would
> > go straight to the project to fund + r&d. Just an idea. I would
> > certainly buy a computer from you guys. The confusion surrounding
> > compatibilities etc is mind boggling. It does not have to be this
> > way. It could be so much simpler, I think. Well, i am not an expert
> > 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 machines with BSD on them.
Just check out the iX Systems page, and look through the products they offer. 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 them.
I go to the FreeBSD Mall when I'm ordering stuff I want for BSD related things, 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 already suspected they were very close, being that FreeBSD CD and or DVD sets look almost exactly like Slackware ones do (I've been buying from this company 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 about, I'd paid extra to get my things overnighted to me so I could get my stuff quicker, and the next day, I had a very large box on my Porch, and inside were BOTH my FreeBSD Mall Purchases, and my Slackware Store Purchases, all 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, which 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 Recommend 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 about 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 from 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 the FreeBSD Mall, because they had run out of one of the things I ordered, and not only did they call to apologize for running out, but they asked me what I wanted to make things right.
To say that I was amazed doesn't even come close; Most online Companies wouldn't have even bothered to try, and when I told the girl that called me that she could just put whatever she wanted in there, I didn't expect the amount 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 for it.
I felt bad for getting so much stuff over that because I'm pretty sure it was simply an issue of BSD Magazine that they had sold out of, and BSD Magazine 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, which 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 of 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 ever had to choose something else because they had run out of stock, and I spend a decent amount of Money on both stores, so I've got plenty of experience 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 Servers they sell, are VERY reasonably priced machines, and I personally have been trying to get one myself.
There's very good Ads in BSD Magazine for their Company, and the only reason 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 for 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 serve you well, but you can rest assured that EVERY piece of Hardware in that machine, 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 System 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 things to say about iX Systems.
-Allen
> Ah, FreeBSD is essentially a server. It works nicely as a desktop, but
> this needs some time and user skills. For making available a new and
> retailed computer that works out-of-the-box, I have set up a website
> last month. You can have a look at my website. If you like my website,
> I shall be delighted to honour you as my first customer. I offer free
> 24x7 support.
------------------------------
Message: 2
Date: Tue, 15 Nov 2016 14:49:07 +0100 (CET)
From: Trond Endrest?l <Trond.Endrestol at fagskolen.gjovik.no>
To: "Christoph P.U. Kukulies" <kuku at kukulies.org>
Cc: "freebsd-questions at freebsd.org" <freebsd-questions at freebsd.org>
Subject: Re: problem starting dhcpd
Message-ID: <alpine.BSF.2.20.1611151441490.1016 at mail.fig.ol.no>
Content-Type: text/plain; charset=ISO-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
> /var/db/dhcpd/dhcpd.leases Starting dhcpd.
> ./isc-dhcpd: WARNING: failed to start dhcpd
>
>
>
> /etc/passwd:
>
> 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/pwd.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 said space, save the file using esc, enter, enter in rapid succession.
> /etc/group:
>
> 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
--
+-------------------------------+------------------------------------+
| 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 at gmx.at>
To: freebsd-questions at freebsd.org
Subject: zfs: how to find out when a disk failed
Message-ID: <201611151537.37907.dr.klepp at gmx.at>
Content-Type: text/plain; charset="iso-8859-15"
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
--
Please do not email me anything that you are not comfortable also sharing with the NSA.
------------------------------
Message: 4
Date: Tue, 15 Nov 2016 07:55:30 -0700
From: The Doctor <doctor at doctor.nl2k.ab.ca>
To: "Christoph P.U. Kukulies" <kuku at kukulies.org>
Cc: "freebsd-questions at freebsd.org" <freebsd-questions at freebsd.org>
Subject: Re: problem starting dhcpd
Message-ID: <20161115145530.GA3776 at doctor.nl2k.ab.ca>
Content-Type: text/plain; charset=us-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
> /var/db/dhcpd/dhcpd.leases
> Starting dhcpd.
> ./isc-dhcpd: WARNING: failed to start dhcpd
>
>
>
> /etc/passwd:
>
> dhcpd:*:136:136::0:0:ISC DHCP daemon:/nonexistent:/usr/sbin/nologin
>
>
> /etc/group:
>
> dhcpd:*:136:
>
>
> --
>
> Christoph
>
Have you tried a pwd_mkdb /etc/master.passwd ?
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
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 at kukulies.org>
To: "freebsd-questions at freebsd.org" <freebsd-questions at freebsd.org>
Subject: wireless woes ieee80211_new_state_locked: pending INIT ->
SCAN transition lost
Message-ID: <1ea7734e-cb60-0892-f7b3-c228aee53471 at kukulies.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Nov 15 18:02:30 myrouter kernel: wlan0: ieee80211_new_state_locked:
pending INIT -> SCAN transition lost
ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 80:1f:02:e6:95:e1
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
nd6 options=29<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
scanvalid 60
protmode CTS wme dtimperiod 1 -dfs
groups: wlan
rc.conf:
dhcpd_enable="YES" # dhcpd enabled?
dhcpd_flags="-q" # command option(s)
dhcpd_conf="/usr/local/etc/dhcpd.conf" # configuration file
dhcpd_ifaces="wlan0" # ethernet interface(s)
dhcpd_withumask="022" # file creation mask
hostapd_enable="YES"
wlans_urtwn0="wlan0"
create_args_wlan0="wlanmode hostap"
ifconfig_wlan0="inet 192.168.0.1 netmask 255.255.255.0"
#ifconfig_wlan0="inet 192.168.0.1 netmask 255.255.255.0 ssid fantasy
channel 1" commented (!)
hostapd.conf:
interface=wlan0
debug=1
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=fantasy_name
channel=1
wpa=2
wpa_passphrase=?$%&/?$%&/
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
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
choosing.
--
Christoph
------------------------------
Message: 6
Date: Tue, 15 Nov 2016 12:48:37 -0500
From: Ernie Luzar <luzar722 at gmail.com>
To: DTD <doug at safeport.com>
Cc: freebsd-questions at FreeBSD.org
Subject: Re: ezjail problem
Message-ID: <582B4A75.9030806 at gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
DTD wrote:
> On Mon, 14 Nov 2016, Ernie Luzar wrote:
>
>> doug wrote:
>>> I am using ezjail-3.4.2. Changing the jail dir as defined by
>>> ezjail_jaildir in /usr/local/etc/ezjail.conf does not work. Install
>>> does not honor this change. This is easy enough to get around with a
>>> symlink. Am I missing something here?
>>>
>>> There is no option to construct the base jail without a buildworld
>>> 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
>> directory location for basejail. IIRC ezjail has a default config file
>> where you can change the default basejail location. First change this
>> file and then issue the install option to generate the basejail from
>> 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
>> better description of what your trying to do.
>
> Mistake was all mine. I had a dumb error in changing ezjail.conf. Thanks.
>
> My other question remains. Does having the jail have (potentially) a
> different userland than the host provide some functionality? I have
> always assumed the entire system needed to be updated at the same time.
> In any case the userland can/should not be a different release.
>
>
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 kept and used across sub-releases [ie; 10.0, 10.1, 10.3] but when
crossing a major release such as going from 9.x to 10.x or 10.x to 11.x
ports need to be updated in the individual jails or recreate the jail
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 at stankevitz.com>
To: FreeBSD Questions <freebsd-questions at freebsd.org>
Subject: Building world vs freebsd-update: merging files
Message-ID: <6d78a3d4-e1bd-a640-d395-6d809b0069f9 at stankevitz.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Hi,
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?
Thank you,
Chris
------------------------------
Message: 8
Date: Tue, 15 Nov 2016 19:18:59 +0100
From: J <mailinglists at 927589452.de>
To: freebsd-questions at freebsd.org
Cc: J <mailinglists at 927589452.de>
Subject: [OPINION] Picture Management
Message-ID: <20161115181859.GB1500 at bsd.duckdns.org>
Content-Type: text/plain; charset=utf-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 at safeport.com>
To: Ernie Luzar <luzar722 at gmail.com>
Cc: freebsd-questions at FreeBSD.org
Subject: Re: ezjail problem
Message-ID:
<alpine.BSF.2.00.1611151342460.23545 at bucksport.safeport.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Tue, 15 Nov 2016, Ernie Luzar wrote:
> DTD wrote:
>> On Mon, 14 Nov 2016, Ernie Luzar wrote:
>>
>>> doug wrote:
>>>> I am using ezjail-3.4.2. Changing the jail dir as defined by
>>>> ezjail_jaildir in /usr/local/etc/ezjail.conf does not work. Install does
>>>> not honor this change. This is easy enough to get around with a symlink.
>>>> Am I missing something here?
>>>>
>>>> There is no option to construct the base jail without a buildworld 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 directory
>>> location for basejail. IIRC ezjail has a default config file where you can
>>> change the default basejail location. First change this file and then
>>> issue the install option to generate the basejail from 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 better
>>> description of what your trying to do.
>>
>> Mistake was all mine. I had a dumb error in changing ezjail.conf. Thanks.
>>
>> My other question remains. Does having the jail have (potentially) a
>> different userland than the host provide some functionality? I have always
>> assumed the entire system needed to be updated at the same time. In any
>> case the userland can/should not be a different release.
>>
>>
>
> 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
> kept and used across sub-releases [ie; 10.0, 10.1, 10.3] but when crossing a
> major release such as going from 9.x to 10.x or 10.x to 11.x ports need to be
> updated in the individual jails or recreate the jail and populate with
> 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 at 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 at dreamchaser.org>
To: FreeBSD Mailing List <freebsd-questions at freebsd.org>
Subject: Re: gdb / dwarf issue
Message-ID: <afa0f816-6767-6f2e-4ad4-7bce2b2e5338 at dreamchaser.org>
Content-Type: text/plain; charset=windows-1252
On 11/14/16 22:55, Gary Aitken wrote:
> I'm having trouble getting gdb to agree to look at symbols:
>
> $ cd /usr/ports/graphics/rawtherapee
> $ make showconfig
> ===> The following configuration options are available for rawtherapee-4.2_3:
> OPENMP=on: Enable multicore processing using OpenMP
> OPTIMIZED_CFLAGS=off: Use extra compiler optimizations (requires SSE support)
>
> $ 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 FreeBSD 10.3, not stripped
>
> $ gdb /usr/local/bin/rawtherapee
> GNU gdb 6.1.1 [FreeBSD]
> <snip>
> 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.
>
> My search found implications that a single dependent library with
> optimization turned on could cause this to happen; is that what I'm
> seeing here, or something else?
>
> If so, is there an easy way to find out which libraries have compiler
> optimization turned on that causes this?
>
> Or do I need to be running something else like the gdb66 port?
>
> 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_GtkNotebookPagej
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 version in compilation unit header (is 4, should be 2) [in module /usr/local/bin/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 at gmx.at>
To: FreeBSD Questions <freebsd-questions at freebsd.org>
Subject: Re: zfs: how to find out when a disk failed
Message-ID: <201611152041.32559.dr.klepp at gmx.at>
Content-Type: Text/Plain; charset="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 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.
------------------------------
Message: 12
Date: Tue, 15 Nov 2016 16:46:50 -0500
From: Baho Utot <baho-utot at columbus.rr.com>
To: freebsd-questions at freebsd.org
Subject: Re: Installing to RAIDZ1
Message-ID: <134e2f09-993e-eed1-2088-c3ecfb617e9a at columbus.rr.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
On 11/12/16 11:52, Baho Utot wrote:
> I want to reinstall my desktop system using a raidz-1 filesystem using
> the current installation image for usb drive. Reading the handbook I
> find that bsdinstall will not do the installation I want. I am using
> 4 1TB drives and I want to partition to 800GB and install the raidz
> there. Can I create a raidz storage pool manually and then use
> bsdinstall or will I have to manually install freebsd not using
> bsdinstall?
>
> How do I do this?
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
Ok I got beyond the first part by patching
/usr/libexec/bsdintall/zfsboot to create 800GB partitions.
Now I have some questions as the zfs raidz-1 on root will not boot from
boot0cfg which I installed upon my original setup booting win7 and
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
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
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 at cyberleo.net>
To: Chris Stankevitz <chris at stankevitz.com>, FreeBSD Questions
<freebsd-questions at freebsd.org>
Subject: Re: Building world vs freebsd-update: merging files
Message-ID: <6b6b7079-9cb1-da69-3099-2e418123f8ea at cyberleo.net>
Content-Type: text/plain; charset=windows-1252
On 11/15/2016 12:03 PM, Chris Stankevitz wrote:
> Hi,
>
> 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.
--
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo at CyberLeo.Net>
Furry Peace! - http://www.fur.com/peace/
------------------------------
Message: 14
Date: Tue, 15 Nov 2016 16:01:41 -0800
From: Chris Stankevitz <chris at stankevitz.com>
To: CyberLeo Kitsana <cyberleo at cyberleo.net>, FreeBSD Questions
<freebsd-questions at freebsd.org>
Subject: Re: Building world vs freebsd-update: merging files
Message-ID: <4562874c-79b1-72fb-fb6b-1b1fb79e9a5c at stankevitz.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
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
/etc/passwd which attempts to reset the root password).
As I mentioned in my original message (and as I'm sure you no doubt
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 at gmail.com>
To: "Dr. Nikolaus Klepp" <dr.klepp at gmx.at>
Cc: FreeBSD Questions <freebsd-questions at freebsd.org>
Subject: Re: zfs: how to find out when a disk failed
Message-ID:
<CA+tpaK0pE3bsobFjzqZbzWHpJggcDy3+e64nZbZAWnTGAsvTKw at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
On Nov 15, 2016 1:52 PM, "Dr. Nikolaus Klepp" <dr.klepp at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
freebsd-questions-unsubscribe at 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 at gmail.com>
To: freebsd-questions at freebsd.org
Cc: Turritopsis Dohrnii Teo <turritopsis.dohrnii.teo at 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 at mail.gmail.com>
Content-Type: text/plain; charset=UTF-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 at gmail.com
Email Address #2: turritopsis.dohrnii.teo at 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 at dreamchaser.org>
To: FreeBSD Mailing List <freebsd-questions at freebsd.org>
Subject: Re: gdb / dwarf issue (SOLVED)
Message-ID: <ed37fdc2-b572-d5b8-346d-1ace05dc7061 at dreamchaser.org>
Content-Type: text/plain; charset=windows-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>
>> 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 at passap.ru>
To: freebsd-questions at freebsd.org
Subject: FreeBSD-HEAD + diligent: Program received signal SIGBUS, Bus
error
Message-ID: <cec13e06-64ff-4db6-056e-31f932609bf6 at passap.ru>
Content-Type: text/plain; charset=utf-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 are
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=0x72656954506b45) at
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/objects/obj_dat.c:417
417 if (a->nid != 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 at apok.bsnet:/usr/obj/usr/src/sys/APOK64X amd64
---
All packages are up to date.
Any help is appreciated. Thank you.
--
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 at whoishostingthismail.com>
To: freebsd-questions at FreeBSD.org
Subject: Re: Letting you know about a broken link
Message-ID: <4610835.or_mail at whoishostingthismail.com>
Content-Type: text/plain; charset=UTF-8
Hi,
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 at whoishostingthismail.com> wrote:
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 doesn?t seem to be active any more.
We've put together a guide to Mandriva; you can see it here http://wiht.link/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 at kukulies.org>
To: "freebsd-questions at freebsd.org" <freebsd-questions at freebsd.org>
Subject: make buildkernel in 11.0
Message-ID: <076a131a-1e32-3e7b-e1fe-2da085f0ae70 at kukulies.org>
Content-Type: text/plain; charset=utf-8; format=flowed
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 at myrouter:/usr/src # make buildkernel KERNCONF=BRIDGE
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 at kukulies.org>
To: freebsd-questions at freebsd.org
Subject: Re: make buildkernel in 11.0
Message-ID: <97b885dc-f910-6a34-73f4-41cda163ff26 at kukulies.org>
Content-Type: text/plain; charset=windows-1252; format=flowed
OK, I got a bit further:
make -j 8 buildkernel KERNCONF=BRIDGE TARGET=amd64
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 at myrouter:/usr/src # make buildkernel KERNCONF=BRIDGE
> 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
------------------------------
Subject: Digest Footer
_______________________________________________
freebsd-questions at freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
------------------------------
End of freebsd-questions Digest, Vol 650, Issue 3
*************************************************
More information about the freebsd-questions
mailing list