map_user_kiobuf on 2.4.21-241 x86_64
Hi Andi, I mapped /dev/raw/raw1 to /dev/hda2 and wrote this simple problem, which hangs immediately, Is this also because of zero filled pages ? Just need a confirmation. I would really appreciate if you could pass me the bug no and access to bugzilla.suse.com. #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> static char large_buffer[1024 * 1024]; void main () { int fd; fd = open ("/dev/raw/raw1", O_WRONLY); if (fd < 1 ) perror("failed to open him\n"); if (write(fd,large_buffer, sizeof(large_buffer))) printf("wrote something \n"); } Thx, Satish
On Sat, Dec 18, 2004 at 11:28:29PM -0500, skumar wrote:
Hi Andi,
I mapped /dev/raw/raw1 to /dev/hda2 and wrote this simple problem, which hangs immediately, Is this also because of zero filled pages ?
Yes, it's the same issue. If you memset large_buffer first it will not happen. Next update kernel may have a fix. -Andi
Hello, not a typical amd64 question: My understanding was that autofs should mount a cflash if I put one in the card reader. This is not the case. What am I doing wrong? I created auto.misc and auto.master points to auto.misc. Autofs is running and the mounts are setup in fstab. I can manually mount the cflash or sd card exactly the way I set them up in fstab. What is missing? regards, einar
participants (3)
-
Andi Kleen
-
einar
-
skumar