NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-amd64/42091: ld devices can't be set up with more than 2^31 sectors
>Number: 42091
>Category: port-amd64
>Synopsis: ld devices can't be set up with more than 2^31 sectors
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: port-amd64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Sep 18 22:00:00 +0000 2009
>Originator: John Klos
>Release: NetBSD 5.0_STABLE (tested with current, too)
>Organization:
>Environment:
System: NetBSD reva.xtremeunix.com 5.0_STABLE NetBSD 5.0_STABLE
(REVA-$Revision: 5.323 $) #0: Tue Sep 8 06:27:49 UTC 2009
john%sage.klos.com@localhost:/usr/obj/sys/arch/amiga/compile/REVA amiga
Architecture: m68k
Machine: amiga
>Description:
>How-To-Repeat:
Set up some sort of hardware RAID:
siisata0 at pci6 dev 0 function 0: vendor 0x1095 product 0x3132 (RAID mass
storage, revision 0x01)
ataraid0: found 1 RAID volume
ld0 at ataraid0 vendtype 3 unit 0: nVidia ATA RAID-1 array
ld0: 1397 GB, 182401 cyl, 255 head, 63 sec, 512 bytes/sect x 2930277120 sectors
Then try to install NetBSD or to create a disklabel partition greater than
2^31 sectors:
partition> P
4 partitions:
# size offset fstype [fsize bsize cpg/sgs]
d: 2930277120 0 unused 0 0 # (Cyl. 0 -
182401*)
partition> a
Filesystem type [?] [unused]: 4.2BSD
Start offset ('x' to start after partition 'x') [0c, 0s, 0M]: 64
Partition size ('$' for all remaining) [0c, 0s, 0M]: 2913499840
a: 2147483648 64 4.2BSD 0 0 0 # (Cyl. 0*-
133674*)
>Fix:
>Unformatted:
When using drives larger than 1TB in a hardware mirror, partitions can't have
more than 2^31 sectors.
Home |
Main Index |
Thread Index |
Old Index