From owner-freebsd-embedded@FreeBSD.ORG Mon Jan 12 00:31:09 2009 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16F34106564A for ; Mon, 12 Jan 2009 00:31:09 +0000 (UTC) (envelope-from mah@jump-ing.de) Received: from mail.ud03.udmedia.de (ud03.udmedia.de [194.117.254.43]) by mx1.freebsd.org (Postfix) with ESMTP id 7490E8FC1E for ; Mon, 12 Jan 2009 00:31:07 +0000 (UTC) (envelope-from mah@jump-ing.de) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h= mime-version:content-transfer-encoding:message-id:content-type: to:from:subject:date; q=dns/txt; s=beta; bh=Hmo+KI/suviveTL2F/zM a/P8KilgHVqQTv7H/SIxPtQ=; b=qAQ9JONbaCcBG7eCiS+oHgLSX0uZ2oDjlNpW +WTrUdNQ5xMB3jI4Hi3yu4zS9oT29GnyoiuR+GtXGcOgQQ7nYypNfNpsmkJbgeNg b59fN4Old7DLp6yyuMdl5MRcSkzQCphjqZgr/FZOSUppekos5Hzt/oD6itMJXiwJ agZjvQk= Received: (qmail 17725 invoked from network); 12 Jan 2009 01:31:06 +0100 Received: from unknown (HELO ?10.0.0.50?) (ud03?291p1@82.212.11.84) by mail.ud03.udmedia.de with ESMTPA; 12 Jan 2009 01:31:06 +0100 Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <5A12A808-AC77-478A-A5E8-A13B63EEC3A1@jump-ing.de> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-embedded@freebsd.org From: Markus Hitter Date: Mon, 12 Jan 2009 01:31:03 +0100 X-Mailer: Apple Mail (2.753.1) Subject: 7.1 Release broke my box X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2009 00:31:09 -0000 Hello all, it's me again :-) Last Friday, after seeing ext2fs doesn't work with the 7.0 kernel, I decided to do yet another step and upgrade to 7.1 Release. The virtual machine for building tinybsd setup and ran flawlessly, but a tinybsd image built from it doesn't like networking any longer. The non-working box is a Geode-based Flepo Alpha, which uses the re network driver. The tinybsd settings and set of files is exactly the same as the one which worked flawlessly in 7.0 Release. Yet, the symptoms are: - DHCP doesn't catch the DHCP server's response any longer. - Setting up networking manually helps to get this up. - I can ssh out of the box, but not into the box. - If I start telnetd on the box manually in the console, I can telnet into the box. - lighttpd refuses to pick up his work. - The odd is: Not a single error message in sight, connections just hang or time out. - /var/log doesn't contain a hint. Now a 15-year-unix veteran looks pretty baffled. To illustrate this, I've copied the output of an attempt to run dhclient from the console and an attempt to ssh into the box below. Any ideas anybody what's going on here? Thanks, Markus - - - snip - - - root@git# dhclient re0 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 7 DHCPOFFER from 10.0.0.1 [... about five minutes pause ...] ^C# mah@piccard:~$ ssh -v git OpenSSH_5.1p1 Debian-3ubuntu1, OpenSSL 0.9.8g 19 Oct 2007 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to git [10.0.0.20] port 22. debug1: Connection established. debug1: identity file /home/mah/.ssh/identity type -1 debug1: identity file /home/mah/.ssh/id_rsa type -1 debug1: identity file /home/mah/.ssh/id_dsa type 2 debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024 debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 FreeBSD-20080901 debug1: match: OpenSSH_5.1p1 FreeBSD-20080901 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.1p1 Debian-3ubuntu1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'git' is known and matches the DSA host key. debug1: Found key in /home/mah/.ssh/known_hosts:15 debug1: ssh_dss_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received [... about a minute pause here ...] Connection closed by 10.0.0.20 mah@piccard:~$ - - - snip - - - - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/ From owner-freebsd-embedded@FreeBSD.ORG Mon Jan 12 03:37:48 2009 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 983B7106566C for ; Mon, 12 Jan 2009 03:37:48 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (ns2.timing.com [206.168.13.218]) by mx1.freebsd.org (Postfix) with ESMTP id 627688FC1C for ; Mon, 12 Jan 2009 03:37:48 +0000 (UTC) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id n0C3Dnhd017282 for ; Sun, 11 Jan 2009 20:13:50 -0700 (MST) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.14.3/8.14.3) with ESMTP id n0C2pXt9068680; Sun, 11 Jan 2009 19:51:33 -0700 (MST) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.3/8.14.3/Submit) id n0C2pXM1068677; Sun, 11 Jan 2009 19:51:33 -0700 (MST) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18794.45109.504512.894659@gromit.timing.com> Date: Sun, 11 Jan 2009 19:51:33 -0700 From: John Hein To: Markus Hitter In-Reply-To: <5A12A808-AC77-478A-A5E8-A13B63EEC3A1@jump-ing.de> References: <5A12A808-AC77-478A-A5E8-A13B63EEC3A1@jump-ing.de> X-Mailer: VM 7.19 under Emacs 22.3.1 X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on Daffy.timing.com X-Virus-Status: Clean Cc: freebsd-embedded@freebsd.org Subject: Re: 7.1 Release broke my box X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2009 03:37:48 -0000 Markus Hitter wrote at 01:31 +0100 on Jan 12, 2009: > Last Friday, after seeing ext2fs doesn't work with the 7.0 kernel, I > decided to do yet another step and upgrade to 7.1 Release. The > virtual machine for building tinybsd setup and ran flawlessly, but a > tinybsd image built from it doesn't like networking any longer. The > non-working box is a Geode-based Flepo Alpha, which uses the re > network driver. What happens if you build a kernel with the 7.0 version of sys/dev/re/if_re.c? You may have to roll back sys/pci/if_rlreg.h too. What happens to the link light while these things are happening? From owner-freebsd-embedded@FreeBSD.ORG Mon Jan 12 08:52:10 2009 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2B321065670 for ; Mon, 12 Jan 2009 08:52:10 +0000 (UTC) (envelope-from mah@jump-ing.de) Received: from mail.ud03.udmedia.de (ud03.udmedia.de [194.117.254.43]) by mx1.freebsd.org (Postfix) with ESMTP id 183798FC1C for ; Mon, 12 Jan 2009 08:52:09 +0000 (UTC) (envelope-from mah@jump-ing.de) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h= in-reply-to:references:mime-version:content-type:message-id:cc: content-transfer-encoding:from:subject:date:to; q=dns/txt; s= beta; bh=iVScvaPPlKbhsPdR8tnqr1pfuT2hHgivsZAyxhePRA4=; b=JzHlO2n fR+JwTgdIxitJsr/1zcpa/Zj/oALCjn5ybcouAyNAGpK5ibqdXc4tRYYcMHgLphn 3lif0ATKvpaUiG3Vub5zBg3PcreqTh98LRtGWUGGTv6haVMREl7/9WI4PcJz9GlP G8agNQTQ0RBbOtQ3XJulHDHgbs7dH4LkuPIk= Received: (qmail 12573 invoked from network); 12 Jan 2009 09:52:07 +0100 Received: from unknown (HELO ?10.0.0.50?) (ud03?291p1@82.212.11.84) by mail.ud03.udmedia.de with ESMTPA; 12 Jan 2009 09:52:07 +0100 In-Reply-To: <18794.45109.504512.894659@gromit.timing.com> References: <5A12A808-AC77-478A-A5E8-A13B63EEC3A1@jump-ing.de> <18794.45109.504512.894659@gromit.timing.com> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <78392165-0ACF-4473-8C34-72E5147B344C@jump-ing.de> Content-Transfer-Encoding: 7bit From: Markus Hitter Date: Mon, 12 Jan 2009 09:52:13 +0100 To: John Hein X-Mailer: Apple Mail (2.753.1) Cc: freebsd-embedded@freebsd.org Subject: Re: 7.1 Release broke my box X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2009 08:52:10 -0000 Am 12.01.2009 um 03:51 schrieb John Hein: > Markus Hitter wrote at 01:31 +0100 on Jan 12, 2009: >> Last Friday, after seeing ext2fs doesn't work with the 7.0 kernel, I >> decided to do yet another step and upgrade to 7.1 Release. The >> virtual machine for building tinybsd setup and ran flawlessly, but a >> tinybsd image built from it doesn't like networking any longer. The >> non-working box is a Geode-based Flepo Alpha, which uses the re >> network driver. > > What happens if you build a kernel with the 7.0 version of > sys/dev/re/if_re.c? You may have to roll back sys/pci/if_rlreg.h too. The exactly same (had to roll back sys/pci/if_rl.c as well). > What happens to the link light while these things are happening? The green light stays on, the yellow one flickers, just like expected. Obviously, the transmission gets interrupted at some higher level. Do I really have to bisect the entire kernel with it's 10,000 revisions now? *sigh* MarKus - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/ From owner-freebsd-embedded@FreeBSD.ORG Mon Jan 12 11:06:50 2009 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 110B410656D2 for ; Mon, 12 Jan 2009 11:06:50 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F11598FC0A for ; Mon, 12 Jan 2009 11:06:49 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0CB6nI5091944 for ; Mon, 12 Jan 2009 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0CB6njK091940 for freebsd-embedded@FreeBSD.org; Mon, 12 Jan 2009 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Jan 2009 11:06:49 GMT Message-Id: <200901121106.n0CB6njK091940@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2009 11:06:50 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/101228 embedded [nanobsd] [patch] Two more entries for FlashDevice.sub o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c o misc/15876 embedded [picobsd] PicoBSD message of the day problems 4 problems total. From owner-freebsd-embedded@FreeBSD.ORG Tue Jan 13 15:12:35 2009 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86DD41065672 for ; Tue, 13 Jan 2009 15:12:35 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (w.timing.com [206.168.13.218]) by mx1.freebsd.org (Postfix) with ESMTP id 32CBE8FC0C for ; Tue, 13 Jan 2009 15:12:35 +0000 (UTC) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id n0DFCW7g073850; Tue, 13 Jan 2009 08:12:33 -0700 (MST) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.14.3/8.14.3) with ESMTP id n0DFCPoA093778; Tue, 13 Jan 2009 08:12:25 -0700 (MST) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.3/8.14.3/Submit) id n0DFCOdb093774; Tue, 13 Jan 2009 08:12:24 -0700 (MST) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18796.44888.658271.953215@gromit.timing.com> Date: Tue, 13 Jan 2009 08:12:24 -0700 From: John Hein To: Markus Hitter In-Reply-To: <78392165-0ACF-4473-8C34-72E5147B344C@jump-ing.de> References: <5A12A808-AC77-478A-A5E8-A13B63EEC3A1@jump-ing.de> <18794.45109.504512.894659@gromit.timing.com> <78392165-0ACF-4473-8C34-72E5147B344C@jump-ing.de> X-Mailer: VM 7.19 under Emacs 22.3.1 X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on Daffy.timing.com X-Virus-Status: Clean Cc: freebsd-embedded@freebsd.org Subject: Re: 7.1 Release broke my box X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2009 15:12:35 -0000 Markus Hitter wrote at 09:52 +0100 on Jan 12, 2009: > > Am 12.01.2009 um 03:51 schrieb John Hein: > > > Markus Hitter wrote at 01:31 +0100 on Jan 12, 2009: > >> Last Friday, after seeing ext2fs doesn't work with the 7.0 kernel, I > >> decided to do yet another step and upgrade to 7.1 Release. The > >> virtual machine for building tinybsd setup and ran flawlessly, but a > >> tinybsd image built from it doesn't like networking any longer. The > >> non-working box is a Geode-based Flepo Alpha, which uses the re > >> network driver. > > > > What happens if you build a kernel with the 7.0 version of > > sys/dev/re/if_re.c? You may have to roll back sys/pci/if_rlreg.h too. > > The exactly same (had to roll back sys/pci/if_rl.c as well). > > > What happens to the link light while these things are happening? > > The green light stays on, the yellow one flickers, just like expected. > > Obviously, the transmission gets interrupted at some higher level. Do > I really have to bisect the entire kernel with it's 10,000 revisions > now? *sigh* My guess was the first obvious one I could think of since I knew changes happened in the re/rl drivers. I can't think of anything else obvious between 7.0 & 7.1 that would affect this (particularly since I have an re that works fine in 7.1 - at least a 7.1 from, say, September). As far as bisecting goes, I recommend binary search by date on the RELENG_7 branch rather than trying to rollback individual revs. Note that cvs 1.12 allows checking out by date (-D) on a branch (-rRELENG_7) (but not 1.11). Or you can use cvsup to help with that I think. From owner-freebsd-embedded@FreeBSD.ORG Tue Jan 13 16:21:05 2009 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A81D106566B for ; Tue, 13 Jan 2009 16:21:05 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 063918FC25 for ; Tue, 13 Jan 2009 16:21:04 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n0DGJ7CC029403; Tue, 13 Jan 2009 09:19:08 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 13 Jan 2009 09:19:31 -0700 (MST) Message-Id: <20090113.091931.-1115301799.imp@bsdimp.com> To: jhein@timing.com From: "M. Warner Losh" In-Reply-To: <18796.44888.658271.953215@gromit.timing.com> References: <18794.45109.504512.894659@gromit.timing.com> <78392165-0ACF-4473-8C34-72E5147B344C@jump-ing.de> <18796.44888.658271.953215@gromit.timing.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: mah@jump-ing.de, freebsd-embedded@FreeBSD.org Subject: Re: 7.1 Release broke my box X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2009 16:21:05 -0000 In message: <18796.44888.658271.953215@gromit.timing.com> John Hein writes: : Markus Hitter wrote at 09:52 +0100 on Jan 12, 2009: : > : > Am 12.01.2009 um 03:51 schrieb John Hein: : > : > > Markus Hitter wrote at 01:31 +0100 on Jan 12, 2009: : > >> Last Friday, after seeing ext2fs doesn't work with the 7.0 kernel, I : > >> decided to do yet another step and upgrade to 7.1 Release. The : > >> virtual machine for building tinybsd setup and ran flawlessly, but a : > >> tinybsd image built from it doesn't like networking any longer. The : > >> non-working box is a Geode-based Flepo Alpha, which uses the re : > >> network driver. : > > : > > What happens if you build a kernel with the 7.0 version of : > > sys/dev/re/if_re.c? You may have to roll back sys/pci/if_rlreg.h too. : > : > The exactly same (had to roll back sys/pci/if_rl.c as well). : > : > > What happens to the link light while these things are happening? : > : > The green light stays on, the yellow one flickers, just like expected. : > : > Obviously, the transmission gets interrupted at some higher level. Do : > I really have to bisect the entire kernel with it's 10,000 revisions : > now? *sigh* : : My guess was the first obvious one I could think of since I knew : changes happened in the re/rl drivers. I can't think of anything else : obvious between 7.0 & 7.1 that would affect this (particularly since I : have an re that works fine in 7.1 - at least a 7.1 from, say, : September). : : As far as bisecting goes, I recommend binary search by date on the : RELENG_7 branch rather than trying to rollback individual revs. Note : that cvs 1.12 allows checking out by date (-D) on a branch : (-rRELENG_7) (but not 1.11). Or you can use cvsup to help with that I : think. I also think there were some bugs fixed in re/rl in stable lately... Warner