Computing.Net > Forums > Linux > which device?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

which device?

Reply to Message Icon

Name: Jake
Date: April 23, 2002 at 01:41:00 Pacific
Comment:

I have Slackware 8.0 with a custom 2.4.18 kernel. I recently got my DVD-ROM working, so I intalled it.

The addition of the DVD caused my CD-RW to stop functioning as a normal CD-ROM. (I can't mount CDs with it).

If I don't pass hdd=scsi to the kernel, the burner works as a CD-ROM (but doesn't burn).

Anyway, when I try to mount a CD, it says this:

mount: wrong fs type, bad option, bad superblock on /dev/hdd,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)

It is ide-scsi, but none of the suggested device files work. Which dev file is it? Do I need to create a new one?



Sponsored Link
Ads by Google

Response Number 1
Name: Solo
Date: April 23, 2002 at 04:20:37 Pacific
Reply:

Hi,
try "chmod 777 /dev/hd*" to access all IDE drives
with full read/write access. Or maybe you have to
add isofs support to the kernel (as a module maybe).
Good luck,
Solo


0

Response Number 2
Name: Solo
Date: April 23, 2002 at 04:26:53 Pacific
Reply:

Uh, IDE device notations are:
/dev/hda First Controller Master
/dev/hdb First Controller Slave
/dev/hdc Second Controller Master
/dev/hdd Second Controller Slave
/dev/hde Third Controller Master
... and so on ...(up to 16 devices I think)

and /dev/hda2 is the second partition on first
Controller Master device (not importent for CD).
Have fun,
Solo


0

Response Number 3
Name: Jake
Date: April 23, 2002 at 07:24:39 Pacific
Reply:

Thanks, but the generic /dev/hd? does NOT work. It only works if I don't say hdd=scsi when it boots.

Also, I know it's not a module that I need to load because I can mount iso CDs in the DVD-ROM.


0

Response Number 4
Name: Solo
Date: April 23, 2002 at 07:45:37 Pacific
Reply:

Hm, what does your /var/log/dmesg say which
devices are recognized and what /dev/?? they
are linked to ?


0

Response Number 5
Name: Jake
Date: April 23, 2002 at 09:15:34 Pacific
Reply:

good idea, but dmesg didn't help


0

Related Posts

See More



Response Number 6
Name: Tom
Date: April 23, 2002 at 10:06:03 Pacific
Reply:

I think you need to pass hdd=ide-scsi to the kernel.


0

Response Number 7
Name: Solo
Date: April 23, 2002 at 10:08:11 Pacific
Reply:

... could it be the master/slave jumper on one
of the drives (maybe set to 'cable select') ?
Maybe permutate the master/slave of the two
drives.
What about changing parameters with 'hdparm'
(I doubt it will help, but try anyway)
I'm really running out of ideas.. sorry ..
Solo


0

Response Number 8
Name: Jake
Date: April 23, 2002 at 10:25:25 Pacific
Reply:

Tom, when I pass ide-scsi, the burner burns, but doesn't mount CDs normally. When I don't pass it, it mounts CDs normally, but doesn't burn.

Solo, I know it isn't master/slave because both drives work. All I want to do is get the burner to work as a normal CD-ROM OR a burner.

As for hdparm, I would think everything is right if it burns. Also, I couln't find any options that looked helpful.


Most recently, I tried /dev/MAKEDEV'ing some new device files, like sg's and re-making scd's, but none of the new dev files worked for the CDRW.


0

Response Number 9
Name: Solo
Date: April 23, 2002 at 10:44:46 Pacific
Reply:

try "mount -v /dev/hdd /mountpoint"
for verbose output and let's hope for
usefull messages.
Solo


0

Response Number 10
Name: Jake
Date: April 23, 2002 at 10:52:08 Pacific
Reply:

still just:

mount: wrong fs type, bad option, bad superblock on /dev/hdd,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)


0

Response Number 11
Name: Solo
Date: April 23, 2002 at 11:00:15 Pacific
Reply:

take a look at:
cat /proc/ide/hdd/settings
I think you are going in a wrong direction
when trying to use /dev/sr0 You can "mknod"
sr0 to be actually an ide device but that
would miss the point. The /dev/hd? isn't
much more than the 0x8? parameter as far as
I remember.
Solo


0

Response Number 12
Name: Jake
Date: April 23, 2002 at 13:24:10 Pacific
Reply:

[root@slacker hdd]$cat settings
name value min max mode
---- ----- --- --- ----
bios_cyl 0 0 1023 rw
bios_head 0 0 255 rw
bios_sect 0 0 63 rw
current_speed 34 0 69 rw
ide_scsi 1 0 1 rw
init_speed 12 0 69 rw
io_32bit 1 0 3 rw
keepsettings 0 0 1 rw
log 0 0 1 rw
nice1 1 0 1 rw
number 3 0 3 rw
pio_mode write-only 0 255 w
slow 0 0 1 rw
transform 1 0 3 rw
unmaskirq 1 0 1 rw
using_dma 1 0 1 rw
[root@slacker hdd]$dmesg | grep ide1:
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
[root@slacker hdd]$

The pio thing isn't the problem because it says the same thing for my DVD-ROM, and that works. Also, both drives use DMA, anyway.


0

Response Number 13
Name: Solo
Date: April 23, 2002 at 19:25:58 Pacific
Reply:

Since I'm out of ideas: My guess is this is a
simple problem like: No CD in drive, wrong
user in audio-group or disk-group, wrong access
rights for the /dev/hdd or for the mountpoint.
I will discuss this with my friends and will
post new ideas if they come up.
Good luck for now,
Solo


0

Response Number 14
Name: Jake
Date: April 23, 2002 at 23:55:41 Pacific
Reply:

I know it's not no CD. I just tried it again, just to be sure.

Also, it can't be permissions because I have to be root to mount CDs, and if root can't access it, there's something else wrong.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: which device?

Finding out what devices are loaded? www.computing.net/answers/linux/finding-out-what-devices-are-loaded/185.html

VFS: cannot open root device www.computing.net/answers/linux/vfs-cannot-open-root-device-/3653.html

mount external fat32 hdd www.computing.net/answers/linux/mount-external-fat32-hdd-/13987.html