Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] pre-build HP-UX/10.20 bash's problem
@ 2000-10-04 12:57 yuqian
  2000-10-04 13:10 ` Bruno Vidal
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: yuqian @ 2000-10-04 12:57 UTC (permalink / raw)
  To: parisc-linux

Hi.
I have a HP B2000 (9000/785) with HP-UX 10.20 and installed 
binaries/HP-UX/depot/10.20/bash-2.03-1.hpux-10.20.depot.gz,
but it not work when I want to build a new kernel:
   bash-2.03$ make dep
   scripts/mkdep init/*.c > .depend
   scripts/mkdep `find /home/yq/linux/include/asm
/home/yq/linux/include/linux /home/yq/linux/include/scsi
/home/yq/linux/include/net -name   SCCS -prune -o -follow -name \*.h ! -name
modversions.h -print` > .hdepend
   bash: scripts/mkdep: Arg list too long
   make: *** [dep-files] Error 126
  
Am I missing any thing?
Thanks for any advices.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [parisc-linux] pre-build HP-UX/10.20 bash's problem
  2000-10-04 12:57 yuqian
@ 2000-10-04 13:10 ` Bruno Vidal
  2000-10-04 13:14 ` Bruno Vidal
  2000-10-04 15:05 ` John David Anglin
  2 siblings, 0 replies; 5+ messages in thread
From: Bruno Vidal @ 2000-10-04 13:10 UTC (permalink / raw)
  To: yuqian; +Cc: parisc-linux@thepuffingroup.com

	Hi
The answer is in your kernel. Rebuild the hpux kernel
after modifying the parameter:
ncargs_enable = 1
(I don't remember exactly the parameter name but it
must be this one). It will let you access 24kb for
arg list, without this modification the size for
arg is only 2k. This parameter is adding by PHKL_16751.

	Bye.

-- 
	Vidal Bruno, (770-4271)
        SSD-HA Team, HP-UX & LINUX Support
	bruno_vidal@admin.france.hp.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [parisc-linux] pre-build HP-UX/10.20 bash's problem
  2000-10-04 12:57 yuqian
  2000-10-04 13:10 ` Bruno Vidal
@ 2000-10-04 13:14 ` Bruno Vidal
  2000-10-04 15:05 ` John David Anglin
  2 siblings, 0 replies; 5+ messages in thread
From: Bruno Vidal @ 2000-10-04 13:14 UTC (permalink / raw)
  To: yuqian; +Cc: parisc-linux@thepuffingroup.com

	Hi
I've retrieve the kernel parameter:
large_ncargs_enabled
Put this one to 1 and it would be fine.

	Bye.
yuqian wrote:
> 
> Hi.
> I have a HP B2000 (9000/785) with HP-UX 10.20 and installed
> binaries/HP-UX/depot/10.20/bash-2.03-1.hpux-10.20.depot.gz,
> but it not work when I want to build a new kernel:
>    bash-2.03$ make dep
>    scripts/mkdep init/*.c > .depend
>    scripts/mkdep `find /home/yq/linux/include/asm
> /home/yq/linux/include/linux /home/yq/linux/include/scsi
> /home/yq/linux/include/net -name   SCCS -prune -o -follow -name \*.h ! -name
> modversions.h -print` > .hdepend
>    bash: scripts/mkdep: Arg list too long
>    make: *** [dep-files] Error 126
> 
> Am I missing any thing?
> Thanks for any advices.
> 
> ---------------------------------------------------------------------------
> To unsubscribe: send e-mail to parisc-linux-request@thepuffingroup.com with
> `unsubscribe' as the subject.

-- 
	Vidal Bruno, (770-4271)
        SSD-HA Team, HP-UX & LINUX Support
	bruno_vidal@admin.france.hp.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [parisc-linux] pre-build HP-UX/10.20 bash's problem
  2000-10-04 12:57 yuqian
  2000-10-04 13:10 ` Bruno Vidal
  2000-10-04 13:14 ` Bruno Vidal
@ 2000-10-04 15:05 ` John David Anglin
  2 siblings, 0 replies; 5+ messages in thread
From: John David Anglin @ 2000-10-04 15:05 UTC (permalink / raw)
  To: yuqian; +Cc: parisc-linux

> Hi.
> I have a HP B2000 (9000/785) with HP-UX 10.20 and installed 
> binaries/HP-UX/depot/10.20/bash-2.03-1.hpux-10.20.depot.gz,
> but it not work when I want to build a new kernel:
>    bash-2.03$ make dep
>    scripts/mkdep init/*.c > .depend
>    scripts/mkdep `find /home/yq/linux/include/asm
> /home/yq/linux/include/linux /home/yq/linux/include/scsi
> /home/yq/linux/include/net -name   SCCS -prune -o -follow -name \*.h ! -name
> modversions.h -print` > .hdepend
>    bash: scripts/mkdep: Arg list too long
>    make: *** [dep-files] Error 126
>   
> Am I missing any thing?
> Thanks for any advices.

I think this can be fixed by changing the Makefile to use relative paths
instead of absolute paths.  This shortens the arg list enough for 
building under hpux.

Changing the kernel to support a larger arg and environment space looks
like it will waste a lot of memory for most applications and thus may
not be suited for machines with limited memory or swap space.  So, I would
try hacking the Makefile first.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [parisc-linux] pre-build HP-UX/10.20 bash's problem
@ 2000-10-05 12:20 yuqian
  0 siblings, 0 replies; 5+ messages in thread
From: yuqian @ 2000-10-05 12:20 UTC (permalink / raw)
  To: parisc-linux

The problem resolved after rebuild hpux kernel with large_ncargs_enabled=1.
Thanks all.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-10-05 12:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-05 12:20 [parisc-linux] pre-build HP-UX/10.20 bash's problem yuqian
  -- strict thread matches above, loose matches on Subject: below --
2000-10-04 12:57 yuqian
2000-10-04 13:10 ` Bruno Vidal
2000-10-04 13:14 ` Bruno Vidal
2000-10-04 15:05 ` John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox