Cezary,
prośba o pochylenie się nad moim przypadkiem. Zakupiłem HUBa aktywnego HAMA - jakkolwiek by to nie zabrzmiało ;-)
Podłączyłem pod niego HDD, pena z ExtRootem (ext4), oraz dźwięk. Zapodałem mpd (mp3 odczytywane z ExtRoot). Po kilku godzinach dostałem:
dmesg
hub 1-1:1.0: Cannot enable port 3. Maybe the USB cable is bad?
hub 1-1:1.0: cannot disable port 3 (err = -145)
hub 1-1:1.0: cannot disable port 3 (err = -145)
sd 0:0:0:0: Device offlined - not ready after error recovery
sd 0:0:0:0: [sda] Unhandled error code
sd 0:0:0:0: [sda] Result: hostbyte=0x05 driverbyte=0x00
sd 0:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 00 04 24 a2 00 00 08 00
end_request: I/O error, dev sda, sector 271522
Buffer I/O error on device sda1, logical block 33933
lost page write due to I/O error on sda1
sd 0:0:0:0: rejecting I/O to offline device
sd 0:0:0:0: [sda] Unhandled error code
sd 0:0:0:0: [sda] Result: hostbyte=0x01 driverbyte=0x00
sd 0:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 00 44 18 42 00 00 28 00
end_request: I/O error, dev sda, sector 4462658
JBD2: Detected IO errors while flushing file data on sda1-8
Aborting journal on device sda1-8.
sd 0:0:0:0: rejecting I/O to offline device
JBD2: I/O error detected when updating journal superblock for sda1-8.
hub 1-1:1.0: hub_port_status failed (err = -145)
EXT4-fs error (device sda1): ext4_journal_start_sb: Detected aborted journal
EXT4-fs (sda1): Remounting filesystem read-only
sd 0:0:0:0: rejecting I/O to offline device
EXT4-fs error (device sda1): ext4_find_entry: reading directory #258563 offset 0
sd 0:0:0:0: rejecting I/O to offline device
logread
Sep 26 04:00:01 OpenWRT user.err kernel: sd 0:0:0:0: rejecting I/O to offline device
Sep 26 04:00:01 OpenWRT user.crit kernel: EXT4-fs error (device sda1): ext4_find_entry: reading directory #258563 offset 0
Sep 26 04:00:01 OpenWRT user.err kernel: sd 0:0:0:0: rejecting I/O to offline device
Sep 26 04:00:01 OpenWRT user.crit kernel: EXT4-fs error (device sda1): ext4_find_entry: reading directory #39 offset 0
Sep 26 04:00:01 OpenWRT user.err kernel: sd 0:0:0:0: rejecting I/O to offline device
Sep 26 04:00:01 OpenWRT user.crit kernel: EXT4-fs error (device sda1): ext4_find_entry: reading directory #39 offset 0
Sep 26 04:00:01 OpenWRT user.err kernel: sd 0:0:0:0: rejecting I/O to offline device
Sep 26 04:00:01 OpenWRT user.crit kernel: EXT4-fs error (device sda1): ext4_find_entry: reading directory #258633 offset 0
Sep 26 04:03:08 OpenWRT daemon.notice mpd: player_thread: played "flash/HEAD.mp3"
Sep 26 04:04:16 OpenWRT daemon.warn mpd: state_file: failed to create /mpd/state: Read-only file system
Sep 26 04:06:41 OpenWRT daemon.notice mpd: player_thread: played "flash/HEAD.mp3"
Sep 26 04:09:16 OpenWRT daemon.warn mpd: state_file: failed to create /mpd/state: Read-only file system
W przeciwieństwie do poprzedniego mojego wpisu powyżej, teraz nie mam "mini_fo_lookup: ERR from storage dentry, lookup failed".
ExtRoot oczywiście się wysypał, ale router widzi pendrajwa poleceniem blkid. Na badziewnym HUBie wcześniej, blkid nic nie zobaczył.
Znaczy to że znów trafiłem kiepskiego HUBa?
Zaczynam też zastanawiać się nad journalingiem na ExtRoocie. Wg Ciebie, może coś tu mieszać i czy nie lepiej w takim razie ExtRoota przeformatować na ext2?
Podaję jeszcze /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 2.06
S: Manufacturer=Linux 2.6.32.27 ehci_hcd
S: Product=Atheros AR91xx built-in EHCI controller
S: SerialNumber=ar71xx-ehci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=05e3 ProdID=0608 Rev=77.61
S: Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=1130 ProdID=f211 Rev= 5.10
S: Product=USB AUDIO
C:* #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=(none)
I:* If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
I: If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E: Ad=01(O) Atr=09(Isoc) MxPS= 192 Ivl=1ms
I:* If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
I: If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E: Ad=83(I) Atr=09(Isoc) MxPS= 48 Ivl=1ms
I:* If#= 3 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=(none)
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
I:* If#= 4 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=(none)
E: Ad=84(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0930 ProdID=6545 Rev= 1.00
S: Manufacturer=TOSHIBA
S: Product=TransMemory
S: SerialNumber=001CC0C60E06EBC0941B03DF
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=03 Dev#= 5 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=04fc ProdID=0c25 Rev= 1.03
S: Manufacturer=Sunplus Technology Inc.
S: Product=USB to Serial-ATA bridge
S: SerialNumber=WDC WD15EA WD-WMAVU2872686
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms