Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 1999 17:04:37 -0700
From:      Colin Eric Johnson <colinj@cs.unm.edu>
To:        freebsd-stable@freebsd.org
Subject:   ppc and ppbus break ctrl-alt-del and reboot?
Message-ID:  <Pine.SGI.4.05.9903071656290.323185-100000@waimea.cs.unm.edu>

next in thread | raw e-mail | index | archive | help
I've just in the last couple of days starting playing with the ppc and
ppbus controllers in the 3.1-STABLE kernel. While they do seem to be able
to sense the parallel port in my machine something else, very strange, has
occured. When I attempt to reboot my machine either with ctrl-alt-del or
the reboot command all goes well until the actuall reboot of the machine
occurs, at which point the entire machine locks up. The file system syncs
all seem to happen correctly and the machine is properly halted but will
not reboot and nothing short of a complete removal of power will shut the
machine off and allow me to restart. I'm doing this on a Dell Lattitude
CPi so pulling the power means unplugging it and removing the battery (the
power switch won't respond).

Has anyone else seen behavior like this in -STABLE? In particular I am
interested in getting a parallel zip drive to work but if the necessary
kernel changes cause reboot to not play nice then I am a bit concerned.

There's something going wrong here but I'm not at all sure what, any
insight would be appreciated.

Here's what I know in the way of machine info:

trurl 1 % uname -a
FreeBSD trurl.lternet.edu 3.1-STABLE FreeBSD 3.1-STABLE #16: Sun Mar  7
16:18:03 MST 1999     colinj@trurl.lternet.edu:/usr/src/sys/compile/TRURL
i386

From the kernel config (yes I do know that I have the zip driver commented
out, that's related to another problem).

# ppc   ISA-bus parallel port interfaces.  
device          ppc0    at isa? port? tty irq 7

controller      ppbus0
#controller      vpo0    at ppbus?
device          nlpt0   at ppbus?

trurl 5 % dmesg
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.1-STABLE #16: Sun Mar  7 16:18:03 MST 1999
    colinj@trurl.lternet.edu:/usr/src/sys/compile/TRURL
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (267.27-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x650  Stepping=0

Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,<b24>>
real memory  = 134217728 (131072K bytes)
avail memory = 127832064 (124836K bytes)
Preloaded elf kernel "kernel" at 0xf029e000.
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge (AGP disabled)> rev 0x02 on
pci0.0.0
vga0: <NeoMagic NM2160 laptop SVGA controller> rev 0x01 int a irq 11 on
pci0.2.0
pcic0: <TI 1131 PCI to PCMCIA/CardBus bridge> rev 0x01 int a irq 11 on
pci0.3.0
pcic1: <TI 1131 PCI to PCMCIA/CardBus bridge> rev 0x01 int b irq 11 on
pci0.3.1
chip1: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
chip2: <Intel 82371AB Power management controller> rev 0x01 on pci0.7.3
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
ppc0 at 0x378 irq 7 on isa
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
nlpt0: <generic printer> on ppbus 0
nlpt0: Interrupt-driven port
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio3: configured irq 9 not in bitmap of probed irqs 0
sio3 not found at 0x2e8
pcm0 at 0x52c irq 5 drq 1 flags 0xa613 on isa
mss_attach <mss>0 at 0x52c irq 5 dma 1:3 flags 0xa613
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <IBM-DADA-26480>
wd0: 6194MB (12685680 sectors), 13424 cyls, 15 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <CD-ROM  CDR_U200/1.12>, removable, intr, dma,
iordis
atapi1.0: unknown phase
atapi1.0: unknown phase
atapi1.0: unknown phase
atapi1.0: unknown phase
atapi1.0: unknown phase
ep0 not found at 0x300
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
apm0 flags 0x31 on isa
apm: found APM BIOS version 1.2
PC-Card VLSI 82C146 (5 mem & 2 I/O windows)
pcic: controller irq 3
Initializing PC-card drivers: ep
changing root device to wd0s2a
Card inserted, slot 0
ep0: utp/bnc[*UTP*] address 00:10:4b:de:66:92


Colin E. Johnson | colinj@unm.edu | http://www.unm.edu/~colinj/
A fabulous reminder that there's more then one way to skin a groove!



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.4.05.9903071656290.323185-100000>