| View previous topic :: View next topic |
| Author |
Message |
JimAdams n00b

Joined: 20 Aug 2004 Posts: 7
|
Posted: Mon Apr 11, 2005 9:48 pm Post subject: [SOLVED] External USB DVD+RW Drive mount problems |
|
|
I could really use some help on this.
I am having problems attempting to use/mount my external pioneer DVR-SK12D DVDRW drive, dmesg reports the following:
| Code: |
usb 1-2: new high speed USB device using ehci_hcd and address 3
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
Vendor: PIONEER Model: DVD-RW DVR-K12D Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 00
Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0, type 5
usb-storage: device scan complete
|
If i am correct this means that the device should be /dev/sg0, when i try to mount /dev/sg0 I receive the following:
| Code: | bash-2.05b# mount -t iso9660 /dev/sg0 /mnt/cdrom
mount: /dev/sg0 is not a block device |
I have scsi cdrom support and usb support compiled in the kernel, so I am at a loss as what I need to do to make this work.
BTW this is kernel 2.6.11-r5 if that helps
Any help would be greatly appreciated
Last edited by JimAdams on Tue Apr 12, 2005 11:37 pm; edited 1 time in total |
|
| Back to top |
|
 |
i92guboj Moderator


Joined: 30 Nov 2004 Posts: 9313 Location: Córdoba (Spain)
|
Posted: Mon Apr 11, 2005 10:28 pm Post subject: |
|
|
Try fdisk -l to see if it is detected under any other interface. As root. _________________ Gentoo Handbook |
|
| Back to top |
|
 |
JimAdams n00b

Joined: 20 Aug 2004 Posts: 7
|
Posted: Tue Apr 12, 2005 1:23 am Post subject: |
|
|
Here are the results of fdisk -l
| Code: | bash-2.05b# fdisk -l
Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 33 265041 83 Linux
/dev/hda2 34 96 506047+ 82 Linux swap / Solaris
/dev/hda3 |
It doesn't appear to be listed, any other thoughts? |
|
| Back to top |
|
 |
i92guboj Moderator


Joined: 30 Nov 2004 Posts: 9313 Location: Córdoba (Spain)
|
Posted: Tue Apr 12, 2005 2:36 am Post subject: |
|
|
The things that I think you need into your kernel are:
-usbcore and at least one of uhci_hcd/ohci_hcd
-ehci_hcd if usb 2.0
-usb mass storage
-scsi support
-/dev/scsi legacy support (not sure, thou)
-scsi cdrom support
I never have tried an usb burner, so im not totally sure of what the issue could be, but I think that, maybe, you are missing the usb mass storage support. The kernel detects some kind of usb drive, but do not properly handle it for any reason. It is evident that the rest of the stuff is there, because you cant select scsi support without having the rest, so the only candidate is the mass storage driver. Check it out. _________________ Gentoo Handbook |
|
| Back to top |
|
 |
JimAdams n00b

Joined: 20 Aug 2004 Posts: 7
|
Posted: Tue Apr 12, 2005 6:31 am Post subject: |
|
|
here is my config i believe everything is there that should be though i did not see anything about /dev/scsi legacy in the kernel config menu, I have also boldfaced what i believe to be pertinent.
| Quote: | #
#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not set
# CONFIG_BLK_DEV_RAM is not set
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_INITRAMFS_SOURCE=""
CONFIG_LBD=y
CONFIG_CDROM_PKTCDVD=y
CONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not set
#
# SCSI device support
#
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=y
#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=y
# CONFIG_USB_EHCI_SPLIT_ISO is not set
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=y
# CONFIG_USB_SL811_HCD is not set
#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_RW_DETECT is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=y
CONFIG_UDF_FS=y
CONFIG_UDF_NLS=y
|
|
|
| Back to top |
|
 |
i92guboj Moderator


Joined: 30 Nov 2004 Posts: 9313 Location: Córdoba (Spain)
|
Posted: Tue Apr 12, 2005 5:37 pm Post subject: |
|
|
| Code: | | CONFIG_SCSI_PROC_FS=y |
Sorry, i mean /proc/scsi legacy support, that you have already, so thats not the point.
I'm annoyed with this, I never used cd driver under usb, but I use a lot of another storage devices (cameras, portage hds, cards, etc) and all works with these settings. The only thing that you should need in addiction to my config is
| Code: | | CONFIG_BLK_DEV_SR=y |
That you already have.
Maybe the problem is somewhere in your usb. Have you tried ohci instead uhci? Do the rest of usb devices (if any) work correctly? _________________ Gentoo Handbook |
|
| Back to top |
|
 |
JimAdams n00b

Joined: 20 Aug 2004 Posts: 7
|
Posted: Tue Apr 12, 2005 6:26 pm Post subject: |
|
|
| I'm at work right now I'll have to wait until 18:00 EST to try anything. I have tried a usb flash drive but receive the same issue, I just figured I'd best tackle one issue at a time. The issues are probably related so it will most likely be an issue of killing two birds with one stone. I setup my kernel per the instructions on the gentoo wiki for the Asus S5n for the most part so i think everything should be correct there. It is something probably obvious that I overlooked. |
|
| Back to top |
|
 |
i92guboj Moderator


Joined: 30 Nov 2004 Posts: 9313 Location: Córdoba (Spain)
|
Posted: Tue Apr 12, 2005 7:29 pm Post subject: |
|
|
One thing you could do is compile these related things in modules, so you can manually load them one by one and see what the kernel says with dmesg. I'd try first with the flash drive, but the two thigs should really make no difference. Also try the uhci thing.
Just one thing, make sure that the kernel that you are using is the same that you just compiled. It would not be the first time that something similar happens. You can check the kernel compilation date by doing uname -a, and so make sure that the running kernel is the one that you compiled five minutes ago. _________________ Gentoo Handbook |
|
| Back to top |
|
 |
JimAdams n00b

Joined: 20 Aug 2004 Posts: 7
|
Posted: Tue Apr 12, 2005 11:36 pm Post subject: |
|
|
I am such an idiot, uname -a reports a the kernel was compiled Apr 7, apparently when i was compiling and performing make install, i had been forgetting to mount /boot. I'll chalk this one up to my stupidity, thanks for all of your help 6thpink. As a warning to everyone else, do not repeat my mistake, make sure you mount /boot  |
|
| Back to top |
|
 |
i92guboj Moderator


Joined: 30 Nov 2004 Posts: 9313 Location: Córdoba (Spain)
|
Posted: Tue Apr 12, 2005 11:54 pm Post subject: |
|
|
None to do with stupidity, I've given this same advice much times, and I know of it because some day it happened to me also, this has happened to us all at least once.
The really stupid thing would be to copy ntldr into /boot and try to use it as your linux kernel. Btw, glad you solved this anoying thing  _________________ Gentoo Handbook |
|
| Back to top |
|
 |
rush_ad l33t


Joined: 22 Jul 2004 Posts: 863 Location: New Jersey, USA
|
Posted: Wed Jun 08, 2005 8:47 pm Post subject: |
|
|
| i have the same problem but i cant solve it. |
|
| Back to top |
|
 |
|