Linux-Development-Sys Digest #992, Volume #7 Mon, 3 Jul 00 07:13:13 EDT
Contents:
where can I find audio drivers for linux ("Bo Yan")
Re: We are selling software ([EMAIL PROTECTED])
Re: where can I find audio drivers for linux ([EMAIL PROTECTED])
add_mouse_randomness(__u32 mousedata) ? ("jacky cui")
Re: Kernel 2.2.16 "kernel panic, no init found", kernel 2.2.12, no problem (Chetan
Ahuja)
Re: help: how to exhange data between user and kernel (Mathias Waack)
Re: How to retreive/change the full MAC address of a network card ? (Dex)
Re: How to retreive/change the full MAC address of a network card ? (Dex)
Re: printk newbie ("Gerald Waugh")
Re: How to retreive/change the full MAC address of a network card ? (with ioctl)
("Gerald Waugh")
Re: R: Bash Script Error Tolerant (Bernd Strieder)
Re: HOWTO build absolute linux kernel binaries ("Gerald Waugh")
Re: Good Basic compiler for linux? (Nix)
Re: printk newbie (Thilo =?iso-8859-1?Q?Gro=DFmann?=)
Re: printk newbie (Zoran Cutura)
s.n.a.f.u. 1b-i (Uncle)
kernel: grow_inodes: inode-max limit reached (Markus Jochim)
RH 6.2 kernel bug (Paul Ingram)
Re: RH 6.2 kernel bug (Mathias Waack)
----------------------------------------------------------------------------
From: "Bo Yan" <[EMAIL PROTECTED]>
Subject: where can I find audio drivers for linux
Date: Mon, 3 Jul 2000 00:04:58 -0400
I can't find a suitable driver for my Trident Blade3D( special edition for
compaq) audio card. Where is the ftp site that I can find more driver
programs? Thanks.
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To:
comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.m68k,comp.os.linux.misc
Subject: Re: We are selling software
Date: Mon, 03 Jul 2000 04:50:46 GMT
In comp.os.linux.development.system Richard Vanstory <[EMAIL PROTECTED]> wrote:
| We are selling software
| for lowest price in the world (40$-140$)
I've seen prices a LOT lower.
--
| Phil Howard - KA9WGN | My current websites: linuxhomepage.com, ham.org
| phil (at) ipal.net +----------------------------------------------------
| Dallas - Texas - USA | [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: where can I find audio drivers for linux
Date: Mon, 03 Jul 2000 04:51:47 GMT
On Mon, 3 Jul 2000 00:04:58 -0400 Bo Yan <[EMAIL PROTECTED]> wrote:
| I can't find a suitable driver for my Trident Blade3D( special edition for
| compaq) audio card. Where is the ftp site that I can find more driver
| programs? Thanks.
My best guess would be Compaq. Usually the OEM makers don't acknowledge
custom models directly to the public.
--
| Phil Howard - KA9WGN | My current websites: linuxhomepage.com, ham.org
| phil (at) ipal.net +----------------------------------------------------
| Dallas - Texas - USA | [EMAIL PROTECTED]
------------------------------
From: "jacky cui" <[EMAIL PROTECTED]>
Subject: add_mouse_randomness(__u32 mousedata) ?
Date: Mon, 3 Jul 2000 13:09:56 +0800
I don't understand the meaning of this function in mouse driver!
can anyone tell me ?
thanks
--
===============================
Best wish to you
http://home.etang.com/jackyeasy
OICQ:474007
Jacky
===============================
------------------------------
From: Chetan Ahuja <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.2.16 "kernel panic, no init found", kernel 2.2.12, no problem
Date: 3 Jul 2000 06:11:14 GMT
Well.. this has happened to me once. In my case, I had really
somehow lost the "init" program file in an botched bootup process. Try to
boot with some floppy distribution or a rescue disk and check whether
you really have the init program file intact where it should be. Also,
while you are at it, check that all the programs being run from init
(getty etc.) are also intact.
Chetan
Peter Mardahl <[EMAIL PROTECTED]> spoke thusly:
> Kernel 2.2.12-20smp will boot up fine as will other 2.2.12smp kernels
> I have compiled for my RedHat 6.1 box.
> However, on trying to compile my own new 2.2.16smp kernel,
> I get this error:
> Kernel panic: No init found, Try passing init=option to kernel
> I've also tried booting with
> init=/sbin/init root=/dev/sda1
> My new 2.2.16smp kernel has ext2 support, SCSI support both for hard disks
> and for the Adaptec controller, and boot messages indicate that these
> devices are recognized OK and that the partitions are seen(sda1 sda2 sda3
> sda4)
> Here is lilo.conf: "linuxold" and "linux-up" boot, "linux" won't.
> boot=/dev/sda
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=50
> default=linux
> linear
> image=/vmlinuz
> label=linux
> APPEND="ether=0,0,0x30,eth0"
> root=/dev/sda1
> read-only
> image=/boot/vmlinuz-2.2.12-20smp
> label=linuxold
> initrd=/boot/initrd-2.2.12-20smp.img
> read-only
> APPEND="ether=0,0,0x30,eth0"
> root=/dev/sda1
> image=/boot/vmlinuz-2.2.12-20
> label=linux-up
> initrd=/boot/initrd-2.2.12-20.img
> read-only
> root=/dev/sda1
------------------------------
From: Mathias Waack <[EMAIL PROTECTED]>
Subject: Re: help: how to exhange data between user and kernel
Date: 03 Jul 2000 08:43:46 +0200
"Duke Lee" <[EMAIL PROTECTED]> writes:
> Is the poll function correct?
>
> /* -duke copied from kmsg.c */
>
> struct wait_queue * procfs_wait = NULL;
>
> static unsigned int kmsg_poll(struct file *file, poll_table * wait) {
> poll_wait(file, &procfs_wait, wait);
> return POLLIN | POLLRDNORM; }
No. This poll functions always mark the polled fd as readable. Thats
why your poll will always return immediatly. The function should look
like:
poll_wait(...);
if (there_are_data_for_the_user_process()) return POLLIN | POLLRDNORM;
else return 0;
> 3) When does the kernel write into the proc file system?
Whenever a process tries to read a file or directory in /proc
Mathias
------------------------------
From: Dex <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: How to retreive/change the full MAC address of a network card ?
Date: Mon, 03 Jul 2000 03:57:04 -0400
Matthew Dare wrote:
> Theoretically you shouldn't be able to modify any of it. The first four digits are
>the
> ID of the cards manufacturer. (ie 3COM, IBM etc... - Each manufacturer may have more
> than one ID) The second set of four digits are assigned by the manufacturer
>(generally in
> sequence) to give each card a unique ID. (ie every network card ever manufactured
> should have a unique id). Some cheap NIC manufacturers allowed the last four digits
>to be
> changed by their configuration software. If you have one of these then you should
>be able
> to read the NIC's (BIOS?) configuration, change the last four digits and write it
>back.
>
> What I can't understand is why you would want to change the MAC address for anyway.
> If two or more cards chare the same mac address your network won't work anyway.
>
> Hope this helps.
>
> Cheers
>
> ---
> Matthew Dare
> [EMAIL PROTECTED]
>
>
>
> In article <[EMAIL PROTECTED]>, "Robichaud,
> Jean-Philippe [BAN:6S33:EXCH]" <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have done a lot of work building a little network program. What i
> > need to implement now is a little routine that will retreive and change
> > the __complete__ MAC address. with the SIOCGIFHWADDR flag, I only
> > obtain the 4 last part of the mac address. I explain :
> >
> > if I do and ifconfig, the HWaddr repported is : 08:00:3E:2A:6B:D8. The
> > result I have after the ioctl call is 3E:2A:6B:D8. Where can I get the
> > 08:00 part and what should I do to modify it ?
> >
> >
> > Thanks a lot for your advices...
> >
> >
Why do people continue to buy products from manufaturer's who lie to them?
------------------------------
From: Dex <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: How to retreive/change the full MAC address of a network card ?
Date: Mon, 03 Jul 2000 04:01:53 -0400
Dex wrote:
> Matthew Dare wrote:
>
> > Theoretically you shouldn't be able to modify any of it. The first four digits
>are the
> > ID of the cards manufacturer. (ie 3COM, IBM etc... - Each manufacturer may have
>more
> > than one ID) The second set of four digits are assigned by the manufacturer
>(generally in
> > sequence) to give each card a unique ID. (ie every network card ever manufactured
> > should have a unique id). Some cheap NIC manufacturers allowed the last four
>digits to be
> > changed by their configuration software. If you have one of these then you should
>be able
> > to read the NIC's (BIOS?) configuration, change the last four digits and write it
>back.
> >
> > What I can't understand is why you would want to change the MAC address for anyway.
> > If two or more cards chare the same mac address your network won't work anyway.
> >
> > Hope this helps.
> >
> > Cheers
> >
> > ---
> > Matthew Dare
> > [EMAIL PROTECTED]
> >
> >
> >
> > In article <[EMAIL PROTECTED]>, "Robichaud,
> > Jean-Philippe [BAN:6S33:EXCH]" <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I have done a lot of work building a little network program. What i
> > > need to implement now is a little routine that will retreive and change
> > > the __complete__ MAC address. with the SIOCGIFHWADDR flag, I only
> > > obtain the 4 last part of the mac address. I explain :
> > >
> > > if I do and ifconfig, the HWaddr repported is : 08:00:3E:2A:6B:D8. The
> > > result I have after the ioctl call is 3E:2A:6B:D8. Where can I get the
> > > 08:00 part and what should I do to modify it ?
> > >
> > >
> > > Thanks a lot for your advices...
> > >
> > >
>
> Why do people continue to buy products from manufaturer's who lie to them?
Because ppl believe that those who sell serious hardward are trying to rip them off,
of
course. Look at any store in the U.S. Winmodem $30, real modem $90. I don't know about
you, but
$60 is more than an hours work for me.
Really, the manufactures of "real hardware", don't do a very good job of selling their
wares to
consumers. I suspect Micro$oft has a hand in this.
------------------------------
From: "Gerald Waugh" <[EMAIL PROTECTED]>
Subject: Re: printk newbie
Date: Mon, 3 Jul 2000 04:12:28 -0400
I think printk normally goes to the current console? I get this from "Linux
Device Drivers" O'Reilly Book.
Matthew Luckie <[EMAIL PROTECTED]> wrote in message
news:8jgc69$guk$[EMAIL PROTECTED]...
> hi
>
> I want to make the kernel print some stuff out that i can examine -
> preferably to the console, as i am playing with some aspects of the kernel
> at the moment
>
> i understand that this is what printk can do for me (although it can log
to
> the system or something by the look of the code).
>
> When i call printk, where does the string i pass it go?
> How do i get it to go to the console?
>
> Thanks
>
> --
> Matthew Luckie
> [EMAIL PROTECTED]
>
>
------------------------------
From: "Gerald Waugh" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: How to retreive/change the full MAC address of a network card ? (with
ioctl)
Date: Mon, 3 Jul 2000 04:21:07 -0400
> Why do people continue to buy products from manufaturer's who lie to them?
Why is Bill Clinton still President of the United States?
(1) People buy products from manufacturer's who lie to them.
(2) People don't Vote.
------------------------------
From: Bernd Strieder <[EMAIL PROTECTED]>
Subject: Re: R: Bash Script Error Tolerant
Date: Mon, 03 Jul 2000 10:20:46 +0200
Alberto wrote:
>
> Kaz Kylheku <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]
> > On Thu, 29 Jun 2000 19:26:16 +0200, Alberto <[EMAIL PROTECTED]>
> wrote:
> > >I've got a question about Bash Scripts.
> > >I would like to know whether it is possible to set Linux in such a way it
> > >won't stop when a syntax error occurs in a script. The ideal behaviour
> for
> > The way you do might do this is to put the suspicious script into its own
> > file. Then you detect the failed or abnormal termination of that script
> > in a higher level script.
> >
> I didn't really get the point since I'm a novice programmer under Linux.
It is generally not feasible to continue with the next command after the
previous failed. This is so uncommon that even in debuggers, programs to
trace programs step by step, this is not allowed. I don't even know
debuggers for bash scripts.
What you can do in scripts is getting return values from scripts and
apps called. So you get info about the success of these you can treat
the way you need. This is the idea mentioned in a posting before. Split
up your script in some pieces that form meaningful units, this could be
one command per unit. Write a manager script that controls the calls of
the other scripts, and takes measures, if one script signalled failure
by its return code. After resolving the problems, the next "sub-script"
is called.
A nice example is the sysV-style "init" program, that is responsible for
bringing the system into a usable state after booting, using a lot of
scripts for the different tasks. Each of these tasks can fail without
influencing the others in most cases.
Bernd.
------------------------------
From: "Gerald Waugh" <[EMAIL PROTECTED]>
Subject: Re: HOWTO build absolute linux kernel binaries
Date: Mon, 3 Jul 2000 04:46:24 -0400
Have you tried looking at the embedded Linux web sites?
http://linux-embedded.com
BTW, I read where the embedded-Linux newsgroup has been approved!
I haven't found it yet?
<[EMAIL PROTECTED]> wrote in message news:8jccij$rmo$[EMAIL PROTECTED]...
> Hi,
>
> I want to program a linux kernel into a flashprom and run it on an
> embedded PC like board. Who can provide me with information on how to
> get the linux kernel compiled so that binary images are generated wich I
> can then download to flash using a JTAG interface?
>
> Any help appreciated!
>
> Greetings Eric
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: Nix <$}xinix{[email protected]>
Subject: Re: Good Basic compiler for linux?
Date: 02 Jul 2000 18:43:40 +0100
[EMAIL PROTECTED] (Kaz Kylheku) writes:
> When VB was introduced, did some people not abandon other tools in favor of it?
Only because of the lack of decent scripting tools, I expect. Given
decent scripting tools, anyone that chooses VB instead probably needs
therapy.
--
`I can guarantee it's no problem in my network, and if I don't get some
sleep soon, I'll guarantee it will become a problem in your network.'
--- Chris `Saundo' Saunderson deals with a late-night phone call
------------------------------
From: Thilo =?iso-8859-1?Q?Gro=DFmann?= <[EMAIL PROTECTED]>
Subject: Re: printk newbie
Date: Mon, 03 Jul 2000 11:19:36 +0200
Hello,
[prink problem]
my string goes to /var/log/messages under Suse 6.1.
Thilo
------------------------------
From: Zoran Cutura <[EMAIL PROTECTED]>
Subject: Re: printk newbie
Date: Mon, 03 Jul 2000 12:05:33 +0200
Matthew Luckie wrote:
>
> hi
>
> I want to make the kernel print some stuff out that i can examine -
> preferably to the console, as i am playing with some aspects of the kernel
> at the moment
>
> i understand that this is what printk can do for me (although it can log to
> the system or something by the look of the code).
>
> When i call printk, where does the string i pass it go?
> How do i get it to go to the console?
>
> Thanks
>
> --
> Matthew Luckie
> [EMAIL PROTECTED]
System logging is usually done by two different programs. first
on the user side you have the syslogd(8) which can the contacted
by a user program (for example some daemon) to log messages of
into a file. /etc/syslog.conf configures where messages are written
to.
>From the kernel level klogd is reponsanble for writing messages.
Some systems are configured that klogd sends its messages to syslogd.
read the man pages to syslogd(8) and klogd(8).
Z
------------------------------
From: Uncle <[EMAIL PROTECTED]>
Subject: s.n.a.f.u. 1b-i
Date: Mon, 03 Jul 2000 10:17:20 GMT
Hi everyone.
I'm working on a sysadmin utility
called s.n.a.f.u. (stands for Slippy
Network Admins ofFsck Util) and its
aimed at making the monitoring of logs,
activity, hardware activity, and system
status a little easier for folks doing
a lot of their admining on the cmdline,
not in X.
It also provides quick(er) access
to system confs for editing and system
logs for viewing. And there are few
extra misc scripts in there as well.
I'm a looking for folks to giveit a
try and maybe some feed back as well.
Anyone interested in it can swing by:
http://www.geekcave.net
s.n.a.f.u. is an open source project
and developer input is welcomed
thankfully. Comments, suggestion,
code, flames, etc. can be emailed to:
[EMAIL PROTECTED]
Thanks,
Uncle
[EMAIL PROTECTED]
www.geekcave.net
------------------------------
From: Markus Jochim <[EMAIL PROTECTED]>
Crossposted-To: alt.uu.comp.os.linux.questions,comp.os.linux
Subject: kernel: grow_inodes: inode-max limit reached
Date: Mon, 03 Jul 2000 11:02:58 +0000
Hello everybody,
I have the problem that every night at 00:00 my linux kernel produces
the message: "kernel: grow_inodes: inode-max limit reached"
I know how to read and modify the kernel parameters with the help
of the /proc filesystem and I am also aware of the fact that
a cron job could started at 00:00 could be responible (Although
I wasn't able to identify it)
But my question aims at another direction:
On the net I found a text
(http://linux.web.cern.ch/linux/lsr/doc/kernel/proc.txt)
where you can read, that file-handels and inode-handles are dynamically
allocated by
the kernel but not freed again?
Does somebody know whether this is on purpose for efficiency or
whatever,
or if it is a bug?
Secondly - and even more important for me - if the number of used inodes
is bigger then inode-max, does that mean that the system will no longer
work reliable, or is this pre shrink method mentioned in
(http://linux.web.cern.ch/linux/lsr/doc/kernel/proc.txt) something that
will work very well?
By the way, I can increase the values of inode-max and file-max. But are
there any upper limits for these values I cannot go beyond?
Thanks in advance for help or pointers...
Thanks in advance,
Markus Jochim
------------------------------
From: Paul Ingram <[EMAIL PROTECTED]>
Subject: RH 6.2 kernel bug
Date: Mon, 03 Jul 2000 11:38:41 +0100
Anyone know of an arithmetic problem in the RH6.2 release?
Apparently the kernel shipped with 6.2 (2.2.14) has a random floating
point exception problem.
I looked for a bug report on this but cannot find anything. Does anyone
have any more information?
Regards
--
Paul Ingram
Technical Support
Workstations U.K. Ltd. Amersham, England
Tel. 01494 724 498
Fax. 01494 433 375
------------------------------
From: Mathias Waack <[EMAIL PROTECTED]>
Subject: Re: RH 6.2 kernel bug
Date: 03 Jul 2000 12:23:21 +0200
Paul Ingram <[EMAIL PROTECTED]> writes:
> Anyone know of an arithmetic problem in the RH6.2 release? Apparently
> the kernel shipped with 6.2 (2.2.14) has a random floating point
> exception problem.
I can't believe this. Could you pls tell us which program caused the
error and what exactly happened? What kind of system do you use?
Mathias
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.development.system) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Development-System Digest
******************************