[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#426404: initramfs-tools: firmware related problems in hook-functions



reassign 426404 udev
severity 426404 important
severity 427643 important
merge 426404 427643
stop

On Wed, Jun 27, 2007 at 10:43:20PM +0200, Emanuele Rocca wrote:
> * maximilian attems <max@stro.at>, [2007-06-24 16:51 +0200]:
> >  hmm diff looks sane, so can you check that if you land in the initramfs
> >  that qla2xxx is loaded?
> >  cat /proc/modules
> 
> The module is loaded but it cannot find firmware images.
> 
> I think I've found the reason, though: with initramfs-tools 0.88 here's
> what goes under /lib/udev:
> 
> ls /tmp/new/lib/udev/
> firmware.agent
> 
> firmware.agent tries (and fails) to source /lib/udev/hotplug.functions
> 
> And the following is /lib/udev with former versions of initramfs-tools:
> 
> ls /tmp/old/lib/udev/
> ata_id    edd_id          hotplug.functions  path_id  usb_id
> cdrom_id  firmware.agent  ide.agent          scsi_id  vol_id
> 

uii, thanks for your analysis.
indeed the set -e /usr/share/initramfs-tools/hooks/udev
with the failure of mkdir prevents the following to land on initramfs
--
cp /lib/udev/hotplug.functions $DESTDIR/lib/udev/
copy_exec /lib/udev/ide.agent /lib/udev/
for program in /lib/udev/*_id; do
  copy_exec $program /lib/udev/
done
--

reassigning the udev hook for mkdir -p repair.

-- 
maks



Reply to: