Re: gbde and geli on 6.2



Chris wrote:
Hi I am concerned about the availabilities of these encryptions in
freebsd releases that are marked stable.

It seems gbde has a problem when the the data written goes over the
lba boundary around lba48.

Could you please test the attached patch to /usr/src/sys/dev/ata/ata-all.c ?

I believe this may be due to the error in the underlying ata driver
rather than specifically to do with encryption.

As a side note - Soren, could we get this commited to both -current and
-stable if there aren't any significant objections?

Michael
*** ata-all.c~ Thu Aug 30 17:23:15 2007
--- ata-all.c Thu Aug 30 17:23:15 2007
***************
*** 743,749 ****

atadev->flags &= ~ATA_D_48BIT_ACTIVE;

! if ((request->u.ata.lba >= ATA_MAX_28BIT_LBA ||
request->u.ata.count > 256) &&
atadev->param.support.command2 & ATA_SUPPORT_ADDRESS48) {

--- 743,749 ----

atadev->flags &= ~ATA_D_48BIT_ACTIVE;

! if (((request->u.ata.lba + request->u.ata.count) >= ATA_MAX_28BIT_LBA ||
request->u.ata.count > 256) &&
atadev->param.support.command2 & ATA_SUPPORT_ADDRESS48) {

_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"

Relevant Pages

  • Re: gbde and geli on 6.2
    ... Chris wrote: ... freebsd releases that are marked stable. ... It seems gbde has a problem when the the data written goes over the ... lba boundary around lba48. ...
    (freebsd-stable)
  • Re: gbde and geli on 6.2
    ... Tommi Lätti wrote: ... freebsd releases that are marked stable. ... It seems gbde has a problem when the the data written goes over the ... lba boundary around lba48. ...
    (freebsd-stable)
  • Re: Quick and dirty router/firewall to test something?
    ... using FreeBSD vs. OpenBSD. ... Soekris boards up against commercial Watchguard and Cisco offerings any ... Chris Olive ...
    (comp.os.linux.misc)
  • gbde and geli on 6.2
    ... Hi I am concerned about the availabilities of these encryptions in ... freebsd releases that are marked stable. ... It seems gbde has a problem when the the data written goes over the ... However I seen this in geli within an hour of using it. ...
    (freebsd-stable)
  • Re: FreeBSD 5.3 and Virtual PC .. and programming [newbie]
    ... "Matthew X. Economou" wrote in message ... > Chris> Has anyone installed and run FreeBSD under Connectix ... It didn't like the network card in VPC ...
    (comp.unix.bsd.freebsd.misc)