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

Bug#420382: installation-reports: Install hangs when 30GB ipod connected via USB



On Sunday 22 April 2007 09:18, Andrew Chant wrote:
> I've attached the syslog after adding set -x to
> /lib/partman/definitions.sh, as requested.

Thank you for the log. It shows the warning being displayed, but not what 
happens after that.

I've done some testing of my own, simulating the error (though not 
actually triggering the error in the library) and I cannot reproduce any 
hang.

Can you describe the hang and when exactly it happens in more detail?
What should happen is that when you get the warning, you can choose either 
<Go Back> or <Continue>. In fact, what you choose does not matter.
Can you still do this? Does the warning disappear? Does the progress bar 
progress at all after that?

Could you do another test and add a few logging statements near the bottom 
of /var/lib/partman/init.d/30parted as follows:
        cd $dev
        logger -t test "Opening device"
        open_dialog OPEN "$(cat $dev/device)"
        logger -t test "Back from dialog"
        read_line response
        logger -t test "Response is: '$response'"
        close_dialog
        logger -t test "Dialog closed"
        if [ "$response" = failed ]; then
            cd /
            rm -rf $dev
        fi

Please also add the "set -x" in that script instead of definitions.sh this 
time.

> The reason I suggest adding it to the workarounds is because it is not
> obvious that it is the ipod that is causing the hang.  It took me a
> few hours to figure out that /dev/scsi/host2 was actually my ipod,
> which normally I don't consider as an HD - I just have it connected
> all the time so that it charges.

Well, it's detected as an USB stick by linux, so from our point of view 
it's perfectly normal that it is detected at that stage. Having 
additional storage devices (not needed for the install itself) plugged 
into a system is in general not advisable, and an iPod _is_ a storage 
device :-)

Cheers,
FJP



Reply to: