range of 32 bit unsigned int/long

2006-03-06 Thread kamal kc
dear all, i am a bit confused over this. the 16 bit unsigned integer takes the value as i checked myself for 0 to 2^16-1 (=65535). but the 32 bit unsigned integer/long does not take the value from 0 to 2^32-1 (4294967295). instead 32 bit unsigned int/long takes the value from 0 to 2^31-1 (21474

kernel crash dump could not be obtained

2005-10-31 Thread kamal kc
dear all, i have to make modifictions to the kernel and i have been encountering kernel crashes all the time. the kernel panics with messages starting with vm_fault: and then crashes and reboots. i guess i have done incorrect memory operations and i want to know where i went wrong. so i thou

tcp services (ssh,ftp) does not work

2005-10-30 Thread kamal kc
dear all, i have put sshd_enable="YES" and inetd_enable="YES" in /etc/rc.conf. netstat -an also shows that the port numbers 21 and 22 are in listen state ftp is uncommented in /etc/inetd.conf but still the ssh/ftp services does not work. when i ftp from another computer the netstat shows conne