Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2003 16:10:26 -0800 (PST)
From:      "Bruce R. Montague" <brucem@cruzio.com>
To:        freebsd-current@FreeBSD.ORG
Cc:        sos@FreeBSD.ORG
Subject:   Re: ATA CS5530 (cyrix) driver panic (ata_cyrix_setmode())
Message-ID:  <200303100010.h2A0AQM00982@cruzio.com>

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


 Hi, re the ata driver and CS5530, Soren Schmidt asked:

 > Could you please dump the pci reg 0x20 (with pciconf) and 
 > verify that it is endeed 0 ?

 Ok (it's _not_ 0):

-----
geode# pciconf -r pci0:18:2 0x20
0000fc01
geode# pciconf -r pci0:18:2 32
0000fc01
-----

Is this 0x20 on F2, F2BAR4? Is it supposed to be
0, not the "I/O mapped Bus Master IDE Registers..."?
I have a 5530 manual (although I'm uncertain if
all the "5530s" really look the same in all
ways...). Bits 31:4 are the bus master IDE base
address (0xfc0). The RO 1 indicates a 16-byte I/O range.

I am using a reasonably recent National Semiconductor
Centaurus 2 development board. My understanding
is that this is National's current reference
development platform. It uses National's XpressROM
BIOS, intended for use with the GX1 and CS5530.
This BIOS seems to evolve rather rapidly, it
doesn't look like the BIOS is very recent. The
BIOS screen says:

------
Rev: v2.22 B  Built: 07/01/2002  07:54:38
CPU: GX1 8.2 @334 Mhz   PCI:33Mhz   Multiplier:10x 5530A Rev:B1
Memory:192512k @83 MHz  CAS:3 SDRAM Divisor:4 Shift SDCLK: 2.0
Floppy A:1.44M  Drive 80:41174MB  COM1:03F8  LPT1:0378 XpressROM V3.2.5
RTC:Present                       COM2:02F8            VSA:0202
USB:Enabled                                            VBIOS:040D
PM:Disabled
                CPU Voltage 2.20   9211: B1/C1
------

I'll try to track down "r_bmio" life.

The same hardware runs the "/boot/kernel.last_good/kernel"
"FreeBSD 5.0-CURRENT #3: Mon Jan 20 ... 2003"
fine, there are no obvious driver problems.  Other
than the expected -current deltas, the only other
difference between the two systems that I know of
is that the older system is not using the TSC
clock. I'll see if that changes things. They
are basically both GENERIC.

Other misc info:

------
geode# dmesg | egrep 5530
atapci0: <Cyrix 5530 ATA33 controller> port 0xfc00-0xfc0f at device 18.2 on pci0

------

geode# pciconf -l
hostb0@pci0:0:0:        class=0x060000 card=0x00000000 chip=0x00011078 rev=0x00 hdr=0x00
sis0@pci0:13:0: class=0x020000 card=0x0020100b chip=0x0020100b rev=0x00 hdr=0x00
isab0@pci0:18:0:        class=0x060100 card=0x00000000 chip=0x01001078 rev=0x30 hdr=0x00
none0@pci0:18:1:        class=0x068000 card=0x00000000 chip=0x01011078 rev=0x00 hdr=0x00
atapci0@pci0:18:2:      class=0x010180 card=0x00000000 chip=0x01021078 rev=0x00 hdr=0x00
none1@pci0:18:3:        class=0x040100 card=0x69b61078 chip=0x01031078 rev=0x00 hdr=0x00
none2@pci0:18:4:        class=0x030000 card=0x584d1078 chip=0x01041078 rev=0x00 hdr=0x00
ohci0@pci0:19:0:        class=0x0c0310 card=0xa0f80e11 chip=0xa0f80e11 rev=0x06 hdr=0x00

-----
FreeBSD geode 5.0-CURRENT FreeBSD 5.0-CURRENT #10: Sun Mar  9 06:47:09 GMT 2003
brucem@geode:/usr/src/sys/i386/compile/GENERIC  i386







 - bruce

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




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