Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-17 Thread David C. Rankin
On 03/11/2018 05:32 PM, David C. Rankin wrote:
> I don't know what the hiccup was, but for this box it was a death sentence. No
> linker modules updated, only 2 out of 16 post install processes run. That
> really leaves you in a bad way...
> 

Well, it seems it was an issue and not just a hiccup. I posted the issue to
the linux-raid list on kernel.org (title: "4.15.8 Kernel - Strange linux-raid
behavior, not sure where to send it.") and it seems there have been other hit
with it as well:

https://bugzilla.kernel.org/show_bug.cgi?id=198861
https://bugzilla.redhat.com/show_bug.cgi?id=1552124

Thankfully, since I installed the 4.15.9 kernel, it seems to be fixed (I still
have more testing to do, but it looks good)

So if anyone else is hit with a raid 1 issue on multi-cpu boxes, there is more
information at the links above.

(p.s. - not that my opinion matters on the bug tracker choice, but for the
number of bugs Arch has (compared to Mozilla, etc.) I don't think there would
be much of a delay issue regardless which packages is used - ease of
maintenance and an easy migration path probably wins the day)

-- 
David C. Rankin, J.D.,P.E.


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-13 Thread Carsten Mattner via arch-general
On 3/13/18, Eli Schwartz via arch-general  wrote:

> Like I said, this can be done from any system which has pacman and
> mkinitcpio available. That means:
>
> 1) Arch Linux
> 2) Gentoo, which has a pacman package and IIRC also provides mkinitcpio
>as an option alongside dracut.
> 3) Any Linux distribution if you have chrooted into the bootstrap image
> 4) Windows (or any operating system, really), by using a virtual machine
>
> Certainly, anything is *possible* if you put in enough work. But making
> something annoyingly difficult to do is, as I said, hardly a generic
> solution.

True and Alpine Linux supports (3.5) ZFS on install which I didn't confirm
because, like I said, I don't use ZFS on Linux. I mean that if Arch
ZFS developers want to, they can leverage work from other distros.
I guess it's a good thing Arch has no installer or otherwise there
might be a heated debate whether ZFS should be an option :).


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-13 Thread Eli Schwartz via arch-general
On 03/13/2018 09:47 AM, Leonid Isaev via arch-general wrote:
> On Tue, Mar 13, 2018 at 09:41:46AM -0400, Eli Schwartz via arch-general wrote:
>> On 03/13/2018 12:30 AM, John Ramsden via arch-general wrote:
>>> Actually, you can easily create an arch ISO with ZFS embedded into
>>> it. It's what I do, and it takes about five minutes to create.
>>>
>>> https://ramsdenj.com/2016/06/23/arch-linux-on-zfs-part-1-embed-zfs-in-archiso.html
>>
>> Yes, and it also requires an Arch system (or at least one with pacman
>> available) to run mkarchiso, pacstrap, copy the initcpio configs from
>> mkinitcpio, etc. Which is a bit of a chicken-and-egg problem, and I
>> don't really consider this a viable generic solution...
> 
> Can't this be done from any distro using Arch rootfs?

Like I said, this can be done from any system which has pacman and
mkinitcpio available. That means:

1) Arch Linux
2) Gentoo, which has a pacman package and IIRC also provides mkinitcpio
   as an option alongside dracut.
3) Any Linux distribution if you have chrooted into the bootstrap image
4) Windows (or any operating system, really), by using a virtual machine

Certainly, anything is *possible* if you put in enough work. But making
something annoyingly difficult to do is, as I said, hardly a generic
solution.

-- 
Eli Schwartz
Bug Wrangler and Trusted User



signature.asc
Description: OpenPGP digital signature


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-13 Thread Leonid Isaev via arch-general
On Tue, Mar 13, 2018 at 09:41:46AM -0400, Eli Schwartz via arch-general wrote:
> On 03/13/2018 12:30 AM, John Ramsden via arch-general wrote:
> > Actually, you can easily create an arch ISO with ZFS embedded into
> > it. It's what I do, and it takes about five minutes to create.
> > 
> > https://ramsdenj.com/2016/06/23/arch-linux-on-zfs-part-1-embed-zfs-in-archiso.html
> 
> Yes, and it also requires an Arch system (or at least one with pacman
> available) to run mkarchiso, pacstrap, copy the initcpio configs from
> mkinitcpio, etc. Which is a bit of a chicken-and-egg problem, and I
> don't really consider this a viable generic solution...

