From owner-freebsd-current@FreeBSD.ORG Thu Mar 21 22:59:33 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E6EC9FC for ; Thu, 21 Mar 2013 22:59:33 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ia0-x233.google.com (mail-ia0-x233.google.com [IPv6:2607:f8b0:4001:c02::233]) by mx1.freebsd.org (Postfix) with ESMTP id BB4626E for ; Thu, 21 Mar 2013 22:59:33 +0000 (UTC) Received: by mail-ia0-f179.google.com with SMTP id x24so2987825iak.24 for ; Thu, 21 Mar 2013 15:59:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=yYbKXjJZahgeFbc1zUO6q+8zuCLAttqvmMy1e0HvlPM=; b=nOuoh3GmzbEF/Rz3svlF5tiw2l20IE9rJcCRX1pXIFusyEDcnPQLqNJ2ekH8WmO7/A 7a2CLtOYoloqfEChYTrtcMPVxYvaNmWq4QkcvFTprAoXxvxX4tyt2Quia/1wEjMZAyce LMMuNequkpIYe+9E5v29eKHp5wZd698XaQSt3+X7eb+3qdmro2hg+UcL4mNsx8oUcVAt uByCrfa2KDcHSAmjf55IqkN7TZk02T4q+r+oOXSkC7Yqy3snFrpS2QpigPTGraJKxi3A 4eE1khTfymwJp3YL1HtWC34QFELhBifuItdELunXj7D59GMSRLlo/vLEp4S9YsGzFUos 5Dcg== X-Received: by 10.50.51.167 with SMTP id l7mr3395593igo.11.1363906773507; Thu, 21 Mar 2013 15:59:33 -0700 (PDT) Received: from [192.168.1.14] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id in10sm8513611igc.1.2013.03.21.15.59.32 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Mar 2013 15:59:32 -0700 (PDT) Message-ID: <514B90D3.7080507@gmail.com> Date: Thu, 21 Mar 2013 17:59:31 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: Konstantin Belousov Subject: Re: Kernel panics, one starting with r248508 References: <514B748F.80009@gmail.com> <20130321223813.GJ3794@kib.kiev.ua> In-Reply-To: <20130321223813.GJ3794@kib.kiev.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Mar 2013 22:59:34 -0000 On 3/21/2013 5:38 PM, Konstantin Belousov wrote: > On Thu, Mar 21, 2013 at 03:58:55PM -0500, Joshua Isom wrote: >> I've been helping Adrian test the new ath improvements that support the >> chipset I have. The first kernel panic is on my system if I have the cd >> driver loaded into the kernel, I would get a panic on boot. While >> "Mounting local file systems:" it would panic with "Memory modified >> after free." Removing the driver solved it. I'd rather have wireless >> than cd for right now anyway. But a couple days ago a new build would >> always panic, a couple seconds after getty is spawned. All I get is >> "panic: Bio too short 0xfffffe000b1395d0." Before that, the builds >> worked other than occasional issues due to cleaning. The only place >> that panic can be generated is geom_io.c so I'm guessing I can't just >> remove the driver. What needs done so I can get a working kernel again? > > Try r248596. If it does not help, get a core dump, load it into kgdb > and do "p *(struct bio *)addr", where addr is reported in the panic message. > > [jri:/var/crash] root# kgdb /boot/kernel/kernel vmcore.10 > 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"... > > Unread portion of the kernel message buffer: > panic: Bio too short 0xfffffe000a224c98 > cpuid = 1 > KDB: enter: panic > > Reading symbols from /boot/kernel/zfs.ko...Reading symbols from /boot/kernel/zfs.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/zfs.ko > Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from /boot/kernel/opensolaris.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/opensolaris.ko > Reading symbols from /boot/kernel/geom_mirror.ko...Reading symbols from /boot/kernel/geom_mirror.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/geom_mirror.ko > Reading symbols from /boot/kernel/if_ath.ko...Reading symbols from /boot/kernel/if_ath.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/if_ath.ko > Reading symbols from /boot/kernel/amdtemp.ko...Reading symbols from /boot/kernel/amdtemp.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/amdtemp.ko > Reading symbols from /boot/kernel/if_ath_pci.ko...Reading symbols from /boot/kernel/if_ath_pci.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/if_ath_pci.ko > Reading symbols from /boot/kernel/ums.ko...Reading symbols from /boot/kernel/ums.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/ums.ko > Reading symbols from /boot/kernel/ulpt.ko...Reading symbols from /boot/kernel/ulpt.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/ulpt.ko > Reading symbols from /boot/kernel/uhid.ko...Reading symbols from /boot/kernel/uhid.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/uhid.ko > Reading symbols from /boot/kernel/ipfw.ko...Reading symbols from /boot/kernel/ipfw.ko.symbols...done. > done. > Loaded symbols for /boot/kernel/ipfw.ko > kgdb: kvm_read: invalid address (0x354541500000000) > #0 0x0000000000000000 in ?? () > (kgdb) p *(struct bio *)0xfffffe000a224c98 > $1 = {bio_cmd = 1 '\001', bio_flags = 16 '\020', bio_cflags = 0 '\0', bio_pflags = 0 '\0', > bio_dev = 0x0, bio_disk = 0x0, bio_offset = 0, bio_bcount = 0, > bio_data = 0xffffff8000206000
, > bio_ma = 0xffffff80204266d0, bio_ma_offset = 0, bio_ma_n = 17, bio_error = 0, bio_resid = 0, > bio_done = 0xffffffff8078e9b0 , bio_driver1 = 0x0, bio_driver2 = 0x0, > bio_caller1 = 0x0, bio_caller2 = 0x0, bio_queue = {tqe_next = 0x0, > tqe_prev = 0xffffffff8122f418}, bio_attribute = 0x0, bio_from = 0xfffffe000a29f700, > bio_to = 0xfffffe0007486800, bio_length = 65536, bio_completed = 0, bio_children = 0, > bio_inbed = 0, bio_parent = 0xfffffe000a2c7d90, bio_t0 = {sec = 83, > frac = 2480829560582148726}, bio_task = 0, bio_task_arg = 0x0, bio_classifier1 = 0x0, > bio_classifier2 = 0x0, bio_pblkno = 0} > (kgdb)