LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 01-12-2010, 03:06 AM   #1
pyktam
LQ Newbie
 
Registered: Jan 2010
Posts: 1

Rep: Reputation: 0
Question RHEL4U2 (kernel 2.6.9-22.EL) doesn't detect USB HDD on boot, require manual re-plug


Refers to RHEL R4 Update 2 (kernel 2.6.9-22.EL)

Kernel doesn't detect the USB HDD if it's attached prior to boot. After boot process complete, unplugging & re-plugging in works. BUT I need it to be auto-mounted through reboot, so this is not a solution.

Any clues why it doesn't got detected & registered on boot (when attached)?

/etc/fstab:-
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0
/dev/sdb1 /media/usbdisk ext3 pamconsole,exec,noauto,managed 0 0

***NOTE: The last line above is automatically added by system upon re-plugging. It's *not* present right after boot.

/etc/mtab:-
/dev/mapper/VolGroup00-LogVol00 / ext3 rw 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/sda1 /boot ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
/dev/sdb1 /media/usbdisk ext3 rw,nosuid,nodev 0 0


Some possibly related lines from messages log:- (full boot time log available for examination)

Jan 7 10:29:54 hklab-gw kernel: hub 3-0:1.0: USB hub found
Jan 7 18:29:38 hklab-gw rc.sysinit: -e
Jan 7 10:29:54 hklab-gw kernel: hub 3-0:1.0: 2 ports detected
Jan 7 10:29:54 hklab-gw acpid: acpid startup succeeded
Jan 7 18:29:39 hklab-gw udevsend[770]: starting udevd daemon
Jan 7 10:29:54 hklab-gw kernel: ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 11 (level, low) -> IRQ 11
Jan 7 18:29:39 hklab-gw scsi.agent[782]: disk at /devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0
Jan 7 10:29:54 hklab-gw kernel: uhci_hcd 0000:00:1d.2: UHCI Host Controller
Jan 7 18:29:39 hklab-gw start_udev: Starting udev: succeeded
Jan 7 10:29:54 hklab-gw kernel: usb 1-3: new high speed USB device using address 2
Jan 7 18:29:41 hklab-gw udevsend[1113]: starting udevd daemon
..
..
..
Jan 7 10:29:56 hklab-gw kernel: usb 1-3: control timeout on ep0in
Jan 7 10:29:56 hklab-gw kernel: ip_tables: (C) 2000-2002 Netfilter core team
Jan 7 10:29:56 hklab-gw kernel: usb 1-3: device not accepting address 2, error -71
Jan 7 10:29:56 hklab-gw kernel: usb 1-3: new high speed USB device using address 3
..
..
..
Jan 7 10:30:13 hklab-gw login(pam_unix)[2636]: session opened for user root by LOGIN(uid=0)
Jan 7 10:30:13 hklab-gw -- root[2636]: ROOT LOGIN ON tty1
Jan 7 10:30:31 hklab-gw kernel: usb 1-3: USB disconnect, address 3

***NOTE: This is the point I unplug then replug the USB HDD.

Jan 7 10:30:33 hklab-gw kernel: usb 1-3: new high speed USB device using address 5
Jan 7 10:30:33 hklab-gw kernel: Initializing USB Mass Storage driver...
Jan 7 10:30:33 hklab-gw kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jan 7 10:30:33 hklab-gw kernel: Vendor: Seagate Model: Desktop Rev: 0130
Jan 7 10:30:33 hklab-gw kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 7 10:30:33 hklab-gw kernel: SCSI device sdb: 2930277168 512-byte hdwr sectors (1500302 MB)
Jan 7 10:30:33 hklab-gw kernel: sdb: assuming drive cache: write through
Jan 7 10:30:33 hklab-gw kernel: sdb: sdb1
Jan 7 10:30:33 hklab-gw kernel: Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0
Jan 7 10:30:33 hklab-gw scsi.agent[3314]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host1/target1:0:0/1:0:0:0
Jan 7 10:30:34 hklab-gw kernel: usbcore: registered new driver usb-storage
Jan 7 10:30:34 hklab-gw kernel: USB Mass Storage support registered.
Jan 7 10:30:34 hklab-gw fstab-sync[3377]: added mount point /media/usbdisk for /dev/sdb1
 
Old 02-01-2010, 05:24 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,818
Blog Entries: 54

Rep: Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991
Quote:
Originally Posted by pyktam View Post
Kernel doesn't detect the USB HDD if it's attached prior to boot. After boot process complete, unplugging & re-plugging in works. BUT I need it to be auto-mounted through reboot, so this is not a solution. Any clues why it doesn't got detected & registered on boot (when attached)?
While the U8 2.6.9-88 kernel may provide improvements over the U4 2.6.9-22 one, since no HW specs or configuration is given, I can only say I know some machines don't react well to some external USB drive chipsets. If moving up to U8 is out of the question and if you can not test a different casing slash machine combo then maybe if you google://site:bugzilla.redhat.com +RHEL4 +"usb-storage" you might find related issues.

//NTLB
 
  


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 won't Auto Detect for Plug-n-Play Devices The-Riot Linux - Newbie 3 11-28-2009 05:23 PM
Detect USB and Printer Plug / Unplug C/C++ source haseit Linux - Newbie 1 01-19-2009 07:59 PM
USB sticks and HDD do not detect in ubuntu. Please help. SGFHK321 Linux - Hardware 2 10-12-2008 02:50 AM
System unable to detect USB HDD Harpreet Singh Linux - Hardware 3 05-15-2007 09:58 AM
manual mount - external usb hdd (ubuntu) tripled2006 Linux - General 1 01-15-2007 11:08 AM


All times are GMT -5. The time now is 05:20 AM.

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