Re: [CentOS] external usb hard drve not detected by centos 5

2011-12-05 Thread Nicolas Thierry-Mieg
Michel Donais wrote:
 What does dmesg says when you plug it in?

 Here it is

 ahc_pci:0:8:0: Illegal cable configuration!!. Only two connectors on the
 adapter may be used at a time!

this looks suspect
try googling for it

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] external usb hard drve not detected by centos 5

2011-12-04 Thread Michel Donais
Centos 5.6
I have a 80 gig SATA usb drive connected in hub no-1
and a USB key in hub no-2

If I perform the following commands I get some results but there is no sdbXX 
appearance

[root@localhost home]# lsusb
Bus 001 Device 001: ID :

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor= ProdID= Rev= 2.06
S:  Manufacturer=Linux 2.6.18-238.el5 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=:00:07.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
/proc/bus/usb/devices (END)

[root@localhost home]# sfdisk /dev/sdb
/dev/sdb: No such file or directory
sfdisk: Fatal error: cannot find /dev/sdb

[root@localhost home]# sg_map
/dev/sg0  /dev/sda

[root@localhost home]# fdisk -l
Disk /dev/sda: 9132 MB, 9132374016 bytes
255 heads, 63 sectors/track, 1110 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *   1  13  104391   83  Linux
/dev/sda2  141110 8811652+  8e  Linux LVM

[root@localhost home]# ls /dev/|grep hd
cdrom-hda
cdrw-hda
cdwriter-hda
dvd-hda
dvdrw-hda
dvdwriter-hda
hda

I googled a lot and found nothing that can point me directly to a solution.

Can somebody point me a solution

---
Michel Donais 


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] external usb hard drve not detected by centos 5

2011-12-04 Thread Ljubomir Ljubojevic
Vreme: 12/04/2011 07:09 PM, Michel Donais piše:
 Centos 5.6
 I have a 80 gig SATA usb drive connected in hub no-1
 and a USB key in hub no-2

 If I perform the following commands I get some results but there is no sdbXX
 appearance

 [root@localhost home]# lsusb
 Bus 001 Device 001: ID :

 T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
 B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
 D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
 P:  Vendor= ProdID= Rev= 2.06
 S:  Manufacturer=Linux 2.6.18-238.el5 uhci_hcd
 S:  Product=UHCI Host Controller
 S:  SerialNumber=:00:07.2
 C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
 I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
 E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
 /proc/bus/usb/devices (END)

 [root@localhost home]# sfdisk /dev/sdb
 /dev/sdb: No such file or directory
 sfdisk: Fatal error: cannot find /dev/sdb

 [root@localhost home]# sg_map
 /dev/sg0  /dev/sda

 [root@localhost home]# fdisk -l
 Disk /dev/sda: 9132 MB, 9132374016 bytes
 255 heads, 63 sectors/track, 1110 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes

 Device Boot  Start End  Blocks   Id  System
 /dev/sda1   *   1  13  104391   83  Linux
 /dev/sda2  141110 8811652+  8e  Linux LVM

 [root@localhost home]# ls /dev/|grep hd
 cdrom-hda
 cdrw-hda
 cdwriter-hda
 dvd-hda
 dvdrw-hda
 dvdwriter-hda
 hda

 I googled a lot and found nothing that can point me directly to a solution.

 Can somebody point me a solution

What does dmesg says when you plug it in?

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] external usb hard drve not detected by centos 5

2011-12-04 Thread Michel Donais
What does dmesg says when you plug it in?

Here it is
Sorry for the long list but I think it may be usefiull

---  dmesg listing begin ---

Linux version 2.6.18-238.el5 (mockbu...@builder10.centos.org) (gcc version
4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Thu Jan 13 16:24:47 EST 2011
BIOS-provided physical RAM map:
 BIOS-e820: 0001 - 0009fc00 (usable)
 BIOS-e820: 0009fc00 - 000a (reserved)
 BIOS-e820: 000f - 0010 (reserved)
 BIOS-e820: 0010 - 13ff (usable)
 BIOS-e820: 13ff - 13ff3000 (ACPI NVS)
 BIOS-e820: 13ff3000 - 1400 (ACPI data)
 BIOS-e820: fec0 - fec01000 (reserved)
 BIOS-e820: fee0 - fee01000 (reserved)
 BIOS-e820:  - 0001 (reserved)
0MB HIGHMEM available.
319MB LOWMEM available.
found SMP MP-table at 000f56c0
Memory for crash kernel (0x0 to 0x0) notwithin permissible range
disabling kdump
Using x86 segment limits to approximate NX protection
On node 0 totalpages: 81904
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 77808 pages, LIFO batch:15
DMI 2.0 present.
Using APIC driver default
ACPI: RSDP (v000 QDIQDI) @ 0x000f6bc0
ACPI: RSDT (v001 QDIQDI AWRDACPI 0x  0x) @ 0x13ff3000
ACPI: FADT (v001 QDIQDI AWRDACPI 0x  0x) @ 0x13ff3040
ACPI: DSDT (v001 QDIQDI AWRDACPI 0x1000 MSFT 0x0104) @ 0x
ACPI: PM-Timer IO Port: 0x4008
Intel MultiProcessor Specification v1.1
Virtual Wire compatibility mode.
OEM ID: OEM0 Product ID: PROD APIC at: 0xFEE0
Processor #0 6:5 APIC version 17
Processor #255 6:5 APIC version 17
I/O APIC #2 Version 17 at 0xFEC0.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Processors: 2
Allocating PCI resources starting at 2000 (gap: 1400:eac0)
Detected 350.813 MHz processor.
Built 1 zonelists.  Total pages: 81904
Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet
mapped APIC to d000 (fee0)
mapped IOAPIC to c000 (fec0)
Enabling fast FPU save and restore... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c076c000 soft=c074c000
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 315944k/327616k available (2189k kernel code, 10948k reserved, 912k
data, 228k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop (skipped), value calculated using timer frequency..
701.62 BogoMIPS (lpj=350813)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0183fbff   
  
CPU: After vendor identify, caps: 0183fbff    

 
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU: After all inits, caps: 0183f3ff   0040 
 
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
ACPI: Core revision 20060707
ACPI: setting ELCR to 0200 (from 0c20)
CPU0: Intel Pentium II (Deschutes) stepping 01
Total of 1 processors activated (701.62 BogoMIPS).
ExtINT not setup in hardware but reported by MP table
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=0 pin2=0
Using local APIC timer interrupts.
Brought up 1 CPUs
sizeof(vma)=84 bytes
sizeof(page)=32 bytes
sizeof(inode)=340 bytes
sizeof(dentry)=136 bytes
sizeof(ext3inode)=492 bytes
sizeof(buffer_head)=52 bytes
sizeof(skbuff)=176 bytes
checking if image is initramfs... it is
Freeing initrd memory: 3353k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfafc0, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI Error (uteval-0269): Return object type is incorrect
[\_SB_.PCI0.ISA_.UAR1._PRW] (Node c13116a8), AE_TYPE
ACPI Error (uteval-0275): Type returned from _PRW was incorrect: Integer,
expected Btypes: 8 [20060707]
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: No dock devices found.
ACPI: PCI Root Bridge [PCI0] (:00)
* Found PM-Timer Bug on the chipset. Due to workarounds for a bug,
* this clock source is slow. Consider trying other clock sources
PCI quirk: region 4000-403f claimed by PIIX4 ACPI
PCI quirk: region 5000-500f claimed by PIIX4 SMB
PCI: Firmware left :00:0a.0 e100 interrupts enabled, disabling
PCI: Firmware left :00:0d.0 e100 interrupts enabled, disabling
ACPI: PCI