Module problems!

1999-07-05 Thread Ramakrishnan M
hello,
  I had been reading the Linux Device Drivers,and tried running the
first program.
#define KERNEL
#include ...
...init_module(...)
.

when I do insmod prog.o it says the program has been compiled to run on
kernel 2.2.5 and the running kernel is 2.2.10. Sure! I have 2.2.10 kernel
running but I am not able to understand the 2.2.5 business. Itried
installing an older kernel and recompiled it,with no useful result.Please
help!

TIA
Ramakrishnan M
World Wide Web: http://www.ee.iitm.ernet.in/~ee98m09
--
"A designer knows he has achieved perfection not when there is nothing
 left to add, but when there is nothing left to take away."


A small help needed in Opti931 sound card configuration

1999-07-05 Thread Ramakrishnan M
Hello,
   I need some help in setting up an OPTi82C931 based soundcard. 
What I did was,I downloaded the evaluation version of OSS (20 minute
version),and got it working in the single shot. Using it I made a note of
the IRQ's 
and DMAs and the io addresses.Then I uninstalled it and compiled the kernel(2.2
.10)with the options specified in the Documentaion/sound/Opti file in the kerne
l docs.My isapnp.conf looks like this.

--
# (DEBUG)
(READPORT 0x0203)
(ISOLATE )
(IDENTIFY *)

(CONFIGURE OPT0931/-1 (LD 1
 (IO 0 (BASE 0x0530))
 (IO 1 (BASE 0x0388))
 (IO 2 (BASE 0x0220))
 (IO 3 (BASE 0x0e0c))
 (INT 0 (IRQ 5 (MODE +E)))
 (DMA 0 (CHANNEL 0))
 (DMA 1 (CHANNEL 3))
 (ACT Y)
))

#mpu
(CONFIGURE OPT0931/-1 (LD 3
 (IO 0  (BASE 0x0330))
 (INT 0 (IRQ 9 (MODE +E)))
 (ACT Y)
))

# End tag... Checksum 0x00 (OK)

(CSN 1 (LD 0 (REG 2 (POKE 4 # to make it non-PnP

# Returns all cards to the "Wait for Key" state

(WAITFORKEY)


My conf.modules look like this
  .
  .
  ;
  .
  ; 

#alias  off 
# some aliases for the Opti sound

alias mixer0 mad16
alias audio0 mad16
alias midi0 mad16
alias synth0 opl3
options sb mad16=1
options opl3 io=0x388
options mad16 irq=5 dma=0 dma16=3 io=0x530 mpu_io=0x330 mpu_irq=9
post-install mad16 /root/ad1848_mixer_reroute 14 8 15 3 16 6

   .
   .
   .  etc

Is there anything else needed??? The program ad1848_mixer_reroute.c was compile
d and put in the root directory.While running it I got the output "/dev/mixer: 
no such device".The device exists,but the driver is unable to initialze it seem
s.
  Can you please help me in pointing out the problem??

  regards

Ramakrishnan M
World Wide Web: http://www.ee.iitm.ernet.in/~ee98m09
--
"A designer knows he has achieved perfection not when there is nothing
 left to add, but when there is nothing left to take away."



Re: Archives?

1999-07-06 Thread Ramakrishnan M
On Tue, 6 Jul 1999, Paulo J Matos aka PDestroy wrote:

> Does this mailing list has any message archives somewhere on the web?
> 
> Regards,

Mr Raghavendra Bhat is maintaining debian-user list archives in tar.bz2 at
http://members.xoom.com/debiannut.


Ramakrishnan M
World Wide Web: http://www.ee.iitm.ernet.in/~ee98m09
--
"A designer knows he has achieved perfection not when there is nothing
 left to add, but when there is nothing left to take away."


Re: becoming a maintainer

1999-07-09 Thread Ramakrishnan M
On Fri, 9 Jul 1999, Dan Brosemer wrote:

> I was wondering who I need to talk to about becoming a package maintainer?

Read Debian Developer's guide and debian policy guide.Your question is
already answered there.


Ramakrishnan M
World Wide Web: http://www.ee.iitm.ernet.in/~ee98m09
--
"A designer knows he has achieved perfection not when there is nothing
 left to add, but when there is nothing left to take away."


Kernel Version problems!

1999-07-12 Thread Ramakrishnan M
Hello,
   I am trying to build a module.The compilation works fine,but
while loading the module I get the message" the kernel versionis 2.2.10
but the module was compiled on 2.2.5". Itried compiling with
-I/usr/src/kernel-headers-2.2.10/.. etc without any useful output. At
last I found out the culprit.The libc-dev package installs the
/usr/include/linux directory which contains a version.h file.It has a line
saying #define UTS_VERSION 2.2.5.I think this line is causing the problem.
But the same file in the kernel-headers-2.2.10 is written correctly.I can
always load the module using insmod -f.But how to solve this problem? Does
this mean a libc6-dev exists for every new kernel release? 
  

Ramakrishnan M
World Wide Web: http://www.ee.iitm.ernet.in/~ee98m09
--
"A designer knows he has achieved perfection not when there is nothing
 left to add, but when there is nothing left to take away."


from a newbie

1999-03-06 Thread Ramakrishnan M
Hi,
   I am new to Debian GNU/Linux.Until now I had been using RedHat Linux
system( now also in my institute I am using it).But thanks to afew friends
who introduced me to Debian system.I want to explore more on them.
   One thing which attracted me to Debian system is the scripts it gives
for allmost any task.For example,I was looking for a command to delete a
particular daemon from being activated at a particular runlevel.One of my
friends(Mr Raghavendra Bhat,VU2RGU who is also in this list) suggested me
to use the command "update-rc.d" . It is an excellent command and I am
sure that a number of such command exists.
  Can any body please suggest me a good online guide which tells me about
these type of tips and tricks?I downloaded Debian User Guide,but that is
not the one I am looking for.
TIA
Ramakrishnan.M   alias  ramOO

---
Ramakrishnan M
#211 ,Cauvery hostel,
Indian Institute of Technology,Madras,
Chennai-600 036, INDIA

" Software is like sex;It's better when it's free "
   -Linus Torvalds
---


Re: netscape

1999-03-07 Thread Ramakrishnan M
On Sat, 6 Mar 1999 [EMAIL PROTECTED] wrote:

> When I try to start netscape after installing it from a download, I get the
> message, "can't load libXpm.so.4". Has anyone had a similar problem and
> found a solution?
   I think it is bacause,your Debian system has libc6 installed whereas
netscape requires libc5.So install libc5 compatibility paclage from your
Debian CD.

ramOO


---
Ramakrishnan M
#211 ,Cauvery hostel,
Indian Institute of Technology,Madras,
Chennai-600 036, INDIA

" Software is like sex;It's better when it's free "
   -Linus Torvalds
---


Re: writing device drivers for fbsd

1999-03-09 Thread Ramakrishnan M
On Mon, 8 Mar 1999, Wayne Cuddy wrote:

> What is a good reference to learn to to write device drivers for fbsd?  I
> remember some recommended a good book a few months ago but forgot to save the
> message.
   There is a book "Linux Device Drivers" ( or a similar name) by
Alexandro Rubini published by O'Reilly.It is a bit costly (by indian
standards,so I do not have it).I don't know whether it contains anything
on fbsd. 

-------
Ramakrishnan M
#211 ,Cauvery hostel,
Indian Institute of Technology,Madras,
Chennai-600 036, INDIA

" Software is like sex;It's better when it's free "
   -Linus Torvalds
---


Re: Statistics/graphing programs for scientists?

1999-03-12 Thread Ramakrishnan M
On Thu, 11 Mar 1999, William Park wrote:

> On Thu, Mar 11, 1999 at 08:29:38AM -0600, rich wrote:
> I don't know what kind of statistics you do, but try Octave which is
> GNU clone of MatLab.  For graph, I use Python to analyze the data, and
   
 You can use scilab.Scilab is a mathematical analysis and signal
processing  tool which can do a lot of things.It is available from
 www-rocq.inria.fr/scilab/
scilab can produce good plots and you can plug it in latex files.
 You can also use gnuplot for plotting purposes.
 Look for other packages in sal.kachinatech.org( or .com) 

Ramakrishnan

---
Ramakrishnan M
#211 ,Cauvery hostel,
Indian Institute of Technology,Madras,
Chennai-600 036, INDIA

" Software is like sex;It's better when it's free "
   -Linus Torvalds
---


debian-user-list archive in tar.gz format???

1999-03-13 Thread Ramakrishnan M
Hi,
   Apart from the searchable archives in the web,has anyone made a tar.gz
archive of this list? I think somebody with time and resources should
seriously consider doing this,since this list is an invaluable resource.

ramOO
---
Ramakrishnan M
#211 ,Cauvery hostel,
Indian Institute of Technology,Madras,
Chennai-600 036, INDIA

" Software is like sex;It's better when it's free "
   -Linus Torvalds
---


Re: Why not Debian? (real-time proto with linux!)

1999-03-17 Thread Ramakrishnan M
On Tue, 16 Mar 1999, Kenneth Scharf wrote:
> Also, since we REALLY need the real-time kernel, does anyone know if
> any .deb's of this are available?  (I already downloaded the 2.0.36
> modified source for real time linux and built it on top of a RedHat
> 5.2 install.)
 
There is something called RT-Linux :-
  see   http://luz.cs.nmt.edu/~rtlinux/

Ramakrishnan

-------
Ramakrishnan M
#211 ,Cauvery hostel,
Indian Institute of Technology,Madras,
Chennai-600 036, INDIA

" Software is like sex;It's better when it's free "
   -Linus Torvalds
---


Re: error - SIOCADDRT

1999-03-19 Thread Ramakrishnan M
On Thu, 18 Mar 1999, Asokan  P wrote:

> My machine has suddenly started displaying this message
> SIOCADDRT - invalid argument.
  You would have noticed this message after putting the kernel 2.2.X.In
these kernels the route add command is not needed.So remove this line from
/etc/networks or something ( i do not remember the file.The file contains
two entries,one with ifconfig and another route add.Just comment the
second line).That's all.Reboot.
  I am not an expert in this and infact I read about this from an old
debian user list.



---
Ramakrishnan M
#211 ,Cauvery hostel,
Indian Institute of Technology,Madras,
Chennai-600 036, INDIA

" Software is like sex;It's better when it's free "
   -Linus Torvalds
---


disabling X connections from a remote systems

1999-04-05 Thread Ramakrishnan M

I have a computer here,which is relatively slow one.Recently I noticed
that people from other labs are logging in and exporting display and using
netscape.I would like to disable this without using xhost - .What files
should I modify
TIA

--
Ramakrishnan M
--


Resizing "/" using ext2resize

1999-09-14 Thread Ramakrishnan M
Hello
 have anybody tried resizing partitions using ext2resize? How stable
is it? I need to shrink my root partition. Do I unmount the partition
before resizing?


Ramakrishnan M
World Wide Web: http://www.ee.iitm.ernet.in/~ee98m09
--
"A designer knows he has achieved perfection not when there is nothing
 left to add, but when there is nothing left to take away."


Re: FDISK parameters was Re: undelete for partition tables?

1999-09-14 Thread Ramakrishnan M
On Tue, 14 Sep 1999, Tom Pfeifer wrote:

> Ranish Partition Manager is a DOS program, but is an excellent
> partitioning tool. It's source code is available for download from the
> web site. At one the time the author was planning on porting it over to

Which site?


Ramakrishnan M
World Wide Web: http://www.ee.iitm.ernet.in/~ee98m09
--
"A designer knows he has achieved perfection not when there is nothing
 left to add, but when there is nothing left to take away."


make-kpkg problems

1999-10-02 Thread Ramakrishnan M
Hello,
 I have been using make-kpkg for a long time for compiling kernels and
making deb packages. Yesterday when I made a deb package, I got a deb
package 

kernel-image-..._1.00.deb instead of kernel-image-2.2.12_1.00.deb

I upgraded kernel-package from the unstable tree but it did not help. The
documentation says make-kpkg will read from the Makefile to get the
current kernel version and we have to worry only about the revision
numbers. Help??

Ramakrishnan M
World Wide Web: http://www.ee.iitm.ernet.in/~ee98m09
--
"A designer knows he has achieved perfection not when there is nothing
 left to add, but when there is nothing left to take away."


Potato CD Images??

2000-04-27 Thread Ramakrishnan M
hello
  I would like to know whether the .list files of the potato CD images are
available. The sites which I have was not having the .list files and the one
which have .list files are busy and so could not be accessible. Can somebody
please send me the .list file for CD #3?

--
   Ramakrishnan M