Feature #8685

uts and mdb: do not build 32bit kernel

Added by Toomas Soome about 1 year ago. Updated 9 months ago.

Status:ClosedStart date:2017-09-26
Priority:NormalDue date:
Assignee:Toomas Soome% Done:

100%

Category:kernel
Target version:-
Difficulty:Hard Tags:

Description

Stop building and delivering the 32-bit kernel and related modules. This does include both kernel modules and mdb modules for 32-bit kernel, note we still have to provide 32-bit msb modules to be able to debug 32-bit userland.

History

#1 Updated by Andrew Stormont 9 months ago

FYI the 32-bit kernel stopped working a few months back. I forget which commit broke it (my guess would be #8376); it was something to do with the size of 'struct vnode'.

#2 Updated by Peter Tribble 9 months ago

Andrew Stormont wrote:

FYI the 32-bit kernel stopped working a few months back. I forget which commit broke it (my guess would be #8376); it was something to do with the size of 'struct vnode'.

I don't think it's quite as simple as 8376.

Tribblix m20.1 has 8376, and boots in 32-bit mode, installs to UFS root, and runs fine. Using ZFS is a little problematic for 32-bit, so I tend to test with UFS anyway

The Tribblix m20.2 live media doesn't boot in 32-bit mode at all, svc.configd dies and nothing works.

That would put the brokenness between 04427e3bf236c18cc532680b957267ee70b1037d and d042c5a26452797afc4fe8c2ceddebff94d88745, but I suspect that 32-bit support has generally been on the wane for some time

#3 Updated by Electric Monk 9 months ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit 95cb2e31c87e3febe7315833e075c1b16451e44c

commit  95cb2e31c87e3febe7315833e075c1b16451e44c
Author: Toomas Soome <tsoome@me.com>
Date:   2018-01-25T19:56:10.000Z

    8685 uts and mdb: do not build 32bit kernel
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Approved by: Joshua M. Clulow <jmc@joyent.com>

Also available in: Atom