Date: Thu, 21 Sep 2000 23:43:43 -0700 From: Fred Condo <fred@condo.chico.ca.us> To: freebsd-questions@FreeBSD.ORG Cc: Agent Drek <drek@bigstudios.com> Subject: Re: Invalidating Pack / Interrupts Message-ID: <20000921234343.A37161@absinthe.condo.chico.ca.us> In-Reply-To: <Pine.BSF.4.21.0009211325330.64117-100000@hops.bigstudios.com>; from drek@bigstudios.com on Thu, Sep 21, 2000 at 01:53:09PM -0400 References: <Pine.BSF.4.21.0009211325330.64117-100000@hops.bigstudios.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 21, 2000 at 01:53:09PM -0400, Agent Drek wrote: > One of our FreeBSD servers is locking up intermittently with: > > Sep 19 15:09:36 foam last message repeated 8 times > Sep 19 15:09:36 foam /kernel: (da5:ahc1:0:3:0): SCB 0x1 - timed out while idle, SEQADDR == 0xa > Sep 19 15:09:37 foam /kernel: (da5:ahc1:0:3:0): Queuing a BDR SCB > Sep 19 15:09:37 foam /kernel: (da5:ahc1:0:3:0): no longer in timeout, status = 34a > Sep 19 15:09:40 foam /kernel: (da5:ahc1:0:3:0): Invalidating pack Your seagate drive has a bug in its firmware. You need to disable tagged queueing and the write-thru cache. The former you can do with camcontrol negogiate 0:3:0 -T disable at every boot (I added a line to /etc/rc.local). Chheck the camcontrol manpage to be sure of the exact designation for your drive. The latter you do through your SCSI BIOS. > > I do not suspect that the drive is losing power and AFAIK (I've checked) > the termination on the drives is fine. I'm going to install a new cable/term > tommorow just to rule that out however ... Could this be the 'write cache' > problem that I have found after doing a search through the archives? If so > ... how do I disable write caching with camcontrol? > > ref: > http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=86334+0+/usr/local/www/db/text/2000/freebsd-scsi/20000625.freebsd-scsi > > also 'top' shows a constant '.8% - 1.2% interrupt' even while the server is > idle ... is that normal? (output from top appended) Could this be an > indication of some sort of hardware conflict? > > smbd is an ungodly size because I'm still fighting a memory leak with > samba-tng :( > > thanks, > > -- > Agent Drek > > Big Animation Inc > 'digital plumber' > http://www.bigstudios.com > > dmesg: > > Copyright (c) 1992-2000 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 4.1-RELEASE #0: Tue Sep 5 12:32:56 EDT 2000 > root@foam.bigstudios.com:/usr/src/sys/compile/FOAM > Timecounter "i8254" frequency 1193182 Hz > Timecounter "TSC" frequency 451024590 Hz > CPU: Pentium II/Pentium II Xeon/Celeron (451.02-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x652 Stepping = 2 > Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> > real memory = 402587648 (393152K bytes) > avail memory = 388378624 (379276K bytes) > Preloaded elf kernel "kernel" at 0xc02e3000. > Pentium Pro MTRR support enabled > npx0: <math processor> on motherboard > npx0: INT 16 interface > pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard > pci0: <PCI bus> on pcib0 > pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0 > pci1: <PCI bus> on pcib1 > pci1: <ATI Mach64-GB graphics accelerator> at 0.0 > isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0 > isa0: <ISA bus> on isab0 > pci0: <Intel PIIX4 ATA controller> at 7.1 > pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 > chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on pci0 > dc0: <82c169 PNIC 10/100BaseTX> port 0xe400-0xe4ff mem 0xdf800000-0xdf8000ff irq 10 at device 11.0 on pci0 > dc0: Ethernet address: 00:c0:f0:2c:47:68 > miibus0: <MII bus> on dc0 > ukphy0: <Generic IEEE 802.3u media interface> on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xe800-0xe8ff mem 0xdf802000-0xdf802fff irq 11 at device 13.0 on pci0 > ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs > ahc1: <Adaptec 19160B Ultra160 SCSI adapter> port 0xec00-0xecff mem 0xdf801000-0xdf801fff irq 15 at device 15.0 on pci0 > ahc1: aic7892 Wide Channel A, SCSI Id=7, 16/255 SCBs > fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 > atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > sc0: <System console> at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 16550A > sio1 at port 0x2f8-0x2ff irq 3 on isa0 > sio1: type 16550A > ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > ppi0: <Parallel I/O> on ppbus0 > lpt0: <Printer> on ppbus0 > lpt0: Interrupt-driven port > plip0: <PLIP network interface> on ppbus0 > Waiting 3 seconds for SCSI devices to settle > Mounting root from ufs:/dev/da4s1a > da0 at ahc0 bus 0 target 1 lun 0 > da0: <SEAGATE ST19101W 0014> Fixed Direct Access SCSI-2 device > da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled > da0: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C) > da2 at ahc0 bus 0 target 4 lun 0 > da2: <SEAGATE ST19101W 0014> Fixed Direct Access SCSI-2 device > da2: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled > da2: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C) > da4 at ahc1 bus 0 target 0 lun 0 > da4: <SEAGATE ST39236LW 0005> Fixed Direct Access SCSI-3 device > da4: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled > da4: 8761MB (17942584 512 byte sectors: 255H 63S/T 1116C) > da3 at ahc0 bus 0 target 5 lun 0 > da3: <SEAGATE ST19101W 0014> Fixed Direct Access SCSI-2 device > da3: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled > da3: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C) > da5 at ahc1 bus 0 target 3 lun 0 > da5: <SEAGATE ST318436LW 0005> Fixed Direct Access SCSI-3 device > da5: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled > da5: 17522MB (35885168 512 byte sectors: 255H 63S/T 2233C) > da1 at ahc0 bus 0 target 2 lun 0 > da1: <SEAGATE ST19101W 0014> Fixed Direct Access SCSI-2 device > da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled > da1: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C) > WARNING: / was not properly dismounted > vinum: loaded > vinum: reading configuration from /dev/da3s1h > vinum: updating configuration from /dev/da0s1h > vinum: updating configuration from /dev/da1s1h > vinum: updating configuration from /dev/da2s1h > > top.out: > last pid: 11644; load averages: 0.33, 0.28, 0.12 up 1+01:06:03 13:54:08 > 54 processes: 1 running, 53 sleeping > > Mem: 183M Active, 140M Inact, 42M Wired, 9572K Cache, 48M Buf, 984K Free > Swap: 517M Total, 45M Used, 472M Free, 8% Inuse > > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 11619 root 2 0 182M 179M select 1:29 2.83% 2.83% smbd > 11327 root 2 0 154M 568K select 1:34 0.00% 0.00% smbd > 109 root 2 0 356K 0K nfsd 1:01 0.00% 0.00% nfsd > 9255 root 2 0 16648K 536K select 0:30 0.00% 0.00% smbd > 90 root 2 0 2368K 680K select 0:06 0.00% 0.00% named > 11145 root 2 0 14108K 332K select 0:05 0.00% 0.00% smbd > 149 root 2 0 1976K 0K select 0:03 0.00% 0.00% <sshd> > 209 root 2 0 2620K 520K select 0:03 0.00% 0.00% nmbd > 94 root 2 0 2016K 280K select 0:03 0.00% 0.00% ypserv > 11014 root 2 0 2040K 236K select 0:02 0.00% 0.00% sshd > 239 root 2 0 1828K 420K select 0:02 0.00% 0.00% httpd > 260 root 2 0 5612K 340K select 0:01 0.00% 0.00% smbd > 265 root 2 0 6016K 140K select 0:01 0.00% 0.00% netlogond > 222 root 2 0 3468K 0K select 0:01 0.00% 0.00% <srvsvcd> > 92 daemon 2 0 924K 0K select 0:00 0.00% 0.00% <portmap> > 87 root 2 0 908K 224K select 0:00 0.00% 0.00% syslogd > 145 root 2 0 1424K 368K select 0:00 0.00% 0.00% sendmail > 142 root 10 0 948K 188K nanslp 0:00 0.00% 0.00% cron > > cut'n'paste: > CPU states: 1.5% user, 0.0% nice, 2.2% system, 1.1% interrupt, 95.2% idle > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Fred Condo + fred@condo.chico.ca.us Not since Tom Hanks won an Oscar has there been that much acting in Philadelphia. -- Sen. Joe Lieberman, about the Republican Convention. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000921234343.A37161>