PDA

View Full Version : persistent disk errors during boot



xears
06-13-2007, 11:57 PM
Hello to all,
I'd appreciate if someone could tell me
why knoppix.img is getting errors?

These messages appear on every boot and I shutdown my pc correctly.

/media/hda7/knoppix.img was not cleanly umounted. check forced.
Pass 1: Checking inodes, blocks, and sizes
Deleted inode 18 has zero dtime. Fix? yes
Deleted inode 19 has zero dtime. Fix? yes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -(6145--6162) -(6657--7359)
Fix? yes
Free blocks count wrong for group #0 (6939, counted=7660).
Fix? yes
Free blocks count wrong (282626, counted=283347)
Fix? yes
Inode bitmap differences: - (18--19)
Fix? yes
Free inodes count wrong for group #0 (2006, counted=2008)
Fix? yes
Free inodes count wrong (76296, counted=76298)
Fix? yes

/media/hda7/knoppix.img: ***** FILE SYSTEM WAS MODIFIED *****
/media/hda7/knoppix.img: 614/76912 files (2.0% non-contiguous), 23853/307200 blocks
>> /home/knoppix mounted OK from /media/hda7/knoppix.img
>> Read-only CD/DVD system successfully merged with read-write /media/hda7/knoppix.img

Any ideas why knoppix.img isn't unmounting properly?

TIA
xears

Harry Kuhman
06-14-2007, 12:06 AM
Just speculation, but likely causes include:

Bad download. Did you check the md5 sum before burning? Did you use a mirror rather than error correcting BitTorrent?

High Speed burn.

Bad Media.

Dirty or marginal optics in the drive.

xears
06-14-2007, 12:26 AM
Hi Harry,
i've booted from the bootcd and typed
"knoppix testcd" to check that out

"Everything looks OK" he says :D

Other ideas?
TIA
xears

Harry Kuhman
06-14-2007, 12:44 AM
If testcd reports a problem then there is certainly a problem. I personally don't believe that it passing confirms that the disc is good. You didn't address the things that I mentioned. My current guess is that the md5 is likely good, as a bad md5 almost always (but not always) would produce an error during testcd. You didn't address the issue of a high speed burn at all. If you burnt at high speed, try burning at 4x, or better yet burn to a 4x CD-RW (not one of those expensive 10-20X high speed CD-RWs). I say better yet because using CD-RW media causes a change in automatic gain settings in the drive during reading that might help get you past other issues such as marginal optics.

xears
06-14-2007, 10:55 AM
Thanks Harry for your reply

I'll check the md5 sum later on.
Then I will burn another cd at 4x speed and let you know the end-result

TIA
xears

xears
06-14-2007, 09:44 PM
MD5 ok, cd Burnt at 4x,
"knoppix testcd" reports "Everything looks OK"
same errors....

KNOPPIX_V5.1.1CD-2007-01-04-EN.iso.md5:
OK: KNOPPIX_V5.1.1CD-2007-01-04-EN.iso
Errors: 0
OK: 1, not found: 0, read error: 0, wrong checksum: 0

What else can I try?
TIA
xears

Harry Kuhman
06-14-2007, 10:06 PM
I didn't expect that it was an md5 issue at this point, although it's always a good thing to check, and extremely important if using a mirror rather than BitTorrent.

I did expect the low speed burn to be the issue, rather a shock that it isn't.


What else can I try?
I would start with typing knoppix nodma at the prompt and see if that changes things.

When it doesn't, I would wonder about the drive hardware. Is this a desktop, and if so does it have another drive that you could use? If the BIOS only boots from the first drive you could use SBM to force a boot from another drive. Or in my case I would even consider swapping another drive in.

I would also consider posting detailed specs on what system you are trying to boot on, maybe someone else will spot something. And, of course, I would take that 4x CD to another computer and make sure it booted there (I twice got a pack of name brand Sony CDR media (different batches) that were all bad or went bad after recording, and have a friend who got such a Sony pack too.)

Harry Kuhman
06-14-2007, 10:14 PM
A couple of additional thoughts: if the computer is a desktop. make sure all drives are jumpered properly for master/slave. If the CD drive is the only drive on the cable make sure it's plugged into the end og the cable, not the middle connection (proper bus termination issue). And at this point, If you have a spare, I would even consider swapping the drive cable out, assuming it's an ide drive. I would also check 5 and 12 volts while I was checking everything else.

xears
06-14-2007, 11:34 PM
Thanks Harry for your reply

the nodma code didn't help

I will check if I get this error on my laptop.

xears
06-15-2007, 12:24 AM
Ok, I can confirm that I also get errors on my laptop.

I just don't get it. I can boot from this livecd use fluxbox
open as many apps as I want and shut the system down.
Reboot with "home=scan"
Bamm... /media/hda_whatever/knoppix.img was not cleanly umounted. check forced.

Does knoppix.img have to created on a ext2/ext3 partition?
I have tested with NTFS and Fat32 only.

Meanwhile I'm downloading the iso again.
This time I'll choose a different server, burn to a different brand cd at the lowest speed possible
using another cd-recorder. :p
I'll even compare both isos and have them checked with the md5s.

As always if you got another idea to solve this just let me know

TIA
xears

Harry Kuhman
06-15-2007, 12:42 AM
Ok, I can confirm that I also get errors on my laptop.
Well, I didn't really expect that, but it does give us a direction to look in. It certainly points to the disc itself, and makes it much less likely that you have CD drive problems.


I just don't get it. I can boot from this livecd use fluxbox
open as many apps as I want and shut the system down.
Reboot with "home=scan"
Bamm... /media/hda_whatever/knoppix.img was not cleanly umounted. check forced.
What? you can boot the CD, as long as you don't do the home=scan thing? And you're only mentioning that now?


Does knoppix.img have to created on a ext2/ext3 partition?
I have tested with NTFS and Fat32 only.
As far as I know it works fine with FAT. I would never let Knoppix write to NTFS, and I would consider any NTFS partition so written to to be corrupt. I don't use a home setting and have never gotten one to work right, so I stay out of such discussions, at least when I know that's what the poster is posting about. The last thought that I have to offer in this matter is that it would make a lot more sense to tell home where to look for the data than to give it the scan command, at least if scan is having problems.

xears
06-15-2007, 01:29 AM
Sorry Harry I didn't knew that was important. I could boot from this livecd always.
The only problem I have is knoppix.img getting corrupted or something as I mentioned...
You told me that it could be the cd I believed you. I'm the newbie here man :)
Sorry if I misleaded you.

Let me try to explain the situation again
I'm using hda5 (Fat32) to host knoppix.img now. Nevermind NTFS. I'm using Fat32
I boot from livecd and enter home=scan to let the livecd find knoppix.img automatically and indeed it's always found.

Then I get those messages
/media/hda5/knoppix.img was not cleanly umounted. check forced.
Pass 1: Checking inodes, blocks, and sizes
Deleted inode 18 has zero dtime. Fix? yes
Deleted inode 19 has zero dtime. Fix? yes
(...)
then
>> /home/knoppix mounted OK from /media/hda5/knoppix.img
>> Read-only CD/DVD system successfully merged with read-write /media/hda5/knoppix.img

Fluxbox starts and I run the apps I want.
Fluxbox/Exit and the system shuts down normally.

Next time I boot I get similar errors on knoppix.img
I don't know why...

I'll try the home=/dev/hda5 as you said just to make sure
but as I said knoppix.img gets found with "scan".
I'll check that out tomorrow and let you know. It's 1:33 AM and I'm falling asleep

Thanks again for your time and sorry for the misunderstanding
xears

xears
06-15-2007, 12:19 PM
Hi again

If I write home=/dev/hda5/knoppix.img nothing gets found
If I write home=scan or nothing knoppix.img gets found

:(
xears