--=-+1sbgahxujm/jihnyoL5
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


On Thu, 2008-01-03 at 13:57 -0500, Chess Griffin wrote:
> * Joe Marcus Clarke [2008-01-03 12:30:47]:
>=20
> > This should be all that is required, kernel-wise. However, there will
> > be a new device node, /dev/sg0 in most cases, that will be created. Th=

e
> > default mode is 0600, so you will need to allow read-write access if yo=

u
> > are going to run brasero as a non-root user.
> >=20

>=20
> Ok, thanks. I am running into some issues with this on two separate
> machines, both running 7.0-RC1 on i386. =20


It seems more work needs to be done to get sg to play nicely with
FreeBSD, and I do not have the time to work on that.

Joe

>=20
> After recompiling my kernel and rebooting my main workstation, I now
> get hard freezes and reboot with coredump when inserting a usb stick.
> I have not actually tried building or running brasero yet on this
> particular machine. I have hal running with xfce and it's been
> working fine before this one change. I will try and rebuild hal with
> debugging on tonight and report.
>=20
> I also recompiled the kernel on a dedicated build box and did a
> brasero build in tinderbox, but it failed with this in the error log:
>=20
> scsi-command.o est -f 'scsi/scsi-command.c' || echo
> './'csi/scsi-command.c
> scsi/scsi-command.c:33:23: error: scsi/scsi.h: No such file or
> directory
> scsi/scsi-command.c:34:21: error: scsi/sg.h: No such file or directory
> scsi/scsi-command.c:82: warning: 'struct sg_io_hdr' declared inside
> parameter list
> scsi/scsi-command.c:82: warning: its scope is only this definition or
> declaration, which is probably not what you want
> scsi/scsi-command.c: In function 'brasero_sg_command_setup':
> scsi/scsi-command.c:85: error: invalid application of 'sizeof' to
> incomplete type 'struct sg_io_hdr'=20
> scsi/scsi-command.c:87: error: dereferencing pointer to incomplete
> type
> scsi/scsi-command.c:89: error: dereferencing pointer to incomplete
> type
> scsi/scsi-command.c:90: error: dereferencing pointer to incomplete
> type
> scsi/scsi-command.c:91: error: dereferencing pointer to incomplete
> type
> scsi/scsi-command.c:92: error: dereferencing pointer to incomplete
> type
> scsi/scsi-command.c:95: error: dereferencing pointer to incomplete
> type
> scsi/scsi-command.c:96: error: dereferencing pointer to incomplete
> type
> scsi/scsi-command.c:99: error: dereferencing pointer to incomplete
> type
> scsi/scsi-command.c:99: error: 'SG_DXFER_FROM_DEV' undeclared (first
> use in this function)
> scsi/scsi-command.c:99: error: (Each undeclared identifier is reported
> only once
> scsi/scsi-command.c:99: error: for each function it appears in.)
> scsi/scsi-command.c:101: error: dereferencing pointer to incomplete
> type
> scsi/scsi-command.c:101: error: 'SG_DXFER_TO_DEV' undeclared (first
> use in this function)
> scsi/scsi-command.c: In function 'brasero_scsi_command_issue_sync':
> scsi/scsi-command.c:111: error: storage size of 'transport' isn't
> known
> scsi/scsi-command.c:126: error: 'SG_IO' undeclared (first use in this
> function)
> scsi/scsi-command.c:132: error: 'SG_INFO_OK_MASK' undeclared (first
> use in this function)
> scsi/scsi-command.c:132: error: 'SG_INFO_OK' undeclared (first use in
> this function)
> scsi/scsi-command.c:135: error: 'CHECK_CONDITION' undeclared (first
> use in this function)
> scsi/scsi-command.c:111: warning: unused variable 'transport'
> scsi/scsi-command.c: In function
> 'brasero_scsi_command_issue_immediate':
> scsi/scsi-command.c:148: error: storage size of 'transport' isn't
> known
> scsi/scsi-command.c:162: error: invalid application of 'sizeof' to
> incomplete type 'struct sg_io_hdr'=20
> scsi/scsi-command.c:163: error: invalid application of 'sizeof' to
> incomplete type 'struct sg_io_hdr'=20
> scsi/scsi-command.c:165: error: invalid application of 'sizeof' to
> incomplete type 'struct sg_io_hdr'=20
> scsi/scsi-command.c:170: error: invalid application of 'sizeof' to
> incomplete type 'struct sg_io_hdr'=20
> scsi/scsi-command.c:172: error: invalid application of 'sizeof' to
> incomplete type 'struct sg_io_hdr'=20
> scsi/scsi-command.c:173: error: invalid application of 'sizeof' to
> incomplete type 'struct sg_io_hdr'=20
> scsi/scsi-command.c:175: error: invalid application of 'sizeof' to
> incomplete type 'struct sg_io_hdr'=20
> scsi/scsi-command.c:180: error: 'SG_INFO_OK_MASK' undeclared (first
> use in this function)
> scsi/scsi-command.c:180: error: 'SG_INFO_OK' undeclared (first use in
> this function)
> scsi/scsi-command.c:183: error: 'CHECK_CONDITION' undeclared (first
> use in this function)
> scsi/scsi-command.c:148: warning: unused variable 'transport'
> gmake[3]: *** [scsi-command.o] Error 1
> gmake[3]: Leaving directory
> work/a/ports/sysutils/brasero/work/brasero-0.7.0/src'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> work/a/ports/sysutils/brasero/work/brasero-0.7.0/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> work/a/ports/sysutils/brasero/work/brasero-0.7.0'
> gmake: *** [all] Error 2
> *** Error code 2
>=20
> Stop in /a/ports/sysutils/brasero.
>=20
> Maybe a dumb question, but this dedicated box does not have a cdrom,
> so it appears the /dev/sg* nodes are not being created. Would this
> alone stop the brasero build? I would think I could build it even if
> I couldn't use it on a box without a cdrom. Anyway, I will try
> this one again tonight as well.
>=20
> Chess
>=20

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-+1sbgahxujm/jihnyoL5
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBHfTmab2iPiv4Uz4cRArs4AJ9Az02xiXT8wvu9J7wwkv BsqBT82QCff7qY
1n4t6u5SWcdPvsqaefXY0wo=
=N6pY
-----END PGP SIGNATURE-----

--=-+1sbgahxujm/jihnyoL5--