ahd0:

2005-08-21 Thread Tomas Randa

Hello,

my FreeBSD 5.4 box with gives me strange messages concerning Adaptec 
SCSI adapter 29320 (ahd):


ahd1: WARNING no command for scb 0 (cmdcmplt)
QOUTPOS = 277
>> Dump Card State Begins <
ahd1: Dumping Card State at program address 0x82 Mode 0x22
Completions are pending
INTSTAT[0x0] SELOID[0x0] SELID[0x0] HS_MAILBOX[0x0]
INTCTL[0xc0]:(SWTMINTEN|SWTMINTMASK) SEQINTSTAT[0x0]
SAVED_MODE[0x11] DFFSTAT[0x31]:(CURRFIFO_1|FIFO0FREE|FIFO1FREE)
SCSISIGI[0x0]:(P_DATAOUT) SCSIPHASE[0x0] SCSIBUS[0x0]
LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) SCSISEQ0[0x0]
SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) SEQCTL0[0x10]:(FASTMODE)
SEQINTCTL[0x0] SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED)
SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x51] KERNEL_QFREEZE_COUNT[0x51]
MK_MESSAGE_SCB[0x3e] MK_MESSAGE_SCSIID[0x7] SSTAT0[0x0]
SSTAT1[0x8]:(BUSFREE) SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0]
SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) LQISTAT0[0x0]
LQISTAT1[0x0] LQISTAT2[0x0] LQOSTAT0[0x0] LQOSTAT1[0x0]
LQOSTAT2[0x0]

On the end of message there are lines like

(da0:ahd1:0:0:0): SCB 8 - timed out
(da0:ahd1:0:0:0): Queuing a BDR SCB
(da0:ahd1:0:0:0): Bus Device Reset Message Sent
(da0:ahd1:0:0:0): no longer in timeout, status = 24b
ahd1: Bus Device Reset on A:0. 1 SCBs aborted
(da0:ahd1:0:0:0): READ(10). CDB: 28 0 0 e1 2d 8b 0 0 8 0
(da0:ahd1:0:0:0): CAM Status: SCSI Status Error
(da0:ahd1:0:0:0): SCSI Status: Check Condition
(da0:ahd1:0:0:0): UNIT ATTENTION asc:29,3
(da0:ahd1:0:0:0): Bus device reset function occurred field replaceable 
unit: 4

(da0:ahd1:0:0:0): Retrying Command (per Sense Data)

Could it be problem with this Seagate ST336754LW? I have firmware 003 in 
this drive from Seagate, about 2 months old, but problem persist.
Is this a drive problem or controller problem? I read messages from 
Robert and his problems with Adaptec 39320 and DELL SC430, so i tried 
command camcontrol tags da0 -N 32, but no change.


Thanks for help.
Complete dmesg and messages included.


Tomas



