Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 2004 10:50:12 -0700
From:      "Vinod Kashyap" <vkashyap@amcc.com>
To:        Philip Murray <pmurray@nevada.net.nz>, freebsd-current@freebsd.org
Cc:        Harald Schmalzbauer <h@schmalzbauer.de>
Subject:   RE: 3Ware 9500 and disklabel
Message-ID:  <I19LJQ02.K4X@hadar.amcc.com>

next in thread | raw e-mail | index | archive | help

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"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?I19LJQ02.K4X>