Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2005 03:09:38 +0000 (UTC)
From:      Peter Grehan <grehan@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/ofw ofw_disk.c
Message-ID:  <200510310309.j9V39c2N097999@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
grehan      2005-10-31 03:09:38 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/ofw          ofw_disk.c 
  Log:
  The mediasize shouldn't be multipled by the sector size when it was
  in bytes to start off with. This caused the GPT geom sniffer to attempt
  a seek just back from the end of the 'disk', which resulted in a > 4G
  seek, causing gdb psim to exit since it only supports 32-bit seeks.
  
  The size of the disk should really be specified in the psim device tree,
  but for now do the minimal amount of work to get psim to run again.
  
  Revision  Changes    Path
  1.18      +2 -1      src/sys/dev/ofw/ofw_disk.c



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