弁財天

ゴフマン「専門家を信じるのではなく、自分自身で考えて判断せよ」

jmicron usb ata bridge is known to be broken

10分おきに

Dec  7 08:19:45 localhost udisksd[13629]: Error performing housekeeping for drive /org/freedesktop/UDisks2/drives/KINGSTON_SV300S37A240G_50026B774908A8F6: Error updating SMART data: sk_disk_check_sleep_mode: Operation not supported (udisks-error-quark, 0)

Phillip Susi (psusi) wrote on 2014-04-29:

Comment 10 for bug 1313771
Phillip Susi (psusi) wrote on 2014-04-29: 	#10

Ok, it looks like you have a jmicron usb -> ata bridge that is known to be broken and choke when given SMART commands, so it is explicitly blacklisted. This isn't new in trusty though. Could you try running skdump from the 13.10 desktop cd?

R00KIE 2014-08-14 13:35:23

Try disabling the UAS driver, check here [1] how to disable it for a particular drive.
[1] https://bbs.archlinux.org/viewtopic.php?id=183190

Da_Coynul 2014-06-22 14:30:36

I was able to get my external drive working again by telling the usb-storage module to ignore uas for the device.  Here is how to do it:

First, create a file named ignore_uas.conf in the /etc/modprobe.d directory containing the following*:

 options usb-storage quirks=Vendor_ID:Product_ID:u

*(substitute your actual Vendor_ID and Product_ID obtained from the lsusb -v command).

Next, regenerate your inital ramdisk:

# mkinitcpio -p linux

Finally, reboot your computer.

Although this is not a solution to broken uas, at least it will let you use your drive as before hmm

ベンダーIDとプロダクトIDを調べる。

# lsusb
Bus 002 Device 002: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. JM20329 SATA Bridge

CentOS7なら
/etc/modprobe.d/ignore_uas.confに
options usb-storage quirks=0x152d:0x2329:u
書いて
dracut -f
かな?

ephemient 2014-07-30 05:59:18

# echo -n "152d:2329:u" >/sys/module/usb_storage/parameters/quirks

ダメですな。

2014-09-15 08:14:12 hansdegoede

Re: uas problem in linux 3.15.1, need advice on the problem [SOLVED]

Hi All,

Quick update on this, Matse has contacted me by email, and indeed the Seagate 0bc2:3312 disk needs the same quirk as the seagate enclosure I already knew about.

I've uploaded an updated unusual_uas.h to:

https://fedorapeople.org/~jwrdegoede/uas/

So when using the version of the uas driver there, things should now work for owners of a 0bc2:3312 disk without needing to add a quirk to disable uas, see my previous post for build instructions.

Regards,

Hans

カーネルのソース貰ってもなー。yum updateでkernelが更新される度にmakeするてか?ありえねー、そういうのは vboxdrv setup くらいで勘弁してほしいね。

これはしばらくなおらないな。

しょーがないなー、ログを隔離だww

Filtering by program name using the expression-based syntax
おー、syslogにif文の定義ができるのか。

# cat /etc/rsyslog.d/udisksd.conf 

template (name="udisksd_dynLogFile" type="string" string="/var/log/%app-name%.log")
if $app-name contains 'udisksd' then {
   action(type="omfile"
          DynaFile="udisksd_dynLogFile")
   stop
}
# systemctl restart rsyslog.service
# cat /etc/logrotate.d/udisksd 
/var/log/udisksd.log {
    daily
    rotate 3
    compress
    delaycompress
    missingok
    notifempty
    create 0640 root root
}
# 
撤退ですな。

投稿されたコメント:

コメント
コメントは無効になっています。