Unhelpful SQUASHFS error messages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
squashfs (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
I just installed Ubuntu 8.04.1 with a lot of pain (5 tries necessary).
Configuration: 1GB mem, 320GB SATA, AMD Athlon 1800XP, ATI9250
Please note that I successfully installed versions 6.10 & 7.04 (and various other distros) without errors on the same computer.
During 2 of the installation attempts I got thousands of SQUASHFS errors like this (not at the same % of the installation):
[00123.173770] SQUASHFS error: Unable to read cache block [12345678:141e]
I don't know if there was a pb with the CDROM, CDROM reader or the memory (or something else), but the messages should not be displayed like that, ther are not helpful.
1) there is no need to display thousands of messages, it's confusing and you can't read them since they scroll so fast in the install console
2) the message cannot be more obscure! What's wrong? Is it a CDROM reading issue, some memory corruption? A harddrive issue? You can't solve the problem if the root cause is not included in the message...
What would be nice to have instead:
1) group the messages, for instance only display one message every 100 read errors (or lower the default debug level)
2) explain what is the probable cause in the log messages themselves, something like:
> SQUASHFS error. An error occured while reading the CDROM. [12345:
That's not perfect, but at least a bit more readable.
3) after a number of errors, fail. With a detailled error message. There is no need to continue when there is a major problem like that. Then the installer should give you the choice between restarting the failed operation or rebooting (and it would be nice to suggest where the problem probably lies so that the user can try to solve it by changing CDROM etc.)
Example of error message (from SQUASHFS), the installer should be more detailled:
An error occured in SQUASHFS while trying to read the CDROM. The CDROM might be corrupted or there could be a problem with your CDROM drive.
Please test those separately then retry.
The reference number for this problem in SQUASHFS is #7541. <<=== here you would provide an error code, for debugging purposes
Thanks.
tags: | added: kinetic |
Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at [WWW] https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e . I have classified this bug as a bug in squashfs.
Did you check the md5sum of the .iso image before you burned it to a cd? Did you burn at a slow speed to help prevent write errors? I think you may have a valid point about the errors, but if the disc is corrupted, not much can be done, so detailed errors can appear. How far along in the install process were you when these errors appeared?
It seems to me that there is a problem with the cd itself, either because of a bad .iso or because of a bad burn, in which case those error messages are serving their purpose.