*** lobito has quit IRC | 00:02 | |
*** Michael_a380 has joined #maemo | 00:04 | |
*** geaaru has quit IRC | 00:14 | |
*** L29Ah has quit IRC | 00:18 | |
DocScrutinizer05 | how the heck would I disable the twl4030 keypad IRQ? sth about: | 00:54 |
---|---|---|
DocScrutinizer05 | --w------- 1 root root 4096 2017-01-16 23:52 /sys/bus/platform/drivers/twl4030_keypad/bind | 00:54 |
DocScrutinizer05 | --w------- 1 root root 4096 2017-01-16 23:52 /sys/bus/platform/drivers/twl4030_keypad/unbind | 00:54 |
DocScrutinizer05 | ? | 00:54 |
DocScrutinizer05 | Vajb: to lock kbd completely: ## echo 'twl4030_keypad' >/sys/bus/platform/drivers/twl4030_keypad/unbind; ## to re-enable: ## echo 'twl4030_keypad' >/sys/bus/platform/drivers/twl4030_keypad/bind; ## | 01:00 |
DocScrutinizer05 | swiftly tested, seems to work with no obvious negative side effects | 01:01 |
DocScrutinizer05 | Vajb: now what you need is a way to make that happen on device/screen lock and unlock respectively | 01:02 |
DocScrutinizer05 | freemangordon: ^^^ idealy this becomes a patch to mce, right? | 01:03 |
*** xorly has quit IRC | 01:03 | |
DocScrutinizer05 | Vajb: until then, I'm pretty sure you can clutch together sth with dbus-scripting, triggering the according commands as mentioned above on signals that indicate tklock / unlock | 01:04 |
DocScrutinizer05 | I suggest: | 01:06 |
DocScrutinizer05 | signal sender=:1.14 -> dest=(null destination) serial=525 path=/com/nokia/mce/signal; interface=com.nokia.mce.signal; member=tklock_mode_ind | 01:06 |
DocScrutinizer05 | string "locked" | 01:06 |
DocScrutinizer05 | aka "mce sends signal: 'device locked' " | 01:07 |
DocScrutinizer05 | see pkg "dbus-scripting" | 01:08 |
DocScrutinizer05 | http://paste.opensuse.org/74779136 | 01:13 |
DocScrutinizer05 | note that I strongly recommend to use dbus-scripting instead dbus-monitor | 01:13 |
*** Pali has quit IRC | 01:16 | |
*** Michael_a380 has quit IRC | 01:16 | |
*** xes_ is now known as xes | 01:20 | |
*** N-Mi_ has quit IRC | 01:36 | |
DocScrutinizer05 | not recommended (but works): dbus-monitor --system|grep --line-buffered -A1 'interface=com.nokia.mce.signal; member=tklock_mode_ind'|while read; do case $REPLY in *string\ \"unlocked\"*) echo UNLOCKED; echo 'twl4030_keypad' >/sys/bus/platform/drivers/twl4030_keypad/bind;; *string\ \"locked\"*) echo LOCKED; echo 'twl4030_keypad' >/sys/bus/platform/drivers/twl4030_keypad/unbind;; esac; done | 01:43 |
*** flo_lap has quit IRC | 01:48 | |
DocScrutinizer05 | no idea if maybe (from syslog) this would be better suited: Jan 17 00:49:21 IroN900 systemui-tklock[1085]: Method call received from: :1.14, iface: com.nokia.system_ui.request, method: tklock_close | 01:50 |
*** Kabouik has quit IRC | 02:30 | |
*** capitanocrunch has joined #maemo | 02:40 | |
*** capitanocrunch has joined #maemo | 02:40 | |
*** capitanocrunch has left #maemo | 02:41 | |
*** jerardepardieu has joined #maemo | 02:42 | |
jerardepardieu | ~dnsmasq | 02:43 |
*** jerardepardieu has left #maemo | 02:44 | |
*** capitanocrunch has joined #maemo | 02:51 | |
*** capitanocrunch has joined #maemo | 02:51 | |
*** L29Ah has joined #maemo | 02:52 | |
*** capitanocrunch has quit IRC | 02:52 | |
*** Wizzup has quit IRC | 02:59 | |
*** capitanocrunch has joined #maemo | 03:01 | |
*** capitanocrunch has quit IRC | 03:34 | |
*** CraigEr has quit IRC | 03:51 | |
*** M4rtinK has quit IRC | 03:55 | |
*** Wizzup has joined #maemo | 04:13 | |
*** MIchael_a380 has joined #maemo | 04:54 | |
*** ravelo_ has joined #maemo | 05:00 | |
*** ravelo has quit IRC | 05:03 | |
*** cyphase has quit IRC | 05:21 | |
*** Wizzup has quit IRC | 05:23 | |
*** spiiroin_ has joined #maemo | 05:26 | |
*** cyphase has joined #maemo | 05:26 | |
*** spiiroin has quit IRC | 05:28 | |
*** dreamer has quit IRC | 05:30 | |
MIchael_a380 | ~obsolete | 05:39 |
MIchael_a380 | ~battery | 05:40 |
infobot | extra, extra, read all about it, polarcell is http://www.ebay.co.uk/itm/390402445382 BL-5J Replacement | 05:40 |
MIchael_a380 | ~deprecated | 05:40 |
infobot | i heard deprecated is a term in computer software that indicates a feature is no longer officially supported even if it still exists and may eventually be removed altogether. Deprecated is often misspelled 'depreciated' which is a financial term. | 05:40 |
MIchael_a380 | ~broken package | 05:43 |
MIchael_a380 | ~pkg | 05:44 |
infobot | somebody said pkg was http://maemo.org/packages/ | 05:44 |
*** florian has joined #maemo | 05:58 | |
*** at1as has joined #maemo | 05:59 | |
*** florian_kc has quit IRC | 06:00 | |
*** lxp1 has joined #maemo | 06:01 | |
*** lxp has quit IRC | 06:04 | |
*** at1as has quit IRC | 06:04 | |
MIchael_a380 | Found it :) http://wiki.maemo.org/Community_SSU/known_broken_packages | 06:08 |
DocScrutinizer05 | ~listvalues known_broken_packages | 06:15 |
infobot | Factoid search of 'known_broken_packages' by value returned no results. | 06:15 |
*** at1as has joined #maemo | 06:18 | |
DocScrutinizer05 | freemangordon: sorry, to open a ticket (aka 'create an issue') on github, I'd need an account which I don't have and don't want to start a browser compatible with the capchas and stuff they have there | 06:18 |
*** at1as has quit IRC | 06:19 | |
*** at1as has joined #maemo | 06:26 | |
*** Juesto has joined #maemo | 06:49 | |
*** DocScrutinizer05 has quit IRC | 07:03 | |
*** DocScrutinizer05 has joined #maemo | 07:03 | |
*** spiiroin_ has quit IRC | 07:43 | |
*** MIchael_a380 has quit IRC | 08:19 | |
*** spiiroin_ has joined #maemo | 08:37 | |
*** arcean has joined #maemo | 08:40 | |
*** freemangordon has quit IRC | 08:55 | |
*** freemangordon has joined #maemo | 08:58 | |
*** Oksanaa has joined #maemo | 09:42 | |
*** spinal84 has joined #maemo | 09:55 | |
*** Wizzup has joined #maemo | 10:00 | |
*** jskarvad has joined #maemo | 10:01 | |
*** jskarvad has quit IRC | 10:01 | |
*** jskarvad has joined #maemo | 10:01 | |
Vajb | DocScrutinizer05: hmm i can't seem to find dbus-scripts from apmanager nor apt and besides all that looked a bit over my head atm. Thx for ur investigation i hope it'll make editting mce.ini to work as expected :) | 10:01 |
*** spinal84 has quit IRC | 10:04 | |
*** BitEvil has joined #maemo | 10:22 | |
*** SpeedEvil is now known as Guest4585 | 10:22 | |
*** geaaru has joined #maemo | 10:23 | |
*** Guest4585 has quit IRC | 10:23 | |
*** spinal84 has joined #maemo | 10:26 | |
*** jskarvad has quit IRC | 10:29 | |
*** xorly has joined #maemo | 10:41 | |
bencoh | freemangordon: have you ever tried libgoo/gstgoo (ti/omx api abstraction)? | 10:48 |
*** spinal84 has quit IRC | 10:52 | |
*** spinal84 has joined #maemo | 11:01 | |
*** Kabouik has joined #maemo | 11:03 | |
*** jskarvad has joined #maemo | 11:08 | |
*** jskarvad has quit IRC | 11:08 | |
Oksanaa | Just had a bug (affecting only one channel in telepathy-idle, as far as I know) where my local_name ( and in outcoming messages, remote_uid ) was affected. Null at times, or wrong value at other times. No idea why. Cleaned it up is SQL database with two update commands, hoping all is well. | 11:12 |
*** krnlyng has quit IRC | 11:20 | |
*** Milhouse has quit IRC | 11:25 | |
*** krnlyng has joined #maemo | 11:33 | |
Vajb | DocScrutinizer05: i just realised that probably mediaplayer is overdriving mce.ini setting in that matter. | 12:02 |
Vajb | because it needs to be playing something for volume keys to work | 12:03 |
Vajb | while locked that is. I found dbus-script-settings and am trying with it on my test device | 12:04 |
*** silviof has quit IRC | 12:10 | |
*** silviof has joined #maemo | 12:15 | |
bencoh | Vajb: most probably, yes | 12:15 |
bencoh | I actually wanted to implement that behavior in other players :) | 12:15 |
Vajb | hmm maybe while on it u can change it ;) | 12:16 |
bencoh | because I find not being able to change volume when device is locked quite frustrating | 12:16 |
Vajb | or maybe in next version of omp one can choose wether to disable or enable volume keys | 12:16 |
Vajb | or even choose their behavior | 12:16 |
bencoh | since unlocking it with systemui/powerbutton will stop playback for a second | 12:16 |
bencoh | and same goes for devlock unlock UI | 12:17 |
Vajb | yup, but with slider it is not stopped | 12:17 |
bencoh | slider? | 12:17 |
bencoh | lock switch? | 12:17 |
Vajb | yes | 12:17 |
bencoh | same with keyboard slider, if device doesn't need to enter code | 12:17 |
bencoh | I'd like to fix that as well actually | 12:18 |
Vajb | hmm for me playback is not interrupted with keybslider | 12:18 |
bencoh | it is only if I need to enter code iirc | 12:19 |
bencoh | (not sure about that one, though) | 12:19 |
*** eMHa has quit IRC | 12:23 | |
Vajb | ah with code it stops briefly | 12:24 |
bencoh | yeah | 12:26 |
*** jskarvad has joined #maemo | 12:33 | |
*** Michael_a380 has joined #maemo | 12:38 | |
*** N-Mi_ has joined #maemo | 12:40 | |
*** Oksanaa has quit IRC | 12:42 | |
*** Oksanaa has joined #maemo | 12:54 | |
*** Michael_a380 has quit IRC | 13:07 | |
Vajb | ok tried with dbus-script-settings and it did nothing :) | 13:12 |
Vajb | guess i lack the know how | 13:12 |
Vajb | easiest for me would be to disable it with epoxy | 13:12 |
*** xorly has quit IRC | 13:15 | |
*** pipoclown has joined #maemo | 13:19 | |
*** pipoclown is now known as dreamer | 13:20 | |
*** dreamer has joined #maemo | 13:21 | |
*** N-Mi_ has quit IRC | 13:48 | |
*** robinak has quit IRC | 13:58 | |
*** robink has joined #maemo | 13:59 | |
*** NeKit has quit IRC | 14:03 | |
KotCzarny | vajb: or maybe.. use one of the other players available? *hinthint* | 14:05 |
Vajb | oh a fresh aproach :) | 14:08 |
*** spinal84 has quit IRC | 14:14 | |
*** N-Mi_ has joined #maemo | 14:14 | |
KotCzarny | :) | 14:16 |
KotCzarny | physical abuse to poor n900 because some software doesnt have a proper option seems excessive | 14:16 |
Vajb | well i didn't say i will do it, but that it would be easiest solution ;) | 14:19 |
Vajb | i think best would be option in player to choose wether to disable volume or to use it for some other thing | 14:20 |
*** xorly has joined #maemo | 14:21 | |
KotCzarny | yeah, post to the thread then | 14:21 |
Vajb | oh such a 2016 solution | 14:27 |
Vajb | but maybe i will when i have some spare moment and can recall the problem. | 14:27 |
*** xorly has quit IRC | 14:33 | |
*** frals has quit IRC | 14:43 | |
KotCzarny | ok, record the video of your life-damaging issue, post on yt and every possible social site and expect problem to resolve itself. | 14:43 |
KotCzarny | and give you pony. | 14:43 |
KotCzarny | ;) | 14:43 |
*** frals has joined #maemo | 14:44 | |
*** frals has joined #maemo | 14:44 | |
KotCzarny | 2017 enough? | 14:44 |
*** NeKit has joined #maemo | 14:59 | |
Vajb | :D | 15:14 |
Vajb | now i begin to wonder if it is possible to upload video to yt from n900 | 15:14 |
Vajb | KotCzarny: btw, laptop os working very well. With my typical use i haven't been able to make it stuck (which is good) so thx a lot for the hint! | 15:20 |
Vajb | is* | 15:21 |
KotCzarny | :) | 15:21 |
*** at1as has quit IRC | 15:23 | |
*** xorly has joined #maemo | 15:27 | |
bencoh | Vajb: wanna dev a youtube-sharing-plugin? :> | 15:43 |
KotCzarny | bancoh: authoring ;) | 15:44 |
*** at1as has joined #maemo | 15:47 | |
bencoh | KotCzarny: ? | 15:50 |
KotCzarny | shoot, edit and upload own material = authoring | 15:51 |
*** at1as has quit IRC | 15:52 | |
bencoh | ah, right | 15:54 |
*** at1as has joined #maemo | 16:02 | |
*** BitEvil is now known as SpeedEvil | 16:04 | |
*** coderus has joined #maemo | 16:07 | |
coderus | TMO: The maemo.org - Talk database has encountered a problem. =( | 16:07 |
*** coderus has left #maemo | 16:07 | |
*** NeKit has quit IRC | 16:08 | |
*** arcean has quit IRC | 16:38 | |
*** L29Ah has quit IRC | 17:03 | |
*** at1as has quit IRC | 17:04 | |
*** xkr47 has quit IRC | 17:05 | |
*** xkr47 has joined #maemo | 17:05 | |
*** spiiroin_ has quit IRC | 17:14 | |
*** florian has quit IRC | 17:17 | |
*** LauRoman has quit IRC | 17:40 | |
*** LauRoman has joined #maemo | 17:42 | |
*** LauRoman has quit IRC | 18:02 | |
*** NeKit has joined #maemo | 18:06 | |
*** LauRoman has joined #maemo | 18:10 | |
*** LauRoman has quit IRC | 18:12 | |
*** LauRoman has joined #maemo | 18:14 | |
Vajb | KotCzarny: http://talk.maemo.org/showpost.php?p=1522133&postcount=1715 I did it and whats more i used microb. Failed with Opera first. | 18:18 |
*** LauRoman has quit IRC | 18:20 | |
*** LauRoman has joined #maemo | 18:21 | |
*** spiiroin_ has joined #maemo | 18:22 | |
*** at1as has joined #maemo | 18:28 | |
*** LauRoman has quit IRC | 18:36 | |
*** LauRoman has joined #maemo | 18:37 | |
*** eMHa has joined #maemo | 18:45 | |
*** kgu has quit IRC | 18:45 | |
*** LauRoman has quit IRC | 18:48 | |
*** LauRoman has joined #maemo | 18:51 | |
*** flo_lap has joined #maemo | 19:01 | |
DocScrutinizer05 | Vajb: ((realised that probably mediaplayer is overdriving mce.ini)) good point. Needs further checking | 19:13 |
Vajb | doc: just made feature request of the matter in omp thread in tmo. | 19:19 |
DocScrutinizer05 | this is a architetural decision issue. | 19:23 |
*** geaaru has quit IRC | 19:24 | |
DocScrutinizer05 | any app *usually* receives input events via X11. However X11 usually doesn't send events to the app when it doesn't have focus (you see that with maemo medi aplayer which only works vol+/- when in foreground, which is basically correct behaviour). Now when you lock screen, X11 is supposed to also obey mce.ini settings regarding keypress events. However the concept of "X11 focus" makes no sense when screen locked - so an app like media | 19:28 |
DocScrutinizer05 | player interested in keypress events when screen locked should probably open /dev/input itself and take *all* events it's interested in (here: vol+/-), and same app might make sure the /dev/input* delivers events so app may want to bind keypad kernel driver when device locked, to override what mce (right now doesn't) do | 19:28 |
DocScrutinizer05 | this is a typical issue for getting handled by middleware managing resource allocations. mce does a very poor job on this, freeesmartphone.org has a more comprehensive and coherent concept for this, alas FSO isn't used in maemo | 19:31 |
*** louisdk has joined #maemo | 19:33 | |
*** Pali has joined #maemo | 19:33 | |
DocScrutinizer05 | see http://wiki.openmoko.org/wiki/FSO_Resources fsoraw (my invention ;-S ) | 19:34 |
DocScrutinizer05 | ;-D even | 19:35 |
DocScrutinizer05 | http://wiki.openmoko.org/wiki/FSO_Resources#Automatic_way particularly | 19:46 |
DocScrutinizer05 | raw == resource allocation wrapper | 19:47 |
*** N-Mi_ has quit IRC | 19:51 | |
*** fuz_ has quit IRC | 19:56 | |
*** LauRoman has quit IRC | 20:02 | |
DocScrutinizer05 | actually locking device shall put a screensaver (here: lockscreen) on top of all other windows and give X11 focus to it, even when immediately after the screen is shut off physically. So any keypress when device (screen) locked would only create X11 events delivered to the lockscreen process. Vol+/- should be a side channel (only while device locked?) via keypad->kerneldriver->/dev/input*->(hulda or )mce->dbus-signal to which an app like | 20:02 |
DocScrutinizer05 | mediaplayer could listen | 20:02 |
*** LauRoman has joined #maemo | 20:04 | |
Juesto | that's a great approach | 20:05 |
*** fuz_ has joined #maemo | 20:05 | |
DocScrutinizer05 | alas architecture, and arch is hard to change once a system got established | 20:08 |
KotCzarny | vajb: good job! also tmo is one of the few sites actually checked to be usable on n900 ;) | 20:10 |
*** Kabouik has quit IRC | 20:13 | |
*** Oksanaa has left #maemo | 20:19 | |
timeless | hi DocScrutinizer05 | 20:19 |
timeless | if you had a linux (md) raid array and were having trouble w/ it, what channel would you use to get help? :/ | 20:19 |
DocScrutinizer05 | ugh | 20:20 |
Juesto | try alis | 20:20 |
Juesto | im sure theres a channel about raid somewhere | 20:20 |
DocScrutinizer05 | #debian ? even #devuan maybe, or is there #linux-admin ? | 20:20 |
Juesto | try ##linux first timeless | 20:20 |
DocScrutinizer05 | timeless: I'd probably first check stackoverflow if some answers there | 20:21 |
Juesto | oh yes, searching too ^ | 20:21 |
DocScrutinizer05 | timeless: https://www.ixquick.com/do/search?q=stackoverflow+md+raid | 20:24 |
timeless | http://stackoverflow.com/questions/41525921/ubuntu-mdadm-failed-array-cannot-get-replacement-drives-into-the-array | 20:24 |
timeless | "Questions on professional server- or networking-related infrastructure administration are off-topic for Stack Overflow unless they directly involve programming or programming tools. You may be able to get help on Server Fault." – Mureinik, Mark Rotteveel | 20:24 |
Juesto | ;) | 20:26 |
timeless | http://serverfault.com/questions/180138/software-raid-mdadm-not-adding-spare | 20:26 |
timeless | seems like a good match to my problem | 20:26 |
DocScrutinizer05 | https://www.ixquick.com/do/search?q=stackexchange+md+raid | 20:28 |
Vajb | oh boy. Had a good idea to putting telegram downloads folder to tracker, but since it not in MyDocs i couldn't reach it from tracker-cfg. Then i tried to make symlink in mydocs to point that folder, but that sems to be impossible too.. | 20:28 |
DocScrutinizer05 | no symlinks on VFAT ;-P | 20:29 |
timeless | DocScrutinizer05: none of those are helpful | 20:30 |
DocScrutinizer05 | but I'm pretty sure you can index whatever you like, via tracker.cfg | 20:30 |
DocScrutinizer05 | timeless: sorry then, good luck anyway | 20:30 |
*** jskarvad has quit IRC | 20:30 | |
DocScrutinizer05 | timeless: #devuan is "de* Veteran Unix Admins n". maybe you find some veterans there that have a good advice | 20:34 |
timeless | thx | 20:35 |
DocScrutinizer05 | take care to not go too offensively off topic though. Not a general problem there but don't expect to be on topic with such question | 20:36 |
Vajb | yeah learnt that :) | 20:36 |
DocScrutinizer05 | timeless: also, reply time is within hours raher than minutes | 20:36 |
DocScrutinizer05 | timeless: considered pinging warfare and/or xes, our maemo sysops? | 20:38 |
timeless | is nick highlight (what you did) enough? | 20:42 |
DocScrutinizer05 | warfare: ^^^ | 20:44 |
DocScrutinizer05 | xes: ^^^ | 20:44 |
DocScrutinizer05 | warfare: xes: md raid issue, maybe you can help? | 20:45 |
DocScrutinizer05 | timeless: you probably should post a terse explanation resp question | 20:45 |
timeless | can someone suggest a place to get help w/ an md raid array? I had a raid1 array (one partition mirrored on two drives), and one of the drive's cables came out -- i've tried to mdadm --manage /dev/md1 --add /dev/sdf7 the drive, and it rebuilds, but once it finishes rebuilding, it's converted into a spare instead of left as a normal drive | 20:45 |
timeless | ^^ | 20:45 |
DocScrutinizer05 | you looked into https://raid.wiki.kernel.org/index.php/RAID_setup ? | 20:47 |
DocScrutinizer05 | https://raid.wiki.kernel.org/index.php/A_guide_to_mdadm | 20:49 |
DocScrutinizer05 | sorry I'm no mdadm expert myself, just used those pages when setting up mine | 20:49 |
DocScrutinizer05 | I *guess* you first need to switch the defective drive 'offline' somehow, the possibly format or rebuild or whatever, then simply online it again. *adding* a new (third) driver to a raid1 will probably result in exactly what you see, and needs reconfiguration of the raid setup to make the drive an active part of the raid | 20:52 |
DocScrutinizer05 | don't bash me when that's nonsense, I just uttered wild guessing | 20:53 |
DocScrutinizer05 | http://wstaw.org/m/2017/01/17/plasma-desktopU17764.png | 20:55 |
KotCzarny | http://www.linuxquestions.org/questions/linux-server-73/mdadm-re-added-disk-treated-as-spare-750739/#post4936897 | 20:57 |
KotCzarny | doesnt seem optimistic | 20:57 |
KotCzarny | maybe some bug in mdadm | 20:57 |
KotCzarny | maybe first disk also has a problem? | 21:00 |
timeless | KotCzarny: yeah, i'm pretty sure i read that a while ago | 21:01 |
timeless | and yeah, i was sorta nodding "yes, i'd go w/ zfs too" | 21:01 |
timeless | KotCzarny: the first drive is failing, yes | 21:01 |
KotCzarny | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767243#15 | 21:01 |
timeless | sda is failing https://www.irccloud.com/pastebin/j8byIHuF/ | 21:01 |
KotCzarny | seems to also confirm this behavior | 21:01 |
KotCzarny | corrected by brute force ;) | 21:02 |
Maxdamantus | Actual RAID is silly. | 21:02 |
KotCzarny | but probably some data will be lost | 21:02 |
timeless | KotCzarny: that bts url looks promising | 21:02 |
KotCzarny | make a backup | 21:03 |
KotCzarny | ;) | 21:03 |
timeless | Maxdamantus: yeah... i'm a fan of zfs. i'm not a fan of raid | 21:03 |
timeless | it's more or less broken 7 ways to sunday, by design | 21:03 |
timeless | but,... i inheritted this system | 21:03 |
timeless | KotCzarny: thankfully (or not), this is the backup | 21:03 |
KotCzarny | :) | 21:03 |
Maxdamantus | You basically need a journal (preferably using really fast NVRAM) for it to be consistent. | 21:03 |
timeless | literally, peach's only job in life is to hold backups of everything else | 21:03 |
Maxdamantus | otherwise you have write holes in pretty much any configuration. | 21:03 |
DocScrutinizer05 | timeless: ummm https://www.irccloud.com/pastebin/j8byIHuF/ looks like a hw defect on sda | 21:07 |
* timeless nods | 21:07 | |
DocScrutinizer05 | so AIUI you should simply swap sda for a working HDD, assuming that you have intact data on e.g. sdb in a [sda sdb] raid1 | 21:08 |
*** esaym153 has quit IRC | 21:08 | |
DocScrutinizer05 | make sure you (or rather md) don't overwite data on sdb with crap from fresh sda | 21:09 |
timeless | so, is the argument that sda is bad and i was unlucky in that sdf fell out of the raid | 21:09 |
KotCzarny | :) | 21:09 |
timeless | there already are sdb..sde | 21:09 |
DocScrutinizer05 | in a raid1? | 21:10 |
DocScrutinizer05 | so you have a raid1 with 3 spares? | 21:10 |
timeless | my raid hell https://www.irccloud.com/pastebin/jvbwumkt/ | 21:10 |
timeless | b / e is a pair | 21:10 |
timeless | c / d is a pair | 21:11 |
DocScrutinizer05 | OH shit | 21:11 |
timeless | a / f is an unhappy pair | 21:11 |
timeless | because the stupid data cable fell out of f | 21:11 |
DocScrutinizer05 | so you have FOUR raid1 on sda? | 21:12 |
DocScrutinizer05 | on partitons | 21:12 |
timeless | i think this is mostly "because linux" + "no zfs" | 21:13 |
timeless | w/ zfs, in a pair, if one drive fails, your replace it w/ a bigger drive, then you let it mirror, then you replace the smaller drive, let it mirror, then you grow the pool | 21:13 |
timeless | yes | 21:13 |
timeless | but... i think "because linux" + "no zfs", it instead went "oh well, let's just create new partitions for each grow operation" | 21:13 |
DocScrutinizer05 | that's pretty weird since your kernel logs hw IO error on sda, not sdf | 21:13 |
timeless | sdf was just unlucky, loose cable | 21:13 |
timeless | sda is probably a much older drive | 21:14 |
timeless | if i were to guess | 21:14 |
DocScrutinizer05 | smartmon sda | 21:14 |
KotCzarny | timeless, your nick seems familiar, but i cant remember what project | 21:14 |
timeless | Qt i think | 21:14 |
timeless | based on my memory | 21:15 |
timeless | but it's nearly 6 years ago now :/ | 21:15 |
KotCzarny | :) | 21:15 |
timeless | i touched pretty much everything | 21:15 |
DocScrutinizer05 | microB | 21:15 |
timeless | yeah that | 21:15 |
timeless | plus ux + localization + bug help + community | 21:15 |
DocScrutinizer05 | yeah, translations | 21:15 |
DocScrutinizer05 | the still fuckedup "tana_fi_*" subject ;-P | 21:16 |
* timeless looks for smartmon | 21:17 | |
DocScrutinizer05 | SMART | 21:17 |
DocScrutinizer05 | you know SMART, do you? | 21:17 |
*** esaym153 has joined #maemo | 21:17 | |
timeless | yeah, i get email from smart every day complaining about sda dying on peach :( | 21:17 |
KotCzarny | can you get that failing pair offline ? | 21:17 |
DocScrutinizer05 | Self Monitoruing And Reporting Foo | 21:18 |
DocScrutinizer05 | I *guess* md4 is SOL | 21:19 |
timeless | DocScrutinizer05: installing smartmontools didn't give me a `smartmon` | 21:19 |
DocScrutinizer05 | o.O | 21:19 |
timeless | i still have `smartctl` and `smartd` (which i had before) | 21:19 |
DocScrutinizer05 | aah yeah smartctl | 21:19 |
KotCzarny | smart-notifier - graphical hard disk health status notifier | 21:19 |
KotCzarny | maybe this one? | 21:19 |
KotCzarny | though i dont know what doc wanted to do | 21:20 |
KotCzarny | ;) | 21:20 |
timeless | smartctl https://www.irccloud.com/pastebin/CxNAOOMm/ | 21:20 |
KotCzarny | usually smartctl/hdparm is enough | 21:20 |
DocScrutinizer05 | smartctl -a /dev/sda | 21:20 |
timeless | ^ DocScrutinizer05 | 21:21 |
DocScrutinizer05 | reading | 21:21 |
* timeless runs badblocks on sda6 and sdf7 | 21:22 | |
KotCzarny | wd black went boo boo? oh well, nothing is safe anymore! :) | 21:23 |
DocScrutinizer05 | Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error | 21:23 |
DocScrutinizer05 | # 1 Short offline Completed: read failure 90% 27923 953187909 | 21:23 |
DocScrutinizer05 | you got a bad sector at 953187909 | 21:25 |
DocScrutinizer05 | I'd guess | 21:25 |
DocScrutinizer05 | FWIW: (maybe just reference) http://paste.opensuse.org/95982284 | 21:27 |
KotCzarny | https://bugs.maemo.org/show_bug.cgi?id=2368 | 21:28 |
povbot | Bug 2368: -, timeless isn't nice | 21:28 |
KotCzarny | :> | 21:28 |
KotCzarny | resolved fixed ;) | 21:28 |
* timeless nods | 21:28 | |
warfare | timeless: md issue fixed? (I don't want to read the whole backlog, I'm just lazy) | 21:28 |
KotCzarny | warfare, raid1 doesnt rebuild with badblocks on only drive left | 21:29 |
KotCzarny | just a quick summary | 21:29 |
KotCzarny | unless you know how to ignore read errors | 21:29 |
warfare | oO | 21:30 |
KotCzarny | and i bet he has more lurking around on other drives too | 21:30 |
DocScrutinizer05 | your damn /proc/mdstat puzzles hell outa me, by the indices [2] [3] etc | 21:31 |
DocScrutinizer05 | https://www.irccloud.com/pastebin/jvbwumkt/ | 21:31 |
DocScrutinizer05 | I always thought a raid1 had just [1],[0] (in that sequence) with [0] being 'master' | 21:32 |
DocScrutinizer05 | I never tried to really learn what it actually is all about | 21:33 |
DocScrutinizer05 | anyway one thing's for sure: you should do a dd if=/dev/sda of=whateverishugeenough; and then swap sda for a drive without smart errors | 21:34 |
DocScrutinizer05 | warfare: sdf data cable fell off, seems md4 never recovers, prolly because of sda has IO errors since ages already | 21:35 |
KotCzarny | ^ bad suggestion, dd_rescue is better, it wont break on read errors | 21:35 |
warfare | (I won't start to question the use of partions for raid devices) | 21:36 |
* DocScrutinizer05 neither :-P | 21:36 | |
timeless | DocScrutinizer05: not md4, md1 | 21:37 |
timeless | warfare: inheritted crap | 21:37 |
warfare | timeless: Ugh, good luck. | 21:37 |
timeless | i'm pretty sure it's because the drives were replaced by bigger ones and the way the person grew the lv was by adding paired partitions | 21:37 |
warfare | Can I recommend putting everything on 2 physical disks, put lvm on top and let lvm mirror the blocks? | 21:38 |
warfare | timeless: But I think the data on md1 is gone. | 21:39 |
DocScrutinizer05 | timeless: ((md1) makes sense with your smartmon result "IO error at 10%" | 21:40 |
DocScrutinizer05 | 10% (the checked 10 remaining 90) is most likely in md1 | 21:40 |
timeless | warfare: if i'm going to rebuild this stupid machine, there's no way i'm using md | 21:40 |
timeless | my general preference is zfs/zpool | 21:40 |
timeless | i know of 0 good arguments in favor of md or lvm | 21:41 |
warfare | timeless: Please use freebsd for that :) | 21:41 |
timeless | warfare: fine w/ me | 21:41 |
timeless | i'm really agnostic | 21:41 |
DocScrutinizer05 | veteran meeting ;-D | 21:41 |
* timeless has used osx, osol, nexenta for zfs | 21:41 | |
* timeless installs devscripts | 21:42 | |
* DocScrutinizer05 waits for GeneralAntilles chiming in | 21:42 | |
DocScrutinizer05 | warfare: what do yiu use for offsite backup? I'm using duplicity right now, it sucks donkey balls | 21:43 |
warfare | DocScrutinizer05: I just rsync the backuppc directory over. | 21:43 |
DocScrutinizer05 | aaah ok, that requires a vull double up of HDD space | 21:43 |
DocScrutinizer05 | full* | 21:44 |
warfare | And everything else which is backup worthy is in a few dmg's on my home server which get copied to a hetzner host every week. | 21:45 |
DocScrutinizer05 | BackupPC is nice but conceptually runs on backup target, while duplicity runs on source | 21:45 |
DocScrutinizer05 | I guess you could run BackupPC on, and beackup, localhost. and possibly even to a sftp target, but... | 21:46 |
* DocScrutinizer05 sometimes feels like knowing enough of IT and computers to eventually find a job as bricklayer | 21:48 | |
timeless | fwiw https://www.irccloud.com/pastebin/MjFaRZFC/badblocks-sda6-sdf7 | 21:49 |
DocScrutinizer05 | it's frustrating when you know enough of a topic to start hating it | 21:49 |
warfare | so sdf7 is actually ok? | 21:49 |
timeless | yeah | 21:49 |
timeless | sdf was just unlucky wrt the data cable | 21:49 |
timeless | it's sda that's failing | 21:49 |
KotCzarny | maybe you can get lucky if you move those bad sectors to sda? | 21:50 |
timeless | ? | 21:50 |
DocScrutinizer05 | so it can't rebuild the logically broken sdf | 21:50 |
DocScrutinizer05 | from physically broken sda | 21:50 |
KotCzarny | hdparm --write-sector would force badblock reallock | 21:50 |
timeless | KotCzarny: got a specific command | 21:50 |
timeless | (otherwise i'll read the man page) | 21:50 |
KotCzarny | its in that bts ticket | 21:50 |
timeless | ah yeah :) | 21:51 |
KotCzarny | but dont confuse sda sector with relative sda6 rector | 21:51 |
DocScrutinizer05 | I seen same "cannot reallocate bad blocks" on my sdb (now nuked) | 21:51 |
timeless | KotCzarny: err | 21:51 |
DocScrutinizer05 | yeah, https://www.irccloud.com/pastebin/MjFaRZFC/badblocks-sda6-sdf7 usn't in line with LBA on smartctl log | 21:52 |
timeless | so, since the sectors were reported by badblocks for sda6 | 21:52 |
DocScrutinizer05 | you should write to sda6 | 21:52 |
KotCzarny | you can also try to find out what file occupies those sectors | 21:52 |
timeless | KotCzarny: ooh, i like that idea | 21:53 |
KotCzarny | and maybe redo the specific backup only | 21:53 |
timeless | how? :) | 21:53 |
KotCzarny | what fs? extX ? | 21:53 |
timeless | i think the answer is "lvm" | 21:53 |
KotCzarny | nah | 21:53 |
KotCzarny | oh, raw backup? | 21:53 |
timeless | this is what the world looks like https://www.irccloud.com/pastebin/axU4eK7j/ | 21:53 |
timeless | basically, /dev/md1 is one of the things backing VG peach-raid1 which in turn backs LV peach-sys-backups which in turn backs | 21:55 |
KotCzarny | o.O | 21:55 |
DocScrutinizer05 | blkid | 21:55 |
timeless | ext3 /backups | 21:55 |
timeless | a maze of twisty hell... because someone couldn't be bothered to use ZFS... "because linux" | 21:55 |
DocScrutinizer05 | **make a full backup of sda first!** | 21:56 |
timeless | blkid https://www.irccloud.com/pastebin/k4sfXJMV/ | 21:56 |
timeless | that's helpful | 21:56 |
KotCzarny | well, you can try hdparm --read-block 104846128 and GUESS | 21:56 |
timeless | KotCzarny: got a syntax for that? | 21:57 |
timeless | all i see in hdparm is --read-sector | 21:58 |
DocScrutinizer05 | read man hdparm! it's a very dangerous tool | 21:58 |
KotCzarny | hdparm --read-block 104846128 /dev/sda6 | 21:58 |
KotCzarny | it will dump the sector on the screen | 21:58 |
timeless | no. https://www.irccloud.com/pastebin/K24oqE17/ | 21:58 |
KotCzarny | read-sector then | 21:59 |
DocScrutinizer05 | ((blkid)) full list (no parameters) would be even more helpful ;-) | 21:59 |
KotCzarny | :) | 21:59 |
timeless | cute https://www.irccloud.com/pastebin/Clsp7XFG/ | 21:59 |
* timeless goes to try to figure out what the hex says https://www.irccloud.com/pastebin/K9rTDp1q/ | 22:00 | |
DocScrutinizer05 | ((cute)) HAHA indeed ;-P | 22:00 |
KotCzarny | mysterious | 22:01 |
DocScrutinizer05 | honestly, go make a dd_rescure backup of sda6! | 22:01 |
KotCzarny | doc, its not that easy, its a part of live structure | 22:01 |
DocScrutinizer05 | umount is your friend | 22:02 |
DocScrutinizer05 | and even without, how high is the risk to backup totally harbled data | 22:03 |
DocScrutinizer05 | garbled | 22:03 |
DocScrutinizer05 | prolly zilch as long as you remount ro | 22:03 |
DocScrutinizer05 | or simply don't write (noatime!) | 22:04 |
DocScrutinizer05 | you even can do a simple tar backup on logical files of md1 | 22:05 |
DocScrutinizer05 | you can see the errors pop up in syslog then | 22:05 |
DocScrutinizer05 | and with a tad of luck you can identify the badblock-riddled files | 22:06 |
KotCzarny | funny thing is that, when backup fails or is taken down for maintenance it's probably the time when backup restore would be needed | 22:07 |
DocScrutinizer05 | actually the latter is roughly what I did when my sdb blew chunks, got me a raid1 and copied all files over | 22:07 |
KotCzarny | can you duplicate backups to another source? | 22:07 |
KotCzarny | s/source/destination/ | 22:08 |
infobot | KotCzarny meant: can you duplicate backups to another destination? | 22:08 |
timeless | so, the problem is that this is a fragment of a VG which is part of a LV | 22:10 |
timeless | i think i could remove sda6 and try adding sdf7 | 22:11 |
DocScrutinizer05 | ??? | 22:11 |
warfare | timeless: this could actually work. | 22:11 |
DocScrutinizer05 | aren't both _already_ added to md1? | 22:12 |
*** flo_lap is now known as florian | 22:12 | |
KotCzarny | sdf7 isnt active | 22:12 |
timeless | got a command? | 22:12 |
timeless | ... https://www.irccloud.com/pastebin/FhMubmPl/ | 22:12 |
*** DrCode has joined #maemo | 22:12 | |
timeless | device busy https://www.irccloud.com/pastebin/DeGtG6uK/ | 22:12 |
timeless | KotCzarny: hrm, would it help if i unmounted the LV? | 22:13 |
KotCzarny | maybe | 22:13 |
DocScrutinizer05 | timeless: why do you want to remove drives from a md? | 22:13 |
DocScrutinizer05 | or add? | 22:13 |
warfare | mdadm --manage /dev/md1 --remove /dev/sdf7 | 22:13 |
KotCzarny | but question is, can you take whole lv offline? | 22:14 |
warfare | More interesting might be if linux recognizes the pv signature on the drive. | 22:14 |
DocScrutinizer05 | aiui a md would still try to function as good as possible even when one drive blows chunks | 22:14 |
timeless | warfare: that worked | 22:15 |
timeless | but it left me w/ the sda6 which is the failed drive | 22:15 |
timeless | can i mark it as failed? :) | 22:15 |
timeless | actually, maybe that's what i should do | 22:15 |
DocScrutinizer05 | a totally uneducated guess: I'd try to assemble md1 like it originally was, and do a backup of it | 22:15 |
warfare | mdadm --manage /dev/md1 --fail /dev/sda6 | 22:16 |
KotCzarny | timeless, mount |grep /dev/md1 ? | 22:16 |
timeless | mdadm: set device faulty failed for /dev/sda6: Device or resource busy | 22:16 |
DocScrutinizer05 | *now* we're talking :-) | 22:16 |
warfare | KotCzarny: /dev/md1 might be a pv, being part of a vg with parts of a lv on it.. | 22:16 |
timeless | KotCzarny: as noted, [sda6+sdf7] contribute to md1 which contributes to an PG which contributes to an LV which is ext3 | 22:17 |
timeless | something like what warfare said | 22:17 |
timeless | all "because linux" | 22:17 |
KotCzarny | then if you want to take it offline whole thing would need to go offline? | 22:17 |
DocScrutinizer05 | no, because ENOBRAIN | 22:17 |
* timeless so wants to shoot this system and replace it w/ fbsd + zfs in the cloud | 22:17 | |
KotCzarny | and that's why i asked if it can go offline | 22:17 |
timeless | KotCzarny: oh, "yes, there's nothing wrong w/ taking the whole thing offline" | 22:18 |
KotCzarny | then you can try zeroing the sectors, maybe copying them from sdf drive and all will be peachy | 22:18 |
DocScrutinizer05 | timeless: why not start with genuine md1, untweked and then see what it reports? | 22:18 |
KotCzarny | or you can just say the whole thing failed and experiment on it ;) | 22:18 |
timeless | DocScrutinizer05: eh?? | 22:19 |
DocScrutinizer05 | you --remove'd and --add'ed drives to md1. Maybe try original productive assembly first? | 22:19 |
DocScrutinizer05 | if that makes any sense | 22:19 |
timeless | ok, i'm wrong | 22:20 |
DocScrutinizer05 | or doesn't it 'come up' anymore? | 22:20 |
timeless | i can't take this thing offline | 22:20 |
timeless | there are two LVs (root and backup) but they share a VG | 22:20 |
DocScrutinizer05 | OUCH!! | 22:21 |
* timeless really really really really wants to shoot this configuration | 22:21 | |
DocScrutinizer05 | don't shoot the system, shoot the admin who committed that crime, possibly using the system as projectile | 22:21 |
KotCzarny | you know what they say about horse with broken leg | 22:22 |
KotCzarny | ;) | 22:22 |
KotCzarny | if you have time you can check for files that fail to read | 22:22 |
DocScrutinizer05 | timeless: what's the total storage size? | 22:22 |
timeless | ~5TB ? | 22:22 |
DocScrutinizer05 | timeless: can't you simply get a few HDD and copy the whole shite to sth sane? | 22:22 |
timeless | err, maybe ~4.5TB? | 22:22 |
KotCzarny | more resource consuming but otherwise you would have to solve the lv puzzle | 22:22 |
KotCzarny | sure, why not, you are going to bed anytime soon? | 22:23 |
timeless | it's 3pm | 22:23 |
timeless | i don't have any 5TB drives handy | 22:23 |
DocScrutinizer05 | then don't rush this | 22:23 |
KotCzarny | find . -type f -exec cat {} >/dev/null \; | 22:23 |
DocScrutinizer05 | not worth the headache | 22:23 |
KotCzarny | ;) | 22:23 |
DocScrutinizer05 | sth like that, yes | 22:24 |
KotCzarny | maybe do some error redirect to catch the failing file | 22:24 |
KotCzarny | i wonder how that raid would react on badblock during read though | 22:24 |
DocScrutinizer05 | isn't that what a raid genuinely is about, to handle it | 22:25 |
DocScrutinizer05 | it will try to read same block from sdf7 | 22:25 |
DocScrutinizer05 | that's why I suggested to start with productive assembly of md1 | 22:26 |
DocScrutinizer05 | when BOTH sdf7 and sda6 fail with read error (or 'block not synced on mirror') on same block, then I suppose md driver will throw normal read error to userland | 22:27 |
timeless | DocScrutinizer05: sorry, you've lost me | 22:27 |
timeless | what command would i use to assemble this stupid thing in a way that works | 22:27 |
timeless | i'm pretty sure the goal is to have sdf7 sda6 instead of sda6 sdf7 | 22:28 |
DocScrutinizer05 | what does system use during boot? | 22:28 |
timeless | although i have no idea if i can even do that | 22:28 |
timeless | i can't remember, it probably went into maintenance mode | 22:28 |
DocScrutinizer05 | that's relevant info | 22:28 |
KotCzarny | timeless, hdparm --write-sector on sda6 would zero the badblocks (and data) and will allow for rebuild probably | 22:29 |
DocScrutinizer05 | or kill more blocks | 22:29 |
DocScrutinizer05 | when you failed to guess right block | 22:29 |
timeless | DocScrutinizer05: is there an easy way for me to check dmesg/syslog to confirm? | 22:29 |
* timeless ponders | 22:29 | |
timeless | 15:10:47 up 26 days, 22:00, 3 users, load average: 0.08, 0.04, 0.11 | 22:29 |
timeless | i don't have syslog going back that far | 22:30 |
DocScrutinizer05 | hmm, err. less /var/log/messages? | 22:30 |
DocScrutinizer05 | cat /etc/fstab? | 22:30 |
DocScrutinizer05 | I'm not sure | 22:30 |
timeless | https://www.irccloud.com/pastebin/rYywcTJq/fstab | 22:30 |
timeless | i'm pretty sure /backups came up as readonly | 22:30 |
timeless | and / and /boot were fine | 22:30 |
DocScrutinizer05 | https://raid.wiki.kernel.org/index.php/A_guide_to_mdadm#Assembling_your_arrays | 22:31 |
timeless | ok, i have /var/log/messages | 22:31 |
timeless | DocScrutinizer05: sorry | 22:31 |
KotCzarny | isnt there a typo in that fstab? | 22:31 |
KotCzarny | 01 instad of 0 1 ? | 22:31 |
timeless | i've read those stupid pages. and they're utterly useless | 22:31 |
inz | somehow i misread mdadm as madman | 22:31 |
timeless | inz: seems like a good reading in my book | 22:31 |
timeless | KotCzarny: that's a tab that got elided, dunno how/why | 22:32 |
DocScrutinizer05 | I have no idea who, when, how does assemble md during boottime | 22:32 |
timeless | minus the fact that the system is held together by ducttape, and is failing, the system has a configuration that would otherwise work | 22:33 |
KotCzarny | nuke those badblocks and hope for the best | 22:35 |
KotCzarny | ;) | 22:35 |
KotCzarny | and shedule backups as soon as you can after rebuild | 22:35 |
timeless | KotCzarny: it's a backup drop system | 22:36 |
timeless | there's not much to backup, where would i back it up? | 22:36 |
timeless | backup-of-backup? | 22:36 |
DocScrutinizer05 | I think https://raid.wiki.kernel.org/index.php/Replacing_a_failed_drive is not useless | 22:36 |
KotCzarny | then shedule backups redrop | 22:36 |
KotCzarny | :) | 22:36 |
DocScrutinizer05 | >>...if the array is in trouble, then you want to --replace a drive if possible...<< | 22:37 |
KotCzarny | that's assuming sdf7 is holding correct data | 22:38 |
KotCzarny | if not, sorry | 22:38 |
DocScrutinizer05 | when your data cable fell off, you plug it in again and *AIUI* md should recover the drive in background, after next boot the latest | 22:39 |
timeless | DocScrutinizer05: so... the question is how to get this moving | 22:40 |
timeless | i think i'd need to not have sda plugged in otherwise i think i end up in this state again | 22:40 |
KotCzarny | start building new system and migrate | 22:41 |
DocScrutinizer05 | what *is* 2this state"? | 22:41 |
DocScrutinizer05 | hoenstly, does the system still boot? does the raid come up? what's the status of the raid after boot? | 22:42 |
timeless | the /backups mount was readonly | 22:42 |
timeless | (because sdf was missing) | 22:42 |
DocScrutinizer05 | why is it missing? you re-plugged the cable I assume | 22:43 |
timeless | i hadn't rebooted since plugging in the cable | 22:44 |
timeless | and i'm going to scream | 22:44 |
DocScrutinizer05 | ooooh | 22:44 |
KotCzarny | then sdf7 holds proper copy still, not bad | 22:44 |
DocScrutinizer05 | oh well, you can't expect a HDD work that you hotplugged | 22:45 |
timeless | i was trying to get the system back online by poking the pieces | 22:45 |
KotCzarny | what happens if sda6 goes missing? | 22:45 |
timeless | KotCzarny: right now? dunno | 22:45 |
timeless | but how can i get it to do that? | 22:45 |
timeless | md won't let go of it | 22:45 |
KotCzarny | i've though of .. plugging the cable ;) | 22:45 |
DocScrutinizer05 | actually you're lucky when it didn't break physcally on hotplug (less likely on SATA but anyway) | 22:45 |
timeless | there are 6 stupid HDDs in this system | 22:45 |
timeless | and there's *no* way to find out which stupid drive is on which port | 22:45 |
timeless | "because linux" | 22:46 |
timeless | which means figuring out which cable to pull for sda is non-trivial | 22:46 |
DocScrutinizer05 | o.O | 22:46 |
KotCzarny | dd </dev/sda >/dev/null and touch which one is clicking | 22:46 |
timeless | KotCzarny: yeah yeah | 22:46 |
timeless | but i mean.... seriously | 22:46 |
DocScrutinizer05 | o.OYOU DON NOT WANT to pull or plug cables on a powered system!!!! | 22:46 |
timeless | ignore that | 22:47 |
KotCzarny | he already did, on sdf | 22:47 |
KotCzarny | ;) | 22:47 |
timeless | it isn't easier when the thing is off | 22:47 |
timeless | i mean, sure, i can ask each drive "what's your serial number" | 22:47 |
DocScrutinizer05 | no, just healthier for the hardware | 22:47 |
timeless | and then i can unscrew each drive from its bay and try to compare | 22:47 |
timeless | but, gosh, this is insane. | 22:47 |
DocScrutinizer05 | but WHY?? | 22:47 |
KotCzarny | i was just joking anyway | 22:47 |
timeless | ok, debian people | 22:47 |
timeless | what's the proper way to tell dpkg "yes i want to install x" | 22:48 |
KotCzarny | dpkg -i | 22:48 |
KotCzarny | i think dpkg ignores dependencies? | 22:48 |
DocScrutinizer05 | honestly you ought reboot system ASAP | 22:48 |
KotCzarny | it's the apt-get that checks them | 22:48 |
DocScrutinizer05 | your raid sufgfered severe impact from cable break and any further action on that system will further degrade the raid | 22:49 |
DocScrutinizer05 | you can't reasonably fuzz around with mdadm when your SATA driver didn't initialize the sdf | 22:49 |
DocScrutinizer05 | that's madness | 22:50 |
DocScrutinizer05 | dd if=/dev/sdf of=/dev/null count=1 | 22:50 |
DocScrutinizer05 | for a first very basic sanity check, that already most likely will fail | 22:51 |
DocScrutinizer05 | so REBOOT! | 22:52 |
timeless | KotCzarny: Do you want to continue? [Y/n] | 22:53 |
timeless | ^ that stupid prompt came from dpkg -i | 22:53 |
DocScrutinizer05 | can't you do that after reboot? | 22:54 |
timeless | !? | 22:54 |
timeless | i have two headaches | 22:54 |
timeless | 1. peach | 22:54 |
timeless | 2. installing some debs on unrelated systems | 22:54 |
timeless | 2 is more important | 22:54 |
DocScrutinizer05 | aaah | 22:54 |
timeless | peach has been broken for a while | 22:54 |
KotCzarny | timeless, what is the issue ? bad signatures or something more? | 22:54 |
timeless | KotCzarny: just looks like it wants to confirm | 22:55 |
* DocScrutinizer05 is out | 22:55 | |
KotCzarny | ahm, so you want batch mode? | 22:55 |
timeless | yes | 22:55 |
KotCzarny | there are multiple --force-xx options | 22:56 |
KotCzarny | it might ask about something more than just confirm | 22:56 |
timeless | actually, maybe this is apt | 22:56 |
KotCzarny | :) | 22:56 |
*** Birchy has quit IRC | 22:56 | |
KotCzarny | -y, --yes, --assume-yes | 22:57 |
KotCzarny | you can also --assume-no | 22:57 |
KotCzarny | if something unexptected happens | 22:57 |
KotCzarny | but generally -y is what you want | 22:58 |
DocScrutinizer05 | timeless: http://serverfault.com/questions/5336/how-do-i-make-linux-recognize-a-new-sata-dev-sda-drive-i-hot-swapped-in-without | 22:59 |
timeless | DocScrutinizer05: interesting reading | 23:00 |
DocScrutinizer05 | however reboot strongly recommended | 23:01 |
DocScrutinizer05 | you not only removed data cable, you also devalidated the driver's buffers for that drive. So simply replugging for sure won't work | 23:02 |
DocScrutinizer05 | the kernel needs to re-initialize the whole drive | 23:03 |
DocScrutinizer05 | and before that happened, no md will use that drive | 23:03 |
DocScrutinizer05 | afk for good now, good luck! :-) | 23:04 |
*** kgu has joined #maemo | 23:04 | |
KotCzarny | http://serverfault.com/questions/510895/find-file-by-block-number-on-ext3-fs-on-lvm | 23:05 |
KotCzarny | i hope you are good with maths | 23:06 |
*** louisdk has quit IRC | 23:07 | |
*** louisdk has joined #maemo | 23:10 | |
*** at1as has quit IRC | 23:10 | |
*** Birchy has joined #maemo | 23:11 | |
*** louisdk has quit IRC | 23:20 | |
DocScrutinizer05 | http://serverfault.com/questions/645862/when-does-a-raid-restore-redundancy-after-a-broken-sector-is-flagged-as-defectiv | 23:39 |
DocScrutinizer05 | >>...Instead, it reported the surrounding 8k stripe of data to be a stripe of zeroes and the read operation to be successful. [...] vendor's customer support even stated this to be perfectly acceptable, as RAID were to recover from full disk failure only and not handling the failure of individual blocks<< ROTFL BWAHAHAHAHA | 23:48 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!