[Voyage-linux] Booting from CF card

Michael Grollman (spam-protected)
Fri Nov 28 02:26:27 HKT 2008


Something that solved similar problems for me, and that might be easy to try
at least, is adding ide=nodma to the end your grub kernel start line.  It
seems that some CF drives have trouble keeping up with certain more modern
brands of CF, and turning off the dma seems to help in some of these cases.

In this case, the line might read: 

kernel /vmlinuz root=LABEL=ROOT_FS ide=nodma


Cheers,

- Michael

-----Original Message-----
From: voyage-linux-bounces+mgrollman=cox.net at list.voyage.hk
[mailto:voyage-linux-bounces+mgrollman=cox.net at list.voyage.hk] On Behalf Of
Punky Tse
Sent: Thursday, November 27, 2008 11:08 AM
To: Chris
Cc: voyage-linux at voyage.hk
Subject: Re: [Voyage-linux] Booting from CF card

Hi Chris,

I had similar problem when using qemu for booting voyage for testing.

May be you can supply "*all_generic_ide" *in kernel parameter.

See my blog on this:
    http://www.punknix.com/?q=node/118

Regards,
Punky

Kim-man 'Punky' TSE wrote:
> Hi Chris,
>
> Using the working current build, can you send the following output:
>
> 1. dmesg
> 2. lspci -v
> 3. lsmod
>
> - Punky
>
> Chris wrote:
>> It's a CF card, but is set up to work like an IDE drive.
>> I can get the current build of Voyage working, just not the Lenny 
>> version.
>>
>> Thanks,
>> Chris
>>
>> Punky Tse wrote:
>>> Hi Chris,
>>>
>>> Most probably, the disk device cannot be detected by voyage kernel.  
>>> At least, we need to know what is your disk device.  Is it IDE or sata?
>>>
>>> Regards,
>>> Punky
>>>
>>>
>>> Chris wrote:
>>>> Hi,
>>>>
>>>> I have no problem with that, the issue is getting the info from 
>>>> that computer into this email.
>>>> I have tried:
>>>> dmesg > errortext
>>>>
>>>> I don't think it can be saved to the CF card, as the card cannot be 
>>>> mounted?
>>>>
>>>> cat proc/partitions has no info. It just displays:
>>>> major minor #blocks name
>>>>
>>>> Thanks for the help.
>>>>
>>>> Josh F wrote:
>>>>> It means exactly what it says:
>>>>>
>>>>> At the shell prompt, type: "dmesg" (without the quotes) (and press 
>>>>> enter)
>>>>> Copy and paste that to the email
>>>>>
>>>>> Then type "cat /proc/partitions" (without the quotes) (and press 
>>>>> enter)
>>>>> Copy and paste that to the email
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Chris wrote:
>>>>>> Hard disk is a CF card and I am using voyage-lenny.
>>>>>> Sorry, what do you mean by?
>>>>>> Please post "dmesg" and "cat /proc/partitions".
>>>>>>
>>>>>> Thanks again!
>>>>>>
>>>>>> Kim-man 'Punky' TSE wrote:
>>>>>>> Hi Chris,
>>>>>>>
>>>>>>> No idea, but is it a sata harddisk?  I might be unsupported on 
>>>>>>> voyage.  Please post "dmesg" and "cat /proc/partitions".  BTW 
>>>>>>> what voyage version you are using?
>>>>>>>
>>>>>>> Regards,
>>>>>>> Punky
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Thanks for the help, but still no luck. Volume is called 
>>>>>>>> ROOT_FS and I tried changing kernel parameter to 
>>>>>>>> "root=/dev/hda" and "root=/dev/hda1" no luck.
>>>>>>>>
>>>>>>>> Any other ideas?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Chris
>>>>>>>>
>>>>>>>> Punky Tse wrote:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Check to see if your root fs has ROOT_FS volume label.  If 
>>>>>>>>> not, label the fs with ROOT_FS.  Or change grub to use 
>>>>>>>>> "root=/dev/hda" for kernel parameter.
>>>>>>>>>
>>>>>>>>> Punky
>>>>>>>>>
>>>>>>>>> Chris wrote:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I am booting for a PC with a CF card Hard drive. I completed 
>>>>>>>>>> installation on my Ubuntu standard PC and it worked fine.
>>>>>>>>>> When it's booting and it comes to:
>>>>>>>>>> Begin:  Waiting for root file system ...
>>>>>>>>>>
>>>>>>>>>> It pauses for about 5 minutes and then says:
>>>>>>>>>> Give up waiting for root device (and displays some common 
>>>>>>>>>> problem solutions)
>>>>>>>>>> Then it drops to:
>>>>>>>>>> (initramfs)
>>>>>>>>>>
>>>>>>>>>> My Grub settings look like this:
>>>>>>>>>>
>>>>>>>>>> timeout 5
>>>>>>>>>> default 0
>>>>>>>>>>
>>>>>>>>>> title voyage-linux-19Nov08
>>>>>>>>>> root (hd0,0)
>>>>>>>>>> kernel /vmlinuz root=LABEL=ROOT_FS
>>>>>>>>>> initrd /initrd.img
>>>>>>>>>>
>>>>>>>>>> Is this right?
>>>>>>>>>> I haven't changed anything from standard installation.
>>>>>>>>>> I have searched forums, and there is probably something very 
>>>>>>>>>> simple to fix this, but I can't find anything as yet.
>>>>>>>>>>
>>>>>>>>>> Thanks for your help in advance!
>>>>>>>>>> Chris
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Voyage-linux mailing list
>>>>>>>>>> Voyage-linux at list.voyage.hk
>>>>>>>>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Voyage-linux mailing list
>>>>>> Voyage-linux at list.voyage.hk
>>>>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Voyage-linux mailing list
>>>> Voyage-linux at list.voyage.hk
>>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>
>>>
>>> _______________________________________________
>>> Voyage-linux mailing list
>>> Voyage-linux at list.voyage.hk
>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>
>
>


_______________________________________________
Voyage-linux mailing list
Voyage-linux at list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux





More information about the Voyage-linux mailing list