Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2003 09:45:33 +0100
From:      Philip Paeps <philip@paeps.cx>
To:        Soeren Schmidt <sos@spider.deepcore.dk>
Cc:        Andrew Gallatin <gallatin@cs.duke.edu>, alpha@FreeBSD.ORG, sos@FreeBSD.ORG
Subject:   Re: ATA Panic on boot
Message-ID:  <20030227084533.GG1930@juno.home.paeps.cx>
In-Reply-To: <200302270716.h1R7GTw3066263@spider.deepcore.dk>
References:  <20030226223529.GC1930@juno.home.paeps.cx> <200302270716.h1R7GTw3066263@spider.deepcore.dk>

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

On 2003-02-27 08:16:29 (+0100), Soeren Schmidt <sos@spider.deepcore.dk> wrote:
> It seems Philip Paeps wrote:
> > On 2003-02-26 17:29:30 (-0500), Andrew Gallatin <gallatin@cs.duke.edu> wrote:
> > > This gentleman has an alpha which is panic'ing on boot after the recent
> > > round of ata changes.  Its apparently following a null function pointer from
> > > atapi_attach().
> > > 
> > > Based on the hardware, he has either a CMD646 or Cypress chipset.
> > 
> > It's a Cypress 82C693, as a matter of fact, if that helps any :-)
> 
> A little, but I need more info please...

Sure :-)

> A dmesg from when it worked at least would be nice..

This is from a kernel from 11-02-2003:

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 #3: Tue Feb 11 06:37:54 CET 2003
    philip@prosperina.home.paeps.cx:/usr/obj/usr/src/sys/PROSPERINA
Preloaded elf kernel "/boot/kernel.working/kernel" at 0xfffffc0000724000.
Digital Personal Workstation (Miata)
Digital Personal WorkStation 500au, 500MHz
8192 byte page size, 1 processor.
CPU: EV56 (21164A) major=7 minor=0 extensions=0x1<BWX>
OSF PAL rev: 0x1000000020116
real memory  = 266493952 (254 MB)
avail memory = 252665856 (240 MB)
Initializing GEOMetry subsystem
cia0: <2117x Core Logic chipset>
cia0: Pyxis, pass 1
cia0: extended capabilities: 1<BWEN>
pcib0: <2117x PCI host bus adapter> on cia0
pci0: <PCI bus> on pcib0
dc0: <Intel 21143 10/100BaseTX> port 0x9100-0x917f mem 0x811a2000-0x811a207f irq 0 at device 3.0 on pci0
dc0: Ethernet address: 00:00:f8:76:34:54
miibus0: <MII bus> on dc0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: interrupting at CIA irq 0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Cypress 82C693 ATA controller> port 0x91a0-0x91af,0x3f4-0x3f7,0x1f0-0x1f7 irq 238 at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: interrupting at ISA irq 14
ata1: at 0x170 irq 15 on atapci0
ata1: interrupting at ISA irq 15
atapci1: <Cypress 82C693 ATA controller> port 0x374-0x377,0x170-0x177 mem 0x81190000-0x8119ffff irq 239 at device 7.2 on pci0
atapci1: Busmastering DMA not configured
pci0: <serial bus, USB> at device 7.3 (no driver attached)
ahc0: <Adaptec 29160 Ultra160 SCSI adapter> port 0x9000-0x90ff mem 0x811a0000-0x811a0fff irq 4 at device 11.0 on pci0
ahc0: interrupting at CIA irq 4
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
pci0: <display, VGA> at device 12.0 (no driver attached)
pcib1: <PCI-PCI bridge> at device 20.0 on pci0
pci1: <PCI bus> on pcib1
isp0: <Qlogic ISP 1020/1040 PCI SCSI Adapter> port 0x8000-0x80ff mem 0x81010000-0x81010fff irq 3 at device 4.0 on pci1
isp0: interrupting at CIA irq 3
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
atkbd0: interrupting at ISA irq 1
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: interrupting at ISA irq 6
mcclock0: <MC146818A real time clock> at port 0x70-0x71 on isa0
ppc0: <Parallel port> at port 0x3bc-0x3c3 irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Polled port
ppi0: <Parallel I/O> on ppbus0
ppc0: interrupting at ISA irq 7
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x0>
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A, console
sio0: interrupting at ISA irq 4
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio1: interrupting at ISA irq 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "alpha"  frequency 499880837 Hz
Timecounters tick every 0.976 msec
allocate another stats-page 0xfffffc00009ea000
acd0: CDROM <TOSHIBA CD-ROM XM-6202B> at ata1-master PIO4
Waiting 5 seconds for SCSI devices to settle
sa0 at ahc0 bus 0 target 4 lun 0
sa0: <ARCHIVE IBM4326NP/RP  !D 4BKC> Removable Sequential Access SCSI-2 device 
sa0: 5.000MB/s transfers (5.000MHz, offset 15)
da1 at isp0 bus 0 target 1 lun 0
da1: <DEC RZ2CC-KA (C) DEC 5520> Fixed Direct Access SCSI-2 device 
da1: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da1: 4091MB (8380080 512 byte sectors: 255H 63S/T 521C)
da0 at isp0 bus 0 target 0 lun 0
da0: <DEC RZ1CB-BS (C) DEC 0818> Fixed Direct Access SCSI-2 device 
da0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 4091MB (8380080 512 byte sectors: 255H 63S/T 521C)
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TOSHIBA CD-ROM XM-6202B 1110> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/da0a
Be nice to each other, mmmkay?

> A pciconf -l wold be helpfull as well..

dc0@pci0:3:0:	class=0x020000 card=0x00000000 chip=0x00191011 rev=0x30 hdr=0x00
isab0@pci0:7:0:	class=0x060100 card=0x00000000 chip=0xc6931080 rev=0x00 hdr=0x00
atapci0@pci0:7:1:	class=0x010180 card=0x00000000 chip=0xc6931080 rev=0x00 hdr=0x00
atapci1@pci0:7:2:	class=0x010100 card=0x00000000 chip=0xc6931080 rev=0x00 hdr=0x00
none0@pci0:7:3:	class=0x0c0310 card=0x00000000 chip=0xc6931080 rev=0x00 hdr=0x00
ahc0@pci0:11:0:	class=0x010000 card=0xe2a09005 chip=0x00809005 rev=0x02 hdr=0x00
none1@pci0:12:0:	class=0x030000 card=0x0a321048 chip=0x3d07104c rev=0x01 hdr=0x00
pcib1@pci0:20:0:	class=0x060400 card=0x00000000 chip=0x00241011 rev=0x02 hdr=0x01
isp0@pci1:4:0:	class=0x010000 card=0x00000000 chip=0x10201077 rev=0x05 hdr=0x00

> Have you tried booting with hw.ata.ata_dma=0 and hw.ata.atapi_dma=0 ?

I have now :-)  Doesn't work, I'm afraid.

 - Philip

-- 
Philip Paeps                                          Please don't CC me, I am
philip@paeps.cx                                       subscribed to the list.

  If you have a difficult task give it to a lazy man, he
  will find an easier way to do it.

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




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