Jump to content
43oh

yura_lvk

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. Hello! I'm writing kernel module for embedded system working on Linux kernel 2.4.xx. CPU on the device is ARM926ejs. Communication with device - serial port (COM). Here is a code fragment: if( sock->ops && sock->ops->ioctl ) { old_fs = get_fs(); printk( KERN_ALERT "aaa\n" ); set_fs( KERNEL_DS ); printk( KERN_ALERT "bbb\n" ); retval = sock->ops->ioctl( ... ); set_fs( old_fs ); ... } Module loads perfectly and works until the function "set_fs(KERNEL_DS)" is called. In HyperTerminal i see message "aaa", but cannot see "bbb".
×
×
  • Create New...