Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 1996 09:24:10 +0100 (BST)
From:      Developer <dev@fgate.flevel.co.uk>
To:        Julian Elischer <julian@whistle.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: HELP URGENT!!!
Message-ID:  <Pine.BSI.3.93.960904092325.970A-100000@fgate.flevel.co.uk>
In-Reply-To: <322C818E.167EB0E7@whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 3 Sep 1996, Julian Elischer wrote:

> > Can't open /dev/rsd2a Device not configured.
> > 
> > In /var/log/messages there is this error:-
> > 
> > /kernel: sd2: Can't deal with 767 bytes logical blocks
> this message doesn't come from the label, but from the disk driver
> when it asks the drive how it is formatted..
>         /*
>          * Load the physical device parameters
>          */
>         sd_get_parms(unit, 0);  /* sets SDEV_MEDIA_LOADED */
>         if (sd->params.secsiz != SECSIZE) {     /* XXX One day... */
>                 printf("sd%ld: Can't deal with %d bytes logical
> blocks\n",
>                     unit, sd->params.secsiz);
>                 Debugger("sd");
> 
> here is the debugger call.. the original intention is to let you
> examine the results from the sd_get_params call
>                 errcode = ENXIO;
>                 goto bad;
>         }
> 
> Your disk has been "partially reformetted"
> OR
> it's gone crazy
> OR
> sd_get_parms(unit,0)
> is returning garbage (probably also due to a mad disk)
> 
> > 
> > Seems like the disklabel is dodgy :(
> 
> nope.. see above..
> 
> > 
> > Any ideas how to fix it? It's desperate??
> 
> compile a kernel with the SCSIDEBUG
> then after booting do:
> scsi -d 15 -f /dev/rsd2.ctl
> this will turn on TONS of debugging
> if it's too  much -d 1 might be better
> 
> this should give you the results of all operations affecting 
> that device...
> 
> julian
> in the mean-while 
> don't write to that device (not that it'll let you :)

Thanks for all your help:) The strange thing is when we rebooted the
machine again this morning it booted up just fine!! I wonder if it could
be a hardware error?

Regards,

Trefor S.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.93.960904092325.970A-100000>