Subject: Re: trouble booting NET4501; anyone else?
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: current-users
Date: 06/28/2006 09:04:23
--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

dyoung@pobox.com --> current-users (2006-06-27 16:03:49 -0500):
> I am using the attached kernel configuration, derived from
> sys/arch/i386/conf/NET4501, to boot a Soekris net4526.  The system reboots
> after wdc0 attaches, as you can see below.  It didn't used to do that!
> I am using kernel sources from yesterday, and GCC4.
> 
> Does anyone else see this?

Yes, with a net4511. Using the attached kernel config and building on
a -current i386 system built using sources of 2006-06-25 (gcc 4.1.2),
I'm seeing the same using HEAD sources of today:

NetBSD MBR boot

NetBSD/i386 ffsv1 Primary Bootstrap


>> NetBSD/i386 BIOS Boot, Revision 3.3
>> (build@moray.salmi.ch, Fri Jun 16 11:52:52 CEST 2006)
>> Memory: 639/64512 k
Press return to boot now, any other key for boot menu
booting hd0a:netbsd - starting in 0
1599228+10544928+84728 [137920+126277]=0xbeb474
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    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 3.99.21 (CLAM) #0: Wed Jun 28 08:38:44 CEST 2006
	build@moray.salmi.ch:/build/nbsd/i386/sys/arch/i386/compile/CLAM
total memory = 65148 KB
avail memory = 51744 KB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1189200 Hz quality 100
timecounter: selected timecounter "i8254" frequency 1189200 Hz quality 100
BIOS32 rev. 0 found at 0xf7840
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 (486-class), id 0x494
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
elansc0 at pci0 dev 0 function 0: AMD Elan SC520 System Controller
elansc0: product 0 stepping 1.1, CPU clock 100MHz
gpio0 at elansc0: 32 pins
cbb0 at pci0 dev 9 function 0: vendor 0x104c product 0xac50 (rev. 0x02)
hifn0 at pci0 dev 16 function 0: Hifn 7955, rev. 0
hifn0: 3DES/AES, 32KB dram, interrupting at irq 11
sip0 at pci0 dev 18 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
sip0: interrupting at irq 5
sip0: Ethernet address 00:00:24:c2:0a:94
nsphyter0 at sip0 phy 0: DP83815 10/100 media interface, rev. 1
nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sip1 at pci0 dev 19 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
sip1: interrupting at irq 9
sip1: Ethernet address 00:00:24:c2:0a:95
nsphyter1 at sip1 phy 0: DP83815 10/100 media interface, rev. 1
nsphyter1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cbb0: interrupting at irq 10
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1
pcmcia0 at cardslot0
isa0 at mainbus0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atabus0 at wdc0 channel 0


POST: 0123456789bcefghipajklnopq,,,tvwxy
comBIOS ver. 1.28  20050527  Copyright (C) 2000-2005 Soekris Engineering.

net45xx

                                         CPU 80486 100 Mhz 
					 0064 Mbyte Memory

Pri Mas  SanDisk SDCFB-128               LBA 980-8-32  125 Mbyte

Slot   Vend Dev  ClassRev Cmd  Stat CL LT HT  Base1    Base2   Int 
-------------------------------------------------------------------
0:00:0 1022 3000 06000000 0006 2280 00 00 00 00000000 00000000 
0:09:0 104C AC50 06070002 0107 0210 10 3F 02 A0000000 020000A0 10
0:16:0 13A3 0020 0B400000 0116 0280 10 3C 00 A0001000 A0002000 11
0:18:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0010000 05
0:19:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0011000 09

   2 Seconds to automatic boot.   Press Ctrl-P for entering Monitor.

comBIOS Monitor.   Press ? for help.

> 


> Have a solution?

No.


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~

--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=CLAM

# CLAM

# for use with
# $NetBSD: NET4501,v 1.48 2006/04/07 18:55:22 riz Exp $

include "arch/i386/conf/NET4501"

no options INSECURE
no options LKM
no options USERCONF

options DDB_FROMCONSOLE=0

no options COMPAT_NOMID
no options COMPAT_09
no options COMPAT_10
no options COMPAT_11
no options COMPAT_12
no options COMPAT_13
no options COMPAT_14
no options COMPAT_15
no options COMPAT_16
no options COMPAT_20
no options COMPAT_30
no options COMPAT_43
no options COMPAT_386BSD_MBRPART

no file-system NFS

no options SOFTDEP
no options INET6
options FAST_IPSEC

no options MROUTING
no options PIM

options IPFILTER_LOG

no options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM

options MEMORY_DISK_HOOKS
options MEMORY_DISK_IS_ROOT
options MEMORY_DISK_SERVER=0
options MEMORY_DISK_ROOT_SIZE=20480
options MEMORY_RBFLAGS=0

options DUMP_ON_PANIC=0

no config netbsd
config netbsd root on ? type ? dumps on none

no atw* at cardbus?
no wi* at pci?

hifn* at pci? dev ? function ?

no pseudo-device gif
no pseudo-device faith
no pseudo-device stf
no pseudo-device vlan
no pseudo-device bridge

pseudo-device md 1
pseudo-device crypto
#pseudo-device swcrypto
pseudo-device ksyms

--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff

Index: sys/arch/i386/conf/NET4501
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/conf/NET4501,v
retrieving revision 1.48
diff -u -p -r1.48 NET4501
--- sys/arch/i386/conf/NET4501	7 Apr 2006 18:55:22 -0000	1.48
+++ sys/arch/i386/conf/NET4501	28 Jun 2006 06:52:30 -0000
@@ -23,7 +23,7 @@ options 	I486_CPU
 # AMD Elan SC520's timer runs at a different frequency
 options 	TIMER_FREQ=1189200
 
-makeoptions	COPTS="-Os -mcpu=i486"
+makeoptions	COPTS="-Os -mtune=i486"
 
 # CPU-related options.
 #options 	MATH_EMULATE	# floating point emulation

--IS0zKkzwUGydFO0o--