Limiting closed port RST

2008-09-25 Thread Vlad GURDIGA
Hello,

I've started an Apache bechmark with ab today and a lot of such
messages from kernel appeared in /var/log/messages:

Sep 25 16:16:34 dev01 kernel: Limiting closed port RST response from
270 to 200 packets/sec
Sep 25 16:19:10 dev01 kernel: Limiting closed port RST response from
475 to 200 packets/sec
Sep 25 16:19:15 dev01 kernel: Limiting closed port RST response from
220 to 200 packets/sec
Sep 25 16:19:19 dev01 kernel: Limiting closed port RST response from
243 to 200 packets/sec

What do they mean?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


freebsd-update

2008-09-05 Thread Vlad GURDIGA
Hello,

I've run today "freebsd-update fetch" and it found some updates,
including /boot/kernel/kernel:

The following files will be updated as part of updating to 7.0-RELEASE-p4:
/boot/kernel/kernel
/boot/kernel/kernel.symbols
/usr/src/sys/amd64/amd64/exception.S
/usr/src/sys/conf/newvers.sh
/usr/src/sys/kern/vfs_mount.c
/usr/src/sys/netinet6/icmp6.c

Then I ran "freebsd-update install"

# freebsd-update install
Installing updates... done.

I guess this does not update my running kernel and I have to reboot to
really update it. Right? Or is there any way to do this without
reboot? O course I doubt it but I'd like to make sure I'm not missing
some magic feature... :-).

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Google Chrome

2008-09-02 Thread Vlad GURDIGA
On Wed, Sep 3, 2008 at 12:14 AM, Beech Rintoul <[EMAIL PROTECTED]> wrote:
> On Tuesday 02 September 2008, Vlad GURDIGA said:
>> Hello,
>>
>> In Google Chrome System requirements
>> (http://www.google.com/support/chrome/bin/answer.py?answer=95411&to
>>pic=14660) they say that a Linux version is going to appear. And in
>> the "Download and install" help article
>> (http://www.google.com/support/chrome/bin/answer.py?answer=95346&qu
>>ery=open-source&topic=&type=) they say that it is open-source.
>>
>> Does this mean that is hope we'll have a FreeBSD version?
>
> If someone steps up and rolls and submits the port. You're welcome to
> volunteer :-)

I'd be glad to, but I'm afraid I do not have the skills for that... :-(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Google Chrome

2008-09-02 Thread Vlad GURDIGA
Hello,

In Google Chrome System requirements
(http://www.google.com/support/chrome/bin/answer.py?answer=95411&topic=14660)
they say that a Linux version is going to appear. And in the "Download
and install" help article
(http://www.google.com/support/chrome/bin/answer.py?answer=95346&query=open-source&topic=&type=)
they say that it is open-source.

Does this mean that is hope we'll have a FreeBSD version?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fs cache

2007-06-22 Thread Vlad GURDIGA

On 22/06/07, Nikos Vassiliadis <[EMAIL PROTECTED]> wrote:

On Friday 22 June 2007 14:23, Vlad GURDIGA wrote:
> I'm afraid my background in this area is too thin to go that far...

-CURRENT is for developers or users who want to contribute in
the development process of FreeBSD. And as Noberto said, there
is a lot of debugging info enabled, which make debugging
possible, but hurt performance greatly.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html#CURRENT

> I apologize for the noise.

No worries, just download and install 6.2-RELEASE.


I'd love to but some of my hardware is not supported by 6.2.
Audio chipset Sigmatel 9221 is not supported.
My SATA controller had an issue on 6.2 (I wrote about that on the
list: 
http://lists.freebsd.org/pipermail/freebsd-questions/2007-March/145701.html)
and in the end I was advised to try -CURRENT. This is whar I did and
was happy for a while. Sound and HDD are working perfectly, and
performance is OK even with the debugging options enabled in kernel.
But now I am left without OpenOffice (yes, there is another current
thread here). I Guess it's time to switch to Google Docs for a while,
until 7-RELEASE is out.. ;-)

Thanks for comments.



http://www.freebsd.org/releases/6.2R/announce.html

or a snapshot of 6-STABLE, which is updated
in a slow pace, for fixes or security holes.

http://www.freebsd.org/snapshots/

Releases are considered to be the most stable.
Install 6.2-RELEASE and if you feel like updating
you can use freebsd-update.

Keep in mind that all these new, old, released
or other, are relative to the operating system
itself and not the third party programs(packages,
ports) you'll be using(GNOME, firefox, etc). Ports
are not branched and same versions are used in
all branches... So, running a supported release
does not mean, that you have to run legacy packages.

HTH, Nikos


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fs cache

2007-06-22 Thread Vlad GURDIGA

On 22/06/07, Norberto Meijome <[EMAIL PROTECTED]> wrote:

On Thu, 21 Jun 2007 22:50:25 +0300
"Vlad GURDIGA" <[EMAIL PROTECTED]> wrote:

> On 18/06/07, Norberto Meijome <[EMAIL PROTECTED]> wrote:
> > On Sun, 17 Jun 2007 10:24:21 +0300
> > "Vlad GURDIGA" <[EMAIL PROTECTED]> wrote:
> >
> > > I have FreeBSD 7-CURRENT and Ubuntu on the same computer but Firefox
> > > takes twice as long to start on a fresh boot.
> >
> > If you are using the default CURRENT kernel config, it has several options 
enabled to debug kernel and trace issues. This will slow down your system, although I 
am not sure whether this is actually your problem. You should try -STABLE.
> >
> > you may want to compare the output of strace or similar to see where the 
time is spent.
>
> It looks like strace does not run on 7-CURRENT:
> kpax# strace firefox
> strace: open("/proc/...", ...): No such file or directory

(please keep the list in CC)

mount /proc maybe?

you can always use ktrace


I'm afraid my background in this area is too thin to go that far...
I apologize for the noise.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


OpenOffice.org on 7-CURRENT

2007-06-21 Thread Vlad GURDIGA

Hello,

I have recently tried packaged version 2.2, 2.1 and 2.0 (from
ftp://ooopackages.good-day.net) and the editors/openoffice.org-2-devel
port but none of them worked. The packaged versions core dump with
many error mesages like these:

kpax# openoffice.org-SRC680_m200-swriter
Fatal error 'Exceeded maximum lock level' at line 201 in file
/usr/src/lib/libpthread/thread/thr_rtld.c (errno = 0)
Fatal error 'Exceeded maximum lock level' at line 201 in file
/usr/src/lib/libpthread/thread/thr_rtld.c (errno = 701599904)
.
Fatal error 'Exceeded maximum lock level' at line 201 in file
/usr/src/lib/libpthread/thread/thr_rtld.c (errno = 701599904)

FSegmentation fault (core dumped)
kpax#


kpax# openoffice.org-2.1.0-swriter
Fatal error 'Exceeded maximum lock level' at line 201 in file
/usr/src/lib/libpthread/thread/thr_rtld.c (errno = 697517616)
Fatal error 'Exceeded maximum lock level' at line 201 in file
/usr/src/lib/libpthread/thread/thr_rtld.c (errno = 697517616)
..
/usr/src/lib/libpthread/thread/thr_rtld.c (errno = 642)
Fatal error 'Exceeded maximum lock level' at line 201 in file
/usr/src/lib/libpthread/thread/thr_rtld.c (errno = 642)
Fatal error 'Exceeded maximum lock level' Segmentation fault (core dumped)
kpax#


kpax# openoffice.org-2.2.0-swriter
Fatal error 'Exceeded maximum lock level' at line 201 in file
/usr/src/lib/libpthread/thread/thr_rtld.c (errno = 701428164)
...
Fatal error 'Exceeded maximum lock level' at line 201 in file
/usr/src/lib/libpthread/thread/thr_rtld.c (errno = 701428164)
Segmentation fault (core dumped)
kpax#


and the version built from port core dumped with no error messages.
The kernel is built from 7-CURRENT updated src and ports are up to date too.

What else should I try?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


fs cache

2007-06-17 Thread Vlad GURDIGA

Hello,

I have FreeBSD 7-CURRENT and Ubuntu on the same computer but Firefox
takes twice as long to start on a fresh boot. I've run some simple
tests:
- on FreeBSD it takes about 7 seconds on the first start and about 3
on subsequent startups;
- on Ubuntu it takes about 3 seconds on the first start and about 1 on
subsequent startups;

The only difference I can see is that on Ubuntu, after first start of
Firefox the memory use for cache is 22% vs. 0% on FreeBSD. My guess is
that this is the cause of slower startups on FreeBSD.

My question is: can I tune UFS2 in such a way that the most frequently
used desktop applications would remain for a longer time in disk
cache?

In both cases I use GNOME 2.18, GNOME System Monitor 2.18, and Firefox 2.
Both FreeBSD 7-CURRENT (src and ports tree) and Ubuntu 7.01
(2.6.20-16-generic kernel) are up to date. Both are SMP and 32bit.
Here is the system configuration:
- Intel DP965LT mother-board;
- dual-core Pentium D 820;
- 1GB of dual-channel-enabled DDR2 PC5300 at 667 MHz;
- Seagate, BARRACUDA 7200.7 Plus, 160GB, ST3160827AS, 8M cache, cu NCQ;

As far as I know, FreeBSD does not have support for NCQ, and I do not
know about Ubuntu.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pf(4) + fetch(1) + http://ftp.gnu.org

2007-06-14 Thread Vlad GURDIGA

On 15/06/07, Chuck Swiger <[EMAIL PROTECTED]> wrote:

On Jun 14, 2007, at 2:24 PM, Vlad GURDIGA wrote:
>> Presumably you want to make sure that fetch(1) is using:
>>
>>   FTP_PASSIVE_MODEIf set to anything but `no', forces the FTP
>> code to
>>   use passive mode.
>
> Just in case, I have checked my environment and FTP_PASSIVE_MODE is
> set to "yes". I'm saying "just in case" because the downloads were
> from "http://ftp.gnu.org";, not from "ftp://ftp.gnu.org";, I mean the
> HTTP protocol was used, not FTP.

Hrm, missed that part, or perhaps just ran with the ftp.gnu.org
hostname implying FTP access.  :-)

I might watch out for the "no-df" entry to your scrub line, as it is
probably breaking PMTUd:


I thought about it too and ran a test with that line commented out,
but it did not help.



http://en.wikipedia.org/wiki/Path_MTU_discovery

--
-Chuck



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pf(4) + fetch(1) + http://ftp.gnu.org

2007-06-14 Thread Vlad GURDIGA

Hello,

There is one strange thing going on with this combination. I saw this
many times by now: when fetch(1) is trying to download something from
http://ftp.gnu.org, it is hanging after a very small amount of data;
sometimes on 0%. After disabling pf(4), fetch(1) is not hanging any
more, so I guess that the problem is somewhere in my pf.conf. Here is
it:

 pf.conf -- begin ---
ext_if  = "em0"
icmp_types="echoreq"

# don't filter on the loopback interface
set skip on lo0
set block-policy return

scrub all no-df random-id reassemble tcp

# setup a default deny policy
block all

# activate spoofing protection for the internal interface.
antispoof quick for lo0 inet

# pass tcp, udp, and icmp out on the external (Internet) interface.
# keep state on udp and icmp and modulate state on tcp.
pass in on $ext_if proto tcp from any to $ext_if port 65522 keep state

pass in inet proto icmp all icmp-type $icmp_types keep state
pass out on $ext_if proto tcp all modulate state flags S/SA
pass out on $ext_if proto {udp, icmp} all keep state
 pf.conf -- end ---

Any idea what's wrong here?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Fwd: Installing FreeBSD on large disk >2TB

2007-06-12 Thread Vlad GURDIGA

-- Forwarded message --
From: Francisco Reyes <[EMAIL PROTECTED]>
Date: 13-Jun-2007 03:42
Subject: Re: Installing FreeBSD on large disk >2TB
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], Enrique Ayesta Perojo
<[EMAIL PROTECTED]>, Kris Kennaway <[EMAIL PROTECTED]>




There is a simmilar thread related to filesystems greater than 2TB.
The subject is: Filesystems larger than 2TB

I started the thread and from what I can gather you can not have a
filesystem greater than 2TB on your boot device.
Also you can not use sysinstall to create the partition if it is greater
than 2TB.


The problem happens when i try to use a RAID larger in size to 2 Terabyte,
then the install program freezes and the machine reboots (it cannot find the
disk).


Split your drives.
Make a RAID1 with 2 drives and install
/
/usr
/var
/tmp
swap

The second raid with the rest of the drives you should be able to create the
partition manually, not from sysinstall.


Any clue on how to solve it? FreeBSD can't be installed on disks larger than 2
TB?


As far as I can tell no.

As for creating the partition after you have a working system there were two
methods mentioned.

Was was using newfs against the raw device like
newfs -s /dev/da0s2

The other one involves something called GPT, but seems like it is a more
difficult method and it also seems like there is ongoing discussion about
GPT.

I also think, but am not sure, that it will be easier to have partitions
greater than 2TB when ZFS is incorporated into the OS.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Fwd: Fwd: Installing FreeBSD on large disk >2TB

2007-06-12 Thread Vlad GURDIGA

-- Forwarded message --
From: Kirk McKusick <[EMAIL PROTECTED]>
Date: 12-Jun-2007 16:49
Subject: Re: Fwd: Installing FreeBSD on large disk >2TB
To: Vlad GURDIGA <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], Kris Kennaway <[EMAIL PROTECTED]>,
Enrique Ayesta Perojo <[EMAIL PROTECTED]>


I believe that there are some limitations on booting FreeBSD from
filesystems bigger than 2Tb, but I know of no limitations on building
non-root filesystems bigger than 2Tb. I have copied Kris Kennaway
and the FreeBSD filesystem mailing list in the hope that someone
can give a more precise answer than me.

   Kirk McKusick

-- Forwarded message --
Date: Mon, 11 Jun 2007 17:16:45 +0300
From: "Vlad GURDIGA" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Fwd: Installing FreeBSD on large disk >2TB
X-ASK-Info: Message Queued (2007/06/11 07:17:40)
X-ASK-Info: Confirmed by User (2007/06/11 07:20:20)

Hello,

Wikipedia says that you contributed to development of FFS and I
thought you might give a sure answer to a question about it.
These days I saw a question on freebsd-questions mailing list that was
left without a solution till now [see below].

Is there any chance that FFS can be extended to handle larger disks?

Best regards.


-- Forwarded message --
From: Enrique Ayesta Perojo <[EMAIL PROTECTED]>
Date: 11-Jun-2007 11:13
Subject: Installing FreeBSD on large disk >2TB
To: freebsd-questions@freebsd.org

Hello

I'm trying to install FreeBSD 6.2 on a HP DL320s. This server has a P400 RAID
controller with 12 SATA disk drives attached to it. The RAID controller is
supported in FreeBSD through the ciss driver.

The problem happens when i try to use a RAID larger in size to 2 Terabyte,
then the install program freezes and the machine reboots (it cannot find the
disk). If the array is smaller than 2 Terabytes then there is no problem, the
controller detects the disk and i can install FreeBSD on it. I have tried
with i386 and AMD64 versions (the server has a Xeon processor supported by
AMD64)

Any clue on how to solve it? FreeBSD can't be installed on disks larger than 2
TB?

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Bery does not work on FreeBSD 7-CURRENT

2007-06-09 Thread Vlad GURDIGA

Hello,

I've installed beryl today (tried both: from packages and compiled from
updated ports) on a FreeBSD 7-CURRENT.
When I run beryl from console I get this:

# beryl
Something went wrong with Xgl detection.
Something went wrong with Nvidia detection.Something went wrong with system
check.

When I run beryl-manager I get this:

# beryl-manager
# glxinfo: not found

** (beryl-manager:95111): WARNING **: No pidof, this may not work right.

** (beryl-manager:95111): WARNING **: No pidof, this may not work right.

** (beryl-manager:95111): WARNING **: No pidof, this may not work right.

** (beryl-manager:95111): WARNING **: No pidof, this may not work right.

The red diamond on beryl manager apears in the upper notification area of
GNOME desktop, but when I try to select the beryl window manager from it's
contextual menu, there is a flicker and in less than a second everything is
beck to normal look.

When I run beryl-settings I get this:

# beryl-settings
Traceback (most recent call last):
 File "/usr/local/bin/beryl-settings", line 22, in ?
--- endless pause --
^CFatal error 'Thread is not system scope.
' at line 316 in file /usr/src/lib/libpthread/thread/thr_sig.c (errno = 2)
Abort

Do I miss a package or something? Or it is just because of the development
version on FreeBSD?
Or maybe it is because of my ATI Radeon videocard?
The Xorg 7.2 and xf86-video-ati-6.6.3_2 were installed by the book
(/usr/port/UPDATING) and work fine.

Here is my uname -a:

# uname -a
FreeBSD kpax 7.0-CURRENT FreeBSD 7.0-CURRENT #3: Mon Jun  4 00:03:11 EEST
2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


X.org 7.2 keyboard layout switching does not work

2007-06-08 Thread Vlad GURDIGA

Hello!

After upgrading to Xorg 7.2 "by the book" (/usr/ports/UPDATING), I
could not switch my keyboard layouts as I did with the previous
version. Even more, I could not switch to text-mode console using
Ctrl-Alt-F1.
After I've regenerated a new xorg.conf using "Xorg -configure", I was
able to switch to text-mode console, but after adding the two lines
for keyboard layout switch (from my old xorg.conf):

Option "XkbLayout"  "us,ro"
Option "XKbOptions" "grp:alt_shift_toggle"

Ctrl-Alt-F1 stopped working and the keyboard layout switching did not
work. Google gave me some hints from the Gentoo documentation site
regarding the imposibility to switch to text-mode console, but the
solutions provided there did not work for me.

Are there any substantial changes in the way that keyboard layout
switching works in X.org 7.2 vs. 6.9?

# uname -a
FreeBSD kpax 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Sat Jun  2 20:00:40
EEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Registering installation for...

2007-06-04 Thread Vlad GURDIGA

Hello,

"Registering installation for mplayer-0.99.10_9" took about 8 minutes
(at 97% CPU-core load) of CPU time on one of the two cores on my
Pentium D 820 on a system with 1 GiB of RAM and Barracuda SATA drive.
It looks "a little" too long to me...

Is it OK that pkg_create takes so long so much of CPU?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Undetected DVD-RW

2007-04-13 Thread Vlad GURDIGA

Hello,

My FreeBSD 6.2-STABLE does not recognize the Marvell Technology Group
Ltd. 88SE6101 single-port PATA133 interface on which is attached the
DVD-RW.
As a result (I guess...), I do not have a /dev/acd0 with a GENERIC SMP kernel.
The [verbose] dmesg snippet looks like this:

found-> vendor=0x11ab, dev=0x6101, revid=0xb1
   bus=3, slot=0, func=0
   class=01-01-8f, hdrtype=0x00, mfdev=0
   cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
   lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
   intpin=a, irq=10
   powerspec 2  supports D0 D1 D3  current D0
   MSI supports 1 message
   map[10]: type 4, range 32, base 1018, size  3, enabled

Is it OK to submit a problem report on this issue or there is
something I can do myself to get my DVD-RW working under FreeBSD?


# uname -a
FreeBSD kpax 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Apr 10 22:56:51
EEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/kpax  i386

The motherboard is a Intel Desktop Board DP965LT.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IRQ storm

2007-03-27 Thread Vlad GURDIGA

On 28/03/07, Sten Daniel Soersdal <[EMAIL PROTECTED]> wrote:

Vlad GURDIGA wrote:
> On 27/03/07, Sten Daniel Soersdal <[EMAIL PROTECTED]> wrote:
>> Vlad GURDIGA wrote:
>> > On 27/03/07, Sten Daniel Soersdal <[EMAIL PROTECTED]> wrote:
>> >> Vlad GURDIGA wrote:
>> >> > On 27/03/07, Sten Daniel Soersdal <[EMAIL PROTECTED]> wrote:
>> >> >> Vlad GURDIGA wrote:
>> >> >> > After running this:
>> >> >> >
>> >> >> > /sbin/atacontrol reinit ata2
>> >> >> >
>> >> >> > the storm was gone.
>> >> >> > My HDD in on ata4:
>> >> >> >
>> >> >> > #atacontrol info ata4
>> >> >> > Master:  ad8  Serial ATA II
>> >> >> > Slave:   no device present
>> >> >> >
>> >> >> >
>> >> >> > Why?
>> >> >> >
>> >> >>
>> >> >> Could be one of any number of reasons and my guess is that the
>> drive
>> >> >> wants to enter sleep mode, due to overheating or energy saving. And
>> >> >> either controller, driver or both found it unreasonable.
>> >> >
>> >> > You can see the brand and model of my drive. I have Windows XP on
>> the
>> >> > same computer which works fine. Would the drive want to enter sleep
>> >> > mode only under FreeBSD?
>> >>
>> >> Depends on your workload. Perhaps you do something under FreeBSD that
>> >> generates more heat?
>> >
>> > There is no workload: the storm is there right from the boot of OS.
>> >
>> >>
>> >>
>> >> >> Perhaps you could inform us after you have researched it?
>> >> >
>> >> > I do not have a plain idea about what I could or should research in
>> >> > this case... Could you please be morespecific?
>> >>
>> >> I would start with the name of the SATA controller and drive and see
>> >> whether someone else has had the same problems (search archives and
>> >> google). Then i'd probably check temperatures, chipsets, try -CURRENT
>> >> (for driver updates to see whether that fixes it) and go from there.
>> >
>> > OK, I'll try.
>> >
>> >> See if you can identify a condition that triggers the IRQ storm.
>> >
>> > As I said, there is no special condition: the storm is there right
>> > from the boot of OS.
>> >
>>
>> It doesn't need to be a "special condition" to be a condition.
>> By your description it sounds to me like a problem caused by improper
>> initialization in BIOS but that Windows Drivers "fix", perhaps you need
>> to see if you can upgrade BIOS and SATA controller firmware.
>
> I updated BIOS right after the instalation: it means about a week or
> two ago. I guess the SATA firmware is included.
>

What are your other options?


This is what I'm trying to find out here. :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IRQ storm

2007-03-27 Thread Vlad GURDIGA

On 27/03/07, Sten Daniel Soersdal <[EMAIL PROTECTED]> wrote:

Vlad GURDIGA wrote:
> After running this:
>
> /sbin/atacontrol reinit ata2
>
> the storm was gone.
> My HDD in on ata4:
>
> #atacontrol info ata4
> Master:  ad8  Serial ATA II
> Slave:   no device present
>
>
> Why?
>

Could be one of any number of reasons and my guess is that the drive
wants to enter sleep mode, due to overheating or energy saving. And
either controller, driver or both found it unreasonable.


You can see the brand and model of my drive. I have Windows XP on the
same computer which works fine. Would the drive want to enter sleep
mode only under FreeBSD?


Perhaps you could inform us after you have researched it?


I do not have a plain idea about what I could or should research in
this case... Could you please be morespecific?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IRQ storm

2007-03-26 Thread Vlad GURDIGA

After running this:

/sbin/atacontrol reinit ata2

the storm was gone.
My HDD in on ata4:

#atacontrol info ata4
Master:  ad8  Serial ATA II
Slave:   no device present


Why?



On 25/03/07, Vlad GURDIGA <[EMAIL PROTECTED]> wrote:


On 25/03/07, Josh Carroll <[EMAIL PROTECTED]> wrote:
> > I've changed motherboard recently (now it is Intel DP965LT) and now I
> > have my PC slowed down considerably. vmstat -i shows a huge amount of
> > interrupts on irq17: atapci0:
>
> Do you have atapicam enabled or being loaded as a module?

No, I do not have atapicam enabled. Here is my kldstat output:

Id Refs AddressSize Name
1   14 0xc040 3703a4   kernel
21 0xc0771000 6ea8 linprocfs.ko
32 0xc0778000 1adb8linux.ko
41 0xc0793000 2364 accf_http.ko
51 0xc0796000 aa74 cpufreq.ko
61 0xc07a1000 59a50acpi.ko
71 0xc4a7a000 3000 pflog.ko
81 0xc4a7d000 2d000pf.ko

I've checked my kernel configuration file and I do not have it there
either.

What else should I check?

> If so, I
> have the same problem, which is currently being tracked in this PR:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=103602
>
> A workaround, if you don't need/want to burn cds/dvds is to remove
> atapicam or don't load the module at boot time.
>
> Thanks,
> Josh
>


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IRQ storm

2007-03-25 Thread Vlad GURDIGA

On 25/03/07, Josh Carroll <[EMAIL PROTECTED]> wrote:

> I've changed motherboard recently (now it is Intel DP965LT) and now I
> have my PC slowed down considerably. vmstat -i shows a huge amount of
> interrupts on irq17: atapci0:

Do you have atapicam enabled or being loaded as a module?


No, I do not have atapicam enabled. Here is my kldstat output:

Id Refs AddressSize Name
1   14 0xc040 3703a4   kernel
21 0xc0771000 6ea8 linprocfs.ko
32 0xc0778000 1adb8linux.ko
41 0xc0793000 2364 accf_http.ko
51 0xc0796000 aa74 cpufreq.ko
61 0xc07a1000 59a50acpi.ko
71 0xc4a7a000 3000 pflog.ko
81 0xc4a7d000 2d000pf.ko

I've checked my kernel configuration file and I do not have it there either.

What else should I check?


If so, I
have the same problem, which is currently being tracked in this PR:

http://www.freebsd.org/cgi/query-pr.cgi?pr=103602

A workaround, if you don't need/want to burn cds/dvds is to remove
atapicam or don't load the module at boot time.

Thanks,
Josh


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IRQ storm

2007-03-24 Thread Vlad GURDIGA

Hello,

I've changed motherboard recently (now it is Intel DP965LT) and now I
have my PC slowed down considerably. vmstat -i shows a huge amount of
interrupts on irq17: atapci0:
interrupt  total   rate
irq1: atkbd0   12535  4
irq12: psm0 9410  3
irq17: atapci0 189627864  61507
irq19: atapci1+   391391126
irq20: em0 29076  9
irq22: pcm020557  6
cpu0: timer  6133486   1989
cpu1: timer  6133460   1989
Total  202357779  65636

Since this problem came, my Xorg stopped seeing my PCIE video card. I
guess these two could be related.
I've tried to boot in safe mode and with ACPI disabled but the problem
persists. I've rebuild the kernel with minimal set of options and
devices, but it did not help. I've disabled all non-vital devices from
BIOS, tried to put my SATA drive in Native and legacy modes, tried
with S.M.A.R.T. disabled, disabled USB, FireWire, NIC, serial and
parallel ports, floppy controller, but nothing helped.
What else should I try?

I've attached my dmesg output (with boot_verbose="YES" in loader.conf,
that's why it is so large)
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #0: Sat Mar 24 09:35:30 EET 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/kpax
WARNING: MPSAFE network stack disabled, expect reduced performance.
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0796000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc07961ec.
Calibrating clock(s) ... i8254 clock: 1190766 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 2802815953 Hz
CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2802.82-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf44  Stepping = 4
  
Features=0xbfebfbff
  Features2=0x641d>
  AMD Features=0x2010
  Cores per package: 2
real memory  = 1055580160 (1006 MB)
Physical memory chunk(s):
0x1000 - 0x0008dfff, 577536 bytes (141 pages)
0x0010 - 0x003f, 3145728 bytes (768 pages)
0x00828000 - 0x3cce3fff, 1011597312 bytes (246972 pages)
0x3df5 - 0x3edfafff, 15380480 bytes (3755 pages)
0x3ee07000 - 0x3ee9dfff, 618496 bytes (151 pages)
avail memory = 1027379200 (979 MB)
MP Configuration Table version 1.4 found at 0xc00fe670
Table 'FACP' at 0x3eefc000
Table 'APIC' at 0x3eef6000
MADT: Found table at 0x3eef6000
APIC: Using the MADT enumerator.
MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
SMP: Added CPU 0 (AP)
MADT: Found CPU APIC ID 1 ACPI ID 2: enabled
SMP: Added CPU 1 (AP)
MADT: Found CPU APIC ID 130 ACPI ID 3: disabled
MADT: Found CPU APIC ID 131 ACPI ID 4: disabled
INTR: Adding local APIC 0 as a target
ACPI APIC Table: 
INTR: Adding local APIC 1 as a target
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
pnpbios: Found PnP BIOS data at 0xc00fe0e0
pnpbios: Entry = f:b07f  Rev = 1.0
pnpbios: OEM ID 8224744e
Other BIOS signatures found:
APIC: CPU 0 has ACPI ID 1
APIC: CPU 1 has ACPI ID 2
MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec0
ioapic0: Changing APIC ID to 2
ioapic0: Routing external 8259A's -> intpin 0
MADT: Interrupt override: source 0, irq 2
ioapic0: Routing IRQ 0 -> intpin 2
MADT: Interrupt override: source 9, irq 9
ioapic0: intpin 9 trigger: level
lapic0: Routing NMI -> LINT1
lapic1: Routing NMI -> LINT1
ioapic0  irqs 0-23 on motherboard
cpu0 BSP:
 ID: 0x   VER: 0x00050014 LDR: 0x DFR: 0x
  lint0: 0x00010700 lint1: 0x0400 TPR: 0x SVR: 0x01ff
  timer: 0x000100ef therm: 0x0001 err: 0x0001 pcm: 0x0001
mem: 
Pentium Pro MTRR support enabled
null: 
io: 
random: 
npx0: INT 16 interface
acpi0:  on motherboard
ioapic0: routing intpin 9 (ISA IRQ 9) to vector 48
acpi0: [MPSAFE]
pci_open(1):mode 1 addr port (0x0cf8) is 0x8000fa18
pci_open(1a):   mode1res=0x8000 (0x8000)
pci_cfgcheck:   device 0 [class=06] [hdr=00] is there (id=29a08086)
pcibios: No call entry point
acpi_bus_number: root bus has no _BBN, assuming 0
AcpiOsDerivePciId: bus 0 dev 31 func 0
acpi_bus_number: root bus has no _BBN, assuming 0
AcpiOsDerivePciId: bus 0 dev 31 func 0
acpi_bus_number: root bus has no _BBN, assuming 0
AcpiOsDerivePciId: bus 0 dev 0 func 0
acpi0: Power Button (fixed)
acpi0: wakeup code va 0xd862f000 pa 0x8d000
acpi_bus_number: root bus has no _BBN, assuming 0
AcpiOsDerivePciId: bus 0 dev 0 func 0
acpi_bus_number: root bus has no _BBN, assuming 0
AcpiOsDerivePciId: bus 0 dev 0 func 0

Fwd: pause before "Trying to mount root from ufs:"

2007-03-19 Thread Vlad GURDIGA

Hello,

Very glad to be back with a a solution to my earlier problem: the key
was the SCSI_DELAY option in kernel: I've change it from the default
5000 to 500 (I guess milliseconds) and now th delay before "Trying to
mount root from ufs" is gone.

The way to solution was not very smart but simple, and I'm going to
tell it because it may help with other troubles too: I tried to boot
with a 6.0-RELEASE but the delay was still there, then I tried to boot
from a 5.4-RELEASE boot CD and it went smooth! No delay! A diff
between output of sysctl -a on both versions revealed a possible
difference: the sysctl kern.cam.scsi_delay variable is not present on
5.4-RELEASE (GENERIC) at all. There is also a chapter in handbook
about this: 
http://graphics.itb.ac.id/wnugroho/freebsd/handbook/configtuning-disk.html
11.12.1.6 SCSI_DELAY (kern.cam.scsi_delay).


Have a nice day!



-- Forwarded message ------
From: Vlad GURDIGA <[EMAIL PROTECTED]>
Date: 15-Mar-2007 10:20
Subject: pause before "Trying to mount root from ufs:"
To: freebsd-questions@freebsd.org


Hello,

My motherboard Intel D955XBK died these day, I took it to service
center and they gave me a new one of another model: DP965LT.
On my home computer I have dual boot with Windows XP and FreeBSD
6.2-STABLE. I've expected Windows XP not to boot at all after the
change, but fortunately it successfully came up, found all new
component and everything went smooth. What I did not expect at all is
that FreeBSD showed some problems: there is a short pause on boot
before (I've measured about 4 seconds) before "SMP: AP CPU #1
Launched!", and a long one (I've measured about 90 seconds!!!) between
this message and "Trying to mount root from ufs:/dev/ad8s2a".
Last night (14.03.2007) I've updated mys source tree (6.2-STABLE) an
rebuilt the work and kernel hoping for salvation to come, but it did
not. Rebuilt SMP-GENERIC but it did not help either.
Another (bad) change that came with the motherboard change is that
Xorg is hanging on start without any message. If I try to get back to
console with Alt-Ctrl-FN, it beeps. Alt-Ctrl-Backspace does not work
either. Keyboard is working: NumLock responds and fortunately
Alt-Ctrl-Del works fine too, being the only way out of Xorg's hang.

With the exception of motherboard nothing changed in hardware.

What could be the cause?


Here is the dmesg output.

 dmesg output start 
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #0: Wed Mar 14 23:33:20 EET 2007
   [EMAIL PROTECTED]:/usr/src/sys/i386/compile/kpax.smp
WARNING: MPSAFE network stack disabled, expect reduced performance.
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2802.82-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0xf44  Stepping = 4
 
Features=0xbfebfbff
 Features2=0x641d>
 AMD Features=0x2010
 Cores per package: 2
real memory  = 1055305728 (1006 MB)
avail memory = 1019219968 (972 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0:  on acpi0
p4tcc0:  on cpu0
cpu1:  on acpi0
p4tcc1:  on cpu1
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
drm0:  port 0x2000-0x20ff mem
0x4000-0x4fff,0x5021-0x5021 irq 16 at device 0.0 on
pci1
info: [drm] Initialized radeon 1.25.0 20060524
pci1:  at device 0.1 (no driver attached)
pci0:  at device 3.0 (no driver attached)
em0:  port
0x30c0-0x30df mem 0x5030-0x5031,0x50324000-0x50324fff irq 20
at device 25.0 on pci0
em0: Ethernet address: 00:19:d1:09:de:de
em0: [GIANT-LOCKED]
uhci0:  port 0x30a0-0x30bf irq 16 at
device 26.0 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0x3080-0x309f irq 21 at
device 26.1 on pci0
uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0:  mem 0x50325400-0x503257ff
irq 18 at device 26.7 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2:  on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI r

pause before "Trying to mount root from ufs:"

2007-03-15 Thread Vlad GURDIGA

Hello,

My motherboard Intel D955XBK died these day, I took it to service
center and they gave me a new one of another model: DP965LT.
On my home computer I have dual boot with Windows XP and FreeBSD
6.2-STABLE. I've expected Windows XP not to boot at all after the
change, but fortunately it successfully came up, found all new
component and everything went smooth. What I did not expect at all is
that FreeBSD showed some problems: there is a short pause on boot
before (I've measured about 4 seconds) before "SMP: AP CPU #1
Launched!", and a long one (I've measured about 90 seconds!!!) between
this message and "Trying to mount root from ufs:/dev/ad8s2a".
Last night (14.03.2007) I've updated mys source tree (6.2-STABLE) an
rebuilt the work and kernel hoping for salvation to come, but it did
not. Rebuilt SMP-GENERIC but it did not help either.
Another (bad) change that came with the motherboard change is that
Xorg is hanging on start without any message. If I try to get back to
console with Alt-Ctrl-FN, it beeps. Alt-Ctrl-Backspace does not work
either. Keyboard is working: NumLock responds and fortunately
Alt-Ctrl-Del works fine too, being the only way out of Xorg's hang.

With the exception of motherboard nothing changed in hardware.

What could be the cause?


Here is the dmesg output.

 dmesg output start 
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #0: Wed Mar 14 23:33:20 EET 2007
   [EMAIL PROTECTED]:/usr/src/sys/i386/compile/kpax.smp
WARNING: MPSAFE network stack disabled, expect reduced performance.
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2802.82-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0xf44  Stepping = 4
 
Features=0xbfebfbff
 Features2=0x641d>
 AMD Features=0x2010
 Cores per package: 2
real memory  = 1055305728 (1006 MB)
avail memory = 1019219968 (972 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0:  on acpi0
p4tcc0:  on cpu0
cpu1:  on acpi0
p4tcc1:  on cpu1
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
drm0:  port 0x2000-0x20ff mem
0x4000-0x4fff,0x5021-0x5021 irq 16 at device 0.0 on
pci1
info: [drm] Initialized radeon 1.25.0 20060524
pci1:  at device 0.1 (no driver attached)
pci0:  at device 3.0 (no driver attached)
em0:  port
0x30c0-0x30df mem 0x5030-0x5031,0x50324000-0x50324fff irq 20
at device 25.0 on pci0
em0: Ethernet address: 00:19:d1:09:de:de
em0: [GIANT-LOCKED]
uhci0:  port 0x30a0-0x30bf irq 16 at
device 26.0 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0x3080-0x309f irq 21 at
device 26.1 on pci0
uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0:  mem 0x50325400-0x503257ff
irq 18 at device 26.7 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2:  on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
pci0:  at device 27.0 (no driver attached)
pcib2:  at device 28.0 on pci0
pci2:  on pcib2
pcib3:  at device 28.1 on pci0
pci3:  on pcib3
atapci0:  port
0x1018-0x101f,0x1024-0x1027,0x1010-0x1017,0x1020-0x1023,0x1000-0x100f
mem 0x5010-0x501001ff irq 17 at device 0.0 on pci3
ata2:  on atapci0
ata3:  on atapci0
pcib4:  at device 28.2 on pci0
pci4:  on pcib4
pcib5:  at device 28.3 on pci0
pci5:  on pcib5
pcib6:  at device 28.4 on pci0
pci6:  on pcib6
uhci2:  port 0x3060-0x307f irq 23 at
device 29.0 on pci0
uhci2: [GIANT-LOCKED]
usb3:  on uhci2
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhci3:  port 0x3040-0x305f irq 19 at
device 29.1 on pci0
uhci3: [GIANT-LOCKED]
usb4:  on uhci3
usb4: USB revision 1.0
uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhci4:  port 0x3020-0x303f irq 18 at
device 29.2 on pci0
uhci4: [GIANT-LOCKED]
usb5:  on uhci4
usb5: USB revision 1.0
uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub5: 2 ports with 2 

Re: bpf kernel module

2006-11-12 Thread Vlad GURDIGA

On 12/11/06, Lowell Gilbert <[EMAIL PROTECTED]> wrote:

"Vlad GURDIGA" <[EMAIL PROTECTED]> writes:

> I'm trying to keep very close touch with 6.1_STABLE cvsupping sources
> once a week or even more often. I'm thinking of removing as much as
> possible devices from the kernel loading them from /boot/loader.conf
> instead, so I could rebuild and install them without a whole
> kernel/world rebuild and reboot when sources change. I'm not sure this
> is a correct way, any piece of advice regarding this would be highly
> appreciated. :)
>
> So, I've successfully done that with sound and network card drivers,
> but did not succeed with removing bpf from the kernel. Booting a
> kernel with no bpf support, and with
> ng_bpf_load="YES" in my loader.conf, the pflogd fails to start with this 
error:
>
> Nov 11 20:22:33 uxterm pflogd[10251]: Failed to initialize: (no
> devices found) /dev/bpf0: No such file or directory
> Nov 11 20:22:33 uxterm pflogd[10251]: Exiting, init failure
>
> And, tcpdump also fails saying that "no suitable device found". Of
> course there is no /dev/bpf0.
>
> Is there any way to have the bpf0 device without booting a kernel with
> bpf device included?

The kernel module *should* work.  I suspect that there is an error
message when it tries to load the module and fails.  You could check
for that error message, or try to load the module by hand and see if
you get a clue to the problem.



Here is how I did: commented out the "device bpf" line in the kernel,
built and installed the kernel, and added ng_bpf_load="YES" in
loader.conf. I guess this is the module for the bpf (is this correct?
I'm not 100% sure). So, booting with the new kernel, and the module
being loaded from the loader.conf, the pflogd fails to start with this
error:

Nov 11 20:22:33 uxterm pflogd[10251]: Failed to initialize: (no
devices found) /dev/bpf0: No such file or directory
Nov 11 20:22:33 uxterm pflogd[10251]: Exiting, init failure

And, tcpdump also fails saying that "no suitable device found". Of
course there is no /dev/bpf0.

Unfortunately, I do not have enough experience to figure out how to
load this device at runtime. Is there any solution to this situation?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


bpf kernel module

2006-11-11 Thread Vlad GURDIGA

Hello,

I'm trying to keep very close touch with 6.1_STABLE cvsupping sources
once a week or even more often. I'm thinking of removing as much as
possible devices from the kernel loading them from /boot/loader.conf
instead, so I could rebuild and install them without a whole
kernel/world rebuild and reboot when sources change. I'm not sure this
is a correct way, any piece of advice regarding this would be highly
appreciated. :)

So, I've successfully done that with sound and network card drivers,
but did not succeed with removing bpf from the kernel. Booting a
kernel with no bpf support, and with
ng_bpf_load="YES" in my loader.conf, the pflogd fails to start with this error:

Nov 11 20:22:33 uxterm pflogd[10251]: Failed to initialize: (no
devices found) /dev/bpf0: No such file or directory
Nov 11 20:22:33 uxterm pflogd[10251]: Exiting, init failure

And, tcpdump also fails saying that "no suitable device found". Of
course there is no /dev/bpf0.

Is there any way to have the bpf0 device without booting a kernel with
bpf device included?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


src version

2006-08-24 Thread Vlad GURDIGA

Hello,

After I do a:

bsd# cvsup ports-supfile

I do a

bsd# pkg_version -vol \<

to see if any of my installed ports have newer versions. After I do a:

bsd# cvsup stable-supfile

is there any way to see the same information for the operating system on a
i386 FreeBSD 6.1-STABLE, smp custom kernel?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


burncd: ioctl(CDRIOCNEXTWRITEABLEADDR): Input/output error

2006-06-24 Thread Vlad GURDIGA

Hello,

I get this error when I try to write (under root) a CD-RW or CD-R as
is found in handbook:

besa# burncd data FC-5-i386-disc1.iso fixate
burncd: ioctl(CDRIOCNEXTWRITEABLEADDR): Input/output error

Here are my (SMP) system details:

besa# uname -a
FreeBSD besa.org 6.1-STABLE FreeBSD 6.1-STABLE #24: Thu Jun 22
21:36:23 EEST 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/besa
i386

besa# dmesg | grep acd
acd0: DVDR  at ata1-master UDMA66
acd0: FAILURE - READ_TRACK_INFO ILLEGAL REQUEST asc=0x24 ascq=0x00
acd0: FAILURE - READ_TRACK_INFO ILLEGAL REQUEST asc=0x24 ascq=0x00


Is there any way to make it work?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


nat question

2006-06-19 Thread Vlad GURDIGA

Hello,

I could not figureout the answer to a question. Here is the situation:

PC A: Windows XP Pro.
PC B: FreeBSD 6.1, connected to internet, acting as a gateway for PC
A, with NAT (built by hanbook instructions
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html),
open firewall, no restrictions.

For long time I have used the PC A with PC B as gateway and everything
worked just fine, but now PC A can only ping any host (by IP) in
Internet. No other traffic (DNS queries, FTP or HTTP) does not reach
the Internet comming back with TTL exceeded response apparently from
de destination host (I've seen this on PC B with Ethereal).

Question: Is there any way my ISP can 'see' and cut out NATted traffic
from PC A letting only the traffic from PC B pass?! How?!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Too many holes in the physical address space, giving up

2006-05-09 Thread Vlad GURDIGA

Hello,

I got 2x512 MB  DDR2 (240) PC5300 667MHZ CL5.0 TWINMOS on an Intel
D955XBK motherboard with dual channel, and every time on boot I see
this message before the dmesg:


FreeBSD/i386 bootstrap loader, Revision 1.1
([EMAIL PROTECTED], Tue May  9 22:16:44 EEST 2006)
Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=0x288938 data=0x325e0+0x2d4a8 syms=[0x4+0x3d430+0x4+0x4
dc34]
/
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
/boot/kernel/acpi.ko text=0x42ed4 data=0x2280+0x10f0 syms=[0x4+0x7ad0+0x4+0xa709
]
Too many holes in the physical address space, giving up
Too many holes in the physical address space, giving up
Too many holes in the physical address space, giving up
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RC #3: Sun Apr 30 21:17:00 EEST 2006
...



Are the 4 messages about "Too many holes in the physical address
space, giving up" telling that there is a problem?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

FreeBSD-multi-boot

2006-05-06 Thread Vlad GURDIGA

Hello all,

I have these slices on my HDD:
- /dev/ad0s1 - Windows XP
- /dev/ad0s2 - FreeBSD/i386
- /dev/ad0s3 - FreeBSD/amd64

and I want them all in my boot.ini.

Till now I succeeded with FreeBSD/i386 (first did "dd if=/dev/ad0s2
of=boot.bsd bs=512 count=1" from FreeBSD/i386, then copied the
resulted "boot.bsd" file to Windows C:\)

I did the same trick with FreeBSD/amd64 (first did "dd if=/dev/ad0s3
of=boot64.bsd bs=512 count=1" from FreeBSD/amd64, then copied the
resulted "boot64.bsd" file to Windows C:\) so, my boot.ini looks like
this:

---cut here--
[boot loader]
timeout=3
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /noexecute=optin /fastdetect
C:\boot.bsd="UNIX FreeBSD/i386"
C:\boot64.bsd="UNIX FreeBSD/amd64"
---cut here--


Now, the problem is that when I choose "UNIX FreeBSD/amd64" from the
boot menu, it boots "UNIX FreeBSD/i386"!!!

What did I missed?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

FreeBSD 6.1-RC Sigmatel 9221 audio driver

2006-04-29 Thread Vlad GURDIGA

Hello,

I've changed my hardware lately and cannot find the driver for sound
card. My motherboard is an Intel D955XBK with on board Sigmatel 9221
audio. On Windows it plays, so, the hardware part is fine.

Also cannot find the driver for my new video card: PCI Express x16
ASUS ATI RADEON X550 GE. The standard VESA driver is ok for me, by I'm
just wondering if there is a driver available, so I could test 3D
accelaration on FreeBSD.

I'm running an up-to-date FreeBSD 6.1-RC. Any advice or a link is appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

mysql rc.d script

2006-04-18 Thread Vlad GURDIGA
Hello all,

I have a FreeBSD 6-current build from almost the most recent source.
I have installed mysql41-server port and observed a strange behaviour:
as usual, I only have to put the mysqld_enable="yes" in my
/etc/rc.conf to have mysql server started at boot, but this time it
did not work. I've checked the script mode and it was OK, just like
other scripts in there, and like the Apache starter script that worked
fine and after i put enable_apache="YES" in rc.conf.

The only difference between mysql server starter script and others was
the missing ".sh" suffix. After I renamed mysql-server to
mysql-server.sh everything worked fine.

Is that OK?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"