Subject: -current stops booting with 'sbrk: grow 4096 failed, error = 12'
To: None <port-sparc@netbsd.org>
From: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
List: port-sparc
Date: 11/02/2003 23:52:11
Hi!

Some minutes ago I cross compiled a complete new sparc kernel and
userland for my ipx. Every thing went fine so far...

But booting stops now with:

  NetBSD 1.6ZE (SUN) #0: Sun Nov  2 23:06:35 MET 2003
  	  kilbi@qie:/sys/arch/sparc/compile/SUN
  total memory = 65436 KB
  avail memory = 60316 KB
  using 128 buffers containing 512 KB of memory
  bootpath: /sbus@1,f8000000/esp@0,800000/sd@3,0
  mainbus0 (root): SUNW,Sun 4/50: hostid xxxxxxxx
  [...]
  scsibus0: waiting 2 seconds for devices to settle...
  sd0 at scsibus0 target 3 lun 0: <IBM, DNES-318350W, SAH0> disk fixed
  sd0: 17501 MB, 11474 cyl, 10 head, 312 sec, 512 bytes/sect x 35843670
  sectors
  sd0: sync (200.00ns offset 15), 8-bit (5.000MB/s) transfers, tagged
  queueing
  root on sd0a dumps on sd0b
  root file system type: ffs
  sbrk: grow 4096 failed, error = 12
  sbrk: grow 4096 failed, error = 12
  sbrk: grow 4096 failed, error = 12
  Nov  2 22:26:34 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode
  Enter pathname of shell or RETURN for /bin/sh:

A kernel one day ago seems to work fine:

  NetBSD 1.6ZE (SUN) #3: Sat Nov  1 09:43:05 MET 2003
          kilbi@qie:/usr/src/sys/arch/sparc/compile/SUN
  [...]

Any hint?

Markus.