Hello,

The current snapshot/i386 installed and runs successfully on a Nokia
IP120 appliance with a 10 GB harddisk where I have overwritten its
original IPSO/Checkpoint firewall image, see dmesg below.

However, I find that no watchdog is available, as geodesc (Geode
SC1100/SCx200 IAOC driver) does not get loaded, although it is in the
default GENERIC kernel config.

While comparing with dmesg of WRAP plattforms, I notice that on Nokia
lines such as the following are missing:
...
gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00
...
geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus" rev 0x00: iid 6
revision 3 wdstatus 0
...

Does gscpcib* not get loaded on Nokia because there is a Cyrix device
sitting on the PCI bus? Consequently, does geodesc* not get loaded
because gscpcib* is absent?


One motivation for me trying to use
 'sysctl kern.watchdog.auto=1',
 'sysctl kern.watchdog.period=30', and
 start 'watchdogd'
is the problem that 'reboot' on the Nokia plattform hangs indefinitely
after OpenBSD shuts down and successfully synced disks. This problem
has been reported earlier by others, and I just attempted to create a
workaround using Geode's hardware watchdog.

Can anyone please provide me guidance how I could debug the watchdog
(and eventually the reboot) problems further?  I have some experience
in building custom kernels, if that should be necessary. But I do not
yet know enough about PCI devices and drivers in order to interpret
the dmesg output correctly.

Thanks,
Rolf

#
# sysctl kern.watchdog.auto
sysctl: kern.watchdog.auto: value is not available
# sysctl kern.watchdog.period
sysctl: kern.watchdog.period: value is not available
#
# sysctl -a | grep watchdog
#     (<-- no output, e.g. there is no watchdog stuff)
#
# watchdogd
watchdogd: no watchdog timer available
#

#
# dmesg
OpenBSD 4.0 (GENERIC) #1104: Fri Sep  1 11:54:27 MDT 2006
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by National Semi ("Geode by NSC"
586-class) 267 MHz
cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
cpu0: TSC disabled
real mem  = 133787648 (130652K)
avail mem = 114688000 (112000K)
using 1658 buffers containing 6791168 bytes (6632K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(05) BIOS, date 07/17/00, BIOS32 rev. 0 @
0xeb0a0, SMBIOS rev. 2.3 @ 0xed2a8 (32 entries)
bios0: Jabil/Nokia IP110
pcibios0 at bios0: rev 2.1 @ 0xe8000/0x669
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf4fb0/80 (3 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x1078 product 0x0100
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xe8000/0x4000! 0xec000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00
fxp0 at pci0 dev 14 function 0 "Intel 82559ER" rev 0x09, i82559S: irq
11, address 00:a0:8e:21:88:98
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
fxp1 at pci0 dev 15 function 0 "Intel 82559ER" rev 0x09, i82559S: irq
10, address 00:a0:8e:21:88:99
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
fxp2 at pci0 dev 16 function 0 "Intel 82559ER" rev 0x09, i82559S: irq
5, address 00:a0:8e:21:88:9a
inphy2 at fxp2 phy 1: i82555 10/100 PHY, rev. 4
pcib0 at pci0 dev 18 function 0 "Cyrix Cx5530 South" rev 0x30
"Cyrix Cx5530 SMI" rev 0x00 at pci0 dev 18 function 1 not configured
pciide0 at pci0 dev 18 function 2 "Cyrix Cx5530 IDE" rev 0x00: no DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 ignored (other hardware responding at addresses)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
"Cyrix Cx5530 XpressAUDIO" rev 0x00 at pci0 dev 18 function 3 not configured
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: <IC25N010ATDA04-0>
wd0: 16-sector PIO, LBA, 9590MB, 19640880 sectors
wd0(wdc0:0:0): using BIOS timings
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask f3c5 netmask ffe5 ttymask ffe7
pctr: no performance counters in CPU
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
#

Reply via email to