From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,c4cba12032936e8b X-Google-Attributes: gid111c93,public From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Subject: Re: SCSI Unaligned Trap and Tulip Problem - 2.0.35 Date: 1998/09/28 Message-ID: <6uoj0a$mtu$1@pulp.ucs.ualberta.ca>#1/1 X-Deja-AN: 395700428 References: Organization: Disorganized Bits Reply-To: michal@gortel.phys.ualberta.ca Newsgroups: comp.os.linux.alpha Dennis Connolly (dennis_connolly@csi.com) wrote: : The Tulip problem was resloved by moving the .axppatches code supplied with : the RedHat 2.0.35 source in place of the base code. This eliminated the : Tulip problem and it compiles in fine. : However, this did not resolve the traps problem on boot. You mean "unaligned trap" messages on a partition check? This is really a cosmetic problem but here is a patch (do not mind a version - it applies to all released linux kernel source sets) --- linux/include/linux/genhd.h Wed Jun 3 16:17:49 1998 +++ linux-2.0.36pre/include/linux/genhd.h Wed Sep 16 15:45:44 1998 @@ -43,7 +43,7 @@ unsigned char end_cyl; /* end cylinder */ unsigned int start_sect; /* starting sector counting from 0 */ unsigned int nr_sects; /* nr of sectors in partition */ -}; +} __attribute__((packed)); struct hd_struct { long start_sect; : As an IT professional, I like to be able to get things like this : resolved. This sounds ponderous. How about contributing back bits and pieces of your professional wisdom? --mj