From owner-freebsd-hackers@freebsd.org Tue Apr 19 18:15:43 2016 Return-Path: Delivered-To: freebsd-hackers@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 AB1F4B15B27 for ; Tue, 19 Apr 2016 18:15:43 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (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 539B113AD for ; Tue, 19 Apr 2016 18:15:43 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-wm0-x243.google.com with SMTP id e201so4916106wme.2 for ; Tue, 19 Apr 2016 11:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=l/56HYk3U9Y4LV+2FmZVDHqpDTYCIi9PrEWu1pOBxZw=; b=LfrNsJSi3bPsrC7H9eRBU2eKoTlpu+KYgGXzS/RynR3kJSh2WSinQpzgP3isEkcT7z 1a5d/jRyV5A7zgJMmhHZCpmpeG7N/4taSisynJdA/zE0y/kiguYWSZ7Gr00L/zcwf5lU vWALBYNF+Sdb7LWstGI0PAhknhJ8TRpah9TOqSCHwgs4SM9rr0DYD+HjYlG9k9q4kehQ J59v5jvME2AYNCxOypAWia9AHRTxhBv9j6fVrEi4qMjSeaJbS9tgN69wFm3etD9aJsVb 2XFH0+Hn13+mAOtaxZtKOHXe/4ajL71Q8mwhSylZPPAfAKvERb9kyc1Vxj8MsGUIO6Og DJtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:mime-version:subject:from:in-reply-to :date:cc:content-transfer-encoding:message-id:references:to; bh=l/56HYk3U9Y4LV+2FmZVDHqpDTYCIi9PrEWu1pOBxZw=; b=gWw4JeaFxIXUTNdrsx3HnV7CNEQ1m6PKoH+CGFDo8ezjxyvVBTKCJBDoNuM6oBERX7 B1S9vmJP1PH87/L69lyinhRSyB7OEpH9+zE/WfXP0K4WDtRcCk8hYg4p1UMzOU02TMwQ ZY6dNeCqc9HiCSq3y5w+yk5V75O318LT1DXO4HiLX8jkBDMAUe+Wj/2INpAqK+fg8F95 io/vH8WFSAUJ6B5qtmKcFDVjqSwjNIx5zy6kEXf5od6BTOXs+OJs5+t2k/aSQBVozjtx +Xpev3QAF+wR4hRKXo4c40q+SD5+qJ9+lYySB0fVbViq0W3w9ZXBs0s39kDAiAjdxEQ0 UVhw== X-Gm-Message-State: AOPr4FW5rZDjoyiGjalG8B2mgdz5M+93GS37CzJco2Qa33rNG8as25P5QQGmNgTqgXkuZA== X-Received: by 10.194.19.197 with SMTP id h5mr4448245wje.139.1461089741897; Tue, 19 Apr 2016 11:15:41 -0700 (PDT) Received: from [192.168.1.15] (abpy245.neoplus.adsl.tpnet.pl. [83.8.66.245]) by smtp.gmail.com with ESMTPSA id u3sm5512566wmg.15.2016.04.19.11.15.40 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Apr 2016 11:15:41 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: Diskless workstation and some minor issues From: =?utf-8?Q?Edward_Tomasz_Napiera=C5=82a?= X-Mailer: iPhone Mail (13E238) In-Reply-To: Date: Tue, 19 Apr 2016 20:15:38 +0200 Cc: =?utf-8?Q?BERTRAND_Jo=C3=ABl?= , freebsd-hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <57163991.4000100@systella.fr> To: Bob Bishop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2016 18:15:43 -0000 Dnia 19.04.2016 o godz. 16:23 Bob Bishop napisa=C5=82(a): > Hi, >=20 >> On 19 Apr 2016, at 14:58, BERTRAND Jo=C3=ABl w= rote: >>=20 >> Hello, >>=20 >> I have installed a diskless workstation (10.2-RELEASE-p14) that mounts= its rootfs from a NetBSD nfs server. My fstab is : >>=20 >> root@pythagore:~ # cat /etc/fstab >> # Device Mountpoint FStype Options Dump Pass# >> 192.168.10.128:/srv/pythagore / nfs nfsv3,tcp,soft,intr,rw 0 = 0 >> ... >> 192.168.10.128:/home /home nfs nfsv3,tcp,soft,intr,rw 0 = 0 >> root@pythagore:~ # >>=20 >> First question. I have installed this diskless workstation with an USB= stick. Now, FreeBSD kernel mounts rootfs over NFS. But in a first time, it t= ries to mount usbus0 (!) : >>=20 >> Apr 9 10:48:00 pythagore kernel: Root mount waiting for: usbus2 usbus1 u= sbus0 > [snip] >> Apr 9 10:48:02 pythagore kernel: ugen0.4: at usbus0 (disconnec= ted) >> Apr 9 10:48:02 pythagore kernel: uhub_reattach_port: could not allocate n= ew device >> Apr 9 10:48:02 pythagore kernel: Trying to mount root from nfs:192.168.1= 0.128:/srv/pythagore [nfsv3,tcp,soft,intr,rw]... >> Apr 9 10:48:02 pythagore kernel: NFS ROOT: 192.168.10.128:/srv/pythagore= >>=20 >> I don't understand why kernel tries to mount an USB rootfs... And I ha= ven't found how fix this trouble. >=20 > It doesn=E2=80=99t. It waits for USB just in case the root is on USB, I as= sume this isn=E2=80=99t optimised to keep things simple. It is, but only in 11-CURRENT.