LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-03-2003, 03:24 AM   #1
DJFauß
Member
 
Registered: May 2001
Location: Germany
Distribution: SuSE 8.1
Posts: 48

Rep: Reputation: 15
SuSE 8.1 - drive mapping & initrd w/ Kernel 2.4.22


Hi all,

I have two problems at once:

Problem 1

First thing is my dvd/cdrom and my cdwriter are somehow inoperable. I checked the links and they go to the correct devices, however when I place a disc in either device and try to mount it, it tells me it couldn't mount due to a bad filesystem or superblock !?


Problem 2

Second thing (this I am probably just too stupid for) is I compiled a 2.4.22 Kernel (not the first time I compiled a kernel), but this time on SuSE 8.1, which uses initrd for booting.
After compiling and installing I ran mkinitrd, but miracolously it only created new images for my standard suse kernel 2.4.19, not my new 2.4.22 one. I think I missed something, but couldn't find anything on this board nor in any groups.
 
Old 09-03-2003, 12:18 PM   #2
Coproscefalo
Member
 
Registered: Jun 2001
Location: México (Juárez)
Distribution: SuSE 9.3
Posts: 108

Rep: Reputation: 15
Problem 2

Try running

mkinitrd -k "your_kernel_image_name" -i "initrd.your_kernel_image_name"

eg:

mkinitrd -k "bzImage" -i "initrd.bzImage"

Problem 1

SuSE tends to activate scsi emulation for all the drives it found (at least in my case), check the boot messages to see if its using scsi emulation or not (which probably will). If the emulation is enabled then your cd-r and dvd should be on "/dev/sr0" and "/dev/sr1", check if those blocks exist on the /dev directory and also check the "/etc/fstab" file to see if the devices are pointing to the correct block.
 
Old 09-07-2003, 07:00 AM   #3
DJFauß
Member
 
Registered: May 2001
Location: Germany
Distribution: SuSE 8.1
Posts: 48

Original Poster
Rep: Reputation: 15
Ty very much ! I have been able to create an image for initrd now.

For problem number 1:
I found it was the scsi emulation and deactivating it solves my problem, however I need it for using my cdwriter. I pass the parameter for enabling scsi emulation at kernel bootup, however I limited it to hdg only (where my writer is, my dvd is on another controller). Why is it using scsi emulation for both drives? (I figure there must be another scsi init setting somewhere..)

Saludos
-- Chris
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AD&D Mapping tool? Garoth Linux - Software 0 10-15-2004 03:23 PM
Mapping a network drive mikepengelly Linux - Networking 1 08-31-2004 03:27 PM
Regarding Mapping to Network Drive ssnkumar Linux - General 3 06-18-2004 01:11 PM
SuSE 9.0 Pro - SAMBA - WS Drive Mapping to Server mjohns Linux - Newbie 0 02-22-2004 03:22 AM
initrd & kernel panic asjapulk Linux - General 2 01-13-2004 01:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:13 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
Open Source Consulting | Domain Registration