View previous topic :: View next topic |
Author |
Message |
mahdi1234 Guru
Joined: 19 Feb 2005 Posts: 559 Location: Being There
|
Posted: Fri Feb 17, 2006 7:37 pm Post subject: where's my external dvd burner? [SOLVED] |
|
|
hi,
perhaps stupid question but ... i plugged external dvd burner in
Code: |
usb 1-1: new high speed USB device using ehci_hcd and address 9
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 9
usb-storage: waiting for device to settle before scanning
Vendor: Slimtype Model: DVDRW SOSW-833S Rev: VS0A
Type: CD-ROM ANSI SCSI revision: 00
Attached scsi generic sg1 at scsi4, channel 0, id 0, lun 0, type 5
usb-storage: device scan complete
|
Code: |
# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 006: ID 05ac:0202 Apple Computer, Inc. Apple Keyboard [ALPS]
Bus 003 Device 005: ID 0409:55ab NEC Corp. Hub [iMac kbd]
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 011: ID 0ecd:40c0 Lite-On IT Corp.
Bus 001 Device 010: ID 2116:0320
Bus 001 Device 001: ID 0000:0000
|
so based on lsusb i thought it'd be on \dev\sda11 - but it isn't ... where did it go?
Code: |
# udevinfo -V
udevinfo, version 070
# uname -a
Linux mahdi 2.6.13-gentoo-r3 #4 SMP Sat Dec 10 16:17:10 CET 2005 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz GenuineIntel GNU/Linux
|
thx,
mahdi
Last edited by mahdi1234 on Sat Feb 18, 2006 10:40 am; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54308 Location: 56N 3W
|
Posted: Fri Feb 17, 2006 7:42 pm Post subject: |
|
|
mahdi1234,
The messages say its /dev/sg1 _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mahdi1234 Guru
Joined: 19 Feb 2005 Posts: 559 Location: Being There
|
Posted: Fri Feb 17, 2006 8:03 pm Post subject: |
|
|
that's what i originally though but
Code: |
# mount /dev/sg1 /mnt/dvd
mount: /dev/sg1 is not a block device
|
also tried in k3b add device --> /dev/sg1 - and got, could not find device error |
|
Back to top |
|
|
o_source n00b
Joined: 28 Jan 2004 Posts: 11 Location: Norway
|
Posted: Fri Feb 17, 2006 8:23 pm Post subject: |
|
|
I've got the same problem, I can't seam to find the device.
if I run fdisk on /dev/sg0 it just stands still until i press ctrl+c, but on other devices like sg1 etc it returns no device blah blah..
I've done this befor and it worked, so I'm clueless to why the device is'nt registring |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Fri Feb 17, 2006 9:02 pm Post subject: |
|
|
mahdi1234 wrote: | Code: |
# mount /dev/sg1 /mnt/dvd
mount: /dev/sg1 is not a block device
| |
That's right, /dev/sg1 is a character device.
You need to "modprobe sr_mod", then look in dmesg and it should show you something like /dev/sr0. This is the block device you are looking for. |
|
Back to top |
|
|
o_source n00b
Joined: 28 Jan 2004 Posts: 11 Location: Norway
|
Posted: Fri Feb 17, 2006 9:32 pm Post subject: |
|
|
It still won't work for me, the only weay I can get a reaction from the ROM is by using cdrecord dev=0,0,0 -eject or somthing like this.
I did remove scsi-emulation from the kernel to see if it helpd but it didn't.
Any other suggestions ? |
|
Back to top |
|
|
wah Guru
Joined: 25 Feb 2005 Posts: 453 Location: Raleigh, NC, USA
|
Posted: Fri Feb 17, 2006 9:34 pm Post subject: |
|
|
Do you use any SATA or SCSI devices? If not, try /dev/sda1 - if so, use alternate ones like sdb1, sdc1.
HTH,
Wah _________________ - AMD64 3000+, MSI K8N-SLI, Nvidia Geforce 6600 PCIE, 2GB OCZ Dual-Channel PC3200,2x160GB SATA
- Registered Linux User #418541 |
|
Back to top |
|
|
o_source n00b
Joined: 28 Jan 2004 Posts: 11 Location: Norway
|
Posted: Fri Feb 17, 2006 9:45 pm Post subject: |
|
|
no, I don't have any SATA or SCSI devices, the only device tht gives a small amount of access to the rom is sg0 |
|
Back to top |
|
|
wah Guru
Joined: 25 Feb 2005 Posts: 453 Location: Raleigh, NC, USA
|
Posted: Fri Feb 17, 2006 9:47 pm Post subject: |
|
|
So you have tried to mount the sdx (x being a, b, c, etc...) series of device entries? I mentioned that b/c once I was trying to mount a flashdrive, I got the same message about sg0 that you did, and it ended up being sda1.
W. _________________ - AMD64 3000+, MSI K8N-SLI, Nvidia Geforce 6600 PCIE, 2GB OCZ Dual-Channel PC3200,2x160GB SATA
- Registered Linux User #418541 |
|
Back to top |
|
|
o_source n00b
Joined: 28 Jan 2004 Posts: 11 Location: Norway
|
Posted: Fri Feb 17, 2006 9:50 pm Post subject: |
|
|
for the first, there is only mention of sg0 in dmesg, and I don't have sda0 and 1 in /dev for some reason :/
I don't remember why :( |
|
Back to top |
|
|
wah Guru
Joined: 25 Feb 2005 Posts: 453 Location: Raleigh, NC, USA
|
Posted: Fri Feb 17, 2006 10:00 pm Post subject: |
|
|
For S&G, I just plugged in my usbstick, and it comes up with this on the DMESG:
Code: |
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
Vendor: LEXAR Model: JUMPDRIVE ELITE Rev: 1000
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sda: 1014784 512-byte hdwr sectors (520 MB)
sda: Write Protect is off
sda: Mode Sense: 43 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 1014784 512-byte hdwr sectors (520 MB)
sda: Write Protect is off
sda: Mode Sense: 43 00 00 00
sda: assuming drive cache: write through
sda: 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
|
However, it mounts using the following command:
Code: |
# mount -t vfat /dev/sda1 /mnt/usbstick
|
Quote: |
I don't have sda0 and 1 in /dev for some reason :/
I don't remember why |
Maybe it's because of
Quote: |
I did remove scsi-emulation from the kernel to see if it helpd but it didn't.
|
I dunno - I did a ls /dev | grep sda on my box, and I did not have sda1 either, but it still mounts that way.
HTH,
W. _________________ - AMD64 3000+, MSI K8N-SLI, Nvidia Geforce 6600 PCIE, 2GB OCZ Dual-Channel PC3200,2x160GB SATA
- Registered Linux User #418541 |
|
Back to top |
|
|
wah Guru
Joined: 25 Feb 2005 Posts: 453 Location: Raleigh, NC, USA
|
Posted: Fri Feb 17, 2006 10:01 pm Post subject: |
|
|
One other thing - I'm not sure if the usb_storage module applies to usb cd-roms, but that may be it. Check your kernel config for usb storage. _________________ - AMD64 3000+, MSI K8N-SLI, Nvidia Geforce 6600 PCIE, 2GB OCZ Dual-Channel PC3200,2x160GB SATA
- Registered Linux User #418541 |
|
Back to top |
|
|
o_source n00b
Joined: 28 Jan 2004 Posts: 11 Location: Norway
|
Posted: Fri Feb 17, 2006 10:09 pm Post subject: |
|
|
well, when it comes to the sdx dev's i've got sda2-15 but not 0 and 1, and I've been checking the kernel for usb storage, and it's there.
I just put a usb stick in the same usb hub now, and it came up as sda1 just fine, it mounts just fine etc.. I just don't get this.
The rom works fine on my laptop and on my mac, but not on my workstation.. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54308 Location: 56N 3W
|
Posted: Fri Feb 17, 2006 10:15 pm Post subject: |
|
|
o_source,
A CDROM will not get you /dev/sda[1..15] since its not partitioned. You mount the drive.
A FLASH stick looks like a hard drive, is partitioned, normally one large partition and you mount the partition(s). A few odd FLASH drives emulate floppy drives. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
o_source n00b
Joined: 28 Jan 2004 Posts: 11 Location: Norway
|
Posted: Fri Feb 17, 2006 10:17 pm Post subject: |
|
|
okay, what do you supose I shuld do?
This is starting to get on my nervs, I've had this type of USB problems before, then it was about a scanner |
|
Back to top |
|
|
wah Guru
Joined: 25 Feb 2005 Posts: 453 Location: Raleigh, NC, USA
|
Posted: Fri Feb 17, 2006 10:47 pm Post subject: |
|
|
Based on what NeddySeagoon is suggesting (and listen to him - he's helped me before!), maybe try /dev/sdx (where x is a,b,c...) instead of sda1, sdb1, etc...
That makes sense, as my reg IDE DVD-ROM mounts as /dev/hdc
W. _________________ - AMD64 3000+, MSI K8N-SLI, Nvidia Geforce 6600 PCIE, 2GB OCZ Dual-Channel PC3200,2x160GB SATA
- Registered Linux User #418541 |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54308 Location: 56N 3W
|
Posted: Fri Feb 17, 2006 10:52 pm Post subject: |
|
|
o_source,
Give udev a poke.
Try udevstart (or is it startudev ?). Now look for the /dev entries with
Oh, if you have the Low Performance USB Block driver (under Block Devices) in your kernel, your CD will be /dev/usb/...
and it will never work for writing. Remove this driver if its there. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mahdi1234 Guru
Joined: 19 Feb 2005 Posts: 559 Location: Being There
|
Posted: Fri Feb 17, 2006 11:03 pm Post subject: |
|
|
cyrillic wrote: | mahdi1234 wrote: | Code: |
# mount /dev/sg1 /mnt/dvd
mount: /dev/sg1 is not a block device
| |
That's right, /dev/sg1 is a character device.
You need to "modprobe sr_mod", then look in dmesg and it should show you something like /dev/sr0. This is the block device you are looking for. |
Can you let me know which option needs to be enabled in kernel to have sr_mod available? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54308 Location: 56N 3W
|
Posted: Sat Feb 18, 2006 1:15 am Post subject: |
|
|
mahdi1234.
SCSI CDROM support is the kernel option you need. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mahdi1234 Guru
Joined: 19 Feb 2005 Posts: 559 Location: Being There
|
Posted: Sat Feb 18, 2006 10:21 am Post subject: |
|
|
that worked well, thanks ... |
|
Back to top |
|
|
|