Re: [SSI] Re: Second node not booting : New problems
Brought to you by:
brucewalker,
rogertsang
From: Arcot A. <arc...@ho...> - 2002-09-12 18:00:28
|
Thanks. I will try it and let you know Arcot ----- Original Message ----- From: "David B. Zafman" <dav...@hp...> To: "Arcot Arumugam" <arc...@ho...>; <ssi...@li...> Sent: Thursday, September 12, 2002 10:45 AM Subject: Re: [SSI] Re: Second node not booting : New problems > > Based on your stack trace, I realized that you need the "real" fix for > cfs_get_uniqueid() which is in the 0.7.1 SSI release. It is version > 1.14 of ssi-kernel/cluster/ssi/cfs/inode.c. The function should look > like this (notice the setting of payload in the CFS_DISCOVER case): > > unsigned long > cfs_get_uniqueid(struct vfsmount *mnt, void *raw_data) > { > struct cfs_mount_data *data = (struct cfs_mount_data *)raw_data; > struct cfsmountargs *argp; > > if (data == NULL) > return mnt->mnt_uniqueid; > > if (data->magic != CFS_MOUNT_MAGIC) > return mnt->mnt_uniqueid; > > if (data->mode != CFS_NOTIFY && data->mode != CFS_DISCOVER) > return mnt->mnt_uniqueid; > > /* Fix payload in case cfs_read_super isn't called */ > if (data->mode == CFS_DISCOVER) { > data->payload = ((char *)data) + sizeof(struct > cfs_mount_data); > ((struct cfsmountargs > *)data->payload)->root.cdrok_res_toks = > (void*)(((char *)data) + sizeof(struct > cfs_mount_data) + > sizeof(struct cfsmountargs)); > } > > argp = (struct cfsmountargs *) data->payload; > return argp->uniqueid; > } > > Arcot Arumugam wrote: > > kdb> bt > > cgs_get_uniqueid +0x30 (0xc1222480, 0xc6a2d000, 0xc040ad3c, 0xc6a7beb8) > > > > do_kern_mount +0x17a (0xc6a2c0000, 0x40000000, 0xc6a2b000, 0xx6a2d000, > > 0xc6a2b000) > > > > do_add_mount +0x48 (0xc6a7beb8, 0xc6a2c000, 0x40000000, 0x0, 0xc6a2b0000) > > > > do_mount 0x138 > > > > ssisys_discover_mounts 0x1c9 > > > > > -- > David B. Zafman | Hewlett-Packard Company > Linux Kernel Developer | Open SSI Clustering Project > mailto:dav...@hp... | http://www.hp.com > "Thus spake the master programmer: When you have learned to snatch > the error code from the trap frame, it will be time for you to leave." > |