Date: Thu, 29 Jun 2000 17:00:16 -0700 (PDT) From: "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net> To: dgilbert@velocet.ca (David Gilbert) Cc: bright@wintelcom.net (Alfred Perlstein), Freebsd-stable@FreeBSD.ORG Subject: Re: dc19 fructration. Message-ID: <200006300000.RAA00417@gndrsh.dnsmgr.net> In-Reply-To: <14683.31607.612798.996185@trooper.velocet.net> from David Gilbert at "Jun 29, 2000 12:38:15 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> >>>>> "Alfred" == Alfred Perlstein <bright@wintelcom.net> writes: > > Alfred> Using truss or gdb on ifconfig may help you find out which > Alfred> syscall is the culpret. > > Problem is that the system crashes before ifconfig -a completes, and > it would appear that the stack smashing that whatever syscall is > running does will bring down the kernel regardless of how I proceed. > > I was asking specifically if someone new the approximate code path > that ifconfig -a traversed since I was having trouble collecting this > data. > > I would assume that even if I knew what syscall was running that I'd > have to trace my way through a maze of function pointers before I got > my way clear. Here is the truss output of an ifconfig -a on an older system, but the kernel calls should be the same: (FreeBSD 3.2) syscall __sysctl(0xefbfd8c4,0x6,0x0,0xefbfd8c0,0x0,0x0) returns 0 (0x0) syscall readlink("/etc/malloc.conf",0xefbfd81c,63) errno 2 'No such file or directory' syscall mmap(0x0,4096,0x3,0x1002,-1,0x0) returns 671526912 (0x2806b000) syscall break(0x8079000) returns 0 (0x0) syscall break(0x807a000) returns 0 (0x0) syscall __sysctl(0xefbfd8c4,0x6,0x8079000,0xefbfd8c0,0x0,0x0) returns 0 (0x0) syscall socket(0x2,0x2,0x0) returns 3 (0x3) syscall ioctl(3,SIOCGIFMETRIC,0x80752f0) returns 0 (0x0) syscall ioctl(3,SIOCGIFMTU,0x80752f0) returns 0 (0x0) syscall fstat(1,0xefbfd528) returns 0 (0x0) syscall break(0x807e000) returns 0 (0x0) syscall ioctl(3,SIOCGIFMEDIA,0xefbfd7f8) returns 0 (0x0) syscall ioctl(3,SIOCGIFMEDIA,0xefbfd7f8) returns 0 (0x0) syscall close(3) returns 0 (0x0) syscall socket(0x2,0x2,0x0) returns 3 (0x3) syscall ioctl(3,SIOCGIFMETRIC,0x80752f0) returns 0 (0x0) syscall ioctl(3,SIOCGIFMTU,0x80752f0) returns 0 (0x0) syscall ioctl(3,SIOCGIFMEDIA,0xefbfd7f8) returns 0 (0x0) syscall ioctl(3,SIOCGIFMEDIA,0xefbfd7f8) returns 0 (0x0) syscall close(3) returns 0 (0x0) syscall socket(0x2,0x2,0x0) returns 3 (0x3) syscall ioctl(3,SIOCGIFMETRIC,0x80752f0) returns 0 (0x0) syscall ioctl(3,SIOCGIFMTU,0x80752f0) returns 0 (0x0) syscall ioctl(3,SIOCGIFMEDIA,0xefbfd7f8) errno 22 'Invalid argument' syscall close(3) returns 0 (0x0) syscall madvise(0x8079000,0x1000,0x5) returns 0 (0x0) de0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 ether 00:c0:f0:04:2c:d4 media: autoselect (10base5/AUI) status: active supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP <full-duplex> 10baseT/UTP de1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 198.145.92.4 netmask 0xffffffe0 broadcast 198.145.92.31 inet 198.145.92.17 netmask 0xffffffff broadcast 198.145.92.17 ether 00:80:c8:3e:32:de media: autoselect (10baseT/UTP) status: active supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 syscall write(1,0x807a000,677) returns 677 (0x2a5) syscall exit(0x0) process exit, rval = 0 -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006300000.RAA00417>