IRC log of #maemo for Thursday, 2016-03-31

*** SpeedEvil has quit IRC00:08
*** SpeedEvil has joined #maemo00:12
*** pagurus has quit IRC00:14
*** pagurus has joined #maemo00:15
*** bencoh has quit IRC00:22
*** sunshavi has quit IRC00:24
*** futpib has quit IRC00:26
*** ketaran has joined #maemo00:27
*** shentey has quit IRC00:35
*** disco_stu has quit IRC00:41
*** disco_stu_droid has joined #maemo00:41
*** disco_stu_droid is now known as disco_stu00:42
*** sunshavi has joined #maemo00:48
*** DocScrutinizer05 has quit IRC01:02
*** DocScrutinizer05 has joined #maemo01:02
*** jonwil has joined #maemo01:05
*** pagurus has quit IRC01:10
*** pagurus has joined #maemo01:10
*** sunshavi has quit IRC01:36
*** vakkov has quit IRC01:45
*** vakkov has joined #maemo01:49
*** sunshavi has joined #maemo01:54
*** louisdk has joined #maemo01:58
*** louisdk has quit IRC02:05
*** vakkov has quit IRC02:08
*** vakkov has joined #maemo02:12
*** louisdk has joined #maemo02:17
*** vakkov has quit IRC02:31
*** louisdk has quit IRC02:45
*** vakkov has joined #maemo02:57
*** Kabouik_ has joined #maemo02:58
Kabouik_Guys, I have an EasyDebian partition on a small SD card and would want to move it to a partition on a larger SD card. Is it possible, or will it fail because of different mmcblk or whatever? Is there a file I can edit to tell the N900 where is the new EasyDebian partition?03:08
*** azkay has joined #maemo03:22
*** sunshavi has quit IRC03:25
*** Kilroo has quit IRC03:58
*** Kilroo has joined #maemo03:58
*** krnlyng has quit IRC04:23
*** Kabouik_ has quit IRC04:23
DocScrutinizer05Kabouik: use mountpoints04:27
*** eMHa_ has joined #maemo04:36
*** krnlyng has joined #maemo04:38
*** eMHa has quit IRC04:39
*** robotanarchy has joined #maemo04:40
*** florian has quit IRC04:40
*** florian has joined #maemo04:41
*** robotanarchy_ has quit IRC04:43
*** hellekin has quit IRC04:44
*** hellekin has joined #maemo04:44
*** Pali has quit IRC05:15
*** clopez has quit IRC05:22
*** phlixi_ has joined #maemo05:25
*** phlixi has quit IRC05:26
*** clopez has joined #maemo05:26
*** phlixi has joined #maemo05:48
*** phlixi_ has quit IRC05:49
*** Venusaur has quit IRC05:50
*** Venusaur has joined #maemo05:51
*** sunshavi has joined #maemo06:00
*** lxp has joined #maemo06:02
*** heroux has quit IRC06:03
*** lxp1 has quit IRC06:03
*** heroux has joined #maemo06:04
*** vahe has joined #maemo06:11
*** jonwil has quit IRC06:16
*** pagurus has quit IRC06:23
*** vakkov has quit IRC06:26
*** azkay_ has joined #maemo06:26
*** Maxdaman1us has joined #maemo06:27
*** enyc_ has joined #maemo06:29
*** vakkov has joined #maemo06:29
*** Humpelstilzchen has joined #maemo06:29
*** ShadowJK_ has joined #maemo06:29
*** nslu2-log_ has joined #maemo06:29
*** Rassi has joined #maemo06:30
*** LjL^ has joined #maemo06:30
*** Maxdamantus has quit IRC06:32
*** azkay has quit IRC06:32
*** LjL has quit IRC06:32
*** enyc has quit IRC06:32
*** realitygaps has quit IRC06:32
*** ShadowJK has quit IRC06:32
*** LjL^ is now known as LjL06:32
*** valdyn has quit IRC06:32
*** Defiant has quit IRC06:32
*** sixwheeledbeast^ has quit IRC06:32
*** guerby has quit IRC06:32
*** xray256_ has quit IRC06:32
*** Wizzup_ has joined #maemo06:33
*** L29Ah has quit IRC06:33
*** Ras_Older has quit IRC06:33
*** andril has quit IRC06:33
*** nslu2-log has quit IRC06:33
*** Wizzup has quit IRC06:33
*** Mekkis has quit IRC06:33
*** dreamer has quit IRC06:33
*** nslu2-log_ is now known as nslu2-log06:33
*** dreamer has joined #maemo06:33
*** Mekkis has joined #maemo06:33
*** xray256_ has joined #maemo06:34
*** sixwheeledbeast has joined #maemo06:34
*** andril has joined #maemo06:34
*** guerby has joined #maemo06:35
*** DocScrutinizer05 has quit IRC06:36
*** DocScrutinizer05 has joined #maemo06:36
*** realitygaps has joined #maemo06:36
*** valdyn has joined #maemo06:39
*** valdyn has quit IRC06:45
*** valdyn has joined #maemo06:45
*** vahe has quit IRC06:59
*** vahe has joined #maemo06:59
*** vahe has quit IRC07:10
*** vahe has joined #maemo07:11
*** vahe has quit IRC07:16
*** vahe has joined #maemo07:18
*** vakkov has quit IRC07:49
*** sunshavi has quit IRC07:54
*** vahe has quit IRC08:06
*** vahe has joined #maemo08:06
*** SpeedEvil has quit IRC08:11
*** vahe has quit IRC08:11
*** vahe has joined #maemo08:11
*** SpeedEvil has joined #maemo08:14
*** vahe has quit IRC08:32
*** vahe has joined #maemo08:37
*** Maxdaman1us is now known as Maxdamantus08:46
*** bencoh has joined #maemo09:15
*** Pali has joined #maemo09:17
*** azkay_ has quit IRC09:23
*** bruce_lee has joined #maemo09:35
*** jskarvad has joined #maemo10:02
*** jskarvad has quit IRC10:02
*** jskarvad has joined #maemo10:02
*** tanty_off is now known as tanty10:17
*** futpib has joined #maemo10:23
*** xorly has joined #maemo10:25
*** futpib has quit IRC10:44
*** freemangordon has quit IRC10:46
*** vahe has quit IRC10:58
*** jskarvad has quit IRC10:59
*** zGrr has quit IRC11:01
*** Avasz has quit IRC11:02
*** Avasz has joined #maemo11:02
*** xorly has quit IRC11:11
*** zGrr has joined #maemo11:17
*** jskarvad has joined #maemo11:21
*** jskarvad has quit IRC11:21
*** jskarvad has joined #maemo11:21
*** geaaru has joined #maemo11:25
*** N-Mi has joined #maemo11:36
*** N-Mi has joined #maemo11:36
*** Kabouik_ has joined #maemo11:46
*** pagurus has joined #maemo11:57
*** bruce_lee has quit IRC11:58
*** bruce_lee has joined #maemo11:58
*** hashcore has joined #maemo12:10
Kabouik_Do I have to open Flopswap to make it work, or is there a daemon?12:13
keriojust make a bigger swap partition and use it12:16
keriosrsly12:16
Kabouik_The wiki says that it will not be as efficient as a swap on the SD card, and then if using SD swap, it seems flopswap is the best option12:20
Kabouik_This is actually impressive: https://vimeo.com/109855151. So I made 2 swaps partitions on the SD, plus the internal, and flopswaps seems to work. Just don't know if I have to manually open it.12:21
keriohow big is your swap partition?12:22
Kabouik_About 800 MB12:22
kerioyeah i'm talking like12:23
kerio2gb12:23
kerioor 4gb12:23
Kabouik_SD or internal?12:23
keriosd12:23
kerioto avoid I/O starvation12:23
Kabouik_If I could achieve the result in the video (with flopswap and partitions ~800MB), that'd be perfect for me12:24
*** hashcore has quit IRC12:33
MaxdamantusThere's probably not actually going to be any difference if you use a swap file.13:01
Maxdamantusjust as long as it doesn't start out heavily fragmented.13:01
Kabouik_Hum, for some reason I can't ssh into my N900 anymore. I just unburried it two days ago so sorry for the numerous questions, it's not easy to get back to it. :)13:01
MaxdamantusThe filesystem tells Linux where the swap file lives on disk, so Linux bypasses the filesystem from there.13:02
Kabouik_I changed ssh password with "sudo gainroot" and "passwd user" in the N900, but then when I try to ssh to user@ip, the password is incorrect. Do I have to reboot for the password to be taken into account in ssh?13:02
MaxdamantusKabouik_: no.13:03
Kabouik_I have no idea what is wrong then.13:03
MaxdamantusKabouik_: what are the first two characters for the hash in /etc/shadow?13:03
Kabouik_About swap, my question was just whether Flopswap automatically runs in background, or if I have to manually open it13:03
MaxdamantusKabouik_: they should be $1 (bad, insecure) or $5 (slightly better)13:03
Maxdamantuswait, that's not right.13:04
Maxdamantus$1 is the slightly better one (MD5).13:04
Kabouik_Apparently there's no /etc/shadow on my N90013:04
MaxdamantusMaybe that's why it doesn't work.13:04
Kabouik_And on my computer, there's one but it's empty13:05
Maxdamantusoh, right, it's just in /etc/passwd13:05
Kabouik_I don't see any $1 or $5 in /etc/passwd, it starts with "root:blahblah"13:06
MaxdamantusRight, so it's probably just DES, which is the insecure one.13:06
Kabouik_What should I do?13:07
MaxdamantusHave you sshed in as user before?13:07
Kabouik_Yeah but it was long ago, I don't remember reinstalling either Linux or Maemo since then though13:08
MaxdamantusI feel like I might've had to change something in sshd_config to enable it .. or it might've been root.13:08
Kabouik_I even still have a preconfigured Filezilla connection for the N900 @user13:08
*** azkay_ has joined #maemo13:12
Kabouik_I'm off to lunch, will check that later. Weird though, using the exact same password as I typed it after "passwd user" on the N900, and I get a "permission denied" when attempting ssh to user13:12
Maxdamantustry `mkpasswd -S ..` on some system, where `..` is the first two characters in the hash you saw in /etc/passwd13:13
Maxdamantussee if it comes back with the same hash.13:13
*** hashcore has joined #maemo13:21
*** zGrr has quit IRC13:35
*** oniongarlic has joined #maemo13:36
*** eMHa_ has quit IRC13:39
Sicelo < Kabouik_> Guys, I have an EasyDebian partition on a small SD card and would want to move it to a partition on a larger SD card. Is it possible, or will it fail because of different mmcblk or whatever? Is there a file13:40
Sicelo                  I can edit to tell the N900 where is the new EasyDebian partition?13:40
SiceloKabouik_: /home/user/.chroot13:40
Siceloflopswap .. do a dpkg -L flopswap which will show you all files that flowswap installs, then you'll know if there's a daemon or not. not using flopswap myself13:42
*** azkay_ has quit IRC13:43
*** hashcore has quit IRC13:51
Kabouik_Sicelo thanks, but in the end I have had to change my SD card for other reasons so I reinstalled EasyDebian. Was actually about to edit /home/user/.chroot file to check the settings when I faced my ssh issue13:54
*** Kabouik__ has joined #maemo13:55
*** Avasz_ has joined #maemo13:55
*** zGrr has joined #maemo13:56
*** Kabouik has quit IRC13:58
*** Avasz has quit IRC14:06
Kabouik_Maxdamantus: I confirm the password comes back with the same hash with mkpasswd -S14:08
*** Avasz_ has quit IRC14:08
*** Kabouik_ has quit IRC14:10
*** Kabouik has joined #maemo14:10
KabouikIf it is of any help: I'm trying to ssh through usb. usb0 ip is 192.168.2.16 on the N900 and 192.168.2.14 on the computer.14:11
KabouikThey cannot ping each other.14:11
DocScrutinizer05Kabouik: what the heck?14:12
KabouikI was mistakenly trying to ssh the wrong ip earlier, hence the wrong password (wrong user name in fact). Was trying to ssh from computer to computer. :<14:12
KabouikSo now, with the right ip, the error is: ssh: connect to host 192.168.2.16 port 22: No route to host14:12
DocScrutinizer05~usbnetworking14:14
infobotmethinks usbnetworking is http://wiki.maemo.org/USB_networking, or http://wiki.maemo.org/N900_USB_networking14:14
*** elionne has joined #maemo14:16
DocScrutinizer05ip route show14:17
*** elionne has quit IRC14:18
*** andril has quit IRC14:20
*** Arch-KT has joined #maemo14:21
*** hashcore has joined #maemo14:22
*** bencoh_ has joined #maemo14:22
*** jrayhawk_ has joined #maemo14:22
*** amospalla has quit IRC14:22
*** Arch-TK has quit IRC14:22
*** bencoh has quit IRC14:22
*** jrayhawk has quit IRC14:22
*** amospalla has joined #maemo14:23
*** andril has joined #maemo14:23
*** ArGGu^^ has quit IRC14:23
*** ArGGu^^ has joined #maemo14:29
KabouikI was already following the second wiki link14:30
KabouikAnd remembered I did so in the past14:30
KabouikMy /etc/network/interfaces is properly configured for instance14:31
DocScrutinizer05sorry I can't help much, USB networking is way too inconvenient, I use WLAN only14:35
MaxdamantusCan you post the relevant output from `ifconfig` on both systems?14:36
DocScrutinizer05when USB then mass storage mode14:36
* Maxdamantus always has g_eth loaded.14:36
Maxdamantusg_ether*14:36
KabouikWLAN is not very convenient here because I'm at work on a institutional network14:36
DocScrutinizer05I see, fair enough14:37
Kabouikhttp://hastebin.com/miseyoxoco.css for computer Maxdamantus. Let me connect to IRC with N900 for pasting the output here14:38
MaxdamantusOctets transmis:0 (0.0 B)14:39
Wizzup_wifi also eats more power and is less stable and latency is worse14:40
MaxdamantusIf that's after trying ping, it might mean your computer doesn't route through it.14:40
*** Konsieur has joined #maemo14:40
Maxdamantustry `ip route show`14:40
Konsieurusb0      Link encap:Ethernet  HWaddr 2E:05:52:76:73:2314:40
KonsieurThat's the N900 side14:40
DocScrutinizer05you still could use adhoc WLAN14:41
*** hashcore has quit IRC14:41
KabouikDamn, the paste did not work14:41
MaxdamantusWhat does `ip route` look like on the computer side?14:43
Konsieurn900 side: http://pastebin.com/ePWG5vru14:43
KabouikKonsieur = Kabouik14:43
Kabouikip route Maxdamantus: http://hastebin.com/tiyerojezo.cpp14:44
DocScrutinizer05this looks good14:45
MaxdamantusAfter doing `ping 192.168.2.16`, does `Octets transmis` in `ifconfig` increase?14:45
DocScrutinizer05as far as I can tell, with a lack of coffee14:45
KabouikFrom 192.168.2.14 icmp_seq=1 Destination Host Unreachable Maxdamantus14:46
KabouikAnd still 0 bytes transmitted14:46
KabouikI know it did work in the past, I don't know what has changed14:47
*** eMHa_ has joined #maemo14:47
DocScrutinizer05wait, what's your N900 IP?14:47
Kabouik192.168.2.1414:47
KabouikSorry14:48
DocScrutinizer05and USB IP on PC?14:48
Kabouik192.168.2.1614:48
KabouikAnd computer .1414:48
KabouikI mixed it just above, right after you asked, forget this line14:48
DocScrutinizer05and on computer you got a route for 16 via interface 14(USB)?14:48
KabouikI honestly don't know how to check that14:49
MaxdamantusI think there should be a RUNNING flag.14:49
DocScrutinizer05 RX packets:516 errors:0 dropped:0 overruns:0 frame:0           TX packets:9 errors:0 dropped:0 overruns:0 carrier:014:50
DocScrutinizer05on your N900, doesn't look too bad14:50
DocScrutinizer05192.168.2.0/24 dev usb0  proto kernel  scope link  src 192.168.2.14   on PC also looks good14:52
DocScrutinizer05again with disclaimer "afaict"14:52
DocScrutinizer05though I'm not familiar with ip14:53
DocScrutinizer05I'm still a ifconfig and route guy14:53
MaxdamantusI'm mostly concerned that it doesn't list the "RUNNING" flag in ifconfig.14:54
MaxdamantusHow did you configure the interface?14:54
KabouikWhat kind of question is that! :<14:54
Kabouik(I don't know, don't laugh. Was a long time ago. :p Probably just followed the Maemo wiki).14:55
MaxdamantusHm .. /etc/network/interfaces14:55
KabouikYeah, that I followed the N900 USB networking wiki page, just change the IP for .16 instead of .15 (.15 is my Jolla)14:55
MaxdamantusI'd probably try removing (or commenting out) anything to do with usb0 in there.14:56
Maxdamantusthen just reconnecting it and doing `ifconfig 192.168.2.14`14:56
Maxdamantuser, `ifconfig usb0 192.168.2.14`14:56
KabouikOn computer, /etc/network/interfaces is just this:14:57
Kabouikauto lo14:57
Kabouikiface lo inet loopback14:57
Maxdamantuswhat about interfaces.d?14:57
KabouikOn N900, it's as in the wiki, just with 192.168.2.16 instead of 192.168.2.1514:57
Kabouikinterfaces.d empty14:57
MaxdamantusYou should only really need to run one command on the computer, the ifconfig one I said above.15:00
Maxdamantusunless you've set up some sort of firewall software like shorewall.15:01
MaxdamantusThe wiki seems to mostly talk about modifying things in /etc15:01
DocScrutinizer05Kabouik: which is your C system?15:08
DocScrutinizer05PC15:08
DocScrutinizer05Kabouik: and does it use network manager or sth like that?15:09
DocScrutinizer05Kabouik: do you have a firewall set up?15:09
DocScrutinizer05Kabouik: also I noticed several times that my PC side routing got messed up FUBAR, so only a reboot helped15:11
DocScrutinizer05it _really_ got messed up, not just bad configuration but it shown garbage and didn't follow configuration commands anymore15:12
DocScrutinizer05nowadays it seems systemd introduces new problems with interface and route config15:13
KabouikSorry DocScrutinizer05, had to leave the office15:15
KabouikI'm running Mint 17.315:15
DocScrutinizer05can't comment on mint, never touched it15:15
KabouikFor some reason, I see the N900 in the network manager indeed. Noticed that just 10 min ago but had to leave before I could tell15:15
KabouikAnd the N900 appears toggled off. If I tried to toggle it on, it attempts connection, but eventually will revert to off15:16
DocScrutinizer05network manager completely messes up all config you try to do manually15:16
DocScrutinizer05yes, since network manager treats all USB IP devices as a upstream NIC15:16
DocScrutinizer05and your N900 doesn't offer internet connectivity (by default) neither DHCP15:17
DocScrutinizer05so network manager tries to get a new internet connection via USB and that fails, so it takes down the interface15:18
KabouikOk, so I should not bother about the network manager I guess15:18
DocScrutinizer05(long story short)15:18
DocScrutinizer05you should shut off NM all together15:18
DocScrutinizer05I had to do that15:18
MaxdamantusNetwork management is: ifconfig usb0 192.168.2.1415:18
KabouikDon't know how to do that :[15:19
Maxdamantus3 words.15:19
KabouikI did it Maxdamantus, but still can't ping N90015:19
Maxdamantusdoes ifconfig show both `UP` and`RUNNING` yet?15:19
KabouikNope. But usb1 does.15:20
KabouikDon't know what is usb1 though, there's not ip in it15:20
Maxdamantusif there are multiple usb devices, the highest one is probably the N900..15:20
Maxdamantusunless you've been plugging other ones in recently.15:20
Kabouikusb1 might be my ethernet adapter (I have a thin laptop with no RJ45 port)15:21
MaxdamantusCould that not be usb0?15:21
KabouikAh yes you're right, usb1 seems to be the N900.15:21
KabouikSo I should try ifconfig usb1 192.168.2.14?15:21
MaxdamantusYes, probably after ifconfig usb0 down15:22
Kabouik!15:22
KabouikPing!15:22
DocScrutinizer05pong15:22
KabouikWorking ssh connection!15:23
DocScrutinizer05hah!15:23
KabouikGreat, thanks folks! I am sorry I mixed usb0 and usb1. I'm 100% positive N900 always was usb0 in the past, but I guess I did not use the RJ45 adapter at this time15:23
DocScrutinizer05perfect explanation15:24
KabouikI should have pasted the whole output of ifconfig instead of usb0, you guys would surely have spotted the issue immediately15:24
DocScrutinizer05usb device naming is a mess15:24
DocScrutinizer05yes15:25
DocScrutinizer05:-)15:25
*** bluto271828 has joined #maemo15:26
KabouikShould I do ifconfig usb1 192.168.2.14 before every connection Maxdamantus, or will it be stored in a config file on my computer?15:27
DocScrutinizer05for USB naming mess, see init() in http://maemo.cloud-7.de/maemo5/usr/local/bin/u1233-wip15:27
MaxdamantusIt won't be stored.15:27
MaxdamantusYou'll need to do it each time you connect the plug.15:27
KabouikNo way to make it permanent?15:28
DocScrutinizer05Kabouik: I use a script to do such stuff on PC15:28
MaxdamantusYeah, I prefer just making scripts for these sorts of things.15:28
DocScrutinizer05for 'permanent' you need to mess around with udev-rules15:28
Maxdamantusthough in this case it's easy enough for me to just invoke ifconfig directly.15:28
KabouikOk15:29
Maxdamantuson the N900 side I just have it load g_ether and configure the interface in rcS-late15:29
Maxdamantus(the N900 will remember its configuration until g_ether is unloaded)15:29
Maxdamantusor g_nokia if you're using that.15:30
KabouikAnd I could successfully edit /home/user/.chroot to make EasyDebian work, great. I expected to have another issue with my terrible Linux skills, but it worked. :]15:31
DocScrutinizer05Kabouik: linux is not *that* hard to get right :-)15:32
KabouikI can do basic things, but when you start using your big udev words, I know I'm starting to be lost. :)15:32
KabouikThere's still an issue but it might be related to the image I tried. LXDE does not display the menu (start menu equivalent) and the top bar. They actually appear for a fraction of a second when launching LXDE, but then dissapear15:41
KabouikI'm using debian-m5-estel.img.ext3 image15:42
Kabouikhttps://wiki.maemo.org/Easy_Debian#LXDE_Top_Menu_Disappears will investigate this15:43
KabouikThey're actually just autohiding and very hard to show again, apparently15:45
enyc_Kabouik: there are now, debian jessie armhf images, better ...  was a fiddylr hack to create but they exist =)15:59
*** enyc_ is now known as enyc15:59
*** Konsieur has quit IRC16:01
*** Konsieur has joined #maemo16:02
*** sunshavi has joined #maemo16:04
KabouikAh, interesting enyc! Do you have any link?16:15
*** Rassi is now known as Ras_Older16:16
*** Arch-KT is now known as Arch-TK16:25
*** Shapeshifter has quit IRC16:30
*** Konsieur has quit IRC16:31
*** Konsieur has joined #maemo16:33
*** Konsieur has quit IRC16:42
*** Konsieur has joined #maemo16:42
*** Konsieur has quit IRC16:49
*** Konsieur has joined #maemo16:49
*** volandet has joined #maemo17:13
*** volandet has quit IRC17:13
*** Konsieur has quit IRC17:20
*** Konsieur has joined #maemo17:21
*** sunshavi has quit IRC17:23
*** Konsieur has quit IRC17:30
*** L29Ah has joined #maemo17:40
*** L29Ah has left #maemo17:47
*** L29Ah has joined #maemo17:52
*** L29Ah has left #maemo17:55
*** hashcore has joined #maemo17:56
*** bluto271828 has quit IRC17:57
*** andril has quit IRC17:57
*** vahe has joined #maemo18:06
*** vakkov has joined #maemo18:14
*** L29Ah has joined #maemo18:14
*** zGrr has quit IRC18:23
*** vakkov has quit IRC18:29
*** vakkov has joined #maemo18:33
*** geaaru has quit IRC18:42
*** hashcore has quit IRC18:47
*** tanty is now known as tanty_off18:50
*** eMHa_ has quit IRC18:52
*** zGrr has joined #maemo18:52
*** freemangordon has joined #maemo18:52
*** vakkov has quit IRC18:53
*** vakkov has joined #maemo19:00
*** sledges has quit IRC19:06
*** sledges has joined #maemo19:07
*** eMHa_ has joined #maemo19:16
*** sledges has quit IRC19:17
*** sledges has joined #maemo19:17
*** sunshavi has joined #maemo19:19
*** zGrr has quit IRC19:24
*** Natch has quit IRC19:31
*** louisdk has joined #maemo19:38
*** Milhouse has quit IRC19:46
*** vahe has quit IRC19:51
*** futpib has joined #maemo19:51
*** Natch has joined #maemo20:01
*** Kabouik has quit IRC20:02
*** fortytwo has quit IRC20:09
*** fortytwo has joined #maemo20:10
*** Milhouse has joined #maemo20:15
*** LauRoman|Alt has joined #maemo20:22
*** LauRoman has quit IRC20:22
*** robink has quit IRC20:26
*** sunshavi has quit IRC20:36
*** robink_ has joined #maemo20:37
*** robink_ is now known as robink20:52
*** sunshavi has joined #maemo20:53
*** bruce_lee has quit IRC21:01
*** Oksana has quit IRC21:14
*** Oksana has joined #maemo21:16
*** bencoh_ is now known as bencoh21:27
*** bencoh has joined #maemo21:27
*** fk_lx_ has joined #maemo21:48
*** xelo has joined #maemo21:55
*** netkat has quit IRC21:56
*** jskarvad has quit IRC21:56
*** alien2003 has joined #maemo22:00
alien2003HI! Can you pls help me with u-boot? With fat MyDocs it even doesn't show menu with kernels. I switched to ext3 and now it shows different kernels but I can't boot any external kernel because of "unsupported filesystem"22:01
*** fuz_ has quit IRC22:06
*** L29Ah has left #maemo22:11
enycalien2003: silly question but can you just copy those other kernels onto the ext3 filessytem so u-boot *can* read them ?22:14
alien2003enyc: They are on it. They are everywhere... in /boot, in /opt/boot, in MyDocs...22:15
alien2003I tried to copy them everywhere22:15
enycalien2003: so.. it then boots said kernels ok ???  but they can't then mount a root filesystem where needed?22:23
*** xelo has quit IRC22:25
alien2003enyc: it can only boot attached kernel :(22:27
*** krnlyng has quit IRC22:30
*** xorly has joined #maemo22:30
*** M4rtinK2 has joined #maemo22:34
*** fuz_ has joined #maemo22:35
*** L29Ah has joined #maemo22:40
*** SpeedEvil has quit IRC22:40
*** BitEvil has joined #maemo22:42
*** L29Ah has left #maemo22:42
*** BitEvil is now known as SpeedEvil22:44
*** sunshavi has quit IRC22:47
*** krnlyng has joined #maemo22:47
*** L29Ah has joined #maemo22:48
*** louisdk has quit IRC22:50
*** netkat has joined #maemo22:52
*** vakkov has quit IRC22:53
*** L29Ah has left #maemo22:57
*** sunshavi has joined #maemo22:57
DocScrutinizer05uboot checks existing kernels during post-install22:58
kerioand whenever you call u-boot-update-bootmenu22:58
DocScrutinizer05yep22:58
DocScrutinizer05thanks, I forgot the name22:58
DocScrutinizer05now the only name missing is the config files dir22:58
DocScrutinizer05bootmenu( ?22:59
DocScrutinizer05bootmenu/ ?22:59
kerio/etc/boot<tab>22:59
DocScrutinizer05:nod:22:59
DocScrutinizer05alien2003: ^^^22:59
alien2003DocScrutinizer05: I have that folder23:00
DocScrutinizer05yes, and all your kernels need to be configured in there23:00
*** netkat has quit IRC23:01
keriohowever, do note that it's not actually checked by uboot23:01
DocScrutinizer05once that's accomplished, you run the script kerio said#23:01
kerioit's only used by the script that builds the actual menu23:01
alien2003bootmenu.img.d, right?23:01
DocScrutinizer05exactly23:01
kerioalso, do note that pali's uboot doesn't do extfs23:01
kerioit'll read uboot.scr or whatever it's called from the first vfat partition on the emmc or on the sd23:01
Palihm? uboot has support for ext2,3,423:01
kerio:o23:02
keriothen what doesn't it support23:02
DocScrutinizer05hehe23:02
alien2003there are my kerbek zInages in that folder23:02
keriowhy was i convinced that you needed a vfat partition then23:02
DocScrutinizer05ugh, you need config files in that folder23:02
DocScrutinizer05not zImages23:02
alien2003with vfat partition it even doesn't show a menu with kernels23:02
Palihttp://git.denx.de/?p=u-boot.git;a=blob;f=include/configs/nokia_rx51.h;h=5c4140526dc16ad60338480ce71256715da6f263;hb=HEAD#l34723:02
Palifirst try fat, then ext2, then ext423:03
DocScrutinizer05pali meant: "first it tries..."23:03
kerioon which partition?23:03
Palipartition is always first23:03
*** vakkov has joined #maemo23:03
Palisee linked code23:03
alien2003what about ext3?23:04
DocScrutinizer05I never really liked the idea to use bootmenu*.d/* for configuring uBoot *.scr23:05
Paliext2 driver should have read support for ext323:05
alien2003DocScrutinizer05: can you provide me an example of config file for that folder?23:05
alien2003bootmenu.img.d23:05
DocScrutinizer05Pali can23:06
Palibootmenu.scr is uboot boot script (with binary header!)23:06
DocScrutinizer05if you missed that: he's maintainer/author of uBoot-N90023:06
Paliuboot can boot only files in uimage format23:06
alien2003Pali: bootmenu.scr is in MyDocs, not in bootmeny.img.d23:07
Paliso boot files (in uimage format) are stored in bootmeny.img.d23:07
Paliand referenced by bootmenu.scr23:07
DocScrutinizer05ooh, what?23:07
Paliuboot cannot boot directly zImage23:07
DocScrutinizer05the uImage kernels are stored in /etc/* ?23:08
Paliso there is script u-boot-update-bootmenu which take all installed zImages and convert them into uboot format23:08
*** sunshavi has quit IRC23:08
DocScrutinizer05or is uImage a plain ascii file?23:08
Paliand then store them into ~/MyDocs/bootmenu.img.d23:08
Paliuimage is uboot binary format23:08
DocScrutinizer05with kernel or with menu?23:08
Palido not understand last question...23:09
DocScrutinizer05what's the typical size of a uimage ?23:09
PalizImage + sizeof(binary_uboot_header) + sizeof(padding)23:09
alien2003Pali: 1,70 MB23:10
DocScrutinizer05so it contains kernel zImage plus some meta info?23:10
Paliyes23:10
DocScrutinizer05hmmm23:10
alien2003Pali: I think it's a uImage in my bootmenu.img.d because it appeared there after u-boot-update-menu23:11
Paliyes, it should be uimage23:11
DocScrutinizer05so where do I place original zImage and how does script u-boot-update-bootmenu find it?23:11
Pali~uboot23:11
infobotN900 uBoot is a siamese twin binary [uBoot+stockMaemoKernel] that resides in kernel NAND partition /dev/mtd3 aka "kernel". You can't uninstall it, rather you'll nuke it when you flash/install another kernel like stock maemo kernel or powerkernel. To start other than stock maemo kernel via uBoot, you have to provide the according kernel image files, or http://talk.maemo.org/showthread.php?t=8161323:11
Palisee section "How to create bootmenu entry for U-Boot:"23:11
Palikernel zImage is stored in /opt/boot (or /boot)23:12
*** xorly has quit IRC23:12
alien2003Pali: I use custom partition sizes. My /home is 4 or 5 GB23:12
Paliin /etc/bootmenu.d/ is specified config file for boot menu entry23:12
alien2003Maybe that's why u-boot can not boot custom kernels?23:13
Paliand u-boot-update-bootmenu take configuration from /etc/bootmenu.d/ and generate ~/MyDocs/bootmenu.scr and ~/MyDocs/bootmenu.img.d/23:13
Palialien2003: partition size does not matter23:14
alien2003Pali: so what would you recommend me to do with that 'unsupported file system'? I just want to be able to boot NITDroid and Kali23:14
Paliyou just need to have stored those bootmenu files stored in *first* eMMC parition23:14
alien2003Pali: MyDocs partition is my first partition23:15
Paliand that *first* eMMC partition must be either fat, ext2/3 or ext423:15
alien2003and it's ext323:15
Paliwhich filesystem it is?23:15
DocScrutinizer05*now* we're talking :-)23:15
alien2003with vfat it doesn't even show boot menu23:15
Paliwhat do you mean by that?23:16
Palido not show boot menu?23:16
Paliif keyboard is open, there always must be bootmenu23:16
alien2003When I boot phone with opened keyboard slider there is no menu items for custom kernels if I use vfat23:16
Paliwith vfat there are some problems, when it is incorrectly formatted23:16
alien2003and with ext3 they appear. But still can not boot23:16
Palitry to format it as FAT16 (that could help)23:17
alien2003My USB is broken :(23:17
alien2003maybe I should try ext4? or it's a bad idea?23:17
DocScrutinizer05dude, you got cochones ;-D23:18
PaliI do not see reason why ext3 does not work...23:18
alien2003and also I don't know how to format as fat16... is it possible to do it directly on my Nokia N900?23:18
DocScrutinizer05df -h|pastebinit23:18
Palimkfs.vfat -F 16?23:19
DocScrutinizer05cat /proc/mounts|pastebinit23:19
Palior try fat32 (-F 32)23:19
DocScrutinizer05you're aware it's pretty risky to format /home ?23:20
Palinot /home, but MyDocs23:20
DocScrutinizer05aaah, yep23:20
*** L29Ah has joined #maemo23:20
alien2003http://pastebin.com/htqZEwFV23:20
alien2003http://pastebin.com/GKzJbszx23:21
DocScrutinizer05looking ok: /dev/mmcblk0p123:21
DocScrutinizer05yep, /dev/mmcblk0p1 /home/user/MyDocs ext3 rw,nosuid,noatime,nodiratime,errors=continue,data=ordered 0 023:22
PaliI think this is correct23:23
DocScrutinizer05ls -l ~/MyDocs/bootmenu.scr23:23
Pali$ cat ~/MyDocs/bootmenu.scr23:23
alien2003ext partition is be better for me than fat anyway23:23
alien2003http://pastebin.com/zPuZFDfs23:23
DocScrutinizer05I leave that to Pali ;-P23:24
DocScrutinizer05I'm supposed to understand it but too lazy now23:24
Palithere are just 3 entries: attached kernel, kernel-cssu and kernel-power23:25
Paliso what is problem?23:25
Palithey are not shown in uboot bootmenu?23:25
Palior what is visible in uboot bootmenu?23:26
alien2003They are shown but when I try to boot kernel-cssu or kernel-power it says "unsupported filesystem"23:26
Paliaaaaa, there is problably bug23:26
alien2003attachboot is ok23:26
PaliI see it "setenv mmctype fat"23:26
alien2003Pali: so any ways to fix it? :)23:26
Palifixing that u-boot-update-bootmenu script...23:26
Paligoing to look at it23:27
alien2003Pali: yep... I've seen it. And tried to change to ext3 but it breaks everything at all23:27
alien2003Pali: thank you23:27
Paliext3 does not exist23:27
Paliuboot has just ext2 or ext4 driver23:27
alien2003I can switch to ext423:28
Palibut if you change it, you need also regenerate checksum (that binary header)23:28
bencohuh oO23:28
alien2003Should I?23:28
alien2003I mean tune2fs -j...23:28
DocScrutinizer05nah23:28
Paliof that bootmenu.scr file23:28
DocScrutinizer05wait for Pali fixing it, he's fast23:28
DocScrutinizer05:-)23:28
*** at1as has joined #maemo23:31
DocScrutinizer05alien2003: actually thanks for bringing it up :-)23:33
DocScrutinizer05however I wnder why it failed with fat fs on MyDocs for alien200323:36
Palialien2003: fix should be in my git repo: https://github.com/pali/u-boot-maemo23:37
alien2003Pali: thanks23:37
Palidownload new version of u-boot-update-bootmenu script23:37
Paliand try to use it23:37
Palilet me know if it works now, or not23:37
alien2003Pali: really i don't know how to ccompile or install it...23:37
DocScrutinizer05Pali: you're a wizard :-)23:37
Palialien2003: download new version of u-boot-update-bootmenu script and try to use it23:38
alien2003oh thx23:38
Paliit is in debian folder23:38
Paliu-boot-update-bootmenu is shell script23:38
Paliand post output of bootmenu.scr file23:39
Pali(before rebooting)23:39
DocScrutinizer05for a start copy it into root's ~ and invoke it like ~/u-boot-update-bootmenu23:39
alien2003Pali: thank you... 5 minutes23:40
alien2003alien2003: flashing u-boot... I have removed it before23:41
enycas far as I could tell  the maemo et.c all sopports ext4 wiht no problems, just the included system wasn't using it by default, or so23:41
*** vakkov has quit IRC23:43
alien2003wooooow...23:46
alien2003it works! Really!23:46
alien2003Pali: Thank you very much!!!23:46
alien2003will the package in repos be updated?23:46
Paliso replace system version of that script with new fixed version23:47
PaliI will try to update package in extras-devel repository23:47
alien2003Pali: thank you very much23:48
alien2003Pali: such a great phone should stay alive!23:48
Palihave fun!23:48
alien2003I have no reasons to buy Android no23:50
alien2003now*23:50
DocScrutinizer05yep23:50
alien2003btw...  Is it possible to run shashlik on Nokia N900?23:50
bencohyummy23:51
bencohnow I'm hungry :p23:51
bencohI'd say maybe, but they mention qemu (I guess they use qemu-user in their chroot)23:53
alien2003Shaslik is an QEMU-based Android emulator23:53
bencohI doubt (arm) emulation on our omap3 would be very efficient23:54
bencoheven with userland (qemu-user) emulation only23:54
* DocScrutinizer05 is hungry too now. And shashlik looks promising23:54
bencoh(I'm not even sure that they only use qemu-user, haven't checked their code)23:54
kerioi just went full debian on my home server23:55
DocScrutinizer05alien2003: I gather it's for x86 now?23:56
bencohShashlik will then install the app and you’ll be able to launch it from your desktop’s applications menu. Other APKs may or may not work—if an APK has native code, it must support x86 processors and not just ARM processors, or it won’t work.23:57
bencohhttp://www.pcworld.com/article/3040093/android/shashlik-brings-android-apps-to-linux-and-you-can-try-it-today.html23:57
bencohhmm23:57
keriowhy is it that debian supports the sheevaplug but not the n900? :c23:57
bencohnow that's funny23:57
enyctakling cpu architectures,  i was wondering why  maemo and debian-chroots  were setup as  armel  and not armhf...23:58
enycnow seemingly the debian chroot can be done as armhf instead  but... wasn't origianlly this way23:58
PaliI added post to u-boot thread about that fs problem: http://talk.maemo.org/showthread.php?p=1502566#post150256623:58
bencohkerio: actually ""they"" do, you can run debian on top of mainline (and loose a few drivers that don't work yet)23:58
*** at1as has quit IRC23:59
*** futpib has quit IRC23:59

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