On Wed, Jan 27, 2010 at 08:43:40PM +0000, Rob Sheldon wrote:

> On Wed, 27 Jan 2010 07:42:42 +0100, Otto Moerbeek <o...@drijf.net> wrote:
> > On Wed, Jan 27, 2010 at 12:38:47AM +0000, Rob Sheldon wrote:
> > 
> >> There's no dmesg attached because I'm not on-site with the server at
> the
> >> moment, and because AFAICT this is a known problem.
> > 
> > A pity, since it does matter what platform you run on. fsck needing a
> > lot of memory is indeed a known problem, but the SEGVs are not. You
> > might want to check if they still occur when you have enough swap.
> 
> OK, I was able to visit for a few minutes today, enough to get the machine
> answering ssh again.
> 
> First, disklabel so you know what it actually has:
> 
> $ sudo disklabel sd1
> # /dev/rsd1c:
> type: SCSI
> disk: SCSI disk
> label: Transcend 4GB   
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 488
> total sectors: 7843840
> rpm: 3600
> interleave: 1
> boundstart: 63
> boundend: 7839720
> drivedata: 0 
> 
> 16 partitions:
> #                size           offset  fstype [fsize bsize  cpg]
>   a:          7839657               63  4.2BSD   2048 16384    1 # /
>   c:          7843840                0  unused                   
> 
> $ sudo disklabel sd0 
> # /dev/rsd0c:
> type: SCSI
> disk: SCSI disk
> label: ARC-1220-VOL#00 
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 729458
> total sectors: 11718749184
> rpm: 10000
> interleave: 1
> boundstart: 63
> boundend: 3128808178
> drivedata: 0 
> 
> 16 partitions:
> #                size           offset  fstype [fsize bsize  cpg]
>   a:      11718749121               63  4.2BSD   2048 16384    1 
>   c:      11718749184                0  unused                   
> 
> ...and the dmesg...
> 
> $ dmesg
> OpenBSD 4.6 (GENERIC.MP) #81: Thu Jul  9 21:26:19 MDT 2009
>     dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 3486973952 (3325MB)
> avail mem = 3370655744 (3214MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xcfedf000 (39 entries)
> bios0: vendor Phoenix Technologies LTD version "1.2a" date 12/19/2008
> bios0: Supermicro X7SB4/E
> acpi0 at bios0: rev 2
> acpi0: tables DSDT FACP _MAR MCFG APIC BOOT SPCR ERST HEST BERT EINJ SLIC
> SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT
> acpi0: wakeup devices PXHA(S5) PXHB(S5) PEX_(S5) LAN_(S5) USB4(S5)
> USB5(S5) USB7(S5) ESB2(S5) EXP1(S5) EXP5(S5) EXP6(S5) USB1(S5) USB2(S5)
> USB3(S5) USB6(S5) ESB1(S5) PCIB(S5) KBC0(S1) MSE0(S1) COM1(S5) COM2(S5)
> PWRB(S3)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Pentium(R) Dual-Core CPU E5200 @ 2.50GHz, 2494.07 MHz
> cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR,NXE,LONG
> cpu0: 2MB 64b/line 8-way L2 cache
> cpu0: apic clock running at 199MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Pentium(R) Dual-Core CPU E5200 @ 2.50GHz, 2493.75 MHz
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR,NXE,LONG
> cpu1: 2MB 64b/line 8-way L2 cache
> ioapic0 at mainbus0 apid 2 pa 0xfec00000, version 20, 24 pins
> ioapic1 at mainbus0 apid 3 pa 0xfecc0000, version 20, 24 pins
> ioapic2 at mainbus0 apid 4 pa 0xfecc0400, version 20, 24 pins
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 2 (PXHA)
> acpiprt2 at acpi0: bus 3 (PXHB)
> acpiprt3 at acpi0: bus 4 (PEX_)
> acpiprt4 at acpi0: bus 7 (EXP1)
> acpiprt5 at acpi0: bus 13 (EXP5)
> acpiprt6 at acpi0: bus 15 (EXP6)
> acpiprt7 at acpi0: bus 17 (PCIB)
> acpicpu0 at acpi0: C3, PSS
> acpicpu1 at acpi0: C3, PSS
> acpibtn0 at acpi0: PWRB
> acpivideo0 at acpi0: IGD0
> ipmi at mainbus0 not configured
> cpu0: Enhanced SpeedStep 2493 MHz: speeds: 2500, 2400, 2000, 1600, 1200
> MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel 3200/3210 Host" rev 0x01
> ppb0 at pci0 dev 1 function 0 "Intel 3200/3210 PCIE" rev 0x01: apic 2 int
> 16 (irq 5)
> pci1 at ppb0 bus 1
> ppb1 at pci1 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
> pci2 at ppb1 bus 2
> "Intel IOxAPIC" rev 0x09 at pci1 dev 0 function 1 not configured
> ppb2 at pci1 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09
> pci3 at ppb2 bus 3
> "Intel IOxAPIC" rev 0x09 at pci1 dev 0 function 3 not configured
> ppb3 at pci0 dev 6 function 0 "Intel 3210 PCIE" rev 0x01: apic 2 int 16
> (irq 5)
> pci4 at ppb3 bus 4
> ppb4 at pci4 dev 0 function 0 "Intel IOP333 PCIE-PCIX" rev 0x00
> pci5 at ppb4 bus 5
> arc0 at pci5 dev 14 function 0 "Areca ARC-1220" rev 0x00: apic 2 int 18
> (irq 11)
> arc0: 8 ports, 256MB SDRAM, firmware V1.46 2009-01-06
> scsibus0 at arc0: 16 targets
> sd0 at scsibus0 targ 0 lun 0: <Areca, ARC-1220-VOL#00, R001> SCSI3
> 0/direct fixed
> sd0: 5722045MB, 512 bytes/sec, 11718749184 sec total
> ppb5 at pci4 dev 0 function 2 "Intel IOP333 PCIE-PCIX" rev 0x00
> pci6 at ppb5 bus 6
> uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x02: apic 2 int 16
> (irq 5)
> uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x02: apic 2 int 17
> (irq 10)
> uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x02: apic 2 int 18
> (irq 11)
> ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x02: apic 2 int 18
> (irq 11)
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb6 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x02: apic 2 int 16
> (irq 5)
> pci7 at ppb6 bus 7
> ppb7 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x02: apic 2 int 16
> (irq 5)
> pci8 at ppb7 bus 13
> em0 at pci8 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: apic 2
> int 16 (irq 5), address 00:30:48:ba:3e:00
> ppb8 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x02: apic 2 int 17
> (irq 11)
> pci9 at ppb8 bus 15
> em1 at pci9 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: apic 2
> int 17 (irq 10), address 00:30:48:ba:3e:01
> uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x02: apic 2 int 23
> (irq 7)
> uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x02: apic 2 int 22
> (irq 10)
> uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x02: apic 2 int 18
> (irq 11)
> ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x02: apic 2 int 23
> (irq 7)
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb9 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x92
> pci10 at ppb9 bus 17
> vga1 at pci10 dev 4 function 0 "ATI ES1000" rev 0x02
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> radeondrm0 at vga1: apic 2 int 22 (irq 10)
> drm0 at radeondrm0
> pcib0 at pci0 dev 31 function 0 "Intel 82801IR LPC" rev 0x02
> ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x02: apic 2
> int 17 (irq 10)
> iic0 at ichiic0
> lm1 at iic0 addr 0x2d: W83627HF
> wbng0 at iic0 addr 0x2f: w83793g
> spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5
> spdmem1 at iic0 addr 0x51: 2GB DDR2 SDRAM non-parity PC2-5300CL5
> spdmem2 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-5300CL5
> spdmem3 at iic0 addr 0x53: 2GB DDR2 SDRAM non-parity PC2-5300CL5
> "Intel 82801I Thermal" rev 0x02 at pci0 dev 31 function 6 not configured
> usb2 at uhci0: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci1: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci2: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb5 at uhci3: USB revision 1.0
> uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb6 at uhci4: USB revision 1.0
> uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb7 at uhci5: USB revision 1.0
> uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x41
> lm2 at wbsio0 port 0x290/8: W83627HF
> lm1 detached
> mtrr: Pentium Pro MTRR support
> umass0 at uhub1 port 4 configuration 1 interface 0 "JetFlash Mass Storage
> Device" rev 2.00/1.00 addr 2
> umass0: using SCSI over Bulk-Only
> scsibus1 at umass0: 2 targets, initiator 0
> sd1 at scsibus1 targ 1 lun 0: <JetFlash, Transcend 4GB, 8.07> SCSI2
> 0/direct removable
> sd1: 3830MB, 512 bytes/sec, 7843840 sec total
> uhidev0 at uhub5 port 1 configuration 1 interface 0 "Dell Dell USB Entry
> Keyboard" rev 1.10/1.78 addr 2
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 modifier keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> softraid0 at root
> root on sd1a swap on sd1b dump on sd1b
> 
> ...that's odd, it's showing swap (and dump) on sd1b, but there's no such
> thing:
> 
> $ sudo df /dev/sd1b
> df: /dev/sd1b: Device not configured
> 
> ...maybe it really doesn't like running without swap?
> 
> Oh wait, it's showing only 3G of memory installed. I just physically
> checked the machine, and it has 4 full banks of 2G each. amd64 should be
> able to address that, right?

No, currently the amount of physical memory an amd64 can address is limited.

        -Otto

> 
> That could certainly explain why fsck is unhappy.
> 
> Thanks,
> 
> - R.
> 
> -- 
> [__ Robert Sheldon
> [__ Founder, No Problem
> [__ Information technology support and services
> [__ Software and web design and development
> [__ (530) 575-0278
> [__ "You must be the change you wish to see in the world." -- Mahatma
> Gandhi

Reply via email to