UPDATE3: ATA mkIII official patches - please test!

2005-03-22 Thread Sren Schmidt
New version available for testing:
http://people.freebsd.org/~sos/ata-mk3m.diff-releng5.gz
http://people.freebsd.org/~sos/ata-mk3m.diff-current.gz
http://people.freebsd.org/~sos/ata-mk3m.tar.gz
This time the diff must be reapplied as there are new changes in there.
Items in this release:
o   Dumping to disk fixed.
o   PCCARD probing fixed.
o   PC98 probing and modules fixed.
o   Support for atomic composite ATA requests
o   Support for addspare to an ATA PseudoRAID array
o   Support for rebuild of an ATA PseudoRAID array.
Note that this is now done differently from the old system as
the rebuild is now done piggybacked on read requests to the
array, so atacontrol simply starts a background dd to rebuild
the array.
If I dont get any significant showstopper reports this is what will get 
committed to -current soon (plus what I might get done until then of new 
features).

This WARNING still applies:
One warning applies to both this and the last snapshot. I accidentially
released the RAID5 test code I had in there which allows to apparently 
use a RAID5 array. However it *ONLY* reads and writes the data part, it 
does *NOT* maintain the parity part. That means it will trash a RAID5 
array for later real use as the parity wont match the data one there.
Since the code is out there I've decided to let it stay, as it allows 
for testing of getting and using the metadata etc..
I'll probably just disable that code when it goes into -current but for 
now its in there for testing purposes.

As usual use at your own risk, but feedback on this is very welcomed.
Big thanks to all those that has participated so far!
Enjoy!
--
-Søren
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UPDATE: ATA mkIII first official patches - please test!

2005-02-12 Thread Sren Schmidt
Anthony Ginepro wrote:
ATA mk3 works fine on my system except two things :
- it seems there's no more atapi-cam support (or it's still WIP ?),
I dont know the status of that, you need to ask the author/maintainer..
- dumps doesn't work (but never did on my system).
Hmm, I'll look into that...
--
-Sren
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ATA mkIII first official patches - please test!

2005-02-07 Thread Sren Schmidt
Arne Schwabe wrote:
Sren Schmidt [EMAIL PROTECTED] writes:

Randy Bush wrote:
After suspend, my ThinkPad X40 now hangs with following logs (copied
by hand):
Hmm, do you have ATA compiled in or as modules. I could easily
imagine that modules could have problems, but as built in nothing
really changed...
my patched t41, current with ata in the kernel, locks up with disk
light on solid on resume.
Does it work with stock ATA ?
I cant work on suspend/resume as it has been broken due to ACPI 
brokenness since september last year on all my laptops...

Same here, worked before the patch. Does not work with the patch.
Hmm, the attached patch is the only real difference, which actually 
shouldn't pose a problem (and fixes broken APM)..

Let me know if that changes anything, other than that you are free to 
bug the ACPI gang to make ACPI work on the HW I have available for 
development...

-Sren
diff -u -r1.20 ata-all.c
--- ata-all.c   2005/02/03 17:02:31 1.20
+++ ata-all.c   2005/02/07 14:27:57
@@ -630,7 +630,7 @@
 void
 ata_udelay(int interval)
 {
-if (1 || interval  (100/hz) || ata_delayed_attach)
+if (interval  (100/hz) || ata_delayed_attach)
DELAY(interval);
 else
tsleep(interval, PRIBIO, ataslp, interval/(100/hz));

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