Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Keyboard lockup with NetBSD5



Hello Frank,

this is dmesg output from your netbsdtst1 kernel:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    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 5.99.20 (WSCONS) #3: Sat Oct 31 12:42:35 CET 2009
frank%cygnus.wendik.de@localhost:/home/frank/netbsd/current/src/sys/ arch/amiga/compile/obj/WSCONS
Amiga 1200 (68060 rev.6 CPU/MMU/FPU)
total memory = 255 MB
avail memory = 248 MB
memory segment 0 at 70000000 size 0ff80000
memory segment 1 at 00000000 size 00200000
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
clock0 at mainbus0: CIA B system hz 100 hardware hz 709379
timecounter: Timecounter "CIA B" frequency 709379 Hz quality 100
a2kbbc0 at mainbus0
ser0 at mainbus0: input fifo 512 output fifo 32
par0 at mainbus0
kbd0 at mainbus0: CIA A type Amiga
wskbd0 at kbd0: console keyboard
ms0 at mainbus0
wsmouse0 at ms0 mux 0
wsmouse1 at ms0 mux 0
amidisplaycc0 at mainbus0: Amiga custom chip graphics  (console)
wsdisplay0 at amidisplaycc0 kbdmux 1: console (default, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
fdc0 at mainbus0: dmabuf pa 0x1d92d4: dmabuf ka 0x59f2d4
fd0 at fdc0 unit 0: 3.5dd 80 cyl, 2 head, 11 sec [9 sec], 512 bytes/sec
wdc0 at mainbus0
*** add_isr ipl 2:
atabus0 at wdc0 channel 0
pccard0 at mainbus0
pcmcia0 at pccard0
*** add_isr ipl 6: pccard0
*** add_isr ipl 2: pccard0
pcmcia0: card appears to have bogus CIS
aucc0 at mainbus0
audio0 at aucc0: half duplex, playback, capture
zbus0 at mainbus0
board at zbus0: pa 0xf00c34 man/pro 8512/110 not configured
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
wd0 at atabus0 drive 0: <CF Card>
wd0: drive supports 1-sector PIO transfers, LBA addressing
wd0: 1923 MB, 3909 cyl, 16 head, 63 sec, 512 bytes/sect x 3940272 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
root on wd0a dumps on wd0b
mountroot: trying nfs...
mountroot: trying msdos...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
amidisplaycc: unknown ioctl 8004745c (grp:'t' num:92)
amidisplaycc: unknown ioctl 8004745c (grp:'t' num:92)
amidisplaycc: unknown ioctl 83ff5a70 (grp:'Z' num:112)
amidisplaycc: unknown ioctl 40287448 (grp:'t' num:72)
amidisplaycc: unknown ioctl 40287448 (grp:'t' num:72)
amidisplaycc: unknown ioctl 40287448 (grp:'t' num:72)

Here you can see the problem I have with my PCMCIA setup. The reset fix seems to be broken, as the card is not reseted properly, giving
bogus info.

and for your kernel 2:

bash-3.2# dmesg
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    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 5.99.20 (WSCONS) #5: Sat Oct 31 13:08:57 CET 2009
frank%cygnus.wendik.de@localhost:/home/frank/netbsd/current/src/sys/ arch/amiga/compile/obj/WSCONS
Amiga 1200 (68060 rev.6 CPU/MMU/FPU)
total memory = 255 MB
avail memory = 248 MB
memory segment 0 at 70000000 size 0ff80000
memory segment 1 at 00000000 size 00200000
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
clock0 at mainbus0: CIA B system hz 100 hardware hz 709379
timecounter: Timecounter "CIA B" frequency 709379 Hz quality 100
a2kbbc0 at mainbus0
ser0 at mainbus0: input fifo 512 output fifo 32
par0 at mainbus0
kbd0 at mainbus0: CIA A type Amiga
wskbd0 at kbd0: console keyboard
ms0 at mainbus0
wsmouse0 at ms0 mux 0
wsmouse1 at ms0 mux 0
amidisplaycc0 at mainbus0: Amiga custom chip graphics  (console)
wsdisplay0 at amidisplaycc0 kbdmux 1: console (default, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
fdc0 at mainbus0: dmabuf pa 0x1d92d4: dmabuf ka 0x59f2d4
fd0 at fdc0 unit 0: 3.5dd 80 cyl, 2 head, 11 sec [9 sec], 512 bytes/sec
wdc0 at mainbus0
*** add_isr ipl 2:
atabus0 at wdc0 channel 0
pccard0 at mainbus0
pcmcia0 at pccard0
*** add_isr ipl 6: pccard0
*** add_isr ipl 2: pccard0
ne0 at pcmcia0 function 0: <D-Link, DFE-670TXD, PC Card>
ne0: Ethernet address 00:13:46:34:0d:85
OUI 0x1000e8 model 0x0002 rev 0 at ne0 phy 1 not configured
ne0: WARNING: powerhook_establish is deprecated
aucc0 at mainbus0
audio0 at aucc0: half duplex, playback, capture
zbus0 at mainbus0
board at zbus0: pa 0xf00c34 man/pro 8512/110 not configured
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
wd0 at atabus0 drive 0: <CF Card>
wd0: drive supports 1-sector PIO transfers, LBA addressing
wd0: 1923 MB, 3909 cyl, 16 head, 63 sec, 512 bytes/sect x 3940272 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
root on wd0a dumps on wd0b
mountroot: trying nfs...
mountroot: trying msdos...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
amidisplaycc: unknown ioctl 8004745c (grp:'t' num:92)
amidisplaycc: unknown ioctl 8004745c (grp:'t' num:92)
amidisplaycc: unknown ioctl 83ff5a70 (grp:'Z' num:112)

And the outputs of vmstat for the second kernel:

bash-3.2# vmstat -i
interrupt                                     total     rate
tbe/soft                                          1        0
kbd/ports                                     28717      128
vbl                                           13577       60
clock                                         22635      101
60intemu                                     104543      468
60fpiemu                                        147        0
Total                                        169620      760

bash-3.2# vmstat -i
interrupt                                     total     rate
tbe/soft                                          1        0
kbd/ports                                     29978       96
vbl                                           18798       60
clock                                         31409      100
60intemu                                     107859      346
60fpiemu                                        147        0
Total                                        188192      605


With both kernels the bug is still present. When using the keyboard directly after boot
I can reach a rate of 206 at kbd/ports.

Some things I found out about my 1200:
- the latest flash update of the BPPC activates the SCSI controller as zorro device, even if no hardware is present. This is the unconfigured zorro device in dmesg output.
- the clock battery of my BPPC is missing, never noticed that :-)

What now?





Home | Main Index | Thread Index | Old Index