Re: Strange dma_init error on current with awe64 and floppy

2000-11-10 Thread Frank Nobis


On Wed, Nov 08, 2000 at 01:43:12AM +0100, Frank Nobis wrote:
 Hi,
 
 please have a look at the following dmesg output.
 
 I'm sure I must have overseen something trivial, but currently I can't
 figure out what it is.
 
I it not the size of the kernel itself. It depends on how many RAM I
give to the system.

the next dmesg output is the same kernel but with MAXMEM set to
448*1024

Now the isa_dmainit goes through. The problem seems to be somewhere in
the vm. isa_dmainit calls contigmalloc, which scans for a 4k page in
the lower 16M memory range, but can't find any.

The break is somewhere between 448 and 480 M. The physical memory
is 512M.

Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
1994
The Regents of the University of California. All rights
reserved.
FreeBSD 5.0-CURRENT #2: Thu Nov  9 23:57:52 CET 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/G5SMP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (551.25-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3

Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 469762048 (458752K bytes)
avail memory = 453451776 (442824K bytes9
[...]
sbc0: Creative SB AWE64 at port 0x220-0x22f,0x330-0x331,0x388-0x38b
irq 5 drq 1,5 on isa0
pcm0: SB16 DSP 4.16 on sbc0
[...]
fdc0: NEC 72065B or clone at port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5" drive on fdc0 drive 0

 
 Copyright (c) 1992-2000 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
 FreeBSD 5.0-CURRENT #0: Wed Nov  8 00:10:53 CET 2000
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/G5SMP
 Timecounter "i8254"  frequency 1193182 Hz
 CPU: Pentium III/Pentium III Xeon/Celeron (551.25-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
   
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
 real memory  = 536858624 (524276K bytes)
 avail memory = 518561792 (506408K bytes)
 [...]
 sbc0: Creative SB AWE64 at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 
on isa0
 pcm0: SB16 DSP 4.16 on sbc0
 isa_dmainit(1, 4096) failed
 isa_dmainit(5, 4096) failed
 pcm0: chn_init() for (record:0) failed
 pcm0: chn_init() for (play:0) failed
 fdc0: NEC 72065B or clone at port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on isa0
 isa_dmainit(2, 1024) failed
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: 1440-KB 3.5" drive on fdc0 drive 0

Frank

-- 
~/.signature not found: wellknown error 42


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Strange dma_init error on current with awe64 and floppy

2000-11-08 Thread Frank Nobis

On Wed, Nov 08, 2000 at 03:11:46AM +0100, [EMAIL PROTECTED] wrote:
 
  I'm sure I must have overseen something trivial, but currently I can't
  figure out what it is.
 
 The lower 16 MB memory has been used for
 
   kernel text, data, bss
   arrays allocated by vm_page_startup()
   memory allocated via malloc() with M_ZERO

I don't think that is the problem. I tried an older PRENGSMP kernel
nearly the same config like the actual one. Same means a bit larger,
more devices.

Know I build a GENERIC kernel striped down to the devices I thibk I
need in kernel. Other devices like the bktr and the pcm are loaded as
module.

The config file is here http://www.radio-do.de/~fn/G5SMP
The dmesg is http://www.radio-do.de/~fn/dmesg.txt

Here the out from top right after boot into single user mode and after
going multi user.

In sum the used mem is 11460K. There should be space for the dma
buffer needed for sound card and fdc.

Is there other memory in use that top doesn't show ? Because the
physical memory is 512M.

last pid:41;  load averages:  0.05,  0.03,  0.01  up 0+00:02:0909:31:41
2 processes:   1 running, 1 sleeping

Mem: 704K Active, 1776K Inact, 7716K Wired, 1264K Buf, 490M Free
Swap: 


  PID USERNAME PRI NICE  SIZERES STATE  C   TIME   WCPUCPU COMMAND
   41 root  46   0  1900K  1076K CPU1   0   0:00  0.00%  0.00% top
6 root  10   0   716K   368K wait   0   0:00  0.00%  0.00% sh

last pid:   425;  load averages:  0.48,  0.12,  0.04  up 0+00:02:3509:32:07
66 processes:  5 running, 44 sleeping, 17 waiting

Mem: 43M Active, 9580K Inact, 14M Wired, 80K Cache, 12M Buf, 434M Free
Swap: 550M Total, 550M Free


  PID USERNAME PRI NICE  SIZERES STATE  C   TIME   WCPUCPU COMMAND
   10 root -22   0 0K 0K RUN1   1:35 49.81% 49.71% idle: cpu1
   11 root -22   0 0K 0K RUN0   1:35 49.37% 49.27% idle: cpu0
  337 nobody84  16 14636K 13824K CPU1   0   0:13 90.23% 45.46% setiathome
  334 nobody83  16 15148K 14336K RUN0   0:13 89.94% 45.31% setiathome
  358 root  10   0  1128K  1012K wait   0   0:00  2.86%  1.37% bash
  210 root   2   0  2116K  1392K select 1   0:00  0.41%  0.24% sshd
  425 root  49   0  1944K  1152K CPU0   0   0:00  0.00%  0.00% top

some ideas how to track this further ?

Regards,
Frank
-- 
~/.signature not found: wellknown error 42


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Strange dma_init error on current with awe64 and floppy

2000-11-07 Thread Tor . Egge


 I'm sure I must have overseen something trivial, but currently I can't
 figure out what it is.

The lower 16 MB memory has been used for

kernel text, data, bss
arrays allocated by vm_page_startup()
memory allocated via malloc() with M_ZERO

- Tor Egge


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message