Subject: Re: PATA disk drive not being configured in 2.0.2
To: None <netbsd-help@netbsd.org, port-alpha@netbsd.org>
From: Dieter <netbsd@sopwith.solgatos.com>
List: port-alpha
Date: 06/13/2005 12:11:31
> Could you try a plain 2.0 kernel again ? Did your 2.0 work with cmdide or
> pciide ? At last we'll see if it's the openfirmware misconfiguring the
> IDE controller, or if something changed in the NetBSD kernel that cause this.
> There isn't much changes between 2.0 and 2.0.2 ...

Finally found a 2.0 kernel on a backup.


NetBSD 2.0 (ALPHA-$Revision: 1.6 $) #5: Tue Mar  1 15:56:14 PST 2005
[ ... ]
isp0: interrupting at eb164 irq 14
scsibus0 at isp0: 16 targets, 8 luns per target
cmdide0 at pci0 dev 11 function 0
cmdide0: Overriding default PCI latency, setting to 0x40
cmdide0: CMD Technology PCI0646 (rev. 0x01)
cmdide0: bus-master DMA support present
cmdide0: primary channel wired to compatibility mode
cmdide0: primary channel interrupting at isa irq 14
atabus0 at cmdide0 channel 0
cmdide0: secondary channel wired to compatibility mode
cmdide0: secondary channel interrupting at isa irq 15
atabus1 at cmdide0 channel 1
isa0 at sio0
[...]
DEBUG eb164_iointr() vec = 0x900 irq = 0
scsibus0: waiting 2 seconds for devices to settle...

unexpected machine check:

    mces    = 0x1
    vector  = 0x670
    param   = 0xfffffc0000006068
    pc      = 0xfffffc000052aa04
    ra      = 0xfffffc0000517988
    code    = 0x98
    curlwp = 0xfffffc0000adc5a0
        pid = 7.1, comm = atabus0

panic: machine check
Stopped in pid 7.1 (atabus0) at netbsd:cpu_Debugger+0x4:        ret     zero,(ra
)
db> bt
cpu_Debugger() at netbsd:cpu_Debugger+0x4
panic() at netbsd:panic+0x1e8
machine_check() at netbsd:machine_check+0x234
interrupt() at netbsd:interrupt+0x1e8
XentInt() at netbsd:XentInt+0x1c
--- interrupt (from ipl 4) ---
cia_swiz_io_read_1() at netbsd:cia_swiz_io_read_1+0x14
pciide_irqack() at netbsd:pciide_irqack+0x38
cmd646_9_irqack() at netbsd:cmd646_9_irqack+0xb8
wdcprobe1() at netbsd:wdcprobe1+0xc5c
wdc_drvprobe() at netbsd:wdc_drvprobe+0x44
atabusconfig() at netbsd:atabusconfig+0x78
atabus_thread() at netbsd:atabus_thread+0x7c
exception_return() at netbsd:exception_return
--- root of call graph ---
db> reboot
syncing disks... done
rebooting...