Hi,
I followed Debian_Getting_Started chapter in the wiki. There wasn't any error but, after rebooting, the kernel crashed:
Booting 'Debian GNU/Linux, kernel 2.6.27.4'
root (hd0,0) Filesystem type is ext2fs, partition type 0x83 kernel /boot/vmlinuz-2.6.27.4 root=/dev/hda1 ro quiet hfcmulti.dslot=1 [Linux-bzImage, setup=0x3000, size=0x1796901]
[0.000000] Unknown boot option 'hfcmulti.dslot=1': ignoring [0.796125] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
I tried first to delete "hfcmulti.dslot=1" at the kernel line but still have the second line.
After checking the /boot/grub/menu.lst file, I saw that the line initdr was missing for the kernel 2.6.27.4: title 2.6.27.4 root kernel
title 2.6.26.2 root kernel initdr
In /boot directory, I have initdr files only for 2.6.26.2 and 2.6.26.1.
Sorry I am quite weak concerning the kernel. Can anyone help me?
Thanks a lot
Eric Cathelinaud
Eric Cathelinaud wrote:
[...] In /boot directory, I have initdr files only for 2.6.26.2 and 2.6.26.1.
Sorry I am quite weak concerning the kernel. Can anyone help me?
Then just use mkinitramfs-kpkg to build a new initrd for your build.
ex: $ mkinitramfs-kpkg -o /boot/initrd.img-2.6.27.4 2.6.27.4
title Debian GNU/Linux, kernel X root (hd0,0) kernel /vmlinuz-X initrd /initrd.img-X
and so on...
kenny_
Hi,
that should fix it ;)
If anything is wrong in the tutorial tell me please. For me everything worked on both etch and lenny. I used standard netinstall...
Björn
Am 11.05.2009 um 17:26 schrieb Marcel Klein:
Eric Cathelinaud wrote:
[...] In /boot directory, I have initdr files only for 2.6.26.2 and 2.6.26.1.
Sorry I am quite weak concerning the kernel. Can anyone help me?
Then just use mkinitramfs-kpkg to build a new initrd for your build.
ex: $ mkinitramfs-kpkg -o /boot/initrd.img-2.6.27.4 2.6.27.4
title Debian GNU/Linux, kernel X root (hd0,0) kernel /vmlinuz-X initrd /initrd.img-X
and so on...
kenny_
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Björn Heller Jabber: tec@jabber.hellercom.de
Hi,
Thanks for your help.
I tried your command:
mkinitramfs-kpkg -o /boot/initrd.img-2.6.27.4 2.6.27.4
An error occured: cp: operand of the target file missing after `/tmp/tmp.XXXXmDVe5B/sbin/'
I really don't know how to solve the problem.
Then I tried to use the image of the previous kernel 2.6.26.2 to launch 2.6.27.4. There is no more Kernel panic but an error saying the lib/modules/ 2.6.27.4/ directory doesn't exist. I don't understand this error at all cause I checked and this directory actually exists.
Eric
2009/5/12 Bjoern Heller mailinglists@hellercom.de
Hi, that should fix it ;)
If anything is wrong in the tutorial tell me please. For me everything worked on both etch and lenny. I used standard netinstall...
Björn
Am 11.05.2009 um 17:26 schrieb Marcel Klein:
Eric Cathelinaud wrote:
[...] In /boot directory, I have initdr files only for 2.6.26.2 and
2.6.26.1.
Sorry I am quite weak concerning the kernel. Can anyone help me?
Then just use mkinitramfs-kpkg to build a new initrd for your build.
ex: $ mkinitramfs-kpkg -o /boot/initrd.img-2.6.27.4 2.6.27.4
title Debian GNU/Linux, kernel X root (hd0,0) kernel /vmlinuz-X initrd /initrd.img-X
and so on...
kenny_
Björn Heller Jabber: tec@jabber.hellercom.de
Hi Eric,
Eric Cathelinaud wrote:
Hi,
I followed Debian_Getting_Started chapter in the wiki. There wasn't any error but, after rebooting, the kernel crashed:
Booting 'Debian GNU/Linux, kernel 2.6.27.4'
root (hd0,0) Filesystem type is ext2fs, partition type 0x83 kernel /boot/vmlinuz-2.6.27.4 root=/dev/hda1 ro quiet hfcmulti.dslot=1 [Linux-bzImage, setup=0x3000, size=0x1796901]
[0.000000] Unknown boot option 'hfcmulti.dslot=1': ignoring [0.796125] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Have you forgotten to add SATA support to the kernel and renaming the hardisk to sda (fstab)?
Best Regards, Holger
Hi Holger,
I have got an IDE hard desk, not SATA. I think it's coming from the initrd missing. I don't understand why there is an error when launching the command: mkinitramfs-kpkg -o /boot/initrd.img-2.6.27.4 2.6.27.4 The error is : cp: operand of the target file missing after `/tmp/tmp.XXXXmDVe5B/sbin/'
I tried to do 'update-initramfs -u -k all' but still have the same problem: cp: operand of the target file missing after `/tmp/tmp.XXXX<something>/sbin/'
The software is using cp for some reason but something is missing and I don't know what. I installed mkinitramfs and libbash (needed by mkinitramfs). Did I miss something?
Best regards, Eric
2009/5/12 Holger Adams holger@kernreaktor.org
Hi Eric,
Eric Cathelinaud wrote:
Hi,
I followed Debian_Getting_Started chapter in the wiki. There wasn't any error but, after rebooting, the kernel crashed:
Booting 'Debian GNU/Linux, kernel 2.6.27.4'
root (hd0,0) Filesystem type is ext2fs, partition type 0x83 kernel /boot/vmlinuz-2.6.27.4 root=/dev/hda1 ro quiet hfcmulti.dslot=1 [Linux-bzImage, setup=0x3000, size=0x1796901]
[0.000000] Unknown boot option 'hfcmulti.dslot=1': ignoring [0.796125] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Have you forgotten to add SATA support to the kernel and renaming the hardisk to sda (fstab)?
Best Regards, Holger
Hi,
Finally i used yaird instead of mkinitramfs to build the image and it works fine:
apt-get install yaird yaird –v –o /boot/initrd.img-2.6.27.4 2.6.27.4
*if yaird return an error saying /lib/modules/2.6.27.4/modules.pcimap is missing:
depmod -a -m -F /boot/System.map-2.6.27.4 2.6.27.4
dpkg --configure -a
Now I can boot on kernel 2.6.27.4 Thanks a lot for the help
I still have a problem with *hfcmulti.dslot=1* After reboot it says that it is not recognized and is ignored. My /boot/grub/menu.lst is as follow:
title Debian GNU/Linux, kernel 2.6.27.4 root (hd0,0) kernel /boot/vmlinuz-2.6.27.4 root=/dev/hda1 hfcmulti.dslot=1 ro quiet initrd /boot/initrd.img-2.6.27.4
and during the *make-kpkg linux-image --initrd --revision=openbsc01.0*, I saw these lines: CC [M] drivers/isdn/hardware/mISDN/hfcpci.o CC [M] drivers/isdn/hardware/mISDN/hfcmulti.o ...
Did I miss something?
Best regards, Eric
2009/5/13 Eric Cathelinaud e.cathelinaud@googlemail.com
Hi Holger,
I have got an IDE hard desk, not SATA. I think it's coming from the initrd missing. I don't understand why there is an error when launching the command: mkinitramfs-kpkg -o /boot/initrd.img-2.6.27.4 2.6.27.4 The error is : cp: operand of the target file missing after `/tmp/tmp.XXXXmDVe5B/sbin/'
I tried to do 'update-initramfs -u -k all' but still have the same problem: cp: operand of the target file missing after `/tmp/tmp.XXXX<something>/sbin/'
The software is using cp for some reason but something is missing and I don't know what. I installed mkinitramfs and libbash (needed by mkinitramfs). Did I miss something?
Best regards, Eric
2009/5/12 Holger Adams holger@kernreaktor.org
Hi Eric,
Eric Cathelinaud wrote:
Hi,
I followed Debian_Getting_Started chapter in the wiki. There wasn't any error but, after rebooting, the kernel crashed:
Booting 'Debian GNU/Linux, kernel 2.6.27.4'
root (hd0,0) Filesystem type is ext2fs, partition type 0x83 kernel /boot/vmlinuz-2.6.27.4 root=/dev/hda1 ro quiet hfcmulti.dslot=1 [Linux-bzImage, setup=0x3000, size=0x1796901]
[0.000000] Unknown boot option 'hfcmulti.dslot=1': ignoring [0.796125] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Have you forgotten to add SATA support to the kernel and renaming the hardisk to sda (fstab)?
Best Regards, Holger
Hello,
Have you really selected the HFC e1 driver in menuconfig?? You need to install it with a asterisk, to work immediately. And dont forget to include the whole misdn stuff... I tried it again on a fresh installed machine, and it worked fine.
Best regards Björn Heller
Am 13.05.2009 um 15:28 schrieb Eric Cathelinaud:
Hi,
Finally i used yaird instead of mkinitramfs to build the image and it works fine: apt-get install yaird
yaird –v –o /boot/initrd.img-2.6.27.4 2.6.27.4
*if yaird return an error saying /lib/modules/2.6.27.4/ modules.pcimap is missing: depmod -a -m -F /boot/System.map-2.6.27.4 2.6.27.4
dpkg --configure -a
Now I can boot on kernel 2.6.27.4 Thanks a lot for the help
I still have a problem with hfcmulti.dslot=1 After reboot it says that it is not recognized and is ignored. My /boot/grub/menu.lst is as follow:
title Debian GNU/Linux, kernel 2.6.27.4 root (hd0,0) kernel /boot/vmlinuz-2.6.27.4 root=/dev/hda1 hfcmulti.dslot=1 ro quiet initrd /boot/initrd.img-2.6.27.4
and during the make-kpkg linux-image --initrd -- revision=openbsc01.0, I saw these lines: CC [M] drivers/isdn/hardware/mISDN/hfcpci.o CC [M] drivers/isdn/hardware/mISDN/hfcmulti.o ...
Did I miss something?
Best regards, Eric
2009/5/13 Eric Cathelinaud e.cathelinaud@googlemail.com Hi Holger,
I have got an IDE hard desk, not SATA. I think it's coming from the initrd missing. I don't understand why there is an error when launching the command:
mkinitramfs-kpkg -o /boot/initrd.img-2.6.27.4 2.6.27.4 The error is :
cp: operand of the target file missing after `/tmp/tmp.XXXXmDVe5B/ sbin/'
I tried to do 'update-initramfs -u -k all' but still have the same problem: cp: operand of the target file missing after `/tmp/ tmp.XXXX<something>/sbin/'
The software is using cp for some reason but something is missing and I don't know what. I installed mkinitramfs and libbash (needed by mkinitramfs). Did I miss something?
Best regards, Eric
2009/5/12 Holger Adams holger@kernreaktor.org
Hi Eric,
Eric Cathelinaud wrote:
Hi,
I followed Debian_Getting_Started chapter in the wiki. There
wasn't any
error but, after rebooting, the kernel crashed:
Booting 'Debian GNU/Linux, kernel 2.6.27.4'
root (hd0,0) Filesystem type is ext2fs, partition type 0x83 kernel /boot/vmlinuz-2.6.27.4 root=/dev/hda1 ro quiet
hfcmulti.dslot=1
[Linux-bzImage, setup=0x3000, size=0x1796901]
[0.000000] Unknown boot option 'hfcmulti.dslot=1': ignoring [0.796125] Kernel panic - not syncing: VFS: Unable to mount root
fs on
unknown-block(0,0)
Have you forgotten to add SATA support to the kernel and renaming the hardisk to sda (fstab)?
Best Regards, Holger
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Björn Heller Jabber: tec@jabber.hellercom.de
Hello,
Thanks, it works now. I was using only 'M' for module. I replaced by asterisk and it works fine.
Best regards Eric Cathelinaud
2009/5/13 Bjoern Heller mailinglists@hellercom.de
Hello, Have you really selected the HFC e1 driver in menuconfig?? You need to install it with a asterisk, to work immediately. And dont forget to include the whole misdn stuff... I tried it again on a fresh installed machine, and it worked fine.
Best regards Björn Heller
Am 13.05.2009 um 15:28 schrieb Eric Cathelinaud:
Hi,
Finally i used yaird instead of mkinitramfs to build the image and it works fine:
apt-get install yaird yaird –v –o /boot/initrd.img-2.6.27.4 2.6.27.4
*if yaird return an error saying /lib/modules/2.6.27.4/modules.pcimap is missing:
depmod -a -m -F /boot/System.map-2.6.27.4 2.6.27.4
dpkg --configure -a
Now I can boot on kernel 2.6.27.4 Thanks a lot for the help
I still have a problem with *hfcmulti.dslot=1* After reboot it says that it is not recognized and is ignored. My /boot/grub/menu.lst is as follow:
title Debian GNU/Linux, kernel 2.6.27.4 root (hd0,0) kernel /boot/vmlinuz-2.6.27.4 root=/dev/hda1 hfcmulti.dslot=1 ro quiet initrd /boot/initrd.img-2.6.27.4
and during the *make-kpkg linux-image --initrd --revision=openbsc01.0*, I saw these lines: CC [M] drivers/isdn/hardware/mISDN/hfcpci.o CC [M] drivers/isdn/hardware/mISDN/hfcmulti.o ...
Did I miss something?
Best regards, Eric
2009/5/13 Eric Cathelinaud e.cathelinaud@googlemail.com
Hi Holger,
I have got an IDE hard desk, not SATA. I think it's coming from the initrd missing. I don't understand why there is an error when launching the command: mkinitramfs-kpkg -o /boot/initrd.img-2.6.27.4 2.6.27.4 The error is : cp: operand of the target file missing after `/tmp/tmp.XXXXmDVe5B/sbin/'
I tried to do 'update-initramfs -u -k all' but still have the same problem: cp: operand of the target file missing after `/tmp/tmp.XXXX<something>/sbin/'
The software is using cp for some reason but something is missing and I don't know what. I installed mkinitramfs and libbash (needed by mkinitramfs). Did I miss something?
Best regards, Eric
2009/5/12 Holger Adams holger@kernreaktor.org
Hi Eric,
Eric Cathelinaud wrote:
Hi,
I followed Debian_Getting_Started chapter in the wiki. There wasn't any error but, after rebooting, the kernel crashed:
Booting 'Debian GNU/Linux, kernel 2.6.27.4'
root (hd0,0) Filesystem type is ext2fs, partition type 0x83 kernel /boot/vmlinuz-2.6.27.4 root=/dev/hda1 ro quiet hfcmulti.dslot=1 [Linux-bzImage, setup=0x3000, size=0x1796901]
[0.000000] Unknown boot option 'hfcmulti.dslot=1': ignoring [0.796125] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Have you forgotten to add SATA support to the kernel and renaming the hardisk to sda (fstab)?
Best Regards, Holger
Björn Heller Jabber: tec@jabber.hellercom.de