Can't this be done from any distro using Arch rootfs?

Cheers,
-- 
Leonid Isaev


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-13 Thread Eli Schwartz via arch-general
On 03/13/2018 12:30 AM, John Ramsden via arch-general wrote:
> Actually, you can easily create an arch ISO with ZFS embedded into
> it. It's what I do, and it takes about five minutes to create.
> 
> https://ramsdenj.com/2016/06/23/arch-linux-on-zfs-part-1-embed-zfs-in-archiso.html

Yes, and it also requires an Arch system (or at least one with pacman
available) to run mkarchiso, pacstrap, copy the initcpio configs from
mkinitcpio, etc. Which is a bit of a chicken-and-egg problem, and I
don't really consider this a viable generic solution...

-- 
Eli Schwartz
Bug Wrangler and Trusted User



signature.asc
Description: OpenPGP digital signature


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-13 Thread Kyle Bassett via arch-general
Hi Carsten, I'm glad you ended up posting this to the list.  Very useful
info, even if I never end up using it.

The rest of this thread has some great content too.

Thanks all!



On Mar 11, 2018 21:03, "Carsten Mattner via arch-general" <
arch-general@archlinux.org> wrote:

> On 3/11/18, David C. Rankin  wrote:
>
> > This was a nightmare. It's not a CD problem, it's a problem with the
> system
> > seeing the CD Label and/or creating the /dev/disk/by-label directory in
> > time for the link to be created.
>
> Hi David,
>
> so in the end you were able to boot off usb, right?
>
> Also, the nightmare you had to work through can be avoided on servers
> where you run illumos or FreeBSD by way of ZFS boot environments (BE).
> Basically, it's like Windows style snapshots of core files you can
> boot, in case stuff goes south.
>
> I didn't post this to the list, since it mentions ZFS, and that alone
> might get some people pissed off.
>


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-12 Thread John Ramsden via arch-general
Actually, you can easily create an arch ISO with ZFS embedded into it. It's 
what I do, and it takes about five minutes to create.

https://ramsdenj.com/2016/06/23/arch-linux-on-zfs-part-1-embed-zfs-in-archiso.html

-- 
  John Ramsden

On Mon, Mar 12, 2018, at 8:33 PM, Eli Schwartz via arch-general wrote:
> On 03/12/2018 11:07 PM, John Ramsden via arch-general wrote:
> > For anyone not happy with dkms, the archzfs repo [1] offers great
> > support for ZFS in binary form,  and I've been using it for a few
> > years now with no problems.
> 
> The most important part of using zfs is installing it. Especially
> considering the reason zfs was mentioned in this thread was as a
> proposal that someone might want to consider installing it, the ability
> to actually do so would be nice.
> 
> You cannot install an Arch Linux system on zfs, without the zfs kernel
> drivers compiled for your running kernel.
> 
> You cannot build those kernel modules on the Arch installation media,
> without doing a full system upgrade and installing the compiler
> toolchain, while holding back the kernel itself and hunting for the
> kernel headers matching the kernel from the ISO, then getting the zfs
> sources and building that too.
> On a ramdisk overlay filesystem.
> 
> Now, in theory the archzfs repo provides some archiso packages for
> exactly this use case. Except no they don't, because their archiso
> packages have not been updated since October...
> 
> This is less than entirely impressive. They have rebuilt everything
> else, why not this?
> 
> -- 
> Eli Schwartz
> Bug Wrangler and Trusted User
> 
> Email had 1 attachment:
> + signature.asc
>   1k (application/pgp-signature)


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-12 Thread Eli Schwartz via arch-general
On 03/12/2018 11:07 PM, John Ramsden via arch-general wrote:
> For anyone not happy with dkms, the archzfs repo [1] offers great
> support for ZFS in binary form,  and I've been using it for a few
> years now with no problems.

The most important part of using zfs is installing it. Especially
considering the reason zfs was mentioned in this thread was as a
proposal that someone might want to consider installing it, the ability
to actually do so would be nice.

You cannot install an Arch Linux system on zfs, without the zfs kernel
drivers compiled for your running kernel.

You cannot build those kernel modules on the Arch installation media,
without doing a full system upgrade and installing the compiler
toolchain, while holding back the kernel itself and hunting for the
kernel headers matching the kernel from the ISO, then getting the zfs
sources and building that too.
On a ramdisk overlay filesystem.

Now, in theory the archzfs repo provides some archiso packages for
exactly this use case. Except no they don't, because their archiso
packages have not been updated since October...

This is less than entirely impressive. They have rebuilt everything
else, why not this?

-- 
Eli Schwartz
Bug Wrangler and Trusted User



signature.asc
Description: OpenPGP digital signature


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-12 Thread John Ramsden via arch-general
On Mon, Mar 12, 2018, at 5:10 PM, Leonid Isaev via arch-general wrote:
> On 3/12/18, Leonid Isaev via arch-general  wrote:
> What's wrong with btrfs? Yeah, I know it is not marked "stable", but this
> is just a label. And people shying away from it doesn't help in advancing
> its stability either.

It might be good for experimentation and possibly a desktop, but if you're 
actually storing a lot of files, you probably want a filesystem marked as 
stable. The fact that it is not marked stable implies the developers still 
think there is some sort of insufficiency.

ZFS is known to be a world-class filesystem and could probably be considered 
one of the most system agnostic file systems now considering it is available on 
FreeBSD, Solaris, most Linux distributions, and even Windows and macOS. While 
the macOS and Windows ports are probably not at a point where they are suitable 
for widespread use - since they are still fairly new - you could at least mount 
a pool on those systems and read your data, the same can't be said for btrfs. 

For anyone not happy with dkms, the archzfs repo [1] offers great support for 
ZFS in binary form,  and I've been using it for a few years now with no 
problems.

[1] https://github.com/archzfs/archzfs

-- 
  John Ramsden


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-12 Thread Leonid Isaev via arch-general
On Mon, Mar 12, 2018 at 11:17:21PM +, Carsten Mattner wrote:
> On 3/12/18, Leonid Isaev via arch-general  wrote:
> > What's wrong with btrfs? Yeah, I know it is not marked "stable", but this
> > is just a label. And people shying away from it doesn't help in advancing
> > its stability either.
> 
> btrfs never got on my radar because it's Linux only and its instability
> is a blocker. If I have to be careful how I use a filesystem even when
> I didn't explicitly enable beta features, I'm too scared to put my files
> on it. If I were a Suse Enterprise customer, I might use it, but Red Hat
> isn't behind it anymore, so it's like Reiser3 back in the day. Only Suse
> was putting their weight behind it. Well Facebook has developers on it,
> but Facebook isn't a distro developer and can't be trusted with continued
> maintenance, since they might switch on a weekend to some Facebook-FS.
> Facebook has too many engineers and is reinventing stuff in-house a lot.

This is all corporate politics, but see first comment here [1]. And you still
haven't explained what instability? I use btrfs on all my machines, including
its subvolume/snapshot features to protect against failed updates (essentially,
I reimplemented some features of snapper in bash :) because I don't like dbus).

Of course, you need to do scrubbing regularly, but it's trivial to write a cron
job/systemd timer for this task...

> btrfs and zfs suffer from design limitations, but zfs has been stable
> and in petabyte production for a long time across many organizations.
> btrfs is one of many future Linux filesystems with no clear winner
> so far.

If noone uses it, then sure, btrfs will remain an underdog of filesystems.
Also, if you care about petabyte production, you should know better than asking
on this list...

> All I want is a modern filesystem whose volume I can share without
> exposing it via a network protocol.

Hmm,  btrfs-send(1)?

[1] https://news.ycombinator.com/item?id=14907771

Cheers,
-- 
Leonid Isaev


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-12 Thread Carsten Mattner via arch-general
Sorry for letting gmail butcher wrapping/breaks. Someone at Google
needs to be demoted for that anti-feature. I should remember to never
edit in gmail's text box but use my normal editor as usual.


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-12 Thread Carsten Mattner via arch-general
It almost looks like filesystem development doesn't fit Linux kernel
development style
of iterating constantly and evolving with time. btrfs has had the same
time as zfs
had in-house at Oracle before it was declared publicly stable, and
there are still
buggy/unfinished corners.

If you look at past successful Linux filesystems it's either an existing design
that was generally amenable to certain extensions and has evolved in-tree or
came designed and implemented from a different platform (JFS, XFS, quite a few
more). EXT4 is the reliable workhorse if inodes aren't a problem and you don't
mind time to allocate and upper bounds thereof. It evolved step by step from
EXT2 to EXT3 to EXT4, all the while having stable core features and experimental
features. btrfs is busy implementing features promised 10 years ago and there
are bugs in regular use if you're not careful.

