Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 1998 11:11:40 +0100
From:      "Jose M. Alcaide" <jose@we.lc.ehu.es>
To:        freebsd-stable@FreeBSD.ORG
Subject:   strange message about root device at boot
Message-ID:  <350F9DDC.FB91603@we.lc.ehu.es>

next in thread | raw e-mail | index | archive | help
First, I must say that I _know_ about the change that affects
the naming of the root partition in /etc/fstab.

I have just cvsup'd 2.2.6-BETA (3-17-98). After making the world
and the new kernel, I rebooted the system verbosely, and I
saw the following messages:

 ahc0: target 0 using 16Bit transfers
 ahc0: target 0 synchronous at 20.0MHz, offset = 0x8
 ahc0: target 0 Tagged Queuing Device
 (ahc0:0:0): "SEAGATE ST32171W 0484" type 0 fixed SCSI 2
 sd0(ahc0:0:0): Direct-Access 2047MB (4194057 512 byte sectors)
 sd0(ahc0:0:0): with 5172 cyls, 5 heads, and an average 162 sectors/track
           ...... blah, blah, blah .......
 BIOS Geometries:
  0:0104fe3f 0..260=261 cylinders, 0..254=255 heads, 1..63=63 sectors
  0 accounted for
 Device configuration finished.
 Considering FFS root f/s.
 changing root device to sd0s2a   <<================ !!!!!!!!!!!!!!!
 configure() finished.
 bpf: lo0 attached
 sd0s1: type 0xa5, start 0, end = 4194056, size 4194057 
 sd0s1: C/H/S end 261/17/21 (99035) != end 4194056: invalid

The disk has only one slice, and was partitioned by sysinstall
the first time I installed FreeBSD (2.2.1) on that machine.
The SCSI BIOS (Adaptec) has the "DOS traslation" enabled; this
explains the geometry of the disk (255 heads...) reported by the BIOS.
But the message that surprises me is "changing root device to
sd0s2a". There is no second partition !!!! I have confirmed this
using the fdisk command.

The last two messages shown by the kernel are also strange. The
first one shows the total size correctly calculated, but the
second one shows a recalculation based on the BIOS geometry
that differs from the real size of the disk (99035 != 4194056).

The system seems to work fine, but I'm not happy with those
messages. I would like to know what happens.

-- JM
-----------------------------------------------------------------------
Jose M. Alcaide                         | mailto:jose@we.lc.ehu.es
Universidad del Pais Vasco              | http://www.we.lc.ehu.es/~jose
Dpto. de Electricidad y Electronica     |
Facultad de Ciencias - Campus de Lejona | Tel.:  +34-4-4647700 x2624
48940 Lejona (Vizcaya) - SPAIN          | Fax:   +34-4-4858139
-----------------------------------------------------------------------
               "Go ahead... make my day." - H. Callahan

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?350F9DDC.FB91603>