Re: Problems compiling kernel on rawhide

2008-01-02 Thread Robert M. Albrecht

Hi,

I did it manually, no message at all, but the file is generated. Should 
this be generated automatic ?


[EMAIL PROTECTED] ~]# mkinitrd -f /boot/initrd-2.6.24-rc3-git7-ahci.img 
2.6.24-rc3-git7-ahci


[EMAIL PROTECTED] ~]# cat /etc/modprobe.conf
alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0
alias eth0 sky2
[EMAIL PROTECTED] ~]#

[EMAIL PROTECTED] ~]# ll /boot/initrd-2.6.24-*
-rw--- 1 root root 2472631  4. Dez 08:32 
/boot/initrd-2.6.24-0.66.rc3.git7.fc9.img
-rw--- 1 root root 2319134  2. Jan 09:34 
/boot/initrd-2.6.24-rc3-git7-ahci.img

[EMAIL PROTECTED] ~]#


cu romal


Eric Paris schrieb:

On Wed, 2008-01-02 at 00:09 +0100, Robert M. Albrecht wrote:

Hi,

I tried to compile a kernel (to test a patched driver).

I installed the srpm, did an rpmbuild, ... all works.

After installing and booting the new kernel the systems hangs with

setuproot: /moving dev failed: No such efil or directory
setuproot: error mounting /proc
setuproot: error mounting /sys
switchroot: mount failed ...

I think the systems does not load the storag-drivers (at least I don`t
find their messages). The initrd is found and loaded, should the kernel
have the drivers here ?

cu romal


I'd probably retry running mkinitrd by hand, I believe it will give you
decent error messages if the drivers aren't built/installed correctly
(assuming /etc/modprobe.conf is correct)

man 8 mkinitrd

-Eric



___
Fedora-kernel-list mailing list
Fedora-kernel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-kernel-list


___
Fedora-kernel-list mailing list
Fedora-kernel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-kernel-list


Re: Problems compiling kernel on rawhide

2008-01-02 Thread Robert M. Albrecht
Hi,

I updated to rawhides kernel 123 (yum update kernel) and got the same
problem. Is this a general problem with buildung kernels ?

cu romal


Robert M. Albrecht schrieb:
 Hi,
 
 I did it manually, no message at all, but the file is generated. Should
 this be generated automatic ?
 
 [EMAIL PROTECTED] ~]# mkinitrd -f /boot/initrd-2.6.24-rc3-git7-ahci.img
 2.6.24-rc3-git7-ahci
 
 [EMAIL PROTECTED] ~]# cat /etc/modprobe.conf
 alias snd-card-0 snd-hda-intel
 options snd-card-0 index=0
 options snd-hda-intel index=0
 alias eth0 sky2
 [EMAIL PROTECTED] ~]#
 
 [EMAIL PROTECTED] ~]# ll /boot/initrd-2.6.24-*
 -rw--- 1 root root 2472631  4. Dez 08:32
 /boot/initrd-2.6.24-0.66.rc3.git7.fc9.img
 -rw--- 1 root root 2319134  2. Jan 09:34
 /boot/initrd-2.6.24-rc3-git7-ahci.img
 [EMAIL PROTECTED] ~]#
 
 
 cu romal
 
 
 Eric Paris schrieb:
 On Wed, 2008-01-02 at 00:09 +0100, Robert M. Albrecht wrote:
 Hi,

 I tried to compile a kernel (to test a patched driver).

 I installed the srpm, did an rpmbuild, ... all works.

 After installing and booting the new kernel the systems hangs with

 setuproot: /moving dev failed: No such efil or directory
 setuproot: error mounting /proc
 setuproot: error mounting /sys
 switchroot: mount failed ...

 I think the systems does not load the storag-drivers (at least I don`t
 find their messages). The initrd is found and loaded, should the kernel
 have the drivers here ?

 cu romal

 I'd probably retry running mkinitrd by hand, I believe it will give you
 decent error messages if the drivers aren't built/installed correctly
 (assuming /etc/modprobe.conf is correct)

 man 8 mkinitrd

 -Eric


 ___
 Fedora-kernel-list mailing list
 Fedora-kernel-list@redhat.com
 https://www.redhat.com/mailman/listinfo/fedora-kernel-list
 
 ___
 Fedora-kernel-list mailing list
 Fedora-kernel-list@redhat.com
 https://www.redhat.com/mailman/listinfo/fedora-kernel-list

___
Fedora-kernel-list mailing list
Fedora-kernel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-kernel-list


www.juniorguide.com

2008-01-02 Thread Pls check this new site
Please see this site in Subject

___
Fedora-kernel-list mailing list
Fedora-kernel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-kernel-list


Re: Problems compiling kernel on rawhide

2008-01-02 Thread Eric Paris

On Wed, 2008-01-02 at 09:35 +0100, Robert M. Albrecht wrote:
 Hi,
 
 I did it manually, no message at all, but the file is generated. Should 
 this be generated automatic ?
 
 [EMAIL PROTECTED] ~]# mkinitrd -f /boot/initrd-2.6.24-rc3-git7-ahci.img 
 2.6.24-rc3-git7-ahci
 
 [EMAIL PROTECTED] ~]# cat /etc/modprobe.conf
 alias snd-card-0 snd-hda-intel
 options snd-card-0 index=0
 options snd-hda-intel index=0
 alias eth0 sky2
 [EMAIL PROTECTED] ~]#

odd, there should be some lines in there for your storage driver, I
have:

alias scsi_hostadapter libata
alias scsi_hostadapter1 ata_piix

there is probably some sort of kudzu magic that could be used to
generate that, or you can figure out which drivers you need and add them
in by hand.  Then rebuilt the initrd and try again

-Eric

___
Fedora-kernel-list mailing list
Fedora-kernel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-kernel-list


www.perdidacabello.com.ar

2008-01-02 Thread Pls check this new site
Please see this site in Subject

___
Fedora-kernel-list mailing list
Fedora-kernel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-kernel-list


Re: Problems compiling kernel on rawhide

2008-01-02 Thread Robert M. Albrecht
Hi,

indeed, this helps. I added the drivers plus ahci to modprobe.conf and
generated a new initrd and the systems boots.

Thanks.

cu romal

Eric Paris schrieb:
 On Wed, 2008-01-02 at 09:35 +0100, Robert M. Albrecht wrote:
 Hi,

 I did it manually, no message at all, but the file is generated. Should 
 this be generated automatic ?

 [EMAIL PROTECTED] ~]# mkinitrd -f /boot/initrd-2.6.24-rc3-git7-ahci.img 
 2.6.24-rc3-git7-ahci

 [EMAIL PROTECTED] ~]# cat /etc/modprobe.conf
 alias snd-card-0 snd-hda-intel
 options snd-card-0 index=0
 options snd-hda-intel index=0
 alias eth0 sky2
 [EMAIL PROTECTED] ~]#
 
 odd, there should be some lines in there for your storage driver, I
 have:
 
 alias scsi_hostadapter libata
 alias scsi_hostadapter1 ata_piix
 
 there is probably some sort of kudzu magic that could be used to
 generate that, or you can figure out which drivers you need and add them
 in by hand.  Then rebuilt the initrd and try again
 
 -Eric

___
Fedora-kernel-list mailing list
Fedora-kernel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-kernel-list