NetBSD-Bugs archive

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

install/54747: sysinst's use of disklabel having problems with space at end of disk name; fails install.



>Number:         54747
>Category:       install
>Synopsis:       sysinst's use of disklabel having problems with space at end of disk name; fails install.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 07 19:10:00 +0000 2019
>Originator:     Jacob Ritorto
>Release:        NetBSD 9.0_RC1
>Organization:
Rusty Muse
>Environment:
NetBSD localhost 9.0_RC1 NetBSD 9.0_RC1 (GENERIC) #0: Wed Nov 27 16:14:52 UTC 2019  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc64/compile/GENERIC sparc64
>Description:
during install, when sysinst tried to parse the disk name, it fails apparently with botched handling of the disk name.  I have a Maxtor 6L250R0.  When sysinst tries to pull in the disk's name, there appears to be a space at the end of the name and this confuses and crashes the disklabel command when it tries to write the label (after the curses partitioning sequence).  The disklabel command failure causes install to not be able to proceed and therefore I can't install. 

This whole disklabel and partitioning sequence world fine in 8.1
>How-To-Repeat:
use a Maxtor 6L250R0 or possibly some other disk with whitespace at the end of its name and try to run through the partitioning sequence at install time.
>Fix:
I did ^Z the install upon disk label's failure and did manage to shell out and manually run disklabel by putting the disk name (along with its trailing space) in quotes, which did get disklabel to label the disk.   But since it had initially failed, when I exited my sub shell, the previous disklabel fail   precluded proceeding with install.



Home | Main Index | Thread Index | Old Index