Linux-Development-Sys Digest #155, Volume #8     Mon, 18 Sep 00 11:13:18 EDT

Contents:
  Re: large file support ("Alexander Bruns")
  Re: -lcrypt ("mconroy")
  Re: URGENT:problem with module-insertion in kernel-2.2.14-5.0 and 2.2.12-20 
("mconroy")

----------------------------------------------------------------------------

From: "Alexander Bruns" <[EMAIL PROTECTED]>
Subject: Re: large file support
Date: Mon, 18 Sep 2000 15:13:18 +0200

Hi,

>
> See also http://www.suse.de/~aj/linux_lfs.html
>
hmm do you perhaps have another link, this does not work.


>  > What packages do i have to update excpet the ones in
Documentation/Chnages??
> You have to recompile glibc with headers from 2.4.0-test8.
>

okey i will do it.
i get the glibc-2.1.3-21.src.rpm and make a rebuild

>
>  > i now tried on my redhat 6.2 installation the 2.4.0-test8 an was able
to
>  > crate a tar-file greater  than 2 gb
>
>  > but i cannot compile samba for large file support and the
samba-newsgroup
>  > told me to setup right sopport for lfs in my linux.
> What problems do you have exactly?  Show the error messages.

i get the samba 2.0.7-20.src.rpm, installed it, applied the patches to the
untarred source und make a ./configure und

/usr/src/redhat/BUILD/samba-2.0.7/source

and get the following output:

loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -O ) works... yes
checking whether the C compiler (gcc -O ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for gawk... (cached) gawk
checking whether gcc and cc understand -c and -o together... (cached) yes
checking that the C compiler understands volatile... (cached) yes
checking host system type... i386-redhat-linux
checking target system type... i386-redhat-linux
checking build system type... i386-redhat-linux
checking config.cache system type... same
checking for autoconf... (cached) /usr/bin/autoconf
checking for autoheader... (cached) /usr/bin/autoheader
disabling large file support for glibc2.1 on Linux
checking for inline... (cached) inline
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for sys/fcntl.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/unistd.h... (cached) yes
checking for unistd.h... (cached) yes
checking for utime.h... (cached) yes
checking for grp.h... (cached) yes
checking for sys/id.h... (cached) no
checking for limits.h... (cached) yes
checking for memory.h... (cached) yes
checking for net/if.h... (cached) yes
checking for compat.h... (cached) no
checking for rpc/rpc.h... (cached) yes
checking for rpcsvc/nis.h... (cached) yes
checking for rpcsvc/yp_prot.h... (cached) yes
checking for rpcsvc/ypclnt.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for ctype.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/mode.h... (cached) no
checking for sys/mman.h... (cached) yes
checking for sys/filio.h... (cached) no
checking for sys/priv.h... (cached) no
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/mount.h... (cached) yes
checking for sys/vfs.h... (cached) yes
checking for sys/fs/s5param.h... (cached) no
checking for sys/filsys.h... (cached) no
checking for termios.h... (cached) yes
checking for termio.h... (cached) yes
checking for sys/termio.h... (cached) no
checking for sys/statfs.h... (cached) yes
checking for sys/dustat.h... (cached) no
checking for sys/statvfs.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for sys/sockio.h... (cached) no
checking for shadow.h... (cached) yes
checking for netinet/ip.h... (cached) yes
checking for netinet/tcp.h... (cached) yes
checking for netinet/in_systm.h... (cached) yes
checking for netinet/in_ip.h... (cached) no
checking for sys/security.h... (cached) no
checking for security/pam_appl.h... (cached) yes
checking for stropts.h... (cached) yes
checking for poll.h... (cached) yes
checking for readline.h... (cached) no
checking for history.h... (cached) no
checking for readline/readline.h... (cached) yes
checking for readline/history.h... (cached) yes
checking for sys/capability.h... (cached) no
checking for syscall.h... (cached) yes
checking for sys/syscall.h... (cached) yes
checking for sys/acl.h... (cached) no
checking for sys/cdefs.h... (cached) yes
checking for glob.h... (cached) yes
checking for utmp.h... (cached) yes
checking for utmpx.h... (cached) yes
checking for sys/fs/vx_quota.h... (cached) no
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of short... (cached) 2
checking for working const... (cached) yes
checking for inline... (cached) inline
checking whether byte ordering is bigendian... (cached) no
checking whether char is unsigned... (cached) no
checking return type of signal handlers... (cached) void
checking for uid_t in sys/types.h... (cached) yes
checking for mode_t... (cached) yes
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for pid_t... (cached) yes
checking for st_rdev in struct stat... (cached) yes
checking for d_off in dirent... (cached) yes
checking for ino_t... (cached) yes
checking for loff_t... (cached) yes
checking for offset_t... (cached) no
checking for ssize_t... (cached) yes
checking for httpConnect in -lcups... (cached) no
checking for main in -ldl... (cached) yes
checking for sig_atomic_t type... (cached) yes
checking for errno in errno.h... (cached) yes
checking for setresuid declaration... (cached) no
checking for setresgid declaration... (cached) no
checking for real setresuid... (cached) yes
checking for real setresgid... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for crypt... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking for readline in -lreadline... (cached) yes
checking for connect... (cached) yes
checking for execl... (cached) yes
checking for waitpid... (cached) yes
checking for getcwd... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... (cached) yes
checking for strerror... (cached) yes
checking for chown... (cached) yes
checking for chmod... (cached) yes
checking for chroot... (cached) yes
checking for fstat... (cached) yes
checking for strchr... (cached) yes
checking for utime... (cached) yes
checking for utimes... (cached) yes
checking for getrlimit... (cached) yes
checking for fsync... (cached) yes
checking for bzero... (cached) yes
checking for memset... (cached) yes
checking for memmove... (cached) yes
checking for vsnprintf... (cached) yes
checking for snprintf... (cached) yes
checking for setsid... (cached) yes
checking for glob... (cached) yes
checking for strpbrk... (cached) yes
checking for pipe... (cached) yes
checking for crypt16... (cached) no
checking for getauthuid... (cached) no
checking for strftime... (cached) yes
checking for sigprocmask... (cached) yes
checking for sigblock... (cached) yes
checking for sigaction... (cached) yes
checking for innetgr... (cached) yes
checking for setnetgrent... (cached) yes
checking for getnetgrent... (cached) yes
checking for endnetgrent... (cached) yes
checking for initgroups... (cached) yes
checking for select... (cached) yes
checking for rdchk... (cached) no
checking for getgrnam... (cached) yes
checking for getgrent... (cached) yes
checking for pathconf... (cached) yes
checking for setpriv... (cached) no
checking for setgidx... (cached) no
checking for setuidx... (cached) no
checking for setgroups... (cached) yes
checking for sysconf... (cached) yes
checking for mktime... (cached) yes
checking for rename... (cached) yes
checking for ftruncate... (cached) yes
checking for stat64... (cached) yes
checking for fstat64... (cached) yes
checking for lstat64... (cached) yes
checking for fopen64... (cached) yes
checking for atexit... (cached) yes
checking for grantpt... (cached) yes
checking for dup2... (cached) yes
checking for lseek64... (cached) yes
checking for ftruncate64... (cached) yes
checking for readdir64... (cached) yes
checking for fseek64... (cached) no
checking for fseeko64... (cached) yes
checking for ftell64... (cached) no
checking for ftello64... (cached) yes
checking for setluid... (cached) no
checking for yp_get_default_domain... (cached) no
checking for getpwanam... (cached) no
checking for srandom... (cached) yes
checking for random... (cached) yes
checking for srand... (cached) yes
checking for rand... (cached) yes
checking for setenv... (cached) yes
checking for usleep... (cached) yes
checking for mmap64... (cached) yes
checking for strcasecmp... (cached) yes
checking for fcvt... (cached) yes
checking for fcvtl... (cached) no
checking for syscall... (cached) yes
checking for _dup... (cached) no
checking for _dup2... (cached) no
checking for _opendir... (cached) no
checking for _readdir... (cached) no
checking for _seekdir... (cached) no
checking for _telldir... (cached) no
checking for _closedir... (cached) no
checking for __dup... (cached) no
checking for __dup2... (cached) yes
checking for __opendir... (cached) no
checking for __readdir... (cached) no
checking for __seekdir... (cached) no
checking for __telldir... (cached) no
checking for __closedir... (cached) no
checking for __getcwd... (cached) no
checking for _getcwd... (cached) no
checking for __xstat... (cached) yes
checking for __fxstat... (cached) yes
checking for __lxstat... (cached) yes
checking for _stat... (cached) no
checking for _lstat... (cached) no
checking for _fstat... (cached) no
checking for __stat... (cached) yes
checking for __lstat... (cached) yes
checking for __fstat... (cached) yes
checking for _acl... (cached) no
checking for __acl... (cached) no
checking for _facl... (cached) no
checking for __facl... (cached) no
checking for _open... (cached) no
checking for __open... (cached) yes
checking for _chdir... (cached) no
checking for __chdir... (cached) no
checking for _close... (cached) no
checking for __close... (cached) yes
checking for _fchdir... (cached) no
checking for __fchdir... (cached) no
checking for _fcntl... (cached) no
checking for __fcntl... (cached) yes
checking for getdents... (cached) no
checking for _getdents... (cached) no
checking for __getdents... (cached) no
checking for _lseek... (cached) no
checking for __lseek... (cached) yes
checking for _read... (cached) no
checking for __read... (cached) yes
checking for _write... (cached) no
checking for __write... (cached) yes
checking for _fork... (cached) no
checking for __fork... (cached) yes
checking for _stat64... (cached) no
checking for __stat64... (cached) no
checking for _fstat64... (cached) no
checking for __fstat64... (cached) no
checking for _lstat64... (cached) no
checking for __lstat64... (cached) no
checking for __sys_llseek... (cached) no
checking for llseek... (cached) yes
checking for _llseek... (cached) no
checking for __llseek... (cached) no
checking for readdir64... (cached) yes
checking for _readdir64... (cached) no
checking for __readdir64... (cached) no
checking for pread... (cached) yes
checking for _pread... (cached) no
checking for __pread... (cached) no
checking for pread64... (cached) yes
checking for _pread64... (cached) no
checking for __pread64... (cached) yes
checking for pwrite... (cached) yes
checking for _pwrite... (cached) no
checking for __pwrite... (cached) no
checking for pwrite64... (cached) yes
checking for _pwrite64... (cached) no
checking for __pwrite64... (cached) yes
checking for open64... (cached) yes
checking for _open64... (cached) no
checking for __open64... (cached) no
checking for creat64... (cached) yes
checking for putprpwnam in -lsecurity... (cached) no
checking for putprpwnam... (cached) no
checking for putprpwnam in -lsec... (cached) no
checking for putprpwnam... (cached) no
checking for set_auth_parameters in -lsecurity... (cached) no
checking for set_auth_parameters... (cached) no
checking for set_auth_parameters in -lsec... (cached) no
checking for set_auth_parameters... (cached) no
checking for getspnam in -lgen... (cached) no
checking for getspnam... (cached) yes
checking for getspnam in -lsecurity... (cached) no
checking for getspnam... (cached) yes
checking for getspnam in -lsec... (cached) no
checking for getspnam... (cached) yes
checking for bigcrypt in -lsecurity... (cached) no
checking for bigcrypt... (cached) no
checking for bigcrypt in -lsec... (cached) no
checking for bigcrypt... (cached) no
checking for getprpwnam in -lsecurity... (cached) no
checking for getprpwnam... (cached) no
checking for getprpwnam in -lsec... (cached) no
checking for getprpwnam... (cached) no
checking whether gcc accepts -fpic... (cached) yes
checking for long long... (cached) yes
checking for LL suffix on long long integers... (cached) yes
checking for 64 bit off_t... (cached) no
checking for off64_t... (cached) no
checking for 64 bit ino_t... (cached) no
checking for ino64_t... (cached) no
checking for struct dirent64... (cached) no
checking for union semun... (cached) no
checking for unsigned char... (cached) no
checking for sin_len in sock... (cached) no
checking whether seekdir returns void... (cached) yes
checking for __FILE__ macro... (cached) yes
checking for __FUNCTION__ macro... (cached) yes
checking if gettimeofday takes tz argument... (cached) yes
checking for broken readdir... (cached) no
checking for utimbuf... (cached) yes
checking for ut_name in utmp... (cached) yes
checking for ut_user in utmp... (cached) yes
checking for ut_id in utmp... (cached) yes
checking for ut_host in utmp... (cached) yes
checking for ut_time in utmp... (cached) yes
checking for ut_tv in utmp... (cached) yes
checking for ut_syslen in utmpx... (cached) no
checking for kernel oplock type definitions... (cached) no
checking for irix specific capabilities... (cached) no
checking for int16 typedef included by rpc/rpc.h... (cached) no
checking for uint16 typedef included by rpc/rpc.h... (cached) no
checking for int32 typedef included by rpc/rpc.h... (cached) no
checking for uint32 typedef included by rpc/rpc.h... (cached) no
checking for conflicting AUTH_ERROR define in rpc/rpc.h... (cached) no
checking for test routines... yes
checking for ftruncate extend... (cached) yes
checking for broken getgroups... (cached) no
checking whether getpass should be replaced... (cached) yes
checking for working fnmatch... (cached) yes
checking for broken inet_ntoa... (cached) no
checking for sysconf(_SC_NGROUPS_MAX)... (cached) yes
checking for root... (cached) yes
checking for iface AIX... (cached) no
checking for iface ifconf... (cached) yes
checking for setresuid... (cached) yes
checking for shared mmap... (cached) yes
checking for ftruncate needs root... (cached) no
checking for fcntl locking... (cached) yes
checking for broken (glibc2.1/x86) 64 bit fcntl locking... (cached) no
checking for 64 bit fcntl locking... (cached) no
checking for sysv ipc... (cached) yes
checking for IRIX sysv ipc semun problem using gcc... (cached) no
checking for a crypt that needs truncated salt... (cached) no
checking for broken nisplus include files... (cached) yes
checking whether to use smbwrapper... no
checking whether to use AFS... no
checking whether to use DFS auth... no
checking whether to use Kerberos IV... no
checking whether to use Kerberos 5... no
checking whether to use AUTOMOUNT... yes
checking whether to use SMBMOUNT... yes
checking whether to use PAM password database... no
checking whether to use LDAP password database... no
checking whether to use NISPLUS password database... no
checking whether to use NISPLUS_HOME... no
checking whether to use SSL... no
checking whether to use syslog logging... no
checking whether to use profiling... no
checking whether to support netatalk... no
checking whether to support disk-quotas... no
checking whether to support utmp accounting... no
checking whether to install Using Samba book... ${prefix}/swat/using_samba
checking how to get filesystem space usage
checking statvfs64 function (SVR4)... (cached) no
checking statvfs function (SVR4)... (cached) yes
checking if large file support can be enabled
no
checking configure summary
configure OK











here the last message tells me that large file-suport is not activated ;-((

>
> Andreas
> --
>  Andreas Jaeger
>   SuSE Labs [EMAIL PROTECTED]
>    private [EMAIL PROTECTED]
>     http://www.suse.de/~aj



Greetings from Alex



------------------------------

From: "mconroy" <[EMAIL PROTECTED]>
Subject: Re: -lcrypt
Date: Mon, 18 Sep 2000 10:25:22 -0400

Ben,

I believe lcrypt is "libcrypt" which you should find in
/usr/i386-glibc20-linux/lib/ as a .so.  You'll also find it under /usr/lib,
and /lib.  This holds for RH 6.1 and 6.2, though.  Not sure what Debian
does.  You ought to be able to grab these from RedHat's site, though, if you
don't have them.

Cheers,
Mike


B.Lim wrote in message ...
>Can anyone tell me where I can get 'lcrypt'? I'm trying to
>compile util-linux to enable serpent encryption support in
>losetup and mount so that I can use the loopback encrypted
>file system. When doing a './configure' it states that I
>need lcrypt. What library does lcrypt belong to? I'm running
>Debian 2.2 and would like to know if there's a deb package of
>that library that has 'lcrypt'.
>
>Thanks.
>Benjamin Lim.
>



------------------------------

From: "mconroy" <[EMAIL PROTECTED]>
Subject: Re: URGENT:problem with module-insertion in kernel-2.2.14-5.0 and 2.2.12-20
Date: Mon, 18 Sep 2000 10:34:55 -0400

Hi...

I only just started writing module stuff, so I'll probably be of limited
help, but...

First, init_module returns an int, so you should probably throw in a return
0;.

Second, you seem to be insmod'ing something called "test.o".  Make sure your
path is correct.  It looks like it might be...but I can't tell.  i.e.
/sbin/insmod test.o (in the directory with test.o).

Third, you probably won't see much in your printk's (when you DO get it to
work) without prefixing with something like KERN_DEBUG, or simply <1>.
Example:  printk("<1>in init_module");

printk uses the first parameter to figure out how chatty to be.

Beyond that, I recommend Rubini's book.  It's outdated, though, so don't buy
it... simply look for
 ftp://ftp.systemy.it/pub/develop
This, I believe, is where the new edition of the book is being previewed.

Cheers,
Mike


Anil Prasad wrote in message <01c01fcc$bffe08e0$7cd4b809@aprasad>...
>hi,
>i wrote a simple module(code is given below along with strace output), it
>compiled succesfully but when i tried to insert it by doing insmod, i got
>error message like: resource/device busy( errno=EBUSY)




------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.development.system) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Development-System Digest
******************************

Reply via email to