Subject: kern/18608: fdisk ld0 cause kernel hangup
To: None <gnats-bugs@gnats.netbsd.org>
From: None <taya@ba2.so-net.ne.jp>
List: netbsd-bugs
Date: 10/10/2002 22:03:24
>Number:         18608
>Category:       kern
>Synopsis:       fdisk ld0 cause kernel hangup
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 10 06:04:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Shin'ichiro TAYA
>Release:        NetBSD 1.6I
>Organization:

--
Shin'ichiro TAYA <taya@ba2.so-net.ne.jp>
>Environment:
	
	
System: NetBSD mmgserv.m2g.org 1.6I NetBSD 1.6I (MMGSERV) #3: Wed Oct 9 22:57:23 JST 2002 taya@mmgserv.m2g.org:/export/NetBSD/NetBSD-current/src/sys/arch/i386/compile/MMGSERV i386
Architecture: i386
Machine: i386

with adaptec ATA RAID 2400A with HDD x5, Raid 5

output of dmesg:
		.
		.
		.
	iop0 at pci1 dev 9 function 1: I2O adapter <ADAPTEC 2400A>
	iop0: interrupting at irq 11
		.
		.
		.
	iop0: configuring...
	dpti0 at iop0: DPT/Adaptec RAID management interface
	ld0 at iop0 tid 519: <ADAPTEC, RAID-5, 370L> direct access, fixed
	ld0: 149 GB, 19458 cyl, 255 head, 63 sec, 512 bytes/sect x 312602624 sectors
	iopsp0 at iop0 tid 8: SCSI port <HIGHPOINT, IDEhpt370, 00000001>
	iopsp0: 16-bit, max sync rate 50MHz, initiator ID 7
	iopsp0: target 0 (tid 513): 16-bit, synchronous at 49MHz, offset 0x0
	iopsp0: target 0,0 (tid 513): in use by tid 516
	scsibus0 at iopsp0: 16 targets, 8 luns per target
	iopsp1 at iop0 tid 9: SCSI port <HIGHPOINT, IDEhpt370, 00000001>
	iopsp1: 16-bit, max sync rate 50MHz, initiator ID 7
	iopsp1: target 0 (tid 514): 16-bit, synchronous at 49MHz, offset 0x0
	iopsp1: target 0,0 (tid 514): in use by tid 517
	scsibus1 at iopsp1: 16 targets, 8 luns per target
	iopsp2 at iop0 tid 10: SCSI port <HIGHPOINT, IDEhpt370, 00000001>
	iopsp2: 16-bit, max sync rate 50MHz, initiator ID 7
	iopsp2: target 0 (tid 515): 16-bit, synchronous at 49MHz, offset 0x0
	iopsp2: target 0,0 (tid 515): in use by tid 518
	scsibus2 at iopsp2: 16 targets, 8 luns per target
	iopsp3 at iop0 tid 11: SCSI port <HIGHPOINT, IDEhpt370, 00000001>
	iopsp3: 16-bit, max sync rate 50MHz, initiator ID 7
	scsibus3 at iopsp3: 16 targets, 8 luns per target
	boot device: ld0
	root on ld0a dumps on ld0b
	root file system type: ffs

>Description:
	After /sbin/fdisk switched to dynamically linked, fdisk cause kernel hangup.
	Before then, it was OK and /rescue/fdisk works now.

>How-To-Repeat:
	/sbin/fdisk ld0

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: