Date: Wed, 4 Jul 2001 15:36:25 +0100 From: Ben Smithurst <ben@FreeBSD.org> To: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu> Cc: freebsd-current@freebsd.org Subject: Re: diskcheckd goes nuts on /dev/cd0 Message-ID: <20010704153625.A97328@strontium.shef.vinosystems.com> In-Reply-To: <200107040700.f64705m08269@troutmask.apl.washington.edu> References: <200107040700.f64705m08269@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Steven G. Kargl wrote: > I updated a pre june 13th current to a july 3 current. > Ran mergemaster and installed /etc/diskcheckd.conf > without modification. Upon reboot I saw 1000s of the > following message streaming up the console: > > dscheck(cd0): bio_bcount 512 is not on a sector boundary (ssize 2048) > > Checking /var/log/messages I find (note date and machine name removed): > > diskcheckd[213]: /dev/cd0 has 2048 byte sectors, may cause minor problems > /boot/kernel/kernel: dscheck(cd0): bio_bcount 512 is not on a sector boun > dary (ssize 2048) > last message repeated 3 times > diskcheckd[213]: error reading 512 bytes from sector 0 on /dev/cd0 I was gonna commit a fix for this, but after reporting the problem DES never tested the patch I supplied. :-( I'll commit it later hopefully; se@ did test it and it worked for him... > As a side question, why is diskcheckd even looking at at /dev/cd0? Because my only current system when I was writing diskcheckd didn't have a CD drive so I didn't think to tell it not to check them. Sorry... I'll commit a patch soon that allows you to specify drives to exclude, and the default config file will exclude cd*, acd*, and md*. Also, you shouldn't get these errors soon even if diskcheckd did try to check the CD drive, because it will no longer read in 512 byte blocks. -- Ben Smithurst / ben@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010704153625.A97328>