• RSS
  • Twitter
  • FaceBook

Security Forums

Log in

FAQ | Search | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

slackware 8.0 bootup - modprobe: char-major-6

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> UNIX // GNU/Linux

View previous topic :: View next topic  
Author Message
threecho
Just Arrived
Just Arrived


Joined: 10 Jan 2003
Posts: 0


Offline

PostPosted: Fri Jan 10, 2003 3:19 pm    Post subject: slackware 8.0 bootup - modprobe: char-major-6 Reply with quote

Hi all,

I recently installed cups on my slackware box, my epson usb printer now works fine. However, since then I get a load of "modprobe: can't locate module char-major-6" messages at bootup.

From what I can gather from Google char-major-6 is the lp device but a "grep lp /etc/* -r" only returns references to "//[b][/b]dev[b][/b]/usb/lp0" which is correct for my printer.

I have recompiled the kernel with parallel port support included (not as a module) but that didn't help at all.

It seems to me that cups is trying to use the lp device, does anyone have any idea how I could provide the lp device to keep cups happy or preferably stop cups from looking for the lp device.

I haven't ruled out the possibility that I'm completly wrong about the problem being cups, so all suggestions are welcome Smile
Back to top
View user's profile Send private message
squidly
Trusted SF Member
Trusted SF Member


Joined: 07 Oct 2002
Posts: 16777215
Location: Umm.. I dont know.. somewhere

Offline

PostPosted: Sat Jan 11, 2003 12:18 am    Post subject: Re: slackware 8.0 bootup - modprobe: char-major-6 Reply with quote

threecho wrote:
Hi all,

I recently installed cups on my slackware box, my epson usb printer now works fine. However, since then I get a load of "modprobe: can't locate module char-major-6" messages at bootup.

From what I can gather from Google char-major-6 is the lp device but a "grep lp /etc/* -r" only returns references to "//[b][/b]dev[b][/b]/usb/lp0" which is correct for my printer.

I have recompiled the kernel with parallel port support included (not as a module) but that didn't help at all.

It seems to me that cups is trying to use the lp device, does anyone have any idea how I could provide the lp device to keep cups happy or preferably stop cups from looking for the lp device.

I haven't ruled out the possibility that I'm completly wrong about the problem being cups, so all suggestions are welcome Smile


Try this.. Look in /etc/rc.d for anything that is doing modprobe (usualy rc.modules rc.inet1 rc.inet2 and rc.local) Also look in /usr/src/linux/Documentation/Devices.txt for a device major number 6. And also look at /etc/modules.conf see whats in there for char-major-6 (if i rembmer correctly i had this error too and it had something to do with clocks)
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ShaolinTiger
Forum Fanatic
Forum Fanatic


Joined: 18 Apr 2002
Posts: 16777215
Location: Kuala Lumpur, Malaysia

Offline

PostPosted: Sat Jan 11, 2003 1:35 am    Post subject: Reply with quote

Try adding:

alias char-major-6 lp

To: /etc/conf.modules

It may be in there allready, just commented out.

modprobe -c to see current config.

So you have you tried with lp module now? does it load ok? (insmod)
Back to top
View user's profile Send private message Visit poster's website
threecho
Just Arrived
Just Arrived


Joined: 10 Jan 2003
Posts: 0


Offline

PostPosted: Sun Jan 19, 2003 8:53 pm    Post subject: Reply with quote

Thanks for the help Very Happy

The problem was definetly CUPS (/etc/rc.d/rc.cups start then stop I got the modprobe errors)

It turns out I had compiled the Parallel Port Module (CONFIG_PARPORT) but not the Parallel Printer Module (CONFIG_PRINTER) into the kernel.

This gave me the oppurtunity to learn a bit more about modules,

Great forum by the way, I will be back.
Back to top
View user's profile Send private message
threecho
Just Arrived
Just Arrived


Joined: 10 Jan 2003
Posts: 0


Offline

PostPosted: Sun Jan 19, 2003 8:54 pm    Post subject: Reply with quote

..... as soon as I learn to put /u at the end of an underline Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> UNIX // GNU/Linux All times are GMT + 2 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Area

Log in | Register