[mythtv-users] Only one of two HVR-1600 initializes -- ioremap failed error (vmalloc)

James Crow james at ultratans.com
Tue Nov 4 13:30:55 UTC 2008


On Mon, 2008-11-03 at 20:46 -0600, Greg Hermsen wrote:

> 
> I've been scouring the Internet looking for help with my problem.  I
> found a posting at:
>         http://www.spinics.net/lists/linux-dvb/msg29645.html
>         ...I swopped-out hard drives and installed Mythbuntu. After
>         installing the cx18 drivers it also only initialized one card.
>         I then modified the bootloader with "vmalloc=256M" and it
>         worked like a champ. ...
> I'm not sure where the bootloader is located and how risky it is to
> edit so I continued searching for information on editing the
> bootloader.  I couldn't find anything.  I have a 640GB hard drive.
>  
> I also ran the suggested command, "cat /proc/meminfo | grep Vmalloc"
> and got the following results:
>         VmallocTotal:   114680 kB
>         VmallocUsed:    101208 kB
>         VmallocChunk:    11764 kB
> Can anybody give me guidance on the steps I need to take?
>  
> Thanks,
> Greg

Greg,

  Under Mythbuntu 8.04 and 8.10 you can edit the /boot/grub/menu.lst
file. Look for a line that starts with:
# kopt=UUID=[followed by a long string of random characters]

At the end of the # kopt line add your vmalloc=256M setting. So for my
system the completed line would be:

# kopt=root=UUID=2ef2c79b-0495-4a52-9d59-a83e5a870371 ro vmalloc=256M

This will preserve the change for any later kernels that get installed.
You will also want to add the option to the current default kernel. Look
further down in the file for a section that looks like this:

title           Ubuntu 8.10, kernel 2.6.27-7-generic
root            (hd0,1)
kernel          /vmlinuz-2.6.27-7-generic
root=UUID=2ef2c79b-0495-4a52-9d59-a83e5a870371 ro quiet splash 
initrd          /initrd.img-2.6.27-7-generic
quiet

*note: the kernel line above is wrapped by mail reader*

At the end of the root= line add the vmalloc=256M setting.

Reboot the machine and you should be ready to go.

Cheers,
James




More information about the mythtv-users mailing list