**** BEGIN LOGGING AT Thu Feb 16 10:59:56 2006 Feb 16 14:24:28 Got my wintvPVR today. Current problem: http://tsn.dk/p/?id=3803. The hotplug seems to do something ... but it does not work. eFfeM are you around ? Feb 16 16:09:59 pumpkin0 I'm here, drop your Q; I'm back in 5 or 10 mins (need to watch the dutch skating team at the olympics) Feb 16 16:14:22 back Feb 16 16:14:28 How's the score ...? :) installed under openslug 2.7 like described here http://www.nslu2-linux.org/wiki/OpenSlug/InstallWinTVPVRUSB2 (the "Simplified instructions for OpenSlug 2.7"-Way). After connecting the kernel tries to load the FW, fails with "user.info kernel: pvrusb2 Failure uploading firmware" (full log: http://tsn.dk/p/?id=3803). I have no idead what to try next. Feb 16 16:15:03 it was a team chase and the dutch team fell so italy moves to the finals Feb 16 16:15:21 How's Canada doing? Feb 16 16:15:27 badly as usual? Feb 16 16:15:40 they are about to go (against norway) Feb 16 16:15:59 VoodooZ, I'll keep you posted Feb 16 16:16:04 cool. Feb 16 16:16:38 pumpkin0 did you extract the firmware ? Feb 16 16:17:14 apparently the http server is not giving the log Feb 16 16:17:15 yes. tried fwextract and fwfind. Feb 16 16:17:35 now got it Feb 16 16:18:07 let's try to find where this fw should go, this is a little bit version dependent. Where have you put it? Feb 16 16:18:18 /lib/firmware Feb 16 16:18:38 and your os version? Feb 16 16:18:46 openslug 2.7 beta Feb 16 16:19:43 cd /etc/hotplug.d/firmware Feb 16 16:19:54 do you have that dir? Feb 16 16:20:17 yes, with the 2 firmware. files. Feb 16 16:20:21 seem to recall that hotplug in 2.7 was a little bit different Feb 16 16:20:22 ok Feb 16 16:20:48 in that dir do grep FIRMWARE * Feb 16 16:20:56 Maybe the case. /LOG is not created, so i think the scripts are not called. Feb 16 16:21:12 you should get a line: firmware.hotplug:FIRMWARE_DIR=/lib/firmware Feb 16 16:21:36 yes, got it. Feb 16 16:21:48 VoodooZ, Canada just reached the finals Feb 16 16:22:20 don't know the actual name of the sport in english, but is is when two teams chase after each other Feb 16 16:22:33 pumpkin0 if that line is there your config is ok. hang on Feb 16 16:25:45 pumpkin0you might want to try to add an echo line in the beginning of hotplug.functions Feb 16 16:26:47 I'm adding "touch /IWASHERE1" everywhere into functions.hotplug. I think it does not survive the call to firmware.functions.... Feb 16 16:27:10 does it start firmware.functions? Feb 16 16:27:24 testing, wait a sec ... Feb 16 16:27:29 btw my favourite debug statement is echo 1 >>/LOG Feb 16 16:27:34 or 2 or 3 or 4 or ... Feb 16 16:27:46 dinnertime in NL, back in a while.... Feb 16 16:30:46 I'm so stupid. The 2. script was not executable. THX everybody. Feb 16 16:32:04 eFfeM, good. Feb 16 16:32:24 eFfeM, you mean the relay speed skating thing? Feb 16 16:32:54 03oleon * 10unslung/ (4 files in 2 dirs): torrent: Added Tracker Info Scraping and Best seed suggestion Feb 16 18:09:15 VoodooZ, no replay is just what it means, replay, I looked things up and I think it is called team pursuit Feb 16 18:10:02 hmm Feb 16 18:10:03 pumpkin0, good that you found it Feb 16 18:10:06 Canada beat Norway? Feb 16 18:10:12 yes Feb 16 18:10:15 grrrrrr Feb 16 18:10:16 ok. I'm just trying to imagine what it looks like as I'm no olympic sport expert. Feb 16 18:10:20 hehehe Feb 16 18:10:20 ;) Feb 16 18:10:25 Canada rules! :) Feb 16 18:10:28 hey! Feb 16 18:10:35 what game? Feb 16 18:10:42 we suck at most other sport (except hockey of course!) Feb 16 18:11:06 Gretsky? ;) Feb 16 18:11:28 neongrau, mens skating team pursuit Feb 16 18:11:39 isnt his name Gretzky ? Feb 16 18:11:42 s/s/z/ Feb 16 18:11:44 VoodooZ meant: we zuck at most other sport (except hockey of course!) Feb 16 18:11:49 oops. Feb 16 18:11:53 yep. it's a Z Feb 16 18:12:11 NAiL, you're from norway? (figured out from your name that you were scandinavian) Feb 16 18:12:12 lol Feb 16 18:12:13 wtf? You beat us in Curling too? Feb 16 18:12:14 our female team is doing pretty good also. Feb 16 18:12:41 probably. Feb 16 18:12:45 i like those snowboard guys and girls Feb 16 18:12:47 :) Feb 16 18:13:12 nah. Feb 16 18:13:21 and I really admire the courage of the people doing skeleton bob; on such a small thing with 100 km/h 70mph Feb 16 18:13:28 I don't like sport where the score is based on human errors (judge) Feb 16 18:13:34 seems pretty suicidal Feb 16 18:13:56 * eFfeM does not like sports where the main achievement is doing the same thing the same over and over again Feb 16 18:14:01 like figure skating for example.. Feb 16 18:14:04 like bowling or darts Feb 16 18:14:08 they should do beach volleyball at the wintergames (but women teams only ;)) Feb 16 18:14:15 hehehe Feb 16 18:14:17 * NAiL loves bowling ;) Feb 16 18:14:29 yeah, of course only topless ... Feb 16 18:14:33 * VoodooZ loves bowling while drinking.. Feb 16 18:14:37 not the bowling the beach volley Feb 16 18:14:55 VoodooZ, I don't need bowling for that Feb 16 18:15:01 Usually my trips to the bowling alley end up with a late night on town ;) Feb 16 18:15:02 heheeh Feb 16 18:15:12 eFfeM: not necessarily, the summer dresses are enough, the cold should do the rest *g* Feb 16 18:15:20 * eFfeM lives only a few km away from the #1 beer country of the world Feb 16 18:15:45 belgium? Feb 16 18:15:49 yup Feb 16 18:15:53 nice! Feb 16 18:15:55 * neongrau slaps VoodooZ Feb 16 18:16:09 ouch! Feb 16 18:16:10 come over and I'll serve you one as a reward for winning this little quiz ... Feb 16 18:16:44 I think Belgium is one of the european countries I *haven't* visited :-P Feb 16 18:16:46 I'm not much of a beer drinker (i prefer rhum or whiskey) but I like Hoe Garden. Feb 16 18:16:54 hoegaarden Feb 16 18:17:03 * VoodooZ is still dreaming of visiting europe. Feb 16 18:17:05 Nah, Ho' Garden :-P Feb 16 18:17:17 My girlfriend is Italian so that's the first place I'll go. Feb 16 18:17:28 * NAiL doesn't like weissbier Feb 16 18:17:34 My dream is to rent a motorcycle and ride around england & Italy. Feb 16 18:17:58 VoodooZ, build yourself a nice bot, become can then n am champ and be invited to a world championship in europe Feb 16 18:18:16 hehehe. yeah. that's possible. NOT! Feb 16 18:18:18 NAiL: try t mix it with cola tastes much better, but don't dare to order s.th. like that in bavara, you might get killed ;) Feb 16 18:18:20 btw the finals pursuit have been and I hate to say this VoodooZ, but italy defeated can Feb 16 18:18:39 does that mean trouble with your gf? Feb 16 18:18:44 Bavara? Germany? Feb 16 18:18:44 s/bavara/bavaria/ Feb 16 18:18:45 neongrau meant: NAiL: try t mix it with cola tastes much better, but don't dare to order s.th. like that in bavaria, you might get killed ;) Feb 16 18:18:48 yes Feb 16 18:19:04 one of my Xes is from bavaria :-P Feb 16 18:19:13 She mentioned mixing beer with soda Feb 16 18:19:25 yikes, that hurt Feb 16 18:19:55 almost like buying an expensive malt whiskey and add water ... Feb 16 18:20:20 oh well, we got in the finals at least. Feb 16 18:20:26 Did we win something out of this? Feb 16 18:20:32 yup. NL became 3rd Feb 16 18:20:33 neongrau: That stuff has a name, doesn't it? Feb 16 18:20:37 eFfeM: thats not so unlikely, especially the japanese do that alot Feb 16 18:20:46 VoodooZ, silver medals Feb 16 18:20:55 NAiL: beer with soda? Feb 16 18:20:57 * eFfeM thinks japanese cannot drink ... Feb 16 18:20:58 good enough for me. Feb 16 18:20:59 neongrau: yeah Feb 16 18:21:09 eFfeM: They do have some good beer Feb 16 18:21:25 no japanese online I hope Feb 16 18:21:37 NAiL: sure, different names, diesel -> cola+beer Feb 16 18:21:43 I'm just imagining a small japanese man trying to outdrink a 200lb canadian. :) Feb 16 18:21:57 NAiL, I'm mostly into belgian beer although I had some good german ones and even some good US ones (mostly microbrews) Feb 16 18:22:14 Unlike americans we drink beer that doesn't taste like water. Feb 16 18:22:20 VoodooZ: even a 200lb japanese would have trouble outdrinking a 100lb canadian girl Feb 16 18:22:27 hahahaha. Feb 16 18:22:30 lol Feb 16 18:22:37 good point. Feb 16 18:22:58 Did you see the movie 'European Gigolo' ? Feb 16 18:23:06 need a reboot, back in a few minutes Feb 16 18:23:23 an american movie. they made fun of us Canucks being party animals. a stereotype. Feb 16 18:23:50 asians lack the enzyme to process alcohol, they get drunk x-times as fast and need twice as long to get sober Feb 16 18:24:09 really. that's a fact? Feb 16 18:24:14 thats a fact Feb 16 18:24:27 same for native-americans Feb 16 18:24:29 I just meant by sheer body mass. Feb 16 18:24:41 lucky them really. Much cheaper! Feb 16 18:24:46 neongrau, where you from? Feb 16 18:24:47 yeah :D Feb 16 18:25:06 VoodooZ: i'm from the real No.1 beer country :D Feb 16 18:25:11 heh Feb 16 18:25:18 Octoberfest ;) Feb 16 18:25:37 two belgium guys? or germany? Feb 16 18:25:56 * neongrau is german Feb 16 18:25:59 cool. Feb 16 18:26:04 öl Feb 16 18:26:12 darn charset Feb 16 18:26:13 skol! Feb 16 18:26:15 Yeah, my buddy is a much bigger beer connaisseur and he loves german beers Feb 16 18:27:45 when i was in ireladn 2 years ago for a concert. i was planning to drink some good irish beer. but when i was there i had to realize the whole event was sponsored by budweiser. so no beer :( Feb 16 18:28:48 just water! Feb 16 18:29:13 neongrau: I used to live in Ireland ;) Feb 16 18:29:22 VoodooZ: yep, pretty disappointing Feb 16 18:30:05 NAiL: damn nice country. and even nicer people. no comparison to germany or usa Feb 16 18:30:29 And lots of beer ;) Feb 16 18:30:50 A lot of americans in the boston/washington area cross over the canadian border to come drink in quebec where booze is stronger and the age limit is lower. Feb 16 18:31:23 hehe, just like the germans who visit holland *g* Feb 16 18:31:24 Those crazy canadians! eh! :) Feb 16 18:31:45 * NAiL went to New Brunswick a long time ago Feb 16 18:31:49 that's a nice place Feb 16 18:32:20 afair i have some relatives in canada Feb 16 18:33:04 * eFfeM visited princeton at least 5 or 6 times last year Feb 16 18:33:15 NAiL, NB? do you know Keith's? Feb 16 18:33:18 actually my slug was bought at the walmart in princeton ! Feb 16 18:33:27 hehe Feb 16 18:33:46 too bad they're distant relatives, so i don't really know them. would be cool to go there for holidays Feb 16 18:34:05 I did a motorcycle trip with a buddy to the east-coast (nova scotia) and it was AMAZING! NB was boring but a real race track! Feb 16 18:34:06 Keith's? No, don't think so. Feb 16 18:34:25 It's just a popular beer from nova scotia Feb 16 18:34:29 This was like... back in '94. I can't remember that much :-P Feb 16 18:34:41 damn beer! Feb 16 18:34:57 Nah, back in '94 I was 16 Feb 16 18:35:17 yeah, I wish I knew more poeple abroad. to take advantage of cheap trips to europe. Feb 16 18:35:35 Only thing I remember about beer was this tv-commercial that said "If it's not ice brewed, it's not ice beer". Feb 16 18:35:51 my girlfriend knows a guy in Paris so sometimes he comes here and once she went there. It's a nice way to save money and have a personal guide Feb 16 18:36:03 hehehe. sounds familiar Feb 16 18:36:21 NAiL: do you know "Leffe" Feb 16 18:36:33 Doesn't ring a bell Feb 16 18:36:57 I think somebody was drinking that at the x-mas party. Feb 16 18:36:57 leffe is ok, but personally i prefer westmalle Feb 16 18:37:09 or who was that with the belgian beer? Feb 16 18:37:13 its a "trappist" beer Feb 16 18:37:15 my buddy is a big fan of czek beer Feb 16 18:38:02 i drank leffe the whole night in den haag. really delicious! Feb 16 18:38:51 neongrau, tell us about the next day :-) Feb 16 18:38:57 hehehe Feb 16 18:38:58 but it's damn "heavy" i bet it has more calories then coke Feb 16 18:39:04 yup Feb 16 18:39:13 and no diet variety Feb 16 18:39:16 A good beer to fight a hang-over is bud, because it's like drinking water! :) Feb 16 18:39:44 hmm actually I find it closer to h**rsep*ss Feb 16 18:40:00 VoodooZ's #1 tip of fight a hang-over: 3 eggs, sausage and lots of water! Feb 16 18:40:05 s/ h**rsep*ss/ h*rsep*ss/ Feb 16 18:40:06 lol Feb 16 18:40:06 eFfeM meant: hmm actually I find it closer to h*rsep*ss Feb 16 18:40:09 eggs are proven to help with hang-overs. Feb 16 18:42:01 something completely different: anyone willing to try my rt2x00 bb file to see where the problem is; I think it is obvious but my bb writing knowledge sucks Feb 16 18:42:26 btw. has anyone tried other devices like the slug to run a custom linux on it? Feb 16 18:42:42 make: *** No targets specified and no makefile found. Stop. Feb 16 18:42:56 eFfeM: Does it go into the right dir? Feb 16 18:43:10 because it can't find Makefile when doing make. Feb 16 18:43:13 yes, I added a pwd >~/LOG and it is in the good dir Feb 16 18:43:25 that's why I was wondering if someone would give it a try Feb 16 18:43:35 neongrau: I'm trying to get the Synology DS101 working with 2.6 right now. Feb 16 18:43:36 NAiL, actually it is derived from your zydas bb file Feb 16 18:43:44 heey ;) Feb 16 18:43:55 thought I bought a zydas wifi stick, but it turned out to be a ralink one Feb 16 18:44:13 any experiences with that asus wl-hdd ? Feb 16 18:44:41 There's someone that has /something/ running on it. But I don't know what. Feb 16 18:44:53 I've got a WL500gx, works like a charm :) Feb 16 18:46:12 that wl-hdd looks to cool. smaller than a slug but wlan built in and space to put a 2.5" hdd in it Feb 16 18:47:13 NAiL, interested to give my bb file a spin? it is at http://84.87.135.248/rt2x00.bb Feb 16 18:51:16 eFfeM: Ok, the makefile needs to be hacked Feb 16 18:51:22 you're using the wrong dir too ;) Feb 16 18:51:36 ok, enlighten me.... Feb 16 18:52:10 just found out that I have the wrong dir, but not yet an idea what I need Feb 16 18:52:26 ah, you need to lock the CVS version thingy Feb 16 18:52:36 so it'll only checkout a specific date Feb 16 18:52:39 I'm not too good with cvs Feb 16 18:52:46 no, you don't need to be Feb 16 18:53:06 look in openembedded/conf/distro/, grep for PREFERRED (or DATE, can't remember) Feb 16 18:53:14 Think it might be CVSDATE or something Feb 16 18:54:13 actually maybe I'm better off with the beta3 version from sourceforge Feb 16 18:54:24 might be easier Feb 16 18:54:42 yeah, seems safer Feb 16 18:54:51 Anyway, the Makefile tries to use /lib/modules//build/ Feb 16 18:54:58 That needs to be fixed Feb 16 18:55:05 ok, can do that Feb 16 18:55:19 You can see how I did it in zd1211 :-P Feb 16 18:56:19 03orepvik * 10kernel/2.6.16/ (3 files): Update DS101 patchset. All buttons/leds work Feb 16 18:58:20 gone; back in 30 minutes Feb 16 19:03:40 03orepvik * 10kernel/2.6.16/97-ds101-buttons.patch: Spelling mistake Feb 16 19:05:51 NAiL, are these changesets specific to these machines or? Feb 16 19:06:37 Specific to the DS101, yes. Feb 16 19:06:49 And, afaik, I'm the only one with the ds101 ;) Feb 16 19:06:53 * neongrau just compiled a program directly on the slug for the first time :D Feb 16 19:24:12 back Feb 16 19:31:34 neongrau, congrats Feb 16 19:41:24 now i'm compiling the whole coreutils. im hoping to get "uptime" working :S Feb 16 19:48:24 what do people suggest in terms of PCI wireless card to get for the best linux support? Feb 16 19:48:47 802.11 B is good enough for me as that's all my portable has anyways. Feb 16 19:49:00 the cheaper the better. Feb 16 19:49:08 In that case, I'm satisfied with 3Com Feb 16 19:49:31 model? Feb 16 19:49:50 Can't remember. Don't think they've got many PCI models Feb 16 19:49:55 Any D-link users here? the local shop has mostly Dlink. Feb 16 19:50:19 It's for my firewall/router box so I'd prefer PCI but USB could do too. Feb 16 19:50:41 * NAiL has a D-Link pcmcia card that doesn't work Feb 16 19:50:58 which one? Feb 16 19:51:17 i have 511+ Feb 16 19:52:09 I don't have it with me unfortunately. I didn't bother trying hard to get it to work since I had a spare 3Com G-card lying around Feb 16 19:52:33 ya Feb 16 19:52:59 actually mine is the DWL650+ Feb 16 19:53:18 hmmm... what is the point of this: Feb 16 19:53:21 #ifdef DEEPDEBUG Feb 16 19:53:21 static short __initdata fl_debug = 1; Feb 16 19:53:21 #else Feb 16 19:53:21 static short __initdata fl_debug = 1; Feb 16 19:53:21 #endif Feb 16 19:53:44 Isn't that kinda... *pointless*? Feb 16 20:05:10 think I managed to build the wifi driver. buyt need a suggestion on how to enable it. iwconfig says it is eth1, but ifconfig up eth1 followed by ifconfig does still not list it Feb 16 20:05:20 and with iwconfig I cannot get it associated Feb 16 20:05:33 any suggestions what magic incantation is needed here? Feb 16 20:06:51 what does iwconfig (no params) say? Feb 16 20:07:15 a set of lines for eth0 and ditto for lo Feb 16 20:07:19 no eth1 Feb 16 20:07:28 hmm Feb 16 20:07:36 anything useful in dmesg? Feb 16 20:07:53 nope Feb 16 20:08:34 which dongle is that again? Feb 16 20:09:10 its a sweex, has a ralink chipset, I'm using the rt2x00 driver Feb 16 20:09:23 with 2500usb which should also work for 2570 Feb 16 20:09:31 ok. Feb 16 20:09:32 as far as I've been informed Feb 16 20:09:40 not something available around here I think. Feb 16 20:10:05 it is a fairly standard thingie in a lot of no-name dongles Feb 16 20:10:34 actually their web site told it had the zydas chip and it was also mentioned without type number on the zydas driver website Feb 16 20:11:06 apparently they changed chipsets and bumped the version number but did not update the doc on their web Feb 16 20:11:33 I'm starting to look for a wifi PCI card or USB dongle for my router box as my back is killing me and I'd rather use my "portable" from the couch than my computer desk. Feb 16 20:12:00 I just want something dirt cheap and supported by linux. Feb 16 20:13:10 hey, again tried iwconfig eth1 up and it suddenly is showing up Feb 16 20:13:48 next challenge is to get it associated Feb 16 20:14:37 that's where I'm acomplete noob Feb 16 20:15:19 i've done this before on my laptop with the build-in card, but I am definitely not good at it Feb 16 20:15:22 that's a reason why I haven't been using my portable in a "portable" fashion yet. (Sad). Feb 16 20:15:34 I'm too paranoid about security. Feb 16 20:16:10 I'd need to setup my firewall accordingly and I know WEP is a joke so I'm wondering what else I can do. Feb 16 20:16:22 WPA Feb 16 20:16:31 If I could marry my 2 wifi devices together and block everytthing else that would be perfect. Feb 16 20:16:41 yeah but WPA is not available on my old 802.11B Feb 16 20:16:54 ah, ok Feb 16 20:17:27 I guess I could instruct my firewall to pass only certain ethernet ID. Feb 16 20:27:33 you can do mac filtering, but of course you can also spoof mac addresses Feb 16 20:28:20 yeah. that's what I was afraid of. Feb 16 20:29:00 Perhaps with a combination of WEP, mac filtering and a seperate subnet with firewall would do fine. Feb 16 20:29:30 do you live in a hacker sensitive area? Feb 16 20:29:37 I don't want the wireless lan to have full access to my private wired one. For me wireless is just a convenient way to work/surf from the couch so... Feb 16 20:29:52 my neighbours are all noobs and don't have theknowledge to hack me Feb 16 20:30:03 well, there's no statistics available to prove that! :) Feb 16 20:30:17 still, I'd rather not expose myself. Feb 16 20:30:28 also turn off ssid broadcasting Feb 16 20:30:35 and you could even try to reduce tx power Feb 16 20:30:35 use openvpn and filter out all ports except 1194 Feb 16 20:30:36 lots of script kiddies around the university here. Feb 16 20:30:40 definitely. Feb 16 20:30:58 yeah vpn would definily help Feb 16 20:31:02 yeah. that's the thing I need to read about: VPN Feb 16 20:31:13 NAiL, you recommend openvpn? Feb 16 20:31:28 set up openvpn with certs (easy if you follow the howto), set up the server in bridge mode, and off you go :) Feb 16 20:31:32 never played with it. Feb 16 20:31:51 cool. I'll check it out. thanks for the tips guys. Feb 16 20:31:55 np Feb 16 20:32:07 now I just need to actually pickup a wifi device... which one....hmmm. Feb 16 20:32:33 Are you using an AP, or are you just gonna do ad-hoc? Feb 16 20:33:08 no AP. or at least not with dedicated hardware. I just want to plug it in my firewall linux box. Feb 16 20:33:19 ah, ok Feb 16 20:33:31 which one do u recommend? Feb 16 20:33:37 Can one do AP under linux? Feb 16 20:34:14 with some cards, yes Feb 16 20:34:25 the ZD1211 usb-dongles can do AP for instance ;) Feb 16 20:34:25 which is more secure? Feb 16 20:34:37 which company is that? Feb 16 20:34:56 zydas Feb 16 20:34:58 Zydas. It's a somewhat common chipset. Feb 16 20:35:25 Look at zd1211.ath.cx for the dongles that use it Feb 16 20:35:32 ok... Feb 16 20:35:44 and those are well supported under linux? Feb 16 20:36:02 yup Feb 16 20:36:34 It seems to be working OK now. There has been problems earlier, but it's being actively maintained ;) Feb 16 20:37:39 good. Now I just need to find out what's available in the store around the corner so I can pick one up tonight. (while I'm motivated!) Feb 16 20:38:48 it doesn't look like D-link makes any such dongles though. Feb 16 20:39:44 most of the companies seem to be hard to get in the americas. Feb 16 20:39:58 3Com? :) Feb 16 20:40:16 yah, except for that one. Feb 16 20:40:38 CompUSA wireless dongle? :P Feb 16 20:41:49 perhaps but not something you'd find a local computer shop. Feb 16 20:42:04 I'm on the phone with one right now to find out what they have. Feb 16 20:42:07 probably all d-link Feb 16 20:43:34 nah. they only have D-link DWL-G510 and DWL-G122 (USB) Feb 16 20:43:41 a small shop but it's close. Feb 16 20:48:39 nah! these things use the ndiswrapper so there's no way I'm dealing with that crap. Feb 16 20:49:27 ugh Feb 16 20:49:31 won't work on the slug either Feb 16 20:49:42 yeah. Feb 16 20:50:07 the zydas looks pretty damn complete. They support ARM, 64bits and lots of other features. impressive. Feb 16 20:50:17 I'll check on ebay... Feb 16 20:54:15 both arm and armeb, mind you ;) Feb 16 20:54:40 nice Feb 16 20:54:40 They're cheap too Feb 16 20:54:58 The 3Com dongle I bought was almost the cheapest they had available Feb 16 20:55:41 really? I saw it for 150$ on ebay. that's not cheap. Feb 16 20:55:54 the d-link are 53$CDN. Feb 16 20:56:01 I think I paid Â$50 Feb 16 20:56:28 it makes more sense. Feb 16 20:57:53 my sweex was about eur 20 Feb 16 20:59:24 I'll have to visit my local future shop or bestbuy i guess. Feb 16 21:18:18 gah Feb 16 21:29:30 I just got myself a nslu2 and I'm putting on a 34-pin header on it. My header hangs over the edge of the power connector by about 1mm due to the ribbon cable butting up against C45. Is this ok? I'm concerned that I might not fit it back in the case like this. Feb 16 21:29:50 s/edge of/edge by/ Feb 16 21:29:52 kaenat meant: I just got myself a nslu2 and I'm putting on a 34-pin header on it. My header hangs over the edge by the power connector by about 1mm due to the ribbon cable butting up against C45. Is this ok? I'm concerned that I might not fit it back in the case like this. Feb 16 21:30:34 hmm.. I don't have my slug available to check Feb 16 21:33:30 kaenat: mine fit back in the case - see the pics Feb 16 21:33:50 I think I may have had to shave off the locking bits on the ends of the connector Feb 16 21:34:03 (it's in a box somewhere now, so I would need to check) Feb 16 21:34:22 Ah. Ok. that looks like it would give the needed room Feb 16 22:05:45 rwhitby: Did you use superglue to attach the header to the pcb? Feb 17 00:54:31 kaenat: no, I just let the header move around freely. I was going to glue it, but found I only used the serial port after all. Note that all the other ports are untested (especially the USB port) Feb 17 01:07:45 dwery: I'm reading "Integrating DiskOnChip with Xscale processors". They mention using a CPLD to implement "chopper circuit". Whatever that might be ;) Feb 17 01:08:12 interesting... Feb 17 01:08:16 chopper circuit Feb 17 01:08:21 what google says about it? :) Feb 17 01:09:32 hehe Feb 17 01:20:59 hmm Feb 17 01:21:10 Synology used the TrueFFS source from M-Systems Feb 17 01:22:45 is that helpful? :) Feb 17 01:23:51 not at all Feb 17 01:24:17 that's why the driver in 2.4 and 2.6 is wildÃly different Feb 17 01:24:20 wildly Feb 17 01:25:01 ah, I have to try something Feb 17 01:25:20 Gotta see if I can get the chip id read out in redboot Feb 17 01:27:23 yep.. you shoul dbe able to emulate the whole detection process in redboot Feb 17 01:27:36 According to this, the chip id is 0xe4. Ie, not right Feb 17 01:27:44 IIRC, the highest chip id was 0x41 Feb 17 01:27:59 *DUH' Feb 17 01:28:05 * NAiL missed a zero Feb 17 01:28:46 well, still didn't help much Feb 17 01:28:56 the chip id is "00" :- Feb 17 01:31:23 :-/ Feb 17 01:36:06 NAiL: url to the doc you're reading? Feb 17 01:37:28 It's from m-systems site, hang on Feb 17 01:38:01 http://www.m-sys.com/site/en-US/Support/TechnicalDocumentation/DiskOnChipFamily/?selectedProduct=DiskOnChipMillenniumPlus&selectedType=All Feb 17 01:38:31 It's a bit much info, but there does not appear to be any simple "how to program for the DoC" :-P Feb 17 01:39:19 the boot process explained (finally): Feb 17 01:39:21 1. Upon power-up, the IPL is loaded to the DiskOnChip RAM. The DiskOnChip BUSY signal goes high. Feb 17 01:39:25 2. Feb 17 01:39:27 3. The CPU executes the IPL, which copies the SPL to the system RAM. The SPL completes the system initialization process. Feb 17 01:39:30 4. Feb 17 01:39:33 5. The SPL reads the OS image from DiskOnChip to the system RAM using TrueFFS. The OS image runs from the system RAM. Feb 17 01:39:36 6. Feb 17 01:40:42 The DoC is little-endian btw. And it does care about endianness ;) Feb 17 01:41:23 In the doc I'm reading now, they state this: "Managing Big/Little Endian compatibility is confusing, and beyond the scope of this application note" Feb 17 01:41:43 :-D Feb 17 01:41:49 they didn't know how to do it... Feb 17 01:42:36 hehe Feb 17 01:44:42 so.. 16 bit data bus Feb 17 01:44:47 8K memory window w/ aliasing Feb 17 01:46:03 I'm not sure it's 16bit data bus, but atleast I don't get a kernel panic with that. Feb 17 01:46:35 the appnote says it must be 16bit on the xscale family Feb 17 01:46:43 which package did you got? Feb 17 01:47:31 package? Feb 17 01:47:50 DoC form factor Feb 17 01:48:37 oh, eh, it looks like an intel flash chip, ie, it's not a bga Feb 17 01:48:56 same amount of pins (can't remember the number right now) Feb 17 01:49:12 * dwery understood the chopper circuit :) Feb 17 01:49:17 do you have a scope? Feb 17 01:49:46 no Feb 17 01:49:50 Why? Feb 17 01:50:33 just to to check that CS0 goes off when you access the 0x5.. address space Feb 17 01:50:40 (which may not be configured in redboot) Feb 17 01:51:13 It should be Feb 17 01:51:56 ie, at reset, the 0x5... address space lies at 0x0. RedBoot switches one bit somewhere on the ixp that switches it to 0x500... and the sdram to 0x0 Feb 17 01:52:24 I'm sure that this happens, atleast :) Feb 17 01:52:34 very probable ;) Feb 17 01:52:48 do you have redboot sources? Feb 17 01:53:03 no, sorry Feb 17 01:53:19 But atleast now I understand how the boot process works :) Feb 17 01:53:50 so the doc shoul dbe simply there, at 0x5.. Feb 17 01:54:02 Yeah, I've more or less confirmed that Feb 17 01:54:16 Ie, in RedBoot, I can actually read a bit of the flash Feb 17 01:54:29 I see the BDER partition signature of the RedBoot partition Feb 17 01:54:38 (reversed) Feb 17 01:55:56 good. Feb 17 01:56:12 but you can't access any of the DoC registers, right? Feb 17 01:56:18 It would appear not Feb 17 01:56:41 Since trying the initialization sequence does not give me the chip id from the ChipID register Feb 17 01:56:57 care to write the init seq? Feb 17 01:57:41 hmm, closed that window Feb 17 01:57:44 2 sec Feb 17 01:58:45 write 0x1D to 1006, 0xE2 to 1076, then read 0x1000 for the ID Feb 17 01:58:55 It is supposed to be 0x40 or 0x41. Feb 17 01:59:30 Of course, if it is in deep reset mode (which it shouldn't be, since I can read parts of flash), I'll have to tinker around more... Feb 17 02:00:47 It might be that it is a timing issue though... Feb 17 02:01:04 ie, that I have a very limited time to do this Feb 17 02:01:20 how do you do that in redboot? Feb 17 02:01:58 mfill -b 0x50001006 -l 1 -p 0x1D Feb 17 02:03:08 hmm Feb 17 02:03:22 once detected, will reading the chipid register always report the id or is only part of the initialization procedure? I'm asking because I think that given the the DoC has already been enabled, that register should be active. Feb 17 02:04:03 The specs doesn't say Feb 17 02:04:15 Reading the Data Sheet now, bit more useful info there Feb 17 02:04:21 This register is used to identify the device residing on the host platform. For DiskOnChip Feb 17 02:04:24 Millennium Plus 32/64MB, this register always returns 40H when read. For DiskOnChip Feb 17 02:04:25 also, the linux driver seems to try detection in another way Feb 17 02:04:27 Millennium Plus 16MB, it returns 41H. Feb 17 02:04:35 good. Feb 17 02:05:50 hmm.. Feb 17 02:06:11 It would appear that the chip is set in Asynch boot mode by the IXP Feb 17 02:09:37 Although DiskOnChip Millennium Plus 16MB uses 8-bit access to the internal flash, it can be connected to a Feb 17 02:09:40 16-bit bus. The TrueFFS driver handles all the issues regarding routing data to and from DiskOnChip Feb 17 02:09:43 Millennium Plus. The Programmable Boot Block is accessed as a true 16- bit device. It responds with the Feb 17 02:09:46 appropriate data when the CPU issues either an 8-bit or 16-bit read cycle. Feb 17 02:10:08 I don't know if the TrueFFS functionality is in the DoC driver in 2.6... Might try 8bit instead... Feb 17 02:11:16 you can check how the traces on the pcb Feb 17 02:11:23 did you read about XIP? Feb 17 02:11:35 Execute in place, the bootloader? Feb 17 02:12:01 the one that pushes RedBoot to sdram and makes it run? Feb 17 02:12:25 yes Feb 17 02:12:44 a little bit. Why? Feb 17 02:13:18 on boot, the download engine will read some code and put it in the programmable boot block, right? Feb 17 02:13:18 hmm... the Data Sheet has example code to identify a DoC MPlus 32MB Feb 17 02:14:15 I'll have to look that up again ;) Feb 17 02:14:33 but, I've got some code that might be useful Feb 17 02:15:07 good. Feb 17 02:15:23 basically, during boot, the cpu is executing code from the device itself Feb 17 02:15:59 that code will eventually load a secondary boot loader Feb 17 02:16:05 and jump to it in ram Feb 17 02:16:25 if it's not hardware protected, you might be able to retrieve this piece of code from the DoC Feb 17 02:16:52 aha Feb 17 02:18:40 btw, I tried a more extensive detect... Read three times from ..1fff, write 0x1c to ..1006, write 0xe3 to ..1076, write 0x1d to 1006, write 0xe2 to 1076, read 1006, then read 1000. That should've returned 0x40. It returned 0x00 again. Feb 17 02:19:08 how do you read out the redboot partition signature? Feb 17 02:20:06 dump -b 0x50000000 -l 4096 Feb 17 02:20:15 50000380: 10 00 10 24 C4 00 00 20 42 44 45 52 00 00 00 00 |...$... BDER....| Feb 17 02:20:39 It's again at 0x50003800 IIRC Feb 17 02:21:42 If the xip code is readable, this is the first two lines: Feb 17 02:21:43 50000000: E3 A0 00 F8 EE 01 0F 10 EE 12 0F 10 E1 A0 00 00 |................| Feb 17 02:21:46 50000010: E2 4F F0 04 EE 07 0F 17 EE 12 0F 10 E1 A0 00 00 |.O..............| Feb 17 02:22:06 isn't 380 in the IPL area? Feb 17 02:22:17 ah, that might be tru Feb 17 02:22:38 so it can correctly identify the partition, mayb Feb 17 02:22:49 argh, my "e" key has stuff beneath it Feb 17 02:23:06 I think those are arm opcodes Feb 17 02:23:50 try reading at 800 Feb 17 02:24:12 50000800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| Feb 17 02:24:48 good Feb 17 02:24:57 now at 1000 Feb 17 02:25:16 50001000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| Feb 17 02:25:29 good Feb 17 02:25:33 now at 7EA Feb 17 02:25:53 500007EA: 07 EB 07 ED 07 EF 07 F1 07 F3 07 F5 07 F7 07 F9 |................| Feb 17 02:26:06 3e9 Feb 17 02:26:27 500003E9: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| Feb 17 02:26:38 1800? Feb 17 02:26:51 50001800: 18 01 18 03 18 05 18 07 18 09 18 0B 18 0D 18 0F |................| Feb 17 02:27:00 mmm Feb 17 02:27:15 i'd say it is in reset mode Feb 17 02:27:51 hmm Feb 17 02:28:02 I've tried getting it out of reset mode a few times though :-P Feb 17 02:28:54 According to the data sheet, writing 0x1d/0xe2 to 1006/1076 will bring it out of reset mode Feb 17 02:29:40 Then, reading from 1000 should produce something that is *not* 0 Feb 17 02:30:03 oh, nm Feb 17 02:30:04 no Feb 17 02:30:09 it *should* be 00 Feb 17 02:30:23 but reading from 0x1000 again should produce the id Feb 17 02:31:15 unfortunately, both times it produces 00 Feb 17 02:32:42 Appendix a on the data sheet shows the code I'm looking at. Feb 17 02:32:52 ack Feb 17 02:33:13 I see 1c Feb 17 02:33:30 yeah, first 1c/e3, then 1d/e2 Feb 17 02:33:39 but you already replicated the sequence Feb 17 02:33:41 the second takes it from reset to normal Feb 17 02:33:51 yeah... Feb 17 02:36:37 did you tried using 16 bit wide accesses? Feb 17 02:36:49 how? :) Feb 17 02:37:42 mm.. dunno how redboot implements that Feb 17 02:37:46 another thing.. Feb 17 02:37:53 the DoC is little endian Feb 17 02:37:59 RB is BE Feb 17 02:38:49 i'm not sure it will work... Feb 17 02:38:55 try writing at x+1 Feb 17 02:39:07 (just trying a blind shot..) Feb 17 02:40:03 nope :( Feb 17 02:41:35 ok.. i'd try to download the whole IPL area and search for 1d and e2 Feb 17 02:41:46 I have dumps of the first 16kb before and after I've run "msys_run" (which loads the first partition to ram. Feb 17 02:42:11 an arm opcode is 32bit Feb 17 02:42:21 that 1d and e2 will probably be located in the last 8 Feb 17 02:43:07 this line is the only one containing both: Feb 17 02:43:07 050001D0: E3 81 1B 03 E2 83 29 01 E1 51 00 09 23 81 10 0C |......)..Q..#...| Feb 17 02:43:18 But that doesn't make much sense :( Feb 17 02:43:25 ie, 1D is in the offse Feb 17 02:44:01 :) Feb 17 02:45:15 mmm Feb 17 02:47:39 arrgh Feb 17 02:47:44 vince cracshed Feb 17 02:49:44 hmm Feb 17 02:49:44 ...........................................................................read data error at 1172c000, error code = 25 Feb 17 02:50:20 the only option left is to search for any value that has bits 1:0 set to 01 and followed in a later instruction by its complement.. Feb 17 02:50:45 may you paste th whole dump, 0-3ff ? Feb 17 02:52:25 http://pastebin.com/558915 Feb 17 02:55:46 I have one from after I've run msys_run... There the BDER signature shows up at 380. Want that too? Feb 17 02:56:17 yes please Feb 17 02:56:24 i'm not sure why there's something at 400 Feb 17 02:56:45 http://pastebin.com/558920 Feb 17 02:59:11 nor why the content changes before and after msys_run Feb 17 03:03:33 well.. Feb 17 03:04:01 there's nothing I can see in that code that leads to me to think it's working with the DoC Feb 17 03:04:14 hmm Feb 17 03:04:46 This would be so much easier if the driver in the 2.4-kernel could be used in 2.6 kernel instead :-P Feb 17 03:05:21 :-D Feb 17 03:05:30 maybe ann arm disabbembler would help Feb 17 03:05:37 s/bb/ss/ Feb 17 03:05:37 dwery meant: maybe ann arm disassembler would help Feb 17 03:05:48 thanks jbot Feb 17 03:06:00 but I was faster :-D Feb 17 03:06:08 it's nice to have those bots... Feb 17 03:06:19 uhm, it used your sed command to fix Feb 17 03:06:24 s/fix/xif/ Feb 17 03:06:26 NAiL meant: uhm, it used your sed command to xif Feb 17 03:06:47 oh! I thought it used dict :-D Feb 17 03:10:11 well.. I think I'm going to bed unless you have some revolutionary theory and jbot doesn't complain :) Feb 17 03:11:11 nah, kinda running out of ideas. I guess it's time to go back to look at the darn 2.4-kernel and see what the heck kinda magic it does that differs from the 2.6 kernel Feb 17 03:12:38 how many hours do you sleep per night? Feb 17 03:12:46 sleep? ;) Feb 17 03:13:06 I can't sleep now. Busy trying to get this bugger to work ;) Feb 17 03:13:16 ! Feb 17 03:14:06 see you tomorrow... Feb 17 03:14:10 good night Feb 17 03:14:22 it's basically the only thing left Feb 17 03:14:35 (network isn't up, but I think that is a minor issue) Feb 17 05:51:15 03bzhou * 10unslung/ (make/git-core.mk sources/git-core/Makefile.patch): upstream upgrade to 1.2.0 **** ENDING LOGGING AT Fri Feb 17 10:59:56 2006