From owner-freebsd-current@FreeBSD.ORG Wed Sep 3 21:48:37 2003 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 1D3A116A4BF for ; Wed, 3 Sep 2003 21:48:37 -0700 (PDT) Received: from mta03.fuse.net (mta03.fuse.net [216.68.1.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C1B04400E for ; Wed, 3 Sep 2003 21:48:35 -0700 (PDT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] ([66.42.172.210]) by mta03.fuse.net (InterMail vM.5.01.06.04 201-253-122-130-104-20030726) with ESMTP id <20030904044834.PHIR25527.mta03.fuse.net@[192.168.1.100]> for ; Thu, 4 Sep 2003 00:48:34 -0400 From: Anish Mistry To: freebsd-current@freebsd.org Date: Thu, 4 Sep 2003 00:48:37 -0400 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_zQsV/1DxEOK6wxf"; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200309040048.51300.mistry.7@osu.edu> Subject: ATAng boot up hang 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: Thu, 04 Sep 2003 04:48:37 -0000 --Boundary-02=_zQsV/1DxEOK6wxf Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline Sometimes when booting after a non-graceful shutdown, the harddisk and cdro= m=20 drives cause the bootup to hang while probing for them. Sometimes is finds= =20 the ad0, but then hangs when it gets to acd0, sometimes it hangs at ad0 too= =2E =20 I then have to boot to a pre-ATAng kernel to continue. =2D- verbose dmesg -- Copyright (c) 1992-2003 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 5.1-CURRENT #13: Tue Sep 2 00:13:41 EDT 2003 root@littleguy.am-productions.biz:/usr/obj/usr/src/sys/LITTLEGUY Preloaded elf kernel "/boot/kernel/kernel" at 0xc0416000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0416250. Calibrating clock(s) ... i8254 clock: 1193167 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 842151665 Hz CPU: Transmeta(tm) Crusoe(tm) Processor TM5800 (842.15-MHz 586-class CPU) Origin =3D "GenuineTMx86" Id =3D 0x543 Processor revision 1.4.1.0 Code Morphing Software revision 4.3.0-9-197 20020207 23:55 official release 4.3.0#7 LongRun mode: 2 <867MHz 1300mV 100%> real memory =3D 251527168 (239 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009bfff, 634880 bytes (155 pages) 0x000000000043d000 - 0x000000000eb81fff, 242503680 bytes (59205 pages) avail memory =3D 239779840 (228 MB) bios32: Found BIOS32 Service Directory header at 0xc00f6f90 bios32: Entry =3D 0xfd770 (c00fd770) Rev =3D 0 Len =3D 1 pcibios: PCI BIOS entry at 0xfd770+0x11e pnpbios: Found PnP BIOS data at 0xc00f6fe0 pnpbios: Entry =3D f0000:9528 Rev =3D 1.0 Other BIOS signatures found: mem: null: random: npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pci_open(1): mode 1 addr port (0x0cf8) is 0x80003074 pci_open(1a): mode1res=3D0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=3D060000] [hdr=3D80] is there (id=3D03951279) pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fdf30 PCI-Only Interrupts: none Location Bus Device Pin Link IRQs embedded 0 2 A 0x59 3 4 5 7 10 11 embedded 0 4 A 0x08 3 4 5 7 9 10 14 15 embedded 0 12 A 0x01 3 4 5 7 9 10 14 15 embedded 0 16 A 0x02 3 4 5 7 9 10 14 15 embedded 0 18 A 0x05 3 4 5 7 9 10 14 15 embedded 0 18 B 0x06 3 4 5 7 9 10 14 15 embedded 0 19 A 0x03 3 4 5 7 9 10 14 15 embedded 0 20 A 0x04 3 4 5 7 9 10 14 15 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 6 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 7 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 7 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 6 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 18 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 16 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 12 func 0 acpi0: power button is handled as a fixed feature programming model. ACPI timer looks BAD min =3D 2, max =3D 941, width =3D 939 ACPI timer looks BAD min =3D 2, max =3D 16, width =3D 14 ACPI timer looks BAD min =3D 2, max =3D 7, width =3D 5 ACPI timer looks BAD min =3D 2, max =3D 6, width =3D 4 ACPI timer looks BAD min =3D 2, max =3D 5, width =3D 3 ACPI timer looks GOOD min =3D 2, max =3D 4, width =3D 2 ACPI timer looks BAD min =3D 2, max =3D 5, width =3D 3 ACPI timer looks BAD min =3D 2, max =3D 5, width =3D 3 ACPI timer looks GOOD min =3D 2, max =3D 4, width =3D 2 ACPI timer looks GOOD min =3D 2, max =3D 4, width =3D 2 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 0 func 0 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xff08-0xff0b on acpi0 acpi_cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 =2D--- initial configuration ------------------------ \\_SB_.PCI0.EIO_.LNKU irq 11: [ 3 4 5 7 9 10 11] low,level,sharable=20 0.2.0 \\_SB_.PCI0.EIO_.LNKH irq 9: [ 3 4 5 7 9 10 11] low,level,sharable=20 0.4.0 \\_SB_.PCI0.EIO_.LNKA irq 9: [ 3 4 5 7 9 10 11] low,level,sharable=20 0.12.0 \\_SB_.PCI0.EIO_.LNKC irq 9: [ 3 4 5 7 9 10 11] low,level,sharable=20 0.19.0 \\_SB_.PCI0.EIO_.LNKD irq 9: [ 3 4 5 7 9 10 11] low,level,sharable=20 0.20.0 \\_SB_.PCI0.EIO_.LNKB irq 9: [ 3 4 5 7 9 10 11] low,level,sharable=20 0.16.0 \\_SB_.PCI0.EIO_.LNKE irq 0: [ 3 4 5 7 9 10 11] low,level,sharable=20 0.18.0 \\_SB_.PCI0.EIO_.LNKF irq 0: [ 3 4 5 7 9 10 11] low,level,sharable=20 0.18.1 =2D--- before setting priority for links ------------ \\_SB_.PCI0.EIO_.LNKE: interrupts: 3 4 5 7 9 10 11 penalty: 1220 1220 220 1220 720 220 320 references: 1 priority: 0 \\_SB_.PCI0.EIO_.LNKF: interrupts: 3 4 5 7 9 10 11 penalty: 1220 1220 220 1220 720 220 320 references: 1 priority: 0 =2D--- before fixup boot-disabled links ------------- \\_SB_.PCI0.EIO_.LNKE: interrupts: 3 4 5 7 9 10 11 penalty: 1220 1220 220 1220 720 220 320 references: 1 priority: 734 \\_SB_.PCI0.EIO_.LNKF: interrupts: 3 4 5 7 9 10 11 penalty: 1220 1220 220 1220 720 220 320 references: 1 priority: 734 =2D--- after fixup boot-disabled links -------------- =2D--- arbitrated configuration --------------------- \\_SB_.PCI0.EIO_.LNKU irq 11: [ 3 4 5 7 9 10 11] low,level,sharable=20 0.2.0 \\_SB_.PCI0.EIO_.LNKH irq 9: [ 3 4 5 7 9 10 11] low,level,sharable=20 0.4.0 \\_SB_.PCI0.EIO_.LNKA irq 9: [ 3 4 5 7 9 10 11] low,level,sharable=20 0.12.0 \\_SB_.PCI0.EIO_.LNKC irq 9: [ 3 4 5 7 9 10 11] low,level,sharable=20 0.19.0 \\_SB_.PCI0.EIO_.LNKD irq 9: [ 3 4 5 7 9 10 11] low,level,sharable=20 0.20.0 \\_SB_.PCI0.EIO_.LNKB irq 9: [ 3 4 5 7 9 10 11] low,level,sharable=20 0.16.0 \\_SB_.PCI0.EIO_.LNKE irq 10: [ 3 4 5 7 9 10 11] low,level,sharable=20 0.18.0 \\_SB_.PCI0.EIO_.LNKF irq 5: [ 3 4 5 7 9 10 11] low,level,sharable=20 0.18.1 pci0: on pcib0 pci0: physical bus=3D0 map[10]: type 1, range 32, base fc000000, size 20, enabled found-> vendor=3D0x1279, dev=3D0x0395, revid=3D0x02 bus=3D0, slot=3D0, func=3D0 class=3D06-00-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x2200, cachelnsz=3D0 (dwords) lattimer=3D0x40 (1920 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) found-> vendor=3D0x1279, dev=3D0x0396, revid=3D0x00 bus=3D0, slot=3D0, func=3D1 class=3D05-00-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0000, statreg=3D0x0000, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) found-> vendor=3D0x1279, dev=3D0x0397, revid=3D0x00 bus=3D0, slot=3D0, func=3D2 class=3D05-00-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0000, statreg=3D0x0000, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) map[10]: type 1, range 32, base fc100000, size 12, enabled pcib0: matched entry for 0.2.INTA (source \\_SB_.PCI0.EIO_.LNKU) pcib0: slot 2 INTA is routed to irq 11 found-> vendor=3D0x10b9, dev=3D0x5237, revid=3D0x03 bus=3D0, slot=3D2, func=3D0 class=3D0c-03-10, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0017, statreg=3D0x0290, cachelnsz=3D8 (dwords) lattimer=3D0x40 (1920 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x50 (20000 ns) intpin=3Da, irq=3D11 powerspec 2 supports D0 D3 current D0 map[10]: type 4, range 32, base 00001000, size 8, port disabled map[14]: type 1, range 32, base fc101000, size 12, memory disabled pcib0: matched entry for 0.4.INTA (source \\_SB_.PCI0.EIO_.LNKH) pcib0: slot 4 INTA is routed to irq 9 found-> vendor=3D0x10b9, dev=3D0x5451, revid=3D0x01 bus=3D0, slot=3D4, func=3D0 class=3D04-01-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0000, statreg=3D0x0290, cachelnsz=3D0 (dwords) lattimer=3D0x40 (1920 ns), mingnt=3D0x02 (500 ns), maxlat=3D0x18 (6000 ns) intpin=3Da, irq=3D9 powerspec 2 supports D0 D1 D2 D3 current D0 found-> vendor=3D0x10b9, dev=3D0x7101, revid=3D0x00 bus=3D0, slot=3D6, func=3D0 class=3D06-80-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0000, statreg=3D0x0200, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) found-> vendor=3D0x10b9, dev=3D0x1533, revid=3D0x00 bus=3D0, slot=3D7, func=3D0 class=3D06-01-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x000f, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) powerspec 1 supports D0 D3 current D0 pcib0: matched entry for 0.12.INTA (source \\_SB_.PCI0.EIO_.LNKA) pcib0: slot 12 INTA is routed to irq 9 found-> vendor=3D0x104c, dev=3D0xac50, revid=3D0x01 bus=3D0, slot=3D12, func=3D0 class=3D06-07-00, hdrtype=3D0x02, mfdev=3D0 cmdreg=3D0x0007, statreg=3D0x0210, cachelnsz=3D8 (dwords) lattimer=3D0x40 (1920 ns), mingnt=3D0xc0 (48000 ns), maxlat=3D0x03 (750 ns) intpin=3Da, irq=3D9 powerspec 1 supports D0 D1 D2 D3 current D0 map[20]: type 4, range 32, base 00001400, size 4, enabled found-> vendor=3D0x10b9, dev=3D0x5229, revid=3D0xc3 bus=3D0, slot=3D15, func=3D0 class=3D01-01-fa, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0005, statreg=3D0x0290, cachelnsz=3D0 (dwords) lattimer=3D0x20 (960 ns), mingnt=3D0x02 (500 ns), maxlat=3D0x04 (1000 ns) intpin=3Da, irq=3D255 powerspec 2 supports D0 D3 current D0 map[10]: type 4, range 32, base 00008000, size 8, enabled map[14]: type 1, range 32, base fc102000, size 8, enabled pcib0: matched entry for 0.16.INTA (source \\_SB_.PCI0.EIO_.LNKB) pcib0: slot 16 INTA is routed to irq 9 found-> vendor=3D0x10ec, dev=3D0x8139, revid=3D0x10 bus=3D0, slot=3D16, func=3D0 class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0003, statreg=3D0x0290, cachelnsz=3D0 (dwords) lattimer=3D0x40 (1920 ns), mingnt=3D0x20 (8000 ns), maxlat=3D0x40 (16000 n= s) intpin=3Da, irq=3D9 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base fc102800, size 11, memory disabled map[14]: type 1, range 32, base fc104000, size 14, enabled pcib0: matched entry for 0.19.INTA (source \\_SB_.PCI0.EIO_.LNKC) pcib0: slot 19 INTA is routed to irq 9 found-> vendor=3D0x104c, dev=3D0x8026, revid=3D0x00 bus=3D0, slot=3D19, func=3D0 class=3D0c-00-10, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0010, statreg=3D0x0210, cachelnsz=3D8 (dwords) lattimer=3D0x40 (1920 ns), mingnt=3D0x02 (500 ns), maxlat=3D0x04 (1000 ns) intpin=3Da, irq=3D9 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base fd000000, size 24, enabled map[14]: type 4, range 32, base 00001800, size 8, enabled map[18]: type 1, range 32, base fc103000, size 12, enabled pcib0: matched entry for 0.20.INTA (source \\_SB_.PCI0.EIO_.LNKD) pcib0: slot 20 INTA is routed to irq 9 found-> vendor=3D0x1002, dev=3D0x4c52, revid=3D0x64 bus=3D0, slot=3D20, func=3D0 class=3D03-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0087, statreg=3D0x0290, cachelnsz=3D8 (dwords) lattimer=3D0x42 (1980 ns), mingnt=3D0x08 (2000 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D9 powerspec 1 supports D0 D1 D2 D3 current D0 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 2.0 (no driver attached) pci0: at device 4.0 (no driver attached) pci0: at device 6.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 pci0: at device 12.0 (no driver attached) atapci0: port 0x1400-0x140f at device= =20 15.0 on pci0 ata0: reset tp1 mask=3D03 ostat0=3D50 ostat1=3D00 ata0-master: stat=3D0xd0 err=3D0xd0 lsb=3D0xd0 msb=3D0xd0 ata0-slave: stat=3D0xd0 err=3D0xd0 lsb=3D0xd0 msb=3D0xd0 ata0-master: stat=3D0xd0 err=3D0xd0 lsb=3D0xd0 msb=3D0xd0 ata0-slave: stat=3D0xd0 err=3D0xd0 lsb=3D0xd0 msb=3D0xd0 ata0-master: stat=3D0xd0 err=3D0xd0 lsb=3D0xd0 msb=3D0xd0 ata0-slave: stat=3D0xd0 err=3D0xd0 lsb=3D0xd0 msb=3D0xd0 ata0-master: stat=3D0xd0 err=3D0xd0 lsb=3D0xd0 msb=3D0xd0 ata0-slave: stat=3D0xd0 err=3D0xd0 lsb=3D0xd0 msb=3D0xd0 ata0-master: stat=3D0xd0 err=3D0xd0 lsb=3D0xd0 msb=3D0xd0 ata0-slave: stat=3D0xd0 err=3D0xd0 lsb=3D0xd0 msb=3D0xd0 ata0-master: stat=3D0xd0 err=3D0xd0 lsb=3D0xd0 msb=3D0xd0 ata0-slave: stat=3D0xd0 err=3D0xd0 lsb=3D0xd0 msb=3D0xd0 ata0-master: stat=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata0-slave: stat=3D0x50 err=3D0x01 lsb=3D0x00 msb=3D0x00 ata0: reset tp2 mask=3D03 stat0=3D50 stat1=3D00 devices=3D0x1 ata0: reset tp3 devices=3D0x1 ata0: at 0x1f0 irq 14 on atapci0 ata1: reset tp1 mask=3D03 ostat0=3D50 ostat1=3D00 ata1-master: stat=3D0xd0 err=3D0x00 lsb=3D0x12 msb=3D0x00 ata1-slave: stat=3D0xd0 err=3D0x04 lsb=3D0xff msb=3D0xff ata1-master: stat=3D0x00 err=3D0x01 lsb=3D0x14 msb=3D0xeb ata1: reset tp2 mask=3D03 stat0=3D00 stat1=3D00 devices=3D0x4 ata1: reset tp3 devices=3D0x4 ata1: at 0x170 irq 15 on atapci0 rl0: port 0x8000-0x80ff mem=20 0xfc102000-0xfc1020ff irq 9 at device 16.0 on pci0 rl0: Ethernet address: 00:e0:00:ae:45:08 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: bpf attached pci0: at device 19.0 (no driver attached) pci0: at device 20.0 (no driver attached) acpi_button0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_lid0: on acpi0 psmcpnp0 irq 12 on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x54ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000 psm0: current command byte:0047 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 acpi_ec0: port 0x66,0x62 on acpi0 unknown: not probed (disabled) unknown: not probed (disabled) ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: