Re: Sun documentation resources

2008-09-16 Thread Daniel Smolik

Ludovic Courtès napsal(a):

Hi,

Time passed...

Jurij Smakov <[EMAIL PROTECTED]> writes:

While attending Debconf8, I've met with Barton George, Sun's group 
manager for free and open source software. He pointed out the new 
documentation resource Sun have set up to assist open source 
developers in supporting Sun hardware:


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

If you would like to see some document not mentioned there, please let 
me know, and I can pass the information on to him.


That's good news!

It even mentions SunPCi cards, although only the specs of the latest
version are available (FWIW I have a SunPCi "Penguin" here).

Thanks!

Ludo'.



May be documentation about envctrl on E250 and E450 will be interested too.

Thanks
Dan




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Netboot E250 -- tftp problem

2008-01-22 Thread Daniel Smolik

Hero_xbd!.RRR napsal(a):

Hi, everybody!

I am trying to install a debian-sparc system on an old Enterprise 
250(E250) in our lab.


The CD-ROM on E250 is broken, so I need to do netboot and installation.

The problem is when netboot, there are problem with tftp downloading.

What I have done:

1. Setup a netboot server(Debian Sid i386), with rarpd and tftpd-hpa.
1.1. Edit /etc/ether and start rarpd.
1.2. Start tftpd-hpa(standalone, without inetd) with "-l -s /tftpboot -r 
blksize" option(edited in /etc/default/tftpd-hpa).

1.3. Getting a file from tftp server at another workstation works.

2. Turn on E250(in the same LAN as netboot server), Press Stop-A to get 
the OPENBOOT prompt, issue"boot net", it reads that:

Boot device:/[EMAIL PROTECTED],4000/[EMAIL PROTECTED],1 File and Args:
Time out waiting for ARP/RARP packet
4200 Data Access Error
and throw me to the "ok" prompt again.

3.1 To solve the problem, I did "net-watch-all" in E250's OPENBOOT 
prompt, it returned no error.
3.2 I used Wireshark(aka. ethereal) to sniffer network packets, It shows 
that E250 has issued a RARP query, and netboot server has respond one 
then E250 has got an IP address(But when I ping from netboot server to 
E250, it gives no response). Then E250 has queried an image file named 
according to its newly received IP address(hexadecimal, I can also see 
in tftp's log this request), but when netboot server respond with the 
tftp packet, wireshark shows the udp packet encapsuring tftp data has 
"udp checksum error"


4. The hardware of netboot server is:

CPU: Intel Cereron 1.7 Ghz
Chipset: Intel i845G
NIC: Realtek 8139



I don't know what to do now, I have tried everything I know and 
everything I can find on the net, but still stack with this problem. 
Please give me some suggestions.


Thanks in advance!

I don't know if my advice help you, but I use netboot on E250 and E450 
and Ultra 20 and Ultra 5 many times without problem.But first thing that 
I do is upgrading OPB to latest version and switch to DHCP :-)


I download OPB firmware from sunsolve put it on tftp server and boot it 
to upgrade OPB it works great and I use it.


Dan






--
Mydatex s r.o.
http://www.mydatex.cz
email: [EMAIL PROTECTED]
mob: 604200362
tel: 226210085


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Messy screen with ATI Mach64 on UltraIIi

2007-09-29 Thread Daniel Smolik

Hernest napsal(a):

Hi,

I am trying to upgrade an UltraIIi from an old Aurora Linux (kernel 2.4.20)
to Debian Etch (2.6.18), but I cannot get a workable framebuffer using the
PCI video card on the system (an ATI Mach64 GT, see logs below).

I am booting with the Debian netinst CD, but at all resolutions I tried,
I always get a black verical stripe in the middle of the screen and sometimes
the right half of the screen remains black. The thing is barely usable as I 
cannot see most of the comman line. With 2.4.20 everything is OK.


If I disable the framebuffer (with video=atyfb:off fb boot option) the screen 
does not get messy, but the Debian menu is unusable, so I have to find a way

to make the fb to work.

I have not overwritten anything so far, so I could compare the video timings
under 2.4.20 (when the screen is OK) and under 2.6.18 (when I get the mess).
Incredibly they are exactly the same.

Any idea to have a decent fb like it used to be in 2.4.20?

Thanks

Hernest

== lspci
80:03.0 VGA compatible controller: ATI Technologies Inc 3D Rage IIC 215IIC 
[Mach64 GT IIC] (rev 3a) (prog-if 00 [VGA])


== fbset -i (on both distributions!!)
mode "1024x768-59"
# D: 64.201 MHz, H: 47.769 kHz, V: 59.414 Hz
geometry 1024 768 1024 4064 8
timings 15576 128 56 27 3 136 6
hsync high
vsync high
csync high
accel true
rgba 8/0,8/0,8/0,0/0
endmode

Frame buffer device information:
Name: ATY Mach64
Address : 0x180
Size: 4186112
Type: PACKED PIXELS
Visual  : PSEUDOCOLOR
XPanStep: 8
YPanStep: 1
YWrapStep   : 0
LineLength  : 1024
MMIO Address: 0x17ff800
MMIO Size   : 2048
Accelerator : ATI Mach64GT

== Relevant kernel log (2.4.20)
PROMLIB: Sun IEEE Boot Prom 3.10.8 1999/03/17 12:34
Linux version 2.4.20-2.3sparc ([EMAIL PROTECTED]) (gcc driver version 
egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) executing gcc version egcs-

2.92.11) #1 Wed Jan 15 18:27:52 EST 2003
ARCH: SUN4U
[ ... ]
Kernel command line: root=/dev/sda2 ro
Console: colour dummy device 80x25
Calibrating delay loop... 665.19 BogoMIPS
Memory: 124176k available (1880k kernel code, 536k data, 152k init) 
[f800,07ec]

[ ... ]
atyfb: 3D RAGE IIC (PCI) [0x4756 rev 0x3a] 4M EDO, 14.31818 MHz XTAL, 230 MHz 
PLL, 83 Mhz MCLK

Console: switching to colour frame buffer device 128x48
fb0: ATY Mach64 frame buffer device on PCI
pty: 1024 Unix98 ptys configured
[ ... ]

== Relevant kernel log (2.6.18)
PROMLIB: Sun IEEE Boot Prom 'OBP 3.10.8 1999/03/17 12:34'
PROMLIB: Root node compatible: sun4u
Linux version 2.6.18-5-sparc64 (Debian 2.6.18.dfsg.1-13) ([EMAIL PROTECTED]) 
(gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 Mon May 21 
21:52:13 UTC 2007

ARCH: SUN4U
[ ... ]
Kernel command line: debconf/priority=low
PID hash table entries: 512 (order: 9, 4096 bytes)
Console: colour dummy device 80x25
[ ... ]
atyfb: 3D RAGE IIC (Mach64 GV, PCI) [0x4756 rev 0x3a]
atyfb: 4M EDO, 14.31818 MHz XTAL, 230 MHz PLL, 83 Mhz MCLK, 83 MHz XCLK
Console: switching to colour frame buffer device 128x48
atyfb: fb0: ATY Mach64 frame buffer device on PCI



Hi,
may be I have the same problem on E250. Problem is now solved in > 2.6.20.

Dan



--
Mydatex s r.o.
http://www.mydatex.cz
email: [EMAIL PROTECTED]
mob: 604200362
tel: 226210085


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: build sparc32 kernel deb on sparc64

2007-06-04 Thread Daniel Smolik

Robert Reif napsal(a):

Daniel Smolik wrote:


Robert Reif napsal(a):


Is it possible to build a sparc32 kernel deb on sparc64?

I can compile a 32 bit kernel using ARCH=sparc ok.
Running make-kpkg --arch sparc tries to compile a 64 bit kernel.
Setting an ARCH=sparc environment variable doesn't help.

Any one have any pointers on cross compiling a sparc32 kernel deb on 
a sparc64 system?




I normaly compile kernel for 32 sparc as:

sparc32 bash
make

Dan


This doesn't work for me:

netra:/usr/src/linux-2.6# sparc32 bash
-bash: sparc32: command not found

What package do I need to do this?  I just installed the standard 
(minimum) packages.



dpkg -S /usr/bin/sparc32
sparc-utils: /usr/bin/sparc32


Dan






--
Mydatex s r.o.
http://www.mydatex.cz
email: [EMAIL PROTECTED]
mob: 604200362
tel: 226210085


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: build sparc32 kernel deb on sparc64

2007-06-03 Thread Daniel Smolik

Robert Reif napsal(a):

Is it possible to build a sparc32 kernel deb on sparc64?

I can compile a 32 bit kernel using ARCH=sparc ok.
Running make-kpkg --arch sparc tries to compile a 64 bit kernel.
Setting an ARCH=sparc environment variable doesn't help.

Any one have any pointers on cross compiling a sparc32 kernel deb on a 
sparc64 system?




I normaly compile kernel for 32 sparc as:

sparc32 bash
make

Dan




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Major bug in mysql build (all versions since 4.1)

2007-04-15 Thread Daniel Smolik

BERTRAND Joël napsal(a):

Daniel Smolik a écrit :

BERTRAND Joël napsal(a):

Frans Pop a écrit :


tags 334339 - wontfix
thanks

On Sunday 25 March 2007 20:02, BERTRAND Joël wrote:


See bug #334339 (wontfix).



IMO the "wontfix" tag is not correct. There should at least be an 
explanation by the maintainer _why_ he considers this an issue that 
is does not need to be fixed.
Removing the tag as it was added without any justification. AFAICT 
this is a real issue that should be solved.



I aggree.

Bug was reported to mysql dev without success because dev have 
said that is a gcc-4.0 bug, not a mysql bug.



Yes, but the gcc maintainers have said that the bug there has been 
fixed

"long ago". Unfortunately they don't say in which version.



"has been fixed" ? I have tried to build mysql with _all_ gcc 
release between 3.3 and 4.1 without any success. Where have you seen 
that this bug was fixed ?



Maybe, but I think it is not very difficult to fix the configure.in
script to avoid this bug.



I have no idea about that and no idea how that would affect other 
architectures. Anyway, It is now probably too late to fix this for 
Etch.



I have no idea too. In a first time, I suspected a 32 bits wide 
userland and a 64 bits kernel... Maybe a trouble with gcc include on 
sparc architectures.


Regards,

JKB



Hi,
could you tell me if this bug
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413471
reported by me is the same as bug you reported ?


Yes, I think. But to be sure, you have to apply my workaround.

Regards,

JKB



Hi,
I am  100% sure that my  colleague  found fundamentals  of this bug.
On SPARC linux is used  thread safe version of gethostbyname 
genthostbyname_r. This function have third argument char buffer. But if 
this buffer is not correctly aligned (on SPARC / 4 ) program crashed 
with BUSS ERROR. I attach demonstrate program to test this issue. If you 
change  size of buffer from 1002 to 1000 program start working.

I mean  that simple workaround on SPARC is not use gethostbyname_r.
I try report this bug to glibc. Because  I mean that this is glibc bug 
or compatibility problem.


Regards
Dan






--
Mydatex s r.o.
http://www.mydatex.cz
email: [EMAIL PROTECTED]
mob: 604200362
tel: 226210085
#include
#include
#include 
#include 
#include 
#include 
#include 

extern int h_errno;


int  main(void)
{

int ret;
const char *name="karotka";
char buf[1002];
int  tmp_errno,buflen;
struct hostent tmp_hostent,*hp;
//struct hostent_data hd;
int size;

buflen=1000;

//size=sizeof(struct hostent_data);
//printf("size=%d\n",size);

  
  printf("Align buff result=%p,buffer=%p,buflen=%d\n",&tmp_hostent,buf,buflen);

  ret=gethostbyname_r(name,&tmp_hostent, buf,buflen,&hp,&tmp_errno);  

  printf("ret:=%d\n",ret);
  if(ret==0)
  {
  
if(hp)
{

printf("Lenght:=%d\n",hp->h_length);
printf("Addr:=%X\n",hp->h_addr);
printf("Name:=%s\n",hp->h_name);


}
  
  
  }






 return(ret);
}


Re: 'Illegal instruction' during boot

2007-04-01 Thread Daniel Smolik

Josip Rodin napsal(a):

On Sun, Apr 01, 2007 at 12:22:09PM +0200, Frans Pop wrote:


Rebooting the machine from Solaris and choosing to boot Linux
doesn't work


I now tried to boot from cdrom after a full poweroff and it worked.
Yay!


Should we add a small note about this into the release notes? (Frans?)


If we can identify which systems are affected and someone provides a text, 
sure. Suggest you file a BR against release-notes with the proposed text.



We have three reports so far, about Enterprise 450, Blade 2000 and Fire
V240. That should be a sample large enough for a mild hint to all users.

I must add E250 too.

Dan




--
Mydatex s r.o.
http://www.mydatex.cz
email: [EMAIL PROTECTED]
mob: 604200362
tel: 226210085


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 'Illegal instruction' during boot

2007-03-30 Thread Daniel Smolik

Josip Rodin napsal(a):

On Fri, Mar 30, 2007 at 05:12:33PM +0200, Daniel Smolik wrote:

I see the same problem on my E450 when I boot Solaris first. After 
reboot I choose linux and after this kernel crash with illegal 
instruction. A must power off machine to get linux boot.



You mean, power off as in run 'poweroff' and return to PROM, or
do you mean power off as in physically remove the power cable, return
it, and then boot from cdrom (to get Linux)?


I phycisally remove the power via the switch.

Dan


--
Mydatex s r.o.
http://www.mydatex.cz
email: [EMAIL PROTECTED]
mob: 604200362
tel: 226210085


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 'Illegal instruction' during boot

2007-03-30 Thread Daniel Smolik

Josip Rodin napsal(a):

On Fri, Mar 30, 2007 at 04:39:23PM +0200, Josip Rodin wrote:


I reproduced the 'Illegal instruction' just now on a Sun Fire V240...



BTW, it's a machine without a video card, so I tried using 'install
video=atyfb:off', to no avail. ctrace output with such an attempt is exactly
the same. FWIW, the OpenBoot version on the machine seems to be 4.11.4.

I see the same problem on my E450 when I boot Solaris first. After 
reboot I choose linux and after this kernel crash with illegal 
instruction. A must power off machine to get linux boot.


Dan



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Major bug in mysql build (all versions since 4.1)

2007-03-26 Thread Daniel Smolik



JKB


I must confirm that your workaround solve problem on all !!! version of 
mysql on SPARC I test it on latest mysql (5.0)  from experimental 
branch. Mysqlclient crashes everytime when you try access mysql on 
remote host.

I haver remote DB on i386,SPARC and crashes everytime.


Dan




Hi,
my colleague have theory for function this bug.
If you  say, that don't have reentrant version of GETHOSTBYNAME

(#undef HAVE_GETHOSTBYNAME_R) compiler use non reentrant version and 
this version is not afected by bug. May be write some test program to 
explain probem with glibc or gcc on SPARC platform.



Dan



--
Mydatex s r.o.
http://www.mydatex.cz
email: [EMAIL PROTECTED]
mob: 604200362
tel: 226210085


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Major bug in mysql build (all versions since 4.1)

2007-03-26 Thread Daniel Smolik

BERTRAND Joël napsal(a):

Daniel Smolik a écrit :


BERTRAND Joël napsal(a):


Frans Pop a écrit :


tags 334339 - wontfix
thanks

On Sunday 25 March 2007 20:02, BERTRAND Joël wrote:


See bug #334339 (wontfix).




IMO the "wontfix" tag is not correct. There should at least be an 
explanation by the maintainer _why_ he considers this an issue that 
is does not need to be fixed.
Removing the tag as it was added without any justification. AFAICT 
this is a real issue that should be solved.




I aggree.

Bug was reported to mysql dev without success because dev have 
said that is a gcc-4.0 bug, not a mysql bug.




Yes, but the gcc maintainers have said that the bug there has been 
fixed

"long ago". Unfortunately they don't say in which version.




"has been fixed" ? I have tried to build mysql with _all_ gcc 
release between 3.3 and 4.1 without any success. Where have you seen 
that this bug was fixed ?



Maybe, but I think it is not very difficult to fix the configure.in
script to avoid this bug.




I have no idea about that and no idea how that would affect other 
architectures. Anyway, It is now probably too late to fix this for 
Etch.




I have no idea too. In a first time, I suspected a 32 bits wide 
userland and a 64 bits kernel... Maybe a trouble with gcc include on 
sparc architectures.


Regards,

JKB



Hi,
could you tell me if this bug
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413471
reported by me is the same as bug you reported ?



Yes, I think. But to be sure, you have to apply my workaround.

Regards,

JKB


I must confirm that your workaround solve problem on all !!! version of 
mysql on SPARC I test it on latest mysql (5.0)  from experimental 
branch. Mysqlclient crashes everytime when you try access mysql on 
remote host.

I haver remote DB on i386,SPARC and crashes everytime.


Dan


--
Mydatex s r.o.
http://www.mydatex.cz
email: [EMAIL PROTECTED]
mob: 604200362
tel: 226210085



Re: Major bug in mysql build (all versions since 4.1)

2007-03-25 Thread Daniel Smolik

BERTRAND Joël napsal(a):

Frans Pop a écrit :


tags 334339 - wontfix
thanks

On Sunday 25 March 2007 20:02, BERTRAND Joël wrote:


See bug #334339 (wontfix).



IMO the "wontfix" tag is not correct. There should at least be an 
explanation by the maintainer _why_ he considers this an issue that is 
does not need to be fixed.
Removing the tag as it was added without any justification. AFAICT 
this is a real issue that should be solved.



I aggree.

Bug was reported to mysql dev without success because dev have 
said that is a gcc-4.0 bug, not a mysql bug.



Yes, but the gcc maintainers have said that the bug there has been fixed
"long ago". Unfortunately they don't say in which version.



"has been fixed" ? I have tried to build mysql with _all_ gcc 
release between 3.3 and 4.1 without any success. Where have you seen 
that this bug was fixed ?



Maybe, but I think it is not very difficult to fix the configure.in
script to avoid this bug.



I have no idea about that and no idea how that would affect other 
architectures. Anyway, It is now probably too late to fix this for Etch.



I have no idea too. In a first time, I suspected a 32 bits wide 
userland and a 64 bits kernel... Maybe a trouble with gcc include on 
sparc architectures.


Regards,

JKB



Hi,
could you tell me if this bug
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413471
reported by me is the same as bug you reported ?

Thanks
Dan







Re: dmsg error explain ?

2007-03-14 Thread Daniel Smolik

Roman Shakin napsal(a):
Hey guys my sun ultra 5 just started giving me these errors... 



CPU[0]: Correctable ECC Error AFSR[10] AFAR[20d44dd0] UDBL[1b9]
UDBH[0]
CPU[0]: UDBL Syndrome[1a] Memory Module "DIMM1"

I mean thats dying memory module. Try remove and insert  it sometimes helps.


Dan



along with 


hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=32794816,
sector=80289
6
end_request: I/O error, dev 03:07 (hda), sector 802896
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=32794816,
sector=80290
4
end_request: I/O error, dev 03:07 (hda), sector 802904
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=32794816,
sector=80291
2
end_request: I/O error, dev 03:07 (hda), sector 802912
^'

This one i know is a dying harddrive, but what about the other one ? 







--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Pending sparc patches

2007-03-07 Thread Daniel Smolik

Jurij Smakov napsal(a):

Hi,

Below is a list of patches I'm planning to commit to svn, and the 
patches themselves are attached. It is unlikely that they will make 
it into etch's initial release, most probably they will be included 
into the first point release. I'd appreciate if people with affected 
hardware would build the kernels with these patches included and 
report any problems or regressions. Let me know if some other 
essential bugfix is missing.


Hi,
please add this patch if possible
http://marc.theaimsgroup.com/?l=linux-sparc&m=117252788931806&w=3
without this e450 on kernel > 2.6.18 boot aprox. 6 minutes or doesn't
detect SCSI disks.

Regards
Dan








Author  : Emanuele Rocca <[EMAIL PROTECTED]>
Date: Tue, 27 Feb 2007 00:23:28 +0100
Message-ID  : <[EMAIL PROTECTED]>
Status  : included upstream
Description : fixes unaligned access in ether1394_reset_priv()

Author  : Doug Nazar <[EMAIL PROTECTED]>
Date: Tue, 27 Feb 2007 13:52:15 -0500
Message-ID  : <[EMAIL PROTECTED]>
Status  : pushed to netdev maintainer for inclusion
Description : fixes frequent unaligned accesses in ip_rcv() and 
ip_fast_csum()

Author  : Joerg Friedrich
Date: Thu, 15 Feb 2007 22:08:55 +0100
Message-ID  : <[EMAIL PROTECTED]>
Status  : acked by David Miller, pushed upstream
Description : fixes kenvctrld so it does not consume 100% CPU

Author  : David Miller
Date: Mon, 05 Mar 2007 01:11:39 -0800 (PST)
Message-ID  : <[EMAIL PROTECTED]>
Status  : pushed upstream
Description : fixes atyfb-related hang on Sunblade 100/150/1000

Best regards,




Author  : Emanuele Rocca <[EMAIL PROTECTED]>
Date: Tue, 27 Feb 2007 00:23:28 +0100
Message-ID  : <[EMAIL PROTECTED]>
Status  : included upstream
Description : fixes unaligned access in ether1394_reset_priv()

diff -aur a/drivers/ieee1394/eth1394.c b/drivers/ieee1394/eth1394.c
--- a/drivers/ieee1394/eth1394.c2006-09-20 06:42:06.0 +0300
+++ b/drivers/ieee1394/eth1394.c2007-03-08 08:01:43.0 +0200
@@ -65,6 +65,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 
 #include "csr1212.h"

@@ -491,7 +492,7 @@
int i;
struct eth1394_priv *priv = netdev_priv(dev);
struct hpsb_host *host = priv->host;
-   u64 guid = *((u64*)&(host->csr.rom->bus_info_data[3]));
+   u64 guid = get_unaligned(&(host->csr.rom->bus_info_data[3]));
u16 maxpayload = 1 << (host->csr.max_rec + 1);
int max_speed = IEEE1394_SPEED_MAX;
 





Author  : Doug Nazar <[EMAIL PROTECTED]>
Date: Tue, 27 Feb 2007 13:52:15 -0500
Message-ID  : <[EMAIL PROTECTED]>
Status  : pushed to netdev maintainer for inclusion
Description : fixes frequent unaligned accesses in ip_rcv() and 
ip_fast_csum()

diff --git a/drivers/net/tulip/tulip_core.c b/drivers/net/tulip/tulip_core.c
index 5a35354..e3774a5 100644
--- a/drivers/net/tulip/tulip_core.c
+++ b/drivers/net/tulip/tulip_core.c
@@ -67,7 +67,7 @@ const char * const medianame[32] = {
 
 /* Set the copy breakpoint for the copy-only-tiny-buffer Rx structure. */

 #if defined(__alpha__) || defined(__arm__) || defined(__hppa__) \
-   || defined(__sparc_) || defined(__ia64__) \
+   || defined(__sparc__) || defined(__ia64__) \
|| defined(__sh__) || defined(__mips__)
 static int rx_copybreak = 1518;
 #else





Author  : Joerg Friedrich
Date: Thu, 15 Feb 2007 22:08:55 +0100
Message-ID  : <[EMAIL PROTECTED]>
Status  : acked by David Miller, pushed upstream
Description : fixes kenvctrld so it does not consume 100% CPU

diff -aur a/drivers/sbus/char/bbc_i2c.c b/drivers/sbus/char/bbc_i2c.c
--- a/drivers/sbus/char/bbc_i2c.c   2006-09-20 06:42:06.0 +0300
+++ b/drivers/sbus/char/bbc_i2c.c   2007-03-08 08:14:46.0 +0200
@@ -187,19 +187,18 @@
bp->waiting = 1;
add_wait_queue(&bp->wq, &wait);
while (limit-- > 0) {
-   u8 val;
+   long val;
 
-		set_current_state(TASK_INTERRUPTIBLE);

-   *status = val = readb(bp->i2c_control_regs + 0);
-   if ((val & I2C_PCF_PIN) == 0) {
+   val = wait_event_interruptible_timeout(bp->wq,
+   (((*status = readb(bp->i2c_control_regs + 0)) & 
I2C_PCF_PIN) == 0),
+   msecs_to_jiffies(250));
+   if ((val != -ERESTARTSYS) && (val > 0))  {
ret = 0;
break;
}
-   msleep_interruptible(250);
}
remove_wait_queue(&bp->wq, &wai

Re: List of supported machines and flaws with it?

2007-03-05 Thread Daniel Smolik

Michelle Konzack napsal(a):

Hello,

I have seen on several mailinglists peoples asking about Debian support
for sun machines, namely older ones...

Since the CPU of my Sparc Ultra 20 is exploded (!!!) I have the need to
reinstall my SS10/512 (Dual-PU) and since I use older hardware many
peoples (specialy IT/Scientific students) have asked me about...

So not THE auestions:

1)  Is there a list od Sun Computers (SS5, SS10, SS20, SU5, SU10,
SU20) with which Release(s) they are working?



Ultra5 - 2.6.20 work all, I don't test X
SS5 -2.6.20  work all, Eth,SCSI,eject floppy (reading from floppy 
  doesn't work may be  HW problem)


E250 - work 2.6.20 SCSI,ETH,Envctrl (external patch),RSC,console frame 
buffer, X doesn't work need multidomain PCI patch may be Xorg 7.2 start 
working


E450(SMP)  - work 2.6.20 (with patch IRQ routing problem), SCSI, 
Envctrl,Eth, external disk array D1000 (SAF-TE preliminary supported).



Dan


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Firebird on SPARC

2007-03-03 Thread Daniel Smolik

Frans Pop napsal(a):

On Saturday 03 March 2007 16:00, Daniel Smolik wrote:
  

have anybody experience why is not Firebird in repository for SPARC ?



Look for icedove. Same thing.
  

Sorry I mean Firebird database :-)

Dan


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Firebird on SPARC

2007-03-03 Thread Daniel Smolik

Hi,
have anybody experience why is not Firebird in repository for SPARC ?

Thanks
Dan



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



netinstall via apt-cacher or apt-proxy

2007-03-01 Thread Daniel Smolik

Hi,
I start testing daily build of netboot install and want economize usage 
of my Internet line but installation doesn't work. I mean that problem 
is in installation script that use wget and not apt ( because apt is not 
still installed). My result is that apt-cacher or apt-proxy is not 
usable for installation and I must use some mirror tool. Am I right ?



Thanks
Dan




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



> 2.6.18 not broken now

2007-02-27 Thread Daniel Smolik

Hi,
in Sparc64 mailing list today David Miller publisted patch that solve 
problem with booting kernel > 2.6.18 on E450.



Dan



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: poweroff jumps to OBP instead of powering off

2007-02-26 Thread Daniel Smolik

Daniel J. Priem napsal(a):

Hi,
if i type poweroff on the console,
the systems shutdown and then jumps into the OPB instead of powering
off. It's Netra t1 105. this happens with recent kernels in etch.
I think its related to [1]

if (auxio_power_register && !serial_console)
in arch/sparc/kernel/process.c


if (!serial_console)
in arch/sparc64/kernel/power.c.

Any hints?
Is there already a sysctl option from kernel.org implemented?
Or should we patch the kernel in debian?

Any comments?
Regards
Daniel


[1] http://lists.debian.org/debian-sparc/2004/03/msg00134.html



I have oposite problem my E450 poweroff but not jumps to OBP as I want.
I edit /etc/defaults/halt and now it woks as I want.

Dan


--
Mydatex s r.o.
http://www.mydatex.cz
email: [EMAIL PROTECTED]
mob: 604200362
tel: 226210085


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: sparc32 etch status

2007-02-25 Thread Daniel Smolik

Robert Reif napsal(a):
I'm trying to install etch on all my sun4m machines.  My first attempt 
using a netinst CD didn't work because of the esp CD problem.  
Installing stable and then upgrading didn't work because I couldn't 
configure apt because of gpg errors.  I set up an LX running woody to 
netboot from and was able to get an ss20 working without problems.  
However I was unable to get a ss670mp and an ss5 working.  The ss670mp 
wasn't able to download from the internet.  I tried the onboard le, an 
sbus le and an sbus hme with the same results.  It just couldn't connect 
to a server.  The ss5 would connect to the server but would hang when 
probing the esp.  I could try installing the driver manually like on 
stable but that wasn't necessary on the ss20.  I'm trying to install on 
an LX and it connects to the server and probes the drive successfully 
but requires a low memory install.  I also have an ss10 and a Classic X 
to try.


I'm willing to test software or give more details if it would help.


I have SS5 and install stable over netboot without problem with esp. I 
have only small problem with partitioning disk because auto mode does'nt 
work  and with net install I cannot spawn shell to correct problem.


Dan


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [sun]install

2007-02-22 Thread Daniel Smolik

Eric Rapilly napsal(a):
hello, all of you. I got through the net an image to install the debian by the net. I'm new on debian and new on sun systems , but I'm rather old. 
Thus, I need help to either , go into the bios and tell to the machine to boot on the CD where is this image, or mount the cdrom and execute the shell. Thanks !!





You can boot machine over net this is way that I prefer. To OK prompt 
type boot net prepare RARP and tftp server and download image from


ftp://ftp.debian.cz/pub/debian/dists/sarge/main/installer-sparc/current/images/sparc64/netboot/2.6/boot.img
If you have Sparc64.

Regards
Dan


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: new user

2007-02-19 Thread Daniel Smolik

Frans Pop napsal(a):

On Monday 19 February 2007 22:01, Daniel Smolik wrote:


I have requested 2x E450, 1xE250, 1x SS5 and 1x Ultra5 all machines
have for playing. On all I run Debian Sid. I would like help with
testing.



That's excellent. Testing installations with Debian Installer periodically 
is very useful. So is testing kernels before or just after they are 
uploaded and maybe checking that X.Org runs correctly.
Yes testig kernel is my hobby. Now I compile on all machines latest 
kernels to see if works OK. Now > 2.6.18 don't work on e450 :-(




Note that testing becomes an awful lot more useful if you can also invest 
some time in tracing any issues that you might discover.


At the moment testing the daily builds [1] of the installer would be very 
useful. Please file an installation report [1] for each type of machine.


Yes I can do this but I prefer install over net. Because this image is 
small and thi machines are conected to the net over 512Kb line.



Cheers
Dan



Cheers,
FJP

[1] http://www.debian.org/devel/debian-installer/
[2] http://d-i.alioth.debian.org/manual/en.i386/ch05s03.html#submit-bug



--
Mydatex s r.o.
http://www.mydatex.cz
email: [EMAIL PROTECTED]
mob: 604200362
tel: 226210085


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



new user

2007-02-19 Thread Daniel Smolik

Hi all,
I have requested 2x E450, 1xE250, 1x SS5 and 1x Ultra5 all machines 
have for playing. On all I run Debian Sid. I would like help with testing.


Regards
Dan



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]