[Bootcd-user] bootcd with udev

JAdamson at semtech.com JAdamson at semtech.com
Thu Oct 12 17:46:07 UTC 2006


Hi,

        I am trying to build a bootcd  with Kernel 2.6.17.

After a minimal install the system was patched to the latest. I then 
installed bootcd and bootcd-mkinitrd. When bootcdwrite is performed I get 
a lot of "did shrink" errors for the /sys filesystem.

--- Creating CD-Image ---
Size of boot image is 4 sectors -> No emulation
mkisofs: File 
'/sys/devices/pci0000:00/0000:00:10.0/host0/target0:0:0/0:0:0:0/power/state' 
did shrink.
exit=255
--- OUTPUT from <mkisofs -graft-points -R -b isolinux/isolinux.bin -c 
isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o 
/var/spool/bootcd/cdimage -x /proc -x /var/spool/bootcd -x 
/var/log/bootcdwrite.log -x /etc -x /var -x /tmp -x /dev -x /home -x /root 
-x /etc/mtab -x /etc/cron.daily/find -x /etc/cron.daily/standard -x 
/etc/fstab -x /etc/ssh/ssh_host_rsa_key -x /etc/ssh/ssh_host_dsa_key -x 
/etc/ssh/ssh_host_rsa_key.pub -x /etc/ssh/ssh_host_dsa_key.pub -x 
/usr/share/bootcd/bootcd-run.lib /=/ /=/var/spool/bootcd/changes 
/home.ro/=/home /root.ro/=/root /var.ro/=/var /etc.ro/=/etc /dev.ro/=/dev> 
---
mkisofs: File 
'/sys/devices/pci0000:00/0000:00:10.0/host0/target0:0:0/0:0:0:0/power/state' 
did shrink.
exit=255

 An image of 16Mb is then created and is junk.

I realised if you mount the /dev/sda1 on /mnt/tmp and change the 
bootcdwrite.conf then the whole process completes without issue (>?) and I 
get an image that looks a better size. During the build you get these 
warnings:

mkisofs: Warning: Directory loop (/mnt/tmp/var/spool/bootcd/changes/proc 
dev: 801 ino: 265749).
mkisofs: Warning: Directory loop (/mnt/tmp/var/spool/bootcd/changes/sys 
dev: 801ino: 265750).
mkisofs: Warning: Directory loop (/mnt/tmp/var/spool/bootcd/changes/ram1 
dev: 801 ino: 265751).
mkisofs: Warning: Directory loop (/mnt/tmp/var/spool/bootcd/changes/ram2 
dev: 801 ino: 265752).
mkisofs: Warning: Directory loop (/mnt/tmp/var/spool/bootcd/changes/tmp.ro 
dev:801 ino: 265765).
mkisofs: Warning: Directory loop (/mnt/tmp/var/spool/bootcd/changes/etc.ro 
dev:801 ino: 265766).
mkisofs: Warning: Directory loop 
(/mnt/tmp/var/spool/bootcd/changes/etc.ro/rcS.ddev: 801 ino: 265865).
mkisofs: Warning: Directory loop 
(/mnt/tmp/var/spool/bootcd/changes/etc.ro/bootcd dev: 801 ino: 265870).
mkisofs: Warning: Directory loop 
(/mnt/tmp/var/spool/bootcd/changes/etc.ro/cron.daily dev: 801 ino: 
265878).
mkisofs: Warning: Directory loop 
(/mnt/tmp/var/spool/bootcd/changes/etc.ro/ssh dev: 801 ino: 265885).
mkisofs: Warning: Directory loop (/mnt/tmp/var/spool/bootcd/changes/dev.ro 
dev:801 ino: 265767).
mkisofs: Warning: Directory loop (/mnt/tmp/var/spool/bootcd/changes/usr 
dev: 801ino: 265868).
mkisofs: Warning: Directory loop 
(/mnt/tmp/var/spool/bootcd/changes/usr/bin dev:801 ino: 265869).
mkisofs: Warning: Directory loop 
(/mnt/tmp/var/spool/bootcd/changes/usr/share dev: 801 ino: 265871).
mkisofs: Warning: Directory loop 
(/mnt/tmp/var/spool/bootcd/changes/usr/share/bootcd dev: 801 ino: 265872).
mkisofs: Warning: Directory loop 
(/mnt/tmp/var/spool/bootcd/changes/isolinux dev: 801 ino: 265890).

The bootcdmkinitrd process appears to go without problem, and I think it's 
going to work, however...

During the boot process, the first errors I see are devfs errors. They are 
followed by problems finding files, then terminating with no console 
access and "INIT: ID "?" respawning too fast: disabled for 5 minutes" for 
each runlevel.


mount: Mounting devfs on devfs failed: No such device
umount: Couldn't umount /devfs: Invalid argument

running /scripts/bootcd
find: /usr/lib: No such file or directory

FATAL: Module <lots> not found

Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...input: PC Speaker as 
/class/input/input1

INIT: ID "?" respawning too fast: disabled for 5 minutes

As far as I am aware there is no longer any support for devfs, it has been 
replaced by udev. The DEVFS option in the bootcdwrite.conf file is off and 
complains if you set it on.

Any help, advice, or failing that sympathy in this would be greatly 
appreciated.

John Adamson




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/bootcd-user/attachments/20061012/260b5e1c/attachment.html


More information about the Bootcd-user mailing list