Re: FreeBSD 7.1 SMP on IBM x330 Dual Processor server

2009-01-27 Thread Tom Everett


How does the kernel I would build from that link differ from the stock 
7.1 kernel?


Ewald Jenisch wrote:

On Mon, Jan 26, 2009 at 03:57:50PM -0700, Tom Everett wrote:
  
I'm running the stock FreeBSD 7.1 kernel on an IBM x330 machine.  The  
machine has two physical processors but it seems that FreeBSD 7.1 on  
sees one.  I downloaded the kernel source and it seems that the GENERIC  
kernel has SMP installed.  Is there something else I can try?  Thanks in  
advance for your wisdom.



Have you already tried to build a kernel for your system using the
latest sources, i.e. cvsup-ing the sources and build your own
system/kernel (see e.g. 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html)

HTH
-ewald
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 7.1 SMP on IBM x330 Dual Processor server

2009-01-27 Thread Tom Everett

Am I correct in my understanding that the stock kernel is GENERIC?


Ewald Jenisch wrote:

On Mon, Jan 26, 2009 at 03:57:50PM -0700, Tom Everett wrote:
  
I'm running the stock FreeBSD 7.1 kernel on an IBM x330 machine.  The  
machine has two physical processors but it seems that FreeBSD 7.1 on  
sees one.  I downloaded the kernel source and it seems that the GENERIC  
kernel has SMP installed.  Is there something else I can try?  Thanks in  
advance for your wisdom.



Have you already tried to build a kernel for your system using the
latest sources, i.e. cvsup-ing the sources and build your own
system/kernel (see e.g. 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html)

HTH
-ewald
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 7.1 SMP on IBM x330 Dual Processor server

2009-01-27 Thread Tom Everett

Thanks!


Mel wrote:

On Tuesday 27 January 2009 06:57:32 Tom Everett wrote:
  

How does the kernel I would build from that link differ from the stock
7.1 kernel?



It doesn't. It's the generic upgrading fixes all advice.
I don't see anything since 7.1-RELEASE in 7.1-STABLE even, that would have the 
potential to fix your problem.


Best thing you can do:
0) Check BIOS if there's something there that can make a CPU 'invisible'.
1) subscribe to freebsd-acpi and ask there if people have seen this before.
2) recompile kernel for acpi debugging, so you have information ready when 
people ask for it
3) regardless of the 1), search for or file a new PR with your ACPI 
information.


More info here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html
http://www.freebsd.org/support/bugreports.html
  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Question about install of Fortran compiler

2009-01-27 Thread Tom Everett
The FreeBSD ports tree has a number of Fortran compilers in the ports 
collection:


http://www.freebsd.org/ports/lang.html

To install one from the ports collection, su to root and then install 
the port.


For example to install G95 
(http://www.freebsd.org/cgi/url.cgi?ports/lang/g95/pkg-descr)


cd /usr/ports/lang/g96
make
make test
make install






V. M. Tame-Reyes wrote:


Hello FreeBSD community,

I had a friend download all the files in freeBSD ports site
(the official one) so i have a large collection of .tbz files
but i don't seem to be able to find a correct fortran 77
compiler, i already installed c compiler, but calling g77
wouldn't work.

Any help anyone could provide ?

Best regards,

--
Victor Tame

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: SMP Problem on IBM x330 Server

2009-01-27 Thread Tom Everett



Garrett Cooper wrote:

On Tue, Jan 27, 2009 at 12:48 PM, Tom Everett t...@khubla.com wrote:
  

the CPUs are active in the BIOS.  The BIOS is v 1.05. with 1.06 being the
very latest.

According to IBM the changes from 1.0.5 to 1.0.6 are

Added in serial remote console redirection
Fixed PXE ROM execution failure when using PXE on planar Ethernet #2
Removed the Auto Configure IRQ option for the System Service Processor IRQ
setting in POST/BIOS setup to prevent erroneous configuration change and
diskette drive failure messages

I have a number of these machines running linux with no problems.

?


Garrett Cooper wrote:

On Tue, Jan 27, 2009 at 11:59 AM, Tom Everett t...@khubla.com wrote:


ok, two problems.  I don't remember that I had the option to explicitly
install an SMP kernl, and looking back here
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html) , I
don't see that sysinstall gave me that option.  Additionally, I have the
kernel source and I see that in GENERIC, SMP is enabled.  Am I missing
something?


Garrett Cooper wrote:


On Jan 27, 2009, at 9:45 AM, Tom Everett wrote:



I originally posted this to FreeBSD Questions but was told that the
ACPI list might be more appropriate.

I'm running the stock FreeBSD 7.1 kernel on an IBM x330 machine.  The
machine has two physical processors but it seems that FreeBSD 7.1 only sees
one.  I downloaded the kernel source and it seems that the GENERIC kernel
has SMP installed.  Is there something else I can try?  Thanks in advance
for your wisdom.

$ sysctl -a | grep cpu
kern.threads.virtual_cpu: 1
kern.ccpu: 0
kern.smp.cpus: 1
kern.smp.maxcpus: 16
debug.cpufreq.verbose: 0
debug.cpufreq.lowest: 0
debug.kdb.stop_cpus: 1
debug.stop_cpus_with_nmi: 1
debug.PMAP1changedcpu: 0
hw.ncpu: 1
hw.acpi.cpu.cx_lowest: C1
machdep.cpu_idle_hlt: 1
machdep.hlt_cpus: 0
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU1
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.0.cx_supported: C1/0
dev.cpu.0.cx_lowest: C1
dev.cpu.0.cx_usage: 100.00%


   Did you install the SMP kernel from sysinstall? There's a difference.
Thanks,
-Garrett


Nope -- that would be it. Is one CPU not active in the BIOS? Do
you have the latest BIOS flashed from IBM? Does a Linux disk see both
CPU's?
Cheers,
-Garrett



I only see one CPU in the kernel output you provided though --
that's why I'm confused. Also, please don't top-post ;).
Thanks!
-Garrett

  
Sry, didn't know that top-posting was bad etiquette.  The BIOS reports 2 
CPUs and that they're both enabled.  Is there some other output I could 
provide that would help?  I can't be 100% sure, but I _think_ this 
worked with FreeBSD 6.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD 7.1 SMP on IBM x330 Dual Processor server

2009-01-26 Thread Tom Everett
I'm running the stock FreeBSD 7.1 kernel on an IBM x330 machine.  The 
machine has two physical processors but it seems that FreeBSD 7.1 on 
sees one.  I downloaded the kernel source and it seems that the GENERIC 
kernel has SMP installed.  Is there something else I can try?  Thanks in 
advance for your wisdom.


$ sysctl -a | grep cpu
kern.threads.virtual_cpu: 1
kern.ccpu: 0
kern.smp.cpus: 1
kern.smp.maxcpus: 16
debug.cpufreq.verbose: 0
debug.cpufreq.lowest: 0
debug.kdb.stop_cpus: 1
debug.stop_cpus_with_nmi: 1
debug.PMAP1changedcpu: 0
hw.ncpu: 1
hw.acpi.cpu.cx_lowest: C1
machdep.cpu_idle_hlt: 1
machdep.hlt_cpus: 0
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU1
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.0.cx_supported: C1/0
dev.cpu.0.cx_lowest: C1
dev.cpu.0.cx_usage: 100.00%



Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
   r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) III CPU family  1133MHz (1128.54-MHz 
686-class CPU)

 Origin = GenuineIntel  Id = 0x6b1  Stepping = 1
 
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE

real memory  = 1073659904 (1023 MB)
avail memory = 1036943360 (988 MB)
ACPI APIC Table: IBMSEREMRLD
ioapic1 Version 1.1 irqs 16-31 on motherboard
ioapic0 Version 1.1 irqs 0-15 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: IBM SEREMRLD on motherboard
acpi0: Overriding SCI Interrupt from IRQ 3 to IRQ 30
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4e8-0x4eb on acpi0
pcib0: ACPI Host-PCI bridge on acpi0
pci0: ACPI PCI bus on pcib0
vgapci0: VGA-compatible display mem 
0xfeb8-0xfebf,0xf000-0xf7ff at device 1.0 on pci0
fxp0: Intel 82559 Pro/100 Ethernet port 0x2200-0x223f mem 
0xfeb7f000-0xfeb7,0xfea0-0xfeaf irq 27 at device 2.0 on pci0

fxp0: Disabling dynamic standby mode in EEPROM
fxp0: New EEPROM ID: 0x48a0
fxp0: EEPROM checksum @ 0x3f: 0xbe76 - 0xbe76
miibus0: MII bus on fxp0
inphy0: i82555 10/100 media interface PHY 1 on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:55:c6:69:58
fxp0: [ITHREAD]
fxp1: Intel 82559 Pro/100 Ethernet port 0x2240-0x227f mem 
0xfeb7e000-0xfeb7efff,0xfe90-0xfe9f irq 25 at device 10.0 on pci0

fxp1: Disabling dynamic standby mode in EEPROM
fxp1: New EEPROM ID: 0x48a0
fxp1: EEPROM checksum @ 0x3f: 0x2d79 - 0x2d79
miibus1: MII bus on fxp1
inphy1: i82555 10/100 media interface PHY 1 on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:02:55:c6:69:59
fxp1: [ITHREAD]
isab0: PCI-ISA bridge port 0x440-0x44f at device 15.0 on pci0
isa0: ISA bus on isab0
atapci0: ServerWorks ROSB4 UDMA33 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x700-0x70f at device 15.1 on pci0

ata0: ATA channel 0 on atapci0
ata0: [ITHREAD]
ata1: ATA channel 1 on atapci0
ata1: [ITHREAD]
ohci0: OHCI (generic) USB controller mem 0xfeb7d000-0xfeb7dfff irq 7 
at device 15.2 on pci0

ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 2 ports with 2 removable, self powered
pcib1: ACPI Host-PCI bridge on acpi0
pci1: ACPI PCI bus on pcib1
ahc0: Adaptec aic7892 Ultra160 SCSI adapter port 0x2300-0x23ff mem 
0xe000-0xefff irq 28 at device 3.0 on pci1

ahc0: [ITHREAD]
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
atapci1: Promise PDC40779 SATA300 controller port 
0x2280-0x22ff,0x2400-0x24ff mem 
0xefffe000-0xefffefff,0xeffc-0xeffd irq 20 at device 5.0 on pci1

atapci1: [ITHREAD]
atapci1: [ITHREAD]
ata2: ATA channel 0 on atapci1
ata2: [ITHREAD]
ata3: ATA channel 1 on atapci1
ata3: [ITHREAD]
ata4: ATA channel 2 on atapci1
ata4: [ITHREAD]
ata5: ATA channel 3 on atapci1
ata5: [ITHREAD]
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
fdc0: floppy drive controller port 0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0

sio0: type 16550A
sio0: [FILTER]
cpu0: ACPI CPU on acpi0
pmtimer0 on isa0
orm0: ISA Option ROMs at iomem 
0xc-0xcafff,0xcb000-0xcc7ff,0xcc800-0xd4fff pnpid ORM on isa0

ppc0: parallel port not found.