**** BEGIN LOGGING AT Tue Feb 02 02:59:58 2010 Feb 02 03:44:32 nbd: generated using the config I showed? I'd have to reconfigure the router and kick off my clients for that. Feb 02 03:44:41 wait Feb 02 03:44:49 what driver are you using? Feb 02 03:45:08 the broadcom one? Feb 02 03:45:09 I dunno Feb 02 03:45:12 whatever comes with 2.6 Feb 02 03:45:13 ah Feb 02 03:45:17 there lies the problem Feb 02 03:45:32 how do I tell what driver I'm using? Feb 02 03:45:33 b43 does not support multi-bssid Feb 02 03:45:51 so you can only configure one interface Feb 02 03:46:00 I do have b43 loaded Feb 02 03:46:02 i fixed the segfault in svn now Feb 02 03:46:09 ok, I see Feb 02 03:46:11 but you won't be able to use multiple interfaces anyway Feb 02 03:46:12 well, that sucks Feb 02 03:46:23 because the proprietary driver can support it Feb 02 03:46:56 it's probably not that much work to add it to b43 for somebody that knows the hardware Feb 02 03:47:04 is that in the roadmap? Feb 02 03:47:08 no idea Feb 02 03:47:23 i'm mainly working on ath9k these days Feb 02 03:47:29 oh Feb 02 03:47:47 and that ones does support multi-bssid Feb 02 03:47:53 yeah Feb 02 03:48:02 but it also requires a whole new device which costs money :) Feb 02 03:48:05 yeah Feb 02 03:48:13 but there are some faily cheap devices out there Feb 02 03:48:16 that can run openwrt with ath9k Feb 02 03:48:38 I'd rather just setup a full blow PC for routing after problems with openwrt Feb 02 03:48:44 lack of space is really annoying Feb 02 03:48:52 what kind of problmes? Feb 02 03:49:02 not enough space for ssl libraries... Feb 02 03:49:14 oh, well you could get a device with 8M flash Feb 02 03:49:15 plus constant breakage in versions Feb 02 03:49:22 constant breakage in versions? Feb 02 03:49:28 yeah Feb 02 03:49:40 what do you mean? Feb 02 03:49:53 in the past month, I've wasted hours upon hours fixing problems Feb 02 03:50:17 basically, what I mean is that the new releases fix some things while breaking others Feb 02 03:50:19 we're getting closer to releasing the next rable version Feb 02 03:50:24 s/rable/stable/ Feb 02 03:50:31 my typing sucks today Feb 02 03:50:35 np Feb 02 03:51:02 I had to figure out how to build my own firmware to fix most of the problems Feb 02 03:51:27 and if you think about it, that's quite too much for managing a personal network Feb 02 03:51:54 well, the next stable version isn't far away now Feb 02 03:52:00 yeah Feb 02 03:52:03 and it'll take core of most of the common issues Feb 02 03:52:05 there's always the next version :) Feb 02 03:52:19 well, there's a big difference between what we have now and the last stable release Feb 02 03:52:27 that's what they all say to keep you addicted :) Feb 02 03:52:48 the biggest difference is that mac80211 drivers are finally stabilizing Feb 02 03:52:55 but it's also very true in this case Feb 02 03:52:55 especially for 11n atheros stuff Feb 02 03:53:11 so we finally have a common infrastructure to support a lot of wifi hardware well Feb 02 03:53:32 that just wasn't there for the last stable release Feb 02 03:53:45 so there is a lot more to it than just having 'the next version' Feb 02 03:54:06 right, you may very well be correct in saying that Feb 02 03:54:22 but the fact is that I almost became an openwrt developer just so I can have a nicely running network Feb 02 03:54:49 I'm not blaming you or anyone in particular either Feb 02 03:55:19 well, obviously i can't really respond to that, since i don't know which issues you had with which version Feb 02 03:55:22 this is quite a common occurance for free/opensource probjects Feb 02 03:55:35 but i am pretty confident that we're close to having something that just works for most common use cases Feb 02 03:55:50 although maybe not as well on some kinds of hardware Feb 02 03:56:01 heh Feb 02 03:56:07 yeah, that's another thing Feb 02 03:56:24 by the time openwrt becomes stable, my hardware (wrt54gl) becomes obsolete and uncared for by the developers Feb 02 03:56:26 there is less motivation to work on the broadcom stuff than, say, atheros Feb 02 03:56:48 but that's mainly because of the lack of support from broadcom Feb 02 03:57:02 there's always a reason :) Feb 02 03:57:24 there's always a true, but meaningless statement ;) Feb 02 03:57:44 oh well Feb 02 03:57:48 I don't want to waste your time Feb 02 03:57:50 good night Feb 02 03:57:52 good night Feb 02 08:26:21 Any idea what might have broken in the usb stack in the past few days? Feb 02 11:11:27 hehe ;) Feb 02 11:26:56 kaloz * r19497 /trunk/package/kernel/modules/ (netsupport.mk other.mk): add kernel packages for the ixp4xx-beeper and appletalk -- closes #6618 Feb 02 11:38:43 mh, can i somehow make the kernel reset the system on panics? Feb 02 11:40:15 concerning the mini_fo filesystem Feb 02 11:40:41 if i delete a big file already present in the image, should some space free up? Feb 02 11:41:22 only if you duplicated, maybe with changes Feb 02 11:41:34 not if it's the original file Feb 02 11:46:22 i see Feb 02 11:46:45 and how can i see what's filling up my space ? Feb 02 11:47:24 root@OpenWrt:/jffs# du -h . | grep M Feb 02 11:47:27 ^___^ Feb 02 12:07:23 marek * r19498 /packages/net/batman-advanced/files/etc/init.d/batman-adv-kernelland: batman-adv: handle multiple configured interfaces Feb 02 14:41:33 <[Fate]> is there some standard way to define a second source archive for a package? Feb 02 14:49:46 a second source archive? Feb 02 14:51:20 <[Fate]> yes, a second .tar.gz I need to pick up files from Feb 02 15:34:06 nope Feb 02 15:53:32 jow * r19499 /packages/net/rtorrent/ (3 files in 2 dirs): [packages] rtorrent: update to r1123 (#6624) Feb 02 15:55:21 jow * r19500 /packages/libs/libtorrent/ (5 files in 2 dirs): [packages] libtorrent: update to r1123 (#6624) Feb 02 15:56:48 jow_laptop: I guess sav qualifies as maintainer for those packages, no? Feb 02 15:57:11 loswillios: exactly my thoughts, but haven't figured out how to contact him Feb 02 15:58:02 do you know whether he's in irc? Feb 02 15:58:30 no, I don't. Feb 02 15:58:56 replying to the ticket could be worth a try Feb 02 16:01:59 did that Feb 02 16:02:24 cool Feb 02 17:13:58 anyone know if there is a problem with arptables? I seem to get 'accept' instead of 'return' after processing a user defined chain Feb 02 17:15:10 I also tried an explicit return rule, didn't help Feb 02 18:49:56 Hello. Any idea what might have happened to the USB subsystem on ar71xx architecture in the past few days? I am testing a Huawei E1752 HSPA modem and after usb_modeswitch (that is supposed to switch from CD-ROM mode to modem mode) /dev/ttyUSB0 fails to show up. Feb 02 18:50:42 Creating it by hand does not work either. At the same time usb_modeswitch reports success (and indeed detaches the storage driver). Feb 02 18:51:47 Interesting log entry: OpenWrt user.warn kernel: usb 1-1: usbfs: process 1326 (usb_modeswitch) did not claim interface 0 before use Feb 02 18:53:02 This used to work, though I am not sure with which revision (I did not expect it to break, so I haven't paid attention to the old version when re-flashing -- my fault) Feb 02 18:58:48 Another, tangentially related question is whether or not it is planned to support udev in addition to hotplug2? Feb 02 18:59:33 Guest25031: did you load usbserial with vendor and product id params? Otherwise it will not claim the usb device after mode switch Feb 02 19:02:46 No. Feb 02 19:03:01 usbserial was actually already loaded, I believe. Feb 02 19:03:21 then edit /etc/modules.d/*-usbserial and add the params there Feb 02 19:05:58 What exactly are the implications of usbserial not claiming the device? Feb 02 19:06:37 no ttyUSB0 is created :) Feb 02 19:08:05 Isn't there some hot-pluggable way of doing this? Feb 02 19:08:19 none that I am aware of Feb 02 19:08:56 well it is hot-pluggable once usbserial is loaded with the current vendor/device ids Feb 02 19:09:10 s/current/correct/ Feb 02 19:10:34 Right, but the vendor/device ids are known to the kernel upon plugging in the device (they get logged). Isn't it possible to load usbserial with the correct parameters on the fly? Feb 02 19:10:48 How does it work in "big" linux? Feb 02 19:11:00 the ids usually change after modeswitch Feb 02 19:11:35 and big linux ships with big fat quirk tables to handle every different braindead way of circumenting the fake mass storage Feb 02 19:12:02 if at all Feb 02 19:12:22 just search for ubuntu + usb_modeswitch Feb 02 19:13:19 it usually boils down to some hand crafted solution Feb 02 19:22:31 Let's see... Feb 02 19:32:27 No bananas. :-( Feb 02 19:32:53 Actually, I believe that usb_modeswitch does not fully succeed. Feb 02 19:39:53 Yepp. That's the problem. Feb 02 19:40:26 On my desktop machine, after running usb_modeswitch, the usb product id changes to 0x1001 Feb 02 19:40:56 It used to do that last week on the router as well, but something changed. Feb 02 19:41:22 https://dev.openwrt.org/changeset/19354 Feb 02 19:41:55 On my desktop machine, I use 0.9.4 Feb 02 19:44:44 I'll roll back this change and try again. I suspect that switching to the new version of usb_modeswitch is the root of the problem. Feb 02 20:05:20 Ouch! The old version has been removed from the upstream archive. Feb 02 20:50:11 Nope, downgrade to 1.0.7 doesn't make it work either. Feb 02 21:16:55 I tried usb_modeswitch v 1.1.0 on my PC and it also works. So something else must have changed. Feb 02 21:23:04 Any ideas what might affect the operation of usb_modeswitch? Feb 02 21:23:47 The same version works on the PC and does not work on the router. Also, it worked a few days ago on the router, though that was an earlier build. Feb 02 21:24:19 Guest25031: there are verbose options for usb_modeswitch Feb 02 21:24:21 did you try those? Feb 02 21:35:32 Yes, of course. Feb 02 21:35:48 The output is essentially identical. Feb 02 21:36:06 Guest25031: could you show it to me? Feb 02 21:36:10 Guest25031: and dmesg? Feb 02 21:36:38 Of course. Feb 02 21:36:46 PC first: Feb 02 21:38:40 Reading config file: /etc/usb-modeswitch.conf Feb 02 21:38:40 * usb-modeswitch: handle USB devices with multiple modes Feb 02 21:38:40 * Version 1.1.0 (C) Josua Dietze 2010 Feb 02 21:38:40 * Based on libusb 0.1.12 Feb 02 21:38:40 ! PLEASE REPORT NEW CONFIGURATIONS ! Feb 02 21:39:20 :/ Feb 02 21:39:42 please use pastebin or something Feb 02 21:39:43 Where did it cut me off? Feb 02 21:41:14 How does pastebin work? Feb 02 21:42:10 openwrt.pastebin.com Feb 02 21:42:21 ping rtz Feb 02 21:42:41 hello cshore Feb 02 21:43:05 sorry, didn't have much time yesteray, had to work on a presentation for physics Feb 02 21:43:17 not a problem Feb 02 21:43:23 but I really hope to get it running in a few h Feb 02 21:45:17 rtz: Today I'm bouncing back between working on some stuff that's for our ODM's firmware and OpenWRT Feb 02 21:45:33 Done. Feb 02 21:45:51 Guest53135: I will need the links to your posts ;) Feb 02 21:45:57 both are output from a usb_modeswitch -W command using the same configuration (listed above). Feb 02 21:46:05 http://openwrt.pastebin.com/m70754a79 Feb 02 21:46:14 rtz: making sure the routers that go out today can be upgraded tomorrow Feb 02 21:46:32 to OpenWRT (when we make the switch) Feb 02 21:48:06 Guest53135: and the dmesg output? Feb 02 21:49:18 one sec Feb 02 21:56:02 It's there now. From the PC, I pasted only the relevant part, from the router the entire output. Feb 02 21:57:22 hello guys, Where I can read about $(INSTALL_DIR) $(INSTALL_DATA) $(INSTALL_BIN), is there any wiki or i need look any script to see how they work? Feb 02 21:57:59 INSTALL_DIR creates a directory, INSTALL_DATA and INSTALL_BIN use install to copy files Feb 02 21:58:01 Guest53135: I need the link a gain Feb 02 21:58:10 the difference being that INSTALL_BIN sets executable permissions Feb 02 22:01:06 hello and thanks ndb, if I have many directories and file I need do one INSTALL_DIR and INSTALL_DATA for each one? or only for top directory? Feb 02 22:02:08 http://openwrt.pastebin.com/m4009f366 Feb 02 22:08:06 Guest53135: sorry, I don't have much of an idea Feb 02 22:08:26 Guest53135: you could try the different options for usb-modeswitch Feb 02 22:08:41 Guest53135: or check if you pc has some additinal patches for it Feb 02 22:11:22 No, it's exactly the same stuff compiled from the same source. Feb 02 22:12:08 Vanilla upstream tarball, no patches. Feb 02 22:12:42 The configuration file for usb_modeswitch was also identical. Feb 02 22:12:44 maybe check the svn logs on OpenWRT to see if there have been changed to the usb stack? Feb 02 22:12:56 Guest53135: different kernel? Feb 02 22:15:06 Yes, the kernel is different. Feb 02 22:15:15 which versions? Feb 02 22:16:38 router: Linux version 2.6.32.7 Feb 02 22:17:06 pc: Linux version 2.6.27-16 Feb 02 22:19:01 :/ Feb 02 22:19:34 Guest53135: you could open a bug report for usb_modeswitch on thier bugtracker Feb 02 22:19:58 Guest53135: or you could try to debug this yourself, but this will be rather difficult Feb 02 22:20:08 It's not a usb_modeswitch bug, I think. Feb 02 22:20:59 Guest53135: maybe not, but those guys are the most likely one to figure it out Feb 02 22:21:02 Here's one thing that I have just discovered: even though /dev/sda appears when the device is plugged in, it cannot be mounted as a cdrom even though it should be possible. Feb 02 22:21:16 And that is before usb_modeswitch is even started. Feb 02 22:22:30 I think, I am missing the entire scsi subsystem and that might be THE problem. Feb 02 22:22:31 what about /dev/scd0 Feb 02 22:23:00 That might be the difference from last week's build. Feb 02 22:24:06 Guest53135: did the kernel change in the meantime? Feb 02 22:24:44 Guest53135: a new version I mean Feb 02 22:24:52 No, but the configuration has. Which is, of course, my fault. Feb 02 22:25:35 Guest53135: you could start over Feb 02 22:25:40 Among block devices, I do have kmod-scsi-core, though. Feb 02 22:25:53 Guest53135: if the problem is still there, try to bisect it Feb 02 22:26:05 Guest53135: it's timeconsuming but your best chance Feb 02 22:26:26 I know. Feb 02 22:26:48 Where the scsi cd-rom driver is supposed to be? Feb 02 22:29:52 OpenWrt user.notice kernel: sd 23:0:0:0: [sda] Attached SCSI removable disk Feb 02 22:29:52 but then Feb 02 22:29:52 root@OpenWrt:~# mount -t isofs /dev/sda /mnt Feb 02 22:29:52 mount: mounting /dev/sda on /mnt failed: No such device Feb 02 22:30:54 Guest53135: maybe it's named differently? Feb 02 22:31:24 There appeared a device named /dev/sda Feb 02 22:31:33 isn't it /dev/scd0? Feb 02 22:31:49 No. Feb 02 22:32:04 do you have the scsi-cdrom driver installed? Feb 02 22:32:34 I think, I don't, because I cannot find it. Where is it in the configuration? Feb 02 22:33:57 oh, I lied, it's not used anymore Feb 02 22:34:32 When I plug in the device, two nodes appear under /dev: 1-1 and sda Feb 02 22:34:58 BTW, what is 1-1? Feb 02 22:35:31 is there /dev/sr0? Feb 02 22:36:04 I think 1-1 is the usb device node Feb 02 22:36:21 bus 1-port 1 or some such Feb 02 22:36:27 No /dev/sr0 Feb 02 22:36:32 hmm.... Feb 02 22:37:16 I'm not sure what is supposed to create the device node, but there is a device major 11, minor 0, for my desktop cd drive Feb 02 22:40:13 maybe the device isn't being detected as the right type (e.g. mass storage instead of cd?) not sure how usb cd drives work that way Feb 02 22:44:13 hi Feb 02 22:44:28 where should i mail patches? Feb 02 22:47:32 see https://dev.openwrt.org/wiki/SubmittingPatches Feb 02 22:48:18 openwrt-devel@, thanks Feb 02 22:51:18 cshore: as you can see from the output, in both cases it is the usb-storage driver that gets detached. Feb 02 22:51:54 But again, one problem is that the virtual cdrom is not accessible before being detached. Feb 02 22:52:08 On the pc, I have no problems mounting it as a cdrom. Feb 02 22:53:30 Hmmm....what is SD Storage? Feb 02 22:53:39 what kernel versions? Feb 02 22:53:56 nv I see from before Feb 02 22:54:23 what patches on the desktop vs OpenWRT? Feb 02 22:54:55 Do you have two devices (an mass storage and CD-ROM)? Feb 02 22:55:04 Guest53135: bisect it, it will be faster then messing around blindly Feb 02 22:55:07 trust me on this Feb 02 22:56:03 Guest53135: if it worked before I got with rtz Feb 02 22:56:10 go with Feb 02 22:57:36 I can check out older versions of openwrt trunk, but how do I compel it to checking out older versions of packages? Feb 02 22:58:11 use svn://svn.openwrt.org/openwrt/packages Feb 02 22:58:23 and use a src-link in your feeds.conf Feb 02 23:00:22 Currently, I have src-svn svn://svn.openwrt.org/openwrt/packages in my feeds.conf.default. Would running ./scripts/feeds update check out an older version? Feb 02 23:00:33 no Feb 02 23:00:44 Guest53135: the main packages are in a subdir of trunk and the additional packages shouldn'T matter Feb 02 23:00:58 Guest53135: you could even try to uninstall the feeds Feb 02 23:01:15 Well, usb_modeswitch is an additional package to begin with. Feb 02 23:01:56 Guest53135: you need to check out svn://svn.openwrt.org/openwrt/packages Feb 02 23:02:14 and add Feb 02 23:02:14 src-link packages /path/to/packages/svn Feb 02 23:02:18 to feeds.conf Feb 02 23:02:27 Oh, I see. Thanks. Feb 02 23:02:27 copied from feeds.conf.default Feb 02 23:03:13 Guest53135: don't forget to comment out the packages you aren't using Feb 02 23:03:13 why the heck takes execv char *const argv[] as an argument and not const char *const argv[]? Feb 02 23:09:21 It's a secret signal from an alien terrorist from the centre of the galaxy Feb 02 23:12:28 if this fucks up my memory managment, I will do some ugly things to them Feb 02 23:13:11 you'd be happy if was only your memory management.... :-P Feb 02 23:14:18 Is hotplug2 a proper replacement for udev in these circumstances? Feb 02 23:15:40 Guest53135: no reason it shouldn't be...from dmesg the problem is the sr0 device isn't detected, not that hotplug is failing to do something with a detected sr0 Feb 02 23:26:25 compiling r19355 (I believe, that was about the one that worked) Feb 03 00:09:03 hi Feb 03 00:09:06 ping thepeople Feb 03 00:09:29 ping nbd Feb 03 00:10:10 pong Feb 03 00:10:49 nbd i read about individual packages that can be maintained by thepeople on the mailing list .. are still people accepted? Feb 03 00:10:55 yes Feb 03 00:11:00 i wanna have some Feb 03 00:11:08 just wrote a mail Feb 03 00:11:11 ok Feb 03 00:11:37 openssl, ctorrent, irssi, openssh would be nice Feb 03 00:11:47 should be no problem, except for openssl, i thin we're not currently accepting package maintainers for trunk Feb 03 00:12:04 i think a change to get busybox isnt available Feb 03 00:12:09 chance Feb 03 00:20:51 nbd do u know when thepeople is normally around? Feb 03 00:21:10 no Feb 03 00:21:26 nbd and did u have time to look at the kernel oops on brcm47xx? Feb 03 00:21:45 some advice would be nice .. then i could maybe fix it on my own Feb 03 00:22:04 no, didn't have time Feb 03 00:22:43 maybe its only a ocf error - then i should maybe ask on the mailing list .. but i dont know if its introduced by some patches Feb 03 00:27:18 puchu: did it work some time ago? Feb 03 00:27:49 rtz2 what worked? Feb 03 00:28:02 puchu: without oops Feb 03 00:28:25 rtz2: yeah it works right now when i insert the module befor hotplug2 is restart in /ettc/init.d/boot Feb 03 00:28:41 this error is weired Feb 03 00:28:55 puchu: do you have some additional informations I could look at? Feb 03 00:29:04 i send a mail to the mailing list Feb 03 00:29:06 some mails Feb 03 00:29:24 brcm 47xx 2.6.32 update patch Feb 03 00:29:35 im on 2.6.32.7 right now Feb 03 00:30:45 puchu: what subject? Feb 03 00:30:54 "brcm 47xx 2.6.32 update patch" Feb 03 00:31:32 the last one includes "all" Feb 03 00:32:43 rtz2 on the mailing list no one ever answered to help me on this problem Feb 03 00:37:13 rtz2 are u looking at it? Feb 03 00:37:18 puchu: yes Feb 03 00:37:31 weired aint it? Feb 03 00:37:59 and it only happens when i pivot root to the usb disk Feb 03 00:38:05 @rtz2 Feb 03 00:42:09 rtz2: i found the error Feb 03 00:42:14 its not a kernel bug Feb 03 00:42:22 its a bug on my own Feb 03 00:42:37 a "script" of mine was causing this Feb 03 00:42:51 nbd u can update brcm47xx to 2.6.32.7 Feb 03 00:42:53 its stable Feb 03 00:43:03 jupi ... Feb 03 00:43:12 nbd * r19501 /trunk/package/mac80211/ (14 files in 2 dirs): mac80211: update to latest wireless-testing from today Feb 03 00:43:16 later... working on wifi stuff at the moment Feb 03 00:43:21 okay Feb 03 00:43:32 rtz2: did u read this? Feb 03 00:43:38 yes Feb 03 00:43:41 ok, then Feb 03 00:43:51 a arch update on my own without a serial console :) Feb 03 00:52:27 nbd whatfor is devtmpfs needed? Feb 03 00:52:34 is it doing anything by now? Feb 03 00:52:43 when i umount it befor i insert the modules Feb 03 00:52:47 the error accures Feb 03 00:52:59 altough there is a devfs in /dev Feb 03 00:54:36 rtz2 do u know this? Feb 03 00:55:50 seems that hotplug2 is messing around when its not there any more Feb 03 00:57:23 puchu: it isn't used or needed at the moment Feb 03 00:57:37 puchu: it should get unmounted pretty early Feb 03 00:57:47 i tried this but this doesnt work Feb 03 00:57:56 the system is unbootable when i do this in preinit Feb 03 00:58:06 puchu: when exactly did you do it? Feb 03 00:58:07 i also wanted to use it instead of devfs Feb 03 00:58:14 in 20_device_fs_mount Feb 03 00:58:23 befor /dev is created Feb 03 00:58:35 and some time later also at different points Feb 03 00:58:44 always the same - system is unabootable Feb 03 00:58:54 maybe it should be used when its there Feb 03 00:59:02 nbd ment thats no good idea Feb 03 00:59:51 puchu: where exactly? Feb 03 01:00:00 rtz it should be used? Feb 03 01:00:10 20_device_fs_mount Feb 03 01:00:19 puchu: line number? Feb 03 01:00:39 "use devtmpfs if available and dont let it be unused" Feb 03 01:00:43 this mail Feb 03 01:00:48 it works Feb 03 01:01:32 I can understand, why nbd doesn't want to use it Feb 03 01:01:51 i also dont know .. he ment the device names maybe get fucked up Feb 03 01:01:52 puchu: could cause subtle breakage later on due to the fact that it create device nodes that may have the wrong name and/or permissions Feb 03 01:02:13 so it should be removed when its not used Feb 03 01:02:14 puchu: it's very simplistic Feb 03 01:02:33 hotplug2 seems to mess around with it Feb 03 01:02:38 or used Feb 03 01:02:51 I think it should be disabled in the kernel config Feb 03 01:03:11 i agree Feb 03 01:03:29 we've been doing fine without it for a long time now Feb 03 01:03:32 I has some pros, but somebody would have to spend some time and work out all the kinks and problems Feb 03 01:03:39 and in the end, it may not worth it Feb 03 01:03:44 here it works without problem Feb 03 01:03:55 but maybe in some pioint in time it could introduce porblems Feb 03 01:04:10 i don't want it to cause hidden surprises for us Feb 03 01:04:17 puchu: it's more a question of subtle breaks later Feb 03 01:04:28 also, i have yet to see a practical advantage to using it Feb 03 01:04:36 so lets remove it :) Feb 03 01:04:37 puchu: what do you gain by using it? Feb 03 01:04:46 puchu: where exactly did you try to unmount it? Feb 03 01:04:55 i dont know ... maybe a little speed up at boot time .. i used it because its there Feb 03 01:05:05 puchu: there's *no* speedup Feb 03 01:05:06 at all Feb 03 01:05:12 since hotplug2 has to do the coldplugging anyway Feb 03 01:05:15 rtz: befor and after devfs is mounted Feb 03 01:05:25 and befor exec init is called Feb 03 01:05:32 system is ubootable Feb 03 01:05:42 disable it and enable it when its ever needed Feb 03 01:05:50 puchu: devfs is 2.4 and brcm47xx uses 2.6 Feb 03 01:06:16 so, it will blow up Feb 03 01:06:17 mount devfs /dev -t devfs Feb 03 01:06:28 do_mount_devfs() { Feb 03 01:06:29 mount devfs /dev -t devfs Feb 03 01:06:29 } Feb 03 01:06:32 puchu: and? Feb 03 01:06:34 .t devfs Feb 03 01:06:38 thats 2.6 code Feb 03 01:06:45 it's not used Feb 03 01:06:48 it used Feb 03 01:06:54 if grep -q devfs /proc/filesystems; then Feb 03 01:06:54 do_mount_devfs Feb 03 01:07:00 2.6 does not have devfs Feb 03 01:07:03 so it never gets called Feb 03 01:07:07 devfs != devtmpfs Feb 03 01:07:09 ohh okay Feb 03 01:07:21 but i umounted it befor the if Feb 03 01:07:25 if grep -q devfs /proc/filesystems; then Feb 03 01:07:50 also umounting it after preinit causes the oops Feb 03 01:07:54 for cryptodev Feb 03 01:08:10 puchu: are you sure, it's mounted at all? Feb 03 01:08:18 devtmpfs? Feb 03 01:08:27 yes for shure Feb 03 01:08:43 rtz: it's automounted by the kernel if there is a rootfs= line to the kernel Feb 03 01:08:56 rtz: and devtmpfs is enabled in the kernel config Feb 03 01:09:03 the only sensible place to get rid of devtmpfs is just before hotplug2 does the coldplugging Feb 03 01:09:19 nbd: couldn't we just disable it in the kernel? Feb 03 01:09:20 there i did it Feb 03 01:09:28 config-2.6.32:CONFIG_DEVTMPFS_MOUNT=y Feb 03 01:09:29 config-2.6.32:CONFIG_DEVTMPFS=y Feb 03 01:09:30 cshore: it might have some use for debugging failure in core libs Feb 03 01:09:32 puchu: could you upload a patch Feb 03 01:09:42 cshore: so we should at least support having it enabled Feb 03 01:09:51 cshore: though yes, for the default config it should probably be disabled Feb 03 01:09:54 nbd where should it then be umounted? Feb 03 01:10:08 after hotplug coldplugging is started? Feb 03 01:10:08 02:09 < nbd> the only sensible place to get rid of devtmpfs is just before hotplug2 does the coldplugging Feb 03 01:10:37 nbd: shouldn't it be unmounted once it is /rom/dev? Feb 03 01:11:12 cshore: no, that would mean special casing for overlay fs enabled builds Feb 03 01:11:19 # create /dev/root if it doesn't exist Feb 03 01:11:20 nbd: right Feb 03 01:11:26 befor this line in /etc/init.d/boot Feb 03 01:11:29 coldplugging creates the initial state for /dev Feb 03 01:11:30 i test it Feb 03 01:11:39 so the sensible thing is to get rid of the old state before making a new one Feb 03 01:11:55 and not defer it to some random later point in time Feb 03 01:12:03 nbd: so in preinit, before the first set of device nodes is created? Feb 03 01:12:07 yes Feb 03 01:12:20 actually before tmpfs is mounted to /dev Feb 03 01:12:21 this didnt work here Feb 03 01:12:29 puchu: did you try the lazy umount? Feb 03 01:12:30 system was unbootable Feb 03 01:12:34 yes Feb 03 01:12:41 i have no serial console Feb 03 01:12:45 puchu: can you enter failsafe? Feb 03 01:12:47 well, then Feb 03 01:12:49 get one Feb 03 01:13:02 rtz: i dont use failsafe Feb 03 01:13:04 debugging preinit with it is hard enough Feb 03 01:13:10 puchu: then try Feb 03 01:13:19 busybox is build without telnetd Feb 03 01:13:22 to save space Feb 03 01:13:27 :/ Feb 03 01:13:28 puchu: you really need to get a serial console if you're going to mess with preinit Feb 03 01:13:28 i dont need it Feb 03 01:13:53 cshore: i know .. but i was able to port brcm47xx to 2.6.32.7 without one ;) Feb 03 01:13:58 i need a test device Feb 03 01:14:01 puchu: apparently you do Feb 03 01:14:16 someone has one laying around? Feb 03 01:14:24 'it works' is not enough justification for adding a patch - there should at least be an 'it makes sense' condition in there ;) Feb 03 01:15:24 puchu: you could post a request to the hardware forum Feb 03 01:15:47 and people are giving away their devices? Feb 03 01:15:48 puchu: offer to do something in exchange for it (openwrt I mean) Feb 03 01:16:04 yeah i will maintain some packages Feb 03 01:16:07 :) Feb 03 01:16:07 puchu: that's how I got more hardware Feb 03 01:16:16 cshore: what did u offer? Feb 03 01:16:18 puchu: no, I mean for a specific use case Feb 03 01:16:37 puchu: to work on what someone wanted done in openwrt for their device Feb 03 01:17:16 i can update brc47xx to 2.6.32 .. can someone delete my patches i'll send them again tommorw ;) Feb 03 01:17:41 puchu: and I had already demonstrated useful stuff that they wanted Feb 03 01:18:03 cshore: me too the update to 2.6.32 is nice i think Feb 03 01:18:16 puchu: and I was lucky Feb 03 01:18:22 i would develop more but without a serial console its more like searching for a needle Feb 03 01:18:35 puchu: can you add one to your device? Feb 03 01:18:44 no i use it all the time Feb 03 01:18:45 puchu: that's what I did Feb 03 01:18:55 dont wanna move its position Feb 03 01:19:02 change=move Feb 03 01:19:24 its in "productive" state Feb 03 01:19:30 most of the time Feb 03 01:19:58 yeah, you really need a second device Feb 03 01:20:07 nbd can i disable devtmpfs just until its needed .. maybe then someone knows a way to umount it at the right point Feb 03 01:20:21 umounting it in /etc/init.d/boot is no option? Feb 03 01:20:29 it has to be in preinit Feb 03 01:20:39 in the place that i talked about Feb 03 01:20:46 yeah i thought the same .. but it didnt work Feb 03 01:20:47 as i said, anything else doesn't make sense Feb 03 01:21:03 i should u what i did and u ment i should use -l which also didnt work Feb 03 01:21:07 puch: basically in 10_essential_fs Feb 03 01:21:08 whatever ... this is going to be debugged by somebody with a serial console Feb 03 01:21:44 but why build this inside the kernel when its umount just after preinit is called? Feb 03 01:21:52 it only wastes space Feb 03 01:22:04 did you even read what i wrote about this subject? Feb 03 01:22:15 i'm starting to get the feeling you only read every second line or so Feb 03 01:22:25 i read it Feb 03 01:22:34 it should have answered your question Feb 03 01:22:49 puchu: make an option for Feb 03 01:22:50 i wrote that it should be disabled by default, but preinit should support having it active Feb 03 01:22:55 to aid in debugging library problems Feb 03 01:23:49 just read the debugging stuff ... thought disabling ti by default is no option Feb 03 01:23:55 ti=it Feb 03 01:24:01 i answered that as well Feb 03 01:24:04 puchu: i.e. override 10_essential_fs Feb 03 01:24:18 puchu: when you want to debug Feb 03 01:25:56 cshore: maybe it works there .. maybe not ... i think someone with a serial console should try it Feb 03 01:26:09 the only thing i see is a not booting device if it not works Feb 03 01:26:43 enabling failsafe would be a big improvement :/ Feb 03 01:27:16 rtz if this umount would break it i wouldnt reach failsafe .. would i? Feb 03 01:27:31 puchu: you'll just have to be patient Feb 03 01:27:40 it wouldn't Feb 03 01:28:11 so someone with a serial ocnsole would have to debug it Feb 03 01:28:11 but the fact that failsafe doesn't work, tells you a lot about the problem Feb 03 01:28:29 Seems like I bricked the device :-( Feb 03 01:28:49 rtz: it then not like i search for a needle ... its like searching for a bigger needle then ;) Feb 03 01:29:08 It doesn't even accept tftp connections anymore. Feb 03 01:29:29 Anyone familiar with WRT160NL? Feb 03 01:29:31 Guest53135: did it ever accept tftp connections? Feb 03 01:29:38 Yes. Feb 03 01:29:51 maybe flashed to the wrong "partition"? Feb 03 01:30:03 did u flash with mtd? Feb 03 01:30:13 or did u erease nvram? Feb 03 01:30:15 First, I flashed using the web interface. Feb 03 01:30:25 It rebooted waaay too fast. Feb 03 01:30:46 But then it accepted tftp. Feb 03 01:30:58 I uploaded and waited 5 minutes. Feb 03 01:30:59 nbd is the kernel config recreated when i do make... or do i have to make a target/linux/clean when i change something in the generic config? Feb 03 01:31:15 it's recreated automatically Feb 03 01:31:20 okay Feb 03 01:31:24 Guest53135: what happend then Feb 03 01:31:47 Now it is still flashing the power LED and the connection LED's of the switch also work, but I cannot initiate a tftp connection anymore Feb 03 01:32:10 Guest 53135: do you have a serial console? Feb 03 01:32:14 :) Feb 03 01:32:26 Guest53135: and does failsafe telnet work? Feb 03 01:32:49 cshore: how does one initiate failsafe on these devices? Feb 03 01:33:08 Guest53135: what platform? Feb 03 01:33:27 brcm?? Feb 03 01:33:44 WRT160NL. I don't have a serial console (yet), though it is fortunately not that difficult with this device, since the serial line is actually accessible without disassembly. Feb 03 01:33:47 ar71xx Feb 03 01:34:12 how much ram does this unit have? Feb 03 01:34:20 just for my info Feb 03 01:34:22 32M Feb 03 01:34:25 nice Feb 03 01:34:26 cool price Feb 03 01:34:36 67€ as i can see here Feb 03 01:34:42 Yes. Feb 03 01:35:23 cshore: do u know how i can initialice failsafe on this device? Feb 03 01:35:23 Guest53135: you should be able to get in by pressing the reset button (just keep hitting it for a couple of minutes, then see if you can telnet in) Feb 03 01:36:08 but it doesn't even respond to ping. Feb 03 01:36:18 Guest53135: that's bad Feb 03 01:36:25 Guest53135: you may need a jtag cable Feb 03 01:36:44 WORK IN PROGRESS DO NOT FLASH IF YOU LACK SERIAL CONSOLE Feb 03 01:36:51 that the info for your device Feb 03 01:36:59 no need for a jtag cable Feb 03 01:37:13 Actually, when it is in the mode when it accepts tftp, it doesn't respond to ping either. But that's udp-based. Feb 03 01:37:44 puchu: brcm47xx ... no way without a serial console AFAIK Feb 03 01:38:06 http://wiki.openwrt.org/toh/linksys/wrt160nl Feb 03 01:38:08 as it seems Feb 03 01:38:26 Guest53135 u should have read this befor u flashed the device Feb 03 01:38:32 bay a serial cable Feb 03 01:38:35 puchu: I have. :-) Feb 03 01:39:01 if that doesnt work ... go back to the shop and tell them the device is broken ... u did nothing :) Feb 03 01:39:04 But actually, a serial cable is not that big an issue. Feb 03 01:39:08 how long do u have it? Feb 03 01:39:45 puchu: I'm still not sure that it's completely dead. I have had it for about 10 days. Feb 03 01:40:03 puchu: they can usually tell at the factory...and flashing the firmware voids warranty Feb 03 01:40:12 puchu: I know. Feb 03 01:40:14 puchu: hello Feb 03 01:41:07 But I'm not running after my money, I would like to sort out some issues, as I can see that OpenWrt is mostly working with this device. Feb 03 01:41:25 thepeople: btw I although I have general package access, I should probably be listed as the package maintainer for mac-to-devinfo and the corresponding luci packages Feb 03 01:41:52 Guest53135: If you can get a serial console on it, that would be best Feb 03 01:41:58 I have been using it with (various builds of) OpenWrt from the first day. Feb 03 01:42:00 cshore: ok, I will mark you down for that package Feb 03 01:42:08 cshore: and what am I going to see on the serial console? Feb 03 01:42:30 cshore: can you pm me your email? Feb 03 01:42:33 cshore: well for starters you should see that the device is reading from the CFE Feb 03 01:42:54 thepeople hello Feb 03 01:43:03 do i get accepted for the apps? Feb 03 01:43:40 @thepeople Feb 03 01:43:44 cshore: the other thing that I am asking of package maintainers is that they fill in https://dev.openwrt.org/wiki/packages (I don't know if you have trac access) Feb 03 01:43:57 not yet, no Feb 03 01:45:28 BTW, can anyone explain how this architecture does the flashing and what tftp-only mode is? Feb 03 01:45:29 puchu: I just seen your email it will be about a day before I know, I make the core developers aware of it for comments prior to ok'ing Feb 03 01:45:57 It seems to be working a little differently from the brcm devices. Feb 03 01:46:09 cshore: see pm Feb 03 01:46:09 For starters, there is no trx image. Feb 03 01:46:46 Guest53135: this only means, that the image is directly written to flash Feb 03 01:46:56 Guest53135: no header is stripped of Feb 03 01:46:58 thepeople okay Feb 03 01:47:22 thepeople i forgot about irssi in the mail Feb 03 01:47:34 puchu: ok, I will add that package to the list :-) Feb 03 01:47:44 most of the packages are from me accept openssh Feb 03 01:47:54 or i updated them some time ago Feb 03 01:48:05 ctorrent irssi are my work Feb 03 01:48:46 rtz: another interesting thing is that for the first time, I was able to flash the firmware from the web interface (of OpenWrt, not the original firmware), but then it started acting up: it resetted almost immediately, and got into this tftp-only mode. Feb 03 01:49:04 But then I was able to flash the firmware. Feb 03 01:49:12 This time, however, it's bricked. Feb 03 01:49:14 puchu: alright Feb 03 01:49:47 thepeople oh ctorrent isnt from me .. Feb 03 01:50:15 The difference is that I put together a very minimal firmware, using only the packages from the trunk r19355 and usb_modeswitch, which I wanted to figure out. Feb 03 01:51:03 Guest53135: does that platform have a way to force it to accept firmware on tftp even if it's been flashed? Feb 03 01:51:16 I wish I knew. Feb 03 01:51:39 Obviously, if I knew, I would do that. Feb 03 01:52:12 Guest53135: I'm guessing it's kernel panicking...the firmware is flashed so it's not going tftp, but it's not booting Feb 03 01:52:37 Guest53135: but that's a wild guess Feb 03 01:53:01 Seems correct, though. Feb 03 01:53:08 puchu: ok, I don't know about maintence of openssl, that may remain as something the core developers maintain. Feb 03 01:53:15 Anyone familiar with this device? Feb 03 01:53:25 (7:52:59 PM) thepeople: puchu: ok, I don't know about maintence of openssl, that may remain as something the core developers maintain. Feb 03 01:53:38 okay Feb 03 01:53:43 cshore: did you get my pm Feb 03 01:53:46 mbd allready told me Feb 03 01:53:47 puchu: I will let you know Feb 03 01:53:49 ok Feb 03 01:53:51 okay Feb 03 01:54:40 thepeople i will continue to bring the updates to openssl .. the last 2 updates where also my work :) Feb 03 01:54:50 For instance, I'm wondering what the flashing power LED means. Feb 03 01:55:34 thepeople: haven't got it yet, but my mail provider only queue runs either 5 or 10 minute intervals Feb 03 01:55:49 thepeople: I haven't figured out which yet Feb 03 01:55:50 Guest53135 normally on my device it means the device accpets connections from tftp Feb 03 01:56:15 nmap the device and see what u get Feb 03 01:56:48 cshore: ok, I got the answer I was looking for, nobody has sent you anything on it yet Feb 03 01:56:55 cshore: I will do so Feb 03 01:58:02 thepeople: that package is my creation, so I'm not surprised Feb 03 01:58:44 thepeople: openwrt is upstream for it Feb 03 01:59:11 thepeople: though come to think of it, I should probably also maintain netdiscover and smap Feb 03 01:59:13 puchu: I thought so, too, because for the previous 3 or 4 times it did exactly that. Feb 03 02:00:28 cshore: ok, I will write you down for them as well if you want Feb 03 02:00:45 thepeople: ok Feb 03 02:02:11 cshore: do you have access to trac? Feb 03 02:11:02 nbd can u update brcm47xx to 2.6.32.7 tonight? Feb 03 02:11:23 for my point of view it ready ... running stable here for some time by now Feb 03 02:19:18 thepeople: I don't have an account yet Feb 03 02:19:45 nv: I just got your mail Feb 03 02:24:19 thepeople: ok I've pm'd you with the account info Feb 03 02:27:18 cshore: ok, it may take a little bit before I get it Feb 03 02:27:44 thepeople: np **** ENDING LOGGING AT Wed Feb 03 02:59:56 2010