LinuxMCE Forums

General => Installation issues => Topic started by: brononius on September 13, 2012, 05:41:54 pm

Title: PC as Media Director (PXE)
Post by: brononius on September 13, 2012, 05:41:54 pm
Hey,

Is there somewhere a good manual/wiki that describe how to setup a media director?
Just bought a small and silent motherboard (MSI-E350I1-E45 (http://www.msi.com/product/mb/E350IA-E45.html)) for my livingroom.  No harddisk, only the motherboard and a DVD reader.

In LinuxMCE, i've added a Media Director, inserted the IP and MAC.
And waiting till the compilation is done.

When i now boot it PXEboot, everything boots well (in my eyes).
But it ends with a login prompt? With the 'hostname': Moon352.
I suspected a nice LinuxMCE orbiter screen or simular.

Did i do anything wrong? Or am I missing something?  :-\


ps for testing, i'm using a VGA connection instead of the HDMI output. But i suppose that this won't be an issue?
Title: Re: PC as Media Director (PXE)
Post by: Marie.O on September 13, 2012, 05:43:06 pm
Remove your MD device that you have created, quick reload your router, and just plug the board in. LinuxMCE automatically sets up everything for you, i.e. you do not need to add anything manually beforehand.
Title: Re: PC as Media Director (PXE)
Post by: brononius on September 13, 2012, 06:24:46 pm
I've done this, but then the MD (pc) doesn't boot cause missing image.
And LinuxMCE doesn't seem to pick up machine to do something with it...
Title: Re: PC as Media Director (PXE)
Post by: l3mce on September 13, 2012, 06:37:09 pm
I am assuming you did a network install. This is all embedded in the DVD install.

You need to undo whatever you have done and run sudo /usr/pluto/bin/Diskless_CreateTBZ.sh    then when you plug your media director in it will create the specific image for that device all automagic like.

Title: Re: PC as Media Director (PXE)
Post by: brononius on September 13, 2012, 06:55:16 pm
I've installed it from the DVD.

And when i run /usr/pluto/bin/Di...., it results in an error after a while:

Quote
Processing triggers for cracklib-runtime ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for ureadahead ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up lmce-windowutils (2.0.0.45.12081326353) ...

Setting up lmce-mythtv-scripts (2.0.0.45.12081326353) ...
Setting up pluto-mythtv-player (2.0.0.45.12081326353) ...
ssh: connect to host dcerouter port 22: Connection timed out
ERROR 2005 (HY000): Unknown MySQL server host 'pluto_main' (1)
ERROR 2003 (HY000): Can't connect to MySQL server on 'dcerouter' (110)
Waiting 3 seconds so that myth backed is able to actually create the schema
ERROR 2003 (HY000): Can't connect to MySQL server on 'dcerouter' (110)
ERROR 2003 (HY000): Can't connect to MySQL server on 'dcerouter' (110)
ERROR 2003 (HY000): Can't connect to MySQL server on 'dcerouter' (110)
Title: Re: PC as Media Director (PXE)
Post by: l3mce on September 13, 2012, 07:14:45 pm
/me sniffs


Smells like a networking problem.
Title: Re: PC as Media Director (PXE)
Post by: brononius on September 13, 2012, 07:29:00 pm
The script and database are running local (core)...
Not sure where i need to look for a network issue.

For the moment i`ve recreated manually the MD.
The core is building the image,  i'll try it once more that way...
Title: Re: PC as Media Director (PXE)
Post by: l3mce on September 13, 2012, 07:57:29 pm
Stop creating the MD manually. That isn't gonna work.

The reason I said that it seemed related to networking was "ssh: connect to host dcerouter port 22: Connection timed out" then a bunch of failures to connect to the db on the core. It is not sshing to itself... so I am confused what you are saying is happening.

Please run, as root, /usr/pluto/bin/Diskless_CreateTBZ.sh | tee > /var/log/dctbz.log
and get me that log please.
Title: Re: PC as Media Director (PXE)
Post by: phenigma on September 14, 2012, 12:15:29 am
I've installed it from the DVD.

And when i run /usr/pluto/bin/Di...., it results in an error after a while:


brononius: Is diskless_createtbz.sh finishing or stopping at this error?

This error will not prevent MD creation afaik.  This is an error at the time of creation of the mythtv_player within the diskless image chroot creation process.  The diskless image in the chroot is trying to contact the mysql server on the dcerouter, it cannot resolve the address.  afaik this is normal behaviour during the image creation, at least that is what is has been doing for me and I have no issues.  Again, this indicated error should not prevent the MD creation at all.  I've added raspbian image generation to this script and I have tested it *many* times here for ubuntu i386 diskless image creation and I have had no issues.

If you add an MD manually it will not have it's /usr/pluto/diskless/XX directory structure created for you automatically.  You can manually cause it to be created by selecting the MD in the webadmin and choosing "Rebuild Image".  But this should not be necessary, the system should be detecting it automatically.

Side note to L3, diskless_createtbz.sh already creates it's own log file of it's activity and displays the name of the log file when the script starts.  log_file=/var/log/pluto/Diskless_MD_Creation_$(date +%Y%m%d_%H%M%S).log

J.
Title: Re: PC as Media Director (PXE)
Post by: l3mce on September 14, 2012, 03:53:39 am
Yeah... don't know what I was thinking... thanks phenigma.


By the way bronius... do not upgrade until a new build can happen. A lot of things are broken atm with regard to display that will be resolved just as soon as a build can happen.
Title: Re: PC as Media Director (PXE)
Post by: brononius on September 14, 2012, 05:22:45 pm
brononius: Is diskless_createtbz.sh finishing or stopping at this error?

I was a bit impatient i think.   ::)

The error 'ERROR 2003 (HY000): Can't connect to MySQL server on 'dcerouter' (110)' needed to be about 20 times on my screen, and took about 15 minutes. After that, the installation went one without errors .

The end lines of the Diskless_CreateTBZ.sh:
Code: [Select]
Setting up lmce-plymouth-theme (2.0.0.45.12081326353) ...
update-alternatives: using /lib/plymouth/themes/LinuxMCE/LinuxMCE.plymouth to provide /lib/plymouth/themes/default.plymouth (default.plymouth) in auto mode.

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-42-generic
Fri Sep 14 07:42:21 CEST 2012 - Cleaning up from package installations...
Fri Sep 14 07:42:24 CEST 2012 - Creating the compressed tar image file, this will take up to 1 hour depending on your system...
Fri Sep 14 08:02:48 CEST 2012 - Building the initial initramfs and vmlinuz files for PXE booting
Fri Sep 14 08:03:00 CEST 2012 - Diskless media director image setup completed without a detected issue!



When i now start my pc, it takes a long time to load. About 20 minutes?
When the status bar is at the end i had following results:

Now trying again...I'll not give up...

ps i hope that this boot procedure will be faster once completed. Else i'll see to insert a HD. The media director needs to be fast!
Else my girlfriend won't be motivated to use it...  :-\
Title: Re: PC as Media Director (PXE)
Post by: JaseP on September 14, 2012, 07:37:23 pm
I don't know if this helps,... but that CPU (E-350) features an integrated Radeon HD 6310 GPU,...

PS: I found this;
http://forum.xbmc.org/showthread.php?tid=116996

Seems the XBMC folks have got this going as good as anyone...
Title: Re: PC as Media Director (PXE)
Post by: l3mce on September 14, 2012, 10:18:25 pm
There is a new snapshot. Please install from that. It is your best shot at 0/little config.

http://linuxmce.iptp.org/snapshots/LMCE-1004-20120914161926484.iso
Title: Re: PC as Media Director (PXE)
Post by: phenigma on September 14, 2012, 11:11:49 pm
I was a bit impatient i think.   ::)

The error 'ERROR 2003 (HY000): Can't connect to MySQL server on 'dcerouter' (110)' needed to be about 20 times on my screen, and took about 15 minutes. After that, the installation went one without errors .


I will look at this.  It doesn't take that long to fail connecting and continue on my systems but I'll see what its doing and determine if it needs to make the connection or not.

Also, your MD *should* boot at reasonable speed.  Install from the snapshot as L3mce suggests.

J.
Title: Re: PC as Media Director (PXE)
Post by: l3mce on September 15, 2012, 01:28:13 am
You will not need to run the TBZ file... and chances are everything will "just work". I would put those chances pretty high at the moment.
Title: Re: PC as Media Director (PXE)
Post by: phenigma on September 15, 2012, 04:04:16 am
You will not need to run the TBZ file... and chances are everything will "just work". I would put those chances pretty high at the moment.
Yes, I should have mentioned that, sorry L3mce.

The large delay and the ssh issue are networking issues, as L3mce indicated in a previous post.  The database connection errors are normal.

J.
Title: Re: PC as Media Director (PXE)
Post by: brononius on September 16, 2012, 10:08:59 am
Installing from the new snapshot means reinstalling the server (core)? That's something i want to avoid. The server is working perfectly for the moment, and i don't want to mess up the current config.  :-\

Beside that, i've done a 'rebuild image', and now the MD is booting correctly.
Not fast-fast, about 90 seconds. Is this a reasonable speed? Or should it be faster?

Only issue i've got is that GUI, i've got the standard orbiter screen. And I prefer a more MultiMedia screen for my home theater. But this should be a small setting somewhere, no? Baby steps...
Title: Re: PC as Media Director (PXE)
Post by: Marie.O on September 16, 2012, 10:23:05 am
90sec is about right. If you want to shorten this, try changing the "PowerOff mode" for the MD in web admin.

To change the UI from UI1 (with the big buttons) to UI2 (with the bottom menue and the popups, you need to re-run the AV Wizard. You can do so, by selecting "Video Res & Audio Setup" from the advanced screen of the orbiter.
Title: Re: PC as Media Director (PXE)
Post by: brononius on September 16, 2012, 11:39:39 am
selecting "Video Res & Audio Setup"

when i select this, the MD directly reboots. And comes back to the original UI.
Seems that the wizard doesn't want to come up...
Title: Re: PC as Media Director (PXE)
Post by: pw44 on September 16, 2012, 12:43:39 pm
when i select this, the MD directly reboots. And comes back to the original UI.
Seems that the wizard doesn't want to come up...

Same problem with UI here.

And the network delay is also too high. Rechecked cables, switches, interfaces, and all are ok, same used 5 days ago with lmce 8.10, when i decided to install 10.04.
Seems related to rsyslogd. I'm trying to find out what could be, but need to learn a lot of new configs, changed from kubuntu 8.10 to 10.04 LTS.

Title: Re: PC as Media Director (PXE)
Post by: Armor Gnome on September 16, 2012, 03:53:51 pm
Quote

Beside that, i've done a 'rebuild image', and now the MD is booting correctly.
Not fast-fast, about 90 seconds. Is this a reasonable speed? Or should it be faster?

Have you changed your power off settings of the Media Director from "H" to "S"?  I didn't see an option for that during my media director installation but I knew that equipment supported being woken from sleep.  This settings can be found in web-admin>media directors>near the bottom of the simple settings view.

With the MD set to sleep the wake up to U1 time is practically instant from an orbiter command. 
Title: Re: PC as Media Director (PXE)
Post by: l3mce on September 16, 2012, 05:15:38 pm
Ok... I need those having issues getting to avwizard to please confirm that cat /etc/pluto.conf  shows that AVWizardOverride = 1

This should not be happening...at all.

Then I need you to ls /var/log/pluto/AVWizard_Run* | wc -l
This will produce a number. I need you to reboot and when avwizard is skipped (presuming that the pluto.conf setting does indeed = 1) run the second command again and tell me if the number is the same or one greater. If it is one greater, please put the latest log here in code tags.

What I am trying to do is determine if avwizard is crashing before you can see it, or if it isn't being called somehow... some exit in some script somewhere killing it on condition.
Title: Re: PC as Media Director (PXE)
Post by: JaseP on September 16, 2012, 10:46:44 pm
My core/hybrid (the one without an xorg.conf) ... AVWizardOveride = 0
Again that machine is a 1004 net install, updated.

All other machines tested to date do run the AVwizard when the xorg.conf is missing.
Title: Re: PC as Media Director (PXE)
Post by: l3mce on September 16, 2012, 10:53:46 pm
And... phenigma has solved the enigma.


Those of you with no avwizard, I am willing to bet did network installs. Solution here:
http://forum.linuxmce.org/index.php/topic,12854.msg92507.html#msg92507
Title: Re: PC as Media Director (PXE)
Post by: brononius on September 17, 2012, 08:14:10 am
Ok... I need those having issues getting to avwizard to please confirm that cat /etc/pluto.conf  shows that AVWizardOverride = 1
Then I need you to ls /var/log/pluto/AVWizard_Run* | wc -l

The AVWizardOverride=0 in my case.
So i just replaced it with 1.

s@dcerouter:/usr/pluto/diskless/390$ more var/log/pluto/AVWizard_Run_20120917_080310.log | wc -l
Code: [Select]
299
And after a reboot
s@dcerouter:/usr/pluto/diskless/390$ more var/log/pluto/AVWizard_Run_20120917_081031.log | wc -l
Code: [Select]
299
But after the reboot, the AVWizardOverride is again 0?


Title: Re: PC as Media Director (PXE)
Post by: l3mce on September 17, 2012, 08:31:05 am
see above.

rm /etc/inittab
or if you are skurred mv /etc/inittab /home
reboot
Title: Re: PC as Media Director (PXE)
Post by: brononius on September 17, 2012, 04:43:34 pm
I don't have/find the inittab... :$

sudo locate inittab
Code: [Select]
/etc/webmin/inittab
/usr/lib/upstart/migrate-inittab.pl
/usr/pluto/diskless/390/usr/lib/upstart/migrate-inittab.pl
/usr/pluto/diskless/390/usr/share/man/man5/inittab.5.gz
/usr/pluto/diskless/390/usr/share/vim/vim72/syntax/inittab.vim
/usr/share/man/man5/inittab.5.gz
/usr/share/vim/vim72/syntax/inittab.vim
/usr/share/webmin/blue-theme/inittab
/usr/share/webmin/blue-theme/inittab/images
/usr/share/webmin/blue-theme/inittab/images/icon.gif
/usr/share/webmin/caldera/inittab
/usr/share/webmin/caldera/inittab/images
/usr/share/webmin/caldera/inittab/images/icon.gif
/usr/share/webmin/inittab
/usr/share/webmin/inittab/apply.cgi
/usr/share/webmin/inittab/backup_config.pl
/usr/share/webmin/inittab/CHANGELOG
/usr/share/webmin/inittab/config
/usr/share/webmin/inittab/config-solaris
/usr/share/webmin/inittab/config.info
/usr/share/webmin/inittab/config.info.ca
/usr/share/webmin/inittab/config.info.ca.UTF-8
/usr/share/webmin/inittab/config.info.cz
/usr/share/webmin/inittab/config.info.cz.UTF-8
/usr/share/webmin/inittab/config.info.de
/usr/share/webmin/inittab/config.info.de.UTF-8
/usr/share/webmin/inittab/config.info.es
/usr/share/webmin/inittab/config.info.es.UTF-8
/usr/share/webmin/inittab/config.info.fr
/usr/share/webmin/inittab/config.info.fr.UTF-8
/usr/share/webmin/inittab/config.info.ko_KR.euc
/usr/share/webmin/inittab/config.info.ko_KR.UTF-8
/usr/share/webmin/inittab/config.info.ms
/usr/share/webmin/inittab/config.info.ms.UTF-8
/usr/share/webmin/inittab/config.info.nl
/usr/share/webmin/inittab/config.info.nl.UTF-8
/usr/share/webmin/inittab/config.info.pl
/usr/share/webmin/inittab/config.info.pl.UTF-8
/usr/share/webmin/inittab/config.info.ru.UTF-8
/usr/share/webmin/inittab/config.info.ru_RU
/usr/share/webmin/inittab/config.info.ru_SU
/usr/share/webmin/inittab/config.info.sv
/usr/share/webmin/inittab/config.info.sv.UTF-8
/usr/share/webmin/inittab/config.info.tr
/usr/share/webmin/inittab/config.info.uk_UA
/usr/share/webmin/inittab/config.info.zh_CN
/usr/share/webmin/inittab/config.info.zh_CN.UTF-8
/usr/share/webmin/inittab/config.info.zh_TW.Big5
/usr/share/webmin/inittab/config.info.zh_TW.UTF-8
/usr/share/webmin/inittab/delete.cgi
/usr/share/webmin/inittab/edit_inittab.cgi
/usr/share/webmin/inittab/help
/usr/share/webmin/inittab/help/action.ca.html
/usr/share/webmin/inittab/help/action.ca.UTF-8.html
/usr/share/webmin/inittab/help/action.es.html
/usr/share/webmin/inittab/help/action.es.UTF-8.html
/usr/share/webmin/inittab/help/action.fr.html
/usr/share/webmin/inittab/help/action.fr.UTF-8.html
/usr/share/webmin/inittab/help/action.html
/usr/share/webmin/inittab/help/action.nl.html
/usr/share/webmin/inittab/help/action.nl.UTF-8.html
/usr/share/webmin/inittab/help/action.pl.html
/usr/share/webmin/inittab/help/action.pl.UTF-8.html
/usr/share/webmin/inittab/help/action.ru_RU.html
/usr/share/webmin/inittab/help/action.ru_SU.html
/usr/share/webmin/inittab/help/action.sv.html
/usr/share/webmin/inittab/help/action.sv.UTF-8.html
/usr/share/webmin/inittab/help/active.ca.html
/usr/share/webmin/inittab/help/active.ca.UTF-8.html
/usr/share/webmin/inittab/help/active.html
/usr/share/webmin/inittab/help/active.nl.html
/usr/share/webmin/inittab/help/active.nl.UTF-8.html
/usr/share/webmin/inittab/help/id.ca.html
/usr/share/webmin/inittab/help/id.ca.UTF-8.html
/usr/share/webmin/inittab/help/id.es.html
/usr/share/webmin/inittab/help/id.es.UTF-8.html
/usr/share/webmin/inittab/help/id.fr.html
/usr/share/webmin/inittab/help/id.fr.UTF-8.html
/usr/share/webmin/inittab/help/id.html
/usr/share/webmin/inittab/help/id.nl.html
/usr/share/webmin/inittab/help/id.nl.UTF-8.html
/usr/share/webmin/inittab/help/id.pl.html
/usr/share/webmin/inittab/help/id.pl.UTF-8.html
/usr/share/webmin/inittab/help/id.ru_RU.html
/usr/share/webmin/inittab/help/id.ru_SU.html
/usr/share/webmin/inittab/help/id.sv.html
/usr/share/webmin/inittab/help/id.sv.UTF-8.html
/usr/share/webmin/inittab/help/index.ca.html
/usr/share/webmin/inittab/help/index.ca.UTF-8.html
/usr/share/webmin/inittab/help/index.es.html
/usr/share/webmin/inittab/help/index.es.UTF-8.html
/usr/share/webmin/inittab/help/index.fr.html
/usr/share/webmin/inittab/help/index.fr.UTF-8.html
/usr/share/webmin/inittab/help/index.html
/usr/share/webmin/inittab/help/index.nl.html
/usr/share/webmin/inittab/help/index.nl.UTF-8.html
/usr/share/webmin/inittab/help/index.pl.html
/usr/share/webmin/inittab/help/index.pl.UTF-8.html
/usr/share/webmin/inittab/help/index.ru_RU.html
/usr/share/webmin/inittab/help/index.ru_SU.html
/usr/share/webmin/inittab/help/index.sv.html
/usr/share/webmin/inittab/help/index.sv.UTF-8.html
/usr/share/webmin/inittab/help/process.ca.html
/usr/share/webmin/inittab/help/process.ca.UTF-8.html
/usr/share/webmin/inittab/help/process.es.html
/usr/share/webmin/inittab/help/process.es.UTF-8.html
/usr/share/webmin/inittab/help/process.fr.html
/usr/share/webmin/inittab/help/process.fr.UTF-8.html
/usr/share/webmin/inittab/help/process.html
/usr/share/webmin/inittab/help/process.nl.html
/usr/share/webmin/inittab/help/process.nl.UTF-8.html
/usr/share/webmin/inittab/help/process.pl.html
/usr/share/webmin/inittab/help/process.pl.UTF-8.html
/usr/share/webmin/inittab/help/process.ru_RU.html
/usr/share/webmin/inittab/help/process.ru_SU.html
/usr/share/webmin/inittab/help/process.sv.html
/usr/share/webmin/inittab/help/process.sv.UTF-8.html
/usr/share/webmin/inittab/help/runlevels.ca.html
/usr/share/webmin/inittab/help/runlevels.ca.UTF-8.html
/usr/share/webmin/inittab/help/runlevels.es.html
/usr/share/webmin/inittab/help/runlevels.es.UTF-8.html
/usr/share/webmin/inittab/help/runlevels.fr.html
/usr/share/webmin/inittab/help/runlevels.fr.UTF-8.html
/usr/share/webmin/inittab/help/runlevels.html
/usr/share/webmin/inittab/help/runlevels.nl.html
/usr/share/webmin/inittab/help/runlevels.nl.UTF-8.html
/usr/share/webmin/inittab/help/runlevels.pl.html
/usr/share/webmin/inittab/help/runlevels.pl.UTF-8.html
/usr/share/webmin/inittab/help/runlevels.ru_RU.html
/usr/share/webmin/inittab/help/runlevels.ru_SU.html
/usr/share/webmin/inittab/help/runlevels.sv.html
/usr/share/webmin/inittab/help/runlevels.sv.UTF-8.html
/usr/share/webmin/inittab/images
/usr/share/webmin/inittab/images/icon.gif
/usr/share/webmin/inittab/images/smallicon.gif
/usr/share/webmin/inittab/index.cgi
/usr/share/webmin/inittab/inittab-lib.pl
/usr/share/webmin/inittab/install_check.pl
/usr/share/webmin/inittab/lang
/usr/share/webmin/inittab/lang/ca
/usr/share/webmin/inittab/lang/ca.UTF-8
/usr/share/webmin/inittab/lang/cz
/usr/share/webmin/inittab/lang/cz.UTF-8
/usr/share/webmin/inittab/lang/de
/usr/share/webmin/inittab/lang/de.UTF-8
/usr/share/webmin/inittab/lang/en
/usr/share/webmin/inittab/lang/es
/usr/share/webmin/inittab/lang/es.UTF-8
/usr/share/webmin/inittab/lang/fr
/usr/share/webmin/inittab/lang/fr.UTF-8
/usr/share/webmin/inittab/lang/ja_JP.euc
/usr/share/webmin/inittab/lang/ja_JP.UTF-8
/usr/share/webmin/inittab/lang/ko_KR.euc
/usr/share/webmin/inittab/lang/ko_KR.UTF-8
/usr/share/webmin/inittab/lang/ms
/usr/share/webmin/inittab/lang/ms.UTF-8
/usr/share/webmin/inittab/lang/nl
/usr/share/webmin/inittab/lang/nl.UTF-8
/usr/share/webmin/inittab/lang/pl
/usr/share/webmin/inittab/lang/pl.UTF-8
/usr/share/webmin/inittab/lang/ru.UTF-8
/usr/share/webmin/inittab/lang/ru_RU
/usr/share/webmin/inittab/lang/ru_SU
/usr/share/webmin/inittab/lang/sv
/usr/share/webmin/inittab/lang/sv.UTF-8
/usr/share/webmin/inittab/lang/tr
/usr/share/webmin/inittab/lang/uk_UA
/usr/share/webmin/inittab/lang/zh_CN
/usr/share/webmin/inittab/lang/zh_CN.UTF-8
/usr/share/webmin/inittab/lang/zh_TW.Big5
/usr/share/webmin/inittab/lang/zh_TW.UTF-8
/usr/share/webmin/inittab/log_parser.pl
/usr/share/webmin/inittab/module.info
/usr/share/webmin/inittab/save_inittab.cgi
/usr/share/webmin/mscstyle3/inittab
/usr/share/webmin/mscstyle3/inittab/images
/usr/share/webmin/mscstyle3/inittab/images/icon.gif
Title: Re: PC as Media Director (PXE)
Post by: l3mce on September 17, 2012, 06:14:19 pm
Well poop.

I was really hoping that was your issue.

Please:
Code: [Select]
sudo -i
pkill X
bash -x /etc/init.d/a0start_avwizard 2>&1 | tee > /var/log/pluto/avwiz_start.log

and put that here. Thank you.
Title: Re: PC as Media Director (PXE)
Post by: klanmce on September 18, 2012, 01:29:34 am
Have a via board, where the avwizard did not run, see file requested.

Not sure if issue is similar

Title: Re: PC as Media Director (PXE)
Post by: brononius on September 18, 2012, 07:45:09 am
Please:
Code: [Select]
sudo -i
pkill X
bash -x /etc/init.d/a0start_avwizard 2>&1 | tee > /var/log/pluto/avwiz_start.log

I suppose i need to do that on the MD itself?
I tried the wiki to ssh-login as root (http://wiki.linuxmce.org/index.php/Logging_In), but wasn't able. Password not matching somewhere...  :-[

So I've done it like this on the core (doubt if the result is good):
Code: [Select]
sudo bash -x /usr/pluto/diskless/390/etc/init.d/a0start_avwizard 2>&1 | tee > /usr/pluto/diskless/390/var/log/pluto/avwiz_start.log
/usr/pluto/diskless/390/var/log/pluto/avwiz_start.log
Code: [Select]
+ . /usr/pluto/bin/Utils.sh
++ [[ -n '' ]]
++ HEADER_Utils=included
++ . /usr/pluto/bin/SQL_Ops.sh
+++ [[ -n '' ]]
+++ HEADER_SQL_Ops=included
+++ . /usr/pluto/bin/Config_Ops.sh
++++ [[ -n '' ]]
++++ HEADER_Config_Ops=included
++++ NoSpace='s/ //g'
++++ LogSectionDelimiter='========== NEW LOG SECTION =========='
++++ ConfForbiddenNameChars='=\'
++++ ConfForbiddenValueChars=
++++ . /usr/pluto/bin/LockUtils.sh
+++++ [[ -n '' ]]
+++++ HEADER_LockUtils=included
+++++ Dir=/usr/pluto/locks
+++++ mkdir -p /usr/pluto/locks
++++ ConfEval
++++ local Ret=0
++++ WaitLock pluto.conf Config_Ops-ConfEval nolog
++++ local Lock=pluto.conf
++++ local Device=Config_Ops-ConfEval
++++ local NoLog=nolog
++++ [[ -z nolog ]]
++++ Lock pluto.conf Config_Ops-ConfEval nolog
++++ local Lock=pluto.conf
++++ local Device=Config_Ops-ConfEval
++++ local NoLog=nolog
++++ [[ -z nolog ]]
++++ [[ -z pluto.conf ]]
++++ ln -s /proc/23981-Config_Ops-ConfEval /usr/pluto/locks/pluto.conf
++++ [[ -z nolog ]]
++++ return 0
++++ [[ -z nolog ]]
++++ return 0
++++ unset Display
++++ [[ ! -e /etc/pluto.conf ]]
++++ read line
++++ line='#Plutoconfigfile'
++++ [[ #Plutoconfigfile == \#* ]]
++++ continue
++++ read line
++++ line=MySqlHost=localhost
++++ [[ MySqlHost=localhost == \#* ]]
++++ [[ MySqlHost=localhost == \/\/* ]]
++++ [[ MySqlHost=localhost == \;* ]]
++++ eval 'export MySqlHost=localhost'
++++ read line
++++ line=MySqlUser=root
++++ [[ MySqlUser=root == \#* ]]
++++ [[ MySqlUser=root == \/\/* ]]
++++ [[ MySqlUser=root == \;* ]]
++++ eval 'export MySqlUser=root'
++++ read line
++++ line=MySqlPassword=
++++ [[ MySqlPassword= == \#* ]]
++++ [[ MySqlPassword= == \/\/* ]]
++++ [[ MySqlPassword= == \;* ]]
++++ eval 'export MySqlPassword='
++++ read line
++++ line=MySqlDBName=pluto_main
++++ [[ MySqlDBName=pluto_main == \#* ]]
++++ [[ MySqlDBName=pluto_main == \/\/* ]]
++++ [[ MySqlDBName=pluto_main == \;* ]]
++++ eval 'export MySqlDBName=pluto_main'
++++ read line
++++ line=DCERouter=localhost
++++ [[ DCERouter=localhost == \#* ]]
++++ [[ DCERouter=localhost == \/\/* ]]
++++ [[ DCERouter=localhost == \;* ]]
++++ eval 'export DCERouter=localhost'
++++ read line
++++ line=MySqlPort=3306
++++ [[ MySqlPort=3306 == \#* ]]
++++ [[ MySqlPort=3306 == \/\/* ]]
++++ [[ MySqlPort=3306 == \;* ]]
++++ eval 'export MySqlPort=3306'
++++ read line
++++ line=DCERouterPort=3450
++++ [[ DCERouterPort=3450 == \#* ]]
++++ [[ DCERouterPort=3450 == \/\/* ]]
++++ [[ DCERouterPort=3450 == \;* ]]
++++ eval 'export DCERouterPort=3450'
++++ read line
++++ line=PK_Device=1
++++ [[ PK_Device=1 == \#* ]]
++++ [[ PK_Device=1 == \/\/* ]]
++++ [[ PK_Device=1 == \;* ]]
++++ eval 'export PK_Device=1'
++++ read line
++++ line=Activation_Code=1111
++++ [[ Activation_Code=1111 == \#* ]]
++++ [[ Activation_Code=1111 == \/\/* ]]
++++ [[ Activation_Code=1111 == \;* ]]
++++ eval 'export Activation_Code=1111'
++++ read line
++++ line=PK_Installation=1029915
++++ [[ PK_Installation=1029915 == \#* ]]
++++ [[ PK_Installation=1029915 == \/\/* ]]
++++ [[ PK_Installation=1029915 == \;* ]]
++++ eval 'export PK_Installation=1029915'
++++ read line
++++ line=PK_Users=1
++++ [[ PK_Users=1 == \#* ]]
++++ [[ PK_Users=1 == \/\/* ]]
++++ [[ PK_Users=1 == \;* ]]
++++ eval 'export PK_Users=1'
++++ read line
++++ line=PK_Distro=18
++++ [[ PK_Distro=18 == \#* ]]
++++ [[ PK_Distro=18 == \/\/* ]]
++++ [[ PK_Distro=18 == \;* ]]
++++ eval 'export PK_Distro=18'
++++ read line
++++ line=Display=0
++++ [[ Display=0 == \#* ]]
++++ [[ Display=0 == \/\/* ]]
++++ [[ Display=0 == \;* ]]
++++ eval 'export Display=0'
++++ read line
++++ line=SharedDesktop=1
++++ [[ SharedDesktop=1 == \#* ]]
++++ [[ SharedDesktop=1 == \/\/* ]]
++++ [[ SharedDesktop=1 == \;* ]]
++++ eval 'export SharedDesktop=1'
++++ read line
++++ line=OfflineMode=false
++++ [[ OfflineMode=false == \#* ]]
++++ [[ OfflineMode=false == \/\/* ]]
++++ [[ OfflineMode=false == \;* ]]
++++ eval 'export OfflineMode=false'
++++ read line
++++ line='#<-mkr_b_videowizard_b->'
++++ [[ #<-mkr_b_videowizard_b-> == \#* ]]
++++ continue
++++ read line
++++ line=UseVideoWizard=1
++++ [[ UseVideoWizard=1 == \#* ]]
++++ [[ UseVideoWizard=1 == \/\/* ]]
++++ [[ UseVideoWizard=1 == \;* ]]
++++ eval 'export UseVideoWizard=1'
++++ read line
++++ line='#<-mkr_b_videowizard_e->'
++++ [[ #<-mkr_b_videowizard_e-> == \#* ]]
++++ continue
++++ read line
++++ line=LogLevels=1,5,7,8,10
++++ [[ LogLevels=1,5,7,8,10 == \#* ]]
++++ [[ LogLevels=1,5,7,8,10 == \/\/* ]]
++++ [[ LogLevels=1,5,7,8,10 == \;* ]]
++++ eval 'export LogLevels=1,5,7,8,10'
++++ read line
++++ line='#ImmediatelyFlushLog=1'
++++ [[ #ImmediatelyFlushLog=1 == \#* ]]
++++ continue
++++ read line
++++ line=AutostartCore=1
++++ [[ AutostartCore=1 == \#* ]]
++++ [[ AutostartCore=1 == \/\/* ]]
++++ [[ AutostartCore=1 == \;* ]]
++++ eval 'export AutostartCore=1'
++++ read line
++++ line=AutostartMedia=1
++++ [[ AutostartMedia=1 == \#* ]]
++++ [[ AutostartMedia=1 == \/\/* ]]
++++ [[ AutostartMedia=1 == \;* ]]
++++ eval 'export AutostartMedia=1'
++++ read line
++++ line=FirstBoot=false
++++ [[ FirstBoot=false == \#* ]]
++++ [[ FirstBoot=false == \/\/* ]]
++++ [[ FirstBoot=false == \;* ]]
++++ eval 'export FirstBoot=false'
++++ read line
++++ line=AVWizardOverride=1
++++ [[ AVWizardOverride=1 == \#* ]]
++++ [[ AVWizardOverride=1 == \/\/* ]]
++++ [[ AVWizardOverride=1 == \;* ]]
++++ eval 'export AVWizardOverride=1'
++++ read line
++++ line=TimeZoneSet=1
++++ [[ TimeZoneSet=1 == \#* ]]
++++ [[ TimeZoneSet=1 == \/\/* ]]
++++ [[ TimeZoneSet=1 == \;* ]]
++++ eval 'export TimeZoneSet=1'
++++ read line
++++ line=AVWizardDone=1
++++ [[ AVWizardDone=1 == \#* ]]
++++ [[ AVWizardDone=1 == \/\/* ]]
++++ [[ AVWizardDone=1 == \;* ]]
++++ eval 'export AVWizardDone=1'
++++ read line
++++ line=DesktopActivated=1
++++ [[ DesktopActivated=1 == \#* ]]
++++ [[ DesktopActivated=1 == \/\/* ]]
++++ [[ DesktopActivated=1 == \;* ]]
++++ eval 'export DesktopActivated=1'
++++ read line
++++ line=LastSearchTokenUpdate=1347790951
++++ [[ LastSearchTokenUpdate=1347790951 == \#* ]]
++++ [[ LastSearchTokenUpdate=1347790951 == \/\/* ]]
++++ [[ LastSearchTokenUpdate=1347790951 == \;* ]]
++++ eval 'export LastSearchTokenUpdate=1347790951'
++++ read line
++++ line=DisableFirewall=0
++++ [[ DisableFirewall=0 == \#* ]]
++++ [[ DisableFirewall=0 == \/\/* ]]
++++ [[ DisableFirewall=0 == \;* ]]
++++ eval 'export DisableFirewall=0'
++++ read line
++++ line=DisableIPv6Firewall=0
++++ [[ DisableIPv6Firewall=0 == \#* ]]
++++ [[ DisableIPv6Firewall=0 == \/\/* ]]
++++ [[ DisableIPv6Firewall=0 == \;* ]]
++++ eval 'export DisableIPv6Firewall=0'
++++ read line
++++ line=DVDKeysCache=/home/.dvdcss
++++ [[ DVDKeysCache=/home/.dvdcss == \#* ]]
++++ [[ DVDKeysCache=/home/.dvdcss == \/\/* ]]
++++ [[ DVDKeysCache=/home/.dvdcss == \;* ]]
++++ eval 'export DVDKeysCache=/home/.dvdcss'
++++ read line
++++ line=PlutoVersion=2.0.0.45.12091426484
++++ [[ PlutoVersion=2.0.0.45.12091426484 == \#* ]]
++++ [[ PlutoVersion=2.0.0.45.12091426484 == \/\/* ]]
++++ [[ PlutoVersion=2.0.0.45.12091426484 == \;* ]]
++++ eval 'export PlutoVersion=2.0.0.45.12091426484'
++++ read line
++++ line=Bookmark_Media=4,5
++++ [[ Bookmark_Media=4,5 == \#* ]]
++++ [[ Bookmark_Media=4,5 == \/\/* ]]
++++ [[ Bookmark_Media=4,5 == \;* ]]
++++ eval 'export Bookmark_Media=4,5'
++++ read line
++++ line=RA_CheckRemotePort=1
++++ [[ RA_CheckRemotePort=1 == \#* ]]
++++ [[ RA_CheckRemotePort=1 == \/\/* ]]
++++ [[ RA_CheckRemotePort=1 == \;* ]]
++++ eval 'export RA_CheckRemotePort=1'
++++ read line
++++ line=RA_CheckRemotePort=0
++++ [[ RA_CheckRemotePort=0 == \#* ]]
++++ [[ RA_CheckRemotePort=0 == \/\/* ]]
++++ [[ RA_CheckRemotePort=0 == \;* ]]
++++ eval 'export RA_CheckRemotePort=0'
++++ read line
++++ line=RAport=22
++++ [[ RAport=22 == \#* ]]
++++ [[ RAport=22 == \/\/* ]]
++++ [[ RAport=22 == \;* ]]
++++ eval 'export RAport=22'
++++ read line
++++ Unlock pluto.conf Config_Ops-ConfEval nolog
++++ local Lock=pluto.conf
++++ local Device=Config_Ops-ConfEval
++++ local NoLog=nolog
++++ [[ -z nolog ]]
++++ [[ -z pluto.conf ]]
++++ rm -f /usr/pluto/locks/pluto.conf
++++ [[ -z nolog ]]
++++ return 0
++++ [[ -z pluto_main ]]
++++ [[ -z 0 ]]
++++ return 0
++++ PLUTO_DB_CRED=
++++ [[ -n localhost ]]
++++ PLUTO_DB_CRED=' -h localhost'
++++ [[ -n 3306 ]]
++++ PLUTO_DB_CRED=' -h localhost -P 3306'
++++ [[ -n root ]]
++++ PLUTO_DB_CRED=' -h localhost -P 3306 -u root'
++++ [[ -n '' ]]
+++++ builtin echo -h localhost -P 3306 -u root
++++ PLUTO_DB_CRED='-h localhost -P 3306 -u root'
++++ export PLUTO_DB_CRED
++++ MYSQL_DB_CRED=
++++ [[ -n localhost ]]
++++ MYSQL_DB_CRED=' -hlocalhost'
++++ [[ -n 3306 ]]
++++ MYSQL_DB_CRED=' -hlocalhost -P3306'
++++ [[ -n root ]]
++++ MYSQL_DB_CRED=' -hlocalhost -P3306 -uroot'
++++ [[ -n '' ]]
+++++ builtin echo -hlocalhost -P3306 -uroot
++++ MYSQL_DB_CRED='-hlocalhost -P3306 -uroot'
++++ export MYSQL_DB_CRED
++++ LMCE_DIRS='pictures audio documents videos games/MAME games/a2600 games/a2600p games/a5200 games/a5200p games/a7800 games/a7800p games/coleco games/intv games/sg1000 games/sms games/smspal games/nes games/famicom games/snes games/sn
espal games/genesis games/megadriv games/vectrex games/tg16 games/pce games/sgx games/apple2cp pvr'
++++ export LMCE_DIRS
++++ VGcmd=
++++ [[ -n '' ]]
++++ [[ -f /tmp/pluto.gdb ]]
++++ [[ -n '' ]]
++++ ulimit -c unlimited
++++ ulimit -n 4096
++++ shopt -s nullglob
++++ export HOME=/root
++++ HOME=/root
+++ CSQL_DIR=/var/run/SQL_Ops
+++ CSQL_ID=
+++ UseDB pluto_main
+++ SQL_DB=pluto_main
+++ [[ -z pluto_main ]]
++ . /usr/pluto/bin/Config_Ops.sh
+++ [[ -n included ]]
+++ return 0
++ DEVICETEMPLATE_OnScreen_Orbiter=62
++ DEVICEDATA_Use_OpenGL_effects=172
++ DEVICEDATA_Use_alpha_blended_UI=169
++ DEVICEDATA_PK_UI=104
+ '[' '' == status ']'
+ CheckVideoDriver
++ grep -w VGA
++ lspci -nn
+ vga_pci='01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV43 [GeForce 6610 XL] [10de:0145] (rev a2)'
+ FindVideoDriver
+ prop_driver=fbdev
++ echo '01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV43 [GeForce 6610 XL] [10de:0145] (rev a2)'
++ wc -l
+ gpus=1
+ [[ 1 -gt 1 ]]
++ echo '01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV43 [GeForce 6610 XL] [10de:0145] (rev a2)'
++ grep -Ewo '(\[1002|\[1106|\[10de|\[8086)'
+ chip_man='[10de'
+ case "$chip_man" in
+ prop_driver=nvidia
++ ping -c 2 google.com
+ online='PING google.com (173.194.65.139) 56(84) bytes of data.
64 bytes from ee-in-f139.1e100.net (173.194.65.139): icmp_seq=1 ttl=48 time=17.3 ms
64 bytes from ee-in-f139.1e100.net (173.194.65.139): icmp_seq=2 ttl=48 time=16.1 ms

--- google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 16.186/16.746/17.307/0.575 ms'
++ cut -d: -f3
++ echo '01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV43 [GeForce 6610 XL] [10de:0145] (rev a2)'
+ card_detail=' NVIDIA Corporation NV43 [GeForce 6610 XL] [10de'
+ offline_mismatch=false
+ online_mismatch=false
+ [[ -f /etc/X11/xorg.conf ]]
++ grep Driver /etc/X11/xorg.conf
++ grep -Eo '(nvidia|nouveau|radeon|fglrx|savage|openchrome|via|virge|intel|i740|i128|mach64|fbdev)'
+ cur_driver=nouveau
+ [[ nvidia != \n\o\u\v\e\a\u ]]
+ [[ -z PING google.com (173.194.65.139) 56(84) bytes of data.
64 bytes from ee-in-f139.1e100.net (173.194.65.139): icmp_seq=1 ttl=48 time=17.3 ms
64 bytes from ee-in-f139.1e100.net (173.194.65.139): icmp_seq=2 ttl=48 time=16.1 ms

--- google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 16.186/16.746/17.307/0.575 ms ]]
+ [[ nvidia != \n\o\u\v\e\a\u ]]
+ [[ -n PING google.com (173.194.65.139) 56(84) bytes of data.
64 bytes from ee-in-f139.1e100.net (173.194.65.139): icmp_seq=1 ttl=48 time=17.3 ms
64 bytes from ee-in-f139.1e100.net (173.194.65.139): icmp_seq=2 ttl=48 time=16.1 ms

--- google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 16.186/16.746/17.307/0.575 ms ]]
+ online_mismatch=true
+ [[ nvidia == \n\o\u\v\e\a\u ]]
+ [[ nouveau == \n\v\i\d\i\a ]]
+ [[ true == \t\r\u\e ]]
+ ErrorMessage 'Video chipset change detected !!!'
+ echo -e '\E[33;41m\033[1m  Video chipset change detected !!! \033[0m'
  Video chipset change detected !!!
+ [[ nouveau == \f\g\l\r\x ]]
+ [[ nouveau == \w\r\o\n\g\n\v ]]
+ [[ nouveau == \n\v\i\d\i\a ]]
+ [[ nouveau == \v\i\a ]]
+ StatusMessage 'Using video driver '\''nvidia'\'' for  NVIDIA Corporation NV43 [GeForce 6610 XL] [10de'
+ echo -e '\E[33;40m\033[1m  Using video driver '\''nvidia'\'' for  NVIDIA Corporation NV43 [GeForce 6610 XL] [10de \033[0m'
  Using video driver 'nvidia' for  NVIDIA Corporation NV43 [GeForce 6610 XL] [10de
+ ConfSet AVWizardOverride 1
+ local Ret=0
+ WaitLock pluto.conf Config_Ops-ConfSet nolog
+ local Lock=pluto.conf
+ local Device=Config_Ops-ConfSet
+ local NoLog=nolog
+ [[ -z nolog ]]
+ Lock pluto.conf Config_Ops-ConfSet nolog
+ local Lock=pluto.conf
+ local Device=Config_Ops-ConfSet
+ local NoLog=nolog
+ [[ -z nolog ]]
+ [[ -z pluto.conf ]]
+ ln -s /proc/23981-Config_Ops-ConfSet /usr/pluto/locks/pluto.conf
+ [[ -z nolog ]]
+ return 0
+ [[ -z nolog ]]
+ return 0
+ local Variable=AVWizardOverride Value=1
+ local EscVariable=AVWizardOverride EscValue=1
+ ConfValidValue AVWizardOverride Variable '=\'
+ return 0
+ ConfValidValue 1 Value ''
+ return 0
+ local 'Line=AVWizardOverride = 1'
+ local 'EscLine=AVWizardOverride = 1'
+ grep '^AVWizardOverride.*=' /etc/pluto.conf
+ sed -i 's/^AVWizardOverride.*=.*$/AVWizardOverride = 1/g' /etc/pluto.conf
+ eval 'export AVWizardOverride="1"'
+ Unlock pluto.conf Config_Ops-ConfSet nolog
+ local Lock=pluto.conf
+ local Device=Config_Ops-ConfSet
+ local NoLog=nolog
+ [[ -z nolog ]]
+ [[ -z pluto.conf ]]
+ rm -f /usr/pluto/locks/pluto.conf
+ [[ -z nolog ]]
+ return 0
+ return 0
+ InstallVideoDriver
++ lsb_release -c -s
+ distro=lucid
+ case "$prop_driver" in
+ PackageIsInstalled nvidia-glx
+ local Pkg=nvidia-glx
+ local RootFs=/
+ [[ -z nvidia-glx ]]
+ grep -q '^Status: install ok installed'
+ PackageStatus nvidia-glx /
+ local Pkg=nvidia-glx
+ local RootFs=/
+ [[ -z nvidia-glx ]]
+ dpkg --root=/ -s nvidia-glx
+ return 1
+ PackageIsInstalled nvidia-glx-new
+ local Pkg=nvidia-glx-new
+ local RootFs=/
+ [[ -z nvidia-glx-new ]]
+ grep -q '^Status: install ok installed'
+ PackageStatus nvidia-glx-new /
+ local Pkg=nvidia-glx-new
+ local RootFs=/
+ [[ -z nvidia-glx-new ]]
+ dpkg --root=/ -s nvidia-glx-new
+ return 1
+ PackageIsInstalled nvidia-glx-71
+ local Pkg=nvidia-glx-71
+ local RootFs=/
+ [[ -z nvidia-glx-71 ]]
+ PackageStatus nvidia-glx-71 /
+ local Pkg=nvidia-glx-71
+ local RootFs=/
+ [[ -z nvidia-glx-71 ]]
+ dpkg --root=/ -s nvidia-glx-71
+ grep -q '^Status: install ok installed'
+ return 1
+ PackageIsInstalled nvidia-glx-96
+ local Pkg=nvidia-glx-96
+ local RootFs=/
+ [[ -z nvidia-glx-96 ]]
+ grep -q '^Status: install ok installed'
+ PackageStatus nvidia-glx-96 /
+ local Pkg=nvidia-glx-96
+ local RootFs=/
+ [[ -z nvidia-glx-96 ]]
+ dpkg --root=/ -s nvidia-glx-96
+ return 1
+ PackageIsInstalled nvidia-glx-173
+ local Pkg=nvidia-glx-173
+ local RootFs=/
+ [[ -z nvidia-glx-173 ]]
+ PackageStatus nvidia-glx-173 /
+ local Pkg=nvidia-glx-173
+ local RootFs=/
+ [[ -z nvidia-glx-173 ]]
+ dpkg --root=/ -s nvidia-glx-173
+ grep -q '^Status: install ok installed'
+ return 1
+ PackageIsInstalled nvidia-glx-180
+ local Pkg=nvidia-glx-180
+ local RootFs=/
+ [[ -z nvidia-glx-180 ]]
+ grep -q '^Status: install ok installed'
+ PackageStatus nvidia-glx-180 /
+ local Pkg=nvidia-glx-180
+ local RootFs=/
+ [[ -z nvidia-glx-180 ]]
+ dpkg --root=/ -s nvidia-glx-180
+ return 1
+ PackageIsInstalled nvidia-glx-190
+ local Pkg=nvidia-glx-190
+ local RootFs=/
+ [[ -z nvidia-glx-190 ]]
+ PackageStatus nvidia-glx-190 /
+ grep -q '^Status: install ok installed'
+ local Pkg=nvidia-glx-190
+ local RootFs=/
+ [[ -z nvidia-glx-190 ]]
+ dpkg --root=/ -s nvidia-glx-190
+ return 1
+ PackageIsInstalled nvidia-glx-195
+ local Pkg=nvidia-glx-195
+ local RootFs=/
+ [[ -z nvidia-glx-195 ]]
+ grep -q '^Status: install ok installed'
+ PackageStatus nvidia-glx-195 /
+ local Pkg=nvidia-glx-195
+ local RootFs=/
+ [[ -z nvidia-glx-195 ]]
+ dpkg --root=/ -s nvidia-glx-195
+ return 1
+ PackageIsInstalled nvidia-glx-260
+ local Pkg=nvidia-glx-260
+ local RootFs=/
+ [[ -z nvidia-glx-260 ]]
+ PackageStatus nvidia-glx-260 /
+ local Pkg=nvidia-glx-260
+ local RootFs=/
+ [[ -z nvidia-glx-260 ]]
+ dpkg --root=/ -s nvidia-glx-260
+ grep -q '^Status: install ok installed'
+ return 0
+ PackageIsInstalled nvidia-glx-185
+ local Pkg=nvidia-glx-185
+ local RootFs=/
+ [[ -z nvidia-glx-185 ]]
+ PackageStatus nvidia-glx-185 /
+ grep -q '^Status: install ok installed'
+ local Pkg=nvidia-glx-185
+ local RootFs=/
+ [[ -z nvidia-glx-185 ]]
+ dpkg --root=/ -s nvidia-glx-185
+ return 1
+ PackageIsInstalled nvidia-current
+ local Pkg=nvidia-current
+ local RootFs=/
+ [[ -z nvidia-current ]]
+ grep -q '^Status: install ok installed'
+ PackageStatus nvidia-current /
+ local Pkg=nvidia-current
+ local RootFs=/
+ [[ -z nvidia-current ]]
+ dpkg --root=/ -s nvidia-current
+ return 0
+ apt-get -yf install pluto-nvidia-video-drivers
Reading package lists...
Building dependency tree...
Reading state information...
pluto-nvidia-video-drivers is already the newest version.
The following packages were automatically installed and are no longer required:
  libdmraid1.0.0.rc16 python-pyicu libaccess-bridge-java-jni
  libaccess-bridge-java libdebian-installer4 user-setup cryptsetup
  libecryptfs0 reiserfsprogs rdate dkms localechooser-data libiw30
  ecryptfs-utils screen-resolution-extra language-selector-common
  libdebconfclient0 dmraid python-xkit
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up lmce-eib-eibd (2.0.0.45.12091026461) ...
The system user `eib' already exists. Exiting.
restart: Unknown instance:
dpkg: error processing lmce-eib-eibd (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up snmpd (5.4.2.1~dfsg0ubuntu1-0ubuntu2.2) ...
make: Entering directory `/var/yp'
make[1]: Entering directory `/var/yp/pluto'
Updating netid.byname...
make[1]: Leaving directory `/var/yp/pluto'
make: Leaving directory `/var/yp'
userdel: user snmp is currently logged in
/usr/sbin/deluser: `/usr/sbin/userdel snmp' returned error code 8. Exiting.
dpkg: error processing snmpd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 lmce-eib-eibd
 snmpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
+ VerifyExitCode 'Install Pluto nVidia Driver'
+ local EXITCODE=100
+ '[' 100 '!=' 0 ']'
+ echo 'An error (Exit code 100) occured during the last action'
An error (Exit code 100) occured during the last action
+ echo 'Install Pluto nVidia Driver'
Install Pluto nVidia Driver
+ exit 1
Title: Re: PC as Media Director (PXE)
Post by: l3mce on September 18, 2012, 10:08:34 am
Bronius

Ok... well packages are breaking. In terminal please:

sudo dpkg --configure -a
sudo apt-get install lmce-eib-eibd snmpd
sudo apt-get install pluto-nvidia-video-drivers
sudo apt-get -f install

Not sure why your packages are breaking, but it is unrelated to my work. Feel free to drop into chat if the above commands do not work and someone can walk you through fixing it... this is a native OS problem. Your entire install may be futzed.
Title: Re: PC as Media Director (PXE)
Post by: brononius on September 18, 2012, 10:14:02 am
snmpd and eib package are giving the error since ages. Need to find the time to solve/check this. But everything is working as expected.
So i think this should/can be another discussion. Or can it be part of the UI issue of the MD? :-\


For the video driver, it's seems to be up to date?

sudo apt-get install pluto-nvidia-video-drivers
Code: [Select]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
pluto-nvidia-video-drivers is already the newest version.


Title: Re: PC as Media Director (PXE)
Post by: l3mce on September 18, 2012, 10:19:02 am
Have a via board, where the avwizard did not run, see file requested.

Not sure if issue is similar



That looks very much like avwizard ran. Are you sure that this came from the MD which did not run? Can you tell me more about the board? I also run some VIAs, and have written stuff in to support them specifically... so I would be disappointed if yours did not function.
Title: Re: PC as Media Director (PXE)
Post by: l3mce on September 18, 2012, 10:24:12 am
snmpd and eib package are giving the error since ages. Need to find the time to solve/check this. But everything is working as expected.
So i think this should/can be another discussion. Or can it be part of the UI issue of the MD? :-\


For the video driver, it's seems to be up to date?

sudo apt-get install pluto-nvidia-video-drivers
Code: [Select]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
pluto-nvidia-video-drivers is already the newest version.

Yes, it is breaking the video setup. The broken packages are causing an exit 1 which is an error exit, breaking the parent scripts trying to run avwiz. That is the problem.
Title: Re: PC as Media Director (PXE)
Post by: brononius on September 18, 2012, 02:44:40 pm
Okay, The problems are solved/bypassed:


And when i run now the star_avwizard...

sudo bash -x /usr/pluto/diskless/390/etc/init.d/a0start_avwizard 2>&1 | tee > /usr/pluto/diskless/390/var/log/pluto/avwiz_start.log
sudo more /usr/pluto/diskless/390/var/log/pluto/avwiz_start.log
Code: [Select]
+ . /usr/pluto/bin/Utils.sh
++ [[ -n '' ]]
++ HEADER_Utils=included
++ . /usr/pluto/bin/SQL_Ops.sh
+++ [[ -n '' ]]
+++ HEADER_SQL_Ops=included
+++ . /usr/pluto/bin/Config_Ops.sh
++++ [[ -n '' ]]
++++ HEADER_Config_Ops=included
++++ NoSpace='s/ //g'
++++ LogSectionDelimiter='========== NEW LOG SECTION =========='
++++ ConfForbiddenNameChars='=\'
++++ ConfForbiddenValueChars=
++++ . /usr/pluto/bin/LockUtils.sh
+++++ [[ -n '' ]]
+++++ HEADER_LockUtils=included
+++++ Dir=/usr/pluto/locks
+++++ mkdir -p /usr/pluto/locks
++++ ConfEval
++++ local Ret=0
++++ WaitLock pluto.conf Config_Ops-ConfEval nolog
++++ local Lock=pluto.conf
++++ local Device=Config_Ops-ConfEval
++++ local NoLog=nolog
++++ [[ -z nolog ]]
++++ Lock pluto.conf Config_Ops-ConfEval nolog
++++ local Lock=pluto.conf
++++ local Device=Config_Ops-ConfEval
++++ local NoLog=nolog
++++ [[ -z nolog ]]
++++ [[ -z pluto.conf ]]
++++ ln -s /proc/12676-Config_Ops-ConfEval /usr/pluto/locks/pluto.conf
++++ [[ -z nolog ]]
++++ return 0
++++ [[ -z nolog ]]
++++ return 0
++++ unset Display
++++ [[ ! -e /etc/pluto.conf ]]
++++ read line
++++ line='#Plutoconfigfile'
++++ [[ #Plutoconfigfile == \#* ]]
++++ continue
++++ read line
++++ line=MySqlHost=localhost
++++ [[ MySqlHost=localhost == \#* ]]
++++ [[ MySqlHost=localhost == \/\/* ]]
++++ [[ MySqlHost=localhost == \;* ]]
++++ eval 'export MySqlHost=localhost'
++++ read line
++++ line=MySqlUser=root
++++ [[ MySqlUser=root == \#* ]]
++++ [[ MySqlUser=root == \/\/* ]]
++++ [[ MySqlUser=root == \;* ]]
++++ eval 'export MySqlUser=root'
++++ read line
++++ line=MySqlPassword=
++++ [[ MySqlPassword= == \#* ]]
++++ [[ MySqlPassword= == \/\/* ]]
++++ [[ MySqlPassword= == \;* ]]
++++ eval 'export MySqlPassword='
++++ read line
++++ line=MySqlDBName=pluto_main
++++ [[ MySqlDBName=pluto_main == \#* ]]
++++ [[ MySqlDBName=pluto_main == \/\/* ]]
++++ [[ MySqlDBName=pluto_main == \;* ]]
++++ eval 'export MySqlDBName=pluto_main'
++++ read line
++++ line=DCERouter=localhost
++++ [[ DCERouter=localhost == \#* ]]
++++ [[ DCERouter=localhost == \/\/* ]]
++++ [[ DCERouter=localhost == \;* ]]
++++ eval 'export DCERouter=localhost'
++++ read line
++++ line=MySqlPort=3306
++++ [[ MySqlPort=3306 == \#* ]]
++++ [[ MySqlPort=3306 == \/\/* ]]
++++ [[ MySqlPort=3306 == \;* ]]
++++ eval 'export MySqlPort=3306'
++++ read line
++++ line=DCERouterPort=3450
++++ [[ DCERouterPort=3450 == \#* ]]
++++ [[ DCERouterPort=3450 == \/\/* ]]
++++ [[ DCERouterPort=3450 == \;* ]]
++++ eval 'export DCERouterPort=3450'
++++ read line
++++ line=PK_Device=1
++++ [[ PK_Device=1 == \#* ]]
++++ [[ PK_Device=1 == \/\/* ]]
++++ [[ PK_Device=1 == \;* ]]
++++ eval 'export PK_Device=1'
++++ read line
++++ line=Activation_Code=1111
++++ [[ Activation_Code=1111 == \#* ]]
++++ [[ Activation_Code=1111 == \/\/* ]]
++++ [[ Activation_Code=1111 == \;* ]]
++++ eval 'export Activation_Code=1111'
++++ read line
++++ line=PK_Installation=1029915
++++ [[ PK_Installation=1029915 == \#* ]]
++++ [[ PK_Installation=1029915 == \/\/* ]]
++++ [[ PK_Installation=1029915 == \;* ]]
++++ eval 'export PK_Installation=1029915'
++++ read line
++++ line=PK_Users=1
++++ [[ PK_Users=1 == \#* ]]
++++ [[ PK_Users=1 == \/\/* ]]
++++ [[ PK_Users=1 == \;* ]]
++++ eval 'export PK_Users=1'
++++ read line
++++ line=PK_Distro=18
++++ [[ PK_Distro=18 == \#* ]]
++++ [[ PK_Distro=18 == \/\/* ]]
++++ [[ PK_Distro=18 == \;* ]]
++++ eval 'export PK_Distro=18'
++++ read line
++++ line=Display=0
++++ [[ Display=0 == \#* ]]
++++ [[ Display=0 == \/\/* ]]
++++ [[ Display=0 == \;* ]]
++++ eval 'export Display=0'
++++ read line
++++ line=SharedDesktop=1
++++ [[ SharedDesktop=1 == \#* ]]
++++ [[ SharedDesktop=1 == \/\/* ]]
++++ [[ SharedDesktop=1 == \;* ]]
++++ eval 'export SharedDesktop=1'
++++ read line
++++ line=OfflineMode=false
++++ [[ OfflineMode=false == \#* ]]
++++ [[ OfflineMode=false == \/\/* ]]
++++ [[ OfflineMode=false == \;* ]]
++++ eval 'export OfflineMode=false'
++++ read line
++++ line='#<-mkr_b_videowizard_b->'
++++ [[ #<-mkr_b_videowizard_b-> == \#* ]]
++++ continue
++++ read line
++++ line=UseVideoWizard=1
++++ [[ UseVideoWizard=1 == \#* ]]
++++ [[ UseVideoWizard=1 == \/\/* ]]
++++ [[ UseVideoWizard=1 == \;* ]]
++++ eval 'export UseVideoWizard=1'
++++ read line
++++ line='#<-mkr_b_videowizard_e->'
++++ [[ #<-mkr_b_videowizard_e-> == \#* ]]
++++ continue
++++ read line
++++ line=LogLevels=1,5,7,8,10
++++ [[ LogLevels=1,5,7,8,10 == \#* ]]
++++ [[ LogLevels=1,5,7,8,10 == \/\/* ]]
++++ [[ LogLevels=1,5,7,8,10 == \;* ]]
++++ eval 'export LogLevels=1,5,7,8,10'
++++ read line
++++ line='#ImmediatelyFlushLog=1'
++++ [[ #ImmediatelyFlushLog=1 == \#* ]]
++++ continue
++++ read line
++++ line=AutostartCore=1
++++ [[ AutostartCore=1 == \#* ]]
++++ [[ AutostartCore=1 == \/\/* ]]
++++ [[ AutostartCore=1 == \;* ]]
++++ eval 'export AutostartCore=1'
++++ read line
++++ line=AutostartMedia=1
++++ [[ AutostartMedia=1 == \#* ]]
++++ [[ AutostartMedia=1 == \/\/* ]]
++++ [[ AutostartMedia=1 == \;* ]]
++++ eval 'export AutostartMedia=1'
++++ read line
++++ line=FirstBoot=false
++++ [[ FirstBoot=false == \#* ]]
++++ [[ FirstBoot=false == \/\/* ]]
++++ [[ FirstBoot=false == \;* ]]
++++ eval 'export FirstBoot=false'
++++ read line
++++ line=AVWizardOverride=0
++++ [[ AVWizardOverride=0 == \#* ]]
++++ [[ AVWizardOverride=0 == \/\/* ]]
++++ [[ AVWizardOverride=0 == \;* ]]
++++ eval 'export AVWizardOverride=0'
++++ read line
++++ line=TimeZoneSet=1
++++ [[ TimeZoneSet=1 == \#* ]]
++++ [[ TimeZoneSet=1 == \/\/* ]]
++++ [[ TimeZoneSet=1 == \;* ]]
++++ eval 'export TimeZoneSet=1'
++++ read line
++++ line=AVWizardDone=1
++++ [[ AVWizardDone=1 == \#* ]]
++++ [[ AVWizardDone=1 == \/\/* ]]
++++ [[ AVWizardDone=1 == \;* ]]
++++ eval 'export AVWizardDone=1'
++++ read line
++++ line=DesktopActivated=1
++++ [[ DesktopActivated=1 == \#* ]]
++++ [[ DesktopActivated=1 == \/\/* ]]
++++ [[ DesktopActivated=1 == \;* ]]
++++ eval 'export DesktopActivated=1'
++++ read line
++++ line=LastSearchTokenUpdate=1347790951
++++ [[ LastSearchTokenUpdate=1347790951 == \#* ]]
++++ [[ LastSearchTokenUpdate=1347790951 == \/\/* ]]
++++ [[ LastSearchTokenUpdate=1347790951 == \;* ]]
++++ eval 'export LastSearchTokenUpdate=1347790951'
++++ read line
++++ line=DisableFirewall=0
++++ [[ DisableFirewall=0 == \#* ]]
++++ [[ DisableFirewall=0 == \/\/* ]]
++++ [[ DisableFirewall=0 == \;* ]]
++++ eval 'export DisableFirewall=0'
++++ read line
++++ line=DisableIPv6Firewall=0
++++ [[ DisableIPv6Firewall=0 == \#* ]]
++++ [[ DisableIPv6Firewall=0 == \/\/* ]]
++++ [[ DisableIPv6Firewall=0 == \;* ]]
++++ eval 'export DisableIPv6Firewall=0'
++++ read line
++++ line=DVDKeysCache=/home/.dvdcss
++++ [[ DVDKeysCache=/home/.dvdcss == \#* ]]
++++ [[ DVDKeysCache=/home/.dvdcss == \/\/* ]]
++++ [[ DVDKeysCache=/home/.dvdcss == \;* ]]
++++ eval 'export DVDKeysCache=/home/.dvdcss'
++++ read line
++++ line=PlutoVersion=2.0.0.45.12091426484
++++ [[ PlutoVersion=2.0.0.45.12091426484 == \#* ]]
++++ [[ PlutoVersion=2.0.0.45.12091426484 == \/\/* ]]
++++ [[ PlutoVersion=2.0.0.45.12091426484 == \;* ]]
++++ eval 'export PlutoVersion=2.0.0.45.12091426484'
++++ read line
++++ line=Bookmark_Media=4,5
++++ [[ Bookmark_Media=4,5 == \#* ]]
++++ [[ Bookmark_Media=4,5 == \/\/* ]]
++++ [[ Bookmark_Media=4,5 == \;* ]]
++++ eval 'export Bookmark_Media=4,5'
++++ read line
++++ line=RA_CheckRemotePort=1
++++ [[ RA_CheckRemotePort=1 == \#* ]]
++++ [[ RA_CheckRemotePort=1 == \/\/* ]]
++++ [[ RA_CheckRemotePort=1 == \;* ]]
++++ eval 'export RA_CheckRemotePort=1'
++++ read line
++++ line=RA_CheckRemotePort=0
++++ [[ RA_CheckRemotePort=0 == \#* ]]
++++ [[ RA_CheckRemotePort=0 == \/\/* ]]
++++ [[ RA_CheckRemotePort=0 == \;* ]]
++++ eval 'export RA_CheckRemotePort=0'
++++ read line
++++ line=RAport=22
++++ [[ RAport=22 == \#* ]]
++++ [[ RAport=22 == \/\/* ]]
++++ [[ RAport=22 == \;* ]]
++++ eval 'export RAport=22'
++++ read line
++++ Unlock pluto.conf Config_Ops-ConfEval nolog
++++ local Lock=pluto.conf
++++ local Device=Config_Ops-ConfEval
++++ local NoLog=nolog
++++ [[ -z nolog ]]
++++ [[ -z pluto.conf ]]
++++ rm -f /usr/pluto/locks/pluto.conf
++++ [[ -z nolog ]]
++++ return 0
++++ [[ -z pluto_main ]]
++++ [[ -z 0 ]]
++++ return 0
++++ PLUTO_DB_CRED=
++++ [[ -n localhost ]]
++++ PLUTO_DB_CRED=' -h localhost'
++++ [[ -n 3306 ]]
++++ PLUTO_DB_CRED=' -h localhost -P 3306'
++++ [[ -n root ]]
++++ PLUTO_DB_CRED=' -h localhost -P 3306 -u root'
++++ [[ -n '' ]]
+++++ builtin echo -h localhost -P 3306 -u root
++++ PLUTO_DB_CRED='-h localhost -P 3306 -u root'
++++ export PLUTO_DB_CRED
++++ MYSQL_DB_CRED=
++++ [[ -n localhost ]]
++++ MYSQL_DB_CRED=' -hlocalhost'
++++ [[ -n 3306 ]]
++++ MYSQL_DB_CRED=' -hlocalhost -P3306'
++++ [[ -n root ]]
++++ MYSQL_DB_CRED=' -hlocalhost -P3306 -uroot'
++++ [[ -n '' ]]
+++++ builtin echo -hlocalhost -P3306 -uroot
++++ MYSQL_DB_CRED='-hlocalhost -P3306 -uroot'
++++ export MYSQL_DB_CRED
++++ LMCE_DIRS='pictures audio documents videos games/MAME games/a2600 games/a2600p games/a5200 games/a5200p games/a7800 games/a7800p games/coleco games/intv games/sg1000 games/sms games/smspal games/nes games/famicom games/snes games/s
nespal games/genesis games/megadriv games/vectrex games/tg16 games/pce games/sgx games/apple2cp pvr'
++++ export LMCE_DIRS
++++ VGcmd=
++++ [[ -n '' ]]
++++ [[ -f /tmp/pluto.gdb ]]
++++ [[ -n '' ]]
++++ ulimit -c unlimited
++++ ulimit -n 4096
++++ shopt -s nullglob
++++ export HOME=/root
++++ HOME=/root
+++ CSQL_DIR=/var/run/SQL_Ops
+++ CSQL_ID=
+++ UseDB pluto_main
+++ SQL_DB=pluto_main
+++ [[ -z pluto_main ]]
++ . /usr/pluto/bin/Config_Ops.sh
+++ [[ -n included ]]
+++ return 0
++ DEVICETEMPLATE_OnScreen_Orbiter=62
++ DEVICEDATA_Use_OpenGL_effects=172
++ DEVICEDATA_Use_alpha_blended_UI=169
++ DEVICEDATA_PK_UI=104
+ '[' '' == status ']'
+ CheckVideoDriver
++ grep -w VGA
++ lspci -nn
+ vga_pci='01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV43 [GeForce 6610 XL] [10de:0145] (rev a2)'
+ FindVideoDriver
+ prop_driver=fbdev
++ echo '01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV43 [GeForce 6610 XL] [10de:0145] (rev a2)'
++ wc -l
+ gpus=1
+ [[ 1 -gt 1 ]]
++ grep -Ewo '(\[1002|\[1106|\[10de|\[8086)'
++ echo '01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV43 [GeForce 6610 XL] [10de:0145] (rev a2)'
+ chip_man='[10de'
+ case "$chip_man" in
+ prop_driver=nvidia
++ ping -c 2 google.com
+ online='PING google.com (173.194.65.101) 56(84) bytes of data.
64 bytes from ee-in-f101.1e100.net (173.194.65.101): icmp_seq=1 ttl=48 time=15.8 ms
64 bytes from ee-in-f101.1e100.net (173.194.65.101): icmp_seq=2 ttl=48 time=16.8 ms

--- google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 15.819/16.357/16.895/0.538 ms'
++ echo '01:00.0 VGA compatible controller [0300]: NVIDIA Corporation NV43 [GeForce 6610 XL] [10de:0145] (rev a2)'
++ cut -d: -f3
+ card_detail=' NVIDIA Corporation NV43 [GeForce 6610 XL] [10de'
+ offline_mismatch=false
+ online_mismatch=false
+ [[ -f /etc/X11/xorg.conf ]]
++ grep -Eo '(nvidia|nouveau|radeon|fglrx|savage|openchrome|via|virge|intel|i740|i128|mach64|fbdev)'
++ grep Driver /etc/X11/xorg.conf
+ cur_driver=nvidia
+ [[ nvidia != \n\v\i\d\i\a ]]
+ [[ nvidia != \n\v\i\d\i\a ]]
+ [[ nvidia == \n\v\i\d\i\a ]]
+ [[ nvidia == \n\v\i\d\i\a ]]
+ [[ -n PING google.com (173.194.65.101) 56(84) bytes of data.
64 bytes from ee-in-f101.1e100.net (173.194.65.101): icmp_seq=1 ttl=48 time=15.8 ms
64 bytes from ee-in-f101.1e100.net (173.194.65.101): icmp_seq=2 ttl=48 time=16.8 ms

--- google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 15.819/16.357/16.895/0.538 ms ]]
+ StartService 'Checking nVidia driver' '. /usr/pluto/bin/nvidia-install.sh'
+ ServiceDescription='Checking nVidia driver'
+ ServiceCmd='. /usr/pluto/bin/nvidia-install.sh'
+ ServiceBkg=
++ echo . /usr/pluto/bin/nvidia-install.sh
++ cut -d ' ' -f1
+ [[ -x . ]]
+ '[' -x /bin/plymouth ']'
+ /bin/plymouth update '--status=Checking nVidia driver ... '
+ :
+ echo -n 'Checking nVidia driver ... '
Checking nVidia driver ... + [[ '' == \& ]]
+ . /usr/pluto/bin/nvidia-install.sh
+ err=0
+ [[ 0 == \0 ]]
+ echo ok
ok
+ return 0
++ getInstalledNvidiaDriver
+ current_nvidia=nvidia-glx-260
++ getPreferredNvidiaDriver
+++ getPCI_ID
++++ sed 's/.*://;s/\].*//'
++++ grep -w VGA
++++ lspci -nn
+++ vga_pci=0145
++++ sort -u
++++ wc -l
++++ echo 0145
+++ gpus=1
+++ [[ 1 -gt 1 ]]
+++ echo 0145
++ PCI_ID=0145
+++ lsb_release -c -s
++ DISTRO=lucid
++ case " $DRIVER_295_SUPPORTED " in
++ case " $DRIVER_260_SUPPORTED " in
++ echo nvidia-glx-260
++ return 1
+ preferred_nvidia=nvidia-glx-260
+ [[ nvidia-glx-260 != \n\v\i\d\i\a\-\g\l\x\-\2\6\0 ]]
+ [[ nvidia == \n\v\i\d\i\a ]]
+ StatusMessage 'Correct driver '\''nvidia'\'' already loaded'
+ echo -e '\E[33;40m\033[1m  Correct driver '\''nvidia'\'' already loaded \033[0m'
  Correct driver 'nvidia' already loaded
+ return 0
+ CheckAVWizard
+ [[ 0 == \1 ]]
+ [[ 1 != \1 ]]
+ killall WatchGyroRemote
+ beep -l 50 -f 1000 -n -l 50 -f 1200 -n -l 50 -f 1400 -n -l 50 -f 1600 -n -l 50 -f 1800 -n -l 50 -f 2000 -n -l 50 -f 2200

But when i go on the MD towards 'More' > 'Advanced Options' > 'Video Res & Audio Setup', it reboots directly...
Just a nice screen 'going to reboot', and he's gone...
Title: Re: PC as Media Director (PXE)
Post by: klanmce on September 18, 2012, 03:39:11 pm
I need a thump on my head, I am totally off topic then, its not the avwizard, its the video and audio setup screen that did not come up.

Relaunching from the orbitor on the MD, provides not success.
Title: Re: PC as Media Director (PXE)
Post by: l3mce on September 18, 2012, 04:10:50 pm
To be clear the AVWizard is the Audio Video setup wizard. It is green and white.
http://wiki.linuxmce.org/index.php/AV_Wizard_Step_by_Step

In order to open the AVWizard, the system must reboot. What this button does, essentially, is set AVWizardOverride = 1 in /etc/pluto.conf and reboots the system.
/etc/init.d/a0start_avwizard  checks the video hardware, and the installed driver to make sure they are correct, and then checks the state of the /etc/pluto.conf file to see if EITHER AVWizardOverride = 1 OR AVWizardDone = 0. The latter parameter indicates that AVWizard has never run. If either of these conditions are set repspectively, this file launches AVWizard.

Other things that will launch avwizard are the script /usr/pluto/bin/RebootWithAVWizard, or a missing /etc/X11/xorg.conf file.
Title: Re: PC as Media Director (PXE)
Post by: klanmce on September 18, 2012, 07:17:38 pm
Ok, understood

On checking last night, there was no xorg.conf in /etc/X11 (this is on the MD) and will re-verify when I reach home again.

Based on the link, then yes the avwizard did not run, as I did not get the section 1 of that page, that allows setting the connector, resolution and audio, the MD booted straight into Sarah.

Found it strange as it worked for my other two (2) MD's
Title: Re: PC as Media Director (PXE)
Post by: l3mce on September 18, 2012, 08:34:03 pm
I need to see the output of lspci -nn | grep VGA

I would also like you to follow the steps above so I can see what is happening that is killing avwizard.
Code: [Select]
sudo -i
pkill X
lspci -nn | grep VGA
ls /etc/inittab
bash -x /etc/init.d/a0start_avwizard 2>&1 | tee > /var/log/pluto/avwiz_start.log
cat /var/log/pluto/avwiz_start.log

Please paste all that output here starting with the lspci. Thanks
Title: Re: PC as Media Director (PXE)
Post by: klanmce on September 19, 2012, 12:03:56 am
root@moon62:~# pkill X
root@moon62:~# lspci -nn |grep VGA
01:00.0 VGA compatible controller [0300]: VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC] [1106:3371] (rev 01)
root@moon62:~#
root@moon62:~# ls /etc/inittab
ls: cannot access /etc/inittab: No such file or directory

Title: Re: PC as Media Director (PXE)
Post by: brononius on September 19, 2012, 07:58:44 am
In my case:


Code: [Select]
root@moon390:~# sudo -i
root@moon390:~# pkill x
root@moon390:~# lspci -nn | grep VGA
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310] [1002:9802]
root@moon390:~# ls /etc/inittab
ls: cannot access /etc/inittab: No such file or directory
root@moon390:~# bash -x /etc/init.d/a0start_avwizard 2>&1 | tee > /var/log/pluto/avwiz_start.log
root@moon390:~# cat /var/log/pluto/avwiz_start.log


+ . /usr/pluto/bin/Utils.sh
++ [[ -n '' ]]
++ HEADER_Utils=included
++ . /usr/pluto/bin/SQL_Ops.sh
+++ [[ -n '' ]]
+++ HEADER_SQL_Ops=included
+++ . /usr/pluto/bin/Config_Ops.sh
++++ [[ -n '' ]]
++++ HEADER_Config_Ops=included
++++ NoSpace='s/ //g'
++++ LogSectionDelimiter='========== NEW LOG SECTION =========='
++++ ConfForbiddenNameChars='=\'
++++ ConfForbiddenValueChars=
++++ . /usr/pluto/bin/LockUtils.sh
+++++ [[ -n '' ]]
+++++ HEADER_LockUtils=included
+++++ Dir=/usr/pluto/locks
+++++ mkdir -p /usr/pluto/locks
++++ ConfEval
++++ local Ret=0
++++ WaitLock pluto.conf Config_Ops-ConfEval nolog
++++ local Lock=pluto.conf
++++ local Device=Config_Ops-ConfEval
++++ local NoLog=nolog
++++ [[ -z nolog ]]
++++ Lock pluto.conf Config_Ops-ConfEval nolog
++++ local Lock=pluto.conf
++++ local Device=Config_Ops-ConfEval
++++ local NoLog=nolog
++++ [[ -z nolog ]]
++++ [[ -z pluto.conf ]]
++++ ln -s /proc/2964-Config_Ops-ConfEval /usr/pluto/locks/pluto.conf
++++ [[ -z nolog ]]
++++ return 0
++++ [[ -z nolog ]]
++++ return 0
++++ unset Display
++++ [[ ! -e /etc/pluto.conf ]]
++++ read line
++++ line=OfflineMode=false
++++ [[ OfflineMode=false == \#* ]]
++++ [[ OfflineMode=false == \/\/* ]]
++++ [[ OfflineMode=false == \;* ]]
++++ eval 'export OfflineMode=false'
++++ read line
++++ line=PlutoVersion=2.0.0.45.12091426484
++++ [[ PlutoVersion=2.0.0.45.12091426484 == \#* ]]
++++ [[ PlutoVersion=2.0.0.45.12091426484 == \/\/* ]]
++++ [[ PlutoVersion=2.0.0.45.12091426484 == \;* ]]
++++ eval 'export PlutoVersion=2.0.0.45.12091426484'
++++ read line
++++ line=Vendor=
++++ [[ Vendor= == \#* ]]
++++ [[ Vendor= == \/\/* ]]
++++ [[ Vendor= == \;* ]]
++++ eval 'export Vendor='
++++ read line
++++ line=Display=0
++++ [[ Display=0 == \#* ]]
++++ [[ Display=0 == \/\/* ]]
++++ [[ Display=0 == \;* ]]
++++ eval 'export Display=0'
++++ read line
++++ line=DCERouter=dcerouter
++++ [[ DCERouter=dcerouter == \#* ]]
++++ [[ DCERouter=dcerouter == \/\/* ]]
++++ [[ DCERouter=dcerouter == \;* ]]
++++ eval 'export DCERouter=dcerouter'
++++ read line
++++ line=DCERouterPort=3450
++++ [[ DCERouterPort=3450 == \#* ]]
++++ [[ DCERouterPort=3450 == \/\/* ]]
++++ [[ DCERouterPort=3450 == \;* ]]
++++ eval 'export DCERouterPort=3450'
++++ read line
++++ line=MySqlHost=dcerouter
++++ [[ MySqlHost=dcerouter == \#* ]]
++++ [[ MySqlHost=dcerouter == \/\/* ]]
++++ [[ MySqlHost=dcerouter == \;* ]]
++++ eval 'export MySqlHost=dcerouter'
++++ read line
++++ line=MySqlUser=root
++++ [[ MySqlUser=root == \#* ]]
++++ [[ MySqlUser=root == \/\/* ]]
++++ [[ MySqlUser=root == \;* ]]
++++ eval 'export MySqlUser=root'
++++ read line
++++ line=MySqlPassword=
++++ [[ MySqlPassword= == \#* ]]
++++ [[ MySqlPassword= == \/\/* ]]
++++ [[ MySqlPassword= == \;* ]]
++++ eval 'export MySqlPassword='
++++ read line
++++ line=MySqlDBName=pluto_main
++++ [[ MySqlDBName=pluto_main == \#* ]]
++++ [[ MySqlDBName=pluto_main == \/\/* ]]
++++ [[ MySqlDBName=pluto_main == \;* ]]
++++ eval 'export MySqlDBName=pluto_main'
++++ read line
++++ line=PK_Device=390
++++ [[ PK_Device=390 == \#* ]]
++++ [[ PK_Device=390 == \/\/* ]]
++++ [[ PK_Device=390 == \;* ]]
++++ eval 'export PK_Device=390'
++++ read line
++++ line=PK_Distro=18
++++ [[ PK_Distro=18 == \#* ]]
++++ [[ PK_Distro=18 == \/\/* ]]
++++ [[ PK_Distro=18 == \;* ]]
++++ eval 'export PK_Distro=18'
++++ read line
++++ line=LogLevels=1,5,7,8
++++ [[ LogLevels=1,5,7,8 == \#* ]]
++++ [[ LogLevels=1,5,7,8 == \/\/* ]]
++++ [[ LogLevels=1,5,7,8 == \;* ]]
++++ eval 'export LogLevels=1,5,7,8'
++++ read line
++++ line=AutostartCore=0
++++ [[ AutostartCore=0 == \#* ]]
++++ [[ AutostartCore=0 == \/\/* ]]
++++ [[ AutostartCore=0 == \;* ]]
++++ eval 'export AutostartCore=0'
++++ read line
++++ line=AutostartMedia=1
++++ [[ AutostartMedia=1 == \#* ]]
++++ [[ AutostartMedia=1 == \/\/* ]]
++++ [[ AutostartMedia=1 == \;* ]]
++++ eval 'export AutostartMedia=1'
++++ read line
++++ line=AVWizardOverride=0
++++ [[ AVWizardOverride=0 == \#* ]]
++++ [[ AVWizardOverride=0 == \/\/* ]]
++++ [[ AVWizardOverride=0 == \;* ]]
++++ eval 'export AVWizardOverride=0'
++++ read line
++++ line=FirstBoot=false
++++ [[ FirstBoot=false == \#* ]]
++++ [[ FirstBoot=false == \/\/* ]]
++++ [[ FirstBoot=false == \;* ]]
++++ eval 'export FirstBoot=false'
++++ read line
++++ line=DesktopActivated=1
++++ [[ DesktopActivated=1 == \#* ]]
++++ [[ DesktopActivated=1 == \/\/* ]]
++++ [[ DesktopActivated=1 == \;* ]]
++++ eval 'export DesktopActivated=1'
++++ read line
++++ Unlock pluto.conf Config_Ops-ConfEval nolog
++++ local Lock=pluto.conf
++++ local Device=Config_Ops-ConfEval
++++ local NoLog=nolog
++++ [[ -z nolog ]]
++++ [[ -z pluto.conf ]]
++++ rm -f /usr/pluto/locks/pluto.conf
++++ [[ -z nolog ]]
++++ return 0
++++ [[ -z pluto_main ]]
++++ [[ -z 0 ]]
++++ return 0
++++ PLUTO_DB_CRED=
++++ [[ -n dcerouter ]]
++++ PLUTO_DB_CRED=' -h dcerouter'
++++ [[ -n '' ]]
++++ [[ -n root ]]
++++ PLUTO_DB_CRED=' -h dcerouter -u root'
++++ [[ -n '' ]]
+++++ builtin echo -h dcerouter -u root
++++ PLUTO_DB_CRED='-h dcerouter -u root'
++++ export PLUTO_DB_CRED
++++ MYSQL_DB_CRED=
++++ [[ -n dcerouter ]]
++++ MYSQL_DB_CRED=' -hdcerouter'
++++ [[ -n '' ]]
++++ [[ -n root ]]
++++ MYSQL_DB_CRED=' -hdcerouter -uroot'
++++ [[ -n '' ]]
+++++ builtin echo -hdcerouter -uroot
++++ MYSQL_DB_CRED='-hdcerouter -uroot'
++++ export MYSQL_DB_CRED
++++ LMCE_DIRS='pictures audio documents videos games/MAME games/a2600 games/a2600p games/a5200 games/a5200p games/a7800 games/a7800p games/coleco games/intv games/sg1000 games/sms games/smspal games/nes games/famicom games/snes games/snespal games/genesis games/megadriv games/vectrex games/tg16 games/pce games/sgx games/apple2cp pvr'
++++ export LMCE_DIRS
++++ VGcmd=
++++ [[ -n '' ]]
++++ [[ -f /tmp/pluto.gdb ]]
++++ [[ -n '' ]]
++++ ulimit -c unlimited
++++ ulimit -n 4096
++++ shopt -s nullglob
++++ export HOME=/root
++++ HOME=/root
+++ CSQL_DIR=/var/run/SQL_Ops
+++ CSQL_ID=
+++ UseDB pluto_main
+++ SQL_DB=pluto_main
+++ [[ -z pluto_main ]]
++ . /usr/pluto/bin/Config_Ops.sh
+++ [[ -n included ]]
+++ return 0
++ DEVICETEMPLATE_OnScreen_Orbiter=62
++ DEVICEDATA_Use_OpenGL_effects=172
++ DEVICEDATA_Use_alpha_blended_UI=169
++ DEVICEDATA_PK_UI=104
+ '[' '' == status ']'
+ CheckVideoDriver
++ lspci -nn
++ grep -w VGA
+ vga_pci='00:01.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310] [1002:9802]'
+ FindVideoDriver
+ prop_driver=fbdev
++ echo '00:01.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310] [1002:9802]'
++ wc -l
+ gpus=1
+ [[ 1 -gt 1 ]]
++ echo '00:01.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310] [1002:9802]'
++ grep -Ewo '(\[1002|\[1106|\[10de|\[8086)'
+ chip_man='[1002'
+ case "$chip_man" in
+ prop_driver=fglrx
+ echo '00:01.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310] [1002:9802]'
+ grep -Ei '((R.)([2-5])|(9|X|ES)(1|2?)([0-9])(5|0)0|Xpress)'
++ ping -c 2 google.com
+ online='PING google.com (173.194.65.102) 56(84) bytes of data.
64 bytes from ee-in-f102.1e100.net (173.194.65.102): icmp_seq=1 ttl=47 time=19.2 ms
64 bytes from ee-in-f102.1e100.net (173.194.65.102): icmp_seq=2 ttl=47 time=17.7 ms

--- google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 17.738/18.504/19.271/0.778 ms'
++ echo '00:01.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310] [1002:9802]'
++ cut -d: -f3
+ card_detail=' Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310] [1002'
+ offline_mismatch=false
+ online_mismatch=false
+ [[ -f /etc/X11/xorg.conf ]]
+ [[ -z PING google.com (173.194.65.102) 56(84) bytes of data.
64 bytes from ee-in-f102.1e100.net (173.194.65.102): icmp_seq=1 ttl=47 time=19.2 ms
64 bytes from ee-in-f102.1e100.net (173.194.65.102): icmp_seq=2 ttl=47 time=17.7 ms

--- google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 17.738/18.504/19.271/0.778 ms ]]
+ StatusMessage '/etc/X11/xorg.conf is missing. Using video driver '\''fglrx'\'' for  Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310] [1002'
+ echo -e '\E[33;40m\033[1m  /etc/X11/xorg.conf is missing. Using video driver '\''fglrx'\'' for  Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310] [1002 \033[0m'
  /etc/X11/xorg.conf is missing. Using video driver 'fglrx' for  Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310] [1002
+ ConfSet AVWizardOverride 1
+ local Ret=0
+ WaitLock pluto.conf Config_Ops-ConfSet nolog
+ local Lock=pluto.conf
+ local Device=Config_Ops-ConfSet
+ local NoLog=nolog
+ [[ -z nolog ]]
+ Lock pluto.conf Config_Ops-ConfSet nolog
+ local Lock=pluto.conf
+ local Device=Config_Ops-ConfSet
+ local NoLog=nolog
+ [[ -z nolog ]]
+ [[ -z pluto.conf ]]
+ ln -s /proc/2964-Config_Ops-ConfSet /usr/pluto/locks/pluto.conf
+ [[ -z nolog ]]
+ return 0
+ [[ -z nolog ]]
+ return 0
+ local Variable=AVWizardOverride Value=1
+ local EscVariable=AVWizardOverride EscValue=1
+ ConfValidValue AVWizardOverride Variable '=\'
+ return 0
+ ConfValidValue 1 Value ''
+ return 0
+ local 'Line=AVWizardOverride = 1'
+ local 'EscLine=AVWizardOverride = 1'
+ grep '^AVWizardOverride.*=' /etc/pluto.conf
+ sed -i 's/^AVWizardOverride.*=.*$/AVWizardOverride = 1/g' /etc/pluto.conf
+ eval 'export AVWizardOverride="1"'
+ Unlock pluto.conf Config_Ops-ConfSet nolog
+ local Lock=pluto.conf
+ local Device=Config_Ops-ConfSet
+ local NoLog=nolog
+ [[ -z nolog ]]
+ [[ -z pluto.conf ]]
+ rm -f /usr/pluto/locks/pluto.conf
+ [[ -z nolog ]]
+ return 0
+ return 0
+ InstallVideoDriver
++ lsb_release -c -s
+ distro=lucid
+ case "$prop_driver" in
+ PackageIsInstalled fglrx
+ local Pkg=fglrx
+ local RootFs=/
+ [[ -z fglrx ]]
+ PackageStatus fglrx /
+ local Pkg=fglrx
+ grep -q '^Status: install ok installed'
+ local RootFs=/
+ [[ -z fglrx ]]
+ dpkg --root=/ -s fglrx
+ return 0
+ [[ [1002 == \[\8\0\8\6 ]]
+ export Best_Video_Driver=fglrx
+ Best_Video_Driver=fglrx
+ CheckAVWizard
+ [[ 1 == \1 ]]
+ [[ 1 == \1 ]]
+ /usr/pluto/bin/AVWizard_Run.sh
+ ConfSet AVWizardOverride 0
+ local Ret=0
+ WaitLock pluto.conf Config_Ops-ConfSet nolog
+ local Lock=pluto.conf
+ local Device=Config_Ops-ConfSet
+ local NoLog=nolog
+ [[ -z nolog ]]
+ Lock pluto.conf Config_Ops-ConfSet nolog
+ local Lock=pluto.conf
+ local Device=Config_Ops-ConfSet
+ local NoLog=nolog
+ [[ -z nolog ]]
+ [[ -z pluto.conf ]]
+ ln -s /proc/2964-Config_Ops-ConfSet /usr/pluto/locks/pluto.conf
+ [[ -z nolog ]]
+ return 0
+ [[ -z nolog ]]
+ return 0
+ local Variable=AVWizardOverride Value=0
+ local EscVariable=AVWizardOverride EscValue=0
+ ConfValidValue AVWizardOverride Variable '=\'
+ return 0
+ ConfValidValue 0 Value ''
+ return 0
+ local 'Line=AVWizardOverride = 0'
+ local 'EscLine=AVWizardOverride = 0'
+ grep '^AVWizardOverride.*=' /etc/pluto.conf
+ sed -i 's/^AVWizardOverride.*=.*$/AVWizardOverride = 0/g' /etc/pluto.conf
+ eval 'export AVWizardOverride="0"'
+ Unlock pluto.conf Config_Ops-ConfSet nolog
+ local Lock=pluto.conf
+ local Device=Config_Ops-ConfSet
+ local NoLog=nolog
+ [[ -z nolog ]]
+ [[ -z pluto.conf ]]
+ rm -f /usr/pluto/locks/pluto.conf
+ [[ -z nolog ]]
+ return 0
+ return 0
+ killall WatchGyroRemote
Title: Re: PC as Media Director (PXE)
Post by: brononius on September 23, 2012, 12:52:15 pm
Hey,

Any idea what could be wrong?

Or is it better to install a small disk in the pc, and use it like that instead of PXE?
Really want to have a better look at the MD funcationallity...  ;)
Title: Re: PC as Media Director (PXE)
Post by: phenigma on September 23, 2012, 09:42:50 pm
Or is it better to install a small disk in the pc, and use it like that instead of PXE?

There is no supported way to boot an MD from a disk.  PXE booting is the only supported method of booting an MD.

J.
Title: Re: PC as Media Director (PXE)
Post by: brononius on October 24, 2012, 10:22:02 am
I'm giving this another shot (removed the orbiter, MD...) and rerun the things.
When i now boot the MD, it gives me the Orbiter GUI. So far, so good.

But of course, on my MD, i want a nice Media Layout to start my movies and so. So I to launch the AVWizard, and the MD it restarts.
But the screen stays black after a while? After a hard reset of the MD, it comes back to the orbiter GUI.
Any idea what i need to do?

more /usr/pluto/diskless/369/var/log/pluto/AVWizard_Run_20121024_054638.log
Code: [Select]
++ /usr/pluto/bin/AVWizard_Run.sh
+ . /usr/pluto/bin/AVWizard-Common.sh
++ XorgConfLogging 'Starting /usr/pluto/bin/AVWizard_Run.sh '
++ local 'message=Starting /usr/pluto/bin/AVWizard_Run.sh '
++ local xorgLog=/var/log/pluto/xorg.conf.log
+++ cat /etc/X11/xorg.conf
+++ wc -l
cat: /etc/X11/xorg.conf: No such file or directory
++ local xorgLines=0
++ local myPid=1847
+++ date -R
++ echo '1847 Wed, 24 Oct 2012 05:46:38 +0200 Starting /usr/pluto/bin/AVWizard_Run.sh  [0]'
++ trap 'XorgConfLogging "Ending"' EXIT
++ . /usr/pluto/bin/Utils.sh
+++ [[ -n '' ]]
+++ HEADER_Utils=included
+++ . /usr/pluto/bin/SQL_Ops.sh
++++ [[ -n '' ]]
++++ HEADER_SQL_Ops=included
++++ . /usr/pluto/bin/Config_Ops.sh
+++++ [[ -n '' ]]
+++++ HEADER_Config_Ops=included
+++++ NoSpace='s/ //g'
+++++ LogSectionDelimiter='========== NEW LOG SECTION =========='
+++++ ConfForbiddenNameChars='=\'
+++++ ConfForbiddenValueChars=
+++++ . /usr/pluto/bin/LockUtils.sh
++++++ [[ -n '' ]]
++++++ HEADER_LockUtils=included
++++++ Dir=/usr/pluto/locks
++++++ mkdir -p /usr/pluto/locks
+++++ ConfEval
+++++ local Ret=0
+++++ WaitLock pluto.conf Config_Ops-ConfEval nolog
+++++ local Lock=pluto.conf
+++++ local Device=Config_Ops-ConfEval
+++++ local NoLog=nolog
+++++ [[ -z nolog ]]
+++++ Lock pluto.conf Config_Ops-ConfEval nolog
+++++ local Lock=pluto.conf
+++++ local Device=Config_Ops-ConfEval
+++++ local NoLog=nolog
+++++ [[ -z nolog ]]
+++++ [[ -z pluto.conf ]]
+++++ ln -s /proc/1847-Config_Ops-ConfEval /usr/pluto/locks/pluto.conf
+++++ [[ -z nolog ]]
+++++ return 0
+++++ [[ -z nolog ]]
+++++ return 0
+++++ unset Display
+++++ [[ ! -e /etc/pluto.conf ]]
+++++ read line
+++++ line=OfflineMode=false
+++++ [[ OfflineMode=false == \#* ]]
+++++ [[ OfflineMode=false == \/\/* ]]
+++++ [[ OfflineMode=false == \;* ]]
+++++ eval 'export OfflineMode=false'
+++++ read line
+++++ line=PlutoVersion=2.0.0.45.12102126585
+++++ [[ PlutoVersion=2.0.0.45.12102126585 == \#* ]]
+++++ [[ PlutoVersion=2.0.0.45.12102126585 == \/\/* ]]
+++++ [[ PlutoVersion=2.0.0.45.12102126585 == \;* ]]
+++++ eval 'export PlutoVersion=2.0.0.45.12102126585'
+++++ read line
+++++ line=Vendor=
+++++ [[ Vendor= == \#* ]]
+++++ [[ Vendor= == \/\/* ]]
+++++ [[ Vendor= == \;* ]]
+++++ eval 'export Vendor='
+++++ read line
+++++ line=Display=0
+++++ [[ Display=0 == \#* ]]
+++++ [[ Display=0 == \/\/* ]]
+++++ [[ Display=0 == \;* ]]
+++++ eval 'export Display=0'
+++++ read line
+++++ line=DCERouter=dcerouter
+++++ [[ DCERouter=dcerouter == \#* ]]
+++++ [[ DCERouter=dcerouter == \/\/* ]]
+++++ [[ DCERouter=dcerouter == \;* ]]
+++++ eval 'export DCERouter=dcerouter'
+++++ read line
+++++ line=DCERouterPort=3450
+++++ [[ DCERouterPort=3450 == \#* ]]
+++++ [[ DCERouterPort=3450 == \/\/* ]]
+++++ [[ DCERouterPort=3450 == \;* ]]
+++++ eval 'export DCERouterPort=3450'
+++++ read line
+++++ line=MySqlHost=dcerouter
+++++ [[ MySqlHost=dcerouter == \#* ]]
+++++ [[ MySqlHost=dcerouter == \/\/* ]]
+++++ [[ MySqlHost=dcerouter == \;* ]]
+++++ eval 'export MySqlHost=dcerouter'
+++++ read line
+++++ line=MySqlUser=root
+++++ [[ MySqlUser=root == \#* ]]
+++++ [[ MySqlUser=root == \/\/* ]]
+++++ [[ MySqlUser=root == \;* ]]
+++++ eval 'export MySqlUser=root'
+++++ read line
+++++ line=MySqlPassword=
+++++ [[ MySqlPassword= == \#* ]]
+++++ [[ MySqlPassword= == \/\/* ]]
+++++ [[ MySqlPassword= == \;* ]]
+++++ eval 'export MySqlPassword='
+++++ read line
+++++ line=MySqlDBName=pluto_main
+++++ [[ MySqlDBName=pluto_main == \#* ]]
+++++ [[ MySqlDBName=pluto_main == \/\/* ]]
+++++ [[ MySqlDBName=pluto_main == \;* ]]
+++++ eval 'export MySqlDBName=pluto_main'
+++++ read line
+++++ line=PK_Device=369
+++++ [[ PK_Device=369 == \#* ]]
+++++ [[ PK_Device=369 == \/\/* ]]
+++++ [[ PK_Device=369 == \;* ]]
+++++ eval 'export PK_Device=369'
+++++ read line
+++++ line=PK_Distro=18
+++++ [[ PK_Distro=18 == \#* ]]
+++++ [[ PK_Distro=18 == \/\/* ]]
+++++ [[ PK_Distro=18 == \;* ]]
+++++ eval 'export PK_Distro=18'
+++++ read line
+++++ line=LogLevels=1,5,7,8
+++++ [[ LogLevels=1,5,7,8 == \#* ]]
+++++ [[ LogLevels=1,5,7,8 == \/\/* ]]
+++++ [[ LogLevels=1,5,7,8 == \;* ]]
+++++ eval 'export LogLevels=1,5,7,8'
+++++ read line
+++++ line=AutostartCore=0
+++++ [[ AutostartCore=0 == \#* ]]
+++++ [[ AutostartCore=0 == \/\/* ]]
+++++ [[ AutostartCore=0 == \;* ]]
+++++ eval 'export AutostartCore=0'
+++++ read line
+++++ line=AutostartMedia=1
+++++ [[ AutostartMedia=1 == \#* ]]
+++++ [[ AutostartMedia=1 == \/\/* ]]
+++++ [[ AutostartMedia=1 == \;* ]]
+++++ eval 'export AutostartMedia=1'
+++++ read line
+++++ line=AVWizardOverride=1
+++++ [[ AVWizardOverride=1 == \#* ]]
+++++ [[ AVWizardOverride=1 == \/\/* ]]
+++++ [[ AVWizardOverride=1 == \;* ]]
+++++ eval 'export AVWizardOverride=1'
+++++ read line
+++++ line=FirstBoot=false
+++++ [[ FirstBoot=false == \#* ]]
+++++ [[ FirstBoot=false == \/\/* ]]
+++++ [[ FirstBoot=false == \;* ]]
+++++ eval 'export FirstBoot=false'
+++++ read line
+++++ line=DesktopActivated=1
+++++ [[ DesktopActivated=1 == \#* ]]
+++++ [[ DesktopActivated=1 == \/\/* ]]
+++++ [[ DesktopActivated=1 == \;* ]]
+++++ eval 'export DesktopActivated=1'
+++++ read line
+++++ Unlock pluto.conf Config_Ops-ConfEval nolog
+++++ local Lock=pluto.conf
+++++ local Device=Config_Ops-ConfEval
+++++ local NoLog=nolog
+++++ [[ -z nolog ]]
+++++ [[ -z pluto.conf ]]
+++++ rm -f /usr/pluto/locks/pluto.conf
+++++ [[ -z nolog ]]
+++++ return 0
+++++ [[ -z pluto_main ]]
+++++ [[ -z 0 ]]
+++++ return 0
+++++ PLUTO_DB_CRED=
+++++ [[ -n dcerouter ]]
+++++ PLUTO_DB_CRED=' -h dcerouter'
+++++ [[ -n '' ]]
+++++ [[ -n root ]]
+++++ PLUTO_DB_CRED=' -h dcerouter -u root'
+++++ [[ -n '' ]]
++++++ builtin echo -h dcerouter -u root
+++++ PLUTO_DB_CRED='-h dcerouter -u root'
+++++ export PLUTO_DB_CRED
+++++ MYSQL_DB_CRED=
+++++ [[ -n dcerouter ]]
+++++ MYSQL_DB_CRED=' -hdcerouter'
+++++ [[ -n '' ]]
+++++ [[ -n root ]]
+++++ MYSQL_DB_CRED=' -hdcerouter -uroot'
+++++ [[ -n '' ]]
++++++ builtin echo -hdcerouter -uroot
+++++ MYSQL_DB_CRED='-hdcerouter -uroot'
+++++ export MYSQL_DB_CRED
+++++ LMCE_DIRS='pictures audio documents videos games/MAME games/a2600 games/a2600p games/a5200 games/a5200p games/a7800 games/a7800p games/coleco games/int
v games/sg1000 games/sms games/smspal games/nes games/famicom games/snes games/snespal games/genesis games/megadriv games/vectrex games/tg16 games/pce games/
sgx games/apple2cp pvr'
+++++ export LMCE_DIRS
+++++ VGcmd=
+++++ [[ -n '' ]]
+++++ [[ -f /tmp/pluto.gdb ]]
+++++ [[ -n '' ]]
+++++ ulimit -c unlimited
+++++ ulimit -n 4096
+++++ shopt -s nullglob
+++++ export HOME=/root
+++++ HOME=/root
++++ CSQL_DIR=/var/run/SQL_Ops
++++ CSQL_ID=
++++ UseDB pluto_main
++++ SQL_DB=pluto_main
++++ [[ -z pluto_main ]]
+++ . /usr/pluto/bin/Config_Ops.sh
++++ [[ -n included ]]
++++ return 0
+++ DEVICETEMPLATE_OnScreen_Orbiter=62
+++ DEVICEDATA_Use_OpenGL_effects=172
+++ DEVICEDATA_Use_alpha_blended_UI=169
+++ DEVICEDATA_PK_UI=104
++ . /usr/pluto/bin/Config_Ops.sh
+++ [[ -n included ]]
+++ return 0
++ BaseDir=/usr/pluto/bin
++ Wiz=/usr/pluto/bin/AVWizard
++ AudioMixerSettingsAwk=/usr/pluto/bin/AudioMixerSettings.awk
++ AVWizard_Port=28949
++ Resolutions_VESA=('640x480' '800x600' '1024x768' '1280x1024' '1600x1200')
++ Resolutions_HDTV=('480p=720x480' '1024-HDready=1024x768' '720p=1280x720' '1080i=1920x1080i' '1080p=1920x1080' '1280x800')
++ Refresh_Rates=('50' '60' '65' '72' '75' '80' '85' '100' '120')
++ XF86Config=/etc/X11/xorg.conf.pluto.avwizard
++ XineConf=/etc/pluto/xine.conf.avwizard
+ . /usr/pluto/bin/Config_Ops.sh
++ [[ -n included ]]
++ return 0
+ . /usr/pluto/bin/Utils.sh
++ [[ -n included ]]
++ return 0
+ . /usr/pluto/bin/X-Common.sh
+ DEVICETEMPLATE_OnScreen_Orbiter=62
+ DEVICETEMPLATE_OrbiterPlugin=12
+ DEVICECATEGORY_Media_Director=8
+ DEVICEDATA_ScreenWidth=100
+ DEVICEDATA_ScreenHeight=101
+ DEVICEDATA_PK_Size=25
+ DEVICEDATA_Video_settings=89
+ DEVICEDATA_Connector=68
+ DEVICEDATA_Spacing=150
+ DEVICEDATA_Offset=167
+ DEVICEDATA_TV_Standard=229
+ DEVICEDATA_Sound_card=288
+ COMMANDPARAMETER_PK_Device=2
+ COMMANDPARAMETER_Force=21
+ COMMANDPARAMETER_Reset=24
+ UI_Normal_Horizontal=1
+ UI_V2_Normal_Horizontal=4
+ ConfFile=/etc/X11/xorg.conf
+ UseAlternativeLibs
+ export LD_LIBRARY_PATH=/opt/libsdl/lib:/opt/libxine/lib:/opt/libsdl1.2-1.2.7+1.2.8cvs20041007/lib:/opt/linphone-1.3.5/lib
+ LD_LIBRARY_PATH=/opt/libsdl/lib:/opt/libxine/lib:/opt/libsdl1.2-1.2.7+1.2.8cvs20041007/lib:/opt/linphone-1.3.5/lib
++ date +%Y%m%d_%H%M%S
+ log_file=/var/log/pluto/AVWizard_Run_20121024_054638.log
+ . /usr/pluto/bin/TeeMyOutput.sh --outfile /var/log/pluto/AVWizard_Run_20121024_054638.log --infile /dev/null --stdboth --
++ [[ -n yes ]]
++ return 0
+ trap 'StatsMessage "Exiting"' EXIT
+ Video_Driver_Detection
+ DriverInstalled=0
+ driverConfig=none
+ grep Driver /etc/X11/xorg.conf
+ grep -v '#'
+ grep -v vesa
+ grep -vq kbd
+ grep -v mouse
+ grep -v keyboard
grep: /etc/X11/xorg.conf: No such file or directory
+ [[ 0 -eq 0 ]]
+ [[ fglrx == \n\v\i\d\i\a ]]
+ [[ fglrx == \f\g\l\r\x ]]
+ driverConfig=aticonfig
+ driverLine=--initial
+ [[ aticonfig == \n\o\n\e ]]
+ [[ aticonfig != \n\o\n\e ]]
++ which aticonfig
+ driverConfigLocation=/usr/bin/aticonfig
+ [[ -x /usr/bin/aticonfig ]]
+ /usr/bin/aticonfig --initial
/usr/bin/aticonfig: No supported adapters detected
+ VerifyExitCode 'Running /usr/bin/aticonfig --initial failed!'
+ local EXITCODE=255
+ '[' 255 '!=' 0 ']'
+ echo 'An error (Exit code 255) occured during the last action'
An error (Exit code 255) occured during the last action
+ echo 'Running /usr/bin/aticonfig --initial failed!'
Running /usr/bin/aticonfig --initial failed!
+ exit 1
+ StatsMessage Exiting
++ date
+ printf 'Wed Oct 24 05:46:38 CEST 2012 - Exiting \n'
Wed Oct 24 05:46:38 CEST 2012 - Exiting
++ echo 1


/usr/bin/aticonfig: No supported adapters detected
+ VerifyExitCode 'Running /usr/bin/aticonfig --initial failed!'

Problems with the driver? :$



lspci -nn | grep VGA
Code: [Select]
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310] [1002:9802]
Title: Re: PC as Media Director (PXE)
Post by: l3mce on October 25, 2012, 06:51:26 am
It appears as though fglrx is having issues. Dunno why. Should be fine on that machine.

apt-cache policy fglrx | grep installed

if it isn't
sudo apt-get install fglrx

if it is... well... we will cross that bridge when we get there.
Title: Re: PC as Media Director (PXE)
Post by: brononius on October 25, 2012, 08:31:28 am
Hey,

I ran the "sudo apt-get install fglrx" and will test it this evening (don't have access to the MD from here). :$

Maybe stupid question, but this must run from the core, right?
Or must I login/run it on the 'moon device'?
Title: Re: PC as Media Director (PXE)
Post by: l3mce on October 25, 2012, 09:45:25 am
We do the install on whatever physically holds the card.

If that be the moon then it be the moon.

IF you installed fglrx on the core... it is a remarkably obnoxious driver, and we will want to purge it with fire and reinstall a bunch of stuff if you find you suddenly have problems with video.
Title: Re: PC as Media Director (PXE)
Post by: brononius on October 25, 2012, 11:28:03 am
***Slik***, suddenly i'm afraid of restarting my core.
Since I've installed it on my core.  :-[

A simple 'apt-get remove fglrx'  / "apt-get install pluto-nvidia-video-drivers"  won't do the trick?  :-\

Title: Re: PC as Media Director (PXE)
Post by: l3mce on October 26, 2012, 04:36:20 pm
***Slik***, suddenly i'm afraid of restarting my core.
Since I've installed it on my core.  :-[

A simple 'apt-get remove fglrx'  / "apt-get install pluto-nvidia-video-drivers"  won't do the trick?  :-\



Not quite.
sudo apt-get -y remove --purge xorg-driver-fglrx fglrx* --force-yes
sudo apt-get -y install --reinstall libgl1-mesa-glx libgl1-mesa-dri --force-yes
sudo dpkg-reconfigure xserver-xorg
sudo apt-get -y install --reinstall xserver-xorg-core --force-yes