Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2003 00:13:16 +0100
From:      Anders Andersson <anders@andersa.net>
To:        Soeren Schmidt <sos@spider.deepcore.dk>
Cc:        sparc64@FreeBSD.ORG
Subject:   Re: sparc does not find ATA disk with new kernel
Message-ID:  <20030224231316.GA71350@sushi.andersa.net>
In-Reply-To: <200302242106.h1OL6U5K029750@spider.deepcore.dk>
References:  <20030224205850.GA719@sushi.andersa.net> <200302242106.h1OL6U5K029750@spider.deepcore.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Mon, Feb 24, 2003 at 10:06:30PM +0100, Soeren Schmidt wrote:
> Could you please mail me the exact problem, a dmesg from the system
> (evt before the problem appeared), and a pciconf -l

This happens when I boot -v a new kernel:

See attached file 'dmesg1'.

'dmesg2' contains the relevant part from an working kernel.

Attachment 'pciconf' contains 'pciconf -l' from the working kernel.

> Then if your problem is a timeout followed by a panic please try
> to disable DMA by setting hw.ata.ata_dma=0 in /boot/loader.conf...

Yes, the problem looks like:
ata2-master: timeout waiting for interrupt
ata2-master: ATA identify failed

But setting the above in /boot/loader.conf doesn't change anything I'm
afraid. The same error occurs.

-- 
Anders Andersson
<anders at andersa.net>

--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=dmesg1

OK boot -v
nothing to autoload yet.
jumping to kernel entry at 0xc0030000.
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.0-CURRENT #0: Mon Feb 24 20:55:07 CET 2003
    toor@gw.andersa.net:/usr/obj/usr/src/sys/ULTRA10
Preloaded elf kernel "/boot/kernel/kernel" at 0xc033c000.
Timecounter "tick"  frequency 440000000 Hz
cpu0: Sun Microsystems UltraSparc-IIi Processor (440.00 MHz CPU)
  mask=0x91 maxtl=5 maxwin=7
Model: SUNW,Ultra-5_10
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
DVMA map: 0xc0000000 to 0xc1ffffff
PCI-PCI bridge at 0/1/1: setting bus #s to 0/1/1
pcib0: ofw_pci_init: descending to subordinate PCI bus
device 1/1/0: latency timer 0 -> 82
pcib0: ofw_pci_init: no interrupt mapping found for 1/1/0 (preset 0)
device 1/1/1: latency timer 0 -> 82
pcib0: ofw_pci_init: mapping intr for 1/1/1 to 33 (preset was 0)
device 1/2/0: latency timer 0 -> 66
pcib0: ofw_pci_init: mapping intr for 1/2/0 to 15 (preset was 15)
device 1/3/0: latency timer 0 -> 16
pcib0: ofw_pci_init: mapping intr for 1/3/0 to 32 (preset was 14)
PCI-PCI bridge at 0/1/0: setting bus #s to 0/2/2
pcib0: ofw_pci_init: descending to subordinate PCI bus
device 2/1/0: latency timer 0 -> 24
pcib0: ofw_pci_init: mapping intr for 2/1/0 to 16 (preset was 0)
pci0: <PCI bus> on pcib0
pci0: physical bus=0
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=0x50 (2400 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns)
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=0x50 (2400 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns)
pcib1: <APB PCI-PCI bridge> at device 1.0 on pci0
pcib1:   secondary bus     2
pcib1:   subordinate bus   2
pcib1:   I/O decode        0x0-0x1fffff, 0x200000-0x3fffff, 0x400000-0x5fffff, 0x600000-0x7fffff, 0x800000-0x9fffff, 0xa00000-0xbfffff
pcib1:   memory decode     0x0-0x1fffffff, 0x20000000-0x3fffffff, 0x40000000-0x5
fffffff, 0x60000000-0x7fffffff, 0x80000000-0x9fffffff, 0xa0000000-0xbfffffff
pci1: <PCI bus> on pcib1
pci1: physical bus=2
        map[10]: type 4, range 32, base 00000400, size  6, port disabled
found-> vendor=0x10b7, dev=0x9050, revid=0x00
        bus=2, slot=1, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0000, statreg=0x0200, cachelnsz=0 (dwords)
        lattimer=0x18 (720 ns), mingnt=0x03 (750 ns), maxlat=0x08 (2000 ns)
        intpin=a, irq=16
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0x400-0x43f irq 16 at device 1.0 on pci1
pcib1: device xl0 requested decoded I/O range 0x400-0x43f
xl0: Ethernet address: 00:60:97:b4:dd:31
xl0: media options word: e040
xl0: found MII/AUTO
miibus0: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: bpf attached
pcib2: <APB PCI-PCI bridge> at device 1.1 on pci0
pcib2:   secondary bus     1
pcib2:   subordinate bus   1
pcib2:   I/O decode        0xc00000-0xdfffff, 0xe00000-0xffffff
pcib2:   memory decode     0xe0000000-0xffffffff
pci2: <PCI bus> on pcib2
pci2: 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)
        intpin=a, irq=33
        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=15
        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=32
ebus0: revision 0x01
ebus0: <PCI-EBus2 bridge> mem 0xf1000000-0xf17fffff,0xf0000000-0xf0ffffff at device 1.0 on pci2
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)
pcib2: device sab0 requested decoded memory range 0xf1400000-0xf140007f
sab0: <Siemens SAB 82532 v3.2> addr 0x1400400000-0x140040007f irq 43 on ebus0
pcib2: device sab0 requested decoded memory range 0xf1400000-0xf140007f
sabtty0: <ttya> on sab0
sabtty0: console 9600,8,n,1,-
sabtty1: <ttyb> on sab0
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
pcib2: device eeprom0 requested decoded memory range 0xf1000000-0xf1001fff
eeprom0: model mk48t59
eeprom0: registered as a time-of-day clock (resolution 1000000us)
eeprom0: hostid 80b32d7e
eeprom0: current time: 1046131116.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 irq 33 at device 1.1 on pci2
pcib2: device hme0 requested decoded memory range 0xe0000000-0xe0007fff
hme0: Ethernet address: 08:00:20:b3:2d:7e
miibus1: <MII bus> on hme0
nsphy1: <DP83840 10/100 media interface> on miibus1
nsphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme0: bpf attached
pci2: <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 irq 32 at device 3.0 on pci2
pcib2: device atapci0 requested decoded I/O range 0xc00020-0xc0002f
pcib2: device atapci0 requested decoded I/O range 0xc00000-0xc00007
pcib2: device atapci0 requested decoded I/O range 0xc00008-0xc0000b
pcib2: device atapci0 requested decoded I/O range 0xc0000a-0xc0000a
pcib2: device ata2 requested decoded I/O range 0xc00020-0xc00027
ata2: iobase=0xc00000 altiobase=0xc0000a bmaddr=0xc00020
ata2: pre reset mask=01 ostat0=50 ostat2=00
ata2-master: ATAPI 00 00
ata2: after reset mask=01 stat0=50 stat1=00
ata2-master: ATA 01 a5
ata2: devices=01
ata2: at 0xc00000 on atapci0
pcib2: device atapci0 requested decoded I/O range 0xc00010-0xc00017
pcib2: device atapci0 requested decoded I/O range 0xc00018-0xc0001b
pcib2: device atapci0 requested decoded I/O range 0xc0001a-0xc0001a
pcib2: device ata3 requested decoded I/O range 0xc00028-0xc0002f
ata3: iobase=0xc00010 altiobase=0xc0001a bmaddr=0xc00028
ata3: at 0xc00010 on atapci0
procfs registered
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
lo0: bpf attached
ata2-master: timeout waiting for interrupt
ata2-master: ATA identify failed
Mounting root from ufs:/dev/ad0a
setrootbyname failed
ffs_mountroot: can't find rootvp
Root mount failed: 6

Manual root filesystem specification:
  <fstype>:<device>  Mount <device> using filesystem <fstype>
                       eg. ufs:da0a
  ?                  List valid disk boot devices
  <empty line>       Abort manual input

mountroot>
mountroot> ?
List of GEOM disk devices:
   geom.ctl
panic: Root mount failed, startup aborted.
Debugger("panic")
Stopped at      Debugger+0x1c:  ta              %xcc, 1
db> 
db> trace
panic() at panic+0xcc
vfs_mountroot() at vfs_mountroot+0x118
start_init() at start_init+0x28
fork_exit() at fork_exit+0xcc
fork_trampoline() at fork_trampoline+0xdc
db>

--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=dmesg2

atapci0: <CMD 646 ATA controller> port 0xc00020-0xc0002f,0xc00018-0xc0001b,0xc00010-0xc00017,0xc00008-0xc0000b,0xc00000-0xc00007 irq 32 at device 3.0 on pci2
ata2: at 0xc00000 on atapci0
ata3: at 0xc00010 on atapci0
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
ad0: 8693MB <ST39140A> [17662/16/63] at ata2-master WDMA2
acd0: CDROM <CRD-8322B> at ata3-master PIO4
Mounting root from ufs:/dev/ad0a


--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=pciconf

pciconf -l
pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x5000108e rev=0x13 hdr=0x01
pcib2@pci0:1:1: class=0x060400 card=0x00000000 chip=0x5000108e rev=0x13 hdr=0x01
xl0@pci2:1:0:   class=0x020000 card=0x00000000 chip=0x905010b7 rev=0x00 hdr=0x00
ebus0@pci1:1:0: class=0x068000 card=0x00000000 chip=0x1000108e rev=0x01 hdr=0x00
hme0@pci1:1:1:  class=0x020000 card=0x00000000 chip=0x1001108e rev=0x01 hdr=0x00
none0@pci1:2:0: class=0x030000 card=0x00000000 chip=0x47501002 rev=0x5c hdr=0x00
atapci0@pci1:3:0:       class=0x01018f card=0x06461095 chip=0x06461095 rev=0x03 hdr=0x00


--0F1p//8PRICkK4MW--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-sparc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030224231316.GA71350>