Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jan 2022 14:22:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 255072] boot (legacy): no progress beyond 'BIOS DRIVE D: is disk1'
Message-ID:  <bug-255072-99-Q3Uds1qFTZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255072-99@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255072-99@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255072

--- Comment #24 from spell@itl.ua ---
(In reply to Toomas Soome from comment #23)
gpart show /dev/da0
=3D>      1  2002941  da0  MBR  (978M)
        1     1600    1  efi  (800K)
     1601   803216    2  freebsd  [active]  (392M)
   804817  1198125       - free -  (585M)

This is 12.3-RELEASE-amd64 image.

disk_ioctl() returns the same 2002941 sectors and sector size 512.

According to my printf() info, probing disks appears ok.
The crash occurs on zfs probing stage, in the last iteration of the cycle:

        for (i =3D 0; devsw[i] !=3D NULL; i++)

in loader's main.c, when i is 5 and devsw[i]->dv_name is zfs.

This is my printout with printf()'s in this cycle:

BTX loader 1.00  BTX version is 1.02
Consoles: internal video/keyboard
main.c: dv_name: fd dv_type=3D5
main.c: dv_name: cd dv_type=3D3
main.c: dv_name: disk dv_type=3D1
BIOS drive C: is disk0
BIOS drive D: is disk1
main.c: dv_name: net dv_type=3D2
main.c: dv_name: vdisk dv_type=3D1
main.c: dv_name: zfs dv_type=3D4

Zfs probing firstly probes HDD and here always is ok, and then probes Flash
drive and crashes on it (if AHCI mode set).

>Possible way to test this guess would be to read 1 sector at a time.
How to do this?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255072-99-Q3Uds1qFTZ>