FreeBSD 7.1-PRERELEASE-p1, panic: dqget: free dquot isn't

Frode Nordahl frode at nordahl.net
Thu Dec 4 04:20:38 PST 2008


On 4. des.. 2008, at 13.07, Kostik Belousov wrote:

> On Thu, Dec 04, 2008 at 08:12:45AM +0100, Frode Nordahl wrote:
>> Got it!
>>
>> panic: dqget: free dquot isn't dq=0xffffff00b3d27000
>> (kgdb) p/x *(struct dquot *)0xffffff00b3d27000
>> $1 = {dq_hash = {le_next = 0x0, le_prev = 0xffffff010b9da700},
>> dq_freelist = {
>>    tqe_next = 0xffffff0055e2de00, tqe_prev = 0xffffffff80b03710},
>> dq_lock = {
>>    lock_object = {lo_name = 0xffffffff8088c21c, lo_type =
>> 0xffffffff8088c21c,
>>      lo_flags = 0x1030000, lo_witness_data = {lod_list = {stqe_next
>> = 0x0},
>>        lod_witness = 0x0}}, mtx_lock = 0x4, mtx_recurse = 0x0},
>>  dq_flags = 0xc, dq_type = 0x0, dq_cnt = 0x0, dq_id = 0x16a37d,
>>  dq_ump = 0xffffff00038e1600, dq_dqb = {dqb_bhardlimit = 0x0,
>>    dqb_bsoftlimit = 0x0, dqb_curblocks = 0x0, dqb_ihardlimit = 0x0,
>>    dqb_isoftlimit = 0x0, dqb_curinodes = 0x1, dqb_btime = 0x493ef2b5,
>>    dqb_itime = 0x493ef2b5}}
>>
>> Let me know if I can provide any more information!
>>
>> Updated the crashinfo archive you got an URL to yesterday if you want
>> to poke around yourself.
>
> Please, try the patch below, it should fix a race I see. Quite  
> possible,
> this is what you tripped over.

Thanks! I will apply the patch and retry the steps that lead to the  
panic!

> On the other hand, dq_id == 1483645 looks very suspicious. Do you
> actually have such large uid in the system ? Could it be that you have
> file on fs owned by such uid ?

Yes. The system has uids ranging from 0 to 3152039 :-)

--
Frode Nordahl





More information about the freebsd-stable mailing list