Q: Externe Festplatten mit Hotplug eSATA / USB-IDE?
Ralf Gesellensetter
rgx at gmx.de
Mon Feb 21 21:41:22 CET 2011
Am Sonntag, 13. Februar 2011 schrieb Frank Bergmann:
> Seufz... Ralf initiert was und verp*sst sich. ;-)
> Ich habe den Kram angeschlossen und getestet.
> Wenn der Adapter beim Booten drin ist, klappt das spaeter mit den Devices.
> Es liegt also nur am PCI-Scan bzw. am Hotplug.
Hallo noch einmal,
ich habe mir nun eine PCI-Karte mit eSATA zugelegt (techsolo TC-P25ES)
Die Karte erscheint nicht in lspci, oder?
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 746 Host (rev 02)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
00:0a.0 RAID bus controller: VIA Technologies, Inc. VT6421 IDE RAID Controller (rev 50)
00:0d.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]
Nun habe ich nach dem Booten meine externe HD angeschlossen und
dann angeschaltet. Weder in dmesg oder udev erscheint irgend eine
Reaktion, auch Restart von hal oder udev bringt nichts.
Nach einem Neustart bei eingeschalteter Platte zeigt dmesg folgende Unterschiede
(diff nach cut der Zeitstempel):
> sis900.c: v1.08.10 Apr. 2 2006
> alloc irq_desc for 19 on node -1
> alloc kstat_irqs on node -1
> sis900 0000:00:04.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
> 0000:00:04.0: Realtek RTL8201 PHY transceiver found at address 1.
> 0000:00:04.0: Using transceiver found at address 1 as default
> sata_via 0000:00:0a.0: version 2.4
> alloc irq_desc for 18 on node -1
> alloc kstat_irqs on node -1
> sata_via 0000:00:0a.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
> sata_via 0000:00:0a.0: routed to hard irq line 11
> scsi2 : sata_via
> scsi3 : sata_via
> scsi4 : sata_via
> ata3: SATA max UDMA/133 port i16 at 0xdc00 bmdma 0xcc00 irq 18
> ata4: SATA max UDMA/133 port i16 at 0xd800 bmdma 0xcc08 irq 18
> ata5: PATA max UDMA/133 port i16 at 0xd400 bmdma 0xcc10 irq 18
> ata1.00: ATA-6: WDC WD800BB-75DKA0, 77.07W77, max UDMA/100
> ata1.00: 156250000 sectors, multi 16: LBA48
> ata1.01: ATA-7: Maxtor 6B200P0, BAH41BM0, max UDMA/133
> ata1.01: 398297088 sectors, multi 16: LBA48
> ata1.00: configured for UDMA/100
> ata1.01: configured for UDMA/133
> scsi 0:0:0:0: Direct-Access ATA WDC WD800BB-75DK 77.0 PQ: 0 ANSI: 5
> scsi 0:0:1:0: Direct-Access ATA Maxtor 6B200P0 BAH4 PQ: 0 ANSI: 5
> ata3: SATA link down (SStatus 0 SControl 310)
> ata2.00: ATAPI: LITE-ON DVDRW LDW-811S, HS0P, max UDMA/33
> ata2.01: ATAPI: YAMAKAWADVR-Y08, 1.19, max UDMA/33
> ata2.00: configured for UDMA/33
> ata2.01: configured for UDMA/33
> scsi 1:0:0:0: CD-ROM LITE-ON DVDRW LDW-811S HS0P PQ: 0 ANSI: 5
> scsi 1:0:1:0: CD-ROM YAMAKAWA DVR-Y08 1.19 PQ: 0 ANSI: 5
> ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
> ata4.00: ATA-8: SAMSUNG HD153WI, 1AN10003, max UDMA/133
> ata4.00: 2930277168 sectors, multi 0: LBA48 NCQ (depth 0/32)
> ata4.00: configured for UDMA/133
> scsi 3:0:0:0: Direct-Access ATA SAMSUNG HD153WI 1AN1 PQ: 0 ANSI: 5
> ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
358,374c395,404
< sata_via 0000:00:0a.0: version 2.4
< alloc irq_desc for 18 on node -1
< alloc kstat_irqs on node -1
< sata_via 0000:00:0a.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
< sata_via 0000:00:0a.0: routed to hard irq line 11
< scsi2 : sata_via
< scsi3 : sata_via
< scsi4 : sata_via
< ata3: SATA max UDMA/133 port i16 at 0xdc00 bmdma 0xcc00 irq 18
< ata4: SATA max UDMA/133 port i16 at 0xd800 bmdma 0xcc08 irq 18
< ata5: PATA max UDMA/133 port i16 at 0xd400 bmdma 0xcc10 irq 18
< alloc irq_desc for 19 on node -1
< alloc kstat_irqs on node -1
< sis900 0000:00:04.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
< 0000:00:04.0: Realtek RTL8201 PHY transceiver found at address 1.
< 0000:00:04.0: Using transceiver found at address 1 as default
< eth0: SiS 900 PCI Fast Ethernet at 0xbc00, IRQ 19, 00:0b:6a:14:c0:00
497a536,544
> ata4.00: exception Emask 0x12 SAct 0x0 SErr 0x1000500 action 0x6
> ata4.00: BMDMA stat 0x5
> ata4: SError: { UnrecovData Proto TrStaTrns }
> ata4.00: failed command: READ DMA
> ata4.00: cmd c8/00:20:00:00:00/00:00:00:00:00/e0 tag 0 dma 16384 in
> res 51/84:20:00:00:00/84:17:00:00:00/e0 Emask 0x12 (ATA bus error)
> ata4.00: status: { DRDY ERR }
> ata4.00: error: { ICRC ABRT }
> ata4: hard resetting link
Die Platte ist dann als /dev/sdc verfügbar.
Allerdings ist den Partitionen in fstab bzw. mtab kein Mountpoint zugeordnet,
so dass ich sie als root mounten muss - in dolphin werden die Geräte angezeigt,
lassen sich aber nicht mounten. Das ist aber ein anderes Problem...
Problematisch ist, dass auch nach dem Mounten der Zugriff nicht wirklich
möglich ist - entsprechende Fehlermeldungen in dmesg:
[ 1644.628481] ata4: hard resetting link
[ 1645.342101] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 1645.380572] ata4.00: configured for UDMA/33
[ 1645.380649] sd 3:0:0:0: [sdc] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1645.380654] sd 3:0:0:0: [sdc] Sense Key : Aborted Command [current] [descriptor]
[ 1645.380659] Descriptor sense data with sense descriptors (in hex):
[ 1645.380661] 72 0b 47 00 00 00 00 0c 00 0a 80 00 00 00 00 00
[ 1645.380668] 00 00 00 00
[ 1645.380671] sd 3:0:0:0: [sdc] Add. Sense: Scsi parity error
[ 1645.380680] sd 3:0:0:0: [sdc] CDB: Read(10): 28 00 3d 09 7b dd 00 00 80 00
[ 1645.380687] end_request: I/O error, dev sdc, sector 1024031709
[ 1645.380799] ata4: EH complete
[ 1645.393511] ata4.00: exception Emask 0x12 SAct 0x0 SErr 0x1000500 action 0x6
[ 1645.393519] ata4.00: BMDMA stat 0x5
[ 1645.393523] ata4: SError: { UnrecovData Proto TrStaTrns }
[ 1645.393528] ata4.00: failed command: READ DMA EXT
[ 1645.393535] ata4.00: cmd 25/00:80:5d:7c:09/00:00:3d:00:00/e0 tag 0 dma 65536 in
[ 1645.393536] res 51/84:dd:00:00:00/84:7c:00:00:00/e0 Emask 0x12 (ATA bus error)
[ 1645.393540] ata4.00: status: { DRDY ERR }
[ 1645.393542] ata4.00: error: { ICRC ABRT }
[ 1645.393553] ata4: hard resetting link
Tipps nehme ich gerne entgegen,
ciao
Ralf
More information about the Linux
mailing list