Re: Sun Blade 100 - boot issue

2009-08-24 Thread David Miller
From: Jurij Smakov 
Date: Mon, 24 Aug 2009 19:36:17 +0100

> One possibility to get relevant documentation would be to request controller
> specs via Sun FOSS hardware docs website:

Unfortunately the guy doing nearly all of the actual legwork
on that left Sun several months ago.


-- 
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-24 Thread Jurij Smakov
On Mon, Aug 24, 2009 at 02:57:54PM +0100, Alan Cox wrote:
> >  * pata_ali.c   - ALI 15x3 PATA for new ATA layer
> >  * based in part upon
> >  * linux/drivers/ide/pci/alim15x3.c Version 0.172003/01/02
> > 
> >  *  TODO/CHECK
> >  *  Review Sunblade workaround.
> > 
> > I'm sending this to the IDE list - what is the status of this driver,
> > and what can the users do to help?
> 
> Short of someone with a Sunblade and suitable documentation probably not
> a lot. The libata driver has some sunblade workarounds but I simply didn't
> have documentation on the Sun side of it sufficient to complete the job

One possibility to get relevant documentation would be to request controller
specs via Sun FOSS hardware docs website:

http://wikis.sun.com/display/FOSSdocs

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: Sun Blade 100 - boot issue

2009-08-24 Thread Alan Cox
>  * pata_ali.c   - ALI 15x3 PATA for new ATA layer
>  * based in part upon
>  * linux/drivers/ide/pci/alim15x3.c Version 0.172003/01/02
> 
>  *  TODO/CHECK
>  *  Review Sunblade workaround.
> 
> I'm sending this to the IDE list - what is the status of this driver,
> and what can the users do to help?

Short of someone with a Sunblade and suitable documentation probably not
a lot. The libata driver has some sunblade workarounds but I simply didn't
have documentation on the Sun side of it sufficient to complete the job

Alan


-- 
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-24 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)

On Mon, Aug 24, 2009 at 09:09:15AM +0100, Hugh Pumphrey wrote:
> I'm not an expert, but I have had Debian on a SunBlade 100 for a while.  
> I have always needed to use the ide=nodma option to get it to boot,  
> although the symptoms of allowing it to try DMA have varied from kernel  
> to kernel. Usually the boot process just hangs rather than doing the  
> kernel panic that you observe.

I googled a bit and it looks like the ALi 15x3 IDE controller/driver has
had various issues with Sun Blades over the years:

http://bugzilla.kernel.org/show_bug.cgi?id=7294
https://lists.linux-foundation.org/pipermail/bugme-new/2005-April/012164.html
http://www.cs.helsinki.fi/linux/linux-kernel/2002-25/0049.html

The latest incarnation of the driver even says:

 * pata_ali.c   - ALI 15x3 PATA for new ATA layer
 * based in part upon
 * linux/drivers/ide/pci/alim15x3.c Version 0.172003/01/02

 *  TODO/CHECK
 *  Review Sunblade workaround.

I'm sending this to the IDE list - what is the status of this driver,
and what can the users do to help?

-- 
 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-24 Thread Hugh Pumphrey

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? 


I'm not an expert, but I have had Debian on a SunBlade 100 for a while. 
I have always needed to use the ide=nodma option to get it to boot, 
although the symptoms of allowing it to try DMA have varied from kernel 
to kernel. Usually the boot process just hangs rather than doing the 
kernel panic that you observe.


A machine without DMA is tiresomely slow. I started with SPARCs because 
I could rescue them from the pile of machines that were being retired 
from work. But we are now throwing out PCs which are faster than the 
SunBlade 100 (and on which DMA works!), so I think the time is coming 
when my last SPARC box will be retired.


Best of luck

Hugh

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


--
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



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
[