Re: -STABLE build appears broken after ipfilter 3.4.35 MFC

2004-07-04 Thread Kent Stewart
On Sunday 04 July 2004 09:55 am, Ruslan Ermilov wrote:
 On Sun, Jul 04, 2004 at 07:07:47AM -0700, David Wolfskill wrote:
  [I sent a copy of this information under separate cover to Darren
  Reed a little while ago.  dhw]

Darren's 1741 UTC to ip_fil.h fix lets it build on my test system.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


buildworld error (CVS july 4)

2004-07-04 Thread regis rampnoux
When I do a make buildworld I obtain the following message:

cc -O -pipe  -DUSE_INET6 -DIPL_NAME=\/dev/ipl\ -DIPFILTER_LOG -I-
-I/usr/obj/usr/src/usr.sbin/ipftest
-I/usr/src/usr.sbin/ipftest/../../sys/contrib/ipfilter
-I/usr/src/usr.sbin/ipftest/../../sys
-I/usr/src/usr.sbin/ipftest/../../contrib/ipfilter-c
/usr/src/usr.sbin/ipftest/../../contrib/ipfilter/fil.c
/usr/src/usr.sbin/ipftest/../../contrib/ipfilter/fil.c:196: conflicting
types for `fr_makefrip'
/usr/src/usr.sbin/ipftest/../../sys/contrib/ipfilter/netinet/ip_fil.h:63
3: previous declaration of `fr_makefrip'

in fil.c :
voidfr_makefrip(hlen, ip, fin)
int hlen;
ip_t *ip;
fr_info_t *fin;

in ip_fil.h :
extern  int fr_makefrip __P((int, ip_t *, fr_info_t *));







-- 
regis
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: buildworld error (CVS july 4)

2004-07-04 Thread jl
I am seeing a kernel build error in ipfw. There was code added 07/04/04 in ipfw,
correct? Logic points us to this update. I'll update with logs if needed, but this
should be easily repeated.

Jeff Love
Burgh Gaming

 When I do a make buildworld I obtain the following message:

 cc -O -pipe  -DUSE_INET6 -DIPL_NAME=\/dev/ipl\ -DIPFILTER_LOG -I-
 -I/usr/obj/usr/src/usr.sbin/ipftest
 -I/usr/src/usr.sbin/ipftest/../../sys/contrib/ipfilter
 -I/usr/src/usr.sbin/ipftest/../../sys
 -I/usr/src/usr.sbin/ipftest/../../contrib/ipfilter-c
 /usr/src/usr.sbin/ipftest/../../contrib/ipfilter/fil.c
 /usr/src/usr.sbin/ipftest/../../contrib/ipfilter/fil.c:196: conflicting
 types for `fr_makefrip'
 /usr/src/usr.sbin/ipftest/../../sys/contrib/ipfilter/netinet/ip_fil.h:63
 3: previous declaration of `fr_makefrip'

 in fil.c :
 voidfr_makefrip(hlen, ip, fin)
 int hlen;
 ip_t *ip;
 fr_info_t *fin;

 in ip_fil.h :
 extern  int fr_makefrip __P((int, ip_t *, fr_info_t *));







 --
 regis
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atacontrol Raid, cannot re-add member to array

2004-07-04 Thread Harald Schmalzbauer
Am Donnerstag, 1. Juli 2004 09:32 schrieb Steve O'Hara-Smith:
 On Tue, 29 Jun 2004 13:40:11 +0200

 Conrad Burger [EMAIL PROTECTED] wrote:
  That's until I unplugged one of the array members.
  The system boots up fine from the second disk,
  but the problem ... I can't get atacontrol to rebuild the mirror onto the
  disk that was removed.
 
  I have tried every command on the atacontrol man page, but to no avail.

   I came across this advice in a December 2003 posting here, I'd be
 interested to know if it works for you.

 ---
 From: Harald Schmalzbauer [EMAIL PROTECTED]
 To: [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: Re: Problem with Sil 680 RAID card
 Date: Thu, 4 Dec 2003 15:04:41 +0100

 snip stuff about creating RAID arrays with atacontrol

 Rebuilding is a bit complex. You have to do a 'atacontrol detach
 channelOfTheFailedDrive'
 and 'atacontrol attach channelOfTheFailedDrive' then 'atacontrol rebuild
 ar0'

This was only for the sil0680 chipset. HPT372 e.g. is completley unsupported 
in -stable.
I've never tried ataraid with non-raid controllers but I doubt that 
detach/attach would work. I asked Søren about the missing addspare in -stable 
but never got any answer.

I just had extreme problems with ataraid on -current and am awaiting some 
response about these issues, I just can hope that some time ataraid will be 
lifted to what the man page promises.

-Harry

 


pgpt2aMP0gYGO.pgp
Description: signature


Re: buildworld error (CVS july 4)

2004-07-04 Thread Holger Kipp
On Sun, Jul 04, 2004 at 09:46:18PM +0200, regis rampnoux wrote:
 When I do a make buildworld I obtain the following message:
 /usr/src/usr.sbin/ipftest/../../contrib/ipfilter/fil.c:196: conflicting
 types for `fr_makefrip'
 /usr/src/usr.sbin/ipftest/../../sys/contrib/ipfilter/netinet/ip_fil.h:63
 3: previous declaration of `fr_makefrip'

cvsup again. this has been fixed.

Regards,
Holger Kipp

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atacontrol Raid, cannot re-add member to array

2004-07-04 Thread Simon L. Nielsen
On 2004.07.04 23:33:28 +0200, Harald Schmalzbauer wrote:

 I've never tried ataraid with non-raid controllers but I doubt that 
 detach/attach would work.

It does work, you just have to hotswap the disk [1].  I tried it
some time ago, and I successfully did a rebuild, though I did kill one
of the disks shortly after since I tried to plug in the power cable
the wrong way during another test (yes that's stupid, I know :-) ).

 I asked Søren about the missing addspare in -stable 
 but never got any answer.

AFAIK Søren does not update the ata driver in stable since it's
somewhat different than the one in -CURRENT, and he does not have the
time to maintain both codebases.

AFAIR somebody made a patch for addspare functionality on -STABLE not
to long ago.  It should be in GNATS somewhere.

 I just had extreme problems with ataraid on -current and am awaiting some 
 response about these issues, I just can hope that some time ataraid will be 
 lifted to what the man page promises.

Well, I'm using it just fine on my main mailserver (running 5.2.1) but
that's a RAID1 with standard a ATA controller.

[1] WARNING: If you try to hotswap a disk without the proper hardware
you might kill your disk (and possibly other parts of the computer)...

-- 
Simon L. Nielsen
FreeBSD Documentation Team


pgpLB97JaIKEn.pgp
Description: PGP signature


USENIX2004 photos online

2004-07-04 Thread Matthew Dillon
I took a bunch of a photos at USENIX, mainly of BSD related activities.
The photos are now online at:

http://apollo.backplane.com/USENIX2004/

-Matt

Matthew Dillon
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atacontrol Raid, cannot re-add member to array

2004-07-04 Thread Doug Ambrisko
Harald Schmalzbauer writes:
| I've never tried ataraid with non-raid controllers but I doubt that 
| detach/attach would work. I asked S?ren about the missing addspare in -stable 
| but never got any answer.

I've add addspare and some other features in my 4.10 Release patches:
http://www.ambrisko.com/doug/ata/ata_stable_sata_5.patch

You might want to give that a try.

Doug A.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: -STABLE build appears broken after ipfilter 3.4.35 MFC

2004-07-04 Thread Rob
Kent Stewart wrote:
On Sunday 04 July 2004 09:55 am, Ruslan Ermilov wrote:
On Sun, Jul 04, 2004 at 07:07:47AM -0700, David Wolfskill wrote:
[I sent a copy of this information under separate cover to Darren
Reed a little while ago.  dhw]

Darren's 1741 UTC to ip_fil.h fix lets it build on my test system.
I cvsup'ed against cvsup.freebsd.org. The kernel build still fails:
[...]
/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c: In function 
`send_ip':
/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:1325: void value 
not ignored as it ought to be
*** Error code 1

Reason for this seems:
In contrib/ipfilter/netinet/ip_fil.c:1325, there is
if (fr_makefrip(hlen, ip, frn) == 0)
and in contrib/ipfilter/netinet/ip_fil.h:633, it has
extern  voidfr_makefrip __P((int, ip_t *, fr_info_t *));
A void-function cannot be tested against a return value!
Rob
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atacontrol Raid, cannot re-add member to array

2004-07-04 Thread Harald Schmalzbauer
Am Montag, 5. Juli 2004 01:21 schrieb Doug Ambrisko:
 Harald Schmalzbauer writes:
 | I've never tried ataraid with non-raid controllers but I doubt that
 | detach/attach would work. I asked S?ren about the missing addspare in
 | -stable but never got any answer.

 I've add addspare and some other features in my 4.10 Release patches:
   http://www.ambrisko.com/doug/ata/ata_stable_sata_5.patch

 You might want to give that a try.

Ughh, if I knew that 3 days eralier

First, thank you very much for wour work, but since I couldn't get a promise 
Fasttrak100 tx2 over the weekend (which is very well supported by Sørens 
ataraid) I replaced my sil0680 with a hpt372 and played with the original 
HighPoint drivers (http://www.highpoint-tech.com/USA/b372.htm#FreeBSD) and 
although the module I'm using is for 4.9, it works flawlessly on 4.10-stable. 
Via sysctl hpt37x2.status you can use all functions like with the bios, also 
auto rebuild et cetera works perfectly. (alias raidinfo 'sysctl 
hpt37x2.status')
The main reason why I couldn't use the hpt37(2) with 4.10 was that if one 
drive fails, ataraid removes the drive from the raid configuration. If now 
the same drives returnes (like it happens sometimes after a reboot) you have 
two (ar0 and ar1) arrays. Now you have to know which drive failed and which 
one the controller reports as remaining drive for the original array and dd 
(if=/dev/zero of=/dev/ad? count=63) the opposite drive.
Otherwise the system ends up in booting from ar0, which in my case was the 
failed disk, returning after a reboot, and so I had a inconsistent several 
weeks old system.

Your patch my be great for all sil0680 useres but hpt370 users really should 
use the manufacturers driver. You can see a dmesg with them at 
http://www.schmalzbauer.de/netz/dmesg.korso

Best regards,

-Harry




 Doug A.


pgpMWaRFAIT5b.pgp
Description: signature


Re: atacontrol Raid, cannot re-add member to array

2004-07-04 Thread Harald Schmalzbauer
Am Montag, 5. Juli 2004 01:21 schrieb Doug Ambrisko:
 Harald Schmalzbauer writes:
 | I've never tried ataraid with non-raid controllers but I doubt that
 | detach/attach would work. I asked S?ren about the missing addspare in
 | -stable but never got any answer.

 I've add addspare and some other features in my 4.10 Release patches:
   http://www.ambrisko.com/doug/ata/ata_stable_sata_5.patch

 You might want to give that a try.

Like said at the list, thank you. But for a few hours the experimenting 
machine from the last three days turned productive (as you can see in the 
header).
I'm really sorry, but I'm not brave enough to try your patch with this system. 
It's really quiet horrible if my internal mta and much more painful my IMAP 
server, which is on that machine, dies.
But if I'll have a chance to test it I'll do it immediately and drop you a 
note. (I have only a spare sil0680 and hopefully a FastTrak100 TX2 but this 
one is perfectly sopported anyway)

Thank you,

-Harry


 Doug A.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]


pgpro4Yp61oPt.pgp
Description: signature


Re: atacontrol Raid, cannot re-add member to array

2004-07-04 Thread Harald Schmalzbauer
Am Montag, 5. Juli 2004 02:07 schrieb Harald Schmalzbauer:
[...]
  I've add addspare and some other features in my 4.10 Release patches:
  http://www.ambrisko.com/doug/ata/ata_stable_sata_5.patch
 
  You might want to give that a try.

 Like said at the list, thank you. But for a few hours the experimenting
 machine from the last three days turned productive (as you can see in the
[...]

Sorry, it's late here. Should have been a private message.

-Harry


pgpvKN34K4rNV.pgp
Description: signature


Re: buildworld error (CVS july 4)

2004-07-04 Thread jl
I cleaned my src tree and checked out a fresh src, same results. Buildworld goes
fine. Buildkernel fails in contrib/ipfilter/netinet/ip_fil.c

Output follows.

Jeff Love
Burgh Gaming

cc -O -pipe  -DIPFILTER_LKM -DIPFILTER_LOG
-I/usr/src/sys/modules/ipfilter/../../contrib/ipfilter -include
/usr/obj/usr/src/sys/SEEKER/opt_global.h -D_KERNEL -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-
-I/usr/src/sys/modules/ipfilter/../../contrib/ipfilter -I. -I@ -I@/../include 
-mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
-fformat-extensions -ansi -c
/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c
/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c: In function
`send_ip':
/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:1325: void
value not ignored as it ought to be
*** Error code 1

Stop in /usr/src/sys/modules/ipfilter.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/obj/usr/src/sys/SEEKER.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


 I am seeing a kernel build error in ipfw. There was code added 07/04/04 in ipfw,
 correct? Logic points us to this update. I'll update with logs if needed, but this
 should be easily repeated.

 Jeff Love
 Burgh Gaming

 When I do a make buildworld I obtain the following message:

 cc -O -pipe  -DUSE_INET6 -DIPL_NAME=\/dev/ipl\ -DIPFILTER_LOG -I-
 -I/usr/obj/usr/src/usr.sbin/ipftest
 -I/usr/src/usr.sbin/ipftest/../../sys/contrib/ipfilter
 -I/usr/src/usr.sbin/ipftest/../../sys
 -I/usr/src/usr.sbin/ipftest/../../contrib/ipfilter-c
 /usr/src/usr.sbin/ipftest/../../contrib/ipfilter/fil.c
 /usr/src/usr.sbin/ipftest/../../contrib/ipfilter/fil.c:196: conflicting
 types for `fr_makefrip'
 /usr/src/usr.sbin/ipftest/../../sys/contrib/ipfilter/netinet/ip_fil.h:63
 3: previous declaration of `fr_makefrip'

 in fil.c :
 voidfr_makefrip(hlen, ip, fin)
 int hlen;
 ip_t *ip;
 fr_info_t *fin;

 in ip_fil.h :
 extern  int fr_makefrip __P((int, ip_t *, fr_info_t *));







 --
 regis
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]


 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atacontrol Raid, cannot re-add member to array

2004-07-04 Thread Paul Mather
On Sun, 2004-07-04 at 18:10, Simon L. Nielsen wrote:
 On 2004.07.04 23:33:28 +0200, Harald Schmalzbauer wrote:
 
  I've never tried ataraid with non-raid controllers but I doubt that 
  detach/attach would work.
 
 It does work, you just have to hotswap the disk [1].  I tried it
 some time ago, and I successfully did a rebuild, though I did kill one
 of the disks shortly after since I tried to plug in the power cable
 the wrong way during another test (yes that's stupid, I know :-) ).

So does this mean ATA RAID doesn't work on non-raid controllers that
have non-hot swappable drives attached?  (E.g., a drive get hard errors,
is marked as failed and the RAID as DEGRADED, and you have to shut down
the machine to remove and replace it---but ATA RAID won't recognise
it/rebuild onto it when you reboot with the replacement drive.)

If that is the case, the man page really should note that serious
limitation.

I have tried the detach/attach on a non-raid controller to simulate
failure and have *never* managed to get rebuild to work.  I've also
tried the shutdown/remove/replace/reboot method but, again, *never*
managed to get rebuild to work on a non-raid controller. :-(

I've never had any hotswap-capable drives to test the hot-swap
replacement/rebuild method. :-(

 Well, I'm using it just fine on my main mailserver (running 5.2.1) but
 that's a RAID1 with standard a ATA controller.

I wish it would work for me. :-)  I have a non-raid controller 5.2.1
system that I tried it on (with non-hot swap drives) that I eventually
had to bail and use Vinum on.  Alas, Vinum seems to be rotting at a fast
pace in CURRENT, so I'm worried about the prospect of being able to
upgrade that system when 5.3 rolls around... :-(

Cheers,

Paul.
-- 
e-mail: [EMAIL PROTECTED]

Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid.
--- Frank Vincent Zappa

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]