Subject: port-amiga/11335: Using mount_ados with iso9660 CD-ROM will cause kernel panic.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <petri.koistinen@iki.fi>
List: netbsd-bugs
Date: 10/29/2000 16:53:11
>Number:         11335
>Category:       port-amiga
>Synopsis:       Using mount_ados with iso9660 CD-ROM will cause kernel panic.
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    port-amiga-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 29 16:53:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Petri Koistinen
>Release:        1.5_BETA
>Organization:
>Environment:
NetBSD kissakala 1.5_BETA NetBSD 1.5_BETA (INSTWDCPCM) #10: Sun Oct 22 13:00:44 MEST 2000 is@jocelyn:/var/obj/kernel/INSTWDCPCM amiga
>Description:
Use of mount_ados with CD-ROM will result to kernel panic.
The CD in CD-ROM drive was in iso9660 format. Mount should just give
error message that disk is in wrong format. 

Debugger output after mount command:
trap type 3, code = 0, v = 0
pid = 292, pc = 00027E66, ps = 2000, sfc = 1, dfc = 1
...
(Registers)
(Kernel stack)
...
panic: Zero divide
Stopped in mount_ados at 0x10e17a: unlk a6
db>

>How-To-Repeat:
mount -o ro -t ados /dev/cd0a /mnt
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: