Subject: port-i386/5031: new MBR code breaks ccd device
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 02/21/1998 06:12:24
>Number:         5031
>Category:       port-i386
>Synopsis:       new MBR code breaks ccd device
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 20 21:20:00 1998
>Last-Modified:
>Originator:     Matthias Scheler
>Organization:
Matthias Scheler                                http://home.owl.de/~tron/
>Release:        980219
>Environment:
System: NetBSD 1.3D (LYSSA) #0: Fri Feb 20 11:46:11 MET 1998 tron@lyssa:/usr/src/sys/arch/i386/compile/LYSSA

>Description:
A kernel using the new MBR handling code will panic due to a division by
zero as soon as "ccdconfig" is used. It doesn't matter if the involved
partitions use the old or the new ID.

To avoid questions:
- I added "COMPAT_386BSD_MBRPART" in my kernel configuration file and
  built the new kernel from scratch.
- I updated and installed the new boot code.

>How-To-Repeat:
Try to use ccd(4) with a kernel with the new MBR code.

>Fix:
Sorry, I don't know.
>Audit-Trail:
>Unformatted: