Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam,
mam taki problem z dyskiem zewnętrznym USB: raz na jakiś czas samoczynnie się odmontowuje. Myślę co by tu na to poradzić i nie wiem za bardzo co wymyślić. Może jakiś skrypcik, który by sprawdzał co jakiś czas czy dysk jest zamontowany i w przypadku, gdy stwierdzi, że dysk nie jest zamontowany to wykona komendę zamontowania? Albo jakieś inne rady. Z góry dzięki.
Pozdrawiam
Offline
No a jak jest montowany?
Offline
Pewnie autosuspend portu USB powoduje cyrki, dysk albo system w takim przypadku może potraktować sprawę jako odłączenie urządzenia.
Zwłaszcza dysk może nerwowo traktować uśpienie portu.
Na każdym porcie można włączyć/wyłączyć autousypianie.
U mnie:
~> ls /sys/bus/usb/devices/*/power/autosuspend /sys/bus/usb/devices/3-2/power/autosuspend /sys/bus/usb/devices/4-2/power/autosuspend /sys/bus/usb/devices/5-1/power/autosuspend /sys/bus/usb/devices/5-2/power/autosuspend /sys/bus/usb/devices/usb1/power/autosuspend /sys/bus/usb/devices/usb2/power/autosuspend /sys/bus/usb/devices/usb3/power/autosuspend /sys/bus/usb/devices/usb4/power/autosuspend /sys/bus/usb/devices/usb5/power/autosuspend /sys/bus/usb/devices/usb6/power/autosuspend /sys/bus/usb/devices/usb7/power/autosuspend /sys/bus/usb/devices/usb8/power/autosuspend
Sznurek:
http://computint.blogspot.com/2012/06/disable-auto-suspend-for-all-usb.html
Ostatnio edytowany przez Jacekalex (2013-11-17 15:25:14)
Offline
Syslog coś tam pluje:
Nov 17 13:43:09 debian kernel: [13166.039369] usb 1-3: USB disconnect, device number 3 Nov 17 13:43:25 debian kernel: [13182.188082] usb 1-3: new high-speed USB device number 11 using ehci_hcd Nov 17 13:43:25 debian kernel: [13182.321142] usb 1-3: New USB device found, idVendor=152d, idProduct=2338 Nov 17 13:43:25 debian kernel: [13182.321167] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=5 Nov 17 13:43:25 debian kernel: [13182.321173] usb 1-3: Product: USB to ATA/ATAPI bridge Nov 17 13:43:25 debian kernel: [13182.321177] usb 1-3: Manufacturer: JMicron Nov 17 13:43:25 debian kernel: [13182.321182] usb 1-3: SerialNumber: 000001D91CA1 Nov 17 13:43:25 debian kernel: [13182.322069] scsi8 : usb-storage 1-3:1.0 Nov 17 13:43:25 debian mtp-probe: checking bus 1, device 11: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3" Nov 17 13:43:25 debian mtp-probe: bus: 1, device: 11 was not an MTP device Nov 17 13:43:26 debian kernel: [13183.320959] scsi 8:0:0:0: Direct-Access WDC WD40 00AAJS-22YFA0 PQ: 0 ANSI: 2 CCS Nov 17 13:43:26 debian kernel: [13183.322622] sd 8:0:0:0: Attached scsi generic sg2 type 0 Nov 17 13:43:26 debian kernel: [13183.325103] sd 8:0:0:0: [sdd] 781422768 512-byte logical blocks: (400 GB/372 GiB) Nov 17 13:43:26 debian kernel: [13183.325918] sd 8:0:0:0: [sdd] Write Protect is off Nov 17 13:43:26 debian kernel: [13183.325926] sd 8:0:0:0: [sdd] Mode Sense: 28 00 00 00 Nov 17 13:43:26 debian kernel: [13183.326672] sd 8:0:0:0: [sdd] No Caching mode page present Nov 17 13:43:26 debian kernel: [13183.326680] sd 8:0:0:0: [sdd] Assuming drive cache: write through Nov 17 13:43:26 debian kernel: [13183.330033] sd 8:0:0:0: [sdd] No Caching mode page present Nov 17 13:43:26 debian kernel: [13183.330043] sd 8:0:0:0: [sdd] Assuming drive cache: write through Nov 17 13:43:26 debian kernel: [13183.357659] sdd: sdd1 sdd2 sdd3 < sdd5 sdd6 > Nov 17 13:43:26 debian kernel: [13183.362048] sd 8:0:0:0: [sdd] No Caching mode page present Nov 17 13:43:26 debian kernel: [13183.362056] sd 8:0:0:0: [sdd] Assuming drive cache: write through Nov 17 13:43:26 debian kernel: [13183.362063] sd 8:0:0:0: [sdd] Attached SCSI disk Nov 17 13:43:52 debian kernel: [13209.428219] kjournald starting. Commit interval 5 seconds Nov 17 13:43:52 debian kernel: [13209.428388] EXT3-fs (sdd6): warning: maximal mount count reached, running e2fsck is recommended Nov 17 13:43:52 debian kernel: [13209.429058] EXT3-fs (sdd6): using internal journal Nov 17 13:43:52 debian kernel: [13209.429061] EXT3-fs (sdd6): recovery complete Nov 17 13:43:52 debian kernel: [13209.430783] EXT3-fs (sdd6): mounted filesystem with ordered data mode Nov 17 13:59:32 debian kernel: [14149.538813] kjournald starting. Commit interval 5 seconds Nov 17 13:59:32 debian kernel: [14149.538976] EXT3-fs (sdd6): warning: maximal mount count reached, running e2fsck is recommended Nov 17 13:59:32 debian kernel: [14149.540469] EXT3-fs (sdd6): using internal journal Nov 17 13:59:32 debian kernel: [14149.540476] EXT3-fs (sdd6): mounted filesystem with ordered data mode Nov 17 14:00:13 debian kernel: [14190.524422] kjournald starting. Commit interval 5 seconds Nov 17 14:00:13 debian kernel: [14190.524577] EXT3-fs (sdd6): warning: maximal mount count reached, running e2fsck is recommended Nov 17 14:00:13 debian kernel: [14190.525244] EXT3-fs (sdd6): using internal journal Nov 17 14:00:13 debian kernel: [14190.525250] EXT3-fs (sdd6): mounted filesystem with ordered data mode Nov 17 14:09:01 debian /USR/SBIN/CRON[11756]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete) Nov 17 14:17:02 debian /USR/SBIN/CRON[11898]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Nov 17 14:23:08 debian kernel: [15564.828985] hub 1-6:1.0: port 1 disabled by hub (EMI?), re-enabling... Nov 17 14:23:08 debian kernel: [15564.828997] usb 1-6.1: USB disconnect, device number 8 Nov 17 14:23:08 debian acpid: input device has been disconnected, fd 11 Nov 17 14:23:08 debian acpid: input device has been disconnected, fd 6 Nov 17 14:23:08 debian kernel: [15565.100140] usb 1-6.1: new low-speed USB device number 12 using ehci_hcd Nov 17 14:23:08 debian kernel: [15565.202738] usb 1-6.1: New USB device found, idVendor=1a2c, idProduct=0021 Nov 17 14:23:08 debian kernel: [15565.202746] usb 1-6.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Nov 17 14:23:08 debian kernel: [15565.202752] usb 1-6.1: Product: USB Keykoard Nov 17 14:23:08 debian kernel: [15565.202756] usb 1-6.1: Manufacturer: USB Nov 17 14:23:08 debian kernel: [15565.206204] input: USB USB Keykoard as /devices/pci0000:00/0000:00:1d.7/usb1/1-6/1-6.1/1-6.1:1.0/input/input13 Nov 17 14:23:08 debian kernel: [15565.206727] generic-usb 0003:1A2C:0021.0005: input,hidraw0: USB HID v1.10 Keyboard [USB USB Keykoard] on usb-0000:00:1d.7-6.1/input0 Nov 17 14:23:18 debian kernel: [15575.208216] generic-usb 0003:1A2C:0021.0006: usb_submit_urb(ctrl) failed Nov 17 14:23:18 debian kernel: [15575.208231] generic-usb 0003:1A2C:0021.0006: timeout initializing reports Nov 17 14:23:18 debian kernel: [15575.208457] input: USB USB Keykoard as /devices/pci0000:00/0000:00:1d.7/usb1/1-6/1-6.1/1-6.1:1.1/input/input14 Nov 17 14:23:18 debian kernel: [15575.208702] generic-usb 0003:1A2C:0021.0006: input,hidraw1: USB HID v1.10 Device [USB USB Keykoard] on usb-0000:00:1d.7-6.1/input1 Nov 17 14:23:18 debian mtp-probe: checking bus 1, device 12: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-6/1-6.1" Nov 17 14:23:18 debian mtp-probe: bus: 1, device: 12 was not an MTP device Nov 17 14:27:46 debian kernel: [15843.529526] usb 1-3: USB disconnect, device number 11 Nov 17 14:28:05 debian kernel: [15861.792084] usb 1-3: new high-speed USB device number 13 using ehci_hcd Nov 17 14:28:05 debian kernel: [15861.925070] usb 1-3: New USB device found, idVendor=152d, idProduct=2338 Nov 17 14:28:05 debian kernel: [15861.925078] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=5 Nov 17 14:28:05 debian kernel: [15861.925084] usb 1-3: Product: USB to ATA/ATAPI bridge Nov 17 14:28:05 debian kernel: [15861.925088] usb 1-3: Manufacturer: JMicron Nov 17 14:28:05 debian kernel: [15861.925092] usb 1-3: SerialNumber: 000001D91CA1 Nov 17 14:28:05 debian kernel: [15861.926271] scsi9 : usb-storage 1-3:1.0 Nov 17 14:28:05 debian mtp-probe: checking bus 1, device 13: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3" Nov 17 14:28:05 debian mtp-probe: bus: 1, device: 13 was not an MTP device Nov 17 14:28:06 debian kernel: [15862.924959] scsi 9:0:0:0: Direct-Access WDC WD40 00AAJS-22YFA0 PQ: 0 ANSI: 2 CCS Nov 17 14:28:06 debian kernel: [15862.928464] sd 9:0:0:0: Attached scsi generic sg2 type 0 Nov 17 14:28:06 debian kernel: [15862.928914] sd 9:0:0:0: [sde] 781422768 512-byte logical blocks: (400 GB/372 GiB) Nov 17 14:28:06 debian kernel: [15862.929650] sd 9:0:0:0: [sde] Write Protect is off Nov 17 14:28:06 debian kernel: [15862.929657] sd 9:0:0:0: [sde] Mode Sense: 28 00 00 00 Nov 17 14:28:06 debian kernel: [15862.930401] sd 9:0:0:0: [sde] No Caching mode page present Nov 17 14:28:06 debian kernel: [15862.930408] sd 9:0:0:0: [sde] Assuming drive cache: write through Nov 17 14:28:06 debian kernel: [15862.934530] sd 9:0:0:0: [sde] No Caching mode page present Nov 17 14:28:06 debian kernel: [15862.934538] sd 9:0:0:0: [sde] Assuming drive cache: write through Nov 17 14:28:06 debian kernel: [15862.958818] sde: sde1 sde2 sde3 < sde5 sde6 > Nov 17 14:28:06 debian kernel: [15862.964176] sd 9:0:0:0: [sde] No Caching mode page present Nov 17 14:28:06 debian kernel: [15862.964185] sd 9:0:0:0: [sde] Assuming drive cache: write through Nov 17 14:28:06 debian kernel: [15862.964191] sd 9:0:0:0: [sde] Attached SCSI disk Nov 17 14:35:38 debian kernel: [16315.047293] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.047410] Buffer I/O error on device sdd6, logical block 0 Nov 17 14:35:38 debian kernel: [16315.047413] lost page write due to I/O error on sdd6 Nov 17 14:35:38 debian kernel: [16315.047417] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.047472] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.047560] Buffer I/O error on device sdd6, logical block 0 Nov 17 14:35:38 debian kernel: [16315.047563] lost page write due to I/O error on sdd6 Nov 17 14:35:38 debian kernel: [16315.047566] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.047621] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.047709] Buffer I/O error on device sdd6, logical block 0 Nov 17 14:35:38 debian kernel: [16315.047712] lost page write due to I/O error on sdd6 Nov 17 14:35:38 debian kernel: [16315.047715] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.047840] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.047928] Buffer I/O error on device sdd6, logical block 0 Nov 17 14:35:38 debian kernel: [16315.047931] lost page write due to I/O error on sdd6 Nov 17 14:35:38 debian kernel: [16315.047934] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.048086] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.048176] Buffer I/O error on device sdd6, logical block 0 Nov 17 14:35:38 debian kernel: [16315.048178] lost page write due to I/O error on sdd6 Nov 17 14:35:38 debian kernel: [16315.048182] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.048241] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.048328] Buffer I/O error on device sdd6, logical block 0 Nov 17 14:35:38 debian kernel: [16315.048331] lost page write due to I/O error on sdd6 Nov 17 14:35:38 debian kernel: [16315.048334] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.048385] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.048473] Buffer I/O error on device sdd6, logical block 0 Nov 17 14:35:38 debian kernel: [16315.048476] lost page write due to I/O error on sdd6 Nov 17 14:35:38 debian kernel: [16315.048479] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.048533] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.048622] Buffer I/O error on device sdd6, logical block 0 Nov 17 14:35:38 debian kernel: [16315.048625] lost page write due to I/O error on sdd6 Nov 17 14:35:38 debian kernel: [16315.048628] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.048680] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.048768] Buffer I/O error on device sdd6, logical block 0 Nov 17 14:35:38 debian kernel: [16315.048771] lost page write due to I/O error on sdd6 Nov 17 14:35:38 debian kernel: [16315.048774] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.048824] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.048913] Buffer I/O error on device sdd6, logical block 0 Nov 17 14:35:38 debian kernel: [16315.048915] lost page write due to I/O error on sdd6 Nov 17 14:35:38 debian kernel: [16315.048918] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.048969] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.049058] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.085477] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.085582] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.086816] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.086919] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.086979] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.087068] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.087119] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.087207] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.087257] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.087345] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.088660] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.088773] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:35:38 debian kernel: [16315.088834] EXT3-fs error (device sdd6): ext3_find_entry: reading directory #2 offset 0 Nov 17 14:35:38 debian kernel: [16315.089704] EXT3-fs (sdd6): I/O error while writing superblock Nov 17 14:39:01 debian /USR/SBIN/CRON[12490]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete) Nov 17 15:06:13 debian kernel: [18149.920514] kjournald starting. Commit interval 5 seconds Nov 17 15:06:13 debian kernel: [18149.921298] EXT3-fs (sde6): using internal journal Nov 17 15:06:13 debian kernel: [18149.921305] EXT3-fs (sde6): mounted filesystem with ordered data mode Nov 17 15:07:53 debian kernel: [18250.039121] kjournald starting. Commit interval 5 seconds Nov 17 15:07:53 debian kernel: [18250.040114] EXT3-fs (sde6): using internal journal Nov 17 15:07:53 debian kernel: [18250.040122] EXT3-fs (sde6): mounted filesystem with ordered data mode Nov 17 15:09:01 debian /USR/SBIN/CRON[12955]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete) Nov 17 15:09:20 debian kernel: [18336.999717] kjournald starting. Commit interval 5 seconds Nov 17 15:09:20 debian kernel: [18337.001230] EXT3-fs (sde6): using internal journal Nov 17 15:09:20 debian kernel: [18337.001238] EXT3-fs (sde6): mounted filesystem with ordered data mode Nov 17 15:09:53 debian kernel: [18369.752613] kjournald starting. Commit interval 5 seconds Nov 17 15:09:53 debian kernel: [18369.753328] EXT3-fs (sde6): using internal journal Nov 17 15:09:53 debian kernel: [18369.753334] EXT3-fs (sde6): mounted filesystem with ordered data mode Nov 17 15:17:01 debian /USR/SBIN/CRON[13124]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Dysk mam dopisany do fstab, więc montuje się na starcie:
/dev/sdb6 /media/dysk-usb ext3 defaults,errors=remount-ro 0 0
Litera dysku zmienia się po odmontowaniu na wyższą w alfabecie - dlatego w fstab jest sdb6 a w syslogu sdd6 i sde6.
Wydałem tę komendę z podanego linka, teraz więc wygląda to tak:
root@debian:/home/david# cat /sys/bus/usb/devices/*/power/autosuspend -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
Zobaczymy czy coś się poprawi.
Ostatnio edytowany przez davidoski (2013-11-17 15:42:23)
Offline
Dysk jednak znów się odmontował. I to w trakcie jego używania. Słuchałem muzyki mp3 i nagle przestało grać.
Syslog pokazuje coś takiego:
Nov 18 01:39:01 debian /USR/SBIN/CRON[19160]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete) Nov 18 01:39:17 debian kernel: [56134.043433] usb 1-3: USB disconnect, device number 13 Nov 18 01:39:43 debian kernel: [56159.896104] usb 1-3: new high-speed USB device number 14 using ehci_hcd Nov 18 01:39:43 debian kernel: [56160.029146] usb 1-3: New USB device found, idVendor=152d, idProduct=2338 Nov 18 01:39:43 debian kernel: [56160.029154] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=5 Nov 18 01:39:43 debian kernel: [56160.029160] usb 1-3: Product: USB to ATA/ATAPI bridge Nov 18 01:39:43 debian kernel: [56160.029164] usb 1-3: Manufacturer: JMicron Nov 18 01:39:43 debian kernel: [56160.029168] usb 1-3: SerialNumber: 000001D91CA1 Nov 18 01:39:43 debian kernel: [56160.030132] scsi10 : usb-storage 1-3:1.0 Nov 18 01:39:43 debian mtp-probe: checking bus 1, device 14: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3" Nov 18 01:39:43 debian mtp-probe: bus: 1, device: 14 was not an MTP device Nov 18 01:39:44 debian kernel: [56161.032958] scsi 10:0:0:0: Direct-Access WDC WD40 00AAJS-22YFA0 PQ: 0 ANSI: 2 CCS Nov 18 01:39:44 debian kernel: [56161.035152] sd 10:0:0:0: Attached scsi generic sg2 type 0 Nov 18 01:39:44 debian kernel: [56161.035648] sd 10:0:0:0: [sdf] 781422768 512-byte logical blocks: (400 GB/372 GiB) Nov 18 01:39:44 debian kernel: [56161.036400] sd 10:0:0:0: [sdf] Write Protect is off Nov 18 01:39:44 debian kernel: [56161.036404] sd 10:0:0:0: [sdf] Mode Sense: 28 00 00 00 Nov 18 01:39:44 debian kernel: [56161.037146] sd 10:0:0:0: [sdf] No Caching mode page present Nov 18 01:39:44 debian kernel: [56161.037151] sd 10:0:0:0: [sdf] Assuming drive cache: write through Nov 18 01:39:44 debian kernel: [56161.040531] sd 10:0:0:0: [sdf] No Caching mode page present Nov 18 01:39:44 debian kernel: [56161.040536] sd 10:0:0:0: [sdf] Assuming drive cache: write through Nov 18 01:39:44 debian kernel: [56161.065190] sdf: sdf1 sdf2 sdf3 < sdf5 sdf6 > Nov 18 01:39:44 debian kernel: [56161.069652] sd 10:0:0:0: [sdf] No Caching mode page present Nov 18 01:39:44 debian kernel: [56161.069658] sd 10:0:0:0: [sdf] Assuming drive cache: write through Nov 18 01:39:44 debian kernel: [56161.069662] sd 10:0:0:0: [sdf] Attached SCSI disk
Offline
Na WINSHIT'cie ten dysk tak samo się zatrzymuje, czy to tylko na Linuxie takie kfiatki?
Może dyzio ma jakiś tryb oszczędzania energii, niezbyt kompatybilny z Linuxem?
Na inne systemy do tego dyzia dają jakiś extra sterownik?
Pytam, bo może to jakaś nowa "super technologia".
Czy ten dyzio jest zasilany z USB, czy z innego źródła?
Istnieje też możliwość, że czasami coś się nie wyrabia prądowo, i stąd takie przerwy, i gubienie dysku.
W takim przypadku, jeśli udev gubi dysk, to go montuje jeszcze raz.
Z tego wynikają coraz to nowe literki.
I radziłbym szukać conieco o dyziu w /var/log/kern.log albo w dmesg, czyli w logach kernela.
W syslogu zazwyczaj ląduje masło, mydło i powidło.
Ostatnio edytowany przez Jacekalex (2013-11-18 12:45:13)
Offline
To jest dysk od komputera stacjonarnego podłączony do laptopa za pomocą przejściówki SATA->USB plus zasilacz sieciowy. Do tej przejściówki była dołączona płyta ze sterownikami, ale tylko windowsowymi. Windowsa mam tylko na wirtualnej maszynie, więc nie wiem jak tam się zachowuje. W /var/log/kern.log są dodatkowe błędy:
Nov 18 01:39:17 debian kernel: [56134.043433] usb 1-3: USB disconnect, device number 13 Nov 18 01:39:43 debian kernel: [56159.896104] usb 1-3: new high-speed USB device number 14 using ehci_hcd Nov 18 01:39:43 debian kernel: [56160.029146] usb 1-3: New USB device found, idVendor=152d, idProduct=2338 Nov 18 01:39:43 debian kernel: [56160.029154] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=5 Nov 18 01:39:43 debian kernel: [56160.029160] usb 1-3: Product: USB to ATA/ATAPI bridge Nov 18 01:39:43 debian kernel: [56160.029164] usb 1-3: Manufacturer: JMicron Nov 18 01:39:43 debian kernel: [56160.029168] usb 1-3: SerialNumber: 000001D91CA1 Nov 18 01:39:43 debian kernel: [56160.030132] scsi10 : usb-storage 1-3:1.0 Nov 18 01:39:44 debian kernel: [56161.032958] scsi 10:0:0:0: Direct-Access WDC WD40 00AAJS-22YFA0 PQ: 0 ANSI: 2 CCS Nov 18 01:39:44 debian kernel: [56161.035152] sd 10:0:0:0: Attached scsi generic sg2 type 0 Nov 18 01:39:44 debian kernel: [56161.035648] sd 10:0:0:0: [sdf] 781422768 512-byte logical blocks: (400 GB/372 GiB) Nov 18 01:39:44 debian kernel: [56161.036400] sd 10:0:0:0: [sdf] Write Protect is off Nov 18 01:39:44 debian kernel: [56161.036404] sd 10:0:0:0: [sdf] Mode Sense: 28 00 00 00 Nov 18 01:39:44 debian kernel: [56161.037146] sd 10:0:0:0: [sdf] No Caching mode page present Nov 18 01:39:44 debian kernel: [56161.037151] sd 10:0:0:0: [sdf] Assuming drive cache: write through Nov 18 01:39:44 debian kernel: [56161.040531] sd 10:0:0:0: [sdf] No Caching mode page present Nov 18 01:39:44 debian kernel: [56161.040536] sd 10:0:0:0: [sdf] Assuming drive cache: write through Nov 18 01:39:44 debian kernel: [56161.065190] sdf: sdf1 sdf2 sdf3 < sdf5 sdf6 > Nov 18 01:39:44 debian kernel: [56161.069652] sd 10:0:0:0: [sdf] No Caching mode page present Nov 18 01:39:44 debian kernel: [56161.069658] sd 10:0:0:0: [sdf] Assuming drive cache: write through Nov 18 01:39:44 debian kernel: [56161.069662] sd 10:0:0:0: [sdf] Attached SCSI disk Nov 18 01:44:18 debian kernel: [56434.843141] kjournald starting. Commit interval 5 seconds Nov 18 01:44:18 debian kernel: [56434.844442] EXT3-fs (sdf6): using internal journal Nov 18 01:44:18 debian kernel: [56434.844446] EXT3-fs (sdf6): recovery complete Nov 18 01:44:18 debian kernel: [56434.844948] EXT3-fs (sdf6): mounted filesystem with ordered data mode Nov 18 03:00:19 debian kernel: [60995.703216] usb 1-3: USB disconnect, device number 14 Nov 18 03:00:19 debian kernel: [60995.707877] sd 10:0:0:0: [sdf] Unhandled error code Nov 18 03:00:19 debian kernel: [60995.707882] sd 10:0:0:0: [sdf] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK Nov 18 03:00:19 debian kernel: [60995.707887] sd 10:0:0:0: [sdf] CDB: Read(10): 28 00 03 a4 46 8f 00 00 08 00 Nov 18 03:00:19 debian kernel: [60995.707899] end_request: I/O error, dev sdf, sector 61097615 Nov 18 03:00:19 debian kernel: [60995.707917] sd 10:0:0:0: [sdf] Unhandled error code Nov 18 03:00:19 debian kernel: [60995.707919] sd 10:0:0:0: [sdf] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK Nov 18 03:00:19 debian kernel: [60995.707932] EXT3-fs error (device sdf6): ext3_free_branches: Read failure, inode=1147866, block=2657044 Nov 18 03:00:19 debian kernel: [60995.707933] sd 10:0:0:0: [sdf] CDB: Read(10): 28 00 03 84 6e bf 00 00 08 00 Nov 18 03:00:19 debian kernel: [60995.707951] end_request: I/O error, dev sdf, sector 59010751 Nov 18 03:00:19 debian kernel: [60995.708098] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.708120] EXT3-fs error (device sdf6): ext3_free_branches: Read failure, inode=1147866, block=2658069 Nov 18 03:00:19 debian kernel: [60995.708235] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.708511] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147761 offset 0 Nov 18 03:00:19 debian kernel: [60995.708610] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.708668] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147202 offset 0 Nov 18 03:00:19 debian kernel: [60995.708761] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.708779] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147202 offset 0 Nov 18 03:00:19 debian kernel: [60995.708870] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.708904] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147203 offset 0 Nov 18 03:00:19 debian kernel: [60995.708997] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.709025] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147204 offset 0 Nov 18 03:00:19 debian kernel: [60995.709117] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.709146] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147205 offset 0 Nov 18 03:00:19 debian kernel: [60995.709238] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.709272] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147206 offset 0 Nov 18 03:00:19 debian kernel: [60995.709364] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.709392] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147207 offset 0 Nov 18 03:00:19 debian kernel: [60995.709484] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.709511] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147208 offset 0 Nov 18 03:00:19 debian kernel: [60995.709604] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.709631] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147209 offset 0 Nov 18 03:00:19 debian kernel: [60995.709723] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.709751] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147210 offset 0 Nov 18 03:00:19 debian kernel: [60995.709842] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.709872] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147211 offset 0 Nov 18 03:00:19 debian kernel: [60995.709964] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.709992] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147212 offset 0 Nov 18 03:00:19 debian kernel: [60995.710084] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.710112] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147762 offset 0 Nov 18 03:00:19 debian kernel: [60995.710204] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.710231] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147213 offset 0 Nov 18 03:00:19 debian kernel: [60995.710323] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.710352] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147214 offset 0 Nov 18 03:00:19 debian kernel: [60995.710444] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.710472] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147215 offset 0 Nov 18 03:00:19 debian kernel: [60995.710563] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.710592] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147216 offset 0 Nov 18 03:00:19 debian kernel: [60995.710685] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.710714] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147217 offset 0 Nov 18 03:00:19 debian kernel: [60995.710805] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.710837] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147218 offset 0 Nov 18 03:00:19 debian kernel: [60995.710928] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.710956] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147219 offset 0 Nov 18 03:00:19 debian kernel: [60995.711047] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.711076] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1148102 offset 0 Nov 18 03:00:19 debian kernel: [60995.712243] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.712293] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147220 offset 0 Nov 18 03:00:19 debian kernel: [60995.712392] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.712430] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147763 offset 0 Nov 18 03:00:19 debian kernel: [60995.712528] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.712564] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.712661] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.712942] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.713041] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.713202] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.713301] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.713473] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.713571] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.713716] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.713817] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.713959] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.714057] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.714201] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.714299] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.715862] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.715971] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.716633] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.716740] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.716895] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.716994] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.717144] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.717244] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.717403] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.717503] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.717650] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.717748] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.717887] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.717984] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.718124] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.718222] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.718360] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.718457] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.718594] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.718691] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.718828] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1147221 offset 0 Nov 18 03:00:19 debian kernel: [60995.718926] EXT3-fs (sdf6): I/O error while writing superblock Nov 18 03:00:19 debian kernel: [60995.729408] JBD: I/O error detected when updating journal superblock for sdf6. Nov 18 03:00:19 debian kernel: [60995.731435] JBD: Detected IO errors while flushing file data on sdf6 Nov 18 03:00:19 debian kernel: [60995.731629] Aborting journal on device sdf6. Nov 18 03:00:19 debian kernel: [60995.731639] JBD: I/O error detected when updating journal superblock for sdf6. Nov 18 03:00:19 debian kernel: [60995.731682] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736303] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736378] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736486] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736490] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736496] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736500] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736503] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736508] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736511] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736515] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736519] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736522] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736525] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736528] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736534] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736536] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736540] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736543] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736547] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736550] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736554] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736556] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736562] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.736565] journal commit I/O error Nov 18 03:00:19 debian kernel: [60995.737516] EXT3-fs (sdf6): error: ext3_journal_start_sb: Detected aborted journal Nov 18 03:00:19 debian kernel: [60995.737522] EXT3-fs (sdf6): error: remounting filesystem read-only Nov 18 03:00:19 debian kernel: [60995.941665] EXT3-fs error (device sdf6): ext3_find_entry: reading directory #1146966 offset 0
Ten I/O error dostaję nieraz w powiadomieniach środowiska graficznego w trakcie zapisywania jakichś danych, jeśli akurat wtedy się odmontuje.
Kiedy ten dysk służył jako główny dysk w komputerze stacjonarnym nie było z nim nigdy żadnych problemów - dopiero po podłączeniu do laptopa przez prześciówkę USB zaczął się odmontowywać - podejrzewam, że ten sposób podłączenia może powodować błędy. Przydałby się jakiś skrypt podmontowujący automatycznie dysk w przypadku samoczynnego odmontowania, coś ala wznawianie zerwanego połączenia internetowego tylko w odniesieniu do montowania dysku.
Ostatnio edytowany przez davidoski (2013-11-18 12:59:03)
Offline
Miałem kiedyś podobne problemy (dysk się czasem nie chciał zamontować, czasem odmontowywał się w trakcie pracy) - winnym okazał się kabelek USB ;)
Offline
W moim przypadku wymiana kabla nie wchodzi w grę, bo to jest przejściówka i musiałbym ją całą wymienić. Trudno, pomęczę się do czasu wymiany laptopa na nowszy.
Offline
Time (s) | Query |
---|---|
0.00012 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00099 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.142.40.195' WHERE u.id=1 |
0.00100 | UPDATE punbb_online SET logged=1732382561 WHERE ident='3.142.40.195' |
0.00047 | SELECT * FROM punbb_online WHERE logged<1732382261 |
0.00079 | DELETE FROM punbb_online WHERE ident='3.145.164.47' |
0.00079 | DELETE FROM punbb_online WHERE ident='3.147.89.50' |
0.00056 | SELECT topic_id FROM punbb_posts WHERE id=246078 |
0.00004 | SELECT id FROM punbb_posts WHERE topic_id=24624 ORDER BY posted |
0.00059 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=24624 AND t.moved_to IS NULL |
0.00008 | SELECT search_for, replace_with FROM punbb_censoring |
0.00199 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=24624 ORDER BY p.id LIMIT 0,25 |
0.00078 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=24624 |
Total query time: 0.00824 s |