Edd Barrett has been doing great work to get libcdio working on OpenBSD.
He came across the following problem which he has fixed in OpenBSD. Is this also relevant to NetBSD?
From Edd:
and then later:
Just to follow up, after some hours of debugging, I've found the
culprit.
diff --git a/lib/driver/netbsd.c b/lib/driver/netbsd.c
index ed3f00a9..7c6fe636 100644
--- a/lib/driver/netbsd.c
+++ b/lib/driver/netbsd.c
@@ -331,7 +331,8 @@ _cdio_read_toc(_img_private_t *_obj)
return false;
}
- req.address_format = CD_MSF_FORMAT;
+ //req.address_format = CD_MSF_FORMAT;
+ req.address_format = CD_LBA_FORMAT;
req.starting_track = FIRST_TRACK_NUM;
req.data_len = (TOTAL_TRACKS + 1) /* leadout! */
* sizeof(struct cd_toc_entry);k
Any thoughts from the NetBSD users/community ?