Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2020 17:16:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 245348] [loader] does not detect the memstick device it was loaded from
Message-ID:  <bug-245348-227-O2JtiVJqhP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-245348-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-245348-227@https.bugs.freebsd.org/bugzilla/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245348

Bertrand Petit <bsdpr@phoe.frmug.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |regression

--- Comment #3 from Bertrand Petit <bsdpr@phoe.frmug.org> ---
(In reply to cyril from comment #2)
Thank you Cyril for your comment, setting kernels_autodetect to YES in
loader.conf has no positive effect. I think the trouble is elsewhere as the
device from which is loader is loaded is not visible from the loader prompt.
Please compare the list of devices shown in the first message to the one bellow
which I obtained from an 11.3-RELEASE memstick.

OK lsdev                                                                        
disk devices:                                                                   
    disk0:   BIOS drive C (1986558 X 512):                                      
      disk0s1: Unknown                                                          
      disk0s2: FreeBSD                                                          
        disk0s2a: FreeBSD UFS                                                   
    disk1:   BIOS drive D (78165360 X 512):                                     
      disk1p1: FreeBSD boot                                                     
      disk1p2: FreeBSD ZFS                                                      
    disk2:   BIOS drive E (7814037168 X 512):                                   
      disk2p1: FreeBSD boot                                                     
      disk2p2: FreeBSD swap                                                     
      disk2p3: FreeBSD ZFS                                                      
    disk3:   BIOS drive F (7814037168 X 512):                                   
      disk3p1: FreeBSD boot                                                     
      disk3p2: FreeBSD swap                                                     
      disk3p3: FreeBSD ZFS                                                      
zfs devices:                                                                    
    zfs:asroot                                                                  
    zfs:cask

Here we have four devices which is correct, the memstick is disk0. With a
12.1-RELEASE memstick only three devices are listed and none of them is the
memstick. There looks to be a regression in devices detection.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245348-227-O2JtiVJqhP>