View previous topic :: View next topic |
Author |
Message |
Jarhead Guru
Joined: 26 Mar 2004 Posts: 474
|
Posted: Tue Aug 24, 2004 6:46 pm Post subject: no /dev/sd* |
|
|
I have a usb flash drive see this post and my /dev/sd* device is no being seen. I was able to use it once to mount the flash drive, but now it doesn't even show up. Is this something I create manually, or do I have to enable something? Thanks for the help. _________________ Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54821 Location: 56N 3W
|
Posted: Tue Aug 24, 2004 6:53 pm Post subject: |
|
|
Jarhead,
You need the USB root hyb driver for your hardware, the usb-storage module, SCSI Support, and SCSI Dsk support.
The FLASH drive then comes up as a SCSI device, partitions and all. Its likely to be a Windows formatted volume, so it will be one partition with the vfat filesystem. You need that too.
With all those kernel bits and pieces, /dev/sd* and /dev/sd** should just appear when the USB FLASH drive is plugged in.
Can you see it in /proc/bus/usb/devices ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Jarhead Guru
Joined: 26 Mar 2004 Posts: 474
|
Posted: Wed Aug 25, 2004 10:56 pm Post subject: |
|
|
ok, making progress. I am able to mount the device with "mount -t usbfs /dev/sda /mnt/usbstick." Looking in /mnt/usbstick shows this:
Code: |
001 002 003 004 devices
|
Is this normal. I tried to copy some information to /mnt/usbstick, but it complained that the operation was not permitted. Thoughts? _________________ Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated. |
|
Back to top |
|
|
lwithers Guru
Joined: 31 Dec 2003 Posts: 300 Location: Reading, UK
|
Posted: Wed Aug 25, 2004 11:19 pm Post subject: |
|
|
No, you've mounted the Kernel's USB information filesystem onto that directory
You need to compile the correct modules into the kernel, as NeddySeagoon said. Then you can just do "mount /dev/sda1 /mnt/usbstick". |
|
Back to top |
|
|
Jarhead Guru
Joined: 26 Mar 2004 Posts: 474
|
Posted: Mon Aug 30, 2004 12:19 am Post subject: |
|
|
Ok, found the needed modules. There are some things that are complained of being undefined when I do "make && make modules_install."
Code: |
*** Warning: "ata_device_add" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_exec_command_mmio" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_tf_load_mmio" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_qc_complete" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_bus_reset" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_port_probe" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_port_stop" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_port_start" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_pci_remove_one" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_qc_issue_prot" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_check_status_mmio" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_tf_read_mmio" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_port_disable" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_std_bios_param" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_scsi_slave_config" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_scsi_error" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_scsi_queuecmd" [drivers/scsi/sata_sx4.ko] undefined!
*** Warning: "ata_device_add" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_std_ports" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_port_stop" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_port_start" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_bmdma_irq_clear" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_interrupt" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_eng_timeout" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_qc_issue_prot" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_qc_prep" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_bmdma_start_pio" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_bmdma_setup_pio" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "sata_phy_reset" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_check_status_pio" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_exec_command_pio" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_tf_read_pio" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_tf_load_pio" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_port_disable" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_std_bios_param" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_scsi_slave_config" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_scsi_error" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_scsi_queuecmd" [drivers/scsi/sata_sis.ko] undefined!
*** Warning: "ata_pci_remove_one" [drivers/scsi/sata_sis.ko] undefined!
INSTALL arch/i386/kernel/cpu/cpufreq/acpi.ko
INSTALL drivers/acpi/ac.ko
INSTALL drivers/acpi/battery.ko
INSTALL drivers/acpi/button.ko
INSTALL drivers/acpi/fan.ko
INSTALL drivers/acpi/processor.ko
INSTALL drivers/acpi/thermal.ko
INSTALL drivers/base/firmware_class.ko
INSTALL drivers/net/b44.ko
INSTALL drivers/net/dummy.ko
INSTALL drivers/net/s2io.ko
INSTALL drivers/scsi/dpt_i2o.ko
INSTALL drivers/scsi/ipr.ko
INSTALL drivers/scsi/sata_sis.ko
INSTALL drivers/scsi/sata_sx4.ko
INSTALL drivers/scsi/scsi_mod.ko
INSTALL drivers/scsi/sd_mod.ko
INSTALL drivers/usb/class/usblp.ko
INSTALL drivers/usb/core/usbcore.ko
INSTALL drivers/usb/host/ehci-hcd.ko
INSTALL drivers/usb/host/uhci-hcd.ko
INSTALL drivers/usb/input/usbhid.ko
INSTALL drivers/usb/storage/usb-storage.ko
INSTALL lib/libcrc32c.ko
INSTALL net/ipv4/netfilter/ipt_NOTRACK.ko
INSTALL net/ipv4/netfilter/iptable_raw.ko
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.8-gentoo-r3; fi
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_qc_complete
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_std_bios_param
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_tf_load_mmio
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_tf_read_mmio
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_exec_command_mmio
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_check_status_mmio
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_qc_issue_prot
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_bus_reset
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_port_probe
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_scsi_slave_config
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_scsi_error
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_port_disable
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_scsi_queuecmd
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_port_stop
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_pci_remove_one
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_device_add
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sx4.ko needs unknown symbol ata_port_start
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_std_bios_param
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_tf_read_pio
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_tf_load_pio
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_bmdma_setup_pio
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol sata_phy_reset
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_qc_issue_prot
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_interrupt
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_check_status_pio
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_bmdma_irq_clear
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_scsi_slave_config
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_std_ports
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_scsi_error
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_port_disable
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_bmdma_start_pio
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbWARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_eng_timeout
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_port_stop
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_qc_prep
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_exec_command_pio
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_pci_remove_one
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_device_add
WARNING: /lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sata_sis.ko needs unknown symbol ata_port_start
ol ata_scsi_queuecmd
|
Does something else need to be enabled to define these? Thanks _________________ Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated. |
|
Back to top |
|
|
noathustra Tux's lil' helper
Joined: 08 Sep 2003 Posts: 129 Location: NYC
|
Posted: Mon Aug 30, 2004 3:11 am Post subject: |
|
|
I noticed that there is a new feature in the block devices section of the kernel that caused problems with accessing my USB camera which I had hitherto accessed on /dev/sda*. However, when I enabled the low performance USB block driver /dev/sda wasn't created. Instead /dev/uba was created, but the kernel was unable to read the data. In otherwords it was useless to me. I recompiled my kernel w/o the low perf USB block driver and the behaviour returned to what it had been before. |
|
Back to top |
|
|
Jarhead Guru
Joined: 26 Mar 2004 Posts: 474
|
Posted: Mon Aug 30, 2004 5:18 pm Post subject: |
|
|
I don't see anything like that in the kernel config. I am stuck using 2.6.8-gentoo-r1 for the time being because the later ones do not build properly because of the errors shown above. I'll keep my eye out for that in the future though. _________________ Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated. |
|
Back to top |
|
|
Jarhead Guru
Joined: 26 Mar 2004 Posts: 474
|
Posted: Wed Sep 01, 2004 11:29 pm Post subject: |
|
|
bump _________________ Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated. |
|
Back to top |
|
|
lwithers Guru
Joined: 31 Dec 2003 Posts: 300 Location: Reading, UK
|
Posted: Thu Sep 02, 2004 6:54 am Post subject: |
|
|
Well, assuming you don't have a SCSI system, turn off all the "SCSI low level drivers" in the kernel config. The only things you need in the SCSI section are "SCSI disk support" and "SCSI generic support". Turn everything else off. |
|
Back to top |
|
|
Jarhead Guru
Joined: 26 Mar 2004 Posts: 474
|
Posted: Sat Sep 04, 2004 2:10 am Post subject: |
|
|
It's alive! Thanks much. _________________ Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated. |
|
Back to top |
|
|
|