amd64/141413: [hang] Tyan 2881 m3289 SMDC freeze

Byron Young bkyoung74q9 at
Mon Dec 14 01:40:03 UTC 2009

The following reply was made to PR amd64/141413; it has been noted by GNATS.

From: Byron Young <bkyoung74q9 at>
To: bug-followup at
Subject: Re: amd64/141413: [hang] Tyan 2881 m3289 SMDC freeze
Date: Sun, 13 Dec 2009 17:35:29 -0800 (PST)

 A debugging session puts the hang at line 581. Interesting to note that some other *nix distros don't seem to have this hangup.
 # sysctl hw.bge.allow_asf
 hw.bge.allow_asf: 1
 # cat if.txt
 b main
 set args -v bge0 inet netmask
 # gdb -x if.txt ifconfig
 GNU gdb 6.1.1 [FreeBSD]
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you are
 welcome to change it and/or distribute copies of it under certain conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for details.
 This GDB was configured as "amd64-marcel-freebsd"...
 Breakpoint 1 at 0x402b48: file /usr/src/sbin/ifconfig/ifconfig.c, line 143.
 Breakpoint 1, main (argc=7, argv=0x7fffffffecd0)
     at /usr/src/sbin/ifconfig/ifconfig.c:143
 143	{
 (gdb) b ifconfig
 Breakpoint 2 at 0x403736: file /usr/src/sbin/ifconfig/ifconfig.c, line 465.
 (gdb) c
 Breakpoint 2, ifconfig (argc=3, argv=0x7fffffffecf0, iscreate=0, 
     uafp=0x521f60) at /usr/src/sbin/ifconfig/ifconfig.c:465
 465		strncpy(ifr.ifr_name, name, sizeof ifr.ifr_name);
 (gdb) b 581
 Breakpoint 3 at 0x403bff: file /usr/src/sbin/ifconfig/ifconfig.c, line 581.
 (gdb) c
 Breakpoint 3, ifconfig (argc=0, argv=0x7fffffffed08, iscreate=0, 
     uafp=0x521f60) at /usr/src/sbin/ifconfig/ifconfig.c:581
 581			if (ioctl(s, afp->af_aifaddr, afp->af_addreq) < 0)
 (gdb) quit

More information about the freebsd-amd64 mailing list