twa driver and 3ware 9650SE Raid adapter
Sascha Wildner
saw at online.de
Wed Jul 28 05:33:03 PDT 2010
On 7/28/2010 11:49, Damian Lubosch wrote:
I downloaded the patch and created a new install cd with it (from snapshot, in src/nrelease with make release), and it worked! :-)
Yesterday, I downgraded the current development version to the last stable 2.6.3 with the patched twa driver. That worked out, too.
Great!
Can you put up a verbose /var/run/dmesg.boot again?
There is one problem left, that I will try to take care of today: since the installation the RAID 1 was downgraded and the rebuilding process seems to fail. Dmesg lists:
twa0: INFO: (0x04: 0x000B): Rebuild started: unit=0
twa0: WARNING: (0x04: 0x0019): Drive removed: port=0
twa0: ERROR: (0x04: 0x0002): Degraded unit: unit=0, port=0
twa0: INFO: (0x04: 0x001A): Drive inserted: port=0
twa0: INFO: (0x04: 0x001F): Unit operational: unit=0
twa0: INFO: (0x04: 0x000B): Rebuild started: unit=0
twa0: ERROR: (0x04: 0x003A): Drive power on reset detected: port=0
twa0: WARNING: (0x04: 0x0019): Drive removed: port=0
twa0: ERROR: (0x04: 0x0002): Degraded unit: unit=0, port=0
twa0: INFO: (0x04: 0x001A): Drive inserted: port=0
twa0: INFO: (0x04: 0x001F): Unit operational: unit=0
twa0: INFO: (0x04: 0x000B): Rebuild started: unit=0
twa0: ERROR: (0x04: 0x0009): Drive timeout detected: port=0
twa0: ERROR: (0x04: 0x0002): Degraded unit: unit=0, port=0
twa0: ERROR: (0x04: 0x0009): Drive timeout detected: port=0
At the moment, after the system downgrade, it is in rebuilding state,
twa0: INFO: (0x04: 0x000B): Rebuild started: unit=0
and it does not stop for the last hour. If it stops rebuilding I'll contact you again.
You could try adding "options TWA_DEBUG=x" with x being a number from 0
to 10 (no debug output up to very verbose I assume), and see if that
shows us more.
I have one issue left in the port, and that is determining what to do
with the lockfunc and lockfuncarg that FreeBSD passes to
bus_dma_tag_create() (see "XXX swildner" comments in
sys/dev/raid/twa/tw_osl_freebsd.c). I will look at this.
Please keep us informed on anything you discover.
Sascha
More information about the Kernel
mailing list