From owner-freebsd-current Wed Jan 5 20:21:57 2000 Delivered-To: freebsd-current@freebsd.org Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 802321552B for ; Wed, 5 Jan 2000 20:21:36 -0800 (PST) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <40327>; Thu, 6 Jan 2000 15:13:59 +1100 Content-return: prohibited From: Peter Jeremy Subject: Mounting CD-ROM with ATA driver hangs system To: freebsd-current@FreeBSD.ORG Message-Id: <00Jan6.151359est.40327@border.alcanet.com.au> MIME-version: 1.0 X-Mailer: Mutt 1.0i Content-type: text/plain; charset=us-ascii Date: Thu, 6 Jan 2000 15:13:59 +1100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just discovered that my ATAPI CD-ROM is no longer usable - when I try to mount it, my maching hangs (hard). I'm running -current from cvs-cur 5961 (Monday about 0000UTC). The symptoms are: Run "mount -r /dev/acd0c /cdrom" The CD-ROM activity light flashes briefly and the CD-ROM spins up. The activity light then goes hard on for something like 20 seconds. The kernel then prints: acd0: atapi_timeout: cmd=READ_BIG - resetting ata0: resetting devices .. _ The cursor remains at the end of the line ("_" above). The CD-ROM spins up and down. The HDD light stays hard on. At this point, the system will not respond to the keyboard. I didn't have any problems with the WD driver, so I don't think it's hardware. Any ideas? Dmesg output: 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 #15: Thu Jan 6 08:02:56 EST 2000 root@gsmx07.alcatel.com.au:/3.0/cvs/src/sys/compile/gsmx Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 267310659 Hz CPU: Pentium II (267.31-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x633 Stepping = 3 Features=0x80f9ff real memory = 67108864 (65536K bytes) avail memory = 61980672 (60528K bytes) Preloaded elf kernel "kernel" at 0xc0301000. VESA: v2.0, 4096k memory, flags:0x1, mode table:0xc02b1e22 (1000022) VESA: Matrox Graphics Inc. Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 ata-pci0: at device 7.1 on pci0 ata-pci0: Busmastering DMA supported ata0 at 0x01f0 irq 14 on ata-pci0 ata1 at 0x0170 irq 15 on ata-pci0 pci0: Intel 82371AB/EB (PIIX4) USB controller (vendor=0x8086, dev=0x7112) at 7.2 irq 11 chip1: at device 7.3 on pci0 vga-pci0: irq 10 at device 9.0 on pci0 tx0: irq 9 at device 10.0 on pci0 tx0: address 00:e0:29:24:34:1f, type SMC9432TX, Auto-Neg 100Mbps ed0 at port 0x300-0x31f iomem 0xcc000-0xcffff irq 7 on isa0 ed0: address 00:00:c0:57:99:47, type WD8013EPC (16 bit) atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> ata-isa0: already registered as ata0 ata-isa1: already registered as ata1 fdc0: 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 fd1: not probed (disabled) sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A pca0 at port 0x40 on isa0 pca0: PC speaker audio driver isa_compat: didn't get irq for ppc ppc0 at port 0x378-0x37f irq 7 on isa0 isa_compat: didn't get irq for ppc ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: on ppbus 0 lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: on ppbus 0 pps0: on ppbus 0 sbc0: at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,3 on isa0 sbc0: setting card to irq 5, drq 1, 3 pcm0: on sbc0 joy0: at port 0x201 on isa0 ad0: ATA-3 disk at ata0 as master ad0: 6187MB (12672450 sectors), 13410 cyls, 15 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, UDMA33 ad2: ATA-0 disk at ata1 as master ad2: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S ad2: 16 secs/int, 1 depth queue, DMA acd0: CDROM drive at ata0 as slave acd0: read 1723KB/s (1723KB/s), 256KB buffer, DMA acd0: Reads: CD-R, CD-RW, CD-DA stream acd0: Audio: play, 16 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM 120mm data disc loaded, unlocked Mounting root from ufs:/dev/ad0s2a Peter -- Peter Jeremy (VK2PJ) peter.jeremy@alcatel.com.au Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA NSW 2015 Fax: +61 2 9690 5982 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message