From owner-freebsd-current@freebsd.org Mon Mar 21 16:14:47 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1325AD89F5 for ; Mon, 21 Mar 2016 16:14:47 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 688B7D7B for ; Mon, 21 Mar 2016 16:14:47 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-oi0-x231.google.com with SMTP id d205so144387442oia.0 for ; Mon, 21 Mar 2016 09:14:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=Yf0NBkJeylYOWbF7liJQLnTidnXIcOQbPjO2njanu04=; b=gWlTm9BEnIKqgt+rO4bVmoRVJsaRg/0DegIJO5J6Nojwq2bExDS+Tbjp0hI955Loxn lvO3cRow97M6QyDKJoUr0Ixft/YXUMOC54sUUWZpnhues5bDlrLCiDv0zClbVSGsSJA3 hC0B88ui2s3QPWWe5tLDUrSfW9UcUy6JBJqggNa94x0ibHa99RSJWQMFPyxvIlWtF580 U5NtcrjKfmLwMQXkKil9CDPGPwBz6WGWJBWJ+xW7yZZX91UDXOkNWi86A1321DzIqQDh VfocnAK8yQDbqpEm4k8JhEHISNlvftlh3E0G0HdQ/kMxOVC/Zq5TmGoR5o6LsDiOPelT 0wsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=Yf0NBkJeylYOWbF7liJQLnTidnXIcOQbPjO2njanu04=; b=DTZDxibOJv4xJ29KX5pC17VWSqt5OVhIhvxsMnUP5W1dH0gGg0QSSM3BllHGg2GBme Zwd8v/KH76DFOnOSkTakSd55hR7Mo1gdzYNRvmw+BajM4mb8+rN4kmF702MvWz8uj24e 6vGo0KpLJWD0Ham+6GppUKKzk+luQq8eAwcdPaKokl4S3ZDgcwIFmvQFVMZC7mQJBoC0 DlE6RPZJZHMwEUJUY2GCy4nIpKIAKO5ubc2Q8vMLkHwAk8afvOZvnIPuGOMTfDpPVIOJ 8ztovLbCaSlXXc+CMPSmot4NN5XXWp/5rS6OGEyDRugFlDf6p8iFYkjHAlpCdlOHuAg2 yA0w== X-Gm-Message-State: AD7BkJIFdSIru82igNuIbgS/fU5EvdkXyJBDjUnZM72HR6cacjzY3NHtDfOyhHMSy90wvx4EinR432sCRCZJFg== MIME-Version: 1.0 X-Received: by 10.157.63.53 with SMTP id m50mr1196733otc.54.1458576886755; Mon, 21 Mar 2016 09:14:46 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.182.33.8 with HTTP; Mon, 21 Mar 2016 09:14:46 -0700 (PDT) In-Reply-To: <56F01D41.9000607@protected-networks.net> References: <56F01D41.9000607@protected-networks.net> Date: Mon, 21 Mar 2016 11:14:46 -0500 X-Google-Sender-Auth: EZBnNx-AFJLj_vZrQPJurcy3EHE Message-ID: Subject: Re: SVN r296987 -> r297000 breaks Sil 3124 channel attach From: Justin Hibbits To: Michael Butler Cc: freebsd-current Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 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: Mon, 21 Mar 2016 16:14:47 -0000 You're right. On line 323 of sys/dev/siis/siis.c, try replacing 'long' with 'rman_res_t', as I did for ahci.c. If this works, tonight I'll commit the fix. I envision there may be others using 'long' instead of 'u_long' for rman (u_long was the correct form until rman_res_t, so signed long was already a bug). - Justin On Mon, Mar 21, 2016 at 11:11 AM, Michael Butler wrote: > Something between SVN r296987 and r297000 causes the following errors in > dmesg .. and the loss of the attached disks: > > siisch0: at channel 0 on siis0 > device attach: siisch0 attach returned 6 > siisch1: at channel 1 on siis0 > device attach: siisch0 attach returned 6 > siisch2: at channel 2 on siis0 > device attach: siisch0 attach returned 6 > siisch3: at channel 3 on siis0 > device attach: siisch0 attach returned 6 > > I can't see anything but r297000 causing this :-( > > Michael >