**** BEGIN LOGGING AT Sat Sep 17 02:59:58 2016 Sep 17 03:19:12 nope, nobody here .. only 237 names in the nicklist.... Sep 17 03:19:20 http://www.catb.org/esr/faqs/smart-questions.html Sep 17 05:44:54 Hi, is there anyone here? Sep 17 05:48:15 Am I the only one coding at this time? Sep 17 05:49:09 hello? Sep 17 05:50:59 hellpo? Sep 17 15:29:09 hello, cannot change GPIO48 from high (which is the default) to low (0) on debian 7 or 8. However it works on Ubuntu 2014 Sep 17 15:29:47 GPIO48 is unclaimed. Disabled HDMI on uEnv.txt Sep 17 15:30:20 what configuration? what do the sysfs entries say/do? Sep 17 15:33:45 can I have an example of sysfs? is it the output of echo 48 .. export ? Sep 17 15:35:22 sysfs entries show no error Sep 17 15:36:06 the same sysfs commands work with over GPIO pins on Debian Sep 17 15:36:24 generally sysfs doesn't error :) Sep 17 15:38:18 thank God :) Sep 17 15:39:04 I am a noob..so hopefully somethings I say aren't going to be to stupid! Sep 17 15:39:57 but I really can't figure out why this pin isn't changing to low Sep 17 15:40:19 too* stupid Sep 17 15:50:08 it'll be something subtle .. always is :) Sep 17 15:54:16 is the best supported and stable OS for beagle Debian? Sep 17 15:55:31 at the moment, I'd say yes Sep 17 16:22:39 Hello, is there anyone here? Sep 17 16:58:23 hi? Sep 17 16:58:28 is this a chat? Sep 17 16:59:47 yes Sep 17 17:00:18 Hi, wow first time I got an answer back Sep 17 17:01:31 I can't figure out why I can't connect to my bbb on 192.168.7.2 with USB Sep 17 17:02:04 by http? Sep 17 17:02:32 Ya, I installed the drivers for Mac OSX and I cant connect to it by Http Sep 17 17:03:16 The only way I can get into my BBB is by tty.usbmodem2643 115200 Sep 17 17:03:33 because it's setup as serial device Sep 17 17:03:39 not ethernet/ip Sep 17 17:04:10 ok, when I type ifconfig in BBB I get : Sep 17 17:04:11 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) usb0 Link encap:Ethernet HWaddr 5e:4c:7a:89:3b:2c inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252 inet6 addr: fe80::5c4c:7aff:fe89:3b2c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 Sep 17 17:04:37 can you ping 8.8.8.8 Sep 17 17:05:04 nop I can't Sep 17 17:06:00 It's like the webserver is not active on the BBB, I can't figure out how to activate it Sep 17 17:06:03 are you connecting via serial via a special cable, or just usb Sep 17 17:06:09 just USB Sep 17 17:06:28 I don't think you can run serial usb and usb/ethernet at the same time Sep 17 17:06:56 can you hook up bbb to ethernet? it's much easier Sep 17 17:07:49 Well I can, thing is my router is pretty far from my lab in my room. Debug sensors at distance isn't the best. Sep 17 17:09:37 Is there a way to put my BBB in factory settings so the default webserver at 192.168.7.2 is active? Sep 17 17:11:45 I'll be back tlab, brb Sep 17 17:19:23 ok I'm back Sep 17 17:19:28 ok Sep 17 17:19:56 you are using debian? Sep 17 17:20:01 yes sir Sep 17 17:20:20 in /opt/scripts/boot there is an autoconfigure_usb0.sh Sep 17 17:20:46 give me 5min I'll get into it Sep 17 17:22:06 that should setup your usb for network Sep 17 17:24:39 thanks for the info, won't be long ill tell you in no time Sep 17 17:26:01 actually looks like I can run both serial port and usb network Sep 17 17:27:19 Nop I don't see any autoconfigure_usb0.sh in /boot Sep 17 17:27:20 root@beaglebone:/opt/scripts/boot# ls am335x_evm.sh omap3_beagle.sh Sep 17 17:28:15 if usb gadget is working properly .. and -all- the drivers are installed .. you should see (1) serial (2) ethernet (3) mass storage Sep 17 17:28:18 cat /ID.txt Sep 17 17:29:39 whats the full pat of /ID.txt tlab? Sep 17 17:29:55 that is the full path /ID.txt Sep 17 17:31:14 Hi veremit, I can only access my BBB by typing /dev/tty-usbmodem2643 115200, not with 192.168.7.2 Sep 17 17:31:47 tlab : root@beaglebone:/# cat ID.txt cat: ID.txt: No such file or directory Sep 17 17:31:53 vincentgosselin1: that's because your mac isn't getting an IP address from the BBB Sep 17 17:33:09 veremit, here is the ifconfig from BBB : Sep 17 17:33:20 inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252 inet6 addr: fe80::9429:a2ff:fe12:3e2b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Sep 17 17:33:20 pastebin/bpaste Sep 17 17:33:42 the Zeros are a HUGE giveaway Sep 17 17:33:58 Ok we're on something Sep 17 17:36:13 do you have a network interface on the mac for the BBB? Sep 17 17:36:28 tlab for your info : root@beaglebone:/# cat /etc/dogtag BeagleBoard.org BeagleBone Debian Image 2014-04-23 Sep 17 17:36:43 wow thats old Sep 17 17:37:00 probably what came with the board Sep 17 17:37:06 exactly Sep 17 17:37:10 you might wanna update that Sep 17 17:37:23 No SDcard :////// Sep 17 17:40:31 update with no SDcard, is that possible? Sep 17 17:40:47 I got the boot device on my mac containing all the files Sep 17 17:41:24 I don't know, I only use sdcard Sep 17 17:43:17 there is a way in linux to do it over usb .. but the instructions are . old and incomplete Sep 17 17:43:56 arghh ok. I'll buy an Sdcard + Usb_to_sdcard to flash Sep 17 17:43:58 brb Sep 17 17:44:23 thanks guys so much for your support Sep 17 17:44:25 4gb should be fine .. they're only a ocuple of $/etc Sep 17 17:45:32 I need to do some school stuff now and stop worrying about my BBB :) Sep 17 17:48:19 veremit, can I have your email address? Sep 17 17:48:41 generally we all stick to sharing informatin here, and not give out email addreses Sep 17 17:48:58 I like most, hang around here most of the time .. except when asleep :D Sep 17 17:50:05 Alright that's perfect, I like communities like that. Sep 17 17:50:45 have a great day thanks. Sep 17 21:24:32 veremit: did I mention yet that the mcasp driven is pretty broken? I'm actually amazed it even works at all Sep 17 21:24:36 *driver Sep 17 21:25:12 zmatt: uhoh .. what have you found now?! :P Sep 17 21:25:30 I thought you were actively using it, no?! Sep 17 21:26:30 yes, and now I was repairing DIT support (direct S/PDIF / AES3 output) Sep 17 21:26:42 rut roh... Sep 17 21:26:52 yes, lots of nonsense Sep 17 21:27:23 bad code structure, e.g. the bit-endianness on the wire is not configured anywhere near all other parameters of the format Sep 17 21:27:58 Hi, my XM keeps crashing from time to time (ssh: no route to host). I'm using Ubuntu. Any hints for debugging before recreating the micro-SD card from scratch with Debian? Sep 17 21:29:29 serial console? Sep 17 21:30:17 I'll try that, but I don't have the serial cable yet. Sep 17 21:31:04 I suppose using the HDMI will not enable to see the same debug output as the serial console? Sep 17 21:32:03 depends on config and how far it gets in the boot process Sep 17 21:32:42 there should be a way to log the console to a remote machine, I'll check that on Google Sep 17 21:34:10 that depends on whether the logging agent is loaded even ... Sep 17 21:34:44 netconsole Sep 17 21:34:58 from uboot? Sep 17 21:35:10 "keeps crashing from time to time" Sep 17 21:35:16 yes, I found netconsole Sep 17 21:35:33 netconsole will get you the last console log messages before the crash, hopefully Sep 17 21:35:46 yes, I'll try it Sep 17 21:38:38 even more reliable is simply logging to RAM: iirc the omap3 already had the functionality of preserving external RAM on soft reset (including watchdog). I don't know however whether anyone ever bothered to put that feature to good use in linux Sep 17 21:52:49 most ARM systems I’ve used use store pstore/ramoops to store kernel logs / oops logs Sep 17 21:53:28 not so much Intel, although there are some systems with BIOS support Sep 17 21:57:13 well, omap3 / dm37xx supports it: "On a warm reset the SDRC registers and the FSM are not reset, but the external SDRAM memory can be optionally placed in self-refresh mode, depending on configuration" Sep 17 21:58:15 so I think if you just statically reserve a chunk of RAM you can use it as a buffer that persists across warm resets Sep 17 21:58:56 netconsole in dmesg: netpoll: netconsole: eth0 doesn't support polling, aborting Sep 17 21:59:23 oh yuck, you don't even have real ethernet of course Sep 17 21:59:34 how so? Sep 17 21:59:34 haha Sep 17 21:59:43 because it's an omap3 Sep 17 22:00:04 hum. because of the revision of the XM? Sep 17 22:00:13 it's an old one? Sep 17 22:00:20 none of the omaps have Ethernet, it's not a thing often asked for on cellphones Sep 17 22:00:24 (which is what the OMAPs targeted) Sep 17 22:00:32 ok Sep 17 22:00:49 the XM has a combined usb-hub-ethernet thing Sep 17 22:00:55 so there's presumably some usb-to-ethernet thingy, just like on the rpi (which is also a mobile SoC) Sep 17 22:00:55 so netconsole is out of the question? Sep 17 22:00:58 SMC-something, something Sep 17 22:01:24 zmatt: yeah so then just a matter of reserving it with memmap= or some U-boot way, and then adding a DT entry for ramoops following: Documentation/devicetree/bindings/misc/ramoops.txt Sep 17 22:01:26 UART rules supreme for embedded debugging :) Sep 17 22:01:37 o no ... not that bloody smsc or lan blah-blah Sep 17 22:01:44 jmss: well dunno, apparently it needs "netpoll" (I can guess what it is and why it needs it) and the ethernet usb thingy driver doesn't support it Sep 17 22:02:17 jmss: maybe follow joel_'s hint as long as you don't have a console cable yet Sep 17 22:02:49 so, the OS is not fast enough to write the messages to the micro-SD card when it crashes, correct? otherwise I would see them on syslog after rebooting? Sep 17 22:02:59 it's not about "fast enough" Sep 17 22:03:15 writes are cached and performed lazily Sep 17 22:03:27 yes, ok Sep 17 22:03:50 also, an interrupted write to eMMC is typically gone (best case) Sep 17 22:04:37 it's strange because the heartbeat keeps running even after the crash Sep 17 22:04:48 how do you know it's a crash? Sep 17 22:04:59 how do you define "crash" anyway Sep 17 22:05:10 ssh: no route to host Sep 17 22:05:11 I've even seen activity happen after the system halted due to kernel panic Sep 17 22:05:16 that's "unreachable" Sep 17 22:05:18 not "crash" Sep 17 22:05:31 yes, that's why I defined it in the first place :) Sep 17 22:05:41 are you using dhcp or fixed IPs? Sep 17 22:05:46 and you have checked if there are logs after it stops responding? Sep 17 22:05:51 was using DHCP, now static IP Sep 17 22:06:06 let me check the last log Sep 17 22:06:30 It is known that the SMC chip+driver on the XM would occasionally just go haywire. No clue if that ever got fixed. Sep 17 22:06:34 tip: install avahi (specifically avahi-daemon and libnss-mdns) on beaglebone and host system, then they shouold be able to find each other by name Sep 17 22:06:43 tbr: can it be soft-reset? Sep 17 22:06:52 it sounds it should be easy to detect Sep 17 22:06:59 zmatt: don't remember and I never had an XM Sep 17 22:07:06 me neither Sep 17 22:07:27 apparently it was running until I pulled out the power cable: Sep 17 20:17:01 arm CRON[1979]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Sep 17 22:07:27 Sep 17 21:17:01 arm CRON[1982]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Sep 17 22:07:27 Sep 17 22:17:01 arm CRON[1985]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Sep 17 22:07:27 Jan 1 00:00:25 arm rsyslogd: [origin software="rsyslogd" swVersion="7.4.4" x-pid="529" x-info="http://www.rsyslog.com"] start Sep 17 22:07:29 I had Archos devices with all 3 OMAP3 spins Sep 17 22:08:00 jmss: look back further in the logs for anything network-related? Sep 17 22:08:07 jmss: then it's easy, look in the dmesg log for anything suspicious Sep 17 22:08:08 ok Sep 17 22:08:41 there was a problem wit the printer: Sep 17 06:51:02 arm hp[1937]: io/hpmud/musb.c 1143: unable to open hp:/usb/Officejet_5600_series?serial=CN729D80F104B2 Sep 17 22:08:41 Sep 17 06:51:02 arm hp[1937]: prnt/backend/hp.c 745: ERROR: open device failed stat=12: hp:/usb/Officejet_5600_series?serial=CN729D80F104B2 Sep 17 22:08:42 it might be dmesg.0 or dmesg.1.gz Sep 17 22:08:52 I only using this as a print server, nothing else Sep 17 22:09:10 ok, go back further Sep 17 22:09:44 gcl-bot: hah! Sep 17 22:10:04 WHO-owns-gcl-bot? Sep 17 22:11:04 remote: why are you using a bogus ctcp and why are you asking everyone in the channel instead of just the ops? Sep 17 22:11:24 there was a similar error, about the same time: Sep 17 06:25:04 arm colord: Automatic remove of Officejet_5600-Gray.. from cups-Officejet_5600 Sep 17 22:11:25 Sep 17 06:25:04 arm colord: Profile removed: Officejet_5600-Gray.. Sep 17 22:12:00 are those usb or network printers? Sep 17 22:12:03 ok, going back further there was a kernel crash: Sep 17 22:12:03 jmss: could you just use pastebin or a gist and dump all the log around the time you lost network? Sep 17 22:12:43 OK, I'll post syslog.1. there should be no sensible info, right? Sep 17 22:12:57 how about dmesg.1 or whatever? Sep 17 22:12:59 sensitive* Sep 17 22:13:14 syslog has unnecessary fluff at this stage Sep 17 22:15:00 here: http://pastebin.com/uKAJ9kWk Sep 17 22:18:59 nothing earlier? Sep 17 22:19:14 ohh that doesn't look good Sep 17 22:19:26 tbr: dmesg's don't seem to reach time 90126.363952 s which was when syslog shows the kernel crash Sep 17 22:19:40 oh nm that's just the l3 error irq Sep 17 22:19:56 jmss: go back further Sep 17 22:20:12 this isn't a crash btw Sep 17 22:20:27 even though I can understand thinking it is due to seeing a traceback in log Sep 17 22:21:26 L3 interconnect errors were being generated, presumably by the usb subsystem Sep 17 22:22:04 for some reason L3 error reporting failed and you got the "irq 26: nobody cared" and traceback Sep 17 22:22:08 the root problem is: usb died Sep 17 22:22:16 since both printers and usb-ethernet are dead Sep 17 22:22:25 the printers are usb-attahed yes? Sep 17 22:22:36 syslog.2 has an absurd number of lines like: Sep 15 06:25:42 arm kernel: [2620580.270690] hub 2-2:1.0: hub_port_status failed (err = -110) Sep 17 22:22:37 Sep 15 06:25:47 arm kernel: [2620585.270751] hub 2-2:1.0: hub_port_status failed (err = -110) Sep 17 22:22:37 Sep 15 06:25:52 arm kernel: [2620590.270507] hub 2-2:1.0: hub_port_status failed (err = -110) Sep 17 22:22:46 getting closer Sep 17 22:23:00 again, a large chunk of log in pastebin would be nier Sep 17 22:23:02 *nicer Sep 17 22:23:26 sometimes important messages look unimportant and vice versa Sep 17 22:23:29 zmatt: yes, it's just 1 printer (maybe the other entry is the fax in the same printer) Sep 17 22:23:51 btw, which kernel is this? Sep 17 22:23:53 ok, I'll try to post syslog.2 Sep 17 22:24:07 # uname -a Sep 17 22:24:07 Linux arm 4.2.7-armv7-x3 #1 SMP Tue Dec 15 01:04:22 WET 2015 armv7l armv7l armv7l GNU/Linux Sep 17 22:24:57 I suspect, as it's "just a print server", triggering on this type of event (e.g. loss of network connectivity or the printers being gone) and rebooting the board, might be the quickest/sanest band-aid Sep 17 22:25:04 this being musb however, you can look at it in a different way: instead of complaining about every time it failed, celebrate every day it *works* Sep 17 22:26:14 especially on OMAP3 it was a source of never ending "joy" Sep 17 22:32:19 zmatt: lol Sep 17 22:32:59 I'm not being able to post .2 to pastebin Sep 17 22:33:13 I think it truncates lines after a certain limit Sep 17 22:34:06 paste.debian.org ? hastebin.com ? Sep 17 22:34:20 dmesg output never has long lines IIRC Sep 17 22:34:28 so it's just the crud/fluff anyway Sep 17 22:34:42 gist also limits Sep 17 22:35:13 paste.debian.org does not exist? Sep 17 22:38:09 I'll paste relevant excerpts Sep 17 22:41:14 I might remember the name wrong... my specific point was there are tons of pastebin-like sites Sep 17 22:41:20 google can no doubt help out Sep 17 22:42:28 sorry. it was not a limit. there were strange chars in the dump, so copy/paste failed after the strange chars. I've removed the strange chars: http://pastebin.com/4SuPfD8m Sep 17 22:44:11 the strange chars were between lines 620 and 621: maybe they were cause by pulling the power cable? Sep 17 22:45:00 in less, the chars show like ^@^@ Sep 17 22:46:13 those are zero-bytes Sep 17 22:46:28 and yes, corruption resulting from power failure Sep 17 22:47:26 zmatt: thanks, I've seen those several times before and was not sure about what they were Sep 17 22:48:04 since they are \0 bytes, I suppose, copy/paste interpreted as end of string maybe Sep 17 22:48:26 and ignored the rest Sep 17 22:49:34 when I saw them they were nice 4 KB blocks Sep 17 22:51:44 yeah okay so either the smsc95xx died or musb did Sep 17 22:51:50 but looks like smsc95xx Sep 17 22:52:25 oh nm, it's not using musb for the host port, you got proper usb Sep 17 22:52:41 okay, so then: smsc95xx driver died Sep 17 22:53:49 you could try to see if unloading the module and loading it again (or unbinding and binding again via sysfs) can clear the fault condition, but you'll need to wait till you have some way of working on it when this occurs again Sep 17 22:54:02 e.g. serial console or via graphical login Sep 17 22:54:49 also updating the kernel might help (if you prefer not to, you can try googling whether anything has been fixed in that driver any time recent) Sep 17 22:56:51 you were saying that it is expectd that stuff like this happens with a XM? Sep 17 22:57:06 I mean: is it supposed to happen due to faulty h/w? Sep 17 22:57:30 in other words: is it useless to report these bugs? Sep 17 22:58:24 I don't know if it's a hw problem or a driver bug Sep 17 22:58:26 I don't remember if it's due to the SMC chip being garbage or the driver Sep 17 22:58:49 btw: for future log pasting use https://transfer.sh/ Sep 17 22:58:54 it's never useless to report, if only to keep track of how many people are having the probelem Sep 17 22:59:48 tbr: nice Sep 17 22:59:50 jmss: which images are you using for xM? Sep 17 22:59:57 zmatt: ok Sep 17 23:00:02 +1 regarding recording issues. Sep 17 23:00:12 jkridner: let me check, but maybe the one from Robert Nelson Sep 17 23:00:24 I'm looking to do some super-minor updates to xM. Sep 17 23:00:26 the kernel version looked like it Sep 17 23:00:43 but there should be a newer kernel by now Sep 17 23:00:45 those smsc devices are quite commonly used right? so that means there's decent chance problems will eventually (or perhaps are already) resolved Sep 17 23:00:57 e.g. try a 4.8 kernel Sep 17 23:01:14 the mainline devs have been pretty good at addressing issues on xM. Sep 17 23:01:32 yeah Tony's even been doing patches on the omap5 Sep 17 23:01:41 rcn-ee has recently added xM to the weekly test builds. Sep 17 23:01:56 judging from sources.list: deb [arch=armhf] http://repos.rcn-ee.com/ubuntu/ trusty main Sep 17 23:02:03 zmatt: Yeah, Tony's amazing. Sep 17 23:02:54 but a apt distupgrade should keep me updated? Sep 17 23:03:00 mhm, maybe switch to ubuntu Sep 17 23:03:02 err Sep 17 23:03:04 with the latest from RCN? Sep 17 23:03:04 debian Sep 17 23:03:07 I don't know if that brings in the newer kernel.s Sep 17 23:03:15 oh Sep 17 23:03:22 could, I just don't know. Sep 17 23:03:23 jkridner: btw, I got S/PDIF working (the mcasp driver is really a mess)... if we can figure out how to tell the hdmi framer to expect s/pdif audio (it supports it) then that would free up two pins Sep 17 23:03:52 i.e. you'd only have tx_hclk (from audio osc) the data pin Sep 17 23:03:56 certainly it gets the regular package feeds, but I think he keeps separate packages for the kernels, not a single package with versions. Sep 17 23:04:38 yes Sep 17 23:04:42 zmatt: Black? Using an HDMI-to-SPDIF splitter? Sep 17 23:04:53 jkridner: no, *to* the hdmi framer Sep 17 23:05:13 right now it uses I2S, which steals 3 pins in addition to the one occupied by the audio osc Sep 17 23:05:14 zmatt: yeah, I'm talking about how do you get the SPDIF data out of the HDMI stream. Sep 17 23:05:27 zmatt: or is this for TVs? Sep 17 23:05:56 S/PDIF is just a different way of transporting audio data, I think it would probably end up the same on the cable as hdmi will reframe it again anyway Sep 17 23:06:32 but S/PDIF uses 2 pins less, and supports non-PCM formats like dolby digital Sep 17 23:07:08 not just TVs, I've seen hdmi monitors with speakers (or audio output plug at least) Sep 17 23:08:35 with that change, the hdmi+audio "cape" would occupy fewer pins, which is always a good thing Sep 17 23:09:47 zmatt: well, I hope you can work it out with the HDMI framer.... The Arrow BBBI has a different framer (ADI vs. NXP). Sep 17 23:10:09 ah, to keep things simple Sep 17 23:15:16 ok, thank you guys, I now have a few more hints and info to tackle this problem, thanks for the support Sep 17 23:16:45 yw Sep 17 23:17:33 jkridner: of course it doesn't *have* to be portable to the BBBI... it can just be a freebie for BBB users, "here ya go, two extra I/Os available without being forced to disable HDMI audio" Sep 17 23:21:26 jkridner: also took some scope pics when I was testing aes (pro s/pdif), as an educational example of what happens then you omit the terminator on a sufficiently long transmission line ;) -> https://gerbil.xs4all.nl/aes3/ Sep 17 23:22:01 pretty (ugly) :-) Sep 17 23:22:51 yeah, even the terminated one isn't *that* nice since somebody at the office was too lazy to locate proper cable and used microphone cable instead Sep 17 23:23:01 at least that's one possible cause Sep 17 23:23:39 not important though, the terminated signals are loud and clear Sep 18 02:03:41 hello Sep 18 02:05:20 bye! Sep 18 02:55:49 I'm trying to read serial data from header UART4 on a BBG and can't seem to read or write anything across serial. I've seen documentation on the BBB that says you have to enable the additional header UART's, but haven't found anything similar on the BBG. Has anyone used the header UART's on BBG? **** ENDING LOGGING AT Sun Sep 18 02:59:58 2016