From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030206 Description of problem: message repeated 15x in /var/log/messages Version-Release number of selected component (if applicable): How reproducible: Didn't try Steps to Reproduce: 1. No clue where the message is comming from.. 2. 3. Additional info:
USB serial port. Are you using a PDA of some sort?
No PDA... The only USB device is a Visioneer 5300 scanner. I don't recall seeing this message on the previous Phoebe beta.
What sort of messages are in /var/log/messages around these messages?
From /var/log/messages: Mar 4 22:19:49 localhost crond: crond startup succeeded Mar 4 22:19:51 localhost kernel: parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP] Mar 4 22:19:51 localhost kernel: parport0: Printer, HEWLETT-PACKARD DESKJET 960C Mar 4 22:19:51 localhost kernel: lp0: using parport0 (polling). Mar 4 22:19:51 localhost kernel: lp0: console ready Mar 4 22:19:51 localhost modprobe: modprobe: Can't locate module char-major-188 Mar 4 22:19:51 localhost last message repeated 15 times Mar 4 22:19:51 localhost cups: cupsd startup succeeded Mar 4 22:19:52 localhost xfs: xfs startup succeeded Here's the USB stuff from dmesg: usb-uhci.c: USB UHCI at I/O 0xef80, IRQ 3 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 2 ports detected usb-uhci.c: v1.275:USB Universal Host Controller Interface driver usb.c: registered new driver hiddev usb.c: registered new driver hid hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech> hid-core.c: USB HID support drivers mice: PS/2 mouse device common for all mice hub.c: new USB device 00:1f.2-2, assigned address 2 usb.c: USB device 2 (vend/prod 0x4a7/0x221) is not claimed by any active driver. EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal Adding Swap: 1052248k swap-space (priority -1) usb.c: registered new driver usbscanner scanner.c: probe_scanner: Undetected endpoint -- consult Documentation/usb/scanner.txt. scanner.c: 0.4.9:USB Scanner Driver Anything else you need?
Tim, does cups ever try to open /dev/ttyUSB*? If so, why? :)
Yes, the serial backend does when probing for printers. Is it a problem?
Not necessarily, but it explains where the message comes from.
the messages are very disturbing... I think this will continue to cause concern amongst users. even if it is not really a bug, it sounds like a misconfigured kernel modul or system config or something else bad.
I get modprobe: Can't locate module char-major-188 only after I install ALSA. And have found that redhat-control-network die about 1 in 4 times, only after I install AlSA.
I have a system running RedHat 9 Kernel 2.4.20-28.9 on an i686 Intel ISP1000 and was seeing these errors too. I added the following lines to /etc/modules.conf and the problem seems to have gone away. alias char-major-180 usbcore alias char-major-188 usbserial Maybe the bug is in the install scripts?
I have the same problem on my RHEL 3 server (Dell PowerEDGE 2400) I don't run ALSA, but i do run CUPS. It runs 3 printers, all of which have their own JetDirect port. (no USB, serial or parallel) May 12 15:56:46 RedHat01 modprobe: modprobe: Can't locate module char- major-180 May 12 15:57:32 RedHat01 modprobe: modprobe: Can't locate module char- major-180 May 12 15:59:40 RedHat01 modprobe: modprobe: Can't locate module char- major-180 May 12 16:10:47 RedHat01 modprobe: modprobe: Can't locate module char- major-180 I have also seen it crop up in other peoples' logs after xfs Seeing as i have no reference point ot point the alias to, i will leave the modules.conf as is: alias eth0 3c59x alias eth1 e100 alias scsi_hostadapter aic7xxx alias scsi_hostadapter1 aacraid
Oh, by the way, http://www.linuxquestions.org/questions/history/161070 ...has the modules listed in his SuSE modules.conf The warning itself seems to crop up when using the Print Manager from the System Settings to _edit_ printer settings. Merely printing a test page does not cause the error.
What was the resolution this issue? While it may be minor, it does seem like a bug to me. These modprobe messages should not be printed.
Will go away in FC3/RHEL4.
Cool. What was the fix?
alias char-major-188-* usbserial in /etc/modprobe.conf.dist. Salt to taste for other releases.
Just to pester you some more, is there reason this cant be included in RHEL3 Update 3?
Rather than fixing the symptom, why not fix the cause? These are coming from cupsd startup. I'm looking further to understand why (though I assume its trying to scan for USB printers), but it still exists in cupsd latest (1.21).
It's just opening /dev/ttyUSBX to look for local printers, AFAIR.
Indeed. Would it not be advantageous to have it first modprobe usbserial before attempting this?
It should really be done in the module configuration, though.
Okay, but isn't this somewhat of a deficient user experience? Mindful that I'm just playing devil's advocate here because I know these errors are harmless, but should not the program that is accessing major and minor numbers be responsible on the backend for setting up the OS to understand how to get to said major/minor numbers? Why not have the RH cups RPM add "alias char-major-188 usbserial" to /etc/modules.conf? And now I see we've come full circle and you will be setting up modprobe.conf.dist to avoid this in RHEL4.
I checked modutils-2.4.26-16 in Alpha3 and it does not seem to include reference to usbserial. If I can confirm this addition, we can close this out.
No, it's not in U3.
Courtesy of Matt Domsch. This patch applied to modutils does in fact address the issue and causes usbserial to get loaded on cups startup. Please apply for RHEL3 U4.: --- modutils-2.4.25/util/alias.h.orig Wed Jul 28 10:25:14 2004 +++ modutils-2.4.25/util/alias.h Wed Jul 28 10:27:13 2004 @@ -155,6 +155,7 @@ char *aliaslist[] = "char-major-109 lvm-mod", "char-major-161 ircomm-tty", "char-major-171 raw1394", + "char-major-188 usbserial", "char-major-195 NVdriver", "char-major-200 vxspec", "char-major-206 osst", /* OnStream SCSI tape */
*** Bug 128172 has been marked as a duplicate of this bug. ***
Confirmed RHEL3 U4 Beta1 package modutils-2.4.25-14.EL.src.rpm includes this fix, thanks. Closing.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2004-512.html
I've had this error on a RH9 server with no USB devices. It caused total hdd loss, so presumably "char-major-188" is a SCSI or IDE module in this case? I could find no reference to it anywhere in /etc
I have this same error on a RH9 server with no USB or Printers as well, it seems to be benign, although concerning because I cannot find the cause. What else could it be?
The error has nothing to do with 'hdd loss'; it's simply cups opening /dev/ttyUSBX to look for printers. Adding: alias char-major-188 usbserial to /etc/modules.conf (for 2.4-based releases) should make the message go away.