hi;
does general_protection trap necessarily result to die ?
when executing this instruction : mov(%eax),%gs ,$ip turns to be
general_protection.
then it comes to debug()
I have no clue for what has happend leads kernel to go here . it denotes
what?
Are there some
On Sun, Feb 24, 2013 at 04:00:37PM +0700, Mulyadi Santosa wrote:
On Sat, Feb 23, 2013 at 6:45 AM, horseriver horseriv...@gmail.com wrote:
hi:
I have built vmlinux at the top dir of kernel source ,then I use objdump
to look into
its section information.I find the statup_32 which
:02 AM, horseriver horseriv...@gmail.com wrote:
I can see a list of users in that room ,but receive none msgs for a long
time .
how to send message to this room ?not just to one member.
thanks!
___
Kernelnewbies mailing list
Kernelnewbies
hi:
I have built vmlinux at the top dir of kernel source ,then I use objdump to
look into
its section information.I find the statup_32 which is the start routine of
kernel ,
locats at 0xc010. I know the 0x10 is the defined address for locating
protect-mode code .But which I can
hi
I am confused on booting from grub's rescue mode .
As we know ,before the kernel start ,the setup code, which is from setup.S
,will be executed at front.
If boot from rescue mode , will grub also load setup code and execute it ? or
grub execute its own code doing
the same work as
hi:)
The gdtr reg saves the base address of gdt , whether is this address a linear
address or phisical address ?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
hi:)
i am debuging my kernel .
Before the idt_setup of protect-mode , Is it normal that one page_fault
exception occures?
As I step into this instruction : lss stack_start,%esp , vm fire an
page_fault exception,
But at the intr vector check step, as the intr-table has not been
thanks!
Actually , my question comes from network performance ,I want to know ,in per
second ,the
maximum of tcp connections that can be dealed with by my server.
How can I do the test and calculate the connection number , Is it possible
that my server
can deal with 10k tcp
hi:)
In one process ,what is the max number of opening file descriptor ?
Can it be set to infinite ?
In network programing ,what is the essential for the maximum of connections
dealed per second
thanks!
___
Kernelnewbies mailing list
hi:)
I am curious about how hd controller work .
When user am reaing/writing hd ,it was implemented by sending command
to hd controller's special port.Then ,how does the controller know
a new command has received?
In this procedure , what work does the hd driver do ?
thanks!
On Wed, Feb 06, 2013 at 02:35:47AM -0500, valdis.kletni...@vt.edu wrote:
On Wed, 06 Feb 2013 05:37:41 +0800, horseriver said:
After grub load kernel and initrd , it get around root filesystem
mounting ,
but failed with no finding root device ,from which kernel and initrd have
been
hi:)
I have a newbie question about hard ware.
At booting stage,kernel need to detect the hard device before mount it,
does this work need pci's surport?
At loading stage ,boot loader need to move binaries from hard disk partition
to ram,does this work need pci's surport?
hi:)
During booting period .every device will have a node at /dev/ folder.
what is the detail of ths procedure?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Thanks for your reply!
After grub load kernel and initrd , it get around root filesystem mounting ,
but failed with no finding root device ,from which kernel and initrd have
been
located .
ls /dev/ ; there is no disk device node .
Why?
hi:)
When kernel booting,there are a serial log printed on the screen,
like this: Initial network ...
can I redirect these logs into a logfile?How can I do ?
Thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
Thanks!
If I booting from bochs ,can I redirect these logs to the host OS?
4 lut 2013 09:25, horseriver horseriv...@gmail.com napisał(a):
hi:)
When kernel booting,there are a serial log printed on the screen,
like this: Initial network ...
can I redirect these logs
hi:)
I have a image file ,after I input this command:
**
sh losetup /dev/loop0 xx.img
sh mount -t tmpfs /dev/loop0 /mnt
**
I find no content under /mnt ,But this image file contains a bootloader.
What is the reason ? How can I check out the file tree structure of
hi:
It is not a cpio archive , so that command can not work .
its file system type is tmpfs.
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
hi:
Is there mothod to look into a image file ?
How can I know its filesystem?
I have mounted my fd0 to /mnt with -t tmpfs ,but I find
nothing under /mnt.How can I touch the files in image?
thanks!
___
Kernelnewbies mailing list
hi:)
I use fdisk to add a new partion on a image file.
I find the start of partion 1 is alwayes set to 63 by default.
That means partion 1 start at 63*512=32256 byte.
Here is my question:
1. The region from 512th bytes to 32256th bytes will do what ?
Why partion
hi:)
When boot from hard disk , is GURB at the MBR a must ?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Thanks!
If I just only want to make a bootable hard disk image ,how can I do?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
hi:)
I want to boot kernel from hard disk image ,because i am using a virtual
machine .
How to make this bootable image ?
After I make it ,how do I put kernel Image into this image?
thanks!
___
Kernelnewbies mailing list
On Mon, Jan 28, 2013 at 12:05:35PM +0530, Mandeep Sandhu wrote:
On Mon, Jan 28, 2013 at 2:07 AM, horseriver horseriv...@gmail.com wrote:
hi:)
Is /boot/initrd.img a root filesystem? what is the filetype of it?
Yes, it's a rootfs with minimal stuff needed for booting a workable
system
On Mon, Jan 28, 2013 at 03:07:13PM +0700, Mulyadi Santosa wrote:
On Mon, Jan 28, 2013 at 5:10 AM, horseriver horseriv...@gmail.com wrote:
Does this /boot/initrd.img file come out when building kernel ?
how to build it?
you use your distro supplied /sbin/mkinitrd or /sbin/mkinitramfs
hi:
Is there method for getting bt of a kernel functions?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Of course, an initrd on floppy is kind of silly, because you still need to
find someplace else to fit the actual kernel - which hasn't fit on a floppy
for quite some time.
Do we must need initrd.img to boot system ?
Does this /boot/initrd.img file come out when building kernel
hi:)
In kernel code ,what is the use of EXPORT_SYMBOL()?
Does it export a function to user application ,
so this function can be used in user application ?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
hi:)
Is /boot/initrd.img a root filesystem? what is the filetype of it?
Can I put initrd.img in a floppy to boot system ?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
hi:
I have to know the default mail delivery agent on my system to configure mail
client.
Is there mothod?
How mail delivery agent work for receiving mails?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
hi:
I am debuging kernel with gdb , when it comes into a page_fault exception
,how
to get to know how does that address come out ?
It is the same to ask : which code is using that address , causing the
page_fault exception?
thanks!
___
On Sun, Jan 20, 2013 at 09:07:15AM -0800, Ian Lance Taylor wrote:
On Sat, Jan 19, 2013 at 1:30 PM, horseriver horseriv...@gmail.com wrote:
On Sat, Jan 19, 2013 at 09:47:53PM -0800, Ian Lance Taylor wrote:
On Fri, Jan 18, 2013 at 10:19 PM, horseriver horseriv...@gmail.com wrote:
hi
On Sat, Jan 19, 2013 at 09:15:23AM +0100, Jędrzej Dudkiewicz wrote:
Because it's not possible to have an object with nonzero size. The
address of every object must be unique, so they have to be separated by
one byte anyway.
thanks!
Here I do not define a object of type A ,just do
hi:
I am linking a .so from one .o file with my specified linker script.
In this linker script file , I do not use SIZEOF_HEADERS,but ld still
report this error :
Not enough room for program headers, try linking with -N
I really can not understand .
Any advice
On Sat, Jan 19, 2013 at 10:53:26PM +0700, Mulyadi Santosa wrote:
On Sat, Jan 19, 2013 at 12:19 PM, horseriver horseriv...@gmail.com wrote:
hi:
I am linking a .so from one .o file with my specified linker script.
In this linker script file , I do not use SIZEOF_HEADERS,but ld still
On Sat, Jan 19, 2013 at 09:47:53PM -0800, Ian Lance Taylor wrote:
On Fri, Jan 18, 2013 at 10:19 PM, horseriver horseriv...@gmail.com wrote:
hi:
Here are two command for producting one .so file :
1. gcc -nostdlib -Wl,-T,vsyscall.lds vsyscall-int80.o -o
vsyscall-int80.so
On Fri, Jan 18, 2013 at 10:18:19AM +0800, Peter Teoh wrote:
essentially, when the packet arrive, it will be assigned to the correct
process based on IP address + port matching, and then the corresponding
process's blocked scheduling status will be changed to continue execution,
so that when
In my opinion , fork and exec is based on independent task environment for
per process ,
which is corresponding to task_struct .
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
hi:
If I subscribed a mail list at date x , how can I get those mail dated
before x ?
can I request maillist server to send those mail to my mail address ?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
On Fri, Jan 18, 2013 at 10:26:12PM -0800, Dave Hylands wrote:
Hi,
On Fri, Jan 18, 2013 at 10:53 AM, horseriver horseriv...@gmail.com wrote:
hi:
If I subscribed a mail list at date x , how can I get those mail dated
before x ?
can I request maillist server to send those mail
hi:
For one socket , which has been returned by accept() call , does its sk_state
is assuredly already TCPF_ESTABLISHED ?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
hi:
what is the function of do_softirq()?
It is called by ksoftirqd() ,which is setup by : kernel_thread(ksoftirqd,
hcpu, CLONE_KERNEL) ;
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
hi:
When an net IRQ on a socket reached, does the driver wake_up socket's
wait_queue at once ?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
hi:
what is the function of tcp_prequeue ?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Tue, Jan 15, 2013 at 12:25:10PM -0500, valdis.kletni...@vt.edu wrote:
On Mon, 14 Jan 2013 17:50:03 +0800, horseriver said:
When one datagram has reached , How to wake_up the wait_queue of that
socket ?
Please clarify your question - I'm not sure which of the following you mean
On Sun, Jan 13, 2013 at 09:27:45PM -0800, Dave Hylands wrote:
Hi,
On Sun, Jan 13, 2013 at 11:29 AM, horseriver horseriv...@gmail.com wrote:
hi:
In kernel code . some function is defined by
__attribute__((__section__(.initcall level .init)))
what does this do ?
It puts
On Mon, Jan 14, 2013 at 07:20:46AM -0800, Ramesh.P wrote:
Hi,
On Sun, Jan 13, 2013 at 8:50 PM, horseriver horseriv...@gmail.com wrote:
On Sun, Jan 13, 2013 at 09:27:45PM -0800, Dave Hylands wrote:
Hi,
On Sun, Jan 13, 2013 at 11:29 AM, horseriver horseriv...@gmail.com
wrote
On Mon, Jan 14, 2013 at 02:44:11PM +, Anuz Pratap Singh Tomar wrote:
On Mon, Jan 14, 2013 at 4:50 AM, horseriver horseriv...@gmail.com wrote:
On Sun, Jan 13, 2013 at 09:27:45PM -0800, Dave Hylands wrote:
Hi,
On Sun, Jan 13, 2013 at 11:29 AM, horseriver horseriv...@gmail.com
On Mon, Jan 14, 2013 at 08:32:57AM -0800, Randy Dunlap wrote:
On 01/13/13 20:33, horseriver wrote:
hi:
How does kbuild build objects for subdirs of kernel source ?
It goes into subdirs recursively.
From top-level Makefile:
# Objects we will link into vmlinux / subdirs we
On Mon, Jan 14, 2013 at 10:44:28PM +0530, Vivek Gautam wrote:
Hi,
On Mon, Jan 14, 2013 at 10:36 AM, horseriver horseriv...@gmail.com wrote:
hi:
How to build targets for every subdirs of kernel ?
Is it the Makefile you want to look for.
Make is the same linux utility to build
hi:
When one datagram has reached , How to wake_up the wait_queue of that socket
?
Thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
hi:
Is there some mail list for discussion of network details?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
hi:
In kernel code . some function is defined by
__attribute__((__section__(.initcall level .init)))
what does this do ?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
On Sun, Jan 13, 2013 at 09:27:45PM -0800, Dave Hylands wrote:
Hi,
On Sun, Jan 13, 2013 at 11:29 AM, horseriver horseriv...@gmail.com wrote:
hi:
In kernel code . some function is defined by
__attribute__((__section__(.initcall level .init)))
what does this do ?
It puts
On Wed, Jan 02, 2013 at 08:57:04AM -0800, Ian Lance Taylor wrote:
On Wed, Jan 2, 2013 at 1:16 AM, horseriver horseriv...@gmail.com wrote:
I am compiling 2.6.0 kernel with gcc 4.4.5 and link with ld 2.20 version.
when linking .so , output this error :
/usr/bin/ld: arch/i386
hi:
for a socket file point , what will this function do ?
file-f_op-poll(); ///poll is declared in the file-operations struct .
but I do not find this function's definition .
Is there some advice?
thanks!
___
Kernelnewbies mailing
hi:
when building kernel , kbuild will work into every subdirs .
for example: drivers/acpi directory ,there is a makefile , which construct
all object files
,but where is the building rules for these file? how kbuild build them out ?
Is script/makefile.build doing this work?
hi:
these two wayes of operating one file :
1.use open/write interface call .
2.mmap this file into memory , then access this memory area and do r/w .
what is the essential difference between this teo wayes?
thanks!
___
Kernelnewbies
?
Thanks!
-Rajat
On Fri, Jan 11, 2013 at 2:44 AM, horseriver horseriv...@gmail.com wrote:
hi:
these two wayes of operating one file :
1.use open/write interface call .
2.mmap this file into memory , then access this memory area and do r/w .
what is the essential
%E5%8C%BA%E5%88%AB/
and comes with a pictorial diagram as u have requested.
Thanks! Very Great!
On Tue, Jan 8, 2013 at 4:35 AM, horseriver horseriv...@gmail.com wrote:
hi:
I know epoll is event triger model ,but I do not know internel
surpport for it .
is there some
On Wed, Jan 09, 2013 at 08:51:36PM +0800, Peter Teoh wrote:
On Wed, Jan 9, 2013 at 6:36 AM, horseriver horseriv...@gmail.com wrote:
On Wed, Jan 09, 2013 at 01:28:12PM +0800, Peter Teoh wrote:
On Sun, Jan 6, 2013 at 11:17 AM, horseriver horseriv...@gmail.com
wrote:
VSYSCALL_BASE
hi:
I know epoll is event triger model ,but I do not know internel
surpport for it .
is there some illustration for epoll's frame or internel implementation?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
On Fri, Jan 04, 2013 at 11:34:24AM +0400, Игорь Пашев wrote:
2013/1/4 horseriver horseriv...@gmail.com
Not enough room for program headers
Try to search the Web for this. E. g.:
http://lists.gnu.org/archive/html/bug-gnu-utils/2002-08/msg00176.html
thanks!
in my compile option. I have
On Sun, Jan 06, 2013 at 01:01:47PM +0100, richard -rw- weinberger wrote:
On Sat, Jan 5, 2013 at 6:12 PM, horseriver horseriv...@gmail.com wrote:
hi:
In arch/i386/kernel/Makefile , there is a SYSCALL , what is it ?
Nobody can help you without providing more information.
Current kernels
hi:
In arch/i386/kernel/Makefile , there is a SYSCALL , what is it ?
thank!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
hi:
in the makefile ,I can not find link options for vsyscall-int80.so,
I want to add a option for ld
how can I do this ?
thank!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
hi:
In arch/i386/kernel/Mkaefile :
quiet_cmd_syscall = SYSCALL $@
what does this mean ?
I can not fins SYSCALL's definition
any advice is appreciate!
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
On Thu, Jan 03, 2013 at 01:16:06PM +0530, Rajat Sharma wrote:
will it be maped with vm_area struct ?
Yes if it is accessed via mmap system call.
you know that , in the struct vm_area_struct,there is a struct
vm_operations_struct * vm_ops;
in this vm_operations_struct , there are open/close
hi:
I am compiling 2.6.0 kernel with gcc 4.4.5 and link with ld 2.20 version.
my host os is 2.6.32 kernel .
when linking .so , output this error :
/usr/bin/ld: arch/i386/kernel/vsyscall-int80.so: Not enough room for program
headers, try linking with -N
does gcc generate the
hi:
when one file is opened , does its data be put into memory ? and all
operation on this file
will be implemented by operation on its mapping memory area ?
thanks!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
On Thu, Jan 03, 2013 at 12:48:01PM +0530, Rajat Sharma wrote:
Never heard of page-cache?
will it be maped with vm_area struct ?
what is the relation between page-cache and file operation?
thanks!
On Thu, Jan 3, 2013 at 12:29 PM, horseriver horseriv...@gmail.com wrote:
hi:
when
71 matches
Mail list logo