[01:51] <qwebirc26086> I am using mythbuntu 10.10 and I have a hauppauge 850 usb tuner.  I must remove my tuner card before a reboot or the card does not function.  Thus I must exit out of the frontend and enter into the backend config and rescan channels everytime I loose power.  Is there a fix?
[01:53] <mycosys> suspect you may have an issue with the card needing firmware but neing detected as warm
[01:53] <mycosys> try switching off the power to the machine during a reboot see if it makes a diff
[01:53] <mycosys> actually
[01:53] <mycosys> before you do - can you pastebin the output of dmesg please
[01:54] <mycosys> qwebirc26086
[01:54] <qwebirc26086> sorry...so you'd like an output of dmsg?
[01:55] <mycosys> yes please
[01:55] <qwebirc26086> sure just a minute
[01:55] <mycosys> one now with it working, one after a warm boot, ideally
[01:55] <qwebirc26086> ok
[01:56] <mycosys> can you give the output of lsusb too please
[01:56] <qwebirc26086> will do
[02:04] <qwebirc26086> im rebooting now
[02:12] <qwebirc26086> ok mycosys
[02:13] <mycosys> pastebin links?
[02:18] <qwebirc26086> http://mythbuntu.pastebin.com/NZ3i5g5y
[02:18] <Zinn> [mythbuntu.pastebin.com] Working..... [ 0.000000] Initializing cgroup - Qwebirc26086
[02:20] <qwebirc26086> was that a question, observation, or solution??? LOL!
[02:23] <mycosys> is a bit that is stating the title of the link you posted
[02:23] <mycosys> *bot
[02:28] <qwebirc26086> got ya
[02:34] <mycosys> stuffed as to why the system is taking 30sec in one case to initialise it, 60 in the other
[02:34] <mycosys> also - did you remove and reinsert it in the first instance?\
[02:35] <mycosys> actually - in the instance it didnt work, it wasnt initialised til 83 seconds after boot
[02:37] <qwebirc26086> to get it working ..yes i had to remove and reinsert the device
[02:37] <qwebirc26086> however i left it inserted for the second capture
[02:41] <mycosys> try running 'sudo /etc/init.d/mythtv-backend restart'
[02:41] <mycosys> just to check a hunch that the backend is coming up before the card is
[02:42] <qwebirc26086> ok...now should I test the device?
[02:43] <qwebirc26086> That seems to have worked.
[02:44] <qwebirc26086> I know when the frontend starts at bootup it comes up faster that the nic makes a connection to my network
[02:46] <qwebirc26086> so if thats the issue...what can I do to fix it?  Script or something?
[02:46] <mycosys> could add a delay to the init script but that is nasty
[02:47] <mycosys> if you are usin 9.10 or later upstart should be able to wait for the card init to finish
[02:47] <qwebirc26086> im on 10.10
[02:47] <mycosys> rhpot1991 are you around?
[02:48] <mycosys> qwebirc26086 i am still on 9.04 so dont know upstart, but it is one of the issues it was introduced to address
[02:52] <mycosys> http://ubuntuforums.org/showthread.php?t=1626997 there is a solution in the mytbuntu repos that makes mythbackend wait for udev to finish before starting
[02:52] <Zinn> [ubuntuforums.org] [SOLVED] How to delay launch of mythbackend?? (video device not found) - Ubuntu Forums
[02:53]  * tgm4883 pokes his head in
[02:53] <tgm4883> mycosys, quick summary?
[02:53] <mycosys> he needed to replug his tuner to get myth to work
[02:54] <mycosys> i suggested restarting the backend and it worked
[02:54] <mycosys> tuner is taking 80sec to get up
[02:54] <tgm4883> mythtv version?
[02:54] <mycosys> noticed post in http://ubuntuforums.org/showthread.php?t=1626997 that mentioned a repo fix that made mythbackend wait for udev
[02:54] <Zinn> [ubuntuforums.org] [SOLVED] How to delay launch of mythbackend?? (video device not found) - Ubuntu Forums
[02:54] <tgm4883> yep
[02:54] <mycosys> only know he is on 10.10
[02:55] <tgm4883> qwebirc26086, run "dpkg -l mythtv-backend"
[02:55] <mycosys> qwebirc26086 what mythtv version are you running?
[02:55] <tgm4883> make the terminal full screen when you run it
[02:55] <tgm4883> because I need the full version, not just 0.23.1
[02:57] <qwebirc26086> o.23.1+fixes26437-0ubuntu1
[02:58] <tgm4883> qwebirc26086, thanks, Can you also look in /etc/init mythtv-backend.conf and see if this line matches
[02:58] <tgm4883> /etc/init.d/mythtv-backend.conf
[02:58] <tgm4883> err
[02:58] <tgm4883> sec
[02:59] <tgm4883> /etc/init/mythtv-backend.conf
[02:59] <tgm4883> that file
[02:59] <tgm4883> see if you see this line
[02:59] <tgm4883> start on (local-filesystems and net-device-up IFACE=lo and started udev-finish)
[02:59] <tgm4883> and not just this
[02:59] <tgm4883> start on (local-filesystems and net-device-up IFACE=lo)
[03:00] <tgm4883> also, you are on the shipping 0.23.1 build, I'd update to the latest using the mythbuntu-repos package
[03:00] <mycosys> would it be a good idea to add waiting for mysql to start too?
[03:00] <mycosys> have had an issue before where mysql was coming up after the backend
[03:00] <qwebirc26086> yes I have the udev-finish
[03:00] <mycosys> :S
[03:01] <qwebirc26086> I saw something about changing the Iface to eth0 since it comes up later that lo
[03:01] <qwebirc26086> think that would work?
[03:01] <mycosys> and just running 'sudo /etc/init.d/mythtv-backend restart' without replugging fixes the issue?
[03:02] <qwebirc26086> yes I did not replug and was watching tv fine
[03:03] <tgm4883> ok, so just restarting the backend makes it work fine?
[03:03] <tgm4883> hmm
[03:03] <tgm4883> shouldn't need to change the Iface, although we may need to adjust exactly what we are waiting on
[03:04] <tgm4883> I'm surprised waiting for udev-finish isn't enough
[03:04] <mycosys> me too
[03:04] <qwebirc26086> can I tell it to wait for the specific device?
[03:05] <mycosys> http://mythbuntu.pastebin.com/NZ3i5g5y is his demsg, both working and then not
[03:05] <Zinn> [mythbuntu.pastebin.com] Working..... [ 0.000000] Initializing cgroup - Qwebirc26086
[03:05] <mycosys> sorry qwebirc26086 i am assuming you are a he - i apologise if this is incorrect
[03:06] <qwebirc26086> you assumed correctly...but thanks for the political correctness!  LOL!
[03:07] <mycosys> could you pastebin /var/log/mythtv/mythbackend.log please
[03:07] <mycosys> yw lol
[03:07] <qwebirc26086> will do
[03:08] <mycosys> ok - tech is here to replace some parts on this so bbs
[03:09] <tgm4883> qwebirc26086, does this fail to start correctly on every reboot?
[03:10] <qwebirc26086> yes
[03:10] <tgm4883> ok
[03:10] <tgm4883> lets see the backend logs
[03:10] <tgm4883> it might be the mysql issue
[03:10] <tgm4883> is so, we can test it
[03:10] <qwebirc26086> I finally read somewhere to unplug the device reboot and the plug it back in and that worked
[03:10] <qwebirc26086> ok
[03:14] <qwebirc26086> http://mythbuntu.pastebin.com/pmxN7X36
[03:14] <Zinn> [mythbuntu.pastebin.com] 2011-02-27 00:01:19.648 UPnpMedia: BuildMediaMap - Qwebirc26086
[03:18] <tgm4883> hmm, I see a single can't connect to db error, but it connects right after that
[03:18] <tgm4883> still looks like the tuner isn't up in time for the backend
[03:18] <tgm4883> superm1, ^^
[03:25] <qwebirc26086> if i update using the mythbuntu-repos will that affect your troubleshooting?
[03:30] <tgm4883> qwebirc26086, no, it's something we recommend anyway
[03:30] <tgm4883> we'll probably need superm1 to weigh in on this though. Having it wait for mysql may fix it, but since that doesn't appear to be the issue it would be a side effect of the change
[03:33] <qwebirc26086> I am reading about a sleep script in mythtv-backend.conf...think that would fix my issue?
[03:33] <tgm4883> qwebirc26086, it would fix the issue, but it's more of a hack than an actual fix
[03:34] <tgm4883> not that it would be bad for you, but it's not something we should put in the packaging
[03:35] <qwebirc26086> got ya.....
[03:37] <qwebirc26086> looking at my logs and times how long of a sleep would it take?
[03:40] <tgm4883> IDK, thats something you probably need to test
[03:40] <tgm4883> maybe start with 10 seconds, if it works go to 5
[03:41] <qwebirc26086> ok I'll try it.
[03:55] <qwebirc26086> Thanks guys!  I just added a sleep 10 to my mythtv-backend.conf.  I appreciate all the assistance.
[04:29] <mycosys> tgm4883 - he got it all figuted?
[04:29] <mycosys> *figured
[05:04] <superm1> we can't have it wait for mysql
[05:04] <superm1> that breaks the non mysql case
[05:05] <superm1> maybe a secondary job can fix this though, will have to think abou tit
[06:42] <tgm4883> superm1, yea but somethings odd about it
[06:42] <tgm4883> like why waiting for udev wasn't working
[14:58] <superm1> theres a udev finish thing that it can wait for instead
[14:58] <tgm4883> superm1, yea, thats what it's currently set at
[14:59] <superm1> upstart would have to be booted in debug mode to find out what's really happening
[14:59] <superm1> it's a kernel command line option that puts it in debug mode
[14:59] <tgm4883> ok
[19:42] <qwebirc65487> I am attempting to put mythbuntu onto my pc using a Hauppauge nova-s-plus card but I can't find channels