I have added a DHCPv6 client (Dibbler) on my PPC Linux 2.6.12 embedded system. I am trying to find and use the Managed and Options bits/flags "M and O Flags" (RFC 5175 / RFC 4861). I can sniff the RA with wireshark and see the flags are set in the the Router Advertisement.
1. If some file's size is 5000 Bytes, then the first 4096 Bytes are read by the first page, the remaining 4 Bytes are read by the second page. What is fetched in the left 4092 Bytes in the second page space?
2. How can I check the offset of the data (eg. the remaining 4 Bytes's location)
I found there is a macro named "bio_offset", but it's parameter is bio, not page.
I want to know a information regarding ARM processor, I have enabled swap partition for while compiling the kernel.
I want to know how does the H/W knows the page is not present in the RAM so that it raises an exception which makes it to copy from the swap if the page is swapped out.
I know there is a bit pgd_t pte_present, But I am not sure
1) who updates this bit
I have a system that uses sata_via and sr_mod for my cd-drive. This causes the following problem:
Apr 16 08:21:43 (none) kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
Apr 16 08:21:43 (none) kernel: ata1.00: cmd a0/01:00:00:10:f8/00:00:00:00:00/a0 tag 0 dma 63504 out
Apr 16 08:21:43 (none) kernel: cdb 2a 00 00 00 19 a1 00 00 1b 00 00 00 00 00 00 00
am using 22.214.171.124 kernel on my embedded system with 32Mb SDRAM and
no swap partition. My embedded system has support of FTP server and
USB mass-storage. Now I try to put a large file (>50MB) from windows
machine (connected via ethernet to Linux s/s running FTP server) onto
the flash drive which is attched via USB. Sometimes the file transfer
suceedes but most of the time the OOM comes.
I am using system calls in my kernel modules. It was working fine when i was using kernel version 2.6.20. However, since I have update my kernel to 2.6.27. It complains about those (sys_open, sys_read) symbols.
using this article as reference ....
Any ideas ! !
I am currently doing porting work from CAVIUM based code to linux 2.6 kernel. As per my requirement I have to port the below piece of code to linux 2.6.9
void NHNPGetNTPTime(struct timeval strTv, unsigned long *ntpLsw, unsigned long *ntpMsw)
I was doing some debugging of my Linux-based target.
The PC value showed that the function executing is do_futex. I derived the thread_info and
task_struct pointers of "current" using the value of kernel stack-pointer.
The state field of task_struct showed that the process is in state TASK_UNINTERRUPTIBLE.
I'm trying to dump a byte code from binary kernel module using objdump:
# objdump -D modul.ko
//Only important parts
modul.ko: file format elf32-i386
Disassembly of section .text:
0: 83 ec 04 sub $0x4,%esp
3: 64 a1 00 00 00 00 mov %fs:0x0,%eax
9: 8b 80 08 01 00 00 mov 0x108(%eax),%eax
Hi, I was trying to make my own filesystem module and I get this error when I try to compile it under vanilla kernel 2.6.24.
Note: I compiled under 2.6.19 to 2.6.23 and I don't get this error
WARNING: "security_file_lock" [/home/debian/myfs/myfs.ko] undefined!
>> Loading module (insmod myfs.ko):
[ 3326.280882] myfs: Unknown symbol security_file_lock