Minimyth boot fails on Intel i5-650

Help with booting MiniMyth

Moderator: Pablo

Post Reply
kdewaal
Contributor
Posts: 79
Joined: Mon Sep 12, 2005 8:06 am
Location: Netherlands

Minimyth boot fails on Intel i5-650

Post by kdewaal » Mon Jan 03, 2011 5:31 pm

Just for fun I tried to run Minimyth 0.24.0-76b1 on my Intel i5-650 system. This system has only the on-chip Intel graphics.
However, it fails horribly when the Linux kernel is booting, ending really soon with a black screen.
I have added the "debug" magic word to the kernel commandline append string and by making a video of the screen output I have managed to capture the last three lines:

i915 0000:00:02 PCI INT A -> GSI 16 (level low) -> IRQ 16
i915 0000:00:02 setting latency timer to 64
mtrr: type mismatch for c0000000, 10000000 old: write-back new: write-comb


The systems runs fine with Fedora 14 and Linux kernel 2.6.35.10-74.fc14.x86_64.

System info:
[klaas@trunky ~]$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0040] (rev 12)
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0042] (rev 12)
00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b3b] (rev 06)
00:1a.1 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b3e] (rev 06)
00:1a.2 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b3f] (rev 06)
00:1a.7 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 06)
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 06)
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 06)
00:1c.5 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 [8086:3b4c] (rev 06)
00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b36] (rev 06)
00:1d.1 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b37] (rev 06)
00:1d.2 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller [8086:3b38] (rev 06)
00:1d.7 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 06)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a6)
00:1f.0 ISA bridge [0601]: Intel Corporation 5 Series Chipset LPC Interface Controller [8086:3b06] (rev 06)
00:1f.2 IDE interface [0101]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller [8086:3b20] (rev 06)
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 06)
00:1f.5 IDE interface [0101]: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller [8086:3b26] (rev 06)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
03:03.0 Multimedia controller [0480]: Philips Semiconductors SAA7146 [1131:7146] (rev 01)
03:06.0 IDE interface [0101]: Integrated Technology Express, Inc. IT8213 IDE Controller [1283:8213]
[klaas@trunky ~]$
MiniMyth on Gigabyte GA-73PVM-S2H / Intel E8500 / GT520

dgabler
Member
Posts: 21
Joined: Fri Jul 31, 2009 4:58 pm

Re: Minimyth boot fails on Intel i5-650

Post by dgabler » Fri Jan 14, 2011 7:41 pm

Have you tried disabling the onboard video and putting in a card?

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: Minimyth boot fails on Intel i5-650

Post by Pablo » Sat Jan 15, 2011 11:30 pm

When i upload 76b1, you might give it a try. It will have a newer kernel (2.6.37 rather than 2.6.36.2) and a newer intel video driver (2.14.0 rather than 2.13.0). As there has been a lot of development going on with the intel kernel DRM bits and the intel Xorg driver, these newer versions might help.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

kdewaal
Contributor
Posts: 79
Joined: Mon Sep 12, 2005 8:06 am
Location: Netherlands

Re: Minimyth boot fails on Intel i5-650

Post by kdewaal » Thu Jan 20, 2011 8:58 pm

Booting goes a lot better with the 0.24-76b2.
The boot now continues and stops at a login prompt.
The last part of /var/log/minimyth.log file now says the following:

Code: Select all

minimyth: Fetching firmware files ...
minimyth: loading kernel modules (automatic) ...
Use of uninitialized value in pattern match (m//) at /etc/rc.d/init/conf/base.pm line 201.
Use of uninitialized value in concatenation (.) or string at /etc/rc.d/init/conf/base.pm line 208.
minimyth: MM_X_DRIVER='' is not valid.
minimyth: loading kernel modules (manual) ...
minimyth: processing configuration file ...
Use of uninitialized value in pattern match (m//) at /etc/rc.d/init/conf/base.pm line 201.
Use of uninitialized value in concatenation (.) or string at /etc/rc.d/init/conf/base.pm line 208.
minimyth: MM_X_DRIVER='' is not valid.
Exiting eval via last at /etc/rc.d/rc.pl line 80.
minimyth: init failed. check '/var/log/messages' for further details.
N.B. I do not set MM_X_DRIVER anywhere in minimyth.conf; the minimyth.conf file is almost identical (except for display size) to the one I use with my E8500 frontend.
Btw, main reason for testing this is because a machine with only a i3 or i5 processor with on-chip graphics would be excellent for a low-power (as in energy) and fairly cheap Minimyth system, but only when it is fast enough to play my H264 HDTV recordings.
MiniMyth on Gigabyte GA-73PVM-S2H / Intel E8500 / GT520

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: Minimyth boot fails on Intel i5-650

Post by Pablo » Fri Jan 21, 2011 3:54 am

MM_X_VIDEO='' indicates that MiniMyth failed to detect the Intel video hardware. You can explicitly set MM_X_VIDEO='intel_i915" in your minimyth.conf file. If you do this, then do you get further?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

kdewaal
Contributor
Posts: 79
Joined: Mon Sep 12, 2005 8:06 am
Location: Netherlands

Re: Minimyth boot fails on Intel i5-650

Post by kdewaal » Fri Jan 21, 2011 9:29 pm

Setting MM_X_VIDEO='intel_915' does not make any difference, you probably mean MM_X_DRIVER so I tried that.
After setting MM_X_DRIVER='intel_915" the boot continues a lot further, the last lines in minimyth.log being:

Code: Select all

minimyth: configuring video ...
minimyth: something is very wrong in the 'video' init script.
Exiting eval via last at /etc/rc.d/rc.pl line 80.
minimyth: init failed. check '/var/log/messages' for further details.
/var/log/messages does not contain anything interesting.
I do not know if it matters but there is a file /etc/modprobe.d/i915.conf that has two lines:

Code: Select all

blacklist i915
options i915 modeset=1
Is the i915 not the driver that is used for the intel graphics hardware?
MiniMyth on Gigabyte GA-73PVM-S2H / Intel E8500 / GT520

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: Minimyth boot fails on Intel i5-650

Post by Pablo » Sat Jan 22, 2011 4:06 am

You are correct, it should have been MM_X_DRIVER.

It appears that you are missing a 'i' in the driver name. It should be

Code: Select all

MM_X_DRIVER='intel_i915'
My reason blacklisting the i915 kernel driver is somewhat random. I do not have any Intel hardware to test. However, I do have nvidia hardware to test. With my nvidia hardware the nouveau driver has problems when it is configured to use kernel mode setting and loads early. By blacklisting it, module aliases to nouveau will not cause it to load. However, when Xorg starts the Xorg nouveau driver loads the kernel nouveau driver. I figured since kernel nouveau driver was having problems, I assumed that other kernel mode setting capable drivers might have similar problems, so I blacklisted them as well.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

kdewaal
Contributor
Posts: 79
Joined: Mon Sep 12, 2005 8:06 am
Location: Netherlands

Re: Minimyth boot fails on Intel i5-650

Post by kdewaal » Sat Jan 22, 2011 5:16 pm

Sorry about the typo. In the minimyth.conf I had the string correct, 'intel_i915'.
What would be the best way to go forward with this? I currently use the ram distribution but it is fairly to change to the NFS distribution for this; it would then be possible to change scripts etc before booting. I am quite scared of the "gar-minimyth" path.
MiniMyth on Gigabyte GA-73PVM-S2H / Intel E8500 / GT520

kdewaal
Contributor
Posts: 79
Joined: Mon Sep 12, 2005 8:06 am
Location: Netherlands

Re: Minimyth boot fails on Intel i5-650

Post by kdewaal » Sun Jan 23, 2011 6:14 pm

I have it working now, at least to the point where I get the MythTV menu's and can play back TV. Playback is not smooth yet, but that is to be investigated later.
I've done the following:
- configured an NFS root file system so that I can change the configuration files
- remove the blacklist of the i915 driver (file /etc/modprobe.d/i915.conf)
- in minimyth.conf, set MM_X_DRIVER='intel_915' thus without the 'i'.
that is apparently the string to test for in rootfs-ro/etc/rc.d/init/video.pm
MiniMyth on Gigabyte GA-73PVM-S2H / Intel E8500 / GT520

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: Minimyth boot fails on Intel i5-650

Post by Pablo » Mon Jan 24, 2011 1:26 am

kdewaal wrote:I have it working now, at least to the point where I get the MythTV menu's and can play back TV. Playback is not smooth yet, but that is to be investigated later.
I've done the following:
- configured an NFS root file system so that I can change the configuration files
- remove the blacklist of the i915 driver (file /etc/modprobe.d/i915.conf)
- in minimyth.conf, set MM_X_DRIVER='intel_915' thus without the 'i'.
that is apparently the string to test for in rootfs-ro/etc/rc.d/init/video.pm
Thank you for letting me know what is needed to get it working.

I introduced a naming error in commit r7729. I have fixed it now. Now it should autodetect MM_X_DRIVER correctly.

In addition, I no longer blacklist the i915 driver.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

Post Reply