Re: isp Tape Drive no longer detected

2012-06-24 Thread Matthew Jacob
Actually, can you try this patch please? I won't be able to get to my 
lab and get a working 1040 card into a system until tomorrow.




diff -r 5aba1b04ddd5 isp.c
--- a/isp.c Sun Jun 24 10:22:10 2012 -0700
+++ b/isp.c Sun Jun 24 19:36:06 2012 -0700
@@ -710,8 +710,11 @@
0x, 0x6677, 0x1122, 0x33ff,
0x, 0x0001, 0x1000, 0x1010,
};
+   int nmbox = ISP_NMBOX(isp);
+   if (IS_SCSI(isp))
+   nmbox = 6;
MBSINIT(&mbs, MBOX_MAILBOX_REG_TEST, MBLOGALL, 0);
-   for (i = 1; i < ISP_NMBOX(isp); i++) {
+   for (i = 1; i < nmbox; i++) {
mbs.param[i] = patterns[i];
}
isp_mboxcmd(isp, &mbs);
@@ -719,7 +722,7 @@
ISP_RESET0(isp);
return;
}
-   for (i = 1; i < ISP_NMBOX(isp); i++) {
+   for (i = 1; i < nmbox; i++) {
if (mbs.param[i] != patterns[i]) {
ISP_RESET0(isp);
isp_prt(isp, ISP_LOGERR, "Register Test Failed 
at Register %d: should have 0x%04x but got 0x%04x", i, patterns[i], 
mbs.param[i]);
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: isp Tape Drive no longer detected

2012-06-24 Thread Matthew Jacob

On 6/24/2012 7:18 PM, Manfred Antar wrote:

As of today my tape drive is no longer detected. I think the isp driver does 
not load

What? Somebody is using a tape drive still? And parallel SCSI?
*gasp*

Yes, sorry, my bad. Looks like my extending register tests for the 2400 
has killed things for the 1040. Expect a change tonite sometime- apologies.


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


isp Tape Drive no longer detected

2012-06-24 Thread Manfred Antar
As of today my tape drive is no longer detected. I think the isp driver does 
not load
dmesg:

firmware: 'isp_1040' version 1: 22944 bytes loaded at 0xc0a20d60
ispfw: registered firmware 
firmware: 'isp_1040_it' version 1: 32942 bytes loaded at 0xc0a26700
ispfw: registered firmware 
firmware: 'isp_1080' version 1: 31350 bytes loaded at 0xc0a2e7c0
ispfw: registered firmware 
firmware: 'isp_1080_it' version 1: 40644 bytes loaded at 0xc0a36240
ispfw: registered firmware 
firmware: 'isp_12160' version 1: 28050 bytes loaded at 0xc0a40120
ispfw: registered firmware 
firmware: 'isp_12160_it' version 1: 40604 bytes loaded at 0xc0a46ec0
ispfw: registered firmware 
firmware: 'isp_2100' version 1: 76770 bytes loaded at 0xc0a50d60
ispfw: registered firmware 
firmware: 'isp_2200' version 1: 77214 bytes loaded at 0xc0a63960
ispfw: registered firmware 
firmware: 'isp_2300' version 1: 106640 bytes loaded at 0xc0a76700
ispfw: registered firmware 
firmware: 'isp_2322' version 1: 120466 bytes loaded at 0xc0a907a0
ispfw: registered firmware 
firmware: 'isp_2400' version 1: 179908 bytes loaded at 0xc0ab19a0
ispfw: registered firmware 
firmware: 'isp_2400_multi' version 1: 198628 bytes loaded at 0xc0aea800
ispfw: registered firmware 
firmware: 'isp_2500' version 1: 142704 bytes loaded at 0xc0b28ae0
ispfw: registered firmware 
firmware: 'isp_2500_multi' version 1: 169352 bytes loaded at 0xc0b5a9e0
ispfw: registered firmware 
isp0:  port 0x1000-0x10ff mem 
0xfc514000-0xfc514fff irq 18 at device 9.0 on pci5
isp0: using Memory space register mapping
isp0: loaded firmware isp_1080
isp0: bus 0 is in Single-Ended Mode
isp0: Register Test Failed at Register 6: should have 0x7f7f but got 0x
device_attach: isp0 attach returned 6

The last time I used the tape was 6/15/2012.
Any ideas ?
Thanks
Manfred





||  n...@pozo.com   ||
||  Ph. (415) 681-6235  ||
 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"