lsmod/insmod commands are not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sir
 
i am using fedora 7 in my system its kernel version is 2.6
while programming it is not executing the commands insmod & lsmod
and when i am including file #inlcude<linux/module.h> and executing it has been showing file not available and i am unable to do kernel level programming pls help out i want to do programming for device drivers where we include linux/module.h


fedora-list-request@xxxxxxxxxx wrote:
Send fedora-list mailing list submissions to
fedora-list@xxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
https://www.redhat.com/mailman/listinfo/fedora-list
or, via email, send a message with subject or body 'help' to
fedora-list-request@xxxxxxxxxx

You can reach the person managing the list at
fedora-list-owner@xxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of fedora-list digest..."


Today's Topics:

1. Re: ftp slow w/ proftpd# Samba fast (Tony Nelson)
2. Re: Where Did It Go? A Re-Post (Mercury Morris)
3. Only able to print one sheet from any spreadsheet
(Steven P. Ulrick)
4. Re: How to get Festival text to speech working? (Marko Vojinovic)
5. Re: [F7] Nouveau driver crashing X (Marko Vojinovic)
6. Re: spam avoidance (was Re: cpu speed problem) (Aaron Konstam)
7. Re: Can't find kernel-2.6.22.1-33.fc7 (Aaron Konstam)
8. Re: Can't find kernel-2.6.22.1-33.fc7 (Aaron Konstam)
9. Re: upgrading from FC6 to Fedora 7 problems (David Timms)
10. Re: spam avoidance (was Re: cpu speed problem) (Andy Green)
11. Re: FC6 Issue with Cups after update (Wade Hampton)
12. Re: Trouble with list manager and changing email address
(Philip Walden)
13. Re: spam avoidance (was Re: cpu speed problem) (Tony Nelson)
14. Re: Goodbye F7... Hello FC6 ...why not F8 test 1? (Jim Cornette)
15. Re: Goodbye F7... Hello FC6 ...why not F8 test 1? (Jim Cornette)


----------------------------------------------------------------------

Message: 1
Date: Mon, 30 Jul 2007 16:13:00 -0400
From: Tony Nelson
Subject: Re: ftp slow w/ proftpd# Samba fast
To:
Message-ID:
Content-Type: text/plain; charset="us-ascii"

At 8:31 PM +1000 7/30/07, David Timms wrote:
>Excalibur Xcalibur wrote:
>> Even after this:
>>
>> UseReverseDNS off
>> IdentLookups off
>>
>>
>> in /etc/proftpd.conf
>>
>> it still sucks! I've never seen such a sluggish ftp server.
>Perhaps you would like to try vsftpd. I have not had such problems with it.

One complaint I have against vsftpd (and most ftp servers) is that they
allow unlimited password cracking attempts. Proftpd can be configured to
limit the attempts per connection. I have set ours to 1 attempt and
protect ftp with the same iptables recent module rules that protect ssh.
As ftp (and sometimes ssh) often have many file transfers in a row, each in
separate connections, I use pam_recent to clean the recent module's list.

On our server proftpd is fast.
--
____________________________________________________________________
TonyN.:'
'



------------------------------

Message: 2
Date: Mon, 30 Jul 2007 15:48:39 -0500
From: "Mercury Morris"
Subject: Re: Where Did It Go? A Re-Post
To: "Fedora Discussion"
Message-ID:

Content-Type: text/plain; charset=ISO-8859-1

I want to confirm Gene Poole's post about Fedora 7
(and kernel 2.6.2x) non-support of ATAPI IOMEGA Zip Drives.
Neither Fedora 7's nor kernel.org's kernels recognize the device.

Back in Fedora Core 6 (and kernel 2.6.18), the drive was
/dev/hda (or /dev/hdb, whatever). But the best Fedora 7
can do is create /dev/sdb, unless the drive actually has
a disk inside. Then Fedora 7 creates /dev/sdb and /dev/sdb4
(or /dev/sdb1 if you have made your own Linux partition).

I have tried building several 2.6.21.3 kernels, but they all
fail to recognize the drive. Only the program, sfdisk, can
read anything from the device without generating any error
messages. The command, sfdisk -l /dev/sdb, prints out
what seems to be one good diagnostic message and a
reasonable partition table.

I did find a solution for Ubuntu users. You can Google
["mc.mauser" "update-initramfs"] (include the quotes,
omit the brackets), then scroll down to see mc.mauser's code.
This solution is good only for Ubuntu, not Fedora!

What can we do to get the attention of either the kernel
developers and/or the Fedora folks and have them look at
this problem?

Admittedly, these old Zip drives are really obsolete,
given that you can buy 8GB USB flash drives for less
than half the cost of some of the IOMEGA models. But,
it doesn't seem like the right thing to do to drop
support for a device without some advanced notice,
and surely not by just refusing to recognize it.

--
MM



------------------------------

Message: 3
Date: Mon, 30 Jul 2007 16:41:28 -0500
From: "Steven P. Ulrick"
Subject: Only able to print one sheet from any spreadsheet
To: fedora-list@xxxxxxxxxx
Message-ID: <20070730164128.06be19b6@xxxxxxxxxxxx>
Content-Type: text/plain; charset=US-ASCII

Hello, Everyone
This problem is so odd that it is almost embarrassing to mention. It
will almost make me sound like I must be totally clueless and incapable
of running a Linux system. But, since that is not the case, here goes.

This morning before work, I was attempting to print five sheets of a
spreadsheet that I use every Monday (on Thursday's I print out three
sheets from the exact same spreadsheet.) Up until this morning, this
has always "Just Worked."

This morning, I was only able to print the first sheet (of the five
that I needed.) Whatever I tried, I could only print the first sheet.
It isn't that I can only print one sheet, it's that I can only print
the first sheet. I tried to print other sheets with no success.

Also, I tried creating other multi sheet spreadsheets in OpenOffice.org
and KSpread. We're talking just putting one character on each of three
sheets. Same results as described above.

I recreated the spreadsheet that I attempted to print this morning by
copying and pasting all six sheets to a completely fresh
spreadsheet. You can download it here:
http://www.afolkey2.net/~steve/Projects/fedora/20070730a-VendingMachines.ods

Here is the exact spreadsheet that I had issues with this morning:
http://www.afolkey2.net/~steve/Projects/fedora/20070702-VendingMachines.ods

Here are links to all of my Cups logs:
http://www.afolkey2.net/~steve/Projects/fedora/access_log-Debug
http://www.afolkey2.net/~steve/Projects/fedora/error_log-Debug
http://www.afolkey2.net/~steve/Projects/fedora/page_log-Debug

I had no luck finding anything out of order in any of them. That
doesn't mean that it isn't there, it just means I can't find it...

Now I am off to creating a completely new, never used user account just
for the purpose of seeing what happens when I try to print my desired
(or any, for that matter) multi sheet spreadsheet...
My version of OpenOffice.org is as follows:
OpenOffice.org 2.4.0 (SRC680_m222 Build-1)

Also, I am running KSpread compiled from KDE Branch 3.5 source. My
version of Fedora Core is FC6, fully updated and booted into the most
recent kernel update.

If you need any more information, I will be glad to oblige. All
printing has always "Just Worked" for me on Fedora Core 6. So I am no
expert when it comes to this subject :)

Steven P. Ulrick



------------------------------

Message: 4
Date: Mon, 30 Jul 2007 21:58:10 +0000
From: Marko Vojinovic
Subject: Re: How to get Festival text to speech working?
To: For users of Fedora
Message-ID: <200707302158.10547.vvmarko@xxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

