I modified the rc.hwdetect script for kudzu and XEN like this

...
> echo "Generating /etc/modprobe.conf"
> 
> # by neobiker: test only PCI Bus on XEN
> if [ `echo "${KVER}" | grep xen` ]; then
>         kudzu='/usr/sbin/kudzu -b PCI'
>         echo "Detecting PCI Hardware (XEN)"
> else
>         kudzu='/usr/sbin/kudzu '
>         echo "Detecting Hardware"
> fi
> 
> $kudzu -sq -t 30
> 
> for MODULE in $($kudzu -qps -t 30 | grep driver  | cut -d ' ' -f 2 | sort
> | uniq
> ); do
> ...
> 
and get this result

ctserver2:/# xm create -c efw
> Using config file "/etc/xen/efw".
> Started domain efw
> ...
> Linux version 2.6.18-8.1.15.efw2xenU ([EMAIL PROTECTED]) (gcc version 3.4.6
> 20060404 (Endian 3.4.6-8.endian6)) #2 SMP Sun Nov 11 13:45:39 EST 2007
> BIOS-provided physical RAM map:
>  Xen: 0000000000000000 - 0000000006800000 (usable)
> 0MB HIGHMEM available.
> 104MB LOWMEM available.
> Using x86 segment limits to approximate NX protection
> Built 1 zonelists.  Total pages: 26624
> Kernel command line: root=/dev/sda3 ro
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Initializing CPU#0
> PID hash table entries: 512 (order: 9, 2048 bytes)
> Xen reported: 991.982 MHz processor.
> Console: colour dummy device 80x25
> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
> Software IO TLB disabled
> vmalloc area: c7000000-f51fe000, maxmem 2d7fe000
> Memory: 92684k/106496k available (1791k kernel code, 5468k reserved, 768k
> data, 148k init, 0k highmem)
> Checking if this processor honours the WP bit even in supervisor mode...
> Ok.
> Calibrating delay using timer specific routine.. 2481.81 BogoMIPS
> (lpj=4963635)
> Security Framework v1.0.0 initialized
> Capability LSM initialized
> Mount-cache hash table entries: 512
> CPU: L1 I cache: 16K, L1 D cache: 16K
> CPU: L2 cache: 256K
> Checking 'hlt' instruction... OK.
> SMP alternatives: switching to UP code
> Freeing SMP alternatives: 16k freed
> Brought up 1 CPUs
> checking if image is initramfs... it is
> Freeing initrd memory: 1088k freed
> Grant table initialized
> NET: Registered protocol family 16
> Brought up 1 CPUs
> PCI: setting up Xen PCI frontend stub
> xen_mem: Initialising balloon driver.
> SCSI subsystem initialized
> pcifront pci-0: Installing PCI frontend
> pcifront pci-0: Creating PCI Frontend Bus 0000:00
> PCI: System does not support PCI
> PCI: System does not support PCI
> NetLabel: Initializing
> NetLabel:  domain hash size = 128
> NetLabel:  protocols = UNLABELED CIPSOv4
> NetLabel:  unlabeled traffic allowed by default
> NET: Registered protocol family 2
> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> TCP established hash table entries: 4096 (order: 3, 32768 bytes)
> TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
> TCP: Hash tables configured (established 4096 bind 2048)
> TCP reno registered
> audit: initializing netlink socket (disabled)
> audit(1194990993.600:1): initialized
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> Initializing Cryptographic API
> ksign: Installing public key data
> Loading keyring
> - Added public key AB570559F14F4FB8
> - User ID: Red Hat, Inc. (Kernel Module GPG key)
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> rtc: IRQ 8 is not free.
> Non-volatile memory driver v1.2
> Linux agpgart interface v0.101 (c) Dave Jones
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
> RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
> loop: loaded (max 8 devices)
> nbd: registered device at major 43
> Xen virtual console successfully installed as xvc0
> Event-channel device installed.
> netfront: Initialising virtual ethernet driver.
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with
> idebus=xx
> Registering block device major 8
> netfront: device eth0 has flipping receive path.
> netfront: device eth1 has flipping receive path.
> register_blkdev: cannot get major 8 for sd
> i8042.c: No controller found.
> mice: PS/2 mouse device common for all mice
> md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
> md: bitmap version 4.39
> TCP bic registered
> Initializing IPsec netlink socket
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> Using IPI No-Shortcut mode
> XENBUS: Device with no driver: device/console/0
> Freeing unused kernel memory: 148k freed
> Red Hat nash version 4.2.1.8 starting
> Mounted /proc filesystem
> Mounting sysfs
> Creating /dev
> Starting udev
> Loading libata.ko module
> Loading ata_piix.ko module
> Creating root device
> Mounting root filesystem
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> Switching to new root
> INIT: version 2.85 booting
> Mounting /proc filesystem
> 
> ---
> Endian Kickstart Bootprocess Manager...
> Starting Essential Services...
> Activating swap on device /dev/sda2
> Adding 262136k swap on /dev/sda2.  Priority:-1 extents:1 across:262136k
> /dev/sda3: clean, 14073/262144 files, 162306/524288 blocks
> Checking root filesystem: Success
> Mounting root read/write
> EXT3 FS on sda3, internal journal
> Activating hotplug
> Calculating module dependencies... done.
> Updating System.map file location
> Generating /etc/modprobe.conf
> Detecting PCI Hardware (XEN)
> PCI: Enabling device 0000:00:01.0 (0000 -> 0001)
> 3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
> 0000:00:01.0: 3Com PCI 3c905 Boomerang 100baseTx at 00013000.
> 8139too Fast Ethernet driver 0.9.27
> PCI: Enabling device 0000:00:02.0 (0000 -> 0003)
> eth3: RealTek RTL8139 at 0xc7014000, 00:0e:e8:f2:f8:e4, IRQ 17
> CSLIP: code copyright 1989 Regents of the University of California
> ISDN subsystem Rev: 1.1.2.3/1.1.2.3/1.1.2.2/1.1.2.3/1.1.2.2/1.1.2.2 loaded
> HiSax: Linux Driver for passive ISDN cards
> HiSax: Version 3.5 (module)
> HiSax: Layer1 Revision 2.46.2.5
> HiSax: Layer2 Revision 2.30.2.4
> HiSax: TeiMgr Revision 2.20.2.3
> HiSax: Layer3 Revision 2.22.2.3
> HiSax: LinkLayer Revision 2.59.2.4
> Initializing USB controllers
> /dev/sda4: clean, 482/131072 files, 15810/262144 blocks (check after next
> mount)
> /dev/sda1: clean, 48/25688 files, 34848/102400 blocks
> Checking other filesystems: Success
> Mounting other filesystems
> kjournald starting.  Commit interval 5 seconds
> EXT3 FS on sda1, internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> kjournald starting.  Commit interval 5 seconds
> EXT3 FS on sda4, internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> Updating /etc/fstab to reflect removable devices
> error opening /etc/updfstab.conf: No such file or directory
> ---
> 
> Boot Progress: 13% (5/37)     Service: hwclock
> 

-- 
View this message in context: 
http://www.nabble.com/EFW-2.2-Beta1%3A-hwdetect-script---bug-%28within-XEN-DomU%29--tf4800634.html#a13735688
Sent from the efw-user mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Efw-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/efw-user

Reply via email to