View previous topic :: View next topic |
Author |
Message |
ben_dash Apprentice
Joined: 12 Aug 2003 Posts: 239
|
Posted: Sat Jan 01, 2005 3:31 am Post subject: 2.6.9 and USB mass storage |
|
|
I just graduated from genkernel to make menuconfig, so I'm still discovering all the options to choose from the menu.
My question is: "What options do I select to enable USB Mass storage devices?"
Currently nothing is showing up in dmesg.
Device Drivers -> USB Support -> USB device Filesystem is selected
Device Drivers -> USB Support -> USB mass storage support and USB mass storage verbose debug are selected
Any ideas? I'm sure that I'm missing something simple |
|
Back to top |
|
|
mentok n00b
Joined: 02 Nov 2003 Posts: 22 Location: Ontario, Canada
|
Posted: Sat Jan 01, 2005 4:56 am Post subject: |
|
|
In order to use USB mass storage you need SCSI support, SCSI disk support, SCSI generic support, and SCSI emulation support (under block devices). The usb drive will appear as /dev/sda (a SCSI disk) or something like that. _________________
Code: | 'emerge' is not recognized as an internal or external command,
operable program or batch file. |
Click here for hardcore nudity!!! |
|
Back to top |
|
|
ben_dash Apprentice
Joined: 12 Aug 2003 Posts: 239
|
Posted: Sat Jan 01, 2005 5:23 am Post subject: SCSI |
|
|
yep - I already have SCSI disk support and SCSI generic support. I don't see SCSI emulation under block devices, all I see there is:
Code: | │ │ <*> Normal floppy disk support │ │
│ │ < > XT hard disk support │ │
│ │ < > Parallel port IDE device support │ │
│ │ < > Compaq SMART2 support │ │
│ │ < > Compaq Smart Array 5xxx support │ │
│ │ < > Mylex DAC960/DAC1100 PCI RAID Controller support │ │
│ │ < > Micro Memory MM5415 Battery Backed RAM support (EXPERIMENTAL) │ │
│ │ < > Loopback device support │ │
│ │ < > Network block device support │ │
│ │ < > Promise SATA SX8 support │ │
│ │ < > Low Performance USB Block driver │ │
│ │ <*> RAM disk support │ │
│ │ (4096) Default RAM disk size (kbytes) │ │
│ │ [*] Initial RAM disk (initrd) support │ │
│ │ [*] Support for Large Block Devices |
Any other ideas?
I have
Code: | Device drivers -> USB support -> USB Mass Storage support -> USB Mass Storage verbose debug |
selected
Should I also select:
Code: | Device drivers -> USB support -> USB verbose debug messages |
I'm not sure that that would make a difference though, as dmesg data or not I can't mount my USB mass storage device that used to be on sda1 when I was using genkernel. I'm getting:
Quote: | bdash@alpha bdash $ mount /mnt/iRiverHP120
mount: special device /dev/sda1 does not exist
bdash@alpha bdash $ cat /etc/fstab |grep iRiver
/dev/sda1 /mnt/iRiverHP120 vfat noauto,defaults,users 0 0 |
|
|
Back to top |
|
|
kenyon Apprentice
Joined: 23 Dec 2004 Posts: 155 Location: Southern California
|
Posted: Sat Jan 01, 2005 9:50 am Post subject: |
|
|
Are the modules getting loaded? When I turn on my external USB hard drive, usb_storage loads. |
|
Back to top |
|
|
tuam l33t
Joined: 04 May 2004 Posts: 765 Location: CGN, Germany
|
Posted: Sat Jan 01, 2005 2:37 pm Post subject: Re: 2.6.9 and USB mass storage |
|
|
ben_dash wrote: | Device Drivers -> USB Support -> USB device Filesystem is selected
Device Drivers -> USB Support -> USB mass storage support and USB mass storage verbose debug are selected |
Is it selected as module or not? What shows in dmesg if you boot without the iRiver plugged, and then plug it in?
FF,
Daniel |
|
Back to top |
|
|
Mben Guru
Joined: 29 Mar 2004 Posts: 465 Location: New York, USA
|
Posted: Sat Jan 01, 2005 2:48 pm Post subject: |
|
|
try 2.6.10 if you cant make it work. i had problems with 2.6.9 and usb |
|
Back to top |
|
|
buffalo n00b
Joined: 01 Nov 2004 Posts: 70 Location: france
|
Posted: Sat Jan 01, 2005 3:00 pm Post subject: |
|
|
some USB mass storage are not standard, you have to activate ISD200 mass storage support (it was the case of my archos USBMS) _________________ --
Forgive your ennemies -
nothing annoys them more
O.wilde |
|
Back to top |
|
|
ben_dash Apprentice
Joined: 12 Aug 2003 Posts: 239
|
Posted: Sat Jan 01, 2005 3:59 pm Post subject: Is it a module? |
|
|
When I said "selected" I meant that it was not as a module, I meant compiled in.
I'm pretty sure that this device should work because it worked with the same kernel when I was using genkernel. |
|
Back to top |
|
|
ben_dash Apprentice
Joined: 12 Aug 2003 Posts: 239
|
Posted: Sat Jan 01, 2005 10:00 pm Post subject: |
|
|
I added ISD200 mass storage support but still no difference, If I plug in any USB mass storage device I see nothing in dmesg:
Quote: | bdash@alpha bdash $ dmesg
Linux version 2.6.9-gentoo-r4 (root@alpha) (gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)) #8 SMP Sat Jan 1 11:30:14 CST 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fff8000 (ACPI data)
BIOS-e820: 000000001fff8000 - 0000000020000000 (ACPI NVS)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffee0000 - 00000000fff00000 (reserved)
BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 126960 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 AMI ) @ 0x000fa360
ACPI: RSDT (v001 AMIINT AMIINT10 0x00001000 MSFT 0x0100000b) @ 0x1fff0000
ACPI: FADT (v001 AMIINT AMIINT10 0x00001000 MSFT 0x0100000b) @ 0x1fff0030
ACPI: DSDT (v001 SiS 735 0x00000100 MSFT 0x0100000d) @ 0x00000000
Built 1 zonelists
Kernel command line: root=/dev/hda3 video=vesafb:ywrap,pmipal,1024x768-16@60 splash=verbose,theme:emergence
fbsplash: verbose
fbsplash: theme emergence
No local APIC present or hardware disabled
Initializing CPU#0
CPU 0 irqstacks, hard=c05d6000 soft=c05ce000
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 1394.320 MHz processor.
Using tsc 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: 512644k/524224k available (2962k kernel code, 10996k reserved, 1114k data, 816k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 2760.70 BogoMIPS (lpj=1380352)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0183f9ff c1c7f9ff 00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
ACPI: IRQ9 SCI: Edge set to Level Trigger.
CPU0: AMD Athlon(tm) Processor stepping 04
per-CPU timeslice cutoff: 731.25 usecs.
task migration cache decay timeout: 1 msecs.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 588k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfdb01, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040816
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
Uncovering SIS18 that hid as a SIS503 (compatible=1)
Enabling SiS 96x SMBus.
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: Power Resource [URP1] (off)
ACPI: Power Resource [URP2] (off)
ACPI: Power Resource [FDDP] (off)
ACPI: Power Resource [LPTP] (off)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 *11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:02.1[B] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:02.2[D] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:02.3[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:0f.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 5
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 5 (level, low) -> IRQ 5
Machine check exception polling timer started.
audit: initializing netlink socket (disabled)
audit(1104616501.4294965794:0): initialized
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver 2.1.20 [Flags: R/W].
inotify init: minor=63
lp: driver loaded but no devices found
Linux agpgart interface v0.100 (c) Dave Jones
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 5 (level, low) -> IRQ 5
aty128fb: Found Intel x86 BIOS ROM Image
aty128fb: Rage128 BIOS located
aty128fb: Rage128 RF AGP [chip rev 0x2] 32M 128-bit SDR SGRAM (1:1)
Console: switching to colour frame buffer device 80x30
fbsplash: console 0 using theme 'emergence'
fb0: ATY Rage128 frame buffer device on Rage128 RF AGP
aty128fb: Rage128 MTRR set to ON
vesafb: ATI Technologies Inc., R128, 01.00 (OEM: ATI RAGE128)
vesafb: VBE version: 2.0
vesafb: protected mode interface info at c000:4a0b
vesafb: pmi: set display start = c00c4a79, set palette = c00c4ab3
vesafb: pmi: ports = b810 b816 b854 b838 b83c b85c b800 b804 b8b0 b8b2 b8b4
vesafb: monitor limits: vf = 0 Hz, hf = 0 kHz, clk = 0 MHz
vesafb: scrolling: ywrap using protected mode interface, yres_virtual=8192
vesafb: cannot reserve video memory at 0xc8000000
vesafb: framebuffer at 0xc8000000, mapped to 0xe2900000, size 16384k
fb1: VESA VGA frame buffer device
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Processor [CPU1] (supports C1)
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
parport0: PC-style at 0x378 [PCSPP(,...)]
lp0: using parport0 (polling).
Using anticipatory io scheduler
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Linux video capture interface: v1.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: WDC WD600AB-00BVX0, ATA DISK drive
hdb: SONY CD-RW CRX168B, ATAPI CD/DVD-ROM drive
Probing IDE interface ide1...
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=65535/16/63
hda: cache flushes not supported
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3
hdb: ATAPI 40X CD-ROM CD-R/RW drive, 8192kB Cache
Uniform CD-ROM driver Revision: 3.20
libata version 1.02 loaded.
ieee1394: raw1394: /dev/raw1394 device initialized
USB Universal Host Controller Interface driver v2.2
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.6 (Sun Aug 15 07:17:53 2004 UTC).
ALSA device list:
No soundcards found.
oprofile: using timer interrupt.
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
ip_conntrack version 2.1 (4095 buckets, 32760 max) - 304 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>. http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S1 S4 S5)
ACPI wakeup devices:
PCI0 PS2M PS2K UAR1 UAR2 USB1 USB2 LAN MDM AUD SLPB
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 816k freed
Adding 506036k swap on /dev/hda2. Priority:-1 extents:1
EXT3 FS on hda3, internal journal
Linux Tulip driver version 1.1.13-NAPI (May 11, 2002)
ACPI: PCI interrupt 0000:00:0f.0[A] -> GSI 11 (level, low) -> IRQ 11
tulip0: MII transceiver #1 config 1000 status 786d advertising 01e1.
eth0: ADMtek Comet rev 17 at 0xe087cc00, 00:20:78:03:41:77, IRQ 11.
ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI 11 (level, low) -> IRQ 11
spurious 8259A interrupt: IRQ7. |
|
|
Back to top |
|
|
tuam l33t
Joined: 04 May 2004 Posts: 765 Location: CGN, Germany
|
Posted: Sun Jan 02, 2005 4:55 pm Post subject: |
|
|
ben_dash wrote: | I added ISD200 mass storage support but still no difference, If I plug in any USB mass storage device I see nothing in dmesg: |
I can't see how the USB devices are detected. See the relevant parts from my dmesg:
Quote: | usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
ACPI: PCI interrupt 0000:00:04.2[D] -> GSI 4 (level, low) -> IRQ 4
uhci_hcd 0000:00:04.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:04.2: irq 4, io base 0xd400
uhci_hcd 0000:00:04.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:04.3[D] -> GSI 4 (level, low) -> IRQ 4
uhci_hcd 0000:00:04.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
uhci_hcd 0000:00:04.3: irq 4, io base 0xd000
uhci_hcd 0000:00:04.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
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb 2-2: new full speed USB device using uhci_hcd and address 2
hub 2-2:1.0: USB hub found
hub 2-2:1.0: 4 ports detected
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
usb 1-2: new full speed USB device using uhci_hcd and address 2
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: SWISSBIT Model: Victorinox Rev: 1.89
Type: Direct-Access ANSI SCSI revision: 02
sda: Unit Not Ready, sense:
Current : sense = 70 6
ASC=28 ASCQ= 0
Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00
SCSI device sda: 126720 512-byte hdwr sectors (65 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
SCSI device sda: 126720 512-byte hdwr sectors (65 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
/dev/scsi/host0/bus0/target0/lun0: unknown partition table
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
usb-storage: device scan complete
|
Please check if you have activated your chipset's driver.
FF,
Daniel |
|
Back to top |
|
|
bk0 Apprentice
Joined: 04 Jan 2004 Posts: 266
|
Posted: Sun Jan 02, 2005 5:45 pm Post subject: |
|
|
Also enable Hotplug support and make sure you have the hotplug ebuild installed. |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
Back to top |
|
|
ben_dash Apprentice
Joined: 12 Aug 2003 Posts: 239
|
Posted: Mon Jan 03, 2005 4:09 am Post subject: hotplug coldplug |
|
|
Thanks for all the help so far!!!
I already had the hotplug ebuild installed and running in the default runlevel.
I just ripped hotplug out and replaced it with coldplug for the sake of keeping up to date..
I think that this may be the key, however, what I'm missing is that I think I have to emable sometihng in the kernel .config to enable coldplug, if so then what is it?
I scoured through and all I see is PCI hotplug but that's experimental and I had the feeling that that was not related.
Any ideas? |
|
Back to top |
|
|
kenyon Apprentice
Joined: 23 Dec 2004 Posts: 155 Location: Southern California
|
Posted: Mon Jan 03, 2005 4:20 am Post subject: |
|
|
The way I understand it, coldplug and hotplug are two separate concepts: Hotplug is where you can plug in/out devices without telling the system that you're going to do it. Coldplug is where you tell the system what you're going to do first. I also remember reading somewhere that coldplug will detect things that are already plugged in when you boot.
So I have them both installed and starting at the default runlevel, and it's working fine. I don't think there's any special coldplug config in the kernel. I just have CONFIG_HOTPLUG=y. |
|
Back to top |
|
|
ben_dash Apprentice
Joined: 12 Aug 2003 Posts: 239
|
Posted: Mon Jan 03, 2005 4:39 am Post subject: |
|
|
I just had a look at the USB mass storage howto for kernel 2.6:
Quote: | 12.2. Kernel options
Kernel configuration options are very much the same as described in Section 5.2. The configuration menu (# make menuconfig) has been organized differently and more systematically. Here are the relevant choices:
12.2.1. Bus options
* Support for hot-pluggable devices (CONFIG_HOTPLUG)
12.2.2. Device drivers
* SCSI device support
* SCSI device support (CONFIG_SCSI scsi_mod)
* legacy /proc/scsi support (CONFIG_SCSI_PROC_FS)
* SCSI disk support (CONFIG_BLK_DEV_SD sd_mod)
*
* USB support
* Support for USB (CONFIG_USB usbcore)
* USB device filesystem (CONFIG_USB_DEVICEFS)
* UHCI HCD support (CONFIG_USB_UHCI_HCD uhci_hcd)
* USB Mass Storage support (CONFIG_USB_STORAGE usb_storage)
12.2.3. File systems
* Second extended (CONFIG_EXT2_FS ext2)
*
* DOS/FAT/NT filesystems
* DOS FAT fs support (CONFIG_FAT_FS fat)
* MSDOS fs support (CONFIG_MSDOS_FS msdos)
* VFAT (Windows 95) fs support (CONFIG_VFAT_FS vfat)
*
* Pseudo filesystems
* /proc file system support (CONFIG_PROC_FS) |
And here are my settings from .config:
Code: | alpha linux # cat .config |grep CONFIG_HOTPLUG=
CONFIG_HOTPLUG=y
alpha linux # cat .config |grep CONFIG_SCSI=
CONFIG_SCSI=y
alpha linux # cat .config |grep CONFIG_SCSI_PROC_FS=
CONFIG_SCSI_PROC_FS=y
alpha linux # cat .config |grep CONFIG_BLK_DEV_SD=
CONFIG_BLK_DEV_SD=y
alpha linux # cat .config |grep CONFIG_USB=
CONFIG_USB=y
alpha linux # cat .config |grep CONFIG_USB_DEVICEFS=
CONFIG_USB_DEVICEFS=y
alpha linux # cat .config |grep CONFIG_USB_UHCI_HCD=
CONFIG_USB_UHCI_HCD=y
alpha linux # cat .config |grep CONFIG_USB_STORAGE=
CONFIG_USB_STORAGE=y
|
I don't see what I'm missing... it must be something obvious |
|
Back to top |
|
|
kenyon Apprentice
Joined: 23 Dec 2004 Posts: 155 Location: Southern California
|
Posted: Mon Jan 03, 2005 4:42 am Post subject: |
|
|
Maybe you need EHCI for USB2 support?
Code: | $ grep -i ehci /usr/src/linux/.config
CONFIG_USB_EHCI_HCD=m |
|
|
Back to top |
|
|
ben_dash Apprentice
Joined: 12 Aug 2003 Posts: 239
|
Posted: Mon Jan 03, 2005 4:57 am Post subject: |
|
|
I see what you mean about hotplug and coldplug. I noticed that the gentoo handbook seems to have replace hotplug with coldplug, but I readded hotplug along with coldplug and I'm still not seeing anything in dmesg when I plug the USB device in.
I already have CONFIG_USB_EHCI_HCD compiled in:
Code: | alpha root # grep -i ehci /usr/src/linux/.config
CONFIG_USB_EHCI_HCD=y
# CONFIG_USB_EHCI_SPLIT_ISO is not set
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set |
|
|
Back to top |
|
|
ben_dash Apprentice
Joined: 12 Aug 2003 Posts: 239
|
Posted: Thu Jan 06, 2005 5:15 am Post subject: |
|
|
Darn, still haven't figured it out.
I plug in a USB device and dmesg says nothing.
I suppose I'll have to go back to genkernel. I wonder what the problem is? |
|
Back to top |
|
|
Cypr n00b
Joined: 03 Jan 2005 Posts: 57
|
Posted: Thu Jan 06, 2005 5:21 am Post subject: |
|
|
Do you have Device Drivers > USB Support > UHCI HCD (most Intel and VIA) support? |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Thu Jan 06, 2005 8:13 pm Post subject: |
|
|
You didnt list these, are they compiled in? Quote: | 12.2.3. File systems
* Second extended (CONFIG_EXT2_FS ext2)
*
* DOS/FAT/NT filesystems
* DOS FAT fs support (CONFIG_FAT_FS fat)
* MSDOS fs support (CONFIG_MSDOS_FS msdos)
* VFAT (Windows 95) fs support (CONFIG_VFAT_FS vfat)
*
* Pseudo filesystems
* /proc file system support (CONFIG_PROC_FS) |
_________________ An A-Z Index of the Linux BASH command line |
|
Back to top |
|
|
ben_dash Apprentice
Joined: 12 Aug 2003 Posts: 239
|
Posted: Sat Jan 08, 2005 8:22 pm Post subject: |
|
|
Yes I had UHCI built in, I also have the various fielsystems built in.
Any other ideas? |
|
Back to top |
|
|
CptPajamas Tux's lil' helper
Joined: 02 Apr 2004 Posts: 77 Location: Santa Fe, NM
|
Posted: Sat Jan 08, 2005 11:12 pm Post subject: |
|
|
Relevant options in my kernel:
(SCSI Stuff for SCSI emulation):
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_SG=y
(USB Stuff)
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_STORAGE=y
CONFIG_USB_STORAGE_DEBUG=y
(below for HID / mice / keyboards, blah)
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
DMESG output:
ACPI: PCI interrupt 0000:00:02.2[C] -> GSI 20 (level, high) -> IRQ 193
ehci_hcd 0000:00:02.2: PCI device 10de:00e8 (nVidia Corporation)
PCI: Setting latency timer of device 0000:00:02.2 to 64
ehci_hcd 0000:00:02.2: irq 193, pci mem ffffff0000014000
ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
PCI: cache line size of 64 is not supported by device 0000:00:02.2
ehci_hcd 0000:00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 22 (level, high) -> IRQ 177
ohci_hcd 0000:00:02.0: PCI device 10de:00e7 (nVidia Corporation)
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: irq 177, pci mem ffffff0000016000
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 ports detected
ACPI: PCI interrupt 0000:00:02.1[B] -> GSI 21 (level, high) -> IRQ 185
ohci_hcd 0000:00:02.1: PCI device 10de:00e7 (nVidia Corporation)
PCI: Setting latency timer of device 0000:00:02.1 to 64
ohci_hcd 0000:00:02.1: irq 185, pci mem ffffff0000018000
ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 4 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Upon Inserting USB Mass Storage Device (this is edited, since I have debug messages in my stuff):
usb 1-6: new high speed USB device using address 2
usb-storage: USB Mass Storage device detected
usb-storage: -- associate_dev
usb-storage: Vendor: 0x08ec, Product: 0x0008, Revision: 0x0100
usb-storage: Interface Subclass: 0x06, Protocol: 0x50
usb-storage: Vendor: Memorex, Product: TD 2C
usb-storage: Transport: Bulk
usb-storage: Protocol: Transparent SCSI
scsi0 : SCSI emulation for USB Mass Storage devices
SCSI device sda: 1949696 512-byte hdwr sectors (998 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
ached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
Make sure there's no funky setting in your BIOS; also, you can try booting a diagnostics CD like the Ultimate Boot CD (google for "UBCD") to make sure your USB is responding correctly.
ALSO:
Linux ****** 2.6.9-gentoo-r6_XPC_Optimized #11 SMP Mon Dec 13 13:05:39 MST 2004 x86_64 AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux
Just so you know it works in 2.6.9. _________________ =[ Nate Metheny
=[ Director of Technology
=[ Santa Fe Institute |
|
Back to top |
|
|
Mben Guru
Joined: 29 Mar 2004 Posts: 465 Location: New York, USA
|
Posted: Sat Jan 08, 2005 11:37 pm Post subject: |
|
|
another thought:
you could check with the latest knoppix cd. 2.7 uses 2.6.9 if you use the cheat code. i think its knoppix26 at the boot prompt but click throught the f keys to be sure i think the cheat codes are listed on f2 and f3 but im not sure, it says on the splash screen. |
|
Back to top |
|
|
ben_dash Apprentice
Joined: 12 Aug 2003 Posts: 239
|
Posted: Sun Jan 09, 2005 12:38 am Post subject: |
|
|
Thanks, I was missing one of the settings that you had compiled in. I added the non VIA UHCI and CONFIG_USB_HIDDEV so I'm just about to boot and see what happens... fingers crossed... |
|
Back to top |
|
|
ben_dash Apprentice
Joined: 12 Aug 2003 Posts: 239
|
Posted: Sun Jan 09, 2005 12:41 am Post subject: |
|
|
Just something that I've been meaning to ask for ages, before I reboot and forget...
If you get this in your dmesg:
Quote: | Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 |
Does that translate to /dev/sda0 or is there some other way to guess where the device has been attached to. Every time I plug in a new device it seems like I play "hunt the device" randomly until I find it.
Okay - rebooting now...
YESSSSSSS!!! It worked!!!
Thanks guys! I'll ask for a .config sooner next time! |
|
Back to top |
|
|
|