Skip to contentSkip to conversation

Betr.: [parisc-linux] HP C180

DISCUSSION Jurriaan Kalkman 4 participants 7 messages Sep 26, 2001 – Sep 29, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines

My c180 is now happily booting (current CVS kernel), however whenever I try to ls some dirs (no all, this example is from /usr/bin) I get errors along these lines
ls: memory exhausted
init-2.04# ls ap*
Swap cache: add 0, delete 0, find 0/0
Free swap: 0kB

The 2.4.9 kernel really needs swap, or so I've read on the linux-kernel = mailing list.
You should add some swap. 2* [size of main memory] is a safe amount. It's considered a bug, but it needs swap even if there is free memory.....

Good luck,
Jurriaan

#1 lore raw

I Run into the exact same problem on a mounted ext2fs with 2xram as swap. init-2.04# find . -name palo -print
Out of Memory: Killed process 45 (find).
Out of Memory: Killed process 45 (find).
Out of Memory: Killed process 45 (find).
Out of Memory: Killed process 45 (find).
Out of Memory: Killed process 45 (find).
Out of Memory: Killed process 45 (find).
SysRq: Emergency Sync
Syncing device 08:03 ... OK
Syncing device 08:11 ... OK
Syncing device 08:12 ... OK
Syncing device 08:04 ... OK
Done.
SysRq: Show Regs

YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000001001111111100001111

r0-3     00000000 102d6a28 1026bd0c 0000000c                                
r4-7     105f46e4 105f4794 00000008 00000001                                
r8-11    ffffffff 00000010 105f46db efa0b925                                
r12-15   102d6a28 00000000 00000000 00000000                                
r16-19   105f4258 00063800 10334000 1026d912                                
r20-23   00000000 1026d912 0000000e 00000000
r24-27   1026d911 1029275d 105f48f8 10294010
r28-31   105f46e4 00000000 105f4880 1026b648
sr0-3    00000000 00000000 00000000 0000007c
sr4-7    00000000 00000000 00000000 00000000

IASQ: 00000000 00000000 IAOQ: 1026b724 1026b728
IIR: 0ea01014 ISR: 00000000 IOR: 00000000
CPU: 0 CR30: 105f4000 CR31: 10338000
ORIG_R28: 105f49c0
Done.
SysRq: Emergency Remount R/O
Remounting device 08:03 ... OK
Remounting device 08:11 ... OK
Remounting device 08:12 ... OK
Remounting device 08:04 ... OK
Done.
SysRq: Show Memory
Mem-info:
Free pages: 115496kB ( 0kB HighMem)
( Active: 63, inactive_dirty: 137, inactive_clean: 0, free: 28874 (255 510
765) )
0*4kB 1*8kB 0*16kB 1*32kB 54*64kB 57*128kB 35*256kB 25*512kB 11*1024kB 35*2048kB = 115496kB)
= 0kB)
= 0kB)
Swap cache: add 92308, delete 92271, find 75/305
Free swap: 248700kB
32768 pages of RAM
1223 reserved pages
13 pages shared
37 pages swap cached
Buffer memory: 176kB
SysRq: Resetting

Any suggestions?
Thanks
Nick

Quoted 7 lines · Jurriaan Kalkman

The 2.4.9 kernel really needs swap, or so I've read on the linux-kernel mailing list. You should add some swap. 2* [size of main memory] is a safe amount. It's considered a bug, but it needs swap even if there is free memory.....

Good luck,
Jurriaan

#2 lore raw
In reply to Jurriaan Kalkman
Quoted 4 lines · Jurriaan Kalkman
Quoted 4 lines

My c180 is now happily booting (current CVS kernel), however whenever I try to ls some dirs (no all, this example is from /usr/bin) I get errors along these lines
ls: memory exhausted

I had this with 2.4.9, turned out I'd booted a root fs with old libc6 installed. When I rebooted using a current libc6 the problem went away.

Richard

#3 lore raw

Ok, can you point me to a totally current root image?
Nick

Quoted 11 lines · Richard Hirst
Quoted 4 lines · Jurriaan Kalkman
Quoted 4 lines

My c180 is now happily booting (current CVS kernel), however whenever I try to ls some dirs (no all, this example is from /usr/bin) I get errors along these lines
ls: memory exhausted

I had this with 2.4.9, turned out I'd booted a root fs with old libc6 installed. When I rebooted using a current libc6 the problem went away.

Richard

#4 lore raw

Hello,

Make your own:

 palo -f /dev/null -k vmlinux -r root.bin -s lifimage [-b iplboot] \
        -c "0/linux HOME=/ root=/dev/ram initrd=0/ramdisk"

where vmlinux is the a kernel you've compiled from CVS (possibly using the cross-compiler) and root.bin is the latest Debian hppa bootdisk. Netboot the resulting lifimage and off you go! :-)

Regards,

Albert

Quoted 23 lines · On Sat, 29 Sep 2001, [email protected] wrote:

Ok, can you point me to a totally current root image?
Nick

Quoted 11 lines · Richard Hirst
Quoted 4 lines · Jurriaan Kalkman
Quoted 4 lines

My c180 is now happily booting (current CVS kernel), however whenever I try to ls some dirs (no all, this example is from /usr/bin) I get errors along these lines
ls: memory exhausted

I had this with 2.4.9, turned out I'd booted a root fs with old libc6 installed. When I rebooted using a current libc6 the problem went away.

Richard

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/cgi-bin/mailman/listinfo/parisc-linux

#5 lore raw

I have been rolling my own kernels, however I've been useing nfsroot with one of the prebuilt tarballs. Where can I find the latest debian hppa bootdisks? ftp.debian.org? (I havn't noticed them in my debian mirror).
Nick

Quoted 41 lines · Albert Strasheim

Hello,

Make your own:

 palo -f /dev/null -k vmlinux -r root.bin -s lifimage [-b iplboot] \
        -c "0/linux HOME=/ root=/dev/ram initrd=0/ramdisk"

where vmlinux is the a kernel you've compiled from CVS (possibly using the cross-compiler) and root.bin is the latest Debian hppa bootdisk. Netboot the resulting lifimage and off you go! :-)

Regards,

Albert

Quoted 23 lines · On Sat, 29 Sep 2001, [email protected] wrote:

Ok, can you point me to a totally current root image?
Nick

Quoted 11 lines · Richard Hirst
Quoted 4 lines · Jurriaan Kalkman
Quoted 4 lines

My c180 is now happily booting (current CVS kernel), however whenever I try to ls some dirs (no all, this example is from /usr/bin) I get errors along these lines
ls: memory exhausted

I had this with 2.4.9, turned out I'd booted a root fs with old libc6 installed. When I rebooted using a current libc6 the problem went away.

Richard

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/cgi-bin/mailman/listinfo/parisc-linux

#6 lore raw

Hello,

I generally use http://http.us.debian.org/ or http://ftp.sunet.se/pub/
(great mirror site). Your local mirror probably only mirrors i386. I can't imagine why "normal" sites would want to keep around 4 GB (?) of HPPA packages. :-)

I also built a new nfsroot for myself by using debootstrap, and slightly modifying the "woody" script. My system isn't quite up and running yet (still struggling with Jurij's patch), but you could do the same if your HP is misbehaving.

Regards,

Albert

Quoted 49 lines · On Sat, 29 Sep 2001, [email protected] wrote:

I have been rolling my own kernels, however I've been useing nfsroot with one of the prebuilt tarballs. Where can I find the latest debian hppa bootdisks? ftp.debian.org? (I havn't noticed them in my debian mirror).
Nick

Quoted 41 lines · Albert Strasheim

Hello,

Make your own:

 palo -f /dev/null -k vmlinux -r root.bin -s lifimage [-b iplboot] \
        -c "0/linux HOME=/ root=/dev/ram initrd=0/ramdisk"

where vmlinux is the a kernel you've compiled from CVS (possibly using the cross-compiler) and root.bin is the latest Debian hppa bootdisk. Netboot the resulting lifimage and off you go! :-)

Regards,

Albert

Quoted 23 lines · On Sat, 29 Sep 2001, [email protected] wrote:

Ok, can you point me to a totally current root image?
Nick

Quoted 11 lines · Richard Hirst
Quoted 4 lines · Jurriaan Kalkman
Quoted 4 lines

My c180 is now happily booting (current CVS kernel), however whenever I try to ls some dirs (no all, this example is from /usr/bin) I get errors along these lines
ls: memory exhausted

I had this with 2.4.9, turned out I'd booted a root fs with old libc6 installed. When I rebooted using a current libc6 the problem went away.

Richard

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/cgi-bin/mailman/listinfo/parisc-linux