LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-21-2004, 02:08 AM   #1
kierse
Member
 
Registered: Apr 2003
Distribution: Slackware!
Posts: 73

Rep: Reputation: 15
problems mounting with 2.6.3


Ever since I upgraded my kernel to 2.6.X from 2.4.XX I haven't been able to mount my cdrom (which is actually a CDRW/DVD combo) and my usb flash drive. I've been searching through the forums and haven't been able to find a solution to either problem.

First I'll start with the cdrom:
------------------------------------
- scsi emulation is included in the kernel
- kernel detects drive on boot but also returns an error:

Code:
dmesg:
hdc: QSI CD-RW/DVD-ROM SBW-242, ATAPI CD/DVD-ROM drive
ide-scsi: unsup command: dev hdc: flags = REQ_CMD REQ_STARTED 
end_request: I/O error, dev hdc, sector 0
- when I try to mount the drive using "mount /mnt/cdrom" I get the following message:
mount: /dev/cdrom is not a valid block device
- for some reason, /dev/cdrom links to /dev/sr0 instead of /dev/hdc
Code:
$>ls -la /dev/cdrom 
lrwxrwxrwx    1 root     root            8 Nov 30 16:41 /dev/cdrom -> /dev/sr0
USB flash drive
-------------------
-kernel detects usb device ONLY at boot, if I remove it and reinsert the device the kernel doesn't detect it.
- dmesg returned the following:

Code:
usb 2-1: new full speed USB device using address 2
Initializing USB Mass Storage driver...
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor: Verbatim  Model: USB Drive         Rev: 2.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
-fdisk -l doesn't list the usb device
-when I try to mount the device on /dev/sda or /dev/sda1 I get the same message as with the cdrom:
mount: /dev/sda1 is not a valid block device

Any ideas concerning either problem would be great. I'm running Slackware 9.1 with kernel 2.6.3

Thanks
Kierse
 
Old 02-21-2004, 05:46 AM   #2
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
First of all, you don't need scsi-emulation any more. Recent versions of burning apps (cdrecord and cdrdao) support writing to ATAPI drives. Remove the scsi-emulation from your kernel and change the "hdX=ide-scsi" boot parameter to "hdX=ide-cdrom"
The reason /dev/cdrom doesn't point to /dev/hdc is because of the scsi-emulation; /dev/hdc is an IDE drive.

With the USB drive, try "lsusb" to check if its getting detected. You could also try removing and then reinserting the USB kernel modules.
 
Old 02-21-2004, 04:34 PM   #3
kierse
Member
 
Registered: Apr 2003
Distribution: Slackware!
Posts: 73

Original Poster
Rep: Reputation: 15
usb still not working...

Thanks Spuzzzzzzz,

I removed scsi emulation support and I can now mount my cdrom drive. I haven't tried burning a
disc or watching a dvd yet but at least I have basic cdrom support. I had to remove the symbolic link /dev/cdrom -> /dev/sr0 and create a new one pointing to /dev/hdc

I still can't mount my usb flash drive yet. Using lsusb I get the following:
Code:
lsusb:
Unknown line at line 1809
Duplicate HUT Usage Spec at line 2650
Bus 003 Device 001: ID 0000:0000 Virtual Hub
Bus 002 Device 002: ID 0ea0:2168  
Bus 002 Device 001: ID 0000:0000 Virtual Hub
Bus 001 Device 001: ID 0000:0000 Virtual Hub
I also tried reloading the usb-storage module but that didn't work. Any more ideas?

Kierse
 
Old 02-21-2004, 04:52 PM   #4
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
I'm afraid i'm a bit of a noob on usb matters, but a couple hints for the cd burning:
1) upgrade cdrdao to version 1.1.8 or better and use the option "--device ATAPI:0,0,0"
2) upgrade cdrecord/cdrtools to 2.05 or better and use "dev=ATAPI:0,0,0"
 
Old 02-21-2004, 08:22 PM   #5
snop
Member
 
Registered: Aug 2003
Location: Bcn
Distribution: Slackware
Posts: 93

Rep: Reputation: 15
Hi all,

For USB mounting check this out:
http://www.linuxquestions.org/questi...hreadid=138791

I don't know if this may be your problem but something's wrong in 2.6.x series and USB + mass storage devices. It seems that both Windows and some devices don't follow some USB communication protocol commands in the proper way (or maybe it's just a kernel bug...).

As spuzzzzzzz says you'll need a beta version of cdrdao if you want to use it (you'll find one at www.linuxpackages.org).

You'll need a beta version of cdrtools if you want to use some K3b capabilities i.e.: clone disk. I don't remember where I found the package for it. But the version installed by default will work without scsi emulation "out of the box".

Hope all this helps.

Bye

SnOp

Last edited by snop; 02-21-2004 at 08:26 PM.
 
Old 02-21-2004, 10:41 PM   #6
kierse
Member
 
Registered: Apr 2003
Distribution: Slackware!
Posts: 73

Original Poster
Rep: Reputation: 15
thanks snop,

I read the post you listed and I think I'll give the patch a try and see if it fixes my problem. I'll let you know how it works

Kierse
 
Old 02-22-2004, 12:43 PM   #7
kierse
Member
 
Registered: Apr 2003
Distribution: Slackware!
Posts: 73

Original Poster
Rep: Reputation: 15
I tried the patch but that didn't seem to work. The patch seems to be designed
for usb digital cameras and I guess it doesn't work with usb mass storage devices. Oh well, hopefully it will be fixed in future kernel releases...

Thanks for your help everyone
kierse
 
Old 02-22-2004, 04:10 PM   #8
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30
Hey kierse I thought that most digital cameras were treated as mass storage devices in linux? At least mine was before I havenīt tried since I bought the new computer and installed 2.6.3

Adam
 
Old 02-22-2004, 05:16 PM   #9
kierse
Member
 
Registered: Apr 2003
Distribution: Slackware!
Posts: 73

Original Poster
Rep: Reputation: 15
that could be, I don't know. My device is a usb flash drive and the patch I tried was given as a solution to a problem with digital cameras. In any case it didn't work so I'll keep on trying.

Maybe I'll post a new thread about the problem and see what it stirs up

Thanks
Kierse
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting problems ssabljic Slackware 3 11-25-2005 04:27 AM
Mounting problems sri_hassan Linux - Newbie 3 10-07-2005 08:22 PM
mounting problems eo697 Linux - Hardware 1 07-04-2003 06:05 AM
problems mounting ewto Linux - Newbie 18 04-11-2003 03:34 AM
Mounting problems tsitras Linux - Newbie 3 03-23-2003 03:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration