Bug 118273 - [patch] sysutils/hal - hald + SCSI DDS tape changer -> /var/log/messages spammage
Summary: [patch] sysutils/hal - hald + SCSI DDS tape changer -> /var/log/messages spam...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-26 23:00 UTC by Don Lewis
Modified: 2007-12-15 18:10 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (869 bytes, patch)
2007-11-26 23:00 UTC, Don Lewis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Don Lewis freebsd_committer freebsd_triage 2007-11-26 23:00:01 UTC
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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-11-26 23:01:38 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-12-15 18:03:58 UTC
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"
Comment 3 Joe Marcus Clarke freebsd_committer freebsd_triage 2007-12-15 18:04:24 UTC
State Changed
From-To: open->closed

Committed, thanks!