DragonFly commits List (threaded) for 2009-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: git: disk/fd - fix panics
Matt,
as you are calling setdiskinfo from inside the attach routine, when
device_busy is called, the device isn't attached yet.
While the probing is asynchronous, maybe it still occurs too early,
before finalizing the attach?
Sincerely,
Alex Hornung
2009/8/17 Alex <ahornung@gmail.com>:
> This (probably) breaks boot up on my VMWare DragonFly. I get the panic:
> "panic: device_busy: called for unattached device"
>
> Backtrace is,
> panic
> device_busy (4 times)
> fdstrategy
> dev_dstrategy
> diskstrategy
> dev_dstrategy
> diskstrategy
> dev_dstrategy
> mbrinit
> disk_probe
>
>
> What do you suggest?
>
> Sincerely,
> Alex Hornung
>
> 2009/8/17 Matthew Dillon <dillon@crater.dragonflybsd.org>:
>>
>> commit 7ba1363dc2de5d5270486f696e0444e69cd2bf99
>> Author: Matthew Dillon <dillon@apollo.backplane.com>
>> Date: Sun Aug 16 11:18:17 2009 -0700
>>
>> disk/fd - fix panics
>>
>> * Call disk_setdiskinfo() on startup.
>>
>> * Adjust kernel to not panic if a disk device is opened before
>> disk_setdiskinfo() has been called.
>>
>> Summary of changes:
>> sys/dev/disk/fd/fd.c | 17 ++++++++++++++++-
>> sys/kern/subr_disk.c | 7 ++++++-
>> 2 files changed, 22 insertions(+), 2 deletions(-)
>>
>> http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7ba1363dc2de5d5270486f696e0444e69cd2bf99
>>
>>
>> --
>> DragonFly BSD source repository
>>
>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]