From owner-freebsd-current@FreeBSD.ORG Thu Jul 22 17:50:14 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66EE016A4CE for ; Thu, 22 Jul 2004 17:50:14 +0000 (GMT) Received: from hadar.amcc.com (hadar.amcc.com [192.195.69.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3703643D39 for ; Thu, 22 Jul 2004 17:50:14 +0000 (GMT) (envelope-from vkashyap@amcc.com) Received: from mailhost02.amcc.com ([192.195.69.49]) by hadar.amcc.com (Netscape Messaging Server 4.15) with SMTP id I19LJQ02.K4X; Thu, 22 Jul 2004 10:50:14 -0700 Received: (from vkashyap-pc [10.66.6.61]) by mailhost02.amcc.com (SMSSMTP 4.0.0.59) with SMTP id M2004072210513907006 ; Thu, 22 Jul 2004 10:51:39 -0700 From: "Vinod Kashyap" To: Philip Murray , freebsd-current@freebsd.org Date: Thu, 22 Jul 2004 10:50:12 -0700 X-Sent-Folder-Path: Sent Items X-Mailer: Oracle Connector for Outlook 9.0.4 51114 (9.0.6627) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: X-Mailman-Approved-At: Fri, 23 Jul 2004 12:03:33 +0000 cc: Harald Schmalzbauer Subject: RE: 3Ware 9500 and disklabel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2004 17:50:14 -0000 Can you try booting off the installation CD/floppies and running sysinstall from there? > -----Original Message----- > From: owner-freebsd-current@freebsd.org > [mailto:owner-freebsd-current@freebsd.org]On Behalf Of Philip Murray > Sent: Thursday, July 22, 2004 3:06 AM > To: freebsd-current@freebsd.org > Cc: Harald Schmalzbauer > Subject: Re: 3Ware 9500 and disklabel > = > = > Harald Schmalzbauer wrote: > = > >Am Donnerstag, 22. Juli 2004 11:01 schrieb Philip Murray: > > = > > > >>Hi, > >> > >>I'm trying to test out -CURRENT (22/7/2004) on a dual Opteron (Tyan > >>board) with a 3Ware 9500-8 raid controller and I'm having = > problems with > >>disklabel. > >> > >>At the moment I have a RAID0 array totalling 600GB. I = > fdisk'd them to > >>create a single partition using the entire volume, fdisk (from > >>sysinstall) complained about the geometry, I wasn't sure what the > >>correct geometry was, so I forged ahead anyway. > >> > >>Then I went to try and disklabel it. It seemed to work from = > sysinstall > >>until I went to write the changes out and it complained = > "ERROR: Unable > >>to write data to disk da0!'. So I tried disklabel on the = > command line, as > >>so > >> = > >> > > > >AFAIK geom only prevents you from direct access to disks = > where your kernel = > >booted from. In your case it is ad4 and I think da1 = > shouldn't be affected but = > >perhaps you want to set the sysctl kern.geom.debugflags to 16. > > > > = > > > Trying to use disklabel from sysinstall with those geom flags = > resulted = > in a panic, I got the following trace from the debugger: > = > panic: spoiling cp->ace =3D 1 > cpuid =3D 1; > KDB: enter: panic > [thread 100081] > Stopped at kdb_enter+0x2f: nop > db> trace > kdb_enter() at kdb_enter+0x2f > panic() at panic+0x210 > g_spoil() at g_spoil+0x7a > g_access() at g_access+0x1fb > g_dev_open() at g_dev_open+0x11b > spec_open() at spec_open+0x330 > spec_vnoperate() at spec_vnoperate+0x14 > vn_open_cred() at vn_open_cred+0x364 > kern_open() at kern_open+0x109 > syscall() at syscall+0x40e > Xfast_syscall() at Xfast_syscall+0xa8 > --- syscall (5, FreeBSD ELF64, open), rip =3D 0x50ebc0, rsp =3D = > 0x7fffffffd838, rbp =3D 0x7dd780 --- > db> > = > I don't know anything more useful I can do than that, so if there is = > something tell me. However, I have managed to somehow lockup = > the serial = > console so I can't do anymore until tomorrow. > = > Cheers > = > Philip > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = > "freebsd-current-unsubscribe@freebsd.org" >