tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PUFFS after-unmount deadlock



hi,

> I have the issue of processes stuck sleeping for uvn_fp2 after a PUFFS
> ffilesystem crashed. No way to kill -9, and no way to remoune the
> filesystem, since the mount point is busy.

if it's reproducable for you, please try putter.c rev.1.33.

YAMAMOTO Takashi

> 
> Here is the process backtrace, in case someone has an idea on how to
> make that sleep interruptible:
> 
> sleepq_block(0,0,c04e551f,c04fc5c8,c1afb4f4,d861935c,c1aeed80,c1aeed80,0
> ,c1196d40) at netbsd:sleepq_block+0x9b
> mtsleep(c0a2a764,204,c04e551f,0,c1aeed80,c1af8288,d86193ec,c025a100,0,c0
> 18f70b) at netbsd:mtsleep+0x108
> uvn_findpage(d861953c,0,0,c1afb4dc,0,0,2,d861953c,c1af8288,0) at
> netbsd:uvn_findpage+0xdd  
> uvn_findpages(c1afb4dc,20000,0,d8619580,d861953c,0,d861946c,d861952c,c1a
> fb4dc,30000) at netbsd:uvn_findpages+0x78
> genfs_getpages(d861968c,c0655004,d86195fc,c0455a43,c064a520,c030ff63,d86
> 195fc,c0482993,0,c1a779c0) at netbsd:genfs_getpages+0x5a8
> puffs_vnop_getpages(d861968c,c1aeed80,d86196bc,c0249e31,0,0,c041171e,0,c
> 051b404,10) at netbsd:puffs_vnop_getpages+0x3b
> VOP_GETPAGES(c1afb4dc,20000,0,d86196f0,d861978c,0,1,0,1802,c1aac7e0) at
> netbsd:VOP_GETPAGES+0x7b
> ubc_fault(d86198c0,d7f5e000,d8619820,1,0,1,2,c03f40d1,2,c051b404) at
> netbsd:ubc_fault+0x203
> uvm_fault_internal(c051b400,d7f5e000,1,0,6,c1b34d80,c1a2be00,c04559c5,c0
> 655004,0) at netbsd:uvm_fault_internal+0x5d1
> trap() at netbsd:trap+0x8ba
> --- trap (number 6) ---
> copyout(c19b86a4,d7f5e000,bb920ffc,4,0,c1a77340,d8619a9c,c0381400,0,d7df
> 2000) at netbsd:copyout+0x33
> uiomove(d7f5e000,4,d8619c40,d8619af0,0,101,d8619adc,c045239d,d7f5e000,10
> 0) at netbsd:uiomove+0xb9
> ubc_uiomove(c1afb4dc,d8619c40,10000,0,101,0,d8619b6c,c0243cfd,0,0) at
> netbsd:ubc_uiomove+0x111
> puffs_vnop_read(d8619ba0,1,d8619b9c,fffffffe,8,c03a46bf,0,c04559c5,c14ab
> 240,c1ab3280) at netbsd:puffs_vnop_read+0x248
> VOP_READ(c1afb4dc,d8619c40,0,c1a88e40,c14ab244,0,c1ab3280,10000,6,1) at
> netbsd:VOP_READ+0x58
> vn_read(c1afad40,c1afad40,d8619c40,c1a88e40,1,1,0,c0249e31,0,0) at
> netbsd:vn_read+0x93
> dofileread(0,c1afad40,bb911000,10000,c1afad40,1,d8619d1c,0,0,0) at
> netbsd:dofileread+0x77
> sys_read(c1aac7e0,d8619cf4,d8619d1c,207,c04559c5,c12fa168,c04f2080,d8619
> d40,3,c1aa66bc) at netbsd:sys_read+0x6f
> syscall(d8619d48,bbbb00b3,ab,bfbf001f,bbbb001f,0,bb911000,bfbfe6c8,0,100
> 00) at netbsd:syscall+0x8f
> 
> 
> 
> 
> -- 
> Emmanuel Dreyfus
> http://hcpnet.free.fr/pubz
> manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index