From owner-cvs-src@FreeBSD.ORG Thu Mar 2 21:00:36 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72DC716A42C for ; Thu, 2 Mar 2006 21:00:36 +0000 (GMT) (envelope-from dawnshade@mail.ru) Received: from relay1.kaspersky-labs.com (relay1.kaspersky-labs.com [212.5.80.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6162443DA9 for ; Thu, 2 Mar 2006 21:00:30 +0000 (GMT) (envelope-from dawnshade@mail.ru) Received: from relay1.kaspersky-labs.com (localhost [127.0.0.1]) by relay1.kaspersky-labs.com (ESMTP) with SMTP id 547C41D1CD for ; Thu, 2 Mar 2006 10:59:58 +0300 (MSK) Received: from antispam.localhost (localhost [127.0.0.1]) by relay1.kaspersky-labs.com (ESMTP) with SMTP id 0894F1D828 for ; Thu, 2 Mar 2006 10:27:15 +0300 (MSK) Received: by relay1.kaspersky-labs.com (ESMTP, from userid 230) id 84178207C6; Thu, 2 Mar 2006 10:25:50 +0300 (MSK) Received: from mbx.avp.ru (mx.avp.ru [212.5.80.12]) by relay1.kaspersky-labs.com (ESMTP) with ESMTP id E27BA2059F for ; Thu, 2 Mar 2006 10:24:18 +0300 (MSK) Received: from moscow2.avp.ru ([10.64.0.4]) by mbx.avp.ru with Microsoft SMTPSVC(6.0.3790.1830); Thu, 2 Mar 2006 10:23:48 +0300 Received: from moscow.avp.ru ([10.64.0.3]) by moscow2.avp.ru with Microsoft SMTPSVC(6.0.3790.1830); Thu, 2 Mar 2006 10:26:56 +0300 Received: from sarkisyan ([172.16.1.117]) by moscow.avp.ru with Microsoft SMTPSVC(6.0.3790.1830); Thu, 2 Mar 2006 10:25:20 +0300 From: dawnshade To: cvs-src@freebsd.org Date: Thu, 2 Mar 2006 10:26:47 +0300 User-Agent: KMail/1.9.1 References: <200603011836.k21Iah7e057286@repoman.freebsd.org> In-Reply-To: <200603011836.k21Iah7e057286@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200603021026.48487.dawnshade@mail.ru> X-OriginalArrivalTime: 02 Mar 2006 07:25:20.0304 (UTC) FILETIME=[763D1300:01C63DCA] X-SpamTest-Version: SMTP-Filter Version 2.0.0 [0125], KAS/Release X-Spamtest-Info: Pass through X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.2/RELEASE, bases: 02032006 #168651, status: clean Subject: Re: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-chipset.c ata-queue.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2006 21:00:36 -0000 On Wednesday 01 March 2006 21:36, S=F8ren Schmidt wrote: > sos 2006-03-01 18:36:43 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_6) > sys/dev/ata ata-all.c ata-all.h ata-chipset.c > ata-queue.c > Log: > MFC: > Keep the parent device (in this case the channel) around in ata_request, > so we dont panic device removal or failure. > Clean up ata_fail_requests to prevent the queue munging to fail. > Fix ata_reinit so it does things in the right order to prevent panic's. > Lock the channel so master/slave setups wont trash during reinit. > Work around the deadlock that occours when ATA waits for the taskqueue > to call back for completition and something else is holding the taskque= ue > waiting for ATA to return data. > This should clear up the "semaphore timeout !! DANGER Will Robinson !!" > in most situations, and log "taskqueue timeout - completing request > directly" instead, with a delayed "WARNING - freeing taskqueue zombie > request" when the taskqueue finally calls us back with the now stale > request. > (It would have been nice if there was a way to remove a scheduled item > from the taskqueue finally calls us back with the now stale request. > for me not helps this commit :( 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. =46reeBSD 6.1-PRERELEASE #0: Wed Mar 1 20:33:42 MSK 2006 root@dawnshade-note:/usr/src/sys/i386/compile/45 ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1.60GHz (1596.01-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x6d8 Stepping =3D 8 Features=3D0xafe9fbff Features2=3D0x180 AMD Features=3D0x100000 real memory =3D 528347136 (503 MB) avail memory =3D 507662336 (484 MB) ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard ichwd module loaded npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_ec0: port 0x62,0x66 on acpi0 acpi_ec0: info: new max delay is 470 us acpi_ec0: info: new max delay is 291000 us acpi_ec0: info: new max delay is 411000 us Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_perf0: on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: Please update driver or contact the maintainer. est: cpu_vendor GenuineIntel, msr 6120c2906000c29, bus_clk, 64 device_attach: est0 attach returned 6 p4tcc0: on cpu0 acpi_perf0: on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 drmsub0: port 0xe000-0xe007 mem 0xd0000000-0xd007ffff,0xa000= 0000-0xafffffff,0xd0080000-0xd00bffff irq 16 at device 2.0 on pci0 error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize A= GP. device_attach: drmsub0 attach returned 12 pci0: at device 2.1 (no driver attached) uhci0: port 0x1200-0x= 121f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: 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 uhci1: port 0x1220-0x= 123f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1240-0x= 125f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x1260-0x= 127f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: irq 23 at device 29.7 on p= ci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: reset timeout ehci0: USB init failed err=3D13 device_attach: ehci0 attach returned 5 pcib1: at device 30.0 on pci0 pci1: on pcib1 fwohci0: mem 0xc0004000-0xc00047ff,= 0xc0008000-0xc000bfff irq 20 at device 0.0 on pci1 fwohci0: OHCI version 1.10 (ROM=3D0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:02:3f:53:71:40:65:a3 fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:02:3f:40:65:a3 fwe0: Ethernet address: 02:02:3f:40:65:a3 fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset bfe0: mem 0xc0002000-0xc0003fff irq 21 = at device 1.0 on pci1 miibus0: on bfe0 bmtphy0: on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bfe0: Ethernet address: 00:0f:b0:62:1d:c3 iwi0: mem 0xc0001000-0xc0001fff irq 22 at de= vice 2.0 on pci1 iwi0: Ethernet address: 00:12:f0:21:21:37 cbb0: at device 4.0 on pci1 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pci1: at device 4.1 (no driver attached) pci1: at device 4.2 (no driver attached) pci1: at device 4.3 (no driver attached) pci1: at device 4.4 (no driver attached) pcm0: port 0xe100-0xe1ff,0xe200-0xe23f mem 0xd00c000= 0-0xd00c01ff,0xd00c0200-0xd00c02ff irq 17 at device 30.2 on pci0 pcm0: pci0: at device 30.3 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177= ,0x376,0x1100-0x110f at device 31.2 on pci0 atapci0: failed to enable memory mapping! ata0: on atapci0 ata1: on atapci0 ichsmb0: port 0x1400-0x141f irq 19 at device 31.3 on pci0 ichsmb0: [GIANT-LOCKED] smbus0: on ichsmb0 acpi_acad0: on acpi0 acpi_ec0: info: new max delay is 451000 us battery0: on acpi0 acpi_ec0: info: new max delay is 481000 us battery1: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acp= i0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xe0000-0xe1fff,0xe5000-0xe5fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: vendor 0x1267 PS/2+USB Mouse, rev 1.10/0.01, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. Timecounter "TSC" frequency 1596013002 Hz quality 800 Timecounters tick every 1.000 msec fwohci0: node_id=3D0xc000ffc0, gen=3D1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <=3D 0, cable IRM =3D 0 (me) firewire0: bus manager 0 (me) acpi_acad0: acline initialization start acpi_acad0: On Line acpi_acad0: acline initialization done, tried 1 times battery0: battery initialization start ad2: 57231MB at ata1-master UDMA100 battery0: battery initialization done, tried 1 times battery1: battery initialization start acd0: req=3D0xc358a72c DEVICE_RESET semaphore timeout !! DANGER Will Robins= on !! acd0: req=3D0xc358a72c DEVICE_RESET semaphore timeout !! DANGER Will Robins= on !! ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D0 acd0: DVDR at ata1-slave UDMA33 battery1: battery initialization failed, giving up ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D63 cd0 at ata1 bus 0 target 1 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: cd present [126098 x 2048 byte records] acd0: TIMEOUT - READ_BIG retrying (1 retry left) Trying to mount root from ufs:/dev/ad2s1a ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D191 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D47796991 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D106131551 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D106625183 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D13172607 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D106669639 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D13172767 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D106675463 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D7527327 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D84696767 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D10576375 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D10578079 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D106678175 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D4973503 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D13185747 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D5004543 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D84692143 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D4973599 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D87048479 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D92206719 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D84692703 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D106679839 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D191 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D115163935 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D191 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D106669503 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D63 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D7527551 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D106672703 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D63 ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=3D106669631 Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop...done All buffers synced. Uptime: 45s Shutting down ACPI Rebooting... can you tell something about this situation?