Re: ACPI 'driver bug: Unable to set devclass'

2012-05-24 Thread John Baldwin
On Thursday, May 24, 2012 2:15:26 am Andriy Gapon wrote: Now that you committed the acpi_cpu fix I'd like to do the easy part - protection from the problem in the future. Does the following look OK? Index: sys/kern/subr_bus.c

Re: ACPI 'driver bug: Unable to set devclass'

2012-05-18 Thread John Baldwin
On Thursday, May 17, 2012 11:33:56 am Andriy Gapon wrote: on 17/05/2012 17:05 John Baldwin said the following: On Wednesday, May 16, 2012 4:07:43 pm John Baldwin wrote: Oh, whoops. Actually, the right way to do this I think is bus_hint_device_unit() (and/or, not make the unit number in

Re: ACPI 'driver bug: Unable to set devclass'

2012-05-17 Thread John Baldwin
On Wednesday, May 16, 2012 4:07:43 pm John Baldwin wrote: On Wednesday, May 16, 2012 12:18:25 pm Andriy Gapon wrote: on 16/05/2012 17:50 John Baldwin said the following: On Tuesday, May 15, 2012 12:35:12 pm Andriy Gapon wrote: Not sure what you disagree with... First, the wildcard

Re: ACPI 'driver bug: Unable to set devclass'

2012-05-17 Thread Andriy Gapon
on 17/05/2012 17:05 John Baldwin said the following: On Wednesday, May 16, 2012 4:07:43 pm John Baldwin wrote: Oh, whoops. Actually, the right way to do this I think is bus_hint_device_unit() (and/or, not make the unit number in cpuX mean anything at all, but use a separate ivar to track

Re: ACPI 'driver bug: Unable to set devclass'

2012-05-17 Thread John Baldwin
On Thursday, May 17, 2012 11:33:56 am Andriy Gapon wrote: on 17/05/2012 17:05 John Baldwin said the following: On Wednesday, May 16, 2012 4:07:43 pm John Baldwin wrote: Oh, whoops. Actually, the right way to do this I think is bus_hint_device_unit() (and/or, not make the unit number in

Re: ACPI 'driver bug: Unable to set devclass'

2012-05-16 Thread John Baldwin
On Tuesday, May 15, 2012 12:35:12 pm Andriy Gapon wrote: on 15/05/2012 17:34 John Baldwin said the following: On Monday, May 14, 2012 12:41:37 pm Andriy Gapon wrote: on 14/05/2012 01:43 Bruce Cran said the following: On 13/05/2012 21:06, Andriy Gapon wrote: Can you produce an equivalent

Re: ACPI 'driver bug: Unable to set devclass'

2012-05-16 Thread Andriy Gapon
on 16/05/2012 17:50 John Baldwin said the following: On Tuesday, May 15, 2012 12:35:12 pm Andriy Gapon wrote: Not sure what you disagree with... First, the wildcard device is added to the child list during the walk. Then, the unit 0 device is added to the list when acpi_timer identify is

Re: ACPI 'driver bug: Unable to set devclass'

2012-05-16 Thread John Baldwin
On Wednesday, May 16, 2012 12:18:25 pm Andriy Gapon wrote: on 16/05/2012 17:50 John Baldwin said the following: On Tuesday, May 15, 2012 12:35:12 pm Andriy Gapon wrote: Not sure what you disagree with... First, the wildcard device is added to the child list during the walk. Then, the unit

Re: ACPI 'driver bug: Unable to set devclass'

2012-05-15 Thread John Baldwin
On Monday, May 14, 2012 12:41:37 pm Andriy Gapon wrote: on 14/05/2012 01:43 Bruce Cran said the following: On 13/05/2012 21:06, Andriy Gapon wrote: Can you produce an equivalent snippet with verbose logging enabled? I have a suspicion that these messages are a byproduct from r231161.

Re: ACPI 'driver bug: Unable to set devclass'

2012-05-15 Thread Andriy Gapon
on 15/05/2012 17:34 John Baldwin said the following: On Monday, May 14, 2012 12:41:37 pm Andriy Gapon wrote: on 14/05/2012 01:43 Bruce Cran said the following: On 13/05/2012 21:06, Andriy Gapon wrote: Can you produce an equivalent snippet with verbose logging enabled? I have a suspicion

Re: ACPI 'driver bug: Unable to set devclass'

2012-05-14 Thread Andriy Gapon
on 14/05/2012 01:43 Bruce Cran said the following: On 13/05/2012 21:06, Andriy Gapon wrote: Can you produce an equivalent snippet with verbose logging enabled? I have a suspicion that these messages are a byproduct from r231161. acpi0: reservation of fee0, 1000 (3) failed acpi0:

ACPI 'driver bug: Unable to set devclass'

2012-05-13 Thread Bruce Cran
I've just updated to -current and noticed the following errors in dmesg: acpi0: NEC on motherboard acpi0: Power Button (fixed) acpi0: reservation of fee0, 1000 (3) failed acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, bbf0 (3) failed driver bug: Unable to set

Re: ACPI 'driver bug: Unable to set devclass'

2012-05-13 Thread Andriy Gapon
on 13/05/2012 11:39 Bruce Cran said the following: I've just updated to -current and noticed the following errors in dmesg: acpi0: NEC on motherboard acpi0: Power Button (fixed) acpi0: reservation of fee0, 1000 (3) failed acpi0: reservation of 0, a (3) failed acpi0: reservation of

Re: ACPI 'driver bug: Unable to set devclass'

2012-05-13 Thread Bruce Cran
On 13/05/2012 21:06, Andriy Gapon wrote: Can you produce an equivalent snippet with verbose logging enabled? I have a suspicion that these messages are a byproduct from r231161. acpi0: reservation of fee0, 1000 (3) failed acpi0: reservation of 0, a (3) failed acpi0: reservation of