Developing a filesystem is hard and there's no room for mistakes. Most
productive
filesystem development is happening in XFS and EXT4 teams with the former being
in a nice stable maintenance mode. If you haven't tried XFS in the last 3 years,
give it a test run. The old issues of being optimized for certain workloads have
been fixed years ago. It's a good replacement for EXT4 if you need its features
and tools.


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-12 Thread Carsten Mattner via arch-general
On 3/12/18, Leonid Isaev via arch-general  wrote:
> On Mon, Mar 12, 2018 at 10:24:37PM +, Carsten Mattner via arch-general
> wrote:
>> On 3/12/18, Eli Schwartz via arch-general 
>> wrote:
>> > On 03/11/2018 10:00 PM, Carsten Mattner via arch-general wrote:
>> >> I'm happy to hear that. My rationale is based on past observations
>> >> of needlessly heated arguments and ZFS, due to its license splitting
>> >> the Linux community in half, appearing to be perfect fuel for such
>> >> a thread.
>> >>
>> >> Thanks for the wiki links. Never used ZFS on Linux because I avoid
>> >> out of kernel patches. Maybe I will give it a try on Linux as well.
>> >
>> > Well yes, the main reason people get heated about it I think is because
>> > it is out-of-tree kernel modules and as such are less reliably stable
>> > or
>> > some such.
>> >
>> > Based on how well archzfs keeps their binary repos up to date, I'm not
>> > 100% convinced on the stability. Moreso consider that it's difficult to
>> > bootstrap a system without zfs available, and if their binary repo does
>> > not match the current archiso...
>>
>> I'll stay away from it, thanks. I saw that Alpine Linux has good ZFS
>> support, but I didn't do anything serious with it. When it comes to
>> filesystems, I'm conservative, EXT4 and XFS on Linux. It's a pity
>> there's no modern filesystem to share volumes between FOSS kernels.
>> It's all some compromise that you might or might not accept.
>
> What's wrong with btrfs? Yeah, I know it is not marked "stable", but this
> is just a label. And people shying away from it doesn't help in advancing
> its stability either.

btrfs never got on my radar because it's Linux only and its instability
is a blocker. If I have to be careful how I use a filesystem even when
I didn't explicitly enable beta features, I'm too scared to put my files
on it. If I were a Suse Enterprise customer, I might use it, but Red Hat
isn't behind it anymore, so it's like Reiser3 back in the day. Only Suse
was putting their weight behind it. Well Facebook has developers on it,
but Facebook isn't a distro developer and can't be trusted with continued
maintenance, since they might switch on a weekend to some Facebook-FS.
Facebook has too many engineers and is reinventing stuff in-house a lot.

btrfs and zfs suffer from design limitations, but zfs has been stable
and in petabyte production for a long time across many organizations.
btrfs is one of many future Linux filesystems with no clear winner
so far. It looks like XFS will gain full checksums and scrubbing
before btrfs gets reliable and Red Hat's XFS++ work will provide
snapshots. It's like git replacing bitkeeper in 2005. Seems like
XFS++ will do the same with btrfs left to history of experiments.

All I want is a modern filesystem whose volume I can share without
exposing it via a network protocol.


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-12 Thread Eli Schwartz via arch-general
On 03/12/2018 06:57 PM, Leonid Isaev via arch-general wrote:
>> I'll stay away from it, thanks. I saw that Alpine Linux has good ZFS
>> support, but I didn't do anything serious with it. When it comes to
>> filesystems, I'm conservative, EXT4 and XFS on Linux. It's a pity
>> there's no modern filesystem to share volumes between FOSS kernels.
>> It's all some compromise that you might or might not accept.
> 
> What's wrong with btrfs? Yeah, I know it is not marked "stable", but this is
> just a label. And people shying away from it doesn't help in advancing its
> stability either.

Well, I think the only outstanding issue really with btrfs is raid5/6
support. Maybe this scares people away?

-- 
Eli Schwartz
Bug Wrangler and Trusted User



signature.asc
Description: OpenPGP digital signature


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-12 Thread Leonid Isaev via arch-general
On Mon, Mar 12, 2018 at 10:24:37PM +, Carsten Mattner via arch-general 
wrote:
> On 3/12/18, Eli Schwartz via arch-general  wrote:
> > On 03/11/2018 10:00 PM, Carsten Mattner via arch-general wrote:
> >> I'm happy to hear that. My rationale is based on past observations
> >> of needlessly heated arguments and ZFS, due to its license splitting
> >> the Linux community in half, appearing to be perfect fuel for such
> >> a thread.
> >>
> >> Thanks for the wiki links. Never used ZFS on Linux because I avoid
> >> out of kernel patches. Maybe I will give it a try on Linux as well.
> >
> > Well yes, the main reason people get heated about it I think is because
> > it is out-of-tree kernel modules and as such are less reliably stable or
> > some such.
> >
> > Based on how well archzfs keeps their binary repos up to date, I'm not
> > 100% convinced on the stability. Moreso consider that it's difficult to
> > bootstrap a system without zfs available, and if their binary repo does
> > not match the current archiso...
> 
> I'll stay away from it, thanks. I saw that Alpine Linux has good ZFS
> support, but I didn't do anything serious with it. When it comes to
> filesystems, I'm conservative, EXT4 and XFS on Linux. It's a pity
> there's no modern filesystem to share volumes between FOSS kernels.
> It's all some compromise that you might or might not accept.

What's wrong with btrfs? Yeah, I know it is not marked "stable", but this is
just a label. And people shying away from it doesn't help in advancing its
stability either.

Cheers,
-- 
Leonid Isaev


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-12 Thread Carsten Mattner via arch-general
On 3/12/18, Eli Schwartz via arch-general  wrote:
> On 03/11/2018 10:00 PM, Carsten Mattner via arch-general wrote:
>> I'm happy to hear that. My rationale is based on past observations
>> of needlessly heated arguments and ZFS, due to its license splitting
>> the Linux community in half, appearing to be perfect fuel for such
>> a thread.
>>
>> Thanks for the wiki links. Never used ZFS on Linux because I avoid
>> out of kernel patches. Maybe I will give it a try on Linux as well.
>
> Well yes, the main reason people get heated about it I think is because
> it is out-of-tree kernel modules and as such are less reliably stable or
> some such.
>
> Based on how well archzfs keeps their binary repos up to date, I'm not
> 100% convinced on the stability. Moreso consider that it's difficult to
> bootstrap a system without zfs available, and if their binary repo does
> not match the current archiso...

I'll stay away from it, thanks. I saw that Alpine Linux has good ZFS
support, but I didn't do anything serious with it. When it comes to
filesystems, I'm conservative, EXT4 and XFS on Linux. It's a pity
there's no modern filesystem to share volumes between FOSS kernels.
It's all some compromise that you might or might not accept.

My current recommendation if one is looking for ZFS:

(1) FreeBSD good enough, no linux binaries needed? Go with that.
(2) illumos derivative work for you in terms of drivers _and_
you need Linux binaries to run seamlessly? illumos lx branded
zones are your solution then. You can even dtrace a linux zone
from the illumos outer environment. It's like FreeBSD Jails
on steroids without the immaturity and chaos of Linux containers.
Crossbow is nice, too.

Keep in mind both 1 and 2 start off with a desire to use 1st class
native ZFS support. illumos #1 problem is the unneeded distro
fragmentation when the community is so small anyway. But they're
collaborating on the base and core system very well. The main issue
is porting or writing drivers. To this day I wonder why Google for
all of its Java language reliance didn't buy Sun liberate it fully.
Past fights over the language and Apache Java might have led Sun
to block any Google talks.


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-12 Thread Eli Schwartz via arch-general
On 03/11/2018 10:00 PM, Carsten Mattner via arch-general wrote:
> I'm happy to hear that. My rationale is based on past observations
> of needlessly heated arguments and ZFS, due to its license splitting
> the Linux community in half, appearing to be perfect fuel for such
> a thread.
> 
> Thanks for the wiki links. Never used ZFS on Linux because I avoid
> out of kernel patches. Maybe I will give it a try on Linux as well.

Well yes, the main reason people get heated about it I think is because
it is out-of-tree kernel modules and as such are less reliably stable or
some such.

Based on how well archzfs keeps their binary repos up to date, I'm not
100% convinced on the stability. Moreso consider that it's difficult to
bootstrap a system without zfs available, and if their binary repo does
not match the current archiso...

-- 
Eli Schwartz
Bug Wrangler and Trusted User



signature.asc
Description: OpenPGP digital signature


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-12 Thread David C. Rankin
On 03/11/2018 08:03 PM, Carsten Mattner via arch-general wrote:
> Hi David,
> 
> so in the end you were able to boot off usb, right?
> 
> Also, the nightmare you had to work through can be avoided on servers
> where you run illumos or FreeBSD by way of ZFS boot environments (BE).
> Basically, it's like Windows style snapshots of core files you can
> boot, in case stuff goes south.
> 
> I didn't post this to the list, since it mentions ZFS, and that alone
> might get some people pissed off.

Partially,

  I had to boot from the CD, because the BIOS (AMI circa 2005) does not have
the capability to boot from USB. But, by using both the CD and USB (having
plugged the USB in before boot), when the boot from CD got to the point it
looked for the disk label ARCH_201803, it found the USB stick and was able to
mount it at /run/archiso/bootmnt where the boot from CD alone always fails.

  No worries about the filesystem. I don't care whether it is xfs, zfs, ext,
but it won't be btrfs, I just dance with the one that brung me. I did do a
filesystem comparison several months ago, and since I never reach limitations
of ext inodes anyway, zfs didn't have anything else that really moved me to
switch. I don't max my disks anyway. If I'm running 1T drives and hit 850G,
I'll go 3T and so on...

-- 
David C. Rankin, J.D.,P.E.


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-11 Thread Carsten Mattner via arch-general
On 3/12/18, Celti Burroughs via arch-general  wrote:
> On Mon, 12 Mar 2018 01:04:14 +
> Carsten Mattner via arch-general  wrote:
>
>> Or I actually did post it to the list by accident.
>>
>> Please don't flame me for mention ZFS boot environments as a technique
>> available for FOSS servers.
>>
>> On 3/12/18, Carsten Mattner  wrote:
>> > On 3/11/18, David C. Rankin  wrote:
>> >
>> >> This was a nightmare. It's not a CD problem, it's a problem with
>> >> the system
>> >> seeing the CD Label and/or creating the /dev/disk/by-label
>> >> directory in time for the link to be created.
>> >
>> > Hi David,
>> >
>> > so in the end you were able to boot off usb, right?
>> >
>> > Also, the nightmare you had to work through can be avoided on
>> > servers where you run illumos or FreeBSD by way of ZFS boot
>> > environments (BE). Basically, it's like Windows style snapshots of
>> > core files you can boot, in case stuff goes south.
>> >
>> > I didn't post this to the list, since it mentions ZFS, and that
>> > alone might get some people pissed off.
>
> I don't see why anyone should get pissed off. I mean, ArchZFS[1] is
> definitely a thing that works reasonably well, and the wiki page[2]
> specifically mentions boot environments and beadm.

I'm happy to hear that. My rationale is based on past observations
of needlessly heated arguments and ZFS, due to its license splitting
the Linux community in half, appearing to be perfect fuel for such
a thread.

Thanks for the wiki links. Never used ZFS on Linux because I avoid
out of kernel patches. Maybe I will give it a try on Linux as well.


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-11 Thread Celti Burroughs via arch-general
On Mon, 12 Mar 2018 01:04:14 +
Carsten Mattner via arch-general  wrote:

> Or I actually did post it to the list by accident.
> 
> Please don't flame me for mention ZFS boot environments as a technique
> available for FOSS servers.
> 
> On 3/12/18, Carsten Mattner  wrote:
> > On 3/11/18, David C. Rankin  wrote:
> >  
> >> This was a nightmare. It's not a CD problem, it's a problem with
> >> the system
> >> seeing the CD Label and/or creating the /dev/disk/by-label
> >> directory in time for the link to be created.  
> >
> > Hi David,
> >
> > so in the end you were able to boot off usb, right?
> >
> > Also, the nightmare you had to work through can be avoided on
> > servers where you run illumos or FreeBSD by way of ZFS boot
> > environments (BE). Basically, it's like Windows style snapshots of
> > core files you can boot, in case stuff goes south.
> >
> > I didn't post this to the list, since it mentions ZFS, and that
> > alone might get some people pissed off.

I don't see why anyone should get pissed off. I mean, ArchZFS[1] is
definitely a thing that works reasonably well, and the wiki page[2]
specifically mentions boot environments and beadm.

~Celti

[1]: https://github.com/archzfs/archzfs
[2]: https://wiki.archlinux.org/index.php/Installing_Arch_Linux_on_ZFS


pgpMvSpLP5bNK.pgp
Description: OpenPGP digital signature


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-11 Thread Carsten Mattner via arch-general
Or I actually did post it to the list by accident.

