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 _at__at_ -35,6 +35,7 _at__at_ #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> _at__at_ -555,6 +556,8 _at__at_ } 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ørenReceived on Tue Oct 07 2003 - 23:04:21 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:24 UTC