Port-alpha archive

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

Re: can't reboot after running a 5.0 kernel



On Sat, Jan 29, 2011 at 12:43:12AM +0100, Martin Husemann wrote:
> I'm not sure I see what you mean - the code in -current looks pretty much
> identical to me.

I could be wrong about that.  I mainly looked at the CVS logs.

I did boil the problem down a bit more...   I think the hard
hang happens when you run the first program linked with "pthreads"
(i.e. /usr/sbin/named).   IF you don't run named, I bet the 
system will boot to multiuser OK.

I just did the following test:
[1] boot to single user
[2] "mount -u /" and "mount -r /usr"
[3] run "ifconfig" and "route add default" to bring up network
[4] run "/usr/sbin/named" --- system hard hangs here, won't break to
    DDB and requires a power cycle to recover.

I'm wondering if your patch failed to setup some register that
is required for threaded apps?   I don't know the alpha architecture,
so I'm not clear on what to do.   Maybe someone here who knows
alpha can look?   I can easily test any proposed fixes.

My userland is a 4.0 one, in case that matters.

chuck



>>>boot -file testin -fl s
(boot dka100.1.0.1001.0 -file testin -flags s)
block 0 of dka100.1.0.1001.0 is a valid boot block
reading 14 blocks from dka100.1.0.1001.0
bootstrap code read in
base = 136000, image_start = 0, image_bytes = 1c00
initializing HWRPB at 2000
initializing page table at 128000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code

NetBSD/alpha 2.0.2 FFS Primary Bootstrap
Jumping to entry point...

NetBSD/alpha 2.0.2 Secondary Bootstrap, Revision 1.13
(builds%works.netbsd.org@localhost, Tue Mar 22 03:21:07 UTC 2005)

VMS PAL rev: 0x1000000010112
OSF PAL rev: 0x1000000020115
Switch to OSF PAL code succeeded.

Boot file: testin
Boot flags: s
9394176+480920 [533520+353943]=0xa44000

Entering testin at 0xfffffc0000301140...
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    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.0_STABLE (GENERIC-$Revision: 1.325 $) #6: Fri Jan 28 16:22:21 EST 2011
        
chuck%xxx.pdl.cmu.edu@localhost:/.amd/flow/home/chuck/src/netbsd/cur/src/sys/arch/alpha/compile/GENERIC
Digital AlphaStation 600 5/266, 266MHz, s/n 
8192 byte page size, 1 processor.
total memory = 704 MB
(2176 KB reserved for PROM, 701 MB used by NetBSD)
avail memory = 681 MB
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164-5
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass 2
pci0 at cia0 bus 0
tlp0 at pci0 dev 7 function 0: DECchip 21140 Ethernet, pass 1.2
tlp0: interrupting at kn20aa irq 8
tlp0: DEC DE500-XA, Ethernet address 00:00:f8:04:67:93
tlp0: 10baseT, 100baseTX, 100baseTX-FDX, 10baseT-FDX
ppb0 at pci0 dev 8 function 0: Digital Equipment DC21050 PCI-PCI Bridge (rev. 
0x02)
pci1 at ppb0 bus 1
tlp1 at pci1 dev 0 function 0: DECchip 21040 Ethernet, pass 2.4
tlp1: interrupting at kn20aa irq 16
tlp1: Ethernet address 00:00:f8:21:2c:2a
tlp1: 10baseT, 10baseT-FDX, 10base5, manual
isp0 at pci1 dev 1 function 0: QLogic 1020 Fast Wide SCSI HBA
isp0: interrupting at kn20aa irq 17
isp0: invalid NVRAM header
isp1 at pci1 dev 2 function 0: QLogic 1020 Fast Wide SCSI HBA
isp1: interrupting at kn20aa irq 18
isp1: invalid NVRAM header
pceb0 at pci0 dev 10 function 0: Intel 82375EB/SB PCI-EISA Bridge (rev. 0x05)
3Com 3CR990-TX-97 10/100 Ethernet with 3XP (ethernet network, revision 0x02) at 
pci0 dev 12 function 0 not configured
eisa0 at pceb0
isa0 at pceb0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker (CPU-intensive output)
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
attimer0: attached to pcppi0
scsibus0 at isp0: 16 targets, 8 luns per target
scsibus1 at isp1: 16 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
sd0 at scsibus0 target 1 lun 0: <SEAGATE, ST373405LC, 0002> disk fixed
sd0: 70007 MB, 29550 cyl, 8 head, 606 sec, 512 bytes/sect x 143374741 sectors
sd0: sync (100.00ns offset 12), 16-bit (20.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 2 lun 0: <SEAGATE, ST373405LC, 0003> disk fixed
sd1: 70007 MB, 29550 cyl, 8 head, 606 sec, 512 bytes/sect x 143374741 sectors
sd1: sync (100.00ns offset 12), 16-bit (20.000MB/s) transfers, tagged queueing
cd0 at scsibus0 target 5 lun 0: <DEC, RRD45   (C) DEC, 1645> cdrom removable
cd0: async, 8-bit transfers
Kernelized RAIDframe activated
root on sd0a dumps on sd0b
root file system type: ffs
Enter pathname of shell or RETURN for /bin/sh: 
We recommend creating a non-root account and using su(1) for root access.
No entry for terminal type "dumb";
using dumb terminal settings.
# mount -u /
# mount -r /usr
# ifconfig tlp0 172.19.144.6 netmask 0xfffff000 media 100baseTX
# route add default 172.19.144.1
add net default: gateway 172.19.144.1
# 
# /usr/sbin/named
<<< system hangs hard ... no DDB, requires power cycle to reboot >>>


Home | Main Index | Thread Index | Old Index