Re: 8.0-RC USB/FS problem

2009-11-25 Thread Hans Petter Selasky
On Wednesday 25 November 2009 00:08:59 Guojun Jin wrote:
 What other debug shall we turn on to analyze this problem.

Are you able to extract the panic message? Try enabling dump on the swap 
partition.

--HPS
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD 7.x hang-on-boot on Dell 1950

2009-11-25 Thread ????? ?????

Hi all,
I have dell 1950 / Single Xeon , 8G RAM , SAS Host without RAID / im my 
hands.
Yesterday we have install FreeBSD7.2 AMD. After INITIAL install all 
works fine and next step was cvsup  base  kernel rebuild.


This steps are also fine BUT after first reboot from SINGLE mode to 
MULTIUSER mode the system has the same strange behavior, like described 
in this thread: Very slow passed boot init on fdc0 and it has very very 
slow and strange responce in text consloe switching. So the server was 
inusable.


Next step was to shutdown the server from power button and just boot-up 
again and it .. was fine: fdc0 is reported like this: fdc0: does not 
respond for less a second and normal booting processed is goin on.


The server is working well and stable now.

Zaphod Beeblebrox wrote:

On Sun, Nov 22, 2009 at 11:47 PM, Zaphod Beeblebrox zbee...@gmail.comwrote:



On Sun, Nov 22, 2009 at 9:09 PM, Zaphod Beeblebrox zbee...@gmail.comwrote:



On Fri, Nov 13, 2009 at 9:44 PM, Jeremy Chadwick 
free...@jdc.parodius.com wrote:


This 1950 may predate that a bit, but I'm not sure how to nail it down
exactly, other than by it's hardware components.  Anyways, 7.0 does the

same

thing --- still wedged.

I haven't seen anyone recommend this as a test method yet -- disabling
fdc prior to the kernel booting via the loader prompt:

- Press 6 at the menu,
- At the loader prompt, type:

 set hint.fdc.0.disabled=1
 boot -v   (or without -v; your choice)

You shouldn't need to set hint.fd.0.disabled=1, since fd0 would
normally bind to fdc0; disable the latter and you disable the lesser.

The intention here is to rule out the device attachment failures from
fdc as the source of the deadlock.


Entertainingly, it does not.  Aparently that hint doesn't stop the code
from trying to attach fdc0 when acpi says so.  I suppose I need to know the
console command to disable acpi and fdc.

but it still wedges at device_attach: fdc0 attach returned 6 with the
above.



OK.  With both floppy and acpi disabled, it dies calling start_init
several times, the last being /stand/sysinstal (which should work).  I don't
see it starting the other CPUs.  It hangs hard... no keyboard working (ie:
no caps lock).

OK... I finally figured out what makes this Dell boot.  The system as I got

it has 2 dual core (Xeon) processors.

If I remove one processor (so now it has one dual-core processor), Then the
system boots !?!

... so there's something wrong with how FreeBSD is going multiprocessor
(works with RedHat, it would appear)
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


how to disable APM using camcontrol cmd

2009-11-25 Thread Denis Shaposhnikov
Hello,

I'm trying to replace sysutils/ataidle which doesn't work with new
acpi(4). May be somebody could tell me args for

  camcontrol cmd ada0 -a cmd XX XX XX XX XX XX XX XX

to disable APM and acoustic management (AAM) for my HDD?

Thanks!


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8.0-RC USB/FS problem

2009-11-25 Thread Norbert Papke
On November 24, 2009, Jeremy Chadwick wrote:

 $ host www.daemonfun.com
 www.daemonfun.com is an alias for daemonfun.com.
 daemonfun.com has address 76.202.192.211
 daemonfun.com mail is handled by 10 mh1.daemonfun.com.
 daemonfun.com mail is handled by 20 mh2.daemonfun.com.
 
 $ fetch http:/www.daemonfun.com/
 fetch: http:/www.daemonfun.com/: No address record
 
 I haven't examined the code, but my guess is fetch is trying to do a
 lookup on the FQDN http:/www.daemonfun.com/.  Who wants to file a PR?

As Dan Nelson mentioned, it's just a typo in the url.

Try 

 $ fetch http://www.daemonfun.com/

Note the :// rather than :/.

Cheers.

-- Norbert Papke.
   npa...@acm.org


http://saveournet.ca
Protecting your Internet's level playing field
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Problem with running 6.X libraries on 7.2 with Apache

2009-11-25 Thread Paul MacKenzie

Hello,

I have am having a problem which I am fairly sure I have traced to 
running 6.X based code on 7.2 with apache such as Wusage and Scomtherm. 
All runs fine on the server without these running and when I start the 
program the system spirals downwards only on http from what I can tell. 
It seems to be connected to PHP within apache in part.


If I allow the system to run programs needing this code it causes 
problems with Apache taking 100% of the cpu. When I stop the program 
from accessing the old libraries the issue does not come back.


FreeBSD 7.2-STABLE FreeBSD 7.2-STABLE #0: Wed Jul  1 09:36:28 EDT 2009 amd64

Apache setup: apache-2.2.13

TOP when the system has the problem visible:

last pid:  1824;  load averages: 207.55, 91.64, 
38.50 up 7+11:03:23  08:55:20

755 processes: 236 running, 516 sleeping, 3 lock
CPU: 11.2% user,  0.0% nice, 86.7% system,  2.0% interrupt,  0.1% idle
Mem: 5617M Active, 8371M Inact, 1179M Wired, 244M Cache, 399M Buf, 433M Free
Swap: 8192M Total, 648K Used, 8191M Free

  PID USERNAME   THR PRI NICE   SIZERES STATE   C   TIME   WCPU 
COMMAND
 1730 www  1  610   197M 41004K RUN 2   0:06  4.59% 
httpd
 1475 www  1  -40   195M 39220K ufs 7   0:06  4.49% 
httpd
 1732 www  1  -40   193M 38124K RUN 0   0:06  4.39% 
httpd
 1651 www  1  -40   221M 59520K RUN 0   0:07  4.20% 
httpd
 1653 www  1  -40   220M 59244K RUN 0   0:07  3.96% 
httpd
 1609 www  1  -40   227M 64656K RUN 6   0:07  3.96% 
httpd
 1431 www  1  -40   220M 59804K RUN 6   0:13  3.86% 
httpd
 1568 www  1  -40   195M 39288K RUN 6   0:09  3.86% 
httpd
 1572 www  1  -40   222M 61052K RUN 0   0:09  3.86% 
httpd
 1585 www  1  -40   227M 64844K RUN 5   0:07  3.86% 
httpd
 1681 www  1  640   220M 59368K RUN 3   0:07  3.86% 
httpd
 1738 www  1  640   197M 40772K RUN 7   0:05  3.86% 
httpd
 1648 www  1  670   210M 50628K RUN 6   0:08  3.76% 
httpd
 1600 www  1  600   221M 59632K RUN 7   0:08  3.76% 
httpd
 1622 www  1  -40   220M 59216K RUN 5   0:08  3.76% 
httpd
 1619 www  1  -40   220M 58768K RUN 2   0:07  3.76% 
httpd


I wondered if anyone else has had a similar problem or might be able to 
suggest a way to fix this?


I am going to try an upgrade to the latest 7.2 shortly.

Thanks,

Paul


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: zfs/nfs mkstemp() failure subsequent hangs

2009-11-25 Thread Rick Macklem



On Fri, 20 Nov 2009, Gerrit K??hn wrote:


Hi all,

I have a 8.0-PRERELEASE zfs/nfs server here that complains about i/o
errors when using rsync on a nfs client:

rsync: mkstemp
/usr/portage/metadata/cache/app-mobilephone/.ksms-0.1.2.4.BynVFw failed:
Input/output error (5)


I found this to be quite similar to kern/135412. However, this one
is said to be fixed and only applicable to 7-stable anyway.
Furthermore, after this happened, I tried to access files on the server
from the zfs filesystem concerned and found that I cannot access the fs
anymore. ls hangs in state zfs, so do mountd and zfs unmount.

Questions:
Should I open a new PR for this?


Gerrit reports that the fix recently committed to FreeBSD-current as
r199616 (and will be MFC'd to stable/8 in about 2 weeks unless problems
with it are reported) has fixed this problem.

Thanks to Gerrit for reporting it and testing the fix, rick
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

RE: 8.0-RC USB/FS problem

2009-11-25 Thread Guojun Jin
I will do,

I also borrowed two other machiens -- one AMD two core laptop, and one P4 
desktop -- for further testing.
I will enable kernel coredump for all of them and will make cores available by 
end of today.

-Jin

-Original Message-
From: Hans Petter Selasky [mailto:hsela...@c2i.net]
Sent: Wed 11/25/2009 12:37 AM
To: Guojun Jin
Cc: freebsd-...@freebsd.org; b...@freebsd.org; freebsd-stable@freebsd.org
Subject: Re: 8.0-RC USB/FS problem
 
On Wednesday 25 November 2009 00:08:59 Guojun Jin wrote:
 What other debug shall we turn on to analyze this problem.

Are you able to extract the panic message? Try enabling dump on the swap 
partition.

--HPS

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


5.5-STABLE to 88.0-RELEASE

2009-11-25 Thread Randy Bush
can one go from 5.5 to 8.0 using the normal hammer, or is it
multi-stage, and i should just blow it away and go from install?

randy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


RE: 8.0-RC USB/FS problem

2009-11-25 Thread Guojun Jin
Most crash had the same back trace. This is also true when USB access hangs, 
then unplug the drive.

More interesting is the third AMD laptop (dual core) had similar problem, but 
it is less crashing but hanging.

The core information is available at the same place (bt file is also attached):

http://www.daemonfun.com/archives/public/USB

-rw-r--r--  1 jin wheel  4668 Nov 25 23:17 bt
-rw---  1 4294967294  wheel 80074 Nov 25 22:59 core.txt.0
-rw-r--r--  1 4294967294  wheel  72108588 Nov 25 23:09 coredump-0.tbz

core.txt.0 is from savecore, and bt is I did back trace so it has slightly more 
information than core.txt.
The tbz file contains the kernel.symbol and all files from savecore.

I will continute to dig this and I will set more coredump if new crash happens 
at different place.
Please let me know anything I can help debug futher before Dec 3rd. I will on 
travel for a while and I do
not want to hold release for another two weeks. So let's resolve the problem 
before I am on travel if possible.

-Original Message-
From: Hans Petter Selasky [mailto:hsela...@c2i.net]
Sent: Wed 11/25/2009 12:37 AM
To: Guojun Jin
Cc: freebsd-...@freebsd.org; b...@freebsd.org; freebsd-stable@freebsd.org
Subject: Re: 8.0-RC USB/FS problem
 
On Wednesday 25 November 2009 00:08:59 Guojun Jin wrote:
 What other debug shall we turn on to analyze this problem.

Are you able to extract the panic message? Try enabling dump on the swap 
partition.

--HPS




bt
Description: bt
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org