2013-04-04 00:45 pcercuei has quit [Quit: bbl] 2013-04-04 00:45 pcercuei has joined #qi-hardware 2013-04-04 00:46 wolfspraul has quit [Ping timeout: 256 seconds] 2013-04-04 00:47 megha has joined #qi-hardware 2013-04-04 00:48 baba has quit [Ping timeout: 252 seconds] 2013-04-04 01:01 cb88 has joined #qi-hardware 2013-04-04 01:50 wolfspraul has joined #qi-hardware 2013-04-04 02:08 uwe_mobile has quit [Ping timeout: 240 seconds] 2013-04-04 02:09 uwe_mobile has joined #qi-hardware 2013-04-04 02:11 Freemor has joined #qi-hardware 2013-04-04 02:13 Freemor has left #qi-hardware [#qi-hardware] 2013-04-04 02:19 cb88 has quit [Remote host closed the connection] 2013-04-04 02:52 coyo has joined #qi-hardware 2013-04-04 03:03 DocScrutinizer05 has quit [Disconnected by services] 2013-04-04 03:03 DocScrutinizer06 has joined #qi-hardware 2013-04-04 03:03 DocScrutinizer06 is now known as DocScrutinizer05 2013-04-04 03:16 guanucoluis has joined #qi-hardware 2013-04-04 04:03 guanucoluis has quit [Ping timeout: 245 seconds] 2013-04-04 04:16 DocAvalanche has joined #qi-hardware 2013-04-04 04:16 DocScrutinizer51 has quit [Ping timeout: 258 seconds] 2013-04-04 04:16 DocAvalanche is now known as DocScrutinizer51 2013-04-04 04:16 lkcl has quit [Ping timeout: 258 seconds] 2013-04-04 04:17 lkcl has joined #qi-hardware 2013-04-04 04:21 wolfspraul has quit [Ping timeout: 245 seconds] 2013-04-04 04:22 wolfspraul has joined #qi-hardware 2013-04-04 04:32 pcercuei has quit [Quit: dodo] 2013-04-04 05:05 wolfspraul has quit [Ping timeout: 260 seconds] 2013-04-04 05:05 wolfspraul has joined #qi-hardware 2013-04-04 05:15 grmbl. one of these oscilloscope-instead-of-printk moments again ... 2013-04-04 05:23 first hint of trouble: zero activity on the I/O pins. yes, that would explain a thing or two ... 2013-04-04 05:24 question for the channel: what is the scope of this community? would a do-it-yourself molten thorium floride fast breeder reactor fall under this community's scope? 2013-04-04 05:24 in other words, would schematics and instructions be welcome here? 2013-04-04 05:26 we're more into electronics than making friends with the nuclear power authorities. but i have to admit that the idea is intriguing ;-) 2013-04-04 05:26 XD 2013-04-04 05:26 i could imagine that the raw materials are a bit hard to find ? 2013-04-04 05:27 well, there's nothing illegal about thorium. it may be theoretically possible to construct thermonuclear warheads with thorium by breeding it into uranium, but it's such a pain in the butt, and i have no need for those anyway 2013-04-04 05:27 i just want power for my tesla coils :D 2013-04-04 05:27 without the power company yelling at me about blacking out half the state 2013-04-04 05:29 what you do is "invest" in thorium ore, and smelt and refine it yourself, then induce the initiating of reaction with a beta particle accelerator to provide the initial high energy neutrons without needing a crumb of uranium 2013-04-04 05:29 let me doublecheck that really fast, hold on 2013-04-04 05:30 oh, i think you can already have a lot of fun with a dirty bomb. that shouldn't be all that hard to make. 2013-04-04 05:30 whoops 2013-04-04 05:30 alpha particles 2013-04-04 05:30 i meant alpha particles 2013-04-04 05:30 of course, if you have a few uranium bricks at hand, that'll help 2013-04-04 05:32 heh, someone's been busy: http://en.wikipedia.org/wiki/Liquid_fluoride_thorium_reactor#Disadvantages 2013-04-04 05:32 https://en.wikipedia.org/wiki/Alpha_decay#Uses possible sources of alpha radiation 2013-04-04 05:32 hehe 2013-04-04 05:33 seems that the best way to jump-start one of your reactors is if you have some decommissioned nuke to scavenge 2013-04-04 05:36 roh_ has joined #qi-hardware 2013-04-04 05:38 roh has quit [Ping timeout: 276 seconds] 2013-04-04 05:38 kanzure has quit [Remote host closed the connection] 2013-04-04 05:38 kanzure has joined #qi-hardware 2013-04-04 05:40 wpwrak: i dont think so 2013-04-04 05:40 besides 2013-04-04 05:40 they arent me 2013-04-04 05:40 :D 2013-04-04 05:41 grabbing fissile material from a decommissioned nuke is a good way to get on every list out there 2013-04-04 05:41 i'm sure there are other ways to do it successfully 2013-04-04 05:41 without attracting undue attention 2013-04-04 05:42 wpwrak: however, am i to take it that the schematics, how to videos, diagrams, and detailed instructions would not be unwelcome in this community? 2013-04-04 05:47 i'm going to assume diy firearms are clearly unwelcome here. i cant find a tos on qi-hardware.com but it's pretty safe to assume. 2013-04-04 05:49 :P 2013-04-04 06:34 well, someone may find schematics entertaining :) but then, we're not really all that much into irradiating ourselves 2013-04-04 06:35 maybe lekernel could steer you into a better direction once he's back. he's had some wacky talks at his conference in december 2013-04-04 06:38 alright 2013-04-04 06:39 jekhor has joined #qi-hardware 2013-04-04 06:39 according to this energy company saleswoman, they dont carry micro nuclear reactors, however, they do have large scale diesel generators with evaporative cooling systems that could provide enough sustained power for a city block or two 2013-04-04 06:39 i may go that route 2013-04-04 06:39 diy diesel generator, and diy syndiesel (aka biodiesel) 2013-04-04 06:40 so you never have to pay another cent for arabian dinosaur corpse juice 2013-04-04 06:44 jluis has joined #qi-hardware 2013-04-04 06:46 or just build a little rocket and shoot your experiment into the sun ? plenty of power there. 2013-04-04 06:47 you'll also be able to put all your experience in radiation shielding to good use :) 2013-04-04 06:49 pfft 2013-04-04 06:49 xiangfu has joined #qi-hardware 2013-04-04 06:49 y so srs? 2013-04-04 07:03 xiangfu: heya ! a question: do you know how 0020-qi_lb60-NAND-add-data-partition.patch is doing on its way to upstream ? 2013-04-04 07:06 xiangfu has quit [Ping timeout: 264 seconds] 2013-04-04 07:08 xiangfu has joined #qi-hardware 2013-04-04 07:11 Guest19240_ has quit [Ping timeout: 264 seconds] 2013-04-04 07:18 wpwrak: thanks! i'll try it as soon as i can. Does anything need to be done on atben side? I figured you were using a newer kernel on ben 2013-04-04 07:24 coyo has quit [Remote host closed the connection] 2013-04-04 07:26 yeah, there is no good reason why the default partition layout is not upstream.. It's not like there are many modifications of Ben and the upstream holds the generic configuration.. 2013-04-04 07:28 brb 2013-04-04 07:28 kyak has quit [] 2013-04-04 07:34 kyak has joined #qi-hardware 2013-04-04 07:34 kyak has quit [Changing host] 2013-04-04 07:34 kyak has joined #qi-hardware 2013-04-04 07:37 kyak: atben doens't work yet with the new kernel. i get no gpio activity at all. 2013-04-04 07:37 good :) can use the the default kernel then 2013-04-04 07:40 wpwrak: out of your kernel tree, can i just extract drivers/net/ieee802154/atusb.c and compile it with 3.9 tree? Or did you do some other changes? 2013-04-04 07:42 i see there are some changes to at86rf230.c.. So i'd need to recompile this module as well 2013-04-04 07:42 Ornotermes has quit [Remote host closed the connection] 2013-04-04 07:45 unclouded has joined #qi-hardware 2013-04-04 07:46 jekhor has quit [Ping timeout: 240 seconds] 2013-04-04 07:47 Ornotermes has joined #qi-hardware 2013-04-04 07:53 oh, you don't need it for atusb 2013-04-04 07:54 you need atusb.c, atusb.h, and at86rf230.h. that should be all. 2013-04-04 07:55 btw, my kernel is 3.9.0-rc5+. so if your aim is 3.9, you may just use that one 2013-04-04 07:56 https://github.com/wpwrak/ben-wpan-linux 2013-04-04 07:56 (not the branch in qi-kernel. that one is obsolete.) 2013-04-04 08:01 ok, i'll try with 3.8.5 which is my current kernel. If it doesn't work, i'll try with 3.9 2013-04-04 08:05 kyak: do you manage your workstation kernel manually? 2013-04-04 08:05 viric: no, of course not.. It's arch linux who manages it for me 2013-04-04 08:06 i have created the dkms-atusb package however 2013-04-04 08:06 ok 2013-04-04 08:06 which is how i plan to work with atusb 2013-04-04 08:06 what is 'dkms'? :) 2013-04-04 08:07 it's a special software that manages the list of external modules and recomiles it automatically on kernel version update 2013-04-04 08:07 wpwrak: do you make the atusb module build outside the kernel tree? or is it a patch to the kernel? 2013-04-04 08:07 kyak: ah ok 2013-04-04 08:07 dynamic kernel management system, i guess 2013-04-04 08:08 oh, i haven't even tried to build it as a module 2013-04-04 08:08 wpwrak: ah! that's the key point :) 2013-04-04 08:08 yeah, sorry. should have mentioned that :) 2013-04-04 08:08 it wouldn't be surprised if it actually worked fine as a module. but then maybe it doesn't 2013-04-04 08:09 the linux trend is that things work as a module but not in-kernel :) 2013-04-04 08:10 i try to stay ahead of the trend ;-) 2013-04-04 08:10 besides, my test machine boots really fast 2013-04-04 08:11 has a heavily gutted ubuntu that starts almost nothing 2013-04-04 08:11 my laptop usually doesn't reboot, except for kernel updates and "reboot will fix it" issues 2013-04-04 08:11 well, during krnel development, "reboot will fix it" happens rather often :) 2013-04-04 08:12 at least to the point where the machine will talk to you again :) 2013-04-04 08:12 sometimes my keyboard would just stop working. I then use mouse to reboot :) 2013-04-04 08:13 wpwrak: don't you develop on qemu or so? 2013-04-04 08:13 this hasn't happened in a while though 2013-04-04 08:14 guess qemu won't suffice for atusb.. Or maybe it will? 2013-04-04 08:14 Calyp has joined #qi-hardware 2013-04-04 08:17 wpwrak: heh. not sure how someone who can't tell alpha from beta particles could build an LFTR 2013-04-04 08:18 * whitequark tries to guess the age range 2013-04-04 08:18 viric has quit [Ping timeout: 245 seconds] 2013-04-04 08:18 1990-1995. "y so srs". I think 2013-04-04 08:18 viric has joined #qi-hardware 2013-04-04 08:29 wolfspraul has quit [Quit: leaving] 2013-04-04 08:47 security has joined #qi-hardware 2013-04-04 08:48 megha has quit [Ping timeout: 248 seconds] 2013-04-04 09:12 Guest19240_ has joined #qi-hardware 2013-04-04 09:21 wolfspraul has joined #qi-hardware 2013-04-04 09:24 stupid doesn't need an age ;) 2013-04-04 09:52 wolfspraul has quit [Quit: leaving] 2013-04-04 10:11 larsc: sure, but in my experience, vocabulary tends to reflect one 2013-04-04 10:33 LunaVorax has joined #qi-hardware 2013-04-04 10:33 LunaVorax has quit [Read error: Connection reset by peer] 2013-04-04 10:33 LunaVorax_ has joined #qi-hardware 2013-04-04 10:34 LunaVorax_ has quit [Remote host closed the connection] 2013-04-04 10:34 LunaVorax has joined #qi-hardware 2013-04-04 10:35 Hi! 2013-04-04 10:44 unclouded has quit [Ping timeout: 245 seconds] 2013-04-04 11:19 wolfspraul has joined #qi-hardware 2013-04-04 11:37 wpwrak: everything dry? 2013-04-04 12:23 rz2k has joined #qi-hardware 2013-04-04 12:24 rz2k has joined #qi-hardware 2013-04-04 12:42 rzk has joined #qi-hardware 2013-04-04 12:43 rz2k has quit [Ping timeout: 264 seconds] 2013-04-04 12:54 rz2k has joined #qi-hardware 2013-04-04 12:55 rzk has quit [Ping timeout: 264 seconds] 2013-04-04 13:28 jekhor has joined #qi-hardware 2013-04-04 13:28 DocScrutinizer05: at the 14th floor ? yeah pretty much :) 2013-04-04 13:29 :-) 2013-04-04 14:18 a question to the real sysop hackers: how would you manage to swap the /home HDD in a life system? As in: add a HDD, cp /home to new HDD, mount new HDD home on top of existing ext3 /home as unionfs, cp again...??? 2013-04-04 14:18 I gather there's NO way to accomplish that? 2013-04-04 14:21 security is now known as fire 2013-04-04 14:23 another alternative approach: fuser -k SIGSTOP /home; dd /dev/sdb3 /dev/sdd3; ; killall SIGCONT 2013-04-04 14:25 DocScrutinizer05: you could mount your new disk on /mnt, and rsync -a /home /mnt 2013-04-04 14:25 :nod: 2013-04-04 14:26 of course, stopping processes using /home would help :) 2013-04-04 14:26 but what do I do for the files that changed after rsync synced them? 2013-04-04 14:26 yeah :-) 2013-04-04 14:26 login as root, fuser -k /home, rsync again :) 2013-04-04 14:26 friggin Toshiba HDD 2013-04-04 14:27 http://privatepaste.com/afebb8646f 2013-04-04 14:27 DocScrutinizer05: disable regular user logins. unmount.. 2013-04-04 14:28 or copy in a ramdisk and pivot_root 2013-04-04 14:28 usually.. boot rescue system and do it from there 2013-04-04 14:28 the whole point is I don't want to logout, since that would e.g. stop this irc client and make me basically lose my queries 2013-04-04 14:28 ;-) 2013-04-04 14:28 pondering suspend to disk 2013-04-04 14:29 roh_ is now known as roh 2013-04-04 14:29 but that's probably also not really working 2013-04-04 14:29 DocScrutinizer05: well. you lost. changing a fs cannot happen without getting rid of processes. 2013-04-04 14:30 I guess I will have to kill my uptime and do a reboot, accept some downtime for replacing this SATA HDD 2013-04-04 14:30 roh: :nod: 2013-04-04 14:30 disks are .. well.. temporary storage. if you need more uptime. go raid 2013-04-04 14:31 I guess my question is: how do I minimize that downtime, by doing backups in a proper way during regular use of PC 2013-04-04 14:32 my idea been to get a new HDD, plug in, init s, dd, power down and swap HDD, boot 2013-04-04 14:33 alas the shop requires me to bring in the defect HDD to give me a new one, which would mean several hours of PC being down since no proper /home existing 2013-04-04 14:35 I might opt for buying a spare, do as sketched above, then bring in the defect HDD *after* PC already up and running on new one 2013-04-04 14:36 will require two visits at shop, plus a couple of bucks for the new HDD spare 2013-04-04 14:37 amazingly the "defect" HDD still kinda "works" - as in "no errors/problems during normal operation of PC, except for the onnoying TOCKTOCKTOCK it did during last few days every once in a while" 2013-04-04 14:37 annoying even 2013-04-04 14:38 pcercuei has joined #qi-hardware 2013-04-04 14:38 * DocScrutinizer05 glances at ddrescue output 2013-04-04 14:38 it's just warning you it's gonna die suddenly. You shouldn't wait for it :P 2013-04-04 14:38 I'm not waiting as you can tell from this very conversation ;-) 2013-04-04 14:39 also the drive is a mere 50 days up&running, manufactured(!) Nov-2012 2013-04-04 14:39 I bought it 50 days ago 2013-04-04 14:40 heck, with a 2nd HDD I could create a RAID :-D 2013-04-04 14:41 so same problem won't bite me again 2013-04-04 14:42 well.. i always buy the same hdd twice (for backups) or 3-4 times (raid1 2013-04-04 14:42 * DocScrutinizer05 checks how much they call for TOSHIBA DT01ACA100 today 2013-04-04 14:42 DocScrutinizer05: hibernate should take less than 10 seconds, even tcp connections can survive that 2013-04-04 14:43 DocScrutinizer05: but if you want to plan for this in the future then LVM with hot-pluggable disks should work 2013-04-04 14:43 lindi-: my idea is not to hibernate but to suspend to disk, then dd-clone the whole friggin HDD, swap, resume 2013-04-04 14:44 DocScrutinizer05: I thought "hibernate" and "suspend to disk" meant the same thing 2013-04-04 14:44 but I guess suspend to disk won't work, as usual 2013-04-04 14:44 aaah 2013-04-04 14:45 I use hibernate every day 2013-04-04 14:45 yeah, if it works once, it works every time (unless your swap already been used up so much that it can't take the RAM content anymore) 2013-04-04 14:47 since all my PCs/laptops during last 4 years seen 10 boots each at most, I hardly have done much tweaking to make StR work 2013-04-04 14:48 314GB ddrescued 2013-04-04 14:48 phew. atben finally responds. it was something trivial: in the past, the gpios were set by default to GPIO, so my driver never bothered to change them. now they're set to function. hence it could no longer talk to the device. 2013-04-04 14:48 600 to go 2013-04-04 14:49 the little things that become so obvious after a few hours of sleep :) 2013-04-04 14:49 hehe 2013-04-04 14:50 hellekin: heya ! welcome back ! all services connected again ? :) 2013-04-04 14:54 DocScrutinizer05: he's the one you should worry about. if i understand things right, he's some 13 floors closer to the water - and in an area that did get flooded this time. 2013-04-04 14:56 eeew 2013-04-04 14:56 hellekin: so everything dry (again) at your site? 2013-04-04 14:58 xdpirate_ has joined #qi-hardware 2013-04-04 14:58 btw http://www.kkcomputer.de/Default.aspx?tabid=34&txtSearch=DT01ACA100&List=0&SortField=0&ProductID=17228&Pics=1 61.60EUR, so meh, just get me a spare 2013-04-04 14:59 after swapping the first defect one for a replacement the both of them will form a nice raid 2013-04-04 15:01 wpwrak, DocScrutinizer05: all back to normal, less candles, one less PC :( 2013-04-04 15:01 xdpirate has quit [Ping timeout: 245 seconds] 2013-04-04 15:01 but the PC didn't die because of water: the dust was still intact. 2013-04-04 15:01 Instead it must have died of the recurring power outage 2013-04-04 15:01 hellekin: losing a pc sucks :-( 2013-04-04 15:02 hellekin: maybe it's just the power supply ? 2013-04-04 15:02 maybe 2013-04-04 15:02 not sure what part died, the motherboard lights up, but the CPU fan does not start 2013-04-04 15:03 if you have a spare power supply, might be useful to test 2013-04-04 15:05 either cpu fan (they tend to not start again once worn out and stopped), or your 12V of PSU are dead 2013-04-04 15:05 you tried helping fan to start up, manually pushing it a bit? 2013-04-04 15:06 hmm, no new ones. but i think i have one that's been removed as preventive maintenance. may have small issues, though. that pc had been acting up on some occasions. 2013-04-04 15:06 DocScrutinizer05: nope, testing now 2013-04-04 15:06 reminds me that i'm out of spare supplies. they've turned into consumables lately, much like disks :-( 2013-04-04 15:06 I don't have any electrical tools here, sso I cannot do any tests 2013-04-04 15:07 wpwrak: oh really? that sucks too 2013-04-04 15:07 emeb has joined #qi-hardware 2013-04-04 15:09 nope, the fan plays dead 2013-04-04 15:13 yeah ddrescue just hit the bad sector range of HDD, now it's spitting errors and drive starts woodpecking again 2013-04-04 15:16 DocScrutinizer05 has quit [Remote host closed the connection] 2013-04-04 15:23 hmm how flexible and fast would be implement regular expresions on a fpga 2013-04-04 15:26 DocScrutinizer05 has joined #qi-hardware 2013-04-04 15:27 WOW, that been scary 2013-04-04 15:30 to beat a cpu? 2013-04-04 15:34 nah, HDD went TOCKTOCKTOCK for 15min 2013-04-04 15:35 luckily it stopped a few minutes after I managed to send a ^C to ddrescue 2013-04-04 15:35 already been afraid my complete dsktop would freeze 2013-04-04 15:35 are you recovering a hdD? 2013-04-04 15:35 yep 2013-04-04 15:36 of course it's BS to do a ddrescue from a mounted /home 2013-04-04 15:36 but I thought it's probably better than nuttin 2013-04-04 15:38 1800 hard headpark events, that can kill the nerves of a techhnically sensible person 2013-04-04 15:40 anyway afk for getting a new drive 2013-04-04 15:41 jekhor has quit [Ping timeout: 264 seconds] 2013-04-04 15:43 DocScrutinizer05: why scary? 2013-04-04 15:46 BS? 2013-04-04 15:46 I guess DocScrutinizer05 is close to loosing data. 2013-04-04 15:47 DocScrutinizer05 has quit [Ping timeout: 264 seconds] 2013-04-04 15:47 ahh 2013-04-04 15:48 DocScrutinizer05 has joined #qi-hardware 2013-04-04 15:49 guanucoluis has joined #qi-hardware 2013-04-04 15:49 why scary? because it is freezing my desktop, spamming my syslog with tons of kernel error msgs 2013-04-04 15:49 and the sound is curling my toenails 2013-04-04 15:55 xiangfu has quit [Quit: leaving] 2013-04-04 16:03 i have to replace the OS hardisk recently, seems there is hdd failure fever.. 2013-04-04 16:03 :/ 2013-04-04 16:06 jekhor has joined #qi-hardware 2013-04-04 16:07 my system disk went early last month ... 2013-04-04 16:07 still need to try to salvage some files that are in no backup. 2013-04-04 16:07 here one disk died, 1,5 months ago. 2013-04-04 16:07 (not the oldest in the system, by far) 2013-04-04 16:07 i see a pattern :) 2013-04-04 16:08 if you have an old maxtor, treat it well, it'll probably outlast you :) 2013-04-04 16:08 haha 2013-04-04 16:08 3 months ago, another one died at the office 2013-04-04 16:09 i wonder if it's time yet to move to SSD ... 2013-04-04 16:11 wolfspraul has quit [Ping timeout: 240 seconds] 2013-04-04 16:11 oh, and i found out why my external WD USB disks didn't work: they have a little voltage regulator on the interface board that gets so hot that it no only burns the board but apparently also the disk's electronics underneath that board. at least, even after removing the disk, it wouldn't work in a pc. 2013-04-04 16:12 I recently found the idle3 timer thing 2013-04-04 16:12 on wd green 2013-04-04 16:12 (together with the start-stop count :) 2013-04-04 16:12 do they have a start-stop limit ? like some ink printers ? 2013-04-04 16:13 wpwrak: mine was maxtor yeap 2013-04-04 16:13 here I bought a WD green, because seagate didn't work at all in my computer. it looked like a broken hard drive to the system 2013-04-04 16:13 wpwrak: i was thinking same about ssd as well 2013-04-04 16:13 wpwrak: no, wd green have a timer that stops spinning every 12,8 seconds of innactivity. 2013-04-04 16:13 wpwrak: very good for energy saving (in some usage patterns), but can be also very degrading for the disk life 2013-04-04 16:14 wpwrak: those external hardisk also have some sha or similar encryption on the fly i remenber.. 2013-04-04 16:14 the 'respin' counter gets very high in those drives 2013-04-04 16:14 and idle3-tool is the tool to disable that 12,8s timer. :) 2013-04-04 16:16 oh, an idle time beyond the regular mechanism. clever :) 2013-04-04 16:17 kristianpaul: a dead maxtor ? nearly impossible. what did you do to it ? 2013-04-04 16:24 wpwrak: nothin 2013-04-04 16:24 but kernel was flooding me with ATA sync errors 2013-04-04 16:24 then i died on sunday 2013-04-04 16:24 that's what they all say ;-) 2013-04-04 16:25 oh, you're a ghost now ? 2013-04-04 16:25 s/i/it 2013-04-04 16:25 kristianpaul meant: "then it dited on sunday" 2013-04-04 16:25 lol 2013-04-04 16:26 jluis has quit [Ping timeout: 245 seconds] 2013-04-04 16:31 jekhor has quit [Ping timeout: 246 seconds] 2013-04-04 16:32 Did you mean "Then I dyed it on sunday"? 2013-04-04 16:33 that would explain a lot of things :) 2013-04-04 16:39 lol 2013-04-04 16:45 jekhor has joined #qi-hardware 2013-04-04 16:47 baba has joined #qi-hardware 2013-04-04 16:49 fire has quit [Ping timeout: 264 seconds] 2013-04-04 16:50 wpwrak: the atusb module builds and loads fine on 3.8.5 2013-04-04 16:50 kewl :) 2013-04-04 16:51 can you also rmmod it ? 2013-04-04 16:51 usbcore: deregistering interface driver atusb 2013-04-04 16:51 seems that i can 2013-04-04 16:51 case 1: insmod then rmmod. case 2: insmod, bring it up and communicate, rmmod 2013-04-04 16:52 haven't tried communicating yet.. let me unpack atben :) 2013-04-04 16:52 i tried unplugging it, which seems to be fine. still have to check whether i'm leaking memory, though. i don't trust those urb removal functions. 2013-04-04 16:55 okay, the kernel just paniced :) 2013-04-04 16:55 Calyp has quit [Ping timeout: 245 seconds] 2013-04-04 16:55 i didn't do any special, just wanted to open the page with instructions for dirtpan 2013-04-04 16:58 did it say where it panicked ? 2013-04-04 16:59 yeah, i was looking for something usb-related, but there was more like "tcp-write" 2013-04-04 16:59 i shouldve' taken a picture 2013-04-04 17:00 wpwrak: i'm looking at http://downloads.qi-hardware.com/people/werner/wpan/prod/setup.html#pcsw. Can you point me to specific instructions i can follow to test communication? 2013-04-04 17:03 oh, did you try iz assoc ? that would explain the oops 2013-04-04 17:03 nope, didn't do that 2013-04-04 17:04 i plugged out the atusb before doing rmmod 2013-04-04 17:04 then i plugged it in.. After dozen of seconds it panicked 2013-04-04 17:04 ah, interesting. need to try that then. just plug and unplug seems to work. but i didn't try modules. 2013-04-04 17:05 here's the setup for a simple communication with izchat: http://pastebin.com/Ri9jm7zn 2013-04-04 17:05 (required the latest user space tools on both ends, for the "iz set") 2013-04-04 17:05 do i need to silence the mmc driver on ben? 2013-04-04 17:09 yeah, remove everything else that touches mmc 2013-04-04 17:10 on the ben, please use the owrt kernel. my kernel doesn't work yet there. 2013-04-04 17:13 hm.. on ben, do i need a kernel module or something? 2013-04-04 17:14 root@ben:~# iz add wpan-phy0 2013-04-04 17:14 Could not get multicast group ID: No such file or directory 2013-04-04 17:15 http://dpaste.com/1047117/ 2013-04-04 17:16 that's laptop 2013-04-04 17:16 ip l shows the wpan0 device 2013-04-04 17:16 the ifconfig is strange 2013-04-04 17:17 ip link set wpan0 up 2013-04-04 17:17 RTNETLINK answers: Broken pipe 2013-04-04 17:17 the same 2013-04-04 17:17 broken pipe sounds like a usb problem 2013-04-04 17:17 oh, did you update the atusb firmware ? 2013-04-04 17:17 nope 2013-04-04 17:17 --) 2013-04-04 17:17 ha ! :) 2013-04-04 17:19 in case you don't want to build it, lemme upload the latest version ... 2013-04-04 17:22 here it is: http://downloads.qi-hardware.com/people/werner/wpan/tmp/atusb-367c1ab-wip.bin 2013-04-04 17:22 flash with dfu-util -d 20b7:1540 -D atusb-367c1ab-wip.bin 2013-04-04 17:26 Calyp has joined #qi-hardware 2013-04-04 17:28 usb 1-1: Firmware: build #23 Mon Apr 1 21:49:16 ART 2013 2013-04-04 17:28 oh 2013-04-04 17:28 just foudn something in dmesg 2013-04-04 17:29 http://dpaste.com/1047126/ 2013-04-04 17:29 the current dmesg timestamp is 2020 2013-04-04 17:30 hm, now i get 2013-04-04 17:30 # iz add wpan-phy0 2013-04-04 17:30 Receive failed: No such device 2013-04-04 17:30 on laptop.. time to reboot 2013-04-04 17:32 if you repeat things, the wpan-phy0 usually changes numbers. not sure yet if this is "normal" or a bug 2013-04-04 17:32 ah ok 2013-04-04 17:33 ok 2013-04-04 17:33 all is fine on laptop side 2013-04-04 17:33 yay ! 2013-04-04 17:33 now to ben... 2013-04-04 17:34 http://dpaste.com/1047133/ 2013-04-04 17:34 phy1,2 doesn't help :) 2013-04-04 17:35 iz listphy 2013-04-04 17:35 i think i need kmod-spi_atben 2013-04-04 17:35 Could not get multicast group ID: No such file or directory 2013-04-04 17:36 yes, spi_atben at86rf230 there's probably also a mac802154 maybe more *802154* modules 2013-04-04 17:37 did you just install the packages on top of fresh reflash? 2013-04-04 17:37 or they are built into the image? 2013-04-04 17:37 i think i'm running my custom image, which lacks some (many) packages 2013-04-04 17:37 i just installed owrt plus your updated tools package 2013-04-04 17:37 ok, then i'll reflash_ben 2013-04-04 17:38 if you have the stack in place, an "iz add" for a nonexisting device should yield: Receive failed: No such device 2013-04-04 17:38 if you kernel has no idea about wpan, you get: Could not get multicast group ID: No such file or directory 2013-04-04 17:39 what does lsmod show on your eben? 2013-04-04 17:39 (good i didnt say iben) 2013-04-04 17:39 my ben runs my monolithic kernel :) 2013-04-04 17:40 but /lib/modules/3.3.8/ has these that look useful: 2013-04-04 17:40 af_802154.ko spi_atben.ko at86rf230.ko ieee802154.ko mac802154.ko 2013-04-04 17:41 may you also need some of these: crc-itu-t.ko crc-ccitt.ko ipv6.ko 2013-04-04 17:41 furthermore, for dirtpan, you'd need tun.ko 2013-04-04 17:41 ok, i'll add all of those to my image later.. now reflashing the thing 2013-04-04 17:41 the one you don't want is ks7010.ko :) 2013-04-04 17:42 btw, ks7010 is the only module i currently have :) 2013-04-04 17:42 so just modprobe --negate ;-) 2013-04-04 17:42 i can't really install the modules via opkg, because the kernel package checksum is different from those kernel modules in the latest repo 2013-04-04 17:44 this is something i didn't realize until now, because i sometimes used the opkg binary repo to install packages that were missing from my image 2013-04-04 17:44 this works fine for regular packages, but not for kernel modules 2013-04-04 17:45 Done: 78/635 //Damn the rootfs grown big 2013-04-04 17:46 modprobe --force ? 2013-04-04 17:48 it's on opkg level, before the modprobe :) i'm sure opkg has some force options, but i'm better of reflashing anyway 2013-04-04 17:48 i'm not sure what else i changed, it's been a while 2013-04-04 17:50 yeah, a clean owrt install, along with your updated package, should give you a working system 2013-04-04 17:50 wpwrak: do you know how far is atusb backwards compatible? 2013-04-04 17:51 i mean, what would be the lowest kernel version one should be able to run it with? 2013-04-04 17:52 i don't really know. it may be able to go back a bit but i don't track those interfaces regularly. 2013-04-04 17:53 but why linger in the past ? :) 2013-04-04 17:55 that's true.. anyway, my router is currently at 3.8 kernel, and it will probably get 3.9 soon after it's out 2013-04-04 18:01 xdpirate_ is now known as xdpirate 2013-04-04 18:11 wpwrak: ok, i had to insmod spi_atben manually 2013-04-04 18:11 then i do iz add wpan-phy0 and get Receive failed: No such device 2013-04-04 18:12 jekhor has quit [Ping timeout: 245 seconds] 2013-04-04 18:15 iz listphy returns empty 2013-04-04 18:20 http://dpaste.com/1047174/ 2013-04-04 18:21 here's lsmod and a little bit of dmesg 2013-04-04 18:22 damn 2013-04-04 18:23 had to insmod at86rf230 2013-04-04 18:23 that's it 2013-04-04 18:24 now izchat is running both on laptop and ben 2013-04-04 18:24 showing nothing -\ 2013-04-04 18:24 can they talk to each other ? 2013-04-04 18:24 hmm :-( 2013-04-04 18:24 thehm 2013-04-04 18:24 are you typing ? or are you just waiting for something to happen ? 2013-04-04 18:24 i need to set different MACs i suppose 2013-04-04 18:25 your commands have the same MAC :) 2013-04-04 18:25 oopsie ! 2013-04-04 18:25 jekhor has joined #qi-hardware 2013-04-04 18:25 hmm 2013-04-04 18:26 probably doesn't matter then, though. i've copied and pasted that sequence many times 2013-04-04 18:26 still nothing 2013-04-04 18:26 wait a second 2013-04-04 18:26 i need to type? :)) 2013-04-04 18:26 lol 2013-04-04 18:26 yes :) 2013-04-04 18:26 ok, it's working :) 2013-04-04 18:26 great!! 2013-04-04 18:26 ;-)) 2013-04-04 18:26 many thanks! 2013-04-04 18:26 does it work both ways ? 2013-04-04 18:28 nope :) 2013-04-04 18:28 atusb-> ben just gave a krenel panic 2013-04-04 18:29 and i was so excited that i didn't take a picture 2013-04-04 18:29 lemme reproduce 2013-04-04 18:36 yep, it's reproducible 2013-04-04 18:36 http://s017.radikal.ru/i443/1304/5b/a12344ee6ef2.jpg 2013-04-04 18:36 atben->atusb seems to work 2013-04-04 18:36 but not the other way 2013-04-04 18:37 that's an odd one. lemme see .. 2013-04-04 18:38 meanwhile, i'm enjoying sending nasty message from ben to my laptop... 2013-04-04 18:40 i almost can't believe it's actually working when i unplug ben from usb 2013-04-04 18:40 it's magic 2013-04-04 18:41 most important thing - it's working from a bathroom 2013-04-04 18:42 ;-)) 2013-04-04 18:43 seems that you have no dev->header_ops->create 2013-04-04 18:43 now, why would that happen ... 2013-04-04 18:44 actually .. no, that's being checked. hmm. 2013-04-04 18:46 one thing that's bugging me.. the at86rf header is modified 2013-04-04 18:47 however, all other modules, including atrf86 itself are built with unmodified header 2013-04-04 18:47 could it be a problem? 2013-04-04 18:47 i'm running all stock modules, except for atusb 2013-04-04 18:49 maybe you need commit 0483546a3de329cad7705d42962edb09a28794c6 2013-04-04 18:50 https://github.com/wpwrak/ben-wpan-linux/commit/0483546a3de329cad7705d42962edb09a28794c6 2013-04-04 18:51 you mean "at86rf230.h" ? no, that's a copy. it doesn't exist in the original code. at some point in time i'll try to delete the original definitions 2013-04-04 18:51 argh.. sounds like it's mac802154 recompilation... 2013-04-04 18:52 i see a number of recent changes. you may want to try to just built the kernel from https://github.com/wpwrak/ben-wpan-linux 2013-04-04 18:53 getting the .config right will be a bit of a pain, as usual, but i don't think it contains many cruel surprises 2013-04-04 18:53 ok, i'll try just the kernel from your repo. I'm pretty sure it would work though 2013-04-04 18:53 (recent changes) i mean to ieee 802.15.4 2013-04-04 18:55 if all these change make it to 3.9, my evil plan would work 2013-04-04 18:55 wpwrak: ok, thank you very much! it was fun! 2013-04-04 18:56 time to go now 2013-04-04 18:58 the drivers may not make it this time but i hope some bug fixes and such do 2013-04-04 19:00 pcercuei_ has joined #qi-hardware 2013-04-04 19:01 (fun) a pleasure :) let's hope the next round gets us both directions 2013-04-04 19:03 pcercuei has quit [Ping timeout: 248 seconds] 2013-04-04 19:17 jekhor has quit [Ping timeout: 260 seconds] 2013-04-04 19:49 xdpirate_ has joined #qi-hardware 2013-04-04 19:52 xdpirate has quit [Ping timeout: 258 seconds] 2013-04-04 19:54 LunaVorax has quit [Ping timeout: 256 seconds] 2013-04-04 19:55 _xdpirate has joined #qi-hardware 2013-04-04 19:55 xdpirate_ has quit [Read error: Connection reset by peer] 2013-04-04 20:07 _xdpirate is now known as xdpirate 2013-04-04 20:31 pcercuei_ has quit [Quit: brb] 2013-04-04 21:01 LunaVorax has joined #qi-hardware 2013-04-04 21:02 DocScrutinizer05 has quit [Quit: Konversation terminated!] 2013-04-04 21:09 rz2k has quit [] 2013-04-04 21:10 jekhor has joined #qi-hardware 2013-04-04 21:12 unclouded has joined #qi-hardware 2013-04-04 21:29 pcercuei has joined #qi-hardware 2013-04-04 22:02 guanucoluis has quit [Ping timeout: 264 seconds] 2013-04-04 22:14 this one is nice, mainly about modern programming fallacies: http://www.codinghorror.com/blog/2012/07/new-programming-jargon.html 2013-04-04 22:22 methril has quit [Quit: Leaving] 2013-04-04 22:23 ah, someone asked about qemu. dunno how good it is with usb. a prefer to run things on the bare metal :) have to admit that some oopses can be a bit annoying, when things scroll off the console. but then, it's easy enough to add a loop that stops the system after the interesting part of its complaints. 2013-04-04 22:28 no kgdb? 2013-04-04 22:28 kyak: we do indeed not need the full MAC address 2013-04-04 22:28 viric: i developed my workflow when kgdk and such were still banned :) 2013-04-04 22:29 i sometimes use gdb on the live kernel, though (with /proc/kcore) 2013-04-04 22:30 most of the time, i find that debuggers don 2013-04-04 22:32 a few printks/printf often give you that information more rapidly. of course, then retrieving details costs more time 2013-04-04 22:32 't really make finding the bug faster. they give you a lot of control, but at the same time you have to spend time on a lot more details 2013-04-04 22:32 methril has joined #qi-hardware 2013-04-04 22:39 guanucoluis has joined #qi-hardware 2013-04-04 22:44 xdpirate has quit [Quit: http://gamelauncher.pvpsucks.com/] 2013-04-04 23:00 coyo has joined #qi-hardware 2013-04-04 23:00 coyo has joined #qi-hardware 2013-04-04 23:11 _whitelogger has joined #qi-hardware 2013-04-04 23:15 DocScrutinizer05 has joined #qi-hardware 2013-04-04 23:19 coyo has quit [Quit: F*ck you, I'm a daemon.] 2013-04-04 23:20 coyo has joined #qi-hardware 2013-04-04 23:20 coyo has quit [Changing host] 2013-04-04 23:20 coyo has joined #qi-hardware 2013-04-04 23:24 LunaVorax has quit [Ping timeout: 256 seconds] 2013-04-04 23:35 Calyp has quit [Ping timeout: 248 seconds] 2013-04-04 23:39 pcercuei has quit [Ping timeout: 276 seconds] 2013-04-04 23:43 coyo has quit [Quit: F*ck you, I'm a daemon.] 2013-04-04 23:45 pcercuei has joined #qi-hardware 2013-04-04 23:45 jekhor has quit [Ping timeout: 245 seconds] 2013-04-04 23:46 coyo has joined #qi-hardware 2013-04-04 23:46 coyo has quit [Changing host] 2013-04-04 23:46 coyo has joined #qi-hardware