LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 04-29-2005, 05:19 PM   #1
nextekcarl
Member
 
Registered: Oct 2003
Location: Portland
Distribution: Gentoo
Posts: 73

Rep: Reputation: 15
Mandrake 10.1 USB HD hotplug problem


I reinstalled my system again, and this time decided to install 10.1 instead of 10.0. All went well, except for one problem. My USB Hard Drive is having problems. In 10.0 I could just turn it on when I wanted to use it and a nice icon popped up on my desktop and when I was done I could just turn it off and the icon would be removed. I use this drive to transfer large amounts of data between different systems and for some backup stuff.
On 10.1 however, the system doesn't seem to recognize it at all (no /dev entry or /mnt entry) unless I turn the drive on right after (within a couple of seconds) of getting to my desktop for the first time (after a reboot). If I reboot and turn the drive on, sometimes I will have an icon waiting on my desktop, and it will disappear if I turn the drive off, and if I turn it back on fairly quickly it will re-spawn, but if I wait very long it will not do anything all all, and I can't find any entries for it under /dev or /mnt in this case (when it is working correctly I can find an entry under /dev/removeable). One time when I tried the reboot trick, though, my computer froze up at the "USB filesystems" prompt and after about 10 minutes of hanging I restarted the system and turned off the drive and it started up without any problems (not even a question about checking the files systems since they were uncleanly unmounted) . Is this a known issue with 10.1? I can't seem to find any other people talking about this particular problem anywhere.
 
Old 04-29-2005, 05:28 PM   #2
registering
Member
 
Registered: Jun 2003
Location: Florida, USA
Distribution: Drake 10.1 Download
Posts: 182

Rep: Reputation: 30
I'm not sure if this is a known issue, but did you see any errors in /var/log/messages or /var/log/boot.log?

Also, are the "hotplug", "harddrake" and "haldaemon" services running at boot time? (MCC->System->Services)? I'm not really sure if they're absolutely required, but it might be worth a shot....(I THINK HAL exists on 10.1, I don't remember).
 
Old 04-29-2005, 05:59 PM   #3
nextekcarl
Member
 
Registered: Oct 2003
Location: Portland
Distribution: Gentoo
Posts: 73

Original Poster
Rep: Reputation: 15
Wow, maybe it is something with my install. I had a tough time getting the MCC to start (it was bringing up the splash screen, and I could see it trying to start in the taskbar, and then the taskbar isonb would go away but the splash screen was still hanging around. I had to reboot just to get MCC to properly start, and in doing so they system was hanging just trying to stop alsa, so I had to do a hard reset. Then I got into MCC and saw hotplug was not set to start "on boot" and was not running, so I clicked "on boot" and then pressed the button to start the service, and the mouse cursor got stuck, but the system was still running, I just couldn't move the mouse cursor. I think I'm going to go back to 10.0 and see if things work alright. 10.0 was ok, I just figured I'd check out the changes since 10.1 came out, and for some reason it is not going well for me. Thanks for the help.
 
Old 04-29-2005, 06:04 PM   #4
registering
Member
 
Registered: Jun 2003
Location: Florida, USA
Distribution: Drake 10.1 Download
Posts: 182

Rep: Reputation: 30
Wow that is weird, I had problems with 10.1 but nothing that dramatic. You did a full partition overwrite when installing 10.1 over 10.0? If so I don't know what to say. If not, maybe give that a shot before moving back to 10.0? Anyway, good luck!
 
Old 04-29-2005, 06:15 PM   #5
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 31
Hi,

I had some similar problems with 10.1, particularly with MCC not starting, and general problems with stability... I ended up going back to 10.0 on that machine..

I think 10.1 does use HAL, and with the benefit of hindsight and having tried other distro's that also use it (SuSE 9.2; Ubuntu; FC3), the problem appears to lie with HAL, and in particular its rather poor tolerance of flaky hardware... In my case, I've found that the Pioneer DVD-ROM fitted to this particular machine (DVD-120S) tends to hang up during polling by the HAL daemon, and in the process, completely hangs HAL, requiring a re-boot (HAL daemon goes into 'uninterruptible sleep') - this could be what's happening with you.

It may well be worth checking your system logs. Also check the status of the HAL daemon when things go wrong trying to access your USB drive..
 
Old 04-29-2005, 07:38 PM   #6
nextekcarl
Member
 
Registered: Oct 2003
Location: Portland
Distribution: Gentoo
Posts: 73

Original Poster
Rep: Reputation: 15
Yeah, when I did this install I did a full format. Actually, I wanted to try ReiserFS, too, so I ended up doing it twice, as I chose the "automatic" option first, and then redid it to "Custom formating" to use ReiserFS. I've always used Ext3 before.
I think the problem may be with HAL now that Kevin mentions it.
This is some entries from /var/log/messages that seem to show the connection to the drive, and then at the end perhaps where it is complaining about a "Dead device"? I don't see anything useful in the boot.log file.
Code:
Apr 29 15:59:08 Linuxbox kernel: usb 5-1: new high speed USB device using address 2
Apr 29 15:59:09 Linuxbox kernel: SCSI subsystem initialized
Apr 29 15:59:09 Linuxbox kernel: Initializing USB Mass Storage driver...
Apr 29 15:59:09 Linuxbox kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Apr 29 15:59:14 Linuxbox kernel:   Vendor: WDC WD30  Model: 0BB-00AUA1        Rev:  0 0
Apr 29 15:59:14 Linuxbox kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Apr 29 15:59:14 Linuxbox kernel: usbcore: registered new driver usb-storage
Apr 29 15:59:14 Linuxbox kernel: USB Mass Storage support registered.
Apr 29 15:59:15 Linuxbox scsi.agent[4988]: disk at /devices/pci0000:00/0000:00:0b.2/usb5/5-1/5-1:1.0/host0/0:0:0:0
Apr 29 15:59:15 Linuxbox kernel: SCSI device sda: 58633344 512-byte hdwr sectors (30020 MB)
Apr 29 15:59:15 Linuxbox kernel: sda: assuming drive cache: write through
Apr 29 15:59:15 Linuxbox kernel:  /dev/scsi/host0/bus0/target0/lun0: p1
Apr 29 15:59:15 Linuxbox kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Apr 29 15:59:15 Linuxbox perl: drakupdate_fstab called with --auto --add /dev/sda1 
Apr 29 15:59:52 Linuxbox kernel: usb 5-1: USB disconnect, address 2
Apr 29 15:59:52 Linuxbox perl: drakupdate_fstab called with --auto --del /dev/sda1 
Apr 29 16:00:02 Linuxbox kernel: usb 5-1: new high speed USB device using address 3
Apr 29 16:00:03 Linuxbox kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Apr 29 16:00:08 Linuxbox kernel:   Vendor: WDC WD30  Model: 0BB-00AUA1        Rev:  0 0
Apr 29 16:00:08 Linuxbox kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Apr 29 16:00:08 Linuxbox kernel: SCSI device sda: 58633344 512-byte hdwr sectors (30020 MB)
Apr 29 16:00:08 Linuxbox kernel: sda: assuming drive cache: write through
Apr 29 16:00:08 Linuxbox kernel:  /dev/scsi/host1/bus0/target0/lun0: p1
Apr 29 16:00:08 Linuxbox kernel: Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Apr 29 16:00:09 Linuxbox scsi.agent[5243]: disk at /devices/pci0000:00/0000:00:0b.2/usb5/5-1/5-1:1.0/host1/1:0:0:0
Apr 29 16:00:10 Linuxbox perl: drakupdate_fstab called with --auto --add /dev/sda1 
Apr 29 16:00:28 Linuxbox kernel: usb 5-1: USB disconnect, address 3
Apr 29 16:00:29 Linuxbox perl: drakupdate_fstab called with --auto --del /dev/sda1 
Apr 29 16:00:29 Linuxbox kernel: scsi1 (0:0): rejecting I/O to dead device
Apr 29 16:00:29 Linuxbox kernel: FAT bread failed in fat_clusters_flush
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
USB Hotplug Problem... JamesGolick Linux - Hardware 5 04-26-2005 09:44 AM
USB (hotplug) permissions problem chrisjasp Mandriva 3 04-26-2005 02:48 AM
Firmware/Hotplug problem with Hauppauge DEC2540-T, Hotplug and MythTV bezoomny Linux - Hardware 0 05-17-2004 01:37 PM
stop hotplug from detecting things connected to usb (but still noticing usb itself) TheOneAndOnlySM Linux - Hardware 5 10-18-2003 10:35 AM
USB Compact flash card reader hotplug creates /dev/sda but no /dev/sda1 -Mandrake 9.1 bibinono Linux - Hardware 2 08-11-2003 09:37 AM


All times are GMT -5. The time now is 12:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration