NR_CPUS is only 32

2009-08-22 Thread Stewart Smith
The sparc64-SMP kernels seem to only support up to 32 CPU cores. It's
increasingly hard to get a SPARC box with less than this... should it be
raised? Maybe to 128 or 256? (128 is fairly easy to get too actually)
-- 
Stewart Smith


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Ultra 10 assistance

2009-08-22 Thread Mark Morgan Lloyd

Dave Barnett wrote:

I believed the issue to be the NVRAM/TOD chip, but replacing it has not 
changed anything.  I have swapped the power supply, removed all PCI 
cards, and the machine continues to have some limited activity as above, 
but without the power light illuminated, it will not do anything visible 
-- i.e. nothing on the attached monitor.


Is the keyboard properly plugged in? Will it run if started with 
something attached to serial port A?


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]


--
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Sun Blade 100 - boot issue

2009-08-22 Thread Nataraj M Basappa
hi,
 i am new to sparc hardware, just found this isse after setting up
lenny using netboot install.
default kernal options on the stock kernel fails (see attached txt -
withoutdma.txt), if i add ide=nodma boots correctly. is this a known
issue? (as i found on some ubuntu forums)
let me know if more info is required. below is lspci output

00:03.0 Non-VGA unclassified device: ALi Corporation M7101 Power Management Cont
roller [PMU]
00:05.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
00:07.0 ISA bridge: ALi Corporation M1533/M1535/M1543 PCI to ISA Bridge [Aladdin
 IV/V/V+]
00:08.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controlle
r Audio Device (rev 01)
00:0c.0 Bridge: Sun Microsystems Computer Corp. RIO EBUS (rev 01)
00:0c.1 Ethernet controller: Sun Microsystems Computer Corp. RIO 10/100 Ethernet
 [eri] (rev 01)
00:0c.2 FireWire (IEEE 1394): Sun Microsystems Computer Corp. RIO 1394 (rev 01)
00:0c.3 USB Controller: Sun Microsystems Computer Corp. RIO USB (rev 01)
00:0d.0 IDE interface: ALi Corporation M5229 IDE (rev c3)
00:13.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 65)
01:02.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14)
01:02.1 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14)

cheers!
nataraj


Sun Blade 100 (UltraSPARC-IIe), No Keyboard
Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.17.1, 1792 MB memory installed, Serial #50636767.
Ethernet address 0:3:ba:4:a7:df, Host ID: 8304a7df.



Boot device: disk  File and args:
SILO Version 1.4.13
boot:
Allocated 8 Megs of memory at 0x4000 for kernel
Uncompressing image...
Loaded kernel version 2.6.26
Loading initial ramdisk (6314719 bytes at 0x6F80 phys, 0x40C0 virt)...
-
[0.00] PROMLIB: Sun IEEE Boot Prom 'OBP 4.17.1 2005/04/11 14:31'
[0.00] PROMLIB: Root node compatible:
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 2.6.26-2-sparc64 (Debian 2.6.26-17lenny2) (da...@de
bian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 Sat Aug
 15 22:45:07 UTC 2009
[0.00] console [earlyprom0] enabled
[0.00] ARCH: SUN4U
[0.00] Ethernet address: 00:03:ba:04:a7:df
[0.00] Kernel: Using 1 locked TLB entries for main kernel image.
[0.00] Remapping the kernel... done.
[0.00] OF stdout device is: /p...@1f,0/i...@7/ser...@0,3f8
[0.00] PROM: Built device tree with 60468 bytes of memory.
[0.00] Top of RAM: 0x6ff0c000, Total RAM: 0x6fef6000
[0.00] Memory hole size: 0MB
[0.00] [0002-f840] page_structs=131072 node=0 en
try=0/0
[0.00] [0002-f880] page_structs=131072 node=0 en
try=1/0
[0.00] [00020070-f8c0] page_structs=131072 node=0 en
try=2/0
[0.00] [00020070-f8000100] page_structs=131072 node=0 en
try=3/0
[0.00] Zone PFN ranges:
[0.00]   Normal  0 -   229254
[0.00] Movable zone start PFN for each node
[0.00] early_node_map[3] active PFN ranges
[0.00] 0:0 -   227327
[0.00] 0:   227328 -   229240
[0.00] 0:   229250 -   229254
[0.00] Booting Linux...
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total pag
es: 227675
[0.00] Kernel command line: root=/dev/hda2 ro
[0.00] PID hash table entries: 4096 (order: 12, 32768 bytes)
[0.00] clocksource: mult[b40001] shift[16]
[0.00] clockevent: mult[16c16bf] shift[32]
[   45.811263] Console: colour dummy device 80x25
[   45.869648] console handover: boot [earlyprom0] - real [tty0]
[0.00] PROMLIB: Sun IEEE Boot Prom 'OBP 4.17.1 2005/04/11 14:31'
[0.00] PROMLIB: Root node compatible:
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 2.6.26-2-sparc64 (Debian 2.6.26-17lenny2) (da...@de
bian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 Sat Aug
 15 22:45:07 UTC 2009
[0.00] console [earlyprom0] enabled
[0.00] ARCH: SUN4U
[0.00] Ethernet address: 00:03:ba:04:a7:df
[0.00] Kernel: Using 1 locked TLB entries for main kernel image.
[0.00] Remapping the kernel... done.
[0.00] OF stdout device is: /p...@1f,0/i...@7/ser...@0,3f8
[0.00] PROM: Built device tree with 60468 bytes of memory.
[0.00] Top of RAM: 0x6ff0c000, Total RAM: 0x6fef6000
[0.00] Memory hole size: 0MB
[0.00] [0002-f840] page_structs=131072 node=0 en
try=0/0
[0.00] [0002-f880] page_structs=131072 node=0 en
try=1/0
[0.00] [00020070-f8c0] page_structs=131072 node=0 en
try=2/0
[0.00] [00020070-f8000100] page_structs=131072 node=0 en
try=3/0
[0.00] Zone PFN ranges:
[0.00]   Normal  0 -   229254
[

Re: NR_CPUS is only 32

2009-08-22 Thread Josip Rodin
On Fri, Aug 21, 2009 at 11:14:46PM -0700, Stewart Smith wrote:
 The sparc64-SMP kernels seem to only support up to 32 CPU cores. It's
 increasingly hard to get a SPARC box with less than this... should it be
 raised? Maybe to 128 or 256? (128 is fairly easy to get too actually)

File a wishlist bug against the kernel package you used?

-- 
 2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Sun Blade 100 - boot issue

2009-08-22 Thread Josip Rodin
On Sat, Aug 22, 2009 at 11:41:41AM +0100, Nataraj M Basappa wrote:
  i am new to sparc hardware, just found this isse after setting up
 lenny using netboot install.
 default kernal options on the stock kernel fails (see attached txt -
 withoutdma.txt), if i add ide=nodma boots correctly. is this a known
 issue? (as i found on some ubuntu forums)
 let me know if more info is required. below is lspci output
 
 00:0d.0 IDE interface: ALi Corporation M5229 IDE (rev c3)

 [   60.391934] ALI15X3: IDE controller (0x10b9:0x5229 rev 0xc3) at  PCI slot 
 :00:0d.0
 [   60.507252] ALI15X3: 100% native mode on irq 15
 [   60.577648] ide0: BM-DMA at 0x1fe02000a20-0x1fe02000a27
 [   60.661826] ide1: BM-DMA at 0x1fe02000a28-0x1fe02000a2f
 [   61.636625] hda: WDC WD400BB-22FJA0, ATA DISK drive
 [   62.172506] hdb: Pioneer DVD-ROM ATAPIModel DVD-116 0109, ATAPI CD/DVD-ROM 
 drive
 [   62.336668] hda: UDMA/66 mode selected
 [   62.396554] hdb: UDMA/66 mode selected
 [   63.024555] ide0 at 0x1fe02000a00-0x1fe02000a07,0x1fe02000a1a on irq 15
 [   63.122430] ide1 at 0x1fe02000a10-0x1fe02000a17,0x1fe02000a0a on irq 15
 [   63.441333] hda: max request size: 128KiB
 [   63.540733] hda: 78165360 sectors (40020 MB) w/2048KiB Cache, 
 CHS=65535/16/63
 [   63.645150] hda: cache flushes supported
 [   63.707565]  hda: hda1 hda2 hda3 hda4 hda5 hda6 hda7 hda8
 [   63.806606] hdb: ATAPI 40X DVD-ROM drive, 256kB Cache
 [   63.883799] Uniform CD-ROM driver Revision: 3.20

Please file a bug report against the kernel package that is in use there.
It's strange that nothing is shown as the reason for the kernel panic...

-- 
 2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Ultra 10 assistance

2009-08-22 Thread Dave Barnett

Mark Morgan Lloyd wrote:

Dave Barnett wrote:

I believed the issue to be the NVRAM/TOD chip, but replacing it has 
not changed anything.  I have swapped the power supply, removed all 
PCI cards, and the machine continues to have some limited activity as 
above, but without the power light illuminated, it will not do 
anything visible -- i.e. nothing on the attached monitor.


Is the keyboard properly plugged in? Will it run if started with 
something attached to serial port A?




As far as I can tell, yes.  When I power it up the lights across the top 
(Type 6 keyboard - num Loc, Caps Lock, Scroll Lock, Compose) flash on 
briefly.


It used to only work via a serial connection to [I believe] port A.  
Once it stopped working, I've gone back to trying to use a connected Sun 
keyboard and PC monitor via adapter.


This morning, I have the cover off.  When I power up the machine while 
holding Stop-N, I get a beep, the 4 lights flash on briefly and then 
off, I then hear the [CPU?] fan come up and then shut down.  The power 
light on the front of the machine never comes on.  This is the typical 
behavior.


If I leave it plugged in [or is it plugged in and turned on?] for a 
while, eventually, the front power LED will light -- takes a few days, 
though.


Cheers,
Dave


--
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



RE: Ultra 10 assistance

2009-08-22 Thread mubex....@gmail.com
Stop n rule

-Original Message-
From: Dave Barnett barne...@blueriver.net
Sent: Saturday, August 22, 2009 12:31 PM
To: Mark Morgan Lloyd markmll.debian-sp...@telemetry.co.uk
Cc: debian-sparc@lists.debian.org
Subject: Re: Ultra 10 assistance

Mark Morgan Lloyd wrote:
 Dave Barnett wrote:

 I believed the issue to be the NVRAM/TOD chip, but replacing it has 
 not changed anything.  I have swapped the power supply, removed all 
 PCI cards, and the machine continues to have some limited activity as 
 above, but without the power light illuminated, it will not do 
 anything visible -- i.e. nothing on the attached monitor.

 Is the keyboard properly plugged in? Will it run if started with 
 something attached to serial port A?


As far as I can tell, yes.  When I power it up the lights across the top 
(Type 6 keyboard - num Loc, Caps Lock, Scroll Lock, Compose) flash on 
briefly.

It used to only work via a serial connection to [I believe] port A.  
Once it stopped working, I've gone back to trying to use a connected Sun 
keyboard and PC monitor via adapter.

This morning, I have the cover off.  When I power up the machine while 
holding Stop-N, I get a beep, the 4 lights flash on briefly and then 
off, I then hear the [CPU?] fan come up and then shut down.  The power 
light on the front of the machine never comes on.  This is the typical 
behavior.

If I leave it plugged in [or is it plugged in and turned on?] for a 
while, eventually, the front power LED will light -- takes a few days, 
though.

Cheers,
Dave


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Sparc release requalification

2009-08-22 Thread Jurij Smakov
[dropping debian-release, as it's not very interesting for them anymore]

On Wed, Aug 19, 2009 at 12:00:54AM +0200, Josip Rodin wrote:
 On Tue, Aug 18, 2009 at 10:30:29PM +0100, Jurij Smakov wrote:
the sid kernels are not booting on my machine (SunBlade 1000), and I 
have
an independent confirmation from someone with a similar machine that 
they
are experiencing similar problems - I'm going to file a bug for that if
the situation does not improve with the next kernel upload.
   
   What seems to be the problem? FWIW the prtconfs.git repo has two SB1000
   entries one of which is davem's, so we should have upstream support for
   this at least.
  
  After the message mentioning the console handoff from earlyprom to a real
  console it proceeds to clear the screen, however after a couple of lines
  it hangs.
 
 Did you try to avoid the handoff? That patch davem keeps telling people to
 try when something like this happens:
 
 --- a/arch/sparc64/kernel/setup.c
 +++ b/arch/sparc64/kernel/setup.c
 @@ -82,7 +82,7 @@ unsigned long cmdline_memory_size = 0;
  static struct console prom_early_console = {
 .name = earlyprom,
 .write =prom_console_write,
 -   .flags =CON_PRINTBUFFER | CON_BOOT | CON_ANYTIME,
 +   .flags =CON_PRINTBUFFER | CON_ANYTIME,
 .index =-1,
  };

I tried this patch, and the box still hangs early during boot with the
latest kernel from unstable, even though console handover does not
appear to be happening anymore. Here's the last screenful of messages
I see on the serial console:

[0.00] Kernel: Using 2 locked TLB entries for main kernel image.
[0.00] Remapping the kernel... done.
[0.00] OF stdout device is: /p...@8,70/e...@5/ser...@1,40:a
[0.00] PROM: Built device tree with 73716 bytes of memory.
[0.00] Top of RAM: 0x7fede000, Total RAM: 0x7fed6000
[0.00] Memory hole size: 0MB
[0.00] [0002-f840] page_structs=131072 node=0 
entry=0/0
[0.00] [0002-f880] page_structs=131072 node=0 
entry=1/0
[0.00] [00020080-f8c0] page_structs=131072 node=0 
entry=2/0
[0.00] [00020080-f8000100] page_structs=131072 node=0 
entry=3/0
[0.00] Zone PFN ranges:
[0.00]   Normal   0x - 0x0003ff6f
[0.00] Movable zone start PFN for each node
[0.00] early_node_map[3] active PFN ranges
[0.00] 0: 0x - 0x0003f7ff
[0.00] 0: 0x0003f800 - 0x0003ff5d
[0.00] 0: 0x0003ff60 - 0x0003ff6f
[0.00] Booting Linux...
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 259948
[0.00] Kernel command line: root=LABEL=root ro
[0.00] NR_IRQS:255
[0.00] PID hash table entries: 4096 (order: 12, 32768 bytes)
[0.00] clocksource: mult[c8] shift[16]
[0.00] clockevent: mult[147ae14] shift[32]
[   57.812617] Console: colour dummy device 80x25
[   57.865696] console [tty0] enabled
[   60.031281] Dentry cache hash table entries: 262144 (order: 8, 2097152 bytes)
[   60.120115] Inode-cache hash table entries: 131072 (order: 7, 1048576 bytes)
[   60.311406] Memory: 2062032k available (3304k kernel code, 1248k data, 208k 
init) [f800,7fede000]
[   60.516890] Calibrating delay using timer specific routine.. 10.00 BogoMIPS 
(lpj=20015)
[   60.611164] Security Framework initialized
[   60.659890] SELinux:  Disabled at boot.
[   60.705771] Mount-cache hash table entries: 512
[   60.760489] Initializing cgroup subsys ns
[   60.807803] Initializing cgroup subsys cpuacct
[   60.860920] Initializing cgroup subsys devices
[   60.914042] Initializing cgroup subsys freezer
[   60.967166] Initializing cgroup subsys net_cls
[   61.022918] CPU 1: synchronized TICK with master CPU (last diff 0 cycles, 
maxerr 5 cycles)
[   61.022933] Brought up 2 CPUs
[   61.024050] net_namespace: 1936 bytes
[   61.200137] regulator: core version 0.5
[   61.245754] NET: Registered protocol family 16
[   61

It just hangs right there, with the last string only partially displayed
and cursor blinking right after '61'.

Best regards,
-- 
Jurij Smakov   ju...@wooyd.org
Key: http://www.wooyd.org/pgpkey/  KeyID: C99E03CC


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Sparc release requalification

2009-08-22 Thread Josip Rodin
On Sat, Aug 22, 2009 at 09:32:43PM +0100, Jurij Smakov wrote:
 the sid kernels are not booting on my machine (SunBlade 1000), and I 
 have
 an independent confirmation from someone with a similar machine that 
 they
 are experiencing similar problems - I'm going to file a bug for that 
 if
 the situation does not improve with the next kernel upload.

What seems to be the problem? FWIW the prtconfs.git repo has two SB1000
entries one of which is davem's, so we should have upstream support for
this at least.
   
   After the message mentioning the console handoff from earlyprom to a real
   console it proceeds to clear the screen, however after a couple of lines
   it hangs.
  
  Did you try to avoid the handoff? That patch davem keeps telling people to
  try when something like this happens:
  
  --- a/arch/sparc64/kernel/setup.c
  +++ b/arch/sparc64/kernel/setup.c
  @@ -82,7 +82,7 @@ unsigned long cmdline_memory_size = 0;
   static struct console prom_early_console = {
  .name = earlyprom,
  .write =prom_console_write,
  -   .flags =CON_PRINTBUFFER | CON_BOOT | CON_ANYTIME,
  +   .flags =CON_PRINTBUFFER | CON_ANYTIME,
  .index =-1,
   };
 
 I tried this patch, and the box still hangs early during boot with the
 latest kernel from unstable, even though console handover does not
 appear to be happening anymore. Here's the last screenful of messages
 I see on the serial console:
 
 [   61.022933] Brought up 2 CPUs
 [   61.024050] net_namespace: 1936 bytes
 [   61.200137] regulator: core version 0.5
 [   61.245754] NET: Registered protocol family 16
 [   61
 
 It just hangs right there, with the last string only partially displayed
 and cursor blinking right after '61'.

Ugh. I guess you need to git bisect then.

-- 
 2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org