cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-chipset.c ata-queue.c

dawnshade dawnshade at mail.ru
Thu Mar 2 13:00:36 PST 2006


On Wednesday 01 March 2006 21:36, SЬren 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 taskqueue
>   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.
FreeBSD 6.1-PRERELEASE #0: Wed Mar  1 20:33:42 MSK 2006
    root at dawnshade-note:/usr/src/sys/i386/compile/45
ACPI APIC Table: <STUPID MAPIC_00>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1.60GHz (1596.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6d8  Stepping = 8
  Features=0xafe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
  Features2=0x180<EST,TM2>
  AMD Features=0x100000<NX>
real memory  = 528347136 (503 MB)
avail memory = 507662336 (484 MB)
ioapic0: Changing APIC ID to 1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ichwd module loaded
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <INSYDE RSDT_000> 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: <Embedded Controller: GPE 0x1d> 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: <ACPI CPU> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_perf0: failed in PERF_STATUS attach
device_attach: acpi_perf0 attach returned 6
est0: <Enhanced SpeedStep Frequency Control> 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: <CPU Frequency Thermal Control> on cpu0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_perf0: failed in PERF_STATUS attach
device_attach: acpi_perf0 attach returned 6
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
drmsub0: <Intel i915GM> port 0xe000-0xe007 mem 0xd0000000-0xd007ffff,0xa0000000-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 AGP.
device_attach: drmsub0 attach returned 12
pci0: <display> at device 2.1 (no driver attached)
uhci0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> port 0x1200-0x121f irq 23 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> 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: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> port 0x1220-0x123f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> 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: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> port 0x1240-0x125f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> 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: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D> port 0x1260-0x127f irq 16 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D> 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: <Intel 82801FB (ICH6) USB 2.0 controller> irq 23 at device 29.7 on pci0
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=13
device_attach: ehci0 attach returned 5
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
fwohci0: <Texas Instruments TSB43AB21/A/AI/A-EP> mem 0xc0004000-0xc00047ff,0xc0008000-0xc000bfff irq 20 at device 0.0 on pci1
fwohci0: OHCI version 1.10 (ROM=0)
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: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> 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: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
bfe0: <Broadcom BCM4401-B0 Fast Ethernet> mem 0xc0002000-0xc0003fff irq 21 at device 1.0 on pci1
miibus0: <MII bus> on bfe0
bmtphy0: <BCM4401 10/100baseTX PHY> on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bfe0: Ethernet address: 00:0f:b0:62:1d:c3
iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xc0001000-0xc0001fff irq 22 at device 2.0 on pci1
iwi0: Ethernet address: 00:12:f0:21:21:37
cbb0: <PCI-CardBus Bridge> at device 4.0 on pci1
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pci1: <memory, flash> at device 4.1 (no driver attached)
pci1: <base peripheral> at device 4.2 (no driver attached)
pci1: <memory, flash> at device 4.3 (no driver attached)
pci1: <memory, flash> at device 4.4 (no driver attached)
pcm0: <Intel ICH6 (82801FB)> port 0xe100-0xe1ff,0xe200-0xe23f mem 0xd00c0000-0xd00c01ff,0xd00c0200-0xd00c02ff irq 17 at device 30.2 on pci0
pcm0: <Avance Logic ALC250 AC97 Codec>
pci0: <simple comms, generic modem> at device 30.3 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH6 SATA150 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1100-0x110f at device 31.2 on pci0
atapci0: failed to enable memory mapping!
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
ichsmb0: <SMBus controller> port 0x1400-0x141f irq 19 at device 31.3 on pci0
ichsmb0: [GIANT-LOCKED]
smbus0: <System Management Bus> on ichsmb0
acpi_acad0: <AC Adapter> on acpi0
acpi_ec0: info: new max delay is 451000 us
battery0: <ACPI Control Method Battery> on acpi0
acpi_ec0: info: new max delay is 481000 us
battery1: <ACPI Control Method Battery> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> 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 acpi0
sio0: type 16550A
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xe0000-0xe1fff,0xe5000-0xe5fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> 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=0xc000ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 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 <TOSHIBA MK6025GAS KA200A> at ata1-master UDMA100
battery0: battery initialization done, tried 1 times
battery1: battery initialization start
acd0: req=0xc358a72c DEVICE_RESET semaphore timeout !! DANGER Will Robinson !!
acd0: req=0xc358a72c DEVICE_RESET semaphore timeout !! DANGER Will Robinson !!
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=0
acd0: DVDR <PIONEER DVD-RW DVR-K15RA/1.04> at ata1-slave UDMA33
battery1: battery initialization failed, giving up
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=63
cd0 at ata1 bus 0 target 1 lun 0
cd0: <PIONEER DVD-RW DVR-K15RA 1.04> 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=191
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=47796991
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=106131551
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=106625183
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=13172607
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=106669639
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=13172767
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=106675463
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=7527327
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=84696767
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=10576375
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=10578079
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=106678175
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=4973503
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=13185747
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=5004543
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=84692143
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=4973599
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=87048479
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=92206719
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=84692703
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=106679839
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=191
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=115163935
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=191
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=106669503
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=63
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=7527551
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=106672703
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=63
ad2: TIMEOUT - READ_DMA retrying (1 retry left) LBA=106669631
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?



More information about the cvs-src mailing list