Booting 0.20-20 from flash: configuration file not found.

Help with booting MiniMyth

Moderator: Pablo

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

Post by Pablo » Mon Feb 05, 2007 10:40 pm

guillaume wrote:I think it would speed up booting because the config script wouldn't have to wait too long for /minimyth to be available.
On my VIA EPIA ME6000, it does not wait at all. I suspect that any waiting may be do to DMA issues.

Also, there is little chance to mount /minimyth earlier. The only init scripts that run before mounting /minimyth that are not needed to mount /minimyth are network and telnet, which start the DHCP client and telnet server respectively. These two scripts are done as early as possible because they enable the user to connect for debugging.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

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

Post by Pablo » Mon Feb 05, 2007 10:42 pm

Could those that are having problems that they attribute to DMA post the output of

Code: Select all

cat /proc/ide/hd?/settings
where hd? is the IDE device having the problem?

Thanks.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

guillaume
Member
Posts: 25
Joined: Sun Dec 03, 2006 1:09 am
Location: France

Post by guillaume » Mon Feb 05, 2007 11:38 pm

I'm quite sure this is due to dma : in version 0.20-21 when minimyth tells that it cannot load the config, the folder /minimyth isn't available. I have to have the 3 dma errors shown previously to have it mounted.
Then the conf is ok.

Code: Select all

root@(none):~ $ cat /proc/ide/hda/settings
name                    value           min             max             mode
----                    -----           ---             ---             ----
acoustic                0               0               254             rw
address                 0               0               2               rw
bios_cyl                1986            0               65535           rw
bios_head               16              0               255             rw
bios_sect               63              0               63              rw
bswap                   0               0               1               r
current_speed           34              0               70              rw
failures                0               0               65535           rw
init_speed              12              0               70              rw
io_32bit                1               0               3               rw
keepsettings            0               0               1               rw
lun                     0               0               7               rw
max_failures            1               0               65535           rw
multcount               4               0               4               rw
nice1                   1               0               1               rw
nowerr                  0               0               1               rw
number                  0               0               3               rw
pio_mode                write-only      0               255             w
unmaskirq               1               0               1               rw
using_dma               0               0               1               rw
wcache                  0               0               1               rw
something weird : it tells that the dma is not active but I still have dma error in the kernel log...

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

Post by Pablo » Tue Feb 06, 2007 2:15 am

That is strange. 0.20-21 uses kernel 2.6.19 while 0.20-22b8 uses kernel 2.6.17.4. I switched to kernel 2.6.17.14, because someone was having a problem with the kernel 2.6.19. I wonder whether there might be a bug in kernel 2.6.17.14.

I have uploaded a new test build (0.20-22b12). This test release has two changes that might make things better. First, the test release uses kernel 2.6.20. Second, IDE DMA is disabled by default, but is enabled on IDE DVD drives using hdparm called from udev.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

guillaume
Member
Posts: 25
Joined: Sun Dec 03, 2006 1:09 am
Location: France

Post by guillaume » Tue Feb 06, 2007 7:25 pm

It works like a charm

I have now some configuration to do :)

Thanks a lot Pablo

Guillaume

Post Reply