On Monday 30 July 2007 15:07, Tim wrote:
> Rudolf Kastl:
> >>> personally i found that http://espeak.sourceforge.net/ is already
> >>> much more versatile.
>
> Tim:
> >> Hmm, neither this, nor Festival, sound as good as the speak device on
> >> the Amiga (from the mid 1980s). That's a bit surprising, I'd have
> >> thought that it'd be vastly outperformed, by now.
>
> Ed Greshko:
> > Is this observation from memory or do you have an Amiga running today and
> > are making an actual comparison? Just wondering.
>
> The Amiga's speech sounds quite like Steven Hawking's speech synth, not
> to mention a few other speech synths used by the disabled. That'll give
> a few more people an idea what it sounds like, seeing as it pops up in
> movies and television. I couldn't easily drag mine out and sample it,
> for quite some time, it's buried amongst the rest of my clutter.

I still have a working Amiga on my desk. If enough people are interested, I
just might be able to record a couple of sentences (though it would require
some cablework). What is the easiest way to record sound in Fedora (with the
Sound Blaster Live card)?

> While it doesn't sound very polished, it is quite understandable, and
> handled most words and sentences fairly appropriately (changing pitch,
> and pausing, where it should, etc.).

Yup, in those days I was amazed that in piched up on a comma and down on a
period. A machine with 512 KB memory, booted from a floppy disk... I've never
heard of any PC talking so good. Otoh, I have yet to hear the Festival... :-)

Best, :-)
Marko

Marko Vojinovic
Institute of Physics
University of Belgrade
======================
e-mail: vmarko@xxxxxxxxxxxx






------------------------------

Message: 5
Date: Mon, 30 Jul 2007 21:26:52 +0000
From: Marko Vojinovic
Subject: Re: [F7] Nouveau driver crashing X
To: Robin.Laing@xxxxxxxxxxxxxxx, For users of Fedora

Message-ID: <200707302126.52661.vvmarko@xxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

On Monday 30 July 2007 19:25, Robin Laing wrote:
> Marko Vojinovic wrote:
> > While giving up on closed nvidia drivers for the time being (I'll give it
> > another shot in a month or two, when I get more free time), I just tried
> > the open-source alternative for 3D on my old nVidia GeForce 4, namely
> > nouveau.
> >
> > This driver also crashes X (though not so severely, for it brings me back
> > into the prompt after the crash), so I need some advice. I read the
> > Xorg.0.log, and while it does not give me any hint as to why the crash
> > occurred, I see that it looks for the file /usr/lib/dri/nouveau_dri.so,
> > and fails to find it (because the file isn't there, as I checked). But it
> > passes over that error and continues, crashing somewhat later for no
> > apparent reason in the log. So, three questions:
> >
> > 1) Why is the file nouveau_dri.so missing?
> > 2) Why does X crash?
> > 3) What can I do about it?
> >
> > The log file and xorg.conf are attached. I should also mention that the
> > basic nv driver Just Works, of course without 3D.
> >
> > Any help?
>
> Does the Nouveau driver crash in the same way as the Nvidia driver?

Well, sort of... After I do a startx the screen blanks, and in nvidia driver
case, stays there (all I can do is reset the machine). In nouveau case it
does the same, but after several seconds X gets killed automatically and I
end up back in the prompt, so I don't have to reset.

> With both the Nvidia driver and the nv driver, I can see xorg climb when
> viewing a video and scanning forward or increasing the speed with mplayer.
>
> What I do is open top with the -d 1 so I get a quick update.

I'll try that with the nv driver, to check. Nvidia driver doesn't start for
me, so I cannot compare.

> Also, I have not had a freeze in F7 with the latest two kernels. I
> still have problems using the nvidia drivers though.

I'm still running kernel 2.6.21-1.3228. Being on dial-up makes updating a bit
hard to do. But I'll mirror the repositories again on Friday when I get to
the office, bring them home on a couple of dvds, and then I'll start testing
the drivers again with a newer kernel.

Best, :-)
Marko

Marko Vojinovic
Institute of Physics
University of Belgrade
======================
e-mail: vmarko@xxxxxxxxxxxx





------------------------------

Message: 6
Date: Mon, 30 Jul 2007 17:01:54 -0500
From: Aaron Konstam
Subject: Re: spam avoidance (was Re: cpu speed problem)
To: For users of Fedora
Message-ID: <1185832914.2985.8.camel@xxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain

On Tue, 2007-07-31 at 02:20 +0930, Tim wrote:
> aron Konstam:
> > You are asking a lot form a spam filter.
>
> Not really, it's the computer, not me... ;-)
>
> > But let me share with you this:
> > 1. For the first time spamassassiin really works with evolution in
> f7.
> > I get no more that 1 spam message a week out of maybe a 1000
> messages.
>
> I picked on that one as just an example, but it's the only one
> available
> from my various mail hosts. As I said before, it needs to be done on
> the server. Else *YOU* are still getting spam (wasting storage space
> and downloading it), and lost mail gets silently discarded or you have
> to manually check. And that's the problem, where it's remotely
> installed, its not modifiable enough by me to be worth it.


We just have different attitudes about these things. Lets stop this
dialog and go on to other things.
--
=======================================================================
When all else fails, EAT!!!
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx



------------------------------

Message: 7
Date: Mon, 30 Jul 2007 17:10:24 -0500
From: Aaron Konstam
Subject: Re: Can't find kernel-2.6.22.1-33.fc7
To: For users of Fedora
Message-ID: <1185833424.2985.15.camel@xxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain

On Mon, 2007-07-30 at 11:53 -0500, John Pierce wrote:
> On 7/30/07, Aaron Konstam wrote:
> > People keep talking about kernel-2.6.22.1-33.fc7 but I can't find it.
> > The update process installed kernel-headers-2.6.22.1-33.fc7 but I am
> > left with kernel-2.6.22.1-27.fc7 as the latest kernel installed.
> >
> > What is going on?
>
> Both 586 and 686 kernel are in this update repository at Georgia Tech:
>
> ftp://ftp.gtlib.gatech.edu/pub/fedora.redhat/linux/updates/7/i386
>
> I did a yum update last Friday and it found it for me. Maybe you
> should check the yum repo file for updates and make sure that it is
> enabled.
my fedora-updates.repo is enabled. I am getting updates all the time.
Are you sure you are not getting this kernel from one of the testing
repos.
As far as the site above, you are right it has the 586 and the 686
kernels are there but not the i386 kernel. Which explains the problem.
Seems like a booboo in the repo.
--
=======================================================================
There is no hunting like the hunting of man, and those who have hunted
armed men long enough and liked it, never care for anything else
thereafter. -- Ernest Hemingway
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx



------------------------------

Message: 8
Date: Mon, 30 Jul 2007 17:13:21 -0500
From: Aaron Konstam
Subject: Re: Can't find kernel-2.6.22.1-33.fc7
To: For users of Fedora
Message-ID: <1185833601.2985.18.camel@xxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain

On Tue, 2007-07-31 at 02:25 +0930, Tim wrote:
> On Mon, 2007-07-30 at 11:03 -0500, Aaron Konstam wrote:
> > People keep talking about kernel-2.6.22.1-33.fc7 but I can't find it.
> > The update process installed kernel-headers-2.6.22.1-33.fc7 but I am
> > left with kernel-2.6.22.1-27.fc7 as the latest kernel installed.
>
> I had to hunt through a few servers before I managed to find it,
> manually. I thought it might have been pulled, since there were quite a
> few complaints about it. But I found it here:
>
>
> I have noticed that mirror syncing seems to be getting a bit tardy
> lately. But I've been preoccupied with other things to go working out
> what's the best mirror for me to try, yet. We could do with some public
> stats pointing out the tardy mirrors, if not just dumping them from the
> mirror list, outright.
>
Again there is no i386 version of the kernel listed so that is why
updating does not find it. My machine reports itself as a i386
--
=======================================================================
The two most common things in the Universe are hydrogen and stupidity.
-- Harlan Ellison
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx



------------------------------

Message: 9
Date: Tue, 31 Jul 2007 08:20:53 +1000
From: David Timms
Subject: Re: upgrading from FC6 to Fedora 7 problems
To: For users of Fedora
Message-ID: <46AE6445.1050508@xxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Tim wrote:
> On Thu, 2007-07-12 at 18:43 -0400, Jim Cornette wrote:
>> why are upgrades not possible with the installer while booted into a
>> working system?
>
> You couldn't do that as an in-place update/replacement, because you'd be
> replacing the ladder that you're standing on. It should be possible,
> however, as a secondary installation to another location.

There is an additional complexity from fc6 -> f7: the way disks are
accessed in the newer is via /dev/sdX whereas the old would be /dev/hdX
for parallel IDE disks. I imagine that the kernel in the installer also
provides a good check as to whether the machine can actually boot such a
kernel. There is good information available eg:
http://fedoraproject.org/wiki/DistributionUpgrades
and YumUpgradeFaq



------------------------------

Message: 10
Date: Mon, 30 Jul 2007 23:45:37 +0100
From: Andy Green
Subject: Re: spam avoidance (was Re: cpu speed problem)
To: For users of Fedora
Message-ID: <46AE6A11.4010409@xxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1

Somebody in the thread at some point said:
> At 11:25 AM +0100 7/30/07, Andy Green wrote:
> ...
>> - insist on proper Helo FQDN (lot of spam tools and viruses don't
>> take care of this)
> ...
>
> Do you require the name to be real, or only in valid form? That is, do you
> do a DNS lookup on the name?

All of the above.... (this is from /etc/postfix/main.cf)

smtpd_helo_required = yes

smtpd_helo_restrictions =
# our personalized list of accepts and denys based on HELO name
check_helo_access hash:/etc/postfix/helo_access,
# talk to our local boxes that want to send through us
permit_mynetworks,
# no Reverse DNS gets the boot
reject_unknown_client,
# reject bad syntax hostname
reject_invalid_hostname,
# non FQDN gets the boot
reject_non_fqdn_hostname

and after that it checks it against the blackhole DNS server and then
greylisting.

-Andy



------------------------------

Message: 11
Date: Mon, 30 Jul 2007 19:36:52 -0400
From: "Wade Hampton"
Subject: Re: FC6 Issue with Cups after update
To: "For users of Fedora"
Message-ID:
<7a57ad2a0707301636h28df203dge62dc9dd32292281@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1

SElinux is enabled. The permissions are:

-rw-r----- root lp user_u:object_r:cupsd_etc_t /etc/cups/cupsd.conf

# service cups start
Starting cups: [FAILED]
[root@blue ~]#
Message from syslogd@blue at Mon Jul 30 19:31:55 2007 ...
blue cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting!

The lp account should be able to read the file:
su -s /bin/bash lp -c "sha1sum /etc/cups/cupsd.conf"
86a0f94e8d77579640d7b202660adc15e38794e3 /etc/cups/cupsd.conf

I am stumped.....

On 7/27/07, Stuart Roe wrote:
>
> Is selinux enabled? If it is, try checking the permissions on the conf file
> with 'ls -lZ'
>
> Stuart
>
> On 27 July 2007 00:54, Wade Hampton wrote:
>
> They were 640, I changed them to 644 but it did not fix the problem....
>
>
> On 7/26/07, Steve Searle wrote:
> > Around 12:34am on Friday, July 27, 2007 (UK time), Wade Hampton scrawled:
> >
> > > I checked the permissions and they are root, lp 644.

=== message truncated ===



With regards
Mahesh Balumuri
Mobile:09989386666

 

 


Bollywood, fun, friendship, sports and more. You name it, we have it.

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux