All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] xenomai version 2.4.4 with linux kernel 2.6.25.11 under ubuntu problem
@ 2008-08-04 14:49 stefano.franzoni
  2008-08-04 14:54 ` Gilles Chanteperdrix
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: stefano.franzoni @ 2008-08-04 14:49 UTC (permalink / raw)
  To: xenomai


Dear

I am trying to install Xenomai under Ubuntu following this guide:
http://www.xenomai.org/index.php/Xenomai_quick_build_quide

I have successfully patched the kernel with xenomai and compiled it.

I have created a new entry in grub/menu.lst

title kernel 2.6.25.11 with xenomai 2.4.4 and Ubuntu 8.04
root (hd0,2)
kernel /boot/vmlinuz-2.6.25.11-xenomai-2.4.4 root=/dev/hdb3 ro
zeno_nucleus.xenomai_gid=1004

I have one hard disk with two partitions and I am working on hdb3.

At the reboot of the PC I see the message:

cannot open root device "hdb3" or unknown-block(0,0)
please append a correct root= boot option; here are the available
partitions:
0100 65536 ram0 (driver?)
0101 65536 ram1 (driver?)
…
010f 65536 ram15 (driver?)

kernel panic - not syncing: VFS unable to mount root fs on
unknown-block(0,0)

- I have included in the kernel, not as module the File System EXT3.
- I have also included in the kernel, not as module, the
ATA/ATAPI/MFM/RLL Support -> Enhanced IDE/MFM

Any suggestions?

Thanks in advance

----------------------------------------------------------------
Stefano Franzoni
Sofware Research
Marposs S.p.A. - via Saliceto 13
40010 Bentivoglio (BO) - Italy
www.marposs.com

Tel: +39 051 899633
Fax: +39 051 899802
stefano.franzoni@marposs.com
----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-help] xenomai version 2.4.4 with linux kernel 2.6.25.11 under ubuntu problem
  2008-08-04 14:49 [Xenomai-help] xenomai version 2.4.4 with linux kernel 2.6.25.11 under ubuntu problem stefano.franzoni
@ 2008-08-04 14:54 ` Gilles Chanteperdrix
  2008-08-05 15:02   ` stefano.franzoni
  2008-08-04 15:05 ` Gilles Chanteperdrix
  2008-08-05 11:22 ` Dehann Fourie
  2 siblings, 1 reply; 7+ messages in thread
From: Gilles Chanteperdrix @ 2008-08-04 14:54 UTC (permalink / raw)
  To: stefano.franzoni; +Cc: xenomai

stefano.franzoni@domain.hid wrote:
> - I have also included in the kernel, not as module, the
> ATA/ATAPI/MFM/RLL Support -> Enhanced IDE/MFM
> 
> Any suggestions?

You also need to enable the actual IDE controller used by your computer
(the Enhanced IDE/MFM setting is just an option that will make the IDE
controllers visible, but as such it does not cause any
controller-specific code to be compiled). If in doubt, enable all IDE
controllers, boot, read the logs, then only keep the controller which
you really use.

Note that if you have a sufficiently recent hardware, your IDE
controller will in fact be a SATA controller, and your root partition
will become /dev/sda3, this requires a few changes in /etc/fstab that
are unfortunately incompatible with a previous installation.

-- 
                                                 Gilles.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-help] xenomai version 2.4.4 with linux kernel 2.6.25.11 under ubuntu problem
  2008-08-04 14:49 [Xenomai-help] xenomai version 2.4.4 with linux kernel 2.6.25.11 under ubuntu problem stefano.franzoni
  2008-08-04 14:54 ` Gilles Chanteperdrix
@ 2008-08-04 15:05 ` Gilles Chanteperdrix
  2008-08-05 11:22 ` Dehann Fourie
  2 siblings, 0 replies; 7+ messages in thread
From: Gilles Chanteperdrix @ 2008-08-04 15:05 UTC (permalink / raw)
  To: stefano.franzoni; +Cc: xenomai

stefano.franzoni@domain.hid wrote:
> Dear
> 
> I am trying to install Xenomai under Ubuntu following this guide:
> http://www.xenomai.org/index.php/Xenomai_quick_build_quide

Note that even if this guide documents the case when you disable initrd,
Xenomai will run just fine with an initrd.

-- 
                                                 Gilles.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-help] xenomai version 2.4.4 with linux kernel 2.6.25.11 under ubuntu problem
  2008-08-04 14:49 [Xenomai-help] xenomai version 2.4.4 with linux kernel 2.6.25.11 under ubuntu problem stefano.franzoni
  2008-08-04 14:54 ` Gilles Chanteperdrix
  2008-08-04 15:05 ` Gilles Chanteperdrix
@ 2008-08-05 11:22 ` Dehann Fourie
  2008-08-05 12:03   ` Gilles Chanteperdrix
  2008-08-05 13:59   ` Theo Veenker
  2 siblings, 2 replies; 7+ messages in thread
From: Dehann Fourie @ 2008-08-05 11:22 UTC (permalink / raw)
  To: stefano.franzoni; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 1971 bytes --]

HI,

Im not the expert but I had the same problem under xubuntu 7.10. I tried
mkinitrd, but this command doesn't come standard with Ubuntu. I resorted to
Debian and installed under an unencrypted fs. I think that the fs encryption
could be ur problem.

Dehann

On Mon, Aug 4, 2008 at 4:49 PM, <stefano.franzoni@domain.hid> wrote:

>
> Dear
>
> I am trying to install Xenomai under Ubuntu following this guide:
> http://www.xenomai.org/index.php/Xenomai_quick_build_quide
>
> I have successfully patched the kernel with xenomai and compiled it.
>
> I have created a new entry in grub/menu.lst
>
> title kernel 2.6.25.11 with xenomai 2.4.4 and Ubuntu 8.04
> root (hd0,2)
> kernel /boot/vmlinuz-2.6.25.11-xenomai-2.4.4 root=/dev/hdb3 ro
> zeno_nucleus.xenomai_gid=1004
>
> I have one hard disk with two partitions and I am working on hdb3.
>
> At the reboot of the PC I see the message:
>
> cannot open root device "hdb3" or unknown-block(0,0)
> please append a correct root= boot option; here are the available
> partitions:
> 0100 65536 ram0 (driver?)
> 0101 65536 ram1 (driver?)
> …
> 010f 65536 ram15 (driver?)
>
> kernel panic - not syncing: VFS unable to mount root fs on
> unknown-block(0,0)
>
> - I have included in the kernel, not as module the File System EXT3.
> - I have also included in the kernel, not as module, the
> ATA/ATAPI/MFM/RLL Support -> Enhanced IDE/MFM
>
> Any suggestions?
>
> Thanks in advance
>
> ----------------------------------------------------------------
> Stefano Franzoni
> Sofware Research
> Marposs S.p.A. - via Saliceto 13
> 40010 Bentivoglio (BO) - Italy
> www.marposs.com
>
> Tel: +39 051 899633
> Fax: +39 051 899802
> stefano.franzoni@domain.hid
> ----------------------------------------------------------------
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
>

[-- Attachment #2: Type: text/html, Size: 2754 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-help] xenomai version 2.4.4 with linux kernel 2.6.25.11 under ubuntu problem
  2008-08-05 11:22 ` Dehann Fourie
@ 2008-08-05 12:03   ` Gilles Chanteperdrix
  2008-08-05 13:59   ` Theo Veenker
  1 sibling, 0 replies; 7+ messages in thread
From: Gilles Chanteperdrix @ 2008-08-05 12:03 UTC (permalink / raw)
  To: Dehann Fourie; +Cc: xenomai

Dehann Fourie wrote:
> HI,
> 
> Im not the expert but I had the same problem under xubuntu 7.10. I tried
> mkinitrd, but this command doesn't come standard with Ubuntu. I resorted to
> Debian and installed under an unencrypted fs. I think that the fs encryption
> could be ur problem.

mkinitrd is and old package, replaced with mkinitramfs. There is no
reason fs encryption could be a problem with Xenomai, and if it is, then
it is a bug and needs fixing.

-- 
                                                 Gilles.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-help] xenomai version 2.4.4 with linux kernel 2.6.25.11 under ubuntu problem
  2008-08-05 11:22 ` Dehann Fourie
  2008-08-05 12:03   ` Gilles Chanteperdrix
