Hi, I'm working on fatfs now and noticed fat32 didn't work so I'm trying to fix it. I ran into a little problem, it only exists for fat32. When I try to read a filelist from the root directory (which is a "normal" file for fat32 and a reserved continues block for fat12/16) fatfs crashes.
The crash is in diskfs_get_directs. That function calls the function diskfs_get_filemap. It initializes the pager and returns the portrights for the pager. vm_map is called, etc. After reading from the pager there happens a weird thing: Breakpoint 1, pager_read_page (pager=0x8055528, page=0, buf=0x128bd7c, writelock=0x128bd80) at pager.c:554 554 { (gdb) p pager $1 = (struct user_pager_info *) 0x0 (gdb) p (struct user_pager_info *) pager_get_upi (diskfs_root_node->dn->pager) $2 = (struct user_pager_info *) 0x8055528 The value in pager seems to be random (now it is zero but sometimes it has other values). I compile with the following in CFLAGS: -O -g -D_GNU_SOURCE -Wall If someone needs more information i can provide it :) thanks, Marco Gerards _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd