Re: crash dump output

2001-08-01 Thread Eugene L. Vorokov
Can you compile a debug kernel please and repeat this? That way you will have debug symbols so that you can get more useful information out of gdb. You'll have to get a new crashdump with the debug kernel running however. Maybe it's offtopic a bit, but can you please give exact instructions

Re: crash dump output

2001-08-01 Thread Eugene L. Vorokov
Maybe it's offtopic a bit, but can you please give exact instructions of how to compile debug kernel ? My machine crashes sometimes too, I tried to compile debug kernel, but it seemed not so easy and I gave up due to lack of time. Or is there any URL with a good explanation ? you

Re: address resolution question

2001-08-01 Thread Terry Lambert
Weiguang SHI wrote: I need your help to understand this. In machdep.c, 1451 /* 1452 * map page 1 R/W into the kernel page table so we can use it 1453 * as a buffer. The kernel will unmap this page later. 1454 */ 1455 pte =

Re: crash dump output

2001-08-01 Thread David Scheidt
On Wed, 1 Aug 2001, Eugene L. Vorokov wrote: : Maybe it's offtopic a bit, but can you please give exact instructions of how : to compile debug kernel ? My machine crashes sometimes too, I tried to compile : debug kernel, but it seemed not so easy and I gave up due to lack of time. Or : is

Re: crash dump output

2001-08-01 Thread Julian Elischer
"Eugene L. Vorokov" wrote: Can you compile a debug kernel please and repeat this? That way you will have debug symbols so that you can get more useful information out of gdb. You'll have to get a new crashdump with the debug kernel running however. Maybe it's offtopic a bit, but can

Re: Finding MAC address of interface - programming question

2001-08-01 Thread Andrzej Bialecki
Michael VanLoon wrote: From: Chris Faulhaber [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 3:56 PM On Tue, Jul 31, 2001 at 03:56:40PM -0700, Michael VanLoon wrote: Please point me to a more appropriate forum if there is one. I'm kinda out of my depth on this question.

FW: ioctl and fxp/tl drivers

2001-08-01 Thread Andy
Originally posted to -net but no replies, maybe some here could help me out? tia, Andy -Original Message- To: [EMAIL PROTECTED] Subject: ioctl and fxp/tl drivers Hi all This maybe a dumb question but a bit stumped at the mo. When I make an ioctl call to the fxp or tl drivers thus:

Re: Finding MAC address of interface - programming question

2001-08-01 Thread Dmitry Diky
the code as follows (at least it works in my case) : #include sys/types.h #include sys/sysctl.h #include sys/param.h #include sys/ioctl.h #include sys/socket.h #include net/if.h #include net/if_var.h #include net/if_dl.h #include net/if_types.h #include net/route.h /* IP */ #include

Re: crash dump output

2001-08-01 Thread Eugene L. Vorokov
you just call config with '-g' option. and compile the kernel in normal way. The freebsd handbook discusses this in more detail. Yet another issue, I have run config -g, then make depend, make and make install.debug. But my /kernel is still about 2mb long, which probably means it's not

patch review request: lchflags

2001-08-01 Thread Joshua Goodall
As previously discussed. This is the conservative route, of course. I did not want to get into creating new VOP_SETATTR interfaces. PR kern/29355 http://www.freebsd.org/cgi/query-pr.cgi?pr=29355 J To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of

Re: crash dump output

2001-08-01 Thread Mohana Krishna Penumetcha
On Wed, 1 Aug 2001, Eugene L. Vorokov wrote: Yet another issue, I have run config -g, then make depend, make and make install.debug. But my /kernel is still about 2mb long, which probably means it's not really debug kernel. However I see kernel.debug in the compile directory which is about

Re: Finding MAC address of interface - programming question

2001-08-01 Thread Hal Snyder
Michael VanLoon [EMAIL PROTECTED] writes: Thanks that's just exactly the information I was looking for. :-) I'm slow grunging through the code and man pages that take this apart. As far as UNPv1 I assume you're referring to Stevens' Unix Network Programming? If I'm not mistaken he

Re: crash dump output

2001-08-01 Thread Erik Trulsson
On Wed, Aug 01, 2001 at 12:31:12PM +0400, Eugene L. Vorokov wrote: you just call config with '-g' option. and compile the kernel in normal way. The freebsd handbook discusses this in more detail. Yet another issue, I have run config -g, then make depend, make and make install.debug. But

crash report

2001-08-01 Thread Eugene L. Vorokov
Hello, here's my crash dump, something related to mbufs. If more information is needed, tell me what to do, I'll provide it. This usually happens (but not always) when someone is downloading something huge from ftp server on this machine. Regards, Eugene vel@bugz:/home/vel # uname -r

Re: FreeBSD 4.3 and windows 98 don't play well together

2001-08-01 Thread Carlo Dapor
My laptop, a Toshiba Tecra 8100 with a 12 GB, evenly divided in two partitions runs with none of the problems described. I run Windows 98 on the first partition (dev/ad0s) and FreeBSD on the second (dev/ad0s2*). Could it be a version problem ? XFree 4.0.1 and FreeBSD 5.0 (current) is what I

Allocate a page at interrupt time

2001-08-01 Thread Zhihui Zhang
FreeBSD can not allocate from the PQ_CACHE queue in an interrupt context. Can anyone explain it to me why this is the case? Thanks, -Zhihui To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: address resolution question

2001-08-01 Thread Weiguang SHI
... According to my calculation, pte=0xbfcc0001 and *pte will yield 0x2FF,0xC0,0x1 as indexes to the page directory table, page table and an offset. My page directory table is like this (starting at physical address 0x2C2000): indexpage_table_base_address; prot

Re: Accessing /dev/klog and similar

2001-08-01 Thread Peter Pentchev
On Mon, Jul 30, 2001 at 02:35:21PM -0700, Kris Kennaway wrote: On Mon, Jul 30, 2001 at 11:50:18AM -0700, Hans Zaunere wrote: Hello, I'm looking to access kernel messages directly from the kernel, and not through syslog if I can help it. Look at how syslogd does it. Or rather, do not

Re: crash dump output

2001-08-01 Thread Julian Elischer
no, as long as your swap device is big enough to hold all of RAM it will work.. you are supposed to use your normal swap device. it reads it off and saves it elsewhere as teh first thing it does after booting, before you've had a chance to start swapping.. On Wed, 1 Aug 2001, Eugene L. Vorokov

Re: FreeBSD 4.3 and windows 98 don't play well together

2001-08-01 Thread Mike Smith
I was wondering whether someone could shed some light on this for me: I've i nstalled FreeBSD 4.3, Debian Linux 2.2r2 and windows 98 on my laptop. Everyt hing is fine except that after using FreeBSD if I try to go into windows, the system locks up. If I turn the power off and back on

Re: Accessing /dev/klog and similar

2001-08-01 Thread Dima Dorfman
Peter Pentchev [EMAIL PROTECTED] writes: Or rather, do not try this while syslogd is running. src/sys/kern/subr_log.c defines the operation of the /dev/klog device, and there is an upper limit on the number of processes that can simultaneously open the log device - the limit is one. That

Re: Finding filesizes in C++ for files greater than 4gb

2001-08-01 Thread Joseph Gleason
- Original Message - From: Alex Zepeda [EMAIL PROTECTED] To: Joseph Gleason [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, August 01, 2001 21:45 Subject: Re: Finding filesizes in C++ for files greater than 4gb On Wed, Aug 01, 2001 at 09:34:43PM -0400, Joseph Gleason wrote:

somebody implement ppp nat punch-fw ?

2001-08-01 Thread Dennis Berger
Hi, A function available from libalias, the PKT_ALIAS_PUNCH_FW one is currently not implemented in ppp. Maybe somebody could implement it in ppp. It's definitly not muchwork, so I request if somebody could do it. greets Dennis

Re: Finding filesizes in C++ for files greater than 4gb

2001-08-01 Thread David Scheidt
On Wed, 1 Aug 2001, Joseph Gleason wrote: : :- Original Message - :From: Alex Zepeda [EMAIL PROTECTED] : On Wed, Aug 01, 2001 at 09:34:43PM -0400, Joseph Gleason wrote: : : In FreeBSD, how can I determine the size of a file in C++ when the file :is : greater than 4gb? : : Currently,

Re: Finding filesizes in C++ for files greater than 4gb

2001-08-01 Thread Joseph Gleason
:Alright, I made a mistake. But I did read the man page. Where does it say :off_t is 64bits? : :My mistake was not digging through the include files enough to see what was :going on. : The types(5) manpage will tell you this. Ahh, thank you. I was not aware that existed. To

Re: Finding filesizes in C++ for files greater than 4gb

2001-08-01 Thread Jim Bryant
Joseph Gleason wrote: - Original Message - From: Alex Zepeda [EMAIL PROTECTED] To: Joseph Gleason [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, August 01, 2001 21:45 Subject: Re: Finding filesizes in C++ for files greater than 4gb On Wed, Aug 01, 2001 at 09:34:43PM

Re: Finding filesizes in C++ for files greater than 4gb

2001-08-01 Thread Kent Stewart
Jim Bryant wrote: Joseph Gleason wrote: - Original Message - From: Alex Zepeda [EMAIL PROTECTED] To: Joseph Gleason [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, August 01, 2001 21:45 Subject: Re: Finding filesizes in C++ for files greater than 4gb On Wed,

Re: connecting a FujiFinePix1400 (USB) ?

2001-08-01 Thread Bill Fumerola
On Wed, Aug 01, 2001 at 05:18:40PM +, Paul Halliday wrote: heh.. freebsd usb sucks. I have a handspring and a fujifilm finepix40i that are just sitting here collecting dust. From 3.4 - 4.3 S I have tried every available means, packages, patches to get either of them working with

Re: Finding filesizes in C++ for files greater than 4gb

2001-08-01 Thread Jim Bryant
Kent Stewart wrote: Jim Bryant wrote: Joseph Gleason wrote: - Original Message - From: Alex Zepeda [EMAIL PROTECTED] To: Joseph Gleason [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, August 01, 2001 21:45 Subject: Re: Finding filesizes in C++ for files

Re: Finding filesizes in C++ for files greater than 4gb

2001-08-01 Thread Alex Zepeda
On Wed, Aug 01, 2001 at 10:31:22PM -0400, Joseph Gleason wrote: Alright, I made a mistake. But I did read the man page. Where does it say off_t is 64bits? My mistake was not digging through the include files enough to see what was going on. off_t st_size; /*

Re: How to visit physical memory above 4G?

2001-08-01 Thread Kris Kennaway
On Thu, Aug 02, 2001 at 08:53:38AM +0800, craig wrote: I know PIII can support 64G physical memory. In FreeBSD how can I visit such range memory(4G-64G) ? You can't, right now. Kris PGP signature

Re: Finding filesizes in C++ for files greater than 4gb

2001-08-01 Thread Terry Lambert
Joseph Gleason wrote: In FreeBSD, how can I determine the size of a file in C++ when the file is greater than 4gb? Currently, I use stat() and use st_size. That is limited to 4gb (32bit unsigned int) Uh, st_size is an off_t, which is a signed 64 bit value, not an unsigned 32 bit vale...

Re: How to visit physical memory above 4G?

2001-08-01 Thread Terry Lambert
craig wrote: I know PIII can support 64G physical memory. In FreeBSD how can I visit such range memory(4G-64G) ? The short answer is you can't. The longer answer is that you end up having to window it using segmentation; if you are familiar with the 4k window on video memory in the TI