[ previous ] [ next ] [ threads ]
 
 From:  Rolf Sommerhalder <rolf dot sommerhalder at alumni dot ethz dot ch>
 To:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  Option Missing in Kernel Config File M0N0WALL_WRAP
 Date:  Mon, 06 Jun 2005 19:46:08 +0200
After rebuild of a WRAP-1.2b8 image, WRAP was hanging for about 30s 
after reboot, as described in 17.5.1.2 of
http://m0n0.ch/wall/docbook-current/image-guide-patches.html
regarding the patch for dev/ata/ata-pci.c

After investigating, it appears that one line is missing in the kernel 
config file for WRAP
http://m0n0.ch/wall/downloads/M0N0WALL_WRAP

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
options 	ATA_STATIC_ID		#Static device numbering
options         ATA_DISABLE_SLAVE       # disable probing of ATA slave 
devices (causes ~30 second hang on boot with WRAP)

After adding the last line in M0N0WALL_WRAP and doing
cd /sys/i386/conf
config M0N0WALL_WRAP

the file /sys/compile/M0N0WALL_WRAP/opt_ata.h has the required first 
line, which was missing before:

#define ATA_DISABLE_SLAVE 1
#define ATA_STATIC_ID 1

Now the WRAP boots without idling around while probing :-)
Rolf