AIC7902 w/ seagate U320 drive issue on releng-4 (and current)

Andy Farkas andyf at speednet.com.au
Sun Jul 27 16:40:17 PDT 2003


On Sat, 26 Jul 2003, Don Bowman wrote:

> Jul 26 19:27:20  /kernel: <<<<<<<<<<<<<<<< Dump Card State Ends
> >>>>>>>>>>>>>>>>>>
>
> Message from syslogd@ at Sat Jul 26 19:27:20 2003 ...
>  /kernel: <<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
...
> Jul 26 19:29:34  /kernel: <<<<<<<<<<<<<<<< Dump Card State Ends
> >>>>>>>>>>>>>>>>>>
>
> Message from syslogd@ at Sat Jul 26 19:29:34 2003 ...
>  /kernel: <<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>


Dear scsi gurus, please fix the above messages.

Even though the fix is trivial, this bug should be persued. Why would a
newline at the begining of a message cause syslogd to think its an
emergency and alert every user that is logged in! (spamming users' screens
while they're reading email is not nice!)


--- aic7xxx.c-orig      Mon Jul 28 09:28:39 2003
+++ aic7xxx.c   Mon Jul 28 09:29:08 2003
@@ -6886,7 +6886,7 @@
        }

        ahc_platform_dump_card_state(ahc);
-       printf("\n<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>\n");
+       printf("<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>\n");
        ahc_outb(ahc, SCBPTR, saved_scbptr);
        if (paused == 0)
                ahc_unpause(ahc);


--- aic79xx.c-orig      Mon Jul 28 09:33:09 2003
+++ aic79xx.c   Mon Jul 28 09:33:26 2003
@@ -8735,7 +8735,7 @@
                ahd_outb(ahd, STACK, ahd->saved_stack[i] & 0xFF);
                ahd_outb(ahd, STACK, (ahd->saved_stack[i] >> 8) & 0xFF);
        }
-       printf("\n<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>\n");
+       printf("<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>\n");
        ahd_platform_dump_card_state(ahd);
        ahd_restore_modes(ahd, saved_modes);
        if (paused == 0)


--

 :{ andyf at speednet.com.au

        Andy Farkas
    System Administrator
   Speednet Communications
 http://www.speednet.com.au/





More information about the freebsd-scsi mailing list