/srv/irclogs.ubuntu.com/2012/05/25/#ubuntu-arm.txt

=== panda is now known as Guest12542
=== ahs3` is now known as ahs3
=== zumbi is now known as Guest10379
=== dannf` is now known as dannf
djszapiogra_: hey16:11
djszapiogra_: I tried to clone the 12.04 installation after installing my daemon on the pandaboard, but when the replicated sdcard boots up, the system cannot realize the /dev/ttyUSB* ports with usb-serial and modems on those.16:14
djszapiWhat can cause this ? If I use the original sdcard, then there are no such things happening. Is there any idea I could try out for repearing this before I begin the looong replication procedure again ?16:14
TypoNAMhow are you cloning the SD card?16:17
djszapidd16:18
djszapiI am cloning the content obviously, not the physical device. ;)16:18
TypoNAMyou're just dd the entire card and not just a single partition correct?16:18
djszapithe entire sdcard16:18
djszapifirst onto my usb pendrive, and then back to the other16:19
TypoNAMok, oh and you did make sure to change /etc/fstab to not use a UUID on the root partition mount, right?16:19
djszapithat is why it is so long. I have not taken an image onto my hard disk of the laptop yet.16:19
djszapiTypoNAM: I am unsure how that is related to the /dev/ttyUSB* problem.16:19
TypoNAMhmmmm16:21
djszapiwhat is the name of the kernel package ?16:21
djszapiI would try to reinstall the kernel.16:21
djszapisince this is a kernel task.16:21
djszapihttp://lxr.free-electrons.com/source/drivers/usb/serial/pl2303.c?a=arm -> this driver, precisely.16:21
TypoNAMso it boots up just fine and you can access the shell without any problems?16:22
djszapiyep16:22
djszapiI am now behind ssh over the ethernet port16:22
djszapiusb ports are not really recognized with usb-serial pl2303 cables at least.16:22
djszapiudevadm monitor& shows kernel messages while plugging those in though16:23
djszapijust no /dev/ttyUSB* created.16:23
djszapiif I use the same environment, but the original sdcard, everything is alright.16:23
TypoNAMstrange16:23
djszapiindeed16:23
djszapiso what is the kernel package name ?16:24
djszapiPerhaps a simple reinstall of that fixes this very issue16:24
TypoNAMchecked dmesg?16:24
djszapiabout ?16:24
TypoNAMdmesg | less  and see if there's any errors reported related to driver failures16:25
djszapidmesg checks usually end up seeing something not telling anything to an average user that can be used for repearing.16:25
TypoNAMthe only things I can think of by cloning an sd card to another sd card and it failing to work is: / failed to mount due to UUID being different in fstab, or you didn't do a complete clone, meaning contents at the end of the sd card failed to copy because the end of the destination was reached16:27
TypoNAMwhen you used dd, did you clone to an image file on your Linux workstation then dd that image on to the sd card, or did you do a literal dd from sd card to the other sd card?16:28
djszapiTypoNAM: I do not have two sdcard slots16:36
djszapiTypoNAM: as I mentioned above, I used an interim usb pendrive for the transferring.16:36
TypoNAMeeek, ok I missed that part then16:38
TypoNAMwhy did you use a pendrive instead of as an image to a hard drive instead?16:38
djszapiTypoNAM: why wouldn't I ?16:39
djszapiUsing hard disk space for 4 GB requires 4 GB free space on the hard disk...16:39
djszapinot to mention, way harder to carry that way to my colleagues16:39
TypoNAMhere's what I do when I clone USB drives and sd/mmc cards: dd if=/dev/SrcDevice of=myClonedDrive.img bs=512K   then writing that image back on to an actual device: if=myClonedDrive.img of=/dev/DestDevice bs=512K16:40
djszapiLike I said, that is unacceptable in my case.16:41
djszapibecause of two very important reasons.16:41
djszapinot to mention, usb pendrive should work anyway16:41
TypoNAMwell because 4GB != 4GB on SD cards that are not exactly the same model, much less across different mediums, in this case an SD card to thumb drive16:41
djszapihuh ?16:42
TypoNAMcase in point, I have two 8GB sandisk SD cards, one is actually 104MByte / 212992 blocks less than the other 8GB cause the one that has less blocks is newer than the other one.16:43
djszapithey are totally the same sdcards16:43
TypoNAMbut your USB drive is not if it isn't more than those SD cards as it could be the one causing the transfer cut off point cause dd reached end of file on destination16:44
djszapiit is totally bigger16:45
djszapi8 GB16:45
djszapiso + 4 GB ...16:45
TypoNAMinsert your sd card into your Linux workstation and then do: parted --list /dev/SDcardDevice16:49
TypoNAMthen remove it and insert your other sd card, and see if they're matching16:50
djszapithey do.16:50
djszapiI have checked those things after flashings.16:50
djszapiand to be honest: if they did not match, there would be way bigger issues than just /dev/ttyUSB016:50
djszapiaye, kernel reinstall helped.16:51
djszapinice :)16:51
TypoNAMif I were you I wouldn't be too happy, because if a reinstall fixed it then who knows what else is corrupted on that card, I wouldn't trust it what so ever16:52
djszapiwouldn't happy with a fix ? :o16:53
djszapiIn fact, I am super happy about it.16:53
oratedHello! I used ubuntu-11.10-preinstalled-desktop-armel+omap.img image on BeagleBoard B4 and I'm not able to use any usb-storage device.http://pastebin.com/V2sdn3XM http://pastebin.com/tnD1QqDS Both the BB and USB hub are externally powered. Am I missing something?16:59
oratedppisati: Hi18:08
scientesthe arm cross-compiler can't build the kernel for me anymore18:32
scientes/usr/bin/ld.gold.real: error: scripts/genksyms/parse.tab.o: incompatible target18:32
scientesi tried make clean18:32
scientesCONFIG_CROSS_COMPILE="arm-linux-gnueabi-"18:33
scientes/usr/bin/ld.bfd.real: scripts/mod/modpost.o: Relocations in generic ELF (EM: 40)18:47
scientesi tried checking out back to 3.4 but that didn't do it eithe18:48
=== steev_ is now known as steev
prpplagueogra_: horrible horrible laptop - http://www.frys.com/product/6515793?site=sr:SEARCH:MAIN_RSLT_PG21:28
GrueMasterprpplague: so, other than being preloaded with Windows 7, what else is wrong with it?21:40
prpplagueGrueMaster: it has a quirky bios called H2O bios, and it HATES linux21:42
GrueMasterouch21:42
ojnH2O? Heh22:13
=== jkridner_ is now known as jkridner
scientesdefinitely not arm....22:52

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!