| Summary: | filesystem corruption CFP1080 CAM SCSI cam_xpt.c | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Cy Schubert <Cy.Schubert> | ||||
| Component: | kern | Assignee: | Cy Schubert <cy> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 4.2-RELEASE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Cy Schubert
2001-01-30 16:30:01 UTC
On Tue, Jan 30, 2001 at 08:28:12 -0800, Cy.Schubert@uumail.gov.bc.ca wrote: > FreeBSD cwsys 4.2-RELEASE FreeBSD 4.2-RELEASE #9: Tue Jan 30 06:59:46 PST 2001 root@:/opt/cvs-420r/src/sys/compile/CWSYS i386 > > >Description: > > After replacing a dead Quantum drive with a CONNER CFP1080S drive, > filesystem corrupted and data lost; system hung after six hours. > > >How-To-Repeat: > > Install a CONNER CFP1080 SCSI disk drive. > > >Fix: > > Disable tagged queueing for CONNER CFP1080*. What sort of controller are you using? What I'm getting at here is that I want to make sure the corruption problem is due to the drive and not the controller or HBA driver. Also, can you supply dmesg output for the drive and controller? Ken -- Kenneth Merry ken@kdm.org I have a CFP1080S which has worked flawlessly without quirks since way before CAM. It's been inside the same machine since I bought it in 1995 or 1996, and that machine has been running CURRENT (3.0, then 4.0, then 5.0) since mid-1998, and was running RELENG_2_2 before that, and is now running RELENG_4. DES -- Dag-Erling Smorgrav - des@ofug.org On Wed, Jan 31, 2001 at 13:05:18 +0100, Dag-Erling Smorgrav wrote: > I have a CFP1080S which has worked flawlessly without quirks since way > before CAM. It's been inside the same machine since I bought it in > 1995 or 1996, and that machine has been running CURRENT (3.0, then > 4.0, then 5.0) since mid-1998, and was running RELENG_2_2 before that, > and is now running RELENG_4. That's good to know. What firmware revision is it? (dmesg output would do the trick) And what controller is it on? (This may help for comparing against Cy's hardware.) Ken -- Kenneth Merry ken@kdm.org "Kenneth D. Merry" <ken@kdm.org> writes: > That's good to know. What firmware revision is it? (dmesg output would > do the trick) And what controller is it on? Sorry for the delay. Here's a 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.2-BETA #4: Mon Nov 6 03:28:44 GMT 2000 des@md5.thinksec.com:/usr/src/sys/compile/MD5 Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P54C (166.19-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 134217728 (131072K bytes) avail memory = 127721472 (124728K bytes) Preloaded elf kernel "kernel" at 0xc02f9000. Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk apm0: <APM BIOS> on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX3 ATA controller> port 0xe800-0xe80f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 pci0: <Tseng Labs ET6000/ET6100 graphics accelerator> at 9.0 irq 9 fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd800-0xd81f mem 0xf8800000-0xf88fffff,0xfa800000-0xfa800fff irq 9 at device 10.0 on pci0 fxp0: Ethernet address 00:a0:c9:4d:1b:d4 pcm0: <AudioPCI ES1371> port 0xd400-0xd43f irq 12 at device 11.0 on pci0 ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xd000-0xd0ff mem 0xf8000000-0xf8000fff irq 11 at device 12.0 on pci0 aic7880: 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=0x100> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A 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/15 bytes threshold lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ad0: 6149MB <QUANTUM FIREBALL ST6.4A> [13328/15/63] at ata0-master WDMA2 Waiting 2 seconds for SCSI devices to settle sa0 at ahc0 bus 0 target 3 lun 0 sa0: <TECMAR TRAVAN NS8 P611> Removable Sequential Access SCSI-2 device sa0: 10.000MB/s transfers (10.000MHz, offset 8) da0 at ahc0 bus 0 target 2 lun 0 da0: <QUANTUM XP34550W LXY1> Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 4341MB (8890760 512 byte sectors: 255H 63S/T 553C) da1 at ahc0 bus 0 target 4 lun 0 da1: <CONNER CFP1080S 4649> Fixed Direct Access SCSI-2 device da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da1: 1030MB (2110812 512 byte sectors: 255H 63S/T 131C) Mounting root from ufs:/dev/wd0a cd0 at ahc0 bus 0 target 5 lun 0 cd0: <TOSHIBA CD-ROM XM-3801TA 1047> Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 8) cd0: Attempt to query device size failed: NOT READY, Medium not present DES -- Dag-Erling Smorgrav - des@ofug.org State Changed From-To: open->feedback Submitter never responded to my questions: What sort of controller are you using? What I'm getting at here is that I want to make sure the corruption problem is due to the drive and not the controller or HBA driver. Also, can you supply dmesg output for the drive and controller? AHA 2940U/UW 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.2-RELEASE #8: Tue Jan 23 13:50:12 PST 2001 root@cwsys:/usr/opt/cvs-420r/src/sys/compile/CWSYS Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 119752821 Hz CPU: Pentium/P54C (119.75-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 83886080 (81920K bytes) avail memory = 78356480 (76520K bytes) Preloaded elf kernel "kernel" at 0xc0337000. Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX3 ATA 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 82371SB (PIIX3) USB controller> at 7.2 irq 9 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x6000-0x607f mem 0xe4001000-0xe400107f irq 5 at device 18.0 on pci0 xl0: Ethernet address: 00:50:da:80:28:96 miibus0: <MII bus> on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0x6100-0x61ff mem 0xe4000000-0xe4000fff irq 5 at device 19.0 on pci0 aic7880: Wide Channel A, SCSI Id=7, 16/255 SCBs pci0: <S3 Trio graphics accelerator> at 20.0 irq 12 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 fd1: <1200-KB 5.25" drive> on fdc0 drive 1 aha0 at port 0x330-0x333 irq 11 drq 5 on isa0 aha0: AHA-1542CF FW Rev. C.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> 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 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ep0: <3Com 3C509-Combo EtherLink III> at port 0x300-0x30f irq 10 on isa0 ep0: Ethernet address 00:60:97:d3:32:3e IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, unlimited logging DUMMYNET initialized (000608) IP Filter: v3.4.16 initialized. Default = block all, Logging = enabled ad0: 2014MB <WDC AC22100H> [4092/16/63] at ata0-master WDMA2 ad2: 2441MB <WDC AC22500L> [4960/16/63] at ata1-master WDMA2 Waiting 15 seconds for SCSI devices to settle sa0 at ahc0 bus 0 target 4 lun 0 sa0: <ARCHIVE Python 28388-XXX 5.45> Removable Sequential Access SCSI-2 device sa0: 7.812MB/s transfers (7.812MHz, offset 15) da1 at ahc0 bus 0 target 1 lun 0 da1: <SEAGATE ST34520N 1487> Fixed Direct Access SCSI-2 device da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da1: 4340MB (8888924 512 byte sectors: 64H 32S/T 4340C) da0 at ahc0 bus 0 target 0 lun 0 da0: <CONNER CFP1080S 4649> Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da0: 1030MB (2110812 512 byte sectors: 64H 32S/T 1030C) Mounting root from ufs:/dev/ad0s1a cd0 at ahc0 bus 0 target 2 lun 0 cd0: <PLEXTOR CD-ROM PX-4XCH 1.22> Removable CD-ROM SCSI-2 device cd0: 4.032MB/s transfers (4.032MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present da2 at aha0 bus 0 target 6 lun 0 da2: <IOMEGA ZIP 100 D.09> Removable Direct Access SCSI-2 device da2: 3.300MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/Alpha Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC In message <200102060047.f160lU516022@freefall.freebsd.org>, ken@FreeBSD.org wr ites: > Synopsis: filesystem corruption CFP1080 CAM SCSI cam_xpt.c > > State-Changed-From-To: open->feedback > State-Changed-By: ken > State-Changed-When: Mon Feb 5 16:45:47 PST 2001 > State-Changed-Why: > Submitter never responded to my questions: > > What sort of controller are you using? > > What I'm getting at here is that I want to make sure the corruption > problem is due to the drive and not the controller or HBA driver. > > Also, can you supply dmesg output for the drive and controller? > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=24740 Responsible Changed From-To: freebsd-bugs->cy Now that you are a committer, have fun cleaning up your own PRs. :) State Changed From-To: feedback->suspended Am unable to recreate the problem because I no longer have that controller. Another controller of the same model but with different firmware does not exhibit the problem. State Changed From-To: suspended->closed Unable to recreate the problem under FreeBSD 4.X, 5.X, and 6.0. |