Date: Sun, 13 Nov 2011 08:10:11 GMT From: Jaakko Heinonen <jh@FreeBSD.org> To: freebsd-acpi@FreeBSD.org Subject: Re: kern/162491: EliteBook 8540p panic on acpi_hp module loading Message-ID: <201111130810.pAD8AB2T036462@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/162491; it has been noted by GNATS. From: Jaakko Heinonen <jh@FreeBSD.org> To: Alexey Slynko <slynko@tronet.ru> Cc: bug-followup@FreeBSD.org, avg@FreeBSD.org Subject: Re: kern/162491: EliteBook 8540p panic on acpi_hp module loading Date: Sun, 13 Nov 2011 09:49:40 +0200 On 2011-11-11, Alexey Slynko wrote: > My EliteBook 8540p panic on boot after upgrade to 9.0-RC1. I've tried > to unload all kernel modules and load it manually. It was crashed on > acpi_hp loading: > acpi_wmi0: <ACPI-WMI mapping> on acpi0 > acpi_wmi1: <ACPI-WMI mapping> on acpi0 > panic: make_dev_credv: bad si_name (error=17, si_name=wmistat) I don't really know much about acpi_wmi(4) but obviously it tries to create /dev/wmistat twice here. I am not sure if it's legitimate to have several wmistat device files but you could try this patch: %%% Index: sys/dev/acpi_support/acpi_wmi.c =================================================================== --- sys/dev/acpi_support/acpi_wmi.c (revision 227463) +++ sys/dev/acpi_support/acpi_wmi.c (working copy) @@ -265,7 +265,7 @@ acpi_wmi_attach(device_t dev) acpi_wmi_ec_handler); } else { sc->wmistat_dev_t = make_dev(&wmistat_cdevsw, 0, UID_ROOT, - GID_WHEEL, 0644, "wmistat"); + GID_WHEEL, 0644, "wmistat%d", device_get_unit(dev)); sc->wmistat_dev_t->si_drv1 = sc; sc->wmistat_open_pid = 0; sc->wmistat_bufptr = -1; Index: share/man/man4/acpi_wmi.4 =================================================================== --- share/man/man4/acpi_wmi.4 (revision 227463) +++ share/man/man4/acpi_wmi.4 (working copy) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 8, 2010 +.Dd November 13, 2011 .Dt ACPI_WMI 4 .Os .Sh NAME @@ -49,16 +49,16 @@ The .Nm driver provides an interface for vendor specific WMI implementations (e.g. HP and Acer laptops). -It creates /dev/wmistat, which can be read to get +It creates /dev/wmistat%d, which can be read to get information about GUIDs found in the system. .Sh FILES -.Bl -tag -width /dev/wmistat -compact -.It Pa /dev/wmistat +.Bl -tag -width /dev/wmistat%d -compact +.It Pa /dev/wmistat%d WMI status device. .El .Sh EXAMPLES .Bd -literal -# cat /dev/wmistat +# cat /dev/wmistat0 GUID INST EXPE METH STR EVENT OID {5FB7F034-2C63-45E9-BE91-3D44E2C707E4} 1 NO WMAA NO NO AA {95F24279-4D7B-4334-9387-ACCDC67EF61C} 1 NO NO NO 0x80+ - %%% I have cc'd avg@. He might know something about acpi_wmi(4). -- Jaakko
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111130810.pAD8AB2T036462>