Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2016 20:15:38 +0200
From:      =?utf-8?Q?Edward_Tomasz_Napiera=C5=82a?= <trasz@FreeBSD.org>
To:        Bob Bishop <rb@gid.co.uk>
Cc:        =?utf-8?Q?BERTRAND_Jo=C3=ABl?= <joel.bertrand@systella.fr>, freebsd-hackers@freebsd.org
Subject:   Re: Diskless workstation and some minor issues
Message-ID:  <A14A8D23-5015-43B6-A7EA-15AA58B3D16E@FreeBSD.org>
In-Reply-To: <E16859BA-70D7-4836-8532-4AE840C82A46@gid.co.uk>
References:  <57163991.4000100@systella.fr> <E16859BA-70D7-4836-8532-4AE840C82A46@gid.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

Dnia 19.04.2016 o godz. 16:23 Bob Bishop <rb@gid.co.uk> napisał(a):

> Hi,
> 
>> On 19 Apr 2016, at 14:58, BERTRAND Joël <joel.bertrand@systella.fr> wrote:
>> 
>>    Hello,
>> 
>>    I have installed a diskless workstation (10.2-RELEASE-p14) that mounts its rootfs from a NetBSD nfs server. My fstab is :
>> 
>> 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:~ #
>> 
>>    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 tries to mount usbus0 (!) :
>> 
>> Apr  9 10:48:00 pythagore kernel: Root mount waiting for: usbus2 usbus1 usbus0
> [snip]
>> Apr  9 10:48:02 pythagore kernel: ugen0.4: <Unknown> at usbus0 (disconnected)
>> Apr  9 10:48:02 pythagore kernel: uhub_reattach_port: could not allocate new device
>> Apr  9 10:48:02 pythagore kernel: Trying to mount root from nfs:192.168.10.128:/srv/pythagore [nfsv3,tcp,soft,intr,rw]...
>> Apr  9 10:48:02 pythagore kernel: NFS ROOT: 192.168.10.128:/srv/pythagore
>> 
>>    I don't understand why kernel tries to mount an USB rootfs... And I haven't found how fix this trouble.
> 
> It doesn’t. It waits for USB just in case the root is on USB, I assume this isn’t optimised to keep things simple.

It is, but only in 11-CURRENT.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A14A8D23-5015-43B6-A7EA-15AA58B3D16E>