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

Dario Freni saturnero at freesbie.org
Tue Jan 17 09:29:44 PST 2006

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:


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 ---


Dario Freni (saturnero at freesbie.org)
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 186 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060117/1875b540/signature.bin

More information about the freebsd-current mailing list