NetBSD Problem Report #45229

From www@NetBSD.org  Tue Aug  9 18:13:58 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 26D5C63CCD0
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  9 Aug 2011 18:13:58 +0000 (UTC)
Message-Id: <20110809181356.EEC6063CA5F@www.NetBSD.org>
Date: Tue,  9 Aug 2011 18:13:56 +0000 (UTC)
From: freddy.dsx@free.fr
Reply-To: freddy.dsx@free.fr
To: gnats-bugs@NetBSD.org
Subject: kernel sheevaplug_install don't boot on guruplug server plus
X-Send-Pr-Version: www-1.0

>Number:         45229
>Category:       port-evbarm
>Synopsis:       kernel sheevaplug_install don't boot on guruplug server plus
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 09 18:15:00 +0000 2011
>Closed-Date:    
>Last-Modified:  Thu May 25 04:08:22 +0000 2017
>Originator:     Freddy DISSAUX
>Release:        current
>Organization:
bsdsx.fr
>Environment:
NetBSD 5.99.55 (SHEEVAPLUG) #1: Tue Aug  9 20:08:02 CEST 2011
>Description:
Hi,

I have a problem with the recent SHEEVAPLUG_INSTALL kernel config.

tools build fine:
===> Summary of results:
         build.sh command:    ./build.sh -u -m evbarm tools
         build.sh started:    Tue Aug  9 19:59:58 CEST 2011
         NetBSD version:      5.99.55
         MACHINE:             evbarm
         MACHINE_ARCH:        arm
         Build platform:      FreeBSD 8.2-RELEASE i386
         HOST_SH:             /bin/sh
         TOOLDIR path:        /usr/home/dsx/src/netbsd/src/obj/tooldir.FreeBSD-8.2-RELEASE-i386
         DESTDIR path:        /usr/home/dsx/src/netbsd/src/obj/destdir.evbarm
         RELEASEDIR path:     /usr/home/dsx/src/netbsd/src/obj/releasedir
         Updated makewrapper: /usr/home/dsx/src/netbsd/src/obj/tooldir.FreeBSD-8.2-RELEASE-i386/bin/nbmake-evbarm
         Tools built to /usr/home/dsx/src/netbsd/src/obj/tooldir.FreeBSD-8.2-RELEASE-i386
         build.sh ended:      Tue Aug  9 20:00:55 CEST 2011

SHEEVAPLUG build and boot fine:
===> Summary of results:
         build.sh command:    ./build.sh -u -m evbarm kernel=SHEEVAPLUG
         build.sh started:    Tue Aug  9 20:02:24 CEST 2011
         NetBSD version:      5.99.55
         MACHINE:             evbarm
         MACHINE_ARCH:        arm
         Build platform:      FreeBSD 8.2-RELEASE i386
         HOST_SH:             /bin/sh
         TOOLDIR path:        /usr/home/dsx/src/netbsd/src/obj/tooldir.FreeBSD-8.2-RELEASE-i386
         DESTDIR path:        /usr/home/dsx/src/netbsd/src/obj/destdir.evbarm
         RELEASEDIR path:     /usr/home/dsx/src/netbsd/src/obj/releasedir
         Updated makewrapper: /usr/home/dsx/src/netbsd/src/obj/tooldir.FreeBSD-8.2-RELEASE-i386/bin/nbmake-evbarm
         Building kernel without building new tools
         Building kernel:     SHEEVAPLUG
         Build directory:     /usr/home/dsx/src/netbsd/src/sys/arch/evbarm/compile/obj/SHEEVAPLUG
         Kernels built from SHEEVAPLUG:
          /usr/home/dsx/src/netbsd/src/sys/arch/evbarm/compile/obj/SHEEVAPLUG/netbsd
         build.sh ended:      Tue Aug  9 20:08:10 CEST 2011


U-Boot 2010.03-01161-gd91b0a9 (Apr 22 2010 - 03:24:41)
Marvell-GuruPlug

SoC:   Kirkwood 88F6281_A0
DRAM:  512 MB
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1121 Initialized on egiga0
88E1121 Initialized on egiga1
Hit any key to stop autoboot:  0
Marvell-GuruPlug
SoC:   Kirkwood 88F6281_A0
DRAM:  512 MB
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1121 Initialized on egiga0
88E1121 Initialized on egiga1
Hit any key to stop autoboot:  0
Marvell>> tftpboot 2000000 netbsd.gz.ub; bootm 2000000
Using egiga0 device
TFTP from server 192.168.1.1; our IP address is 192.168.1.2
Filename 'netbsd.gz.ub'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         ###############
done
Bytes transferred = 2114345 (204329 hex)
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   NetBSD/sheevaplug 5.99.55
   Image Type:   ARM NetBSD Kernel Image (gzip compressed)
   Data Size:    2114281 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
## Transferring control to NetBSD stage-2 loader (at address 00008000) ...

NetBSD/evbarm (sheevaplug) booting ...
Loaded initial symtab at 0xc0398f44, strtab at 0xc03cf5e0, # entries 13842
pmap_postinit: Allocated 35 static L1 descriptor tables
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011
    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.99.55 (SHEEVAPLUG) #1: Tue Aug  9 20:08:02 CEST 2011
        dsx@vaio.bsdsx.fr:/usr/home/dsx/src/netbsd/src/sys/arch/evbarm/compile/obj/SHEEVAPLUG
total memory = 512 MB
avail memory = 497 MB
[snip ]

Full boot: http://arm.bsdsx.fr/guruplug/netbsd/sheevaplug.txt

SHEEVAPLUG_INSTALL build fine but don't boot:
===> Summary of results:
         build.sh command:    ./build.sh -u -m evbarm kernel=SHEEVAPLUG_INSTALL
         build.sh started:    Tue Aug  9 20:11:26 CEST 2011
         NetBSD version:      5.99.55
         MACHINE:             evbarm
         MACHINE_ARCH:        arm
         Build platform:      FreeBSD 8.2-RELEASE i386
         HOST_SH:             /bin/sh
         TOOLDIR path:        /usr/home/dsx/src/netbsd/src/obj/tooldir.FreeBSD-8.2-RELEASE-i386
         DESTDIR path:        /usr/home/dsx/src/netbsd/src/obj/destdir.evbarm
         RELEASEDIR path:     /usr/home/dsx/src/netbsd/src/obj/releasedir
         Updated makewrapper: /usr/home/dsx/src/netbsd/src/obj/tooldir.FreeBSD-8.2-RELEASE-i386/bin/nbmake-evbarm
         Building kernel without building new tools
         Building kernel:     SHEEVAPLUG_INSTALL
         Build directory:     /usr/home/dsx/src/netbsd/src/sys/arch/evbarm/compile/obj/SHEEVAPLUG_INSTALL
         Kernels built from SHEEVAPLUG_INSTALL:
          /usr/home/dsx/src/netbsd/src/sys/arch/evbarm/compile/obj/SHEEVAPLUG_INSTALL/netbsd
         build.sh ended:      Tue Aug  9 20:18:37 CEST 2011
Marvell>> tftpboot 2000000 netbsd.gz.ub; bootm 2000000
Using egiga0 device
TFTP from server 192.168.1.1; our IP address is 192.168.1.2
Filename 'netbsd.gz.ub'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         ###############
done
Bytes transferred = 2121760 (206020 hex)
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   NetBSD/sheevaplug 5.99.55
   Image Type:   ARM NetBSD Kernel Image (gzip compressed)
   Data Size:    2121696 Bytes =  2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ...

Try non gzipped kernel:
Marvell>> tftpboot 2000000 netbsd.ub; bootm 2000000
Using egiga0 device
TFTP from server 192.168.1.1; our IP address is 192.168.1.2
Filename 'netbsd.ub'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
done
Bytes transferred = 7630016 (746cc0 hex)
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   NetBSD/sheevaplug 5.99.55
   Image Type:   ARM NetBSD Kernel Image (uncompressed)
   Data Size:    7629952 Bytes =  7.3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ...

>How-To-Repeat:
Build SHEEVAPLUG_INSTALL and boot kernel on guruplug server plug.
>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: msaitoh@NetBSD.org
State-Changed-When: Tue, 29 Jan 2013 03:06:11 +0000
State-Changed-Why:
I suspect that this problem was fixed. A lot of fixes for Sheeva SoC
were commited and pulled up to netbsd-6 branch.
Could you test with netbsd-6?


From: Freddy DISSAUX <freddy.dsx@free.fr>
To: gnats-bugs@gnats.netbsd.org
Cc: 
Subject: Re: port-evbarm/45229
Date: Mon, 11 Feb 2013 22:30:38 +0100

 Hi,

 I try NetBSD 6.0.1 and current (6.99.16):

 - 6.0.1 SHEEVAPLUG_INSTALL (freeze at line 'Loading Kernel Image ...')
 - 6.0.1 SHEEVAPLUG (boot ok)
 - current SHEEVAPLUG_INSTALL (freeze at line 'Loading Kernel Image ...')
 - current SHEEVAPLUG (boot ok)

 I think 'freeze' is not the real problem. May be 'console' is not
 correctly defined ?


 Script started on Fri Feb  8 18:33:51 2013
 sudo cu -l /dev/ttyU1 -s 115200
 Connected


 U-Boot 2010.03-01161-gd91b0a9 (Apr 22 2010 - 03:24:41)
 Marvell-GuruPlug

 SoC:   Kirkwood 88F6281_A0
 DRAM:  512 MB
 NAND:  512 MiB
 In:    serial
 Out:   serial
 Err:   serial
 Net:   egiga0, egiga1
 88E1121 Initialized on egiga0
 88E1121 Initialized on egiga1
 Hit any key to stop autoboot:  3  2  1  0 
 Using egiga0 device
 TFTP from server 192.168.251.17; our IP address is 192.168.251.250
 Filename 'netbsd.ub'.
 Load address: 0x2000000
 Loading: *#################################################################
 	 #################################################################
 	 #################################################################
 	 #################################################################
 	 #################################################################
 	 #################################################################
 	 #################################################################
 	 #################################################################
 	 ############
 done
 Bytes transferred = 7797952 (76fcc0 hex)
 ## Booting kernel from Legacy Image at 02000000 ...
    Image Name:   NetBSD/sheevaplug 6.0.1
    Image Type:   ARM NetBSD Kernel Image (uncompressed)
    Data Size:    7797888 Bytes =  7.4 MB
    Load Address: 00008000
    Entry Point:  00008000
    Verifying Checksum ... OK
    Loading Kernel Image ... 

 U-Boot 2010.03-01161-gd91b0a9 (Apr 22 2010 - 03:24:41)
 Marvell-GuruPlug

 SoC:   Kirkwood 88F6281_A0
 DRAM:  512 MB
 NAND:  512 MiB
 In:    serial
 Out:   serial
 Err:   serial
 Net:   egiga0, egiga1
 88E1121 Initialized on egiga0
 88E1121 Initialized on egiga1
 Hit any key to stop autoboot:  3  2  1  0 
 Using egiga0 device
 TFTP from server 192.168.251.17; our IP address is 192.168.251.250
 Filename 'netbsd.ub'.
 Load address: 0x2000000
 Loading: *#################################################################
 	 #################################################################
 	 #################################################################
 	 #################################################################
 	 #########################################################
 done
 Bytes transferred = 4649088 (46f080 hex)
 ## Booting kernel from Legacy Image at 02000000 ...
    Image Name:   NetBSD/sheevaplug 6.0.1
    Image Type:   ARM NetBSD Kernel Image (uncompressed)
    Data Size:    4649024 Bytes =  4.4 MB
    Load Address: 00008000
    Entry Point:  00008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
 OK
 ## Transferring control to NetBSD stage-2 loader (at address 00008000) ...

 NetBSD/evbarm (sheevaplug) booting ...
 Loaded initial symtab at 0xc03a90ec, strtab at 0xc03e03e8, # entries 14040
 pmap_postinit: Allocated 35 static L1 descriptor tables
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008, 2009, 2010, 2011, 2012
     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 6.0.1 (SHEEVAPLUG) #0: Thu Feb  7 20:33:07 CET 2013
 	root@xennet.bsdsx.fr:/usr/obj/sys/arch/evbarm/compile/SHEEVAPLUG
 total memory = 512 MB
 avail memory = 497 MB
 cprng kernel: WARNING insufficient entropy at creation.
 mainbus0 (root)
 cpu0 at mainbus0: Sheeva 88SV131 rev 1 (ARM9E-S core)
 cpu0: DC enabled IC enabled WB enabled EABT branch prediction enabled
 cpu0: 16KB/32B 4-way Instruction cache
 cpu0: 16KB/32B 4-way write-back-locking-C Data cache
 mvsoc0 at mainbus0: Marvell 88F6281 Rev. A1  Kirkwood
 mvsoc0: CPU Clock 1200.000 MHz  SysClock 400.000 MHz  TClock 200.000 MHz
 mvsoctmr0 at mvsoc0 unit 0 offset 0x20300-0x203ff: Marvell SoC Timer
 mvsocgpp at mvsoc0 unit 0 not configured
 mvsocrtc0 at mvsoc0 unit 0 offset 0x10300-0x10317: Marvell SoC Real Time Clock
 com0 at mvsoc0 unit 0 offset 0x12000-0x1201f irq 33: ns16550a, working fifo
 com0: console
 com1 at mvsoc0 unit 1 offset 0x12100-0x1211f irq 34: ns16550a, working fifo
 ehci0 at mvsoc0 unit 0 offset 0x50000-0x51fff irq 19: Marvell USB 2.0 Interface
 usb0 at ehci0: USB revision 2.0
 gttwsi0 at mvsoc0 unit 0 offset 0x11000-0x11fff irq 29: Marvell TWSI controller
 iic0 at gttwsi0: I2C bus
 mvcesa at mvsoc0 unit 0 not configured
 mvgbec0 at mvsoc0 unit 0 offset 0x70000-0x73fff: Marvell Gigabit Ethernet Controller
 mvgbe0 at mvgbec0 port 0 irq 11
 mvgbe0: Ethernet address 00:50:43:01:85:d4
 OUI 0x000ac2 model 0x000b rev 3 at mvgbe0 phy 0 not configured
 mvgbe0: no PHY found!
 mvgbec1 at mvsoc0 unit 1 offset 0x74000-0x77fff: Marvell Gigabit Ethernet Controller
 mvgbe1 at mvgbec1 port 0 irq 15
 mvgbe1: Ethernet address 00:50:43:01:85:d5
 OUI 0x000ac2 model 0x000b rev 3 at mvgbe1 phy 1 not configured
 mvgbe1: no PHY found!
 mvpex at mvsoc0 unit 0 not configured
 mvsata at mvsoc0 unit 0 not configured
 mvsdio0 at mvsoc0 unit 0 offset 0x90000-0x9ffff irq 28: Marvell Secure Digital Input/Output Interface
 sdmmc0 at mvsdio0
 uhub0 at usb0: Marvell EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 sdmmc0: bad CIS ptr 0
 sdmmc0: couldn't read CIS
 sdmmc0: i/o init failed
 sdmmc0: bad CIS ptr 0
 sdmmc0: couldn't read CIS
 sdmmc0: i/o init failed
 "Marvell, 802.11 SDIO ID: 10, " (manufacturer 0x2df, product 0x9103) at sdmmc0 function 1 not configured
 "Marvell, 802.11 SDIO ID: 10, " (manufacturer 0x2df, product 0x9103) at sdmmc0 function 2 not configured
 uhub1 at uhub0 port 1: Genesys Logic USB2.0 Hub, class 9/0, rev 2.00/77.60, addr 2
 uhub1: single transaction translator
 umass0 at uhub1 port 1 configuration 1 interface 0
 umass0: Genesys Logic USB Storage, rev 2.00/99.09, addr 3
 scsibus0 at umass0: 2 targets, 2 luns per target
 sd0 at scsibus0 target 0 lun 0: <Generic, STORAGE DEVICE, 9909> disk removable
 sd0: drive offline
 sd1 at scsibus0 target 0 lun 1: <Generic, STORAGE DEVICE, 9909> disk removable
 sd1: drive offline
 cprng sysctl: WARNING insufficient entropy at creation.
 boot device: <unknown>
 root device: 
 Script done on Fri Feb  8 18:36:33 2013


 Script started on Sat Feb  9 10:59:02 2013

 sudo cu -l /dev/ttyU1 -s 115200
 Connected

 U-Boot 2010.03-01161-gd91b0a9 (Apr 22 2010 - 03:24:41)
 Marvell-GuruPlug

 SoC:   Kirkwood 88F6281_A0
 DRAM:  512 MB
 NAND:  512 MiB
 In:    serial
 Out:   serial
 Err:   serial
 Net:   egiga0, egiga1
 88E1121 Initialized on egiga0
 88E1121 Initialized on egiga1
 Hit any key to stop autoboot:  3  2  1  0 
 Using egiga0 device
 TFTP from server 192.168.251.17; our IP address is 192.168.251.250
 Filename 'netbsd.ub'.
 Load address: 0x2000000
 Loading: *#################################################################
 	 #################################################################
 	 #################################################################
 	 #################################################################
 	 #################################################################
 	 #################################################################
 	 #################################################################
 	 #################################################################
 	 #########################
 done
 Bytes transferred = 7994688 (79fd40 hex)
 ## Booting kernel from Legacy Image at 02000000 ...
    Image Name:   NetBSD/sheevaplug 6.99.16
    Image Type:   ARM NetBSD Kernel Image (uncompressed)
    Data Size:    7994624 Bytes =  7.6 MB
    Load Address: 00008000
    Entry Point:  00008000
    Verifying Checksum ... OK
    Loading Kernel Image ... 

 U-Boot 2010.03-01161-gd91b0a9 (Apr 22 2010 - 03:24:41)
 Marvell-GuruPlug

 SoC:   Kirkwood 88F6281_A0
 DRAM:  512 MB
 NAND:  512 MiB
 In:    serial
 Out:   serial
 Err:   serial
 Net:   egiga0, egiga1
 88E1121 Initialized on egiga0
 88E1121 Initialized on egiga1
 Hit any key to stop autoboot:  3  2  1  0 
 Using egiga0 device
 TFTP from server 192.168.251.17; our IP address is 192.168.251.250
 Filename 'netbsd.ub'.
 Load address: 0x2000000
 Loading: *#################################################################
 	 #################################################################
 	 #################################################################
 	 #################################################################
 	 #################################################################
 	 ######
 done
 Bytes transferred = 4845760 (49f0c0 hex)
 ## Booting kernel from Legacy Image at 02000000 ...
    Image Name:   NetBSD/sheevaplug 6.99.16
    Image Type:   ARM NetBSD Kernel Image (uncompressed)
    Data Size:    4845696 Bytes =  4.6 MB
    Load Address: 00008000
    Entry Point:  00008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
 OK
 ## Transferring control to NetBSD stage-2 loader (at address 00008000) ...

 NetBSD/evbarm (sheevaplug) booting ...
 [ Kernel symbol table missing! ]
 Loaded initial symtab at 0xc03d9714, strtab at 0xc0413860, # entries 14786
 pmap_postinit: Allocated 35 static L1 descriptor tables
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
     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 6.99.16 (SHEEVAPLUG) #0: Sat Feb  9 10:08:29 CET 2013
 	root@xennet.bsdsx.fr:/usr/obj/sys/arch/evbarm/compile/SHEEVAPLUG
 total memory = 512 MB
 avail memory = 497 MB
 cprng kernel: WARNING insufficient entropy at creation.
 mainbus0 (root)
 cpu0 at mainbus0 core 0: Sheeva 88SV131 rev 1 (ARM9E-S V5TE core)
 cpu0: DC enabled IC enabled WB enabled EABT branch prediction enabled
 cpu0: 16KB/32B 4-way L1 Instruction cache
 cpu0: 16KB/32B 4-way write-back-locking-C L1 Data cache
 mvsoc0 at mainbus0: Marvell 88F6281 Rev. A1  Kirkwood
 mvsoc0: CPU Clock 1200.000 MHz  SysClock 400.000 MHz  TClock 200.000 MHz
 mvsoctmr0 at mvsoc0 unit 0 offset 0x20300-0x203ff: Marvell SoC Timer
 mvsocgpp0 at mvsoc0 unit 0 offset 0x10100-0x101ff irq 35: Marvell SoC General Purpose I/O Port Interface
 mvsocgpp0: 50 gpio pins
 mvsocgpp0: interrupts 96..103, intr 35
 mvsocgpp0: interrupts 104..111, intr 36
 mvsocgpp0: interrupts 112..119, intr 37
 mvsocgpp0: interrupts 120..127, intr 38
 mvsocgpp0: interrupts 128..135, intr 39
 mvsocgpp0: interrupts 136..143, intr 40
 mvsocgpp0: interrupts 144..151, intr 41
 mvsocgpp0:   Data Out:                 	0x00000000
 mvsocgpp0:   Data Out Enable Control:  	0xffffffff
 mvsocgpp0:   Data Blink Enable:        	0x00000000
 mvsocgpp0:   Data In Polarity:         	0x00000000
 mvsocgpp0:   Data In:                  	0x00000080
 mvsocgpp0:   Interrupt Cause:          	0x00000000
 mvsocgpp0:   Interrupt Mask:           	0x00000000
 mvsocgpp0:   Interrupt Level Mask:     	0x00000000
 mvsocgpp0:   High Data Out:            	0x000f0000
 mvsocgpp0:   High Data Out Enable Ctrl:	0xffffffff
 mvsocgpp0:   High Blink Enable:        	0x00000000
 mvsocgpp0:   High Data In Polarity:    	0x00000000
 mvsocgpp0:   High Data In:             	0x0003f000
 mvsocgpp0:   High Interrupt Cause:     	0x00000000
 mvsocgpp0:   High Interrupt Mask:      	0x00000000
 mvsocgpp0:   High Interrupt Level Mask:	0x00000000
 gpio0 at mvsocgpp0: 50 pins
 mvsocrtc0 at mvsoc0 unit 0 offset 0x10300-0x10317: Marvell SoC Real Time Clock
 com0 at mvsoc0 unit 0 offset 0x12000-0x1201f irq 33: ns16550a, working fifo
 com0: console
 com1 at mvsoc0 unit 1 offset 0x12100-0x1211f irq 34: ns16550a, working fifo
 ehci0 at mvsoc0 unit 0 offset 0x50000-0x51fff irq 19: Marvell USB 2.0 Interface
 usb0 at ehci0: USB revision 2.0
 gtidmac0 at mvsoc0 unit 0 offset 0x60000-0x60fff: Marvell IDMA Controller/XOR Engine
 gtidmac0: XOR Engine 4 channels, intr 5...8
 gttwsi0 at mvsoc0 unit 0 offset 0x11000-0x110ff irq 29: Marvell TWSI controller
 iic0 at gttwsi0: I2C bus
 mvcesa0 at mvsoc0 unit 0 offset 0x30000-0x3ffff irq 22: Marvell Cryptographic Engines and Security Accelerator
 mvgbec0 at mvsoc0 unit 0 offset 0x70000-0x73fff: Marvell Gigabit Ethernet Controller
 mvgbe0 at mvgbec0 port 0 irq 11
 mvgbe0: Ethernet address 00:50:43:01:85:d4
 ukphy0 at mvgbe0 phy 0: Marvell 88E1149 Gigabit PHY (OUI 0x000ac2, model 0x000b), rev. 3
 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 mvgbec1 at mvsoc0 unit 1 offset 0x74000-0x77fff: Marvell Gigabit Ethernet Controller
 mvgbe1 at mvgbec1 port 0 irq 15
 mvgbe1: Ethernet address 00:50:43:01:85:d5
 ukphy1 at mvgbe1 phy 1: Marvell 88E1149 Gigabit PHY (OUI 0x000ac2, model 0x000b), rev. 3
 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 mvpex0 at mvsoc0 unit 0 offset 0x40000-0x41fff irq 9: Marvell PCI Express Interface
 pci0 at mvpex0
 vendor 0x11ab product 0x6281 (miscellaneous memory, revision 0x03) at pci0 dev 0 function 0 not configured
 mvsata0 at mvsoc0 unit 0 offset 0x80000-0x87fff irq 21: Marvell Serial-ATA Host Controller (SATAHC)
 mvsata0: GenIIe, 1hc, 2port/hc
 atabus0 at mvsata0 channel 0
 atabus1 at mvsata0 channel 1
 mvsdio0 at mvsoc0 unit 0 offset 0x90000-0x9ffff irq 28: Marvell Secure Digital Input/Output Interface
 sdmmc0 at mvsdio0
 uhub0 at usb0: Marvell EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 sdmmc0: bad CIS ptr 0
 sdmmc0: couldn't read CIS
 sdmmc0: i/o init failed
 sdmmc0: bad CIS ptr 0
 sdmmc0: couldn't read CIS
 sdmmc0: i/o init failed
 "Marvell, 802.11 SDIO ID: 10, " (manufacturer 0x2df, product 0x9103) at sdmmc0 function 1 not configured
 "Marvell, 802.11 SDIO ID: 10, " (manufacturer 0x2df, product 0x9103) at sdmmc0 function 2 not configured
 uhub1 at uhub0 port 1: Genesys Logic USB2.0 Hub, class 9/0, rev 2.00/77.60, addr 2
 uhub1: single transaction translator
 umass0 at uhub1 port 1 configuration 1 interface 0
 umass0: Genesys Logic USB Storage, rev 2.00/99.09, addr 3
 scsibus0 at umass0: 2 targets, 2 luns per target
 sd0 at scsibus0 target 0 lun 0: <Generic, STORAGE DEVICE, 9909> disk removable
 sd0: drive offline
 sd0: unable to open device, error = 19
 sd1 at scsibus0 target 0 lun 1: <Generic, STORAGE DEVICE, 9909> disk removable
 sd1: drive offline
 sd1: unable to open device, error = 19
 cprng sysctl: WARNING insufficient entropy at creation.
 boot device: <unknown>
 root device: 
 use one of: mvgbe0 mvgbe1 sd0[a-h] sd1[a-h] ddb halt reboot
 root device: reboot
 syncing disks... done
 unmounting file systems...
 unmounting done
 rebooting...


 Script done on Sat Feb  9 11:01:03 2013

From: Freddy DISSAUX <freddy.dsx@free.fr>
To: gnats-bugs@gnats.netbsd.org
Cc: 
Subject: Re: port-evbarm/45229
Date: Tue, 19 Mar 2013 21:11:32 +0100

 Hello,

 I have found the origin of my problem: sometimes size does matter.

 ## Booting kernel from Legacy Image at 02000000 ...
    Image Name:   NetBSD/sheevaplug 6.99.17
    Image Type:   ARM NetBSD Kernel Image (uncompressed)
    Data Size:    6124544 Bytes =  5.8 MB
    Load Address: 00008000
    Entry Point:  00008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
 OK
 [ freeze ]

 Fail


 ## Booting kernel from Legacy Image at 02000000 ...
    Image Name:   NetBSD/sheevaplug 6.99.17
    Image Type:   ARM NetBSD Kernel Image (uncompressed)
    Data Size:    6124032 Bytes =  5.8 MB
    Load Address: 00008000
    Entry Point:  00008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
 OK
 ## Transferring control to NetBSD stage-2 loader (at address 00008000)
 ...
 [ snip boot ]

 Kernel size must be less or equals than 6124032 bytes
 (more or less 512 bytes).


 I think this ticket can be closed.


 Regards.

From: Freddy DISSAUX <freddy.dsx@free.fr>
To: gnats-bugs@gnats.netbsd.org
Cc: 
Subject: Re: port-evbarm/45229
Date: Fri, 5 Apr 2013 19:13:09 +0200

 Hi,

 Kernel size must be less or equals than 6124032 bytes
  (more or less 512 bytes).

 I think this ticket can be closed.


 Regards,

From: David Laight <david@l8s.co.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-evbarm/45229
Date: Fri, 5 Apr 2013 21:37:39 +0100

 On Fri, Apr 05, 2013 at 06:30:13PM +0000, Freddy DISSAUX wrote:
 > The following reply was made to PR port-evbarm/45229; it has been noted by GNATS.
 > 
 >  Kernel size must be less or equals than 6124032 bytes
 >   (more or less 512 bytes).

 Maybe the kernel build should verfy the size?

 	David

 -- 
 David Laight: david@l8s.co.uk

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 25 May 2017 04:08:22 +0000
State-Changed-Why:
conclusion in 2013 was that the kernel build should crosscheck against
the maximum kernel size, which AFAICT has not been done.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.