LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-29-2003, 04:37 PM   #1
000
LQ Newbie
 
Registered: Nov 2003
Distribution: Sarge!
Posts: 19

Rep: Reputation: 0
CDROM doesn't work after netinst of Sarge


Okay, so I'm a frickin' retard. I've finally (over 3 months) finished a Sarge install and got my USB mouse to work *and* my video card to work w/ XFree86. Of course I did this all over T1 and DSL. Now I'm stuck with a dial-up for the next few weeks and thought I would take on getting Pure Data to run, as that won't require too much bandwidth. Anyway, getting around to the point, I figured out that to use dialup I'd need wvdial, which should be on a Woody CD I had lying around:

So I pop it in and try "sudo apt-cdrom add" and get

"Using CD-ROM mount point /cdrom/
Unmounting CD-ROM
Please insert a Disk in the drive and press enter <enter>
Mounting CD-ROM
E: Failed to mount the cdrom"

so I "cd /cdrom" then "ls" and see "cdrom0" which I 'cd' to and 'ls' and there's nothing there. And the Woody disc is in there. Same with music cds etc. The cdrom worked during the install, but now it seems not.

Maybe a filesystem thing? Can I use modprobe to add new filesystem support? What fs would I need to read CDRoms? Or do I need to compile a kernel to add the right fs support? I was having a fs problem with my USB jumpdrive: I'd try to mount it with "mount -t fat /dev/sda1 /mnt/JumpDrive" but it would tell me the filesystem wasn't supported, even after I did "modprobe fat" (but that probably isn't the way to load a FAT fs module, as I'm not really sure about how modprobe works in regard to having to compile a kernel with support for modules).

Anyhow, any help you can offer would be greatly appreciated. I've looked for HOWTOs, but it seems that they mostly assume your CDRom is working if you got linux installed. lol. So if you know of a HOWTo pertaining to this, by all means lend me a link!

running kernel 2.4.22-1-386 on SiS 650/961 (Northbridge/Southbridge) w/ Athlon 2100+ (1.73 GHz)

Thanks.
 
Old 12-29-2003, 04:42 PM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Post your /etc/fstab, & the cdrom your using's device.
 
Old 12-29-2003, 04:54 PM   #3
000
LQ Newbie
 
Registered: Nov 2003
Distribution: Sarge!
Posts: 19

Original Poster
Rep: Reputation: 0
During bootup linux itself says my CDrom is a "QSI DVD-ROM SDR-081 ATAPI CD-ROM"

my closest possible rendition of the fstab:
Code:
#<file system> <mount point>  <type>   <options>      <dump>    <pass>
/dev/hda6         /            ext3     defaults,errors=remount-ro            0 1
/dev/hda5         none     swap    sw          0 0
/dev/floppy/0    /floppy  auto      rw,user,noauto    0 0
/dev/hdc           /cdrom   auto     ro,user,noauto     0 0
proc      /proc    proc       defaults              0 0
so yeah, I hope that makes sense. Strange thing: I don't have a floppy.

Thanks in advance.

Last edited by 000; 12-30-2003 at 03:39 PM.
 
Old 12-29-2003, 04:56 PM   #4
000
LQ Newbie
 
Registered: Nov 2003
Distribution: Sarge!
Posts: 19

Original Poster
Rep: Reputation: 0
just saw the forum took out all the white space I'd used to line things up in the fstab like it is in linux. I hope you can still read it.
EDIT: Used the code tags, but it may have made it less readable.

Last edited by 000; 12-30-2003 at 03:40 PM.
 
Old 12-29-2003, 11:33 PM   #5
000
LQ Newbie
 
Registered: Nov 2003
Distribution: Sarge!
Posts: 19

Original Poster
Rep: Reputation: 0
Anyone?
 
Old 12-30-2003, 06:46 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Have a look at the contents of /var/log/messages or /var/log/syslog and see if there is a problem with /dev/hdc which is your cdrom. Also try mount /dev/hdc
 
Old 12-30-2003, 03:11 PM   #7
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Quote:
just saw the forum took out all the white space I'd used to line things up in the fstab like it is in linux. I hope you can still read it.
Use the [code...]...[/code] tags to minimize mangling.
Try:
ls -l /dev/hdc #To see if it's just a link pointing somewhere else
Make sure you didn't enable scsi emulation for hdc (check bootloader cfg)
mount /dev/hdc /cdrom -t iso9660
 
Old 12-30-2003, 03:18 PM   #8
000
LQ Newbie
 
Registered: Nov 2003
Distribution: Sarge!
Posts: 19

Original Poster
Rep: Reputation: 0
Okay... tried "mount /dev/hdc" and got a message that I had to specify a filesystem.

