Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 May 1998 18:09:21 +0200
From:      "Julian H. Stacey" <jhs@FreeBSD.ORG>
To:        current@FreeBSD.ORG
Cc:        jkh@FreeBSD.ORG
Subject:   	2.2.5 cd driver _iso_iget crashes on 2.2.6 cd #2 ./dev
Message-ID:  <199805021609.SAA13837@jhs.muc.de>

next in thread | raw e-mail | index | archive | help
I can reliably get a variety of my 2.2.5 release systems to crash
building an index of directories on the 2nd of the 4 disc 2.2.6 cd-rom set.
(Discs 1,3,& 4 are OK though)
This with hosts with mitsumi & scsi cdroms, with diferent controllers & cpus,
but all running 2.2.5.  On one I noted: ddb
	kernel type 12 trap, code=0,
	Stopped at _iso_iget+0x312:  movl %eax,0x8(%ebx)

Crash with:
	mount /cdrom; cd /cdrom/dev; ls -la
(first noticed with:	mount /cdrom; cd /cdrom; find . -type d -print)

I've seen crashes before indexing other non FreeBSD CDs ...  
so a suggestion for kernel programmers, if I may:
	The kernel could be less trusting of insertable media foreign
	file systems (eg 9660),
	as all sorts of half baked utils on random operating systems can
	create supposedly more-or-maybe-less compliant iso-9600 filesystems,
	that may get written to cd, & mounted on FreeBSD.

I had a look at man mkisofs (from 2.2.5) but saw no fsck type functionality.
If there was such functionality somewhere, it could be tempting to port it,
& run it before mounting new CDs (but man mkisofs, suggests lots of non
standard variants it'd have to check for, & I'm not volunteering to write a
fsck_9660 from scratch :-).

Julian
Julian H. Stacey  <jhs@freebsd.org>  http://www.freebsd.org/~jhs/

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?199805021609.SAA13837>