having trouble with sshd

2004-02-25 Thread Ganbold
Hi, Today I just updated source using cvsup. I'm using FreeBSD 5.2-current. I compiled and installed source and new kernel. However I'm having trouble login using ssh. I see sshd_config is not different than previous one. When I debug sshd using sshd -d -p 2401 and tried to log on it says Passwo

Re: Newbie : Problem with kgdb

2004-02-25 Thread David Malone
On Wed, Feb 25, 2004 at 01:18:14PM +0530, [EMAIL PROTECTED] wrote: > I get the warning > (no debugging symbols found)... > when I invoke > gdb -k /kernel Look for the kernel.debug file in the directory where you complied the kernel. This should have all the symbols - it is probably something like

Screensaver

2004-02-25 Thread Ivan Voras
I'm thinking of writing a console screen saver for fun and learning about kernel programming, and I have several questions (actually there are many, I'm just starting here :) ). - Can VESA_800x600 mode be used in a screen-saver? What are the issues concering supporting more video modes both for

[Driver] SC1100 watchdog driver

2004-02-25 Thread Claudio Martella
I'm writing a driver for Geode SC1100's watchdog for FreeBSD-4.8. It's my frist device driver for this operating system and i've got one question: I'm willing to write the driver as a module: i wrote both struct cdevsw and struct device_method_t as struct driver_t. For the first i wrote just the

Re: having trouble with sshd

2004-02-25 Thread Marek Denis
On Wed, Feb 25, 2004 at 06:25:22PM +0800, Ganbold wrote: > Hi, > > Today I just updated source using cvsup. I'm using FreeBSD 5.2-current. > I compiled and installed source and new kernel. > 5.2-current? So, what is in your tag in cvsup config? Cause I have tag=RELENG_5_2 and yesterday cvsuped

Re: Local APIC on FreeBSD/i386

2004-02-25 Thread Ralph S.
Hmm.. I'm running FreeBSD-current (as of Feb 12, 04) and it does implement 'device apic' for UP systems... but onyl if the APIC has been enabled by the BIOS. (Maybe I'm just doing something wrong there, though. However, Intel's Katmai CPUs have an APIC built in, I'm sure of that.) I have tried to

Re: [Driver] SC1100 watchdog driver

2004-02-25 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Claudio Martella" <[EMAIL PROTECTED]> writes: : Through the DEV_MODULE() macro i defined the loading routine and : used DRIVER_MODULE() macro to define the pci driver. : My first doubt is if : it's legal to use both of them in the same file/driver. Sho

Re: having trouble with sshd

2004-02-25 Thread Dag-Erling Smørgrav
Ganbold <[EMAIL PROTECTED]> writes: > However I'm having trouble login using ssh. I see sshd_config is not > different than previous one. Yes, it is. Did you run mergemaster? > I set PasswordAuthentication yes in sshd_config file and everything is > worked fine. > However what is the default aut

machdep.tsc_freq and very fast CPUs

2004-02-25 Thread Bruce Cran
Having heard about how Windows thought a P4 EE CPU was running at 10MHz, I decided to do a bit of poking around the FreeBSD kernel to check that all the frequencies were correctly expressed in 64-bit values. While I quickly saw that they were all u_int64_t, I was a bit worried when I saw a sizeo

Re: Local APIC on FreeBSD/i386

2004-02-25 Thread John Baldwin
On Wednesday 25 February 2004 08:41 am, Ralph S. wrote: > Hmm.. I'm running FreeBSD-current (as of Feb 12, 04) and it does implement > 'device apic' for UP systems... but onyl if the APIC has been enabled by > the BIOS. (Maybe I'm just doing something wrong there, though. However, > Intel's Katmai

Questions about CPU related sysctls

2004-02-25 Thread Craig Rodrigues
Hi, I want to write some C code to get a count of the number of CPU's on a running system. What is the difference between these two sysctls? kern.smp.cpus: Number of CPUs online hw.ncpu: Number of active CPUs Also, can someone give a brief description of these sysctls (sysctl -d doesn't show an

Re: having trouble with sshd

2004-02-25 Thread Ganbold
Hi I have tag=. Ganbold At 08:48 PM 25.02.2004, you wrote: On Wed, Feb 25, 2004 at 06:25:22PM +0800, Ganbold wrote: > Hi, > > Today I just updated source using cvsup. I'm using FreeBSD 5.2-current. > I compiled and installed source and new kernel. > 5.2-current? So, what is in your tag in cvsup

Re: having trouble with sshd

2004-02-25 Thread Ganbold
Hi At 12:38 AM 26.02.2004, you wrote: Ganbold <[EMAIL PROTECTED]> writes: > However I'm having trouble login using ssh. I see sshd_config is not > different than previous one. Yes, it is. Did you run mergemaster? Yes, I did run mergemaster with -p switch before installworld and afterward without

Re: Testers needed: Joe's MFC of USB code

2004-02-25 Thread Julian Elischer
On Tue, 24 Feb 2004, Julian Elischer wrote: > > I've been running Joe's latest USB MFC patch and it seems to work ok for > me... (both ohci and uhci) > > I have a limited set of devices to test with however.. > > Anyone else care to test? > Getting this in -Stable is a prerequisite to MFCing

HEADS UP: pf import

2004-02-25 Thread Max Laier
Hi, we started importing OpenBSD's packet filter (pf) from it's port (security/pf). The kernel parts are done, though not linked to any automatic build. If you want to build it already, you can build from the corresponding module directories: sys/modules/{pf, pflog, pfsync} Make sure

Re: Testers needed: Joe's MFC of USB code

2004-02-25 Thread Julian Elischer
On Wed, 25 Feb 2004, Mike Tancsa wrote: > At 09:16 PM 25/02/2004, Julian Elischer wrote: > > >Is anyone testing this.. > > Yes. I just applied it to a couple of boxes. We were able to panic the > box previously with ucom devices. I will see if its fixed tomorrow at the > office. define