From owner-freebsd-stable Fri May 10 23: 9:27 2002 Delivered-To: freebsd-stable@freebsd.org Received: from sccmmhc01.mchsi.com (sccmmhc01.mchsi.com [204.127.203.183]) by hub.freebsd.org (Postfix) with ESMTP id AD9EC37B409 for ; Fri, 10 May 2002 23:08:48 -0700 (PDT) Received: from jeremy ([12.216.16.172]) by sccmmhc01.mchsi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020511060846.SVUI1219.sccmmhc01.mchsi.com@jeremy> for ; Sat, 11 May 2002 06:08:46 +0000 From: "jeremy" To: Subject: bad ata code? or something else.. Date: Sat, 11 May 2002 01:08:38 -0500 Message-ID: <001c01c1f8b2$4aea9800$ac10d80c@jeremy> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001D_01C1F888.62149000" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_001D_01C1F888.62149000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, About 2 weeks ago I upgraded my linux box to a freebsd machine with a abit bp6 mobo, 2 celleron 533mhz cpus, 256m ram, and a 60gig maxtor hd. I keep getting the error READ command timeout tag=0 serv=0 - resetting. below is more details and at the bottom is my dmesg.I am EXTREAMLY frustrated about to go nuts trying to pinpoint the problem. To sum it up - PROBLEM: operating system getting read timeouts from the drive and resetting it. (the actually error in /var/messages is ad6: READ command timeout tag=0 serv=0 - resetting) When this happens it haults the machine and continues until its happy with the reset of the drive. It is very random when it happens.. sometimes goes days or hours or seconds. MY TROUBLESHOOTING: Have moved the drive from initial ata33 controller to ata66 udma controller and using a brand new high density cable. I have re-compiled the kernel manytimes, I have disconnected all other drives including floppy and recompiled kernel. Disabled ata from kernel and recompiled.. all getting same resulting random hardrive device timing out. WHAT I THINK IT COULD BE: Bad Hard Drive - The hard drive is brand new and is not hot to the touch at all when it panics or crashes but it does make a lot of grinding noises when this is occouring I was told from the person at the server. Some Weird unstable ata code with FreeBSD. - http://www.google.com/search?hl=en&q=READ+command+timeout+tag%3D0+serv%3 D0+-+resetting&btnG=Google+Search will show you TONS of other people using freeebsd who have had the same problem or close to it but no answers except to run in PIO mode but even in that I get the same error. Bad Power Supply: When the drive causes a kernel panic. upon reboot the bios shows no hardrive. You have to switch power leads from the supply to get it to come back, even if it's the same one you used before. I know bad power supplies can make some fruity shit happen and a bitch to trouble shoot. Just for notes... the hardrive is a brand new Maxtor 60 gig drive. The case is brand new with a 350w power supply. The motherboard/ram/cpus came out of a working linux server. Any Sugestions would be VERY MUCH appreciated! my dmesg is as follows: Copyright (c) 1992-2002 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.5-RELEASE #0: Fri May 10 19:15:08 CDT 2002 user@h2o.jsnetworth.com:/usr/src/sys/compile/MOO Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (534.55-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183fbff real memory = 268435456 (262144K bytes) avail memory = 258686976 (252624K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc029e000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 8 entries at 0xc00fd7e0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 19 -> irq 2 IOAPIC #0 intpin 16 -> irq 10 IOAPIC #0 intpin 18 -> irq 11 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 irq 2 Timecounter "PIIX" frequency 3579545 Hz chip1: port 0x5000-0x500f at device 7.3 on pci0 pci0: at 15.0 irq 10 rl0: port 0xd400-0xd4ff mem 0xd7000000-0xd70000ff irq 2 at device 17.0 on pci0 rl0: Ethernet address: 00:e0:29:5f:b1:14 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci1: port 0xe000-0xe0ff,0xdc00-0xdc03,0xd800-0xd807 irq 11 at device 19.0 on pci0 ata2: at 0xd800 on atapci1 atapci2: port 0xec00-0xecff,0xe800-0xe803,0xe400-0xe407 irq 11 at device 19.1 on pci0 ata3: at 0xe400 on atapci2 orm0:

Hello,

About 2 weeks ago I upgraded my linux box to a freebsd machine with = a

abit bp6 mobo, 2 celleron = 533mhz cpus, 256m ram, and a 60gig maxtor

hd. I keep getting the error READ command timeout tag=3D0 serv=3D0 -

resetting. below is more details and at the bottom is my dmesg.I am

EXTREAMLY frustrated about to go nuts trying to = pinpoint the problem.

 

To sum it up –

 

PROBLEM: operating system getting read timeouts from = the drive and

resetting it. (the actually error in /var/messages is ad6: READ

command= timeout tag=3D0 serv=3D0 – resetting) When = this happens it haults

the machine and continues until its happy with the reset of the = drive.

It is very random when it happens.. sometimes goes days or hours = or

seconds= .

 

MY TROUBLESHOOTING: Have moved the drive from initial = ata33 controller

to ata66 = udma controller and using a brand new high density = cable. I

have re-compiled the kernel manytimes, I have disconnected = all other

drives<= font size=3D2 face=3DArial> including floppy and recompiled kernel. Disabled ata = from

kernel<= font size=3D2 face=3DArial> and recompiled.. all getting same resulting = random hardrive

device<= font size=3D2 face=3DArial> timing out.

 

WHAT I THINK IT COULD BE: =

 

Bad Hard Drive – The hard drive is brand new = and is not hot to the

touch at all when it panics or crashes but it does make a lot = of

grinding noises when this is occouring I was told from the person = at

the = server.

 

Some Weird unstable ata code with FreeBSD. = -

http://www.google.com/search?hl=3Den&q=3DREAD+comm= and+timeout+tag%3D0+serv%3D0+-+resetting&btnG=3DGoogle+Search

will show you TONS of other people using freeebsd who have = had the

same problem or close to it but no answers except to run in PIO = mode

but even in that I get the same error.

 

Bad Power Supply: When the drive causes a kernel panic… upon reboot

the bios shows no hardrive. You have to switch power leads = from the

supply<= font size=3D2 face=3DArial> to get it to come back, even if it’s the same one you = used

before<= font size=3D2 face=3DArial>. I know bad power supplies can make some fruity shit happen = and

a bitch = to trouble shoot.

 

Just for notes... the hardrive is a brand new Maxtor 60 gig drive. The

case is brand new with a 350w power supply. The motherboard/ram/cpus

came out of a working linux = server.

 

Any Sugestions would be = VERY MUCH appreciated!

 

my dmesg is as follows:

 

Copyright (c) 1992-2002 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.5-RELEASE #0: Fri May 10 = 19:15:08 CDT = 2002

    = user@h2o.jsnetworth.com:/usr/src/sys/compile/MOO=

Timecounter "i8254"  = frequency 1193182 Hz

CPU: Pentium II/Pentium II Xeon/Celeron (534.55-MHz 686-class CPU)

  Origin = =3D "GenuineIntel"  Id =3D 0x665  Stepping =3D = 5

 

Features=3D0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE= ,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR><= /font>

real memory  =3D 268435456 (262144K = bytes)

avail memory =3D 258686976 (252624K bytes)

Programming 24 pins in IOAPIC = #0

IOAPIC #0 intpin 2 -> = irq 0

FreeBSD/SMP: Multiprocessor = motherboard

 cpu0 = (BSP): apic id:  = 0, version: 0x00040011, at 0xfee00000

 cpu1 = (AP):  apic id:  1, version: 0x00040011, at = 0xfee00000

 io0 = (APIC): apic id:  = 2, version: 0x00170011, at 0xfec00000

Preloaded elf kernel "kernel" at 0xc029e000.

Pentium Pro MTRR support = enabled

md0: Malloc = disk

Using $PIR table, 8 entries at = 0xc00fd7e0

npx0: <math processor> on = motherboard

npx0: INT 16 interface

pcib0: <Intel 82443BX (440 BX) host to PCI = bridge> on motherboard

IOAPIC #0 intpin 19 -> = irq 2

IOAPIC #0 intpin 16 -> = irq 10

IOAPIC #0 intpin 18 -> = irq 11

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

isab0: <Intel 82371AB PCI to ISA bridge> at = device 7.0 on pci0

isa0: <ISA bus> on = isab0

atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device

7.1 on = pci0

ata0: at 0x1f0 irq 14 on = atapci0

ata1: at 0x170 irq 15 on = atapci0

pci0: <Intel 82371AB/EB (PIIX4) USB controller> = at 7.2 irq 2

Timecounter "PIIX"  = frequency 3579545 Hz

chip1: <Intel 82371AB Power management = controller> port 0x5000-0x500f

at device = 7.3 on pci0

pci0: <Matrox MGA = Millennium 2064W graphics accelerator> at 15.0 irq

10

rl0: <Accton MPX = 5030/5038 10/100BaseTX> port 0xd400-0xd4ff mem

0xd7000000-0xd70000ff irq = 2 at device 17.0 on pci0

rl0: Ethernet address: = 00:e0:29:5f:b1:14

miibus0: <MII bus> on = rl0

rlphy0: <RealTek = internal media interface> on miibus0

rlphy0:  = 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

atapci1: <HighPoint = HPT366 ATA66 controller> port

0xe000-0xe0ff,0xdc00-0xdc03,0xd800-0xd807 irq 11 at device 19.0 = on

pci0

ata2: at 0xd800 on = atapci1

atapci2: <HighPoint = HPT366 ATA66 controller> port

0xec00-0xecff,0xe800-0xe803,0xe400-0xe407 irq 11 at device 19.1 = on

pci0

ata3: at 0xe400 on = atapci2

orm0: <Option ROMs> at iomem

0xc0000-0xc7fff,0xc8000-0xc97ff,0xef000-0xeffff on isa0

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=3D0x300>

sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on = isa0

sio0: type 16550A

APIC_IO: Testing 8254 interrupt = delivery

APIC_IO: routing 8254 via IOAPIC #0 intpin 2

IP packet filtering initialized, divert enabled, = rule-based forwarding

disabled, default to deny, logging limited to 200 packets/entry = by

default=

SMP: AP CPU #1 Launched!

ad6: 57259MB <MAXTOR 4K060H3> [116336/16/63] at ata3-master UDMA66

Mounting root from ufs:/dev/ad6s1a

rl0: promiscuous mode = enabled

 

 

------=_NextPart_000_001D_01C1F888.62149000-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message