Please don't flame me for mention ZFS boot environments as a technique
available for FOSS servers.

On 3/12/18, Carsten Mattner  wrote:
> On 3/11/18, David C. Rankin  wrote:
>
>> This was a nightmare. It's not a CD problem, it's a problem with the
>> system
>> seeing the CD Label and/or creating the /dev/disk/by-label directory in
>> time for the link to be created.
>
> Hi David,
>
> so in the end you were able to boot off usb, right?
>
> Also, the nightmare you had to work through can be avoided on servers
> where you run illumos or FreeBSD by way of ZFS boot environments (BE).
> Basically, it's like Windows style snapshots of core files you can
> boot, in case stuff goes south.
>
> I didn't post this to the list, since it mentions ZFS, and that alone
> might get some people pissed off.
>


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-11 Thread Carsten Mattner via arch-general
On 3/11/18, David C. Rankin  wrote:

> This was a nightmare. It's not a CD problem, it's a problem with the system
> seeing the CD Label and/or creating the /dev/disk/by-label directory in
> time for the link to be created.

Hi David,

so in the end you were able to boot off usb, right?

Also, the nightmare you had to work through can be avoided on servers
where you run illumos or FreeBSD by way of ZFS boot environments (BE).
Basically, it's like Windows style snapshots of core files you can
boot, in case stuff goes south.

I didn't post this to the list, since it mentions ZFS, and that alone
might get some people pissed off.


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-11 Thread David C. Rankin
On 03/11/2018 04:08 PM, Guus Snijders via arch-general wrote:
> Op zo 11 mrt. 2018 21:29 schreef David C. Rankin <
> drankina...@suddenlinkmail.com>:
> 
>> All,
>>
>>   I experienced a hard lockup during kernel update to 4.15.8 on a
>> Supermicro
>> Dual Opteron Quad-core box.
>>
> [cd problem]
> 
> Just to make sure; can you run a memtest on this machine? It's a bit of a
> long shot,  but hard lockups are suspicious. Especially since the CD also
> acts strangely.
> Though an overheating CPU could also cause these symptons.
> 
> 
> Mvg, Guus Snijders
> 

This was a nightmare. It's not a CD problem, it's a problem with the system
seeing the CD Label and/or creating the /dev/disk/by-label directory in time
for the link to be created.

I burned 3 different CD's from the .iso (validating the sha1sum). I burned 2
of them from the Arch server next to this box running the 4.15.8 kernel whose
update went fine. I burned per:

https://wiki.archlinux.org/index.php/Optical_disc_drive#Burning_an_ISO_image_to_CD.2C_DVD.2C_or_BD

cdrecord -v -sao dev=/dev/sr0 archlinux-2018.03.01-x86_64.iso

and I burned from K3b as well. No change. Same failure.

So even though this box cannot boot from a USB, I created a USB install media
and plugged it into a USB port so that maybe its ARCH_201803 drive label would
be seen. (I think the problem is the .iso CD lsblk Label isn't updated during
boot for some reason)

Low-and-behold... It worked!. I was able to boot to the Arch install prompt.
mdadm ran and assembled my arrays. I arch-chrooted to /mnt and then
reinstalled the kernel, kernel-lts and then had to reinstall the other 57
packages.

I don't know what the hiccup was, but for this box it was a death sentence. No
linker modules updated, only 2 out of 16 post install processes run. That
really leaves you in a bad way...

Fixed now.

So to recap, the key to solving the 30 second CD label not seen bug, was to
put a USB install media in a USB port before boot so the drive would be
activated and the LABEL available when it got to the find disk/by-label part
of the installer boot. (I hope I recall this trick 2 years from now when
something like this happens again...)

-- 
David C. Rankin, J.D.,P.E.


Re: [arch-general] Update to 4.15.8 on dual quad-core box locked on ( 3/16) Install DKMS modules, need help resurecting

2018-03-11 Thread Guus Snijders via arch-general
Op zo 11 mrt. 2018 21:29 schreef David C. Rankin <
drankina...@suddenlinkmail.com>:

> All,
>
>   I experienced a hard lockup during kernel update to 4.15.8 on a
> Supermicro
> Dual Opteron Quad-core box.
>
[cd problem]

Just to make sure; can you run a memtest on this machine? It's a bit of a
long shot,  but hard lockups are suspicious. Especially since the CD also
acts strangely.
Though an overheating CPU could also cause these symptons.


Mvg, Guus Snijders