ddetect doesn't catch all the devices at the first run.

Bug #10469 reported by Fabio Massimo Di Nitto
4
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Medium
Colin Watson

Bug Description

Hi Colin,
         netinstall of 19/11/2004.

After the installer downloads the udeb and scan the hardware,
partitioner starts so fast that udev/hotplug don't
have the time to create the device, making partitioner miserably
fail.
Back to the menu, second run of partitioner and everything works
perfectly.

Probably the difficult part here is to decide how long to wait
since we can't possibly scan for all block devices and we need
to wait that udev will create all of them before running partitioner.

A solution might be to monitor hotplug activity and start partitioner
after 5 seconds hotplug goes and sits in his corner.

Fabio

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

After some other tests i can reproduce this problem on difference machines.

As you correctly suggested the problem is ddetect.

running partitioner twice doesn't help, ddetect needs to run twice.

Ciao,
Fabio

Revision history for this message
Colin Watson (cjwatson) wrote :

I've just uploaded hotplug integration for ddetect, which was in progress since
some time before your bug report but wasn't ready at the same time as the other
hotplug-related changes. That may help matters, since it runs the hotplug rc
scripts during the hardware detection stage.

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

It works perfectly now! Tested on 3 different machines.

Fabio

Revision history for this message
Colin Watson (cjwatson) wrote :

Could you confirm the version of debian-installer you were using, and what
version of hw-detect it mentions in initrd.list?

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

This is using netinstall/netboot from:
Ubuntu 5.04 "Hoary Hedgehog" - Alpha i386 Binary-1 (20041124)

Package: hw-detect
Version: 1.10ubuntu3
was on the my mirror at that time.

Revision history for this message
Colin Watson (cjwatson) wrote :

(hw-detect is in the initrd, so the version on your mirror is immaterial.)

OK, the version of debian-installer on that CD did have the newer hw-detect,
thanks. Testing with the next CD would be good as well, since that removes discover.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.