寻找有关如何解决 SD 卡读卡器问题的建议。我首先尝试查看将内核更新到 3.16 是否足够,但结果不够。接下来,我在这里找到了修改内核模块的说明:https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1250605
该链接中 exemat 的说明有效,但现在我在启动时收到错误:“坏 LUN”和“坏目标号”。我可以启动到桌面,并且可以读取和复制卡上的文件,但我担心这可能会产生一些我不清楚的影响。我有理由担心吗?
我正在粘贴相关信息,如果我遗漏了某些内容,请告诉我。谢谢。
uname -a
Linux serge-X551MA 3.16.0-031600-lowlatency #201408031935 SMP PREEMPT Sun Aug 3 23:44:11 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
摘录自dmesg
:
[ 0.911514] sdhci: Secure Digital Host Controller Interface driver
[ 0.911519] sdhci: Copyright(c) Pierre Ossman
[ 0.915383] ahci 0000:00:13.0: AHCI 0001.0300 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
[ 0.915391] ahci 0000:00:13.0: flags: 64bit ncq pm led clo pio slum part deso sadm apst
[ 0.917679] scsi0 : ahci
[ 0.918325] scsi1 : ahci
[ 1.394970] scsi 1:0:0:0: CD-ROM MATSHITA DVD-RAM UJ8E1 1.00 PQ: 0 ANSI: 5
[ 1.427965] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[ 1.427969] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 1.428169] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 1.428336] sr 1:0:0:0: Attached scsi generic sg1 type 5
[ 1.480440] sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7
[ 1.482134] sd 0:0:0:0: [sda] Attached SCSI disk
[ 12.890518] rts_bpp: module verification failed: signature and/or required key missing - tainting kernel
[ 12.891153] Initializing Realtek PCIE storage driver...
[ 12.891186] --- 11:24:27 ---
[ 12.891395] Resource length: 0x10000
[ 12.891414] Original address: 0xd0600000, remapped address: 0xffffc90010a80000
[ 12.891489] pci->irq = 16
[ 12.891492] rtsx_acquire_irq: chip->msi_en = 0, pci->irq = 16
[ 12.938647] audit: type=1400 audit(1420321028.595:2): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=369 comm="apparmor_parser"
[ 12.938658] audit: type=1400 audit(1420321028.595:3): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=369 comm="apparmor_parser"
[ 12.938665] audit: type=1400 audit(1420321028.595:4): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=369 comm="apparmor_parser"
[ 12.939497] audit: type=1400 audit(1420321028.595:5): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=369 comm="apparmor_parser"
[ 12.939506] audit: type=1400 audit(1420321028.595:6): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=369 comm="apparmor_parser"
[ 12.939933] audit: type=1400 audit(1420321028.596:7): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=369 comm="apparmor_parser"
[ 12.949142] scsi2 : SCSI emulation for Realtek BarossaPlusPlus card reader
[ 12.968240] rts_bpp: waiting for device to settle before scanning
[ 13.968421] rts_bpp: device scan complete
[ 13.968817] scsi 2:0:0:0: Direct-Access Generic- xD/SD/M.S. 1.00 PQ: 0 ANSI: 0 CCS
[ 13.968969] Bad LUN (0:1)
[ 13.969211] Bad target number (1:0)
[ 13.969282] Bad target number (2:0)
[ 13.969352] Bad target number (3:0)
[ 13.969422] Bad target number (4:0)
[ 13.969495] Bad target number (5:0)
[ 13.969559] Bad target number (6:0)
[ 13.969622] Bad target number (7:0)
[ 13.970984] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[ 13.971454] sd 2:0:0:0: Attached scsi generic sg2 type 0
lspci -vvv
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5286 (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. Device 5286
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 16
Region 0: Memory at d0600000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable+ DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [70] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s unlimited, L1 <64us
ClockPM+ Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk-
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR-, OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+, LTR-, OBFF Disabled
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
Vector table: BAR=0 offset=00000000
PBA: BAR=0 offset=00000000
Capabilities: [d0] Vital Product Data
pcilib: sysfs_read_vpd: read failed: Connection timed out
Not readable
Capabilities: [100 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr+ BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
Capabilities: [140 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01
Status: NegoPending- InProgress-
Capabilities: [160 v1] Device Serial Number 00-00-00-01-00-4c-e0-00
Kernel driver in use: rts_bpp
答案1
距离我上次看到:LUN = SCSI 链上的逻辑单元号,已经过去好几年了bad lun
。因此,如果您的所有磁盘都运行正常,那么这可能只是来自(实验性!)驱动程序的警告...
所以你能做的最好的事情就是让你的大脑[Ignore mode on]