Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2006 12:36:44 +0300
From:      "Mikhail Manuylov" <mikhail.manuilov@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Dead Hang/Panic trap with Promise SATA300 TX4 Controller
Message-ID:  <7ec6def90603150136g4d9b93b0rd56c77f66199a008@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

Some days ago I got new Promise SATA300 TX4 Controller and 2 250GB Samsung
SATA300 disks.
I've installed this pci card to my old pentium-mmx RELENG_6 ( 10 Jan 2006 )
box and one of new disks.
While trying to dump/restore my old files from UDMA33 ad0 (40GB Samsung) to
new successfully recognized ad4
system hang up deadly. So I ran few tests with dd:

1) RELENG_6 (10 Jan 2006)
a) dd if=3D/dev/ad0 of=3D/dev/ad4 -> ran all night and no trap or panic (bu=
t due
to no small buffer speed was very low:  only 30GB have been dumped).
b) dd if=3D/dev/ad0 of=3D/dev/ad4 bs=3D8m -> hang or hang with no vga signa=
l
immediately
c) dd if=3D/dev/ad4 of=3D/dev/null bs=3D8m -> normal (expected) speed, no h=
ang
d) dd if=3D/dev/zero of=3D/dev/ad4 bs=3D8m -> normal speed, no hang
e) dd if=3D/dev/random of=3D/dev/ad4 bs=3D8m -> hang/trap immediately
e) dd if=3D/dev/ad0 of=3D/dev/ad4 bs=3D8m -> hang/trap immediately

After looking up to cvs-web with recent changes to promise chipsets I've
found out that Soren changed something in the end of February, so I rebuile=
d
my system updated it to FreeBSD 6.1-PRERELEASE #0: Tue Mar 14 11:07:49 MSK
2006

2) And I've have to report that everything runs ( i mean hangs ) the same
way as before but sometimes there is a trap - not just dead hang.

I'd really like to help this debugged. So I'll follow instructions on
dump/debug and stuff to developer.

See my `dmesg` below.

Copyright (c) 1992-2006 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 6.1-PRERELEASE #0: Tue Mar 14 11:07:49 MSK 2006
    root@blablabla.bla:/usr/obj/usr/src/sys/FOORY
WARNING: MPSAFE network stack disabled, expect reduced performance.
link_elf: symbol iicbus_intr undefined
KLD file pcf.ko - could not finalize loading
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium/P55C (233.86-MHz 586-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x543  Stepping =3D 3
  Features=3D0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  =3D 134217728 (128 MB)
avail memory =3D 125788160 (119 MB)
Intel Pentium detected, installing workaround for F00F bug
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 6 Entries> on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 1.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x6000-0x601f irq 11
at device 1.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
intpm0: <Intel 82371AB Power management controller> port 0x5c00-0x5c0f irq =
9
at device 1.3 on pci0
intpm0: I/O mapped 5c00
intpm0: intr IRQ 9 enabled revision 0
intpm0: [GIANT-LOCKED]
intsmb0: <Intel PIIX4 SMBUS Interface> on intpm0
smbus1: <System Management Bus> on intsmb0
smb0: <SMBus generic I/O> on smbus1
intpm0: PM I/O mapped 5800
pci0: <display, VGA> at device 9.0 (no driver attached)
fxp0: <Intel 82559 Pro/100 Ethernet> port 0x6800-0x683f mem
0xe1221000-0xe1221fff,0xe1000000-0xe10fffff irq 12 at device 10.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:04:ac:13:ae:e6
fxp0: [GIANT-LOCKED]
fxp1: <Intel 82558 Pro/100 Ethernet> port 0x6c00-0x6c1f mem
0xe1220000-0xe1220fff,0xe1100000-0xe11fffff irq 9 at device 11.0 on pci0
miibus1: <MII bus> on fxp1
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:04:ac:25:54:a4
fxp1: [GIANT-LOCKED]
atapci1: <Promise PDC40718 SATA300 controller> port
0x7000-0x707f,0x7400-0x74ff mem 0xe1222000-0xe1222fff,0xe1200000-0xe121ffff
irq 10 at device 12.0 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
ata4: <ATA channel 2> on atapci1
ata5: <ATA channel 3> on atapci1
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xcdfff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd0: [GIANT-LOCKED]
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <Hewlett-Packard HP LaserJet 1100.1.1> PRINTER MLC,PCL,PJL
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
pcfclock0: <PCF-1.0> on ppbus0
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
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
speaker0: <PC speaker> at port 0x61 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
speaker1: <PC speaker> at port 0x61 on isa0
speaker1: Already attached!
device_attach: speaker1 attach returned 6
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0a03> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
ugen0: American Power Conversion Smart-UPS 750 FW:651.12.I USB FW:4.2, rev
1.10/0.06, addr 2
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled,
default to deny, logging limited to 10 packets/entry by default
ad0: 32253MB <SAMSUNG SP0411N TW100-08> at ata0-master UDMA33
ad4: 238475MB <SAMSUNG SP2504C VT100-33> at ata2-master SATA300
Trying to mount root from ufs:/dev/ad0s1a

--
Truly yours, Mikhail Manuilov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7ec6def90603150136g4d9b93b0rd56c77f66199a008>