1 (edytowany przez Mari0 2012-08-29 20:06:00)

Temat: plugin-gargoyle-hdidle

http://farm8.staticflickr.com/7012/6842272117_64af1464b0_z.jpg

1.1
+Checkbox przy stanach włączony/wyłączony
+info dla którego dysku i na ile hdidle jest włączony

1.1b
+naprawa atrybutu selected w liście napędów
+zmiana kolejności znacznika fieldset id="no_disks"

1.1.c
+informacja o uruchomionym procesie hd-idle jest widoczna po zapisie zmian

1.2
+'poprawa' kodu
+możliwość zabicia procesu hdidle

1.2a
+drobna poprawka

1.2b
+okienko potwierdzenia zakończenia procesu

1.2c
+informacja o napędzie z partycją swap (blokada checkboxa)
hdidle_1.2c
hdidle_1.2c+
http://farm8.staticflickr.com/7280/7867341392_f5d459d24b.jpg

Netgear WNDR3800 => Gargoyle 1.9.0.3 (r49208) by obsy
https://github.com/Mari00/gargoyle-plugins

2

Odp: plugin-gargoyle-hdidle

Moje 3gr: gargoyle raczej używa checkboxów na stan włączony/wyłączony, lepiej by to wyglądało.

No i inny problem - mam trzy dyski i za chiny nie widać dla którego hd-idle jest włączony a dla którego nie i na ile.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: plugin-gargoyle-hdidle

Mały "updejt"

I takie pytanko:
Cezary a w  /tmp/mounted_usb_storage.tab masz wszystkie partycje?
Mi dopisuje tylko dwie od dysku, a od pendriva już nie.

Netgear WNDR3800 => Gargoyle 1.9.0.3 (r49208) by obsy
https://github.com/Mari00/gargoyle-plugins

4

Odp: plugin-gargoyle-hdidle

/tmp/mounted_usb_storage.tab nie masz tych których z automatu nie zamontował. Bo albo nie potrafi, ale są na niej błędy itd.

Chyba lepiej było by używać po prostu blkid do tego.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: plugin-gargoyle-hdidle

Rozumem że plik hdidle.sh kopiujemy do katalogu /www
A plik hdidle.js do katalogu ?

6

Odp: plugin-gargoyle-hdidle

Zauważ że jest gotowy pakiet z tym...

hdidle.js do /www/js

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: plugin-gargoyle-hdidle

Faktycznie, nie pomyślałem, THX smile

8

Odp: plugin-gargoyle-hdidle

Wgrałem oba pliki i nie ma zarządzania przez www

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

9

Odp: plugin-gargoyle-hdidle

Ale wiesz że jeszcze do menu w /etc/config/gargoyle musisz to dodać?

Czemu gotowego pakietu nie zainstalowałeś z repo?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

10

Odp: plugin-gargoyle-hdidle

Cezary, zainstalowałem z tego:  http://eko.one.pl/?p=openwrt-standby#hdidle oraz dodałem paczkę z załącznika tego tematu. W repo z linku http://ecco.selfip.net/backfire/ar71xx/packages/ ?

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

11

Odp: plugin-gargoyle-hdidle

http://ecco.selfip.net/gargoyle-pl/ar71xx/packages/

Rzeczy specyficzne dla gargoyle. Jezeli to mój obraz to takie repo powinieneś mieć standardowo dodane.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

12

Odp: plugin-gargoyle-hdidle

Oczywiście Twój obraz, nie odważył bym się użyć kogoś innego wink BTW: HD-IDLE robi u mnie problemy, więc nie będę kombinować z dodawaniem go. W każdym bądź razie - dzieki!

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

13

Odp: plugin-gargoyle-hdidle

Dużo Was jest i nie pamiętam kto czego używa. Przynajmniej w dłuższym okresie czasu smile

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14 (edytowany przez dorado 2012-03-26 20:27:14)

Odp: plugin-gargoyle-hdidle

smile Wiadomo, każdy o coś prosi.

Ciekawe, gdyż odinstalowałem hd-idle i teraz nie mogę zamontować dysku.
log:

0x000000020000-0x0000007f0000 : "firmware"
Realtek RTL8366RB ethernet switch driver version 0.2.4
rtl8366rb rtl8366rb: using GPIO pins 18 (SDA) and 19 (SCK)
rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
rtl8366rb: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
eth0: using fixed link parameters
Atheros AR71xx hardware watchdog driver version 0.1.0
ar71xx-wdt: timeout=15 secs (max=21)
TCP westwood registered
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 152k freed
Please be patient, while OpenWrt loads ...
input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
Button Hotplug driver version 0.3.1
ar71xx: pll_reg 0xb8050014: 0x1a000000
eth0: link up (1000Mbps/Full duplex)
Registered led device: tl-wr1043nd:green:usb
Registered led device: tl-wr1043nd:green:system
Registered led device: tl-wr1043nd:green:qss
Registered led device: tl-wr1043nd:green:wlan
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller
ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb 1-1: new high speed USB device using ar71xx-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.2: new high speed USB device using ar71xx-ehci and address 3
usb 1-1.2: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usb 1-1.4: new high speed USB device using ar71xx-ehci and address 4
usb 1-1.4: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
scsi 0:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
usb-storage: device scan complete
sd 0:0:0:0: [sda] 3928064 512-byte logical blocks: (2.01 GB/1.87 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1 sda2
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
scsi 1:0:0:0: Direct-Access     TOSHIBA  MK2552GSX             PQ: 0 ANSI: 0
usb-storage: device scan complete
sd 1:0:0:0: [sdb] 488397168 512-byte logical blocks: (250 GB/232 GiB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sd 1:0:0:0: [sdb] Attached SCSI disk
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with writeback data mode.
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
eth0: link down
ar71xx: pll_reg 0xb8050014: 0x1a000000
eth0: link up (1000Mbps/Full duplex)
device eth0.1 entered promiscuous mode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.1) entering forwarding state
Compat-wireless backport release: compat-wireless-2011-11-29
Backport based on wireless-testing.git master-2011-12-01
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
cfg80211: Calling CRDA for country: US
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PPP generic driver version 2.4.2
cfg80211: Regulatory domain changed to country: US
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (459 buckets, 1836 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
xt_time: kernel timezone is -0000
        Hooked IMQ after mangle on PREROUTING
        Hooked IMQ after nat on POSTROUTING
IMQ driver loaded successfully.
ip_set version 4 loaded
Ebtables v2.0 registered
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usblp
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
usbcore: registered new interface driver ums-alauda
usbcore: registered new interface driver ums-cypress
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-isd200
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-karma
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
USB Serial support registered for Sierra USB modem
usbcore: registered new interface driver sierra
sierra: v.1.3.8:USB Driver for Sierra Wireless USB modems
fuse init (API version 7.13)
Adding 1229688k swap on /dev/sda2.  Priority:-1 extents:1 across:1229688k
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
device wlan0 left promiscuous mode
br-lan: port 2(wlan0) entering disabled state
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
ipt_bandwidth: timezone shift of 60 minutes detected, adjusting
               old minutes west=0, new minutes west=-60
ar71xx-wdt: enabling watchdog timer
usb 1-1.4: USB disconnect, address 4
Adding 1229688k swap on /dev/sda2.  Priority:-1 extents:1 across:1229688k
Adding 1229688k swap on /dev/sda2.  Priority:-1 extents:1 across:1229688k
usb 1-1.4: new high speed USB device using ar71xx-ehci and address 5
usb 1-1.4: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
scsi 2:0:0:0: Direct-Access     TOSHIBA  MK2552GSX             PQ: 0 ANSI: 0
usb-storage: device scan complete
sd 2:0:0:0: [sdb] 488397168 512-byte logical blocks: (250 GB/232 GiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Attached SCSI disk
Adding 1229688k swap on /dev/sda2.  Priority:-1 extents:1 across:1229688k
yaffs: dev is 8388625 name is "sdb1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 8.17, "sdb1"
yaffs: dev is 8388625 name is "sdb1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 8.17, "sdb1"
Adding 1229688k swap on /dev/sda2.  Priority:-1 extents:1 across:1229688k
usb 1-1.4: USB disconnect, address 5
Adding 1229688k swap on /dev/sda2.  Priority:-1 extents:1 across:1229688k
Adding 1229688k swap on /dev/sda2.  Priority:-1 extents:1 across:1229688k
usb 1-1.4: new high speed USB device using ar71xx-ehci and address 6
usb 1-1.4: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
scsi 3:0:0:0: Direct-Access     TOSHIBA  MK2552GSX             PQ: 0 ANSI: 0
usb-storage: device scan complete
sd 3:0:0:0: [sdb] 488397168 512-byte logical blocks: (250 GB/232 GiB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sd 3:0:0:0: [sdb] Attached SCSI disk
Adding 1229688k swap on /dev/sda2.  Priority:-1 extents:1 across:1229688k
yaffs: dev is 8388625 name is "sdb1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 8.17, "sdb1"
yaffs: dev is 8388625 name is "sdb1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 8.17, "sdb1"
Adding 1229688k swap on /dev/sda2.  Priority:-1 extents:1 across:1229688k
root@Gargoyle:~$ cat /etc/fstab
/dev/sda1       /overlay        ext3    rw,noatime      0       0
/dev/sda2       none    swap    sw      0       0
root@Gargoyle:~$

I np taki;
mount: can't mmount /dev/sdb1: Invalid argument
I to:

login as: root
root@192.168.1.1's password:


BusyBox v1.15.3 (2012-02-09 09:35:04 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.


             _____                             _
            |  __ \                           | |
            | |  \/ __ _ _ __ __ _  ___  _   _| | ___
            | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \
            | |_\ \ (_| | | | (_| | (_) | |_| | |  __/
             \____/\__,_|_|  \__, |\___/ \__, |_|\___|
                              __/ |       __/ |
                             |___/       |___/

----------------------------------------------------------------
|                                                              |
| Gargoyle 1.5.4                                               |
| Wersja Gargoyle: 703e64d                                     |
| OpenWrt Backfire 10.03.1                                     |
| Wersja OpenWrt: 30752                                        |
| Zbudowano: 2012-03-02 18:45 CET                              |
|                                                              |
| Cezary Jackiewicz (obsy), http://eko.one.pl                  |
|                                                              |
----------------------------------------------------------------
Booted from EXTERNALL ROOT
root@Gargoyle:~$ mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=14692k)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/sda1 on /overlay type ext3 (rw,noatime,errors=continue,data=writeback)
mini_fo:/overlay on / type mini_fo (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
root@Gargoyle:~$



Kurcze, nie dodaję już nic do niego. Minidlna, torrent oraz print server i jest zero kłopotów.

Ten komunikat mnie martwi

root@Gargoyle:~$ e2fsck -y /dev/sdb
e2fsck 1.41.11 (14-Mar-2010)
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/sdb

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

root@Gargoyle:~$

I coś takiego

umount: can't forcibly umount /dev/sdb1: Invalid argument
root@Gargoyle:~$ e2fsck -y /dev/sdb1
e2fsck 1.41.11 (14-Mar-2010)
/dev/sdb1: clean, 11960/15269888 files, 36102670/61049000 blocks
root@Gargoyle:~$

Czy jestem w stanie dostać się do tych danych?

I Fdisk

root@Gargoyle:~$ fdisk /dev/sdb1
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x248b334d.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.


The number of cylinders for this disk is set to 30400.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help):

Jeśli sie okaże, że plików nie da się odzyskać, chociaż pisze, że jest ich ok 11800 co by się zgadzało, to będzie masakra jak nie wiem co smile

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

15

Odp: plugin-gargoyle-hdidle

podłącz dysk do stacjonarki i odpal z dowolnej dystrybucji linuxa testdisk to może pomoże (znajdzie partycje i zapiszesz je do tablicy) smile

OpenWRT na TP-LINK Archer C7 v2, Korbox Gigabitus (Zbtlink ZBT-WE1326), Xiaomi AIoT Router AC2350 | http://blog.sloniupl.eu/

16

Odp: plugin-gargoyle-hdidle

Witam
Puściłem e2fsck -y /dev/sdb1 na całą noc i odzyskałem pliki. Jedynie zawartość katalogu torrent, gdzie były zapisywane torrenty, znikła. Sprawdzałem i jest w lost+found. Z poziomu samby nie mogę wejść. Da się to odzyskać?

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

17

Odp: plugin-gargoyle-hdidle

Pliki z lost+found możesz skasować lub przenieść tam gdzie powinny być, jeżeli wiesz co jest co.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

18

Odp: plugin-gargoyle-hdidle

UDAŁO SIĘ ! Przepraszam za CapsLock, ale chciałem to wykrzyczeć smile

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

19

Odp: plugin-gargoyle-hdidle

Czy jest sens uruchamiania hd-idle dla pendrive służącego jako serwer ftp? Jest na nim partycja swap.

20

Odp: plugin-gargoyle-hdidle

Nie. Przeciez hd-idle ma za zadanie stopowanie silników, a ty tego nie masz...

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

21

Odp: plugin-gargoyle-hdidle

Tak myślałem, dzięki.

22

Odp: plugin-gargoyle-hdidle

plugin hd-idle & debug

hd-idle rozumiem po co, ale co nam daje zaznaczenie opcji "Debug"  ?

23 (edytowany przez build000 2014-07-28 20:42:45)

Odp: plugin-gargoyle-hdidle

Pewno daje "tryb gadatliwy" ze swojej pracy oraz podgląd interakcji z resztą systemu (czyste "verbose") lub na poziomie (zależy), np. "gadania bibliotek ze sobą" (o ile to taki debug to obsługuje levele, czyli poziomy tej gadatliwości, co zazwyczaj ma miejsce gdy odwołuje się do np. debugera jądra czy cc, czy czegoś jeszcze innego, np. uclibc, i.t.d. ) - żebyś wiedział mniej więcej (a raczej więcej niż normalnie z trybu zwykłego) co się dzieje na skutek jego działania i gdzie szukać przyczyny ewentualnych błędów.
Tak samo zresztą jak z innymi programami w linuchu - przynajmniej w teorii.
Coś mniej więcej to samo jak wywołanie innych programów/skryptów/i.t.d. z opcją np."-v" lub "-vv" albo np. -debug 1 (1...n), czy samo verbose - tylko same ustalone przez autora poziomy gadatliwości, niekoniecznie w oparciu o czysty debug - o ile mają to zaimplementowane w sobie.
Generalnie najlepiej spytać autora, co obsługuje i w jaki sposób owe "verbose" lub "debug" - jak on to zaimplementował.

24

Odp: plugin-gargoyle-hdidle

wg tego poradnika :
https://eko.one.pl/?p=openwrt-standby
co jest dla nowego gargoyle "lepsze" ? hd-idle czy hdparm ?

25

Odp: plugin-gargoyle-hdidle

Użyj tego który ci działa. Nie ma "lepszego".

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.