PCI Support

Jochen Kunz <[email protected]>
Newsgroups gmane.os.netbsd.ports.hp700
Message-ID <[email protected]>
Hi.

Good news: I have PCI working, see dmesg(1) output below. It is not yet
in the CVS repository, it needs some cleanup before I can commit it. I
will upload a kernel binary in ELF and LIF format and a source patch to
http://www.unixag-kl.fh-kl.de/~jkunz/NetBSD/hp700/ in a few minutes for
people who wane test.

Bad news: The kernel still crashes when booting from disk. I still have
no idea what is going wrong there. :-(


NetBSD 2.0G (PCI) #2: Wed Jul 21 21:55:24 CEST 2004
	jkunz@MrPomeroy:/home/tmp/PCI
HP9000/778/B180L (Merlin L2+ 180)
real mem = 512 MB (73728 reserved for PROM, 481 MB used by NetBSD)
avail mem = 472 MB
mainbus0 (root) [flex fff80000]
pdc0 at mainbus0
cpu0 at mainbus0 hpa 0xfffbe000 path 62 irq 31 ipl 0: PA7300LC
(Velociraptor) rev 12
cpu0: PCX-L2, PA-RISC 1.1e, lev 1, cat A, 180 MHz clk
cpu0: shadows, 64K/64K D/I caches, 96 shared TLB, 8 shared BTLB
cpu0: VR floating point, rev 1
mem0 at mainbus0 hpa 0xfffbf000 path 63: size 512MB, 1MB L2 cache
phantomas0 at mainbus0 hpa 0xffc00000 path 8
dino0 at phantomas0 hpa 0xfff80000 path 8/0 irq 28 ipl 1: Dino V3.1
pci0 at dino0
pci0: i/o space, memory space enabled
fpa0 at pci0 dev 1 function 0fpa0: initialization failed
esiop0 at pci0 dev 19 function 0: Symbios Logic 53c875 (ultra-wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at irq 3
scsibus0 at esiop0: 16 targets, 8 luns per target
tlp0 at pci0 dev 20 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at irq 0
tlp0: Ethernet address 00:10:83:03:fd:7a
lxtphy0 at tlp0 phy 1: LXT970 10/100 media interface, rev. 1
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
lasi0 at phantomas0 hpa 0xffc00000 path 8/16 irq 27: rev 3.0
gsc0 at lasi0
lpt0 at gsc0 hpa 0xffd02000 path 8/16/0 irq 7 ipl 3
"Advanced audio (ext.)" at gsc0 (type 0xa, sv 0x7b) hpa 0xffd04000 path
8/16/1 not configured
com0 at gsc0 hpa 0xffd05000 path 8/16/4 irq 5 ipl 4: ns16550a, working
fifo
com0: console
osiop0 at gsc0 hpa 0xffd06000 path 8/16/5 irq 9 ipl 5: NCR53C710 rev 2,
40MHz, SCSI ID 7
scsibus1 at osiop0: 8 targets, 8 luns per target
"PS/2 port" at gsc0 (type 0xa, sv 0x84) hpa 0xffd08000 path 8/16/7 not
configured
"PS/2 port" at gsc0 (type 0xa, sv 0x84) hpa 0xffd08100 path 8/16/8 not
configured
"floppy controller" at gsc0 (type 0xa, sv 0x83) hpa 0xffd0a000 path
8/16/10 not configured
"WAX Bus Adapter" at phantomas0 (type 0xb, sv 0x8e) hpa 0xffe00000 path
8/20 not configured
"GIO Graphics" at phantomas0 (type 0xa, sv 0x85) hpa 0xf8000000 path
8/24 not configured
biomask 000000e2 netmask 000000e6 ttymask 000001fe
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 6 lun 0: <SEAGATE, ST34572WS, HP00> disk fixed
sd0: 4095 MB, 6300 cyl, 8 head, 166 sec, 512 bytes/sect x 8388314
sectors
sd0: sync (50.00ns offset 15), 16-bit (40.000MB/s) transfers, tagged
queueing
st0 at scsibus1 target 6 lun 0: <TANDBERG, TDC 4100, =05:> tape
removable
st0: density code 0, 512-byte blocks, write-protected
st0: async, 8-bit transfers
boot device: tlp0
root on tlp0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.2.4
nfs_boot: my_addr=192.168.2.106
nfs_boot: my_mask=255.255.255.0
root on 192.168.2.4:/bigtmp/nfsroot/NetBSD/hp700
root file system type: nfs

(Don't be worried about the failure of fpa(4). This driver seems to be a
bit problematic on big endian machines.)
-- 


tschüß,
       Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.