From owner-freebsd-current Sun May 3 05:30:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA25894 for freebsd-current-outgoing; Sun, 3 May 1998 05:30:25 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from colin.muc.de (root@colin.muc.de [193.174.4.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA25887; Sun, 3 May 1998 05:30:19 -0700 (PDT) (envelope-from jhs@jhs.muc.de) Received: from jhs.muc.de ([193.174.4.84]) by colin.muc.de with SMTP id <140606-2>; Sun, 3 May 1998 12:41:44 +0200 Received: (from jhs@localhost) by jhs.muc.de (8.8.7/8.8.7) id SAA13837; Sat, 2 May 1998 18:09:21 +0200 (MET DST) (envelope-from jhs) Date: Sat, 2 May 1998 18:09:21 +0200 Message-Id: <199805021609.SAA13837@jhs.muc.de> To: current@FreeBSD.ORG cc: jkh@FreeBSD.ORG Subject: 2.2.5 cd driver _iso_iget crashes on 2.2.6 cd #2 ./dev From: "Julian H. Stacey" Reply-To: "Julian H. Stacey" X-Post: Holz Strasse 27d, 80469 Munich, Germany X-Email: jhs@freebsd.org (& jhs@muc.de & jhs@jhs.muc.de ) X-Web: http://www.freebsd.org/~jhs/ (& http://www.muc.de/~jhs/ ) X-Tel: +49.89.268616 X-Fax: +49.89.2608126 X-Data: +49.89.26023276 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 http://www.freebsd.org/~jhs/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message