Unknown USB bridge = syslog spam


steini84

Recommended Posts

Hey guys

 

Currently on 6.2 RC5 (but this is probably happening on other version).

 

I attached a USB 3.0 USB drive to my server for backups, but smartctl does not work unless I manually tell it that the drive is sata (smartctl -d sat -a /dev/sda)

 

I guess that is the reason Something is causing spam in my syslog (when any page that shows disk info in the webgui is open)

 

Sep 13 13:17:52 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 13:17:52 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor]
Sep 13 13:17:52 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0
Sep 13 13:17:52 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 20 00 00 00 00 00 00 00 00 00 00 40 e5 00
Sep 13 13:17:52 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 13:17:52 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor]
Sep 13 13:17:52 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0
Sep 13 13:17:52 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 20 00 00 00 00 00 00 00 00 00 00 40 98 00
Sep 13 13:20:03 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 13:20:03 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor]
Sep 13 13:20:03 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0
Sep 13 13:20:03 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00
Sep 13 13:23:00 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 13:23:00 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor]
Sep 13 13:23:00 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0
Sep 13 13:23:00 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 20 00 00 00 00 00 00 00 00 00 00 40 e5 00
Sep 13 13:23:00 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 13:23:00 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor]
Sep 13 13:23:00 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0
Sep 13 13:23:00 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 20 00 00 00 00 00 00 00 00 00 00 40 98 00
Sep 13 13:23:00 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 13:23:00 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor]
Sep 13 13:23:00 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0
Sep 13 13:23:00 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 20 00 00 00 00 00 00 00 00 00 00 40 e5 00
Sep 13 13:23:00 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 13:23:00 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor]
Sep 13 13:23:00 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0
Sep 13 13:23:00 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 20 00 00 00 00 00 00 00 00 00 00 40 98 00
Sep 13 13:23:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 13:23:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor]
Sep 13 13:23:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0
Sep 13 13:23:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 20 00 00 00 00 00 00 00 00 00 00 40 e5 00
Sep 13 13:23:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 13:23:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor]
Sep 13 13:23:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0

 

My question is: Is either a way to force "-d sat" in the lookup for that drive, or even for every smartctl lookup? (Solution in the answer below)

 

Maybe the solution would be to remove the drive from Unassigned devices?

 

Thanks

 

 

 

 

Link to comment

The current controller selection is missing a SATA option, made a correction for that.

 

A workaround you can try:

 

1. Select as controller type 'ATA' (you can do this per disk -> goto Main -> diskname -> SMART settings)

2. After Apply the file /config/smart-one.cfg is created on your flash device

3. Edit the above file using a Linux editor and change "-d ata" to "-d sat"

 

I am not using Unassigned Devices myself and can't verify if this works, but it's worth a try.

 

Link to comment

The current controller selection is missing a SATA option, made a correction for that.

 

A workaround you can try:

 

1. Select as controller type 'ATA' (you can do this per disk -> goto Main -> diskname -> SMART settings)

2. After Apply the file /config/smart-one.cfg is created on your flash device

3. Edit the above file using a Linux editor and change "-d ata" to "-d sat"

 

I am not using Unassigned Devices myself and can't verify if this works, but it's worth a try.

Thanks for the quick reply! That worked... however, it does not seem to be the cause of the syslog spamming.

 

Still getting these in some menus:

Sep 13 15:16:57 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 15:16:57 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor]
Sep 13 15:16:57 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0
Sep 13 15:16:57 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 20 00 00 00 00 00 00 00 00 00 00 40 e5 00

 

I need to figure out if I can disable Unassigned Devices or remove the drive from that list.

 

Is there a option to no use Unassigned Devices? I think it´s built into unraid 6.2

Link to comment

ok, clear.

 

unRAID will not use any unassigned devices, but they are monitored in the background to create SMART reports.

 

The monitor process uses the controller type in the file you have edited to read the device with the correct options. This happens every minute.

 

At what interval do you see the error messages in the syslog (after you made the change) ?

 

Link to comment

Every thirty minutes since the change

 

Sep 13 15:48:01 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 15:48:01 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor] 
Sep 13 15:48:01 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0 
Sep 13 15:48:01 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 2c 00 00 00 00 00 00 00 00 00 00 00 e5 00
Sep 13 15:48:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 15:48:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor] 
Sep 13 15:48:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0 
Sep 13 15:48:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00
Sep 13 16:18:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 16:18:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor] 
Sep 13 16:18:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0 
Sep 13 16:18:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 2c 00 00 00 00 00 00 00 00 00 00 00 e5 00
Sep 13 16:18:03 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 16:18:03 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor] 
Sep 13 16:18:03 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0 
Sep 13 16:18:03 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00
Sep 13 16:49:01 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 16:49:01 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor] 
Sep 13 16:49:01 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0 
Sep 13 16:49:01 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 2c 00 00 00 00 00 00 00 00 00 00 00 e5 00
Sep 13 16:49:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 16:49:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor] 
Sep 13 16:49:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0 
Sep 13 16:49:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00
Sep 13 17:19:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 17:19:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor] 
Sep 13 17:19:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0 
Sep 13 17:19:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 2c 00 00 00 00 00 00 00 00 00 00 00 e5 00
Sep 13 17:19:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 17:19:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor] 
Sep 13 17:19:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0 
Sep 13 17:19:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00
Sep 13 17:50:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 17:50:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor] 
Sep 13 17:50:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0 
Sep 13 17:50:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 2c 00 00 00 00 00 00 00 00 00 00 00 e5 00
Sep 13 17:50:03 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 17:50:03 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor] 
Sep 13 17:50:03 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0 
Sep 13 17:50:03 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00
Sep 13 18:03:03 Unraid kernel: mdcmd (85): spindown 2
Sep 13 18:21:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 18:21:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor] 
Sep 13 18:21:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0 
Sep 13 18:21:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 2c 00 00 00 00 00 00 00 00 00 00 00 e5 00
Sep 13 18:21:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x08
Sep 13 18:21:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x4 [current] [descriptor] 
Sep 13 18:21:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x0 ASCQ=0x0 
Sep 13 18:21:02 Unraid kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00

 

Then every time the unRAID webgui is opened on pages that show any disk info.

Link to comment

30 minutes is the standard interval for emhttp to read SMART information, see Settings -> Disk Settings -> Tunable (poll_attributes) = 1800

 

emhttp does not use the extra settings when reading SMART information, hence the errors when opening the main page and at the interval times.

 

It requires a change (you may want to make a feature request) in emhttp to get this corrected / supported.

 

Link to comment

Well, there was a easy workaround for this. Just dont have the usb drive plugged in while the array is starting. If I connect it after the array is up there are no problems and the drive does not show up in Unassigned Devices

 

Yeah you are right. unRAID won't have it added once the array is started, but it is still 'discovered' by linux.

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.