Hello, Trying to solve my old re(4) problem (see PR kern/80005) and seeing if polling(4) can help me in this area, i encountered this new LOR: lock order reversal 1st 0xc2412cb0 re0 (network driver) _at_ /usr/src/sys/dev/re/if_re.c:2098 2nd 0xc09dfae0 Giant (Giant) _at_ /usr/src/sys/kern/kern_poll.c:460 KDB: stack backtrace: kdb_backtrace(c0915d56,c09dfae0,c09250a6,c09250a6,c09116db) at kdb_backtrace+0x2f witness_checkorder(c09dfae0,9,c09116db,1cc,1) at witness_checkorder+0x6d0 _mtx_lock_flags(c09dfae0,0,c09116db,1cc,c2523400) at _mtx_lock_flags+0x85 ether_poll_deregister(c2523400,c2412800,0,954,c2412800) at ether_poll_deregister+0x2e re_stop(c2412800,1,c08ff33d,83f,c2527a00) at re_stop+0x65 re_init_locked(c2412800,0,c08ff33d,832,c2523400) at re_init_locked+0x4a re_init(c2412800,c06c523d,c09e73c0,8020690c,0) at re_init+0x3d ether_ioctl(c2523400,8020690c,c2735c00,c091583d,c2412800) at ether_ioctl+0x74 re_ioctl(c2523400,8020690c,c2735c00,5,0) at re_ioctl+0x207 in6_ifinit(c2523400,c2735c00,ef4f0b00,1,c2793000) at in6_ifinit+0xd1 in6_update_ifa(c2523400,ef4f0af0,0,c22cf2d4,c22cf180) at in6_update_ifa+0x538 in6_ifattach_linklocal(c2523400,0,246,c09e73c0,c09877a8) at in6_ifattach_linklocal+0x10e in6_ifattach(c2523400,0,0,0,0) at in6_ifattach+0xd5 in6_if_up(c2523400,c25258a0) at in6_if_up+0x1b if_route(c2523400,1,0,ef4f0c3c,c07145ef) at if_route+0x74 if_up(c2523400,ef4f0c1c,c0692640,c0a2e7a0,1) at if_up+0x21 ifhwioctl(80206910,c2523400,c27675e0,c2793000,2) at ifhwioctl+0x2a6 ifioctl(c2827b20,80206910,c27675e0,c2793000,1) at ifioctl+0xea soo_ioctl(c2795708,80206910,c27675e0,c22cba80,c2793000) at soo_ioctl+0x39c ioctl(c2793000,ef4f0d04,c,422,3) at ioctl+0x463 syscall(805003b,805003b,bfbf003b,4,1) at syscall+0x295 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280cc2ff, esp = 0xbfbfe90c, ebp = 0xbfbfe958 --- # uname -a FreeBSD boboche.thilelli.net 6.0-BETA3 FreeBSD 6.0-BETA3 #1: Sat Aug 27 14:36:42 CEST 2005 root_at_boboche.thilelli.net:/usr/obj/usr/src/sys/BOBOCHE i386 # ident /usr/src/sys/dev/re/if_re.c /usr/src/sys/dev/re/if_re.c: $FreeBSD: src/sys/dev/re/if_re.c,v 1.46.2.3 2005/08/25 05:01:14 rwatson Exp $ # ident /usr/src/sys/kern/kern_poll.c /usr/src/sys/kern/kern_poll.c: $FreeBSD: src/sys/kern/kern_poll.c,v 1.19.2.1 2005/08/25 05:01:19 rwatson Exp $ Side note: it doesn't solve or change anything for the PR kern/80005 though. Regards, -- -jpeg.Received on Sat Aug 27 2005 - 11:13:57 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:42 UTC