NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

install/56310: segfault when partitioning



>Number:         56310
>Category:       install
>Synopsis:       creating RAID and ZFS partitions on GPT -> segfault
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 14 18:30:00 +0000 2021
>Originator:     Jeff Rizzo
>Release:        NetBSD 9.99.86 (INSTALL) #0: Sun Jul 11 10:51:46 UTC 2021
>Organization:
	
>Environment:
System: [   1.0000000] NetBSD 9.99.86 (INSTALL) #0: Sun Jul 11 10:51:46 UTC 2021
[   1.0000000]  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/INSTALL
[   1.0000000] total memory = 73718 MB
[   1.0000000] avail memory = 71418 MB
Architecture: x86_64
Machine: amd64
>Description:
	System has 4 new 4TB disks:
[   5.9892527] wd0: <ST4000NM0115-1YZ107>
[   6.0392521] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
[   6.0392521] wd0: 3726 GB, 7752021 cyl, 16 head, 63 sec, 512 bytes/sect x 7814037168 sectors (4096 bytes/physsect; first aligned sector: 8)
[   6.4292526] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
[   6.4292526] wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)

... I want to run a mostly-ZFS system, but root-on-zfs isn't there yet.  So,
the intent is to set up all 4 disks with a raidframe (20GB) and a ZFS (rest)
partition, and run RAID1 root with a zpool for most data, possibly pivoting
to root.  First step, partition the disks - there's where trouble starts.

Step-by-step is included in "How-To-Repeat", but basically, "choose
wd0, choose GPT, add RAID partition, add ZFS partition, say I'm done
with wd0, *boom*"

Update:  looks like the ZFS part isn't needed - just adding the RAID
partition (GPT) makes it go boom.

In case it matters, machine is PXE booted, loading the amd64 netbsd-INSTALL.gz
kernel from 20210711 over tftp.

>How-To-Repeat:

	From main sysinst menu:

Choose "a: Installation messages in English"
Choose "e: Utility menu"
Choose "d: Partition a disk"
(Obviously, this part below may vary)
Choose ">a: wd0 (3.6T)                                                  UNCHANGED"
Choose "a: Edit partitions"
Choose ">a: Guid Partition Table (GPT)"

... since this is a new drive, no partitions exist

Choose "c: Change input units (sectors/cylinders/MB/GB)"
Choose "a: Gigabytes"
Choose "b: Add a partition"
Choose "a:             type :" -> set to RAID (t)
Choose "c:             size :" -> set to 20GB
Choose "x: OK"
Choose "x: Partition sizes ok"
[1]   Segmentation fault (core dumped) sysinst

This is the final screen where it crashes:

 We now have your GPT partitions for wd0 below.  This is your last chance to
 change them.

 Flags: (I)nstall, (N)ewfs, (B)ootable.  Total size: 3726G, free: 0B

      Start (GB)     End (GB)    Size (GB)  FS type Flag Filesystem
    ------------ ------------ ------------ -------- ---- ----------------
 a:            0           19           19     RAID
    ------------ ------------ ------------ -------- ---- ----------------
 c: Add a partition
 d: Change input units (sectors/cylinders/MB/GB)
 e: Clone external partition(s)
 f: Cancel
 x: Partition sizes ok
>Fix:
none given



Home | Main Index | Thread Index | Old Index