Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

USB HDD Problems

Need help with peripherals or devices?
Message
Author
Guest

USB HDD Problems

#1 Post by Guest »

Hi,

I'm yet another newbie trying to get my head around Linux, and am in the process of building a media server to work with my Pinnacle Showcenter.

I have managed to get Swisscenter and Samba working, and now want to add my media. For storage I was planning on using a 500gb WD Mybook, and that's where I've hit my problems.

The device was working with a Linksys NSLU running Unslung, and was formatted on there. It worked without any problems. I've now removed it from the Slug and have it plugged into my Debian box, but am having a devil of a time getting it to mount.

Below is the output of some diagnostics. I've installed udev to try to manage everything. the box is meant to be headless and has no GUI installed.

debian:/# lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 1058:0903 Western Digital Technologies, Inc.
Bus 001 Device 001: ID 0000:0000

So the device is there and recognised.

debian:/# ls /dev/sd*
ls: /dev/sd*: No such file or directory

But it's not being mounted as a SCSI device despite the out put of 'dmesg' :

usb 1-1: new full speed USB device using address 2
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: WD Model: 5000KS External Rev: 106a
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: assuming drive cache: write through
/dev/scsi/host0/bus0/target0/lun0: p1 p2 p3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
drivers/usb/input/hid-core.c: ctrl urb status -32 received
input: USB HID v1.11 Device [Western Digital External HDD] on usb-0000:00:11.2-1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver

and just to be sure

debian:/# fdisk -l

Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 9679 77746536 83 Linux
/dev/hda2 9680 9964 2289262+ 5 Extended
/dev/hda5 9680 9964 2289231 82 Linux swap / Solaris
debian:/#

madjalapeno
Posts: 12
Joined: 2007-04-09 19:46
Location: NH, USA

#2 Post by madjalapeno »

I've now registered as I figure I'm going to be asking quite a few questions as I get everything set up.

This lack of USB connectivity is a big stumbling point right now, so any suggestions would be welcome.

Thanks

robselina
Posts: 56
Joined: 2006-10-10 01:46

#3 Post by robselina »

I'm stumbling through the same problem right now. I have a custom 2.6.17 kernel and I'm using udev. I don't see /dev/sdX appearing either. I recompiled my kernel last night but didn't get around to installing it so when I get home I"ll post up where I'm at and maybe we can figure this out.

a few things to note though:

Code: Select all

debian:/# ls /dev/sd*
ls: /dev/sd*: No such file or directory 
This isn't a valid syntax (at least on the machine I'm sitting at). You need to do this instead:

Code: Select all

debian:/# ls -laF /dev | grep sd
That should give you the output you want. If you have /dev/sda you're ahead of me right now :wink:

I do see the drive connected with dmesg and I can see the mounting procedure in /var/log/messages but it seems to hang in the case of mine.

Post up the following after plugging in the drive

Code: Select all

tail -n20 /var/log/messages
Also see which modules you have loaded using 'lsmod'. You should see 'ehci_hcd', 'usb_storage' & 'sd_mod'. I can't figure out if anything else is missing.....
-- Rob

pendrachken
Posts: 1394
Joined: 2007-03-04 21:10
Location: U.S.A. - WI.

#4 Post by pendrachken »

you need to mount a partition not a drive. USB is ALWAYS considered SCSI buss access to mount your drive try:

Code: Select all

 
 as root#  mount /dev/sda1 /mountpoint
This will mount the first partition of your USB drive at /mountpoint ( wherever you want it to be mounted)

robselina
Posts: 56
Joined: 2006-10-10 01:46

#5 Post by robselina »

pendrachken wrote:you need to mount a partition not a drive. USB is ALWAYS considered SCSI buss access to mount your drive try:

Code: Select all

 
 as root#  mount /dev/sda1 /mountpoint
This will mount the first partition of your USB drive at /mountpoint ( wherever you want it to be mounted)
At least for me, the problem is that /dev/sda1 (or /dev/sda for that matter) doesn't exist. I've figured out that it's actually a conflicting USB problem for me so I'm going to start a different thread.
-- Rob

madjalapeno
Posts: 12
Joined: 2007-04-09 19:46
Location: NH, USA

#6 Post by madjalapeno »

I tried the different ls command, but still no luck getting anything recognized.

I just tried plugging the drive in again, and got the following from dmesg

Code: Select all

BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
usb 1-1: USB disconnect, address 2
usb 1-1: new full speed USB device using address 3
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor: WD        Model: 5000KS External   Rev: 106a
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: assuming drive cache: write through
 /dev/scsi/host1/bus0/target0/lun0: p1 p2 p3
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
USB Mass Storage device found at 3
drivers/usb/input/hid-core.c: ctrl urb status -32 received
input: USB HID v1.11 Device [Western Digital External HDD] on usb-0000:00:11.2-1
debian:~#

Tried ls -laF /dev | grep sd again with nothing found :(

User avatar
Jackiebrown
Posts: 1246
Joined: 2007-01-02 04:46
Location: San Antonio, TX

#7 Post by Jackiebrown »

As a cheat do you have pmount installed?
pmount is a wrapper around the standard mount program which permits normal users to mount removable devices without a matching /etc/fstab entry

robselina
Posts: 56
Joined: 2006-10-10 01:46

#8 Post by robselina »

Code: Select all

Attached scsi disk sda at scsi1, channel 0, id 0, lun 0 
What does this say?

Code: Select all

ls -laF | grep scsi
It looks like it mounted your partition as /dev/scsi1......if that doesn't pan out, post up 'uname -a'
-- Rob

madjalapeno
Posts: 12
Joined: 2007-04-09 19:46
Location: NH, USA

#9 Post by madjalapeno »

Rob,

Still no luck

Code: Select all

debian:/# ls -laF | grep scsi
debian:/# uname -a
Linux debian 2.6.8-3-386 #1 Wed Dec 6 00:38:53 UTC 2006 i686 GNU/Linux
debian:/# debian:/#
Could I be missing some modules? What should I be checking for to use a USB disk?

Thanks

Mike

robselina
Posts: 56
Joined: 2006-10-10 01:46

#10 Post by robselina »

sorry my bad. Had a typo in there, I wanted to see if you had /dev/scsi1

This is the right command:

Code: Select all

debian:/# ls -laF /dev | grep scsi 
Are you sure udev is working? If I try to use a kernel before 2.6.15 (I think that's the right one) udev spits out an error and doesn't start. You might also want to upgrade to the newer kernel. The latest in the package system is 2.6.18.

I take it you're on Etch?

Code: Select all

aptitude install linux-image-2.6-686
-- Rob

robselina
Posts: 56
Joined: 2006-10-10 01:46

#11 Post by robselina »

madjalapeno wrote: Could I be missing some modules? What should I be checking for to use a USB disk?
Mike, post the output of 'lsmod'. You should see an ehci_hcd drive, a usb_storage driver and sd_mod if I remember correctly.

Of note, you seem to only have eh uhci/ohci module loading instead of ehci_hcd since the device is picked up as a USB 1.1 device. Is that accurate? Most enclosures are USB 2.0.
-- Rob

robselina
Posts: 56
Joined: 2006-10-10 01:46

#12 Post by robselina »

BTW, just curious why you're ditching the slug?

I'm in a very similar situation to you right now I think. I'm in the process of getting an HTPC up and running in the living room and I want to be able to share all my music/video/etc in both the office and living room.

I usually power down my linux desktop since it's a bit of a power hog, but I have an older laptop that I use as a print server (it's up full time) so I'm attempting to also use it for samba shares with external drives. I looked into the slug and almost bought one but I can do about the same thing with this laptop and it's a little more expandable. Power consumption is about twice that of the slug, at 21W (vs 10W for the slug) but that sure beats a desktop either way!
-- Rob

madjalapeno
Posts: 12
Joined: 2007-04-09 19:46
Location: NH, USA

#13 Post by madjalapeno »

Code: Select all

debian:/# lsmod
Module                  Size  Used by
edd                     9628  0
joydev                  9536  0
st                     35740  0
sr_mod                 15780  0
parport_pc             33348  0
parport                37320  1 parport_pc
ipv6                  230148  20
appletalk              32820  20
autofs4                18052  0
af_packet              20872  2
pcspkr                  3816  0
rtc                    12088  0
snd_via82xx            26660  0
snd_ac97_codec         59268  1 snd_via82xx
snd_pcm                85384  1 snd_via82xx
snd_timer              23300  1 snd_pcm
snd_page_alloc         11144  2 snd_via82xx,snd_pcm
gameport                4736  1 snd_via82xx
snd_mpu401_uart         7296  1 snd_via82xx
snd_rawmidi            23204  1 snd_mpu401_uart
snd_seq_device          7944  1 snd_rawmidi
snd                    50660  7 snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
pci_hotplug            30640  0
via_agp                 8832  1
agpgart                31784  1 via_agp
evdev                   9088  0
usbhid                 28864  0
usb_storage            59328  0
uhci_hcd               29328  0
usbcore               104292  5 usbhid,usb_storage,uhci_hcd
via82cxxx_audio        26248  0
uart401                11460  1 via82cxxx_audio
sound                  75308  2 via82cxxx_audio,uart401
soundcore               9824  3 snd,via82cxxx_audio,sound
ac97_codec             16908  1 via82cxxx_audio
via_rhine              19848  0
mii                     4864  1 via_rhine
via_ircc               20368  0
irda                  167616  1 via_ircc
crc_ccitt               2432  1 irda
capability              4872  0
commoncap               7168  1 capability
psmouse                17800  0
ide_cd                 38176  0
cdrom                  35740  2 sr_mod,ide_cd
ext3                  109800  1
jbd                    54552  1 ext3
ide_generic             1664  0
via82cxxx              12956  1
ide_disk               16768  3
ide_core              125028  5 usb_storage,ide_cd,ide_generic,via82cxxx,ide_disk
sd_mod                 20480  0
ata_piix                7812  0
libata                 36228  1 ata_piix
scsi_mod              115148  5 st,sr_mod,usb_storage,sd_mod,libata
unix                   26036  64
font                    8576  0
vesafb                  6688  0
cfbcopyarea             3840  1 vesafb
cfbimgblt               3200  1 vesafb
cfbfillrect             3712  1 vesafb
debian:/#
Rob,

I'm not ditching the slug at all - I love them and have 2. They were my first introduction to having Linux running properly.

I have one running unslung 5.5 set up with an 80Gb disk that has my mp3 library on it, and a couple of cron jobs to grab images from my wireless webcams and upload them to my website. That's my stable slug, that I want to keep running all the time.

The other slug is for playing with. It's overclocked and I've tried (without success) to get my Davis Weather station to run on it, but thats another story http://www.jalapeno.co.uk/pmwiki/index. ... wInstallP1

The reason I'm trying Debian is that the slugs were a bit slow. I had a 800Mhz VIA EPIA board lying around and an old SGI case that needed modding, so I've put the 2 together to build myself a media server that I can plug all the external disks I've bought over the years into and actually use. The VIA probably uses about the same power as your laptop does.

I'ev got Samba, Apache, Perl, PHP, MySQL all running on it, and have tried Swisscenter and Oxylbox on it. I'm trying to write my own media server in Perl right now, but having problems getting my Pinnacle Showcenter to actually play a movie.

Thanks again,

Mike

robselina
Posts: 56
Joined: 2006-10-10 01:46

#14 Post by robselina »

You appear to have all the modules except EHCI. Looks like the drive and MB are UHCI based.

What was the output of this with the drives plugged in?

Code: Select all

debian:/# ls -laF /dev | grep scsi 
Your dmesg output sure looks like it's /dev/scsi1.
-- Rob

madjalapeno
Posts: 12
Joined: 2007-04-09 19:46
Location: NH, USA

#15 Post by madjalapeno »

I just checked the specs, and the motherboard is USB2.

When I look for SCSI devices I get the following

Code: Select all

debian:/# ls -laF /dev | grep scsi
debian:/#
nothing :(

here is a full dmesg

Code: Select all

debian:/# dmesg
Linux version 2.6.8-3-386 (pbuilder@dl360-g3) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 Wed Dec 6 00:38:53 UTC 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000002f7f0000 (usable)
 BIOS-e820: 000000002f7f0000 - 000000002f7f3000 (ACPI NVS)
 BIOS-e820: 000000002f7f3000 - 000000002f800000 (ACPI data)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
759MB LOWMEM available.
On node 0 totalpages: 194544
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 190448 pages, LIFO batch:16
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.2 present.
ACPI: RSDP (v000 VIA601                                    ) @ 0x000f67c0
ACPI: RSDT (v001 VIA601 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x2f7f3000
ACPI: FADT (v001 VIA601 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x2f7f3040
ACPI: DSDT (v001 VIA601 AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
ACPI: PM-Timer IO Port: 0x4008
Built 1 zonelists
Kernel command line: root=/dev/hda1 ro devfs=nomount
No local APIC present or hardware disabled
Initializing CPU#0
PID hash table entries: 4096 (order 12: 32768 bytes)
Detected 800.187 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 762956k/778176k available (1338k kernel code, 14444k reserved, 731k data, 204k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 1585.15 BogoMIPS
Security Scaffold v1.0.0 initialized
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 00803035 80803035 00000000 00000000
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: After all inits, caps:        00803135 80803035 00000000 00000000
CPU: Centaur VIA Samuel 2 stepping 03
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
checking if image is initramfs...it isn't (ungzip failed); looks like an initrd
Freeing initrd memory: 4192k freed
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.10 entry at 0xfb3a0, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: IRQ5 SCI: Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 11 *12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00fbda0
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xbdd0, dseg 0xf0000
PnPBIOS: 12 nodes reported by PnP BIOS; 12 recorded by driver
PCI: Using ACPI for IRQ routing
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 12
ACPI: PCI interrupt 0000:00:11.2[D] -> GSI 12 (level, low) -> IRQ 12
ACPI: PCI interrupt 0000:00:11.3[D] -> GSI 12 (level, low) -> IRQ 12
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:11.5[C] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:12.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 11 (level, low) -> IRQ 11
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 54 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
EISA: Probing bus 0 at eisa0
EISA: Detected 0 cards.
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET: Registered protocol family 8
NET: Registered protocol family 20
ACPI: (supports S0 S1 S4 S5)
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4192 blocks [1 disk] into ram disk... done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 204k freed
vesafb: probe of vesafb0 failed with error -6
NET: Registered protocol family 1
SCSI subsystem initialized
libata version 1.02 loaded.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8231 (rev 10) IDE UDMA100 controller on pci0000:00:11.1
    ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:pio
hda: Maxtor 4R080L0, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 1024KiB
hda: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(33)
 /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 >
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Adding 2289220k swap on /dev/hda5.  Priority:-1 extents:1
EXT3 FS on hda1, internal journal
Capability LSM initialized
irda_init()
NET: Registered protocol family 23
via-rhine.c:v1.10-LK1.1.20-2.6 May-23-2004 Written by Donald Becker
ACPI: PCI interrupt 0000:00:12.0[A] -> GSI 11 (level, low) -> IRQ 11
eth0: VIA Rhine II at 0xe800, 00:40:63:ca:c7:f6, IRQ 11.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.
Via 686a/8233/8235 audio driver 1.9.1-ac4-2.5
ACPI: PCI interrupt 0000:00:11.5[C] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:11.5 to 64
ac97_codec: AC97 Audio codec, id: VIA97 (Unknown)
via82cxxx: board #1 at 0xDC00, IRQ 10
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
ACPI: PCI interrupt 0000:00:11.2[D] -> GSI 12 (level, low) -> IRQ 12
uhci_hcd 0000:00:11.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:11.2: irq 12, io base 0000d400
uhci_hcd 0000:00:11.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:11.3[D] -> GSI 12 (level, low) -> IRQ 12
uhci_hcd 0000:00:11.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
uhci_hcd 0000:00:11.3: irq 12, io base 0000d800
uhci_hcd 0000:00:11.3: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 1-1: new full speed USB device using address 2
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: WD        Model: 5000KS External   Rev: 106a
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: assuming drive cache: write through
 /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
drivers/usb/input/hid-core.c: ctrl urb status -32 received
input: USB HID v1.11 Device [Western Digital External HDD] on usb-0000:00:11.2-1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA Apollo ProMedia/PLE133Ta chipset
agpgart: Maximum main memory to use for agp memory: 682M
agpgart: AGP aperture is 64M @ 0xd0000000
cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:\_SB_.PCI0 evaluate _BBN fail=0x5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x5
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
parport_pc: VIA 686A/8231 detected
parport_pc: probing current configuration
parport_pc: Current parallel port base: 0x378
parport0: PC-style at 0x378, irq 7 [PCSPP,EPP]
parport_pc: VIA parallel port: io=0x378, irq=7
Real Time Clock Driver v1.12
input: PC Speaker
eth0: Setting full-duplex based on MII #1 link partner capability of 45e1.
NET: Registered protocol family 17
NET: Registered protocol family 5
NET: Registered protocol family 10
Disabled Privacy Extensions on device c02cc960(lo)
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 4 ret -32
parport0: PC-style at 0x378 [PCSPP,EPP]
parport_pc: VIA 686A/8231 detected
parport_pc: probing current configuration
parport_pc: Current parallel port base: 0x378
parport0: PC-style at 0x378, irq 7 [PCSPP,EPP]
parport_pc: VIA parallel port: io=0x378, irq=7
ppa: Version 2.07 (for Linux 2.4.x)
st: Version 20040403, fixed bufsize 32768, s/g segs 256
BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
usb 1-1: USB disconnect, address 2
usb 1-1: new full speed USB device using address 3
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor: WD        Model: 5000KS External   Rev: 106a
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: assuming drive cache: write through
 /dev/scsi/host1/bus0/target0/lun0: p1 p2 p3
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
USB Mass Storage device found at 3
drivers/usb/input/hid-core.c: ctrl urb status -32 received
input: USB HID v1.11 Device [Western Digital External HDD] on usb-0000:00:11.2-1
debian:/#
(apologies for length)

robselina
Posts: 56
Joined: 2006-10-10 01:46

#16 Post by robselina »

your kernel seems to identify two separate UHCI USB controllers, instead of a UHCI and an EHCI controller. That's probably not the problem, but it's reason enough to upgrade the kernel so I'd do that for starters and maybe you'll get lucky with the newer kernel.

What does lspci say about USB hubs/controllers?
-- Rob

madjalapeno
Posts: 12
Joined: 2007-04-09 19:46
Location: NH, USA

#17 Post by madjalapeno »

Ahhhh, I think you've found something with that last one

Code: Select all

debian:/# lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia] (rev 05)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia AGP]
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8231 [PCI-to-ISA Bridge] (rev 10)
0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1e)
0000:00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1e)
0000:00:11.4 Bridge: VIA Technologies, Inc. VT8235 ACPI (rev 10)
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 40)
0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 51)
0000:01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/i1 (rev 6a)
debian:/#
It looks like it's only finding USB 1.1 Controllers. :shock: Speaking as a newb I would have thought it would find the drive, but it would be slooow.

What should I do to fix it?

Back to the slugs - I'm using mt-daapd to serve music files to my Roku, which is a great system.

thanks

robselina
Posts: 56
Joined: 2006-10-10 01:46

#18 Post by robselina »

I think that board may just be USB 1.1 :cry:

You're right, it'll be very slow for transfers since you'll get no more than 1.5MB/sec through the USB ports......

Got a link to your board specs?

If you have an open PCI port you can add a USB 2.0 controller, but i suspect that board doesn't have many......

If you're sure it's supposed to have USB 2.0, try the kernel update but I've never seen the lspci output change based on the kernel available.....
Last edited by robselina on 2007-04-12 16:39, edited 1 time in total.
-- Rob

robselina
Posts: 56
Joined: 2006-10-10 01:46

#19 Post by robselina »

madjalapeno wrote: Back to the slugs - I'm using mt-daapd to serve music files to my Roku, which is a great system.
Fun stuff! I'm starting pretty basic, I'll have most of my files on SMB shares and with the HTPC they'll all be mouted using SMBFS. Should give me access to everything but it's not quite as neat of a solution as the ROKU since I don't have a good remote or front-pannel setup yet to do some basic functions w/o the TV....
-- Rob

madjalapeno
Posts: 12
Joined: 2007-04-09 19:46
Location: NH, USA

#20 Post by madjalapeno »

I have a USB PCI card, but it will have to wait until I get home, as even though SSH is great, adding an external card is still beyond it (and me) :lol:

If you ever get a chance to get a Roku make sure you do - it takes your music collection to another level. It's silent and so convenient, and has high wife approval value. Heck, it's worth it for Radio Paradise alone.

Post Reply