[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-stable
Subject:    Re: devd(8) complains loudly when DVD player is empty, possibly due to r298134
From:       Scott Long <scottl () samsco ! org>
Date:       2016-04-27 17:46:23
Message-ID: AF3E901D-CC0C-40D5-A806-46A89FA70A4A () samsco ! org
[Download RAW message or body]

Hi Trond,

Thanks for the report.  I might be mistaken, but the default system is not configured \
to direct devd messages to user.info, so I didn't see this during my development.  \
However, what you're reporting is definitely annoying, so Warner Losh and I are \
working on a solution.

Scott

> On Apr 27, 2016, at 1:23 PM, Trond Endrestøl <Trond.Endrestol@fagskolen.gjovik.no> \
> wrote: 
> Hi,
> 
> The symptoms began after upgrading from stable/10 r298033 to stable/10 r298573.
> 
> Apr 27 18:40:00 <user.info> [HOSTNAME] devd: Processing event '!system=CAM \
> subsystem=periph type=error device=cd0 serial="R8KL6GKC900AFG" cam_status="0xcc" \
> scsi_status=2 scsi_sense="70 02 04 01" CDB="00 00 00 00 00 00 " ' 
> These messages are just seconds apart:
> 
> Apr 27 18:40:01 <user.info> [HOSTNAME] devd: Processing event '!system=CAM \
> subsystem=periph type=error device=pass1 serial="R8KL6GKC900AFG" cam_status="0xcc" \
> scsi_status=2 scsi_sense="70 02 04 01" CDB="00 00 00 00 00 00 " ' Apr 27 18:40:03 \
> <user.info> [HOSTNAME] devd: Processing event '!system=CAM subsystem=periph \
> type=error device=pass1 serial="R8KL6GKC900AFG" cam_status="0xcc" scsi_status=2 \
> scsi_sense="70 02 04 01" CDB="00 00 00 00 00 00 " ' Apr 27 18:40:05 <user.info> \
> [HOSTNAME] devd: Processing event '!system=CAM subsystem=periph type=error \
> device=pass1 serial="R8KL6GKC900AFG" cam_status="0xcc" scsi_status=2 scsi_sense="70 \
> 02 04 01" CDB="00 00 00 00 00 00 " ' 
> When I put a CD or DVD in the DVD player, the messages stop. As soon 
> as I eject the disc, they start appearing again.
> 
> Here's the relevant part from dmesg:
> 
> cd0 at ahcich1 bus 0 scbus1 target 0 lun 0
> cd0: <TSSTcorp DVD+-RW SN-208BB D500> Removable CD-ROM SCSI device
> cd0: Serial Number R8KL6GKC900AFG
> cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
> cd0: Attempt to query device size failed: NOT READY, Medium not present - tray \
> closed 
> This is on a mid-2012 Dell Latitude E5530 with the stock DVD player.
> 
> Upgrading to stable/10 r298705 doesn't resolve this issue.
> 
> Does anyone else see this?
> 
> Maybe r298134 is to blame:
> 
> stable/10/sys/cam/cam_periph.c
> 
> MFC r298004:
> 
> Add a devctl/devd notification conduit for CAM errors that happen at the
> periph level.
> 
> Due to not merging the changes to ata_res_sbuf(), this version is a little
> messy.
> 
> Sponsored by:	Netflix
> 
> http://svnweb.freebsd.org/base?view=revision&revision=298134
> 
> -- 
> +-------------------------------+------------------------------------+
> > Vennlig hilsen,               | Best regards,                      |
> > Trond Endrestøl,              | Trond Endrestøl,                   |
> > IT-ansvarlig,                 | System administrator,              |
> > Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
> > tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
> > sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
> +-------------------------------+------------------------------------+
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"

_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic