Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 1995 12:06:46 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        rgrimes@gndrsh.aac.dev.com, steve2@genesis.tiac.net
Cc:        hackers@freebsd.org
Subject:   Re: kernel page fault while doing tar to /dev/rft0
Message-ID:  <199506060206.MAA19355@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>   #endif
>> + 	fdblk = 128 << (fd->ft->secsize);
>> + 

>Still will crash some ones system if they get to here with out a
>ft device since ft will be null!!  Now maybe the open code stops
>them from getting here, I am not sure :-(.

>>   	if (!(bp->b_flags & B_FORMAT)) {
>>   		if ((fdu >= NFD) || (bp->b_blkno < 0)) {
>>   			printf(
>> 

>How come fdblk size is coming from the ft structure, but is used in
>non ft code???  See line 1108, 1118, and 1120.  Perhaps the real bug

ft is a pointer to the floppy t_y_pe structure.

>Fails my visial, this patch has been rejected for inclusion at this
>point in time :-(.

Patches should be reviewed by someone (if any :-) who is familiar with
the code.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506060206.MAA19355>