View previous topic :: View next topic |
Author |
Message |
phaedrus42 n00b
Joined: 11 Jun 2007 Posts: 1 Location: Cape Town, South Africa
|
Posted: Mon Jun 11, 2007 8:35 pm Post subject: SMP 64-bit kernel on HP9000 N4000-55 ? |
|
|
Hi all,
First post.
Just acquired a "full-house" HP N4000 box with 8 550MHz CPUs, 12GB RAM and 2x 36GB drives.
The 2007.0 minimal-install cd booted perfectly using only one cpu and 2 GB RAM and I did a stage3 install and all updates via serial console and ssh.
I have compiled the kernel with 64bit and SMP support but it fails during boot with "Badness at arch/parisc/kernel/smp.c:322"
I have read on:
http://www.hispafuentes.com/hf-doc/HOWTOs/Linux-html-HOWTOs-20021014/HOWTO/PA-RISC-Linux-Boot-HOWTO/hardware.html
that these machines did not SMP under Linux but also read elsewhere on:
http://www.pateam.org/archive/logs/dmesg_N4000.txt
that it had been done successfully.
Anyone have experience with this problem?
The boot as shown in minicom: (Apologies for the length but details may be important)
Kernel config avl. if needed.
Thanks for your attention so far.
-P.
---------------------------------------------------------------------
Firmware Version 43.43
Duplex Console IO Dependent Code (IODC) revision 1
------------------------------------------------------------------------------
(c) Copyright 1995-2002, Hewlett-Packard Company, All rights reserved
------------------------------------------------------------------------------
Processor Speed State CoProcessor State Cache Size
Number State Inst Data
--------- -------- --------------------- ----------------- ------------
0 550 MHz Active Functional 512 KB 1 MB
1 550 MHz Idle Functional 512 KB 1 MB
2 550 MHz Idle Functional 512 KB 1 MB
3 550 MHz Idle Functional 512 KB 1 MB
4 550 MHz Idle Functional 512 KB 1 MB
5 550 MHz Idle Functional 512 KB 1 MB
6 550 MHz Idle Functional 512 KB 1 MB
7 550 MHz Idle Functional 512 KB 1 MB
Central Bus Speed (in MHz) : 133
Available Memory : 11534336 KB
Good Memory Required : 17936 KB
Primary boot path: 0/0/2/0.6
Alternate boot path: 0/0/2/1.6
Console path: 0/0/4/0.0
Keyboard path: 0/0/4/0.0
WARNING: Current loading of DIMMs failed the distribution check. This
means the memory subsystem may not operate at optimal
performance levels. To correct, refer to DIMM loading rules
and re-distribute DIMMs.
Processor is booting from first available device.
To discontinue, press any key within 10 seconds.
Boot terminated.
---- Main Menu ---------------------------------------------------------------
Command Description
------- -----------
BOot [PRI|ALT|<path>] Boot from specified path
PAth [PRI|ALT] [<path>] Display or modify a path
SEArch [DIsplay|IPL] [<path>] Search for boot devices
COnfiguration menu Displays or sets boot values
INformation menu Displays hardware information
SERvice menu Displays service commands
DIsplay Redisplay the current menu
HElp [<menu>|<command>] Display help for menu or command
RESET Restart the system
----
Main Menu: Enter command or menu > sea
Searching for potential boot device(s)
This may take several minutes.
To discontinue search, press any key (termination may not be immediate).
IODC
Path# Device Path (dec) Device Path (mnem) Device Type Rev
----- ----------------- ------------------ ----------- ----
P0 0/0/1/0.1 extscsi.1 Random access media 1
P1 0/0/2/0.6 intscsia.6 Random access media 1
P2 0/0/2/1.6 intscsib.6 Random access media 1
Main Menu: Enter command or menu > bo p1
Interact with IPL (Y, N, or Cancel)?> y
Booting...
Boot IO Dependent Code (IODC) revision 1
HARD Booted.
palo ipl 1.14 root@livecd Sun Jun 10 21:57:16 Local time zone must be set--see zic manual page 2007
Partition Start(MB) End(MB) Id Type
1 1 48 f0 Palo
2 49 143 83 ext2
3 144 32759 83 ext2
4 32760 34732 82 swap
PALO(F0) partition contains:
Information: No console specified on kernel command line. This is normal.
PALO will choose the console currently used by firmware (serial).Current command line:
2/linux-2.6.20.1-hppa root=/dev/sda3 console=ttyS0
0: 2/linux-2.6.20.1-hppa
1: root=/dev/sda3
2: console=ttyS0
<#> edit the numbered field
'b' boot with this command line
'r' restore command line
'l' list dir
? b
Command line for kernel: 'root=/dev/sda3 console=ttyS0 palo_kernel=2/linux-2.6.20.1-hppa'
Selected kernel: /linux-2.6.20.1-hppa from partition 2
ELF64 executable
Entry 00100000 first 00100000 n 3
Segment 0 load 00100000 size 7159808 mediaptr 0x1000
Segment 1 load 00840000 size 544336 mediaptr 0x6d5000
Segment 2 load 008c8000 size 352784 mediaptr 0x75a000
Branching to kernel entry point 0x00100000. If this is the last
message you see, you may need to switch your console. This is
a common symptom -- search the FAQ and mailing list at parisc-linux.org
Linux version 2.6.20.1-hppa (root@livecd) (gcc version 4.1.1 (Gentoo 4.1.1)) #2 SMP Mon Jun 11 22:46:30 SAST 2007
FP[0] enabled: Rev 1 Model 16
The 64-bit Kernel has started...
Initialized PDC Console for debugging.
Determining PDC firmware type: 64 bit PAT.
model 00005d30 00000491 00000000 00000002 25ee60ba 100000f0 00000008 000000b2 000000b2
vers 00000301
CPUID vers 18 rev 11 (0x0000024b)
capabilities 0x1
model 9000/800/N4000-55
This Machine has more memory ranges than we support!
Some memory will not be used!
Total Memory: 2048 MB
SMP: bootstrap CPU ID is 0
Built 1 zonelists. Total pages: 517120
Kernel command line: root=/dev/sda3 console=ttyS0 palo_kernel=2/linux-2.6.20.1-hppa
PID hash table entries: 4096 (order: 12, 32768 bytes)
Console: colour dummy device 128x48
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Memory: 2052352k/2097152k available (4754k kernel code, 44564k reserved, 2189k data, 348k init)
virtual kernel memory layout:
vmalloc : 0x0000000000008000 - 0x000000003f000000 (1007 MB)
memory : 0x0000000040000000 - 0x00000000c0000000 (2048 MB)
.init : 0x00000000408c8000 - 0x000000004091f000 ( 348 kB)
.data : 0x00000000405a49b0 - 0x00000000407c8000 (2189 kB)
.text : 0x0000000040100000 - 0x00000000405a49b0 (4754 kB)
Mount-cache hash table entries: 256
Brought up 1 CPUs
NET: Registered protocol family 16
Searching for devices...
Found devices:
1. Unknown machine at 0xfffffffffed21000 [33] { 0, 0x0, 0x5d3, 0x00000 }
2. Unknown machine at 0xfffffffffed25000 [37] { 0, 0x0, 0x5d3, 0x00000 }
3. Unknown machine at 0xfffffffffed29000 [41] { 0, 0x0, 0x5d3, 0x00000 }
4. Unknown machine at 0xfffffffffed2d000 [45] { 0, 0x0, 0x5d3, 0x00000 }
5. Unknown machine at 0xfffffffffed61000 [97] { 0, 0x0, 0x5d3, 0x00000 }
6. Unknown machine at 0xfffffffffed65000 [101] { 0, 0x0, 0x5d3, 0x00000 }
7. Unknown machine at 0xfffffffffed69000 [105] { 0, 0x0, 0x5d3, 0x00000 }
8. Unknown machine at 0xfffffffffed6d000 [109] { 0, 0x0, 0x5d3, 0x00000 }
9. DEW BC Runway Port at 0xfffffffffed20000 [32] { 7, 0x0, 0x584, 0x0000c }
10. DEW BC Runway Port at 0xfffffffffed24000 [36] { 7, 0x0, 0x584, 0x0000c }
11. DEW BC Runway Port at 0xfffffffffed28000 [40] { 7, 0x0, 0x584, 0x0000c }
12. DEW BC Runway Port at 0xfffffffffed2c000 [44] { 7, 0x0, 0x584, 0x0000c }
13. DEW BC Runway Port at 0xfffffffffed60000 [96] { 7, 0x0, 0x584, 0x0000c }
14. DEW BC Runway Port at 0xfffffffffed64000 [100] { 7, 0x0, 0x584, 0x0000c }
15. DEW BC Runway Port at 0xfffffffffed68000 [104] { 7, 0x0, 0x584, 0x0000c }
16. DEW BC Runway Port at 0xfffffffffed6c000 [108] { 7, 0x0, 0x584, 0x0000c }
17. Memory at 0xfffffffffedc0000 [192] { 1, 0x0, 0x090, 0x00009 }
18. IKE I/O BC Merced Port at 0xfffffffffed00000 [0] { 7, 0x0, 0x803, 0x0000c }
19. Elroy PCI Bridge at 0xffffffffbffe0000 [0/0] { 13, 0x0, 0x782, 0x0000a }
20. Elroy PCI Bridge at 0xffffffffbffe2000 [0/1] { 13, 0x0, 0x782, 0x0000a }
21. Elroy PCI Bridge at 0xffffffffbffe4000 [0/2] { 13, 0x0, 0x782, 0x0000a }
22. Elroy PCI Bridge at 0xffffffffbffe8000 [0/4] { 13, 0x0, 0x782, 0x0000a }
23. Elroy PCI Bridge at 0xffffffffbffea000 [0/5] { 13, 0x0, 0x782, 0x0000a }
24. Elroy PCI Bridge at 0xffffffffbfff0000 [0/8] { 13, 0x0, 0x782, 0x0000a }
25. Elroy PCI Bridge at 0xffffffffbfff4000 [0/10] { 13, 0x0, 0x782, 0x0000a }
26. Elroy PCI Bridge at 0xffffffffbfff8000 [0/12] { 13, 0x0, 0x782, 0x0000a }
27. IKE I/O BC Merced Port at 0xfffffffffed40000 [1] { 7, 0x0, 0x803, 0x0000c }
28. Elroy PCI Bridge at 0xfffffffffece0000 [1/0] { 13, 0x0, 0x782, 0x0000a }
29. Elroy PCI Bridge at 0xfffffffffece4000 [1/2] { 13, 0x0, 0x782, 0x0000a }
30. Elroy PCI Bridge at 0xfffffffffece8000 [1/4] { 13, 0
********** VIRTUAL FRONT PANEL **********
System Boot detected
*****************************************
LEDs: RUN ATTENTION FAULT REMOTE POWER
FLASH FLASH OFF OFF ON
LED State: Running non-OS code. Non-critical error detected.
Check Chassis and Console Logs for error messages.
processor system initialization 1C00
*****************************************
************ EARLY BOOT VFP *************
End of early boot detected
*****************************************
FP[7] enabled: Rev 1 Model 16
migration_cost=4000
CPU(s): 8 x PA8600 (PCX-W+) at 550.000000 MHz
Setting cache flush threshold to ff7c0 (8 CPUs online)
SBA found Ike rev 2 at 0xfffffffffed00000
SBA found Ike rev 2 at 0xfffffffffed40000
Elroy version TR4.0 (0x5) found at 0xffffffffbffe0000
Elroy version TR4.0 (0x5) found at 0xffffffffbffe2000
Elroy version TR4.0 (0x5) found at 0xffffffffbffe4000
Elroy version TR4.0 (0x5) found at 0xffffffffbffe8000
Elroy version TR4.0 (0x5) found at 0xffffffffbffea000
Elroy version TR4.0 (0x5) found at 0xffffffffbfff0000
Elroy version TR4.0 (0x5) found at 0xffffffffbfff4000
Elroy version TR4.0 (0x5) found at 0xffffffffbfff8000
Elroy version TR4.0 (0x5) found at 0xfffffffffece0000
Elroy version TR4.0 (0x5) found at 0xfffffffffece4000
Elroy version TR4.0 (0x5) found at 0xfffffffffece8000
Elroy version TR4.0 (0x5) found at 0xfffffffffecf0000
Elroy version TR4.0 (0x5) found at 0xfffffffffecf4000
Elroy version TR4.0 (0x5) found at 0xfffffffffecf8000
powersw: Soft power switch support not available.
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
Chassis warnings not supported.
unwind_init: start = 0x406c9e20, end = 0x407029a0, entries = 14520
Performance monitoring counters enabled for Unknown machine
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
PDC Stable Storage facility v0.30
STI GSC/PCI core graphics driver Version 0.9a
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
0000:00:04.0: ttyS0 at MMIO 0xffffffff80000000 (irq = 70) is a 16550A
0000:00:04.0: ttyS1 at MMIO 0xffffffff80000008 (irq = 70) is a 16550A
0000:00:04.0: ttyS2 at MMIO 0xffffffff80000010 (irq = 70) is a 16550A
0000:00:05.0: ttyS3 at MMIO 0xffffffff80003000 (irq = 71) is a 16550A
Couldn't register serial port 0000:00:05.0: -28
RAMDISK driver initialized: 16 RAM disks of 6144K size 1024 blocksize
loop: loaded (max 8 devices)
Linux Tulip driver version 1.1.14 (May 11, 2002)
tulip0: no phy info, aborting mtable build
tulip0: MII transceiver #1 config 1000 status 782d advertising 01e1.
eth0: Digital DS21142/43 Tulip rev 65 at Port 0x80, 00:30:6E:0C:4C:45, IRQ 66.
tulip1: EEPROM default media type Autosense.
tulip1: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
tulip1: MII transceiver #1 config 3100 status 7849 advertising 0101.
eth1: Digital DS21142/43 Tulip rev 65 at Port 0x40000, 00:30:6E:0C:83:7F, IRQ 72.
tulip2: EEPROM default media type Autosense.
tulip2: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
tulip2: MII transceiver #1 config 3100 status 7849 advertising 0101.
eth2: Digital DS21142/43 Tulip rev 65 at Port 0xd0000, 00:30:6E:0C:73:94, IRQ 73.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
sym0: <895> rev 0x1 at pci 0000:00:01.0 irq 67
sym0: PA-RISC Firmware, ID 7, Fast-40, SE, parity checking
sym0: SCSI BUS has been reset.
sym0: SCSI BUS mode change from SE to SE.
scsi0 : sym-2.2.3
sym0: SCSI BUS has been reset.
scsi 0:0:1:0: CD-ROM HP DVD-ROM 6x/32x 1.08 PQ: 0 ANSI: 2
target0:0:1: Beginning Domain Validation
target0:0:1: asynchronous
target0:0:1: FAST-20 SCSI 20.0 MB/s ST (50 ns, offset
target0:0:1: Domain Validation skipping write tests
target0:0:1: Ending Domain Validation
sym1: <875> rev 0x14 at pci 0000:00:02.0 irq 68
sym1: PA-RISC Firmware, ID 7, Fast-20, SE, parity checking
sym1: SCSI BUS has been reset.
scsi1 : sym-2.2.3
scsi 1:0:6:0: Direct-Access HP 36.4G ST336706LC HP05 PQ: 0 ANSI: 2
target1:0:6: tagged command queuing enabled, command queue depth 16.
target1:0:6: Beginning Domain Validation
target1:0:6: asynchronous
target1:0:6: wide asynchronous
target1:0:6: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 16)
target1:0:6: Domain Validation skipping write tests
target1:0:6: Ending Domain Validation
sym2: <875> rev 0x14 at pci 0000:00:02.1 irq 69
sym2: PA-RISC Firmware, ID 7, Fast-20, SE, parity checking
sym2: SCSI BUS has been reset.
scsi2 : sym-2.2.3
scsi 2:0:6:0: Direct-Access HP 36.4G ST336706LC HP05 PQ: 0 ANSI: 2
target2:0:6: tagged command queuing enabled, command queue depth 16.
target2:0:6: Beginning Domain Validation
target2:0:6: asynchronous
target2:0:6: wide asynchronous
target2:0:6: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 16)
target2:0:6: Domain Validation skipping write tests
target2:0:6: Ending Domain Validation
st: Version 20061107, fixed bufsize 32768, s/g segs 256
SCSI device sda: 71132960 512-byte hdwr sectors (36420 MB)
sda: Write Protect is off
SCSI device sda: write cache: disabled, read cache: enabled, supports DPO and FUA
SCSI device sda: 71132960 512-byte hdwr sectors (36420 MB)
sda: Write Protect is off
SCSI device sda: write cache: disabled, read cache: enabled, supports DPO and FUA
sda: sda1 sda2 sda3 sda4
sd 1:0:6:0: Attached scsi disk sda
SCSI device sdb: 71132960 512-byte hdwr sectors (36420 MB)
sdb: Write Protect is off
SCSI device sdb: write cache: disabled, read cache: enabled, supports DPO and FUA
SCSI device sdb: 71132960 512-byte hdwr sectors (36420 MB)
sdb: Write Protect is off
SCSI device sdb: write cache: disabled, read cache: enabled, supports DPO and FUA
sdb: sdb1 sdb2
sd 2:0:6:0: Attached scsi disk sdb
sr0: scsi3-mmc drive: 0x/0x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 0:0:1:0: Attached scsi generic sg0 type 5
sd 1:0:6:0: Attached scsi generic sg1 type 0
sd 2:0:6:0: Attached scsi generic sg2 type 0
usbmon: debugfs is not available
USB Universal Host Controller Interface driver v3.0
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
HP SDC: No SDC found.
HP SDC MLC: Registering the System Domain Controller's HIL MLC.
HP SDC MLC: Request for raw HIL ISR hook denied
mice: PS/2 mouse device common for all mice
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
raid6: int64x1 489 MB/s
raid6: int64x2 630 MB/s
raid6: int64x4 659 MB/s
raid6: int64x8 461 MB/s
raid6: using algorithm int64x4 (659 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
raid5: measuring checksumming speed
8regs : 2606.000 MB/sec
8regs_prefetch: 2073.000 MB/sec
32regs : 2574.000 MB/sec
32regs_prefetch: 2015.000 MB/sec
raid5: using function: 8regs (2606.000 MB/sec)
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
Advanced Linux Sound Architecture Driver Version 1.0.14rc1 (Tue Jan 09 09:56:17 2007 UTC).
ALSA device list:
No soundcards found.
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
Time: cr16 clocksource has been installed.
Time: jiffies clocksource has been installed.
md: autorun ...
md: ... autorun DONE.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: <0>------------[ cut here ]------------
Badness at arch/parisc/kernel/smp.c:322
Backtrace:
[<000000004011ccac>] smp_call_function+0x5c/0x348
[<0000000040140930>] printk+0x40/0x50
[<00000000402f6c30>] memcpy+0x28/0x40
[<0000000040599e94>] register_rpc_pipefs+0x64/0x78
[<000000access+0x1c/0x28
[<000000004010fbc4>] init+0x3ec/0x560
[<000000004010347c>] ret_f
********** VIRTUAL FRONT PANEL **********
System Boot detected
*****************************************
LEDs: RUN ATTENTION FAULT REMOTE POWER
ON FLASH OFF OFF ON
LED State: There was a system interruption that did not take the system down.
Check Chassis and Console Logs for error messages.
processor system initialization 1C00
*****************************************
************ EARLY BOOT VFP *************
End of early boot detected
*****************************************
Gentoo Linux; http://www.gentoo.org/
Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2
Press I to enter interactive boot mode
* Mounting proc at /proc ...
-----
And here it hangs... javascript:emoticon('') |
|
Back to top |
|
|
gmsoft Retired Dev
Joined: 08 Jun 2004 Posts: 20
|
Posted: Sun Jun 17, 2007 12:51 pm Post subject: |
|
|
Hey phaedrus42,
Unfortunately, the current kernel isn't good for SMP. You will need to run in UP mode for now.
If you want to try out SMP, you need to have the latest kernel from GIT :
http://git.kernel.org/?p=linux/kernel/git/kyle/parisc-2.6.git
The following command will copy this kernel on your system (you need dev-utils/git) :
git-clone git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6.git parisc-2.6
Even tho, I'm not sure this will work fine since I've had issues lately with latest glibc and this patched SMP kernel.
The best would be to stick with <glibc-2.5 and this latest kernel.
Once 2.6.22 is out, I'll make it available in portage.
HTH,
Guy |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|