Current-Users archive

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

Re: NetBSD-6.0_BETA2-i386.iso doesn't work



martin@ wrote:
> On Wed, Jun 13, 2012 at 10:41:13PM -0700, Phil Nelson wrote:
> > On Wednesday 13 June 2012 21:58:24 Michael van Elst wrote:
> > > Does this happen only for i386 or also for amd64?
> > 
> > I got it for both i386 and amd64 on a Dell Optiplex 990 today.

BTW, does the boot.cfg menu appear at boot?

My Optiplex 760 doesn't show installation boot menu
so I wonder if some S-ATA DVD drives require some more
initialization or wait before first read.

> It is a side effect of udf support in MBR support routines; tsutsui and
> reinoud had a discussion about it some time ago (with a patch supposed
> to fix it from tsutsui), but it got not commited yet.

This one?

Index: sys/kern/subr_disk_mbr.c
===================================================================
RCS file: /cvsroot/src/sys/kern/subr_disk_mbr.c,v
retrieving revision 1.42
diff -u -p -r1.42 subr_disk_mbr.c
--- sys/kern/subr_disk_mbr.c    30 Jun 2011 20:09:41 -0000      1.42
+++ sys/kern/subr_disk_mbr.c    14 Jun 2012 12:16:07 -0000
@@ -365,8 +365,10 @@ scan_iso_vrs(mbr_args_t *a)
                a->lp->d_partitions[0].p_cdsession = is_iso9660;
                a->lp->d_partitions[0].p_fstype = FS_ISO9660;
        } else {
+#if 0
                a->lp->d_partitions[0].p_size   = 0;
                a->lp->d_partitions[0].p_fstype = FS_UNUSED;
+#endif
        }
 
        /* add udf partition if found */

---

> The disklabel probably shows up as something like:
> 
> 4 partitions:
> #        size    offset     fstype [fsize bsize cpg/sgs]
> d:    161664         0        UDF                     # (Cyl.      0 -   1616

The above patch fixes the disklabel issue, but I'm afraid it won't
help if there are more drive specific errors on reading CD sectors.

> but it actually is a ISO9660 file system. Workaround is using cd0d as root
> device.

In many case USB keyboard on such modern(?) machines is not
functional to type root device, unfortunately.

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index