mutex Giant recursed at /usr/src/sys/kern/tty.c:1222 (via linux_ioctl_termio)

Yuriy Tsibizov Yuriy.Tsibizov at gfk.com
Sun Mar 1 23:52:46 PST 2009


Ed, 

I've got a nice panic running user-mode linux uder (linux) gdb under
slightly modified FreeBSD kernel. As I understand, these changes should
not have any effect on tty code paths, but I want to warn you that this
is not 'clean' FreeBSD. All local changes (cvs -R diff -u /usr/src) are
available at
http://chibis.persons.gfk.ru/freebsd/panic2/local-changes.gz. 

I did no attempts to reproduce this, but may try to do it (I also want
to get good crashdump, not textdump I have now).

What I had running:

1) /usr/sbin/ppp was running, but at the time of panic it was
disconneted. I use it for dial-up connection.

2) linux (gentoo) with /proc (linprocfs) mounted
free# chroot /fwdisk/gentoo/gentoo-stage3 bin/sh
sh-3.2# uname -a
Linux free.home.local 2.6.16 FreeBSD 8.0-CURRENT #0: Sun Feb 22 14:04:27
MSK 200
9 i686 AMD Athlon(tm) XP 1500+ AuthenticAMD GNU/Linux
sh-3.2# cat /etc/gentoo-release
Gentoo Base System version 1.6.14
sh-3.2#

3)user-mode linux (http://chibis.persons.gfk.ru/linux/) was started
under linux gdb (and crashed). did some backtrace analysis, and had
console output scrolled back.

I have only textdumps for now
(http://chibis.persons.gfk.ru/freebsd/panic2/textdump.tar.gz), if you
need full crashdump I can try to reproduce it later.

Yuriy.



More information about the freebsd-current mailing list