=== heathkid|2 is now known as heathkid === satellit_ is now known as satellit_afk === satellit_ is now known as satellit_TS === doko_ is now known as doko [13:30] I loaded ubuntu desktop image for beagleboard-xM. when I am connected it through the serial cable, I get this output http://paste.ubuntu.com/1064274/ and I have waited more than 30 min, it does not proceed. When I pres the user button, I get the same output from the beginning. If I press the enter during the boot, I get the following output http://paste.ubuntu.com/1064278/ . I inserted video cable, mouse, keybord, I do not see any output on the [13:30] monitor. I use 5V, 2.5A power supply to power the board. Can anyone tell me what is my problem [13:31] angs: your board is not booting at all [13:32] angs: did you change anuthing in env vars? [13:34] sorry, what is env vars? [13:35] ogra_, did you get to test the new 3.1 kernel in the archives? [13:36] I downloaded the image http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-preinstalled-server-armhf+omap.img.gz the md5sum matches of the downloaded image matches. then I typed zcat ./ubuntu-12.04-preinstalled-desktop-armhf+omap.img.gz |sudo dd bs=4M of=/dev/mmcblk0 ; sudo sync [13:37] after loading finishes, I inserted the sd card and powered the board [13:37] janimo, nope, but i just grabbed my test ac100 from the basement :) [13:37] should I load the image again? [13:38] angs: but your board is not booting at all [13:38] angs: OMAP3 beagleboard.org # [13:38] ogra_, ok. I did not test the images yet, I thought I will when you're done with the obvious things that you know need fixing [13:38] angs: this is u-boot prompt [13:38] angs: what happens if you type boot there? [13:39] janimo, well, i dont really feel like adding console= and with the new flash-kernel thats not as easy anymore [13:39] ppisati: it works fine with the default OS (angstroms dist). when I type boot, it boots and shows the same output that I had before (Uncompressing Linux... done, booting the kernel). [13:40] what could be the reason that it does not boot the ubuntu image that I have [13:42] angs: the image you pasted doesn't show the board booting [13:43] angs: what does it happend if you insert the sd card and type boot? [13:44] ppisati, the sd card is already inserted. should I take it off then insert it again? [13:44] angs: no! i said "what does is happen if you type "boot"? [13:45] when I type boot, it outputs http://pastebin.com/pRXPZHej [13:46] it stucks on the last line [13:48] this looks all fine, but it should move on into the installer from there [13:48] (given thats a server image) [13:48] i bet it's resizing [13:48] well, in fact it should first print some stuff about resizing the partition and *then* reboot [13:48] angs: what's the size of your sd card? [13:48] ppisati, it doesnt do that quietly on the server image [13:49] there is a lot of output by default [13:49] i assume he doesnt even get through the initrd [13:49] 4 GB, I use the SD card that comes with the beagleboard [13:49] if he reaches that at all [13:49] angs: ok then [13:50] angs: mount your ubuntu sd card somewhere [13:50] angs: the copy *only* the text content of boot.scr in a new file called boot.cmd [13:51] angs: if the "quiet splash" parameters are presente, remove them (shouldn't be your case though) [13:51] angs: and add "console=ttyO2,115200" [13:51] this is the boot.script > http://paste.ubuntu.com/1064315/ [13:51] they are by default [13:51] angs: then execute "mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Ubuntu 10.10" -d ./boot.cmd ./boot.scr" [13:52] console is set by default too on the server image [13:52] so definitely drop the quiet ... [13:52] splash shouldnt matter on a serial image [13:52] angs: and copy the new boot.scr over the old one (maybe backup the old one somehwre - you never know) [13:52] angs: put the sd card back in [13:52] angs: reboot [13:55] ppisati: should I remove the whole line (root=UUID=12093961-64a9-4225-a5a9-2200080a8ab4 fixrtc quiet splash) ? [13:56] or ( setenv bootargs ro elevator=noop vram=12M omapfb.mode=dvi:1280x720MR-16@60 mpurate=auto root=UUID=12093961-64a9-4225-a5a9-2200080a8ab4 fixrtc quiet splash) [13:56] angs: just those 2 params [13:56] angs: and add the console one i told you above [13:56] brb [13:57] ppisati: thank you [13:57] should it be fine like this http://pastebin.com/ruzchCa4 [14:13] lool, urgh, flash-kernel is really unhappy on ubuntu-desktop ... we need to add a umount function, the desktop automounting the SD somewhat causes odd results === Ursinha` is now known as Ursinha [14:53] ogra_: flash-kernel is lower level than the desktop automounting; it would make more sense to fix this in the desktop images surely? [14:54] lool, well, flash-kernel cant handle it if partitions are mounted while it should imho [14:54] no matter how the mounting happened [14:56] ogra_: it should deal with already mounted partitions fine; I think I had tried it [14:56] well, i always end up with partitions mounted twice [14:56] and then flash-kernel quits with an umount error [14:58] lool, http://paste.ubuntu.com/1064425/ .. the prob is that udisk mounts with nosuid nodev and so on ... [14:59] ogra_: Ah it's mounted as a different user [15:00] lool, right, so i think forcing an umount is essential [15:00] ogra_: I think we need to find a way to prevent the mounting from happening [15:01] (i will surely hack back in the hiding of the boot partition, but would like to see that bug fixed nontheless) [15:01] either at Ubuntu install time or with some generic rule for this or that devie [15:01] device [15:01] yes, we did that in the old flash-kernel through adding a special LABEL [15:01] udev then automatically hides it [15:02] ogra_: BTW I know why the mv complain (albeit they probably succeed) -- it's because the files can'tbe chown-ed to root -- but I'm still puzzled why umount fails [15:02] right, so here you want to avoid the SD card from being automounted in exactly the same way, it should fix the mv warnings and the umount error; I don't understand why umount fails though [15:03] i dont see any umount in "functions" [15:03] only for cleanup [15:06] ogra@osiris:~/Devel/packages/flash-kernel-3.0~rc.4ubuntu4$ grep -r umount * [15:06] debian/flash-kernel-installer.postinst: umount /target/dev || true [15:06] debian/flash-kernel-installer.postinst:umount /target/dev || true [15:06] functions: umount "$boot_mnt_dir" [15:06] functions: # if umount fails [15:07] and cleanups isnt called until we exit [15:26] ogra_: cleanups() is run when flash-kernel exits and umounts the /tmp/xyz location where the firmware space was temporarily mounted [15:26] ogra_: in the case where this FS is already mounted on the system, a bind-mount is created automatically by mount or by linux and unmount should work just fine [15:26] right, but there is no umount before it attempts to mount the device to a tempdir [15:26] (No idea why it doesn't work there, perhaps due to special mount options) [15:26] ogra_: But that's normal [15:27] hmm [15:27] i didnt know mount is that clever [15:27] ogra_: mount + umount usually works in both cases, whether it's already mounted or not [15:28] ah, learned something new :) [15:28] i know i see two mounts, i didnt know the subsequent ones are bind mounts by default [16:30] I loaded ubuntu desktop image to another SD card and inserted to another beagleboard-xM rev C1. I have *** Warning - readenv() failed, using default environment and some error/warnings during boot time then it stucks on the last line http://paste.ubuntu.com/1064586/ has anyone else experienced the same problem? [16:33] thats exactly the right behavior for ubuntu-desktop [16:33] after printing that line it switches to the monitor [16:33] only ubuntu-server doesnt do that [16:35] approximately how long do I need to wait to see the monitor output? [16:35] did you see any problem on the output that I pasted? [16:38] no [16:41] ok, thank you. So, I will wait some more to see an output [16:50] I still have not got any output on the monitor and the line after (Uncompressing Linux... done, booting the kernel. ), is it normal to wait long for the boot procedure? [16:52] no [16:54] is there anything that I can do for it? [17:02] apart from using an image that does the install on serial you mean ? [17:09] I do not have a monitor output and all I can see on the serial output is "Uncompressing Linux... done, booting the kernel." it seems like it stucked. I guess I do something wrong in the image loading, because the board works fine with the default OS in the image. [17:10] well, you cant do anything wrong with these images [17:10] if you use the server image it will immediately show output on serial after the kernel booted [17:12] I will load the server image then try it again. [17:13] are you actually sure thats a beagle XM you have there ? [17:15] beagleboard xM is printed on the board and the box. I just bought it couple days ago. [17:15] ok [17:17] angs: Is your monitor capable of HDMI or DVI-D input? [17:17] Or are you using a dvi-cga converter? [17:17] if I am the only one who has problem with it, I should do something wrong [17:17] oops. vga [17:17] I am using hdmi to dvi-d cable [17:17] and the monitor has dvi-d port [17:18] I am using 5V, 2.5A power supply. [17:19] Ok, that should work, provided the monitor can handle the signal predefined in the kernel boot parameters. Does your monitor have an info mode that shows incoming signal? [17:19] GrueMaster, even the preinstalled server images stop for him [17:19] after unpacking the kernel [17:19] You should see video even if your Beagle is getting power via mUSB. [17:19] monitor does not show any signal. [17:21] angs: Do you have a linux desktop/laptop? Looks like you will need to modify the boot parameters on the SD to see what is happening. [17:21] yes I am using ubuntu 12.04 on my laptop [17:21] Before trying that, does it boot the test image that should have come with the board? [17:22] GrueMaster: Yes, it boots fine with the image that comes with the SD card (angstrom dist) [17:22] * GrueMaster can't remember if they still ship a 1M uSD preloaded or not. [17:22] Ok, excellent. [17:23] So, let's modify the boot image. On your laptop, put the SD in a card reader. [17:23] I am umounting the image before I load the SD image, is it correct to do it? I loaded the server image http://paste.ubuntu.com/1064664/ I am going to boot it [17:23] ok thank you [17:24] Yes, unmount the SD before raw writing a new image to it. [17:24] If you haven't started overwriting the SD yet, we can modify the boot parameters to see if we can root out the issue. [17:25] I inserted the SD card and umounted it [17:26] Ok, in a terminal, type "sudo mount /dev/mmcblk0p1 /mnt" (assuming the SD is mmcblk0) [17:26] it is mmcbblk0, I typed the command [17:27] Next, type "sudo dd bs=72 skip=1 if=/mnt/boot.scr of=boot.script" [17:28] fdisk and mount outputs if you would like to see > http://paste.ubuntu.com/1064678/ [17:28] 3+1 records in [17:28] 3+1 records out [17:28] 284 bytes (284 B) copied, 0.00177282 s, 160 kB/s [17:28] Now you should have a boot.script you can edit. Remove the "quiet splash" lines and add "console=ttyO2,115200" [17:30] http://paste.ubuntu.com/1064685/ [17:31] i wonder if the mpurate thing might get in the way [17:31] You need to strip the binary header before editing it (or you can delete it while in the editor). Hence the dd above. [17:31] GrueMaster, thats the resulting file ;) [17:31] it already has console and friends [17:32] Is it? Looks like he just edited the boot.scr with nano (see pastebin). [17:32] The u-boot header needs to be regenerated. It is a checksum. [17:33] yes I just edited it with nano [17:33] (hence why you can't just edit a boot.scr file). [17:35] I need to get back to my day job. Here's the detailed instructions: https://wiki.ubuntu.com/ARM/EditBootscr [17:35] GrueMaster, ogra_: thank you very much for the help [17:36] btw, the server image works fine without any problem [17:36] oh ? [17:36] so you get into the installer etc ? [17:37] on the serial console [17:37] yes it asks me the location and time info [17:37] well, then just run through it ... [17:37] it will also offer you to install the desktop packages if you want them [17:37] cool [17:38] thank you :) [17:48] what is the default password of the ubuntu image? [17:48] log in password [17:48] and user name [17:48] root@root, admin@admin did not work [17:50] angs: You should see oem-config on the serial console that will walk you through setting up locale and user info. [17:50] (until this is run, there is no default user/password. === zyga is now known as zyga-afk