Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems with cd-rw, maybe due to scsi hard drive?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
McVeigh
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 102
Location: Florida

PostPosted: Wed May 08, 2002 1:33 am    Post subject: problems with cd-rw, maybe due to scsi hard drive? Reply with quote

I can't get my cdrw to work.

I have
append="hdc=ide-scsi"
in grub

i have scsi support in the kernel.

cdrecord --scanbus gets me this
Cdrecord 1.11a19 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�rg Schilling
Linux sg driver version: 3.1.23
Using libscg version 'schily-0.6'
scsibus0:
0,0,0 0) 'COMPAQ ' 'BD018635CC ' 'BDC4' Disk
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

no mention of my cdrw,

I do get an error during boot up about this device asking if I should use /dev/sr0 or something
line from /etc/fstab
/dev/cdroms/cdrom0 /mnt/cdrom0 iso9660 auto,users,rw 0 0

any ideas?
_________________
Take Care,

Seth

left to do:
USB printer
qmail
squirelmail
php
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Wed May 08, 2002 2:02 am    Post subject: Reply with quote

You surely don't have all appropriate things loaded or compiled one, make sure that you have scsi emulation in the kernel also.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Wed May 08, 2002 2:07 am    Post subject: Re: problems with cd-rw, maybe due to scsi hard drive? Reply with quote

McVeigh wrote:
I can't get my cdrw to work.
I have
append="hdc=ide-scsi"
in grub


Grub doesn't have an "append" variable, at least not as far as I know.

My /boot/grub/menu.list reads:
Code:
title=Gentoo - 2.4.19-Gentoo
root (hd0,0)
kernel /boot/gentoo-2.4.19-gentoo-4 root=/dev/hda2 ro hdc=ide-scsi

_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
McVeigh
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 102
Location: Florida

PostPosted: Wed May 08, 2002 2:17 am    Post subject: Reply with quote

I have scsi emulatio in the kernel, compiling a new one as I type this anyways

that grub addendum I got from the forums
https://forums.gentoo.org/viewtopic.php?t=1284&highlight=

nitro why the ro in the options? does it apply to hdc or to /dev/hda2?
_________________
Take Care,

Seth

left to do:
USB printer
qmail
squirelmail
php
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Wed May 08, 2002 2:49 am    Post subject: Reply with quote

McVeigh wrote:
that grub addendum I got from the forums
https://forums.gentoo.org/viewtopic.php?t=1284&highlight=

nitro why the ro in the options? does it apply to hdc or to /dev/hda2?


Boot up with that kernel using the append line, and then cat /proc/cmdline. It should show you want paramters were passed to the kerenl. On my box
Code:
 $ cat /proc/cmdline
root=/dev/hda2 ro hdc=ide-scsi


And the 'ro' applies to the root filesystem, which in my case is /dev/hda2. I don't want my fs to get destroyed if my kernel chokes on boot. The filesystem will later get remounted read/write by the boot scripts.
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
McVeigh
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 102
Location: Florida

PostPosted: Wed May 08, 2002 3:21 am    Post subject: Reply with quote

seth@midas seth $ cat /proc/cmdline
root=/dev/sda5 hdc=ide-scsi

that is with a new kernel and the grub line changed to read similar to yours.

partial success!! I am buring an an ISO image as we speak, using cdrecord. cdbakeoven choked and I still get all kinds of errors during boot up, I'm trying to find where the logs are on my new system
_________________
Take Care,

Seth

left to do:
USB printer
qmail
squirelmail
php
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Wed May 08, 2002 8:38 pm    Post subject: Reply with quote

Just to sum it up incase someone stumbles over the same problem, you deleted your append line and modified your kernel line, correct?

By the way, append is a LILO variable, not a grub variable.
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
McVeigh
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 102
Location: Florida

PostPosted: Wed May 08, 2002 8:55 pm    Post subject: Reply with quote

well some thing sthat have helped,
i changed the grub line--this really needs to be in the documentaion somewhere.
in my etc /fstab i changed the line dealing with my cdrw to
/dev/cdroms/cdrom0 /mnt/cdrom0 iso9660 auto,users,ro
i had set it to rw because I thought I wouldn't be able to write to it.

but yes I think the key was the grub line.

Thanks again.

now to get it working in a graphical mode :cry:
_________________
Take Care,

Seth

left to do:
USB printer
qmail
squirelmail
php
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Wed May 08, 2002 9:14 pm    Post subject: Reply with quote

McVeigh wrote:
in my etc /fstab i changed the line dealing with my cdrw to
/dev/cdroms/cdrom0 /mnt/cdrom0 iso9660 auto,users,ro
i had set it to rw because I thought I wouldn't be able to write to it.


That doesn't matter, when you burn a cd, you don't write to the filesystem/mout. You write to the device directly. I bet when you mount it, mount spits some error at you about mounting in read-only mode right?
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
McVeigh
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 102
Location: Florida

PostPosted: Wed May 08, 2002 9:38 pm    Post subject: Reply with quote

yes it asked if I meant some other scsi device like /dev/sc0 or soemthing then mounted read only
_________________
Take Care,

Seth

left to do:
USB printer
qmail
squirelmail
php
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum