NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
trouble building
Hi,
I am trying to cross build and install netbsd(4.0) on freebsd (intel->arm).
I am doing what follows:
I. extracting sources to temporary directory,
II. Build kernel (no problem)
III. Build distribution (no problem)
IV. Install distribution (problems -- i don't have a root privileges).
Install shall be performed to a directory
mounted via nfsroot. Im using uboot. After installation, copying kernel into
a proper location,and starting
booting process, i Get
command line = nfsroot=10.0.0.201:/nfsroot/users/zbr/netbsd-rd6281 fs=nfs
ip=10.0.0.29 serverip=10.0.0.201 mask=255.255.255.0 gw=10.0.0.201
rootdev=mgi0 ethaddr=00:06:02:00:62:81 boardId=1 dram0_start=0
dram0_size=10000000 dram1_start=10000000 dram1_size=10000000 dram2_0
CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 256MB
SDRAM_CS1 ....base 10000000, size 256MB
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e8000000, size 128MB
PEX0_IO ....base f2000000, size 1MB
INTER_REGS ....base f1000000, size 1MB
NFLASH_CS ....base fa000000, size 2MB
SPI_CS ....base f4000000, size 8MB
BOOT_ROM_CS ....no such
DEV_BOOTCS ....no such
CRYPT_ENG ....base f0000000, size 2MB
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007
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 4.0 (KW_RD6281_LE) #0: Mon Apr 19 13:41:05 CEST 2010
zbr%gilgamesh.semihalf.com@localhost:
/home/zbr/netbsd/build/obj/sys/arch/evbarm/compile/KW_RD6281_LE
total memory = 512 MB
avail memory = 496 MB
mainbus0 (root)
cpu0 at mainbus0: ARM926E-S rev 1 (ARM9E-S core)
cpu0: DC enabled IC enabled WB enabled EABT
cpu0: 16KB/32B 4-way Instruction cache
cpu0: 16KB/32B 4-way write-back Data cache
cpu0: L2 cache enabled in write-through mode
mv_pcibus0 at mainbus0
mv_pcibus_attach()
PEX0 interface detected no Link.
mv_pcibus_attach:Error calling mvPciIfInit for pciIf 0
mv_pcibus0: configuring PCI interface 0
pci0 at mv_pcibus0 bus 0
pci0: i/o space, memory space enabled
mv_socbus0 at mainbus0 board name : RD-88F6281A
ehci0 at mv_socbus0 unit -1Attaching ehci0 port 0.
ehci0: EHCI version 1.0
usb0 at ehci0: USB revision 2.0
uhub0 at usb0
uhub0: MARVELL EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub0: 1 port with 1 removable, self powered
mgi0 at mv_socbus0 unit -1mgi_attach: ma=0xc049bd24, sc_dmat=0xc1a88bcc,
parent=0xc1a88800, self=0xc1a8b000, unit=0
calling , ifmedia_add
RX TCP LRO Initialized
mgi1 at mv_socbus0 unit -1mgi_attach: ma=0xc049bd24, sc_dmat=0xc1a88bcc,
parent=0xc1a88800, self=0xc1bc3000, unit=1
ukphy0 at mgi1 phy 11: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000ac2, model 0x0024, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
calling , ifmedia_set
RX TCP LRO Initialized
gtw0 at mv_socbus0 unit -1
Detected RD-88F6281A Board.
Interface If0:
Ports: 0 1 2 3 (mask = 0x000f)
CPU Port: 5.
MAC: 00:06:02:00:62:81
MTU = 1500.
Vlan IDs: 1.
Initializing switch... mv_gateway: Adding 00:06:02:00:62:81 On DB 1
ports-mask=0x20
mv_gateway: Adding ff:ff:ff:ff:ff:ff On DB 1 ports-mask=0x2f
done
GTW Interrupt registered successfully.
mvaud0 at mv_socbus0 unit -1audio0 at mvaud0: full duplex, independent
mvCLAudioCodecRegGet: Error while reading register!
mvCLAudioCodecInit: Error - Invalid Cirrus Logic chip/rev ID!
Error - Cannot initialize audio decoder.mvxor0 at mv_socbus0 unit -1
Using XOR engine for copy acceleration.
mv_mgitool() was matched.
mgitool0 at mv_socbus0 unit -1mvcesa0 at mv_socbus0 unit -1mvCesaInit:
sessions=640, queue=32, pSram=0xf0000000
mv_sata_integ0 at mv_socbus0 unit -1
found SATA device 6281 revision 3
mv_sata_integ0: interrupting at 21
channel 0 request q phy addr 1214000
channel 0 response q phy addr 1215000
channel 1 request q phy addr 1216000
channel 1 response q phy addr 1217000
scsibus0 at mv_sata_integ0 channel 0: 15 targets, 1 lun per target
scsibus1 at mv_sata_integ0 channel 1: 15 targets, 1 lun per target
mvrtc0 at mv_socbus0 unit -1: Marvell RTC
obio0 at mainbus0
com0 at obio0 addr 0xf1012000 irq 33: ns16550a, working fifo
com0: console
mvflash: mvflashmatch
nandflash0 at obio0 addr 0xfa000000-0xfa0fffff
mvflash: mvflashattach
mvflash: map 0xFA000000, size 0x200000
NAND01GW3B2B 128Mx8
clock: hz=100 stathz=0 profhz=0
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Hitachi, HDP725025GLA380, GM2O> disk fixed
SAL (ERROR) 0 0 0 :Scsi command completed. pScb 0xc1d7aabc, ScsiStatus 2
completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:1a 8 4 0 1c 0
SAL (ERROR) Sense Data:70 0 5 0 0 0 0 a 0 0 0 0 24 0 0 0 0 0
SAL (ERROR) 0 0 0 :Scsi command completed. pScb 0xc1d7aabc, ScsiStatus 2
completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:1a 0 4 0 24 0
SAL (ERROR) Sense Data:70 0 5 0 0 0 0 a 0 0 0 0 24 0 0 0 0 0
SAL (ERROR) 0 0 0 :Scsi command completed. pScb 0xc1d7aabc, ScsiStatus 2
completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:1a 0 5 0 24 0
SAL (ERROR) Sense Data:70 0 5 0 0 0 0 a 0 0 0 0 24 0 0 0 0 0
SAL (ERROR) 0 0 0 :Scsi command completed. pScb 0xc1d7aabc, ScsiStatus 2
completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:1a 0 5 0 2c 0
SAL (ERROR) Sense Data:70 0 5 0 0 0 0 a 0 0 0 0 24 0 0 0 0 0
sd0: fabricating a geometry
sd0: 232 GB, 238475 cyl, 64 head, 32 sec, 512 bytes/sect x 488397168 sectors
sd0: async, 8-bit transfers, tagged queueing
probe(mv_sata_integ0:0:1:0): generic HBA error
probe(mv_sata_integ0:0:2:0): generic HBA error
probe(mv_sata_integ0:0:3:0): generic HBA error
probe(mv_sata_integ0:0:4:0): generic HBA error
probe(mv_sata_integ0:0:5:0): generic HBA error
probe(mv_sata_integ0:0:6:0): generic HBA error
probe(mv_sata_integ0:0:7:0): generic HBA error
probe(mv_sata_integ0:0:8:0): generic HBA error
probe(mv_sata_integ0:0:9:0): generic HBA error
probe(mv_sata_integ0:0:10:0): generic HBA error
probe(mv_sata_integ0:0:11:0): generic HBA error
probe(mv_sata_integ0:0:12:0): generic HBA error
probe(mv_sata_integ0:0:13:0): generic HBA error
probe(mv_sata_integ0:0:14:0): generic HBA error
probe(mv_sata_integ0:1:0:0): generic HBA error
probe(mv_sata_integ0:1:1:0): generic HBA error
probe(mv_sata_integ0:1:2:0): generic HBA error
probe(mv_sata_integ0:1:3:0): generic HBA error
probe(mv_sata_integ0:1:4:0): generic HBA error
probe(mv_sata_integ0:1:5:0): generic HBA error
probe(mv_sata_integ0:1:6:0): generic HBA error
probe(mv_sata_integ0:1:7:0): generic HBA error
probe(mv_sata_integ0:1:8:0): generic HBA error
probe(mv_sata_integ0:1:9:0): generic HBA error
probe(mv_sata_integ0:1:10:0): generic HBA error
probe(mv_sata_integ0:1:11:0): generic HBA error
probe(mv_sata_integ0:1:12:0): generic HBA error
probe(mv_sata_integ0:1:13:0): generic HBA error
probe(mv_sata_integ0:1:14:0): generic HBA error
boot device: <unknown>
root on mgi0 dumps on sd0e
SAL (ERROR) 0 0 0 :Scsi command completed. pScb 0xc1d7aabc, ScsiStatus 2
completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:1a 8 4 0 1c 0
SAL (ERROR) Sense Data:70 0 5 0 0 0 0 a 0 0 0 0 24 0 0 0 0 0
SAL (ERROR) 0 0 0 :Scsi command completed. pScb 0xc1d7aabc, ScsiStatus 2
completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:1a 0 4 0 24 0
SAL (ERROR) Sense Data:70 0 5 0 0 0 0 a 0 0 0 0 24 0 0 0 0 0
SAL (ERROR) 0 0 0 :Scsi command completed. pScb 0xc1d7aabc, ScsiStatus 2
completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:1a 0 5 0 24 0
SAL (ERROR) Sense Data:70 0 5 0 0 0 0 a 0 0 0 0 24 0 0 0 0 0
SAL (ERROR) 0 0 0 :Scsi command completed. pScb 0xc1d7aabc, ScsiStatus 2
completionStatus MV_SCSI_COMPLETION_BAD_SCSI_COMMAND
SAL (ERROR) CDB:1a 0 5 0 2c 0
SAL (ERROR) Sense Data:70 0 5 0 0 0 0 a 0 0 0 0 24 0 0 0 0 0
sd0: fabricating a geometry
nfs_boot: trying static
nfs_boot: client_addr=10.0.0.29
nfs_boot: gateway=10.0.0.201
nfs_boot: netmask=255.255.255.0
nfs_boot: server=10.0.0.201
nfs_boot: root=10.0.0.201:/nfsroot/users/zbr/netbsd-rd6281
mgi_init: ifp=0xc1a8b03c, sc=0xc1a8b000
root on 10.0.0.201:/nfsroot/users/zbr/netbsd-rd6281
root file system type: nfs
warning: no /dev/console
init: Creating mfs /dev (437 blocks, 1280 inodes)
sh: Can't open /etc/MAKEDEV
init: Unable to run MAKEDEV: Invalid argument
Apr 19 19:08:46 init: /etc/pwd.db: No such file or directory
Enter pathname of shell or RETURN for /bin/sh
I can't really find anything explaining this behaviour. Is there anyone able
to help me ?
I also have some basic questions, like :
What's the actual difference between building distribution and release ?
Thanks in advance for help.
Putryc
Home |
Main Index |
Thread Index |
Old Index