Copyright (c) 1992-2005 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 5.4-RELEASE-p4 #0: Fri Jul  8 01:35:23 CEST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/BOX
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3500+ (2199.76-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x20ff0  Stepping = 0
  
Features=0x78bfbff
  AMD Features=0xe050
real memory  = 3220045824 (3070 MB)
avail memory = 3154006016 (3007 MB)
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pci0:  at device 0.5 (no driver attached)
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pcib2:  irq 27 at device 2.0 on pci0
pci2:  on pcib2
pcib3:  at device 3.0 on pci0
pci3:  on pcib3
pcib4:  irq 35 at device 3.1 on pci0
pci4:  on pcib4
pcib5:  irq 39 at device 3.2 on pci0
pci5:  on pcib5
pcib6:  irq 43 at device 3.3 on pci0
pci6:  on pcib6
em0:  port 
0xea00-0xea3f mem 0xdc08-0xdc09,0xdc0a-0xdc0b irq 16 at device 
8.0 on pci0
em0: Ethernet address: 00:07:e9:01:61:fc
em0:  Speed:N/A  Duplex:N/A
ahd0:  port 0xd400-0xd4ff,0xd000-0xd0ff 
mem 0xdc0c2000-0xdc0c3fff irq 17 at device 9.0 on pci0
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs
ahd1:  port 0xdc00-0xdcff,0xd800-0xd8ff 
mem 0xdc0c-0xdc0c1fff irq 18 at device 9.1 on pci0
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs
pci0:  at device 12.0 (no driver attached)
atapci0:  port 
0xe900-0xe90f,0xe800-0xe803,0xe700-0xe707,0xe600-0xe603,0xe500-0xe507 irq 20 at 
device 15.0 on pci0
ata2: channel #0 on atapci0
ata

[NNOT] Stability on Soekris class h/w? (was Re: 6.0-BETA2 as reliable webserver?)

2005-08-21 Thread Joel Rees


On 平成 17/08/20, at 13:24, Peter Jeremy wrote:


On Fri, 2005-Aug-19 23:42:18 +0200, Frans-Jan v. Steenbeek wrote:


building. Since we are moving in a few months, we decided to use a HP
laptop instead (reasonably fast CPU, 512 Megs) since we had a few to
spare.

The toy is currently set up with FreeBSD 6.0-BETA2, Apache 2.0,  
MySQL 5.0
and PHP-5.0 with all the reasonable modules. Everything is  
compiled from

ports. No changes to the kernel yet, no world-rebuilding done.



I'd also be extremely loath to bet my company on a laptop running beta
software.  As others have pointed out, laptops aren't designed for
this.  (Though my old Compaq laptop ran FreeBSD 24x7 for several years
and I only stopped using it because the lid was cracking too badly).


Yeah, I've had my home server running on an old iBook (not FreeBSD).  
I had replaced the original disk with a larger used one because the  
original was just 6GB. The used disk lasted only a year. Had to open  
it back up and put the 6GB drive back in until I can afford a new  
disk (or a Mac Mini). I need to add RAM to that poor child, too.


That said, 512 MB RAM in the HP notebook might leave enough RAM for a  
RAM disk. One could mirror Apache, PHP, MySQL (app, not DB),  
libraries, and the web app itself onto a RAM disk. That way the  
server could respond to initial hits out of the RAM disk while the HD  
is spinning up.



If you're really concerned about noise:
- use an older desktop and maybe even underclock it to keep it cooler
- build your own system.  Either go the low power route (mini-ITX) so
  you don't need noisy fans or use an over-rated PSU and CPU heatsink
  to keep fan speed (and noise) down.  In either case, you'll need to
  look around to find a quiet HDD.


So, what's the stability of FreeBSD 5.x/6.x on Soekris  class hardware?

I'm thinking especially in terms of mulit-port nics that would  
support bridging, etc.



- [as a completely left-field suggestion] look at something like an
  Apple G5 system - large fans running slowly generate very little  
noise.


Maybe even Mac Mini? ;->

fbsd on PPC is still not even close to stable, and the iNTEL Macs are  
still at least ten months away. But openBSD and netBSD run rather  
well on PPC if the eye candy of Mac OS X is unpleasant or the cost of  
Mac OS X Server (for a little added peace of mind?) is uncomfortable.


Joel Rees   <[EMAIL PROTECTED]>
digitcom, inc.   株式会社デジコム
Kobe, Japan   +81-78-672-8800
**  **




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


broken fxp driver in 4.x ...

2005-08-21 Thread Marc G. Fournier


Several months ago, on one of our servers, we had an issue where if we 
moved an IP between the servers, the 'ifconfig alias' on the server with 
the em device seemed to 'hang' for 60 seconds or so (instead of coming 
back right away like the other servers), and, for some reason, it didn't 
send the arp out onto the network properly, so upstream routers weren't 
being made aware of the change ...


Subsequent cvsup updates of the 4.x tree eventually got rid of that issue, 
and the problem went away ...


Now, on one of our newer servers runnign a fairly recent cvsup of 4.x, the 
fxp driver is doing the exact same thing ... all the other fxp based 
servers do a nice quick 'ifconfig alias' for an IP, and arp broadcasts are 
sent out, but on this one, I get the '60 second hang' and have to get our 
network guys to clear arp caches for  the changes to take effect :(


Has anyone else running 4.x experienced this?  Or am I just unlucky with 
these things?  Is there a way of fixing it?


Thanks ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.0-BETA2 as reliable webserver?

2005-08-21 Thread Alexey Vesnin

- Original Message -
From: "Ronald Klop" <[EMAIL PROTECTED]>
To: "Frans-Jan v. Steenbeek" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, August 20, 2005 2:03 AM
Subject: Re: 6.0-BETA2 as reliable webserver?


> On Fri, 19 Aug 2005 23:42:18 +0200, Frans-Jan v. Steenbeek
> <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
> >
> > I'm a sysadmin and a web-programmer at a company in the Netherlands. In
> > the following month we will launch a webshop which will have a estimated
> > 1000 full hits in the first weeks (estimated through calculation of the
> > marketing-departement). I am writing the webshop, and have installed the
> > webserver. Because of issues with our housing, we can't put our HP
> > webserver to use, since it produces to much noise in our very small
> > building. Since we are moving in a few months, we decided to use a HP
> > laptop instead (reasonably fast CPU, 512 Megs) since we had a few to
> > spare.
>
> What do you mean by 1000 hits? Is it 1000 customers or 1000 http requests?
> 1000 hits a week is 1000 / ( 7 * 24 * 60 ) = 0 hits per minute or 5 in an
> hour.
> If your laptop crashes every 10 minutes there is a change no customer wil
> notice it.
>
> > The toy is currently set up with FreeBSD 6.0-BETA2, Apache 2.0, MySQL
5.0
> > and PHP-5.0 with all the reasonable modules. Everything is compiled from
> > ports. No changes to the kernel yet, no world-rebuilding done.
> >
> > I trust the laptop enough to get the job done, but I wonder if 6.0-BETA2
> > will be up for the task. I heard rumours that it should be more stable
> > and
> > faster then 5.4-RELEASE (which I use mostly nowadays), but it IS beta
> > after all. On the other hand, I get the impression that 6.0 is the
> > release
> > of choice for deploying anything on a laptop (considering that darned
> > Pentium-M). Another thing, I do not fully trust the combination of
Apache
> > 2.0, MySQL 5.0 and PHP 5.0, since they are all quite new in the
> > frontlines.
> > This would be a decent testcase for 6.0, but the thing is... I can't
> > afford any crashes (this webshop is considered to settle the future for
> > our company) and we are talking about a laptop here.
>
> Funny to settle the future for a company this way. I hope your customers
> aren't reading this.
> ;-)
>
> > I will post all problems not yet reported to the list, but if anyone of
> > you would like to share his or her opinion on this matter, please let me
> > know. Will 4.11-RELEASE perhaps be a better choice?
>
> You are asking a silly question. It comes down to "I'm running BETA
> software. Can I expect this to be STABLE?".
> If it is stable, it wil say stable in the version number.
>
> Except for Apache all your software is beta, but from sourcecode which is
> quite mature for some time.
> You can only answer this question by inviting 1000 (virtual) friends and
> ask them to buy something in your webshop.
>
> Ronald.
>
> --
>   Ronald Klop
>   Amsterdam, The Netherlands
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

STABLE-4 is VERY good and my advice for you - use it instead of any
beta's... MySQL v5 is good but greedy one. You'll need ALOT of memory. And
Apache2 - it's just a question of taste. Frequently speaking - I'm still
using Apache1 and it works pretty stable and fine...

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