Re: [unionfs][patch] improvements of the unionfs - Problem Report, kern/91010

From: Dario Freni <saturnero_at_freesbie.org>
Date: Tue, 17 Jan 2006 18:29:24 +0100
Daichi GOTO ha scritto:
> I have updated the patches:
> 
>   For 7-current patch
>     http://people.freebsd.org/~daichi/unionfs/unionfs-p5.diff
> 
>   For 6.x patch
>     http://people.freebsd.org/~daichi/unionfs/unionfs6-p5.diff
> 
> Changes from -p4:
>   - fixed around "can't fifo/vnode bypass -1" panic problem
>   - added some comments into source-code for src-developer
>   - edited style as style(9) saye

FreeSBIE test image with a debug kernel patched with -p5 patchset:

http://torrent.freesbie.org/FreeSBIE-unionfs-i386-20060116.iso.torrent

To obtain a panic, just do normal operations like login as freesbie
(/usr/home/freesbie is under unionfs). If you log in as root, you should
be able to inspect something in the filesystem without having a panic.

The panic is triggered by the chdir syscall:

panic: userret: Returning with 1 locks held.
cpuid = 0
KDB: enter: panic
[thread pid 592 tid 100063 ]
Stopped at      kdb_enter+0x2c: leave
db> bt
Tracing pid 592 tid 100063 td 0xc1a8a180
kdb_enter(c08fc650,100,c1a8a180,d,c1f2c000) at kdb_enter+0x2c
panic(c08ff985,1,d,c1a8a180,c1f2c000) at panic+0x17f
ast(c1a8a180,c83c5d38,43,2,43) at ast
syscall(3b,3b,3b,3e8,bfbfe940) at syscall+0x186
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (13, FreeBSD ELF32, fchdir), eip = 0x28131cdb, esp =
0xbfbfe84c, ebp = 0xbfbfe8e8 ---
db>

Bye,
Dario

-- 
Dario Freni (saturnero_at_freesbie.org)
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc

Received on Tue Jan 17 2006 - 16:29:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:50 UTC