PDA

View Full Version : Weird Test



NewGuy
01-04-2005, 11:20 PM
Ok, I see that I cannot have USB and SATA hard drives together. Either USB (with Knoppix v3.4) or SATA (with Knoppix 3.7) I have to live with that.

And now the next problem (or question)
Playing withe cheatcodes:
testcd
I am checking my CD (v.3.4) from O'Reilly's knoppix book. Usually the disk works fine. (Besides problems some of them I have posted here, but I do not think they originated from the bad CD copy)

While testing I got messages, that /boot/isolinux.bin and /knoppix/background.jpg failed MD5 check.
But the final messge stated: Everything looks OK

Is it OK? Can I ignore failed files? Or there is a problem, which I didn't see yet?

TIA

GreyGeek
01-05-2005, 02:01 AM
mmm.... did you post a bug report?

firebyrd10
01-06-2005, 12:57 AM
I think the everything ok, is a bug. If the problem was just with the jpg then I would continue to use the disk. But the bin file is rather important.
Of course if you can just knoppix booted then I see now reason to stop useing the disk as the curroption isn't causing any visable problems.

greenfly
01-06-2005, 01:26 AM
Ok, I see that I cannot have USB and SATA hard drives together. Either USB (with Knoppix v3.4) or SATA (with Knoppix 3.7) I have to live with that.

And now the next problem (or question)
Playing withe cheatcodes:
testcd
I am checking my CD (v.3.4) from O'Reilly's knoppix book. Usually the disk works fine. (Besides problems some of them I have posted here, but I do not think they originated from the bad CD copy)

While testing I got messages, that /boot/isolinux.bin and /knoppix/background.jpg failed MD5 check.
But the final messge stated: Everything looks OK

Is it OK? Can I ignore failed files? Or there is a problem, which I didn't see yet?

TIA

testcd will give that error on the Knoppix 3.4 version included with Knoppix Hacks. When creating it, basically I forgot to update the md5sum for the new background.jpg image I included on the CD (the one with the pocket knife). Everything works fine, just that background image doesn't match the listed md5sum. I didn't touch isolinux.bin though.

The md5sum for the full CD should be: 34e5a8c4aa9f65d8714b3431919d64f7 You can test this by running
md5sum /dev/cdrom in a terminal.

NewGuy
01-06-2005, 10:56 PM
greenfly,
I am happy to get a chance to say Thank you for your great book. I bought it before Christmas and it was my first Linux book. With the book I could learn real Linux from the very first minute. Great!

Back to the issue.

Yes, the whole CD passed the check. Hope, the wrong boot file is not a real problem :?: .

However... in order to make future readers' life a little bit easier. :)

- I think, that the questionable isolinux.bin boot file is about the initial screen with publisher's data. (O'Reily's hacks URL) So, I have to submit bug report to O'Reilly not to Knoppix?

- testcd seems to be a Knoppix (or higher level) bug. I think it either tests the whole CD's MD5 (not paying attention to files) or is smart enough to decide if the error is significant. In any case the message is confusing in cases like mine.
Do folks have any suggestions before we submit the bug report?

greenfly
01-07-2005, 08:23 AM
greenfly,
I am happy to get a chance to say Thank you for your great book. I bought it before Christmas and it was my first Linux book. With the book I could learn real Linux from the very first minute. Great!


Thanks :)



Back to the issue.

Yes, the whole CD passed the check. Hope, the wrong boot file is not a real problem :?: .

However... in order to make future readers' life a little bit easier. :)

- I think, that the questionable isolinux.bin boot file is about the initial screen with publisher's data. (O'Reily's hacks URL) So, I have to submit bug report to O'Reilly not to Knoppix?

- testcd seems to be a Knoppix (or higher level) bug. I think it either tests the whole CD's MD5 (not paying attention to files) or is smart enough to decide if the error is significant. In any case the message is confusing in cases like mine.
Do folks have any suggestions before we submit the bug report?

It's not a Knoppix problem really. When you remaster you are supposed to update the file that has a list of proper md5sums. I just forgot to change the md5sums for the file I changed (since it was just background.jpg and I wasn't doing a full remaster). You could submit a bug report to the errata page for Knoppix Hacks on http://www.oreilly.com/catalog/knoppixhks/ if you wanted, but I don't know if it's a major-enough bug to warrant recreating the ISO for subsequent versions since the CD itself runs fine, just that testcd command gives two minor errors.

NewGuy
01-08-2005, 12:38 AM
I don't know if it's a major-enough bug to warrant recreating the ISO for subsequent versions since the CD itself runs fine, just that testcd command gives two minor errors.
I agree. My main point is the testcd command specs. I think it produce non trusted output. The output should be clarified in future versions:

- If it does know, that errors are minor, it should clearly say so. (like "the problems above are minor")
- If in order to say "Everything is OK" it does not check file MD5s, just checks the whole CD - that is a bug.

Sorry for perfectionism, but when the evolving system has tens thousands parts even minor problems in parts eventually destroy the system.

Why do I write this?
People and companies invested their talents, labor and money in great product, which I got for free. That's my duty to contribute something mine. :wink: