Date: Mon, 9 Nov 1998 19:30:53 +0900 (JST) From: kimura@kaiseki.yamaha-motor.co.jp To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/8625: disklabel core dumped with od-driver Message-ID: <199811091030.TAA11728@pot026.yamaha-motor.co.jp>
next in thread | raw e-mail | index | archive | help
>Number: 8625 >Category: bin >Synopsis: disklabel core dumped with od-driver >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 9 02:40:00 PST 1998 >Last-Modified: >Originator: Tetsuya Kimura >Organization: YAMAHA MOTOR CO., LTD. Analysis Research Group >Release: FreeBSD 2.2.7-RELEASE i386 >Environment: FreeBSD 2.2.7-RELEASE i386 with optical disk driver >Description: disklabel(8) core dumped with optical disk driver if disktype was specified 'auto'. >How-To-Repeat: Modifiy the kernel to support optical disks. optical disk driver patch set is distributed in following URL. ftp://jaz.jp.freebsd.org/pub/FreeBSD-jp/OD/od-driver-2.2.7R.tar.gz Then write the disklabel to a optical disk as following # disklabel -r -w -B od0 auto >Fix: I have modified the function getvirginlabel() in disklabel.c as in freebsd-current, not to use lab.d_boot0. Patch is following --- disklabel.c.dist Sat Jul 18 05:13:00 1998 +++ disklabel.c Fri Nov 6 13:54:42 1998 @@ -1326,6 +1326,8 @@ return (NULL); } close(f); + lab.d_boot0 = NULL; + lab.d_boot1 = NULL; return (&lab); } >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811091030.TAA11728>