It seems Vladimir B. Grebenschikov wrote: > Does not help, another panic in ad_attach: ARGH, try this instead:
diff -u -r1.191 ata-all.c --- ata-all.c 7 Oct 2003 13:44:15 -0000 1.191 +++ ata-all.c 8 Oct 2003 08:03:09 -0000 @@ -35,6 +35,7 @@ #include <sys/ata.h> #include <sys/kernel.h> #include <sys/endian.h> +#include <sys/ctype.h> #include <sys/conf.h> #include <sys/bus.h> #include <sys/bio.h> @@ -555,6 +556,8 @@ } ata_free_request(request); } + if (!isalpha(atacap->model[0]) || !isalpha(atacap->model[1])) + error = ENXIO; if (error) { atadev->param = NULL; free(atacap, M_ATA); -Søren _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"