Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

[Solved] PNY Attache 1Gb USB

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
CaptnKlink
n00b
n00b
User avatar
Posts: 11
Joined: Mon May 01, 2006 3:51 am
Location: Central Minnesota

[Solved] PNY Attache 1Gb USB

  • Quote

Post by CaptnKlink » Fri May 05, 2006 6:41 pm

Ok, I give up... How do I mount my 1Gb PNY Attache USB??? I followed the how to and this is as far as I get...

Code: Select all

localhost / # dmesg | grep USB
ehci_hcd 0000:02:0e.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:02:0e.2: USB 2.0 started, EHCI 0.95, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Initializing USB Mass Storage driver...
USB Mass Storage support registered.
USB Universal Host Controller Interface driver v2.3
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:02:0e.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
ohci_hcd 0000:02:0e.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
usb 1-1: new high speed USB device using ehci_hcd and address 2
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor:           Model: USB Flash Memory  Rev: 1.00
usb 1-1: USB disconnect, address 2
usb 1-3: new high speed USB device using ehci_hcd and address 3
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor:           Model: USB Flash Memory  Rev: 1.00
usb 2-1: new low speed USB device using ohci_hcd and address 2
input: USB HID v1.00 Mouse [Logitech Inc. iFeel Mouse   ] on usb-0000:02:0e.0-1
Last edited by CaptnKlink on Wed May 10, 2006 2:39 am, edited 1 time in total.
Top
widan
Veteran
Veteran
User avatar
Posts: 1512
Joined: Tue Jun 07, 2005 4:26 pm
Location: Paris, France

  • Quote

Post by widan » Fri May 05, 2006 7:00 pm

You need to load the sd_mod module (or build it into the kernel - it's "SCSI disk support" in menuconfig), else SCSI devices are detected but do not have device nodes affected to them. With sd_mod loaded, you should have one more line in dmesg saying that sd 0:0:0:0 is bound to /dev/sda. Then just mount the device it gives you.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri May 05, 2006 7:07 pm

CaptnKlink,

A few things to look at.
You appear to have USB 2.0 and USB 1.1 hardware supported via EHCI-HCD and OHCI-HCD.
You don't need the UHCI-HCD driver at all but it appears to be loaded. This is known to break things sometimes.

Your PNY 1Gb stick is USB 2.0 capable - You will hate it at USB 1.1 speeds, it may not fall back properly either. Many devices don't.

Sort your USB devices into two groups, USB 2 in one and USB1.x in the other. USB root hubs can do both standards but not at the same time.
They will revert to USB 1.x if a mix of devices is connected.

You will see your PNY drive attached to the USB 2 driver when thats sorted.

USB mas storage appears as SCSI, so your kernel needs to support SCSI disks, it will be vfat by defauly, so you need vfat support too..
Then the mount is

Code: Select all

mount /dev/sdX1 /mout/point -t vfat
where X is the letter assigned to your device.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
CaptnKlink
n00b
n00b
User avatar
Posts: 11
Joined: Mon May 01, 2006 3:51 am
Location: Central Minnesota

  • Quote

Post by CaptnKlink » Fri May 05, 2006 7:13 pm

I enabled SCSI disk support with MAKE MENUCONFIG

I also enabled both USB drivers because I knew I had both types, thinking about this now and 2.0 backward compatibility - I going to go back and only enable 2.0..?

VFAT is enabled.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri May 05, 2006 8:21 pm

CaptnKlink,

Not quite, you need EHCI-HCD and OHCI-HCD but you appear to have UHCI-HCD enabled
Turn off UHCI-HCD.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
CaptnKlink
n00b
n00b
User avatar
Posts: 11
Joined: Mon May 01, 2006 3:51 am
Location: Central Minnesota

  • Quote

Post by CaptnKlink » Sat May 06, 2006 9:33 pm

Something bad happened on re-boot so I figured it was easier to just start over and re-format and re-install...

So here I am again back at trying to get my USB memory stick going again.
I edited my kernel with make menuconfig, enabled EHCI-HCD and OHCI-HCD. Re-compiled the kernel and re-booted.
Now this is what I get:

Code: Select all

proteus dev # dmesg | grep USB
ehci_hcd 0000:02:0e.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:02:0e.2: USB 2.0 started, EHCI 0.95, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
usb 1-1: new high speed USB device using ehci_hcd and address 2
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
USB Mass Storage support registered.
USB Universal Host Controller Interface driver v2.3
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:02:0e.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
ohci_hcd 0000:02:0e.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
  Vendor:           Model: USB Flash Memory  Rev: 1.00
usb 1-1: USB disconnect, address 2
usb 2-1: new low speed USB device using ohci_hcd and address 2
input: USB HID v1.00 Mouse [Logitech Inc. iFeel Mouse   ] on usb-0000:02:0e.0-1
usb 1-3: new high speed USB device using ehci_hcd and address 4
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor:           Model: USB Flash Memory  Rev: 1.00
The two code outputs look exactly the same to me so I'm confused. What do I need to do next to mount my USB drive?

From following the online guide (http://gentoo.org/doc/en/usb-guide.xml) I should be able to type mount /dev/sda1 /mnt/usb but that doesn't work...

Note: I don't know anything about Linux (yet) but it's only been a week. I had working Fedora and CentOS systems going so far but I like Gentoo so much better!!! My hard-drive is probally going to explode soon with all the times I've re-formatted it... So thanks for all the help :D
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun May 07, 2006 12:11 pm

CaptnKlink,

Going through your dmesg snippet ...

Code: Select all

ehci_hcd 0000:02:0e.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:02:0e.2: USB 2.0 started, EHCI 0.95, driver 10 Dec 2004 
is good, it shows your USB 2.0 hardware is alive and well.

Code: Select all

Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
USB Mass Storage support registered. 
is good too, your USB Storage driver is loaded and showing off USB Storage devices as SCSI.

Code: Select all

USB Universal Host Controller Interface driver v2.3
is bad. You don't have UHCI USB 1.x root hubs and loading both UHCI and OHCI drivers can prevent proper operation of USB 1.x altogether.

Code: Select all

usb 1-3: new high speed USB device using ehci_hcd and address 4
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor:           Model: USB Flash Memory  Rev: 1.00 
suggests you have two USB mass storage devices attached, since you now have scsi0 and scsi1.

It looks like you are missing the top level SCSI Disk driver from your kernel, or if its a module, its not loaded. Try

Code: Select all

modprobe sd_mod
to attempt to load the module. In the kernel configuration, its under Device Drivers -> SCSI device support -> SCSI device support where you need legacy /proc/scsi/ support and SCSI disk support.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
CaptnKlink
n00b
n00b
User avatar
Posts: 11
Joined: Mon May 01, 2006 3:51 am
Location: Central Minnesota

  • Quote

Post by CaptnKlink » Mon May 08, 2006 2:44 am

I must be missing a step somewhere or doing something wrong because I keep getting the same results.

I did notice that during boot, UHCI is being loaded along with EHCI and OHCI. The screen buzzes past too fast for me to see what it's doing...

I have done the following:
emerge --sync
emerge --update portage (because --sync told me there was a new portage availible)
emerge --update genkernel
emerge --update gentoo-sources
etc-update
genkernel --bootsplash --install --no-clean --menuconfig all

I have enabled OHCI and EHCI, SCSI disk support is on as well. After exiting menuconfig I did have several time sync errors if that makes a difference.

?????
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon May 08, 2006 5:02 pm

CaptnKlink,

I'm not sure what you mean by time sync errors?
Like ... file has a timestamp 3e9 seconds in the future, or some othernumber of seconds ?

That can confuse make, becase it compares the timestamps on the source files and binary files to determine if
the binaries need to be remade. If the sources are newer, then they do. So timestamps are important. Errors can provent things being built that need to be built.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
CaptnKlink
n00b
n00b
User avatar
Posts: 11
Joined: Mon May 01, 2006 3:51 am
Location: Central Minnesota

  • Quote

Post by CaptnKlink » Mon May 08, 2006 6:28 pm

NeddySeagoon,

Yes. That is the error. Something was done in the future... I read somewhere about using ?--no_time_check? to surpress the errors will this cause any harm?

Let me ask you this question...
My original GRUB bootloader calls out kernel 2.15 r-5 (or something like that) but my new compiled kernel is 2.16 r-6. I have tried to edit the bootloader from GNOME ->Desktop->?administration?->Boot. I can copy and make a new version and even edit the original but everytime I open this command box the original gets re-created and set to default. If I open the box 10 times I get 10 copies of the original all set to default. Probally a bug... Anyhoo, my question: How do I edit my GRUB bootloader directly?

Secondly, if I edit the GRUB bootloader at startup to use my new kernel I get a Panic Error, can't find RAM0. They are the same settings as my old bootloader but I think ?SADA? isn't loaded in my kernel. Where is it and what is this new INTRD thingy for???

I'd like to thank you for taking the time to help me through this :D I'm at work and can't remember the correct syntax so that is why somethings are inside question marks...
Top
CaptnKlink
n00b
n00b
User avatar
Posts: 11
Joined: Mon May 01, 2006 3:51 am
Location: Central Minnesota

  • Quote

Post by CaptnKlink » Wed May 10, 2006 2:39 am

problem solved.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed May 10, 2006 4:35 pm

CaptnKlink,

Its go to know you solved your problem - please post your solution so others can benefit.

Your initrd is a root filesystem in a file. It is attached to /dev/ram0 for the kernel to use at boot time.
It typically holds any modules needed to mount the real root filesystem and any third party kernel modules needed early in the boot process.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
CaptnKlink
n00b
n00b
User avatar
Posts: 11
Joined: Mon May 01, 2006 3:51 am
Location: Central Minnesota

  • Quote

Post by CaptnKlink » Wed May 10, 2006 6:57 pm

My solution...

I changed to a different distribution. *dough* Not Redhat, Fedora or CentOS, not Debian.

I'm now running openSuSE.
My ACPI is supported and my USB drive mounted instantly. I can use my computer again instead of spending countless hours stumbling through what isn't making it work.

Perhaps when I learn more about Linux and how it works I'll load Gentoo again. I picked up a book "Running Linux, 5th edition" I think it will be a good start on the learning path.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed May 10, 2006 7:52 pm

CaptnKlink,

Thats as valid a solution as any other. An OS is a tool to do a job and should be selected on that basis.
I would encorage you to leave a corner (do HDDs have corners?) of your HDD for a Gentoo install if you want to learn.
Not for everyday mission critical use but as a learning resource.

Good luck with your Linux experiance, whichever distro you choose.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Post Reply

14 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic