Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* More on Miata and Kernel Recompile
@ 1999-02-14  4:04 Geoff Shukin
  1999-02-14  4:44 ` Daniel J. Frasnelli
  1999-02-14  7:49 ` Wes Bauske
  0 siblings, 2 replies; 6+ messages in thread
From: Geoff Shukin @ 1999-02-14  4:04 UTC (permalink / raw)
  To: axp-list@redhat.com

>Hi!
>
>I am having some fun!  I am trying to compile 2.2.1 on my Miata with
>module support.  I have been unable to get past a certain point in the
>kernel boot:
>
>I get to:
>
>request_module{block-major-8]: Root fs not mounted
>VFS: Cannot open root device 08:02
>Kernel Panic: VFS Unable to mount root fs on 08:02
>
>and there she sits.
>
>To get to this point, I downloaded the Kernel source from
>ftp.kernel.org, untarred and did the make config; make dep; make clean;

>make boot; make modules: make modules_install.  Moved the vmlinux.gz
>from /usr/src/linux/arch/alpha/boot to / and rebooted.
>
>I even tried specifying the root file system from Milo with:
>
>boot sda2:vmlinux.gz root=/dev/sda2
>
>Any other ideas?
>
>Thanks
>
>Geoff

Well, after thinking about all your suggestions, I thought that I would
simply build a monolithic kernel.  It does the same thing:
Partition Check:
VFS: Cannot open root device 08:02
Kernel Panic: VFS: Unable to mount root fs on 08:02

What is 08:02?  Is it the way the kernel keeps track of the disks?

From the /var/log/messages:


Feb 13 20:38:01 server kernel: ncr53c8xx: at PCI bus 1, device 9,
function 0
Feb 13 20:38:01 server kernel: ncr53c8xx: 53c875J detected
Feb 13 20:38:01 server kernel: ncr53c875J-0: rev=0x04, base=0xb100000,
io_port=0x9000, irq=40
Feb 13 20:38:01 server kernel: ncr53c875J-0: ID 7, Fast-20, Parity
Checking
Feb 13 20:38:01 server kernel: ncr53c875J-0: on-chip RAM at 0xb101000
Feb 13 20:38:01 server kernel: ncr53c875J-0: restart (scsi reset).
Feb 13 20:38:01 server kernel: ncr53c875J-0: copying script fragments
into the on-chip RAM ...
Feb 13 20:38:01 server kernel: scsi0 : ncr53c8xx - revision 2.6n
Feb 13 20:38:01 server kernel: scsi : 1 host.
Feb 13 20:38:01 server kernel:   Vendor: COMPAQPC  Model:
DDRS-34560W       Rev: S95E
Feb 13 20:38:01 server kernel:   Type:
Direct-Access                      ANSI SCSI revision: 02
Feb 13 20:38:01 server kernel: Detected scsi disk sda at scsi0, channel
0, id 0, lun 0
Feb 13 20:38:01 server kernel:   Vendor: PIONEER   Model: CD-ROM
DR-U03S    Rev: 1.01
Feb 13 20:38:01 server kernel:   Type:
CD-ROM                             ANSI SCSI revision: 02
Feb 13 20:38:01 server kernel: Detected scsi CD-ROM sr0 at scsi0,
channel 0, id 2, lun 0
Feb 13 20:38:01 server kernel:   Vendor: DEC       Model: TLZ06
(C)DEC  Rev: 4BQE
Feb 13 20:38:01 server kernel:   Type:
Sequential-Access                  ANSI SCSI revision: 02
Feb 13 20:38:01 server kernel:   Vendor: FUJITSU   Model:
MAB3045SP         Rev: 0109
Feb 13 20:38:01 server kernel:   Type:
Direct-Access                      ANSI SCSI revision: 02
Feb 13 20:38:01 server kernel: Detected scsi disk sdb at scsi0, channel
0, id 8, lun 0
Feb 13 20:38:01 server kernel: scsi : detected 1 SCSI cdrom 2 SCSI disks
total.
Feb 13 20:38:01 server kernel: ncr53c875J-0-<0,0>: FAST-5 WIDE SCSI 10.0
MB/s (200 ns, offset 15)
Feb 13 20:38:01 server kernel: SCSI device sda: hdwr sector= 512 bytes.
Sectors= 8386000 [4094 MB] [4.1 GB]
Feb 13 20:38:01 server kernel: ncr53c875J-0-<8,0>: FAST-5 WIDE SCSI 10.0
MB/s (200 ns, offset 16)
Feb 13 20:38:01 server kernel: SCSI device sdb: hdwr sector= 512 bytes.
Sectors= 8895370 [4343 MB] [4.3 GB]

I see a  ncr53c875J-0-<8,0>, is that it?

I am using a Diamond Fireport 40 and using the following in the config:

#
# SCSI support
#
CONFIG_SCSI=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=y
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=y

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y

#
# SCSI low-level drivers
#
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_MEGARAID is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_NCR53C406A is not set
CONFIG_SCSI_NCR53C7xx=y
# CONFIG_SCSI_NCR53C7xx_sync is not set
CONFIG_SCSI_NCR53C7xx_FAST=y
# CONFIG_SCSI_NCR53C7xx_DISCONNECT is not set



What could I be doing wrong?

Thanks

Geoff


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: More on Miata and Kernel Recompile
  1999-02-14  4:04 More on Miata and Kernel Recompile Geoff Shukin
@ 1999-02-14  4:44 ` Daniel J. Frasnelli
  1999-02-14  6:14   ` Geoff Shukin
  1999-02-14  7:49 ` Wes Bauske
  1 sibling, 1 reply; 6+ messages in thread
From: Daniel J. Frasnelli @ 1999-02-14  4:44 UTC (permalink / raw)
  To: axp-list

> Well, after thinking about all your suggestions, I thought that I would
> simply build a monolithic kernel.  It does the same thing:
> Partition Check:
> VFS: Cannot open root device 08:02
> Kernel Panic: VFS: Unable to mount root fs on 08:02

Geoff,
	I already sent you a message on how I fixed this very problem.  
The same error occurred with 2.2.1 on my PWS 500a (Miata), 2940UW Adaptec.
I fixed it by upgrading first to 2.2.1-ac3 and more recently, 2.2.2pre1.  
Try the 2.2.2pre1 kernel, making sure you select the correct controller
driver.  I've ran 2.2.2-1 since the day it came out (02 Feb), and the 
problems with mounting the root fs under 2.2.1 simply do not occur.  
Don't know about 2.2.2-2 yet, just about to test it out.
Grab the pre-patch from ftp1.us.kernel.org/pub/linux/kernel/testing/ 
and give it a try.

Regards,
Daniel
-- 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: More on Miata and Kernel Recompile
  1999-02-14  4:44 ` Daniel J. Frasnelli
@ 1999-02-14  6:14   ` Geoff Shukin
  1999-02-14  6:40     ` Daniel J. Frasnelli
  1999-02-14 16:12     ` Matthew Jacob
  0 siblings, 2 replies; 6+ messages in thread
From: Geoff Shukin @ 1999-02-14  6:14 UTC (permalink / raw)
  To: axp-list

Daniel J. Frasnelli wrote:

> > Well, after thinking about all your suggestions, I thought that I would
> > simply build a monolithic kernel.  It does the same thing:
> > Partition Check:
> > VFS: Cannot open root device 08:02
> > Kernel Panic: VFS: Unable to mount root fs on 08:02
>
> Geoff,
>         I already sent you a message on how I fixed this very problem.
> The same error occurred with 2.2.1 on my PWS 500a (Miata), 2940UW Adaptec.
> I fixed it by upgrading first to 2.2.1-ac3 and more recently, 2.2.2pre1.
> Try the 2.2.2pre1 kernel, making sure you select the correct controller
> driver.  I've ran 2.2.2-1 since the day it came out (02 Feb), and the
> problems with mounting the root fs under 2.2.1 simply do not occur.
> Don't know about 2.2.2-2 yet, just about to test it out.
> Grab the pre-patch from ftp1.us.kernel.org/pub/linux/kernel/testing/
> and give it a try.
>
> Regards,
> Daniel

Sorry, but that doesn't fix the problem.  I tried it and get the same result.



> VFS: Cannot open root device 08:02
> Kernel Panic: VFS: Unable to mount root fs on 08:02


Would the 08 be a SCSI ID and the 02 be the partition number?  If so, that is
my problem.  my second drive is at ID 8 and there is no root partition there!

I am specifying where the root file system is but it still goes to 08:02!

Is there some bug with the Fireport 40 SCSI Controller?  SCSI IDs greater
than 7?

Geoff



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: More on Miata and Kernel Recompile
  1999-02-14  6:14   ` Geoff Shukin
@ 1999-02-14  6:40     ` Daniel J. Frasnelli
  1999-02-14 16:12     ` Matthew Jacob
  1 sibling, 0 replies; 6+ messages in thread
From: Daniel J. Frasnelli @ 1999-02-14  6:40 UTC (permalink / raw)
  To: axp-list

> Would the 08 be a SCSI ID and the 02 be the partition number?  If so, that is
> my problem.  my second drive is at ID 8 and there is no root partition there!
> I am specifying where the root file system is but it still goes to 08:02!
	It's going there because arch/alpha/kernel/setup.c is telling it
to use /dev/sda2 as the default root fs. 08:02 just refers to the 
major:minor device specification: 
brw-rw----   1 root     disk       8,   2 May  5  1998 /dev/sda2
  
See line 286 of setup.c:
	        /* Default root filesystem to sda2.  */
	        ROOT_DEV = to_kdev_t(0x0802);

	What does your partition table look like? It's strange that
the kernel is not respecting the parameters you're passing through
Milo.  

My system looks like this:
   Device Boot    Start      End   Blocks   Id  System
/dev/sda1             1        2     2032    6  DOS 16-bit >=32M
/dev/sda2             3      130   131072   82  Linux swap
/dev/sda3           131     4340  4311040   83  Linux native

	and I am able to boot sda3:/vmlinux.gz root=/dev/sda3 
with no problems at all now.  
 
> Is there some bug with the Fireport 40 SCSI Controller?  
	Maybe.  I don't know enough about that controller to make an
educated diagnosis. 

> SCSI IDs greater than 7?
	In all likelihood, no.  
Have you tried also posting to the kernel mailing lists? If it is a 
driver bug, maybe someone has suggestions on how to fix it.

Regards,
Daniel
-- 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: More on Miata and Kernel Recompile
  1999-02-14  4:04 More on Miata and Kernel Recompile Geoff Shukin
  1999-02-14  4:44 ` Daniel J. Frasnelli
@ 1999-02-14  7:49 ` Wes Bauske
  1 sibling, 0 replies; 6+ messages in thread
From: Wes Bauske @ 1999-02-14  7:49 UTC (permalink / raw)
  To: axp-list@redhat.com

Geoff Shukin wrote:
> 
> CONFIG_SCSI_NCR53C7xx=y
> # CONFIG_SCSI_NCR53C7xx_sync is not set
> CONFIG_SCSI_NCR53C7xx_FAST=y
> # CONFIG_SCSI_NCR53C7xx_DISCONNECT is not set
> 
> What could I be doing wrong?
> 
>

How come you're using the 7xx driver on a 875 card?

Maybe you better try the 8xx one.


Wes


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: More on Miata and Kernel Recompile
  1999-02-14  6:14   ` Geoff Shukin
  1999-02-14  6:40     ` Daniel J. Frasnelli
@ 1999-02-14 16:12     ` Matthew Jacob
  1 sibling, 0 replies; 6+ messages in thread
From: Matthew Jacob @ 1999-02-14 16:12 UTC (permalink / raw)
  To: Geoff Shukin; +Cc: axp-list

8 is the major number. Two is the minor. minor/16 + 'a' will give you the
drive letter. minor%16 will give you the partition. Make sure that of the
two disks you show in the messages that sda *is* in fact the disk you
have linux is on. There's also a possibility (very small) that the command
line can get scrogged between milo or srm- you can edit
sys/arch/alpha/kernel/setup.s to change 0x802 to 0x8XX for whichever you
want the default root device to be.

On Sun, 14 Feb 1999, Geoff Shukin wrote:

> Daniel J. Frasnelli wrote:
> 
> > > Well, after thinking about all your suggestions, I thought that I would
> > > simply build a monolithic kernel.  It does the same thing:
> > > Partition Check:
> > > VFS: Cannot open root device 08:02
> > > Kernel Panic: VFS: Unable to mount root fs on 08:02
> >
> > Geoff,
> >         I already sent you a message on how I fixed this very problem.
> > The same error occurred with 2.2.1 on my PWS 500a (Miata), 2940UW Adaptec.
> > I fixed it by upgrading first to 2.2.1-ac3 and more recently, 2.2.2pre1.
> > Try the 2.2.2pre1 kernel, making sure you select the correct controller
> > driver.  I've ran 2.2.2-1 since the day it came out (02 Feb), and the
> > problems with mounting the root fs under 2.2.1 simply do not occur.
> > Don't know about 2.2.2-2 yet, just about to test it out.
> > Grab the pre-patch from ftp1.us.kernel.org/pub/linux/kernel/testing/
> > and give it a try.
> >
> > Regards,
> > Daniel
> 
> Sorry, but that doesn't fix the problem.  I tried it and get the same result.
> 
> 
> 
> > VFS: Cannot open root device 08:02
> > Kernel Panic: VFS: Unable to mount root fs on 08:02
> 
> 
> Would the 08 be a SCSI ID and the 02 be the partition number?  If so, that is
> my problem.  my second drive is at ID 8 and there is no root partition there!
> 
> I am specifying where the root file system is but it still goes to 08:02!
> 
> Is there some bug with the Fireport 40 SCSI Controller?  SCSI IDs greater
> than 7?
> 
> Geoff
> 
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-02-14 16:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-14  4:04 More on Miata and Kernel Recompile Geoff Shukin
1999-02-14  4:44 ` Daniel J. Frasnelli
1999-02-14  6:14   ` Geoff Shukin
1999-02-14  6:40     ` Daniel J. Frasnelli
1999-02-14 16:12     ` Matthew Jacob
1999-02-14  7:49 ` Wes Bauske

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox