Subject: Ultra-DMA with Cobalt Raq
To: None <port-cobalt@NetBSD.ORG>
From: Oliver Schonefeld <oschonef@TechFak.Uni-Bielefeld.DE>
List: port-cobalt
Date: 04/15/2005 21:52:27
--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hello port-cobalt@NetBSD.ORG,
I recently got hold of a Cobalt RAQ (not RAQ2) and trying to install NetBSD
on it. Using the restore CDs (for 1.6.1) i got it to work and now I am
trying to upgrade it to 2.0.2.
After some fiddling I got a kernel compiled, but 1.6.1 and 2.0.2 are
refusing to use UltraDMA; the kernel seems to lose the irq for the ide chip:
pcib0: VIA Technologies VT82C586 (Apollo VP) PCI-ISA Bridge, rev 39
viaide0 at pci0 dev 9 function 1
viaide0: VIA Technologies VT82C586 (Apollo VP) ATA33 controller
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel ignored (disabled)
VIA Technologies VT83C572 USB Controller (USB serial bus, revision 0x02) at
pci0 dev 9 function 2 not configured
wd0 at atabus0 drive 0: <IBM-DTTA-351010>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 9671 MB, 19650 cyl, 16 head, 63 sec, 512 bytes/sect x 19807200 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
data transfers)
boot device: wd0
root on wd0a dumps on wd0b
viaide0:0:0: lost interrupt
type: ata tc_bcount: 512 tc_skip: 0
Is this a general problem on RAQs or is there a way to fix this? If i use
flags 0x0ffc for wd, the RAQ used PIO mode 4 just fine)
I also have problems invoking fdisk (just to display the mbr partition
table); the kernel panics. fdisk was from the old 1.6.1 userland, build.sh
release was running also)
trap: address error (load or I-fetch) in kernel mode
status=0x2, cause=0x8010, epc=0xc24701d2, vaddr=0xc24701d2
pid=2382 cmd=nbmake usp=0x7fffde70 ksp=0xc3703980
Stopped in pid 2382.1 (nbmake) at 0xc24701d2:trap: address error (load
or I-fetch) in kernel mode
status=0x2, cause=0x8410, epc=0x801d67dc, vaddr=0xc24701d2
pid=2382 cmd=nbmake usp=0x7fffde70 ksp=0xc37037e8
Stopped in pid 2382.1 (n
bmake) at 0x801d67dc: lw v0,0(v0)
db> trace
801d6770+6c (c24701d2,0,0,3a) ra 800ab688 sz 32
800ab648+40 (c24701d2,0,0,3a) ra 800af734 sz 24
800af530+204 (c24701d2,0,0,3a) ra 801d7b0c sz 40
801d7aa0+6c (c24701d2,0,0,3a) ra 801ddc9c sz 32
trap+26c (c24701d2,0,0,3a) ra 801d5568 sz 152
801d5484+e4 (c24701d2,0,0,3a) ra 0 sz 0
User-level: pid 2382.1
Thanks,
Regards,
Oliver
P.S: full boot log and dmesg attached (for the dma case)
--
--------------------------------------------------------
And remember: "To Infinity And Far Beyond ... Somehow?!"
Hi! I'm a .signature virus! Copy me in your ~/.signature
to help me spread! <- Save this lifeform ;-)
--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="cobalt.dmesg"
Cobalt Microserver Diagnostics - 'We serve it, you surf it'
Built Mon Aug 24 14:44:00 PDT 1998
1.LCD Test................................PASS
2.Controller Test.........................PASS
4.Flash Test..............................PASS
5.Bank 0:.................................16M
6.Bank 1:.................................16M
7.Bank 2:.................................16M
8.Bank 3:.................................16M
9.Serial Test.............................PASS
10.PCI Expansion Slot....................**EMPTY**
12.IDE Test................................PASS
13.Ethernet Test...........................PASS
16.RTC Test................................PASS
Decompressing done
Decompressing -/ done.
>> NetBSD/cobalt 1.6U Bootloader, Revision 0.1 [@0x81000000]
>> (cdi@merlin.camelot.net, Fri Jun 27 20:23:25 CEST 2003)
>> Memory: 65536 k
>> PROM boot string: root=/dev/hda1 ro
Loading: wd0a:netbsd
2464992+230076 [61872+53016]=0x2ae340
Starting at 0x80001000
invalid bootinfo (standalone boot?)
[ Kernel symbol table missing! ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 2.0.2_STABLE (COBALT) #2: Fri Apr 15 21:26:45 CEST 2005
root@cobalt.southpark.psychopathen.org:/usr/obj/usr/src/sys/arch/cobalt/compile/COBALT
total memory = 65536 KB
avail memory = 61248 KB
mainbus0 (root)
com0 at mainbus0 addr 0x1c800000 level 3: st16650a, working fifo
com0: console
cpu0 at mainbus0: QED RM5200 CPU (0x2810) Rev. 1.0 with built-in FPU Rev.
1.0
cpu0: 16KB/32B 2-way set-associative L1 Instruction cache, 48 TLB entries
cpu0: 16KB/32B 2-way set-associative write-back L1 Data cache
panel0 at mainbus0 addr 0x1f000000
gt0 at mainbus0 addr 0x14000000
pci0 at gt0
pci0: i/o space, memory space enabled, rd/line, wr/inv ok
pchb0 at pci0 dev 0 function 0: Galileo GT-64011 System Controller, rev 2
tlp0 at pci0 dev 7 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at level 1
tlp0: Ethernet address 00:10:e0:00:12:ae
lxtphy0 at tlp0 phy 1: LXT970 10/100 media interface, rev. 0
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 9 function 0
pcib0: VIA Technologies VT82C586 (Apollo VP) PCI-ISA Bridge, rev 39
viaide0 at pci0 dev 9 function 1
viaide0: VIA Technologies VT82C586 (Apollo VP) ATA33 controller
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel ignored (disabled)
VIA Technologies VT83C572 USB Controller (USB serial bus, revision 0x02) at
pci0 dev 9 function 2 not configured
wd0 at atabus0 drive 0: <IBM-DTTA-351010>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 9671 MB, 19650 cyl, 16 head, 63 sec, 512 bytes/sect x 19807200 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
data transfers)
boot device: wd0
root on wd0a dumps on wd0b
viaide0:0:0: lost interrupt
type: ata tc_bcount: 512 tc_skip: 0
--3V7upXqbjpZ4EhLz--