NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/54566: ISOHybrid breaks wedges

The following reply was made to PR kern/54566; it has been noted by GNATS.

From: (Michael van Elst)
Subject: Re: kern/54566: ISOHybrid breaks wedges
Date: Tue, 24 Sep 2019 16:37:14 -0000 (UTC) writes:
 >seems to manage to break vnd:
 >vnd0: GPT GUID: 54eacbc2-3055-4413-bf8e-cd784729cac0                  
 >dk0 at vnd0: "ISOHybrid", 1308608 blocks at 0, type: ntfs                  
 >autoconfiguration error: vnd0: error 22 adding entry 1 (54eacbc2-3055-4413-bf8c-
 >cd784729cac0), type ebd0a0a2-b9e5-4433-87c0-68b6b72699c7                  
 >autoconfiguration error: vnd0: error 22 adding entry 2 (54eacbc2-3055-4413-bf8d-
 >cd784729cac0), type 48465300-0000-11aa-aa11-00306543ecac                  
 The wedges for partitions 1 and 2 cannot be configured as they
 overlap with dk0.
 On netbsd-7 I also get an error that the GPT is clamped to 128 entries
 (newer netbsd clamps at 512) and then erroneously warns that the CRC
 is invalid.
 However, you can access the first partition normally:
 # mount -t cd9660 /dev/dk0 /mnt
 # ls /mnt
 EFI      images   isolinux
 You need to specify the type, because the GPT entry pretends it is
 an NTFS partition.
 ># gpt show vnd0    
 >gpt: /dev/rvnd0: map entry doesn't fit media: new start + new size < start + size
 >(0 + 1 < 0 + 13f7c0)
 The message is somewhat misleading, but it complains that there are
 overlapping entries. The gpt tool then just aborts... :-/
 >(and the disklabel, mount -t cd9660 /dev/vnd0a, route is also unhappy)
 That on the other hand does work if no wedges had been created
 (or after deleting the autodiscovered wedge).
 # dkctl vnd0 delwedge dk0
 # mount /dev/vnd0a /mnt
 # ls /mnt
 EFI      images   isolinux
                                 Michael van Elst
                                 "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index