Re: PPP network restarting problem

2004-04-13 Thread Janos Sziliczi
Hi,

Thanks for the information.
I found my problem in Debian-bugs page:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=222746

It is 133 days old.
All pppoe versions in Debian (stable, testing, unstable) are affected by
this bug.

I'm affraid that I have to write a small script (called by cron) or
something else which restarts ppp manually, if I want continuous
connection. :-(

On Mon, 12 Apr 2004, andrew burd wrote:

> I believe there are pppoe programs that handle all of that for you.

> > pppd[pid1]: Serial connection established.
> > pppd[pid1]: Couldn't create new ppp unit: Inappropriate ioctl for device
> > pppoe[pid3]: PADS: Service-Name: ''
> > pppoe[pid3]: PPP session is 34643
> > pppoe[pid3]: read (asyncReadFromPPP): Input/output error
> > pppoe[pid3]: Sent PADT



PPP network restarting problem

2004-04-12 Thread Janos Sziliczi
Hi All,

I have an ADSL internet connection. My provider cuts the continuous
connection daily (once a day). It isn't problem, because the PPP
tries to connect automatically when the connection is broken.

It works in i386 but not in my sparc (stable Debian).
I found the following logs in /var/log/syslog:

pppd[pid1]: LCP terminated by peer
pppoe[pid2]: Session terminated -- received PADT from peer
pppd[pid1]: Modem hangup
[...]
pppd[pid1]: Couldn't release PPP unit: Invalid argument
kernel: PPPIODETACH file->f_count=3

pppd[pid1]: Serial connection established.
pppd[pid1]: Couldn't create new ppp unit: Inappropriate ioctl for device
pppoe[pid3]: PADS: Service-Name: ''
pppoe[pid3]: PPP session is 34643
pppoe[pid3]: read (asyncReadFromPPP): Input/output error
pppoe[pid3]: Sent PADT

And the last six lines coming again and again.
Sometimes comes the following log also:

modprobe: modprobe: Can't locate module ppp0

When I try to start ppp manually (/etc/init.d/ppp start) it goes up and
works correctly.

Can anybody help me?
ppp: 2.4.1.uus-4, pppoe: 3.3-1.1, kernel: 2.4.25 sparc64

Thanks in advance,
Jana



Can't locate module char-major-4

2004-04-12 Thread Janos Sziliczi
Hi All,

I found the following logs in my syslog many-many times:

modprobe: modprobe: Can't locate module char-major-4
last message repeated XX times

I think this alias can be turned off using
'alias char-major-4 off' in modules.conf, but I don't want to do this at
the moment, because I don't know what does this alias.
So this is the question. :-)

Other things: the previous logs are followed by the next log messages:

init: Id "X" respawning too fast: disabled for 5 minutes

where "X" means: "1", "2", "3", "4" and "5".

I have UltraSparc I (netra) with stable Debian, 2.4.25 custom kernel (I've 
compiled it).

Only two UTP patch cables and the power cable are connected (no console,
keyboard etc.)

Thanks in advance,
Jana



auto poweroff - keyboard dependency?

2004-03-07 Thread Janos Sziliczi
Hi All,

I've compiled a 2.4.25 kernel.
When I'd typed the 'halt' command as root, the Linux shutdowned and the
machine turned off automatically (no 'power-off' needed on PROM prompt).

I plugged out the monitor and the keyboard.
Just the UTP patch cables and the power coord are remained connected.

I've started the Sparc, and everything worked fine.
The dmesg said: "Keyboard: Not present" and "Console: ttyS0 ...".
I typed the 'halt' command in a remote shell.
But the machine didn't turned off! I had to power off it manually.

After this, connected only the keyboard (and not the monitor).
The dmesg said: "Sun TYPE 4 keyboard ..." and "Console: switching to
colour frame buffer ...".
And the Sparc turned off properly after the 'halt' command.

Is it a feature?
Is it configurable, that the Sparc turns off withuot keyboard too?

Thanks in advance,
Jana



Re: Building custom kernel

2004-03-05 Thread Janos Sziliczi
Jim,

Igmar and me said same thing.

The essence:
CC has to be 64 bit C compiler
HOSTCC has to be 32 bit C compiler

(Igmar has 64 bit gcc, I have 32 bit gcc, so we said the same.)
Check whether the above things is true on your computer.

Other suggestion:

The 'make menuconfig' uses the ncurses5 library.

Check which version is installed on your Sparc:
- libncurses5, libncurses5-dev
or
- lib64ncurses5(?), lib64ncurses5-dev (as Igmar wrote)

Just try the 'make config' command. If it will be start, the
problem is in ncurses.
The 'make menuconfig' uses the HOSTCC compiler.

If you have libncurses5-dev the HOSTCC, which contains 32 bit
compiler should be work.

However, if you have lib64ncurses5-dev, try to change HOSTCC to 64 bit
compiler. (I don't know whether it is work, because the HOSTCC is used in
another compiling threads also.)

Regards,
Jana



Re: Building custom kernel

2004-03-04 Thread Janos Sziliczi
Hello,

On Wed, 3 Mar 2004, Small, Jim wrote:

> I am trying to build a custom kernel under Debian Sparc64 using a recent 2.4
> kernel

I have already built the 2.4.25 kernel successfully on Sparc.
I've 64bit Sparc Ultra also (but only one CPU).
I haven't experienced your problem.

I think the sparc32 style compiling is wrong, because the kernel must be
64bit (your system is 64bit arch, isn't it?).

> I did an apt-get kernel-source-2.4.25 (also tried
If you want to build custom kernel, I suggest that you should download the
source from ftp://ftp.kernel.org or from one of it's mirrors.

Install the egcs64 package (cross compiler) using apt-get.
(It seems to be, that it is already installed on your computer.)

Here is my workflow:

1. Open the Makefile (in kernel's source root dir) with an arbitrary
editor.

2. Look the beginning of this file. here is the variables for executable
programs.

Find the CC (not HOSTCC!!!) It's value is: $(CROSS_COMPILE)gcc
Change it to: sparc64-linux-gcc
(Note: I don't remeber exactly, look the real name from output of
 'dpkg -L egcs64' command)

Note: Change only the CC variable, not the CROSS_COMPILE!

3. Don't forget to run 'make mrproper' first!

4. Run 'make menuconfig'

I think, It have to work...
Jana



Re: Installing testing?!

2004-03-03 Thread Janos Sziliczi


> > Someone say that have installed testing on a sparc64 box, in this list.
> > How?! I've googled around but i've not found a mini cd or something
> > like this to download and boot from.
> 
> I installed Sid ;)
> Just grab the first Woody cd then edit /etc/apt/sources.list according
> to your  needs.

And run the following two commands:

apt-get update
apt-get dist-upgrade