2004-01-20 22:59:03

by Thomas Molina

[permalink] [raw]
Subject: 2.6.1-mm5

I am getting the following error messages:

Cannot open master raw device '/dev/rawctl' (No such device)
Finding module dependencies: cat:
/sys//devices/pci0000:00/0000:00:07.2/usb1/bNumConfigurations: No such
file or directory
/etc/hotplug/usb.agent: line 144: [: too many arguments

as well as:

Error for wireless request "Set Mode" (8B06) :
SET failed on device eth0 ; Invalid argument.
Error for wireless request "Set Frequency" (8B04) :
SET failed on device eth0 ; Operation not supported.

This is the result of loading the drivers and activating eth0 for my
wireless ethernet card. It is an SMC card using orinoco, orinoco_cs, and
hermes drivers.

I've included two files. The first is the output of lspci and the second
is the configuration used to build 2.6.1-mm5.


Attachments:
errmsg03.txt (6.07 kB)
errmsg04.txt (27.94 kB)
Download all attachments

2004-01-20 23:24:32

by Laszlo 'GCS' Boszormenyi

[permalink] [raw]
Subject: Re: 2.6.1-mm5

On Tue, Jan 20, 2004 at 05:56:42PM -0500, Thomas Molina <[email protected]> wrote:
> Finding module dependencies: cat:
> /sys//devices/pci0000:00/0000:00:07.2/usb1/bNumConfigurations: No such
> file or directory
> /etc/hotplug/usb.agent: line 144: [: too many arguments
I think you use Debian, and it's a bug in their scripts, not in the
kernel itself.
/GCS

2004-01-20 23:47:28

by Thomas Molina

[permalink] [raw]
Subject: Re: 2.6.1-mm5



On Wed, 21 Jan 2004, GCS wrote:

> On Tue, Jan 20, 2004 at 05:56:42PM -0500, Thomas Molina <[email protected]> wrote:
> > Finding module dependencies: cat:
> > /sys//devices/pci0000:00/0000:00:07.2/usb1/bNumConfigurations: No such
> > file or directory
> > /etc/hotplug/usb.agent: line 144: [: too many arguments
> I think you use Debian, and it's a bug in their scripts, not in the
> kernel itself.

I use RedHat Fedora Core 1 on this machine actually. It might well be a
problem with the scripts, but I don't get these messages under 2.4.X nor
under 2.6.0 bitkeeper.

2004-01-21 00:33:35

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.1-mm5

Thomas Molina <[email protected]> wrote:
>
> I am getting the following error messages:
>
> Cannot open master raw device '/dev/rawctl' (No such device)

grr. Something changed.

Do you have

alias char-major-162 raw

in /etc/modprobe.conf?

If you do, touching /dev/rawctl does indeed corretly autoload the module,
but it seems that script still complains for some reason.


2004-01-21 00:28:11

by Greg KH

[permalink] [raw]
Subject: Re: 2.6.1-mm5

On Tue, Jan 20, 2004 at 05:56:42PM -0500, Thomas Molina wrote:
> /etc/hotplug/usb.agent: line 144: [: too many arguments

This is a bug in the latest release of the hotplug scripts. See the
linux-hotplug-devel mailing list for a patch to solve this.

Sorry,

greg k-h

2004-01-21 01:36:42

by Thomas Molina

[permalink] [raw]
Subject: Re: 2.6.1-mm5



On Tue, 20 Jan 2004, Andrew Morton wrote:

> Do you have
>
> alias char-major-162 raw
>
> in /etc/modprobe.conf?
>
> If you do, touching /dev/rawctl does indeed corretly autoload the module,
> but it seems that script still complains for some reason.

You asked this for mm4. I added that line and it didn't help. Sorry.

2004-01-21 01:35:06

by Thomas Molina

[permalink] [raw]
Subject: Re: 2.6.1-mm5



On Tue, 20 Jan 2004, Greg KH wrote:

> On Tue, Jan 20, 2004 at 05:56:42PM -0500, Thomas Molina wrote:
> > /etc/hotplug/usb.agent: line 144: [: too many arguments
>
> This is a bug in the latest release of the hotplug scripts. See the
> linux-hotplug-devel mailing list for a patch to solve this.

Thanks for the pointer. That fixed this problem.

2004-01-21 01:41:05

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.1-mm5

Thomas Molina <[email protected]> wrote:
>
>
>
> On Tue, 20 Jan 2004, Andrew Morton wrote:
>
> > Do you have
> >
> > alias char-major-162 raw
> >
> > in /etc/modprobe.conf?
> >
> > If you do, touching /dev/rawctl does indeed corretly autoload the module,
> > but it seems that script still complains for some reason.
>
> You asked this for mm4. I added that line and it didn't help. Sorry.

heh, OK.

If you do

sudo rmmod raw
sudo raw

does raw.ko get reloaded?

2004-01-21 02:27:40

by Thomas Molina

[permalink] [raw]
Subject: Re: 2.6.1-mm5



On Tue, 20 Jan 2004, Andrew Morton wrote:

> Thomas Molina <[email protected]> wrote:
> >
> >
> >
> > On Tue, 20 Jan 2004, Andrew Morton wrote:
> >
> > > Do you have
> > >
> > > alias char-major-162 raw
> > >
> > > in /etc/modprobe.conf?
> > >
> > > If you do, touching /dev/rawctl does indeed corretly autoload the module,
> > > but it seems that script still complains for some reason.
> >
> > You asked this for mm4. I added that line and it didn't help. Sorry.
>
> heh, OK.
>
> If you do
>
> sudo rmmod raw
> sudo raw
>
> does raw.ko get reloaded?

Odd. I don't have the raw char device configured. Issuing the raw
command as root gives the mentioned error message, which now seems
logical. I'm not sure why mm kernels gave that error and others don't.

Someone else suggested that one of my problems was caused by hotplug
scripts. I updated to the 2004-01-05 version and I'm not getting the
/dev/rawctl error anymore.

2004-01-21 09:14:26

by Marcos D. Marado Torres

[permalink] [raw]
Subject: Re: 2.6.1-mm5

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 20 Jan 2004, Thomas Molina wrote:

> I am getting the following error messages:

[...]

> as well as:
>
> Error for wireless request "Set Mode" (8B06) :
> SET failed on device eth0 ; Invalid argument.
> Error for wireless request "Set Frequency" (8B04) :
> SET failed on device eth0 ; Operation not supported.
>
> This is the result of loading the drivers and activating eth0 for my
> wireless ethernet card. It is an SMC card using orinoco, orinoco_cs, and
> hermes drivers.

Well, I experienced this myself last night when trying ndiswrapper 0.4 as the
way to use my Intel Centrino Wireless Card, before seeing this massage I was
thinking it was ndiswrapper's fault...

(Happened to 2.6.1-mm4 and 2.6.1-mm5)

> I've included two files. The first is the output of lspci and the second
> is the configuration used to build 2.6.1-mm5.

If needed ask me and I'll do the same.

Mind Booster Noori

- --
==================================================
Marcos Daniel Marado Torres AKA Mind Booster Noori
/"\ http://student.dei.uc.pt/~marado
\ / [email protected]
X ASCII Ribbon Campaign
/ \ against HTML e-mail and Micro$oft attachments
==================================================

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFADkLemNlq8m+oD34RAuX0AKCltPFqNuPcJ3//kTZGOQ53oyhjAQCg3kgf
+CKYsDsO/q3XmJLQodONbEA=
=+0Hm
-----END PGP SIGNATURE-----