Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2002 17:14:53 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Peter Wemm <peter@wemm.org>
Cc:        alpha@FreeBSD.ORG, Marcel Moolenaar <marcel@xcllnt.net>
Subject:   Re: panic: cpu_initclocks: no clocks attached
Message-ID:  <XFMail.20020425171453.jhb@FreeBSD.org>
In-Reply-To: <20020423020438.13F0F38CC@overcee.wemm.org>

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

On 23-Apr-2002 Peter Wemm wrote:
> Marcel Moolenaar wrote:
>> Guys,
>> 
>> I tried to sync -current on my alpha and got stuck with a unbootable
>> system. I haven't seen anything that may relate to my problem on
>> the mailing list so I suspect it's something I did, but want to make
>> sure. The machine was running -current as of a couple of weeks ago
>> and no config changes were made other than 1) removing obsolete
>> options and/or add new default options, and 2) sort options and devices.
>> 
>> Any suggestions?
> 
> Your mcclock hints look ok, but you dont seem to be probing any ISA devices
> except those that have drivers that self-identify.
> 
> My guess is that your hints are not working.  At the loader prompt, do a
> 'show' and you should see all the hints listed.  The other possibility is
> that you have a 'hints something.hints' config line that does not have valid
> hints in it.  (static hints are used in place of loader hints).

My guess is that the kernel environment is broken on alpha.

FreeBSD/alpha SRM disk boot, Revision 1.2
(john@sema.baldwin.cx, Thu Apr 25 15:13:33 EDT 2002)
Memory: 1048576 k
Loading /boot/defaults/loader.conf 
/boot/kernel/kernel data=0x2e16f0+0x578d0 syms=[0x8+0x44d60+0x8+0x342a8]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] in 6 seconds... 

Type '?' for a list of commands, 'help' for more detailed help.
OK show
LINES=24
bootfile=kernel
console=prom
currdev=disk0a:
debug.ktr.mask=0
debug.witness_watch=0
hint.atkbd.0.at=atkbdc
hint.atkbd.0.irq=1
hint.atkbdc.0.at=isa
hint.atkbdc.0.port=0x060
hint.fd.0.at=fdc0
hint.fd.0.drive=0
hint.fdc.0.at=isa
hint.fdc.0.drq=2
hint.fdc.0.irq=6
hint.fdc.0.port=0x3F0
hint.mcclock.0.at=isa
hint.mcclock.0.port=0x70
hint.ppc.0.at=isa
hint.ppc.0.irq=7
hint.psm.0.at=atkbdc
hint.psm.0.irq=12
hint.sc.0.at=isa
hint.sio.0.at=isa                                       
hint.sio.0.irq=4                                        
hint.sio.0.port=0x3F8
hint.sio.1.at=isa
hint.sio.1.flags=0x50
hint.sio.1.irq=3
hint.sio.1.port=0x2F8
hint.vga.0.at=isa
interpret=OK
kernel=kernel
kernel_options=
kernelname=/boot/kernel/kernel
loaddev=disk0a:
module_path=/boot/kernel;/boot/kernel;/boot/modules;/modules
prompt=${interpret}
OK boot -s
Entering /boot/kernel/kernel at 0xfffffc000032e780...
sio1: gdb debugging port
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #17: Thu Apr 25 16:09:10 EDT 2002
    root@sema.baldwin.cx:/usr/src/sys/alpha/compile/SEMA
Preloaded elf kernel "/boot/kernel/kernel" at 0xfffffc00006b4000.
ST6600
AlphaServer DS20 500 MHz, 500MHz
8192 byte page size, 1 processor.
CPU: EV6 (21264) major=8 minor=4 extensions=0x303<BWX,FIX,MVI,PRECISE>
OSF PAL rev: 0x2003f0002014f
real memory  = 1070948352 (1045848K bytes)
avail memory = 1037074432 (1012768K bytes)
tsunami0: <21271 Core Logic chipset>
pcib0: <21271 PCI host bus adapter> on tsunami0
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 5.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Cypress 82C693 ATA controller> port
0x1100-0x110f,0x3f4-0x3f7,0x1f0-0x1f7 irq 238 at device 5.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: interrupting at ISA irq 14
ata1: at 0x170 irq 15 on atapci0
ata1: interrupting at ISA irq 15
atapci1: <Cypress 82C693 ATA controller> port 0x374-0x377,0x170-0x177 irq 239
at device 5.2 on pci0
atapci1: Busmastering DMA not configured
ohci0: <OHCI (generic) USB controller> mem 0x2050000-0x2050fff irq 234 at
device 5.3 on pci0
ohci0: interrupting at ISA irq 10
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <display, VGA> at device 7.0 (no driver attached)
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0x1000-0x10ff mem
0x2051000-0x2051fff irq 27 at device 8.0 on pci0
ahc0: interrupting at TSUNAMI irq 27
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
pcib1: <21271 PCI host bus adapter> on tsunami0
pci1: <PCI bus> on pcib1
de0: <Digital 21140A Fast Ethernet> port 0x10000-0x1007f mem
0x1040000-0x104007f irq 43 at device 8.0 on pci1
de0: interrupting at TSUNAMI irq 43
de0: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0
de0: address 00:e0:29:05:e5:49
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x0>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
panic: cpu_initclocks: no clock attached
cpuid = 0; panic
Stopped at      Debugger+0x34:  zapnot  v0,#0xf,a0      <v0=0x0,a0=0x6>

Ironically the sc and vga dirvers did probe and attach, but no other
ISA drivers.  Those are the only two ISA drivers though that just have
an 'at' hint and no port or anything.  I wonder if bde's last commit
just fixed this.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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




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