how can I hack my com interrupt?

2003-06-12 Thread ouyang kai
rrupt Identification Register, why? the code of set IIR is in the sioattach function: sio_setreg(com, com_iir, IIR_MLSC); I found the com_iir content is not changed. How can I do that? My OS is FreeBSD4.8-Release. Thanks a lot! Best Regards Ouyan

some questions about ACL implementation

2003-03-18 Thread ouyang kai
ACL product. Right now this is not done very efficiently.", Do you any viewpoint about that? How we can improve the efficiency? 4. about ACL based on UFS2, do the ACLs of an inode store di_extb? Could you introduce the ACLs' management o

buffer management questions

2003-01-09 Thread ouyang kai
will be added to QUEUE_EMPTY. I reference the 5.0RC2 source. Thank you! Best Regards Ouyang Kai _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 To Unsubscribe:

Re: One Filesystem vnode operations declare problem.

2003-01-06 Thread ouyang kai
h part code? About "Featherweight Layer", in FreeBSD, how is it implemented? Should I read which part code? Could you give me some clues? I have not a clear idea about Stackable VFS, I hope read the FreeBSD kernel source to understan

Re: Some problems about KSE

2002-12-12 Thread ouyang kai
From: Julian Elischer <[EMAIL PROTECTED]> Well it's still being written so you may be a bit ahead of yourself.. cc ... -lkse no use -lkse until we have if more finished... then it will become -lpthread the fix was committed yesterday. the UTS fills in km_func before creating the KSE and loaded

Some problems about KSE

2002-12-10 Thread ouyang kai
delivered to the special KSEG exactly? Thank you! Best Regards Ouyang Kai _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: One Filesystem vnode operations declare problem.

2002-12-06 Thread ouyang kai
;in '/dev/', it use the 'normarl' vop; we use 'devfs rules', it use the 'special' vop, right? If I guess right, but the kernel how to know it should use which vop? Thank you very much! Best Regards Ouyang Kai __

Re: One Filesystem vnode operations declare problem.

2002-12-06 Thread ouyang kai
ors. VNODEOP_SET(ffs_specop_opv_desc); I think it is special operation vectors. But I do not know its purpose. VNODEOP_SET(ffs_fifoop_opv_desc); I think it is FIFO operation vectors. Why do those three VOP_SETs have many repeated defines? Or

Re: About 'sysctl' routine problem?

2002-08-15 Thread ouyang kai
ck. So, the kernel will call sysctl_rtsock, right? in sysctl_rtsock function: case NET_RT_IFLIST: error = sysctl_iflist(af, &w); So, this time, the kernel will call sysctl_iflist finally, right? But I have some wonder how the 'sysctl' command transfer from user space to kernel space? I find the line in sysproto.h: int __sysctl __P((struct proc *, struct sysctl_args *)); I think whether the 'sysctl' is changed to '__sysctl' in kernel space? If that is right, the __sysctl is how conect with sysctl_rtsock? Thank you very much!:-) Best Regards Ouyang Kai

About 'sysctl' routine problem?

2002-08-14 Thread ouyang kai
Hi guys,  In the "TCP/IP Illustrated, Volume2: The Implementation" book,there give 'ioctl' and 'sysctl' in the kernel routine.  ioctl -> sooioctl->(interface)ifioctl.  sysctl-> net_sysctl -> pr_sysctl -> ip_sysctl  Now, I can find the corresponding code about 'ioctl' routine.But, I could no

Hi, the kernel how control timeout and interrupt method?

2002-08-14 Thread ouyang kai
od is unefficient. I think when the COM status change, it should spring an interrupt, the kerenl will ignore the interrupt default, right? I can write an interrupt program, or embed my process in the kernel. But I have no idea how to start. how can I start my task? Thank you! Best Regards Ouyang Kai

About nge NIC problem

2002-08-13 Thread ouyang kai
and the Samba work well on the nge. Do you have any experiance on netatalk and MARS_NWE of the nge NIC? Please help. Best Regards Ouyang Kai

How the kernel add the devices when the kernel start

2002-08-12 Thread ouyang kai
. But I do not the 'func' means what when it check SI_SUB_DRIVERS.2. In NetBSD, I can find main() function in init_main.c, but in FreeBSD, I could not find it, I am puzzled aboutthe place of the FreeBSD main process.   Thank you so much!Best Regards  Ouyang Kai  Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com

Re: Hi, how the kernel add the devices

2002-08-12 Thread ouyang kai
ple, I have a NIC ¡®fxp0¡¯, so the function pointer should point to the fxp_attach?If that is right, I want to know how the kernel call the mi_startup()?   Best Regards  Ouyang Kai    Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com Dear Terry >See /usr/src/sys/kernel

Hi, how the kernel add the devices

2002-08-12 Thread ouyang kai
attach)(pdev->pdev_count);I know the NetBSD kernel add devices(such as storage device and network device) by them.But in FreeBSD, I can not locate the place.which part code should I read?Thank you.  Best Regards  Ouyang Kai    Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com

[no subject]

2002-08-12 Thread ouyang kai
Hi Everybody,   I am a jackaroo to FreeBSD kernel. I have a question about how the kernel add all devices.   For example, in NetBSD, I can find the code in /sys/kern/init_main.c:  /* Attach pseudo-devices. */ for (pdev = pdevinit; pdev->pdev_attach != NULL; pdev++)       (*pdev->pdev_atta