[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



[gentoo-user] 802.1q/VLAN issue

2005-08-09 Thread Joe Rizzo
I updated my gentoo system.  After emerging system and world, the system
does not work with VLANs if the interfaces are configured via the
net.eth0 script.  However if I configure the interface manually it
works.  This worked before I updated.  Any Ideas?

The conf.d/net file is below.

Thanks,
Joe Rizzo


# cat /etc/conf.d/net
config_eth0=(
null
)

vlans_eth0=16

config_eth0_16=(
10.8.16.16 broadcast 10.8.16.255 netmask 255.255.255.0
)

routes_eth0_16=(
-net 0.0.0.0 netmask 0.0.0.0 gw 10.8.16.1
)

# ip addr
1: lo: LOOPBACK,UP mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: eth0: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:50:45:5c:13:cc brd ff:ff:ff:ff:ff:ff
3: eth1: BROADCAST,MULTICAST mtu 1500 qdisc noop qlen 1000
link/ether 00:50:45:5c:13:cd brd ff:ff:ff:ff:ff:ff
42: eth0.16: BROADCAST,MULTICAST,UP mtu 1500 qdisc noqueue
link/ether 00:50:45:5c:13:cc brd ff:ff:ff:ff:ff:ff
inet 10.8.16.16/24 brd 10.8.16.255 scope global eth0.16

-- 
gentoo-user@gentoo.org mailing list