Compaq Armada 1500c with ext USB drive
Ian Smith
smithi at nimnet.asn.au
Sat Jan 14 21:32:09 PST 2006
Hello mobiliscenti,
$subject running 4.5-RELEASE since 2002, no problems but perenially full
4GB drive and way-too-ancient wi for newer cards: past time to upgrade.
5.4 CDs and new 40GB drive arriving in a few days. In the meanwhile have
borrowed an external USB 2.5" 20GB drive for hopefully clean full backup,
but after much struggle and study I just can't get it to go despite USB
and SCSI attachment seeming fine. Always, bottom line, 'Unit not ready'.
The external USB drive is recognised, attached and works fine on 2 'doze
boxes, a '98 desktop and a modern Compaq laptop running XP; on the former
I created a FAT32 first partition and copied a few files onto it.
Relevant extracts from dmesg.boot are below, but first I'll describe the
problem appearance; perhaps someone will recognise it straight up? This
is using an added USB 4 port powered hub, the ext drive having an extra
power-only USB plug reportedly needed by some USB systems; no difference:
Jan 15 15:36:41 paqi /kernel: uhub1: Genesys Logic, Inc. USB2.0 Hub, class 9/0, rev 2.00/6.0b, addr 2
Jan 15 15:36:41 paqi /kernel: uhub1: 4 ports with 4 removable, self powered
Adding the drive:
Jan 15 15:40:18 paqi /kernel: umass0: Genesys Logic, Inc. USB TO IDE, rev 2.00/0.02, addr 3
Jan 15 15:40:18 paqi /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Jan 15 15:40:18 paqi /kernel: da0: <HITACHI_ DK23CA-20 0811> Fixed Direct Access SCSI-0 device
Jan 15 15:40:18 paqi /kernel: da0: 650KB/s transfers
Jan 15 15:40:18 paqi /kernel: da0: 19077MB (39070080 512 byte sectors: 64H 32S/T 19077C)
paqi# camcontrol rescan da0
Re-scan of bus 0 was successful
paqi# usbdevs -v
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 0x0100
port 1 addr 2: self powered, config 1, USB2.0 Hub(0x0605), Genesys Logic, Inc.(0x05e3), rev 0x060b
port 1 addr 3: self powered, config 1, USB TO IDE(0x0702), Genesys Logic, Inc.(0x05e3), rev 0x0002
port 2 powered
port 3 powered
port 4 powered
port 2 powered
paqi# camcontrol devlist -v
scbus0 on umass-sim0 bus 0:
<HITACHI_ DK23CA-20 0811> at scbus0 target 0 lun 0 (da0,pass0)
scbus-1 on xpt0 bus 0:
< > at scbus-1 target -1 lun -1 (xpt0)
paqi# camcontrol negotiate da0 -v
Current Parameters:
umass-sim0: SIM/HBA version: 1
umass-sim0: HBA engine count: 0
umass-sim0: maximum target: 32
umass-sim0: maximum LUN: 0
umass-sim0: highest path ID in subsystem: 0
umass-sim0: initiator ID: 32
umass-sim0: SIM vendor: FreeBSD
umass-sim0: HBA vendor: USB SCSI
umass-sim0: bus ID: 0
umass-sim0: base transfer speed: 650000KB/sec
paqi# camcontrol tur da0
Unit is not ready
paqi# fdisk da0
fdisk: can't open device /dev/da0
Jan 15 15:45:33 paqi /kernel: (da0:umass-sim0:0:0:0): . CDB: 8 0 0 0 1 0
Jan 15 15:45:33 paqi /kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:24,0
Jan 15 15:45:33 paqi /kernel: (da0:umass-sim0:0:0:0):
Jan 15 15:45:33 paqi /kernel: da0: reading primary partition table: error reading fsbn 0
.. which is what happens on any attempt to read from the drive. I added
SCSI debugging to the kernel and can bombard you with voluminous reports
while having debug enabled, but it always comes back to the above; for
some reason the drive is not being made ready, or not being seen as such.
Any clues?
Cheers, Ian
======= relevant extracts from dmesg.boot =======
FreeBSD 4.5-RELEASE #1: Mon Dec 26 00:30:19 EST 2005
root at paqi.nimnet.asn.au:/usr/src/sys/compile/PAQI_2
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (300.01-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x66a Stepping = 10
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory = 167772160 (163840K bytes)
avail memory = 158973952 (155248K bytes)
Preloaded elf kernel "kernel" at 0xc0406000.
pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1020-0x102f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1000-0x101f irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ad0: 4108MB <TOSHIBA MK4309MAT> [8905/15/63] at ata0-master UDMA33
acd0: CDROM <UJDA150> at ata0-slave using PIO4
Mounting root from ufs:/dev/ad0s4a
=======
More information about the freebsd-mobile
mailing list