@ 2008-08-05 13:59   ` Theo Veenker
  1 sibling, 0 replies; 7+ messages in thread
From: Theo Veenker @ 2008-08-05 13:59 UTC (permalink / raw)
  To: Dehann Fourie; +Cc: xenomai

Dehann Fourie wrote:
> 
> HI,
> 
> Im not the expert but I had the same problem under xubuntu 7.10. I tried 
> mkinitrd, but this command doesn't come standard with Ubuntu. I resorted 
> to Debian and installed under an unencrypted fs. I think that the fs 
> encryption could be ur problem.
> 
> Dehann
> 
> On Mon, Aug 4, 2008 at 4:49 PM, <stefano.franzoni@domain.hid
> <mailto:stefano.franzoni@domain.hid>> wrote:
> 
> 
>     Dear
> 
>     I am trying to install Xenomai under Ubuntu following this guide:
>     http://www.xenomai.org/index.php/Xenomai_quick_build_quide
> 
>     I have successfully patched the kernel with xenomai and compiled it.
> 
>     I have created a new entry in grub/menu.lst
> 
>     title kernel 2.6.25.11 <http://2.6.25.11> with xenomai 2.4.4 and
>     Ubuntu 8.04
>     root (hd0,2)
>     kernel /boot/vmlinuz-2.6.25.11-xenomai-2.4.4 root=/dev/hdb3 ro
>     zeno_nucleus.xenomai_gid=1004
> 
>     I have one hard disk with two partitions and I am working on hdb3.
> 
>     At the reboot of the PC I see the message:
> 
>     cannot open root device "hdb3" or unknown-block(0,0)
>     please append a correct root= boot option; here are the available
>     partitions:
>     0100 65536 ram0 (driver?)
>     0101 65536 ram1 (driver?)
>     …
>     010f 65536 ram15 (driver?)
> 
>     kernel panic - not syncing: VFS unable to mount root fs on
>     unknown-block(0,0)
> 
>     - I have included in the kernel, not as module the File System EXT3.
>     - I have also included in the kernel, not as module, the
>     ATA/ATAPI/MFM/RLL Support -> Enhanced IDE/MFM

You should also compile in the chipset stuff needed for the drive you boot
from if you don't want the hassle of creating an initrd. I had to compile
in BLK_DEV_PIIX for mine and also added some generic ones as non-modules.

Theo



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-help] xenomai version 2.4.4 with linux kernel 2.6.25.11 under ubuntu problem
  2008-08-04 14:54 ` Gilles Chanteperdrix
@ 2008-08-05 15:02   ` stefano.franzoni
  0 siblings, 0 replies; 7+ messages in thread
From: stefano.franzoni @ 2008-08-05 15:02 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

Hello Gilles,

The problem is solved, it was exactly the Enhanced IDE/MFM option.

Many thanks

Stefano



                                                                           
             Gilles                                                        
             Chanteperdrix                                                 
             <gilles.chanteper                                          To 
             drix@domain.hid>         stefano.franzoni@domain.hid        
                                                                        cc 
             04/08/2008 16:54          xenomai@xenomai.org                
                                                                   Subject 
                                       Re: [Xenomai-help] xenomai version  
                                       2.4.4 with linux kernel 2.6.25.11   
                                       under ubuntu problem                
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




stefano.franzoni@domain.hid wrote:
> - I have also included in the kernel, not as module, the
> ATA/ATAPI/MFM/RLL Support -> Enhanced IDE/MFM
>
> Any suggestions?

You also need to enable the actual IDE controller used by your computer
(the Enhanced IDE/MFM setting is just an option that will make the IDE
controllers visible, but as such it does not cause any
controller-specific code to be compiled). If in doubt, enable all IDE
controllers, boot, read the logs, then only keep the controller which
you really use.

Note that if you have a sufficiently recent hardware, your IDE
controller will in fact be a SATA controller, and your root partition
will become /dev/sda3, this requires a few changes in /etc/fstab that
are unfortunately incompatible with a previous installation.

--
                                                 Gilles.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-08-05 15:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-04 14:49 [Xenomai-help] xenomai version 2.4.4 with linux kernel 2.6.25.11 under ubuntu problem stefano.franzoni
2008-08-04 14:54 ` Gilles Chanteperdrix
2008-08-05 15:02   ` stefano.franzoni
2008-08-04 15:05 ` Gilles Chanteperdrix
2008-08-05 11:22 ` Dehann Fourie
2008-08-05 12:03   ` Gilles Chanteperdrix
2008-08-05 13:59   ` Theo Veenker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.