[kde-freebsd] multislot cardreader and hald

Andriy Gapon avg at icyb.net.ua
Thu Dec 20 17:51:37 CET 2007


on 20/12/2007 18:47 Jeremy Messenger said the following:
> On Thu, 20 Dec 2007 09:28:01 -0600, Andriy Gapon <avg at icyb.net.ua> wrote:
> 
>> When I connect a USB multislot cardreader (CF, SD, etc) with only one
>> card inserted to my computer my /var/log/messages gets spammed with the
>> endless reports like the following:
>> kernel: Opened disk da1 -> 6
>> kernel: (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0
>> kernel: (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error
>> kernel: (da2:umass-sim0:0:0:2): SCSI Status: Check Condition
>> kernel: (da2:umass-sim0:0:0:2): NOT READY csi:0,aa,55,41 asc:3a,0
>> kernel: (da2:umass-sim0:0:0:2): Medium not present field replaceable  
>> unit: 1
>> kernel: (da2:umass-sim0:0:0:2): Unretryable error
>> kernel: Opened disk da2 -> 6
>> kernel: (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0
>> kernel: (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error
>> kernel: (da3:umass-sim0:0:0:3): SCSI Status: Check Condition
>> kernel: (da3:umass-sim0:0:0:3): NOT READY csi:0,aa,55,41 asc:3a,0
>> kernel: (da3:umass-sim0:0:0:3): Medium not present field replaceable  
>> unit: 1
>> kernel: (da3:umass-sim0:0:0:3): Unretryable error
>> kernel: Opened disk da3 -> 6
>>
>> These reports are for the empty slots.
>> If I disable hald these messages get printed only a few times, but with
>> hald this happens endlessly, apparently every 2 seconds.
>>
>> I am curious if this is hald itself or KDE acting through it.
> 
> It's FreeBSD since you still get w/out hald, report to freebsd-usb at .

It's true that messages come from the kernel but, as I said,  without
hald I get only a few of them and that's it. With hald running these
messages are produced every 2 seconds until the card-reader is
disconnected. So hald must be doing something silly here, like never
giving up on probing those da disks without any media behind them.

-- 
Andriy Gapon


More information about the kde-freebsd mailing list