When hald is started on a machine with a Sony TSL-11000 SCSI tape changer, it tries to treat the changer LUN as a CDROM, which upsets the SCSI bus and causes /var/log/messages to be spammed with SCSI error messages. Nov 26 10:07:25 mousie kernel: (pass3:ahc0:0:6:1): No or incomplete CDB sent to device. Nov 26 10:07:25 mousie kernel: (pass3:ahc0:0:6:1): Protocol violation in Message -in phase. Attempting to abort. Nov 26 10:07:25 mousie kernel: (pass3:ahc0:0:6:1): Abort Message Sent Nov 26 10:07:25 mousie kernel: (pass3:ahc0:0:6:1): SCB 205 - Abort Completed. Nov 26 10:07:25 mousie kernel: (pass3:ahc0:0:6:1): No or incomplete CDB sent to device. Nov 26 10:07:25 mousie kernel: (pass3:ahc0:0:6:1): Protocol violation in Message -in phase. Attempting to abort. Nov 26 10:07:25 mousie kernel: (pass3:ahc0:0:6:1): Abort Message Sent Nov 26 10:07:25 mousie kernel: (pass3:ahc0:0:6:1): SCB 200 - Abort Completed. Nov 26 10:07:25 mousie kernel: (pass3:ahc0:0:6:1): No or incomplete CDB sent to device. Nov 26 10:07:25 mousie kernel: (pass3:ahc0:0:6:1): Protocol violation in Message -in phase. Attempting to abort. Nov 26 10:07:25 mousie kernel: (pass3:ahc0:0:6:1): Abort Message Sent Nov 26 10:07:25 mousie kernel: (pass3:ahc0:0:6:1): SCB 205 - Abort Completed. Nov 26 10:07:25 mousie kernel: (pass3:ahc0:0:6:1): No or incomplete CDB sent to device. Nov 26 10:07:25 mousie kernel: (pass3:ahc0:0:6:1): Protocol violation in Message -in phase. Attempting to abort. Nov 26 10:07:25 mousie kernel: (pass3:ahc0:0:6:1): Abort Message Sent Nov 26 10:07:25 mousie kernel: (pass3:ahc0:0:6:1): SCB 200 - Abort Completed. Fix: The following patch was inspired by the patch attached to this message sent to the hal mailing list: <http://lists.freedesktop.org/archives/hal/2006-August/005887.html> How-To-Repeat: Run hald on a machine with a SCSI tape changer.
Responsible Changed From-To: freebsd-ports-bugs->gnome Over to maintainer (via the GNATS Auto Assign Tool)
marcus 2007-12-15 18:03:54 UTC FreeBSD ports repository Modified files: sysutils/hal Makefile distinfo Log: Update to snapshot 20071215. * Remove dependency on isoinfo, and detect disc type internally. [1] * Adapt patch from Linux's hal backend to add media changer support and prevent hal from trying to treat tape changers like CD drivers. [2] PR: 118273 [2] Submitted by: bland [1] truckman [2] Revision Changes Path 1.26 +1 -1 ports/sysutils/hal/Makefile 1.13 +3 -3 ports/sysutils/hal/distinfo _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks!