Diskless workstation and some minor issues

Edward Tomasz Napierała trasz at FreeBSD.org
Tue Apr 19 18:15:43 UTC 2016


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

> Hi,
> 
>> On 19 Apr 2016, at 14:58, BERTRAND Joël <joel.bertrand at 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 at 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 at 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.



More information about the freebsd-hackers mailing list