From owner-freebsd-bugs Tue Aug 7 5:40:11 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C688337B421 for ; Tue, 7 Aug 2001 05:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f77Ce1B42246; Tue, 7 Aug 2001 05:40:01 -0700 (PDT) (envelope-from gnats) Received: from mailrelay2.lrz-muenchen.de (mailrelay2.lrz-muenchen.de [129.187.254.102]) by hub.freebsd.org (Postfix) with ESMTP id 865B737B405 for ; Tue, 7 Aug 2001 05:38:05 -0700 (PDT) (envelope-from terhardt@ei.tum.de) Received: from [212.224.54.50] by mailrelay2.lrz-muenchen.de with ESMTP for FreeBSD-gnats-submit@freebsd.org; Tue, 7 Aug 2001 14:38:02 +0200 Received: (from ter@localhost) by pluto.etemer.de (8.11.3/8.11.3) id f77CheT00392; Tue, 7 Aug 2001 14:43:40 +0200 (CEST) (envelope-from ter) Message-Id: <200108071243.f77CheT00392@pluto.etemer.de> Date: Tue, 7 Aug 2001 14:43:40 +0200 (CEST) From: Ernst Terhardt Reply-To: terhardt@ei.tum.de To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.113 Subject: bin/29495: System crash on mounting a CD Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 29495 >Category: bin >Synopsis: System crash on mounting a CD >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 07 05:40:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Ernst Terhardt >Release: FreeBSD 4.3-RELEASE i386 >Organization: >Environment: System: FreeBSD pluto.etemer.de 4.3-RELEASE FreeBSD 4.3-RELEASE #8: Mon Aug 6 15:56:32 CEST 2001 root@pluto.etemer.de:/usr/src/sys/compile/KPLUTO i386 Kernel actually used in tests: GENERIC "Network" PC (Fujitsu) with Intel SE440BX Motherboard; i386 CPU Pentium 400 MHz; 128 MB RAM; 2 HDs Western Digital (30, 45 GB) on IDE-1 master/slave; Video Card ATI 3D Rage Pro; Sound Card Aztec 2320 (not in use under FreeBSD); CDWriter TraxData CDRW 8432 (ATAPI) on IDE-2 master; no SCSI hardware in the system. no X. >Description: There are conditions for which FreeBSD crashes on invoking the command mount -t cd9660 /dev/acd0c /cdrom This is what may happen: There appear error messages such as acd0: READ_TOC - ILLEGAL REQUEST asc=24 ascq=00 error=00 fatal trap 12 page fault while in kernel mode ... reboot ... and the FreeBSD system indeed crashes and reboots. CONDITIONS On my system (see above) the crash __consistently__ happens when the mounted CD disk previously was burnt __without fixation__, e.g., with the command burncd -f /dev/acd0c data image.iso where image.iso is an image file created with mkisofs. I have tested this several times with a CDRW disk. The same type of crash occurred when I had put in a CDRW disk that previously had been burnt __under Win98__ as an __audio__ disk. I have previously reported on this problem, thinking that it was the disk carrying an __audio__ record that caused the problem; but this does no longer seem to be the whole truth (Mounting an intact commercial audio disk does not seem to cause a system crash.) So the "audio case" of crash is not consistently reproducible, as opposed to the "non-fixation case" mentioned above. Another case of cd-mounting system crash with restricted reproducibility occurred when a CDRW disk previously merely had been blanked, using burncd. This seems to happen only occasionally, depending on conditions unkown to me. RELATED OBSERVATIONS 1. Concerning 'burncd': I have repeatedly tested burncd on my system by both blanking, and writing data (iso 9660) on, a CDRW disk. This essentially works, i.e., at the end the disk is in the desired state. However, at the end of the burning process there consistently appears the somewhat alarming message acd0: READ_TOC - ILLEGAL REQUEST asc=24 ascq=00 error=00 This message appears - with some delay - several times, and burncd does not properly return to the command line prompt; a CR from the keyboard is required to get burncd returning to the shell command line. 2. Behavior under Win98 and Linux: Can also boot Win98 and Linux 2.2.13 on the same hardware. No problems with attempts to read/mount the non-fixated cdrom (i.e., no crash or hanging). So a hardware problem appears unlikely. >How-To-Repeat: 1. Write an iso9660 file system on a CDRW disk __without fixating__, e.g., burncd -f /dev/acd0c data image.iso (omitting 'fixate' at the end). 2. Mount that disk, i.e., mount -t cd9660 /dev/acd0c /cdrom !!! be prepared that the system may crash !!! >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message