Re: [gentoo-user] udev and initrd

2005-08-11 Thread Cadaver
On Wednesday 10 August 2005 03:41, Volker Armin Hemmann wrote:
 On Tuesday 09 August 2005 23:43, Joe Rizzo wrote:
  Hi-
  I am trying to convert to using udev instead of devfs.  I need to load a
  raid controller module to access to root fs.  I am using mkinitrd to
  create the initrd, however the root partition is not mounting.
 
  The driver module is loading but the root partition is not mounting.
  The partition is fine and ext3 is compiled into the kernel.  This was
  working when using devfs.
 
  How do I get this to work?  Do I need devfs compiled into the kernel?
 
  Thanks for the help,
  Joe Rizzo

 no, you do not need devfs, but why do you use a module and do not compile
 the driver into the kernel?
What reason of having initrd, if driver  and root fs modules are compiled into 
the kernel? It is not very smart, isn't it? I had same problem, but I didn't 
solved it. I think the root fs is not mounting for lack of device file in the 
initrd.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev and initrd

2005-08-11 Thread Volker Armin Hemmann
On Thursday 11 August 2005 11:38, Cadaver wrote:
 On Wednesday 10 August 2005 03:41, Volker Armin Hemmann wrote:
  On Tuesday 09 August 2005 23:43, Joe Rizzo wrote:
   Hi-
   I am trying to convert to using udev instead of devfs.  I need to load
   a raid controller module to access to root fs.  I am using mkinitrd to
   create the initrd, however the root partition is not mounting.
  
   The driver module is loading but the root partition is not mounting.
   The partition is fine and ext3 is compiled into the kernel.  This was
   working when using devfs.
  
   How do I get this to work?  Do I need devfs compiled into the kernel?
  
   Thanks for the help,
   Joe Rizzo
 
  no, you do not need devfs, but why do you use a module and do not compile
  the driver into the kernel?

 What reason of having initrd, if driver  and root fs modules are compiled
 into the kernel? It is not very smart, isn't it? I had same problem, but I
 didn't solved it. I think the root fs is not mounting for lack of device
 file in the initrd.

exactly!

Compile everything in, so you do not need to use the dirty hack called 
'initrd'.

Initrd are cool for distributors, becaue they reduce the kernels needed for 
all the different hardware.
But from an endusers point, they are ugly, make the boot even longer (udev 
too) and do nothing positive in return...
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] udev and initrd

2005-08-09 Thread Joe Rizzo
Hi-
I am trying to convert to using udev instead of devfs.  I need to load a
raid controller module to access to root fs.  I am using mkinitrd to
create the initrd, however the root partition is not mounting.

The driver module is loading but the root partition is not mounting.
The partition is fine and ext3 is compiled into the kernel.  This was
working when using devfs.

How do I get this to work?  Do I need devfs compiled into the kernel?

Thanks for the help,
Joe Rizzo

Loading 3w-9xxx.ko module
3w-9xxx: scsi0: AEN: WARNING (0x04:0x0008): Unclean shutdown
detected:unit=0.
scsi0 : 3ware 9000 Storage Controller
3w-9xxx: scsi0: Found a 3ware 9000 Storage Controller at 0xfd10,
IRQ: 29.
3w-9xxx: scsi0: Firmware FE9X 2.06.00.009, BIOS BE9X 2.03.01.051, Ports:
4.
  Vendor: AMCC  Model: 9500S-4LP  DISK   Rev: 2.06
  Type:   Direct-Access  ANSI SCSI revision: 03
SCSI device sda: 703057920 512-byte hdwr sectors (359966 MB)
SCSI device sda: drive cache: write back, no read (daft)
SCSI device sda: 703057920 512-byte hdwr sectors (359966 MB)
SCSI device sda: drive cache: write back, no read (daft)
 sda: sda1 sda2 sda3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Mounting /proc filesystem
Creating block devices
Creating root device
Mounting root filesystem
mount: error 6 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 196k freed
Kernel panic - not syncing: No init found.  Try passing init= option to
kernel.

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] udev and initrd

2005-08-09 Thread A. Khattri
On Tue, 9 Aug 2005, Joe Rizzo wrote:

 Thanks for the response.  I think I'm having an issue unrelated to udev.

 3ware tech support said the driver included with the kernel was old and
 suggested to build the latest driver as a module.

Why not do away with initrd and just build the driver intyo into the
kernel? A lot simpler and less hassle all round.


-- 

-- 
gentoo-user@gentoo.org mailing list