Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2003 12:43:32 -0500
From:      The Anarcat <anarcat@anarcat.ath.cx>
To:        freebsd-questions@freebsd.org
Subject:   crashdumping on massive amounts of RAM
Message-ID:  <20030324174332.GB831@lenny.anarcat.ath.cx>

next in thread | raw e-mail | index | archive | help

--KFztAG8eRSV9hGtP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi.

I am fortunate enough to have a box with a lot (by my standards) of
RAM:

real memory  =3D 1207877632 (1151 MB)
avail memory =3D 1166782464 (1112 MB)

Now the problem I have is I'd like to debug the panic()s I'm seeing
now and then on this box, since I'm running 5.0. :) But it seems I
need at least as much swap as I need RAM to do this.

So I just want to make sure there is no other way to crashdump this
RAM than making a gigantic 1GB swap area. The worst is that I really
don't need 1GB of *swap*!! 1GB of RAM is fine. All processes run in
main memory, but 1GB of swap? That would *suck*. ;) I have 250MB right
now and I already think it's too much.

Any brilliant ideas to work around this?

A.

PS: yes, I've read dumpon(8) and I think there's no real way out of
this...=20

BUGS
     Because the file system layer is already dead by the time a crash dump=
 is
     taken, it is not possible to send crash dumps directly to a file.


Copyright (c) 1992-2003 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-RELEASE #2: Fri Mar  7 15:05:32 EST 2003
    anarcat@lenny.anarcat.ath.cx:/usr/src/sys/i386/compile/LENNII
Preloaded elf kernel "/boot/kernel/kernel" at 0xc06ea000.
Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc06ea0a8.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc06ea158.
Preloaded elf module "/boot/kernel/radeon.ko" at 0xc06ea204.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc06ea2b0.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1008994004 Hz
CPU: AMD Duron(tm) Processor (1008.99-MHz 686-class CPU)
  Origin =3D "AuthenticAMD"  Id =3D 0x670  Stepping =3D 0
  Features=3D0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,=
CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=3D0xffffffffc0440000<RSVD,AMIE,DSP,3DNow!>
real memory  =3D 1207877632 (1151 MB)
avail memory =3D 1166782464 (1112 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS   A7V-133 > on motherboard
    ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 9 entries at 0xc00f1750
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xe6000000-0xe7f=
fffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
drm0: <ATI Radeon QY VE (AGP)> port 0xd800-0xd8ff mem 0xd7000000-0xd700ffff=
,0xd8000000-0xdfffffff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xe6000000 32MB
info: [drm] Initialized radeon 1.1.1 20010405 on minor 0
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xb800-0xb80f at device 4.1 on=
 pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xb400-0xb41f irq 9 at device 4.2 o=
n pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ugen0: Color FlatbedScanner 22, rev 1.00/1.00, addr 2
uhci1: <VIA 83C572 USB controller> port 0xb000-0xb01f irq 9 at device 4.3 o=
n pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <bridge, PCI-unknown> at device 4.4 (no driver attached)
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0x9400-0x94ff mem 0xd6800000-0=
xd68000ff irq 9 at device 9.0 on pci0
vr0: Ethernet address: 00:50:ba:64:e3:6a
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <Creative EMU10K1> port 0x9000-0x901f irq 5 at device 10.0 on pci0
atapci1: <Promise ATA100 controller> port 0x7000-0x703f,0x7400-0x7403,0x780=
0-0x7807,0x8000-0x8003,0x8400-0x8407 mem 0xd6000000-0xd601ffff irq 10 at de=
vice 17.0 on pci0
ata2: at 0x8400 on atapci1
ata3: at 0x7800 on atapci1
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x=
3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
orm0: <Option ROMs> at iomem 0xcc000-0xce7ff,0xc0000-0xcafff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
IPsec: Initialized Security Association Processing.
acpi_cpu: CPU throttling enabled, 16 steps from 100% to 6.2%
ad4: 38182MB <MAXTOR 4K040H2> [77578/16/63] at ata2-master UDMA100
MBREXT Slice 5 on ad4s2:
0000   00 01 c1 ff 0b fe ff ff 3f 00 00 00 4d 59 18 02  |........?...MY..|
[0] f:00 typ:11 s(CHS):255/1/193 e(CHS):255/254/255 s:63 l:35150157
0000   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |................|
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
cd0 at ata0 bus 0 target 0 lun 0
cd0: <PLEXTOR CD-R   PX-W4012A 1.01> Removable CD-ROM SCSI-0 device=20
cd0: 16.000MB/s transfers
cd0: cd present [274607 x 2048 byte records]
Mounting root from ufs:/dev/ad4s3a
cd1 at ata1 bus 0 target 0 lun 0
cd1: <LG CD-ROM CRD-8522B 2.02> Removable CD-ROM SCSI-0 device=20
cd1: 16.000MB/s transfers
cd1: cd present [187585 x 2048 byte records]
netsmb_dev: loaded


--=20
Advertisers, not governments, are the primary censors of media content=20
in the United States today.
                        - C. Edwin Baker
                        http://www.ad-mad.co.uk/quotes/freespeech.htm

--KFztAG8eRSV9hGtP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+f0PEttcWHAnWiGcRAr7dAKCSs3droa1Jb+imoxWCk/1u9Q2T2QCeI3Gg
b0DhzgQv1QOm7QS8csnH604=
=/h0m
-----END PGP SIGNATURE-----

--KFztAG8eRSV9hGtP--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030324174332.GB831>