IRC chat logs for #ltsp on irc.freenode.net (webchat)


Channel log from 10 May 2014   (all times are UTC)

01:25gbaman has left IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com, Remote host closed the connection)
01:29Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Quit: Leaving.)
01:56gbaman has joined IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com)
02:01gbaman has left IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com, Ping timeout: 250 seconds)
02:10vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)
02:36Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
02:59gbaman has joined IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com)
03:03gbaman has left IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com, Ping timeout: 264 seconds)
03:06adrianorg has left IRC (adrianorg!~adrianorg@177.132.222.166, Ping timeout: 258 seconds)
03:08adrianorg has joined IRC (adrianorg!~adrianorg@177.132.222.166)
03:38Markus_123 has left IRC (Markus_123!~Markus123@194-166-98-210.adsl.highway.telekom.at, Quit: Leaving)
03:54Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Ping timeout: 252 seconds)
03:55Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
04:00gbaman has joined IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com)
04:05gbaman has left IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com, Ping timeout: 276 seconds)
04:11Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Ping timeout: 252 seconds)
04:22cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Remote host closed the connection)
04:58alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
05:01gbaman has joined IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com)
05:05gbaman has left IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com, Ping timeout: 250 seconds)
05:23alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
05:55gdi2k_ has left IRC (gdi2k_!~gdi2k@120.28.219.253, Ping timeout: 258 seconds)
06:02gbaman has joined IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com)
06:06gbaman has left IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com, Ping timeout: 252 seconds)
06:18telex has left IRC (telex!~telex@freeshell.de, Remote host closed the connection)
06:20telex has joined IRC (telex!~telex@freeshell.de)
06:43Ryan52 has joined IRC (Ryan52!~ryan52@freegeek/ryan52)
07:02gbaman has joined IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com)
07:07gbaman has left IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com, Ping timeout: 265 seconds)
07:08cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg)
07:11lmds_ has joined IRC (lmds_!~lmds@tui.pi-et-ro.net)
07:32Yaann_ has joined IRC (Yaann_!~yleger@online.vlq16.iliad.fr)
07:36cyberorg_ has joined IRC (cyberorg_!~cyberorg@opensuse/member/Cyberorg)
07:41cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Disconnected by services)
07:41cyberorg_ is now known as cyberorg
07:41Yaann has left IRC (Yaann!~yleger@online.vlq16.iliad.fr, Ping timeout: 258 seconds)
07:46mealstrom1 has joined IRC (mealstrom1!~Thunderbi@46.63.63.163)
07:47mealstrom has left IRC (mealstrom!~Thunderbi@46.63.63.163, Ping timeout: 258 seconds)
07:53vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Ping timeout: 265 seconds)
08:03bennabiy has left IRC (bennabiy!~Thunderbi@96-37-209-0.dhcp.leds.al.charter.com, Ping timeout: 255 seconds)
08:03gbaman has joined IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com)
08:04bennabiy has joined IRC (bennabiy!~Thunderbi@96-37-209-0.dhcp.leds.al.charter.com)
08:15VIKAS_ has joined IRC (VIKAS_!7ab0afa6@gateway/web/freenode/ip.122.176.175.166)
08:15
<VIKAS_>
Hi......
08:16
Will it be possible to configure LTSP server on RHEL-5 or RHEL6..??
08:29vmlintu has joined IRC (vmlintu!~vmlintu@nblzone-240-143.nblnetworks.fi)
10:05lmds_ has left IRC (lmds_!~lmds@tui.pi-et-ro.net, Ping timeout: 265 seconds)
10:05lmds_ has joined IRC (lmds_!~lmds@tui.pi-et-ro.net)
12:34khildin has joined IRC (khildin!~khildin@ip-213-49-83-122.dsl.scarlet.be)
12:56VIKAS_ has left IRC (VIKAS_!7ab0afa6@gateway/web/freenode/ip.122.176.175.166, Ping timeout: 240 seconds)
13:39Markus_123 has joined IRC (Markus_123!~Markus123@194-166-101-134.adsl.highway.telekom.at)
14:53Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
15:33vmlintu has left IRC (vmlintu!~vmlintu@nblzone-240-143.nblnetworks.fi, Ping timeout: 250 seconds)
15:50vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)
16:06khildin has left IRC (khildin!~khildin@ip-213-49-83-122.dsl.scarlet.be, Quit: I'm gone, bye bye)
16:07Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Quit: Leaving.)
16:09gbaman_ has joined IRC (gbaman_!~gbaman@host81-130-112-2.in-addr.btopenworld.com)
16:11gbaman has left IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com, Ping timeout: 240 seconds)
16:15boospy has joined IRC (boospy!~kvirc@darkbox.osit.cc)
16:35adrianorg has left IRC (adrianorg!~adrianorg@177.132.222.166, Ping timeout: 264 seconds)
16:36adrianorg has joined IRC (adrianorg!~adrianorg@177.132.222.166)
16:44calisto has joined IRC (calisto!~calisto@unaffiliated/calisto)
16:55vmlintu has joined IRC (vmlintu!~vmlintu@nblzone-240-143.nblnetworks.fi)
17:01gbaman_ has left IRC (gbaman_!~gbaman@host81-130-112-2.in-addr.btopenworld.com, )
17:01gbaman has joined IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com)
17:04mealstrom1 has left IRC (mealstrom1!~Thunderbi@46.63.63.163, Remote host closed the connection)
17:10vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Ping timeout: 252 seconds)
17:26calisto has left IRC (calisto!~calisto@unaffiliated/calisto, Ping timeout: 252 seconds)
17:50mealstrom has joined IRC (mealstrom!~Thunderbi@46.63.63.163)
17:56Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
17:56mealstrom has left IRC (mealstrom!~Thunderbi@46.63.63.163, Quit: mealstrom)
17:59mealstrom has joined IRC (mealstrom!~Thunderbi@46.63.63.163)
18:07boospy has left IRC (boospy!~kvirc@darkbox.osit.cc, Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/)
19:06T4b has joined IRC (T4b!~t4b@89-127.193-178.cust.bluewin.ch)
19:06MrV has left IRC (MrV!~Edgar@31.163.201.104, Read error: Connection reset by peer)
19:06MrV has joined IRC (MrV!~Edgar@31.163.201.104)
19:10
<T4b>
Did I get this right, LTSP clients basically log in to the LTSP server? Each user who should be able to log in on the clients gets an account and home folder on the server?
19:21andygraybeal has left IRC (andygraybeal!~andy@h224.192.213.151.dynamic.ip.windstream.net, Quit: Ex-Chat)
19:27andygraybeal has joined IRC (andygraybeal!~andy@h224.192.213.151.dynamic.ip.windstream.net)
19:42vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)
19:42
<gbaman>
hey vagrantc I have u-boot working on Raspberry Pi with network support :)
19:44gbaman has left IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com, )
19:44gbaman has joined IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com)
19:47
<vagrantc>
gbaman: oh, awesome!
19:47
gbaman: last i tried it, it had video issues, though
19:48
<gbaman>
i have it working and displaying on the screen
19:48
<vagrantc>
i enabled the rpi_b build in u-boot in the debian packages, hoping that would be useful eventually
19:48
gbaman: i had issues with the resolution being very bad, though it did display fine.
19:49
like 800x600 or 640x480 or something
19:49
<gbaman>
Yeah? Am having that
19:49
I don't know how to get it any further though
19:49
<vagrantc>
hrm.
19:49
<gbaman>
have it booted, but trying to figure out the LTSP side of it
19:49
sure we cant pass kernel parameters to force video res?
19:49
<vagrantc>
having just u-boot on the SD card would make it *much* simpler to deploy LTSP with it, though
19:49
<gbaman>
yeah
19:50
<vagrantc>
that's why i was interested in it, the network boot support
19:50
<gbaman>
but, we will have to wait for it to copy the kernel and initrd
19:50
I can manually copy it using u-boot console
19:50
not sure where to go now
19:50
<vagrantc>
havne't tried it for a while; mostly been messing with other arm platforms all week, though
19:51
you need to set the default boot command in u-boot ... maybe in uEnv.txt on the first partition
19:52
<gbaman>
I need to create a special version of kernel?
19:52
<vagrantc>
no
19:52
well, you set kernel=u-boot.img or whatever
19:52
in config.txt ?
19:52
<gbaman>
I mean to get it to grab off tftp server
19:53
<vagrantc>
you need to create a uEnv.txt or maybe a boot.scr that does the commands you enter in manually
19:53
gbaman: you using a serial console, or did you get a video console with u-boot?
19:53
<gbaman>
both
19:54
<vagrantc>
oh, i might not have had a keyboard at the time... i forget
19:54
or maybe the build i was using didn't support usb keyboards
19:54
<gbaman>
depends which branch you were using
19:54
<vagrantc>
gbaman: which branch(es) did you use?
19:55
<gbaman>
https://github.com/swarren/u-boot
19:55
<vagrantc>
yeah
19:55
looks familiar
19:56
rpi-dev branch?
19:57
<gbaman>
yes
19:58
ooops, no keyboard support
19:58
I had been using serial
19:58
and was sure I had tried something on keyboard
19:58
does have network support though
19:59
<vagrantc>
right.
19:59
<gbaman>
I was able to use tftp to download kernel off server
20:00
<vagrantc>
cool
20:00
<gbaman>
just have no clue where to go from there
20:02
<vagrantc>
you need to create a file uEnv.txt... let me create an example starting point
20:02
<gbaman>
awesome thanks :)
20:04
<vagrantc>
i *think* it supports uEnv.txt in that branch, anyways...
20:04
<gbaman>
it does
20:04
i get an error every time it starts saying it cant find one :)
20:04
it should support proxydhcp right?
20:07
<vagrantc>
gbaman: here's the example i think i had working: http://paste.debian.net/98712/
20:07
without tftp
20:08
no, i doubt if it supports proxydhcp
20:08
<gbaman>
whats the point of u-boot if not using tftp over network?
20:08
<vagrantc>
the u-boot pxe support i've looked at so far basically just parses a pxelinux-style configuration file, and does DHCP/TFTP
20:09
gbaman: the point is shwing you the format of the file :P
20:09
<gbaman>
ahh
20:09
<vagrantc>
gbaman: i'll get to tftp in a moment :P
20:09
<gbaman>
:)
20:12
<vagrantc>
ok, add this line, comment out the other uenvcmd:
20:14
gbaman: is your DHCP server separate from your LTSP server?
20:14
<gbaman>
yes
20:14
cant really touch DHCP server
20:15
<vagrantc>
uenvcmd=setenv serverip 192.168.67.1 ; dhcp ${loadaddress} /ltsp/armhf/vmlinuz ; setenv bootargs console=tty0 console=ttyAMA0 ; bootz ${loadaddr}
20:15
adjust the serverip appropriately
20:15
now, that won't get to LTSP, but it should boot and start the kernel over the network
20:15
one step at a time
20:16
depending on the u-boot implementation, you may need to "setenv autoload no" or something.
20:17
<gbaman>
sorry, gota go out for 10 mins
20:17
brb
20:17
and that didnt work
20:17
<vagrantc>
define didn't work
20:17
<gbaman>
still searched for DHCP server
20:17
and fialed
20:17
*failed
20:17
setting tftp boot to 0.0.0.0
20:17
<vagrantc>
so it didn't get an ip address?
20:17
<gbaman>
no, got IP
20:18
sorry, brb
20:18
<vagrantc>
sure, i'll give it a whirl sometime in the next few days again
20:19
<gbaman>
vagrantc: here is something for you to glance over btw http://pi.gbaman.info/?p=256
20:19
<vagrantc>
u-boot implementations are all... unique and special.
20:20
cool :0
20:20
er, :)
20:26vmlintu has left IRC (vmlintu!~vmlintu@nblzone-240-143.nblnetworks.fi, Ping timeout: 258 seconds)
20:34andygraybeal has left IRC (andygraybeal!~andy@h224.192.213.151.dynamic.ip.windstream.net, Read error: Connection reset by peer)
20:43
<gbaman>
vagrantc: back
20:45vmlintu has joined IRC (vmlintu!~vmlintu@nblzone-240-143.nblnetworks.fi)
20:45andygraybeal has joined IRC (andygraybeal!~andy@h224.192.213.151.dynamic.ip.windstream.net)
20:48Ark74 has left IRC (Ark74!~Ark74@189.214.42.128.cable.dyn.cableonline.com.mx, Quit: Saliendo)
20:53
<gbaman>
ok vagrantc, I have it booting a kernel
20:53
then a kernel panic
20:54
http://pastebin.com/pATEeuXT
20:54
<vagrantc>
downloaded via tftp?
20:54
<gbaman>
yes
20:54
<vagrantc>
progress!
20:54
<gbaman>
i had to change your code a bit
20:54* vagrantc likes to see kernel panics every now and then
20:55
<vagrantc>
gbaman: show me what you got
20:55
<gbaman>
uenvcmd= wasnt found btw
20:55
so I just removed it
20:57
<vagrantc>
hrm.
20:57
odd
20:57
<gbaman>
http://pastebin.com/BaHUZa9W
21:00
this is the config file http://pastebin.com/TefaiEuk
21:07
<vagrantc>
setenv serverip 10.0.5.155 ; dhcp ${loadaddress} /ltsp/armhf/vmlinuz-3.10-3-rpi ; tftp ${initrd_addr} /ltsp/armhf/initrd.img-3.10-3-rpi ; setenv bootargs console=tty0 console=ttyAMA0 boot=nfs nfsroot=10.0.5.155:/opt/ltsp/armhf init=/sbin/init-ltsp ; bootz ${loadaddr} ${initrd_addr}
21:07
that should do it
21:11
<gbaman>
:( http://pastebin.com/YyzGGGc0
21:12
Wrong Ramdisk Image Format
21:12
Ramdisk image is corrupt or invalid
21:19
<vagrantc>
oh, forgot
21:20
setenv serverip 10.0.5.155 ; dhcp ${loadaddress} /ltsp/armhf/vmlinuz-3.10-3-rpi ; tftp ${initrd_addr} /ltsp/armhf/initrd.img-3.10-3-rpi ; setenv bootargs console=tty0 console=ttyAMA0 boot=nfs nfsroot=10.0.5.155:/opt/ltsp/armhf init=/sbin/init-ltsp ; bootz ${loadaddr} ${initrd_addr}:${filesize}
21:20
or if you want to be really specific, "; setenv rdsize ${filesize} ;" after tftp ...
21:21
but filesize should work as the last argument
21:23
<gbaman>
BINGO!
21:23
we have a boot
21:24
screen res is messed up
21:25
<vagrantc>
no surprise
21:25
<gbaman>
It ignored the uEnv.txt file btw
21:25
i just copied the command in
21:28
<vagrantc>
from your boot log, it looked like it tried to load uEnv.txt ... maybe it just didn't run uenvcmd ?
21:28* vagrantc wonders what the default command is that it runs...
21:29
<vagrantc>
u-boot is kind of fragmented in that each platform defines everything a little differently ... i.e. rdaddr vs. initrd_addr ... but they're really all just environment variables... usually.
21:30
so which environment variable it runs after loading uenvcmd ...
21:30
<gbaman>
Unknown command 'uenvcmd' - try 'help'
21:31
<vagrantc>
the simply adding somebootcommand=run uenvcmd
21:31
you need to "run" the env vars.
21:31
i.e. run uenvcmd
21:32
<gbaman>
U-Boot> run uenvcmd
21:32
## Error: "uenvcmd" not defined
21:32
<vagrantc>
ok, so it's not successfully importing uEnv.txt
21:33
load mmc 0:1 ${loadaddr} /uEnv.txt ; source ${loadaddr}
21:33
run uenvcmd
21:33
might work, on a good day.
21:34
<gbaman>
reading /uEnv.txt
21:34
1378 bytes read in 12 ms (111.3 KiB/s)
21:34
## Executing script at 01000000
21:34
Wrong image format for "source" command
21:34
<vagrantc>
oh right
21:34* vagrantc thinks a bit...
21:34
<gbaman>
I put an echo at the start of it and it didnt show up?
21:35
ohh wait, it hasnt actually even loaded the file yet
21:35
I understand now
21:39
<vagrantc>
right
21:39
it's loaded it into memory, but not into the u-boot environment
21:41
editenv foo<tab><tab> can give you a list of environment variables beginning with foo ... and printenv will print all environment variables
21:42
you could also try: editenv bootltsp
21:42
paste the boot line in
21:42
and saveenv
21:42
not sure if it works or not
21:43
gbaman: load mmc 0:1 $loadaddr /uEnv.txt ; env import -t $loadaddr $filesize
21:43
oh, right, boot scripts!
21:43
<gbaman>
it didnt complain with that one
21:44
run uenvcmd still didnt work
21:44
<vagrantc>
dhcp ${loadaddr} /ltsp/armhf/boot.scr ; source ${loadaddr}
21:44
<gbaman>
still not defined
21:44
<vagrantc>
odd.
21:45
so you could put the commands into a file and wrap them with mkimage and make a boot.scr to load them...
21:45
<gbaman>
back to the issue of IP address though
21:45
it cant find tftp server via DHCP
21:45
<vagrantc>
setenv serverip 1.2.3.4
21:46
<gbaman>
but we don't have a way to script that
21:46* vagrantc looks at the source code
21:47
<gbaman>
seeing as it is ignoring uEnv.txt?
21:47
<vagrantc>
have you tried saveenv
21:47
?
21:47
setenv foo bar ; saveenv
21:47
reset
21:47
editenv foo
21:47
?
21:48* vagrantc doesn't have much hope, but you never know
21:48
<gbaman>
Unknown command 'saveenv' - try 'help'
21:50
right, gota go, will try again tomorrow
21:50gbaman has left IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com, Remote host closed the connection)
21:57
<vagrantc>
ouch
21:57
well, it's a pretty rudimentary implementation
21:59calisto has joined IRC (calisto!~calisto@unaffiliated/calisto)
22:01gbaman has joined IRC (gbaman!~gbaman@host81-130-112-2.in-addr.btopenworld.com)
22:11Markus_123 has left IRC (Markus_123!~Markus123@194-166-101-134.adsl.highway.telekom.at, Quit: Leaving)
22:47vmlintu has left IRC (vmlintu!~vmlintu@nblzone-240-143.nblnetworks.fi, Ping timeout: 276 seconds)
23:03adrianorg has left IRC (adrianorg!~adrianorg@177.132.222.166, Ping timeout: 245 seconds)
23:05adrianorg has joined IRC (adrianorg!~adrianorg@177.132.220.213)
23:29adrianorg has left IRC (adrianorg!~adrianorg@177.132.220.213, Ping timeout: 245 seconds)
23:30Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Quit: Leaving.)
23:30adrianorg has joined IRC (adrianorg!~adrianorg@177.134.59.12)
23:47
<vagrantc>
gbaman: still haven't figured out how to set the default boot... but i'm getting closer
23:47
i've got a fairly simple boot process that works...
23:48
setenv serverip 192.168.67.1 ; run usb_init ; dhcp ${pxefile_addr_r} /ltsp/armel/default-arm-bcm2835 ; pxe boot
23:49
then the default-arm-bcm2835 just contains a few lines with the kernel, initrd, append in a syslinux-like format.
23:49
it even has a menu
23:55calisto has left IRC (calisto!~calisto@unaffiliated/calisto, Ping timeout: 276 seconds)