Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2002 09:36:08 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        stable@FreeBSD.ORG
Cc:        msmith@FreeBSD.ORG
Subject:   Re: AEN error with twe driver
Message-ID:  <5.1.0.14.0.20020220092512.01bffec0@marble.sentex.ca>
In-Reply-To: <20020220075605.A61825@oolong.il.thewrittenword.com>
References:  <200202200943.g1K9hY800937@mass.dis.org> <20020220002104.A55035@oolong.il.thewrittenword.com> <200202200943.g1K9hY800937@mass.dis.org>

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

Actually, for me, it doesnt apply cleanly on a fresh 4.5R box I just put 
together

baycrest# patch < twe.releng_4.diff
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: twe.c
|===================================================================
|RCS file: /host/ziplok/local0/cvs/src/sys/dev/twe/twe.c,v
|retrieving revision 1.1.2.5
|diff -u -r1.1.2.5 twe.c
|--- twe.c      26 Feb 2001 20:14:04 -0000      1.1.2.5
|+++ twe.c      18 Feb 2002 09:17:40 -0000
--------------------------
Patching file twe.c using Plan A...
Hunk #1 succeeded at 24.
Hunk #2 succeeded at 96.
Hunk #3 succeeded at 111.
Hunk #4 succeeded at 146.
Hunk #5 succeeded at 569.
Hunk #6 succeeded at 920.
Hunk #7 succeeded at 1183.
Hunk #8 succeeded at 1592.
Hunk #9 succeeded at 1630.
Hunk #10 succeeded at 1641.
Hunk #11 succeeded at 1665.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: twe_compat.h
|===================================================================
|RCS file: /host/ziplok/local0/cvs/src/sys/dev/twe/twe_compat.h,v
|retrieving revision 1.1.2.2
|diff -u -r1.1.2.2 twe_compat.h
|--- twe_compat.h       27 Oct 2000 06:04:02 -0000      1.1.2.2
|+++ twe_compat.h       18 Feb 2002 07:48:19 -0000
--------------------------
Patching file twe_compat.h using Plan A...
Hunk #1 succeeded at 24.
Hunk #2 succeeded at 130.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: twe_disk.c
|===================================================================
|RCS file: twe_disk.c
|diff -N twe_disk.c
|--- twe_disk.c 27 Oct 2000 06:04:02 -0000      1.1.2.3
|+++ /dev/null  1 Jan 1970 00:00:00 -0000
--------------------------
File to patch:
No file found--skip this patch? [n] y
Skipping patch...
Hunk #1 ignored at 0.
1 out of 1 hunks ignored--saving rejects to twe_disk.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: twe_freebsd.c
|===================================================================
|RCS file: /host/ziplok/local0/cvs/src/sys/dev/twe/twe_freebsd.c,v
|retrieving revision 1.2.2.3
|diff -u -r1.2.2.3 twe_freebsd.c
|--- twe_freebsd.c      26 Jul 2001 21:54:54 -0000      1.2.2.3
|+++ twe_freebsd.c      18 Feb 2002 09:18:28 -0000
--------------------------
Patching file twe_freebsd.c using Plan A...
Hunk #1 failed at 24.
Hunk #2 succeeded at 83.
Hunk #3 succeeded at 103.
Hunk #4 succeeded at 116.
Hunk #5 succeeded at 257.
Hunk #6 succeeded at 513.
Hunk #7 succeeded at 604.
Hunk #8 succeeded at 619.
Hunk #9 succeeded at 652.
Hunk #10 succeeded at 686.
Hunk #11 failed at 739.
Hunk #12 succeeded at 898.
2 out of 12 hunks failed--saving rejects to twe_freebsd.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: twe_tables.h
|===================================================================
|RCS file: /host/ziplok/local0/cvs/src/sys/dev/twe/twe_tables.h,v
|retrieving revision 1.1.2.1
|diff -u -r1.1.2.1 twe_tables.h
|--- twe_tables.h       27 Oct 2000 06:04:02 -0000      1.1.2.1
|+++ twe_tables.h       18 Feb 2002 08:49:39 -0000
--------------------------
Patching file twe_tables.h using Plan A...
Hunk #1 succeeded at 24.
Hunk #2 succeeded at 118.
Hunk #3 succeeded at 127.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: tweio.h
|===================================================================
|RCS file: /host/ziplok/local0/cvs/src/sys/dev/twe/tweio.h,v
|retrieving revision 1.1.2.1
|retrieving revision 1.1
|diff -u -r1.1.2.1 -r1.1
|--- tweio.h    27 Oct 2000 06:04:02 -0000      1.1.2.1
|+++ tweio.h    25 Oct 2000 06:59:05 -0000      1.1
--------------------------
Patching file tweio.h using Plan A...
Hunk #1 succeeded at 24.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: twereg.h
|===================================================================
|RCS file: /host/ziplok/local0/cvs/src/sys/dev/twe/twereg.h,v
|retrieving revision 1.1.2.3
|diff -u -r1.1.2.3 twereg.h
|--- twereg.h   27 Oct 2000 06:04:02 -0000      1.1.2.3
|+++ twereg.h   18 Feb 2002 09:18:57 -0000
--------------------------
Patching file twereg.h using Plan A...
Hunk #1 succeeded at 24.
Hunk #2 succeeded at 47.
Hunk #3 succeeded at 102.
Hunk #4 succeeded at 127.
Hunk #5 succeeded at 144.
Hunk #6 succeeded at 280.
Hunk #7 succeeded at 318.
Hunk #8 succeeded at 489.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: twevar.h
|===================================================================
|RCS file: /host/ziplok/local0/cvs/src/sys/dev/twe/twevar.h,v
|retrieving revision 1.1.2.3
|diff -u -r1.1.2.3 twevar.h
|--- twevar.h   7 Dec 2000 08:08:45 -0000       1.1.2.3
|+++ twevar.h   18 Feb 2002 08:43:02 -0000
--------------------------
Patching file twevar.h using Plan A...
Hunk #1 succeeded at 24.
Hunk #2 succeeded at 145.
Hunk #3 succeeded at 242.
Hunk #4 succeeded at 252.
done

At 07:56 AM 2/20/02 -0600, Albert Chin wrote:
>On Wed, Feb 20, 2002 at 01:43:34AM -0800, Michael Smith wrote:
> > > Had to power cycle the machine and fsck the drives to get the machine
> > > back. I have a 3ware 4-port controller with four 100GB drives doing
> > > RAID 10. The system is running 4.3-STABLE.
> >
> > Replace the drive; it thinks it's about to die.
> >
> > The driver update patch I posted recently should decode this better.
> > I don't know why the machine wedged though; sounds like I/O deadlock.
>
>While the patch:
>   http://people.freebsd.org/~msmith/RAID/3ware/twe.releng_4.diff
>applies cleanly to 4.3-STABLE, it doesn't build:
>
>../../dev/twe/twe_freebsd.c:93: syntax error before `d_thread_t'
>../../dev/twe/twe_freebsd.c: In function `twe_open':
>../../dev/twe/twe_freebsd.c:94: number of arguments doesn't match prototype
>../../dev/twe/twe_freebsd.c:67: prototype declaration
>../../dev/twe/twe_freebsd.c:95: `dev' undeclared (first use in this function)
>../../dev/twe/twe_freebsd.c:95: (Each undeclared identifier is reported 
>only once
>../../dev/twe/twe_freebsd.c:95: for each function it appears in.)
>../../dev/twe/twe_freebsd.c: At top level:
>../../dev/twe/twe_freebsd.c:106: syntax error before `d_thread_t'
>../../dev/twe/twe_freebsd.c: In function `twe_close':
>../../dev/twe/twe_freebsd.c:107: number of arguments doesn't match prototype
>../../dev/twe/twe_freebsd.c:68: prototype declaration
>../../dev/twe/twe_freebsd.c:108: `dev' undeclared (first use in this function)
>../../dev/twe/twe_freebsd.c: At top level:
>../../dev/twe/twe_freebsd.c:119: syntax error before `d_thread_t'
>../../dev/twe/twe_freebsd.c: In function `twe_ioctl_wrapper':
>../../dev/twe/twe_freebsd.c:120: number of arguments doesn't match prototype
>../../dev/twe/twe_freebsd.c:69: prototype declaration
>../../dev/twe/twe_freebsd.c:121: `dev' undeclared (first use in this function)
>../../dev/twe/twe_freebsd.c:123: `cmd' undeclared (first use in this function)
>../../dev/twe/twe_freebsd.c:123: `addr' undeclared (first use in this 
>function)
>../../dev/twe/twe_freebsd.c: At top level:
>../../dev/twe/twe_freebsd.c:622: syntax error before `d_thread_t'
>../../dev/twe/twe_freebsd.c: In function `twed_open':
>../../dev/twe/twe_freebsd.c:623: number of arguments doesn't match prototype
>../../dev/twe/twe_freebsd.c:587: prototype declaration
>../../dev/twe/twe_freebsd.c:624: `dev' undeclared (first use in this function)
>../../dev/twe/twe_freebsd.c: At top level:
>../../dev/twe/twe_freebsd.c:655: syntax error before `d_thread_t'
>../../dev/twe/twe_freebsd.c: In function `twed_close':
>../../dev/twe/twe_freebsd.c:656: number of arguments doesn't match prototype
>../../dev/twe/twe_freebsd.c:588: prototype declaration
>../../dev/twe/twe_freebsd.c:657: `dev' undeclared (first use in this function)
>*** Error code 1
>
>--
>albert chin (china@thewrittenword.com)
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-stable" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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