From owner-freebsd-bugs Wed Apr 24 18:12:24 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4629737B41A for ; Wed, 24 Apr 2002 18:12:16 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3P1A2K81928; Wed, 24 Apr 2002 18:10:02 -0700 (PDT) (envelope-from gnats) Date: Wed, 24 Apr 2002 18:10:02 -0700 (PDT) Message-Id: <200204250110.g3P1A2K81928@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Christopher Hall Subject: Re: i386/37420: Copying large files from an IDE CD-ROM to a harddrive causes a system lock-up. Reply-To: Christopher Hall Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/37420; it has been noted by GNATS. From: Christopher Hall To: Dan Naumov Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: i386/37420: Copying large files from an IDE CD-ROM to a harddrive causes a system lock-up. Date: Thu, 25 Apr 2002 09:00:55 +0800 I reported a similar problem with Subject: ATAPI CDROM fails to read CDRW to stable list. In my case only the restore command would cause the timeout and resetting messages I could mount/umount/dd files without failure. If I used atacontrol to change the drive from pio to dma e.g. atacontrol mode 1 udma100 xxx (drive initially PIO4, after this command it showed WDMA2) The failures were much less frequent in WDMA2 mode, had 2 failures in 10 tries. I was using CDRW media. My CDROMs that failed: AOpen 52x; Acer 40x (on two different machines) but Acer CDRW 12x8x32 worked without problem (on both machines). Machine is now running 4.5-R-p3 which does not appear to have this problem. also thread on stable list with Subject: ATAPI CD on -stable can't read VCD Which is possibly related, but was DVD drive. In message <200204241525.g3OFPBc51188@freefall.freebsd.org>, Dan Naumov writes: > >>Number: 37420 >>Category: i386 >>Synopsis: Copying large files from an IDE CD-ROM to a harddrive causes >a system lock-up. >>Confidential: no >>Severity: serious >>Priority: high >>Responsible: freebsd-bugs >>State: open >>Quarter: >>Keywords: >>Date-Required: >>Class: sw-bug >>Submitter-Id: current-users >>Arrival-Date: Wed Apr 24 08:30:02 PDT 2002 >>Closed-Date: >>Last-Modified: >>Originator: Dan Naumov >>Release: 4.5-STABLE >>Organization: >none, home user. >>Environment: >FreeBSD localhost.localdomain 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Apr 24 17: >44:41 EEST 2002 jago@localhost.localdomain:/usr/obj/usr/src/sys/GENERIC i386 >>Description: >I've noticed that trying to copy files off my Creative 52X IDE CD-ROM to the h >ardware will cause my machine to lock. I can browse the CD's ok (tried with se >veral CD's), but copying large files from CD to harddrive slows down to a craw >l at first (300-400 kb/s) and then locks up the machine. Here's a snip from /v >ar/log/messages: > >===============mount command issued=============== >Apr 24 17:48:15 localhost /kernel: cd9660: Joliet Extension (Level 1) >Apr 24 17:49:19 localhost /kernel: acd0: READ_BIG command timeout - resetting >Apr 24 17:49:19 localhost /kernel: ata1: resetting devices .. done >=================machine locks up================= > >I've tried to copy the same files off the same CD's on my girlfriend's Win2000 > machine and it could read the CD's fine, browsing the CD's themselves on my o >wn machine does not seem to cause any trouble, but copying large files does. N >ow for some specs. Here's the dmesg output: > >===============start dmesg=============== >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-STABLE #0: Wed Apr 24 17:44:41 EEST 2002 > jago@localhost.localdomain:/usr/obj/usr/src/sys/GENERIC >Timecounter "i8254" frequency 1193182 Hz >CPU: AMD Athlon(tm) processor (1424.83-MHz 686-class CPU) > Origin = "AuthenticAMD" Id = 0x644 Stepping = 4 > Features=0x183f9ffPAT,PSE36,MMX,FXSR> > AMD Features=0xc0440000<,AMIE,DSP,3DNow!> >real memory = 536805376 (524224K bytes) >avail memory = 517496832 (505368K bytes) >Pentium Pro MTRR support enabled >md0: Malloc disk >Using $PIR table, 10 entries at 0xc00fddb0 >npx0: on motherboard >npx0: INT 16 interface >pcib0: on motherboard >pci0: on pcib0 >pcib1: at device 1.0 on pci0 >pci1: on pcib1 >pci1: at 5.0 irq 10 >isab0: at device 7.0 on pci0 >isa0: on isab0 >atapci0: port 0xc400-0xc40f at device 7.1 on pc >i0 >ata0: at 0x1f0 irq 14 on atapci0 >ata1: at 0x170 irq 15 on atapci0 >uhci0: port 0xc800-0xc81f irq 5 at device 7.2 on p >ci0 >usb0: on uhci0 >usb0: USB revision 1.0 >uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >uhub0: 2 ports with 2 removable, self powered >uhci1: port 0xcc00-0xcc1f irq 5 at device 7.3 on p >ci0 >usb1: on uhci1 >usb1: USB revision 1.0 >uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >uhub1: 2 ports with 2 removable, self powered >pci0: (vendor=0x1106, dev=0x3057) at 7.4 >rl0: port 0xe000-0xe0ff mem 0xdc001000-0xdc0010ff >irq 11 at device 10.0 on pci0 >rl0: Ethernet address: 00:e0:7d:9f:be:31 >miibus0: on rl0 >rlphy0: on miibus0 >rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >pci0: (vendor=0x1274, dev=0x5880) at 14.0 irq 11 >orm0: