Hi all, I am writing a char driver for the cr16mcs9 which we are using as a CANOpen IC on a small embedded system that we are designing at work. My problem is that my test program makes the kernel (2.4.20) sort of hang when it issues the open() system call. The kernel is still responding on pings but I can not login and all terminals are dead. I did manage to get an strace of my test program, and the output below was everything before the hang. I do not want to waste any bandwidth by emailing all of my source to the list, but I will gladly send it to anyone who would like to help me with this one. Thanks a lot in advance! jules ~ # ./strace ./a.out 12 o execve("./a.out", ["./a.out", "12", "o"], [/* 13 vars */]) = 0 uname({sys="Linux", node="uniq2", ...}) = 0 brk(0) = 0x8049c14 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=5667, ...}) = 0 mmap2(NULL, 5667, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40013000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260W\1"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=1212376, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000 mmap2(NULL, 1203492, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40016000 mprotect(0x40135000, 27940, PROT_NONE) = 0 mmap2(0x40135000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11e) = 0x40135000 mmap2(0x4013a000, 7460, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4013a000 close(3) = 0 munmap(0x40013000, 5667) = 0 fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(3, 0), ...}) = 0 -- Jules Colding <JuBColding@yorkref.com> York Refrigeration -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/