Re: machine which freeze with openbsd 4.2

2007-10-21 Thread Denise H. G.
Nicolas Letellier <[EMAIL PROTECTED]> writes:

> Hello,
>
> I obtained my CDs of OpenBSD 4.2 yesterday, at Open Source Days at Lyon.
> However, I have problems with my machine.
>
> This machine freezes after few minutes. I cannot do nothing and i must
> restart it with reset.
>
> This is my configuration :
> Core2Duo 4400
> Motherboard Asustek P5B (Intel P965 Express)
> 2*1 Go DDR2 Corsair
> nVidia 8600 (doesn't works with Xorg < 7.2)
> SoundBlaster Audigy (no existing driver in BSD licence, but it's not
> important for me, at the moment)
>
> You can see my dmesg here : 

Try to boot without X and see if it still hangs. If it does not, this
might be the problem of Xorg (the `nv' driver ?)


-- 
And God spake unto Moses, and said unto him, I am the LORD:
-- Exodus 6:2



Re: machine which freeze with openbsd 4.2

2007-10-21 Thread Denise H. G.
Nicolas Letellier <[EMAIL PROTECTED]> writes:

> Denise H. G. a icrit :
>>
>> Try to boot without X and see if it still hangs. If it does not, this
>> might be the problem of Xorg (the `nv' driver ?)
>>
> Thanks for you response.
> I tested again and again this release of openbsd and my machine. I have
> the problem, with or without X launched...
> 2 minutes ago, the system freezed when i do a vim /var/log/Xorg.log, in
> a non-X session, with root.
>
> I don't understand why I have this problem...

What kernel are you booting? I mean, are you using an MP or UP kernel?
You can try either of them and see whether the problem arises or not.

>
> --
> Nicolas Letellier, administrateur systhmes
>
> Site personnel : http://nicoelro.net
> Curriculum-vitae : http://nletellier.info
>
> OpenBSD - free, functional and secure

--
And God spake unto Moses, and said unto him, I am the LORD:
-- Exodus 6:2



Re: Odd FFS behavior

2007-10-22 Thread Denise H. G.
David Vasek <[EMAIL PROTECTED]> writes:

> On Mon, 22 Oct 2007, Otto Moerbeek wrote:
>
>> On Mon, 22 Oct 2007, Edd Barrett wrote:
>>
>>> On 22/10/2007, Otto Moerbeek <[EMAIL PROTECTED]> wrote:
 Does your target dir /mnt/usb exist?
>>>
>>> It does. I copied another album onto an SD mounted there and listened
>>> to it on the way to work today.
>>
>> Show a ls -la of the source dir and a stat(1) of the dir and at least
>> one of the problem files.
>
> Hello,
> perhaps output of the following will be more useful:
> mount |grep /mnt/usb
> df /mnt/usb
> df -i /mnt/usb
> ls -la /mnt/usb
> fsck /mnt/usb
>
> The cp program complains about the target files, not the source.

better use `cp -R' rather than `cp -r'. The man page of cp(1) says so.

>
> Regards,
> David

-- 
And God spake unto Moses, and said unto him, I am the LORD:
-- Exodus 6:2



Re: amd64 X cursor disappear

2008-03-17 Thread Denise H. G.
Antoine Jacoutot <[EMAIL PROTECTED]> writes:

> Hi.
>
> I began to play with amd64 and I'm running into a weird issue.
> This is under:
> OpenBSD 4.3 (GENERIC) #1367: Mon Mar 10 14:28:13 MDT 2008
>
> The first time I `startx` from the console, everything works fine.
> Then, if I quit my X session, then try to re `startx` again, then I
> loose my mouse cursor. Note that the cursor is still there, it is just
> invisible!
> I tried playing with different xorg.conf configurations, as well as the
> HWCursor option without success.

You may have a try by changing the mouse protocol from "wsmouse" to
"auto", for PS/2 mouses this might work. Anyway I don't guarantee this
would work. It seems this is a bug in the nv driver. While shifting
between virtual ttys, the display driver should store/restore
everything, including the mouse cursor.

If that doesn't work. You may disable hardware cursor and XAA
acceleration. This may be the last resort, I think.

>
> Some info here (bug me if you need more):
>
> Xorg.0.log --> http://www.bsdfrog.org/tmp/Xorg.0.log
>
> xorg.conf --> http://www.bsdfrog.org/tmp/xorg.conf
>
> dmesg --> http://www.bsdfrog.org/tmp/dmesg
>
> diff between working and non-working logs -->
> http://www.bsdfrog.org/tmp/Xorg.diff
>
> Cheers!

-- 
Denise H. G. 



Re: Would OpenBSD and Squid be considered a "Proxy Firewall"?

2008-03-22 Thread Denise H. G.
"Ed Flecko" <[EMAIL PROTECTED]> writes:

> Hi folks,
> I'm reading a book on network security and it mentions "proxy
> firewalls", so I'm wondering if an OpenBSD box with Squid installed
> would fit this description? Or, are there other "proxy firewalls" the
> author is referring to?
>
> The book mentions that although "proxy firewalls" tend to slow traffic
> down, they are much more secure than a typical, "statefull packet
> filtering" firewall. He says they will ignore the typical "network
> discovery" methods, i.e. nmap, etc., etc.
>
> As a matter of curiosity, has anyone ran an nmap scan against an
> OpenBSD box with Squid? What did the scan results indicate?

I have an ancient box, which is an AMD K6 266MHz with 64M RAM, running
OBSD 4.2 + pf + squid. I use it as a home router + firewall + WWW cache.
Since it is running smooth, quiet and well, it just sits in one corner
without my further investigations. But I don't know how `proxy' plus
`firewall' would enhance security issues. Would you elaborate on it?

  

>
> Thank you,
> Ed

-- 
Denise H. G. 



Re: MySQL causing unreferenced files during fsck

2009-11-01 Thread Denise H. G.
Mark Yieh  writes:

> Hi everyone,
> I'm not sure if this is any cause for concern, but I
> recently had to run an fsck due to a power failure
> on my base 4.6 i386 box, and I noticed some
> unreferenced files from MySQL.
> I installed MySQL from packages and followed the
> instructions for a secure install.
> I'm pretty new to OpenBSD and system administration
> in general, so I'm not sure if this is a big issue.
> If it's not then is there a way for me to clear these files
> so the next time I run fsck I won't see these errors?
>
> Here is the output from the fsck program:
> fragmentation)
> ** /dev/rsd0e (NO WRITE)
> ** Last Mounted on /tmp
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> UNREF FILE I=8  OWNER=_mysql MODE=100600
> SIZE=0 MTIME=Nov  1 20:55 2009
> CLEAR? no
>
> UNREF FILE I=9  OWNER=_mysql MODE=100600
> SIZE=0 MTIME=Nov  1 20:55 2009
> CLEAR? no
>
> UNREF FILE I=10  OWNER=_mysql MODE=100600
> SIZE=0 MTIME=Nov  1 20:55 2009
> CLEAR? no
>
> UNREF FILE I=11  OWNER=_mysql MODE=100600
> SIZE=0 MTIME=Nov  1 20:55 2009
> CLEAR? no
>
> UNREF FILE I=12  OWNER=_mysql MODE=100600
> SIZE=0 MTIME=Nov  1 20:55 2009
> CLEAR? no
>

Hi,

It seems that these unreferenced files are all located in /tmp, I think
you can safely run a 'fsck -y /tmp' to fix the issue in the single user
mode. 

> Here's how I start my MySQL daemon.
>
> if [ -x /usr/local/bin/mysqld_safe ] ; then
> su -c mysql root -c '/usr/local/bin/mysqld_safe > /dev/null
> 2>&1 &'
> echo -n ' mysql'
> fi
>
> I have that in /etc/rc.local.
> That was how the MySQL package suggested to start the daemon.
>
> Thanks for your help and thanks to the OpenBSD team for their time and
> effort.
>
>
>

-- 
tamgya |aT| GmAiL |DoT| cOm



Re: How to correctly run a short SMART self test and retrieve results

2009-11-15 Thread Denise H. G.
On 2009/11/15 at 13:29, Mark Hellewell  wrote:
> 
> Hello,
> Please can anybody tell me how to correctly run a SMART offline test
> using
> atactl? I read through the atactl man page but am not sure how to go
> about
> actually executing the self test and gathering the results. After having
> turned on SMART support for my device using

Hi

How about the smartmontools in the port?


-- 
(dhg) darcsis |aT| gmail |DoT| COM



Re: Changing the NIC on installed system?

2009-11-18 Thread Denise H. G.
Roger Schreiter  writes:

> Hello,
>
> I did not yet understand very well, how the NIC drivers are
> selected. Is it done while installing OpenBSD or is it
> done at boot?
>
> In the latter case, I assume, I can replace a PCI network
> interface without changing any driver settings.

NIC drivers are all in a GENERIC kernel, I think. So, if you are running
a GENERIC, you don't have to change many driver settings.

>
> If the logical interface name will be different, I maybe
> will have to rename hostname.vge0 to hostname.XX0 or similar.

true.

>
> Or are there much more changes necessary, when replacing a
> MikroTik NIC by an Intel one? System in OpenBSD-4.5
>

If you write your interface name at somewhere else, you have to change
them accordingly, I guess.

>
> Regards,
> Roger.
>
>
>

regards.

-- 
tamgya |aT| GmAiL |DoT| cOm



OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory

2010-12-11 Thread Denise H. G.
Hi guys.

Recently I installed OpenBSD 4.8 and found out that it can't detect 4GB
memory on my amd64 box. From the output of dmesg I can see it detects
all the memory hardware (4x1G memory bars). Yet it can only use about
3.5G of them, like an i386 kernel does.

I've googled the issue and some say one has to 'config' the default
kernel (i.e., bsd.mp). But I am not very sure that I know how to do
that... My question is: Is there anything I can do to make bsd.mp detect
all the 4G memory on my amd64? There must be some way... I think.

Many Thanks!

-- 
When you are right be logical,
when you are wrong be-fuddle.



Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory

2010-12-12 Thread Denise H. G.
On 2010/12/12 at 19:51, Martin Schrvder  wrote:
>
> 2010/12/12 Predrag Punosevac :
>> http://marc.info/?l=openbsd-misc&m=127593716916639&w=1
>
> http://marc.info/?l=openbsd-misc&m=127601395920661&w=1
> http://quigon.bsws.de/papers/2010/bsdcan-openbsdupdate/mgp2.html
>
> Best
>Martin
>
>
>

Well... any way thanks! I think that explans everything.

Thanks! haha.

--
Sale promotions don't.




Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory

2010-12-13 Thread Denise H. G.
On 2010/12/13 at 21:26, Nick Jones  wrote:
> 
> On Sun, 12 Dec 2010 at 20:29:58 +0800, Denise H. G. wrote:
>> On 2010/12/12 at 19:51, Martin Schrvder  wrote:
>> >
>> > 2010/12/12 Predrag Punosevac :
>> >> http://marc.info/?l=openbsd-misc&m=127593716916639&w=1
>> >
>> > http://marc.info/?l=openbsd-misc&m=127601395920661&w=1
>> > http://quigon.bsws.de/papers/2010/bsdcan-openbsdupdate/mgp2.html
> 
> FWIW, I'm running -current with BIGMEM enabled on my X200 and it's
> running fine.  I've attached the output of dmesg and pcidump -v for
> reference.
> 
> Kernel is generic otherwise, just renamed.
> 

Great! Did you recompile your kernel? Or just modified your kernel by
using config(8) ? I am rather new to OpenBSD...

-- 
The chief cause of problems is solutions.



Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory

2010-12-14 Thread Denise H. G.
On 2010/12/14 at 00:53, Nick Jones  wrote:
> 
> On Mon, 13 Dec 2010 at 22:55:59 +0800, Denise H. G. wrote:
>> > FWIW, I'm running -current with BIGMEM enabled on my X200 and it's
>> > running fine.  I've attached the output of dmesg and pcidump -v for
>> > reference.
>> > 
>> > Kernel is generic otherwise, just renamed.
>> > 
>> 
>> Great! Did you recompile your kernel? Or just modified your kernel by
>> using config(8) ? I am rather new to OpenBSD...
> 
> You need to amend:
> 
> /usr/src/sys/arch/amd64/amd64/machdep.c
> 
> And change the relevant line (1183 in the -current source I checked out
> yesterday) so that it says:
> 
> int bigmem = 1;
> 
> Then recompile your kernel as per the FAQ, reboot, and cross your fingers.
> Report your success (or failure) here.
> 

Thanks for your reply!

But the point is that I haven't yet built a custom kernel ever
I only build custom kernels on FreeBSD... it seems custom kernels are
not popular in OpenBSD world...

Anyway thanks again!

-- 
If reproducibility may be a problem conduct the
test only once.



Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory

2010-12-14 Thread Denise H. G.
On 2010/12/14 at 02:45, Jeff Ross  wrote:
> 
> On 12/13/10 09:52, Nick Jones wrote:
>> On Mon, 13 Dec 2010 at 22:55:59 +0800, Denise H. G. wrote:
>>>> FWIW, I'm running -current with BIGMEM enabled on my X200 and it's
>>>> running fine.  I've attached the output of dmesg and pcidump -v for
>>>> reference.
>>>> 
>>>> Kernel is generic otherwise, just renamed.
>>>> 
>>> 
>>> Great! Did you recompile your kernel? Or just modified your kernel by
>>> using config(8) ? I am rather new to OpenBSD...
>> 
>> You need to amend:
>> 
>> /usr/src/sys/arch/amd64/amd64/machdep.c
>> 
>> And change the relevant line (1183 in the -current source I checked out
>> yesterday) so that it says:
>> 
>> int bigmem = 1;
>> 
>> Then recompile your kernel as per the FAQ, reboot, and cross your fingers.
>> Report your success (or failure) here.
>> 
> 
> Be aware that you are treading on unproven and unsupported ground, and
> the devs are not interested in hearing about bigmem related problems.
> 
> Here is a PR I submitted not to long ago that was immediately closed
> because it was based on a bigmem kernel:
> 
> http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yes&numbers=6453

Thanks.

I've switched to FreeBSD for my desktop with 4G memory... I am
considering giving it a try on my laptop with less memory...

> 
> At the bottom of this lengthy bug report is the response of the dev
> who closed it.
> 
> Jeff Ross
> 
> 
> 



-- 
If reproducibility may be a problem conduct the
test only once.



Re: OpenBSD 4.8's bsd.mp doesn't detect 4GB Memory

2010-12-14 Thread Denise H. G.
On 2010/12/14 at 20:32, Tomas Bodzar  wrote:
>
> On Tue, Dec 14, 2010 at 1:03 PM, Denise H. G.  wrote:
>> On 2010/12/14 at 02:45, Jeff Ross  wrote:
>>>
>>> On 12/13/10 09:52, Nick Jones wrote:
>>>> On Mon, 13 Dec 2010 at 22:55:59 +0800, Denise H. G. wrote:
>>>>>> FWIW, I'm running -current with BIGMEM enabled on my X200 and it's
>>>>>> running fine.  I've attached the output of dmesg and pcidump -v for
>>>>>> reference.
>>>>>>
>>>>>> Kernel is generic otherwise, just renamed.
>>>>>>
>>>>>
>>>>> Great! Did you recompile your kernel? Or just modified your kernel by
>>>>> using config(8) ? I am rather new to OpenBSD...
>>>>
>>>> You need to amend:
>>>>
>>>> /usr/src/sys/arch/amd64/amd64/machdep.c
>>>>
>>>> And change the relevant line (1183 in the -current source I checked out
>>>> yesterday) so that it says:
>>>>
>>>> int bigmem = 1;
>>>>
>>>> Then recompile your kernel as per the FAQ, reboot, and cross your
fingers.
>>>> Report your success (or failure) here.
>>>>
>>>
>>> Be aware that you are treading on unproven and unsupported ground, and
>>> the devs are not interested in hearing about bigmem related problems.
>>>
>>> Here is a PR I submitted not to long ago that was immediately closed
>>> because it was based on a bigmem kernel:
>>>
>>> http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yes&numbers=6453
>>
>> Thanks.
>>
>> I've switched to FreeBSD for my desktop with 4G memory...
>
> Unnecessary fear :
>
> $ sysctl kern.version
> kern.version=OpenBSD 4.8-current (GENERIC.MP) #547: Tue Dec  7 23:16:34 MST
2010
> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
>
> $
>
> load averages:  0.76,  1.14,  1.06
>
>
>  hostname 13:27:52
> 49 processes:  1 running, 45 idle, 1 zombie, 2 on processor
> CPU0 states:  2.0% user,  0.0% nice,  1.6% system,  0.0% interrupt, 96.4%
idle
> CPU1 states:  3.8% user,  0.0% nice,  1.2% system,  0.0% interrupt, 95.0%
idle
> Memory: Real: 321M/610M act/tot  Free: 2651M  Swap: 0K/8189M used/tot
>
> $ dmesg | grep mem
> RTC BIOS diagnostic error 11
> real mem  = 3487125504 (3325MB)
> avail mem = 3420016640 (3261MB)
> spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600
> spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600
> kqemu: kqemu version 0x00010300 loaded, max locked mem=1702696kB
> $
>
> My computer is more then 90% of time idle (regarding CPU) and my memory
> (even with bufcachepercent=40) is all the time more then 400MB free even
that
> I'm using a LOT of apps at same time including two or three VM's in Qemu.
>

Thanks! Then I have to learn now how to build a custom kernel on
OpenBSD, which is the first time for me:)

>
> $ vmstat 1 10
>  procsmemory   pagediskstraps  cpu
>  r b wavm fre  flt  re  pi  po  fr  sr sd0 cd0  int   sys   cs us sy
id
>  1 0 0 329432 2714044  762   0   0   0   0   0   6   0   47 14706  775  8  3
89
>  1 0 0 329544 2713900   67   0   0   0   0   0   0   0   35  3206  455  3  0
97
>  1 0 0 329544 2713900   23   0   0   0   0   0   0   0   10  2412  319  0  0
100
>  1 0 0 329544 2713900   33   0   0   0   0   0   0   03  2386  305  0  0
100
>  1 0 0 329464 2713980  527   0   0   0   0   0   0   04  2568  313  6  0
94
>  2 0 0 329464 2713980   58   0   0   0   0   0   0   03  2562  327  1  0
99
>  0 0 0 329464 2713980   23   0   0   0   0   0   0   0   47  2907  404  1  0
99
>  1 0 0 329452 2713992   30   0   0   0   0   0   0   0   58  4672  451  2  0
98
>  1 0 0 329636 2713808 1021   0   0   0   0   0   0   0   69  7632  465  5  4
91
>  1 0 0 329644 2713800  523   0   0   0   0   0   0   03  2504  308  5  0
95
> $
>
>




--
If reproducibility may be a problem conduct the
test only once.