Brasero for FreeBSD CAM

Joe Marcus Clarke marcus at marcuscom.com
Sun Jan 27 21:31:45 PST 2008


On Sun, 2008-01-27 at 23:16 -0600, Jeremy Messenger wrote:
> On Thu, 24 Jan 2008 16:04:19 -0600, Joe Marcus Clarke  
> <marcus at marcuscom.com> wrote:
> 
> > It's been a while, but I finished a very rough port of brasero's medium
> > backend to FreeBSD CAM.  I borrowed some of Jean-Yves' code from HAL,
> > and extended it.  Basically, I've been reading the MMC6 spec a lot
> > lately.
> >
> > The port is rough in that I use a lot of magic offsets based on the MMC
> > spec.  This makes reading and maintenance hard.  I just wanted to see if
> > this could be done.  Cleanup can happen later.  I also have not done
> > more than a build test.
> >
> > If you do want to play with this, you should run brasero in a debug mode
> > so that all output can be captured.  While cdrecord should still be used
> > to burn the media, coasters should be expected early on.
> >
> > http://www.marcuscom.com/downloads/brasero.diff
> 
> I have tried it with GNOME 2.21.x (MC CVS) and it crashes in start up.
> 
> ===========================================
> % brasero -g
> (brasero:31510): BraseroBurn-DEBUG: At burn-medium-cam.c:1775: Trying to  
> create BRASERCDROM for device /dev/cd0
> (brasero:31510): BraseroBurn-DEBUG: At burn-medium-cam.c:1782: Creation  
> succeeded
> (brasero:31510): BraseroBurn-DEBUG: At burn-medium-cam.c:1744:  
> Initializing information for medium in DVD_RW ND-3550A
> (brasero:31510): BraseroBurn-DEBUG: At burn-medium-cam.c:778: Retrieving  
> media profile
> [1]    31510 segmentation fault (core dumped)  brasero -g
> ===========================================
> 
> Backtraces: http://people.freebsd.org/~mezz/gdb/gdb-brasero.txt

D'oh!  Forgot to deference the pointer in two places.  I posted a new
brasero.diff.  Thanks for the feedback.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20080128/5f4fa12b/attachment.pgp


More information about the freebsd-gnome mailing list