Date: Tue, 4 Jan 2000 15:08:56 -0800 (PST) From: Kris Kennaway <kris@hub.freebsd.org> To: current@freebsd.org Subject: ATA lost contact Message-ID: <Pine.BSF.4.21.0001041500430.37412-100000@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
One of my Western Digital Caviars doesn't work under the new ATA driver: upon trying to access the disk (via swapon or mount during boot) it gives the famous "lost contact with disk" message and falls back to PIO mode. Interestingly, my two older WDCs work fine - although I notice that ad1 and ad2 are only detected as WDMA2, when it seems (from the udma=2) that they can handle UDMA - is this a cabling issue or something (I'm not familiar with IDE cabling requirements)? Kris Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #1: Tue Jan 4 01:44:37 PST 2000 kkenn@morden.rebel.net.au:/usr5/src2/src/sys/compile/MORDEN Calibrating clock(s) ... TSC clock: 120042068 Hz, i8254 clock: 1193601 Hz Timecounter "i8254" frequency 1193601 Hz Timecounter "TSC" frequency 120042068 Hz CPU: Pentium/P54C (120.04-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x525 Stepping = 5 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 50331648 (49152K bytes) Physical memory chunk(s): 0x00001000 - 0x0009ffff, 651264 bytes (159 pages) 0x00325000 - 0x02feffff, 46968832 bytes (11467 pages) avail memory = 45641728 (44572K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fac90 bios32: Entry = 0xfb150 (c00fb150) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xb180 pnpbios: Found PnP BIOS data at 0xc00fb9f0 pnpbios: Entry = f0000:ba18 Rev = 1.0 Other BIOS signatures found: ACPI: 00000000 Intel Pentium detected, installing workaround for F00F bug VESA: information block 56 45 53 41 02 01 48 56 00 c0 00 00 00 00 8f 56 00 c0 20 00 de c0 ad de de c0 ad de de c0 ad de de c0 ad de de c0 ad de de c0 ad de de c0 ad de de c0 ad de de c0 ad de de c0 ad de de c0 ad de VESA: 29 mode(s) found VESA: v1.2, 2048k memory, flags:0x0, mode table:0xc00c568f (c000568f) VESA: Tseng Labs ET4000 pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=122d8086) npx0: <math processor> on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 155884645 bytes/sec bzero() bandwidth = 78076202 bytes/sec pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=122d8086) pcib0: <Host to PCI bridge> on motherboard found-> vendor=0x8086, dev=0x122d, revid=0x02 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x122e, revid=0x02 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x1230, revid=0x02 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 00003000, size 4 found-> vendor=0x100c, dev=0x3206, revid=0x00 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base f0000000, size 24 found-> vendor=0x9004, dev=0x5078, revid=0x01 class=01-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base 00006000, size 8 map[14]: type 1, range 32, base f1000000, size 12 pci0: <PCI bus> on pcib0 CPU Inactivity timer: clocks Peer Concurrency: enabled CPU-to-PCI Write Bursting: enabled PCI Streaming: enabled Bus Concurrency: enabled Cache: 256K pipelined-burst secondary; L1 enabled DRAM: no memory hole, 60 MHz refresh Read burst timing: x-2-2-2/x-3-3-3 Write burst timing: x-3-3-3 RAS-CAS delay: 3 clocks isab0: <Intel 82371FB PCI to ISA bridge> at device 7.0 on pci0 I/O Recovery Timing: 8-bit 1 clocks, 16-bit 1 clocks Extended BIOS: enabled Lower BIOS: enabled Coprocessor IRQ13: enabled Mouse IRQ12: disabled Interrupt Routing: A: disabled, B: IRQ10, C: IRQ11, D: disabled MB0: disabled, MB1: disabled isa0: <ISA bus> on isab0 ata-pci0: <Intel PIIX ATA controller> at device 7.1 on pci0 ata-pci0: Busmastering DMA supported ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x3000 ata0: mask=03 status0=50 status1=50 ata0: mask=03 status0=52 status1=50 ata0: devices = 0x3 ata0 at 0x01f0 irq 14 on ata-pci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x3008 ata1: mask=03 status0=50 status1=00 ata1: mask=03 status0=50 status1=00 ata1: devices = 0x9 ata1 at 0x0170 irq 15 on ata-pci0 vga-pci0: <Tseng Labs ET4000 W32P graphics accelerator> irq 11 at device 18.0 on pci0 ahc0: <Adaptec aic7850 SCSI adapter> irq 10 at device 19.0 on pci0 ahc0: No SEEPROM available. ahc0: Using left over BIOS settings ahc0: aic7850 Single Channel A, SCSI Id=7, 3/255 SCBs ahc0: Downloading Sequencer Program... 407 instructions downloaded Trying Read_Port at 203 Trying Read_Port at 243 CTL0031: start dependant CTL0031: adding irq mask 0x20 CTL0031: adding dma mask 0x2 CTL0031: adding dma mask 0x20 CTL0031: adding io range 0x220-0x22f, size=0x10, align=0x1 CTL0031: adding io range 0x330-0x331, size=0x2, align=0x1 CTL0031: adding io range 0x388-0x38b, size=0x4, align=0x1 CTL0031: start dependant CTL0031: adding irq mask 0x4a0 CTL0031: adding dma mask 0xb CTL0031: adding dma mask 0xe0 CTL0031: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0031: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0031: adding io range 0x388-0x38b, size=0x4, align=0x1 CTL0031: start dependant CTL0031: adding irq mask 0x4a0 CTL0031: adding dma mask 0xb CTL0031: adding dma mask 0xe0 CTL0031: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0031: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0031: start dependant CTL0031: adding irq mask 0x4a0 CTL0031: adding dma mask 0xb CTL0031: adding dma mask 0xe0 CTL0031: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0031: start dependant CTL0031: adding irq mask 0x4a0 CTL0031: adding dma mask 0xb CTL0031: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0031: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0031: adding io range 0x388-0x38b, size=0x4, align=0x1 CTL0031: start dependant CTL0031: adding irq mask 0x4a0 CTL0031: adding dma mask 0xb CTL0031: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0031: adding io range 0x300-0x331, size=0x2, align=0x30 CTL0031: start dependant CTL0031: adding irq mask 0xca0 CTL0031: adding dma mask 0xb CTL0031: adding io range 0x220-0x28f, size=0x10, align=0x20 CTL0031: end dependant CTL2011: start dependant CTL2011: adding irq mask 0x400 CTL2011: adding io range 0x168-0x16f, size=0x8, align=0x1 CTL2011: adding io range 0x36e-0x36f, size=0x2, align=0x1 CTL2011: start dependant CTL2011: adding irq mask 0x800 CTL2011: adding io range 0x1e8-0x1ef, size=0x8, align=0x1 CTL2011: adding io range 0x3ee-0x3ef, size=0x2, align=0x1 CTL2011: start dependant CTL2011: adding irq mask 0x9c00 CTL2011: adding io range 0x100-0x1ff, size=0x8, align=0x8 CTL2011: adding io range 0x300-0x3ff, size=0x2, align=0x2 CTL2011: start dependant CTL2011: adding irq mask 0x8000 CTL2011: adding io range 0x170-0x177, size=0x8, align=0x1 CTL2011: adding io range 0x376-0x376, size=0x1, align=0x1 CTL2011: end dependant PNPffff: adding io range 0x100-0x3f8, size=0x1, align=0x8 CTL7001: adding io range 0x200-0x207, size=0x8, align=0x1 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: irq maps: 0x61 0x71 0x61 0x61 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: irq maps: 0x61 0x69 0x61 0x61 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x700ff fb0: port:0x3b0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: <System console> on isa0 sc0: VGA <12 virtual consoles, flags=0x200> sc0: fb0 kbd0 isa_probe_children: probing PnP devices sbc0: <Creative SB16/SB32> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 sbc0: setting card to irq 5, drq 1, 5 pcm0: <SB DSP 4.13> on sbc0 pcm: setmap c000, 2000; 0xc4e9a000 -> c000 pcm: setmap e000, 2000; 0xc4e9c000 -> e000 ata2: iobase=0x01e8 altiobase=0x03ee bmaddr=0x0000 ata2: mask=00 status0=ff status1=ff unknown0: <Generic ESDI/IDE/ATA controller> at port 0x1e8-0x1ef,0x3ee-0x3ef irq 11 on isa0 unknown1: <Reserved> at port 0x100 on isa0 unknown2: <Game> at port 0x200-0x207 on isa0 BIOS Geometries: 0:03113f3f 0..785=786 cylinders, 0..63=64 heads, 1..63=63 sectors 1:026a7f3f 0..618=619 cylinders, 0..127=128 heads, 1..63=63 sectors 2:030efe3f 0..782=783 cylinders, 0..254=255 heads, 1..63=63 sectors 0 accounted for Device configuration finished. IP packet filtering initialized, divert disabled, rule-based forwarding disabled, unlimited logging bpf: ppp0 attached bpf: ppp1 attached new masks: bio 4008c040, tty 4003003a, net 4007003a bpf: lo0 attached Linux-ELF exec handler installed ata0-master: success setting up WDMA2 mode on PIIX chip ad0: piomode=4 dmamode=2 udmamode=-1 cblid=0 ad0: <WDC AC31600H/21.15T21> ATA-0 disk at ata0 as master ad0: 1549MB (3173184 sectors), 3148 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, WDMA2 Creating DISK ad0 Creating DISK wd0 ata0-slave: success setting up WDMA2 mode on PIIX chip ad1: piomode=4 dmamode=2 udmamode=2 cblid=0 ad1: <WDC AC22500L/32.41N37> ATA-3 disk at ata0 as slave ad1: 2441MB (4999680 sectors), 4960 cyls, 16 heads, 63 S/T, 512 B/S ad1: 16 secs/int, 1 depth queue, WDMA2 Creating DISK ad1 Creating DISK wd1 ata1-master: success setting up WDMA2 mode on PIIX chip ad2: piomode=4 dmamode=2 udmamode=2 cblid=0 ad2: <WDC AC26400R/15.01J55> ATA-4 disk at ata1 as master ad2: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S ad2: 16 secs/int, 1 depth queue, WDMA2 Creating DISK ad2 Creating DISK wd2 ata1-slave: piomode=3 dmamode=0 udmamode=-1 dmaflag=1 acd0: <GCD-R540C/1.01> CDROM drive at ata1 as slave acd0: read 171KB/s (689KB/s), 256KB buffer, ??? acd0: Reads: CD-DA acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM 120mm audio disc loaded, unlocked, lock protected Waiting 2 seconds for SCSI devices to settle (noperiph:ahc0:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted. Mounting root from ufs:wd0s2a wd0s1: type 0x6, start 63, end = 1745855, size 1745793 : OK wd0s2: type 0xa5, start 1745856, end = 3173183, size 1427328 : OK start_init: trying /sbin/init wd1s1: type 0x6, start 63, end = 2048255, size 2048193 : OK wd1s2: type 0x5, start 2048256, end = 3072383, size 1024128 : OK wd1s3: type 0xa5, start 3072384, end = 4999679, size 1927296 : OK wd1s5: type 0x6, start 2048319, end = 3072383, size 1024065 : OK ad2: ad_timeout: lost disk contact - resetting ata1: resetting devices .. ata1: mask=03 status0=50 status1=00 ata1-master: success setting up WDMA2 mode on PIIX chip ata1-slave: timeout waiting for command=ef s=00 e=00 ata1-slave: failed setting up PIO3 mode on generic chip done ad2: ad_timeout: lost disk contact - resetting ata1: resetting devices .. ata1: mask=03 status0=50 status1=00 ata1-master: success setting up WDMA2 mode on PIIX chip ata1-slave: timeout waiting for command=ef s=00 e=00 ata1-slave: failed setting up PIO3 mode on generic chip done ad2: ad_timeout: lost disk contact - resetting ata1: resetting devices .. ata1: mask=03 status0=50 status1=00 ata1-master: success setting up WDMA2 mode on PIIX chip ata1-slave: timeout waiting for command=ef s=00 e=00 ata1-slave: failed setting up PIO3 mode on generic chip done ad2: ad_timeout: lost disk contact - resetting ata1-master: success setting up PIO4 mode on generic chip ad2: ad_timeout: trying fallback to PIO mode ata1: resetting devices .. ata1: mask=03 status0=50 status1=00 ata1-master: success setting up WDMA2 mode on PIIX chip ata1-slave: timeout waiting for command=ef s=00 e=00 ata1-slave: failed setting up PIO3 mode on generic chip done wd2s1: type 0xa5, start 63, end = 4193909, size 4193847 : OK wd2s2: type 0xa5, start 4193910, end = 8387819, size 4193910 : OK wd2s3: type 0xa5, start 8387820, end = 12594959, size 4207140 : OK wd2s1: type 0xa5, start 63, end = 4193909, size 4193847 : OK wd2s2: type 0xa5, start 4193910, end = 8387819, size 4193910 : OK wd2s3: type 0xa5, start 8387820, end = 12594959, size 4207140 : OK wd2s1: type 0xa5, start 63, end = 4193909, size 4193847 : OK wd2s2: type 0xa5, start 4193910, end = 8387819, size 4193910 : OK wd2s3: type 0xa5, start 8387820, end = 12594959, size 4207140 : OK wd2s1: type 0xa5, start 63, end = 4193909, size 4193847 : OK wd2s2: type 0xa5, start 4193910, end = 8387819, size 4193910 : OK wd2s3: type 0xa5, start 8387820, end = 12594959, size 4207140 : OK wd2s1: type 0xa5, start 63, end = 4193909, size 4193847 : OK wd2s2: type 0xa5, start 4193910, end = 8387819, size 4193910 : OK wd2s3: type 0xa5, start 8387820, end = 12594959, size 4207140 : OK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0001041500430.37412-100000>