Looked at /var/log/messages, looked at last boot date and time and noticed these things:

Code:
SIS5513: not 100% native mode: will probe IRQs later.
(SIS5513 is my ide controller I believe)
...
Code:
hdc: attached ide-scsi driver.
SCSI0: SCSI host adapter emulation for IDE ATAPI devices
[description of my DVD rom (QSI blah blah blah as in previous post)]
(This is good, right?)
... Then at the very end...
Code:
Warning: remapping obsolete /dev/fb* minor 32 to 1
[several of these messages with 64 to 2, 128 to 3 etc. up to 224 to 7]
...
Code:
end_request: I/O error, dev 16:00(hdc), sector 0
end_request: I/O error, dev 16:00(hdc), sector 2
end_request: I/O error, dev 16:00(hdc), sector 4
end_request: I/O error, dev 16:00(hdc), sector 6
end_request: I/O error, dev 16:00(hdc), sector 64
end_request: I/O error, dev 16:00(hdc), sector 66
end_request: I/O error, dev 16:00(hdc), sector 68
end_request: I/O error, dev 16:00(hdc), sector 70
end_request: I/O error, dev 16:00(hdc), sector 72
end_request: I/O error, dev 16:00(hdc), sector 74
end_request: I/O error, dev 16:00(hdc), sector 76
end_request: I/O error, dev 16:00(hdc), sector 78
[<EOF>]


Looking at /var/log/syslog reveals some more details on those last messages: it says "unsupported command in request queue (0)". The messages about /dev/fb* are embelished as having to do with modprobe being unable to find modules fb1-fb7.

So... I have no idea what this could be and any more help will be GREATLY appreciated. Thankyou thankyou.

Last edited by 000; 12-30-2003 at 03:38 PM.
 
Old 12-30-2003, 03:36 PM   #9
000
LQ Newbie
 
Registered: Nov 2003
Distribution: Sarge!
Posts: 19

Original Poster
Rep: Reputation: 0
OKAY! I think I've found something important.

ls -l /dev/hdc reveals that it isn't just a link to somewhere else.

Trying to mount the hdc to /cdrom w/ iso9660 gives me this:
"Wrong fs type, bad option, bad superblock on /dev/hdc, or too many mounted file systems (could this be the device where you in fact use ide-scsi so that sr0 or sda or so is needed?)"

There is no reference in the bootloader config (lilo.conf) to scsi or hdc, it's really simple, just setting video modes aside from loading the OS.

THankyou yet again.
 
Old 12-30-2003, 03:47 PM   #10
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Quote:
hdc: attached ide-scsi driver.
Try disabling scsi emulation. Remove 'hdc=ide-scsi' from boot configuration file (/etc/lilo.conf for lilo). Run lilo to apply changes.
 
Old 12-30-2003, 04:01 PM   #11
000
LQ Newbie
 
Registered: Nov 2003
Distribution: Sarge!
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Try disabling scsi emulation. Remove 'hdc=ide-scsi' from boot configuration file (/etc/lilo.conf for lilo). Run lilo to apply changes.
There isn't a line that says "hdc=ide-scsi" in my lilo.conf
 
Old 12-30-2003, 04:38 PM   #12
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Maybe it does it automatically, try adding an 'append="hdd=ide" ' in the lilo.conf for the entry you use. If there already is an 'append' line, then add it like this: 'append="vga=788 hdc=ide" '. Also try to look for your scsi cd device, try /dev/scd*, etc.
 
Old 12-31-2003, 03:14 PM   #13
000
LQ Newbie
 
Registered: Nov 2003
Distribution: Sarge!
Posts: 19

Original Poster
Rep: Reputation: 0
Okay. Your last advice led to a few things and looking some stuff up on google and trying some new configurations for lilo and a filesystem error and a reinstall of debian. But just now I did "modprobe ide-scsi" then added hdc=ide-scsi to lilo, reboot, "mount -t iso9660 /dev/scd0 /cdrom" and cdrom holds the contents of the cd in the drive. Now I just need to figure out how to make it mount it like that automatically on boot. Thanks for all your help, the rest can't be too hard.
 
Old 12-31-2003, 03:59 PM   #14
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Setup the same configurations in fstab.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Debian netinst (Sarge) hangs at 92% Scorper Debian 2 02-13-2005 12:58 PM
Sarge NetInst Grub error-18 fester225 Debian 3 12-10-2004 05:16 PM
Sarge netinst hangs Tavy Debian 8 11-08-2004 06:34 PM
sarge netinst reinstall problem yotamk Debian 7 11-03-2004 02:45 PM
debian-sarge-netinst.iso (powerpc) sebyte Debian 9 10-06-2004 02:43 PM


All times are GMT -5. The time now is 02:27 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration