**** BEGIN LOGGING AT Mon Jun 15 02:59:58 2015 Jun 15 09:31:06 how can I dump kerenl memory in case I get BUG: soft lockup ? Jun 15 09:47:28 have a look at kgdb Jun 15 09:47:58 I have e BeagleBone Back, running under Debian 3.8. After a kernel rebuild, I wasn't able to login over SSH, SFTP or Telnet any more. The Board sends back it's login message, asks for the password and then the connection is resetted as it can be seen in the ssh debuggin output. What can I do now? Jun 15 09:48:39 Christoph_: probably rom is completely filled up Jun 15 09:49:07 so my first guess: boot from a sd card and free up some space Jun 15 09:49:48 LetoThe2nd: so, you are guessing ethical compilation? Jun 15 09:50:02 KotH: hrhr Jun 15 09:51:24 Dein Name klingt Deutsch Josef ;-) Also geht auch so... Ja ok. Kann ich mal versuchen. Ich habe es auch über die Serielle Schnittstelle probiert. Da bekommt ich gar keine Antwort Jun 15 09:52:17 Christoph_: nope, we'll stick to english please. so other, non-german folks can make use of the conversation too, respectively help when i'm unable to continue. Jun 15 09:52:18 Christoph_: please stick to english. yes, we know you are from aachen, yes we understand german, but it's not understood by everyone Jun 15 09:52:33 ich nix verstahn Jun 15 09:52:41 av500: heb de latz! Jun 15 09:52:49 Christoph_: if you boot a stock image, you should see something on the serial Jun 15 09:52:49 Ok. I'll keep german Jun 15 09:52:58 make sure that works Jun 15 09:53:19 Here's just the pastebin of my ssh connection (debug mode) http://pastebin.com/NXkZFD6F Jun 15 09:53:34 Christoph_: plus, i didn't say anything about the serial console. if your rootfs is filled up, no login will work, and its also possible that the serial getty doesn't come up. so i repeat: get a known good image onto a sd card, boot it, and then inspect the state of the flash rom Jun 15 09:54:11 Ok. I'll do so an come back. Thx! Jun 15 09:54:16 * LetoThe2nd starts to suspect ethical sshd, refusing connections from windows... Jun 15 09:54:21 hehe Jun 15 09:55:13 Pretty nice to get such fast help here :-) Jun 15 09:55:38 Christoph_: that will cost you 3kg of good, swiss chocolate Jun 15 09:55:49 Christoph_: or a box of good bavarian beer Jun 15 09:55:55 whatever LetoThe2nd preferes ;) Jun 15 09:55:57 ;-) Jun 15 09:56:27 I can send you 3 kg Lindt Chocoloate from the Lindt Factory Jun 15 09:56:40 i said good swiss chocolate, not avarage swiss chocolate Jun 15 09:56:49 wer are talking about läderach or teuscher here Jun 15 09:56:59 ooookkkk Jun 15 09:57:28 people here know good chocolate Jun 15 09:57:29 I'm not a professional in the chocolate business. Excuse my missing knowledge Jun 15 10:01:01 Christoph_: just send him a Kinder egg Jun 15 10:03:04 yes. but AFTER I solved my problem... :-)) Jun 15 10:20:06 it ought to be hard to fill up the root filesystem... that's what partitions are for... Jun 15 10:23:18 Whe I get the "BeagleBone and BeagleBone Black via microSD card" from here: beagleboard.org/latest-images, my internal eMMC won't we affected, right? Jun 15 10:30:15 Christoph_: not unless you use the "flasher" image Jun 15 11:36:28 hi Jun 15 11:36:59 guys Jun 15 11:58:43 ok I think thats not thr problem. "df -h" tells me that "rootfs" hast 2GB available Jun 15 11:59:32 Christoph_: on the sd card or in the system? ;) Jun 15 12:02:36 this is the output: http://pastebin.com/QEXHkFv7 Jun 15 12:03:38 Christoph_: ok, that looks fine indeed. then the next thing - you said you changd the kernel? try to revert that :) Jun 15 12:05:27 I think the old kernel files are still in place. Is it enough to change the uname line in Env.txt? Jun 15 12:06:30 Christoph_: hard to tell, as i don't know *how* you replaced the kernel. i personally just drop in my new file with the old name, which is a case where uEnv won't help then. Jun 15 12:08:08 I did these steps after rebuilding the kernel: Jun 15 12:08:13 1. export kernel_version=3.8.13-bone71.2 Jun 15 12:08:18 2. sudo sh -c "echo 'uname_r=${kernel_version}' >> /boot/uEnv.txt" Jun 15 12:08:23 3. cp -v /media/_newfs/Kernel/bb-kernel/deploy/${kernel_version}.zImage /boot/vmlinuz-${kernel_version} Jun 15 12:08:29 4. mkdir -p /boot/dtbs/${kernel_version}/ Jun 15 12:08:35 5. tar xfv /media/_newfs/Kernel/bb-kernel/deploy/${kernel_version}-dtbs.tar.gz -C /boot/dtbs/${kernel_version}/ Jun 15 12:08:42 6. tar xfv /media/_newfs/Kernel/bb-kernel/deploy/${kernel_version}-modules.tar.gz -C / Jun 15 12:09:39 Christoph_: then *probably* just changing the uenv back might work Jun 15 12:10:03 ok. i will try now.. Jun 15 12:29:57 Hmm. That didn't work. Always boots the corrupted kernel. But with the original Angstrom image, I don't have any output on the serial interface either Jun 15 12:47:27 ahh ok. TX and RX have to been crossed Jun 15 12:48:04 never cross the wires! Jun 15 12:49:44 But now I have an output. with RX-RX / TX-TX there was nothing Jun 15 12:50:00 not a surprise :) Jun 15 12:50:19 ? Jun 15 12:50:36 you said "never cross the wires" Jun 15 12:50:39 yes Jun 15 12:50:43 never connect TX to TX :) Jun 15 12:50:58 Ah ok. Jun 15 12:51:19 Hmm. When I think about it is is locial ;-) Jun 15 12:54:46 Ok. Here's the Pastebin from the startup: http://pastebin.com/nWGpZ2UV Jun 15 12:55:34 After " Starting Console Manager..." it hangs Jun 15 13:10:04 But now always on the same point... Seems that the devises stops working after a radom time of powering up Jun 15 13:11:24 RX = recieve, TX = transmit. you have to transmit to a reciever, receiver cant communicate with a receiver. :) Jun 15 13:13:03 Yes. I got the point Jun 15 13:15:01 Has somebody an idea why the boot stops at random points? Jun 15 13:15:17 could that be a hardware problem? Jun 15 13:16:02 the -out-of the box angstrom distro works fine Jun 15 13:17:57 are you sure the points are random? Jun 15 13:18:46 Christoph_: are you powering via usb? or a dedicated wall plug? Jun 15 13:19:09 An external DC Power Jun 15 13:20:24 But only the USB power makes no diffrerence Jun 15 13:21:08 And yes. It stops at different points. This time @" Started LSB: Start/stop apache2 web server.", Last time @"Started LSB: Start xrdp and sesman daemons." Jun 15 13:21:22 and so on... Jun 15 13:21:36 Christoph_: that can easily be because of systemd doing things ina random order Jun 15 13:22:21 if you pass init=/bin/sh does it get you to a prompt? Jun 15 13:23:13 How do I pass "init=/bin/sh"? Jun 15 13:23:43 I'm newer able to type anything Jun 15 13:23:52 newer = never Jun 15 13:24:09 it's a kernel parameter. you'd have to do it in uEnv.txt Jun 15 13:24:28 that should get you as far as a read-only root filesystem. Jun 15 13:26:27 Anybody faced issues with a RTL8188CU WiFi adapter with a BeagleBone Black? Jun 15 13:29:24 Abhishek_: does it use the 8192cu driver? Jun 15 13:29:30 yeah Jun 15 13:29:38 or what's the issue exactly? Jun 15 13:30:14 the issue is, I can connect to the network but dhcp lease seems to take a long time, and connectivity doesn't look good Jun 15 13:30:59 cat /sys/module/8192cu/parameters/rtw_power_mgnt Jun 15 13:32:31 I'm running v4.1 kernel, no such file found Jun 15 13:34:03 i recall an issue with 8192cu power managment, not sure if it's still an issue though Jun 15 14:14:09 it seems that I do not have 8192cu.ko with my kernel Jun 15 14:54:21 morning guys Jun 15 14:54:51 do we have a sensor similar to the one shown here? http://fossbytes.com/sensorian-shield-sensor-packed-shield-for-your-raspberry-pi/ Jun 15 15:06:22 has anybody been able to compile rt8192cu for kernel versions 3.14 and above? Jun 15 15:24:27 Abhishek_, you might be better off with the realtek drivers .. I coudln't make the standard kernel ones work Jun 15 15:24:57 stt_michael: Yes, the realtek drivers, not the mainline ones Jun 15 15:25:19 stt_michael: I tried to compile them on 4.1 but it seems to be broken Jun 15 15:25:36 *I'm trying Jun 15 15:25:40 you need to patch them iirc Jun 15 15:26:04 create_proc_entry deprecates, so a whole file needs to be patched Jun 15 15:26:10 can't remember what .. but there is something Jun 15 15:26:31 stt_michael: If you're talking about this : https://raw.githubusercontent.com/cmicali/rtl8192cu_beaglebone/master/util/rtl-8192-beaglebone-linux-3.8.patch Jun 15 15:26:34 .o0(when was the last time i saw an 8192?) Jun 15 15:26:48 this is valid only on 3.8 kernels, I am running 4.1 Jun 15 15:28:47 no I'm taking about 3.14->4-> Jun 15 15:28:56 I built it successfullly a few months ago Jun 15 15:28:59 on mainline Jun 15 15:29:03 with patched realtek code. Jun 15 15:29:20 but you need to PATCH the realtek code to make it compile with MAINLINE Jun 15 15:29:29 where could I get the patch? Jun 15 15:29:31 yeah Jun 15 15:35:23 Abhishek_, I started from https://github.com/dz0ny/rt8192cu Jun 15 15:36:40 stt_michael: I'm trying : https://github.com/pvaret/rtl8192cu-fixes Jun 15 15:36:44 now Jun 15 15:37:42 looks quite old to me Jun 15 16:12:18 hello Jun 15 16:12:38 i'm using kernel 3.14.43-ti-r67 on my beaglebone black running debian Jun 15 16:13:14 i need to access the adc but can't find any device descriptors for this in /sys Jun 15 16:13:59 they used to be in /sys/devices/bone_capemgr.* Jun 15 16:14:08 but there's nothing there anymore Jun 15 16:14:47 i'm not sure if i'm doeing something wrong or if this is a regression Jun 15 16:25:10 capemgr has changed Jun 15 16:25:27 mjgardes: in what way Jun 15 16:25:37 I'm trying to figure it out as well Jun 15 16:26:24 jokke: there is no capemgr driver in 3.14 Jun 15 16:26:30 alexanderhiam: oh Jun 15 16:26:40 http://beagleboard.org/Community/Forums?place=msg%2Fbeagleboard%2F4eDQvQOkUkc%2FRjWyIrXcYgwJ Jun 15 16:26:53 you have to enable overlays in the uEnv.txt file Jun 15 16:27:05 I couldn't get that to work Jun 15 16:28:50 alexanderhiam: so for adc that'd be what? Jun 15 16:29:07 BB-ADC I think Jun 15 16:29:49 cape_enable=capemgr.enable_partno=BB-ADC Jun 15 16:29:51 ? Jun 15 16:31:25 hmm, there might not be a general ADC overlay in 3.14: https://github.com/beagleboard/linux/tree/3.14/arch/arm/boot/dts Jun 15 16:31:32 aha Jun 15 16:31:36 okay... Jun 15 16:32:00 so i should use 3.8.x for now..? Jun 15 16:32:54 If it works, it will probably be easier Jun 15 16:32:59 ok Jun 15 16:33:03 sure Jun 15 16:33:06 i'll give it a try Jun 15 16:33:26 thanks for the help Jun 15 16:33:34 good luck Jun 15 16:49:28 alexanderhiam: hm Jun 15 16:49:34 now i get a file exists error Jun 15 16:49:56 if i try to echo cape-bone-iio to /sys/devices/bone_capemgr.*/slots Jun 15 16:50:01 which is there at least Jun 15 16:55:19 oh never mind Jun 15 16:55:22 it's there Jun 15 16:59:47 i'm interested in purchasing several blacks with 5" multi-touch panels for game prototyping, and i was interested in someone's experiences with getting opengl (es2.0 is fine) running on it, maybe glfw? sdl is definitely overkill and not needed for my purpose Jun 15 17:00:32 also, would performance be comparable to low to mid end smartphones? Jun 15 18:49:23 hi guys is there a gstreamer 1.4 repo available for the beaglebone black? Jun 15 18:56:20 Probably. Jun 15 20:08:32 Hi Jun 15 20:08:39 I need to help me Jun 15 20:10:23 Hi. We need you to give us information about what you nee help with, or we will choose randomly. Jun 15 20:10:35 I want to create a code that receive data for serial port, later compare data received with a BD in phpMyAdmin using Python Jun 15 20:11:38 Anyone link? I cant to found anyone Jun 15 20:11:48 Great! Can you pastebin what you have written so far, and tell us how it is failing? Jun 15 20:12:14 Because this is a DIY community; we reward those who help themselves with further help. Jun 15 20:12:56 Much like the guide in the topic link suggests ways to ask questions the smart way. Jun 15 20:13:16 I dont have code, I just collect information Jun 15 20:14:15 Well, then you might look for Python modules that do what you want, and try to write code that uses them. Jun 15 20:14:47 I bet if you Googled "python serial module" and "python mysql module", you might find some of the answers you seek. Jun 15 20:15:22 I receive data in my beagleboard level sensor and others, later I need compare this information with a BD for asign math operations Jun 15 20:16:38 Yes. YOu said that already. Jun 15 20:16:40 Exist any project that use this? Jun 15 20:16:51 There may be. None that I know of. Jun 15 20:17:22 Also, I have no idea what a "BD" is. I assume, given the reference to phpMyAdmin, you mean "DB", for database. Jun 15 20:19:09 Sorry I from Colombia, I speak in spanish my english is very poor Jun 15 20:19:18 I need project similar that use DB Jun 15 20:23:12 I am sure you do, but as I said, I know of no such project. YOu may find you need to write your own. In either case, more research on your part would probably be a good idea. Jun 15 20:24:07 Your help is time lost. Thanks!! Jun 15 20:26:44 And your questions the same. Jun 15 20:26:54 THis is why we have the links in the channel topic. Jun 15 20:27:55 My question is under topics this channel, that you dont have idea about topic is other thing. Jun 15 20:29:46 Did you read http://beagleboard.org/chat? Jun 15 20:30:16 Especially the second helpful link http://www.catb.org/~esr/faqs/smart-questions.html Jun 15 20:30:45 You are very smart! Jun 15 20:31:08 is it a bot?! lol Jun 15 20:31:32 Right? Jun 15 20:31:36 ::shrugs:: Jun 15 20:32:01 that was pretty helpful too ! Jun 15 20:32:06 for here :D Jun 15 20:32:09 I thought I was. Jun 15 20:32:12 +1 Jun 15 22:20:51 “your help is time lost” is poetic for someone who claims to not speak english well. **** ENDING LOGGING AT Tue Jun 16 02:59:59 2015