ATA hangs my Ultra5 on boot

Jesper Skriver jesper at FreeBSD.org
Sun Nov 2 08:19:56 PST 2003


Hi,

Yesterday I upgraded -current on my Ultra5 from a August 24th -current,
and now it hangs on boot, after logging error messages like these:

ad0: WARNING - SETFEATURES recovered from missing interrupt
ad0: WARNING - SETFEATURES recovered from missing interrupt
ad0: WARNING - SET_MULTI recovered from missing interrupt
ad0: WARNING - SETFEATURES recovered from missing interrupt

output of boot -v below.

/Jesper


Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 400MHz), No Keyboard
OpenBoot 3.25, 512 MB (50 ns) memory installed, Serial #16330074.
Ethernet address 8:0:20:f9:2d:5a, Host ID: 80f92d5a.



Boot device: disk  File and args:                                     
 
>> FreeBSD/sparc64 boot block
   Boot path:   /pci at 1f,0/pci at 1,1/ide at 3/disk at 0,0:a
   Boot loader: /boot/loader
Console: OpenFirmware console

FreeBSD/sparc64 bootstrap loader, Revision 1.0
(root at sparc64, Sat Nov  1 20:02:24 CET 2003)
bootpath="/pci at 1f,0/pci at 1,1/ide at 3/disk at 0,0:a"
Loading /boot/defaults/loader.conf 
/boot/kernel/kernel data=0x276608+0x4fdf8 syms=[0x8+0x47580+0x8+0x39e47]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] in 8 seconds... 

Type '?' for a list of commands, 'help' for more detailed help.
OK boot -v
nothing to autoload yet.
jumping to kernel entry at 0xc0040000.
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.
FreeBSD 5.1-CURRENT #9: Sat Nov  1 22:07:34 CET 2003
    root at sparc64:/usr/obj/usr/src/sys/SPARC64
Preloaded elf kernel "/boot/kernel/kernel" at 0xc034a000.
Timecounter "tick" frequency 400000000 Hz quality 0
real memory  = 536870912 (512 MB)
avail memory = 514809856 (490 MB)
machine: SUNW,Ultra-5_10
cpu0: Sun Microsystems UltraSparc-IIi Processor (400.00 MHz CPU)
  mask=0x91 maxtl=5 maxwin=7
null: <null device, zero device>
random: <entropy source>
openfirm: <OpenFirmware control device>
mem: <memory & I/O>
nexus0: <OpenFirmware Nexus device>
pcib0: <U2P UPA-PCI bridge> on nexus0
pcib0: Sabre, impl 0, version 0, ign 0x7c0, bus A
initalizing intr_countp
pcib0: [FAST]
pcib0: [FAST]
DVMA map: 0xc0000000 to 0xc3ffffff
pci0: <OFW PCI bus> on pcib0
pci0: physical bus=0
found-> vendor=0x108e, dev=0x5000, revid=0x13
        bus=0, slot=1, func=1
        class=06-04-00, hdrtype=0x01, mfdev=1
        cmdreg=0x0147, statreg=0x02a0, cachelnsz=16 (dwords)
        lattimer=0x10 (480 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns)
found-> vendor=0x108e, dev=0x5000, revid=0x13
        bus=0, slot=1, func=0
        class=06-04-00, hdrtype=0x01, mfdev=1
        cmdreg=0x0147, statreg=0x02a0, cachelnsz=16 (dwords)
        lattimer=0x10 (480 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns)
pcib1: <APB PCI-PCI bridge> at device 1.1 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0xc00000-0xdfffff, 0xe00000-0xffffff
pcib1:   memory decode     0xe0000000-0xffffffff
pci1: <OFW PCI bus> on pcib1
pci1: physical bus=1
        map[10]: type 1, range 32, base f0000000, size 24, enabled
        map[14]: type 1, range 32, base f1000000, size 23, enabled
found-> vendor=0x108e, dev=0x1000, revid=0x01
        bus=1, slot=1, func=0
        class=06-80-00, hdrtype=0x00, mfdev=1
        cmdreg=0x0146, statreg=0x0280, cachelnsz=16 (dwords)
        lattimer=0x52 (2460 ns), mingnt=0x0a (2500 ns), maxlat=0x19 (6250 ns)
        map[10]: type 1, range 32, base e0000000, size 15, memory disabled
found-> vendor=0x108e, dev=0x1001, revid=0x01
        bus=1, slot=1, func=1
        class=02-00-00, hdrtype=0x00, mfdev=1
        cmdreg=0x0000, statreg=0x0280, cachelnsz=16 (dwords)
        lattimer=0x52 (2460 ns), mingnt=0x0a (2500 ns), maxlat=0x05 (1250 ns)
        map[10]: type 1, range 32, base e1000000, size 24, memory disabled
        map[14]: type 4, range 32, base 00000000, size  8, port disabled
        map[18]: type 1, range 32, base e2000000, size 12, enabled
found-> vendor=0x1002, dev=0x4750, revid=0x5c
        bus=1, slot=2, func=0
        class=03-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0080, statreg=0x0280, cachelnsz=16 (dwords)
        lattimer=0x42 (1980 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=255
        map[10]: type 4, range 32, base 00c00000, size  3, enabled
        map[14]: type 4, range 32, base 00c00008, size  2, enabled
        map[18]: type 4, range 32, base 00c00010, size  3, enabled
        map[1c]: type 4, range 32, base 00c00018, size  2, enabled
        map[20]: type 4, range 32, base 00c00020, size  4, enabled
found-> vendor=0x1095, dev=0x0646, revid=0x03
        bus=1, slot=3, func=0
        class=01-01-8f, hdrtype=0x00, mfdev=0
        cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0x10 (480 ns), mingnt=0x02 (500 ns), maxlat=0x04 (1000 ns)
        intpin=a, irq=255
ebus0: revision 0x01
ebus0: <PCI-EBus2 bridge> mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at device 1.0 on pci1
ebus0: <auxio> addr 0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072a000-0x140072a003,0x1400728000-0x1400728003,0x1400726000-0x1400726003 (no driver attached)
ebus0: <power> addr 0x1400724000-0x1400724003 irq 37 (no driver attached)
ebus0: <SUNW,pll> addr 0x1400504000-0x1400504002 (no driver attached)
ebus0: <se> addr 0x1400400000-0x140040007f irq 43 (no driver attached)
ebus0: <su> addr 0x14003083f8-0x14003083ff irq 41 (no driver attached)
ebus0: <su> addr 0x14003062f8-0x14003062ff irq 42 (no driver attached)
ebus0: <ecpp> addr 0x1400700000-0x140070000f,0x140030015c-0x140030015d,0x14003043bc-0x14003043cb irq 34 (no driver attached)
ebus0: <fdthree> addr 0x1400720000-0x1400720003,0x1400706000-0x140070600f,0x14003023f0-0x14003023f7 irq 39 (no driver attached)
eeprom0: <EBus EEPROM/clock> addr 0x1400000000-0x1400001fff on ebus0
pcib1: device eeprom0 requested decoded memory range 0xf1000000-0xf1001fff
eeprom0: model mk48t59
eeprom0: registered as a time-of-day clock (resolution 1000000us)
eeprom0: hostid 80f92d5a
eeprom0: current time: 1067793047.000000000
ebus0: <flashprom> addr 0x1000000000-0x10000fffff (no driver attached)
ebus0: <SUNW,CS4231> addr 0x1400722000-0x1400722003,0x1400704000-0x140070400f,0x1400702000-0x140070200f,0x1400200000-0x14002000ff irq 36,35 (no driver attached)
hme0: <Sun HME 10/100 Ethernet> mem 0xe0000000-0xe0007fff at device 1.1 on pci1
pcib1: device hme0 requested decoded memory range 0xe0000000-0xe0007fff
hme0: Ethernet address: 08:00:20:f9:2d:5a
miibus0: <MII bus> on hme0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme0: bpf attached
pci1: <display, VGA> at device 2.0 (no driver attached)
atapci0: <CMD 646 WDMA2 controller> port 0xc00020-0xc0002f,0xc00018-0xc0001b,0xc00010-0xc00017,0xc00008-0xc0000b,0xc00000-0xc00007 at device 3.0 on pci1
pcib1: device atapci0 requested decoded I/O range 0xc00020-0xc0002f
atapci0: [MPSAFE]
pcib1: device atapci0 requested decoded I/O range 0xc00000-0xc00007
pcib1: device atapci0 requested decoded I/O range 0xc00008-0xc0000b
pcib1: device atapci0 requested decoded I/O range 0xc0000a-0xc0000a
ata2: reset tp1 mask=03 ostat0=50 ostat1=00
ata2-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata2-slave:  stat=0x00 err=0x01 lsb=0x00 msb=0x00
ata2: reset tp2 mask=03 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ata2: at 0xc00000 on atapci0
ata2: [MPSAFE]
pcib1: device atapci0 requested decoded I/O range 0xc00010-0xc00017
pcib1: device atapci0 requested decoded I/O range 0xc00018-0xc0001b
pcib1: device atapci0 requested decoded I/O range 0xc0001a-0xc0001a
ata3: reset tp1 mask=03 ostat0=00 ostat1=00
ata3-master: stat=0x00 err=0x01 lsb=0x14 msb=0xeb
ata3-slave:  stat=0x00 err=0x04 lsb=0x00 msb=0x00
ata3: reset tp2 mask=03 stat0=00 stat1=00 devices=0x4<ATAPI_MASTER>
ata3: at 0xc00010 on atapci0
ata3: [MPSAFE]
pcib2: <APB PCI-PCI bridge> at device 1.0 on pci0
pcib2:   secondary bus     2
pcib2:   subordinate bus   2
pcib2:   I/O decode        0x0-0x1fffff, 0x200000-0x3fffff, 0x400000-0x5fffff, 0x600000-0x7fffff, 0x800000-0x9fffff, 0xa00000-0xbfffff
pcib2:   memory decode     0x0-0x1fffffff, 0x20000000-0x3fffffff, 0x40000000-0x5fffffff, 0x60000000-0x7fffffff, 0x80000000-0x9fffffff, 0xa0000000-0xbfffffff
pci2: <OFW PCI bus> on pcib2
pci2: physical bus=2
        map[10]: type 4, range 32, base 00000400, size  8, port disabled
        map[14]: type 1, range 64, base 00002000, size 12, memory disabled
found-> vendor=0x9005, dev=0x00c0, revid=0x01
        bus=2, slot=1, func=0
        class=01-00-00, hdrtype=0x00, mfdev=1
        cmdreg=0x0000, statreg=0x02b0, cachelnsz=16 (dwords)
        lattimer=0xfc (7560 ns), mingnt=0x28 (10000 ns), maxlat=0x19 (6250 ns)
        intpin=a, irq=255
        powerspec 2  supports D0 D3  current D0
        map[10]: type 4, range 32, base 00000800, size  8, port disabled
        map[14]: type 1, range 64, base 00004000, size 12, memory disabled
found-> vendor=0x9005, dev=0x00c0, revid=0x01
        bus=2, slot=1, func=1
        class=01-00-00, hdrtype=0x00, mfdev=1
        cmdreg=0x0000, statreg=0x02b0, cachelnsz=16 (dwords)
        lattimer=0xfc (7560 ns), mingnt=0x28 (10000 ns), maxlat=0x19 (6250 ns)
        intpin=b, irq=255
        powerspec 2  supports D0 D3  current D0
ahc0: <Adaptec 3960D Ultra160 SCSI adapter> port 0x400-0x4ff mem 0x2000-0x2fff at device 1.0 on pci2
ahc0: Defaulting to MEMIO off
pcib2: device ahc0 requested decoded I/O range 0x400-0x4ff
ahc0: Enabling 39Bit Addressing
ahc0: Reading SEEPROM...done.
ahc0: BIOS eeprom is present
ahc0: Secondary High byte termination Enabled
ahc0: Secondary Low byte termination Enabled
ahc0: Primary Low Byte termination Enabled
ahc0: Primary High Byte termination Enabled
ahc0: Downloading Sequencer Program... 432 instructions downloaded
ahc0: Features 0x1fef6, Bugs 0x40, Flags 0x21485540
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec 3960D Ultra160 SCSI adapter> port 0x800-0x8ff mem 0x4000-0x4fff at device 1.1 on pci2
ahc1: Defaulting to MEMIO off
pcib2: device ahc1 requested decoded I/O range 0x800-0x8ff
ahc1: Enabling 39Bit Addressing
ahc1: Reading SEEPROM...done.
ahc1: BIOS eeprom is present
ahc1: Secondary High byte termination Enabled
ahc1: Secondary Low byte termination Enabled
ahc1: Primary Low Byte termination Enabled
ahc1: Primary High Byte termination Enabled
ahc1: Downloading Sequencer Program... 432 instructions downloaded
ahc1: Features 0x1fef6, Bugs 0x40, Flags 0x21485540
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
procfs registered
Timecounters tick every 10.000 msec
lo0: bpf attached
ahc0: Transceiver State Has Changed to LVD mode
ahc1: Someone reset channel A
ata2-master: pio=0x0c wdma=0x22 udma=0x44 cable=80pin
ad0: WARNING - SETFEATURES recovered from missing interrupt
ad0: WARNING - SETFEATURES recovered from missing interrupt
ad0: WARNING - SET_MULTI recovered from missing interrupt
ad0: WARNING - SETFEATURES recovered from missing interrupt
ad0: setting WDMA2 on CMD 646 chip
GEOM: create disk ad0 dp=0xfffff800006a50c0
ad0: <ST39111A/3.21> ATA-4 disk at ata2-master
ad0: 8693MB (17803297 sectors), 17662 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, WDMA2
GEOM: new disk ad0
ata3-master: pio=0x0c wdma=0x22 udma=0xffffffff cable=40pin
ad0: WARNING - READ_DMA recovered from missing interrupt
GEOM: Configure ad0a, start 0 length 537255936 end 537255935
GEOM: Configure ad0b, start 537255936 length 1073995776 end 1611251711
GEOM: Configure ad0c, start 0 length 9115287552 end 9115287551
GEOM: Configure ad0d, start 1611251712 length 2147991552 end 3759243263
GEOM: Configure ad0e, start 3759243264 length 5356044288 end 9115287551
acd0: WARNING - MODE_SENSE_BIG recovered from missing interrupt
ad0: WARNING - READ_DMA recovered from missing interrupt
ata3: resetting devices ..
ata3: reset tp1 mask=03 ostat0=50 ostat1=00
acd0: stat=0x00 err=0x01 lsb=0x14 msb=0xeb
ata3-slave:  stat=0x00 err=0x04 lsb=0x00 msb=0x00
ata3: reset tp2 mask=03 stat0=00 stat1=00 devices=0x4<ATAPI_MASTER>


/Jesper

-- 
Jesper Skriver, jesper(at)skriver(dot)dk  -  CCIE #5456

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.


More information about the freebsd-current mailing list