Re: 2.1.130 - disk trashing and hardlock

Christian Loth (sg618lo@unidui.uni-duisburg.de)
Sun, 29 Nov 1998 16:49:19 +0100 (MEZ)


Greetings,

Philipp Rumpf wrote:
> On Sun, Nov 29, 1998 at 04:05:14PM +0100, Christian Loth wrote:
> > > Oops, just read the code again ... no, my first patch should do exactly nothing.
> > > Sorry for wasting your time. I can give you another patch, but I do not really
> > > understand what it would change ...
> >
> > Well it *did* something. I didn't get the log messages anymore and the
>
> You do not have a compressed fs, do you ?

No, no compressed fs'es.

>
> I am quite sure my patch did nothing ...
>
> > find process ended in a segmentation fault, and the following oops
> > was produced (and run through ksymoops):
>
> It could be just another way for linux to tell you the same thing ...
>
> > >>EIP: c0127893 <getblk+53/340>
> > Trace: c4a1a999
>
> Oh, you compiled fat as a module ... nice idea ...
> could you send me (not necessarily linux-kernel) the output of
>
> nm fat.o (in the correct directory)
> ?

Okay, here you go:
U ___strtok
U __brelse
U __generic_copy_from_user
U __generic_copy_to_user
U __get_free_pages
U __get_user_1
U __get_user_2
00000000 ? __kstrtab_fat_add_cluster
00000010 ? __kstrtab_fat_bmap
00000019 ? __kstrtab_fat_brelse
00000024 ? __kstrtab_fat_cache_inval_inode
0000003a ? __kstrtab_fat_date_unix2dos
0000004c ? __kstrtab_fat_delete_inode
00000201 ? __kstrtab_fat_dir_ioctl
0000005d ? __kstrtab_fat_dir_operations
00000070 ? __kstrtab_fat_esc2uni
0000007c ? __kstrtab_fat_file_read
0000008a ? __kstrtab_fat_file_write
00000099 ? __kstrtab_fat_fs_panic
000001dd ? __kstrtab_fat_get_cluster
000000a6 ? __kstrtab_fat_get_entry
000000b4 ? __kstrtab_fat_lock_creation
000000c6 ? __kstrtab_fat_mark_buffer_dirty
000000dc ? __kstrtab_fat_mmap
000000e5 ? __kstrtab_fat_notify_change
000000f7 ? __kstrtab_fat_parent_ino
00000106 ? __kstrtab_fat_put_inode
00000114 ? __kstrtab_fat_put_super
00000122 ? __kstrtab_fat_read_inode
00000131 ? __kstrtab_fat_read_super
0000014d ? __kstrtab_fat_readdir
00000140 ? __kstrtab_fat_readdirx
0000020f ? __kstrtab_fat_readpage
00000159 ? __kstrtab_fat_scan
00000162 ? __kstrtab_fat_smap
0000016b ? __kstrtab_fat_statfs
00000176 ? __kstrtab_fat_truncate
00000183 ? __kstrtab_fat_uni2esc
0000018f ? __kstrtab_fat_unlock_creation
000001a3 ? __kstrtab_fat_write_inode
000001ed ? __kstrtab_lock_fat
000001b3 ? __kstrtab_register_cvf_format
000001f6 ? __kstrtab_unlock_fat
000001c7 ? __kstrtab_unregister_cvf_format
00000000 ? __ksymtab_fat_add_cluster
00000008 ? __ksymtab_fat_bmap
00000010 ? __ksymtab_fat_brelse
00000018 ? __ksymtab_fat_cache_inval_inode
00000020 ? __ksymtab_fat_date_unix2dos
00000028 ? __ksymtab_fat_delete_inode
00000118 ? __ksymtab_fat_dir_ioctl
00000030 ? __ksymtab_fat_dir_operations
00000038 ? __ksymtab_fat_esc2uni
00000040 ? __ksymtab_fat_file_read
00000048 ? __ksymtab_fat_file_write
00000050 ? __ksymtab_fat_fs_panic
00000100 ? __ksymtab_fat_get_cluster
00000058 ? __ksymtab_fat_get_entry
00000060 ? __ksymtab_fat_lock_creation
00000068 ? __ksymtab_fat_mark_buffer_dirty
00000070 ? __ksymtab_fat_mmap
00000078 ? __ksymtab_fat_notify_change
00000080 ? __ksymtab_fat_parent_ino
00000088 ? __ksymtab_fat_put_inode
00000090 ? __ksymtab_fat_put_super
00000098 ? __ksymtab_fat_read_inode
000000a0 ? __ksymtab_fat_read_super
000000b0 ? __ksymtab_fat_readdir
000000a8 ? __ksymtab_fat_readdirx
00000120 ? __ksymtab_fat_readpage
000000b8 ? __ksymtab_fat_scan
000000c0 ? __ksymtab_fat_smap
000000c8 ? __ksymtab_fat_statfs
000000d0 ? __ksymtab_fat_truncate
000000d8 ? __ksymtab_fat_uni2esc
000000e0 ? __ksymtab_fat_unlock_creation
000000e8 ? __ksymtab_fat_write_inode
00000108 ? __ksymtab_lock_fat
000000f0 ? __ksymtab_register_cvf_format
00000110 ? __ksymtab_unlock_fat
000000f8 ? __ksymtab_unregister_cvf_format
U __mark_inode_dirty
000002da ? __module_kernel_version
U __put_user_1
U __put_user_2
U __put_user_4
U __this_module
U __wait_on_buffer
U __wait_on_super
U __wake_up
00000240 d ascii_extensions
U bread
00000020 b cache
000039f4 T cleanup_module
U clear_inode
0000028c d creation_lock
00000288 d creation_wait
0000046c D cvf_format_use_count
00000460 D cvf_formats
U d_alloc_root
00003efc T date_dos2unix
00000290 d day_n
00004af0 T dec_cvf_format_use_count_by_version
00004b58 T detect_cvf
U event
00000300 T fat_access
00003bbc T fat_add_cluster
00003274 T fat_bmap
00000004 T fat_bread
00000150 T fat_brelse
00000000 b fat_cache
000007c8 T fat_cache_add
00000710 T fat_cache_init
000008a4 T fat_cache_inval_dev
00000874 T fat_cache_inval_inode
00000770 T fat_cache_lookup
00003b48 T fat_clusters_flush
00003fd0 T fat_date_unix2dos
00001fd0 T fat_delete_inode
00001534 T fat_dir_ioctl
00000020 D fat_dir_operations
00000b70 t fat_dir_read
00000360 D fat_esc2uni
000000a0 D fat_file_inode_operations
00000140 D fat_file_inode_operations_1024
000001e0 D fat_file_inode_operations_readpage
000002e0 D fat_file_mmap
000047f0 t fat_file_mmap_nopage
00000060 d fat_file_operations
00000100 d fat_file_operations_1024
000001a0 d fat_file_operations_readpage
00001abc T fat_file_read
000016f4 t fat_file_read_text
00001b28 T fat_file_write
00001374 t fat_filldir
00000a1c T fat_free
000039f8 T fat_fs_panic
000008c8 T fat_get_cluster
0000418c T fat_get_entry
00000104 T fat_getblk
0000024c T fat_is_uptodate
00000284 T fat_ll_rw_block
00003ac0 T fat_lock_creation
000001ac T fat_mark_buffer_dirty
0000491c T fat_mmap
000038f4 T fat_notify_change
00004634 T fat_parent_ino
00001620 t fat_prefetch
00001fac T fat_put_inode
00001ff4 T fat_put_super
0000334c T fat_read_inode
00002920 T fat_read_super
000013a0 T fat_readdir
00000c44 T fat_readdirx
000049b4 T fat_readpage
000047b0 T fat_scan
0000020c T fat_set_uptodate
00000960 T fat_smap
00003188 T fat_statfs
00004740 T fat_subdirs
00001f54 T fat_truncate
00000320 D fat_uni2esc
00003aec T fat_unlock_creation
000037e0 T fat_write_inode
U file_fsync
U free_pages
00000000 t gcc2_compiled.
00000004 t gcc2_compiled.
00000300 t gcc2_compiled.
00000b70 t gcc2_compiled.
00001620 t gcc2_compiled.
00001fac t gcc2_compiled.
000039f8 t gcc2_compiled.
000047f0 t gcc2_compiled.
000049f4 t gcc2_compiled.
000049f4 t gcc2_compiled.
U generic_file_mmap
U generic_file_read
U generic_readpage
U getblk
U hardsect_size
U iget
00000000 T init_fat_fs
000039ec T init_module
00000000 d initialized.194
U inode_change_ok
U inode_setattr
U iput
00003a44 T is_binary
000032fc t is_exec
U kdevname
U kfree
U kmalloc
U ll_rw_block
U load_nls
U load_nls_default
00003b08 T lock_fat
U mark_buffer_uptodate
U panic
000020b0 t parse_options
U printk
000045d4 t raw_scan
00004530 t raw_scan_nonroot
000044bc t raw_scan_root
00004228 t raw_scan_sector
U read_ahead
U refile_buffer
000049f4 T register_cvf_format
U set_blocksize
U set_writetime
U simple_strtoul
U sleep_on
U sprintf
U sys_tz
00000b78 t uni16_to_x8
U unload_nls
00003b2c T unlock_fat
00004a80 T unregister_cvf_format
U update_vm_cache
U utf8_wcstombs
000013cc t vfat_ioctl_fill
U xtime
000002d0 d zero.322

I guess you can make more of it than I :)

- Chris

-- 
/----------------------------------------------------------------------------\
| Christian Loth, chris@rom.mud.de    |           REALM OF MAGIC             |
| http://rom.mud.de/~chris            | telnet rom.mud.de 4000               |
|                                     | http://rom.mud.de/                   |
\----------------------------------------------------------------------------/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/