DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th June 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Default GENERIC.MP kernel failing to boot AMD dual-core system < 75% of the time

Hello,

I have an AMD dual-core system which (from my observations) needs the multiprocessor support in order to function "up to speed" (see this thread for example).

NetBSD comes with a multiprocessor kernel -> GENERIC.MP. Great, but the problem is that is fails to fully boot up < 75% of the time. It occurs right at the end of the boot (where the messages turn from green to white again - I don't know the technical name for that, if anyone could educate me). It says cpu1: CPU1 is running and that is it. It just freezes and doesn't continue. I have to push the reset button to reboot the system.

I am thinking of compiling my own kernel in the hopes of resolving this issue. Any suggestions?
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
  #2   (View Single Post)  
Old 8th June 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Default

Hello,

I build the -current/GENERIC kernel, and it works (the GENERIC kernel now includes SMP support automatically). I must admit that I am a little leery of using a kernel from -current due to its potential for instability, but it works and the 4.0 release doesn't (I tried building my own GENERIC.MP kernel from the stable branch, and it failed to consistently boot, too).

But, now the it uses both cores, it is blazingly fast. It's a real speed daemon! I mean it is really scary!! I can compile the GENERIC kernel in about 7 minutes (including all depends)!!!! NetBSD (with my SMP) is definitely faster than Linux (though I have no benchmarks to back up my claims).

I am looking forward to version 5 (I have my doubts that there will be a 4.1) which will incorporate SMP by default.
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)

Last edited by JMJ_coder; 8th June 2008 at 02:06 AM.
Reply With Quote
  #3   (View Single Post)  
Old 8th June 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Default

What are your hardware specs?
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
  #4   (View Single Post)  
Old 9th June 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Default

Hello,

Quote:
Originally Posted by cajunman4life View Post
What are your hardware specs?
It's an HP a1750e with an AMD 64 X2 4600+ CPU (dual-core). Here's dmesg from -current/GENERIC:



Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

NetBSD 4.99.64 (GENERIC) #0: Sat Jun 7 23:22:22 EDT 2008
cberardi@:/usr/src/sys/arch/i386/compile/GENERIC
total memory = 1022 MB
avail memory = 992 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
HP-Pavilion RP826AV-ABA a1750e ( )
mainbus0 (root)
cpu0 at mainbus0 apid 0: AMD 686-class, 2405MHz, id 0x40fb2
cpu0: AMD PowerNow! Technology 2400 MHz
cpu0: available frequencies (Mhz): 1000 1800 2000 2200 2400
cpu1 at mainbus0 apid 1: AMD 686-class, 2405MHz, id 0x40fb2
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 11, 24 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <HPQOEM,SLIC-CPC,42302e31>, AslId <AWRD,00000000>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
attimer1 at acpi0 (TMR, PNP0100): AT Timer
attimer1: io 0x40-0x43
hpet0 at acpi0 (HPET, PNP0103)
hpet0: mem 0xfefff000-0xfefff3ff irq 0,8
timecounter: Timecounter "hpet0" frequency 25000000 Hz quality 2000
pcppi1 at acpi0 (SPKR, PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
npx1 at acpi0 (COPR, PNP0C04)
npx1: io 0xf0-0xff irq 13
npx1: reported by CPUID; using exception 16
pckbc1 at acpi0 (PS2M, PNP0F13): aux port
pckbc1: irq 12
pckbc2 at acpi0 (PS2K, PNP0303): kbd port
pckbc2: io 0x60,0x64 irq 1
FAN (PNP0C0B) at acpi0 not configured
acpitz0 at acpi0 (THRM): active cooling level 0: 73.0C critical 75.0C passive 40.0C
apm0 at acpi0: Power Management spec V1.2
attimer1: attached to pcppi1
pckbd0 at pckbc2 (kbd slot)
pckbc2: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
vendor 0x10de product 0x02f0 (RAM memory, revision 0xa2) at pci0 dev 0 function 0 not configured
vendor 0x10de product 0x02fa (RAM memory, revision 0xa2) at pci0 dev 0 function 1 not configured
vendor 0x10de product 0x02fe (RAM memory, revision 0xa2) at pci0 dev 0 function 2 not configured
vendor 0x10de product 0x02f8 (RAM memory, revision 0xa2) at pci0 dev 0 function 3 not configured
vendor 0x10de product 0x02f9 (RAM memory, revision 0xa2) at pci0 dev 0 function 4 not configured
vendor 0x10de product 0x02ff (RAM memory, revision 0xa2) at pci0 dev 0 function 5 not configured
vendor 0x10de product 0x027f (RAM memory, revision 0xa2) at pci0 dev 0 function 6 not configured
vendor 0x10de product 0x027e (RAM memory, revision 0xa2) at pci0 dev 0 function 7 not configured
ppb0 at pci0 dev 2 function 0: vendor 0x10de product 0x02fc (rev. 0xa1)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
ppb1 at pci0 dev 4 function 0: vendor 0x10de product 0x02fb (rev. 0xa1)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
vga1 at pci2 dev 0 function 0: vendor 0x10de product 0x01d0 (rev. 0xa1)
vga1: WARNING: ignoring 64-bit BAR @ 0x14
vga1: WARNING: ignoring 64-bit BAR @ 0x1c
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga1 not configured
vendor 0x10de product 0x0270 (RAM memory, revision 0xa2) at pci0 dev 9 function 0 not configured
pcib0 at pci0 dev 10 function 0
pcib0: vendor 0x10de product 0x0260 (rev. 0xa3)
nfsmbc0 at pci0 dev 10 function 1: vendor 0x10de product 0x0264 (rev. 0xa3)
nfsmb0 at nfsmbc0 SMBus 1
iic0 at nfsmb0: I2C bus
nfsmb1 at nfsmbc0 SMBus 2
iic1 at nfsmb1: I2C bus
vendor 0x10de product 0x0272 (RAM memory, revision 0xa3) at pci0 dev 10 function 2 not configured
ohci0 at pci0 dev 11 function 0: vendor 0x10de product 0x026d (rev. 0xa3)
APCF: Picked IRQ 20 with weight 0
ohci0: interrupting at ioapic0 pin 20
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ehci0 at pci0 dev 11 function 1: vendor 0x10de product 0x026e (rev. 0xa3)
APCL: Picked IRQ 21 with weight 0
ehci0: interrupting at ioapic0 pin 21
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controller, 8 ports each: ohci0
usb1 at ehci0: USB revision 2.0
viaide0 at pci0 dev 13 function 0
viaide0: NVIDIA nForce430 IDE Controller (rev. 0xa1)
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at ioapic0 pin 14
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at viaide0 channel 1
viaide1 at pci0 dev 14 function 0
viaide1: NVIDIA nForce430 Serial ATA Controller (rev. 0xa1)
viaide1: bus-master DMA support present
viaide1: primary channel wired to native-PCI mode
APSI: Picked IRQ 22 with weight 0
viaide1: using ioapic0 pin 22 for native-PCI interrupt
atabus2 at viaide1 channel 0
viaide1: secondary channel wired to native-PCI mode
atabus3 at viaide1 channel 1
viaide2 at pci0 dev 15 function 0
viaide2: NVIDIA nForce430 Serial ATA Controller (rev. 0xa1)
viaide2: bus-master DMA support present
viaide2: primary channel wired to native-PCI mode
APSJ: Picked IRQ 23 with weight 0
viaide2: using ioapic0 pin 23 for native-PCI interrupt
atabus4 at viaide2 channel 0
viaide2: secondary channel wired to native-PCI mode
atabus5 at viaide2 channel 1
ppb2 at pci0 dev 16 function 0: vendor 0x10de product 0x026f (rev. 0xa2)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
fwohci0 at pci3 dev 5 function 0: vendor 0x11c1 product 0x5811 (rev. 0x70)
APC4: Picked IRQ 19 with weight 0
fwohci0: interrupting at ioapic0 pin 19
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:11:d8:00:01:22:17:99
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 1024 bytes.
fwohci0: max_rec 1024 -> 2048
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
azalia0 at pci0 dev 16 function 1: Generic High Definition Audio Controller
AAZA: Picked IRQ 20 with weight 1
azalia0: interrupting at ioapic0 pin 20
azalia0: host: 0x10de/0x026c (rev. 162), HDA rev. 1.0
nfe0 at pci0 dev 20 function 0: vendor 0x10de product 0x0269 (rev. 0xa3)
APCH: Picked IRQ 21 with weight 1
nfe0: interrupting at ioapic0 pin 21
nfe0: Ethernet address 00:1a:92:51:e4:0d
ukphy0 at nfe0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000ac2, model 0x0022, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pchb0 at pci0 dev 24 function 0
pchb0: vendor 0x1022 product 0x1100 (rev. 0x00)
pchb1 at pci0 dev 24 function 1
pchb1: vendor 0x1022 product 0x1101 (rev. 0x00)
pchb2 at pci0 dev 24 function 2
pchb2: vendor 0x1022 product 0x1102 (rev. 0x00)
amdtemp0 at pci0 dev 24 function 3
amdtemp0: AMD CPU Temperature Sensors (K8: core rev BH-F2)
isa0 at pcib0
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
azalia0: codec[0]: Realtek ALC888 (rev. 0.1), HDA rev. 1.0
audio0 at azalia0: full duplex, independent
uhub0 at usb0: vendor 0x10de OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
uhub1 at usb1: vendor 0x10de EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <TSSTcorpCD/DVDW TS-H652M, , 0414> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
viaide1 port 0: device present, speed: 3.0Gb/s
wd0 at atabus2 drive 0: <WDC WD1600JS-60NCB1>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(viaide1:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
umass0 at uhub1 port 8 configuration 1 interface 0
umass0: Generic Mass Storage Device, rev 2.00/1.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 4 luns per target
sd0 at scsibus0 target 0 lun 0: <Generic, USB SD Reader, 1.00> disk removable
sd0: drive offline
sd0(umass0:0:0:0): Check Condition on CDB: 0x00 00 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd0: unable to open device, error = 19
sd1 at scsibus0 target 0 lun 1: <Generic, USB CF Reader, 1.01> disk removable
sd1: drive offline
sd1(umass0:0:0:1): Check Condition on CDB: 0x00 20 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd1: unable to open device, error = 19
sd2 at scsibus0 target 0 lun 2: <Generic, USB SM Reader, 1.02> disk removable
sd2: drive offline
sd2(umass0:0:0:2): Check Condition on CDB: 0x00 40 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd2: unable to open device, error = 19
sd3 at scsibus0 target 0 lun 3: <Generic, USB MS Reader, 1.03> disk removable
sd3: drive offline
sd3(umass0:0:0:3): Check Condition on CDB: 0x00 60 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd3: unable to open device, error = 19
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex
sd0(umass0:0:0:0): Check Condition on CDB: 0x00 00 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd1(umass0:0:0:1): Check Condition on CDB: 0x00 20 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd2(umass0:0:0:2): Check Condition on CDB: 0x00 40 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd3(umass0:0:0:3): Check Condition on CDB: 0x00 60 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd0(umass0:0:0:0): Check Condition on CDB: 0x00 00 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd1(umass0:0:0:1): Check Condition on CDB: 0x00 20 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd2(umass0:0:0:2): Check Condition on CDB: 0x00 40 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd3(umass0:0:0:3): Check Condition on CDB: 0x00 60 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd0(umass0:0:0:0): Check Condition on CDB: 0x00 00 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd1(umass0:0:0:1): Check Condition on CDB: 0x00 20 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd2(umass0:0:0:2): Check Condition on CDB: 0x00 40 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd3(umass0:0:0:3): Check Condition on CDB: 0x00 60 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd0(umass0:0:0:0): Check Condition on CDB: 0x00 00 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd1(umass0:0:0:1): Check Condition on CDB: 0x00 20 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd2(umass0:0:0:2): Check Condition on CDB: 0x00 40 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

sd3(umass0:0:0:3): Check Condition on CDB: 0x00 60 00 00 00 00
SENSE KEY: Not Ready
COMMAND INFO: 11162944 (0xaa5540)
ASC/ASCQ: Medium Not Present

boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
dual boot with osol chill FreeBSD Installation and Upgrading 4 2nd February 2009 10:23 AM
dual boot buba OpenBSD General 2 5th August 2008 11:32 AM
How to detect the frequency of individual cores in a dual core processor? mc_i2020 FreeBSD General 5 18th July 2008 01:46 AM
Dual core and FreeBSD ViperChief FreeBSD General 13 2nd June 2008 08:30 PM
Dual-boot laptop won't boot OpenBSD after upgrade to 4.3 kbeaucha OpenBSD Installation and Upgrading 17 30th May 2008 02:40 PM


All times are GMT. The time now is 08:54 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick