Re: 5.2 STABLE?

2003-11-26 Thread Sergey A. Osokin
On Wed, Nov 26, 2003 at 08:19:59AM -0600, Thomas T. Veldhouse wrote:
> Will 5.2-RELEASE mark the beginning of the new STABLE branch?  If not, do we
> know approximately when this branch is planned?

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/5-roadmap/schedule.html

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.2-RELEASE TODO

2003-10-29 Thread Sergey A. Osokin
On Wed, Oct 29, 2003 at 10:00:22AM -0500, Robert Watson wrote:
> This is an automated bi-weekly mailing of the FreeBSD 5.2 open issues list.
> The live version of this list is available at:
>
> Desired features for 5.2-RELEASE
> 
>  ++
>  |   Issue|  Status   |  Responsible   | Description  |
>  |+---++--|
>  ||   || The PCM autdio   |
>  ||   || framework and device |
>  ||   || drivers have been|
>  ||   || locked and free of   |
>  ||   || Giant for quite a|
>  | PCM locking and|   || while, but LOR   |
>  | performance issues | --| -- | problems persist |
>  ||   || along with reports   |
>  ||   || of poor audio|
>  ||   || performance under|
>  ||   || load. The locking|
>  ||   || needs to be reviewed |
>  ||   || and corrected.   |
>  |+---++--|

I just want to notify that Mathew Kanner  sends
some sound LOR patches into the -current maillist.

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


fresh -current trap

2003-10-24 Thread Sergey A. Osokin
Hello,

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x60
fault core  = supervisor read, page not present
instruction pointer = 0x8:0xc04d6d42
stack pointer   = 0x10:0xde5b7624
frame pointer   = 0x10:0xde5b764c
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 87 (sysctl)
kernel: trap 12 trap, code=0
Stopped at  _mtx_lock_sleep+0x1b2:  movl0x68(%ecx),%edx
db> where
_mtx_lock_sleep(c2978c18,0,c07a85f4,e5,c12bfa80) at _mtx_lock_sleep+0x1b2
_mtx_lock_flags(c2978c18,0,c07a85f4,e5,0) at _mtx_lock_flags+0x40
radeon_bufs_info(c2973920,c2978c00,0,de5b7bf8,de5b7bf8) at radeon_bufs_info+0x6f
sysctl_root(0,de5b7c98,4,de5b7bf8,c29b85f0) at sysctl_root+0x14b
useland_sysctl(c29b85f0,de5b7c98,4,0,bfbff40c) at useland_sysctl+0x14d
__sysctl(c29b85f0,de5b7d10,18,c0509436,6) at __sysctl+0xd4
syscall(2f,2f,2f,0,bfbff40c) at syscall+0x310
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (202, FreeBSD ELF32, __sysctl), eip = 0x280bed2f, esp = 0xbfbff38c, ebp = 
0xbfbff3b8 ---

Any idea?

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NVidia Port Problems with kernel

2003-09-03 Thread Sergey A. Osokin
On Wed, Sep 03, 2003 at 09:17:21PM +0200, Pau Rodriguez wrote:
> I'm a FreeBSD 5.1-CURRENT user and I use NVidia card.
> While I'm building 'ports/x11/nvidia-driver' make return errors
> 
> > cd /usr/ports/x11/nvidia-driver;make
> 
> #ERRORS
> /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_sysctl.c:234:
>  error: `PCIR_HEADERTYPE' undeclared (first use in this function)
> /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_sysctl.c:234:
>  error: (Each undeclared identifier is reported only once
> /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_sysctl.c:234:
>  error: for each function it appears in.)
> *** Error code 1

Its well-known problem, Alexey Dokuchaev works now for
resolve this and other problems under -CURRENT.
Check arviches for this day for patch or wait for more
complete solution.
Thanks for report.
-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [patch] FreeBSD Port: nvidia-driver-1.0.4365

2003-09-03 Thread Sergey A. Osokin
On Wed, Sep 03, 2003 at 01:01:55PM +0200, Harald Schmalzbauer wrote:
> 
> with today's -current the nvidia port failed to compile.
> With a bit luck I found that there seems to be a misstype in the 
> src/nvidia_sysctl.c. I'm no programmer so I don't know if this has changed 
> recently or if it has always been an error but the old gcc didn't complain (I 
> think the former)
> 
> To make it short: I created patch.aa in files and it works fine with today's 
> -current.
> 
> I don't have any -stable so if it is only an 5.x issue there someone shuld 
> correct the port to make the patch OS-dependent.
> 
> Please commit the patch.

Hmm, where is the patch?
danfe: please review the patch :-)

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \


pgp0.pgp
Description: PGP signature


Re: ALTQ integration

2003-09-02 Thread Sergey A. Osokin
On Tue, Sep 02, 2003 at 03:13:54PM +0600, Boris Kovalenko wrote:
> 
>May somebody tell me the status of ALTQ integration with FreeBSD? I 
> need to know status for 5.x as well for 4.x too. Have read 
> http://www.csl.sony.co.jp/person/kjc/kjc/software.html#ALTQ and 
> misunderstood something. May somebody tell me in details what is the 
> status of ALTQ implementation?

Just look at http://www.nipsi.de/altq/index.html

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PCMCIA trouble with Xircom, "CIS is too long -- truncating"

2003-08-28 Thread Sergey A. Osokin
On Wed, Aug 27, 2003 at 08:26:21PM -0600, M. Warner Losh wrote:
> In message: <[EMAIL PROTECTED]>
>         "Sergey A. Osokin" <[EMAIL PROTECTED]> writes:
> : Please comment this lines and add
> : device  pcic
> : device  card 1
> : 
> : and recompile your kernel. Let me know does it help you.
> 
> This uses oldcard rather than newcard.

Yes, I know. But newcard anyway don't work for me.

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PCMCIA trouble with Xircom, "CIS is too long -- truncating"

2003-08-27 Thread Sergey A. Osokin
On Tue, Aug 26, 2003 at 09:47:11PM +0200, Andreas Klemm wrote:
> 
> good and bad news. Good news is that -current installation
> CD-Rom (JPSNAP of yesterday) doesn't panic during boot
> anymore, which was the case previously (or when inserting
> the card). Thanks a lot, this is a very good progress, I'm
> very pleased !
> 
> But the fix opened another problem. The card isn't recognized
> by the FreeBSD anymore:
> 
> [... kernel boot messages ...]
> 
> Timecounters tick every 10.000 msec
> CIS is too long -- truncating
> pccard0: Card has no functions
> cbb0: PC Card activation failed
> 
> [...]
> 
> When trying to do installation, the NIC isn't found.
> The PCMCIA card is a:
> 
>   Xircom RealPort Ethernet 10/100+Modem 56, REM55G-100.
> 
> Here a dump of the CIS:
> 
> [EMAIL PROTECTED] ~ pccardc dumpcis
[skipped]

> What more infos do you need ?

Yes, please tell more about your kernel config file.
I think you use
device  cbb
device  pccard
device  cardbus

Please comment this lines and add
device  pcic
device  card 1

and recompile your kernel. Let me know does it help you.

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HEADS UP: dynamic root support now in the tree

2003-08-19 Thread Sergey A. Osokin
On Mon, Aug 18, 2003 at 09:05:13AM +0900, Shin-ichi Yoshimoto wrote:
> Subject: Re: HEADS UP: dynamic root support now in the tree,
> On Mon, 18 Aug 2003 04:28:53 +0900, Shin-ichi Yoshimoto wrote:
> > Thanks Gordon. I can save a space :-)
> 
> I found another problem in src/Makefile.inc
> 
> [snip]
> .if ${TARGET_ARCH} == ${MACHINE_ARCH} && !defined(DISTDIR) && \
> (!defined(DESTDIR) || empty(DESTDIR) || ${DESTDIR} == "/")
> @echo "Checking to see if your booted kernel is fresh enough.."
> ${.OBJDIR}/bin/sh/sh -c \
> 'echo "Testing installed kernel for new sigaction(2) 
> syscall"'
> @echo "Seems ok.."
> .endif
> [snip]
> 
> ${.OBJDIR}/bin/sh/sh is dynamically-linked if WITH_DYNAMICROOT is 
> defined. But sh cannot find /libexec/ld-elf.so.1 before instaling 
> /libexec/ld-elf.so.1.
> 
> Is this right ?

Yes, I have the same problem.

Solution:

# mkdir /libexec && cp obj/usr/src/libexec/rtld-elf/ld-elf.so.1 /libexec
then make installworld

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Adaptec AIC7902 Ultra320 Problems

2003-07-22 Thread Sergey A. Osokin
On Tue, Jul 22, 2003 at 01:23:18PM +0100, Lawrence Farr wrote:
> I have a Supermicro SuperServer 6013P-8, with:
> 
> ahd0:  port
> 0x4000-0x40ff,0x4400-0x44ff mem 0xfc30-0xfc301fff irq 5 at device 2.0 on
> pci3
> aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
> ahd1:  port
> 0x4800-0x48ff,0x4c00-0x4cff mem 0xfc302000-0xfc303fff irq 5 at device 2.1 on
> pci3
> aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
> 
> Trying to install 5.1-CURRENT-20030709-JPSNAP or 4.8-STABLE on the
> box gives a timeout error that will hang the disk in a state that
> resetting the machine does not clear, and only power cycling will
> clear. Ive replaced the disks with no change, but installed and
> ran Redhat 7.3 on the box with no timeouts or errors.
> 
> The full dmesg is here:
> http://aticatac.epcdirect.co.uk/~l.farr/6013P8_dmesg.txt
> 
> And timeout is here:
> http://aticatac.epcdirect.co.uk/~l.farr/AIC7902_timeout.txt

Try to switch your adapter from Ultra320 to Ultra160 mode, then
try to install again.

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fixing gcc 3.3 compile failures -- fix for games/battleball

2003-07-18 Thread Sergey A. Osokin
On Fri, Jul 18, 2003 at 06:36:31PM +0200, Simon Barner wrote:
[patches skipped]

Committed with some modifications, thanks!
-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \


pgp0.pgp
Description: PGP signature


Re: Fixing gcc 3.3 compile failures -- fix for audio/cmp3

2003-07-18 Thread Sergey A. Osokin
On Fri, Jul 18, 2003 at 06:23:32PM +0200, Simon Barner wrote:
> [...]
> 
> > If you are running 4.x, you can also help to develop fixes for these
> > ports by installing the gcc33 port and setting
> > 
> >   CC=/usr/local/bin/gcc33
> >   CXX=/usr/local/bin/g++33
> 
> [...]
> 
> Hi, since I have some spare time today, I fixed some of the broken
> ports (I will start with those ports that are maintained by ports@).
> 
> I am running 4.8-STABLE with the g++33 (GCC) 3.3.1 20030707 port.
> I will also check the fixed ports with the base systems gcc.
> 
> For clarity's sake I will one email per fixed port.
> 
> You will find the patches for audio/cmp3 attached to this email.

[patches skipped]

Committed, thanks!

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \


pgp0.pgp
Description: PGP signature


Re: HEADS UP: Atheros 802.11 support

2003-06-28 Thread Sergey A. Osokin
On Sat, Jun 28, 2003 at 04:41:13PM +0200, Maxime Henrion wrote:
> Sergey A. Osokin wrote:
> > On Sat, Jun 28, 2003 at 10:09:13AM -0400, Justin Ma wrote:
> > > This is what I did for a quick fix:
> > > 
> > > In sys/dev/ray/if_ray.c, comment out the line:
> > > 
> > >   #include 
> > > 
> > > and add the lines
> > > 
> > >   #include 
> > >   #include 
> > > 
> > > Just like Sam did with the 'wi' and the 'an' drivers.
> > > sys/net/if_iee80211.h was removed from the tree, I think.
> > > 
> > > On Sat, 28 Jun 2003, Arjan van Leeuwen wrote:
> > > 
> > > > Same here.
> > > >
> > > > On Saturday 28 June 2003 14:21, Sergey A. Osokin wrote:
> > > > > Hmm, looks like make depends failed...
> > > > >
> > > > > ===> ray
> > > > > rm -f .depend
> > > > > mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/dev
> > > > > -I@/. ./include  /usr/src/sys/modules/ray/../../dev/ray/if_ray.c
> > > > > /usr/src/sys/dev/ray/if_ray.c:265:30: net/if_ieee80211.h: No such file or
> > > > > directory
> > > > >
> > > > > mkdep: compile failed
> > > > > *** Error code 1
> > > > >
> > > > > Stop in /usr/src/sys/modules/ray.
> > > > > *** Error code 1
> > > > >
> > > > > Stop in /usr/src/sys/modules.
> > > > > *** Error code 1
> > 
> > Yes, you right. Patch attached.
> > 
[patch skipped]
> 
> Could you commit it please?  I'm pretty sure Sam will be happy to see
> that people didn't wait for him to be online to fix such a trivial
> compile fix.  If you really don't want to do it, I'll commit it myself.

I can't do that, because
1) I'm ports (only) committer
2) At this time I haven't approve for this patch from my mentor

Please commit it, if it possible.
Thanks.
-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \


pgp0.pgp
Description: PGP signature


Re: HEADS UP: Atheros 802.11 support

2003-06-28 Thread Sergey A. Osokin
On Sat, Jun 28, 2003 at 10:09:13AM -0400, Justin Ma wrote:
> This is what I did for a quick fix:
> 
> In sys/dev/ray/if_ray.c, comment out the line:
> 
>   #include 
> 
> and add the lines
> 
>   #include 
>   #include 
> 
> Just like Sam did with the 'wi' and the 'an' drivers.
> sys/net/if_iee80211.h was removed from the tree, I think.
> 
> On Sat, 28 Jun 2003, Arjan van Leeuwen wrote:
> 
> > Same here.
> >
> > On Saturday 28 June 2003 14:21, Sergey A. Osokin wrote:
> > > Hmm, looks like make depends failed...
> > >
> > > ===> ray
> > > rm -f .depend
> > > mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/dev
> > > -I@/. ./include  /usr/src/sys/modules/ray/../../dev/ray/if_ray.c
> > > /usr/src/sys/dev/ray/if_ray.c:265:30: net/if_ieee80211.h: No such file or
> > > directory
> > >
> > > mkdep: compile failed
> > > *** Error code 1
> > >
> > > Stop in /usr/src/sys/modules/ray.
> > > *** Error code 1
> > >
> > > Stop in /usr/src/sys/modules.
> > > *** Error code 1

Yes, you right. Patch attached.

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \
Index: src/sys/dev/ray/if_ray.c
===
RCS file: /home/ncvs/src/sys/dev/ray/if_ray.c,v
retrieving revision 1.64
diff -u -r1.64 if_ray.c
--- src/sys/dev/ray/if_ray.c28 Jun 2003 06:14:57 -  1.64
+++ src/sys/dev/ray/if_ray.c28 Jun 2003 14:07:22 -
@@ -262,8 +262,10 @@
 #include 
 #include 
 #include 
-#include 
 #include 
+
+#include 
+#include 
 
 #include 
 #include "card_if.h"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HEADS UP: Atheros 802.11 support

2003-06-28 Thread Sergey A. Osokin
On Fri, Jun 27, 2003 at 11:40:13PM -0700, Sam Leffler wrote:
> My work to support the Atheros 802.11 hardware is now entirely in the tree 
> and enabled for use.  The ath driver supports all Atheros hardware devices 
> and makes FreeBSD the first open source system to support 802.11a and 
> 802.11g*.  There are still issues with the driver.  man ath(4) for details.

Hmm, looks like make depends failed...

===> ray
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/dev -I@/. 
./include  /usr/src/sys/modules/ray/../../dev/ray/if_ray.c
/usr/src/sys/dev/ray/if_ray.c:265:30: net/if_ieee80211.h: No such file or directory

mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/modules/ray.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Proof of concept patch for device rearrangement

2003-06-19 Thread Sergey A. Osokin
On Wed, Jun 18, 2003 at 11:25:36PM +0200, Poul-Henning Kamp wrote:
> 
> I have uploaded a proof of concept patch:
> 
>   http://phk.freebsd.dk/patch/fd_dev.patch
> 
> 
> WARNING:  It is perfectly possibly that this patch eats your machine
> WARNING:  destroys your disk and makes your corn-flakes soggy.
> WARNING:  RUN AT YOUR OWN RISK!
> 
> 
> This patch basically shortcuts access from userland to devices
> directly from the file descriptor level through DEVFS to the device
> driver.
> 
> So far there are no indications that we will not be moving in this
> direction pretty soon, but it may not be this exact way we do it,
> this is only a proof of concept at this point.
> 
> I have only tested this patch lightly on a disk-less machine, I
> have not tried a lot of advanced stuff with it, and I have already
> noticed that syslogd seems to have an issue with it during startup
> (I just press ctrl-C for now).
> 
> The patch is controlled by the sysctl "debug.phk" which can take
> the values 0 (disabled) or 1 (enabled).
> 
> But the good news is that there is a measurable performance improvement:
> 
>   syv# sysctl debug.phk=0
>   debug.phk: 1 -> 0
>   syv# dd if=/dev/zero of=/dev/null count=10
>   10+0 records in
>   10+0 records out
>   5120 bytes transferred in 4.784862 secs (10700413 bytes/sec)
>   syv# sysctl debug.phk=1
>   debug.phk: 0 -> 1
>   syv# dd if=/dev/zero of=/dev/null count=10
>   10+0 records in
>   10+0 records out
>   5120 bytes transferred in 2.211927 secs (23147238 bytes/sec)
> 
> And with this code enabled, it is possible to go from userland to
> device driver without touching Giant underway.
> 
> Comments and test-results are most welcome!

Hmm...

diff -u -r1.61 file.h
--- sys/file.h  18 Jun 2003 19:53:59 -  1.61
+++ sys/file.h  18 Jun 2003 20:44:48 -
@@ -62,6 +62,7 @@
 #defineDTYPE_FIFO  4   /* fifo (named pipe) */
 #defineDTYPE_KQUEUE5   /* event queue */
 #defineDTYPE_CRYPTO6   /* crypto */
+#defineDTYPE_DEVICE7   /* crypto */
^^
looks like comment wrong, isn't it?

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Unable to build world. multiple symptoms

2003-06-15 Thread Sergey A. Osokin
On Sun, Jun 15, 2003 at 08:11:16AM -0400, Tom Parquette wrote:
> I updated my 5.0-CURRENT sources yesterday (Saturday morning) and ran my 
> buildworld script.
> When the compiles failed, I searched the mailing lists and found someone 
> else having the same problem.
> His solution was to change the -j value (I was running with -j10 on my 
> dual processor AMD). 
> I have tried all the way down to -j1 and the compiles still fail.  I 
> took the -j value out completely and it still fails. 
> Running without the -j value at all got me the error message #error 
> FreeBSD alloca support needed for this compiler from 
> /usr/obj/usr/src/i386/usr/include/sys/cdefs.h:
> 
> I cannot find any response in the archive to either Email.
> 
> I saved tails of some of the failing compiles with various -j values if 
> someone wants to see them.

Please resup and try again.

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: buildworld problem (source cvsup around 10:00pm march 30)

2003-03-31 Thread Sergey A. Osokin
On Mon, Mar 31, 2003 at 01:25:37AM -0800, John Stockdale wrote:
> I'm running FreeBSD 5.0-CURRENT, and just updated my source tree from
> cvsup10.freebsd.org about 3 hours ago. Upon make buildworld, the make
> runs fine for about an hour, then spits out: 
> 
> ===> etc
> ===> etc/sendmail
> make: don't know how to make freebsd.mc. Stop
> *** Error code 2
> 1 error
> 
> Any help/suggestions would be appreciated.

Do you have SENDMAIL_MC in your /etc/make.conf ?

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: file removal impossible?

2003-03-24 Thread Sergey A. Osokin
On Mon, Mar 24, 2003 at 05:51:38PM +0100, Julian St. wrote:
> I just discovered some strange behaviour:
> 
> jmmr# ls -l rcp 
> -r-sr-xr-x  1 root  wheel  251444 24 M?r 17:18 rcp
> jmmr# rm -f rcp 
> rm: rcp: Operation not permitted
> jmmr# chmod u+w rcp
> chmod: rcp: Operation not permitted
> 
> Ok, I had some crashes which gave background fsck some work, but this
> problem still remains after doing normal fsck from single-user mode
> which found nothing wrong on this ufs2 partition.
> 
> So, how can I delete this file? (Actually there are 20 or so all
> scattered over the live_cd directories)

Its not a bug, its a feature (c) ...
Just look at chflags(1).

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


Re: freebsd 5.0 on hp netserver lf

2003-03-21 Thread Sergey A. Osokin
On Fri, Mar 21, 2003 at 06:15:01PM -0500, Brian J. Kirk wrote:
> set hw.eisa_slots=12 works, it recognizes the controller and drives, then panics.  I 
> think I'll settle for 4.7 on here fow now.

Try disable ACPI with 
 unset acpi_load
at boot prompt. Maybe its help you.

> On Fri, Mar 21, 2003 at 06:00:29PM -0500, Matthew Emmerton wrote:
> > 
> > > I posted a question earlier on freebsd-questions concerning this, and have
> > since discovered a bit more.  Sorry about the cross posting.
> > >
> > > I'm trying to get 5.0 running on an old hp netserver lf.  quoting some
> > random website:
> > > "How come FreeBSD does not detect my HP Netserver's SCSI controller? This
> > is basically a known problem. The EISA on-board SCSI controller in the HP
> > Netserver machines occupies EISA slot number 11, so all the "true" EISA
> > slots are in front of it. Alas, the address space for EISA slots >= 10
> > collides with the address space assigned to PCI, and FreeBSD's
> > auto-configuration currently cannot handle this situation very well.
> > >
> > > So now, the best you can do is to pretend there is no address range clash
> > :), by bumping the kernel option EISA_SLOTS to a value of 12...
> > >
> > > Of course, this does present you with a chicken-and-egg problem when
> > installing on such a machine. In order to work around this problem, a
> > special hack is available inside UserConfig. Do not use the "visual"
> > interface, but
> > > +the plain command-line interface there. Simply type
> > > eisa 12 quit
> > > at the prompt, and install your system as usual. While it is recommended
> > you compile and install a custom kernel anyway."
> > >
> > > The above quoted instructions worked fine when booting with 4.7 floppies,
> > but 5.0 seems to lack the option to boot into UserConfig with a "boot -c"
> > command.  Looking at the device.hints options, which seem to be replacing
> > the UserConfig command, I don't see anything listed for eisa slots.  With
> > 5.0's boot loader, I've used
> > > set EISA_SLOTS=12
> > > set EISA=12
> > > but the dmesg and installer still don't list the scsi controller, and
> > hence no drives.
> > >
> > > Interestingly, an "lsdev" at the boot prompt correctly lists the floppy
> > and two drives, including the partition information.
> > >
> > 
> > Try using hw.eisa_slots = 12.

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


Re: Apache Portable Runtime testcase hangs -current

2003-03-21 Thread Sergey A. Osokin
On Fri, Mar 21, 2003 at 06:00:35PM -0500, Craig Rodrigues wrote:
> 
> I am using a system which I cvsup'd a few weeks ago:
> 
> FreeBSD 5.0-CURRENT FreeBSD 5.0-CURRENT #18: Mon Feb 24 06:06:47 EST 2003 [EMAIL 
> PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL1  i386
> 
> 
> I tried to compile the latest beta version of the Apache Portable Runtime
> library.  As part of the configure process, the attached testcase
> is run.  When the testcase runs, my machine locks up *HARD*.
> 
> - keyboard is totally unresponsive
> - network connectivity to machine is lost and I cannot telnet or ssh into
>   the box
> 
> Does anyone have any idea what the problem could be?
> 
> How stable is -current to work with if I cvsup and rebuild?

-CURRENT still isn't for production, but more bugs fixed and now 
it more stable, then one month ago.
Please update your system and try to reproduce your bug.

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


Re: libm problem

2003-03-18 Thread Sergey A. Osokin
On Tue, Mar 18, 2003 at 06:30:51PM +0100, Till Riedel wrote:
> Hi,
> since installed a new world this weekend strange things happen to me:
> 
> [EMAIL PROTECTED] $ cat test.c
> #include "math.h"
> 
> int main()
> {
>   int base=8;
>   int dim=2;
>   float res;
>   res=pow((float)base,(float)dim);
>   printf("%f\n",res);
>   return 0;
> }
> [EMAIL PROTECTED] $ gcc -lm test.c
> [EMAIL PROTECTED] $ ./a.out
> 1.00
> 
> what happened to my libm???
> on my 4.8 box the result is 64 by the way :-)
> CPU: Pentium 4 (2411.60-MHz 686-class CPU)
> Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
> any suggestions?

Here is a patch for your program :-)

--- test.c.orig Tue Mar 18 20:36:03 2003
+++ test.c  Tue Mar 18 20:36:08 2003
@@ -1,6 +1,7 @@
-#include "math.h"
+#include 
+#include 
 
-int main()
+int main(void)
 {
   int base=8;
   int dim=2;
-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


crashdump when compile java/jdk14

2003-03-17 Thread Sergey A. Osokin
Hello,
$ gdb -k /sys/i386/compile/HP6100/kernel.debug /usr/crash/vmcore.0 
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd"...
panic: bremfree: removing a buffer not on a queue
panic messages:
---
panic: softdep_disk_io_initiation: read

syncing disks, buffers remaining... panic: bremfree: removing a buffer not on a 
queue
Uptime: 3h24m39s
Dumping 255 MB
ata0: resetting devices ..
ata0: pre reset mask=03 ostat0=50 ostat2=00
ata0-slave: ATAPI 00 00
ad0: ATAPI 00 00
ata0: after reset mask=03 stat0=50 stat1=00
ad0: ATA 01 a5
ata0: devices=01
ad0: success setting BIOSPIO on Intel ICH3 chip
done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
---
#0  doadump () at ../../../kern/kern_shutdown.c:239
239 dumping++;
(kgdb) bt
#0  doadump () at ../../../kern/kern_shutdown.c:239
#1  0xc01d897d in boot (howto=260) at ../../../kern/kern_shutdown.c:371
#2  0xc01d8c83 in panic () at ../../../kern/kern_shutdown.c:542
#3  0xc021cec0 in bremfreel (bp=0xc77afc60) at ../../../kern/vfs_bio.c:637
#4  0xc021cdd2 in bremfree (bp=0x0) at ../../../kern/vfs_bio.c:619
#5  0xc021ee4c in vfs_bio_awrite (bp=0x0) at ../../../kern/vfs_bio.c:1688
#6  0xc02933c2 in ffs_fsync (ap=0xddd019d0) at ../../../ufs/ffs/ffs_vnops.c:255
#7  0xc02924d7 in ffs_sync (mp=0xc26b, waitfor=2, cred=0xc0eb2f00, 
td=0xc0354800) at vnode_if.h:612
#8  0xc02340fb in sync (td=0xc0354800, uap=0x0)
at ../../../kern/vfs_syscalls.c:138
#9  0xc01d849f in boot (howto=256) at ../../../kern/kern_shutdown.c:280
#10 0xc01d8c83 in panic () at ../../../kern/kern_shutdown.c:542
#11 0xc028b71c in softdep_disk_io_initiation (bp=0xc77afc60)
at ../../../ufs/ffs/ffs_softdep.c:3466
#12 0xc0225b7f in cluster_wbuild (vp=0xc3129124, size=16384, start_lbn=5455, 
len=2) at buf.h:422
#13 0xc021ee42 in vfs_bio_awrite (bp=0xc77e9ac8)
at ../../../kern/vfs_bio.c:1682
#14 0xc02933c2 in ffs_fsync (ap=0xddd01c18) at ../../../ufs/ffs/ffs_vnops.c:255
#15 0xc02924d7 in ffs_sync (mp=0xc26b, waitfor=3, cred=0xc0eb2f00, 
td=0xc2695000) at vnode_if.h:612
#16 0xc023389a in sync_fsync (ap=0xddd01cc4) at ../../../kern/vfs_subr.c:3493
---Type  to continue, or q  to quit---
#17 0xc022f9ba in sched_sync () at vnode_if.h:612
#18 0xc01c3523 in fork_exit (callout=0xc022f7e0 , arg=0x0, 
frame=0x0) at ../../../kern/kern_fork.c:875
(kgdb)

Any idea?
-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


Re: MAKEDEV lost in 5.0-CURRENT?

2003-03-12 Thread Sergey A. Osokin
On Wed, Mar 12, 2003 at 04:44:25PM +0100, Hartmann, O. wrote:
> Where are the MAKEDEV and MAKEDEV.local scripts in 5.0-CURRENT?
> I cvsupdate today last time and did a find through /usr/src,
> but I can not find both script ...

MAKEDEV is dead, baby. MAKEDEV is dead (c) paraphrase from "Pulp Fiction"
Long live devfs(8) :-)
Look at http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/48038

Committers still have no time for commit this :-)

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


Re: Problems compiling KDE after mega-commit

2003-03-04 Thread Sergey A. Osokin
On Tue, Mar 04, 2003 at 04:39:46AM -0300, Rossam Souza Silva wrote:
> 
> Yes, I had problems with icewm in CURRENT too, but tried to compile
> it before the mega-commit (version of 3-4 days ago). My workstation
> at work (version of two weeks ago) installed icewm from ports without
> problem.
> 
> I upgraded my ports tree and now I'm running portupgrade -u --all before
> try KDE again. ltmdm (changed from 1.4_3 to 1.4_4) continues broken:
> 
> [EMAIL PROTECTED]:/usr/ports/comms/ltmdm> sudo make clean
> ===>  Cleaning for ltmdm-1.4_4
> [EMAIL PROTECTED]:/usr/ports/comms/ltmdm> sudo make
[skip build log]
> elements in struct initializer
> /usr/ports/comms/ltmdm/work/sys/dev/ltmdm/ltmdmsio.c:389: warning: (near
> initialization for `sio_cdevsw')
> *** Error code 1
> 
> Stop in /usr/ports/comms/ltmdm/work/sys/modules/ltmdm.
> *** Error code 1
> 
> Stop in /usr/ports/comms/ltmdm.

Look at http://www.freebsd.org/cgi/query-pr.cgi?pr=48922

> > On Tue, Mar 04, 2003 at 01:57:46AM -0500, Andre Guibert de Bruet wrote:
> > >
> > > You need to upgrade your ports skeleton. There's a couple of fixes that
> > > were committed within the last 24 hours which fix these issues.
> >
> > Hmm..I've seen this on another port already (icewm, I think).  It
> > looks like phk might have some additional patching to do when I get
> > him the full list.

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


Re: Recent sendmail import

2003-03-04 Thread Sergey A. Osokin
On Tue, Mar 04, 2003 at 12:04:49PM +, Matt wrote:
> This could well be just something I forgot to do or I'm missing something as 
> I built my world last night at about 1am when I was knackered, so I apologise 
> if this isn't an issue.
> 
> After I rebooted I checked the sendmail header by telnetting port 25 to check 
> I had the new version and it had "ESMTP Sendmail 8.12.8/8.12.7" in it. This I 
> thought was odd as I was expecting it to say 8.12.8 on both. I grepped for 
> 8.12 in /etc/mail and freebsd.cf and sendmail.cf had DZ8.12.7 in them. Is 
> this intentional or something not updated properly? I did run mergemaster etc 
> but like I said I was tired and could well have answered something wrong.
> 
> Thought I would mention it in case it was something that was missed!

Try to do following commands: 
# cd /etc/mail
# touch *.mc
# make cf
# make restart

then telnet localhost 25

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


Re: SMBus support...

2003-02-26 Thread Sergey A. Osokin
On Wed, Feb 26, 2003 at 07:33:40AM -0500, Paul A. Howes wrote:
> Sergey,
> 
> Thanks!  Where is this documented?

Looks like its not yet documented.

If it works for you - i can make a patch for NOTES and ichsmb(4).
Please notify me.

> Try to use device ichsmb, maybe its helps you.

This is your message:

> [EMAIL PROTECTED]:31:3:class=0x0c0500 card=0x24c28086 chip=0x24c38086
> rev=0x01 hdr=0x00
> vendor   = 'Intel Corporation'
> device   = '82801DB (ICH4) SMBus Controller'
> class= serial bus
> subclass = SMBus

$ grep -i 0x24c38086 src/sys/dev/ichsmb/*
also look at src/sys/dev/ichsmb/ichsmb_pci.c

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


Re: SMBus support...

2003-02-26 Thread Sergey A. Osokin
On Wed, Feb 26, 2003 at 07:08:22AM -0500, Paul A. Howes wrote:
> My motherboard has SMBus support:
> 
> [EMAIL PROTECTED]:31:3:class=0x0c0500 card=0x24c28086 chip=0x24c38086
> rev=0x01 hdr=0x00
> vendor   = 'Intel Corporation'
> device   = '82801DB (ICH4) SMBus Controller'
> class= serial bus
> subclass = SMBus
> 
> ...but there is no driver.  I didn't see a module in /boot/kernel that
> looked likely, and there isn't a driver listed in
> /usr/src/sys/i386/conf/NOTES for it.  Is there a way to enable SMBus
> support on 5.0-RELEASE?

Try to use device ichsmb, maybe its helps you.

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message


Re: kern/48381: using mv(1) on smbfs crashes 5.0 kernel

2003-02-18 Thread Sergey A. Osokin
On Mon, Feb 17, 2003 at 10:45:32PM +0800, Thomas E. Zander wrote:

I can reproduce it on my system.
FreeBSD 5.0-CURRENT #0: Tue Feb 18 18:43:57 MSK 2003

> >Description:
> On a mounted network-filesystem using mount_smbfs, using of the command
> mv /file/on/the/smbfs /file/on/a/local/fs
> freezes the system for about 10 seconds, then immidiate reboot.
> No kernel panic is shown, no dump, also no chance to backtrace the problem.
> Instead using of cp && rm is flawless.
> >How-To-Repeat:
> Just take a 5.0-R and use mv(1) on a smbfs
> >Fix:
> 
> Since I wasn't able to do a trace or gdb -k after the crash, it is difficult to give 
>an idea of how to fix it.
> Sorry.
> >Release-Note:
> >Audit-Trail:

%gdb -k kernel.debug /usr/crash/vmcore.0
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd"...
panic: bwrite: buffer is not busy???
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xe0
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc027b9f4
stack pointer   = 0x10:0xcdcb5774
frame pointer   = 0x10:0xcdcb57e4
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 616 (mv)
trap number = 12
panic: page fault

syncing disks, buffers remaining... panic: bwrite: buffer is not busy???
Uptime: 2m7s
Dumping 255 MB
ata0: resetting devices ..
ata0: mask=03 ostat0=50 ostat2=00
ad0: ATAPI 00 00
ata0-slave: ATAPI 00 00
ata0: mask=03 stat0=50 stat1=00
ad0: ATA 01 a5
ata0: devices=01
ad0: success setting PIO4 on generic chip
done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
---
#0  doadump () at ../../../kern/kern_shutdown.c:239
239 dumping++;
(kgdb) bt
#0  doadump () at ../../../kern/kern_shutdown.c:239
#1  0xc01dc5d9 in boot (howto=260) at ../../../kern/kern_shutdown.c:371
#2  0xc01dc843 in panic () at ../../../kern/kern_shutdown.c:542
#3  0xc02204d2 in bwrite (bp=0xc7729880) at ../../../kern/vfs_bio.c:842
#4  0xc0221c91 in vfs_bio_awrite (bp=0xc7729880) at ../../../kern/vfs_bio.c:1724
#5  0xc0229627 in vop_stdfsync (ap=0xcdcb556c) at ../../../kern/vfs_default.c:755
#6  0xc01a56e0 in spec_fsync (ap=0xcdcb556c) at ../../../fs/specfs/spec_vnops.c:422
#7  0xc01a4bb8 in spec_vnoperate (ap=0x0) at ../../../fs/specfs/spec_vnops.c:123
#8  0xc0293ee7 in ffs_sync (mp=0xc25ac200, waitfor=2, cred=0xc0eb2f00, td=0xc03563c0)
at vnode_if.h:612
#9  0xc0236e4b in sync (td=0xc03563c0, uap=0x0) at ../../../kern/vfs_syscalls.c:138
#10 0xc01dc1bc in boot (howto=256) at ../../../kern/kern_shutdown.c:280
#11 0xc01dc843 in panic () at ../../../kern/kern_shutdown.c:542
#12 0xc02f1152 in trap_fatal (frame=0xcdcb5734, eva=0) at ../../../i386/i386/trap.c:844
#13 0xc02f0e32 in trap_pfault (frame=0xcdcb5734, usermode=0, eva=224)
at ../../../i386/i386/trap.c:758
#14 0xc02f0920 in trap (frame=
  {tf_fs = -1070596072, tf_es = 327696, tf_ds = 16, tf_edi = 0, tf_esi = 24, 
tf_ebp = -842311708, tf_isp = -842311840, tf_ebx = -934060032, tf_edx = -1029007968, 
tf_ecx = -934059330, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1071138316, 
tf_cs = 8, tf_eflags = 66118, tf_esp = 255, tf_ss = 2765}) at 
../../../i386/i386/trap.c:445
#15 0xc02e0ad8 in calltrap () at {standard input}:96
#16 0xc027a86a in ffs_hashalloc (ip=0xc2aa95a0, cg=-934060032, pref=0, size=32768, 
allocator=0xc027b720 ) at ../../../ufs/ffs/ffs_alloc.c:1154
#17 0xc0279f9e in ffs_valloc (pvp=0xc2aab000, mode=32768, cred=0xc2b9d400, 
vpp=0xcdcb5878)
at ../../../ufs/ffs/ffs_alloc.c:856
#18 0xc02a1f6c in ufs_makeinode (mode=32768, dvp=0xc2aab000, vpp=0xcdcb5be0, 
cnp=0xcdcb5bf4)
at ../../../ufs/ufs/ufs_vnops.c:2356
#19 0xc029ec09 in ufs_create (ap=0xcdcb5a10) at ../../../ufs/ufs/ufs_vnops.c:197
#20 0xc02a24e8 in ufs_vnoperate (ap=0x0) at ../../../ufs/ufs/ufs_vnops.c:2787
#21 0xc023e60f in vn_open_cred (ndp=0xcdcb5bcc, flagp=0xcdcb5ccc, cmode=0, 
cred=0xc2b9d400)
at vnode_if.h:114
#22 0xc023e469 in vn_open (ndp=0x0, flagp=0x0, cmode=0) at ../../../kern/vfs_vnops.c:86
#23 0xc0237c98 in kern_open (td=0xc25a94b0, path=0x0, pathseg=UIO_USERSPACE, 
flags=3586, mode=0)
at ../../../kern/vfs_syscalls.c:663
#24 0xc0237b30 in open (td=0x0, uap=0x0) at ../../../kern/vfs_syscalls.c:628
#25 0xc02f147a in syscall (frame=
  {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077938544, tf_esi = -1077938544, 
tf_ebp = -1077940040, tf_isp = -842310284, tf_ebx = -107794, tf_edx = -1077938704, 
tf_ecx = 0, tf_eax = 5, tf_trapno = 12, tf_err = 2, tf_eip = 1345

Re: 5.0 on IBM T30: X11 failure

2003-02-04 Thread Sergey A. Osokin
On Tue, Feb 04, 2003 at 10:40:09PM +0100, Flag_reda wrote:
> On Tue, Feb 04, 2003 at 11:38:09AM -0800, Steve Kargl wrote:
> > On Tue, Feb 04, 2003 at 10:58:04AM -0800, Lee Damon wrote:
> > > (II) ATI:  Candidate "Device" section "Card0".
> > > (--) Chipset ATI Radeon Mobility LW (AGP) found
> > 
> > There are known problems with the ATI Radeon Mobility
> > driver.  I had to compile X11 from the cvs repository
> > at www.xfree86.org to get my labtop working.  The
> > problem should be fixed when XFree86 4.3 is released.
> 
> I'm using a 5.0, an Inteli815 chipser, XFree 4.2.1 (from ports) and 
> an ATI Radeon Mobility and it works perfectly... no problem!
> 
> Well, actually there's alway that memory corruption problem related to
> agp: if someone want to know some more i can provide information.
> 
> VESA: ATI MOBILITY RADEON
> [skip]
> agp module, causa i don't want to crash the system.
> (agp module => memory corruption => spontaneous crash&reboot at least
> this for my hw).

Tell more about your Radeon, because I use -CURRENT with APM
(not ACPI <- it crash my note at boottime),
ATI Radeon LY Mobility 6 (AGP), XFree86-4.2.1 (from ports)
without of any problems.

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: fxp0 device timeout on 5.0-RELEASE

2003-01-31 Thread Sergey A. Osokin
On Fri, Jan 31, 2003 at 09:32:07AM +0100, Georg-W. Koltermann wrote:
> Am Do, 2003-01-30 um 12.41 schrieb Sergey A. Osokin:
> >
> > 3) Put hw.pci.allow_unsupported_io_range="1" into your
> > /boot/loader.conf.local
> 
> Thanks, that did the trick.
> 
> Could we, maybe, add a little note about this to the release notes or
> errata?  Or better yet, how about a big fat warning message if the
> kernel probes a device at an unsupported address while
> hw.pci.allow_unsupported_io_range==0?

Yes, I send list of questions/answers about this problem to doc@.
Still no answer from. Anyway list avaliable from my home page:
http://ozz.pp.ru/eag.txt

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: fxp0 device timeout on 5.0-RELEASE

2003-01-30 Thread Sergey A. Osokin
On Thu, Jan 30, 2003 at 11:07:06AM +0100, Georg-W. Koltermann wrote:
> Hi,
> 
> on an HP Omnibook 6100 which ran -current about half a year ago
> successfully, I get fxp0 device timeouts after installing 5.0-R.
> 
> The network interface does not work at all.  arp -an says "incomplete"
> for every host that I try to connect.

I have a HP Omnibook 6100 too, use -CURRENT and have some recommends
for you.
1) Do not use ACPI, use APM
Add to /boot/device.hints
hint.acpi.0.disable="1"

2) Do not use NEWCARD, USE OLDCARD
device pcic
device card 1

3) Put hw.pci.allow_unsupported_io_range="1" into your
/boot/loader.conf.local

4) In rc.conf
devd_enable="YES"
pccard_enable="YES"

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: xl thinkpad 600x watchdog timeout

2003-01-27 Thread Sergey A. Osokin
On Mon, Jan 27, 2003 at 10:18:48PM +0100, Toni Schmidbauer wrote:
> hi,
> 
> got no useful response from -mobile so re-posting to -current:
> 
> i am having problems with 5.0-REL on an ibm thinkpad 600x.the xl
> driver for my 3com 3ccfe575ct writes the following message to the
> console "xl0: watchdog timeout".
> 
> after skimming through newsgroups i found out that it has
> something to the with irq mapping. the cardbus controller uses
> irq11. my first try was to disable the usb-controller because it
> uses irq11 too. no luck!
>  
> a boot -v shows me that a hole bunch of pci devices uses irq11...
>  
> the problem is that the network connection is _very_ slow. i
> think its because of the irq conflict. had anyone the same
> problems before?
>  
> i also tried a different card (3com 3cxfe575bt) - same effect.
>  
> removing the card from the pcmcia slot prompts:
> "xl0: command never completed!" and
> "xl0: reset didn't complete"
> 
> find attached:
>   - pciconf -v -l
>   - boot -v with usb
>   - boot -v w/o usb
> 
> thanks for any help

Try to add hw.pci.allow_unsupported_io_range="1" in your
/boot/loader.conf.local and reboot your machine.

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: RC2 very unstable on my box

2002-12-25 Thread Sergey A. Osokin
On Wed, Dec 25, 2002 at 09:46:03AM +0100, Gernot A. Weber wrote:
> I upgraded from DP2 to RC2 two days ago and my machine is running very
> unstable now... It crashes once or twice a day. When I look in
> /var/log/messages it stops working at one point at does a reboot about
> five hours later. I have no idea where I can start looking at this
> problem. The upgrade procedure was the following:
> 
> cvsup of /usr/src
> changing /etc/make.conf, i.e. uncommenting CPUTYPE?=i686 and NOPROFILE=true
> make -j4 buildworld
> make -j4 installworld
> 
> make -j4 buildkernel KERNCONF=`HOMER`
> make -j4 installkernel KERNCONF=`HOMER`
> 
> reboot
> 
> Any ideas? I never changed to single user mode.

First idea is -current is -current.
Second idea is tell, if it possible, more information about your
hardware/kernel-config/dmesg output...

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: no single user mode in installworld

2002-12-23 Thread Sergey A. Osokin
On Mon, Dec 23, 2002 at 09:58:59PM +0100, Gernot A. Weber wrote:
> I forgot to drop into single user mode before doing make installworld. The
> process finished without any obvious errors. Should I do it again in
> single user mode or is it safe and enough to reboot the computer after
> compiling the new kernel?

No.

> It is no machine with hundreds of users. During
> installation I was the only person logged in...

Best way is doing installworld after reboot in single-mode with new
kernel. All other ways is not correct, but sometimes they works.

And don't remember run mergemaster :-)

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: fatal: ssh_msg_send: write

2002-12-16 Thread Sergey A. Osokin
On Mon, Dec 16, 2002 at 02:35:48PM +0200, Alexey Zelkin wrote:
> I not sure in recent commits, but I have same "error" after finishing
> each command which connects to my -CURRENT's sshd (mostly scp).
> My -CURRENT is about month old :-(
> 
> On Sun, Dec 15, 2002 at 11:26:41PM -0600, Christopher Schulte wrote:
> > At 08:31 PM 12/15/2002 -0800, David Yeske wrote:
> > >Anyone else having issues with sshd on current?
> > >
> > >Dec 15 23:23:24 stuff sshd[843]: fatal: ssh_msg_send: write
> > 
> > Yup, on a userland I built today. I see a few sshd commits
> > yesterday, relating to pam.  Probably broke thereabouts... ?

Here is a full log of fresh -current's /usr/sbin/sshd -d -d -d
(I tried to login from 4.7-S to my -current box)
Any idea?

debug1: sshd version OpenSSH_3.5p1 FreeBSD-20021029
debug1: private host key: #0 type 0 RSA1
debug3: Not a RSA1 key file /etc/ssh/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
Generating 768 bit RSA key.
RSA key generation complete.
debug1: Server will not fork when running in debugging mode.
Connection from XXX.XXX.XX.2 port 4828
debug1: Client protocol version 2.0; client software version OpenSSH_3.4p1 
FreeBSD-20020702
debug1: match: OpenSSH_3.4p1 FreeBSD-20020702 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-1.99-OpenSSH_3.5p1 FreeBSD-20021029
debug3: privsep user:group 22:22
debug2: Network child is on pid 601
debug1: permanently_set_uid: 22/22
debug3: preauth child monitor started
debug1: list_hostkey_types: ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug3: mm_request_receive entering
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: 
diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-dss
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED]
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED]
debug2: kex_parse_kexinit: 
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: 
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: kex_parse_kexinit: 
diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-dss,ssh-rsa
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED]
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,[EMAIL PROTECTED]
debug2: kex_parse_kexinit: 
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: 
hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL PROTECTED],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none
debug2: kex_parse_kexinit: none
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: mac_init: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST received
debug3: mm_request_send entering: type 0
debug3: monitor_read: checking request 0
debug3: mm_choose_dh: waiting for MONITOR_ANS_MODULI
debug3: mm_answer_moduli: got parameters: 1024 2048 8192
debug3: mm_request_receive_expect entering: type 1
debug3: mm_request_receive entering
debug3: mm_request_send entering: type 1
debug3: mm_choose_dh: remaining 0
debug2: monitor_read: 0 used once, disabling now
debug3: mm_request_receive entering
debug1: SSH2_MSG_KEX_DH_GEX_GROUP sent
debug1: dh_gen_key: priv key bits set: 118/256
debug1: bits set: 1629/3191
debug1: expecting SSH2_MSG_KEX_DH_GEX_INIT
debug1: bits set: 1606/3191
debug3: mm_key_sign entering
debug3: mm_request_send entering: type 4
debug3: monitor_read: checking request 4
debug3: mm_key_sign: waiting for MONITOR_ANS_SIGN
debug3: mm_answer_sign
debug3: mm_request_receive_expect entering: type 5
debug3: mm_answer_sign: signature 0x80762c0(55)
debug3: mm_request_receive entering
debug3: mm_request_send entering: type 5
debug1: SSH2_MSG_KEX_DH_GEX_REPLY sent
debug2: monitor_read: 4 used once, disabling now
debug1: kex_derive_keys
debug3: mm_request_receive entering
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: KEX done
debug3: Trying to reverse map address XXX.XXX.XX.2.
debug1: userauth-request for user XXX service ssh-connection method none
debug1: a

Re: cvsup weird problem

2002-12-06 Thread Sergey A. Osokin
On Thu, Dec 05, 2002 at 05:22:50PM +0200, Giorgos Keramidas wrote:
> On 2002-12-05 21:33, leafy <[EMAIL PROTECTED]> wrote:
> > On Thu, Dec 05, 2002 at 04:32:01PM +0300, Sergey A. Osokin wrote:
> > > >  Delete src/contrib/gcc/INSTALL
> > > > Cannot delete "/usr/src/contrib/gcc/INSTALL": Directory not empty
> > > >
> > > > It's weird...
> 
> Remove your src/contrib/gcc/INSTALL directory and try cvsup'ing again.
> The files in that directory were imported yesterday, and I think that
> David O'Brien didn't mean to import them at all:

[skip]

OK. I remove src/contrib/gcc/INSTALL, then resup:
...
Updating collection src-all/cvs
 Checkout src/contrib/gcc/INSTALL/README
 Checkout src/contrib/gcc/INSTALL/binaries.html
 Checkout src/contrib/gcc/INSTALL/build.html
 Checkout src/contrib/gcc/INSTALL/configure.html
 Checkout src/contrib/gcc/INSTALL/download.html
 Checkout src/contrib/gcc/INSTALL/finalinstall.html
 Checkout src/contrib/gcc/INSTALL/gfdl.html
 Checkout src/contrib/gcc/INSTALL/index.html
 Checkout src/contrib/gcc/INSTALL/old.html
 Checkout src/contrib/gcc/INSTALL/specific.html
 Checkout src/contrib/gcc/INSTALL/test.html
...

and then resup again:

...
Establishing multiplexed-mode data connection
Running
Updating collection src-all/cvs
 Delete src/contrib/gcc/INSTALL
Cannot delete "/usr/src/contrib/gcc/INSTALL": Directory not empty
Shutting down connection to server

Any other idea? :-)

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: cvsup weird problem

2002-12-05 Thread Sergey A. Osokin
On Thu, Dec 05, 2002 at 09:33:45PM +0800, leafy wrote:
> On Thu, Dec 05, 2002 at 04:32:01PM +0300, Sergey A. Osokin wrote:
> > >  Delete src/contrib/gcc/INSTALL
> > > Cannot delete "/usr/src/contrib/gcc/INSTALL": Directory not empty
> > > 
> > > It's weird...
> > 
> > Looks like a strange, yesterday i'm successfuly cvsuped my 5.0 box
> > (in vmware under 4.7-S).
> > -rw-r--r--   1 root  wheel  89161 Dec  4 18:10 specific.html
> > -rw-r--r--   1 root  wheel   6471 Dec  4 18:10 test.html
> > 
> > Today i rebuild my 5.0 box and now install new version.
> > -- 
> > 
> > Rgdz,/"\  ASCII RIBBON CAMPAIGN
> > Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
> Actually I have the INSTALL dir and the corresponding files, just that cvsup
> insisted on deleting it, which I don't know why

Oops... Here is a new resup:

Updating collection src-all/cvs
 Edit src/bin/sh/bltin/echo.1
  Add delta 1.11 2002.12.05.08.49.59 ru
 Delete src/contrib/gcc/INSTALL
Cannot delete "/usr/src/contrib/gcc/INSTALL": Directory not empty
 Edit src/lib/libc/gen/uname.3

Looks like really something wrong with CVS...

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: cvsup weird problem

2002-12-05 Thread Sergey A. Osokin
On Thu, Dec 05, 2002 at 09:21:09PM +0800, leafy wrote:
> On Thu, Dec 05, 2002 at 11:25:14AM +0800, JY wrote:
> > I did as you suggested and it's still complaining :(
> > 
> > JY
> I was cvsupping from cvsup2.freebsd.org. At first it complains about
> gcc/INSTALL not being empty, so I manually deleted everything under it, but
> not the dir itself.
> 
> Then I cvsupped:
> Connected to cvsup2.FreeBSD.org
> Updating collection src-all/cvs
>  Checkout src/contrib/gcc/INSTALL/README
>  Checkout src/contrib/gcc/INSTALL/binaries.html
>  Checkout src/contrib/gcc/INSTALL/build.html
>  Checkout src/contrib/gcc/INSTALL/configure.html
>  Checkout src/contrib/gcc/INSTALL/download.html
>  Checkout src/contrib/gcc/INSTALL/finalinstall.html
>  Checkout src/contrib/gcc/INSTALL/gfdl.html
>  Checkout src/contrib/gcc/INSTALL/index.html
>  Checkout src/contrib/gcc/INSTALL/old.html
>  Checkout src/contrib/gcc/INSTALL/specific.html
>  Checkout src/contrib/gcc/INSTALL/test.html
>  Delete src/contrib/gcc/INSTALL
> Cannot delete "/usr/src/contrib/gcc/INSTALL": Directory not empty
> 
> It's weird...

Looks like a strange, yesterday i'm successfuly cvsuped my 5.0 box
(in vmware under 4.7-S).
$ ls -la /usr/src/contrib/gcc/INSTALL/
total 207
drwxr-xr-x   2 root  wheel512 Dec  5 12:21 .
drwxr-xr-x  11 root  wheel   8704 Dec  5 12:21 ..
-rw-r--r--   1 root  wheel261 Dec  4 18:10 README
-rw-r--r--   1 root  wheel   2595 Dec  4 18:10 binaries.html
-rw-r--r--   1 root  wheel  10045 Dec  4 18:10 build.html
-rw-r--r--   1 root  wheel  29868 Dec  4 18:10 configure.html
-rw-r--r--   1 root  wheel   2061 Dec  4 18:10 download.html
-rw-r--r--   1 root  wheel   4428 Dec  4 18:10 finalinstall.html
-rw-r--r--   1 root  wheel  19099 Dec  4 18:10 gfdl.html
-rw-r--r--   1 root  wheel   3106 Dec  4 18:10 index.html
-rw-r--r--   1 root  wheel  27080 Dec  4 18:10 old.html
-rw-r--r--   1 root  wheel  89161 Dec  4 18:10 specific.html
-rw-r--r--   1 root  wheel   6471 Dec  4 18:10 test.html

Today i rebuild my 5.0 box and now install new version.
-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: 2 patches for src/share/misc/bsd-family-tree

2002-10-10 Thread Sergey A. Osokin

On Thu, Oct 10, 2002 at 12:16:07PM -0400, John Baldwin wrote:
> 
> On 10-Oct-2002 Sergey A. Osokin wrote:
> > On Thu, Oct 10, 2002 at 11:26:36AM -0400, John Baldwin wrote:
> >> On 10-Oct-2002 Sergey A. Osokin wrote:
> >> > On Thu, Oct 10, 2002 at 10:49:58AM -0400, John Baldwin wrote:
> >> >> On 10-Oct-2002 Sergey A. Osokin wrote:
> >> >> > On Thu, Oct 10, 2002 at 03:57:37PM +0400, Sergey A. Osokin wrote:
> >> >> >> On Thu, Oct 10, 2002 at 03:26:21PM +0400, Sergey A. Osokin wrote:
> >> >> >> 
> >> >> >> A little bug: release date of MacOSX 10.2 is 2002-08-23
> >> >> >> http://www.apple.com/pr/library/2002/aug/23jaguar.html
> >> >> > 
> >> >> > Here is a latest version of patch:
> >> >> > http://ozz.pp.ru/patches/patch-bsd-family-tree
> >> >> > 
> >> >> > In addition of previous 2 patches is:
> >> >> > 1) use tabs vs. spaces near NetBSD 1.5.3
> >> >> > 2) fix "Unix history" URL
> >> >> > 3) fix Mac OS X 10.1 release date
> >> >> > (from http://www.apple.com/pr/library/2001/sep/25osxserver.html)
> >> >> 
> >> >> Hmm, another PR on the same day says that OS X 10.1 was released on
> >> >> September 29, but that OS X Server 10.1 was released on September
> >> >> 25.  Also, the UNIX History page uses September 29.  However, it treats
> >> >> OS X and OS X Server as different operating systems and it also uses
> >> >> Sept 29 for both OS's.
> >> > 
> >> > But I find one more annonce about release date of Mac OS X 10.1:
> >> > http://www.apple.com/pr/library/2001/sep/25osx_available.html
> >> > 
> >> > Quotation:
> >> > "SEYBOLD SF 2001, SAN FRANCISCO, Californiar-September 25, 2001-Apple(c)
> >> >  today announced that Mac(c) OS X version 10.1..."
> >> 
> >> Read the whole thing, it says it will be available in stores that Saturday,
> >> Sept 29. :)
> > 
> >:-)
> > OK, following this way: FreeBSD 4.7 still not avaliable
> > at stores, but bsd-family-tree say that it already avaliable :-)
> > Does it correct?
> 
> The FreeBSD Project releases FreeBSD via FTP.  The official release
> date for FreeBSD is thus when the announcement goes out on -announce
> and the bits show up on ftp.FreeBSD.org.  Other companies sell FreeBSD
> CD's and are not related to the Project.  OS X, on the other hand, is
> a commercial product sold by a company.  The official release date for
> commercial products is when it is released to customers via stores,
> etc.  Even FreeBSD works in that model when you realize that FreeBSD
> releases releases to customers when it puts them up on the FTP site.

OK. I understand your position. What do your think about following
patch?
1) (real) sort "Time" section by alphabet
2) use 's vs. 's near NetBSD 1.5.3
3) change Mac OS X 10.1 release date to 2001-09-2x :-)

Thanks.

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \


Index: src/share/misc/bsd-family-tree
===
RCS file: /home/ncvs/src/share/misc/bsd-family-tree,v
retrieving revision 1.66
diff -u -r1.66 bsd-family-tree
--- src/share/misc/bsd-family-tree  2002/10/10 14:47:03 1.66
+++ src/share/misc/bsd-family-tree  2002/10/10 16:18:59
@@ -179,11 +179,11 @@
 [FBD] FreeBSD Project, The.
 [KB]  Keith Bostic. BSD2.10 available from Usenix. comp.unix.sources,
Volume 11, Info 4, April, 1987.
+[KKK] Mike Karels, Kirk McKusick, and Keith Bostic. tahoe announcement.
+   comp.bugs.4bsd.ucb-fixes, June 15, 1988.
 [KSJ] Michael J. Karels, Carl F. Smith, and William F. Jolitz.
Changes in the Kernel in 2.9BSD. Second Berkeley Software
Distribution UNIX Version 2.9, July, 1983.
-[KKK] Mike Karels, Kirk McKusick, and Keith Bostic. tahoe announcement.
-   comp.bugs.4bsd.ucb-fixes, June 15, 1988.
 [NBD] NetBSD Project, The.
 [OBD] OpenBSD Project, The.
 [QCU] Salus, Peter H. A quarter century of UNIX.
@@ -354,13 +354,13 @@
 NetBSD 1.5.1   2001-07-11 [NBD] (patch release)
 NetBSD 1.5.2   2001-09-13 [NBD] (patch release)
 FreeBSD 4.42001-09-18 [FBD]
-Mac OS X 10.1  2001-09-xx [APL]
+Mac OS X 10.1  2001-09-2x [APL]
 OpenBSD 3.02001-12-01 [OBD]
 FreeBSD 4.52002-01-29 [FBD]
 BSD/OS 4.3 2002-03-14 [WRS]
 OpenBSD 3.12002-05-19 [OBD]
 FreeBSD 4.62002-06-15 [FBD]
-NetBSD 1.5.32002-07-22 [NBD] (patch release)
+NetBSD 1.5.3   2002-07-22 [NBD] (patch release)
 FreeBSD 4.6.2  2002-08-15 [FBD] (patch release)
 Mac OS X 10.2  2002-08-23 [APL]
 NetBSD 1.6 2002-09-14 [NBD]



Re: 2 patches for src/share/misc/bsd-family-tree

2002-10-10 Thread Sergey A. Osokin

On Thu, Oct 10, 2002 at 11:26:36AM -0400, John Baldwin wrote:
> On 10-Oct-2002 Sergey A. Osokin wrote:
> > On Thu, Oct 10, 2002 at 10:49:58AM -0400, John Baldwin wrote:
> >> On 10-Oct-2002 Sergey A. Osokin wrote:
> >> > On Thu, Oct 10, 2002 at 03:57:37PM +0400, Sergey A. Osokin wrote:
> >> >> On Thu, Oct 10, 2002 at 03:26:21PM +0400, Sergey A. Osokin wrote:
> >> >> 
> >> >> A little bug: release date of MacOSX 10.2 is 2002-08-23
> >> >> http://www.apple.com/pr/library/2002/aug/23jaguar.html
> >> > 
> >> > Here is a latest version of patch:
> >> > http://ozz.pp.ru/patches/patch-bsd-family-tree
> >> > 
> >> > In addition of previous 2 patches is:
> >> > 1) use tabs vs. spaces near NetBSD 1.5.3
> >> > 2) fix "Unix history" URL
> >> > 3) fix Mac OS X 10.1 release date
> >> > (from http://www.apple.com/pr/library/2001/sep/25osxserver.html)
> >> 
> >> Hmm, another PR on the same day says that OS X 10.1 was released on
> >> September 29, but that OS X Server 10.1 was released on September
> >> 25.  Also, the UNIX History page uses September 29.  However, it treats
> >> OS X and OS X Server as different operating systems and it also uses
> >> Sept 29 for both OS's.
> > 
> > But I find one more annonce about release date of Mac OS X 10.1:
> > http://www.apple.com/pr/library/2001/sep/25osx_available.html
> > 
> > Quotation:
> > "SEYBOLD SF 2001, SAN FRANCISCO, Californiar-September 25, 2001-Apple(c)
> >  today announced that Mac(c) OS X version 10.1..."
> 
> Read the whole thing, it says it will be available in stores that Saturday,
> Sept 29. :)

:-)
OK, following this way: FreeBSD 4.7 still not avaliable
at stores, but bsd-family-tree say that it already avaliable :-)
Does it correct?

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: 2 patches for src/share/misc/bsd-family-tree

2002-10-10 Thread Sergey A. Osokin

On Thu, Oct 10, 2002 at 10:49:58AM -0400, John Baldwin wrote:
> On 10-Oct-2002 Sergey A. Osokin wrote:
> > On Thu, Oct 10, 2002 at 03:57:37PM +0400, Sergey A. Osokin wrote:
> >> On Thu, Oct 10, 2002 at 03:26:21PM +0400, Sergey A. Osokin wrote:
> >> 
> >> A little bug: release date of MacOSX 10.2 is 2002-08-23
> >> http://www.apple.com/pr/library/2002/aug/23jaguar.html
> > 
> > Here is a latest version of patch:
> > http://ozz.pp.ru/patches/patch-bsd-family-tree
> > 
> > In addition of previous 2 patches is:
> > 1) use tabs vs. spaces near NetBSD 1.5.3
> > 2) fix "Unix history" URL
> > 3) fix Mac OS X 10.1 release date
> > (from http://www.apple.com/pr/library/2001/sep/25osxserver.html)
> 
> Hmm, another PR on the same day says that OS X 10.1 was released on
> September 29, but that OS X Server 10.1 was released on September
> 25.  Also, the UNIX History page uses September 29.  However, it treats
> OS X and OS X Server as different operating systems and it also uses
> Sept 29 for both OS's.

But I find one more annonce about release date of Mac OS X 10.1:
http://www.apple.com/pr/library/2001/sep/25osx_available.html

Quotation:
"SEYBOLD SF 2001, SAN FRANCISCO, Californiar-September 25, 2001-Apple(c)
 today announced that Mac(c) OS X version 10.1..."

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: 2 patches for src/share/misc/bsd-family-tree

2002-10-10 Thread Sergey A. Osokin

On Thu, Oct 10, 2002 at 03:57:37PM +0400, Sergey A. Osokin wrote:
> On Thu, Oct 10, 2002 at 03:26:21PM +0400, Sergey A. Osokin wrote:
> > Hello.
> > Please review 2 patches for src/share/misc/bsd-family-tree.
> 
> A little bug: release date of MacOSX 10.2 is 2002-08-23
> http://www.apple.com/pr/library/2002/aug/23jaguar.html

Here is a latest version of patch:
http://ozz.pp.ru/patches/patch-bsd-family-tree

In addition of previous 2 patches is:
1) use tabs vs. spaces near NetBSD 1.5.3
2) fix "Unix history" URL
3) fix Mac OS X 10.1 release date
(from http://www.apple.com/pr/library/2001/sep/25osxserver.html)

Thanks.

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: 2 patches for src/share/misc/bsd-family-tree

2002-10-10 Thread Sergey A. Osokin

On Thu, Oct 10, 2002 at 03:26:21PM +0400, Sergey A. Osokin wrote:
> Hello.
> Please review 2 patches for src/share/misc/bsd-family-tree.

A little bug: release date of MacOSX 10.2 is 2002-08-23
http://www.apple.com/pr/library/2002/aug/23jaguar.html

-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



2 patches for src/share/misc/bsd-family-tree

2002-10-10 Thread Sergey A. Osokin

Hello.
Please review 2 patches for src/share/misc/bsd-family-tree.

The first (original idea from Greg Lehey) sorts references
in a "Time" section by alphabet and removes U25, because it
is never referenced.

The second - adds Mac OS X 10.1 and 10.2, NetBSD 1.6,
FreeBSD 4.6.2, adds link from FreeBSD 4.4 to Mac OS X 10.2.

Thanks.
-- 

Rgdz,/"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,   \ /AGAINST HTML MAIL
http://ozz.pp.ru/ X  AND NEWS
 / \


Index: src/share/misc/bsd-family-tree
===
RCS file: /home/ncvs/src/share/misc/bsd-family-tree,v
retrieving revision 1.63
diff -u -r1.63 bsd-family-tree
--- src/share/misc/bsd-family-tree  2002/10/10 08:57:39 1.63
+++ src/share/misc/bsd-family-tree  2002/10/10 09:46:53
@@ -171,24 +171,23 @@
and John Quarterman. The Design and Implementation of
the 4.4BSD Operating System.
 [APL] Apple website [http://www.apple.com/macosx/]
+[BSDI] Berkeley Software Design, Inc.
 [DOC] README, COPYRIGHT on tape.
-[QCU] Salus, Peter H. A quarter century of UNIX.
-[U25] Peter H. Salus. Unix at 25.
-[USE] Usenet announcement.
+[FBD] FreeBSD Project, The.
+[KB]  Keith Bostic. BSD2.10 available from Usenix. comp.unix.sources,
+   Volume 11, Info 4, April, 1987.
 [KSJ] Michael J. Karels, Carl F. Smith, and William F. Jolitz.
Changes in the Kernel in 2.9BSD. Second Berkeley Software
Distribution UNIX Version 2.9, July, 1983.
-[KB]  Keith Bostic. BSD2.10 available from Usenix. comp.unix.sources,
-   Volume 11, Info 4, April, 1987.
 [KKK] Mike Karels, Kirk McKusick, and Keith Bostic. tahoe announcement.
comp.bugs.4bsd.ucb-fixes, June 15, 1988.
-[SMS] Steven M. Schultz. 2.11BSD, UNIX for the PDP-11.
-[FBD] FreeBSD Project, The.
 [NBD] NetBSD Project, The.
 [OBD] OpenBSD Project, The.
-[dmr] Dennis Ritchie, via E-Mail
-[BSDI] Berkeley Software Design, Inc.
+[QCU] Salus, Peter H. A quarter century of UNIX.
+[SMS] Steven M. Schultz. 2.11BSD, UNIX for the PDP-11.
+[USE] Usenet announcement.
 [WRS] Wind River Systems, Inc.
+[dmr] Dennis Ritchie, via E-Mail
 
 Multics 1965
 UNIXSummer 1969


Index: share/misc/bsd-family-tree
===
RCS file: /home/ncvs/src/share/misc/bsd-family-tree,v
retrieving revision 1.63
diff -u -r1.63 bsd-family-tree
--- share/misc/bsd-family-tree  2002/10/10 08:57:39 1.63
+++ share/misc/bsd-family-tree  2002/10/10 11:20:29
@@ -145,22 +145,26 @@
  |  | |  ||OpenBSD 2.9   |
  |  | |  | NetBSD 1.5.1| |
  |  | |  ||| |
- |   FreeBSD 4.4  |  | NetBSD 1.5.2| |
- |  | |  ||| |
- |  | |  ||OpenBSD 3.0   |
- |   FreeBSD 4.5  |  ||| |
- |  | |  |||   BSD/OS 4.3
- |   FreeBSD 4.6  |  ||OpenBSD 3.1   |
- |  | |  | NetBSD 1.5.3| v
- |   FreeBSD 4.7  |  |||
- |  | |  |||
- |  v |  |v|
+ |   FreeBSD 4.4-.|  | NetBSD 1.5.2| |
+ |  || Mac OS X  ||| |
+ |  ||   10.1||OpenBSD 3.0   |
+ |   FreeBSD 4.5 ||  ||| |
+ |  | \   |  |||   BSD/OS 4.3
+ |   FreeBSD 4.6   \  |  ||OpenBSD 3.1   |
+ |  |   \ |  | NetBSD 1.5.3| v
+ |  |  Mac OS X  |||
+ |   FreeBSD 4.6.2   10.2|v|
+ |  | |  | |
+ |  | |   NetBSD 1.6   |
+ |   FreeBSD 4.7  |  | |
+ |  | |  | |
+ |  v |  | |
  ||  | |
 FreeBSD 5.0-current   |   NetBSD -current  OpenBSD -current
  ||  | |
- v Mac OS X  v v
- 10.1
+ vv  v v
 
 Time
 
 
@@ -359,6 +362,9 @@
 OpenBSD 3.12002-05-19 [OBD]
 FreeBSD 4.62002-06-15 [FBD]
 NetBSD 1.5.32002-07-22 [NBD] (patch release)
+FreeBSD 4.6.2  2002-08-15 [FBD] (patch release)
+Mac OS X 10.2  2002-09-04 [APL]
+NetBSD 1.6 2002-09-14 [NBD]
 FreeBSD 4.72002-10-08 [FBD]
 
 Bibliography



Re: buildworld failed...

2002-06-24 Thread Sergey A. Osokin

On Mon, Jun 24, 2002 at 10:09:44PM +0200, Niels Chr. Bank-Pedersen wrote:
> On Mon, Jun 24, 2002 at 11:49:02PM +0400, Sergey A. Osokin wrote:
> > Hello.
> > 
> > Here is the today buildworld:
> > --
> > >>> stage 1: bootstrap tools
> > --
> > .
> > ===> gnu/usr.bin/groff/src/preproc/eqn
> 
> cd /usr/src/usr.bin/make
> make clean && make depend && make && make install
> make clean && make cleandepend
> cd /usr/src
> make buildworld

Thanks, now i take your recipe.
Thanks one more time.

-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



buildworld failed...

2002-06-24 Thread Sergey A. Osokin

Hello.

Here is the today buildworld:
--
>>> Rebuilding the temporary build tree
--
.
--
>>> stage 1: bootstrap tools
--
.
===> gnu/usr.bin/groff/src/preproc/eqn
.
c++  -O -pipe -march=pentiumpro 
-I/usr/src/gnu/usr.bin/groff/src/preproc/eqn/../../../../../../contrib/groff/src/preproc/eqn
 -I. -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 
-DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MATH_H=1 -DRET_TYPE_SRAND_IS_VOID=1 
-DHAVE_SYS_NERR=1 -DHAVE_SYS_ERRLIST=1 -DHAVE_CC_LIMITS_H=1 -DRETSIGTYPE=void 
-DHAVE_STRUCT_EXCEPTION=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_FMOD=1 
-DHAVE_STRTOL=1 -DHAVE_GETCWD=1 -DHAVE_STRERROR=1 -DHAVE_PUTENV=1 -DHAVE_RENAME=1 
-DHAVE_MKSTEMP=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRSEP=1 
-DHAVE_STRDUP=1 -DSYS_SIGLIST_DECLARED=1 
-I/usr/src/gnu/usr.bin/groff/src/preproc/eqn/../../../../../../contrib/groff/src/include
 -I/usr/src/gnu/usr.bin/groff/src/preproc/eqn/../../../src/include
-D__FBSDID=__RCSID -fno-rtti -fno-exceptions  -static -o eqn eqn.o main.o lex.o box.o 
limit.o list.o over.o text.o script.o mark.o other.o delim.o sqrt.o pile.o special.o 
/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/groff/src/preproc/eqn/../../../src/libs/libgroff/libgroff.a
make: don't know how to make neqn. Stop
*** Error code 2

Stop in /usr/src/gnu/usr.bin/groff/src/preproc.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/groff/src.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/groff.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Any idea?
-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: 4-5 REL -> 5.0 CUR

2002-03-11 Thread Sergey A. Osokin

On Mon, Mar 11, 2002 at 12:32:26PM +0100, Jan Stocker wrote:
> I tried to install a new current from a minimal installed 4.5 RELEASE and
> cvsuped source tree.
> 
> $ cd /usr/src
> 
> $ make -DNOPROFILE=true -DNO_WERROR buildworld
> ...
> 
> $ make buildkernel KERNCONF=GENERIC
> ...
> 
> $ make installkernel KERNCONF=GENERIC
> ...
> install -c -o root -g wheel -m 555   vesa.ko /boot/kernel/
> ===> wi
> install -c -o root -g wheel -m 555   if_wi.ko /boot/kernel/
> ===> xe
> install -c -o root -g wheel -m 555   if_xe.ko /boot/kernel/
> kldxref /boot/kernel
> kldxref:No such file or directory
> *** Error code 1 (ignored)

make can't find kldxref, because kldxref is part of 5.0, not 4.X

Man page of kldxref online:
http://www.FreeBSD.org/cgi/man.cgi?query=kldxref&apropos=0&sektion=0&manpath=FreeBSD+5.0-current&format=html

If you don't like this bug:

1st way:
touch /usr/sbin/kldxref

2nd way:
1) install libc.so.5 into /usr/lib
2) ldconfig -m /usr/lib
3) install kldxref from /usr/src/usr.sbin/kldxref

after 1st or 2nd way
try to install kernel one more time.
-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



current buildworld broken...

2002-02-16 Thread Sergey A. Osokin

Hello.
===> usr.sbin/usbdevs
cc -O -pipe -march=pentiumpro   -I/usr/obj/usr/src/i386/usr/include -Werror -Wall 
-Wno-uninitialized  -c /usr/src/usr.sbin/usbdevs/usbdevs.c
/usr/src/usr.sbin/usbdevs/usbdevs.c: In function `usbdev':
/usr/src/usr.sbin/usbdevs/usbdevs.c:91: structure has no member named `lowspeed'
*** Error code 1

Stop in /usr/src/usr.sbin/usbdevs.
*** Error code 1

Stop in /usr/src/usr.sbin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



const char *tsptype[TSPTYPENUMBER] in "protocols/timed.h" ?

2001-11-22 Thread Sergey A. Osokin

Hello, hackers.

What do you think about change the type of tsptype in
src/include/protocols/timed.h from (char *)
to (const char *) ?

$ grep -r protocols/timed.h /usr/src
/usr/src/bin/date/netdate.c:#include 

/usr/src/usr.sbin/timed/timed/byteorder.c: * messages. Protocol is defined in 
/usr/include/protocols/timed.h
/usr/src/usr.sbin/timed/timed/globals.h:#include 
/usr/src/usr.sbin/timed/timedc/cmds.c:#include 

After change of tsptype's type, we can build bin/date (with
some cosmetics) with WARNS?=2.

-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: panic on current ACPI

2001-09-01 Thread Sergey A. Osokin

On Sat, Sep 01, 2001 at 11:25:04PM +0900, Mitsuru IWASAKI wrote:
> Hi,  I've noticed that the recent CURRENT got panic on some machines
> if we have `device acpica' in kernel config.
> 
> 
> ata0: at 0x1f0 irq 14 on atapci0
> 
> 
> Fatal trap 12: page fault while in kernel mode
> fault virtual address = 0x28
> fault code= supervisor read, page not present
> instruction pointer   = 0x8:0xc058ed3c
> stack pointer = 0x10:0xc05c6be0
> frame pointer = 0x10:0xc05c6be0
> code segment  = base 0x0, limit 0xf, type 0x1b
>   = DPL 0, pres 1, def32 1, gran 1
> processor eflags  = interrupt enabled, resume, IOPL = 0
> current process   = 0 (swapper)
> kernel: type 12 trap, code=0
> Stopped atacpi_timer_get_timecount+0x08:  movl0x28(%eax),%edx
> 
> 
> I think that this is because acpi_timer device is identified twice,
> so I've just made a quick fix for this so that acpi_timer_identify()
> is called only once.
> 
> I hope more proper fixes would be made...
> 
> Thanks
> 
> Index: acpi_timer.c
> ===
> RCS file: /home/ncvs/src/sys/dev/acpica/acpi_timer.c,v
> retrieving revision 1.10
> diff -u -r1.10 acpi_timer.c
> --- acpi_timer.c  5 Aug 2001 23:20:32 -   1.10
> +++ acpi_timer.c  1 Sep 2001 12:04:14 -
> @@ -55,7 +55,7 @@
>  #define _COMPONENT   ACPI_SYSTEM
>  MODULE_NAME("TIMER")
>  
> -static device_t  acpi_timer_dev;
> +static device_t  acpi_timer_dev = NULL;
>  struct resource  *acpi_timer_reg;
>  #define TIMER_READ   bus_space_read_4(rman_get_bustag(acpi_timer_reg),   \
>rman_get_bushandle(acpi_timer_reg),\
> @@ -122,6 +122,9 @@
>   return_VOID;
>  
>  if (AcpiGbl_FADT == NULL)
> + return_VOID;
> +
> +if (acpi_timer_dev != NULL)
>   return_VOID;
>  
>  if ((dev = BUS_ADD_CHILD(parent, 0, "acpi_timer", 0)) == NULL) {
> 
> 

I have the same problem. Your patch works for me.
Thanks.

-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



-current buildworld broken

2001-08-25 Thread Sergey A. Osokin

Hello.
cc -O -pipe -march=pentiumpro -I. -DDISASSEMBLER -DNO_X   -I/usr/obj/usr/src/i38
6/usr/include  -c /usr/src/usr.bin/doscmd/ems.c
/usr/src/usr.bin/doscmd/ems.c: In function `init_mapfile':
/usr/src/usr.bin/doscmd/ems.c:1124: `MAP_INHERIT' undeclared (first use in this
function)
/usr/src/usr.bin/doscmd/ems.c:1124: (Each undeclared identifier is reported only
 once
/usr/src/usr.bin/doscmd/ems.c:1124: for each function it appears in.)
/usr/src/usr.bin/doscmd/ems.c: In function `map_page':
/usr/src/usr.bin/doscmd/ems.c:1172: `MAP_INHERIT' undeclared (first use in this
function)
*** Error code 1

Stop in /usr/src/usr.bin/doscmd.
*** Error code 1

Stop in /usr/src/usr.bin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: new function for libdevstat

2001-05-14 Thread Sergey A. Osokin

On Sat, May 12, 2001 at 05:42:01PM +0400, Sergey A. Osokin wrote:
> On Fri, May 11, 2001 at 07:35:50PM +0200, Poul-Henning Kamp wrote:
> > In message <[EMAIL PROTECTED]>, "Sergey A. Osokin" writes:
> > 
> > >Hello.
> > >2 monthes ago I talked in -current about new features for libdevstat.
> > >Here is a new function, which calculate more statistics then 
> > >existing compute_stats(). (compute_stats() calculate only average
> > >results, not read/write results).
> > >Please see my first step. Comments are welcome.
> > 
> > I really don't think this is the way...
> > 
> > I would far rather see:
> > 
> > enum DEVSTAT_METRIC {
> > DEVSTAT_BYTES,
> > DEVSTAT_BYTES_READ,
> > DEVSTAT_BYTES_WRITE,
> > ...
> > }
> > 
> > int
> > devstat_compute_statistics(
> > struct devstat *current,
> > struct devstat *previous,
> > enum DEVSTAT_METRIC metric,
> > double *destination);
> > 
> > Since that can be extended with new metrics without changing
> > the ABI...
> 
> OK. Please see attachment.

I have rewritten devstat_compute_statistics().
Please see the attachment.
If you need a patch-version for libdevstat, just say about.
Thanks.
-- 
 
Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \




enum DEVSTAT_METRIC {
DEVSTAT_TOTAL_BYTES = 1,
DEVSTAT_TOTAL_BYTES_READ,
DEVSTAT_TOTAL_BYTES_WRITE,
DEVSTAT_TOTAL_TRANSFERS,
DEVSTAT_TOTAL_TRANSFERS_READ,
DEVSTAT_TOTAL_TRANSFERS_WRITE,
DEVSTAT_TOTAL_TRANSFERS_OTHER,
DEVSTAT_TOTAL_BLOCKS,
DEVSTAT_TOTAL_BLOCKS_READ,
DEVSTAT_TOTAL_BLOCKS_WRITE,
DEVSTAT_KB_PER_TRANSFER,
DEVSTAT_KB_PER_TRANSFER_READ,
DEVSTAT_KB_PER_TRANSFER_WRITE,
DEVSTAT_TRANSFERS_PER_SECOND,
DEVSTAT_TRANSFERS_PER_SECOND_READ,
DEVSTAT_TRANSFERS_PER_SECOND_WRITE,
DEVSTAT_TRANSFERS_PER_SECOND_OTHER,
DEVSTAT_MB_PER_SECOND,
DEVSTAT_MB_PER_SECOND_READ,
DEVSTAT_MB_PER_SECOND_WRITE,
DEVSTAT_BLOCKS_PER_SECOND,
DEVSTAT_BLOCKS_PER_SECOND_READ,
DEVSTAT_BLOCKS_PER_SECOND_WRITE,
DEVSTAT_MS_PER_TRANSACTION,
DEVSTAT_MS_PER_TRANSACTION_READ,
DEVSTAT_MS_PER_TRANSACTION_WRITE
};

/*
 *  How to use this function?
 *
 *  long double total_bytes;
 *
 *  devstat_compute_statistics(&cur.dinfo->devices[di], &last.dinfo->devices[di],
 *  busy_seconds, DEVSTAT_TOTAL_BYTES, &total_bytes, 0);
 *
 *  DEVSTAT_TOTAL_BYTES - is what you need.
 *  total_bytes - where you need.
 *
 *  Wrapper for
 *  compute_stats(current, previous, etime, total_bytes,
 *  total_transfers, total_blocks,
 *  kb_per_transfer, transfers_per_second,
 *  mb_per_second, blocks_per_second,
 *  ms_per_transaction);
 *
 *  looks like this:
 *
 *  devstat_compute_statistics(current, previous, etime,
 *  DEVSTAT_TOTAL_BYTES, total_bytes,
 *  DEVSTAT_TOTAL_TRANSFERS, total_transfers,
 *  DEVSTAT_TOTAL_BLOCKS, total_blocks,
 *  DEVSTAT_TOTAL_TRANSFER, kb_per_transfer,
 *  DEVSTAT_TRANSFERS_PER_SECOND, transfers_per_second,
 *  DEVSTAT_MB_PER_SECOND, mb_per_second,
 *  DEVSTAT_BLOCKS_PER_SECOND, blocks_per_second,
 *  DEVSTAT_MS_PER_TRANSACTION, ms_per_transaction,
 *  0);
 */

long double
devstat_compute_statistics(struct devstat *current, struct devstat *previous,
long double etime, ...)
{
u_int64_t totalbytes, totalbytes_read, totalbytes_write;
u_int64_t totaltransfers, totaltransfers_read, totaltransfers_write, 
totaltransfers_other;
u_int64_t totalblocks, totalblocks_read, totalblocks_write;
char *func_name = "devstat_compute_statistics";
va_list ap;
enum DEVSTAT_METRIC metric;
long double *destination;

/*
 * current is the only mandatory field.
 */

if (current == NULL) {
sprintf(devstat_errbuf, "%s: current stats structure was NULL",
func_name);
return(-1);
}

totalbytes_read = current->bytes_read - ((previous) ? (previous->bytes_read) : 
0);

totalbytes_write = current->bytes_written - ((previous) ? 
(previous->bytes_written) : 0);

totalbytes = totalbytes_read + totalbytes_write;

totaltransfers_read = current->num_reads - ((previous) ? (previous-&

Re: new function for libdevstat

2001-05-12 Thread Sergey A. Osokin

On Fri, May 11, 2001 at 07:35:50PM +0200, Poul-Henning Kamp wrote:
> In message <[EMAIL PROTECTED]>, "Sergey A. Osokin" writes:
> 
> >Hello.
> >2 monthes ago I talked in -current about new features for libdevstat.
> >Here is a new function, which calculate more statistics then 
> >existing compute_stats(). (compute_stats() calculate only average
> >results, not read/write results).
> >Please see my first step. Comments are welcome.
> 
> I really don't think this is the way...
> 
> I would far rather see:
> 
>   enum DEVSTAT_METRIC {
>   DEVSTAT_BYTES,
>   DEVSTAT_BYTES_READ,
>   DEVSTAT_BYTES_WRITE,
>   ...
>   }
> 
>   int
>   devstat_compute_statistics(
>   struct devstat *current,
>   struct devstat *previous,
>   enum DEVSTAT_METRIC metric,
>   double *destination);
> 
> Since that can be extended with new metrics without changing
> the ABI...

OK. Please see attachment.
Thanks.
-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \


enum DEVSTAT_METRIC {
DEVSTAT_TOTAL_BYTES,
DEVSTAT_TOTAL_BYTES_READ,
DEVSTAT_TOTAL_BYTES_WRITE,
DEVSTAT_TOTAL_TRANSFERS,
DEVSTAT_TOTAL_TRANSFERS_READ,
DEVSTAT_TOTAL_TRANSFERS_WRITE,
DEVSTAT_TOTAL_TRANSFERS_OTHER,
DEVSTAT_TOTAL_BLOCKS,
DEVSTAT_TOTAL_BLOCKS_READ,
DEVSTAT_TOTAL_BLOCKS_WRITE,
DEVSTAT_KB_PER_TRANSFER,
DEVSTAT_KB_PER_TRANSFER_READ,
DEVSTAT_KB_PER_TRANSFER_WRITE,
DEVSTAT_TRANSFERS_PER_SECOND,
DEVSTAT_TRANSFERS_PER_SECOND_READ,
DEVSTAT_TRANSFERS_PER_SECOND_WRITE,
DEVSTAT_TRANSFERS_PER_SECOND_OTHER,
DEVSTAT_MB_PER_SECOND,
DEVSTAT_MB_PER_SECOND_READ,
DEVSTAT_MB_PER_SECOND_WRITE,
DEVSTAT_BLOCKS_PER_SECOND,
DEVSTAT_BLOCKS_PER_SECOND_READ,
DEVSTAT_BLOCKS_PER_SECOND_WRITE,
DEVSTAT_MS_PER_TRANSACTION,
DEVSTAT_MS_PER_TRANSACTION_READ,
DEVSTAT_MS_PER_TRANSACTION_WRITE
};

int
devstat_compute_statistics(struct devstat *current, struct devstat *previous,
long double etime, enum DEVSTAT_METRIC metric,
long double *destination)
{
u_int64_t totalbytes, totalbytes_read, totalbytes_write;
u_int64_t totaltransfers, totaltransfers_read, totaltransfers_write, 
totaltransfers_other;
u_int64_t totalblocks, totalblocks_read, totalblocks_write;
char *func_name = "devstat_compute_statistics";

/*
 * current is the only mandatory field.
 */

if (current == NULL) {
sprintf(devstat_errbuf, "%s: current stats structure was NULL",
func_name);
return(-1);
}

totalbytes_read = current->bytes_read - ((previous) ? previous->bytes_read : 
0);

if (metric == DEVSTAT_TOTAL_BYTES_READ) {
*destination = totalbytes_read;
return 0;
}

totalbytes_write = current->bytes_written - ((previous) ? 
previous->bytes_written : 0);

if (metric == DEVSTAT_TOTAL_BYTES_WRITE) {
*destination = totalbytes_write;
return 0;
}

/*
totalbytes = (current->bytes_written + current->bytes_read) -
((previous) ? (previous->bytes_written +
previous->bytes_read) : 0);
*/

totalbytes = totalbytes_read + totalbytes_write;

if (metric == DEVSTAT_TOTAL_BYTES) {
*destination = totalbytes;
return 0;
}

totaltransfers_read = current->num_reads - ((previous) ? (previous->num_reads) 
: 0);

if (metric == DEVSTAT_TOTAL_TRANSFERS_READ) {
*destination = totaltransfers_read;
return 0;
}

totaltransfers_write = current->num_writes - ((previous) ? 
(previous->num_writes) : 0);

if (metric == DEVSTAT_TOTAL_TRANSFERS_WRITE) {
*destination = totaltransfers_write;
return 0;
}

totaltransfers_other = current->num_other - ((previous) ? 
(previous->num_other) : 0);

if (metric == DEVSTAT_TOTAL_TRANSFERS_OTHER) {
*destination = totaltransfers_other;
return 0;
}
/*
totaltransfers = (current->num_reads +
  current->num_writes +
  current->num_other) -
((previous) ?
 (previous->num_reads +
  previous->num_writes +

new function for libdevstat

2001-05-11 Thread Sergey A. Osokin

Hello.
2 monthes ago I talked in -current about new features for libdevstat.
Here is a new function, which calculate more statistics then 
existing compute_stats(). (compute_stats() calculate only average
results, not read/write results).
Please see my first step. Comments are welcome.
-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \


int
devstat_compute_statistics(struct devstat *current, struct devstat *previous,
long double etime,
u_int64_t *total_bytes,
u_int64_t *total_bytes_read,
u_int64_t *total_bytes_write,
u_int64_t *total_transfers,
u_int64_t *total_transfers_read,
u_int64_t *total_transfers_write,
u_int64_t *total_transfers_other,
u_int64_t *total_blocks,
u_int64_t *total_blocks_read,
u_int64_t *total_blocks_write,
long double *kb_per_transfer,
long double *kb_per_transfer_read,
long double *kb_per_transfer_write,
long double *transfers_per_second,
long double *transfers_per_second_read,
long double *transfers_per_second_write,
long double *transfers_per_second_other,
long double *mb_per_second,
long double *mb_per_second_read,
long double *mb_per_second_write,
long double *blocks_per_second,
long double *blocks_per_second_read,
long double *blocks_per_second_write,
long double *ms_per_transaction,
long double *ms_per_transaction_read,
long double *ms_per_transaction_write)

{
u_int64_t totalbytes, totalbytes_read, totalbytes_write;
u_int64_t totaltransfers, totaltransfers_read, totaltransfers_write, 
totaltransfers_other;
u_int64_t totalblocks, totalblocks_read, totalblocks_write;
char *func_name = "devstat_compute_statistics";

/*
 * current is the only mandatory field.
 */
if (current == NULL) {
sprintf(devstat_errbuf, "%s: current stats structure was NULL",
func_name);
return(-1);
}
/*
totalbytes = (current->bytes_written + current->bytes_read) -
((previous) ? (previous->bytes_written +
previous->bytes_read) : 0);

if (total_bytes)
*total_bytes = totalbytes;
*/

totalbytes_read = current->bytes_read - ((previous) ? previous->bytes_read) : 
0);

if (total_bytes_read)
*total_bytes_read = totalbytes_read;

totalbytes_write = current->bytes_written - ((previous) ? 
(previous->bytes_written) : 0);

if (total_bytes_write)
*total_bytes_write = totalbytes_write;

totalbytes = totalbytes_read + totalbytes_write;

if (total_bytes)
*total_bytes = totalbytes;

/*
totaltransfers = (current->num_reads +
  current->num_writes +
  current->num_other) -
((previous) ?
 (previous->num_reads +
  previous->num_writes +
  previous->num_other) : 0);

if (total_transfers)
*total_transfers = totaltransfers;
*/

totaltransfers_read = current->num_reads - ((previous) ? (previous->num_reads) 
: 0);

if (total_transfers_read)
*total_transfers_read = totaltransfers_read;

totaltransfers_write = current->num_writes - ((previous) ? 
(previous->num_writes) : 0);

if (total_transfers_write)
*total_transfers_write = totaltransfers_write;

totaltransfers_other = current->num_other - ((previous) ? 
(previous->num_other) : 0);

if (total_transfers_other)
*total_transfers_other = totaltransfers_other;

totaltransfers = totaltransfers_read + totaltransfers_write + 
totaltransfers_other;

if (total_transfers)
*total_transfers = totaltransfers;

if (transfers_per_second) {
if (etime > 0.0) {
*transfers_per_second = totaltransfers;
*transfers_per_second /= etime;
} else
*transfers_per_second = 0.0;
}

if (transfers_per_second_read) {
if (etime > 0.0) {
*transfers_per_second_read = totaltransfers_read;
*transfers_per_second_read /= etime;
} else
*transfers_per_second_read = 0.0;
}

if (transfers_per_s

world broken...

2001-05-08 Thread Sergey A. Osokin


Hello.
After resup my sources (a 2 hours ago) i tried make buildworld and
it failed:

Extracting myconfig (with variable substitutions)
Missing right curly or square bracket at lib/SelfLoader.pm line 69, at end of line
syntax error at lib/SelfLoader.pm line 69, at EOF
Compilation failed in require at /usr/libdata/perl/BSDPAN/BSDPAN/Override.pm line 17.
Compilation failed in require at /usr/libdata/perl/BSDPAN/Config.pm line 37.
BEGIN failed--compilation aborted at /usr/libdata/perl/BSDPAN/Config.pm line 37.
Compilation failed in require at 
/usr/src/gnu/usr.bin/perl/perl/../../../../contrib/perl5/configpm line 430.
*** Error code 255

Stop in /usr/src/gnu/usr.bin/perl/perl.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/perl.
*** Error code 1

Stop in /usr/src/gnu/usr.bin.
*** Error code 1

Stop in /usr/src/gnu.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Any idea?

-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: usr.bin/kdump - 'make world' broken?

2001-03-27 Thread Sergey A. Osokin

On Tue, Mar 27, 2001 at 09:42:36PM +0400, Sergey A. Osokin wrote:
> On Tue, Mar 27, 2001 at 07:17:48PM +0300, Ruslan Ermilov wrote:
> > On Tue, Mar 27, 2001 at 07:34:49PM +0400, Sergey A. Osokin wrote:
> > > On Tue, Mar 27, 2001 at 01:22:51PM +0200, Eckhard Kantz wrote:
> > > > What could be the reason for the following problem?
> > > > 
> > > > ===> usr.bin/kdump
> > > > cc -O -pipe  -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../
> > > > ..   -I/usr/obj/usr/src/i386/usr/include -c ioctl.c
> > > > In file included from ioctl.c:96:
> > > > /usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE'
> > > > redefined
> > > > /usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the
> > > > location of the previous definition
> > > > In file included from ioctl.c:52:
> > > > /usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX'
> > > > undeclared here (not in a function)
> > > > *** Error code 1
> > > > 
> > > > Stop in /usr/src/usr.bin/kdump.
> > > > *** Error code 1
> > > 
> > Should be fixed in usr.bin/kdump/mkioctls,v 1.20.
> 
> OK. I try buildworld now.

OK. it works. Great thanks.

-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: usr.bin/kdump - 'make world' broken?

2001-03-27 Thread Sergey A. Osokin

On Tue, Mar 27, 2001 at 07:17:48PM +0300, Ruslan Ermilov wrote:
> On Tue, Mar 27, 2001 at 07:34:49PM +0400, Sergey A. Osokin wrote:
> > On Tue, Mar 27, 2001 at 01:22:51PM +0200, Eckhard Kantz wrote:
> > > What could be the reason for the following problem?
> > > 
> > > ===> usr.bin/kdump
> > > cc -O -pipe  -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../
> > > ..   -I/usr/obj/usr/src/i386/usr/include -c ioctl.c
> > > In file included from ioctl.c:96:
> > > /usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE'
> > > redefined
> > > /usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the
> > > location of the previous definition
> > > In file included from ioctl.c:52:
> > > /usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX'
> > > undeclared here (not in a function)
> > > *** Error code 1
> > > 
> > > Stop in /usr/src/usr.bin/kdump.
> > > *** Error code 1
> > 
> Should be fixed in usr.bin/kdump/mkioctls,v 1.20.

OK. I try buildworld now.

-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: usr.bin/kdump - 'make world' broken?

2001-03-27 Thread Sergey A. Osokin

On Tue, Mar 27, 2001 at 01:22:51PM +0200, Eckhard Kantz wrote:
> What could be the reason for the following problem?
> 
> ===> usr.bin/kdump
> cc -O -pipe  -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../
> ..   -I/usr/obj/usr/src/i386/usr/include -c ioctl.c
> In file included from ioctl.c:96:
> /usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE'
> redefined
> /usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the
> location of the previous definition
> In file included from ioctl.c:52:
> /usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX'
> undeclared here (not in a function)
> *** Error code 1
> 
> Stop in /usr/src/usr.bin/kdump.
> *** Error code 1

I reported about this problem more then 3 months ago.
(http://www.freebsd.org/cgi/getmsg.cgi?fetch=434185+436356+/usr/local/www/db/text/2001/freebsd-current/20010128.freebsd-current)

I think this problem may resolve with following steps:
1) rm -rf /usr/src
2) re-sup
3) try to make buildworld
But i haven't -current @ fast channel for this...

Also, you may do following:
1) vi /usr/src/usr.bin/kdump/Makefile and remove ${DESTDIR} at line 11
2) vi /usr/src/usr.bin/truss/Makefile remove ${DESTDIR} at line 32
3) try to make buildworld

I recommend first way.
It looks like mkioctls do something wrong at ${DESTDIR} at
buildworld time.
-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: libdevstat

2001-03-16 Thread Sergey A. Osokin

On Fri, Mar 16, 2001 at 08:43:51AM -0800, Alfred Perlstein wrote:
> * Sergey A. Osokin <[EMAIL PROTECTED]> [010316 08:27] wrote:
> > On Fri, Mar 16, 2001 at 09:27:30AM -0600, Dan Nelson wrote:
> > > In the last episode (Mar 16), Sergey A. Osokin said:
> > > > Hello, -currenters.
> > > >  
> > > > What do you think about add to libdevstat in/out/other statistics? I
> > > > think transfer great too, but sometimes that's not enough.  iostat
> > > > can't show read and write stats separatly, because compute_stats from
> > > > libdevstat simply sum up all results (in/out/other).
> > > 
> > > Struct devstat already has bytes_read and bytes_written per device, and
> > > the values are filled in (gkrellm seems to be able to get read/written
> > > stats just fine).
> > 
> > gkrellm good tool, but i don't want istall X/gtk/bla-bla-bla
> > on remote server. I want to use some CLI tool for it, like iostat
> > or somethink else.
> > 
> > Another idea?
> 
> I think what he's saying is that libdevstat is OK, it's just that
> the tools that use it sum up the stats instead of displaying them
> inidividually.

Yes, libdevstat have data, but iostat display transfer = read+write+other.
But i want to see something like following:

totalreads = current->num_reads - ((previous) ?
   previous->num_reads : 0);
totalwrites = current->num_writes - ((previous) ?
   previous->num_writes : 0);
totalother = current->num_other - ((previous) ?
   previous->num_other : 0);

> I would look at fixing iostat because libdevstat seems to provide
> all the data needed.

OK. Thanks.

-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: libdevstat

2001-03-16 Thread Sergey A. Osokin

On Fri, Mar 16, 2001 at 09:27:30AM -0600, Dan Nelson wrote:
> In the last episode (Mar 16), Sergey A. Osokin said:
> > Hello, -currenters.
> >  
> > What do you think about add to libdevstat in/out/other statistics? I
> > think transfer great too, but sometimes that's not enough.  iostat
> > can't show read and write stats separatly, because compute_stats from
> > libdevstat simply sum up all results (in/out/other).
> 
> Struct devstat already has bytes_read and bytes_written per device, and
> the values are filled in (gkrellm seems to be able to get read/written
> stats just fine).

gkrellm good tool, but i don't want istall X/gtk/bla-bla-bla
on remote server. I want to use some CLI tool for it, like iostat
or somethink else.

Another idea?

-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



libdevstat

2001-03-16 Thread Sergey A. Osokin

Hello, -currenters.
 
What do you think about add to libdevstat in/out/other
statistics? I think transfer great too, but sometimes that's
not enough.  
iostat can't show read and write stats separatly, because
compute_stats from libdevstat simply sum up all results (in/out/other).
 
-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



buildworld failed at kdump...

2001-02-01 Thread Sergey A. Osokin

Hello.
After resup, i try to buildworld and it failed at kdump:

===> usr.bin/kdump
cc -O -pipe -march=pentium -I/usr/src/usr.bin/kdump/../ktrace 
-I/usr/src/usr.bin/kdump/../..   -I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/usr.bin/kdump/kdump.c
cc -O -pipe -march=pentium -I/usr/src/usr.bin/kdump/../ktrace 
-I/usr/src/usr.bin/kdump/../..   -I/usr/obj/usr/src/i386/usr/include -c ioctl.c
In file included from ioctl.c:99:
/usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE' redefined
/usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the location 
of the previous definition
In file included from ioctl.c:51:
/usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX' undeclared 
here (not in a function)
ioctl.c: In function `ioctlname':
ioctl.c:693: invalid use of `restrict'
ioctl.c:693: sizeof applied to an incomplete type
*** Error code 1

Stop in /usr/src/usr.bin/kdump.
*** Error code 1

Stop in /usr/src/usr.bin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Any idea?

-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



buildworld failed and PERL_THREADED=true dead...

2001-01-25 Thread Sergey A. Osokin

Hello.
I tried make buildworld after cvsuped my source and it failed in perl
area.
I remove PERL_THREADED=true and tried again and it failed.

===> usr.bin/kdump
cc -O -pipe -march=pentium -I/usr/src/usr.bin/kdump/../ktrace 
-I/usr/src/usr.bin/kdump/../..   -I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/usr.bin/kdump/kdump.c
cc -O -pipe -march=pentium -I/usr/src/usr.bin/kdump/../ktrace 
-I/usr/src/usr.bin/kdump/../..   -I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/usr.bin/kdump/../ktrace/subr.c
gzip -cn /usr/src/usr.bin/kdump/kdump.1 > kdump.1.gz
cc -O -pipe -march=pentium -I/usr/src/usr.bin/kdump/../ktrace 
-I/usr/src/usr.bin/kdump/../..   -I/usr/obj/usr/src/i386/usr/include -c ioctl.c
In file included from ioctl.c:99:
/usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE' redefined
/usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the location 
of the previous definition
In file included from ioctl.c:51:
/usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX' undeclared 
here (not in a function)
ioctl.c: In function `ioctlname':
ioctl.c:693: invalid use of `restrict'
ioctl.c:693: sizeof applied to an incomplete type
*** Error code 1
1 error
*** Error code 2

FreeBSD 5.0-CURRENT #0: Sat Jan 13 22:57:43 MSK 2001

Any idea?
-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



buildworld failed...

2001-01-23 Thread Sergey A. Osokin

Hello!
After CVSup i try to buildworld under my
FreeBSD 5.0-CURRENT #0: Sat Jan 13 22:57:43 MSK 2001 box and it
failed:

===> usr.bin/kdump
cc -O -pipe -march=pentium -I/usr/src/usr.bin/kdump/../ktrace 
-I/usr/src/usr.bin/kdump/../..   -I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/usr.bin/kdump/kdump.c
cc -O -pipe -march=pentium -I/usr/src/usr.bin/kdump/../ktrace 
-I/usr/src/usr.bin/kdump/../..   -I/usr/obj/usr/src/i386/usr/include -c ioctl.c
In file included from ioctl.c:99:
/usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE' redefined
/usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the location 
of the previous definition
In file included from ioctl.c:51:
/usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX' undeclared 
here (not in a function)
ioctl.c: In function `ioctlname':
ioctl.c:693: invalid use of `restrict'
ioctl.c:693: sizeof applied to an incomplete type
*** Error code 1

Stop in /usr/src/usr.bin/kdump.
*** Error code 1

Any idea?

-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



buildworld in -current failed...

2001-01-21 Thread Sergey A. Osokin

Hello.
After resup few hours ago, i try to buildworld on
FreeBSD 5.0-CURRENT #0: Sat Jan 13 22:57:43 MSK 2001

gzip -cn /usr/src/lib/libc/../libc/regex/re_format.7 > re_format.7.gz
make in free(): error: junk pointer, too high to make sense.
Abort trap - core dumped
*** Error code 134

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Any idea?
-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



make buildworld failed...

2001-01-21 Thread Sergey A. Osokin

Hello!

After cvsuped, i try to build world under FreeBSD 5.0-CURRENT #0: Sat Jan 13 22:57:43 
MSK 2001

===> usr.bin/kdump
cc -O -pipe -march=pentium -I/usr/src/usr.bin/kdump/../ktrace 
-I/usr/src/usr.bin/kdump/../..   -I/usr/obj/usr/src/i386/u
sr/include -c /usr/src/usr.bin/kdump/kdump.c
cc -O -pipe -march=pentium -I/usr/src/usr.bin/kdump/../ktrace 
-I/usr/src/usr.bin/kdump/../..   -I/usr/obj/usr/src/i386/u
sr/include -c ioctl.c
In file included from ioctl.c:99:
/usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE' redefined
/usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the location 
of the previous definition
In file included from ioctl.c:51:
/usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX' undeclared 
here (not in a function)
ioctl.c: In function `ioctlname':
ioctl.c:693: invalid use of `restrict'
ioctl.c:693: sizeof applied to an incomplete type
*** Error code 1

Stop in /usr/src/usr.bin/kdump.
*** Error code 1

Stop in /usr/src/usr.bin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Problem with normal exit all threads of task...

2000-06-23 Thread Sergey A. Osokin

Hello!

I have a problem with normal exit all threads of task by signal...
At Linux, as i know, all threads of task receive a signal, but
under FreeBSD only one.

Any idea?
-- 

Rgdz,
Sergey Osokin aka oZZ,
[EMAIL PROTECTED]
http://www.freebsd.org.ru/~osa/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: make buildworld failed...

2000-05-05 Thread Sergey A. Osokin

On Fri, May 05, 2000 at 02:29:01PM -0400, Donn Miller wrote:
> 
> On Fri, 5 May 2000, Sergey Osokin wrote:
> 
> > Hello!
> > After cvsuped my 5.0-CURRENT (FreeBSD 5.0-CURRENT #0: Mon May  1 02:25:08 MSD 2000)
> > i try to buildworld...
> > 
> > # make -DNOCLEAN -j6 buildworld
> > 
> > ===> librsausa
> > mkdir: openssl: File exists
> > cp /usr/src/secure/lib/librsausa/../libcrypto/opensslconf-i386.h 
>openssl/opensslconf.h
> 
> [snip]
> 
> There was a problem with make -j6 a while back on an older -current.  What
> you ought to do is cvsup again and then try again.  It appears as though
> it is fixed now, as make -j6 has given me no problems.
hmm
Now i cvsuped my source-tree:
Connecting to cvsup.ru.freebsd.org
Connected to cvsup.ru.freebsd.org
Server software version: REL_16_1
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection src-all/cvs
Updating collection cvs-crypto/cvs
Updating collection ports-all/cvs

What now?
I think buildworld now is dead too...

Rgdz,
Sergey Osokin aka oZZ,
[EMAIL PROTECTED]
http://www.freebsd.org.ru/~osa/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



make buildworld failed...

1999-08-27 Thread Sergey A. Osokin

After cvsup my -current sources, i try to make build world...

ld -N -e start -Ttext 0x10 -o btxldr.out btxldr.o
objcopy -S -O binary btxldr.out btxldr
===> sys/boot/i386/btx/lib
as  -elf -o btxcsu.o /usr/src/sys/boot/i386/btx/lib/btxcsu.s
as  -elf -o btxsys.o /usr/src/sys/boot/i386/btx/lib/btxsys.s
as  -elf -o btxv86.o /usr/src/sys/boot/i386/btx/lib/btxv86.s
ld  -elf -i -o crt0.o btxcsu.o btxsys.o btxv86.o 
===> sys/boot/i386/boot2
(cd /usr/src/sys/boot/i386/boot2; m4 -DFLAGS=0 boot1.m4 boot1.s) |  as  -o boot1.o
ld -nostdlib -static -N -e start -Ttext 0x7c00 -o boot1.out boot1.o
objcopy -S -O binary boot1.out boot1
dd if=/dev/zero of=boot2.ldr bs=512 count=1 2>/dev/null
*** Error code 1

Stop in /usr/src/sys/boot/i386/boot2.
*** Error code 1

Stop in /usr/src/sys/boot/i386.
*** Error code 1

Stop in /usr/src/sys/boot.
*** Error code 1

Stop in /usr/src/sys.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
-- 

What can i do?

Rgdz,
Osokin Sergey aka oZZ,
[EMAIL PROTECTED]
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message