LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-22-2004, 10:24 AM   #1
geosackerm
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
Mandrake Boot hangs - Loading USB printer


I'm booting Mandrake 10.1 on a Dell Dimension 8250. After running (booting) without problems for about 2 weeks the system now hangs (and stops) on "Loading USB printer" -- the catch is I don't have a printer hooked up to the system. There is a USB mouse and keyboard but no other USB devices.

Sometimes it gets past this fine and then hangs (and stops) on the "Checking for new hardware." Other times (very occasionally) it goes through and boots up just fine.

Anyone seen this before and/or have any suggestions
 
Old 12-28-2004, 10:47 PM   #2
100sparx
LQ Newbie
 
Registered: Dec 2004
Location: Dayton OH
Distribution: Mandrake, SuSE, Fedora
Posts: 2

Rep: Reputation: 0
I have a similar problem with mandrake 10.1 (a similar thing happens with SuSE 9.1 live eval CD). In my case the system (Athlon XP2000+ 1Gb RAM) hangs after "loading USB printer" when I have my printer plugged in (Epson CX6400). If I unplug the printer and hard-reboot, the system comes up fine. After chasing it for a while, this is what I found:

The hangup isn't really anything to do with the USB printer, rather it hangs on the startup of hotplug. To get past it, change
HOTPLUG_RC_usb=yes
to
HOTPLUG_RC_usb=no
in
/etc/sysconfig/hotplug

Bad news is that some or all of your USB devices won't work.

More info for anyone who might be able to help fix the problem rather than work around it:
It looks like it starts in
/etc/rc.d/init.d/usb
with the section
if [ "$COLD_USB" = 1 -a -x /etc/hotplug/usb.rc ]; then
/etc/hotplug/usb.rc start &
fi

working around the hang-up and manually restarting the usb hotplug service with
/etc/hotplug/usb.rc restart
hangs with no output. ^C will not kill it, you have to kill the terminal you are running it in.

After killing the terminal and opening another,
[root@Desktop somewhere]$ /etc/hotplug/usb.rc status
USB Status for kernel: Linux 2.6.8.1-12mdk i686

USB up; bus count is 0

and it hangs again...

kill, open another again...
[root@Desktop somewhere]# /etc/hotplug/usb.rc stop
works fine but trying to start it again hangs.

I don't know enough about the USB subsystem or shell scripting to go much furter.

On a side note, the hardware works fine under the other installed OS (WIN_XP)

Last edited by 100sparx; 12-28-2004 at 10:55 PM.
 
Old 03-08-2005, 02:06 AM   #3
Mr T Donegal
Member
 
Registered: Feb 2004
Location: Netherlands
Distribution: Suse 9.3
Posts: 31

Rep: Reputation: 15
I have the same problem using Mandrake 10.1 on fairly standard hardware. I also found that a hard reset is the only way to get the system working.

Prior to shutting down the system, if I stop 'cups' in the 'Services' section of Mandrake Control Center, then the problem does not seem to occur [as often?]... [and I also untick the box for loading cups on boot]. For printing, cups needs to be started again when the system is up and running.

However, this is only a partial solution; and I cannot tell if it always works. It is also very inconvenient.

Any further ideas for a solution would be very welcome.

Also, with a hard reset, you are asked whether you want to force a filesystem integrity check with 'y' for yes, [not the default]. This takes 20 mins or so on a large hard drive. Would anyone know what are the (dis)advantages of doing so?
 
Old 03-09-2005, 09:18 PM   #4
100sparx
LQ Newbie
 
Registered: Dec 2004
Location: Dayton OH
Distribution: Mandrake, SuSE, Fedora
Posts: 2

Rep: Reputation: 0
It's a bug in the default kernel that ships with that version of Mandrake. Upgrade the kernel to the latest stable one from Mandrake Cooker or RPMfind.net, or switch to a different distribution. I ended up going to Fedora for other reasons, but that also fixed my problem.

regards,

Sparx
 
Old 06-26-2005, 02:40 PM   #5
Eliyahu Turetsky
LQ Newbie
 
Registered: Jun 2005
Posts: 2

Rep: Reputation: 0
"loading USB printer" hang. Check please this workaround

To all good people!

Please check this workaround.

In file "/etc/rc.d/init.d/usb" after the string (No 123. in 10.2 scripts):

mount_proc_usb

insert the string:

sleep 10

Value 10 I just like. I did a number of reboots and shutdown-reboot and never got
the problem back. All this is based on some old problem in some old SUSE distribution.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading USB printer failed fiomba Linux - Hardware 4 10-26-2005 05:22 PM
Mandrake 10 hangs install right after loading linux dyw Mandriva 5 11-11-2004 09:37 PM
Mandrake Hangs on Loading Program into memory. anon111 Linux - Newbie 2 10-28-2004 07:31 AM
boot hangs after loading proftpd tenitech Slackware 2 01-17-2004 08:43 PM
Mandrake 8.1 boot hangs 'Loading USB' stevho Linux - Newbie 3 12-20-2001 05:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration