Axp-List Archive
Re: PCI devices causing machine lockups on SX164

Subject: Re: PCI devices causing machine lockups on SX164
From: Andreas Johansson (ajo@wopr.campus.luth.se)
Date: Thu Apr 13 12:47:13 2000


On Tue, 11 Apr 2000, Richard Henderson wrote:

> On Fri, Mar 31, 2000 at 02:37:02AM +0200, Andreas Johansson wrote:
> > When my WinTV card stops to function but the machine survives, error
> > messages of this sort pop out of the kernel:
> >
> > PYXIS PCI machine check: err0=06400206 err1=c44ec42d err2=c44ec42d
>
> This is a DMA read (ie to the card) from PCI bus address c44ec42d.

Hmm.. I would have thought that the card was only DMA:ing video to the
framebuffer via PCI write commands. Could it be the Cypress that is
doing the bad access?

I've since my last mail had a problem with my SCSI DVD reader too. I've
got several oopses while reading data from a cdrom, still using 2.3.47:

--------------------------------------------------------------------------
Unable to handle kernel paging request at virtual address 0000000000000012
swapper(0): Oops 1
pc = [<fffffc00003bdf24>] ra = [<fffffc00003c7b5c>] ps = 0007
r0 = 0000000000000000 r1 = 0000000000000101 r2 = ffffffffffffffff
r3 = 0000000000000001 r4 = 00000000007f0020 r5 = ffffffdfffffffff
r6 = 0000000000000000 r7 = fffffc00004c3260 r8 = fffffc0000474000
r9 = 0000000000000000 r10= fffffc000046f4e0 r11= fffffc000046f4e0
r12= fffffc0007fc0ec0 r13= fffffc0007f54000 r14= 0000000000000000
r15= fffffc0007fc0f00
r16= 0000000000000000 r17= fffffc000046f4e0 r18= 0000000000000000
r19= 000000000000007f r20= 00000000000000ff r21= 0000000000000000
r22= 000000000000001f r23= 0000000000000020 r24= fffffc00004c3260
r25= fffffc00004c3220 r27= fffffc00003bdf00 r28= 0000000000000020
gp = fffffc00004bfb58 sp = fffffc0000477c38
Code: 46100409 b75e0000 4631040a <34290012> a4490008 b52a0058 f4400005
a61dfeb0 a77d9c90
Trace: [<fffffc00003c7b5c>] [<fffffc00003c700c>] [<fffffc00003bd780>]
[<fffffc00003c7374>] [<fffffc00003c76c4>] [<fffffc00003cebdc>]
[<fffffc00003c631c>] [<fffffc00003d7120>] [<fffffc0000315908>]
[<fffffc00003161e0>] [<fffffc0000310000>] [<fffffc000031bd38>]
[<fffffc00003166d4>] [<fffffc0000310c18>] [<fffffc0000312020>]
[<fffffc000031c660>] [<fffffc000035811c>] [<fffffc0000312000>]
[<fffffc000035811c>] [<fffffc000031001c>]
Aiee, killing interrupt handler
Kernel panic: Attempted to kill the idle task!
In interrupt handler - not syncing
--------------------------------------------------------------------------

> I don't recall exactly what was in 2.3.47, but there have been a
> number of fixes to CIA/PYXIS PCI since then. But you say you can't
> even boot with 2.3.99-pre4?

2.3.99-pre4 does not boot for me:

--------------------------------------------------------------------------
Linux version 2.3.99-pre4 (root@ymer) (gcc version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release)) #1 Wed Apr 12 22:45:01 CEST 2000
Booting on EB164 variation SX164 using machine vector SX164 from MILO
Command line: bootdevice=sda6 bootfile=boot/vmlinuz root=/dev/sda6
console=ttyS0
memcluster 0, usage 2, start 0, end 1
memcluster 1, usage 0, start 1, end 217
memcluster 2, usage 2, start 217, end 219
memcluster 3, usage 0, start 219, end 256
memcluster 4, usage 2, start 256, end 328
memcluster 5, usage 0, start 328, end 384
memcluster 6, usage 2, start 384, end 714
memcluster 7, usage 0, start 714, end 16384
freeing pages 714:16384
pci: cia revision 1 (pyxis)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Console: colour VGA+ 80x25
Calibrating delay loop... 1059.06 BogoMIPS
Memory: 123024k/131072k available (1207k kernel code, 4808k reserved, 319k
data, 256k init)
Buffer-cache hash table entries: 8192 (order: 3, 65536 bytes)
Page-cache hash table entries: 16384 (order: 4, 131072 bytes)
POSIX conformance testing by UNIFIX
pci: passed tb register update test
pci: passed sg loopback i/o read test
pci: passed tbia test
pci: passed pte write cache snoop test
pci: failed valid tag invalid pte reload test (mcheck; workaround
available)
pci: passed pci machine check test
PCI: No parent found for region 4 of device Contaq Microsystems 82c693
(#2)
SMC37c669 Super I/O Controller found @ 0x3f0
Linux NET4.0 for Linux 2.3
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 16Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
Initializing RT netlink socket
Starting kswapd v1.6
initialize_kbd: Keyboard reset failed, no ACK
pty: 256 Unix98 ptys configured
keyboard: Too many NACKs -- noisy kbd cable?
keyboard: Too many NACKs -- noisy kbd cable?
Uniform Multi-Platform E-IDE driver Revision: 6.30
ide: Assuming 40MHz system bus speed for PIO modes; override with
idebus=xx
CY82C693: IDE controller on PCI bus 00 dev 41
CY82C693: not 100% native mode: will probe irqs later
CY82C693U driver v0.34 99-13-12 Andreas S. Krebs (akrebs@altavista.net)
    ide0: BM-DMA at 0x9000-0x9007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0x9008-0x900f, BIOS settings: hdc:pio, hdd:DMA
hda: IBM-DHEA-36480, ATA DISK drive
ide: Assuming 40MHz system bus speed for PIO modes; override with
idebus=xx
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: 12692736 sectors (6499 MB) w/476KiB Cache, CHS=12592/16/63, (U)DMA
Partition check:
 hda: hda1
ncr53c8xx: at PCI bus 0, device 6, function 0
ncr53c8xx: 53c875 detected with Symbios NVRAM
ncr53c875-0: rev 0x3 on pci bus 0 device 6 function 0 irq 27
ncr53c875-0: Symbios format NVRAM, ID 7, Fast-20, Parity Checking
ncr53c875-0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 =
(hex) 05/46/a0/00/00/24
ncr53c875-0: final SCNTL3/DMODE/DCNTL/CTEST3/4/5 =
(hex) 05/46/a0/00/08/24
ncr53c875-0: on-chip RAM at 0x9003000
ncr53c875-0: resetting, command processing suspended for 2 seconds
ncr53c875-0: restart (scsi reset).
ncr53c875-0: enabling clock multiplier
ncr53c875-0: Downloading SCSI SCRIPTS.
scsi0 : ncr53c8xx - version 3.2h
scsi : 1 host.
ncr53c875-0: command processing resumed
  Vendor: SEAGATE Model: ST34572W Rev: 0784
  Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
  Vendor: PIONEER Model: DVD-ROM DVD-303 Rev: 1.10
  Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
  Vendor: MATSHITA Model: CD-R CW-7502 Rev: 4.17
  Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi0, channel 0, id 6, lun 0
ncr53c875-0-<0,0>: tagged command queue depth set to 8
scsi : detected 2 SCSI cdroms 1 SCSI disk total.
ncr53c875-0-<2,*>: FAST-20 SCSI 20.0 MB/s (50 ns, offset 8)
sr0: scsi3-mmc drive: 0x/0x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.07
ncr53c875-0-<6,*>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8)
sr1: scsi3-mmc drive: 8x/8x writer xa/form2 cdda tray
ncr53c875-0-<0,*>: WIDE SCSI (16 bit) enabled.
ncr53c875-0-<0,*>: FAST-20 WIDE SCSI 40.0 MB/s (50 ns, offset 15)
SCSI device sda: hdwr sector= 512 bytes. Sectors= 8888924 [4340 MB] [4.3
GB]
 sda: sda1 sda2 sda3 < sda5 sda6 sda7 >
Serial driver version 4.93 (2000-03-20) with MANY_PORTS SHARE_IRQ
SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 256k freed
swapper: Exception at [<fffffc0000311610>] (fffffc0000311620)
swapper(1): unhandled unaligned exception
pc = [<fffffc0000357ac4>] ra = [<fffffc00003575e8>] ps = 0000
r0 = 0000000000000000 r1 = 0000000000000000 r2 = 0000000000000001
r3 = 0000000000000000 r4 = 0000000000000a00 r5 = ffffffffffff8000
r6 = 0000000000000001 r7 = 0000000000000000 r8 = fffffc0007fdc000
r9 = fffffffffffffffe r10= 458c0412456b0411 r11= fffffc0007f2a000
r12= 0000000000000000 r13= fffffc0000347258 r14= fffffc0007fdfe70
r15= 0000000000020003
r16= fffffc0007f2a000 r17= 0000000000000001 r18= fffffc0007fdfe70
r19= fffffc0007fdfe70 r20= 8e38e38e38e38e39 r21= fffffc00004db348
r22= fffffc00004b1c80 r23= fffffc00004b1d30 r24= ffffffffffffffff
r25= 0000000000000001 r27= fffffc0000357540 r28= fffffc00004b60c0
gp = fffffc00004d81d8 sp = fffffc0007fdfe10
Code: a54d0008 213ffffe e5400077 <a06a0040> 217ff000 242b0001 205fa000
44610001 24420001
Trace: [<fffffc0000346e00>] [<fffffc0000310000>] [<fffffc0000347270>]
[<fffffc0000347258>] [<fffffc00003101fc>] [<fffffc00003101c0>]
[<fffffc0000310770>] [<fffffc00003101c0>] [<fffffc0000310744>]
[<fffffc0000310718>] [<fffffc0000310744>]
--------------------------------------------------------------------------

I've also tried 2.3.99-pre5, and it did compile and boot but I can't get
my bttv to work. There seems to be some problem with shared memory:

--------------------------------------------------------------------------
root@ymer ~ #xawtv -novm
This is xawtv-3.02, running on Linux/alpha (2.3.99-pre5)
visual: id=0x22 class=4 (TrueColor), depth=16
x11: 1280x1024, 16 bit/pixel, 2560 byte/scanline, DGA
waitpid: No child processes
waitpid: No child processes
v4l: 1280x1024, 16 bit/pixel, 2560 byte/scanline
wmhooks: gnome
Warning: Cannot convert string
"-*-ledfixed-medium-r-semicondensed--39-*" to type FontStruct
shmget: Invalid argument
Segmentation fault (core dumped)
--------------------------------------------------------------------------

I've recompiled the binary using the new linux headers, but that didn't
help. I saw this message while running 2.3.99-pre5:

shmget: shm filesystem not mounted

What does this mean?

--

NFS doesn't work either:

root@ymer ~ #modprobe nfs /lib/modules/2.3.99-pre5/fs/nfs.o: unresolved symbol xdr_two sunrpc: Device or resource busy

depmod does not complain on the nfs.o, though.

--

Another thing, I get a lot of these messages while accessing a NetBSD-current NFS server:

nfs_writepage_sync: prior time?? nfs_writepage_sync: prior time?? nfs_writepage_sync: prior time?? nfs_writepage_sync: prior time??

What's wrong?

> r~

/Andreas

-- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com



This archive was generated by hypermail version 2a22 on Mon May 1 18:42:01 2000 PDT
Send any problems or questions about this archive to webmaster@alphalinux.org.