From owner-freebsd-current@FreeBSD.ORG Fri Feb 6 09:41:20 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C252416A4CE for ; Fri, 6 Feb 2004 09:41:20 -0800 (PST) Received: from qhmail2.colt1.inetserver.de (qhmail2.colt1.inetserver.de [195.234.228.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8181243D31 for ; Fri, 6 Feb 2004 09:40:24 -0800 (PST) (envelope-from m.oe@x-trader.de) Received: from lupo.gn.qhintra.net (unknown [213.83.51.133]) by qhmail2.colt1.inetserver.de (Postfix) with ESMTP id 6FF67ABEED for ; Fri, 6 Feb 2004 18:40:22 +0100 (CET) Received: from ente (ente.gn.qhintra.net [192.168.192.2]) by lupo.gn.qhintra.net (Postfix) with ESMTP id E526929F0A for ; Fri, 6 Feb 2004 18:40:21 +0100 (CET) From: "Markus Oestreicher" To: Date: Fri, 6 Feb 2004 18:40:21 +0100 Message-ID: <0c4f01c3ecd8$4b415610$02c0a8c0@gnbuero.qhintra.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0C50_01C3ECE0.AD05BE10" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: ATA hangs after reboot on Toshiba Satellite X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2004 17:41:20 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0C50_01C3ECE0.AD05BE10 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Good Day, I am running a 5.2-CURRENT with a fresh kernel and world (cvsupped ~2 hours ago) on a Toshiba Satellite 5200-903. To install and run FreeBSD on that machine I use the known workaround hw.pci.enable_io_modes=0 in /boot/device.hints. Otherwise it hangs when probing agp0. After a cold boot the notebook works fine. But on a warm boot (e.g. shutdown -r now) the kernel hangs after ata0: [...] atapci0: ... ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] The error is reproducable. I assume that the ata controller is behaving wrong when initialized a second time? How can we work out this error? I have attached dmesg from a cold "boot -v". Markus ------=_NextPart_000_0C50_01C3ECE0.AD05BE10 Content-Type: text/plain; name="dmesg.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dmesg.txt" Copyright (c) 1992-2004 The FreeBSD Project.=0A= Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994=0A= The Regents of the University of California. All rights reserved.=0A= FreeBSD 5.2-CURRENT #0: Fri Feb 6 16:54:37 CET 2004=0A= root@oemobil.gn.qhintra.net:/usr/obj/usr/src/sys/MOBIL=0A= Preloaded elf kernel "/boot/kernel/kernel" at 0xc09a8000.=0A= Preloaded elf module "/boot/kernel/linux.ko" at 0xc09a8318.=0A= Calibrating clock(s) ... i8254 clock: 1193243 Hz=0A= CLK_USE_I8254_CALIBRATION not specified - using default frequency=0A= Timecounter "i8254" frequency 1193182 Hz quality 0=0A= Calibrating TSC clock ... TSC clock: 2194508844 Hz=0A= CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz (2194.51-MHz 686-class = CPU)=0A= Origin =3D "GenuineIntel" Id =3D 0xf29 Stepping =3D 9=0A= = Features=3D0xbfebf9ff=0A= real memory =3D 536657920 (511 MB)=0A= Physical memory chunk(s):=0A= 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)=0A= 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)=0A= 0x0000000000c26000 - 0x000000001f69cfff, 514289664 bytes (125559 pages)=0A= avail memory =3D 515428352 (491 MB)=0A= bios32: Found BIOS32 Service Directory header at 0xc00f0250=0A= bios32: Entry =3D 0xfb893 (c00fb893) Rev =3D 0 Len =3D 1=0A= pcibios: PCI BIOS entry at 0xf0000+0xcf0c=0A= Other BIOS signatures found:=0A= wlan: <802.11 Link Layer>=0A= null: =0A= random: =0A= mem: =0A= Pentium Pro MTRR support enabled=0A= npx0: [FAST]=0A= npx0: on motherboard=0A= npx0: INT 16 interface=0A= pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000=0A= pci_open(1a): mode1res=3D0x80000000 (0x80000000)=0A= pci_cfgcheck: device 0 [class=3D060000] [hdr=3D00] is there = (id=3D1a308086)=0A= pcibios: BIOS version 2.10=0A= Using $PIR table, 9 entries at 0xc00f01a0=0A= PCI-Only Interrupts: none=0A= Location Bus Device Pin Link IRQs=0A= embedded 0 31 A 0x62 3 4 6 7 11=0A= embedded 0 31 B 0x61 3 4 6 7 11=0A= embedded 0 29 A 0x60 3 4 6 7 11=0A= embedded 2 11 A 0x60 3 4 6 7 11=0A= embedded 2 8 A 0x68 3 4 6 7 11=0A= embedded 1 0 A 0x6a 5=0A= embedded 2 10 A 0x6b 3 4 6 7 11=0A= embedded 2 10 B 0x69 3 4 6 7 11=0A= embedded 2 7 A 0x69 3 4 6 7 11=0A= embedded 2 13 A 0x60 3 4 6 7 11=0A= embedded 2 6 A 0x63 3 4 6 7 11=0A= embedded 2 6 B 0x68 3 4 6 7 11=0A= embedded 2 6 C 0x62 3 4 6 7 11=0A= pcib0: at pcibus 0 on motherboard=0A= pci0: on pcib0=0A= pci0: physical bus=3D0=0A= map[10]: type 3, range 32, base e0000000, size 28, enabled=0A= found-> vendor=3D0x8086, dev=3D0x1a30, revid=3D0x04=0A= bus=3D0, slot=3D0, func=3D0=0A= class=3D06-00-00, hdrtype=3D0x00, mfdev=3D0=0A= cmdreg=3D0x0006, statreg=3D0x2090, cachelnsz=3D0 (dwords)=0A= lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)=0A= found-> vendor=3D0x8086, dev=3D0x1a31, revid=3D0x04=0A= bus=3D0, slot=3D1, func=3D0=0A= class=3D06-04-00, hdrtype=3D0x01, mfdev=3D0=0A= cmdreg=3D0x0007, statreg=3D0x00a0, cachelnsz=3D0 (dwords)=0A= lattimer=3D0x40 (1920 ns), mingnt=3D0x08 (2000 ns), maxlat=3D0x00 (0 ns)=0A= found-> vendor=3D0x8086, dev=3D0x2448, revid=3D0x42=0A= bus=3D0, slot=3D30, func=3D0=0A= class=3D06-04-00, hdrtype=3D0x01, mfdev=3D0=0A= cmdreg=3D0x0007, statreg=3D0x0080, cachelnsz=3D0 (dwords)=0A= lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)=0A= found-> vendor=3D0x8086, dev=3D0x248c, revid=3D0x02=0A= bus=3D0, slot=3D31, func=3D0=0A= class=3D06-01-00, hdrtype=3D0x00, mfdev=3D1=0A= cmdreg=3D0x000f, statreg=3D0x0280, cachelnsz=3D0 (dwords)=0A= lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)=0A= map[10]: type 4, range 32, base 0000bff8, size 3, enabled=0A= map[14]: type 4, range 32, base 0000bff4, size 2, enabled=0A= map[18]: type 4, range 32, base 0000bfe8, size 3, enabled=0A= map[1c]: type 4, range 32, base 0000bfe4, size 2, enabled=0A= map[20]: type 4, range 32, base 0000bfa0, size 4, enabled=0A= pci_cfgintr_valid: BIOS irq 11 is valid=0A= pci_cfgintr: 0:31 INTA BIOS irq 11=0A= found-> vendor=3D0x8086, dev=3D0x248a, revid=3D0x02=0A= bus=3D0, slot=3D31, func=3D1=0A= class=3D01-01-8a, hdrtype=3D0x00, mfdev=3D0=0A= cmdreg=3D0x0007, statreg=3D0x0280, cachelnsz=3D0 (dwords)=0A= lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)=0A= intpin=3Da, irq=3D11=0A= map[10]: type 4, range 32, base 00000000, size 8, port disabled=0A= map[14]: type 4, range 32, base 00000000, size 6, port disabled=0A= found-> vendor=3D0x8086, dev=3D0x2485, revid=3D0x02=0A= bus=3D0, slot=3D31, func=3D5=0A= class=3D04-01-00, hdrtype=3D0x00, mfdev=3D0=0A= cmdreg=3D0x0000, statreg=3D0x0280, cachelnsz=3D0 (dwords)=0A= lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)=0A= intpin=3Db, irq=3D255=0A= map[10]: type 4, range 32, base 00000000, size 8, port disabled=0A= map[14]: type 4, range 32, base 00000000, size 7, port disabled=0A= found-> vendor=3D0x8086, dev=3D0x2486, revid=3D0x02=0A= bus=3D0, slot=3D31, func=3D6=0A= class=3D07-03-00, hdrtype=3D0x00, mfdev=3D0=0A= cmdreg=3D0x0000, statreg=3D0x0280, cachelnsz=3D0 (dwords)=0A= lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)=0A= intpin=3Db, irq=3D255=0A= agp0: mem 0xe0000000-0xefffffff at = device 0.0 on pci0=0A= agp0: allocating GATT for aperture of size 256M=0A= pcib1: at device 1.0 on pci0=0A= pcib1: secondary bus 1=0A= pcib1: subordinate bus 1=0A= pcib1: I/O decode 0xf000-0xfff=0A= pcib1: memory decode 0xfd000000-0xfdffffff=0A= pcib1: prefetched decode 0xd0000000-0xdfffffff=0A= pci1: on pcib1=0A= pci1: physical bus=3D1=0A= map[10]: type 1, range 32, base fd000000, size 24, enabled=0A= map[14]: type 3, range 32, base d0000000, size 28, enabled=0A= pci_cfgintr_valid: BIOS irq 5 is valid=0A= pci_cfgintr: 1:0 INTA BIOS irq 5=0A= found-> vendor=3D0x10de, dev=3D0x031a, revid=3D0xa1=0A= bus=3D1, slot=3D0, func=3D0=0A= class=3D03-00-00, hdrtype=3D0x00, mfdev=3D0=0A= cmdreg=3D0x0007, statreg=3D0x02b0, cachelnsz=3D0 (dwords)=0A= lattimer=3D0x40 (1920 ns), mingnt=3D0x05 (1250 ns), maxlat=3D0x01 (250 = ns)=0A= intpin=3Da, irq=3D5=0A= powerspec 2 supports D0 D3 current D0=0A= pci1: at device 0.0 (no driver attached)=0A= pcib2: at device 30.0 on pci0=0A= pcib2: secondary bus 2=0A= pcib2: subordinate bus 4=0A= pcib2: I/O decode 0xc000-0xcfff=0A= pcib2: memory decode 0xfce00000-0xfcefffff=0A= pcib2: prefetched decode 0xfff00000-0xfffff=0A= pcib2: Subtractively decoded bridge.=0A= pci2: on pcib2=0A= pci2: physical bus=3D2=0A= map[10]: type 1, range 32, base fceff000, size 12, enabled=0A= pci_cfgintr_valid: BIOS irq 6 is valid=0A= pci_cfgintr: 2:6 INTA BIOS irq 6=0A= found-> vendor=3D0x1033, dev=3D0x0035, revid=3D0x41=0A= bus=3D2, slot=3D6, func=3D0=0A= class=3D0c-03-10, hdrtype=3D0x00, mfdev=3D1=0A= cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D8 (dwords)=0A= lattimer=3D0x40 (1920 ns), mingnt=3D0x01 (250 ns), maxlat=3D0x2a (10500 = ns)=0A= intpin=3Da, irq=3D6=0A= powerspec 2 supports D0 D1 D2 D3 current D0=0A= map[10]: type 1, range 32, base fcefe000, size 12, enabled=0A= pci_cfgintr_valid: BIOS irq 4 is valid=0A= pci_cfgintr: 2:6 INTB BIOS irq 4=0A= found-> vendor=3D0x1033, dev=3D0x0035, revid=3D0x41=0A= bus=3D2, slot=3D6, func=3D1=0A= class=3D0c-03-10, hdrtype=3D0x00, mfdev=3D0=0A= cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D8 (dwords)=0A= lattimer=3D0x40 (1920 ns), mingnt=3D0x01 (250 ns), maxlat=3D0x2a (10500 = ns)=0A= intpin=3Db, irq=3D4=0A= powerspec 2 supports D0 D1 D2 D3 current D0=0A= found-> vendor=3D0x1033, dev=3D0x00e0, revid=3D0x02=0A= bus=3D2, slot=3D6, func=3D2=0A= class=3D0c-03-20, hdrtype=3D0x00, mfdev=3D0=0A= cmdreg=3D0x0000, statreg=3D0x0210, cachelnsz=3D8 (dwords)=0A= lattimer=3D0x40 (1920 ns), mingnt=3D0x10 (4000 ns), maxlat=3D0x22 (8500 = ns)=0A= intpin=3Dc, irq=3D255=0A= powerspec 2 supports D0 D1 D2 D3 current D3=0A= found-> vendor=3D0x104c, dev=3D0x8023, revid=3D0x00=0A= bus=3D2, slot=3D7, func=3D0=0A= class=3D0c-00-10, hdrtype=3D0x00, mfdev=3D0=0A= cmdreg=3D0x0000, statreg=3D0x0210, cachelnsz=3D8 (dwords)=0A= lattimer=3D0x40 (1920 ns), mingnt=3D0x02 (500 ns), maxlat=3D0x04 (1000 = ns)=0A= intpin=3Da, irq=3D255=0A= powerspec 2 supports D0 D1 D2 D3 current D3=0A= map[10]: type 1, range 32, base fcefd000, size 12, enabled=0A= map[14]: type 4, range 32, base 0000cf40, size 6, enabled=0A= pci_cfgintr_valid: BIOS irq 4 is valid=0A= pci_cfgintr: 2:8 INTA BIOS irq 4=0A= found-> vendor=3D0x8086, dev=3D0x1031, revid=3D0x42=0A= bus=3D2, slot=3D8, func=3D0=0A= class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0=0A= cmdreg=3D0x0007, statreg=3D0x0290, cachelnsz=3D8 (dwords)=0A= lattimer=3D0x40 (1920 ns), mingnt=3D0x08 (2000 ns), maxlat=3D0x38 = (14000 ns)=0A= intpin=3Da, irq=3D4=0A= powerspec 2 supports D0 D1 D2 D3 current D0=0A= found-> vendor=3D0x1179, dev=3D0x0617, revid=3D0x33=0A= bus=3D2, slot=3D11, func=3D0=0A= class=3D06-07-00, hdrtype=3D0x02, mfdev=3D0=0A= cmdreg=3D0x0000, statreg=3D0x0490, cachelnsz=3D0 (dwords)=0A= lattimer=3D0x40 (1920 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)=0A= intpin=3Da, irq=3D255=0A= powerspec 1 supports D0 D1 D2 D3 current D3=0A= found-> vendor=3D0x1179, dev=3D0x0805, revid=3D0x05=0A= bus=3D2, slot=3D13, func=3D0=0A= class=3D08-80-00, hdrtype=3D0x00, mfdev=3D0=0A= cmdreg=3D0x0000, statreg=3D0x0210, cachelnsz=3D0 (dwords)=0A= lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)=0A= intpin=3Da, irq=3D255=0A= powerspec 2 supports D0 D1 D2 D3 current D3=0A= ohci0: mem 0xfceff000-0xfcefffff irq 6 at = device 6.0 on pci2=0A= pcib2: device ohci0 requested decoded memory range 0xfceff000-0xfcefffff=0A= usb0: OHCI version 1.0=0A= usb0: SMM does not respond, resetting=0A= usb0: on ohci0=0A= usb0: USB revision 1.0=0A= uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1=0A= uhub0: 3 ports with 3 removable, self powered=0A= ums0: Synaptics Inc. Synaptics cPad, rev 1.10/0.16, addr 2, iclass 3/1=0A= ums0: 3 buttons=0A= ohci1: mem 0xfcefe000-0xfcefefff irq 4 at = device 6.1 on pci2=0A= pcib2: device ohci1 requested decoded memory range 0xfcefe000-0xfcefefff=0A= usb1: OHCI version 1.0=0A= usb1: SMM does not respond, resetting=0A= usb1: on ohci1=0A= usb1: USB revision 1.0=0A= uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1=0A= uhub1: 2 ports with 2 removable, self powered=0A= pci2: at device 6.2 (no driver attached)=0A= fwohci0: at device 7.0 on pci2=0A= fwohci0: latency timer 64 -> 64.=0A= fwohci0: cache size 8 -> 8.=0A= fwohci0: Could not map memory=0A= device_probe_and_attach: fwohci0 attach returned 6=0A= fxp0: port 0xcf40-0xcf7f mem = 0xfcefd000-0xfcefdfff irq 4 at device 8.0 on pci2=0A= pcib2: device fxp0 requested decoded memory range 0xfcefd000-0xfcefdfff=0A= fxp0: using memory space register mapping=0A= fxp0: Ethernet address 00:00:39:db:d5:3d=0A= fxp0: PCI IDs: 8086 1031 1179 0001 0042=0A= fxp0: Dynamic Standby mode is disabled=0A= miibus0: on fxp0=0A= inphy0: on miibus0=0A= inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto=0A= fxp0: bpf attached=0A= cbb0: at device 11.0 on pci2=0A= cbb0: chip is in D3 power mode -- setting to D0=0A= pcib2: device cbb0 requested decoded memory range 0x88000000-0xffffffff=0A= cardbus0: on cbb0=0A= pccard0: <16-bit PCCard bus> on cbb0=0A= pci_cfgintr_virgin: using routable interrupt 4=0A= pci_cfgintr: 2:11 INTA routed to irq 4=0A= cbb0: [MPSAFE]=0A= cbb0: PCI Configuration space:=0A= 0x00: 0x06171179 0x04900007 0x06070033 0x00024000 =0A= 0x10: 0x88000000 0x04800080 0x00040402 0xfffff000 =0A= 0x20: 0x00000000 0xfffff000 0x00000000 0x0000fffc =0A= 0x30: 0x00000000 0x0000fffc 0x00000000 0x04000104 =0A= 0x40: 0x00011179 0x00000001 0x00000000 0x00000000 =0A= 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 =0A= 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 =0A= 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 =0A= 0x80: 0xfe110001 0x00800000 0x00000000 0x01000000 =0A= 0x90: 0x00000000 0x00000000 0x00000000 0x00000000 =0A= 0xa0: 0x860011f0 0x0c000000 0x00000000 0x0000d100 =0A= 0xb0: 0x3f3f3fcf 0x0a081020 0x14010100 0x00423f00 =0A= 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 =0A= 0xd0: 0x00040000 0x00000000 0x00000000 0x00000000 =0A= 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 =0A= 0xf0: 0x00000000 0x00000000 0x00000000 0x00000008 =0A= pci2: at device 13.0 (no driver attached)=0A= isab0: at device 31.0 on pci0=0A= isa0: on isab0=0A= atapci0: port = 0xbfa0-0xbfaf,0xbfe4-0xbfe7,0xbfe8-0xbfef,0xbff4-0xbff7,0xbff8-0xbfff = irq 11 at device 31.1 on pci0=0A= ata0: reset tp1 mask=3D03 ostat0=3D50 ostat1=3D50=0A= ata0-master: stat=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00=0A= ata0-slave: stat=3D0x00 err=3D0x01 lsb=3D0x14 msb=3D0xeb=0A= ata0: reset tp2 mask=3D03 stat0=3D50 stat1=3D00 = devices=3D0x9=0A= ata0: at 0x1f0 irq 14 on atapci0=0A= ata0: [MPSAFE]=0A= ata1: reset tp1 mask=3D03 ostat0=3D00 ostat1=3D00=0A= ata1-master: stat=3D0x00 err=3D0x00 lsb=3D0x00 msb=3D0x00=0A= ata1-slave: stat=3D0x00 err=3D0x00 lsb=3D0x00 msb=3D0x00=0A= ata1: reset tp2 mask=3D03 stat0=3D00 stat1=3D00 devices=3D0x0=0A= ata1: at 0x170 irq 15 on atapci0=0A= ata1: [MPSAFE]=0A= pci0: at device 31.5 (no driver attached)=0A= pci0: at device 31.6 (no driver attached)=0A= ata: ata0 already exists; skipping it=0A= ata: ata1 already exists; skipping it=0A= Trying Read_Port at 203=0A= Trying Read_Port at 243=0A= Trying Read_Port at 283=0A= Trying Read_Port at 2c3=0A= Trying Read_Port at 303=0A= Trying Read_Port at 343=0A= Trying Read_Port at 383=0A= Trying Read_Port at 3c3=0A= ex_isa_identify()=0A= unknown: status reg test failed ff=0A= unknown: status reg test failed ff=0A= unknown: status reg test failed ff=0A= unknown: status reg test failed ff=0A= unknown: status reg test failed ff=0A= unknown: status reg test failed ff=0A= sc: sc0 already exists; skipping it=0A= vga: vga0 already exists; skipping it=0A= isa_probe_children: disabling PnP devices=0A= isa_probe_children: probing non-PnP devices=0A= orm0: