From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 2 13:55:29 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id ED4C31065677 for ; Thu, 2 Aug 2012 13:55:28 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 501C214DA8C; Thu, 2 Aug 2012 13:55:12 +0000 (UTC) Message-ID: <501A86BC.9060606@FreeBSD.org> Date: Thu, 02 Aug 2012 17:55:08 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120406 Thunderbird/10.0.3 MIME-Version: 1.0 To: Sergey Listopad References: In-Reply-To: X-Enigmail-Version: 1.4 OpenPGP: id=10C8A17A Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: How to debug loader(8) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2012 13:55:29 -0000 On 02.08.2012 15:30, Sergey Listopad wrote: > Hi. > > I have as issue with booting FreeBSD on retro server. > loader(8) stuck during the boot (more details > http://docs.freebsd.org/cgi/mid.cgi?CAO_2TxM4_7YpPV9iTXeX6S7w4T1zqiZJa0ewe5KKiusdmNiVnw) > > How can I debug why loader(8) is stuck. What information may be helpful? Hi. It seems that biosdisk driver can't detect any disks except floppy. You can add some printfs to the bd_init() and bd_int13probe() functions in the sys/boot/i386/libi386/biosdisk.c file. Then recompile the loader and test. Also you can try to use grub loader, afaik it has a bit more quirks to the known problems. If it will work, we can try to fix our loader too. -- WBR, Andrey V. Elsukov