Subject: kern/21816: Big DVD's with cd9660 fs (can) crash Alpha
To: None <gnats-bugs@gnats.netbsd.org>
From: Reinoud Zandijk <imago@starbuck.kasbah>
List: netbsd-bugs
Date: 06/07/2003 12:27:35
>Number:         21816
>Category:       kern
>Synopsis:       Big DVD's with cd9660 fs (can) crash Alpha
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 07 10:28:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Reinoud Zandijk
>Release:        NetBSD 1.6T
>Organization:
NetBSD
	
>Environment:
	
	
System: NetBSD starbuck 1.6T NetBSD 1.6T (GENERIC) #0: Fri Jun 6 14:22:38 CEST 2003 imago@starbuck:/usr/sources/cvs.netbsd.org/src/sys/arch/alpha/compile/GENERIC alpha
Architecture: alpha
Machine: alpha

DEC PWS 550a, 750Mb RAM, DVD as master on pciide1.

>Description:
When mounting a big DVD that only has the iso cd9660 fs on it, like in my 
case a Linux-distro+programs (used for testing my UDF only ;) ) mounting it 
with `mount -t cd9660 /dev/cd0c /mnt' works fine but crashes when listing 
it :

> cd /mnt
> ls -al
<start of listing>
....
....
<PANIC!>

it crashes as follows:

panic: free: addr 0x1ffffff2d8 not within kmem_map
Stopped in pid 417.1 (ls) at netbsd:cpu_Debugger+0x04

db>trace
cpu_Debugger() at netbsd:cpu_Debugger+0x4
panic() at netbsd:panic+0x170
free() at netbsd:free+0x50
cd9660_readlink() at netbsd:cd9660_readlink+0x1f8
VOP_READLINK() at netbsd:VOP_READLINK+0x40
sys_readlink() at netbsd:sys_readlink+0x11c
syscall_plain() at netbsd:syscall_plain+0x148
XentSys() at netbsd:XentSys+0x5c
--- syscall (58) ---
--- usermode ---
db>

Now this address 0x1ffffff2b8 doesn't look like a 64 bitter at all so its 
prolly a LP64 problem....

	
>How-To-Repeat:
mount -t cd9660 /dev/cd0c /mnt
ls -al
<CRASH>
	
>Fix:
none known
	
>Release-Note:
>Audit-Trail:
>Unformatted: